From c9a4f407254a8f90d345970c4d45d927c3a6f081 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Mon, 22 Apr 2024 17:00:46 +0200 Subject: [PATCH] UPG: Frontend --- app/client/dist/js/app.js | 2 +- ...p_Site.Controllers.MapElementController.js | 2 +- app/client/dist/js/app_cms.js | 2 +- app/client/dist/js/sample.js | 2 +- app/client/dist/records.json | 484 ++++++++++++++---- app/client/dist/report.html | 4 +- package.json | 30 +- 7 files changed, 410 insertions(+), 116 deletions(-) diff --git a/app/client/dist/js/app.js b/app/client/dist/js/app.js index 97abfb4..eecd7c9 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={480:function(t,o,i){var a={"./bg.png":6730,"./logo.png":8614,"./logo.svg":4993,"./original.png":6670,"./original2.png":6526,"./photo1.png":7782,"./photo2.jpg":2637,"./photo3.svg":1955,"app/client/src/img/bg.png":6730,"app/client/src/img/logo.png":8614,"app/client/src/img/logo.svg":4993,"app/client/src/img/original.png":6670,"app/client/src/img/original2.png":6526,"app/client/src/img/photo1.png":7782,"app/client/src/img/photo2.jpg":2637,"app/client/src/img/photo3.svg":1955,"bg.png":6730,"img/bg.png":6730,"img/logo.png":8614,"img/logo.svg":4993,"img/original.png":6670,"img/original2.png":6526,"img/photo1.png":7782,"img/photo2.jpg":2637,"img/photo3.svg":1955,"logo.png":8614,"logo.svg":4993,"original.png":6670,"original2.png":6526,"photo1.png":7782,"photo2.jpg":2637,"photo3.svg":1955};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=480},4788: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"}},829:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 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 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 request: Error")),o.errors.forEach((function(t){console.error(t.message)}))),i.next=6,o;case 6:return i.abrupt("return",i.sent);case 7:case"end":return i.stop()}}),_callee)}))),function request(t){return a.apply(this,arguments)})};t.exports=u},1595:function(t,o,i){var a,c,l=i(4788),u=i(5638),d=i(2991);null!==(c=(a=window).app)&&void 0!==c||(a.app={}),window.app.Events=l.default,window.app.Router=u,window.app.Page=d;var p=document.getElementById("MainContent");p&&p.dataset.legacy||(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()})))},2991:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}function ownKeys(t,o){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);o&&(a=a.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),i.push.apply(i,a)}return i}function _objectSpread(t){for(var o=1;o loadContent: start ").concat(t)),console.time("".concat(c," > loadContent")),(o=document.querySelector("#MainContent>.main-content"))&&o.remove(),Object.keys(d).forEach((function(t){p[t]=d[t]})),l.redraw(),g.prev=6,g.next=9,u.request({url:t,method:"GET"});case 9:if(y=g.sent,v=y,console.log("".concat(c," > loadContent: done")),v){g.next=18;break}return console.warn("".concat(c,": loadContent: ").concat(t," > NOT FOUND")),window.app.Router.removeActiveState(),window.location.href=t,console.timeEnd("".concat(c," > loadContent")),g.abrupt("return");case 18:p.title=null!==(i=v.Title)&&void 0!==i?i:window.document.title,p.id=v.ID,p.link=null!==(a=v.Link)&&void 0!==a?a:"/",p.requestlink=null!==(h=v.RequestLink)&&void 0!==h?h:"/",p.CSSClass=v.CSSClass+" loaded",p.Resources=v.Resources,p.renderPage(v),window.app.Router.setPage(p),console.timeEnd("".concat(c," > loadContent")),g.next=35;break;case 29:g.prev=29,g.t0=g.catch(6),console.error("".concat(c,": loadContent > FAILED")),console.error(g.t0),p.title="Loading Failed!",console.timeEnd("".concat(c," > loadContent"));case 35:case"end":return g.stop()}}),_callee,null,[[6,29]])}))),function loadContent(t){return a.apply(this,arguments)}),renderPage:function renderPage(t){t.MainContent?p.content=l.trust(t.MainContent):t.elementalArea&&(p.content=l(".elemental-area",t.elementalArea.elements.map((function(t){var o=t.className.replaceAll("\\","__").toLowerCase();return l("div",{id:t.id,class:"element "+o},l(".element__container.container",l.trust(t.forTemplate)))}))))}});t.exports=p},1058:function(t){var o,i,a,c;null!==(i=(o=window).app)&&void 0!==i||(o.app={}),null!==(c=(a=window.app).filesLoaded)&&void 0!==c||(a.filesLoaded="app.js app.css");var l=document.getElementsByTagName("head")[0];t.exports=function loadResource(t){return t.includes("js")?function loadJS(t){if(-1===window.app.filesLoaded.indexOf(t))return window.app.filesLoaded+=" "+t,new Promise((function(o,i){var a=document.createElement("script");a.src=t,a.type="text/javascript",a.async=!0,a.onload=function(){console.log("Loaded: ".concat(t)),o()},a.onerror=i,l.append(a)}))}(t):function loadCSS(t){if(-1===window.app.filesLoaded.indexOf(t))return window.app.filesLoaded+=" "+t,new Promise((function(o,i){var a=document.createElement("link");a.href=t,a.type="text/css",a.rel="stylesheet",a.onload=function(){console.log("Loaded: ".concat(t)),o()},a.onerror=i,l.append(a)}))}(t)}},803:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}var a,c=i(7208),l=i(2991),u=i(1058);t.exports={oninit:function oninit(){if(window.app.Router.isFormResponse()){console.log("".concat("uiPageTpl",": Page is form response, stop page content loading")),window.app.Router.initLinks();var t=document.getElementById("PageLoading");t&&t.classList.add("d-none")}else l.loadContent(document.location.pathname)},onupdate:(a=function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}(_regeneratorRuntime().mark((function _callee(){var t,o;return _regeneratorRuntime().wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:if(window.app.Router.initLinks(),!l.Resources){i.next=6;break}return t=Array.isArray(l.Resources)?l.Resources:JSON.parse(l.Resources),o=t.map(u),i.next=6,Promise.all(o);case 6:window.dispatchEvent(new Event(window.app.Events.AJAX));case 7:case"end":return i.stop()}}),_callee)}))),function onupdate(){return a.apply(this,arguments)}),view:function view(){return c("main",{class:l.CSSClass},c("div",{class:"element page-header-element"},c("div",{class:"element-container container"},c("h1",{class:"page-header"},l.title))),l.content)}}},5638:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}var a,c="uiRouter",l=i(2991),u=i(2344),d={behavior:"smooth",block:"start",inline:"nearest"},p={FirstLoad:!0,initLinks:function initLinks(){document.querySelectorAll("a:not(.legacy)").forEach((function(t){t.dataset[c]||(t.dataset[c]="active",t.addEventListener("click",(function(o){p.linkClick(t,o)})))}))},linkClick:function linkClick(t,o){return _asyncToGenerator(_regeneratorRuntime().mark((function _callee(){var i,a,l,u,h,y;return _regeneratorRuntime().wrap((function _callee$(v){for(;;)switch(v.prev=v.next){case 0:if(console.time("".concat(c," > linkClick")),a=(i=t).getAttribute("href"),l=new URL(a,document.location.origin),a){v.next=10;break}return o.preventDefault(),console.warn("".concat(c," > linkClick: no href")),console.warn(o),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!1);case 10:if(!l.hash||l.pathname&&"/graphql/"!==l.pathname&&(l.hostname!==document.location.hostname||l.pathname!==document.location.pathname)){v.next=17;break}return o.preventDefault(),console.log("".concat(c," > linkClick: hash URL")),(u=document.querySelector(l.hash))&&u.scrollIntoView(d),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!0);case 17:if(l.hostname!==document.location.hostname||l.pathname!==document.location.pathname){v.next=22;break}return o.preventDefault(),console.log("".concat(c," > linkClick: same URL")),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!1);case 22:if(i.getAttribute("target")||!p.sameOrigin(a)){v.next=33;break}return o.preventDefault(),console.log("".concat(c," > linkClick: local URL")),t.classList.add("loading"),p.setNavParentClasses(t,"loading"),t.classList.contains("stretched-link")&&(h=t.parentElement).classList.contains("element")&&h.classList.add("loading"),v.next=30,p.openURL(a);case 30:return y=v.sent,console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",y);case 33:return console.log("".concat(c," > linkClick: external URL")),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!0);case 36:case"end":return v.stop()}}),_callee)})))()},sameOrigin:function sameOrigin(t){var o=p.getAbsURL(t),i=new URL(o),a=new URL(window.location.href);return i.host===a.host&&(i.port===a.port&&i.protocol===a.protocol)},isAbsURL:function isAbsURL(t){return t.indexOf("://")>0||0===t.indexOf("//")},getAbsURL:function getAbsURL(t){return p.isAbsURL(t)?t:new URL(t,document.location.origin).href},getRelURL:function getRelURL(t){return new URL(t,document.location.origin).pathname},requestMethod:function requestMethod(){return document.querySelector('meta[name="http_method"]').getAttribute("content")},isFormResponse:function isFormResponse(){return document.location.search.includes("SecurityID")||"POST"===p.requestMethod()||document.location.pathname.match("element/([0-9]+)/([A-z]+)")},openURL:(a=_asyncToGenerator(_regeneratorRuntime().mark((function _callee2(t){return _regeneratorRuntime().wrap((function _callee2$(o){for(;;)switch(o.prev=o.next){case 0:if(!p.sameOrigin(t)){o.next=4;break}return o.next=3,l.loadContent(p.getRelURL(t));case 3:return o.abrupt("return",o.sent);case 4:return window.location.href=t,o.abrupt("return",!0);case 6:case"end":return o.stop()}}),_callee2)}))),function openURL(t){return a.apply(this,arguments)}),setPage:function setPage(t){p.setLocation(t.title,t.link,t)},setLocation:function setLocation(t,o,i){var a,c=null!==(a=i.requestlink)&&void 0!==a?a:o,l=i?{id:i.id,link:c,title:i.title}:{},u=p.getAbsURL(c),d=window.history.state;p.FirstLoad||d&&d.link&&d.link===l.link||window.history.pushState(l,t,u),p.FirstLoad=!1,document.title=t,p.removeActiveState(),p.setActiveState(c)},setNavParentClasses:function setNavParentClasses(t,o){t.classList.contains("nav-link")&&u(t,".nav-item").forEach((function(t){t.querySelectorAll(":scope > .nav-link").forEach((function(t){t.classList.add(o)}))}))},setActiveState:function setActiveState(t){document.querySelectorAll('a[href="'.concat(t,'"],.a[data-href="').concat(t,'"]')).forEach((function(t){t.classList.add("active"),t.classList.contains("nav-link")&&p.setNavParentClasses(t,"section")}));var o=document.getElementById("PageLoading");o&&o.classList.add("d-none"),window.scroll({top:0,left:0,behavior:"instant"})},removeActiveState:function removeActiveState(){document.querySelectorAll("a,.a,.nav-link,.element").forEach((function(t){t.classList.remove("active","loading","section")})),document.activeElement instanceof window.HTMLElement&&document.activeElement.blur(),document.querySelectorAll('.navbar-toggler[aria-expanded="true"]').forEach((function(t){t.click()}));var t=document.getElementById("SearchFormContainer");t&&t.classList.remove("show")},popState:function popState(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&t.link?(console.log("".concat(c,": [popstate] load")),p.openURL(t.link)):t&&t.landing?(console.log("".concat(c,": [popstate] go to landing")),p.openURL(t.landing)):(console.warn("".concat(c,": [popstate] state is missing")),console.log(t))}};window.addEventListener("popstate",(function(t){p.popState(window.history.state)})),t.exports=p},2344: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}},7146: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},7844:function(t,o,i){"use strict";var a=i(8427);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}}},5558: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(8427),c=i(8784),l=i(6627),u=i(6649),d=i(4306),p=i(494),h=i(9312),y=i(2499),v={};function decodeURIComponentSave(t){try{return decodeURIComponent(t)}catch(o){return t}}t.exports=function(t,o){var i,g,b,w,_,E,S=null==t?null:"function"===typeof t.setImmediate?t.setImmediate:t.setTimeout,A=l.resolve(),L=!1,k=!1,x=0,O=v,P={onbeforeupdate:function onbeforeupdate(){return!(!(x=x?2:1)||v===O)},onremove:function onremove(){t.removeEventListener("popstate",fireAsync,!1),t.removeEventListener("hashchange",resolveRoute,!1)},view:function view(){if(x&&v!==O){var t=[a(b,w.key,w)];return O&&(t=O.render(t[0])),t}}},C=route.SKIP={};function resolveRoute(){L=!1;var a=t.location.hash;"#"!==route.prefix[0]&&(a=t.location.search+a,"?"!==route.prefix[0]&&"/"!==(a=t.location.pathname+a)[0]&&(a="/"+a));var c=a.concat().replace(/(?:%[a-f89][a-f0-9])+/gim,decodeURIComponentSave).slice(route.prefix.length),l=d(c);function reject(t){console.error(t),setPath(g,null,{replace:!0})}h(l.params,t.history.state),function loop(t){for(;t=0&&(_+=t.slice(i,u)),v>=0&&(_+=(i<0?"?":"&")+y.slice(v,b));var E=a(h);return E&&(_+=(i<0&&v<0?"?":"&")+E),l>=0&&(_+=t.slice(l)),g>=0&&(_+=(l<0?"":"&")+y.slice(g)),_}},494:function(t,o,i){"use strict";var a=i(4306);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))}}},3903:function(t){"use strict";function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var o=function PromisePolyfill(t){if(!(this instanceof PromisePolyfill))throw new Error("Promise must be called with 'new'.");if("function"!==typeof t)throw new TypeError("executor must be a function.");var o=this,i=[],a=[],c=handler(i,!0),l=handler(a,!1),u=o._instance={resolvers:i,rejectors:a},d="function"===typeof setImmediate?setImmediate:setTimeout;function handler(t,c){return function execute(p){var h;try{if(!c||null==p||"object"!==_typeof(p)&&"function"!==typeof p||"function"!==typeof(h=p.then))d((function(){c||0!==t.length||console.error("Possible unhandled promise rejection:",p);for(var o=0;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 y=0;y0&&(c.className=a.join(" ")),d[t]={tag:i,attrs:c}}(t),o):(o.tag=t,o)}},484: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(8427);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,h=i.createDocumentFragment();p=d.firstChild;)o.instance.push(p),h.appendChild(p);insertNode(t,h,c)}function updateNodes(t,o,i,a,c,l){if(o!==i&&(null!=o||null!=i))if(null==o||0===o.length)createNodes(t,i,0,i.length,a,c,l);else if(null==i||0===i.length)removeNodes(t,o,0,o.length);else{var d=null!=o[0]&&null!=o[0].key,p=null!=i[0]&&null!=i[0].key,h=0,y=0;if(!d)for(;y=y&&S>=h&&(b=o[E],w=i[S],b.key===w.key);)b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),E--,S--;for(;E>=y&&S>=h&&(v=o[y],g=i[h],v.key===g.key);)y++,h++,v!==g&&updateNode(t,v,g,a,getNextSibling(o,y,c),l);for(;E>=y&&S>=h&&h!==S&&v.key===w.key&&b.key===g.key;)moveNodes(t,b,_=getNextSibling(o,y,c)),b!==g&&updateNode(t,b,g,a,_,l),++h<=--S&&moveNodes(t,v,c),v!==w&&updateNode(t,v,w,a,c,l),null!=w.dom&&(c=w.dom),y++,b=o[--E],w=i[S],v=o[y],g=i[h];for(;E>=y&&S>=h&&b.key===w.key;)b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),S--,b=o[--E],w=i[S];if(h>S)removeNodes(t,o,y,E+1);else if(y>E)createNodes(t,i,h,S+1,a,c,l);else{var A,L,k=c,x=S-h+1,O=new Array(x),P=0,C=0,T=2147483647,I=0;for(C=0;C=h;C--){null==A&&(A=getKeyMap(o,y,E+1));var j=A[(w=i[C]).key];null!=j&&(T=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}(O),P=L.length-1,C=S;C>=h;C--)g=i[C],-1===O[C-h]?createNode(t,g,a,l,c):L[P]===C-h?P--:moveNodes(t,g,c),null!=g.dom&&(c=i[C].dom);else for(C=S;C>=h;C--)g=i[C],-1===O[C-h]&&createNode(t,g,a,l,c),null!=g.dom&&(c=i[C].dom)}}else{var R=o.lengthR&&removeNodes(t,o,h,o.length),i.length>R&&createNodes(t,i,h,i.length,a,c,l)}}}function updateNode(t,o,i,c,l,u){var d=o.tag;if(d===i.tag){if(i.state=o.state,i.events=o.events,function shouldNotUpdate(t,o){do{var i;if(null!=t.attrs&&"function"===typeof t.attrs.onbeforeupdate)if(void 0!==(i=callHook.call(t.attrs.onbeforeupdate,t,o))&&!i)break;if("string"!==typeof t.tag&&"function"===typeof t.state.onbeforeupdate)if(void 0!==(i=callHook.call(t.state.onbeforeupdate,t,o))&&!i)break;return!1}while(0);return t.dom=o.dom,t.domSize=o.domSize,t.instance=o.instance,t.attrs=o.attrs,t.children=o.children,t.text=o.text,!0}(i,o))return;if("string"===typeof d)switch(null!=i.attrs&&updateLifecycle(i.attrs,i,c),d){case"#":!function updateText(t,o){t.children.toString()!==o.children.toString()&&(t.dom.nodeValue=o.children);o.dom=t.dom}(o,i);break;case"<":!function updateHTML(t,o,i,a,c){o.children!==i.children?(removeHTML(t,o),createHTML(t,i,a,c)):(i.dom=o.dom,i.domSize=o.domSize,i.instance=o.instance)}(t,o,i,u,l);break;case"[":!function updateFragment(t,o,i,a,c,l){updateNodes(t,o.children,i.children,a,c,l);var u=0,d=i.children;if(i.dom=null,null!=d){for(var p=0;p-1||null!=t.attrs&&t.attrs.is||"href"!==o&&"list"!==o&&"form"!==o&&"width"!==o&&"height"!==o)&&o in t.dom}var d,p=/[A-Z]/g;function toLowerCase(t){return"-"+t.toLowerCase()}function normalizeKey(t){return"-"===t[0]&&"-"===t[1]?t:"cssFloat"===t?"float":t.replace(p,toLowerCase)}function updateStyle(t,o,i){if(o===i);else if(null==i)t.style.cssText="";else if("object"!==_typeof(i))t.style.cssText=i;else if(null==o||"object"!==_typeof(o))for(var a in t.style.cssText="",i){null!=(c=i[a])&&t.style.setProperty(normalizeKey(a),String(c))}else{for(var a in i){var c;null!=(c=i[a])&&(c=String(c))!==String(o[a])&&t.style.setProperty(normalizeKey(a),c)}for(var a in o)null!=o[a]&&null==i[a]&&t.style.removeProperty(normalizeKey(a))}}function EventDict(){this._=o}function updateEvent(t,i,a){if(null!=t.events){if(t.events._=o,t.events[i]===a)return;null==a||"function"!==typeof a&&"object"!==_typeof(a)?(null!=t.events[i]&&t.dom.removeEventListener(i.slice(2),t.events,!1),t.events[i]=void 0):(null==t.events[i]&&t.dom.addEventListener(i.slice(2),t.events,!1),t.events[i]=a)}else null==a||"function"!==typeof a&&"object"!==_typeof(a)||(t.events=new EventDict,t.dom.addEventListener(i.slice(2),t.events,!1),t.events[i]=a)}function initLifecycle(t,o,i){"function"===typeof t.oninit&&callHook.call(t.oninit,o),"function"===typeof t.oncreate&&i.push(callHook.bind(t.oncreate,o))}function updateLifecycle(t,o,i){"function"===typeof t.onupdate&&i.push(callHook.bind(t.onupdate,o))}return EventDict.prototype=Object.create(null),EventDict.prototype.handleEvent=function(t){var o,i=this["on"+t.type];"function"===typeof i?o=i.call(t.currentTarget,t):"function"===typeof i.handleEvent&&i.handleEvent(t),this._&&!1!==t.redraw&&(0,this._)(),!1===o&&(t.preventDefault(),t.stopPropagation())},function(t,i,c){if(!t)throw new TypeError("DOM element being rendered to does not exist.");if(null!=d&&t.contains(d))throw new TypeError("Node is currently being rendered to and thus is locked.");var l=o,u=d,p=[],h=activeElement(),y=t.namespaceURI;d=t,o="function"===typeof c?c:void 0;try{null==t.vnodes&&(t.textContent=""),i=a.normalizeChildren(Array.isArray(i)?i:[i]),updateNodes(t,t.vnodes,i,p,null,"http://www.w3.org/1999/xhtml"===y?void 0:y),t.vnodes=i,null!=h&&activeElement()!==h&&"function"===typeof h.focus&&h.focus();for(var v=0;v=200&&t.target.status<300||304===t.target.status||/^file:\/\//i.test(o),d=t.target.response;if("json"===y){if(!t.target.responseType&&"function"!==typeof i.extract)try{d=JSON.parse(t.target.responseText)}catch(h){d=null}}else y&&"text"!==y||null==d&&(d=t.target.responseText);if("function"===typeof i.extract?(d=i.extract(t.target,i),u=!0):"function"===typeof i.deserialize&&(d=i.deserialize(d)),u)a(d);else{var p=function completeErrorResponse(){try{c=t.target.responseText}catch(h){c=d}var o=new Error(c);o.code=t.target.status,o.response=d,l(o)};0===v.status?setTimeout((function(){b||p()})):p()}}catch(h){l(h)}},v.ontimeout=function(t){b=!0;var o=new Error("Request timed out");o.code=t.target.status,l(o)},"function"===typeof i.config&&(v=i.config(v,i,o)||v)!==w&&(u=v.abort,v.abort=function(){g=!0,u.call(this)}),null==p?v.send():"function"===typeof i.serialize?v.send(i.serialize(p)):p instanceof t.FormData||p instanceof t.URLSearchParams?v.send(p):v.send(JSON.stringify(p))})),jsonp:makeRequest((function(o,i,a,c){var u=i.callbackName||"_mithril_"+Math.round(1e16*Math.random())+"_"+l++,d=t.document.createElement("script");t[u]=function(o){delete t[u],d.parentNode.removeChild(d),a(o)},d.onerror=function(){delete t[u],d.parentNode.removeChild(d),c(new Error("JSONP request failed"))},d.src=o+(o.indexOf("?")<0?"?":"&")+encodeURIComponent(i.callbackKey||"callback")+"="+encodeURIComponent(u),t.document.documentElement.appendChild(d)}))}}},9961:function(t,o,i){"use strict";var a=i(821);t.exports=i(5558)("undefined"!==typeof window?window:null,a)},9312:function(t,o,i){"use strict";var a=i(1437);t.exports=Object.assign||function(t,o){for(var i in o)a.call(o,i)&&(t[i]=o[i])}},2499:function(t,o,i){"use strict";var a=i(1437),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}},1437:function(t){"use strict";t.exports={}.hasOwnProperty},4991: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}}},6730:function(t){t.exports="../img/bg.png"},8614:function(t){t.exports="../img/logo.png"},4993:function(t){t.exports="../img/logo.svg"},6670:function(t){t.exports="../img/original.png"},6526:function(t){t.exports="../img/original2.png"},7782:function(t){t.exports="../img/photo1.png"},2637:function(t){t.exports="../img/photo2.jpg"},1955:function(t){t.exports="../img/photo3.svg"},9906: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=9906,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")):(y=!1,c.classList.add("portrait"),c.classList.remove("landscape")),console.log("".concat("_main.css-screen-size",": screen size detected ").concat(d," | landscape ").concat(y)),c.removeChild(l),d};i.detectCSSScreenSize=l,i.addEventListener("".concat(t.LOADED),l),i.addEventListener("".concat(t.RESIZE),l)})(window),__webpack_require__(7146);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(){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}((function MainUI(){!function main_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,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")}}])}(),d=function documentInit(){u.init(),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.LODEDANDREADY),(function(){c.classList.add("loaded"),"undefined"!==typeof i.app&&"undefined"!==typeof i.app.Router||(console.warn("Spinner is hidden"),l.hide())})),i.addEventListener("".concat(t.AJAX),(function(){u.loaded()})),i.MainUI=u})(window),__webpack_require__(1595);var u=__webpack_require__(7208),d=document.getElementById("MainContent"),p=document.createElement("div");if(d.dataset.legacy){var h=document.getElementById("PageLoading");h&&(window.addEventListener("".concat(t.LOADED),(function(){h.classList.add("d-none")})),window.addEventListener("".concat(t.AJAX),(function(){h.classList.add("d-none")})))}else{p.classList.add("page--container"),d.append(p);var y=__webpack_require__(803);u.mount(p,y)}var v="ajax-load",g="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}),b.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(this,"hide",(function(){var o=t;console.log("".concat(o.name,": hide")),o.setState({shown:!1}),b.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")),b.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!"))}b.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}),b.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__(4991)(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()}b.dispatchEvent(new Event("{ui.name}.init"))}),[{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 h=document.createElement("nav");h.classList.add("meta-navs");var y=document.createElement("button");y.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),y.innerHTML=' Previous',y.addEventListener("click",(function(t){t.preventDefault(),o.prev()})),h.append(y);var v=document.createElement("button");v.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__next","a"),v.innerHTML=' Next',v.addEventListener("click",(function(t){t.preventDefault(),o.next()})),h.append(v),u.append(h)}}var g=document.createElement("section");if(g.classList.add("meta-wrap","typography"),o.state.extraClass&&g.classList.add(o.state.extraClass),g.innerHTML=o.getHtml(),u.append(g),o.state.error){var b=document.createElement("div");b.classList.add("meta-error"),b.innerHTML=o.state.error,u.append(b)}else if(o.state.caption){var w=document.createElement("div");w.classList.add("meta-caption"),w.innerHTML=o.getCaption(),u.append(w)}return"undefined"!==typeof window.FontAwesome&&window.FontAwesome.dom.i2svg(),o}}])}(),_=w,E=document.getElementById("MetaLightboxApp");E||(console.warn("MetaWindow: missing container #MetaLightboxApp - create new one"),(E=document.createElement("div")).setAttribute("id","MetaLightboxApp"),document.querySelector("body").append(E));var S=function init(){var t=window.MetaWindow;"undefined"===typeof t&&(t=new _({target:E}),window.MetaWindow=t),t.init()};window.addEventListener("".concat(g),S),window.addEventListener("".concat(v),S),window.addEventListener("MetaWindow.initLinks",S);var A=new Map,L=function set(t,o,i){A.has(t)||A.set(t,new Map);var a=A.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 A.has(t)&&A.get(t).get(o)||null},x=function remove(t,o){if(A.has(t)){var i=A.get(t);i.delete(o),0===i.size&&A.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},j=function getjQuery(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},R=[],N=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(O,(function handler(i){i.target===o&&(a=!0,o.removeEventListener(O,handler),N(t))})),setTimeout((function(){a||function triggerTransitionEnd(t){t.dispatchEvent(new Event(O))}(o)}),i)}else N(t)};function _slicedToArray(t,o){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,o){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var a,c,l,u,d=[],p=!0,h=!1;try{if(l=(i=i.call(t)).next,0===o){if(Object(i)!==i)return;p=!1}else for(;!(p=(a=l.call(i)).done)&&(d.push(a.value),d.length!==o);p=!0);}catch(t){h=!0,c=t}finally{try{if(!p&&null!=i.return&&(u=i.return(),Object(u)!==u))return}finally{if(h)throw c}}return d}}(t,o)||event_handler_unsupportedIterableToArray(t,o)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _createForOfIteratorHelper(t,o){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=event_handler_unsupportedIterableToArray(t))||o&&t&&"number"===typeof t.length){i&&(t=i);var a=0,c=function F(){};return{s:c,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==i.return||i.return()}finally{if(d)throw l}}}}function event_handler_unsupportedIterableToArray(t,o){if(t){if("string"===typeof t)return event_handler_arrayLikeToArray(t,o);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?event_handler_arrayLikeToArray(t,o):void 0}}function event_handler_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var i=0,a=new Array(o);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 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 h=getElementEvents(t),y=h[p]||(h[p]={}),v=findHandler(y,d,u?i:null);if(v)v.oneOff=v.oneOff&&c;else{var g=makeEventUid(d,o.replace(M,"")),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&&W.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&&W.off(t,i.type,o),o.apply(t,[i])}}(t,d);b.delegationSelector=u?i:null,b.callable=d,b.oneOff=c,b.uidEvent=g,y[g]=b,t.addEventListener(p,b,u)}}}function removeHandler(t,o,i,a,c){var l=findHandler(o[i],a,c);l&&(t.removeEventListener(i,l,Boolean(c)),delete o[i][l.uidEvent])}function removeNamespacedHandlers(t,o,i,a){for(var c=o[i]||{},l=0,u=Object.entries(c);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(I(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.3"}},{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)}}])}(V),X=J;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=Q(t);return o&&Z.findOne(o)?o:null},getElementFromSelector:function getElementFromSelector(t){var o=Q(t);return o?Z.findOne(o):null},getMultipleElementsFromSelector:function getMultipleElementsFromSelector(t){var o=Q(t);return o?Z.find(o):[]}},ee=Z;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=I(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(fe));try{for(o.s();!(t=o.n()).done;){var i=t.value,a=ee.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=ee.find(ue,this._config.parent);return ee.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 de}},{key:"DefaultType",get:function get(){return pe}},{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]()}}))}}])}(X);K.on(document,ae,fe,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();var o,i=collapse_createForOfIteratorHelper(ee.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?(R.length||document.addEventListener("DOMContentLoaded",(function(){for(var t=0,o=R;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)}!function Toggle(t){console.log("".concat(i,": nav toggle"));var o=t.querySelector(".dropdown-menu"),a=o.classList.contains("show");c(),o&&!a&&o.classList.add("show")}(l)}a.dataset.firstClick=!0})),t.classList.add("".concat(i,"-active")),t.classList.add("".concat(i,"-click-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.classList.contains("".concat(i,"-hover-active"))||(t.addEventListener("mouseover",l,!1),t.addEventListener("mouseleave",u,!1),t.classList.add("".concat(i,"-active")),t.classList.add("".concat(i,"-hover-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(ye,o),this.index=this.settings.startAt}return glide_esm_createClass(Glide,[{key:"mount",value:function mount$1(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),isObject(t)?this._c=function mount(t,o,i){var a={};for(var c in o)isFunction(o[c])?a[c]=o[c](t,a,i):warn("Extension must be a function");for(var l in a)isFunction(a[l].mount)&&a[l].mount();return a}(this,t,this._e):warn("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function mutate(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return isArray(t)?this._t=t:warn("You need to provide a array on `mutate()`"),this}},{key:"update",value:function update(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.settings=mergeOptions(this.settings,t),t.hasOwnProperty("startAt")&&(this.index=t.startAt),this._e.emit("update"),this}},{key:"go",value:function go(t){return this._c.Run.make(t),this}},{key:"move",value:function move(t){return this._c.Transition.disable(),this._c.Move.make(t),this}},{key:"destroy",value:function destroy(){return this._e.emit("destroy"),this}},{key:"play",value:function play(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&(this.settings.autoplay=t),this._e.emit("play"),this}},{key:"pause",value:function pause(){return this._e.emit("pause"),this}},{key:"disable",value:function disable(){return this.disabled=!0,this}},{key:"enable",value:function enable(){return this.disabled=!1,this}},{key:"on",value:function on(t,o){return this._e.on(t,o),this}},{key:"isType",value:function isType(t){return this.settings.type===t}},{key:"settings",get:function get(){return this._o},set:function set(t){isObject(t)?this._o=t:warn("Options must be an `object` instance.")}},{key:"index",get:function get(){return this._i},set:function set(t){this._i=toInt(t)}},{key:"type",get:function get(){return this.settings.type}},{key:"disabled",get:function get(){return this._d},set:function set(t){this._d=!!t}}]),Glide}();function now(){return(new Date).getTime()}function throttle(t,o,i){var a,c,l,u,d=0;i||(i={});var p=function later(){d=!1===i.leading?0:now(),a=null,u=t.apply(c,l),a||(c=l=null)},h=function throttled(){var h=now();d||!1!==i.leading||(d=h);var y=o-(h-d);return c=this,l=arguments,y<=0||y>o?(a&&(clearTimeout(a),a=null),d=h,u=t.apply(c,l),a||(c=l=null)):a||!1===i.trailing||(a=setTimeout(p,y)),u};return h.cancel=function(){clearTimeout(a),d=0,a=c=l=null},h}var ge={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 be='[data-glide-el="track"]';var we=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 Ae=Object.defineProperty({},"passive",{get:function get(){Se=!0}});window.addEventListener("testPassive",null,Ae),window.removeEventListener("testPassive",null,Ae)}catch(it){}var Le=Se,ke=["touchstart","mousedown"],xe=["touchmove","mousemove"],Oe=["touchend","touchcancel","mouseup","mouseleave"],Pe=["mousedown","mousemove","mouseup","mouseleave"];var Ce='[data-glide-el^="controls"]',Te="".concat(Ce,' [data-glide-dir*="<"]'),Ie="".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 je={Html:function Html(t,o,i){var a={mount:function mount(){this.root=t.selector,this.track=this.root.querySelector(be),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(be," 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(Ee[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){_e.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),h=a.slice(0,p).reverse(),y=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 we,c=0,l=0,u=0,d=!1,p=!!Le&&{passive:!0},h={mount:function mount(){this.bindSwipeStart()},start:function start(o){if(!d&&!t.disabled){this.disable();var a=this.touches(o);c=null,l=toInt(a.pageX),u=toInt(a.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),i.emit("swipe.start")}},move:function move(a){if(!t.disabled){var d=t.settings,p=d.touchAngle,h=d.touchRatio,y=d.classes,v=this.touches(a),g=toInt(v.pageX)-l,b=toInt(v.pageY)-u,w=Math.abs(g<<2),_=Math.abs(b<<2),E=Math.sqrt(w+_),S=Math.sqrt(_);if(!(180*(c=Math.asin(S/E))/Math.PIv&&b"))):o.Move.make(),o.Html.root.classList.remove(h.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),i.emit("swipe.end")}},bindSwipeStart:function bindSwipeStart(){var i=this,c=t.settings,l=c.swipeThreshold,u=c.dragThreshold;l&&a.on(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(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(Oe,o.Html.wrapper,(function(o){t.end(o)}))},unbindSwipeEnd:function unbindSwipeEnd(){a.off(Oe,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(){h.unbindSwipeStart(),h.unbindSwipeMove(),h.unbindSwipeEnd(),a.destroy()})),h},Images:function Images(t,o,i){var a=new we,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 we,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 we,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 we,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}},Re=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=_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({},je,t))}}]),Glide}(ve),Ne=function init(){console.log("".concat("uiGlide"," init")),document.querySelectorAll(".glide").forEach((function(o){if(!o.dataset.glide){o.dataset.glide=!0;var a=o.dataset;if(1===a.perView&&a.bsIndicators){var c=document.createElement("div");c.classList.add("glide__bullets"),c.dataset.glideEl="controls[nav]";var l=o.querySelectorAll(".glide__slide").length;for(l--;l>=0;){var u=document.createElement("button");u.classList.add("glide__bullet"),u.dataset.glideDir=i,c.append(u),l--}o.append(c)}if(a.bsArrows){var d=document.createElement("div");d.classList.add("glide__arrows"),d.dataset.glideEl="controls";var p=document.createElement("button");p.classList.add("glide__arrow","glide__arrow--left"),p.dataset.glideDir="<",p.innerText="prev",d.append(p);var h=document.createElement("button");h.classList.add("glide__arrow","glide__arrow--right"),h.dataset.glideDir=">",h.innerText="next",d.append(h),o.append(d)}var y=new Re(o,{startAt:0,type:"carousel",perView:a.perView,autoplay:a.bsInterval,gap:0,breakpoints:{768:{perView:1},992:{perView:parseInt(a.perView/2)}}});y.on("mount.after",(function(){o.dispatchEvent(new Event("".concat(t.CAROUSEL_READY))),window.dispatchEvent(new Event("".concat(t.CAROUSEL_READY)))})),y.mount()}}))};window.addEventListener("".concat(t.LODEDANDREADY),Ne),window.addEventListener("".concat(t.AJAX),(function(){setTimeout(Ne,300)}));var De="uiTurnstile",Me=".".concat(De,",.js-turnstile"),Fe=function init(){console.log("".concat(De,": init")),document.querySelectorAll(Me).length?document.querySelector("#captchaAPI")||"undefined"!==typeof window.turnstile?Ge():He(init):console.log("".concat(De,": No Captcha fields."))},Ge=function renderCaptcha(){console.log("".concat(De,": renderCaptcha")),document.querySelectorAll(Me).forEach((function(t){if(t.dataset[De]||t.innerHTML.length>0)t.dataset.widgetid&&turnstile.reset(t.dataset.widgetid);else{var o=window.turnstile.render(t,{sitekey:t.dataset.sitekey,callback:function callback(t){console.log("".concat(De,": Challenge Success ").concat(t))}});t.closest("form").addEventListener("submit",(function(){console.log("".concat(De,": submit")),window.turnstile.reset(t.dataset.widgetid)})),t.dataset.widgetid=o,t.dataset[De]=!0}}))},He=function loadScript(){console.log("".concat(De,": Loading Captcha API ..."));var t=document.createElement("script");t.id="captchaAPI",t.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit&onload=renderCaptcha&hl=".concat(document.querySelector("html").getAttribute("lang").substr(0,2)),t.async=!0,document.body.append(t)};window.renderCaptcha=Ge,window.addEventListener("".concat(t.LODEDANDREADY),Fe),window.addEventListener("".concat(t.AJAX),Fe);!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(a){a.classList.contains("".concat(i,"-active"))||(a.addEventListener("click",(function(a){var c=a.currentTarget.closest(".field").querySelector("input");c&&function toggle(a){console.log("".concat(i,": toggle")),t&&clearTimeout(t),o(a)}(c)})),a.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 ze=function e(t){function n(t,o,i){var a,c={};if(Array.isArray(t))return t.concat(o);for(a in t)c[i?a.toLowerCase():a]=t[a];for(a in o){var l=i?a.toLowerCase():a,u=o[a];c[l]=l in c&&"object"==redaxios_module_typeof(u)?n(c[l],u,"headers"==l):u}return c}function r(o,i,a,c,l){var u="string"!=typeof o?(i=o).url:o,d={config:i},p=n(t,i),h={};c=c||p.data,(p.transformRequest||[]).map((function(t){c=t(c,p.headers)||c})),p.auth&&(h.authorization=p.auth),c&&"object"==redaxios_module_typeof(c)&&"function"!=typeof c.append&&"function"!=typeof c.text&&(c=JSON.stringify(c),h["content-type"]="application/json");try{h[p.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp("(^|; )"+p.xsrfCookieName+"=([^;]*)"))[2])}catch(o){}return p.baseURL&&(u=u.replace(/^(?!.*\/\/)\/?/,p.baseURL+"/")),p.params&&(u+=(~u.indexOf("?")?"&":"?")+(p.paramsSerializer?p.paramsSerializer(p.params):new URLSearchParams(p.params))),(p.fetch||fetch)(u,{method:(a||p.method||"get").toUpperCase(),body:c,headers:n(p.headers,h,!0),credentials:p.withCredentials?"include":l}).then((function(t){for(var o in t)"function"!=typeof t[o]&&(d[o]=t[o]);return"stream"==p.responseType?(d.data=t.body,d):t[p.responseType||"text"]().then((function(t){d.data=t,d.data=JSON.parse(t)})).catch(Object).then((function(){return(p.validateStatus?p.validateStatus(t.status):t.ok)?d:Promise.reject(d)}))}))}return t=t||{},r.request=r,r.get=function(t,o){return r(t,o,"get")},r.delete=function(t,o){return r(t,o,"delete")},r.head=function(t,o){return r(t,o,"head")},r.options=function(t,o){return r(t,o,"options")},r.post=function(t,o,i){return r(t,i,"post",o)},r.put=function(t,o,i){return r(t,i,"put",o)},r.patch=function(t,o,i){return r(t,i,"patch",o)},r.all=Promise.all.bind(Promise),r.spread=function(t){return t.apply.bind(t,t)},r.CancelToken="function"==typeof AbortController?AbortController:Object,r.defaults=t,r.create=e,r}();!function(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(y,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)},h=!1,y=function SESSION_PING(){if(!h&&!l.classList.contains("is-offline")){var t=u.getAttribute("content");console.log("".concat(a,": session ping")),h=!0,ze.post(t,{}).then((function(t){h=!1,p(!0)})).catch((function(t){console.error(t),console.warn("".concat(a,": SESSION_PING failed")),h=!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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}var Ke="uiAjaxForm",Ye="form-container",Ve=function submitForm(t){var o=t.currentTarget;t.preventDefault(),console.log("".concat(Ke,": submit"));var i=new FormData(o),a=o.parentElement,c=o.querySelectorAll('input[type="submit"],button'),l=o.getAttribute("ID");c.forEach((function(t){t.setAttribute("disabled","disabled")})),i.append("formid",l),i.append("ajax","1"),$e(o),a.classList.remove("loaded"),a.classList.add("loading"),fetch(o.action,{method:o.method,headers:{"x-requested-with":"XMLHttpRequest","x-requested-form":l},body:i}).then(function(){var t=function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}(_regeneratorRuntime().mark((function _callee(t){return _regeneratorRuntime().wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:if(t.ok){i.next=4;break}return console.error("".concat(Ke,": BAD RESPONSE")),console.log(t),i.abrupt("return");case 4:t.text().then((function(t){var i=Je(t);return i.json?Qe(o,i.data):et(o,i.data)}));case 5:case"end":return i.stop()}}),_callee)})));return function(o){return t.apply(this,arguments)}}())},$e=function clearAlerts(t){t.querySelectorAll(".field__alert,.form__message").forEach((function(t){t.remove()}))},Je=function processResponse(t){try{var o=JSON.parse(t);if(o.MainContent)try{return{json:!0,data:o=JSON.parse(o.MainContent)}}catch(it){return{json:!1,data:o.MainContent}}return{json:!0,data:o}}catch(it){return{json:!1,data:t}}},Xe=function isAlertResponse(t){return t.indexOf('class="alert')||t.indexOf("class='alert")},Qe=function formProcessJson(t,o){var i=(o.status,"success");if(o.location){if(console.log("".concat(Ke,": Redirect")),o.loadAjax||"undefined"===typeof window.app.Router)window.location=o.location;else{var a=document.createElement("a");a.setAttribute("href",o.location),window.app.Router.linkClick(a,new Event("click"))}return Ze(t)}if(o.msgs){var c=t.querySelector(".form__fieldset");return o.msgs.forEach((function(o){var a,l,u=document.createElement("div");((a=u.classList).add.apply(a,["field__alert"]),Xe(o.message))||(l=u.classList).add.apply(l,["alert","alert-".concat(i),"alert-".concat(o.messageCast),"".concat(o.messageType)]);u.innerHTML=o.message;var d=t.querySelector('[name="'.concat(o.fieldName,'"],[name^="').concat(o.fieldName,'["]'));if(d){d.classList.add("error");var p=d.closest(".form__field");if(p)return p.classList.add("error"),void p.appendChild(u)}t.insertBefore(u,c)})),Ze(t)}var l=Xe(o.message)?o.message:'
').concat(o.message,"
");return et(t,l)},Ze=function setLoaded(o){var i=o.parentElement;i.classList.remove("loading"),i.classList.add("loaded"),o.querySelectorAll('input[type="submit"],button').forEach((function(t){t.removeAttribute("disabled","disabled")})),window.dispatchEvent(new Event("".concat(t.AJAX)))},et=function replaceForm(t,o){var i=t.parentElement;i.innerHTML=o,i.classList.remove("loading"),i.classList.add("loaded");var a=i.querySelector("form");if(a)return a.addEventListener("submit",Ve),Ze(a)},tt=function formInit(t){if(t.dataset["".concat(Ke,"Active")])return console.log("".concat(Ke,": #").concat(t.id," already activated")),!1;var o=t.parentElement;if(!o.classList.contains(Ye)){var i=document.createElement("div");i.classList.add(Ye),i.append(t),o.append(i)}t.dataset["".concat(Ke,"Active")]=!0,t.addEventListener("submit",Ve)},nt=function init(){console.log("".concat(Ke,": init")),document.querySelectorAll("#MainContent form:not(.legacy),.ajax-form").forEach(tt)};window.addEventListener("".concat(t.LODEDANDREADY),nt),window.addEventListener("".concat(t.AJAX),nt);!function(o){var i="_layout",a=document;o.addEventListener("".concat(t.LODEDANDREADY),(function(){!function initFonts(){console.log("".concat(i,": initFonts"));var t=a.createElement("link");t.rel="stylesheet",t.type="text/css",t.media="all",t.href="https://fonts.googleapis.com/css?family=Roboto:ital,wght@0,400;0,700;1,400&display=swap",a.getElementsByTagName("head")[0].appendChild(t)}(),function initAnalytics(){console.log("".concat(i,": initAnalytics"))}()}))}(window);function importAll(t){return t.keys().map(t)}if(importAll(__webpack_require__(480)),importAll(__webpack_require__(9906)),"serviceWorker"in navigator){var rt=(document.getElementsByTagName("base")[0]||{}).href,ot=(document.querySelector('meta[name="swversion"]')||{}).content;rt&&navigator.serviceWorker.register("".concat(rt,"sw.js?v=").concat(ot)).then((function(){console.log("Service Worker Registered")}))}}()}(); \ No newline at end of file +!function(){var t={480:function(t,o,i){var a={"./bg.png":6730,"./logo.png":8614,"./logo.svg":4993,"./original.png":6670,"./original2.png":6526,"./photo1.png":7782,"./photo2.jpg":2637,"./photo3.svg":1955,"app/client/src/img/bg.png":6730,"app/client/src/img/logo.png":8614,"app/client/src/img/logo.svg":4993,"app/client/src/img/original.png":6670,"app/client/src/img/original2.png":6526,"app/client/src/img/photo1.png":7782,"app/client/src/img/photo2.jpg":2637,"app/client/src/img/photo3.svg":1955,"bg.png":6730,"img/bg.png":6730,"img/logo.png":8614,"img/logo.svg":4993,"img/original.png":6670,"img/original2.png":6526,"img/photo1.png":7782,"img/photo2.jpg":2637,"img/photo3.svg":1955,"logo.png":8614,"logo.svg":4993,"original.png":6670,"original2.png":6526,"photo1.png":7782,"photo2.jpg":2637,"photo3.svg":1955};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=480},2889: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"}},752:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 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 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 request: Error")),o.errors.forEach((function(t){console.error(t.message)}))),i.next=6,o;case 6:return i.abrupt("return",i.sent);case 7:case"end":return i.stop()}}),_callee)}))),function request(t){return a.apply(this,arguments)})};t.exports=u},4072:function(t,o,i){var a,c,l=i(2889),u=i(5667),d=i(2642);null!==(c=(a=window).app)&&void 0!==c||(a.app={}),window.app.Events=l.default,window.app.Router=u,window.app.Page=d;var p=document.getElementById("MainContent");p&&p.dataset.legacy||(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()})))},2642:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}function ownKeys(t,o){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);o&&(a=a.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),i.push.apply(i,a)}return i}function _objectSpread(t){for(var o=1;o loadContent: start ").concat(t)),console.time("".concat(c," > loadContent")),(o=document.querySelector("#MainContent>.main-content"))&&o.remove(),Object.keys(d).forEach((function(t){p[t]=d[t]})),l.redraw(),g.prev=6,g.next=9,u.request({url:t,method:"GET"});case 9:if(y=g.sent,v=y,console.log("".concat(c," > loadContent: done")),v){g.next=18;break}return console.warn("".concat(c,": loadContent: ").concat(t," > NOT FOUND")),window.app.Router.removeActiveState(),window.location.href=t,console.timeEnd("".concat(c," > loadContent")),g.abrupt("return");case 18:p.title=null!==(i=v.Title)&&void 0!==i?i:window.document.title,p.id=v.ID,p.link=null!==(a=v.Link)&&void 0!==a?a:"/",p.requestlink=null!==(h=v.RequestLink)&&void 0!==h?h:"/",p.CSSClass=v.CSSClass+" loaded",p.Resources=v.Resources,p.renderPage(v),window.app.Router.setPage(p),console.timeEnd("".concat(c," > loadContent")),g.next=35;break;case 29:g.prev=29,g.t0=g.catch(6),console.error("".concat(c,": loadContent > FAILED")),console.error(g.t0),p.title="Loading Failed!",console.timeEnd("".concat(c," > loadContent"));case 35:case"end":return g.stop()}}),_callee,null,[[6,29]])}))),function loadContent(t){return a.apply(this,arguments)}),renderPage:function renderPage(t){t.MainContent?p.content=l.trust(t.MainContent):t.elementalArea&&(p.content=l(".elemental-area",t.elementalArea.elements.map((function(t){var o=t.className.replaceAll("\\","__").toLowerCase();return l("div",{id:t.id,class:"element "+o},l(".element__container.container",l.trust(t.forTemplate)))}))))}});t.exports=p},8707:function(t){var o,i,a,c;null!==(i=(o=window).app)&&void 0!==i||(o.app={}),null!==(c=(a=window.app).filesLoaded)&&void 0!==c||(a.filesLoaded="app.js app.css");var l=document.getElementsByTagName("head")[0];t.exports=function loadResource(t){return t.includes("js")?function loadJS(t){if(-1===window.app.filesLoaded.indexOf(t))return window.app.filesLoaded+=" "+t,new Promise((function(o,i){var a=document.createElement("script");a.src=t,a.type="text/javascript",a.async=!0,a.onload=function(){console.log("Loaded: ".concat(t)),o()},a.onerror=i,l.append(a)}))}(t):function loadCSS(t){if(-1===window.app.filesLoaded.indexOf(t))return window.app.filesLoaded+=" "+t,new Promise((function(o,i){var a=document.createElement("link");a.href=t,a.type="text/css",a.rel="stylesheet",a.onload=function(){console.log("Loaded: ".concat(t)),o()},a.onerror=i,l.append(a)}))}(t)}},6058:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}var a,c=i(8459),l=i(2642),u=i(8707);t.exports={oninit:function oninit(){if(window.app.Router.isFormResponse()){console.log("".concat("uiPageTpl",": Page is form response, stop page content loading")),window.app.Router.initLinks();var t=document.getElementById("PageLoading");t&&t.classList.add("d-none")}else l.loadContent(document.location.pathname)},onupdate:(a=function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}(_regeneratorRuntime().mark((function _callee(){var t,o;return _regeneratorRuntime().wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:if(window.app.Router.initLinks(),!l.Resources){i.next=6;break}return t=Array.isArray(l.Resources)?l.Resources:JSON.parse(l.Resources),o=t.map(u),i.next=6,Promise.all(o);case 6:window.dispatchEvent(new Event(window.app.Events.AJAX));case 7:case"end":return i.stop()}}),_callee)}))),function onupdate(){return a.apply(this,arguments)}),view:function view(){return c("main",{class:l.CSSClass},c("div",{class:"element page-header-element"},c("div",{class:"element-container container"},c("h1",{class:"page-header"},l.title))),l.content)}}},5667:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}var a,c="uiRouter",l=i(2642),u=i(8001),d={behavior:"smooth",block:"start",inline:"nearest"},p={FirstLoad:!0,initLinks:function initLinks(){document.querySelectorAll("a:not(.legacy)").forEach((function(t){t.dataset[c]||(t.dataset[c]="active",t.addEventListener("click",(function(o){p.linkClick(t,o)})))}))},linkClick:function linkClick(t,o){return _asyncToGenerator(_regeneratorRuntime().mark((function _callee(){var i,a,l,u,h,y;return _regeneratorRuntime().wrap((function _callee$(v){for(;;)switch(v.prev=v.next){case 0:if(console.time("".concat(c," > linkClick")),a=(i=t).getAttribute("href"),l=new URL(a,document.location.origin),a){v.next=10;break}return o.preventDefault(),console.warn("".concat(c," > linkClick: no href")),console.warn(o),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!1);case 10:if(!l.hash||l.pathname&&"/graphql/"!==l.pathname&&(l.hostname!==document.location.hostname||l.pathname!==document.location.pathname)){v.next=17;break}return o.preventDefault(),console.log("".concat(c," > linkClick: hash URL")),(u=document.querySelector(l.hash))&&u.scrollIntoView(d),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!0);case 17:if(l.hostname!==document.location.hostname||l.pathname!==document.location.pathname){v.next=22;break}return o.preventDefault(),console.log("".concat(c," > linkClick: same URL")),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!1);case 22:if(i.getAttribute("target")||!p.sameOrigin(a)){v.next=33;break}return o.preventDefault(),console.log("".concat(c," > linkClick: local URL")),t.classList.add("loading"),p.setNavParentClasses(t,"loading"),t.classList.contains("stretched-link")&&(h=t.parentElement).classList.contains("element")&&h.classList.add("loading"),v.next=30,p.openURL(a);case 30:return y=v.sent,console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",y);case 33:return console.log("".concat(c," > linkClick: external URL")),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!0);case 36:case"end":return v.stop()}}),_callee)})))()},sameOrigin:function sameOrigin(t){var o=p.getAbsURL(t),i=new URL(o),a=new URL(window.location.href);return i.host===a.host&&(i.port===a.port&&i.protocol===a.protocol)},isAbsURL:function isAbsURL(t){return t.indexOf("://")>0||0===t.indexOf("//")},getAbsURL:function getAbsURL(t){return p.isAbsURL(t)?t:new URL(t,document.location.origin).href},getRelURL:function getRelURL(t){return new URL(t,document.location.origin).pathname},requestMethod:function requestMethod(){return document.querySelector('meta[name="http_method"]').getAttribute("content")},isFormResponse:function isFormResponse(){return document.location.search.includes("SecurityID")||"POST"===p.requestMethod()||document.location.pathname.match("element/([0-9]+)/([A-z]+)")},openURL:(a=_asyncToGenerator(_regeneratorRuntime().mark((function _callee2(t){return _regeneratorRuntime().wrap((function _callee2$(o){for(;;)switch(o.prev=o.next){case 0:if(!p.sameOrigin(t)){o.next=4;break}return o.next=3,l.loadContent(p.getRelURL(t));case 3:return o.abrupt("return",o.sent);case 4:return window.location.href=t,o.abrupt("return",!0);case 6:case"end":return o.stop()}}),_callee2)}))),function openURL(t){return a.apply(this,arguments)}),setPage:function setPage(t){p.setLocation(t.title,t.link,t)},setLocation:function setLocation(t,o,i){var a,c=null!==(a=i.requestlink)&&void 0!==a?a:o,l=i?{id:i.id,link:c,title:i.title}:{},u=p.getAbsURL(c),d=window.history.state;p.FirstLoad||d&&d.link&&d.link===l.link||window.history.pushState(l,t,u),p.FirstLoad=!1,document.title=t,p.removeActiveState(),p.setActiveState(c)},setNavParentClasses:function setNavParentClasses(t,o){t.classList.contains("nav-link")&&u(t,".nav-item").forEach((function(t){t.querySelectorAll(":scope > .nav-link").forEach((function(t){t.classList.add(o)}))}))},setActiveState:function setActiveState(t){document.querySelectorAll('a[href="'.concat(t,'"],.a[data-href="').concat(t,'"]')).forEach((function(t){t.classList.add("active"),t.classList.contains("nav-link")&&p.setNavParentClasses(t,"section")}));var o=document.getElementById("PageLoading");o&&o.classList.add("d-none"),window.scroll({top:0,left:0,behavior:"instant"})},removeActiveState:function removeActiveState(){document.querySelectorAll("a,.a,.nav-link,.element").forEach((function(t){t.classList.remove("active","loading","section")})),document.activeElement instanceof window.HTMLElement&&document.activeElement.blur(),document.querySelectorAll('.navbar-toggler[aria-expanded="true"]').forEach((function(t){t.click()}));var t=document.getElementById("SearchFormContainer");t&&t.classList.remove("show")},popState:function popState(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&t.link?(console.log("".concat(c,": [popstate] load")),p.openURL(t.link)):t&&t.landing?(console.log("".concat(c,": [popstate] go to landing")),p.openURL(t.landing)):(console.warn("".concat(c,": [popstate] state is missing")),console.log(t))}};window.addEventListener("popstate",(function(t){p.popState(window.history.state)})),t.exports=p},8001: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}},2347: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},8261:function(t,o,i){"use strict";var a=i(6602);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}}},7971: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(6602),c=i(1129),l=i(7472),u=i(7172),d=i(9951),p=i(2763),h=i(2495),y=i(4124),v={};function decodeURIComponentSave(t){try{return decodeURIComponent(t)}catch(o){return t}}t.exports=function(t,o){var i,g,b,w,_,E,S=null==t?null:"function"===typeof t.setImmediate?t.setImmediate:t.setTimeout,A=l.resolve(),L=!1,k=!1,x=0,O=v,P={onbeforeupdate:function onbeforeupdate(){return!(!(x=x?2:1)||v===O)},onremove:function onremove(){t.removeEventListener("popstate",fireAsync,!1),t.removeEventListener("hashchange",resolveRoute,!1)},view:function view(){if(x&&v!==O){var t=[a(b,w.key,w)];return O&&(t=O.render(t[0])),t}}},C=route.SKIP={};function resolveRoute(){L=!1;var a=t.location.hash;"#"!==route.prefix[0]&&(a=t.location.search+a,"?"!==route.prefix[0]&&"/"!==(a=t.location.pathname+a)[0]&&(a="/"+a));var c=a.concat().replace(/(?:%[a-f89][a-f0-9])+/gim,decodeURIComponentSave).slice(route.prefix.length),l=d(c);function reject(t){console.error(t),setPath(g,null,{replace:!0})}h(l.params,t.history.state),function loop(t){for(;t=0&&(_+=t.slice(i,u)),v>=0&&(_+=(i<0?"?":"&")+y.slice(v,b));var E=a(h);return E&&(_+=(i<0&&v<0?"?":"&")+E),l>=0&&(_+=t.slice(l)),g>=0&&(_+=(l<0?"":"&")+y.slice(g)),_}},2763:function(t,o,i){"use strict";var a=i(9951);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))}}},6926:function(t){"use strict";function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var o=function PromisePolyfill(t){if(!(this instanceof PromisePolyfill))throw new Error("Promise must be called with 'new'.");if("function"!==typeof t)throw new TypeError("executor must be a function.");var o=this,i=[],a=[],c=handler(i,!0),l=handler(a,!1),u=o._instance={resolvers:i,rejectors:a},d="function"===typeof setImmediate?setImmediate:setTimeout;function handler(t,c){return function execute(p){var h;try{if(!c||null==p||"object"!==_typeof(p)&&"function"!==typeof p||"function"!==typeof(h=p.then))d((function(){c||0!==t.length||console.error("Possible unhandled promise rejection:",p);for(var o=0;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 y=0;y0&&(c.className=a.join(" ")),d[t]={tag:i,attrs:c}}(t),o):(o.tag=t,o)}},203: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(6602);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,h=i.createDocumentFragment();p=d.firstChild;)o.instance.push(p),h.appendChild(p);insertNode(t,h,c)}function updateNodes(t,o,i,a,c,l){if(o!==i&&(null!=o||null!=i))if(null==o||0===o.length)createNodes(t,i,0,i.length,a,c,l);else if(null==i||0===i.length)removeNodes(t,o,0,o.length);else{var d=null!=o[0]&&null!=o[0].key,p=null!=i[0]&&null!=i[0].key,h=0,y=0;if(!d)for(;y=y&&S>=h&&(b=o[E],w=i[S],b.key===w.key);)b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),E--,S--;for(;E>=y&&S>=h&&(v=o[y],g=i[h],v.key===g.key);)y++,h++,v!==g&&updateNode(t,v,g,a,getNextSibling(o,y,c),l);for(;E>=y&&S>=h&&h!==S&&v.key===w.key&&b.key===g.key;)moveNodes(t,b,_=getNextSibling(o,y,c)),b!==g&&updateNode(t,b,g,a,_,l),++h<=--S&&moveNodes(t,v,c),v!==w&&updateNode(t,v,w,a,c,l),null!=w.dom&&(c=w.dom),y++,b=o[--E],w=i[S],v=o[y],g=i[h];for(;E>=y&&S>=h&&b.key===w.key;)b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),S--,b=o[--E],w=i[S];if(h>S)removeNodes(t,o,y,E+1);else if(y>E)createNodes(t,i,h,S+1,a,c,l);else{var A,L,k=c,x=S-h+1,O=new Array(x),P=0,C=0,T=2147483647,I=0;for(C=0;C=h;C--){null==A&&(A=getKeyMap(o,y,E+1));var j=A[(w=i[C]).key];null!=j&&(T=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}(O),P=L.length-1,C=S;C>=h;C--)g=i[C],-1===O[C-h]?createNode(t,g,a,l,c):L[P]===C-h?P--:moveNodes(t,g,c),null!=g.dom&&(c=i[C].dom);else for(C=S;C>=h;C--)g=i[C],-1===O[C-h]&&createNode(t,g,a,l,c),null!=g.dom&&(c=i[C].dom)}}else{var R=o.lengthR&&removeNodes(t,o,h,o.length),i.length>R&&createNodes(t,i,h,i.length,a,c,l)}}}function updateNode(t,o,i,c,l,u){var d=o.tag;if(d===i.tag){if(i.state=o.state,i.events=o.events,function shouldNotUpdate(t,o){do{var i;if(null!=t.attrs&&"function"===typeof t.attrs.onbeforeupdate)if(void 0!==(i=callHook.call(t.attrs.onbeforeupdate,t,o))&&!i)break;if("string"!==typeof t.tag&&"function"===typeof t.state.onbeforeupdate)if(void 0!==(i=callHook.call(t.state.onbeforeupdate,t,o))&&!i)break;return!1}while(0);return t.dom=o.dom,t.domSize=o.domSize,t.instance=o.instance,t.attrs=o.attrs,t.children=o.children,t.text=o.text,!0}(i,o))return;if("string"===typeof d)switch(null!=i.attrs&&updateLifecycle(i.attrs,i,c),d){case"#":!function updateText(t,o){t.children.toString()!==o.children.toString()&&(t.dom.nodeValue=o.children);o.dom=t.dom}(o,i);break;case"<":!function updateHTML(t,o,i,a,c){o.children!==i.children?(removeHTML(t,o),createHTML(t,i,a,c)):(i.dom=o.dom,i.domSize=o.domSize,i.instance=o.instance)}(t,o,i,u,l);break;case"[":!function updateFragment(t,o,i,a,c,l){updateNodes(t,o.children,i.children,a,c,l);var u=0,d=i.children;if(i.dom=null,null!=d){for(var p=0;p-1||null!=t.attrs&&t.attrs.is||"href"!==o&&"list"!==o&&"form"!==o&&"width"!==o&&"height"!==o)&&o in t.dom}var d,p=/[A-Z]/g;function toLowerCase(t){return"-"+t.toLowerCase()}function normalizeKey(t){return"-"===t[0]&&"-"===t[1]?t:"cssFloat"===t?"float":t.replace(p,toLowerCase)}function updateStyle(t,o,i){if(o===i);else if(null==i)t.style.cssText="";else if("object"!==_typeof(i))t.style.cssText=i;else if(null==o||"object"!==_typeof(o))for(var a in t.style.cssText="",i){null!=(c=i[a])&&t.style.setProperty(normalizeKey(a),String(c))}else{for(var a in i){var c;null!=(c=i[a])&&(c=String(c))!==String(o[a])&&t.style.setProperty(normalizeKey(a),c)}for(var a in o)null!=o[a]&&null==i[a]&&t.style.removeProperty(normalizeKey(a))}}function EventDict(){this._=o}function updateEvent(t,i,a){if(null!=t.events){if(t.events._=o,t.events[i]===a)return;null==a||"function"!==typeof a&&"object"!==_typeof(a)?(null!=t.events[i]&&t.dom.removeEventListener(i.slice(2),t.events,!1),t.events[i]=void 0):(null==t.events[i]&&t.dom.addEventListener(i.slice(2),t.events,!1),t.events[i]=a)}else null==a||"function"!==typeof a&&"object"!==_typeof(a)||(t.events=new EventDict,t.dom.addEventListener(i.slice(2),t.events,!1),t.events[i]=a)}function initLifecycle(t,o,i){"function"===typeof t.oninit&&callHook.call(t.oninit,o),"function"===typeof t.oncreate&&i.push(callHook.bind(t.oncreate,o))}function updateLifecycle(t,o,i){"function"===typeof t.onupdate&&i.push(callHook.bind(t.onupdate,o))}return EventDict.prototype=Object.create(null),EventDict.prototype.handleEvent=function(t){var o,i=this["on"+t.type];"function"===typeof i?o=i.call(t.currentTarget,t):"function"===typeof i.handleEvent&&i.handleEvent(t),this._&&!1!==t.redraw&&(0,this._)(),!1===o&&(t.preventDefault(),t.stopPropagation())},function(t,i,c){if(!t)throw new TypeError("DOM element being rendered to does not exist.");if(null!=d&&t.contains(d))throw new TypeError("Node is currently being rendered to and thus is locked.");var l=o,u=d,p=[],h=activeElement(),y=t.namespaceURI;d=t,o="function"===typeof c?c:void 0;try{null==t.vnodes&&(t.textContent=""),i=a.normalizeChildren(Array.isArray(i)?i:[i]),updateNodes(t,t.vnodes,i,p,null,"http://www.w3.org/1999/xhtml"===y?void 0:y),t.vnodes=i,null!=h&&activeElement()!==h&&"function"===typeof h.focus&&h.focus();for(var v=0;v=200&&t.target.status<300||304===t.target.status||/^file:\/\//i.test(o),d=t.target.response;if("json"===y){if(!t.target.responseType&&"function"!==typeof i.extract)try{d=JSON.parse(t.target.responseText)}catch(h){d=null}}else y&&"text"!==y||null==d&&(d=t.target.responseText);if("function"===typeof i.extract?(d=i.extract(t.target,i),u=!0):"function"===typeof i.deserialize&&(d=i.deserialize(d)),u)a(d);else{var p=function completeErrorResponse(){try{c=t.target.responseText}catch(h){c=d}var o=new Error(c);o.code=t.target.status,o.response=d,l(o)};0===v.status?setTimeout((function(){b||p()})):p()}}catch(h){l(h)}},v.ontimeout=function(t){b=!0;var o=new Error("Request timed out");o.code=t.target.status,l(o)},"function"===typeof i.config&&(v=i.config(v,i,o)||v)!==w&&(u=v.abort,v.abort=function(){g=!0,u.call(this)}),null==p?v.send():"function"===typeof i.serialize?v.send(i.serialize(p)):p instanceof t.FormData||p instanceof t.URLSearchParams?v.send(p):v.send(JSON.stringify(p))})),jsonp:makeRequest((function(o,i,a,c){var u=i.callbackName||"_mithril_"+Math.round(1e16*Math.random())+"_"+l++,d=t.document.createElement("script");t[u]=function(o){delete t[u],d.parentNode.removeChild(d),a(o)},d.onerror=function(){delete t[u],d.parentNode.removeChild(d),c(new Error("JSONP request failed"))},d.src=o+(o.indexOf("?")<0?"?":"&")+encodeURIComponent(i.callbackKey||"callback")+"="+encodeURIComponent(u),t.document.documentElement.appendChild(d)}))}}},2478:function(t,o,i){"use strict";var a=i(3748);t.exports=i(7971)("undefined"!==typeof window?window:null,a)},2495:function(t,o,i){"use strict";var a=i(5298);t.exports=Object.assign||function(t,o){for(var i in o)a.call(o,i)&&(t[i]=o[i])}},4124:function(t,o,i){"use strict";var a=i(5298),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}},5298:function(t){"use strict";t.exports={}.hasOwnProperty},1684: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}}},6730:function(t){t.exports="../img/bg.png"},8614:function(t){t.exports="../img/logo.png"},4993:function(t){t.exports="../img/logo.svg"},6670:function(t){t.exports="../img/original.png"},6526:function(t){t.exports="../img/original2.png"},7782:function(t){t.exports="../img/photo1.png"},2637:function(t){t.exports="../img/photo2.jpg"},1955:function(t){t.exports="../img/photo3.svg"},9906: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=9906,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")):(y=!1,c.classList.add("portrait"),c.classList.remove("landscape")),console.log("".concat("_main.css-screen-size",": screen size detected ").concat(d," | landscape ").concat(y)),c.removeChild(l),d};i.detectCSSScreenSize=l,i.addEventListener("".concat(t.LOADED),l),i.addEventListener("".concat(t.RESIZE),l)})(window),__webpack_require__(2347);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(){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}((function MainUI(){!function main_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,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")}}])}(),d=function documentInit(){u.init(),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.LODEDANDREADY),(function(){c.classList.add("loaded"),"undefined"!==typeof i.app&&"undefined"!==typeof i.app.Router||(console.warn("Spinner is hidden"),l.hide())})),i.addEventListener("".concat(t.AJAX),(function(){u.loaded()})),i.MainUI=u})(window),__webpack_require__(4072);var u=__webpack_require__(8459),d=document.getElementById("MainContent"),p=document.createElement("div");if(d.dataset.legacy){var h=document.getElementById("PageLoading");h&&(window.addEventListener("".concat(t.LOADED),(function(){h.classList.add("d-none")})),window.addEventListener("".concat(t.AJAX),(function(){h.classList.add("d-none")})))}else{p.classList.add("page--container"),d.append(p);var y=__webpack_require__(6058);u.mount(p,y)}var v="ajax-load",g="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}),b.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(this,"hide",(function(){var o=t;console.log("".concat(o.name,": hide")),o.setState({shown:!1}),b.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")),b.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!"))}b.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}),b.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__(1684)(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()}b.dispatchEvent(new Event("{ui.name}.init"))}),[{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 h=document.createElement("nav");h.classList.add("meta-navs");var y=document.createElement("button");y.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),y.innerHTML=' Previous',y.addEventListener("click",(function(t){t.preventDefault(),o.prev()})),h.append(y);var v=document.createElement("button");v.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__next","a"),v.innerHTML=' Next',v.addEventListener("click",(function(t){t.preventDefault(),o.next()})),h.append(v),u.append(h)}}var g=document.createElement("section");if(g.classList.add("meta-wrap","typography"),o.state.extraClass&&g.classList.add(o.state.extraClass),g.innerHTML=o.getHtml(),u.append(g),o.state.error){var b=document.createElement("div");b.classList.add("meta-error"),b.innerHTML=o.state.error,u.append(b)}else if(o.state.caption){var w=document.createElement("div");w.classList.add("meta-caption"),w.innerHTML=o.getCaption(),u.append(w)}return"undefined"!==typeof window.FontAwesome&&window.FontAwesome.dom.i2svg(),o}}])}(),_=w,E=document.getElementById("MetaLightboxApp");E||(console.warn("MetaWindow: missing container #MetaLightboxApp - create new one"),(E=document.createElement("div")).setAttribute("id","MetaLightboxApp"),document.querySelector("body").append(E));var S=function init(){var t=window.MetaWindow;"undefined"===typeof t&&(t=new _({target:E}),window.MetaWindow=t),t.init()};window.addEventListener("".concat(g),S),window.addEventListener("".concat(v),S),window.addEventListener("MetaWindow.initLinks",S);var A=new Map,L=function set(t,o,i){A.has(t)||A.set(t,new Map);var a=A.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 A.has(t)&&A.get(t).get(o)||null},x=function remove(t,o){if(A.has(t)){var i=A.get(t);i.delete(o),0===i.size&&A.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},j=function getjQuery(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},R=[],N=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(O,(function handler(i){i.target===o&&(a=!0,o.removeEventListener(O,handler),N(t))})),setTimeout((function(){a||function triggerTransitionEnd(t){t.dispatchEvent(new Event(O))}(o)}),i)}else N(t)};function _slicedToArray(t,o){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,o){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var a,c,l,u,d=[],p=!0,h=!1;try{if(l=(i=i.call(t)).next,0===o){if(Object(i)!==i)return;p=!1}else for(;!(p=(a=l.call(i)).done)&&(d.push(a.value),d.length!==o);p=!0);}catch(t){h=!0,c=t}finally{try{if(!p&&null!=i.return&&(u=i.return(),Object(u)!==u))return}finally{if(h)throw c}}return d}}(t,o)||event_handler_unsupportedIterableToArray(t,o)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _createForOfIteratorHelper(t,o){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=event_handler_unsupportedIterableToArray(t))||o&&t&&"number"===typeof t.length){i&&(t=i);var a=0,c=function F(){};return{s:c,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==i.return||i.return()}finally{if(d)throw l}}}}function event_handler_unsupportedIterableToArray(t,o){if(t){if("string"===typeof t)return event_handler_arrayLikeToArray(t,o);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?event_handler_arrayLikeToArray(t,o):void 0}}function event_handler_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var i=0,a=new Array(o);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 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 h=getElementEvents(t),y=h[p]||(h[p]={}),v=findHandler(y,d,u?i:null);if(v)v.oneOff=v.oneOff&&c;else{var g=makeEventUid(d,o.replace(M,"")),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&&W.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&&W.off(t,i.type,o),o.apply(t,[i])}}(t,d);b.delegationSelector=u?i:null,b.callable=d,b.oneOff=c,b.uidEvent=g,y[g]=b,t.addEventListener(p,b,u)}}}function removeHandler(t,o,i,a,c){var l=findHandler(o[i],a,c);l&&(t.removeEventListener(i,l,Boolean(c)),delete o[i][l.uidEvent])}function removeNamespacedHandlers(t,o,i,a){for(var c=o[i]||{},l=0,u=Object.entries(c);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(I(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.3"}},{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)}}])}(V),X=J;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=Q(t);return o&&Z.findOne(o)?o:null},getElementFromSelector:function getElementFromSelector(t){var o=Q(t);return o?Z.findOne(o):null},getMultipleElementsFromSelector:function getMultipleElementsFromSelector(t){var o=Q(t);return o?Z.find(o):[]}},ee=Z;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=I(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(fe));try{for(o.s();!(t=o.n()).done;){var i=t.value,a=ee.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=ee.find(ue,this._config.parent);return ee.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 de}},{key:"DefaultType",get:function get(){return pe}},{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]()}}))}}])}(X);K.on(document,ae,fe,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();var o,i=collapse_createForOfIteratorHelper(ee.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?(R.length||document.addEventListener("DOMContentLoaded",(function(){for(var t=0,o=R;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)}!function Toggle(t){console.log("".concat(i,": nav toggle"));var o=t.querySelector(".dropdown-menu"),a=o.classList.contains("show");c(),o&&!a&&o.classList.add("show")}(l)}a.dataset.firstClick=!0})),t.classList.add("".concat(i,"-active")),t.classList.add("".concat(i,"-click-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.classList.contains("".concat(i,"-hover-active"))||(t.addEventListener("mouseover",l,!1),t.addEventListener("mouseleave",u,!1),t.classList.add("".concat(i,"-active")),t.classList.add("".concat(i,"-hover-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(ye,o),this.index=this.settings.startAt}return glide_esm_createClass(Glide,[{key:"mount",value:function mount$1(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),isObject(t)?this._c=function mount(t,o,i){var a={};for(var c in o)isFunction(o[c])?a[c]=o[c](t,a,i):warn("Extension must be a function");for(var l in a)isFunction(a[l].mount)&&a[l].mount();return a}(this,t,this._e):warn("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function mutate(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return isArray(t)?this._t=t:warn("You need to provide a array on `mutate()`"),this}},{key:"update",value:function update(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.settings=mergeOptions(this.settings,t),t.hasOwnProperty("startAt")&&(this.index=t.startAt),this._e.emit("update"),this}},{key:"go",value:function go(t){return this._c.Run.make(t),this}},{key:"move",value:function move(t){return this._c.Transition.disable(),this._c.Move.make(t),this}},{key:"destroy",value:function destroy(){return this._e.emit("destroy"),this}},{key:"play",value:function play(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&(this.settings.autoplay=t),this._e.emit("play"),this}},{key:"pause",value:function pause(){return this._e.emit("pause"),this}},{key:"disable",value:function disable(){return this.disabled=!0,this}},{key:"enable",value:function enable(){return this.disabled=!1,this}},{key:"on",value:function on(t,o){return this._e.on(t,o),this}},{key:"isType",value:function isType(t){return this.settings.type===t}},{key:"settings",get:function get(){return this._o},set:function set(t){isObject(t)?this._o=t:warn("Options must be an `object` instance.")}},{key:"index",get:function get(){return this._i},set:function set(t){this._i=toInt(t)}},{key:"type",get:function get(){return this.settings.type}},{key:"disabled",get:function get(){return this._d},set:function set(t){this._d=!!t}}]),Glide}();function now(){return(new Date).getTime()}function throttle(t,o,i){var a,c,l,u,d=0;i||(i={});var p=function later(){d=!1===i.leading?0:now(),a=null,u=t.apply(c,l),a||(c=l=null)},h=function throttled(){var h=now();d||!1!==i.leading||(d=h);var y=o-(h-d);return c=this,l=arguments,y<=0||y>o?(a&&(clearTimeout(a),a=null),d=h,u=t.apply(c,l),a||(c=l=null)):a||!1===i.trailing||(a=setTimeout(p,y)),u};return h.cancel=function(){clearTimeout(a),d=0,a=c=l=null},h}var ge={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 be='[data-glide-el="track"]';var we=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 Ae=Object.defineProperty({},"passive",{get:function get(){Se=!0}});window.addEventListener("testPassive",null,Ae),window.removeEventListener("testPassive",null,Ae)}catch(it){}var Le=Se,ke=["touchstart","mousedown"],xe=["touchmove","mousemove"],Oe=["touchend","touchcancel","mouseup","mouseleave"],Pe=["mousedown","mousemove","mouseup","mouseleave"];var Ce='[data-glide-el^="controls"]',Te="".concat(Ce,' [data-glide-dir*="<"]'),Ie="".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 je={Html:function Html(t,o,i){var a={mount:function mount(){this.root=t.selector,this.track=this.root.querySelector(be),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(be," 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(Ee[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){_e.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),h=a.slice(0,p).reverse(),y=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 we,c=0,l=0,u=0,d=!1,p=!!Le&&{passive:!0},h={mount:function mount(){this.bindSwipeStart()},start:function start(o){if(!d&&!t.disabled){this.disable();var a=this.touches(o);c=null,l=toInt(a.pageX),u=toInt(a.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),i.emit("swipe.start")}},move:function move(a){if(!t.disabled){var d=t.settings,p=d.touchAngle,h=d.touchRatio,y=d.classes,v=this.touches(a),g=toInt(v.pageX)-l,b=toInt(v.pageY)-u,w=Math.abs(g<<2),_=Math.abs(b<<2),E=Math.sqrt(w+_),S=Math.sqrt(_);if(!(180*(c=Math.asin(S/E))/Math.PIv&&b"))):o.Move.make(),o.Html.root.classList.remove(h.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),i.emit("swipe.end")}},bindSwipeStart:function bindSwipeStart(){var i=this,c=t.settings,l=c.swipeThreshold,u=c.dragThreshold;l&&a.on(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(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(Oe,o.Html.wrapper,(function(o){t.end(o)}))},unbindSwipeEnd:function unbindSwipeEnd(){a.off(Oe,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(){h.unbindSwipeStart(),h.unbindSwipeMove(),h.unbindSwipeEnd(),a.destroy()})),h},Images:function Images(t,o,i){var a=new we,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 we,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 we,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 we,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}},Re=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=_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({},je,t))}}]),Glide}(ve),Ne=function init(){console.log("".concat("uiGlide"," init")),document.querySelectorAll(".glide").forEach((function(o){if(!o.dataset.glide){o.dataset.glide=!0;var a=o.dataset;if(1===a.perView&&a.bsIndicators){var c=document.createElement("div");c.classList.add("glide__bullets"),c.dataset.glideEl="controls[nav]";var l=o.querySelectorAll(".glide__slide").length;for(l--;l>=0;){var u=document.createElement("button");u.classList.add("glide__bullet"),u.dataset.glideDir=i,c.append(u),l--}o.append(c)}if(a.bsArrows){var d=document.createElement("div");d.classList.add("glide__arrows"),d.dataset.glideEl="controls";var p=document.createElement("button");p.classList.add("glide__arrow","glide__arrow--left"),p.dataset.glideDir="<",p.innerText="prev",d.append(p);var h=document.createElement("button");h.classList.add("glide__arrow","glide__arrow--right"),h.dataset.glideDir=">",h.innerText="next",d.append(h),o.append(d)}var y=new Re(o,{startAt:0,type:"carousel",perView:a.perView,autoplay:a.bsInterval,gap:0,breakpoints:{768:{perView:1},992:{perView:parseInt(a.perView/2)}}});y.on("mount.after",(function(){o.dispatchEvent(new Event("".concat(t.CAROUSEL_READY))),window.dispatchEvent(new Event("".concat(t.CAROUSEL_READY)))})),y.mount()}}))};window.addEventListener("".concat(t.LODEDANDREADY),Ne),window.addEventListener("".concat(t.AJAX),(function(){setTimeout(Ne,300)}));var De="uiTurnstile",Me=".".concat(De,",.js-turnstile"),Fe=function init(){console.log("".concat(De,": init")),document.querySelectorAll(Me).length?document.querySelector("#captchaAPI")||"undefined"!==typeof window.turnstile?Ge():He(init):console.log("".concat(De,": No Captcha fields."))},Ge=function renderCaptcha(){console.log("".concat(De,": renderCaptcha")),document.querySelectorAll(Me).forEach((function(t){if(t.dataset[De]||t.innerHTML.length>0)t.dataset.widgetid&&turnstile.reset(t.dataset.widgetid);else{var o=window.turnstile.render(t,{sitekey:t.dataset.sitekey,callback:function callback(t){console.log("".concat(De,": Challenge Success ").concat(t))}});t.closest("form").addEventListener("submit",(function(){console.log("".concat(De,": submit")),window.turnstile.reset(t.dataset.widgetid)})),t.dataset.widgetid=o,t.dataset[De]=!0}}))},He=function loadScript(){console.log("".concat(De,": Loading Captcha API ..."));var t=document.createElement("script");t.id="captchaAPI",t.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit&onload=renderCaptcha&hl=".concat(document.querySelector("html").getAttribute("lang").substr(0,2)),t.async=!0,document.body.append(t)};window.renderCaptcha=Ge,window.addEventListener("".concat(t.LODEDANDREADY),Fe),window.addEventListener("".concat(t.AJAX),Fe);!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(a){a.classList.contains("".concat(i,"-active"))||(a.addEventListener("click",(function(a){var c=a.currentTarget.closest(".field").querySelector("input");c&&function toggle(a){console.log("".concat(i,": toggle")),t&&clearTimeout(t),o(a)}(c)})),a.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 ze=function e(t){function n(t,o,i){var a,c={};if(Array.isArray(t))return t.concat(o);for(a in t)c[i?a.toLowerCase():a]=t[a];for(a in o){var l=i?a.toLowerCase():a,u=o[a];c[l]=l in c&&"object"==redaxios_module_typeof(u)?n(c[l],u,"headers"==l):u}return c}function r(o,i,a,c,l){var u="string"!=typeof o?(i=o).url:o,d={config:i},p=n(t,i),h={};c=c||p.data,(p.transformRequest||[]).map((function(t){c=t(c,p.headers)||c})),p.auth&&(h.authorization=p.auth),c&&"object"==redaxios_module_typeof(c)&&"function"!=typeof c.append&&"function"!=typeof c.text&&(c=JSON.stringify(c),h["content-type"]="application/json");try{h[p.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp("(^|; )"+p.xsrfCookieName+"=([^;]*)"))[2])}catch(o){}return p.baseURL&&(u=u.replace(/^(?!.*\/\/)\/?/,p.baseURL+"/")),p.params&&(u+=(~u.indexOf("?")?"&":"?")+(p.paramsSerializer?p.paramsSerializer(p.params):new URLSearchParams(p.params))),(p.fetch||fetch)(u,{method:(a||p.method||"get").toUpperCase(),body:c,headers:n(p.headers,h,!0),credentials:p.withCredentials?"include":l}).then((function(t){for(var o in t)"function"!=typeof t[o]&&(d[o]=t[o]);return"stream"==p.responseType?(d.data=t.body,d):t[p.responseType||"text"]().then((function(t){d.data=t,d.data=JSON.parse(t)})).catch(Object).then((function(){return(p.validateStatus?p.validateStatus(t.status):t.ok)?d:Promise.reject(d)}))}))}return t=t||{},r.request=r,r.get=function(t,o){return r(t,o,"get")},r.delete=function(t,o){return r(t,o,"delete")},r.head=function(t,o){return r(t,o,"head")},r.options=function(t,o){return r(t,o,"options")},r.post=function(t,o,i){return r(t,i,"post",o)},r.put=function(t,o,i){return r(t,i,"put",o)},r.patch=function(t,o,i){return r(t,i,"patch",o)},r.all=Promise.all.bind(Promise),r.spread=function(t){return t.apply.bind(t,t)},r.CancelToken="function"==typeof AbortController?AbortController:Object,r.defaults=t,r.create=e,r}();!function(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(y,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)},h=!1,y=function SESSION_PING(){if(!h&&!l.classList.contains("is-offline")){var t=u.getAttribute("content");console.log("".concat(a,": session ping")),h=!0,ze.post(t,{}).then((function(t){h=!1,p(!0)})).catch((function(t){console.error(t),console.warn("".concat(a,": SESSION_PING failed")),h=!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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}var Ke="uiAjaxForm",Ye="form-container",Ve=function submitForm(t){var o=t.currentTarget;t.preventDefault(),console.log("".concat(Ke,": submit"));var i=new FormData(o),a=o.parentElement,c=o.querySelectorAll('input[type="submit"],button'),l=o.getAttribute("ID");c.forEach((function(t){t.setAttribute("disabled","disabled")})),i.append("formid",l),i.append("ajax","1"),$e(o),a.classList.remove("loaded"),a.classList.add("loading"),fetch(o.action,{method:o.method,headers:{"x-requested-with":"XMLHttpRequest","x-requested-form":l},body:i}).then(function(){var t=function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}(_regeneratorRuntime().mark((function _callee(t){return _regeneratorRuntime().wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:if(t.ok){i.next=4;break}return console.error("".concat(Ke,": BAD RESPONSE")),console.log(t),i.abrupt("return");case 4:t.text().then((function(t){var i=Je(t);return i.json?Qe(o,i.data):et(o,i.data)}));case 5:case"end":return i.stop()}}),_callee)})));return function(o){return t.apply(this,arguments)}}())},$e=function clearAlerts(t){t.querySelectorAll(".field__alert,.form__message").forEach((function(t){t.remove()}))},Je=function processResponse(t){try{var o=JSON.parse(t);if(o.MainContent)try{return{json:!0,data:o=JSON.parse(o.MainContent)}}catch(it){return{json:!1,data:o.MainContent}}return{json:!0,data:o}}catch(it){return{json:!1,data:t}}},Xe=function isAlertResponse(t){return t.indexOf('class="alert')||t.indexOf("class='alert")},Qe=function formProcessJson(t,o){var i=(o.status,"success");if(o.location){if(console.log("".concat(Ke,": Redirect")),o.loadAjax||"undefined"===typeof window.app.Router)window.location=o.location;else{var a=document.createElement("a");a.setAttribute("href",o.location),window.app.Router.linkClick(a,new Event("click"))}return Ze(t)}if(o.msgs){var c=t.querySelector(".form__fieldset");return o.msgs.forEach((function(o){var a,l,u=document.createElement("div");((a=u.classList).add.apply(a,["field__alert"]),Xe(o.message))||(l=u.classList).add.apply(l,["alert","alert-".concat(i),"alert-".concat(o.messageCast),"".concat(o.messageType)]);u.innerHTML=o.message;var d=t.querySelector('[name="'.concat(o.fieldName,'"],[name^="').concat(o.fieldName,'["]'));if(d){d.classList.add("error");var p=d.closest(".form__field");if(p)return p.classList.add("error"),void p.appendChild(u)}t.insertBefore(u,c)})),Ze(t)}var l=Xe(o.message)?o.message:'
').concat(o.message,"
");return et(t,l)},Ze=function setLoaded(o){var i=o.parentElement;i.classList.remove("loading"),i.classList.add("loaded"),o.querySelectorAll('input[type="submit"],button').forEach((function(t){t.removeAttribute("disabled","disabled")})),window.dispatchEvent(new Event("".concat(t.AJAX)))},et=function replaceForm(t,o){var i=t.parentElement;i.innerHTML=o,i.classList.remove("loading"),i.classList.add("loaded");var a=i.querySelector("form");if(a)return a.addEventListener("submit",Ve),Ze(a)},tt=function formInit(t){if(t.dataset["".concat(Ke,"Active")])return console.log("".concat(Ke,": #").concat(t.id," already activated")),!1;var o=t.parentElement;if(!o.classList.contains(Ye)){var i=document.createElement("div");i.classList.add(Ye),i.append(t),o.append(i)}t.dataset["".concat(Ke,"Active")]=!0,t.addEventListener("submit",Ve)},nt=function init(){console.log("".concat(Ke,": init")),document.querySelectorAll("#MainContent form:not(.legacy),.ajax-form").forEach(tt)};window.addEventListener("".concat(t.LODEDANDREADY),nt),window.addEventListener("".concat(t.AJAX),nt);!function(o){var i="_layout",a=document;o.addEventListener("".concat(t.LODEDANDREADY),(function(){!function initFonts(){console.log("".concat(i,": initFonts"));var t=a.createElement("link");t.rel="stylesheet",t.type="text/css",t.media="all",t.href="https://fonts.googleapis.com/css?family=Roboto:ital,wght@0,400;0,700;1,400&display=swap",a.getElementsByTagName("head")[0].appendChild(t)}(),function initAnalytics(){console.log("".concat(i,": initAnalytics"))}()}))}(window);function importAll(t){return t.keys().map(t)}if(importAll(__webpack_require__(480)),importAll(__webpack_require__(9906)),"serviceWorker"in navigator){var rt=(document.getElementsByTagName("base")[0]||{}).href,ot=(document.querySelector('meta[name="swversion"]')||{}).content;rt&&navigator.serviceWorker.register("".concat(rt,"sw.js?v=").concat(ot)).then((function(){console.log("Service Worker Registered")}))}}()}(); \ No newline at end of file diff --git a/app/client/dist/js/app_Site.Controllers.MapElementController.js b/app/client/dist/js/app_Site.Controllers.MapElementController.js index 8e10ee4..bd8c970 100644 --- a/app/client/dist/js/app_Site.Controllers.MapElementController.js +++ b/app/client/dist/js/app_Site.Controllers.MapElementController.js @@ -1,2 +1,2 @@ /*! For license information please see app_Site.Controllers.MapElementController.js.LICENSE.txt */ -!function(){"use strict";var t={2685:function(t){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)}t.exports=function equal(t,r){if(t===r)return!0;if(t&&r&&"object"==_typeof(t)&&"object"==_typeof(r)){if(t.constructor!==r.constructor)return!1;var o,a,i;if(Array.isArray(t)){if((o=t.length)!=r.length)return!1;for(a=o;0!==a--;)if(!equal(t[a],r[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((o=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(a=o;0!==a--;)if(!Object.prototype.hasOwnProperty.call(r,i[a]))return!1;for(a=o;0!==a--;){var l=i[a];if(!equal(t[l],r[l]))return!1}return!0}return t!==t&&r!==r}}},r={};function __webpack_require__(o){var a=r[o];if(void 0!==a)return a.exports;var i=r[o]={exports:{}};return t[o](i,i.exports,__webpack_require__),i.exports}__webpack_require__.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return __webpack_require__.d(r,{a:r}),r},__webpack_require__.d=function(t,r){for(var o in r)__webpack_require__.o(r,o)&&!__webpack_require__.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},__webpack_require__.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t="ajax-load",r="load-ready",o="map-loaded",a="map-api-loaded",i="map-marker-click",l="map-popup-close",u=__webpack_require__(2685),c=__webpack_require__.n(u);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 _slicedToArray(t,r){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,r){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a,i,l,u,c=[],p=!0,m=!1;try{if(l=(o=o.call(t)).next,0===r){if(Object(o)!==o)return;p=!1}else for(;!(p=(a=l.call(o)).done)&&(c.push(a.value),c.length!==r);p=!0);}catch(t){m=!0,i=t}finally{try{if(!p&&null!=o.return&&(u=o.return(),Object(u)!==u))return}finally{if(m)throw i}}return c}}(t,r)||function _unsupportedIterableToArray(t,r){if(!t)return;if("string"===typeof t)return _arrayLikeToArray(t,r);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return _arrayLikeToArray(t,r)}(t,r)||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 _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=new Array(r);o1&&void 0!==arguments[1]?arguments[1]:64,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Float64Array,a=arguments.length>3?arguments[3]:void 0;if(function _classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,KDBush),isNaN(t)||t<0)throw new Error("Unpexpected numItems value: ".concat(t,"."));this.numItems=+t,this.nodeSize=Math.min(Math.max(+r,2),65535),this.ArrayType=o,this.IndexArrayType=t<65536?Uint16Array:Uint32Array;var i=p.indexOf(this.ArrayType),l=2*t*this.ArrayType.BYTES_PER_ELEMENT,u=t*this.IndexArrayType.BYTES_PER_ELEMENT,c=(8-u%8)%8;if(i<0)throw new Error("Unexpected typed array class: ".concat(o,"."));a&&a instanceof ArrayBuffer?(this.data=a,this.ids=new this.IndexArrayType(this.data,8,t),this.coords=new this.ArrayType(this.data,8+u+c,2*t),this._pos=2*t,this._finished=!0):(this.data=new ArrayBuffer(8+l+u+c),this.ids=new this.IndexArrayType(this.data,8,t),this.coords=new this.ArrayType(this.data,8+u+c,2*t),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+i]),new Uint16Array(this.data,2,1)[0]=r,new Uint32Array(this.data,4,1)[0]=t)}return function _createClass(t,r,o){return r&&_defineProperties(t.prototype,r),o&&_defineProperties(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(KDBush,[{key:"add",value:function add(t,r){var o=this._pos>>1;return this.ids[o]=o,this.coords[this._pos++]=t,this.coords[this._pos++]=r,o}},{key:"finish",value:function finish(){var t=this._pos>>1;if(t!==this.numItems)throw new Error("Added ".concat(t," items when expected ").concat(this.numItems,"."));return sort(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}},{key:"range",value:function range(t,r,o,a){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");for(var i=this.ids,l=this.coords,u=this.nodeSize,c=[0,i.length-1,0],p=[];c.length;){var m=c.pop()||0,d=c.pop()||0,y=c.pop()||0;if(d-y<=u)for(var h=y;h<=d;h++){var g=l[2*h],v=l[2*h+1];g>=t&&g<=o&&v>=r&&v<=a&&p.push(i[h])}else{var _=y+d>>1,b=l[2*_],k=l[2*_+1];b>=t&&b<=o&&k>=r&&k<=a&&p.push(i[_]),(0===m?t<=b:r<=k)&&(c.push(y),c.push(_-1),c.push(1-m)),(0===m?o>=b:a>=k)&&(c.push(_+1),c.push(d),c.push(1-m))}}return p}},{key:"within",value:function within(t,r,o){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");for(var a=this.ids,i=this.coords,l=this.nodeSize,u=[0,a.length-1,0],c=[],p=o*o;u.length;){var m=u.pop()||0,d=u.pop()||0,y=u.pop()||0;if(d-y<=l)for(var h=y;h<=d;h++)sqDist(i[2*h],i[2*h+1],t,r)<=p&&c.push(a[h]);else{var g=y+d>>1,v=i[2*g],_=i[2*g+1];sqDist(v,_,t,r)<=p&&c.push(a[g]),(0===m?t-o<=v:r-o<=_)&&(u.push(y),u.push(g-1),u.push(1-m)),(0===m?t+o>=v:r+o>=_)&&(u.push(g+1),u.push(d),u.push(1-m))}}return c}}],[{key:"from",value:function from(t){if(!(t instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");var r=_slicedToArray(new Uint8Array(t,0,2),2),o=r[0],a=r[1];if(219!==o)throw new Error("Data does not appear to be in a KDBush format.");var i=a>>4;if(1!==i)throw new Error("Got v".concat(i," data when expected v").concat(1,"."));var l=p[15&a];if(!l)throw new Error("Unrecognized array type.");var u=_slicedToArray(new Uint16Array(t,2,1),1)[0];return new KDBush(_slicedToArray(new Uint32Array(t,4,1),1)[0],u,l,t)}}])}();function sort(t,r,o,a,i,l){if(!(i-a<=o)){var u=a+i>>1;kdbush_select(t,r,u,a,i,l),sort(t,r,o,a,u-1,1-l),sort(t,r,o,u+1,i,1-l)}}function kdbush_select(t,r,o,a,i,l){for(;i>a;){if(i-a>600){var u=i-a+1,c=o-a+1,p=Math.log(u),m=.5*Math.exp(2*p/3),d=.5*Math.sqrt(p*m*(u-m)/u)*(c-u/2<0?-1:1);kdbush_select(t,r,o,Math.max(a,Math.floor(o-c*m/u+d)),Math.min(i,Math.floor(o+(u-c)*m/u+d)),l)}var y=r[2*o+l],h=a,g=i;for(swapItem(t,r,a,o),r[2*i+l]>y&&swapItem(t,r,a,i);hy;)g--}r[2*a+l]===y?swapItem(t,r,a,g):swapItem(t,r,++g,i),g<=o&&(a=g+1),o<=g&&(i=g-1)}}function swapItem(t,r,o,a){swap(t,o,a),swap(r,2*o,2*a),swap(r,2*o+1,2*a+1)}function swap(t,r,o){var a=t[r];t[r]=t[o],t[o]=a}function sqDist(t,r,o,a){var i=t-o,l=r-a;return i*i+l*l}function supercluster_typeof(t){return supercluster_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},supercluster_typeof(t)}function _createForOfIteratorHelper(t,r){var o="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=supercluster_unsupportedIterableToArray(t))||r&&t&&"number"===typeof t.length){o&&(t=o);var a=0,i=function F(){};return{s:i,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:i}}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,c=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return u=t.done,t},e:function e(t){c=!0,l=t},f:function f(){try{u||null==o.return||o.return()}finally{if(c)throw l}}}}function supercluster_slicedToArray(t,r){return function supercluster_arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function supercluster_iterableToArrayLimit(t,r){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a,i,l,u,c=[],p=!0,m=!1;try{if(l=(o=o.call(t)).next,0===r){if(Object(o)!==o)return;p=!1}else for(;!(p=(a=l.call(o)).done)&&(c.push(a.value),c.length!==r);p=!0);}catch(t){m=!0,i=t}finally{try{if(!p&&null!=o.return&&(u=o.return(),Object(u)!==u))return}finally{if(m)throw i}}return c}}(t,r)||supercluster_unsupportedIterableToArray(t,r)||function supercluster_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 supercluster_unsupportedIterableToArray(t,r){if(t){if("string"===typeof t)return supercluster_arrayLikeToArray(t,r);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?supercluster_arrayLikeToArray(t,r):void 0}}function supercluster_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=new Array(r);o=a;b--){var k=+Date.now();_=this.trees[b]=this._createTree(this._cluster(_,b)),o&&console.log("z%d: %d clusters in %dms",b,_.numItems,+Date.now()-k)}return o&&console.timeEnd("total time"),this}},{key:"getClusters",value:function getClusters(t,r){var o=((t[0]+180)%360+360)%360-180,a=Math.max(-90,Math.min(90,t[1])),i=180===t[2]?180:((t[2]+180)%360+360)%360-180,l=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)o=-180,i=180;else if(o>i){var u=this.getClusters([o,a,180,l],r),c=this.getClusters([-180,a,i,l],r);return u.concat(c)}var p,m=this.trees[this._limitZoom(r)],d=m.range(lngX(o),latY(l),lngX(i),latY(a)),y=m.data,h=[],_=_createForOfIteratorHelper(d);try{for(_.s();!(p=_.n()).done;){var b=p.value,k=this.stride*b;h.push(y[k+v]>1?getClusterJSON(y,k,this.clusterProps):this.points[y[k+g]])}}catch(w){_.e(w)}finally{_.f()}return h}},{key:"getChildren",value:function getChildren(t){var r=this._getOriginId(t),o=this._getOriginZoom(t),a="No cluster with the specified id.",i=this.trees[o];if(!i)throw new Error(a);var l=i.data;if(r*this.stride>=l.length)throw new Error(a);var u,c=this.options.radius/(this.options.extent*Math.pow(2,o-1)),p=l[r*this.stride],m=l[r*this.stride+1],d=[],y=_createForOfIteratorHelper(i.within(p,m,c));try{for(y.s();!(u=y.n()).done;){var h=u.value*this.stride;l[h+4]===t&&d.push(l[h+v]>1?getClusterJSON(l,h,this.clusterProps):this.points[l[h+g]])}}catch(_){y.e(_)}finally{y.f()}if(0===d.length)throw new Error(a);return d}},{key:"getLeaves",value:function getLeaves(t,r,o){r=r||10,o=o||0;var a=[];return this._appendLeaves(a,t,r,o,0),a}},{key:"getTile",value:function getTile(t,r,o){var a=this.trees[this._limitZoom(t)],i=Math.pow(2,t),l=this.options,u=l.extent,c=l.radius/u,p=(o-c)/i,m=(o+1+c)/i,d={features:[]};return this._addTileFeatures(a.range((r-c)/i,p,(r+1+c)/i,m),a.data,r,o,i,d),0===r&&this._addTileFeatures(a.range(1-c/i,p,1,m),a.data,i,o,i,d),r===i-1&&this._addTileFeatures(a.range(0,p,c/i,m),a.data,-1,o,i,d),d.features.length?d:null}},{key:"getClusterExpansionZoom",value:function getClusterExpansionZoom(t){for(var r=this._getOriginZoom(t)-1;r<=this.options.maxZoom;){var o=this.getChildren(t);if(r++,1!==o.length)break;t=o[0].properties.cluster_id}return r}},{key:"_appendLeaves",value:function _appendLeaves(t,r,o,a,i){var l,u=_createForOfIteratorHelper(this.getChildren(r));try{for(u.s();!(l=u.n()).done;){var c=l.value,p=c.properties;if(p&&p.cluster?i+p.point_count<=a?i+=p.point_count:i=this._appendLeaves(t,p.cluster_id,o,a,i):i1,d=void 0,y=void 0,h=void 0;if(m)d=getClusterProperties(r,p,this.clusterProps),y=r[p],h=r[p+1];else{var _=this.points[r[p+g]];d=_.properties;var b=supercluster_slicedToArray(_.geometry.coordinates,2),k=b[0],w=b[1];y=lngX(k),h=latY(w)}var x={type:1,geometry:[[Math.round(this.options.extent*(y*i-o)),Math.round(this.options.extent*(h*i-a))]],tags:d},P=void 0;void 0!==(P=m||this.options.generateId?r[p+g]:this.points[r[p+g]].id)&&(x.id=P),l.features.push(x)}}catch(C){c.e(C)}finally{c.f()}}},{key:"_limitZoom",value:function _limitZoom(t){return Math.max(this.options.minZoom,Math.min(Math.floor(+t),this.options.maxZoom+1))}},{key:"_cluster",value:function _cluster(t,r){for(var o=this.options,a=o.radius,i=o.extent,l=o.reduce,u=o.minPoints,c=a/(i*Math.pow(2,r)),p=t.data,m=[],d=this.stride,y=0;yr&&(w+=p[P+v])}}catch(U){x.e(U)}finally{x.f()}if(w>k&&w>=u){var C,M=g*k,O=_*k,A=void 0,S=-1,E=(y/d<<5)+(r+1)+this.points.length,T=_createForOfIteratorHelper(b);try{for(T.s();!(C=T.n()).done;){var j=C.value*d;if(!(p[j+2]<=r)){p[j+2]=r;var I=p[j+v];M+=p[j]*I,O+=p[j+1]*I,p[j+4]=E,l&&(A||(A=this._map(p,y,!0),S=this.clusterProps.length,this.clusterProps.push(A)),l(A,this._map(p,j)))}}}catch(U){T.e(U)}finally{T.f()}p[y+4]=E,m.push(M/w,O/w,1/0,E,-1,w),l&&m.push(S)}else{for(var L=0;L1){var N,Z=_createForOfIteratorHelper(b);try{for(Z.s();!(N=Z.n()).done;){var D=N.value*d;if(!(p[D+2]<=r)){p[D+2]=r;for(var R=0;R>5}},{key:"_getOriginZoom",value:function _getOriginZoom(t){return(t-this.points.length)%32}},{key:"_map",value:function _map(t,r,o){if(t[r+v]>1){var a=this.clusterProps[t[r+_]];return o?Object.assign({},a):a}var i=this.points[t[r+g]].properties,l=this.options.map(i);return o&&l===i?Object.assign({},l):l}}])}();function getClusterJSON(t,r,o){return{type:"Feature",id:t[r+g],properties:getClusterProperties(t,r,o),geometry:{type:"Point",coordinates:[(l=t[r],360*(l-.5)),(a=t[r+1],i=(180-360*a)*Math.PI/180,360*Math.atan(Math.exp(i))/Math.PI-90)]}};var a,i,l}function getClusterProperties(t,r,o){var a=t[r+v],i=a>=1e4?"".concat(Math.round(a/1e3),"k"):a>=1e3?"".concat(Math.round(a/100)/10,"k"):a,l=t[r+_],u=-1===l?{}:Object.assign({},o[l]);return Object.assign(u,{cluster:!0,cluster_id:t[r+g],point_count:a,point_count_abbreviated:i})}function lngX(t){return t/360+.5}function latY(t){var r=Math.sin(t*Math.PI/180),o=.5-.25*Math.log((1+r)/(1-r))/Math.PI;return o<0?0:o>1?1:o}function index_esm_slicedToArray(t,r){return function index_esm_arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function index_esm_iterableToArrayLimit(t,r){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a,i,l,u,c=[],p=!0,m=!1;try{if(l=(o=o.call(t)).next,0===r){if(Object(o)!==o)return;p=!1}else for(;!(p=(a=l.call(o)).done)&&(c.push(a.value),c.length!==r);p=!0);}catch(t){m=!0,i=t}finally{try{if(!p&&null!=o.return&&(u=o.return(),Object(u)!==u))return}finally{if(m)throw i}}return c}}(t,r)||index_esm_unsupportedIterableToArray(t,r)||function index_esm_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 _toConsumableArray(t){return function _arrayWithoutHoles(t){if(Array.isArray(t))return index_esm_arrayLikeToArray(t)}(t)||function _iterableToArray(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||index_esm_unsupportedIterableToArray(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 _callSuper(t,r,o){return r=_getPrototypeOf(r),function _possibleConstructorReturn(t,r){if(r&&("object"===index_esm_typeof(r)||"function"===typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,_isNativeReflectConstruct()?Reflect.construct(r,o||[],_getPrototypeOf(t).constructor):r.apply(t,o))}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _inherits(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&_setPrototypeOf(t,r)}function _setPrototypeOf(t,r){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(t,r){return t.__proto__=r,t},_setPrototypeOf(t,r)}function index_esm_createForOfIteratorHelper(t,r){var o="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=index_esm_unsupportedIterableToArray(t))||r&&t&&"number"===typeof t.length){o&&(t=o);var a=0,i=function F(){};return{s:i,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:i}}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,c=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return u=t.done,t},e:function e(t){c=!0,l=t},f:function f(){try{u||null==o.return||o.return()}finally{if(c)throw l}}}}function index_esm_unsupportedIterableToArray(t,r){if(t){if("string"===typeof t)return index_esm_arrayLikeToArray(t,r);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?index_esm_arrayLikeToArray(t,r):void 0}}function index_esm_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=new Array(r);oMath.max(10,r.clusters.markers.mean)?"#ff0000":"#0000ff",u='\n\n\n\n').concat(a,"\n"),c="Cluster of ".concat(a," markers"),p=Number(google.maps.Marker.MAX_ZINDEX)+a;if(k.isAdvancedMarkerAvailable(o)){var m=(new DOMParser).parseFromString(u,"image/svg+xml").documentElement;m.setAttribute("transform","translate(0 25)");var d={map:o,position:i,zIndex:p,title:c,content:m};return new google.maps.marker.AdvancedMarkerElement(d)}var y={position:i,zIndex:p,title:c,icon:{url:"data:image/svg+xml;base64,".concat(btoa(u)),anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(y)}}])}();var A,S=index_esm_createClass((function OverlayViewSafe(){index_esm_classCallCheck(this,OverlayViewSafe),function extend(t,r){for(var o in r.prototype)t.prototype[o]=r.prototype[o]}(OverlayViewSafe,google.maps.OverlayView)}));!function(t){t.CLUSTERING_BEGIN="clusteringbegin",t.CLUSTERING_END="clusteringend",t.CLUSTER_CLICK="click"}(A||(A={}));var E=function defaultOnClusterClickHandler(t,r,o){o.fitBounds(r.bounds)},T=function(t){function MarkerClusterer(t){var r,o=t.map,a=t.markers,i=void 0===a?[]:a,l=t.algorithmOptions,u=void 0===l?{}:l,c=t.algorithm,p=void 0===c?new C(u):c,m=t.renderer,d=void 0===m?new O:m,y=t.onClusterClick,h=void 0===y?E:y;return index_esm_classCallCheck(this,MarkerClusterer),(r=_callSuper(this,MarkerClusterer)).markers=_toConsumableArray(i),r.clusters=[],r.algorithm=p,r.renderer=d,r.onClusterClick=h,o&&r.setMap(o),r}return _inherits(MarkerClusterer,t),index_esm_createClass(MarkerClusterer,[{key:"addMarker",value:function addMarker(t,r){this.markers.includes(t)||(this.markers.push(t),r||this.render())}},{key:"addMarkers",value:function addMarkers(t,r){var o=this;t.forEach((function(t){o.addMarker(t,!0)})),r||this.render()}},{key:"removeMarker",value:function removeMarker(t,r){var o=this.markers.indexOf(t);return-1!==o&&(k.setMap(t,null),this.markers.splice(o,1),r||this.render(),!0)}},{key:"removeMarkers",value:function removeMarkers(t,r){var o=this,a=!1;return t.forEach((function(t){a=o.removeMarker(t,!0)||a})),a&&!r&&this.render(),a}},{key:"clearMarkers",value:function clearMarkers(t){this.markers.length=0,t||this.render()}},{key:"render",value:function render(){var t=this.getMap();if(t instanceof google.maps.Map&&t.getProjection()){google.maps.event.trigger(this,A.CLUSTERING_BEGIN,this);var r=this.algorithm.calculate({markers:this.markers,map:t,mapCanvasProjection:this.getProjection()}),o=r.clusters,a=r.changed;if(a||void 0==a){var i,l=new Set,u=index_esm_createForOfIteratorHelper(o);try{for(u.s();!(i=u.n()).done;){var c=i.value;1==c.markers.length&&l.add(c.markers[0])}}catch(h){u.e(h)}finally{u.f()}var p,m=[],d=index_esm_createForOfIteratorHelper(this.clusters);try{for(d.s();!(p=d.n()).done;){var y=p.value;null!=y.marker&&(1==y.markers.length?l.has(y.marker)||k.setMap(y.marker,null):m.push(y.marker))}}catch(h){d.e(h)}finally{d.f()}this.clusters=o,this.renderClusters(),requestAnimationFrame((function(){return m.forEach((function(t){return k.setMap(t,null)}))}))}google.maps.event.trigger(this,A.CLUSTERING_END,this)}}},{key:"onAdd",value:function onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}},{key:"onRemove",value:function onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}},{key:"reset",value:function reset(){this.markers.forEach((function(t){return k.setMap(t,null)})),this.clusters.forEach((function(t){return t.delete()})),this.clusters=[]}},{key:"renderClusters",value:function renderClusters(){var t=this,r=new M(this.markers,this.clusters),o=this.getMap();this.clusters.forEach((function(a){1===a.markers.length?a.marker=a.markers[0]:(a.marker=t.renderer.render(a,r,o),a.markers.forEach((function(t){return k.setMap(t,null)})),t.onClusterClick&&a.marker.addListener("click",(function(r){google.maps.event.trigger(t,A.CLUSTER_CLICK,a),t.onClusterClick(r,a,o)}))),k.setMap(a.marker,o)}))}}])}(S);function map_google_marker_typeof(t){return map_google_marker_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},map_google_marker_typeof(t)}function map_google_marker_defineProperties(t,r){for(var o=0;o',o.divClass=t.divClass,o.align=t.align,o.isDebugMode=t.debug,o.onClick=t.onClick,o.onMouseOver=t.onMouseOver,o.isBoolean=function(t){return"boolean"===typeof t},o.isNotUndefined=function(t){return"undefined"!==typeof t},o.hasContent=function(t){return t.length>0},o.isString=function(t){return"string"===typeof t},o.isFunction=function(t){return"function"===typeof t},r}return function map_google_marker_inherits(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&map_google_marker_setPrototypeOf(t,r)}(GoogleMapsHtmlOverlay,window.google.maps.OverlayView),function map_google_marker_createClass(t,r,o){return r&&map_google_marker_defineProperties(t.prototype,r),o&&map_google_marker_defineProperties(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(GoogleMapsHtmlOverlay,[{key:"onAdd",value:function onAdd(){var t=this;t.div=document.createElement("div"),t.div.style.position="absolute",t.isNotUndefined(t.divClass)&&t.hasContent(t.divClass)&&(t.div.className=t.divClass),t.isNotUndefined(t.html)&&t.hasContent(t.html)&&t.isString(t.html)&&(t.div.innerHTML=t.html),t.isBoolean(t.isDebugMode)&&t.isDebugMode&&(t.div.className="debug-mode",t.div.innerHTML='
Debug mode
',t.div.setAttribute("style","position: absolute;border: 5px dashed red;height: 150px;width: 150px;display: flex;justify-content: center;align-items: center;")),t.getPanes().overlayMouseTarget.appendChild(t.div),t.div.addEventListener("click",(function(r){window.google.maps.event.trigger(t,"click"),t.isFunction(t.onClick)&&t.onClick(),r.stopPropagation()})),t.div.addEventListener("mouseover",(function(r){window.google.maps.event.trigger(t,"mouseover"),t.isFunction(t.onMouseOver)&&t.onMouseOver(),r.stopPropagation()}))}},{key:"draw",value:function draw(){var t=this,r=document.querySelector(".popup");r.length||(r=t.div);var o=t.getProjection();if(!o)return console.log("GoogleMapsHtmlOverlay: current map is missing"),null;var a=o.fromLatLngToDivPixel(t.getPosition()),i={y:void 0,x:void 0},l=r.offsetWidth,u=r.offsetHeight;switch(Array.isArray(t.align)?t.align.join(" "):""){case"left top":i.y=u,i.x=l;break;case"left center":i.y=u/2,i.x=l;break;case"left bottom":i.y=0,i.x=l;break;case"center top":i.y=u,i.x=l/2;break;case"center center":default:i.y=u/2,i.x=l/2;break;case"center bottom":i.y=0,i.x=l/2;break;case"right top":i.y=u,i.x=0;break;case"right center":i.y=u/2,i.x=0;break;case"right bottom":i.y=0,i.x=0}t.div.style.top="".concat(a.y-i.y,"px"),t.div.style.left="".concat(a.x-i.x,"px")}},{key:"getPosition",value:function getPosition(){return new window.google.maps.LatLng(this.position)}},{key:"getDiv",value:function getDiv(){return this.div}},{key:"setPosition",value:function setPosition(t,r){var o=this;o.position=t,o.align=r,o.draw()}},{key:"remove",value:function remove(){this.setMap(null),this.div.remove()}},{key:"getDraggable",value:function getDraggable(){return!1}}])}()}};function map_google_typeof(t){return map_google_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},map_google_typeof(t)}function map_google_defineProperties(t,r){for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:[],a=this;a.el=r,a.config=o,a.markers=[],t["init".concat(a.getName())]=function(){a.googleApiLoaded()};var i=document.createElement("script");i.src="https://maps.googleapis.com/maps/api/js?key=".concat(o.key,"&callback=init").concat(a.getName()),i.async=!0,i.defer=!0,document.head.appendChild(i)}},{key:"googleApiLoaded",value:function googleApiLoaded(){var r=this,o=r.el,i=r.config,l=o.querySelector(".mapAPI-map"),u=i.mapZoom&&"0"!==i.mapZoom?parseInt(i.mapZoom):10,c=i.center&&","!==i.center?{lat:i.center[1],lng:i.center[0]}:{lat:0,lng:0},p=i.style?i.style:null;console.log("".concat(r.getName(),": API is loaded")),r.MarkerUI=j.init(),r.map=new t.google.maps.Map(l,{zoom:u,center:c,fullscreenControl:!0,styles:p}),r.default_zoom=u,l.classList.add("mapboxgl-map"),r.popup=new r.MarkerUI({map:r.map,align:["center","top"],divClass:"mapboxgl-popup popup mapboxgl-popup-anchor-bottom d-none",html:'
\xd7
'}),r.popup.setMap(r.map),r.geocoder=new t.google.maps.Geocoder,r.cluster=new T(r.map,null,{styles:[{width:30,height:30,className:"mapboxgl-cluster"}]}),o.dispatchEvent(new Event(a))}},{key:"addMarker",value:function addMarker(t,r){var o=this,a={lat:t[1],lng:t[0]},l=new o.MarkerUI({position:a,map:o.map,align:["center","top"],html:'
').concat(r.icon,"
"),onClick:function onClick(){var t=document.querySelector("#Marker".concat(r.id));o.showPopup(a,r.content),t.dispatchEvent(new Event(i))}});return o.markers.push(l),o.cluster.addMarker(l),l.setMap(o.map),l}},{key:"showPopup",value:function showPopup(t,r){var o=this,a=o.popup.getDiv();o.config.flyToMarker&&(o.map.setCenter(t),o.config.noZoom||o.map.setZoom(18)),a.style.opacity="0",a.classList.remove("d-none"),a.querySelector(".mapboxgl-popup-content .html").innerHTML=r,a.querySelector(".mapboxgl-popup-close-button").addEventListener("click",(function(t){t.preventDefault(),o.hidePopup()})),o.popup.setPosition(t,["center","top"]),a.style.opacity="1",a.style["margin-top"]="-1rem"}},{key:"hidePopup",value:function hidePopup(){var t=this;t.popup.getDiv().classList.add("d-none"),t.config.noRestoreBounds&&!t.config.flyToBounds||t.restoreBounds(),t.el.dispatchEvent(new Event(l))}},{key:"geocode",value:function geocode(t,r){var o=this;o.geocoder.geocode({address:t},(function(t,a){if("OK"===a)return"function"===typeof r&&r(t),t;console.error("".concat(o.getName(),": Geocode was not successful for the following reason: ").concat(a))}))}},{key:"reverseGeocode",value:function reverseGeocode(t,r){var o=this;o.geocoder.geocode({location:latlng},(function(t,a){if("OK"===a)return"function"===typeof r&&r(t),t;console.error("".concat(o.getName(),": Reverse Geocoding was not successful for the following reason: ").concat(a))}))}},{key:"addGeoJson",value:function addGeoJson(r){var o=this,a=JSON.parse(r.geojson),i=new t.google.maps.LatLngBounds;a.features.forEach((function(t){var a=t.id,l=t.geometry.coordinates,u=t.properties.content;o.addMarker(l,{id:a,content:u,icon:t.icon,flyToMarker:r.flyToMarker}),i.extend({lat:parseFloat(l[1]),lng:parseFloat(l[0])})})),o.markers.length>1?o.map.fitBounds(i,{padding:30}):o.markers[0]&&o.map.setCenter(o.markers[0].getPosition()),o.default_bounds=i,o.default_zoom=o.map.getZoom()}},{key:"getMap",value:function getMap(){return this.map}},{key:"getPopup",value:function getPopup(){return this.popup}},{key:"restoreBounds",value:function restoreBounds(){var t=this;t.default_bounds&&t.markers.length>1?t.map.fitBounds(t.default_bounds,{padding:30}):(t.markers[0]&&t.map.setCenter(t.markers[0].getPosition()),t.restoreZoom())}},{key:"restoreZoom",value:function restoreZoom(){this.map.setZoom(this.default_zoom)}}])}();return r}(window),L={ENVS:["xs","sm","md","lg","xl","xxl","xxxl"],MAP_DRIVER:I};function map_api_typeof(t){return map_api_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},map_api_typeof(t)}function map_api_defineProperties(t,r){for(var o=0;o'),console.log("".concat(l,": init ").concat(o.getName(),"...")),r.drv=o,r.el=t,r.config=c,o.init(t,c),t.addEventListener(a,(function(){r.addMarkers()}))}),[{key:"getMap",value:function getMap(){return this.map}},{key:"dispose",value:function dispose(){this.el=null,this.el.classList.remove("".concat(l,"-active"))}},{key:"addMarkers",value:function addMarkers(){console.log("".concat(l,": addMarkers"));var t=this,r=t.el,a=t.drv,i=t.config;if(t.map=a.getMap(),i.geojson)console.log("".concat(l,": setting up geocode data")),a.addGeoJson(i);else if(i.address)console.log(i.address),console.log("".concat(l,": setting up address marker")),a.geocode(i.address,(function(r){console.log(r);var o=parseFloat(r[0].geometry.location.lat()),u=parseFloat(r[0].geometry.location.lng());console.log("".concat(l,": setting up single lat/lng marker lat: ").concat(o," lng: ").concat(u," #1")),a.addMarker([u,o],i),t.map.setCenter({lat:o,lng:u})}));else if(i.lat&&i.lng){var u=parseFloat(i.lat),c=parseFloat(i.lng);console.log("".concat(l,": setting up single lat/lng marker lat: ").concat(u," lng: ").concat(c," #2")),a.addMarker([c,u],i),t.map.setCenter({lat:u,lng:c})}r.classList.add("".concat(l,"-active")),r.dispatchEvent(new Event(o)),console.log("".concat(l,": Map is loaded"))}}])}(),p=function init(){console.log("".concat(l,": init")),document.querySelectorAll(".".concat(l)).forEach((function(t,r){new c(t)}))};i.addEventListener("".concat(r),p),i.addEventListener("".concat(t),p)}(window)}()}(); \ No newline at end of file +!function(){"use strict";var t={4898:function(t){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)}t.exports=function equal(t,r){if(t===r)return!0;if(t&&r&&"object"==_typeof(t)&&"object"==_typeof(r)){if(t.constructor!==r.constructor)return!1;var o,a,i;if(Array.isArray(t)){if((o=t.length)!=r.length)return!1;for(a=o;0!==a--;)if(!equal(t[a],r[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((o=(i=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(a=o;0!==a--;)if(!Object.prototype.hasOwnProperty.call(r,i[a]))return!1;for(a=o;0!==a--;){var l=i[a];if(!equal(t[l],r[l]))return!1}return!0}return t!==t&&r!==r}}},r={};function __webpack_require__(o){var a=r[o];if(void 0!==a)return a.exports;var i=r[o]={exports:{}};return t[o](i,i.exports,__webpack_require__),i.exports}__webpack_require__.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return __webpack_require__.d(r,{a:r}),r},__webpack_require__.d=function(t,r){for(var o in r)__webpack_require__.o(r,o)&&!__webpack_require__.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},__webpack_require__.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},function(){var t="ajax-load",r="load-ready",o="map-loaded",a="map-api-loaded",i="map-marker-click",l="map-popup-close",u=__webpack_require__(4898),c=__webpack_require__.n(u);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 _slicedToArray(t,r){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,r){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a,i,l,u,c=[],p=!0,m=!1;try{if(l=(o=o.call(t)).next,0===r){if(Object(o)!==o)return;p=!1}else for(;!(p=(a=l.call(o)).done)&&(c.push(a.value),c.length!==r);p=!0);}catch(t){m=!0,i=t}finally{try{if(!p&&null!=o.return&&(u=o.return(),Object(u)!==u))return}finally{if(m)throw i}}return c}}(t,r)||function _unsupportedIterableToArray(t,r){if(!t)return;if("string"===typeof t)return _arrayLikeToArray(t,r);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return _arrayLikeToArray(t,r)}(t,r)||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 _arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=new Array(r);o1&&void 0!==arguments[1]?arguments[1]:64,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Float64Array,a=arguments.length>3?arguments[3]:void 0;if(function _classCallCheck(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this,KDBush),isNaN(t)||t<0)throw new Error("Unpexpected numItems value: ".concat(t,"."));this.numItems=+t,this.nodeSize=Math.min(Math.max(+r,2),65535),this.ArrayType=o,this.IndexArrayType=t<65536?Uint16Array:Uint32Array;var i=p.indexOf(this.ArrayType),l=2*t*this.ArrayType.BYTES_PER_ELEMENT,u=t*this.IndexArrayType.BYTES_PER_ELEMENT,c=(8-u%8)%8;if(i<0)throw new Error("Unexpected typed array class: ".concat(o,"."));a&&a instanceof ArrayBuffer?(this.data=a,this.ids=new this.IndexArrayType(this.data,8,t),this.coords=new this.ArrayType(this.data,8+u+c,2*t),this._pos=2*t,this._finished=!0):(this.data=new ArrayBuffer(8+l+u+c),this.ids=new this.IndexArrayType(this.data,8,t),this.coords=new this.ArrayType(this.data,8+u+c,2*t),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+i]),new Uint16Array(this.data,2,1)[0]=r,new Uint32Array(this.data,4,1)[0]=t)}return function _createClass(t,r,o){return r&&_defineProperties(t.prototype,r),o&&_defineProperties(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(KDBush,[{key:"add",value:function add(t,r){var o=this._pos>>1;return this.ids[o]=o,this.coords[this._pos++]=t,this.coords[this._pos++]=r,o}},{key:"finish",value:function finish(){var t=this._pos>>1;if(t!==this.numItems)throw new Error("Added ".concat(t," items when expected ").concat(this.numItems,"."));return sort(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}},{key:"range",value:function range(t,r,o,a){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");for(var i=this.ids,l=this.coords,u=this.nodeSize,c=[0,i.length-1,0],p=[];c.length;){var m=c.pop()||0,d=c.pop()||0,y=c.pop()||0;if(d-y<=u)for(var h=y;h<=d;h++){var g=l[2*h],v=l[2*h+1];g>=t&&g<=o&&v>=r&&v<=a&&p.push(i[h])}else{var _=y+d>>1,b=l[2*_],k=l[2*_+1];b>=t&&b<=o&&k>=r&&k<=a&&p.push(i[_]),(0===m?t<=b:r<=k)&&(c.push(y),c.push(_-1),c.push(1-m)),(0===m?o>=b:a>=k)&&(c.push(_+1),c.push(d),c.push(1-m))}}return p}},{key:"within",value:function within(t,r,o){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");for(var a=this.ids,i=this.coords,l=this.nodeSize,u=[0,a.length-1,0],c=[],p=o*o;u.length;){var m=u.pop()||0,d=u.pop()||0,y=u.pop()||0;if(d-y<=l)for(var h=y;h<=d;h++)sqDist(i[2*h],i[2*h+1],t,r)<=p&&c.push(a[h]);else{var g=y+d>>1,v=i[2*g],_=i[2*g+1];sqDist(v,_,t,r)<=p&&c.push(a[g]),(0===m?t-o<=v:r-o<=_)&&(u.push(y),u.push(g-1),u.push(1-m)),(0===m?t+o>=v:r+o>=_)&&(u.push(g+1),u.push(d),u.push(1-m))}}return c}}],[{key:"from",value:function from(t){if(!(t instanceof ArrayBuffer))throw new Error("Data must be an instance of ArrayBuffer.");var r=_slicedToArray(new Uint8Array(t,0,2),2),o=r[0],a=r[1];if(219!==o)throw new Error("Data does not appear to be in a KDBush format.");var i=a>>4;if(1!==i)throw new Error("Got v".concat(i," data when expected v").concat(1,"."));var l=p[15&a];if(!l)throw new Error("Unrecognized array type.");var u=_slicedToArray(new Uint16Array(t,2,1),1)[0];return new KDBush(_slicedToArray(new Uint32Array(t,4,1),1)[0],u,l,t)}}])}();function sort(t,r,o,a,i,l){if(!(i-a<=o)){var u=a+i>>1;kdbush_select(t,r,u,a,i,l),sort(t,r,o,a,u-1,1-l),sort(t,r,o,u+1,i,1-l)}}function kdbush_select(t,r,o,a,i,l){for(;i>a;){if(i-a>600){var u=i-a+1,c=o-a+1,p=Math.log(u),m=.5*Math.exp(2*p/3),d=.5*Math.sqrt(p*m*(u-m)/u)*(c-u/2<0?-1:1);kdbush_select(t,r,o,Math.max(a,Math.floor(o-c*m/u+d)),Math.min(i,Math.floor(o+(u-c)*m/u+d)),l)}var y=r[2*o+l],h=a,g=i;for(swapItem(t,r,a,o),r[2*i+l]>y&&swapItem(t,r,a,i);hy;)g--}r[2*a+l]===y?swapItem(t,r,a,g):swapItem(t,r,++g,i),g<=o&&(a=g+1),o<=g&&(i=g-1)}}function swapItem(t,r,o,a){swap(t,o,a),swap(r,2*o,2*a),swap(r,2*o+1,2*a+1)}function swap(t,r,o){var a=t[r];t[r]=t[o],t[o]=a}function sqDist(t,r,o,a){var i=t-o,l=r-a;return i*i+l*l}function supercluster_typeof(t){return supercluster_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},supercluster_typeof(t)}function _createForOfIteratorHelper(t,r){var o="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=supercluster_unsupportedIterableToArray(t))||r&&t&&"number"===typeof t.length){o&&(t=o);var a=0,i=function F(){};return{s:i,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:i}}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,c=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return u=t.done,t},e:function e(t){c=!0,l=t},f:function f(){try{u||null==o.return||o.return()}finally{if(c)throw l}}}}function supercluster_slicedToArray(t,r){return function supercluster_arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function supercluster_iterableToArrayLimit(t,r){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a,i,l,u,c=[],p=!0,m=!1;try{if(l=(o=o.call(t)).next,0===r){if(Object(o)!==o)return;p=!1}else for(;!(p=(a=l.call(o)).done)&&(c.push(a.value),c.length!==r);p=!0);}catch(t){m=!0,i=t}finally{try{if(!p&&null!=o.return&&(u=o.return(),Object(u)!==u))return}finally{if(m)throw i}}return c}}(t,r)||supercluster_unsupportedIterableToArray(t,r)||function supercluster_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 supercluster_unsupportedIterableToArray(t,r){if(t){if("string"===typeof t)return supercluster_arrayLikeToArray(t,r);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?supercluster_arrayLikeToArray(t,r):void 0}}function supercluster_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=new Array(r);o=a;b--){var k=+Date.now();_=this.trees[b]=this._createTree(this._cluster(_,b)),o&&console.log("z%d: %d clusters in %dms",b,_.numItems,+Date.now()-k)}return o&&console.timeEnd("total time"),this}},{key:"getClusters",value:function getClusters(t,r){var o=((t[0]+180)%360+360)%360-180,a=Math.max(-90,Math.min(90,t[1])),i=180===t[2]?180:((t[2]+180)%360+360)%360-180,l=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)o=-180,i=180;else if(o>i){var u=this.getClusters([o,a,180,l],r),c=this.getClusters([-180,a,i,l],r);return u.concat(c)}var p,m=this.trees[this._limitZoom(r)],d=m.range(lngX(o),latY(l),lngX(i),latY(a)),y=m.data,h=[],_=_createForOfIteratorHelper(d);try{for(_.s();!(p=_.n()).done;){var b=p.value,k=this.stride*b;h.push(y[k+v]>1?getClusterJSON(y,k,this.clusterProps):this.points[y[k+g]])}}catch(w){_.e(w)}finally{_.f()}return h}},{key:"getChildren",value:function getChildren(t){var r=this._getOriginId(t),o=this._getOriginZoom(t),a="No cluster with the specified id.",i=this.trees[o];if(!i)throw new Error(a);var l=i.data;if(r*this.stride>=l.length)throw new Error(a);var u,c=this.options.radius/(this.options.extent*Math.pow(2,o-1)),p=l[r*this.stride],m=l[r*this.stride+1],d=[],y=_createForOfIteratorHelper(i.within(p,m,c));try{for(y.s();!(u=y.n()).done;){var h=u.value*this.stride;l[h+4]===t&&d.push(l[h+v]>1?getClusterJSON(l,h,this.clusterProps):this.points[l[h+g]])}}catch(_){y.e(_)}finally{y.f()}if(0===d.length)throw new Error(a);return d}},{key:"getLeaves",value:function getLeaves(t,r,o){r=r||10,o=o||0;var a=[];return this._appendLeaves(a,t,r,o,0),a}},{key:"getTile",value:function getTile(t,r,o){var a=this.trees[this._limitZoom(t)],i=Math.pow(2,t),l=this.options,u=l.extent,c=l.radius/u,p=(o-c)/i,m=(o+1+c)/i,d={features:[]};return this._addTileFeatures(a.range((r-c)/i,p,(r+1+c)/i,m),a.data,r,o,i,d),0===r&&this._addTileFeatures(a.range(1-c/i,p,1,m),a.data,i,o,i,d),r===i-1&&this._addTileFeatures(a.range(0,p,c/i,m),a.data,-1,o,i,d),d.features.length?d:null}},{key:"getClusterExpansionZoom",value:function getClusterExpansionZoom(t){for(var r=this._getOriginZoom(t)-1;r<=this.options.maxZoom;){var o=this.getChildren(t);if(r++,1!==o.length)break;t=o[0].properties.cluster_id}return r}},{key:"_appendLeaves",value:function _appendLeaves(t,r,o,a,i){var l,u=_createForOfIteratorHelper(this.getChildren(r));try{for(u.s();!(l=u.n()).done;){var c=l.value,p=c.properties;if(p&&p.cluster?i+p.point_count<=a?i+=p.point_count:i=this._appendLeaves(t,p.cluster_id,o,a,i):i1,d=void 0,y=void 0,h=void 0;if(m)d=getClusterProperties(r,p,this.clusterProps),y=r[p],h=r[p+1];else{var _=this.points[r[p+g]];d=_.properties;var b=supercluster_slicedToArray(_.geometry.coordinates,2),k=b[0],w=b[1];y=lngX(k),h=latY(w)}var x={type:1,geometry:[[Math.round(this.options.extent*(y*i-o)),Math.round(this.options.extent*(h*i-a))]],tags:d},P=void 0;void 0!==(P=m||this.options.generateId?r[p+g]:this.points[r[p+g]].id)&&(x.id=P),l.features.push(x)}}catch(C){c.e(C)}finally{c.f()}}},{key:"_limitZoom",value:function _limitZoom(t){return Math.max(this.options.minZoom,Math.min(Math.floor(+t),this.options.maxZoom+1))}},{key:"_cluster",value:function _cluster(t,r){for(var o=this.options,a=o.radius,i=o.extent,l=o.reduce,u=o.minPoints,c=a/(i*Math.pow(2,r)),p=t.data,m=[],d=this.stride,y=0;yr&&(w+=p[P+v])}}catch(U){x.e(U)}finally{x.f()}if(w>k&&w>=u){var C,M=g*k,O=_*k,A=void 0,S=-1,E=(y/d<<5)+(r+1)+this.points.length,T=_createForOfIteratorHelper(b);try{for(T.s();!(C=T.n()).done;){var j=C.value*d;if(!(p[j+2]<=r)){p[j+2]=r;var I=p[j+v];M+=p[j]*I,O+=p[j+1]*I,p[j+4]=E,l&&(A||(A=this._map(p,y,!0),S=this.clusterProps.length,this.clusterProps.push(A)),l(A,this._map(p,j)))}}}catch(U){T.e(U)}finally{T.f()}p[y+4]=E,m.push(M/w,O/w,1/0,E,-1,w),l&&m.push(S)}else{for(var L=0;L1){var N,Z=_createForOfIteratorHelper(b);try{for(Z.s();!(N=Z.n()).done;){var D=N.value*d;if(!(p[D+2]<=r)){p[D+2]=r;for(var R=0;R>5}},{key:"_getOriginZoom",value:function _getOriginZoom(t){return(t-this.points.length)%32}},{key:"_map",value:function _map(t,r,o){if(t[r+v]>1){var a=this.clusterProps[t[r+_]];return o?Object.assign({},a):a}var i=this.points[t[r+g]].properties,l=this.options.map(i);return o&&l===i?Object.assign({},l):l}}])}();function getClusterJSON(t,r,o){return{type:"Feature",id:t[r+g],properties:getClusterProperties(t,r,o),geometry:{type:"Point",coordinates:[(l=t[r],360*(l-.5)),(a=t[r+1],i=(180-360*a)*Math.PI/180,360*Math.atan(Math.exp(i))/Math.PI-90)]}};var a,i,l}function getClusterProperties(t,r,o){var a=t[r+v],i=a>=1e4?"".concat(Math.round(a/1e3),"k"):a>=1e3?"".concat(Math.round(a/100)/10,"k"):a,l=t[r+_],u=-1===l?{}:Object.assign({},o[l]);return Object.assign(u,{cluster:!0,cluster_id:t[r+g],point_count:a,point_count_abbreviated:i})}function lngX(t){return t/360+.5}function latY(t){var r=Math.sin(t*Math.PI/180),o=.5-.25*Math.log((1+r)/(1-r))/Math.PI;return o<0?0:o>1?1:o}function index_esm_slicedToArray(t,r){return function index_esm_arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function index_esm_iterableToArrayLimit(t,r){var o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var a,i,l,u,c=[],p=!0,m=!1;try{if(l=(o=o.call(t)).next,0===r){if(Object(o)!==o)return;p=!1}else for(;!(p=(a=l.call(o)).done)&&(c.push(a.value),c.length!==r);p=!0);}catch(t){m=!0,i=t}finally{try{if(!p&&null!=o.return&&(u=o.return(),Object(u)!==u))return}finally{if(m)throw i}}return c}}(t,r)||index_esm_unsupportedIterableToArray(t,r)||function index_esm_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 _toConsumableArray(t){return function _arrayWithoutHoles(t){if(Array.isArray(t))return index_esm_arrayLikeToArray(t)}(t)||function _iterableToArray(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||index_esm_unsupportedIterableToArray(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 _callSuper(t,r,o){return r=_getPrototypeOf(r),function _possibleConstructorReturn(t,r){if(r&&("object"===index_esm_typeof(r)||"function"===typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,_isNativeReflectConstruct()?Reflect.construct(r,o||[],_getPrototypeOf(t).constructor):r.apply(t,o))}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function _isNativeReflectConstruct(){return!!t})()}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _inherits(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&_setPrototypeOf(t,r)}function _setPrototypeOf(t,r){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(t,r){return t.__proto__=r,t},_setPrototypeOf(t,r)}function index_esm_createForOfIteratorHelper(t,r){var o="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!o){if(Array.isArray(t)||(o=index_esm_unsupportedIterableToArray(t))||r&&t&&"number"===typeof t.length){o&&(t=o);var a=0,i=function F(){};return{s:i,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:i}}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,c=!1;return{s:function s(){o=o.call(t)},n:function n(){var t=o.next();return u=t.done,t},e:function e(t){c=!0,l=t},f:function f(){try{u||null==o.return||o.return()}finally{if(c)throw l}}}}function index_esm_unsupportedIterableToArray(t,r){if(t){if("string"===typeof t)return index_esm_arrayLikeToArray(t,r);var o=Object.prototype.toString.call(t).slice(8,-1);return"Object"===o&&t.constructor&&(o=t.constructor.name),"Map"===o||"Set"===o?Array.from(t):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?index_esm_arrayLikeToArray(t,r):void 0}}function index_esm_arrayLikeToArray(t,r){(null==r||r>t.length)&&(r=t.length);for(var o=0,a=new Array(r);oMath.max(10,r.clusters.markers.mean)?"#ff0000":"#0000ff",u='\n\n\n\n').concat(a,"\n"),c="Cluster of ".concat(a," markers"),p=Number(google.maps.Marker.MAX_ZINDEX)+a;if(k.isAdvancedMarkerAvailable(o)){var m=(new DOMParser).parseFromString(u,"image/svg+xml").documentElement;m.setAttribute("transform","translate(0 25)");var d={map:o,position:i,zIndex:p,title:c,content:m};return new google.maps.marker.AdvancedMarkerElement(d)}var y={position:i,zIndex:p,title:c,icon:{url:"data:image/svg+xml;base64,".concat(btoa(u)),anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(y)}}])}();var A,S=index_esm_createClass((function OverlayViewSafe(){index_esm_classCallCheck(this,OverlayViewSafe),function extend(t,r){for(var o in r.prototype)t.prototype[o]=r.prototype[o]}(OverlayViewSafe,google.maps.OverlayView)}));!function(t){t.CLUSTERING_BEGIN="clusteringbegin",t.CLUSTERING_END="clusteringend",t.CLUSTER_CLICK="click"}(A||(A={}));var E=function defaultOnClusterClickHandler(t,r,o){o.fitBounds(r.bounds)},T=function(t){function MarkerClusterer(t){var r,o=t.map,a=t.markers,i=void 0===a?[]:a,l=t.algorithmOptions,u=void 0===l?{}:l,c=t.algorithm,p=void 0===c?new C(u):c,m=t.renderer,d=void 0===m?new O:m,y=t.onClusterClick,h=void 0===y?E:y;return index_esm_classCallCheck(this,MarkerClusterer),(r=_callSuper(this,MarkerClusterer)).markers=_toConsumableArray(i),r.clusters=[],r.algorithm=p,r.renderer=d,r.onClusterClick=h,o&&r.setMap(o),r}return _inherits(MarkerClusterer,t),index_esm_createClass(MarkerClusterer,[{key:"addMarker",value:function addMarker(t,r){this.markers.includes(t)||(this.markers.push(t),r||this.render())}},{key:"addMarkers",value:function addMarkers(t,r){var o=this;t.forEach((function(t){o.addMarker(t,!0)})),r||this.render()}},{key:"removeMarker",value:function removeMarker(t,r){var o=this.markers.indexOf(t);return-1!==o&&(k.setMap(t,null),this.markers.splice(o,1),r||this.render(),!0)}},{key:"removeMarkers",value:function removeMarkers(t,r){var o=this,a=!1;return t.forEach((function(t){a=o.removeMarker(t,!0)||a})),a&&!r&&this.render(),a}},{key:"clearMarkers",value:function clearMarkers(t){this.markers.length=0,t||this.render()}},{key:"render",value:function render(){var t=this.getMap();if(t instanceof google.maps.Map&&t.getProjection()){google.maps.event.trigger(this,A.CLUSTERING_BEGIN,this);var r=this.algorithm.calculate({markers:this.markers,map:t,mapCanvasProjection:this.getProjection()}),o=r.clusters,a=r.changed;if(a||void 0==a){var i,l=new Set,u=index_esm_createForOfIteratorHelper(o);try{for(u.s();!(i=u.n()).done;){var c=i.value;1==c.markers.length&&l.add(c.markers[0])}}catch(h){u.e(h)}finally{u.f()}var p,m=[],d=index_esm_createForOfIteratorHelper(this.clusters);try{for(d.s();!(p=d.n()).done;){var y=p.value;null!=y.marker&&(1==y.markers.length?l.has(y.marker)||k.setMap(y.marker,null):m.push(y.marker))}}catch(h){d.e(h)}finally{d.f()}this.clusters=o,this.renderClusters(),requestAnimationFrame((function(){return m.forEach((function(t){return k.setMap(t,null)}))}))}google.maps.event.trigger(this,A.CLUSTERING_END,this)}}},{key:"onAdd",value:function onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}},{key:"onRemove",value:function onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}},{key:"reset",value:function reset(){this.markers.forEach((function(t){return k.setMap(t,null)})),this.clusters.forEach((function(t){return t.delete()})),this.clusters=[]}},{key:"renderClusters",value:function renderClusters(){var t=this,r=new M(this.markers,this.clusters),o=this.getMap();this.clusters.forEach((function(a){1===a.markers.length?a.marker=a.markers[0]:(a.marker=t.renderer.render(a,r,o),a.markers.forEach((function(t){return k.setMap(t,null)})),t.onClusterClick&&a.marker.addListener("click",(function(r){google.maps.event.trigger(t,A.CLUSTER_CLICK,a),t.onClusterClick(r,a,o)}))),k.setMap(a.marker,o)}))}}])}(S);function map_google_marker_typeof(t){return map_google_marker_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},map_google_marker_typeof(t)}function map_google_marker_defineProperties(t,r){for(var o=0;o',o.divClass=t.divClass,o.align=t.align,o.isDebugMode=t.debug,o.onClick=t.onClick,o.onMouseOver=t.onMouseOver,o.isBoolean=function(t){return"boolean"===typeof t},o.isNotUndefined=function(t){return"undefined"!==typeof t},o.hasContent=function(t){return t.length>0},o.isString=function(t){return"string"===typeof t},o.isFunction=function(t){return"function"===typeof t},r}return function map_google_marker_inherits(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&map_google_marker_setPrototypeOf(t,r)}(GoogleMapsHtmlOverlay,window.google.maps.OverlayView),function map_google_marker_createClass(t,r,o){return r&&map_google_marker_defineProperties(t.prototype,r),o&&map_google_marker_defineProperties(t,o),Object.defineProperty(t,"prototype",{writable:!1}),t}(GoogleMapsHtmlOverlay,[{key:"onAdd",value:function onAdd(){var t=this;t.div=document.createElement("div"),t.div.style.position="absolute",t.isNotUndefined(t.divClass)&&t.hasContent(t.divClass)&&(t.div.className=t.divClass),t.isNotUndefined(t.html)&&t.hasContent(t.html)&&t.isString(t.html)&&(t.div.innerHTML=t.html),t.isBoolean(t.isDebugMode)&&t.isDebugMode&&(t.div.className="debug-mode",t.div.innerHTML='
Debug mode
',t.div.setAttribute("style","position: absolute;border: 5px dashed red;height: 150px;width: 150px;display: flex;justify-content: center;align-items: center;")),t.getPanes().overlayMouseTarget.appendChild(t.div),t.div.addEventListener("click",(function(r){window.google.maps.event.trigger(t,"click"),t.isFunction(t.onClick)&&t.onClick(),r.stopPropagation()})),t.div.addEventListener("mouseover",(function(r){window.google.maps.event.trigger(t,"mouseover"),t.isFunction(t.onMouseOver)&&t.onMouseOver(),r.stopPropagation()}))}},{key:"draw",value:function draw(){var t=this,r=document.querySelector(".popup");r.length||(r=t.div);var o=t.getProjection();if(!o)return console.log("GoogleMapsHtmlOverlay: current map is missing"),null;var a=o.fromLatLngToDivPixel(t.getPosition()),i={y:void 0,x:void 0},l=r.offsetWidth,u=r.offsetHeight;switch(Array.isArray(t.align)?t.align.join(" "):""){case"left top":i.y=u,i.x=l;break;case"left center":i.y=u/2,i.x=l;break;case"left bottom":i.y=0,i.x=l;break;case"center top":i.y=u,i.x=l/2;break;case"center center":default:i.y=u/2,i.x=l/2;break;case"center bottom":i.y=0,i.x=l/2;break;case"right top":i.y=u,i.x=0;break;case"right center":i.y=u/2,i.x=0;break;case"right bottom":i.y=0,i.x=0}t.div.style.top="".concat(a.y-i.y,"px"),t.div.style.left="".concat(a.x-i.x,"px")}},{key:"getPosition",value:function getPosition(){return new window.google.maps.LatLng(this.position)}},{key:"getDiv",value:function getDiv(){return this.div}},{key:"setPosition",value:function setPosition(t,r){var o=this;o.position=t,o.align=r,o.draw()}},{key:"remove",value:function remove(){this.setMap(null),this.div.remove()}},{key:"getDraggable",value:function getDraggable(){return!1}}])}()}};function map_google_typeof(t){return map_google_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},map_google_typeof(t)}function map_google_defineProperties(t,r){for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:[],a=this;a.el=r,a.config=o,a.markers=[],t["init".concat(a.getName())]=function(){a.googleApiLoaded()};var i=document.createElement("script");i.src="https://maps.googleapis.com/maps/api/js?key=".concat(o.key,"&callback=init").concat(a.getName()),i.async=!0,i.defer=!0,document.head.appendChild(i)}},{key:"googleApiLoaded",value:function googleApiLoaded(){var r=this,o=r.el,i=r.config,l=o.querySelector(".mapAPI-map"),u=i.mapZoom&&"0"!==i.mapZoom?parseInt(i.mapZoom):10,c=i.center&&","!==i.center?{lat:i.center[1],lng:i.center[0]}:{lat:0,lng:0},p=i.style?i.style:null;console.log("".concat(r.getName(),": API is loaded")),r.MarkerUI=j.init(),r.map=new t.google.maps.Map(l,{zoom:u,center:c,fullscreenControl:!0,styles:p}),r.default_zoom=u,l.classList.add("mapboxgl-map"),r.popup=new r.MarkerUI({map:r.map,align:["center","top"],divClass:"mapboxgl-popup popup mapboxgl-popup-anchor-bottom d-none",html:'
\xd7
'}),r.popup.setMap(r.map),r.geocoder=new t.google.maps.Geocoder,r.cluster=new T(r.map,null,{styles:[{width:30,height:30,className:"mapboxgl-cluster"}]}),o.dispatchEvent(new Event(a))}},{key:"addMarker",value:function addMarker(t,r){var o=this,a={lat:t[1],lng:t[0]},l=new o.MarkerUI({position:a,map:o.map,align:["center","top"],html:'
').concat(r.icon,"
"),onClick:function onClick(){var t=document.querySelector("#Marker".concat(r.id));o.showPopup(a,r.content),t.dispatchEvent(new Event(i))}});return o.markers.push(l),o.cluster.addMarker(l),l.setMap(o.map),l}},{key:"showPopup",value:function showPopup(t,r){var o=this,a=o.popup.getDiv();o.config.flyToMarker&&(o.map.setCenter(t),o.config.noZoom||o.map.setZoom(18)),a.style.opacity="0",a.classList.remove("d-none"),a.querySelector(".mapboxgl-popup-content .html").innerHTML=r,a.querySelector(".mapboxgl-popup-close-button").addEventListener("click",(function(t){t.preventDefault(),o.hidePopup()})),o.popup.setPosition(t,["center","top"]),a.style.opacity="1",a.style["margin-top"]="-1rem"}},{key:"hidePopup",value:function hidePopup(){var t=this;t.popup.getDiv().classList.add("d-none"),t.config.noRestoreBounds&&!t.config.flyToBounds||t.restoreBounds(),t.el.dispatchEvent(new Event(l))}},{key:"geocode",value:function geocode(t,r){var o=this;o.geocoder.geocode({address:t},(function(t,a){if("OK"===a)return"function"===typeof r&&r(t),t;console.error("".concat(o.getName(),": Geocode was not successful for the following reason: ").concat(a))}))}},{key:"reverseGeocode",value:function reverseGeocode(t,r){var o=this;o.geocoder.geocode({location:latlng},(function(t,a){if("OK"===a)return"function"===typeof r&&r(t),t;console.error("".concat(o.getName(),": Reverse Geocoding was not successful for the following reason: ").concat(a))}))}},{key:"addGeoJson",value:function addGeoJson(r){var o=this,a=JSON.parse(r.geojson),i=new t.google.maps.LatLngBounds;a.features.forEach((function(t){var a=t.id,l=t.geometry.coordinates,u=t.properties.content;o.addMarker(l,{id:a,content:u,icon:t.icon,flyToMarker:r.flyToMarker}),i.extend({lat:parseFloat(l[1]),lng:parseFloat(l[0])})})),o.markers.length>1?o.map.fitBounds(i,{padding:30}):o.markers[0]&&o.map.setCenter(o.markers[0].getPosition()),o.default_bounds=i,o.default_zoom=o.map.getZoom()}},{key:"getMap",value:function getMap(){return this.map}},{key:"getPopup",value:function getPopup(){return this.popup}},{key:"restoreBounds",value:function restoreBounds(){var t=this;t.default_bounds&&t.markers.length>1?t.map.fitBounds(t.default_bounds,{padding:30}):(t.markers[0]&&t.map.setCenter(t.markers[0].getPosition()),t.restoreZoom())}},{key:"restoreZoom",value:function restoreZoom(){this.map.setZoom(this.default_zoom)}}])}();return r}(window),L={ENVS:["xs","sm","md","lg","xl","xxl","xxxl"],MAP_DRIVER:I};function map_api_typeof(t){return map_api_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},map_api_typeof(t)}function map_api_defineProperties(t,r){for(var o=0;o'),console.log("".concat(l,": init ").concat(o.getName(),"...")),r.drv=o,r.el=t,r.config=c,o.init(t,c),t.addEventListener(a,(function(){r.addMarkers()}))}),[{key:"getMap",value:function getMap(){return this.map}},{key:"dispose",value:function dispose(){this.el=null,this.el.classList.remove("".concat(l,"-active"))}},{key:"addMarkers",value:function addMarkers(){console.log("".concat(l,": addMarkers"));var t=this,r=t.el,a=t.drv,i=t.config;if(t.map=a.getMap(),i.geojson)console.log("".concat(l,": setting up geocode data")),a.addGeoJson(i);else if(i.address)console.log(i.address),console.log("".concat(l,": setting up address marker")),a.geocode(i.address,(function(r){console.log(r);var o=parseFloat(r[0].geometry.location.lat()),u=parseFloat(r[0].geometry.location.lng());console.log("".concat(l,": setting up single lat/lng marker lat: ").concat(o," lng: ").concat(u," #1")),a.addMarker([u,o],i),t.map.setCenter({lat:o,lng:u})}));else if(i.lat&&i.lng){var u=parseFloat(i.lat),c=parseFloat(i.lng);console.log("".concat(l,": setting up single lat/lng marker lat: ").concat(u," lng: ").concat(c," #2")),a.addMarker([c,u],i),t.map.setCenter({lat:u,lng:c})}r.classList.add("".concat(l,"-active")),r.dispatchEvent(new Event(o)),console.log("".concat(l,": Map is loaded"))}}])}(),p=function init(){console.log("".concat(l,": init")),document.querySelectorAll(".".concat(l)).forEach((function(t,r){new c(t)}))};i.addEventListener("".concat(r),p),i.addEventListener("".concat(t),p)}(window)}()}(); \ No newline at end of file diff --git a/app/client/dist/js/app_cms.js b/app/client/dist/js/app_cms.js index 0ce8b9d..b812a3e 100644 --- a/app/client/dist/js/app_cms.js +++ b/app/client/dist/js/app_cms.js @@ -1 +1 @@ -!function(){"use strict";var e={4991:function(e){e.exports=function makeYoutubeEmbed(e){if("string"===typeof e){var t=function getId(e){var t=e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);if(t&&11==t[2].length)return t[2]}(e);return t?"//www.youtube.com/embed/"+t:void 0}}}},t={};function __webpack_require__(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,__webpack_require__),o.exports}!function(){var e="ajax-load",t="load-ready";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _toConsumableArray(e){return function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}(e)||function _iterableToArray(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function _unsupportedIterableToArray(e,t){if(!e)return;if("string"===typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{shown:!1},a=arguments.length>1?arguments[1]:void 0;!function _classCallCheck(e,t){if(!(e instanceof t))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 t=e;console.log("".concat(t.name,": show")),t.setState({shown:!0}),n.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(this,"hide",(function(){var t=e;console.log("".concat(t.name,": hide")),t.setState({shown:!1}),n.dispatchEvent(new Event("{ui.name}.hide"))})),_defineProperty(this,"next",(function(){var t=e,a=t.state.current.getAttribute("data-gallery"),o=t._currIndex();o0?o--:o=t.state.collections[a].length-1,t.state.collections[a][o].click(),console.log("".concat(t.name,": prev")),n.dispatchEvent(new Event("{ui.name}.prev"))})),_defineProperty(this,"reset",(function(){e.setState({content:"",type:["empty"],shown:!1,loading:!1,error:!1,embed:!1})})),_defineProperty(this,"load",(function(t){var a=e;a.reset(),a.setState({loading:!0}),a.show(),window.fetch(t,{mode:"no-cors"}).then((function(e){var o=e.headers.get("content-type").toLowerCase();console.log(e),console.log("".concat(a.name,": response content-type: ").concat(o));switch(o){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":e.arrayBuffer().then((function(e){a.setContent(''),"meta-".concat(a.name,"--image"))}));break;case"application/json":case"application/ld+json":case"application/json; charset=utf-8":a.setContent("".concat((!1).Content),["meta-".concat(a.name,"--text"),"meta-".concat(a.name,"--html"),"meta-".concat(a.name,"--json")]);break;case"video/mp4":a.setContent(''),["meta-".concat(a.name,"--image"),"meta-".concat(a.name,"--video")]);break;case"text/html":case"application/xhtml+xml":case"text/plain":case"text/html; charset=utf-8":case"application/xhtml+xml; charset=utf-8":case"text/plain; charset=utf-8":e.text().then((function(e){a.setContent(e,["meta-".concat(a.name,"--text"),"meta-".concat(a.name,"--html"),"meta-".concat(a.name,"--pajax")])}));break;default:console.warn("".concat(a.name,": Unknown response content-type!"))}n.dispatchEvent(new Event("{ui.name}.loaded"))})).catch((function(e){console.error(e);var t="";if(e.response)switch(e.response.status){case 404:t="Not Found.";break;case 500:t="Server issue, please try again latter.";break;default:t="Something went wrong."}else e.request?t="No response received":console.warn("Error",e.message);a.setState({error:t}),n.dispatchEvent(new Event("{ui.name}.error"))})).then((function(){a.setState({loading:!1}),setTimeout((function(){a.state.current.classList.remove("loading")}),1e3)}))})),_defineProperty(this,"_currIndex",(function(){var t=e,n=t.state.current,a=n.getAttribute("data-gallery");return t.state.collections[a].indexOf(n)})),_defineProperty(this,"embed",(function(t){var n=e;console.log("".concat(n.name,": embed")),n.reset(),n.setState({embed:t,loading:!1,type:["meta-".concat(n.name,"--embed"),"meta-".concat(n.name,"--video")]}),n.show()})),_defineProperty(this,"setCaption",(function(t){var n=e;console.log("".concat(n.name,": setCaption")),n.state.caption=t})),_defineProperty(this,"addExtraClass",(function(t){var n=e;t&&t.length&&(console.log("".concat(n.name,": addExtraClass(").concat(t,")")),n.state.extraClass=t)})),_defineProperty(this,"getCaption",(function(){return e.state.caption})),_defineProperty(this,"_imageEncode",(function(e){var t="";return[].slice.call(new Uint8Array(e)).forEach((function(e){t+=String.fromCharCode(e)})),window.btoa(t)})),_defineProperty(this,"setContent",(function(t,n){var a=e;console.log("".concat(a.name,": setContent"));var o=n||["meta-".concat(a.name,"--html"),"meta-".concat(a.name,"--text")];Array.isArray(o)||(o=n.split(" ")),a.setState({content:t,type:o})})),_defineProperty(this,"getHtml",(function(){var t=e;if(t.state.embed){var n=__webpack_require__(4991)(t.state.embed);t.state.content='')}return t.state.content}));var o=this;switch(o.name=o.constructor.name,console.log("".concat(o.name,": init")),o.setState(t),a){case"show":case"hide":o.hide()}n.dispatchEvent(new Event("{ui.name}.init"))}),[{key:"cleanLinks",value:function cleanLinks(){document.querySelectorAll('[data-toggle="lightbox"]').forEach((function(e){e.classList.remove("loading")}))}},{key:"collectGaleries",value:function collectGaleries(e){var t=this;e&&(t.state.collections[e]=[],document.querySelectorAll('[data-toggle="lightbox"][data-gallery="'.concat(e,'"]')).forEach((function(n){t.state.collections[e].push(n)})))}},{key:"toggle",value:function toggle(e){var t=this;t.cleanLinks();var n=e.getAttribute("href")||e.getAttribute("data-href"),a=e.getAttribute("data-embed");e.classList.add("loading"),t.state.current=e;var o=e.getAttribute("data-title");o?t.setCaption(o):t.setCaption(""),a?t.embed(n):t.load(n),t.addExtraClass(e.getAttribute("data-lightbox-class"))}},{key:"init",value:function init(){var e=this;console.log("MetaWindow: [links] init"),document.querySelectorAll('[data-toggle="lightbox"],[data-gallery]').forEach((function(t){var n=t.getAttribute("data-gallery");e.collectGaleries(n),t.addEventListener("click",(function(t){t.preventDefault(),console.log("MetaWindow: [link] click");var n=t.currentTarget;e.toggle(n)}))}))}},{key:"setState",value:function setState(e){var t=this;t.state=Object.assign({},t.state,e),t.render()}},{key:"render",value:function render(){var e,t=this,n=t.name,a=t.state.current;t.state.target.innerHTML="";var o=document.createElement("div");o.classList.add("meta-".concat(n)),(e=o.classList).add.apply(e,_toConsumableArray(t.state.type)),t.state.target.append(o);var r=document.createElement("div");r.classList.add("meta-".concat(n,"-overlay")),t.state.shown&&r.classList.add("meta-".concat(n,"-overlay--open")),t.state.loading&&r.classList.add("meta-".concat(n,"-overlay--loading")),t.state.error&&r.classList.add("meta-".concat(n,"-overlay--error")),o.append(r);var i=document.createElement("div");i.classList.add("meta-content"),r.append(i);var c=document.createElement("button");if(c.classList.add("meta-nav","meta-close","a"),c.innerHTML=' Close',c.addEventListener("click",(function(e){e.preventDefault(),t.hide()})),i.append(c),a){var s=a.getAttribute("data-gallery");if(s&&t.state.collections[s].length>1){var l=document.createElement("nav");l.classList.add("meta-navs");var d=document.createElement("button");d.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),d.innerHTML=' Previous',d.addEventListener("click",(function(e){e.preventDefault(),t.prev()})),l.append(d);var u=document.createElement("button");u.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__next","a"),u.innerHTML=' Next',u.addEventListener("click",(function(e){e.preventDefault(),t.next()})),l.append(u),i.append(l)}}var m=document.createElement("section");if(m.classList.add("meta-wrap","typography"),t.state.extraClass&&m.classList.add(t.state.extraClass),m.innerHTML=t.getHtml(),i.append(m),t.state.error){var p=document.createElement("div");p.classList.add("meta-error"),p.innerHTML=t.state.error,i.append(p)}else if(t.state.caption){var f=document.createElement("div");f.classList.add("meta-caption"),f.innerHTML=t.getCaption(),i.append(f)}return"undefined"!==typeof window.FontAwesome&&window.FontAwesome.dom.i2svg(),t}}])}(),o=a,r=document.getElementById("MetaLightboxApp");r||(console.warn("MetaWindow: missing container #MetaLightboxApp - create new one"),(r=document.createElement("div")).setAttribute("id","MetaLightboxApp"),document.querySelector("body").append(r));var i=function init(){var e=window.MetaWindow;"undefined"===typeof e&&(e=new o({target:r}),window.MetaWindow=e),e.init()};window.addEventListener("".concat(t),i),window.addEventListener("".concat(e),i),window.addEventListener("MetaWindow.initLinks",i);jQuery.entwine("ss",(function($){$('[data-toggle="lightbox"]').entwine({onmatch:function onmatch(){console.log("Init lightbox links at CMS"),window.dispatchEvent(new Event("MetaWindow.initLinks"))}})}))}()}(); \ No newline at end of file +!function(){"use strict";var e={1684:function(e){e.exports=function makeYoutubeEmbed(e){if("string"===typeof e){var t=function getId(e){var t=e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);if(t&&11==t[2].length)return t[2]}(e);return t?"//www.youtube.com/embed/"+t:void 0}}}},t={};function __webpack_require__(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,__webpack_require__),o.exports}!function(){var e="ajax-load",t="load-ready";function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}function _toConsumableArray(e){return function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}(e)||function _iterableToArray(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function _unsupportedIterableToArray(e,t){if(!e)return;if("string"===typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}(e)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{shown:!1},a=arguments.length>1?arguments[1]:void 0;!function _classCallCheck(e,t){if(!(e instanceof t))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 t=e;console.log("".concat(t.name,": show")),t.setState({shown:!0}),n.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(this,"hide",(function(){var t=e;console.log("".concat(t.name,": hide")),t.setState({shown:!1}),n.dispatchEvent(new Event("{ui.name}.hide"))})),_defineProperty(this,"next",(function(){var t=e,a=t.state.current.getAttribute("data-gallery"),o=t._currIndex();o0?o--:o=t.state.collections[a].length-1,t.state.collections[a][o].click(),console.log("".concat(t.name,": prev")),n.dispatchEvent(new Event("{ui.name}.prev"))})),_defineProperty(this,"reset",(function(){e.setState({content:"",type:["empty"],shown:!1,loading:!1,error:!1,embed:!1})})),_defineProperty(this,"load",(function(t){var a=e;a.reset(),a.setState({loading:!0}),a.show(),window.fetch(t,{mode:"no-cors"}).then((function(e){var o=e.headers.get("content-type").toLowerCase();console.log(e),console.log("".concat(a.name,": response content-type: ").concat(o));switch(o){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":e.arrayBuffer().then((function(e){a.setContent(''),"meta-".concat(a.name,"--image"))}));break;case"application/json":case"application/ld+json":case"application/json; charset=utf-8":a.setContent("".concat((!1).Content),["meta-".concat(a.name,"--text"),"meta-".concat(a.name,"--html"),"meta-".concat(a.name,"--json")]);break;case"video/mp4":a.setContent(''),["meta-".concat(a.name,"--image"),"meta-".concat(a.name,"--video")]);break;case"text/html":case"application/xhtml+xml":case"text/plain":case"text/html; charset=utf-8":case"application/xhtml+xml; charset=utf-8":case"text/plain; charset=utf-8":e.text().then((function(e){a.setContent(e,["meta-".concat(a.name,"--text"),"meta-".concat(a.name,"--html"),"meta-".concat(a.name,"--pajax")])}));break;default:console.warn("".concat(a.name,": Unknown response content-type!"))}n.dispatchEvent(new Event("{ui.name}.loaded"))})).catch((function(e){console.error(e);var t="";if(e.response)switch(e.response.status){case 404:t="Not Found.";break;case 500:t="Server issue, please try again latter.";break;default:t="Something went wrong."}else e.request?t="No response received":console.warn("Error",e.message);a.setState({error:t}),n.dispatchEvent(new Event("{ui.name}.error"))})).then((function(){a.setState({loading:!1}),setTimeout((function(){a.state.current.classList.remove("loading")}),1e3)}))})),_defineProperty(this,"_currIndex",(function(){var t=e,n=t.state.current,a=n.getAttribute("data-gallery");return t.state.collections[a].indexOf(n)})),_defineProperty(this,"embed",(function(t){var n=e;console.log("".concat(n.name,": embed")),n.reset(),n.setState({embed:t,loading:!1,type:["meta-".concat(n.name,"--embed"),"meta-".concat(n.name,"--video")]}),n.show()})),_defineProperty(this,"setCaption",(function(t){var n=e;console.log("".concat(n.name,": setCaption")),n.state.caption=t})),_defineProperty(this,"addExtraClass",(function(t){var n=e;t&&t.length&&(console.log("".concat(n.name,": addExtraClass(").concat(t,")")),n.state.extraClass=t)})),_defineProperty(this,"getCaption",(function(){return e.state.caption})),_defineProperty(this,"_imageEncode",(function(e){var t="";return[].slice.call(new Uint8Array(e)).forEach((function(e){t+=String.fromCharCode(e)})),window.btoa(t)})),_defineProperty(this,"setContent",(function(t,n){var a=e;console.log("".concat(a.name,": setContent"));var o=n||["meta-".concat(a.name,"--html"),"meta-".concat(a.name,"--text")];Array.isArray(o)||(o=n.split(" ")),a.setState({content:t,type:o})})),_defineProperty(this,"getHtml",(function(){var t=e;if(t.state.embed){var n=__webpack_require__(1684)(t.state.embed);t.state.content='')}return t.state.content}));var o=this;switch(o.name=o.constructor.name,console.log("".concat(o.name,": init")),o.setState(t),a){case"show":case"hide":o.hide()}n.dispatchEvent(new Event("{ui.name}.init"))}),[{key:"cleanLinks",value:function cleanLinks(){document.querySelectorAll('[data-toggle="lightbox"]').forEach((function(e){e.classList.remove("loading")}))}},{key:"collectGaleries",value:function collectGaleries(e){var t=this;e&&(t.state.collections[e]=[],document.querySelectorAll('[data-toggle="lightbox"][data-gallery="'.concat(e,'"]')).forEach((function(n){t.state.collections[e].push(n)})))}},{key:"toggle",value:function toggle(e){var t=this;t.cleanLinks();var n=e.getAttribute("href")||e.getAttribute("data-href"),a=e.getAttribute("data-embed");e.classList.add("loading"),t.state.current=e;var o=e.getAttribute("data-title");o?t.setCaption(o):t.setCaption(""),a?t.embed(n):t.load(n),t.addExtraClass(e.getAttribute("data-lightbox-class"))}},{key:"init",value:function init(){var e=this;console.log("MetaWindow: [links] init"),document.querySelectorAll('[data-toggle="lightbox"],[data-gallery]').forEach((function(t){var n=t.getAttribute("data-gallery");e.collectGaleries(n),t.addEventListener("click",(function(t){t.preventDefault(),console.log("MetaWindow: [link] click");var n=t.currentTarget;e.toggle(n)}))}))}},{key:"setState",value:function setState(e){var t=this;t.state=Object.assign({},t.state,e),t.render()}},{key:"render",value:function render(){var e,t=this,n=t.name,a=t.state.current;t.state.target.innerHTML="";var o=document.createElement("div");o.classList.add("meta-".concat(n)),(e=o.classList).add.apply(e,_toConsumableArray(t.state.type)),t.state.target.append(o);var r=document.createElement("div");r.classList.add("meta-".concat(n,"-overlay")),t.state.shown&&r.classList.add("meta-".concat(n,"-overlay--open")),t.state.loading&&r.classList.add("meta-".concat(n,"-overlay--loading")),t.state.error&&r.classList.add("meta-".concat(n,"-overlay--error")),o.append(r);var i=document.createElement("div");i.classList.add("meta-content"),r.append(i);var c=document.createElement("button");if(c.classList.add("meta-nav","meta-close","a"),c.innerHTML=' Close',c.addEventListener("click",(function(e){e.preventDefault(),t.hide()})),i.append(c),a){var s=a.getAttribute("data-gallery");if(s&&t.state.collections[s].length>1){var l=document.createElement("nav");l.classList.add("meta-navs");var d=document.createElement("button");d.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),d.innerHTML=' Previous',d.addEventListener("click",(function(e){e.preventDefault(),t.prev()})),l.append(d);var u=document.createElement("button");u.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__next","a"),u.innerHTML=' Next',u.addEventListener("click",(function(e){e.preventDefault(),t.next()})),l.append(u),i.append(l)}}var m=document.createElement("section");if(m.classList.add("meta-wrap","typography"),t.state.extraClass&&m.classList.add(t.state.extraClass),m.innerHTML=t.getHtml(),i.append(m),t.state.error){var p=document.createElement("div");p.classList.add("meta-error"),p.innerHTML=t.state.error,i.append(p)}else if(t.state.caption){var f=document.createElement("div");f.classList.add("meta-caption"),f.innerHTML=t.getCaption(),i.append(f)}return"undefined"!==typeof window.FontAwesome&&window.FontAwesome.dom.i2svg(),t}}])}(),o=a,r=document.getElementById("MetaLightboxApp");r||(console.warn("MetaWindow: missing container #MetaLightboxApp - create new one"),(r=document.createElement("div")).setAttribute("id","MetaLightboxApp"),document.querySelector("body").append(r));var i=function init(){var e=window.MetaWindow;"undefined"===typeof e&&(e=new o({target:r}),window.MetaWindow=e),e.init()};window.addEventListener("".concat(t),i),window.addEventListener("".concat(e),i),window.addEventListener("MetaWindow.initLinks",i);jQuery.entwine("ss",(function($){$('[data-toggle="lightbox"]').entwine({onmatch:function onmatch(){console.log("Init lightbox links at CMS"),window.dispatchEvent(new Event("MetaWindow.initLinks"))}})}))}()}(); \ No newline at end of file diff --git a/app/client/dist/js/sample.js b/app/client/dist/js/sample.js index c6b1f4b..7d5ba93 100644 --- a/app/client/dist/js/sample.js +++ b/app/client/dist/js/sample.js @@ -1,2 +1,2 @@ /*! For license information please see sample.js.LICENSE.txt */ -!function(){var t={480:function(t,o,i){var a={"./bg.png":6730,"./logo.png":8614,"./logo.svg":4993,"./original.png":6670,"./original2.png":6526,"./photo1.png":7782,"./photo2.jpg":2637,"./photo3.svg":1955,"app/client/src/img/bg.png":6730,"app/client/src/img/logo.png":8614,"app/client/src/img/logo.svg":4993,"app/client/src/img/original.png":6670,"app/client/src/img/original2.png":6526,"app/client/src/img/photo1.png":7782,"app/client/src/img/photo2.jpg":2637,"app/client/src/img/photo3.svg":1955,"bg.png":6730,"img/bg.png":6730,"img/logo.png":8614,"img/logo.svg":4993,"img/original.png":6670,"img/original2.png":6526,"img/photo1.png":7782,"img/photo2.jpg":2637,"img/photo3.svg":1955,"logo.png":8614,"logo.svg":4993,"original.png":6670,"original2.png":6526,"photo1.png":7782,"photo2.jpg":2637,"photo3.svg":1955};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=480},5652: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")):(y=!1,i.classList.add("portrait"),i.classList.remove("landscape")),console.log("".concat("_main.css-screen-size",": screen size detected ").concat(d," | landscape ").concat(y)),i.removeChild(c),d};t.detectCSSScreenSize=a,t.addEventListener("".concat(c.LOADED),a),t.addEventListener("".concat(c.RESIZE),a)})(window),a(7146);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(){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}((function MainUI(){!function main_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,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")}}])}(),u=function documentInit(){a.init(),console.groupEnd("init"),console.timeEnd("init"),t.addEventListener("".concat(c.LOADED),(function(o){t.dispatchEvent(new Event(c.LODEDANDREADY))}))};"loading"===document.readyState?document.addEventListener("".concat(c.DOMLOADED),u):u(),t.addEventListener("".concat(c.LODEDANDREADY),(function(){i.classList.add("loaded"),"undefined"!==typeof t.app&&"undefined"!==typeof t.app.Router||(console.warn("Spinner is hidden"),p.hide())})),t.addEventListener("".concat(c.AJAX),(function(){a.loaded()})),t.MainUI=a})(window),a(1595);var h=a(7208),y=document.getElementById("MainContent"),v=document.createElement("div");if(y.dataset.legacy){var g=document.getElementById("PageLoading");g&&(window.addEventListener("".concat(c.LOADED),(function(){g.classList.add("d-none")})),window.addEventListener("".concat(c.AJAX),(function(){g.classList.add("d-none")})))}else{v.classList.add("page--container"),y.append(v);var b=a(803);h.mount(v,b)}var w="ajax-load",_="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}),E.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(this,"hide",(function(){var o=t;console.log("".concat(o.name,": hide")),o.setState({shown:!1}),E.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")),E.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!"))}E.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}),E.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(4991)(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()}E.dispatchEvent(new Event("{ui.name}.init"))}),[{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 h=document.createElement("nav");h.classList.add("meta-navs");var y=document.createElement("button");y.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),y.innerHTML=' Previous',y.addEventListener("click",(function(t){t.preventDefault(),o.prev()})),h.append(y);var v=document.createElement("button");v.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__next","a"),v.innerHTML=' Next',v.addEventListener("click",(function(t){t.preventDefault(),o.next()})),h.append(v),u.append(h)}}var g=document.createElement("section");if(g.classList.add("meta-wrap","typography"),o.state.extraClass&&g.classList.add(o.state.extraClass),g.innerHTML=o.getHtml(),u.append(g),o.state.error){var b=document.createElement("div");b.classList.add("meta-error"),b.innerHTML=o.state.error,u.append(b)}else if(o.state.caption){var w=document.createElement("div");w.classList.add("meta-caption"),w.innerHTML=o.getCaption(),u.append(w)}return"undefined"!==typeof window.FontAwesome&&window.FontAwesome.dom.i2svg(),o}}])}(),A=S,L=document.getElementById("MetaLightboxApp");L||(console.warn("MetaWindow: missing container #MetaLightboxApp - create new one"),(L=document.createElement("div")).setAttribute("id","MetaLightboxApp"),document.querySelector("body").append(L));var x=function init(){var t=window.MetaWindow;"undefined"===typeof t&&(t=new A({target:L}),window.MetaWindow=t),t.init()};window.addEventListener("".concat(_),x),window.addEventListener("".concat(w),x),window.addEventListener("MetaWindow.initLinks",x);var k=new Map,O=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],"."))},P=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(I(t)):null},D=function getjQuery(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},M=[],G=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),G(t))})),setTimeout((function(){a||function triggerTransitionEnd(t){t.dispatchEvent(new Event(T))}(o)}),i)}else G(t)};function _slicedToArray(t,o){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,o){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var a,c,l,u,d=[],p=!0,h=!1;try{if(l=(i=i.call(t)).next,0===o){if(Object(i)!==i)return;p=!1}else for(;!(p=(a=l.call(i)).done)&&(d.push(a.value),d.length!==o);p=!0);}catch(t){h=!0,c=t}finally{try{if(!p&&null!=i.return&&(u=i.return(),Object(u)!==u))return}finally{if(h)throw c}}return d}}(t,o)||event_handler_unsupportedIterableToArray(t,o)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _createForOfIteratorHelper(t,o){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=event_handler_unsupportedIterableToArray(t))||o&&t&&"number"===typeof t.length){i&&(t=i);var a=0,c=function F(){};return{s:c,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==i.return||i.return()}finally{if(d)throw l}}}}function event_handler_unsupportedIterableToArray(t,o){if(t){if("string"===typeof t)return event_handler_arrayLikeToArray(t,o);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?event_handler_arrayLikeToArray(t,o):void 0}}function event_handler_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var i=0,a=new Array(o);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 Y.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 K){d=function wrapFunction(t){return function(o){if(!o.relatedTarget||o.relatedTarget!==o.delegateTarget&&!o.delegateTarget.contains(o.relatedTarget))return t.call(this,o)}}(d)}var h=getElementEvents(t),y=h[p]||(h[p]={}),v=findHandler(y,d,u?i:null);if(v)v.oneOff=v.oneOff&&c;else{var g=makeEventUid(d,o.replace(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,y[g]=b,t.addEventListener(p,b,u)}}}function removeHandler(t,o,i,a,c){var l=findHandler(o[i],a,c);l&&(t.removeEventListener(i,l,Boolean(c)),delete o[i][l.uidEvent])}function removeNamespacedHandlers(t,o,i,a){for(var c=o[i]||{},l=0,u=Object.entries(c);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 P(N(t),this.DATA_KEY)}},{key:"getOrCreateInstance",value:function getOrCreateInstance(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(t)||new this(t,"object"===base_component_typeof(o)?o:null)}},{key:"VERSION",get:function get(){return"5.3.3"}},{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)}}])}(Q),ee=Z;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(!R(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=te(t);return o&&ne.findOne(o)?o:null},getElementFromSelector:function getElementFromSelector(t){var o=te(t);return o?ne.findOne(o):null},getMultipleElementsFromSelector:function getMultipleElementsFromSelector(t){var o=te(t);return o?ne.find(o):[]}},re=ne;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(ue)}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=N(t.parent),t}},{key:"_getDimension",value:function _getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}},{key:"_initializeChildren",value:function _initializeChildren(){if(this._config.parent){var t,o=collapse_createForOfIteratorHelper(this._getFirstLevelChildren(he));try{for(o.s();!(t=o.n()).done;){var i=t.value,a=re.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=re.find(pe,this._config.parent);return re.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 ye}},{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]()}}))}}])}(ee);J.on(document,le,he,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();var o,i=collapse_createForOfIteratorHelper(re.getMultipleElementsFromSelector(this));try{for(i.s();!(o=i.n()).done;){var a=o.value;ve.getOrCreateInstance(a,{toggle:!1}).toggle()}}catch(c){i.e(c)}finally{i.f()}})),function defineJQueryPlugin(t){!function onDOMContentLoaded(t){"loading"===document.readyState?(M.length||document.addEventListener("DOMContentLoaded",(function(){for(var t=0,o=M;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)}!function Toggle(t){console.log("".concat(o,": nav toggle"));var i=t.querySelector(".dropdown-menu"),c=i.classList.contains("show");a(),i&&!c&&i.classList.add("show")}(l)}c.dataset.firstClick=!0})),i.classList.add("".concat(o,"-active")),i.classList.add("".concat(o,"-click-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.classList.contains("".concat(o,"-hover-active"))||(t.addEventListener("mouseover",l,!1),t.addEventListener("mouseleave",u,!1),t.classList.add("".concat(o,"-active")),t.classList.add("".concat(o,"-hover-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 be,this.disabled=!1,this.selector=t,this.settings=mergeOptions(ge,o),this.index=this.settings.startAt}return glide_esm_createClass(Glide,[{key:"mount",value:function mount$1(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),isObject(t)?this._c=function mount(t,o,i){var a={};for(var c in o)isFunction(o[c])?a[c]=o[c](t,a,i):warn("Extension must be a function");for(var l in a)isFunction(a[l].mount)&&a[l].mount();return a}(this,t,this._e):warn("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function mutate(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return isArray(t)?this._t=t:warn("You need to provide a array on `mutate()`"),this}},{key:"update",value:function update(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.settings=mergeOptions(this.settings,t),t.hasOwnProperty("startAt")&&(this.index=t.startAt),this._e.emit("update"),this}},{key:"go",value:function go(t){return this._c.Run.make(t),this}},{key:"move",value:function move(t){return this._c.Transition.disable(),this._c.Move.make(t),this}},{key:"destroy",value:function destroy(){return this._e.emit("destroy"),this}},{key:"play",value:function play(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&(this.settings.autoplay=t),this._e.emit("play"),this}},{key:"pause",value:function pause(){return this._e.emit("pause"),this}},{key:"disable",value:function disable(){return this.disabled=!0,this}},{key:"enable",value:function enable(){return this.disabled=!1,this}},{key:"on",value:function on(t,o){return this._e.on(t,o),this}},{key:"isType",value:function isType(t){return this.settings.type===t}},{key:"settings",get:function get(){return this._o},set:function set(t){isObject(t)?this._o=t:warn("Options must be an `object` instance.")}},{key:"index",get:function get(){return this._i},set:function set(t){this._i=toInt(t)}},{key:"type",get:function get(){return this.settings.type}},{key:"disabled",get:function get(){return this._d},set:function set(t){this._d=!!t}}]),Glide}();function now(){return(new Date).getTime()}function throttle(t,o,i){var a,c,l,u,d=0;i||(i={});var p=function later(){d=!1===i.leading?0:now(),a=null,u=t.apply(c,l),a||(c=l=null)},h=function throttled(){var h=now();d||!1!==i.leading||(d=h);var y=o-(h-d);return c=this,l=arguments,y<=0||y>o?(a&&(clearTimeout(a),a=null),d=h,u=t.apply(c,l),a||(c=l=null)):a||!1===i.trailing||(a=setTimeout(p,y)),u};return h.cancel=function(){clearTimeout(a),d=0,a=c=l=null},h}var _e={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 Ee='[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 xe=!1;try{var ke=Object.defineProperty({},"passive",{get:function get(){xe=!0}});window.addEventListener("testPassive",null,ke),window.removeEventListener("testPassive",null,ke)}catch(st){}var Oe=xe,Pe=["touchstart","mousedown"],Ce=["touchmove","mousemove"],Te=["touchend","touchcancel","mouseup","mouseleave"],Ie=["mousedown","mousemove","mouseup","mouseleave"];var je='[data-glide-el^="controls"]',Re="".concat(je,' [data-glide-dir*="<"]'),Ne="".concat(je,' [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(Ee),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(Ee," 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(Le[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){Ae.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),h=a.slice(0,p).reverse(),y=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},h={mount:function mount(){this.bindSwipeStart()},start:function start(o){if(!d&&!t.disabled){this.disable();var a=this.touches(o);c=null,l=toInt(a.pageX),u=toInt(a.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),i.emit("swipe.start")}},move:function move(a){if(!t.disabled){var d=t.settings,p=d.touchAngle,h=d.touchRatio,y=d.classes,v=this.touches(a),g=toInt(v.pageX)-l,b=toInt(v.pageY)-u,w=Math.abs(g<<2),_=Math.abs(b<<2),E=Math.sqrt(w+_),S=Math.sqrt(_);if(!(180*(c=Math.asin(S/E))/Math.PIv&&b"))):o.Move.make(),o.Html.root.classList.remove(h.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),i.emit("swipe.end")}},bindSwipeStart:function bindSwipeStart(){var i=this,c=t.settings,l=c.swipeThreshold,u=c.dragThreshold;l&&a.on(Pe[0],o.Html.wrapper,(function(t){i.start(t)}),p),u&&a.on(Pe[1],o.Html.wrapper,(function(t){i.start(t)}),p)},unbindSwipeStart:function unbindSwipeStart(){a.off(Pe[0],o.Html.wrapper,p),a.off(Pe[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(Te,o.Html.wrapper,(function(o){t.end(o)}))},unbindSwipeEnd:function unbindSwipeEnd(){a.off(Te,o.Html.wrapper)},touches:function touches(t){return Ie.indexOf(t.type)>-1?t:t.touches[0]||t.changedTouches[0]},threshold:function threshold(o){var i=t.settings;return Ie.indexOf(o.type)>-1?i.dragThreshold:i.swipeThreshold},enable:function enable(){return d=!1,o.Transition.enable(),this},disable:function disable(){return d=!0,o.Transition.disable(),this}};return i.on("build.after",(function(){o.Html.root.classList.add(t.settings.classes.swipeable)})),i.on("destroy",(function(){h.unbindSwipeStart(),h.unbindSwipeMove(),h.unbindSwipeEnd(),a.destroy()})),h},Images:function Images(t,o,i){var a=new 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}},Me=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=_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}(we),Fe=function init(){console.log("".concat("uiGlide"," init")),document.querySelectorAll(".glide").forEach((function(t){if(!t.dataset.glide){t.dataset.glide=!0;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 l=t.querySelectorAll(".glide__slide").length;for(l--;l>=0;){var u=document.createElement("button");u.classList.add("glide__bullet"),u.dataset.glideDir=i,a.append(u),l--}t.append(a)}if(o.bsArrows){var d=document.createElement("div");d.classList.add("glide__arrows"),d.dataset.glideEl="controls";var p=document.createElement("button");p.classList.add("glide__arrow","glide__arrow--left"),p.dataset.glideDir="<",p.innerText="prev",d.append(p);var h=document.createElement("button");h.classList.add("glide__arrow","glide__arrow--right"),h.dataset.glideDir=">",h.innerText="next",d.append(h),t.append(d)}var y=new Me(t,{startAt:0,type:"carousel",perView:o.perView,autoplay:o.bsInterval,gap:0,breakpoints:{768:{perView:1},992:{perView:parseInt(o.perView/2)}}});y.on("mount.after",(function(){t.dispatchEvent(new Event("".concat(c.CAROUSEL_READY))),window.dispatchEvent(new Event("".concat(c.CAROUSEL_READY)))})),y.mount()}}))};window.addEventListener("".concat(c.LODEDANDREADY),Fe),window.addEventListener("".concat(c.AJAX),(function(){setTimeout(Fe,300)}));var Ge="uiTurnstile",He=".".concat(Ge,",.js-turnstile"),ze=function init(){console.log("".concat(Ge,": init")),document.querySelectorAll(He).length?document.querySelector("#captchaAPI")||"undefined"!==typeof window.turnstile?Ue():qe(init):console.log("".concat(Ge,": No Captcha fields."))},Ue=function renderCaptcha(){console.log("".concat(Ge,": renderCaptcha")),document.querySelectorAll(He).forEach((function(t){if(t.dataset[Ge]||t.innerHTML.length>0)t.dataset.widgetid&&turnstile.reset(t.dataset.widgetid);else{var o=window.turnstile.render(t,{sitekey:t.dataset.sitekey,callback:function callback(t){console.log("".concat(Ge,": Challenge Success ").concat(t))}});t.closest("form").addEventListener("submit",(function(){console.log("".concat(Ge,": submit")),window.turnstile.reset(t.dataset.widgetid)})),t.dataset.widgetid=o,t.dataset[Ge]=!0}}))},qe=function loadScript(){console.log("".concat(Ge,": Loading Captcha API ..."));var t=document.createElement("script");t.id="captchaAPI",t.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit&onload=renderCaptcha&hl=".concat(document.querySelector("html").getAttribute("lang").substr(0,2)),t.async=!0,document.body.append(t)};window.renderCaptcha=Ue,window.addEventListener("".concat(c.LODEDANDREADY),ze),window.addEventListener("".concat(c.AJAX),ze);!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(a){a.classList.contains("".concat(o,"-active"))||(a.addEventListener("click",(function(a){var c=a.currentTarget.closest(".field").querySelector("input");c&&function toggle(a){console.log("".concat(o,": toggle")),t&&clearTimeout(t),i(a)}(c)})),a.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 Be=function e(t){function n(t,o,i){var a,c={};if(Array.isArray(t))return t.concat(o);for(a in t)c[i?a.toLowerCase():a]=t[a];for(a in o){var l=i?a.toLowerCase():a,u=o[a];c[l]=l in c&&"object"==redaxios_module_typeof(u)?n(c[l],u,"headers"==l):u}return c}function r(o,i,a,c,l){var u="string"!=typeof o?(i=o).url:o,d={config:i},p=n(t,i),h={};c=c||p.data,(p.transformRequest||[]).map((function(t){c=t(c,p.headers)||c})),p.auth&&(h.authorization=p.auth),c&&"object"==redaxios_module_typeof(c)&&"function"!=typeof c.append&&"function"!=typeof c.text&&(c=JSON.stringify(c),h["content-type"]="application/json");try{h[p.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp("(^|; )"+p.xsrfCookieName+"=([^;]*)"))[2])}catch(o){}return p.baseURL&&(u=u.replace(/^(?!.*\/\/)\/?/,p.baseURL+"/")),p.params&&(u+=(~u.indexOf("?")?"&":"?")+(p.paramsSerializer?p.paramsSerializer(p.params):new URLSearchParams(p.params))),(p.fetch||fetch)(u,{method:(a||p.method||"get").toUpperCase(),body:c,headers:n(p.headers,h,!0),credentials:p.withCredentials?"include":l}).then((function(t){for(var o in t)"function"!=typeof t[o]&&(d[o]=t[o]);return"stream"==p.responseType?(d.data=t.body,d):t[p.responseType||"text"]().then((function(t){d.data=t,d.data=JSON.parse(t)})).catch(Object).then((function(){return(p.validateStatus?p.validateStatus(t.status):t.ok)?d:Promise.reject(d)}))}))}return t=t||{},r.request=r,r.get=function(t,o){return r(t,o,"get")},r.delete=function(t,o){return r(t,o,"delete")},r.head=function(t,o){return r(t,o,"head")},r.options=function(t,o){return r(t,o,"options")},r.post=function(t,o,i){return r(t,i,"post",o)},r.put=function(t,o,i){return r(t,i,"put",o)},r.patch=function(t,o,i){return r(t,i,"patch",o)},r.all=Promise.all.bind(Promise),r.spread=function(t){return t.apply.bind(t,t)},r.CancelToken="function"==typeof AbortController?AbortController:Object,r.defaults=t,r.create=e,r}();!function(t){var o,i="main.online",a=document,l=a.body,u=a.querySelector('meta[name="ping"]'),d=!1,p=function UPDATE_ONLINE_STATUS(a){d||(d=!0,a?(l.classList.contains("is-offline")?(console.log("".concat(i,": back Online")),t.dispatchEvent(new Event(c.BACKONLINE))):(console.log("".concat(i,": Online")),t.dispatchEvent(new Event(c.ONLINE))),l.classList.add("is-online"),l.classList.remove("is-offline"),u&&!o&&(console.log("".concat(i,": SESSION_PING is active")),o=setInterval(y,3e5))):(console.log("".concat(i,": Offline")),l.classList.add("is-offline"),l.classList.remove("is-online"),clearInterval(o),o=null,t.dispatchEvent(new Event(c.OFFLINE))),d=!1)},h=!1,y=function SESSION_PING(){if(!h&&!l.classList.contains("is-offline")){var t=u.getAttribute("content");console.log("".concat(i,": session ping")),h=!0,Be.post(t,{}).then((function(t){h=!1,p(!0)})).catch((function(t){console.error(t),console.warn("".concat(i,": SESSION_PING failed")),h=!1,p(!1)}))}},v=function navigatorStateUpdate(){"undefined"!==typeof navigator.onLine&&(navigator.onLine?p(!0):p(!1))};t.addEventListener("".concat(c.OFFLINE),(function(){p(!1)})),t.addEventListener("".concat(c.ONLINE),(function(){p(!0)})),t.addEventListener("".concat(c.LOADED),v),t.addEventListener("".concat(c.AJAX),v)}(window);function image_typeof(t){return image_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},image_typeof(t)}function image_defineProperties(t,o){for(var i=0;i=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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}var $e="uiAjaxForm",Je="form-container",Xe=function submitForm(t){var o=t.currentTarget;t.preventDefault(),console.log("".concat($e,": submit"));var i=new FormData(o),a=o.parentElement,c=o.querySelectorAll('input[type="submit"],button'),l=o.getAttribute("ID");c.forEach((function(t){t.setAttribute("disabled","disabled")})),i.append("formid",l),i.append("ajax","1"),Qe(o),a.classList.remove("loaded"),a.classList.add("loading"),fetch(o.action,{method:o.method,headers:{"x-requested-with":"XMLHttpRequest","x-requested-form":l},body:i}).then(function(){var t=function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}(_regeneratorRuntime().mark((function _callee(t){return _regeneratorRuntime().wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:if(t.ok){i.next=4;break}return console.error("".concat($e,": BAD RESPONSE")),console.log(t),i.abrupt("return");case 4:t.text().then((function(t){var i=Ze(t);return i.json?tt(o,i.data):rt(o,i.data)}));case 5:case"end":return i.stop()}}),_callee)})));return function(o){return t.apply(this,arguments)}}())},Qe=function clearAlerts(t){t.querySelectorAll(".field__alert,.form__message").forEach((function(t){t.remove()}))},Ze=function processResponse(t){try{var o=JSON.parse(t);if(o.MainContent)try{return{json:!0,data:o=JSON.parse(o.MainContent)}}catch(st){return{json:!1,data:o.MainContent}}return{json:!0,data:o}}catch(st){return{json:!1,data:t}}},et=function isAlertResponse(t){return t.indexOf('class="alert')||t.indexOf("class='alert")},tt=function formProcessJson(t,o){var i=(o.status,"success");if(o.location){if(console.log("".concat($e,": Redirect")),o.loadAjax||"undefined"===typeof window.app.Router)window.location=o.location;else{var a=document.createElement("a");a.setAttribute("href",o.location),window.app.Router.linkClick(a,new Event("click"))}return nt(t)}if(o.msgs){var c=t.querySelector(".form__fieldset");return o.msgs.forEach((function(o){var a,l,u=document.createElement("div");((a=u.classList).add.apply(a,["field__alert"]),et(o.message))||(l=u.classList).add.apply(l,["alert","alert-".concat(i),"alert-".concat(o.messageCast),"".concat(o.messageType)]);u.innerHTML=o.message;var d=t.querySelector('[name="'.concat(o.fieldName,'"],[name^="').concat(o.fieldName,'["]'));if(d){d.classList.add("error");var p=d.closest(".form__field");if(p)return p.classList.add("error"),void p.appendChild(u)}t.insertBefore(u,c)})),nt(t)}var l=et(o.message)?o.message:'
').concat(o.message,"
");return rt(t,l)},nt=function setLoaded(t){var o=t.parentElement;o.classList.remove("loading"),o.classList.add("loaded"),t.querySelectorAll('input[type="submit"],button').forEach((function(t){t.removeAttribute("disabled","disabled")})),window.dispatchEvent(new Event("".concat(c.AJAX)))},rt=function replaceForm(t,o){var i=t.parentElement;i.innerHTML=o,i.classList.remove("loading"),i.classList.add("loaded");var a=i.querySelector("form");if(a)return a.addEventListener("submit",Xe),nt(a)},ot=function formInit(t){if(t.dataset["".concat($e,"Active")])return console.log("".concat($e,": #").concat(t.id," already activated")),!1;var o=t.parentElement;if(!o.classList.contains(Je)){var i=document.createElement("div");i.classList.add(Je),i.append(t),o.append(i)}t.dataset["".concat($e,"Active")]=!0,t.addEventListener("submit",Xe)},it=function init(){console.log("".concat($e,": init")),document.querySelectorAll("#MainContent form:not(.legacy),.ajax-form").forEach(ot)};window.addEventListener("".concat(c.LODEDANDREADY),it),window.addEventListener("".concat(c.AJAX),it);!function(t){var o="_layout",i=document;t.addEventListener("".concat(c.LODEDANDREADY),(function(){!function initFonts(){console.log("".concat(o,": initFonts"));var t=i.createElement("link");t.rel="stylesheet",t.type="text/css",t.media="all",t.href="https://fonts.googleapis.com/css?family=Roboto:ital,wght@0,400;0,700;1,400&display=swap",i.getElementsByTagName("head")[0].appendChild(t)}(),function initAnalytics(){console.log("".concat(o,": initAnalytics"))}()}))}(window);function importAll(t){return t.keys().map(t)}if(importAll(a(480)),importAll(a(9906)),"serviceWorker"in navigator){var at=(document.getElementsByTagName("base")[0]||{}).href,ct=(document.querySelector('meta[name="swversion"]')||{}).content;at&&navigator.serviceWorker.register("".concat(at,"sw.js?v=").concat(ct)).then((function(){console.log("Service Worker Registered")}))}},4788: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"}},829:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 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 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 request: Error")),o.errors.forEach((function(t){console.error(t.message)}))),i.next=6,o;case 6:return i.abrupt("return",i.sent);case 7:case"end":return i.stop()}}),_callee)}))),function request(t){return a.apply(this,arguments)})};t.exports=u},1595:function(t,o,i){var a,c,l=i(4788),u=i(5638),d=i(2991);null!==(c=(a=window).app)&&void 0!==c||(a.app={}),window.app.Events=l.default,window.app.Router=u,window.app.Page=d;var p=document.getElementById("MainContent");p&&p.dataset.legacy||(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()})))},2991:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}function ownKeys(t,o){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);o&&(a=a.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),i.push.apply(i,a)}return i}function _objectSpread(t){for(var o=1;o loadContent: start ").concat(t)),console.time("".concat(c," > loadContent")),(o=document.querySelector("#MainContent>.main-content"))&&o.remove(),Object.keys(d).forEach((function(t){p[t]=d[t]})),l.redraw(),g.prev=6,g.next=9,u.request({url:t,method:"GET"});case 9:if(y=g.sent,v=y,console.log("".concat(c," > loadContent: done")),v){g.next=18;break}return console.warn("".concat(c,": loadContent: ").concat(t," > NOT FOUND")),window.app.Router.removeActiveState(),window.location.href=t,console.timeEnd("".concat(c," > loadContent")),g.abrupt("return");case 18:p.title=null!==(i=v.Title)&&void 0!==i?i:window.document.title,p.id=v.ID,p.link=null!==(a=v.Link)&&void 0!==a?a:"/",p.requestlink=null!==(h=v.RequestLink)&&void 0!==h?h:"/",p.CSSClass=v.CSSClass+" loaded",p.Resources=v.Resources,p.renderPage(v),window.app.Router.setPage(p),console.timeEnd("".concat(c," > loadContent")),g.next=35;break;case 29:g.prev=29,g.t0=g.catch(6),console.error("".concat(c,": loadContent > FAILED")),console.error(g.t0),p.title="Loading Failed!",console.timeEnd("".concat(c," > loadContent"));case 35:case"end":return g.stop()}}),_callee,null,[[6,29]])}))),function loadContent(t){return a.apply(this,arguments)}),renderPage:function renderPage(t){t.MainContent?p.content=l.trust(t.MainContent):t.elementalArea&&(p.content=l(".elemental-area",t.elementalArea.elements.map((function(t){var o=t.className.replaceAll("\\","__").toLowerCase();return l("div",{id:t.id,class:"element "+o},l(".element__container.container",l.trust(t.forTemplate)))}))))}});t.exports=p},1058:function(t){var o,i,a,c;null!==(i=(o=window).app)&&void 0!==i||(o.app={}),null!==(c=(a=window.app).filesLoaded)&&void 0!==c||(a.filesLoaded="app.js app.css");var l=document.getElementsByTagName("head")[0];t.exports=function loadResource(t){return t.includes("js")?function loadJS(t){if(-1===window.app.filesLoaded.indexOf(t))return window.app.filesLoaded+=" "+t,new Promise((function(o,i){var a=document.createElement("script");a.src=t,a.type="text/javascript",a.async=!0,a.onload=function(){console.log("Loaded: ".concat(t)),o()},a.onerror=i,l.append(a)}))}(t):function loadCSS(t){if(-1===window.app.filesLoaded.indexOf(t))return window.app.filesLoaded+=" "+t,new Promise((function(o,i){var a=document.createElement("link");a.href=t,a.type="text/css",a.rel="stylesheet",a.onload=function(){console.log("Loaded: ".concat(t)),o()},a.onerror=i,l.append(a)}))}(t)}},803:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}var a,c=i(7208),l=i(2991),u=i(1058);t.exports={oninit:function oninit(){if(window.app.Router.isFormResponse()){console.log("".concat("uiPageTpl",": Page is form response, stop page content loading")),window.app.Router.initLinks();var t=document.getElementById("PageLoading");t&&t.classList.add("d-none")}else l.loadContent(document.location.pathname)},onupdate:(a=function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}(_regeneratorRuntime().mark((function _callee(){var t,o;return _regeneratorRuntime().wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:if(window.app.Router.initLinks(),!l.Resources){i.next=6;break}return t=Array.isArray(l.Resources)?l.Resources:JSON.parse(l.Resources),o=t.map(u),i.next=6,Promise.all(o);case 6:window.dispatchEvent(new Event(window.app.Events.AJAX));case 7:case"end":return i.stop()}}),_callee)}))),function onupdate(){return a.apply(this,arguments)}),view:function view(){return c("main",{class:l.CSSClass},c("div",{class:"element page-header-element"},c("div",{class:"element-container container"},c("h1",{class:"page-header"},l.title))),l.content)}}},5638:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}var a,c="uiRouter",l=i(2991),u=i(2344),d={behavior:"smooth",block:"start",inline:"nearest"},p={FirstLoad:!0,initLinks:function initLinks(){document.querySelectorAll("a:not(.legacy)").forEach((function(t){t.dataset[c]||(t.dataset[c]="active",t.addEventListener("click",(function(o){p.linkClick(t,o)})))}))},linkClick:function linkClick(t,o){return _asyncToGenerator(_regeneratorRuntime().mark((function _callee(){var i,a,l,u,h,y;return _regeneratorRuntime().wrap((function _callee$(v){for(;;)switch(v.prev=v.next){case 0:if(console.time("".concat(c," > linkClick")),a=(i=t).getAttribute("href"),l=new URL(a,document.location.origin),a){v.next=10;break}return o.preventDefault(),console.warn("".concat(c," > linkClick: no href")),console.warn(o),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!1);case 10:if(!l.hash||l.pathname&&"/graphql/"!==l.pathname&&(l.hostname!==document.location.hostname||l.pathname!==document.location.pathname)){v.next=17;break}return o.preventDefault(),console.log("".concat(c," > linkClick: hash URL")),(u=document.querySelector(l.hash))&&u.scrollIntoView(d),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!0);case 17:if(l.hostname!==document.location.hostname||l.pathname!==document.location.pathname){v.next=22;break}return o.preventDefault(),console.log("".concat(c," > linkClick: same URL")),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!1);case 22:if(i.getAttribute("target")||!p.sameOrigin(a)){v.next=33;break}return o.preventDefault(),console.log("".concat(c," > linkClick: local URL")),t.classList.add("loading"),p.setNavParentClasses(t,"loading"),t.classList.contains("stretched-link")&&(h=t.parentElement).classList.contains("element")&&h.classList.add("loading"),v.next=30,p.openURL(a);case 30:return y=v.sent,console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",y);case 33:return console.log("".concat(c," > linkClick: external URL")),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!0);case 36:case"end":return v.stop()}}),_callee)})))()},sameOrigin:function sameOrigin(t){var o=p.getAbsURL(t),i=new URL(o),a=new URL(window.location.href);return i.host===a.host&&(i.port===a.port&&i.protocol===a.protocol)},isAbsURL:function isAbsURL(t){return t.indexOf("://")>0||0===t.indexOf("//")},getAbsURL:function getAbsURL(t){return p.isAbsURL(t)?t:new URL(t,document.location.origin).href},getRelURL:function getRelURL(t){return new URL(t,document.location.origin).pathname},requestMethod:function requestMethod(){return document.querySelector('meta[name="http_method"]').getAttribute("content")},isFormResponse:function isFormResponse(){return document.location.search.includes("SecurityID")||"POST"===p.requestMethod()||document.location.pathname.match("element/([0-9]+)/([A-z]+)")},openURL:(a=_asyncToGenerator(_regeneratorRuntime().mark((function _callee2(t){return _regeneratorRuntime().wrap((function _callee2$(o){for(;;)switch(o.prev=o.next){case 0:if(!p.sameOrigin(t)){o.next=4;break}return o.next=3,l.loadContent(p.getRelURL(t));case 3:return o.abrupt("return",o.sent);case 4:return window.location.href=t,o.abrupt("return",!0);case 6:case"end":return o.stop()}}),_callee2)}))),function openURL(t){return a.apply(this,arguments)}),setPage:function setPage(t){p.setLocation(t.title,t.link,t)},setLocation:function setLocation(t,o,i){var a,c=null!==(a=i.requestlink)&&void 0!==a?a:o,l=i?{id:i.id,link:c,title:i.title}:{},u=p.getAbsURL(c),d=window.history.state;p.FirstLoad||d&&d.link&&d.link===l.link||window.history.pushState(l,t,u),p.FirstLoad=!1,document.title=t,p.removeActiveState(),p.setActiveState(c)},setNavParentClasses:function setNavParentClasses(t,o){t.classList.contains("nav-link")&&u(t,".nav-item").forEach((function(t){t.querySelectorAll(":scope > .nav-link").forEach((function(t){t.classList.add(o)}))}))},setActiveState:function setActiveState(t){document.querySelectorAll('a[href="'.concat(t,'"],.a[data-href="').concat(t,'"]')).forEach((function(t){t.classList.add("active"),t.classList.contains("nav-link")&&p.setNavParentClasses(t,"section")}));var o=document.getElementById("PageLoading");o&&o.classList.add("d-none"),window.scroll({top:0,left:0,behavior:"instant"})},removeActiveState:function removeActiveState(){document.querySelectorAll("a,.a,.nav-link,.element").forEach((function(t){t.classList.remove("active","loading","section")})),document.activeElement instanceof window.HTMLElement&&document.activeElement.blur(),document.querySelectorAll('.navbar-toggler[aria-expanded="true"]').forEach((function(t){t.click()}));var t=document.getElementById("SearchFormContainer");t&&t.classList.remove("show")},popState:function popState(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&t.link?(console.log("".concat(c,": [popstate] load")),p.openURL(t.link)):t&&t.landing?(console.log("".concat(c,": [popstate] go to landing")),p.openURL(t.landing)):(console.warn("".concat(c,": [popstate] state is missing")),console.log(t))}};window.addEventListener("popstate",(function(t){p.popState(window.history.state)})),t.exports=p},2344: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}},7146: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},7844:function(t,o,i){"use strict";var a=i(8427);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}}},5558: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(8427),c=i(8784),l=i(6627),u=i(6649),d=i(4306),p=i(494),h=i(9312),y=i(2499),v={};function decodeURIComponentSave(t){try{return decodeURIComponent(t)}catch(o){return t}}t.exports=function(t,o){var i,g,b,w,_,E,S=null==t?null:"function"===typeof t.setImmediate?t.setImmediate:t.setTimeout,A=l.resolve(),L=!1,x=!1,k=0,O=v,P={onbeforeupdate:function onbeforeupdate(){return!(!(k=k?2:1)||v===O)},onremove:function onremove(){t.removeEventListener("popstate",fireAsync,!1),t.removeEventListener("hashchange",resolveRoute,!1)},view:function view(){if(k&&v!==O){var t=[a(b,w.key,w)];return O&&(t=O.render(t[0])),t}}},C=route.SKIP={};function resolveRoute(){L=!1;var a=t.location.hash;"#"!==route.prefix[0]&&(a=t.location.search+a,"?"!==route.prefix[0]&&"/"!==(a=t.location.pathname+a)[0]&&(a="/"+a));var c=a.concat().replace(/(?:%[a-f89][a-f0-9])+/gim,decodeURIComponentSave).slice(route.prefix.length),l=d(c);function reject(t){console.error(t),setPath(g,null,{replace:!0})}h(l.params,t.history.state),function loop(t){for(;t=0&&(_+=t.slice(i,u)),v>=0&&(_+=(i<0?"?":"&")+y.slice(v,b));var E=a(h);return E&&(_+=(i<0&&v<0?"?":"&")+E),l>=0&&(_+=t.slice(l)),g>=0&&(_+=(l<0?"":"&")+y.slice(g)),_}},494:function(t,o,i){"use strict";var a=i(4306);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))}}},3903:function(t){"use strict";function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var o=function PromisePolyfill(t){if(!(this instanceof PromisePolyfill))throw new Error("Promise must be called with 'new'.");if("function"!==typeof t)throw new TypeError("executor must be a function.");var o=this,i=[],a=[],c=handler(i,!0),l=handler(a,!1),u=o._instance={resolvers:i,rejectors:a},d="function"===typeof setImmediate?setImmediate:setTimeout;function handler(t,c){return function execute(p){var h;try{if(!c||null==p||"object"!==_typeof(p)&&"function"!==typeof p||"function"!==typeof(h=p.then))d((function(){c||0!==t.length||console.error("Possible unhandled promise rejection:",p);for(var o=0;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 y=0;y0&&(c.className=a.join(" ")),d[t]={tag:i,attrs:c}}(t),o):(o.tag=t,o)}},484: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(8427);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,h=i.createDocumentFragment();p=d.firstChild;)o.instance.push(p),h.appendChild(p);insertNode(t,h,c)}function updateNodes(t,o,i,a,c,l){if(o!==i&&(null!=o||null!=i))if(null==o||0===o.length)createNodes(t,i,0,i.length,a,c,l);else if(null==i||0===i.length)removeNodes(t,o,0,o.length);else{var d=null!=o[0]&&null!=o[0].key,p=null!=i[0]&&null!=i[0].key,h=0,y=0;if(!d)for(;y=y&&S>=h&&(b=o[E],w=i[S],b.key===w.key);)b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),E--,S--;for(;E>=y&&S>=h&&(v=o[y],g=i[h],v.key===g.key);)y++,h++,v!==g&&updateNode(t,v,g,a,getNextSibling(o,y,c),l);for(;E>=y&&S>=h&&h!==S&&v.key===w.key&&b.key===g.key;)moveNodes(t,b,_=getNextSibling(o,y,c)),b!==g&&updateNode(t,b,g,a,_,l),++h<=--S&&moveNodes(t,v,c),v!==w&&updateNode(t,v,w,a,c,l),null!=w.dom&&(c=w.dom),y++,b=o[--E],w=i[S],v=o[y],g=i[h];for(;E>=y&&S>=h&&b.key===w.key;)b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),S--,b=o[--E],w=i[S];if(h>S)removeNodes(t,o,y,E+1);else if(y>E)createNodes(t,i,h,S+1,a,c,l);else{var A,L,x=c,k=S-h+1,O=new Array(k),P=0,C=0,T=2147483647,I=0;for(C=0;C=h;C--){null==A&&(A=getKeyMap(o,y,E+1));var j=A[(w=i[C]).key];null!=j&&(T=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}(O),P=L.length-1,C=S;C>=h;C--)g=i[C],-1===O[C-h]?createNode(t,g,a,l,c):L[P]===C-h?P--:moveNodes(t,g,c),null!=g.dom&&(c=i[C].dom);else for(C=S;C>=h;C--)g=i[C],-1===O[C-h]&&createNode(t,g,a,l,c),null!=g.dom&&(c=i[C].dom)}}else{var R=o.lengthR&&removeNodes(t,o,h,o.length),i.length>R&&createNodes(t,i,h,i.length,a,c,l)}}}function updateNode(t,o,i,c,l,u){var d=o.tag;if(d===i.tag){if(i.state=o.state,i.events=o.events,function shouldNotUpdate(t,o){do{var i;if(null!=t.attrs&&"function"===typeof t.attrs.onbeforeupdate)if(void 0!==(i=callHook.call(t.attrs.onbeforeupdate,t,o))&&!i)break;if("string"!==typeof t.tag&&"function"===typeof t.state.onbeforeupdate)if(void 0!==(i=callHook.call(t.state.onbeforeupdate,t,o))&&!i)break;return!1}while(0);return t.dom=o.dom,t.domSize=o.domSize,t.instance=o.instance,t.attrs=o.attrs,t.children=o.children,t.text=o.text,!0}(i,o))return;if("string"===typeof d)switch(null!=i.attrs&&updateLifecycle(i.attrs,i,c),d){case"#":!function updateText(t,o){t.children.toString()!==o.children.toString()&&(t.dom.nodeValue=o.children);o.dom=t.dom}(o,i);break;case"<":!function updateHTML(t,o,i,a,c){o.children!==i.children?(removeHTML(t,o),createHTML(t,i,a,c)):(i.dom=o.dom,i.domSize=o.domSize,i.instance=o.instance)}(t,o,i,u,l);break;case"[":!function updateFragment(t,o,i,a,c,l){updateNodes(t,o.children,i.children,a,c,l);var u=0,d=i.children;if(i.dom=null,null!=d){for(var p=0;p-1||null!=t.attrs&&t.attrs.is||"href"!==o&&"list"!==o&&"form"!==o&&"width"!==o&&"height"!==o)&&o in t.dom}var d,p=/[A-Z]/g;function toLowerCase(t){return"-"+t.toLowerCase()}function normalizeKey(t){return"-"===t[0]&&"-"===t[1]?t:"cssFloat"===t?"float":t.replace(p,toLowerCase)}function updateStyle(t,o,i){if(o===i);else if(null==i)t.style.cssText="";else if("object"!==_typeof(i))t.style.cssText=i;else if(null==o||"object"!==_typeof(o))for(var a in t.style.cssText="",i){null!=(c=i[a])&&t.style.setProperty(normalizeKey(a),String(c))}else{for(var a in i){var c;null!=(c=i[a])&&(c=String(c))!==String(o[a])&&t.style.setProperty(normalizeKey(a),c)}for(var a in o)null!=o[a]&&null==i[a]&&t.style.removeProperty(normalizeKey(a))}}function EventDict(){this._=o}function updateEvent(t,i,a){if(null!=t.events){if(t.events._=o,t.events[i]===a)return;null==a||"function"!==typeof a&&"object"!==_typeof(a)?(null!=t.events[i]&&t.dom.removeEventListener(i.slice(2),t.events,!1),t.events[i]=void 0):(null==t.events[i]&&t.dom.addEventListener(i.slice(2),t.events,!1),t.events[i]=a)}else null==a||"function"!==typeof a&&"object"!==_typeof(a)||(t.events=new EventDict,t.dom.addEventListener(i.slice(2),t.events,!1),t.events[i]=a)}function initLifecycle(t,o,i){"function"===typeof t.oninit&&callHook.call(t.oninit,o),"function"===typeof t.oncreate&&i.push(callHook.bind(t.oncreate,o))}function updateLifecycle(t,o,i){"function"===typeof t.onupdate&&i.push(callHook.bind(t.onupdate,o))}return EventDict.prototype=Object.create(null),EventDict.prototype.handleEvent=function(t){var o,i=this["on"+t.type];"function"===typeof i?o=i.call(t.currentTarget,t):"function"===typeof i.handleEvent&&i.handleEvent(t),this._&&!1!==t.redraw&&(0,this._)(),!1===o&&(t.preventDefault(),t.stopPropagation())},function(t,i,c){if(!t)throw new TypeError("DOM element being rendered to does not exist.");if(null!=d&&t.contains(d))throw new TypeError("Node is currently being rendered to and thus is locked.");var l=o,u=d,p=[],h=activeElement(),y=t.namespaceURI;d=t,o="function"===typeof c?c:void 0;try{null==t.vnodes&&(t.textContent=""),i=a.normalizeChildren(Array.isArray(i)?i:[i]),updateNodes(t,t.vnodes,i,p,null,"http://www.w3.org/1999/xhtml"===y?void 0:y),t.vnodes=i,null!=h&&activeElement()!==h&&"function"===typeof h.focus&&h.focus();for(var v=0;v=200&&t.target.status<300||304===t.target.status||/^file:\/\//i.test(o),d=t.target.response;if("json"===y){if(!t.target.responseType&&"function"!==typeof i.extract)try{d=JSON.parse(t.target.responseText)}catch(h){d=null}}else y&&"text"!==y||null==d&&(d=t.target.responseText);if("function"===typeof i.extract?(d=i.extract(t.target,i),u=!0):"function"===typeof i.deserialize&&(d=i.deserialize(d)),u)a(d);else{var p=function completeErrorResponse(){try{c=t.target.responseText}catch(h){c=d}var o=new Error(c);o.code=t.target.status,o.response=d,l(o)};0===v.status?setTimeout((function(){b||p()})):p()}}catch(h){l(h)}},v.ontimeout=function(t){b=!0;var o=new Error("Request timed out");o.code=t.target.status,l(o)},"function"===typeof i.config&&(v=i.config(v,i,o)||v)!==w&&(u=v.abort,v.abort=function(){g=!0,u.call(this)}),null==p?v.send():"function"===typeof i.serialize?v.send(i.serialize(p)):p instanceof t.FormData||p instanceof t.URLSearchParams?v.send(p):v.send(JSON.stringify(p))})),jsonp:makeRequest((function(o,i,a,c){var u=i.callbackName||"_mithril_"+Math.round(1e16*Math.random())+"_"+l++,d=t.document.createElement("script");t[u]=function(o){delete t[u],d.parentNode.removeChild(d),a(o)},d.onerror=function(){delete t[u],d.parentNode.removeChild(d),c(new Error("JSONP request failed"))},d.src=o+(o.indexOf("?")<0?"?":"&")+encodeURIComponent(i.callbackKey||"callback")+"="+encodeURIComponent(u),t.document.documentElement.appendChild(d)}))}}},9961:function(t,o,i){"use strict";var a=i(821);t.exports=i(5558)("undefined"!==typeof window?window:null,a)},9312:function(t,o,i){"use strict";var a=i(1437);t.exports=Object.assign||function(t,o){for(var i in o)a.call(o,i)&&(t[i]=o[i])}},2499:function(t,o,i){"use strict";var a=i(1437),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}},1437:function(t){"use strict";t.exports={}.hasOwnProperty},4991: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}}},6730:function(t){t.exports="../img/bg.png"},8614:function(t){t.exports="../img/logo.png"},4993:function(t){t.exports="../img/logo.svg"},6670:function(t){t.exports="../img/original.png"},6526:function(t){t.exports="../img/original2.png"},7782:function(t){t.exports="../img/photo1.png"},2637:function(t){t.exports="../img/photo2.jpg"},1955:function(t){t.exports="../img/photo3.svg"},9906: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=9906,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__(5652)}()}(); \ No newline at end of file +!function(){var t={480:function(t,o,i){var a={"./bg.png":6730,"./logo.png":8614,"./logo.svg":4993,"./original.png":6670,"./original2.png":6526,"./photo1.png":7782,"./photo2.jpg":2637,"./photo3.svg":1955,"app/client/src/img/bg.png":6730,"app/client/src/img/logo.png":8614,"app/client/src/img/logo.svg":4993,"app/client/src/img/original.png":6670,"app/client/src/img/original2.png":6526,"app/client/src/img/photo1.png":7782,"app/client/src/img/photo2.jpg":2637,"app/client/src/img/photo3.svg":1955,"bg.png":6730,"img/bg.png":6730,"img/logo.png":8614,"img/logo.svg":4993,"img/original.png":6670,"img/original2.png":6526,"img/photo1.png":7782,"img/photo2.jpg":2637,"img/photo3.svg":1955,"logo.png":8614,"logo.svg":4993,"original.png":6670,"original2.png":6526,"photo1.png":7782,"photo2.jpg":2637,"photo3.svg":1955};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=480},4337: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")):(y=!1,i.classList.add("portrait"),i.classList.remove("landscape")),console.log("".concat("_main.css-screen-size",": screen size detected ").concat(d," | landscape ").concat(y)),i.removeChild(c),d};t.detectCSSScreenSize=a,t.addEventListener("".concat(c.LOADED),a),t.addEventListener("".concat(c.RESIZE),a)})(window),a(2347);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(){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}((function MainUI(){!function main_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,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")}}])}(),u=function documentInit(){a.init(),console.groupEnd("init"),console.timeEnd("init"),t.addEventListener("".concat(c.LOADED),(function(o){t.dispatchEvent(new Event(c.LODEDANDREADY))}))};"loading"===document.readyState?document.addEventListener("".concat(c.DOMLOADED),u):u(),t.addEventListener("".concat(c.LODEDANDREADY),(function(){i.classList.add("loaded"),"undefined"!==typeof t.app&&"undefined"!==typeof t.app.Router||(console.warn("Spinner is hidden"),p.hide())})),t.addEventListener("".concat(c.AJAX),(function(){a.loaded()})),t.MainUI=a})(window),a(4072);var h=a(8459),y=document.getElementById("MainContent"),v=document.createElement("div");if(y.dataset.legacy){var g=document.getElementById("PageLoading");g&&(window.addEventListener("".concat(c.LOADED),(function(){g.classList.add("d-none")})),window.addEventListener("".concat(c.AJAX),(function(){g.classList.add("d-none")})))}else{v.classList.add("page--container"),y.append(v);var b=a(6058);h.mount(v,b)}var w="ajax-load",_="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}),E.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(this,"hide",(function(){var o=t;console.log("".concat(o.name,": hide")),o.setState({shown:!1}),E.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")),E.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!"))}E.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}),E.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(1684)(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()}E.dispatchEvent(new Event("{ui.name}.init"))}),[{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 h=document.createElement("nav");h.classList.add("meta-navs");var y=document.createElement("button");y.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),y.innerHTML=' Previous',y.addEventListener("click",(function(t){t.preventDefault(),o.prev()})),h.append(y);var v=document.createElement("button");v.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__next","a"),v.innerHTML=' Next',v.addEventListener("click",(function(t){t.preventDefault(),o.next()})),h.append(v),u.append(h)}}var g=document.createElement("section");if(g.classList.add("meta-wrap","typography"),o.state.extraClass&&g.classList.add(o.state.extraClass),g.innerHTML=o.getHtml(),u.append(g),o.state.error){var b=document.createElement("div");b.classList.add("meta-error"),b.innerHTML=o.state.error,u.append(b)}else if(o.state.caption){var w=document.createElement("div");w.classList.add("meta-caption"),w.innerHTML=o.getCaption(),u.append(w)}return"undefined"!==typeof window.FontAwesome&&window.FontAwesome.dom.i2svg(),o}}])}(),A=S,L=document.getElementById("MetaLightboxApp");L||(console.warn("MetaWindow: missing container #MetaLightboxApp - create new one"),(L=document.createElement("div")).setAttribute("id","MetaLightboxApp"),document.querySelector("body").append(L));var x=function init(){var t=window.MetaWindow;"undefined"===typeof t&&(t=new A({target:L}),window.MetaWindow=t),t.init()};window.addEventListener("".concat(_),x),window.addEventListener("".concat(w),x),window.addEventListener("MetaWindow.initLinks",x);var k=new Map,O=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],"."))},P=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(I(t)):null},D=function getjQuery(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},M=[],G=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),G(t))})),setTimeout((function(){a||function triggerTransitionEnd(t){t.dispatchEvent(new Event(T))}(o)}),i)}else G(t)};function _slicedToArray(t,o){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,o){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var a,c,l,u,d=[],p=!0,h=!1;try{if(l=(i=i.call(t)).next,0===o){if(Object(i)!==i)return;p=!1}else for(;!(p=(a=l.call(i)).done)&&(d.push(a.value),d.length!==o);p=!0);}catch(t){h=!0,c=t}finally{try{if(!p&&null!=i.return&&(u=i.return(),Object(u)!==u))return}finally{if(h)throw c}}return d}}(t,o)||event_handler_unsupportedIterableToArray(t,o)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _createForOfIteratorHelper(t,o){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=event_handler_unsupportedIterableToArray(t))||o&&t&&"number"===typeof t.length){i&&(t=i);var a=0,c=function F(){};return{s:c,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){i=i.call(t)},n:function n(){var t=i.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==i.return||i.return()}finally{if(d)throw l}}}}function event_handler_unsupportedIterableToArray(t,o){if(t){if("string"===typeof t)return event_handler_arrayLikeToArray(t,o);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?event_handler_arrayLikeToArray(t,o):void 0}}function event_handler_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var i=0,a=new Array(o);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 Y.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 K){d=function wrapFunction(t){return function(o){if(!o.relatedTarget||o.relatedTarget!==o.delegateTarget&&!o.delegateTarget.contains(o.relatedTarget))return t.call(this,o)}}(d)}var h=getElementEvents(t),y=h[p]||(h[p]={}),v=findHandler(y,d,u?i:null);if(v)v.oneOff=v.oneOff&&c;else{var g=makeEventUid(d,o.replace(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,y[g]=b,t.addEventListener(p,b,u)}}}function removeHandler(t,o,i,a,c){var l=findHandler(o[i],a,c);l&&(t.removeEventListener(i,l,Boolean(c)),delete o[i][l.uidEvent])}function removeNamespacedHandlers(t,o,i,a){for(var c=o[i]||{},l=0,u=Object.entries(c);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 P(N(t),this.DATA_KEY)}},{key:"getOrCreateInstance",value:function getOrCreateInstance(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(t)||new this(t,"object"===base_component_typeof(o)?o:null)}},{key:"VERSION",get:function get(){return"5.3.3"}},{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)}}])}(Q),ee=Z;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(!R(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=te(t);return o&&ne.findOne(o)?o:null},getElementFromSelector:function getElementFromSelector(t){var o=te(t);return o?ne.findOne(o):null},getMultipleElementsFromSelector:function getMultipleElementsFromSelector(t){var o=te(t);return o?ne.find(o):[]}},re=ne;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(ue)}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=N(t.parent),t}},{key:"_getDimension",value:function _getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}},{key:"_initializeChildren",value:function _initializeChildren(){if(this._config.parent){var t,o=collapse_createForOfIteratorHelper(this._getFirstLevelChildren(he));try{for(o.s();!(t=o.n()).done;){var i=t.value,a=re.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=re.find(pe,this._config.parent);return re.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 ye}},{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]()}}))}}])}(ee);J.on(document,le,he,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();var o,i=collapse_createForOfIteratorHelper(re.getMultipleElementsFromSelector(this));try{for(i.s();!(o=i.n()).done;){var a=o.value;ve.getOrCreateInstance(a,{toggle:!1}).toggle()}}catch(c){i.e(c)}finally{i.f()}})),function defineJQueryPlugin(t){!function onDOMContentLoaded(t){"loading"===document.readyState?(M.length||document.addEventListener("DOMContentLoaded",(function(){for(var t=0,o=M;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)}!function Toggle(t){console.log("".concat(o,": nav toggle"));var i=t.querySelector(".dropdown-menu"),c=i.classList.contains("show");a(),i&&!c&&i.classList.add("show")}(l)}c.dataset.firstClick=!0})),i.classList.add("".concat(o,"-active")),i.classList.add("".concat(o,"-click-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.classList.contains("".concat(o,"-hover-active"))||(t.addEventListener("mouseover",l,!1),t.addEventListener("mouseleave",u,!1),t.classList.add("".concat(o,"-active")),t.classList.add("".concat(o,"-hover-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 be,this.disabled=!1,this.selector=t,this.settings=mergeOptions(ge,o),this.index=this.settings.startAt}return glide_esm_createClass(Glide,[{key:"mount",value:function mount$1(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),isObject(t)?this._c=function mount(t,o,i){var a={};for(var c in o)isFunction(o[c])?a[c]=o[c](t,a,i):warn("Extension must be a function");for(var l in a)isFunction(a[l].mount)&&a[l].mount();return a}(this,t,this._e):warn("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function mutate(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return isArray(t)?this._t=t:warn("You need to provide a array on `mutate()`"),this}},{key:"update",value:function update(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.settings=mergeOptions(this.settings,t),t.hasOwnProperty("startAt")&&(this.index=t.startAt),this._e.emit("update"),this}},{key:"go",value:function go(t){return this._c.Run.make(t),this}},{key:"move",value:function move(t){return this._c.Transition.disable(),this._c.Move.make(t),this}},{key:"destroy",value:function destroy(){return this._e.emit("destroy"),this}},{key:"play",value:function play(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&(this.settings.autoplay=t),this._e.emit("play"),this}},{key:"pause",value:function pause(){return this._e.emit("pause"),this}},{key:"disable",value:function disable(){return this.disabled=!0,this}},{key:"enable",value:function enable(){return this.disabled=!1,this}},{key:"on",value:function on(t,o){return this._e.on(t,o),this}},{key:"isType",value:function isType(t){return this.settings.type===t}},{key:"settings",get:function get(){return this._o},set:function set(t){isObject(t)?this._o=t:warn("Options must be an `object` instance.")}},{key:"index",get:function get(){return this._i},set:function set(t){this._i=toInt(t)}},{key:"type",get:function get(){return this.settings.type}},{key:"disabled",get:function get(){return this._d},set:function set(t){this._d=!!t}}]),Glide}();function now(){return(new Date).getTime()}function throttle(t,o,i){var a,c,l,u,d=0;i||(i={});var p=function later(){d=!1===i.leading?0:now(),a=null,u=t.apply(c,l),a||(c=l=null)},h=function throttled(){var h=now();d||!1!==i.leading||(d=h);var y=o-(h-d);return c=this,l=arguments,y<=0||y>o?(a&&(clearTimeout(a),a=null),d=h,u=t.apply(c,l),a||(c=l=null)):a||!1===i.trailing||(a=setTimeout(p,y)),u};return h.cancel=function(){clearTimeout(a),d=0,a=c=l=null},h}var _e={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 Ee='[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 xe=!1;try{var ke=Object.defineProperty({},"passive",{get:function get(){xe=!0}});window.addEventListener("testPassive",null,ke),window.removeEventListener("testPassive",null,ke)}catch(st){}var Oe=xe,Pe=["touchstart","mousedown"],Ce=["touchmove","mousemove"],Te=["touchend","touchcancel","mouseup","mouseleave"],Ie=["mousedown","mousemove","mouseup","mouseleave"];var je='[data-glide-el^="controls"]',Re="".concat(je,' [data-glide-dir*="<"]'),Ne="".concat(je,' [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(Ee),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(Ee," 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(Le[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){Ae.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),h=a.slice(0,p).reverse(),y=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},h={mount:function mount(){this.bindSwipeStart()},start:function start(o){if(!d&&!t.disabled){this.disable();var a=this.touches(o);c=null,l=toInt(a.pageX),u=toInt(a.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),i.emit("swipe.start")}},move:function move(a){if(!t.disabled){var d=t.settings,p=d.touchAngle,h=d.touchRatio,y=d.classes,v=this.touches(a),g=toInt(v.pageX)-l,b=toInt(v.pageY)-u,w=Math.abs(g<<2),_=Math.abs(b<<2),E=Math.sqrt(w+_),S=Math.sqrt(_);if(!(180*(c=Math.asin(S/E))/Math.PIv&&b"))):o.Move.make(),o.Html.root.classList.remove(h.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),i.emit("swipe.end")}},bindSwipeStart:function bindSwipeStart(){var i=this,c=t.settings,l=c.swipeThreshold,u=c.dragThreshold;l&&a.on(Pe[0],o.Html.wrapper,(function(t){i.start(t)}),p),u&&a.on(Pe[1],o.Html.wrapper,(function(t){i.start(t)}),p)},unbindSwipeStart:function unbindSwipeStart(){a.off(Pe[0],o.Html.wrapper,p),a.off(Pe[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(Te,o.Html.wrapper,(function(o){t.end(o)}))},unbindSwipeEnd:function unbindSwipeEnd(){a.off(Te,o.Html.wrapper)},touches:function touches(t){return Ie.indexOf(t.type)>-1?t:t.touches[0]||t.changedTouches[0]},threshold:function threshold(o){var i=t.settings;return Ie.indexOf(o.type)>-1?i.dragThreshold:i.swipeThreshold},enable:function enable(){return d=!1,o.Transition.enable(),this},disable:function disable(){return d=!0,o.Transition.disable(),this}};return i.on("build.after",(function(){o.Html.root.classList.add(t.settings.classes.swipeable)})),i.on("destroy",(function(){h.unbindSwipeStart(),h.unbindSwipeMove(),h.unbindSwipeEnd(),a.destroy()})),h},Images:function Images(t,o,i){var a=new 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}},Me=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=_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}(we),Fe=function init(){console.log("".concat("uiGlide"," init")),document.querySelectorAll(".glide").forEach((function(t){if(!t.dataset.glide){t.dataset.glide=!0;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 l=t.querySelectorAll(".glide__slide").length;for(l--;l>=0;){var u=document.createElement("button");u.classList.add("glide__bullet"),u.dataset.glideDir=i,a.append(u),l--}t.append(a)}if(o.bsArrows){var d=document.createElement("div");d.classList.add("glide__arrows"),d.dataset.glideEl="controls";var p=document.createElement("button");p.classList.add("glide__arrow","glide__arrow--left"),p.dataset.glideDir="<",p.innerText="prev",d.append(p);var h=document.createElement("button");h.classList.add("glide__arrow","glide__arrow--right"),h.dataset.glideDir=">",h.innerText="next",d.append(h),t.append(d)}var y=new Me(t,{startAt:0,type:"carousel",perView:o.perView,autoplay:o.bsInterval,gap:0,breakpoints:{768:{perView:1},992:{perView:parseInt(o.perView/2)}}});y.on("mount.after",(function(){t.dispatchEvent(new Event("".concat(c.CAROUSEL_READY))),window.dispatchEvent(new Event("".concat(c.CAROUSEL_READY)))})),y.mount()}}))};window.addEventListener("".concat(c.LODEDANDREADY),Fe),window.addEventListener("".concat(c.AJAX),(function(){setTimeout(Fe,300)}));var Ge="uiTurnstile",He=".".concat(Ge,",.js-turnstile"),ze=function init(){console.log("".concat(Ge,": init")),document.querySelectorAll(He).length?document.querySelector("#captchaAPI")||"undefined"!==typeof window.turnstile?Ue():qe(init):console.log("".concat(Ge,": No Captcha fields."))},Ue=function renderCaptcha(){console.log("".concat(Ge,": renderCaptcha")),document.querySelectorAll(He).forEach((function(t){if(t.dataset[Ge]||t.innerHTML.length>0)t.dataset.widgetid&&turnstile.reset(t.dataset.widgetid);else{var o=window.turnstile.render(t,{sitekey:t.dataset.sitekey,callback:function callback(t){console.log("".concat(Ge,": Challenge Success ").concat(t))}});t.closest("form").addEventListener("submit",(function(){console.log("".concat(Ge,": submit")),window.turnstile.reset(t.dataset.widgetid)})),t.dataset.widgetid=o,t.dataset[Ge]=!0}}))},qe=function loadScript(){console.log("".concat(Ge,": Loading Captcha API ..."));var t=document.createElement("script");t.id="captchaAPI",t.src="https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit&onload=renderCaptcha&hl=".concat(document.querySelector("html").getAttribute("lang").substr(0,2)),t.async=!0,document.body.append(t)};window.renderCaptcha=Ue,window.addEventListener("".concat(c.LODEDANDREADY),ze),window.addEventListener("".concat(c.AJAX),ze);!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(a){a.classList.contains("".concat(o,"-active"))||(a.addEventListener("click",(function(a){var c=a.currentTarget.closest(".field").querySelector("input");c&&function toggle(a){console.log("".concat(o,": toggle")),t&&clearTimeout(t),i(a)}(c)})),a.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 Be=function e(t){function n(t,o,i){var a,c={};if(Array.isArray(t))return t.concat(o);for(a in t)c[i?a.toLowerCase():a]=t[a];for(a in o){var l=i?a.toLowerCase():a,u=o[a];c[l]=l in c&&"object"==redaxios_module_typeof(u)?n(c[l],u,"headers"==l):u}return c}function r(o,i,a,c,l){var u="string"!=typeof o?(i=o).url:o,d={config:i},p=n(t,i),h={};c=c||p.data,(p.transformRequest||[]).map((function(t){c=t(c,p.headers)||c})),p.auth&&(h.authorization=p.auth),c&&"object"==redaxios_module_typeof(c)&&"function"!=typeof c.append&&"function"!=typeof c.text&&(c=JSON.stringify(c),h["content-type"]="application/json");try{h[p.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp("(^|; )"+p.xsrfCookieName+"=([^;]*)"))[2])}catch(o){}return p.baseURL&&(u=u.replace(/^(?!.*\/\/)\/?/,p.baseURL+"/")),p.params&&(u+=(~u.indexOf("?")?"&":"?")+(p.paramsSerializer?p.paramsSerializer(p.params):new URLSearchParams(p.params))),(p.fetch||fetch)(u,{method:(a||p.method||"get").toUpperCase(),body:c,headers:n(p.headers,h,!0),credentials:p.withCredentials?"include":l}).then((function(t){for(var o in t)"function"!=typeof t[o]&&(d[o]=t[o]);return"stream"==p.responseType?(d.data=t.body,d):t[p.responseType||"text"]().then((function(t){d.data=t,d.data=JSON.parse(t)})).catch(Object).then((function(){return(p.validateStatus?p.validateStatus(t.status):t.ok)?d:Promise.reject(d)}))}))}return t=t||{},r.request=r,r.get=function(t,o){return r(t,o,"get")},r.delete=function(t,o){return r(t,o,"delete")},r.head=function(t,o){return r(t,o,"head")},r.options=function(t,o){return r(t,o,"options")},r.post=function(t,o,i){return r(t,i,"post",o)},r.put=function(t,o,i){return r(t,i,"put",o)},r.patch=function(t,o,i){return r(t,i,"patch",o)},r.all=Promise.all.bind(Promise),r.spread=function(t){return t.apply.bind(t,t)},r.CancelToken="function"==typeof AbortController?AbortController:Object,r.defaults=t,r.create=e,r}();!function(t){var o,i="main.online",a=document,l=a.body,u=a.querySelector('meta[name="ping"]'),d=!1,p=function UPDATE_ONLINE_STATUS(a){d||(d=!0,a?(l.classList.contains("is-offline")?(console.log("".concat(i,": back Online")),t.dispatchEvent(new Event(c.BACKONLINE))):(console.log("".concat(i,": Online")),t.dispatchEvent(new Event(c.ONLINE))),l.classList.add("is-online"),l.classList.remove("is-offline"),u&&!o&&(console.log("".concat(i,": SESSION_PING is active")),o=setInterval(y,3e5))):(console.log("".concat(i,": Offline")),l.classList.add("is-offline"),l.classList.remove("is-online"),clearInterval(o),o=null,t.dispatchEvent(new Event(c.OFFLINE))),d=!1)},h=!1,y=function SESSION_PING(){if(!h&&!l.classList.contains("is-offline")){var t=u.getAttribute("content");console.log("".concat(i,": session ping")),h=!0,Be.post(t,{}).then((function(t){h=!1,p(!0)})).catch((function(t){console.error(t),console.warn("".concat(i,": SESSION_PING failed")),h=!1,p(!1)}))}},v=function navigatorStateUpdate(){"undefined"!==typeof navigator.onLine&&(navigator.onLine?p(!0):p(!1))};t.addEventListener("".concat(c.OFFLINE),(function(){p(!1)})),t.addEventListener("".concat(c.ONLINE),(function(){p(!0)})),t.addEventListener("".concat(c.LOADED),v),t.addEventListener("".concat(c.AJAX),v)}(window);function image_typeof(t){return image_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},image_typeof(t)}function image_defineProperties(t,o){for(var i=0;i=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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}var $e="uiAjaxForm",Je="form-container",Xe=function submitForm(t){var o=t.currentTarget;t.preventDefault(),console.log("".concat($e,": submit"));var i=new FormData(o),a=o.parentElement,c=o.querySelectorAll('input[type="submit"],button'),l=o.getAttribute("ID");c.forEach((function(t){t.setAttribute("disabled","disabled")})),i.append("formid",l),i.append("ajax","1"),Qe(o),a.classList.remove("loaded"),a.classList.add("loading"),fetch(o.action,{method:o.method,headers:{"x-requested-with":"XMLHttpRequest","x-requested-form":l},body:i}).then(function(){var t=function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}(_regeneratorRuntime().mark((function _callee(t){return _regeneratorRuntime().wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:if(t.ok){i.next=4;break}return console.error("".concat($e,": BAD RESPONSE")),console.log(t),i.abrupt("return");case 4:t.text().then((function(t){var i=Ze(t);return i.json?tt(o,i.data):rt(o,i.data)}));case 5:case"end":return i.stop()}}),_callee)})));return function(o){return t.apply(this,arguments)}}())},Qe=function clearAlerts(t){t.querySelectorAll(".field__alert,.form__message").forEach((function(t){t.remove()}))},Ze=function processResponse(t){try{var o=JSON.parse(t);if(o.MainContent)try{return{json:!0,data:o=JSON.parse(o.MainContent)}}catch(st){return{json:!1,data:o.MainContent}}return{json:!0,data:o}}catch(st){return{json:!1,data:t}}},et=function isAlertResponse(t){return t.indexOf('class="alert')||t.indexOf("class='alert")},tt=function formProcessJson(t,o){var i=(o.status,"success");if(o.location){if(console.log("".concat($e,": Redirect")),o.loadAjax||"undefined"===typeof window.app.Router)window.location=o.location;else{var a=document.createElement("a");a.setAttribute("href",o.location),window.app.Router.linkClick(a,new Event("click"))}return nt(t)}if(o.msgs){var c=t.querySelector(".form__fieldset");return o.msgs.forEach((function(o){var a,l,u=document.createElement("div");((a=u.classList).add.apply(a,["field__alert"]),et(o.message))||(l=u.classList).add.apply(l,["alert","alert-".concat(i),"alert-".concat(o.messageCast),"".concat(o.messageType)]);u.innerHTML=o.message;var d=t.querySelector('[name="'.concat(o.fieldName,'"],[name^="').concat(o.fieldName,'["]'));if(d){d.classList.add("error");var p=d.closest(".form__field");if(p)return p.classList.add("error"),void p.appendChild(u)}t.insertBefore(u,c)})),nt(t)}var l=et(o.message)?o.message:'
').concat(o.message,"
");return rt(t,l)},nt=function setLoaded(t){var o=t.parentElement;o.classList.remove("loading"),o.classList.add("loaded"),t.querySelectorAll('input[type="submit"],button').forEach((function(t){t.removeAttribute("disabled","disabled")})),window.dispatchEvent(new Event("".concat(c.AJAX)))},rt=function replaceForm(t,o){var i=t.parentElement;i.innerHTML=o,i.classList.remove("loading"),i.classList.add("loaded");var a=i.querySelector("form");if(a)return a.addEventListener("submit",Xe),nt(a)},ot=function formInit(t){if(t.dataset["".concat($e,"Active")])return console.log("".concat($e,": #").concat(t.id," already activated")),!1;var o=t.parentElement;if(!o.classList.contains(Je)){var i=document.createElement("div");i.classList.add(Je),i.append(t),o.append(i)}t.dataset["".concat($e,"Active")]=!0,t.addEventListener("submit",Xe)},it=function init(){console.log("".concat($e,": init")),document.querySelectorAll("#MainContent form:not(.legacy),.ajax-form").forEach(ot)};window.addEventListener("".concat(c.LODEDANDREADY),it),window.addEventListener("".concat(c.AJAX),it);!function(t){var o="_layout",i=document;t.addEventListener("".concat(c.LODEDANDREADY),(function(){!function initFonts(){console.log("".concat(o,": initFonts"));var t=i.createElement("link");t.rel="stylesheet",t.type="text/css",t.media="all",t.href="https://fonts.googleapis.com/css?family=Roboto:ital,wght@0,400;0,700;1,400&display=swap",i.getElementsByTagName("head")[0].appendChild(t)}(),function initAnalytics(){console.log("".concat(o,": initAnalytics"))}()}))}(window);function importAll(t){return t.keys().map(t)}if(importAll(a(480)),importAll(a(9906)),"serviceWorker"in navigator){var at=(document.getElementsByTagName("base")[0]||{}).href,ct=(document.querySelector('meta[name="swversion"]')||{}).content;at&&navigator.serviceWorker.register("".concat(at,"sw.js?v=").concat(ct)).then((function(){console.log("Service Worker Registered")}))}},2889: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"}},752:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 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 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 request: Error")),o.errors.forEach((function(t){console.error(t.message)}))),i.next=6,o;case 6:return i.abrupt("return",i.sent);case 7:case"end":return i.stop()}}),_callee)}))),function request(t){return a.apply(this,arguments)})};t.exports=u},4072:function(t,o,i){var a,c,l=i(2889),u=i(5667),d=i(2642);null!==(c=(a=window).app)&&void 0!==c||(a.app={}),window.app.Events=l.default,window.app.Router=u,window.app.Page=d;var p=document.getElementById("MainContent");p&&p.dataset.legacy||(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()})))},2642:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}function ownKeys(t,o){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);o&&(a=a.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),i.push.apply(i,a)}return i}function _objectSpread(t){for(var o=1;o loadContent: start ").concat(t)),console.time("".concat(c," > loadContent")),(o=document.querySelector("#MainContent>.main-content"))&&o.remove(),Object.keys(d).forEach((function(t){p[t]=d[t]})),l.redraw(),g.prev=6,g.next=9,u.request({url:t,method:"GET"});case 9:if(y=g.sent,v=y,console.log("".concat(c," > loadContent: done")),v){g.next=18;break}return console.warn("".concat(c,": loadContent: ").concat(t," > NOT FOUND")),window.app.Router.removeActiveState(),window.location.href=t,console.timeEnd("".concat(c," > loadContent")),g.abrupt("return");case 18:p.title=null!==(i=v.Title)&&void 0!==i?i:window.document.title,p.id=v.ID,p.link=null!==(a=v.Link)&&void 0!==a?a:"/",p.requestlink=null!==(h=v.RequestLink)&&void 0!==h?h:"/",p.CSSClass=v.CSSClass+" loaded",p.Resources=v.Resources,p.renderPage(v),window.app.Router.setPage(p),console.timeEnd("".concat(c," > loadContent")),g.next=35;break;case 29:g.prev=29,g.t0=g.catch(6),console.error("".concat(c,": loadContent > FAILED")),console.error(g.t0),p.title="Loading Failed!",console.timeEnd("".concat(c," > loadContent"));case 35:case"end":return g.stop()}}),_callee,null,[[6,29]])}))),function loadContent(t){return a.apply(this,arguments)}),renderPage:function renderPage(t){t.MainContent?p.content=l.trust(t.MainContent):t.elementalArea&&(p.content=l(".elemental-area",t.elementalArea.elements.map((function(t){var o=t.className.replaceAll("\\","__").toLowerCase();return l("div",{id:t.id,class:"element "+o},l(".element__container.container",l.trust(t.forTemplate)))}))))}});t.exports=p},8707:function(t){var o,i,a,c;null!==(i=(o=window).app)&&void 0!==i||(o.app={}),null!==(c=(a=window.app).filesLoaded)&&void 0!==c||(a.filesLoaded="app.js app.css");var l=document.getElementsByTagName("head")[0];t.exports=function loadResource(t){return t.includes("js")?function loadJS(t){if(-1===window.app.filesLoaded.indexOf(t))return window.app.filesLoaded+=" "+t,new Promise((function(o,i){var a=document.createElement("script");a.src=t,a.type="text/javascript",a.async=!0,a.onload=function(){console.log("Loaded: ".concat(t)),o()},a.onerror=i,l.append(a)}))}(t):function loadCSS(t){if(-1===window.app.filesLoaded.indexOf(t))return window.app.filesLoaded+=" "+t,new Promise((function(o,i){var a=document.createElement("link");a.href=t,a.type="text/css",a.rel="stylesheet",a.onload=function(){console.log("Loaded: ".concat(t)),o()},a.onerror=i,l.append(a)}))}(t)}},6058:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}var a,c=i(8459),l=i(2642),u=i(8707);t.exports={oninit:function oninit(){if(window.app.Router.isFormResponse()){console.log("".concat("uiPageTpl",": Page is form response, stop page content loading")),window.app.Router.initLinks();var t=document.getElementById("PageLoading");t&&t.classList.add("d-none")}else l.loadContent(document.location.pathname)},onupdate:(a=function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}(_regeneratorRuntime().mark((function _callee(){var t,o;return _regeneratorRuntime().wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:if(window.app.Router.initLinks(),!l.Resources){i.next=6;break}return t=Array.isArray(l.Resources)?l.Resources:JSON.parse(l.Resources),o=t.map(u),i.next=6,Promise.all(o);case 6:window.dispatchEvent(new Event(window.app.Events.AJAX));case 7:case"end":return i.stop()}}),_callee)}))),function onupdate(){return a.apply(this,arguments)}),view:function view(){return c("main",{class:l.CSSClass},c("div",{class:"element page-header-element"},c("div",{class:"element-container container"},c("h1",{class:"page-header"},l.title))),l.content)}}},5667:function(t,o,i){function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c=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 Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}var a,c="uiRouter",l=i(2642),u=i(8001),d={behavior:"smooth",block:"start",inline:"nearest"},p={FirstLoad:!0,initLinks:function initLinks(){document.querySelectorAll("a:not(.legacy)").forEach((function(t){t.dataset[c]||(t.dataset[c]="active",t.addEventListener("click",(function(o){p.linkClick(t,o)})))}))},linkClick:function linkClick(t,o){return _asyncToGenerator(_regeneratorRuntime().mark((function _callee(){var i,a,l,u,h,y;return _regeneratorRuntime().wrap((function _callee$(v){for(;;)switch(v.prev=v.next){case 0:if(console.time("".concat(c," > linkClick")),a=(i=t).getAttribute("href"),l=new URL(a,document.location.origin),a){v.next=10;break}return o.preventDefault(),console.warn("".concat(c," > linkClick: no href")),console.warn(o),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!1);case 10:if(!l.hash||l.pathname&&"/graphql/"!==l.pathname&&(l.hostname!==document.location.hostname||l.pathname!==document.location.pathname)){v.next=17;break}return o.preventDefault(),console.log("".concat(c," > linkClick: hash URL")),(u=document.querySelector(l.hash))&&u.scrollIntoView(d),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!0);case 17:if(l.hostname!==document.location.hostname||l.pathname!==document.location.pathname){v.next=22;break}return o.preventDefault(),console.log("".concat(c," > linkClick: same URL")),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!1);case 22:if(i.getAttribute("target")||!p.sameOrigin(a)){v.next=33;break}return o.preventDefault(),console.log("".concat(c," > linkClick: local URL")),t.classList.add("loading"),p.setNavParentClasses(t,"loading"),t.classList.contains("stretched-link")&&(h=t.parentElement).classList.contains("element")&&h.classList.add("loading"),v.next=30,p.openURL(a);case 30:return y=v.sent,console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",y);case 33:return console.log("".concat(c," > linkClick: external URL")),console.timeEnd("".concat(c," > linkClick")),v.abrupt("return",!0);case 36:case"end":return v.stop()}}),_callee)})))()},sameOrigin:function sameOrigin(t){var o=p.getAbsURL(t),i=new URL(o),a=new URL(window.location.href);return i.host===a.host&&(i.port===a.port&&i.protocol===a.protocol)},isAbsURL:function isAbsURL(t){return t.indexOf("://")>0||0===t.indexOf("//")},getAbsURL:function getAbsURL(t){return p.isAbsURL(t)?t:new URL(t,document.location.origin).href},getRelURL:function getRelURL(t){return new URL(t,document.location.origin).pathname},requestMethod:function requestMethod(){return document.querySelector('meta[name="http_method"]').getAttribute("content")},isFormResponse:function isFormResponse(){return document.location.search.includes("SecurityID")||"POST"===p.requestMethod()||document.location.pathname.match("element/([0-9]+)/([A-z]+)")},openURL:(a=_asyncToGenerator(_regeneratorRuntime().mark((function _callee2(t){return _regeneratorRuntime().wrap((function _callee2$(o){for(;;)switch(o.prev=o.next){case 0:if(!p.sameOrigin(t)){o.next=4;break}return o.next=3,l.loadContent(p.getRelURL(t));case 3:return o.abrupt("return",o.sent);case 4:return window.location.href=t,o.abrupt("return",!0);case 6:case"end":return o.stop()}}),_callee2)}))),function openURL(t){return a.apply(this,arguments)}),setPage:function setPage(t){p.setLocation(t.title,t.link,t)},setLocation:function setLocation(t,o,i){var a,c=null!==(a=i.requestlink)&&void 0!==a?a:o,l=i?{id:i.id,link:c,title:i.title}:{},u=p.getAbsURL(c),d=window.history.state;p.FirstLoad||d&&d.link&&d.link===l.link||window.history.pushState(l,t,u),p.FirstLoad=!1,document.title=t,p.removeActiveState(),p.setActiveState(c)},setNavParentClasses:function setNavParentClasses(t,o){t.classList.contains("nav-link")&&u(t,".nav-item").forEach((function(t){t.querySelectorAll(":scope > .nav-link").forEach((function(t){t.classList.add(o)}))}))},setActiveState:function setActiveState(t){document.querySelectorAll('a[href="'.concat(t,'"],.a[data-href="').concat(t,'"]')).forEach((function(t){t.classList.add("active"),t.classList.contains("nav-link")&&p.setNavParentClasses(t,"section")}));var o=document.getElementById("PageLoading");o&&o.classList.add("d-none"),window.scroll({top:0,left:0,behavior:"instant"})},removeActiveState:function removeActiveState(){document.querySelectorAll("a,.a,.nav-link,.element").forEach((function(t){t.classList.remove("active","loading","section")})),document.activeElement instanceof window.HTMLElement&&document.activeElement.blur(),document.querySelectorAll('.navbar-toggler[aria-expanded="true"]').forEach((function(t){t.click()}));var t=document.getElementById("SearchFormContainer");t&&t.classList.remove("show")},popState:function popState(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&t.link?(console.log("".concat(c,": [popstate] load")),p.openURL(t.link)):t&&t.landing?(console.log("".concat(c,": [popstate] go to landing")),p.openURL(t.landing)):(console.warn("".concat(c,": [popstate] state is missing")),console.log(t))}};window.addEventListener("popstate",(function(t){p.popState(window.history.state)})),t.exports=p},8001: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}},2347: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},8261:function(t,o,i){"use strict";var a=i(6602);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}}},7971: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(6602),c=i(1129),l=i(7472),u=i(7172),d=i(9951),p=i(2763),h=i(2495),y=i(4124),v={};function decodeURIComponentSave(t){try{return decodeURIComponent(t)}catch(o){return t}}t.exports=function(t,o){var i,g,b,w,_,E,S=null==t?null:"function"===typeof t.setImmediate?t.setImmediate:t.setTimeout,A=l.resolve(),L=!1,x=!1,k=0,O=v,P={onbeforeupdate:function onbeforeupdate(){return!(!(k=k?2:1)||v===O)},onremove:function onremove(){t.removeEventListener("popstate",fireAsync,!1),t.removeEventListener("hashchange",resolveRoute,!1)},view:function view(){if(k&&v!==O){var t=[a(b,w.key,w)];return O&&(t=O.render(t[0])),t}}},C=route.SKIP={};function resolveRoute(){L=!1;var a=t.location.hash;"#"!==route.prefix[0]&&(a=t.location.search+a,"?"!==route.prefix[0]&&"/"!==(a=t.location.pathname+a)[0]&&(a="/"+a));var c=a.concat().replace(/(?:%[a-f89][a-f0-9])+/gim,decodeURIComponentSave).slice(route.prefix.length),l=d(c);function reject(t){console.error(t),setPath(g,null,{replace:!0})}h(l.params,t.history.state),function loop(t){for(;t=0&&(_+=t.slice(i,u)),v>=0&&(_+=(i<0?"?":"&")+y.slice(v,b));var E=a(h);return E&&(_+=(i<0&&v<0?"?":"&")+E),l>=0&&(_+=t.slice(l)),g>=0&&(_+=(l<0?"":"&")+y.slice(g)),_}},2763:function(t,o,i){"use strict";var a=i(9951);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))}}},6926:function(t){"use strict";function _typeof(t){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(t)}var o=function PromisePolyfill(t){if(!(this instanceof PromisePolyfill))throw new Error("Promise must be called with 'new'.");if("function"!==typeof t)throw new TypeError("executor must be a function.");var o=this,i=[],a=[],c=handler(i,!0),l=handler(a,!1),u=o._instance={resolvers:i,rejectors:a},d="function"===typeof setImmediate?setImmediate:setTimeout;function handler(t,c){return function execute(p){var h;try{if(!c||null==p||"object"!==_typeof(p)&&"function"!==typeof p||"function"!==typeof(h=p.then))d((function(){c||0!==t.length||console.error("Possible unhandled promise rejection:",p);for(var o=0;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 y=0;y0&&(c.className=a.join(" ")),d[t]={tag:i,attrs:c}}(t),o):(o.tag=t,o)}},203: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(6602);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,h=i.createDocumentFragment();p=d.firstChild;)o.instance.push(p),h.appendChild(p);insertNode(t,h,c)}function updateNodes(t,o,i,a,c,l){if(o!==i&&(null!=o||null!=i))if(null==o||0===o.length)createNodes(t,i,0,i.length,a,c,l);else if(null==i||0===i.length)removeNodes(t,o,0,o.length);else{var d=null!=o[0]&&null!=o[0].key,p=null!=i[0]&&null!=i[0].key,h=0,y=0;if(!d)for(;y=y&&S>=h&&(b=o[E],w=i[S],b.key===w.key);)b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),E--,S--;for(;E>=y&&S>=h&&(v=o[y],g=i[h],v.key===g.key);)y++,h++,v!==g&&updateNode(t,v,g,a,getNextSibling(o,y,c),l);for(;E>=y&&S>=h&&h!==S&&v.key===w.key&&b.key===g.key;)moveNodes(t,b,_=getNextSibling(o,y,c)),b!==g&&updateNode(t,b,g,a,_,l),++h<=--S&&moveNodes(t,v,c),v!==w&&updateNode(t,v,w,a,c,l),null!=w.dom&&(c=w.dom),y++,b=o[--E],w=i[S],v=o[y],g=i[h];for(;E>=y&&S>=h&&b.key===w.key;)b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),S--,b=o[--E],w=i[S];if(h>S)removeNodes(t,o,y,E+1);else if(y>E)createNodes(t,i,h,S+1,a,c,l);else{var A,L,x=c,k=S-h+1,O=new Array(k),P=0,C=0,T=2147483647,I=0;for(C=0;C=h;C--){null==A&&(A=getKeyMap(o,y,E+1));var j=A[(w=i[C]).key];null!=j&&(T=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}(O),P=L.length-1,C=S;C>=h;C--)g=i[C],-1===O[C-h]?createNode(t,g,a,l,c):L[P]===C-h?P--:moveNodes(t,g,c),null!=g.dom&&(c=i[C].dom);else for(C=S;C>=h;C--)g=i[C],-1===O[C-h]&&createNode(t,g,a,l,c),null!=g.dom&&(c=i[C].dom)}}else{var R=o.lengthR&&removeNodes(t,o,h,o.length),i.length>R&&createNodes(t,i,h,i.length,a,c,l)}}}function updateNode(t,o,i,c,l,u){var d=o.tag;if(d===i.tag){if(i.state=o.state,i.events=o.events,function shouldNotUpdate(t,o){do{var i;if(null!=t.attrs&&"function"===typeof t.attrs.onbeforeupdate)if(void 0!==(i=callHook.call(t.attrs.onbeforeupdate,t,o))&&!i)break;if("string"!==typeof t.tag&&"function"===typeof t.state.onbeforeupdate)if(void 0!==(i=callHook.call(t.state.onbeforeupdate,t,o))&&!i)break;return!1}while(0);return t.dom=o.dom,t.domSize=o.domSize,t.instance=o.instance,t.attrs=o.attrs,t.children=o.children,t.text=o.text,!0}(i,o))return;if("string"===typeof d)switch(null!=i.attrs&&updateLifecycle(i.attrs,i,c),d){case"#":!function updateText(t,o){t.children.toString()!==o.children.toString()&&(t.dom.nodeValue=o.children);o.dom=t.dom}(o,i);break;case"<":!function updateHTML(t,o,i,a,c){o.children!==i.children?(removeHTML(t,o),createHTML(t,i,a,c)):(i.dom=o.dom,i.domSize=o.domSize,i.instance=o.instance)}(t,o,i,u,l);break;case"[":!function updateFragment(t,o,i,a,c,l){updateNodes(t,o.children,i.children,a,c,l);var u=0,d=i.children;if(i.dom=null,null!=d){for(var p=0;p-1||null!=t.attrs&&t.attrs.is||"href"!==o&&"list"!==o&&"form"!==o&&"width"!==o&&"height"!==o)&&o in t.dom}var d,p=/[A-Z]/g;function toLowerCase(t){return"-"+t.toLowerCase()}function normalizeKey(t){return"-"===t[0]&&"-"===t[1]?t:"cssFloat"===t?"float":t.replace(p,toLowerCase)}function updateStyle(t,o,i){if(o===i);else if(null==i)t.style.cssText="";else if("object"!==_typeof(i))t.style.cssText=i;else if(null==o||"object"!==_typeof(o))for(var a in t.style.cssText="",i){null!=(c=i[a])&&t.style.setProperty(normalizeKey(a),String(c))}else{for(var a in i){var c;null!=(c=i[a])&&(c=String(c))!==String(o[a])&&t.style.setProperty(normalizeKey(a),c)}for(var a in o)null!=o[a]&&null==i[a]&&t.style.removeProperty(normalizeKey(a))}}function EventDict(){this._=o}function updateEvent(t,i,a){if(null!=t.events){if(t.events._=o,t.events[i]===a)return;null==a||"function"!==typeof a&&"object"!==_typeof(a)?(null!=t.events[i]&&t.dom.removeEventListener(i.slice(2),t.events,!1),t.events[i]=void 0):(null==t.events[i]&&t.dom.addEventListener(i.slice(2),t.events,!1),t.events[i]=a)}else null==a||"function"!==typeof a&&"object"!==_typeof(a)||(t.events=new EventDict,t.dom.addEventListener(i.slice(2),t.events,!1),t.events[i]=a)}function initLifecycle(t,o,i){"function"===typeof t.oninit&&callHook.call(t.oninit,o),"function"===typeof t.oncreate&&i.push(callHook.bind(t.oncreate,o))}function updateLifecycle(t,o,i){"function"===typeof t.onupdate&&i.push(callHook.bind(t.onupdate,o))}return EventDict.prototype=Object.create(null),EventDict.prototype.handleEvent=function(t){var o,i=this["on"+t.type];"function"===typeof i?o=i.call(t.currentTarget,t):"function"===typeof i.handleEvent&&i.handleEvent(t),this._&&!1!==t.redraw&&(0,this._)(),!1===o&&(t.preventDefault(),t.stopPropagation())},function(t,i,c){if(!t)throw new TypeError("DOM element being rendered to does not exist.");if(null!=d&&t.contains(d))throw new TypeError("Node is currently being rendered to and thus is locked.");var l=o,u=d,p=[],h=activeElement(),y=t.namespaceURI;d=t,o="function"===typeof c?c:void 0;try{null==t.vnodes&&(t.textContent=""),i=a.normalizeChildren(Array.isArray(i)?i:[i]),updateNodes(t,t.vnodes,i,p,null,"http://www.w3.org/1999/xhtml"===y?void 0:y),t.vnodes=i,null!=h&&activeElement()!==h&&"function"===typeof h.focus&&h.focus();for(var v=0;v=200&&t.target.status<300||304===t.target.status||/^file:\/\//i.test(o),d=t.target.response;if("json"===y){if(!t.target.responseType&&"function"!==typeof i.extract)try{d=JSON.parse(t.target.responseText)}catch(h){d=null}}else y&&"text"!==y||null==d&&(d=t.target.responseText);if("function"===typeof i.extract?(d=i.extract(t.target,i),u=!0):"function"===typeof i.deserialize&&(d=i.deserialize(d)),u)a(d);else{var p=function completeErrorResponse(){try{c=t.target.responseText}catch(h){c=d}var o=new Error(c);o.code=t.target.status,o.response=d,l(o)};0===v.status?setTimeout((function(){b||p()})):p()}}catch(h){l(h)}},v.ontimeout=function(t){b=!0;var o=new Error("Request timed out");o.code=t.target.status,l(o)},"function"===typeof i.config&&(v=i.config(v,i,o)||v)!==w&&(u=v.abort,v.abort=function(){g=!0,u.call(this)}),null==p?v.send():"function"===typeof i.serialize?v.send(i.serialize(p)):p instanceof t.FormData||p instanceof t.URLSearchParams?v.send(p):v.send(JSON.stringify(p))})),jsonp:makeRequest((function(o,i,a,c){var u=i.callbackName||"_mithril_"+Math.round(1e16*Math.random())+"_"+l++,d=t.document.createElement("script");t[u]=function(o){delete t[u],d.parentNode.removeChild(d),a(o)},d.onerror=function(){delete t[u],d.parentNode.removeChild(d),c(new Error("JSONP request failed"))},d.src=o+(o.indexOf("?")<0?"?":"&")+encodeURIComponent(i.callbackKey||"callback")+"="+encodeURIComponent(u),t.document.documentElement.appendChild(d)}))}}},2478:function(t,o,i){"use strict";var a=i(3748);t.exports=i(7971)("undefined"!==typeof window?window:null,a)},2495:function(t,o,i){"use strict";var a=i(5298);t.exports=Object.assign||function(t,o){for(var i in o)a.call(o,i)&&(t[i]=o[i])}},4124:function(t,o,i){"use strict";var a=i(5298),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}},5298:function(t){"use strict";t.exports={}.hasOwnProperty},1684: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}}},6730:function(t){t.exports="../img/bg.png"},8614:function(t){t.exports="../img/logo.png"},4993:function(t){t.exports="../img/logo.svg"},6670:function(t){t.exports="../img/original.png"},6526:function(t){t.exports="../img/original2.png"},7782:function(t){t.exports="../img/photo1.png"},2637:function(t){t.exports="../img/photo2.jpg"},1955:function(t){t.exports="../img/photo3.svg"},9906: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=9906,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__(4337)}()}(); \ No newline at end of file diff --git a/app/client/dist/records.json b/app/client/dist/records.json index e038d28..80eb12f 100644 --- a/app/client/dist/records.json +++ b/app/client/dist/records.json @@ -31,7 +31,7 @@ 950 ] }, - "mini-css-extract-plugin /mnt/data/srv/dist/repositories/silverstripe-webpack/node_modules/.pnpm/css-loader@6.10.0_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.1.1_sass@1.72.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/_cms.scss": [ + "mini-css-extract-plugin /mnt/data/srv/dist/repositories/silverstripe-webpack/node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/_cms.scss": [ { "chunks": { "byName": { @@ -46,14 +46,308 @@ }, "modules": { "byIdentifier": { - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@6.10.0_webpack@5.91.0/node_modules/css-loader/dist/runtime/api.js": 100, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@6.10.0_webpack@5.91.0/node_modules/css-loader/dist/runtime/sourceMaps.js": 348, - "./node_modules/.pnpm/css-loader@6.10.0_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.1.1_sass@1.72.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/_cms.scss": 838 + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/api.js": 179, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/sourceMaps.js": 533, + "./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/_cms.scss": 680 }, "usedIds": [ - 100, - 348, - 838 + 179, + 533, + 680 + ] + } + } + ], + "mini-css-extract-plugin /mnt/data/srv/dist/repositories/silverstripe-webpack/node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/app.scss": [ + { + "chunks": { + "byName": { + "child": 615 + }, + "bySource": { + "0 child": 615 + }, + "usedIds": [ + 615 + ] + }, + "modules": { + "byIdentifier": { + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/api.js": 179, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/getUrl.js": 562, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/sourceMaps.js": 533, + "./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/app.scss": 137, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%272%27 fill=%27%23fff%27/%3e%3c/svg%3e": 385, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%2386b7fe%27/%3e%3c/svg%3e": 782, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%23fff%27/%3e%3c/svg%3e": 718, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%280, 0, 0, 0.25%29%27/%3e%3c/svg%3e": 154, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%28255, 255, 255, 0.25%29%27/%3e%3c/svg%3e": 734, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27 width=%2712%27 height=%2712%27 fill=%27none%27 stroke=%27%23dc3545%27%3e%3ccircle cx=%276%27 cy=%276%27 r=%274.5%27/%3e%3cpath stroke-linejoin=%27round%27 d=%27M5.8 3.6h.4L6 6.5z%27/%3e%3ccircle cx=%276%27 cy=%278.2%27 r=%27.6%27 fill=%27%23dc3545%27 stroke=%27none%27/%3e%3c/svg%3e": 372, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23000%27%3e%3cpath d=%27M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z%27/%3e%3c/svg%3e": 249, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%236ea8fe%27%3e%3cpath fill-rule=%27evenodd%27 d=%27M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e": 690, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23052c65%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e": 210, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23212529%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e": 326, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23343a40%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e": 531, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23dee2e6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e": 115, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27M6 10h8%27/%3e%3c/svg%3e": 274, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27m6 10 3 3 6-6%27/%3e%3c/svg%3e": 419, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%28255, 255, 255, 0.55%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e": 366, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%2833, 37, 41, 0.75%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e": 247, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3e%3cpath fill=%27%23198754%27 d=%27M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z%27/%3e%3c/svg%3e": 487 + }, + "usedIds": [ + 115, + 137, + 154, + 179, + 210, + 247, + 249, + 274, + 326, + 366, + 372, + 385, + 419, + 487, + 531, + 533, + 562, + 690, + 718, + 734, + 782 + ] + } + } + ], + "mini-css-extract-plugin /mnt/data/srv/dist/repositories/silverstripe-webpack/node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/types/dev.scss": [ + { + "chunks": { + "byName": { + "child": 615 + }, + "bySource": { + "0 child": 615 + }, + "usedIds": [ + 615 + ] + }, + "modules": { + "byIdentifier": { + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/api.js": 179, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/sourceMaps.js": 533, + "./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/types/dev.scss": 115 + }, + "usedIds": [ + 115, + 179, + 533 + ] + } + } + ], + "mini-css-extract-plugin /mnt/data/srv/dist/repositories/silverstripe-webpack/node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/types/editor.scss": [ + { + "chunks": { + "byName": { + "child": 615 + }, + "bySource": { + "0 child": 615 + }, + "usedIds": [ + 615 + ] + }, + "modules": { + "byIdentifier": { + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/api.js": 179, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/sourceMaps.js": 533, + "./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/types/editor.scss": 945 + }, + "usedIds": [ + 179, + 533, + 945 + ] + } + } + ], + "mini-css-extract-plugin /mnt/data/srv/dist/repositories/silverstripe-webpack/node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/types/order.scss": [ + { + "chunks": { + "byName": { + "child": 615 + }, + "bySource": { + "0 child": 615 + }, + "usedIds": [ + 615 + ] + }, + "modules": { + "byIdentifier": { + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/api.js": 179, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/sourceMaps.js": 533, + "./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/types/order.scss": 456 + }, + "usedIds": [ + 179, + 456, + 533 + ] + } + } + ], + "mini-css-extract-plugin /mnt/data/srv/dist/repositories/silverstripe-webpack/node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./node_modules/.pnpm/@a2nt+ss-bootstrap-ui-webpack-boilerplate-react@5.3.5_zone.js@0.14.4/node_modules/@a2nt/ss-bootstrap-ui-webpack-boilerplate-react/src/scss/types/map.api.scss": [ + { + "chunks": { + "byName": { + "child": 615 + }, + "bySource": { + "0 child": 615 + }, + "usedIds": [ + 615 + ] + }, + "modules": { + "byIdentifier": { + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/api.js": 179, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/sourceMaps.js": 533, + "./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./node_modules/.pnpm/@a2nt+ss-bootstrap-ui-webpack-boilerplate-react@5.3.5_zone.js@0.14.4/node_modules/@a2nt/ss-bootstrap-ui-webpack-boilerplate-react/src/scss/types/map.api.scss": 120 + }, + "usedIds": [ + 120, + 179, + 533 + ] + } + } + ], + "mini-css-extract-plugin /mnt/data/srv/dist/repositories/silverstripe-webpack/node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./node_modules/.pnpm/@a2nt+ss-bootstrap-ui-webpack-boilerplate-react@5.3.5_zone.js@0.14.4/node_modules/@a2nt/ss-bootstrap-ui-webpack-boilerplate-react/src/scss/ui/glide.theme.scss": [ + { + "chunks": { + "byName": { + "child": 615 + }, + "bySource": { + "0 child": 615 + }, + "usedIds": [ + 615 + ] + }, + "modules": { + "byIdentifier": { + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/api.js": 179, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/getUrl.js": 562, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/sourceMaps.js": 533, + "./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./node_modules/.pnpm/@a2nt+ss-bootstrap-ui-webpack-boilerplate-react@5.3.5_zone.js@0.14.4/node_modules/@a2nt/ss-bootstrap-ui-webpack-boilerplate-react/src/scss/ui/glide.theme.scss": 573, + "asset/inline|data:image/svg+xml,<%21--%21 Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license %28Commercial License%29 Copyright 2023 Fonticons, Inc. -->": 332, + "asset/inline|data:image/svg+xml,<%21--%21 Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license %28Commercial License%29 Copyright 2023 Fonticons, Inc. -->": 649 + }, + "usedIds": [ + 179, + 332, + 533, + 562, + 573, + 649 + ] + } + } + ], + "mini-css-extract-plugin /mnt/data/srv/dist/repositories/silverstripe-webpack/node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./node_modules/.pnpm/@glidejs+glide@3.6.0/node_modules/@glidejs/glide/src/assets/sass/glide.core.scss": [ + { + "chunks": { + "byName": { + "child": 615 + }, + "bySource": { + "0 child": 615 + }, + "usedIds": [ + 615 + ] + }, + "modules": { + "byIdentifier": { + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/api.js": 179, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/sourceMaps.js": 533, + "./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./node_modules/.pnpm/@glidejs+glide@3.6.0/node_modules/@glidejs/glide/src/assets/sass/glide.core.scss": 527 + }, + "usedIds": [ + 179, + 527, + 533 + ] + } + } + ], + "mini-css-extract-plugin /mnt/data/srv/dist/repositories/silverstripe-webpack/node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./themes/sample/client/src/scss/app.scss": [ + { + "chunks": { + "byName": { + "child": 615 + }, + "bySource": { + "0 child": 615 + }, + "usedIds": [ + 615 + ] + }, + "modules": { + "byIdentifier": { + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/api.js": 179, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/getUrl.js": 562, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/runtime/sourceMaps.js": 533, + "./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./themes/sample/client/src/scss/app.scss": 147, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%272%27 fill=%27%23fff%27/%3e%3c/svg%3e": 385, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%2386b7fe%27/%3e%3c/svg%3e": 782, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%23fff%27/%3e%3c/svg%3e": 718, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%280, 0, 0, 0.25%29%27/%3e%3c/svg%3e": 154, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%28255, 255, 255, 0.25%29%27/%3e%3c/svg%3e": 734, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12 12%27 width=%2712%27 height=%2712%27 fill=%27none%27 stroke=%27%23dc3545%27%3e%3ccircle cx=%276%27 cy=%276%27 r=%274.5%27/%3e%3cpath stroke-linejoin=%27round%27 d=%27M5.8 3.6h.4L6 6.5z%27/%3e%3ccircle cx=%276%27 cy=%278.2%27 r=%27.6%27 fill=%27%23dc3545%27 stroke=%27none%27/%3e%3c/svg%3e": 372, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%23000%27%3e%3cpath d=%27M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z%27/%3e%3c/svg%3e": 249, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27%236ea8fe%27%3e%3cpath fill-rule=%27evenodd%27 d=%27M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z%27/%3e%3c/svg%3e": 690, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23052c65%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e": 210, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27 fill=%27none%27 stroke=%27%23212529%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3e%3cpath d=%27M2 5L8 11L14 5%27/%3e%3c/svg%3e": 326, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23343a40%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e": 531, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23dee2e6%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e": 115, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27M6 10h8%27/%3e%3c/svg%3e": 274, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3e%3cpath fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%273%27 d=%27m6 10 3 3 6-6%27/%3e%3c/svg%3e": 419, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%28255, 255, 255, 0.55%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e": 366, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27rgba%2833, 37, 41, 0.75%29%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e": 247, + "asset/inline|data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 8 8%27%3e%3cpath fill=%27%23198754%27 d=%27M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z%27/%3e%3c/svg%3e": 487 + }, + "usedIds": [ + 115, + 147, + 154, + 179, + 210, + 247, + 249, + 274, + 326, + 366, + 372, + 385, + 419, + 487, + 531, + 533, + 562, + 690, + 718, + 734, + 782 ] } } @@ -61,47 +355,47 @@ "modules": { "byIdentifier": { "./app/client/src/img|sync|nonrecursive|/\\.(png%7Cwebp%7Cjpg%7Cjpeg%7Cgif%7Csvg)$/": 480, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./app/client/src/js/app.js|acd904f9c40fcd77fe5ae98a1fe080b8": 5652, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./app/client/src/js/types/SilverShop.Page.CheckoutPageController.js": 2386, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./app/client/src/js/types/Site.Controllers.MapElementController.js|4c6daeeac438a9a8ca0db7a9b663c782": 2081, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./app/client/src/js/types/cms.js|5a74df2f7bea5c2c4a2082215142c7cf": 9362, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/_events.js": 4788, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/ajax.js": 829, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/index.js": 1595, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/page/index.js": 2991, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/page/resources.js": 1058, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/page/tpl.js": 803, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/router.js": 5638, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/util/getParents.js": 2344, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+ss-bootstrap-ui-webpack-boilerplate-react@5.3.5_zone.js@0.14.4/node_modules/@a2nt/ss-bootstrap-ui-webpack-boilerplate-react/src/js/main/funcs.js": 7146, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.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": 2685, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.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": 7844, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/api/router.js": 5558, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/hyperscript.js": 2593, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/index.js": 7208, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/mount-redraw.js": 821, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/pathname/build.js": 6649, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/pathname/compileTemplate.js": 494, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/pathname/parse.js": 4306, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/promise/polyfill.js": 3903, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/promise/promise.js": 6627, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/querystring/build.js": 2930, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/querystring/parse.js": 2529, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/render.js": 4374, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/render/fragment.js": 633, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/render/hyperscript.js": 8784, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/render/hyperscriptVnode.js": 484, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/render/render.js": 3202, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/render/trust.js": 5587, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/render/vnode.js": 8427, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/request.js": 3253, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/request/request.js": 8799, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/route.js": 9961, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/util/assign.js": 9312, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/util/censor.js": 2499, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/util/hasOwn.js": 1437, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/youtube-embed@1.0.0/node_modules/youtube-embed/index.js": 4991, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.3_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./themes/sample/client/src/js/app.js": 7902, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./app/client/src/js/app.js|326c6babd158a95d0deeeab5248797ea": 4337, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./app/client/src/js/types/SilverShop.Page.CheckoutPageController.js": 3467, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./app/client/src/js/types/Site.Controllers.MapElementController.js|623a5c8733849d94f29b4b043326f1bd": 5295, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./app/client/src/js/types/cms.js|53a8d812cb17f5d60be32d44958fc9ce": 569, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/_events.js": 2889, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/ajax.js": 752, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/index.js": 4072, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/page/index.js": 2642, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/page/resources.js": 8707, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/page/tpl.js": 6058, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/router.js": 5667, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@1.1.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/util/getParents.js": 8001, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+ss-bootstrap-ui-webpack-boilerplate-react@5.3.5_zone.js@0.14.4/node_modules/@a2nt/ss-bootstrap-ui-webpack-boilerplate-react/src/js/main/funcs.js": 2347, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.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": 4898, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.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": 8261, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/api/router.js": 7971, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/hyperscript.js": 7842, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/index.js": 8459, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/mount-redraw.js": 3748, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/pathname/build.js": 7172, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/pathname/compileTemplate.js": 2763, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/pathname/parse.js": 9951, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/promise/polyfill.js": 6926, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/promise/promise.js": 7472, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/querystring/build.js": 5529, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/querystring/parse.js": 3186, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/render.js": 5655, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/render/fragment.js": 5646, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/render/hyperscript.js": 1129, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/render/hyperscriptVnode.js": 203, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/render/render.js": 5198, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/render/trust.js": 1078, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/render/vnode.js": 6602, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/request.js": 4938, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/request/request.js": 524, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/route.js": 2478, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/util/assign.js": 2495, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/util/censor.js": 4124, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/util/hasOwn.js": 5298, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/youtube-embed@1.0.0/node_modules/youtube-embed/index.js": 1684, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.24.4_webpack@5.91.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./themes/sample/client/src/js/app.js": 7045, "./node_modules/.pnpm/img-optimize-loader@1.0.7_file-loader@6.2.0_webpack@5.91.0/node_modules/img-optimize-loader/dist/index.js??ruleSet[1].rules[4].use[0]!./app/client/src/img/bg.png": 6730, "./node_modules/.pnpm/img-optimize-loader@1.0.7_file-loader@6.2.0_webpack@5.91.0/node_modules/img-optimize-loader/dist/index.js??ruleSet[1].rules[4].use[0]!./app/client/src/img/logo.png": 8614, "./node_modules/.pnpm/img-optimize-loader@1.0.7_file-loader@6.2.0_webpack@5.91.0/node_modules/img-optimize-loader/dist/index.js??ruleSet[1].rules[4].use[0]!./app/client/src/img/logo.svg": 4993, @@ -110,66 +404,66 @@ "./node_modules/.pnpm/img-optimize-loader@1.0.7_file-loader@6.2.0_webpack@5.91.0/node_modules/img-optimize-loader/dist/index.js??ruleSet[1].rules[4].use[0]!./app/client/src/img/photo1.png": 7782, "./node_modules/.pnpm/img-optimize-loader@1.0.7_file-loader@6.2.0_webpack@5.91.0/node_modules/img-optimize-loader/dist/index.js??ruleSet[1].rules[4].use[0]!./app/client/src/img/photo2.jpg": 2637, "./node_modules/.pnpm/img-optimize-loader@1.0.7_file-loader@6.2.0_webpack@5.91.0/node_modules/img-optimize-loader/dist/index.js??ruleSet[1].rules[4].use[0]!./app/client/src/img/photo3.svg": 1955, - "./node_modules/.pnpm/mini-css-extract-plugin@2.8.1_webpack@5.91.0/node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[0]!./node_modules/.pnpm/css-loader@6.10.0_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.1.1_sass@1.72.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/types/dev.scss": 7790, - "./node_modules/.pnpm/mini-css-extract-plugin@2.8.1_webpack@5.91.0/node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[0]!./node_modules/.pnpm/css-loader@6.10.0_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.1.1_sass@1.72.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/types/editor.scss": 9394, - "./node_modules/.pnpm/mini-css-extract-plugin@2.8.1_webpack@5.91.0/node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[0]!./node_modules/.pnpm/css-loader@6.10.0_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.1.1_sass@1.72.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/types/order.scss": 6805, + "./node_modules/.pnpm/mini-css-extract-plugin@2.9.0_webpack@5.91.0/node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[0]!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/types/dev.scss": 6030, + "./node_modules/.pnpm/mini-css-extract-plugin@2.9.0_webpack@5.91.0/node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[0]!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/types/editor.scss": 978, + "./node_modules/.pnpm/mini-css-extract-plugin@2.9.0_webpack@5.91.0/node_modules/mini-css-extract-plugin/dist/loader.js??ruleSet[1].rules[1].use[0]!./node_modules/.pnpm/css-loader@7.1.1_webpack@5.91.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/.pnpm/sass-loader@14.2.1_sass@1.75.0_webpack@5.91.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./app/client/src/scss/types/order.scss": 2229, "./node_modules/font-awesome|sync|nonrecursive|/\\.(otf%7Ceot%7Cttf%7Cwoff%7Cwoff2)$/": 9906 }, "usedIds": [ + 203, 480, - 484, - 494, - 633, - 803, - 821, - 829, - 1058, - 1437, - 1595, + 524, + 569, + 752, + 978, + 1078, + 1129, + 1684, 1955, - 2081, - 2344, - 2386, - 2499, - 2529, - 2593, + 2229, + 2347, + 2478, + 2495, 2637, - 2685, - 2930, - 2991, - 3202, - 3253, - 3903, - 4306, - 4374, - 4788, - 4991, + 2642, + 2763, + 2889, + 3186, + 3467, + 3748, + 4072, + 4124, + 4337, + 4898, + 4938, 4993, - 5558, - 5587, - 5638, - 5652, + 5198, + 5295, + 5298, + 5529, + 5646, + 5655, + 5667, + 6030, + 6058, 6526, - 6627, - 6649, + 6602, 6670, 6730, - 6805, - 7146, - 7208, + 6926, + 7045, + 7172, + 7472, 7782, - 7790, - 7844, - 7902, - 8427, + 7842, + 7971, + 8001, + 8261, + 8459, 8614, - 8784, - 8799, - 9312, - 9362, - 9394, + 8707, 9906, - 9961 + 9951 ] } } \ No newline at end of file diff --git a/app/client/dist/report.html b/app/client/dist/report.html index 22a5834..be4dd5b 100644 --- a/app/client/dist/report.html +++ b/app/client/dist/report.html @@ -3,7 +3,7 @@ - ss-webpack-boilerplate [29 Mar 2024 at 21:11] + ss-webpack-boilerplate [22 Apr 2024 at 17:00] diff --git a/package.json b/package.json index 2b2419c..657f9cf 100755 --- a/package.json +++ b/package.json @@ -37,9 +37,9 @@ "@a2nt/meta-lightbox-js": "^4.2.8", "@a2nt/mithril-ui": "^1.1.5", "@a2nt/ss-bootstrap-ui-webpack-boilerplate-react": "^5.3.5", - "@angular/common": "^17.3.2", - "@angular/core": "^17.3.2", - "@apollo/client": "^3.9.9", + "@angular/common": "^17.3.5", + "@angular/core": "^17.3.5", + "@apollo/client": "^3.9.11", "@glidejs/glide": "^3.6.0", "@popperjs/core": "^2.11.8", "@turf/clone": "^6.5.0", @@ -69,7 +69,7 @@ "localforage-cordovasqlitedriver": "^1.8.0", "lodash.debounce": "^4.0.8", "lodash.throttle": "^4.1.1", - "mapbox-gl": "^3.2.0", + "mapbox-gl": "^3.3.0", "material-design-color": "^2.3.2", "minimatch": "^9.0.4", "mithril": "^2.2.2", @@ -90,7 +90,7 @@ }, "devDependencies": { "@a2nt/image-sprite-webpack-plugin": "^0.2.5", - "@babel/core": "^7.24.3", + "@babel/core": "^7.24.4", "@babel/eslint-parser": "^7.24.1", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/plugin-proposal-object-rest-spread": "^7.20.7", @@ -98,10 +98,10 @@ "@babel/plugin-syntax-top-level-await": "^7.14.5", "@babel/plugin-transform-react-jsx": "^7.23.4", "@babel/plugin-transform-runtime": "^7.24.3", - "@babel/plugin-transform-typescript": "^7.24.1", - "@babel/preset-env": "^7.24.3", + "@babel/plugin-transform-typescript": "^7.24.4", + "@babel/preset-env": "^7.24.4", "@babel/preset-react": "^7.24.1", - "@babel/runtime": "^7.24.1", + "@babel/runtime": "^7.24.4", "@googlemaps/markerclusterer": "^2.5.3", "@sucrase/webpack-loader": "^2.0.0", "@ungap/global-this": "^0.4.4", @@ -118,7 +118,7 @@ "copy-webpack-plugin": "^12.0.2", "croppie": "^2.6.5", "cross-env": "^7.0.3", - "css-loader": "^6.10.0", + "css-loader": "^7.1.1", "css-minimizer-webpack-plugin": "^6.0.0", "eslint": "^8.57.0", "eslint-plugin-import": "^2.29.1", @@ -144,8 +144,8 @@ "img-optimize-loader": "^1.0.7", "js-yaml": "^4.1.0", "loglevel": "^1.9.1", - "mini-css-extract-plugin": "^2.8.1", - "msw": "^2.2.13", + "mini-css-extract-plugin": "^2.9.0", + "msw": "^2.2.14", "node-fetch": "^3.3.2", "object-assign": "^4.1.1", "optimism": "^0.17.5", @@ -162,15 +162,15 @@ "resolve-url-loader": "^5.0.0", "rimraf": "^5.0.5", "routie": "0.0.1", - "sass": "^1.72.0", + "sass": "^1.75.0", "sass-lint": "^1.13.1", "sass-lint-auto-fix": "^0.21.2", "sass-lint-fix": "^1.12.1", - "sass-loader": "^14.1.1", + "sass-loader": "^14.2.1", "scheduler": "^0.23.0", "shallowequal": "^1.1.0", "strip-ansi": "^7.1.0", - "style-loader": "^3.3.4", + "style-loader": "^4.0.0", "sucrase": "^3.35.0", "svg-url-loader": "^8.0.0", "symbol-observable": "^4.0.0", @@ -181,7 +181,7 @@ "url-loader": "^4.1.1", "webpack": "^5.91.0", "webpack-build-notifications": "^0.3.2", - "webpack-bundle-analyzer": "^4.10.1", + "webpack-bundle-analyzer": "^4.10.2", "webpack-cli": "^5.1.4", "webpack-dev-server": "^5.0.4", "webpack-manifest-plugin": "^5.0.0",