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

2 lines
87 KiB
JavaScript

/*! For license information please see sample.js.LICENSE.txt */
!function(){var t={103:function(t,o,a){var i={"./bg.png":936,"./logo.png":579,"./logo.svg":674,"./original.png":717,"./original2.png":214,"./photo1.png":744,"./photo2.jpg":835,"./photo3.svg":3,"app/client/src/img/bg.png":936,"app/client/src/img/logo.png":579,"app/client/src/img/logo.svg":674,"app/client/src/img/original.png":717,"app/client/src/img/original2.png":214,"app/client/src/img/photo1.png":744,"app/client/src/img/photo2.jpg":835,"app/client/src/img/photo3.svg":3,"bg.png":936,"img/bg.png":936,"img/logo.png":579,"img/logo.svg":674,"img/original.png":717,"img/original2.png":214,"img/photo1.png":744,"img/photo2.jpg":835,"img/photo3.svg":3,"logo.png":579,"logo.svg":674,"original.png":717,"original2.png":214,"photo1.png":744,"photo2.jpg":835,"photo3.svg":3};function webpackContext(t){var o=webpackContextResolve(t);return a(o)}function webpackContextResolve(t){if(!a.o(i,t)){var o=new Error("Cannot find module '"+t+"'");throw o.code="MODULE_NOT_FOUND",o}return i[t]}webpackContext.keys=function webpackContextKeys(){return Object.keys(i)},webpackContext.resolve=webpackContextResolve,t.exports=webpackContext,webpackContext.id=103},429:function(t,o,a){"use strict";var i={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"},c=(function(t){var o="_main.visibility",a=document,c=a.body;a.addEventListener("visibilitychange",(function(){"hidden"===a.visibilityState?(console.log("".concat(o,": Tab: hidden")),c.classList.add("is-hidden"),c.classList.remove("is-focused"),t.dispatchEvent(new Event(i.TABHIDDEN))):(console.log("".concat(o,": Tab: focused")),c.classList.add("is-focused"),c.classList.remove("is-hidden"),t.dispatchEvent(new Event(i.TABFOCUSED)))}))}(window),function(t){var o,a,c="_main.touch",l=document,u=l.body,d=function SET_TOUCH_SCREEN(l,d){a||d===o||(l?(console.log("".concat(c,": Touch screen enabled")),u.classList.add("is-touch"),u.classList.remove("is-mouse"),t.dispatchEvent(new Event(i.TOUCHENABLE))):(console.log("".concat(c,": Touch screen disabled")),u.classList.add("is-mouse"),u.classList.remove("is-touch"),t.dispatchEvent(new Event(i.TOUCHDISABLED))),o=d,a||(a=setTimeout((function(){clearTimeout(a),a=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),{ENVS:["xs","sm","md","lg","xl","xxl","xxxl"]});function _toConsumableArray(t){return function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}(t)||function _iterableToArray(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function _unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return _arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return _arrayLikeToArray(t,o)}(t)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}(function(t){var o=document,a=o.body,l=function detectCSSScreenSize(){var i,l=o.createElement("div");l.className="env-test",a.appendChild(l);var u=_toConsumableArray(c.ENVS).reverse(),d=u.shift();(i=a.classList).remove.apply(i,_toConsumableArray(u));for(var p=0;p<u.length;++p){var y=u[p];if(l.classList.add("d-".concat(y,"-none")),"none"===t.getComputedStyle(l).display){d=y,a.classList.add("".concat(d));break}}var m=!0;return t.innerWidth>t.innerHeight?(a.classList.add("landscape"),a.classList.remove("portrait")):(m=!1,a.classList.add("portrait"),a.classList.remove("landscape")),console.log("".concat("_main.css-screen-size",": screen size detected ").concat(d," | landscape ").concat(m)),a.removeChild(l),d};t.detectCSSScreenSize=l,t.addEventListener("".concat(i.LOADED),l),t.addEventListener("".concat(i.RESIZE),l)})(window),a(109);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 a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(c=i.key,l=void 0,l=function _toPrimitive(t,o){if("object"!==_typeof(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,o||"default");if("object"!==_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(c,"string"),"symbol"===_typeof(l)?l:String(l)),i)}var c,l}var l="_main.loading-spinner",u=document.getElementById("PageLoading"),d=function(){function SpinnerUI(){!function _classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,SpinnerUI)}return function _createClass(t,o,a){return o&&_defineProperties(t.prototype,o),a&&_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(SpinnerUI,null,[{key:"show",value:function show(){console.log("".concat(l,": show")),u.classList.remove("d-none")}},{key:"hide",value:function hide(){console.log("".concat(l,": hide")),u.classList.add("d-none")}}]),SpinnerUI}();function main_typeof(t){return main_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},main_typeof(t)}function main_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(c=i.key,l=void 0,l=function main_toPrimitive(t,o){if("object"!==main_typeof(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,o||"default");if("object"!==main_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(c,"string"),"symbol"===main_typeof(l)?l:String(l)),i)}var c,l}!function(t){var o="_main",a=document.body;console.info("%cUI Kit ".concat("@a2nt/ss-bootstrap-ui-webpack-boilerplate-react"," ").concat("5.0.2"),"color:yellow;font-size:14px"),console.info("%c".concat("@a2nt/meta-lightbox-js"," ").concat("4.2.4"),"color:yellow;font-size:12px"),console.info("%chttps://github.com/a2nt/webpack-bootstrap-ui-kit by ".concat("Tony Air <tony@twma.pro>"),"color:yellow;font-size:10px"),console.info("%cENV: ".concat("production"),"color:green;font-size:10px"),console.groupCollapsed("Events"),Object.keys(i).forEach((function(t){console.info("".concat(t,": ").concat(i[t]))})),console.groupEnd("Events"),console.groupCollapsed("Consts"),Object.keys(c).forEach((function(t){console.info("".concat(t,": ").concat(c[t]))})),console.groupEnd("Events"),console.groupCollapsed("Init"),console.time("init");var l=function(){function MainUI(){!function main_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,MainUI)}return function main_createClass(t,o,a){return o&&main_defineProperties(t.prototype,o),a&&main_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(MainUI,null,[{key:"init",value:function init(){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")),d.show(),a.classList.remove("loaded")}}]),MainUI}(),u=function documentInit(){l.init(),a.classList.add("loaded"),d.hide(),console.groupEnd("init"),console.timeEnd("init"),t.addEventListener("".concat(i.LOADED),(function(o){t.dispatchEvent(new Event(i.LODEDANDREADY))}))};"loading"===document.readyState?document.addEventListener("".concat(i.DOMLOADED),u):u(),t.addEventListener("".concat(i.AJAX),(function(){l.loaded()})),t.addEventListener("beforeunload",(function(){l.unloaded()})),t.MainUI=l}(window);var p="ajax-load",y="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 a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return window_arrayLikeToArray(t,o)}(t)||function window_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function window_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}function window_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,window_toPropertyKey(i.key),i)}}function _defineProperty(t,o,a){return(o=window_toPropertyKey(o))in t?Object.defineProperty(t,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[o]=a,t}function window_toPropertyKey(t){var o=function window_toPrimitive(t,o){if("object"!==window_typeof(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,o||"default");if("object"!==window_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===window_typeof(o)?o:String(o)}var m=window,v=function(){function MetaWindow(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{shown:!1},i=arguments.length>1?arguments[1]:void 0;!function window_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,MetaWindow),_defineProperty(this,"state",{content:"",type:["empty"],shown:!1,loading:!1,error:!1,embed:!1,collections:[],current:null,target:null,extraClass:null}),_defineProperty(this,"show",(function(){var o=t;console.log("".concat(o.name,": show")),o.setState({shown:!0}),m.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(this,"hide",(function(){var o=t;console.log("".concat(o.name,": hide")),o.setState({shown:!1}),m.dispatchEvent(new Event("{ui.name}.hide"))})),_defineProperty(this,"next",(function(){var o=t,a=o.state.current.getAttribute("data-gallery"),i=o._currIndex();i<o.state.collections[a].length-1?i++:i=0,o.state.collections[a][i].click(),console.log("".concat(o.name,": next")),m.dispatchEvent(new Event("{ui.name}.next"))})),_defineProperty(this,"prev",(function(){var o=t,a=o.state.current.getAttribute("data-gallery"),i=o._currIndex();i>0?i--:i=o.state.collections[a].length-1,o.state.collections[a][i].click(),console.log("".concat(o.name,": prev")),m.dispatchEvent(new Event("{ui.name}.prev"))})),_defineProperty(this,"reset",(function(){t.setState({content:"",type:["empty"],shown:!1,loading:!1,error:!1,embed:!1})})),_defineProperty(this,"load",(function(o){var a=t;a.reset(),a.setState({loading:!0}),a.show(),window.fetch(o).then((function(t){var i=t.headers.get("content-type");console.log(t),console.log("".concat(a.name,": response content-type: ").concat(i));switch(i){case"image/jpeg":case"image/png":case"image/svg+xml":case"image/bmp":case"image/gif":case"image/tiff":case"image/webp":case"image/jpg":case"image/svg":t.arrayBuffer().then((function(t){a.setContent('<img src="data:'.concat(i,";base64,").concat(a._imageEncode(t),'" />'),"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('<video controls autoplay><source src="'.concat(o,'" type="video/mp4">Your browser does not support the video tag.</video>'),["meta-".concat(a.name,"--image"),"meta-".concat(a.name,"--video")]);break;case"text/html":case"application/xhtml+xml":case"text/plain":case"text/html; charset=UTF-8":case"application/xhtml+xml; charset=UTF-8":case"text/plain; charset=UTF-8":a.setContent(t.data,["meta-".concat(a.name,"--text"),"meta-".concat(a.name,"--html"),"meta-".concat(a.name,"--pajax")]);break;default:console.warn("".concat(a.name,": Unknown response content-type!"))}m.dispatchEvent(new Event("{ui.name}.loaded"))})).catch((function(t){console.error(t);var o="";if(t.response)switch(t.response.status){case 404:o="Not Found.";break;case 500:o="Server issue, please try again latter.";break;default:o="Something went wrong."}else t.request?o="No response received":console.warn("Error",t.message);a.setState({error:o}),m.dispatchEvent(new Event("{ui.name}.error"))})).then((function(){a.setState({loading:!1}),setTimeout((function(){a.state.current.classList.remove("loading")}),1e3)}))})),_defineProperty(this,"_currIndex",(function(){var o=t,a=o.state.current,i=a.getAttribute("data-gallery");return o.state.collections[i].indexOf(a)})),_defineProperty(this,"embed",(function(o){var a=t;console.log("".concat(a.name,": embed")),a.reset(),a.setState({embed:o,loading:!1,type:["meta-".concat(a.name,"--embed"),"meta-".concat(a.name,"--video")]}),a.show()})),_defineProperty(this,"setCaption",(function(o){var a=t;console.log("".concat(a.name,": setCaption")),a.state.caption=o})),_defineProperty(this,"addExtraClass",(function(o){var a=t;o&&o.length&&(console.log("".concat(a.name,": addExtraClass(").concat(o,")")),a.state.extraClass=o)})),_defineProperty(this,"getCaption",(function(){return t.state.caption})),_defineProperty(this,"_imageEncode",(function(t){var o="";return[].slice.call(new Uint8Array(t)).forEach((function(t){o+=String.fromCharCode(t)})),window.btoa(o)})),_defineProperty(this,"setContent",(function(o,a){var i=t;console.log("".concat(i.name,": setContent"));var c=a||["meta-".concat(i.name,"--html"),"meta-".concat(i.name,"--text")];Array.isArray(c)||(c=a.split(" ")),i.setState({content:o,type:c})})),_defineProperty(this,"getHtml",(function(){var o=t;if(o.state.embed){var i=a(627)(o.state.embed);o.state.content='<iframe width="600" height="380" src="'.concat(i,'" frameborder="0"></iframe>')}return o.state.content}));var c=this;switch(c.name=c.constructor.name,console.log("".concat(c.name,": init")),c.setState(o),i){case"show":case"hide":c.hide()}m.dispatchEvent(new Event("{ui.name}.init"))}return function window_createClass(t,o,a){return o&&window_defineProperties(t.prototype,o),a&&window_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(MetaWindow,[{key:"cleanLinks",value:function cleanLinks(){document.querySelectorAll('[data-toggle="lightbox"]').forEach((function(t){t.classList.remove("loading")}))}},{key:"collectGaleries",value:function collectGaleries(t){var o=this;t&&(o.state.collections[t]=[],document.querySelectorAll('[data-toggle="lightbox"][data-gallery="'.concat(t,'"]')).forEach((function(a){o.state.collections[t].push(a)})))}},{key:"toggle",value:function toggle(t){var o=this;o.cleanLinks();var a=t.getAttribute("href")||t.getAttribute("data-href"),i=t.getAttribute("data-embed");t.classList.add("loading"),o.state.current=t;var c=t.getAttribute("data-title");c&&o.setCaption(c),i?o.embed(a):o.load(a),o.addExtraClass(t.getAttribute("data-lightbox-class"))}},{key:"init",value:function init(){var t=this;console.log("MetaWindow: [links] init"),document.querySelectorAll('[data-toggle="lightbox"],[data-gallery]').forEach((function(o){var a=o.getAttribute("data-gallery");t.collectGaleries(a),o.addEventListener("click",(function(o){o.preventDefault(),console.log("MetaWindow: [link] click");var a=o.currentTarget;t.toggle(a)}))}))}},{key:"setState",value:function setState(t){var o=this;o.state=Object.assign({},o.state,t),o.render()}},{key:"render",value:function render(){var t,o=this,a=o.name,i=o.state.current;o.state.target.innerHTML="";var c=document.createElement("div");c.classList.add("meta-".concat(a)),(t=c.classList).add.apply(t,window_toConsumableArray(o.state.type)),o.state.target.append(c);var l=document.createElement("div");l.classList.add("meta-".concat(a,"-overlay")),o.state.shown&&l.classList.add("meta-".concat(a,"-overlay--open")),o.state.loading&&l.classList.add("meta-".concat(a,"-overlay--loading")),o.state.error&&l.classList.add("meta-".concat(a,"-overlay--error")),c.append(l);var u=document.createElement("div");u.classList.add("meta-content"),l.append(u);var d=document.createElement("button");if(d.classList.add("meta-nav","meta-close","a"),d.innerHTML='<i class="icon fa fas fa-times"></i> <span class="visually-hidden">Close</span>',d.addEventListener("click",(function(t){t.preventDefault(),o.hide()})),u.append(d),i){var p=i.getAttribute("data-gallery");if(p&&o.state.collections[p].length>1){var y=document.createElement("nav");y.classList.add("meta-navs");var m=document.createElement("button");m.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),m.innerHTML='<i class="icon fa fas fa-chevron-left"></i> <span class="visually-hidden">Previous</span>',m.addEventListener("click",(function(t){t.preventDefault(),o.prev()})),y.append(m);var v=document.createElement("button");v.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__next","a"),v.innerHTML='<i class="icon fa fas fa-chevron-right"></i> <span class="visually-hidden">Next</span>',v.addEventListener("click",(function(t){t.preventDefault(),o.next()})),y.append(v),u.append(y)}}var g=document.createElement("section");if(g.classList.add("meta-wrap","typography"),o.state.extraClass&&g.classList.add(o.state.extraClass),g.innerHTML=o.getHtml(),u.append(g),o.state.error){var h=document.createElement("div");h.classList.add("meta-error"),h.innerHTML=o.state.error,u.append(h)}else if(o.state.caption){var b=document.createElement("div");b.classList.add("meta-caption"),b.innerHTML=o.getCaption(),u.append(b)}return"undefined"!==typeof window.FontAwesome&&window.FontAwesome.dom.i2svg(),o}}]),MetaWindow}(),g=v,h=document.getElementById("MetaLightboxApp");h||(console.warn("MetaWindow: missing container #MetaLightboxApp - create new one"),(h=document.createElement("div")).setAttribute("id","MetaLightboxApp"),document.querySelector("body").append(h));var b=function init(){var t=window.MetaWindow;"undefined"===typeof t&&(t=new g({target:h}),window.MetaWindow=t),t.init()};window.addEventListener("".concat(y),b),window.addEventListener("".concat(p),b),window.addEventListener("MetaWindow.initLinks",b);var _=new Map,w=function set(t,o,a){_.has(t)||_.set(t,new Map);var i=_.get(t);i.has(o)||0===i.size?i.set(o,a):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(i.keys())[0],"."))},E=function get(t,o){return _.has(t)&&_.get(t).get(o)||null},A=function remove(t,o){if(_.has(t)){var a=_.get(t);a.delete(o),0===a.size&&_.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 a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return util_arrayLikeToArray(t,o)}(t)||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 a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}function util_typeof(t){return util_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},util_typeof(t)}var S="transitionend",O=function parseSelector(t){return t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(function(t,o){return"#".concat(CSS.escape(o))}))),t},L=function toType(t){return null===t||void 0===t?"".concat(t):Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()},C=function triggerTransitionEnd(t){t.dispatchEvent(new Event(S))},P=function isElement(t){return!(!t||"object"!==util_typeof(t))&&("undefined"!==typeof t.jquery&&(t=t[0]),"undefined"!==typeof t.nodeType)},k=function getElement(t){return P(t)?t.jquery?t[0]:t:"string"===typeof t&&t.length>0?document.querySelector(O(t)):null},T=function isVisible(t){if(!P(t)||0===t.getClientRects().length)return!1;var o="visible"===getComputedStyle(t).getPropertyValue("visibility"),a=t.closest("details:not([open])");if(!a)return o;if(a!==t){var i=t.closest("summary");if(i&&i.parentNode!==a)return!1;if(null===i)return!1}return o},I=function reflow(t){t.offsetHeight},j=function getjQuery(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},x=[],D=function isRTL(){return"rtl"===document.documentElement.dir},N=function defineJQueryPlugin(t){!function onDOMContentLoaded(t){"loading"===document.readyState?(x.length||document.addEventListener("DOMContentLoaded",(function(){for(var t=0,o=x;t<o.length;t++)(0,o[t])()})),x.push(t)):t()}((function(){var $=j();if($){var o=t.NAME,a=$.fn[o];$.fn[o]=t.jQueryInterface,$.fn[o].Constructor=t,$.fn[o].noConflict=function(){return $.fn[o]=a,t.jQueryInterface}}}))},R=function execute(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;return"function"===typeof t?t.apply(void 0,util_toConsumableArray(o)):a},M=function executeAfterTransition(t,o){if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]){var a=function getTransitionDurationFromElement(t){if(!t)return 0;var o=window.getComputedStyle(t),a=o.transitionDuration,i=o.transitionDelay,c=Number.parseFloat(a),l=Number.parseFloat(i);return c||l?(a=a.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(a)+Number.parseFloat(i))):0}(o)+5,i=!1;o.addEventListener(S,(function handler(a){a.target===o&&(i=!0,o.removeEventListener(S,handler),R(t))})),setTimeout((function(){i||C(o)}),a)}else R(t)};function _slicedToArray(t,o){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,o){var a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var i,c,l,u,d=[],p=!0,y=!1;try{if(l=(a=a.call(t)).next,0===o){if(Object(a)!==a)return;p=!1}else for(;!(p=(i=l.call(a)).done)&&(d.push(i.value),d.length!==o);p=!0);}catch(m){y=!0,c=m}finally{try{if(!p&&null!=a.return&&(u=a.return(),Object(u)!==u))return}finally{if(y)throw c}}return d}}(t,o)||event_handler_unsupportedIterableToArray(t,o)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=event_handler_unsupportedIterableToArray(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function event_handler_unsupportedIterableToArray(t,o){if(t){if("string"===typeof t)return event_handler_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?event_handler_arrayLikeToArray(t,o):void 0}}function event_handler_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}var H=/[^.]*(?=\..*)\.|.*/,U=/\..*/,q=/::\d+$/,z={},B=1,W={mouseenter:"mouseover",mouseleave:"mouseout"},K=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function makeEventUid(t,o){return o&&"".concat(o,"::").concat(B++)||t.uidEvent||B++}function getElementEvents(t){var o=makeEventUid(t);return t.uidEvent=o,z[o]=z[o]||{},z[o]}function findHandler(t,o){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(t).find((function(t){return t.callable===o&&t.delegationSelector===a}))}function normalizeParameters(t,o,a){var i="string"===typeof o,c=i?a:o||a,l=getTypeEvent(t);return K.has(l)||(l=t),[i,c,l]}function addHandler(t,o,a,i,c){if("string"===typeof o&&t){var l=_slicedToArray(normalizeParameters(o,a,i),3),u=l[0],d=l[1],p=l[2];if(o in W){d=function wrapFunction(t){return function(o){if(!o.relatedTarget||o.relatedTarget!==o.delegateTarget&&!o.delegateTarget.contains(o.relatedTarget))return t.call(this,o)}}(d)}var y=getElementEvents(t),m=y[p]||(y[p]={}),v=findHandler(m,d,u?a:null);if(v)v.oneOff=v.oneOff&&c;else{var g=makeEventUid(d,o.replace(H,"")),h=u?function bootstrapDelegationHandler(t,o,a){return function handler(i){for(var c=t.querySelectorAll(o),l=i.target;l&&l!==this;l=l.parentNode){var u,d=_createForOfIteratorHelper(c);try{for(d.s();!(u=d.n()).done;)if(u.value===l)return hydrateObj(i,{delegateTarget:l}),handler.oneOff&&Y.off(t,i.type,o,a),a.apply(l,[i])}catch(p){d.e(p)}finally{d.f()}}}}(t,a,d):function bootstrapHandler(t,o){return function handler(a){return hydrateObj(a,{delegateTarget:t}),handler.oneOff&&Y.off(t,a.type,o),o.apply(t,[a])}}(t,d);h.delegationSelector=u?a:null,h.callable=d,h.oneOff=c,h.uidEvent=g,m[g]=h,t.addEventListener(p,h,u)}}}function removeHandler(t,o,a,i,c){var l=findHandler(o[a],i,c);l&&(t.removeEventListener(a,l,Boolean(c)),delete o[a][l.uidEvent])}function removeNamespacedHandlers(t,o,a,i){for(var c=o[a]||{},l=0,u=Object.entries(c);l<u.length;l++){var d=_slicedToArray(u[l],2),p=d[0],y=d[1];p.includes(i)&&removeHandler(t,o,a,y.callable,y.delegationSelector)}}function getTypeEvent(t){return t=t.replace(U,""),W[t]||t}var Y={on:function on(t,o,a,i){addHandler(t,o,a,i,!1)},one:function one(t,o,a,i){addHandler(t,o,a,i,!0)},off:function off(t,o,a,i){if("string"===typeof o&&t){var c=_slicedToArray(normalizeParameters(o,a,i),3),l=c[0],u=c[1],d=c[2],p=d!==o,y=getElementEvents(t),m=y[d]||{},v=o.startsWith(".");if("undefined"===typeof u){if(v)for(var g=0,h=Object.keys(y);g<h.length;g++){removeNamespacedHandlers(t,y,h[g],o.slice(1))}for(var b=0,_=Object.entries(m);b<_.length;b++){var w=_slicedToArray(_[b],2),E=w[0],A=w[1],S=E.replace(q,"");p&&!o.includes(S)||removeHandler(t,y,d,A.callable,A.delegationSelector)}}else{if(!Object.keys(m).length)return;removeHandler(t,y,d,u,l?a:null)}}},trigger:function trigger(t,o,a){if("string"!==typeof o||!t)return null;var $=j(),i=null,c=!0,l=!0,u=!1;o!==getTypeEvent(o)&&$&&(i=$.Event(o,a),$(t).trigger(i),c=!i.isPropagationStopped(),l=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented());var d=hydrateObj(new Event(o,{bubbles:c,cancelable:!0}),a);return u&&d.preventDefault(),l&&t.dispatchEvent(d),d.defaultPrevented&&i&&i.preventDefault(),d}};function hydrateObj(t){for(var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=function _loop(){var o=_slicedToArray(c[i],2),a=o[0],l=o[1];try{t[a]=l}catch(u){Object.defineProperty(t,a,{configurable:!0,get:function get(){return l}})}},i=0,c=Object.entries(o);i<c.length;i++)a();return t}var X=Y;function manipulator_createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function manipulator_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return manipulator_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return manipulator_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function manipulator_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}function normalizeData(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!==typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(o){return t}}function normalizeDataKey(t){return t.replace(/[A-Z]/g,(function(t){return"-".concat(t.toLowerCase())}))}var V={setDataAttribute:function setDataAttribute(t,o,a){t.setAttribute("data-bs-".concat(normalizeDataKey(o)),a)},removeDataAttribute:function removeDataAttribute(t,o){t.removeAttribute("data-bs-".concat(normalizeDataKey(o)))},getDataAttributes:function getDataAttributes(t){if(!t)return{};var o,a={},i=Object.keys(t.dataset).filter((function(t){return t.startsWith("bs")&&!t.startsWith("bsConfig")})),c=manipulator_createForOfIteratorHelper(i);try{for(c.s();!(o=c.n()).done;){var l=o.value,u=l.replace(/^bs/,"");a[u=u.charAt(0).toLowerCase()+u.slice(1,u.length)]=normalizeData(t.dataset[l])}}catch(d){c.e(d)}finally{c.f()}return a},getDataAttribute:function getDataAttribute(t,o){return normalizeData(t.getAttribute("data-bs-".concat(normalizeDataKey(o))))}};function config_slicedToArray(t,o){return function config_arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function config_iterableToArrayLimit(t,o){var a=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=a){var i,c,l,u,d=[],p=!0,y=!1;try{if(l=(a=a.call(t)).next,0===o){if(Object(a)!==a)return;p=!1}else for(;!(p=(i=l.call(a)).done)&&(d.push(i.value),d.length!==o);p=!0);}catch(m){y=!0,c=m}finally{try{if(!p&&null!=a.return&&(u=a.return(),Object(u)!==u))return}finally{if(y)throw c}}return d}}(t,o)||function config_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return config_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return config_arrayLikeToArray(t,o)}(t,o)||function config_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function config_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}function config_typeof(t){return config_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},config_typeof(t)}function ownKeys(t,o){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);o&&(i=i.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),a.push.apply(a,i)}return a}function _objectSpread(t){for(var o=1;o<arguments.length;o++){var a=null!=arguments[o]?arguments[o]:{};o%2?ownKeys(Object(a),!0).forEach((function(o){config_defineProperty(t,o,a[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):ownKeys(Object(a)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(a,o))}))}return t}function config_defineProperty(t,o,a){return(o=config_toPropertyKey(o))in t?Object.defineProperty(t,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[o]=a,t}function config_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,config_toPropertyKey(i.key),i)}}function config_toPropertyKey(t){var o=function config_toPrimitive(t,o){if("object"!==config_typeof(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,o||"default");if("object"!==config_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===config_typeof(o)?o:String(o)}var J=function(){function Config(){!function config_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,Config)}return function config_createClass(t,o,a){return o&&config_defineProperties(t.prototype,o),a&&config_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(Config,[{key:"_getConfig",value:function _getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t}},{key:"_mergeConfigObj",value:function _mergeConfigObj(t,o){var a=P(o)?V.getDataAttribute(o,"config"):{};return _objectSpread(_objectSpread(_objectSpread(_objectSpread({},this.constructor.Default),"object"===config_typeof(a)?a:{}),P(o)?V.getDataAttributes(o):{}),"object"===config_typeof(t)?t:{})}},{key:"_typeCheckConfig",value:function _typeCheckConfig(t){for(var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType,a=0,i=Object.entries(o);a<i.length;a++){var c=config_slicedToArray(i[a],2),l=c[0],u=c[1],d=t[l],p=P(d)?"element":L(d);if(!new RegExp(u).test(p))throw new TypeError("".concat(this.constructor.NAME.toUpperCase(),': Option "').concat(l,'" provided type "').concat(p,'" but expected type "').concat(u,'".'))}}}],[{key:"Default",get:function get(){return{}}},{key:"DefaultType",get:function get(){return{}}},{key:"NAME",get:function get(){throw new Error('You have to implement the static method "NAME", for each component!')}}]),Config}(),G=J;function base_component_typeof(t){return base_component_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},base_component_typeof(t)}function base_component_createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function base_component_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return base_component_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return base_component_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function base_component_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}function base_component_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(c=i.key,l=void 0,l=function base_component_toPrimitive(t,o){if("object"!==base_component_typeof(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,o||"default");if("object"!==base_component_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(c,"string"),"symbol"===base_component_typeof(l)?l:String(l)),i)}var c,l}function _setPrototypeOf(t,o){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(t,o){return t.__proto__=o,t},_setPrototypeOf(t,o)}function _createSuper(t){var o=function _isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function _createSuperInternal(){var a,i=_getPrototypeOf(t);if(o){var c=_getPrototypeOf(this).constructor;a=Reflect.construct(i,arguments,c)}else a=i.apply(this,arguments);return _possibleConstructorReturn(this,a)}}function _possibleConstructorReturn(t,o){if(o&&("object"===base_component_typeof(o)||"function"===typeof o))return o;if(void 0!==o)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}var Q=function(t){!function _inherits(t,o){if("function"!==typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&_setPrototypeOf(t,o)}(BaseComponent,t);var o=_createSuper(BaseComponent);function BaseComponent(t,a){var i;return function base_component_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,BaseComponent),i=o.call(this),(t=k(t))?(i._element=t,i._config=i._getConfig(a),w(i._element,i.constructor.DATA_KEY,_assertThisInitialized(i)),i):_possibleConstructorReturn(i)}return function base_component_createClass(t,o,a){return o&&base_component_defineProperties(t.prototype,o),a&&base_component_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(BaseComponent,[{key:"dispose",value:function dispose(){A(this._element,this.constructor.DATA_KEY),X.off(this._element,this.constructor.EVENT_KEY);var t,o=base_component_createForOfIteratorHelper(Object.getOwnPropertyNames(this));try{for(o.s();!(t=o.n()).done;){this[t.value]=null}}catch(a){o.e(a)}finally{o.f()}}},{key:"_queueCallback",value:function _queueCallback(t,o){M(t,o,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}},{key:"_getConfig",value:function _getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}}],[{key:"getInstance",value:function getInstance(t){return E(k(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.1"}},{key:"DATA_KEY",get:function get(){return"bs.".concat(this.NAME)}},{key:"EVENT_KEY",get:function get(){return".".concat(this.DATA_KEY)}},{key:"eventName",value:function eventName(t){return"".concat(t).concat(this.EVENT_KEY)}}]),BaseComponent}(G),Z=Q;function selector_engine_toConsumableArray(t){return function selector_engine_arrayWithoutHoles(t){if(Array.isArray(t))return selector_engine_arrayLikeToArray(t)}(t)||function selector_engine_iterableToArray(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function selector_engine_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return selector_engine_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return 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 a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}var ee=function getSelector(t){var o=t.getAttribute("data-bs-target");if(!o||"#"===o){var a=t.getAttribute("href");if(!a||!a.includes("#")&&!a.startsWith("."))return null;a.includes("#")&&!a.startsWith("#")&&(a="#".concat(a.split("#")[1])),o=a&&"#"!==a?a.trim():null}return O(o)},te={find:function find(t){var o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return(o=[]).concat.apply(o,selector_engine_toConsumableArray(Element.prototype.querySelectorAll.call(a,t)))},findOne:function findOne(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(o,t)},children:function children(t,o){var a;return(a=[]).concat.apply(a,selector_engine_toConsumableArray(t.children)).filter((function(t){return t.matches(o)}))},parents:function parents(t,o){for(var parents=[],a=t.parentNode.closest(o);a;)parents.push(a),a=a.parentNode.closest(o);return parents},prev:function prev(t,o){for(var a=t.previousElementSibling;a;){if(a.matches(o))return[a];a=a.previousElementSibling}return[]},next:function next(t,o){for(var next=t.nextElementSibling;next;){if(next.matches(o))return[next];next=next.nextElementSibling}return[]},focusableChildren:function focusableChildren(t){var o=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((function(t){return"".concat(t,':not([tabindex^="-"])')})).join(",");return this.find(o,t).filter((function(t){return!function isDisabled(t){return!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||("undefined"!==typeof t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))}(t)&&T(t)}))},getSelectorFromElement:function getSelectorFromElement(t){var o=ee(t);return o&&te.findOne(o)?o:null},getElementFromSelector:function getElementFromSelector(t){var o=ee(t);return o?te.findOne(o):null},getMultipleElementsFromSelector:function getMultipleElementsFromSelector(t){var o=ee(t);return o?te.find(o):[]}},ne=te;function collapse_typeof(t){return collapse_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},collapse_typeof(t)}function collapse_createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function collapse_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return collapse_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return collapse_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function collapse_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}function collapse_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(c=i.key,l=void 0,l=function collapse_toPrimitive(t,o){if("object"!==collapse_typeof(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,o||"default");if("object"!==collapse_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(c,"string"),"symbol"===collapse_typeof(l)?l:String(l)),i)}var c,l}function collapse_setPrototypeOf(t,o){return collapse_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(t,o){return t.__proto__=o,t},collapse_setPrototypeOf(t,o)}function collapse_createSuper(t){var o=function collapse_isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function _createSuperInternal(){var a,i=collapse_getPrototypeOf(t);if(o){var c=collapse_getPrototypeOf(this).constructor;a=Reflect.construct(i,arguments,c)}else a=i.apply(this,arguments);return function collapse_possibleConstructorReturn(t,o){if(o&&("object"===collapse_typeof(o)||"function"===typeof o))return o;if(void 0!==o)throw new TypeError("Derived constructors may only return object or undefined");return function collapse_assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,a)}}function collapse_getPrototypeOf(t){return collapse_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},collapse_getPrototypeOf(t)}var re=".".concat("bs.collapse"),oe="show".concat(re),ae="shown".concat(re),ie="hide".concat(re),ce="hidden".concat(re),le="click".concat(re).concat(".data-api"),se="show",ue="collapse",fe="collapsing",de=":scope .".concat(ue," .").concat(ue),pe='[data-bs-toggle="collapse"]',ye={parent:null,toggle:!0},me={parent:"(null|element)",toggle:"boolean"},ve=function(t){!function collapse_inherits(t,o){if("function"!==typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&collapse_setPrototypeOf(t,o)}(Collapse,t);var o=collapse_createSuper(Collapse);function Collapse(t,a){var i;!function collapse_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,Collapse),(i=o.call(this,t,a))._isTransitioning=!1,i._triggerArray=[];var c,l=collapse_createForOfIteratorHelper(ne.find(pe));try{for(l.s();!(c=l.n()).done;){var u=c.value,d=ne.getSelectorFromElement(u),p=ne.find(d).filter((function(t){return t===i._element}));null!==d&&p.length&&i._triggerArray.push(u)}}catch(y){l.e(y)}finally{l.f()}return i._initializeChildren(),i._config.parent||i._addAriaAndCollapsedClass(i._triggerArray,i._isShown()),i._config.toggle&&i.toggle(),i}return function collapse_createClass(t,o,a){return o&&collapse_defineProperties(t.prototype,o),a&&collapse_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(Collapse,[{key:"toggle",value:function toggle(){this._isShown()?this.hide():this.show()}},{key:"show",value:function show(){var t=this;if(!this._isTransitioning&&!this._isShown()){var o=[];if(this._config.parent&&(o=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((function(o){return o!==t._element})).map((function(t){return Collapse.getOrCreateInstance(t,{toggle:!1})}))),!o.length||!o[0]._isTransitioning)if(!X.trigger(this._element,oe).defaultPrevented){var a,i=collapse_createForOfIteratorHelper(o);try{for(i.s();!(a=i.n()).done;){a.value.hide()}}catch(d){i.e(d)}finally{i.f()}var c=this._getDimension();this._element.classList.remove(ue),this._element.classList.add(fe),this._element.style[c]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var l=c[0].toUpperCase()+c.slice(1),u="scroll".concat(l);this._queueCallback((function complete(){t._isTransitioning=!1,t._element.classList.remove(fe),t._element.classList.add(ue,se),t._element.style[c]="",X.trigger(t._element,ae)}),this._element,!0),this._element.style[c]="".concat(this._element[u],"px")}}}},{key:"hide",value:function hide(){var t=this;if(!this._isTransitioning&&this._isShown()&&!X.trigger(this._element,ie).defaultPrevented){var o=this._getDimension();this._element.style[o]="".concat(this._element.getBoundingClientRect()[o],"px"),I(this._element),this._element.classList.add(fe),this._element.classList.remove(ue,se);var a,i=collapse_createForOfIteratorHelper(this._triggerArray);try{for(i.s();!(a=i.n()).done;){var c=a.value,l=ne.getElementFromSelector(c);l&&!this._isShown(l)&&this._addAriaAndCollapsedClass([c],!1)}}catch(u){i.e(u)}finally{i.f()}this._isTransitioning=!0;this._element.style[o]="",this._queueCallback((function complete(){t._isTransitioning=!1,t._element.classList.remove(fe),t._element.classList.add(ue),X.trigger(t._element,ce)}),this._element,!0)}}},{key:"_isShown",value:function _isShown(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(se)}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=k(t.parent),t}},{key:"_getDimension",value:function _getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}},{key:"_initializeChildren",value:function _initializeChildren(){if(this._config.parent){var t,o=collapse_createForOfIteratorHelper(this._getFirstLevelChildren(pe));try{for(o.s();!(t=o.n()).done;){var a=t.value,i=ne.getElementFromSelector(a);i&&this._addAriaAndCollapsedClass([a],this._isShown(i))}}catch(c){o.e(c)}finally{o.f()}}}},{key:"_getFirstLevelChildren",value:function _getFirstLevelChildren(t){var o=ne.find(de,this._config.parent);return ne.find(t,this._config.parent).filter((function(t){return!o.includes(t)}))}},{key:"_addAriaAndCollapsedClass",value:function _addAriaAndCollapsedClass(t,o){if(t.length){var a,i=collapse_createForOfIteratorHelper(t);try{for(i.s();!(a=i.n()).done;){var c=a.value;c.classList.toggle("collapsed",!o),c.setAttribute("aria-expanded",o)}}catch(l){i.e(l)}finally{i.f()}}}}],[{key:"Default",get:function get(){return ye}},{key:"DefaultType",get:function get(){return 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 a=Collapse.getOrCreateInstance(this,o);if("string"===typeof t){if("undefined"===typeof a[t])throw new TypeError('No method named "'.concat(t,'"'));a[t]()}}))}}]),Collapse}(Z);X.on(document,le,pe,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();var o,a=collapse_createForOfIteratorHelper(ne.getMultipleElementsFromSelector(this));try{for(a.s();!(o=a.n()).done;){var i=o.value;ve.getOrCreateInstance(i,{toggle:!1}).toggle()}}catch(c){a.e(c)}finally{a.f()}})),N(ve);!function(t){var o="js-dropdown",a=["active","active-dropdown"],c=function HideAll(){document.querySelectorAll(".dropdown-menu").forEach((function(t,o){var i,c=t.closest(".dropdown");c&&(i=c.classList).remove.apply(i,a);t.classList.remove("show")}))},l=function Show(t){var o;t.stopPropagation();var i=t.currentTarget;(o=i.classList).add.apply(o,a);var c=i.querySelector(".dropdown-menu");c&&c.classList.add("show")},u=function Hide(t){var o;t.stopPropagation();var i=t.currentTarget;(o=i.classList).remove.apply(o,a);var c=i.querySelector(".dropdown-menu");c&&c.classList.remove("show")},d=function init(){console.log("".concat(o,": init"));var a=document.querySelectorAll(".".concat(o,',[data-bs-toggle="dropdown"],.dropdown-toggle')),i=document.querySelectorAll('[data-bs-toggle="hover"]'),d=function attachClickEvents(a){a.addEventListener("click",(function(a){a.preventDefault();var i=a.currentTarget,l=i.closest(".dropdown"),u=i.getAttribute("href");u&&i.dataset.firstClick&&(console.log("".concat(o,": nav second click")),t.location.href=u),i.dataset.firstClick=!0,l&&(u&&t.innerWidth>768&&l.classList.contains("active-dropdown")&&(console.log("".concat(o,": big screen | nav click the dropdown is shown already")),t.location.href=u),console.log("".concat(o,": nav toggle")),function Toggle(t){c();var o=t.querySelector(".dropdown-menu");o&&o.classList.toggle("show")}(l))})),a.classList.add("".concat(o,"-active"))};document.addEventListener("click",(function(t){var o=!1,a=t.path||t.composedPath&&t.composedPath();a||console.warn("Browser does not provide event path to hide dropdowns on outside click"),a.forEach((function(t,a){o||(t===document&&c(),t.classList&&t.classList.contains("dropdown-toggle")&&(o=!0))}))})),i.forEach((function(t,a){var i=t.closest(".dropdown");i&&function attachHoverEvents(t){t.addEventListener("mouseover",l,!1),t.addEventListener("mouseleave",u,!1),t.classList.add("".concat(o,"-active"))}(i)})),a.forEach((function(t,o){d(t)}))};t.addEventListener("".concat(i.LODEDANDREADY),d),t.addEventListener("".concat(i.AJAX),d)}(window);function swipe_typeof(t){return swipe_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},swipe_typeof(t)}function swipe_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(c=i.key,l=void 0,l=function swipe_toPrimitive(t,o){if("object"!==swipe_typeof(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,o||"default");if("object"!==swipe_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(c,"string"),"symbol"===swipe_typeof(l)?l:String(l)),i)}var c,l}function swipe_setPrototypeOf(t,o){return swipe_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(t,o){return t.__proto__=o,t},swipe_setPrototypeOf(t,o)}function swipe_createSuper(t){var o=function swipe_isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function _createSuperInternal(){var a,i=swipe_getPrototypeOf(t);if(o){var c=swipe_getPrototypeOf(this).constructor;a=Reflect.construct(i,arguments,c)}else a=i.apply(this,arguments);return swipe_possibleConstructorReturn(this,a)}}function swipe_possibleConstructorReturn(t,o){if(o&&("object"===swipe_typeof(o)||"function"===typeof o))return o;if(void 0!==o)throw new TypeError("Derived constructors may only return object or undefined");return function swipe_assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function swipe_getPrototypeOf(t){return swipe_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},swipe_getPrototypeOf(t)}var ge,he=".bs.swipe",be="touchstart".concat(he),_e="touchmove".concat(he),we="touchend".concat(he),Ee="pointerdown".concat(he),Ae="pointerup".concat(he),Se={endCallback:null,leftCallback:null,rightCallback:null},Oe={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"},Le=function(t){!function swipe_inherits(t,o){if("function"!==typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&swipe_setPrototypeOf(t,o)}(Swipe,t);var o=swipe_createSuper(Swipe);function Swipe(t,a){var i;return function swipe_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,Swipe),(i=o.call(this))._element=t,t&&Swipe.isSupported()?(i._config=i._getConfig(a),i._deltaX=0,i._supportPointerEvents=Boolean(window.PointerEvent),i._initEvents(),i):swipe_possibleConstructorReturn(i)}return function swipe_createClass(t,o,a){return o&&swipe_defineProperties(t.prototype,o),a&&swipe_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(Swipe,[{key:"dispose",value:function dispose(){X.off(this._element,he)}},{key:"_start",value:function _start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}},{key:"_end",value:function _end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),R(this._config.endCallback)}},{key:"_move",value:function _move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}},{key:"_handleSwipe",value:function _handleSwipe(){var t=Math.abs(this._deltaX);if(!(t<=40)){var o=t/this._deltaX;this._deltaX=0,o&&R(o>0?this._config.rightCallback:this._config.leftCallback)}}},{key:"_initEvents",value:function _initEvents(){var t=this;this._supportPointerEvents?(X.on(this._element,Ee,(function(o){return t._start(o)})),X.on(this._element,Ae,(function(o){return t._end(o)})),this._element.classList.add("pointer-event")):(X.on(this._element,be,(function(o){return t._start(o)})),X.on(this._element,_e,(function(o){return t._move(o)})),X.on(this._element,we,(function(o){return t._end(o)})))}},{key:"_eventIsPointerPenTouch",value:function _eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}}],[{key:"Default",get:function get(){return Se}},{key:"DefaultType",get:function get(){return Oe}},{key:"NAME",get:function get(){return"swipe"}},{key:"isSupported",value:function isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}]),Swipe}(G),Ce=Le;function carousel_typeof(t){return carousel_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},carousel_typeof(t)}function carousel_createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function carousel_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return carousel_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return carousel_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function carousel_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a<o;a++)i[a]=t[a];return i}function carousel_defineProperties(t,o){for(var a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,carousel_toPropertyKey(i.key),i)}}function _get(){return _get="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function _get(t,o,a){var i=function _superPropBase(t,o){for(;!Object.prototype.hasOwnProperty.call(t,o)&&null!==(t=carousel_getPrototypeOf(t)););return t}(t,o);if(i){var c=Object.getOwnPropertyDescriptor(i,o);return c.get?c.get.call(arguments.length<3?t:a):c.value}},_get.apply(this,arguments)}function carousel_setPrototypeOf(t,o){return carousel_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(t,o){return t.__proto__=o,t},carousel_setPrototypeOf(t,o)}function carousel_createSuper(t){var o=function carousel_isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function _createSuperInternal(){var a,i=carousel_getPrototypeOf(t);if(o){var c=carousel_getPrototypeOf(this).constructor;a=Reflect.construct(i,arguments,c)}else a=i.apply(this,arguments);return function carousel_possibleConstructorReturn(t,o){if(o&&("object"===carousel_typeof(o)||"function"===typeof o))return o;if(void 0!==o)throw new TypeError("Derived constructors may only return object or undefined");return function carousel_assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,a)}}function carousel_getPrototypeOf(t){return carousel_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},carousel_getPrototypeOf(t)}function carousel_defineProperty(t,o,a){return(o=carousel_toPropertyKey(o))in t?Object.defineProperty(t,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[o]=a,t}function carousel_toPropertyKey(t){var o=function carousel_toPrimitive(t,o){if("object"!==carousel_typeof(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,o||"default");if("object"!==carousel_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===carousel_typeof(o)?o:String(o)}var Pe=".".concat("bs.carousel"),ke=".data-api",Te="next",Ie="prev",je="left",xe="right",De="slide".concat(Pe),Ne="slid".concat(Pe),Re="keydown".concat(Pe),Me="mouseenter".concat(Pe),Fe="mouseleave".concat(Pe),He="dragstart".concat(Pe),Ue="load".concat(Pe).concat(ke),qe="click".concat(Pe).concat(ke),ze="carousel",Be="active",We=".active",Ke=".carousel-item",Ye=We+Ke,Xe=(carousel_defineProperty(ge={},"ArrowLeft",xe),carousel_defineProperty(ge,"ArrowRight",je),ge),Ve={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Je={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"},$e=function(t){!function carousel_inherits(t,o){if("function"!==typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&carousel_setPrototypeOf(t,o)}(Carousel,t);var o=carousel_createSuper(Carousel);function Carousel(t,a){var i;return function carousel_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,Carousel),(i=o.call(this,t,a))._interval=null,i._activeElement=null,i._isSliding=!1,i.touchTimeout=null,i._swipeHelper=null,i._indicatorsElement=ne.findOne(".carousel-indicators",i._element),i._addEventListeners(),i._config.ride===ze&&i.cycle(),i}return function carousel_createClass(t,o,a){return o&&carousel_defineProperties(t.prototype,o),a&&carousel_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(Carousel,[{key:"next",value:function next(){this._slide(Te)}},{key:"nextWhenVisible",value:function nextWhenVisible(){!document.hidden&&T(this._element)&&this.next()}},{key:"prev",value:function prev(){this._slide(Ie)}},{key:"pause",value:function pause(){this._isSliding&&C(this._element),this._clearInterval()}},{key:"cycle",value:function cycle(){var t=this;this._clearInterval(),this._updateInterval(),this._interval=setInterval((function(){return t.nextWhenVisible()}),this._config.interval)}},{key:"_maybeEnableCycle",value:function _maybeEnableCycle(){var t=this;this._config.ride&&(this._isSliding?X.one(this._element,Ne,(function(){return t.cycle()})):this.cycle())}},{key:"to",value:function to(t){var o=this,a=this._getItems();if(!(t>a.length-1||t<0))if(this._isSliding)X.one(this._element,Ne,(function(){return o.to(t)}));else{var i=this._getItemIndex(this._getActive());if(i!==t){var c=t>i?Te:Ie;this._slide(c,a[t])}}}},{key:"dispose",value:function dispose(){this._swipeHelper&&this._swipeHelper.dispose(),_get(carousel_getPrototypeOf(Carousel.prototype),"dispose",this).call(this)}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t.defaultInterval=t.interval,t}},{key:"_addEventListeners",value:function _addEventListeners(){var t=this;this._config.keyboard&&X.on(this._element,Re,(function(o){return t._keydown(o)})),"hover"===this._config.pause&&(X.on(this._element,Me,(function(){return t.pause()})),X.on(this._element,Fe,(function(){return t._maybeEnableCycle()}))),this._config.touch&&Ce.isSupported()&&this._addTouchEventListeners()}},{key:"_addTouchEventListeners",value:function _addTouchEventListeners(){var t,o=this,a=carousel_createForOfIteratorHelper(ne.find(".carousel-item img",this._element));try{for(a.s();!(t=a.n()).done;){var i=t.value;X.on(i,He,(function(t){return t.preventDefault()}))}}catch(l){a.e(l)}finally{a.f()}var c={leftCallback:function leftCallback(){return o._slide(o._directionToOrder(je))},rightCallback:function rightCallback(){return o._slide(o._directionToOrder(xe))},endCallback:function endCallBack(){"hover"===o._config.pause&&(o.pause(),o.touchTimeout&&clearTimeout(o.touchTimeout),o.touchTimeout=setTimeout((function(){return o._maybeEnableCycle()}),500+o._config.interval))}};this._swipeHelper=new Ce(this._element,c)}},{key:"_keydown",value:function _keydown(t){if(!/input|textarea/i.test(t.target.tagName)){var o=Xe[t.key];o&&(t.preventDefault(),this._slide(this._directionToOrder(o)))}}},{key:"_getItemIndex",value:function _getItemIndex(t){return this._getItems().indexOf(t)}},{key:"_setActiveIndicatorElement",value:function _setActiveIndicatorElement(t){if(this._indicatorsElement){var o=ne.findOne(We,this._indicatorsElement);o.classList.remove(Be),o.removeAttribute("aria-current");var a=ne.findOne('[data-bs-slide-to="'.concat(t,'"]'),this._indicatorsElement);a&&(a.classList.add(Be),a.setAttribute("aria-current","true"))}}},{key:"_updateInterval",value:function _updateInterval(){var t=this._activeElement||this._getActive();if(t){var o=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=o||this._config.defaultInterval}}},{key:"_slide",value:function _slide(t){var o=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!this._isSliding){var i=this._getActive(),c=t===Te,l=a||function getNextActiveElement(t,o,a,i){var c=t.length,l=t.indexOf(o);return-1===l?!a&&i?t[c-1]:t[0]:(l+=a?1:-1,i&&(l=(l+c)%c),t[Math.max(0,Math.min(l,c-1))])}(this._getItems(),i,c,this._config.wrap);if(l!==i){var u=this._getItemIndex(l),d=function triggerEvent(a){return X.trigger(o._element,a,{relatedTarget:l,direction:o._orderToDirection(t),from:o._getItemIndex(i),to:u})};if(!d(De).defaultPrevented&&i&&l){var p=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(u),this._activeElement=l;var y=c?"carousel-item-start":"carousel-item-end",m=c?"carousel-item-next":"carousel-item-prev";l.classList.add(m),I(l),i.classList.add(y),l.classList.add(y);this._queueCallback((function completeCallBack(){l.classList.remove(y,m),l.classList.add(Be),i.classList.remove(Be,m,y),o._isSliding=!1,d(Ne)}),i,this._isAnimated()),p&&this.cycle()}}}}},{key:"_isAnimated",value:function _isAnimated(){return this._element.classList.contains("slide")}},{key:"_getActive",value:function _getActive(){return ne.findOne(Ye,this._element)}},{key:"_getItems",value:function _getItems(){return ne.find(Ke,this._element)}},{key:"_clearInterval",value:function _clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}},{key:"_directionToOrder",value:function _directionToOrder(t){return D()?t===je?Ie:Te:t===je?Te:Ie}},{key:"_orderToDirection",value:function _orderToDirection(t){return D()?t===Ie?je:xe:t===Ie?xe:je}}],[{key:"Default",get:function get(){return Ve}},{key:"DefaultType",get:function get(){return Je}},{key:"NAME",get:function get(){return"carousel"}},{key:"jQueryInterface",value:function jQueryInterface(t){return this.each((function(){var o=Carousel.getOrCreateInstance(this,t);if("number"!==typeof t){if("string"===typeof t){if(void 0===o[t]||t.startsWith("_")||"constructor"===t)throw new TypeError('No method named "'.concat(t,'"'));o[t]()}}else o.to(t)}))}}]),Carousel}(Z);X.on(document,qe,"[data-bs-slide], [data-bs-slide-to]",(function(t){var o=ne.getElementFromSelector(this);if(o&&o.classList.contains(ze)){t.preventDefault();var a=$e.getOrCreateInstance(o),i=this.getAttribute("data-bs-slide-to");if(i)return a.to(i),void a._maybeEnableCycle();if("next"===V.getDataAttribute(this,"slide"))return a.next(),void a._maybeEnableCycle();a.prev(),a._maybeEnableCycle()}})),X.on(window,Ue,(function(){var t,o=carousel_createForOfIteratorHelper(ne.find('[data-bs-ride="carousel"]'));try{for(o.s();!(t=o.n()).done;){var a=t.value;$e.getOrCreateInstance(a)}}catch(i){o.e(i)}finally{o.f()}})),N($e);var Ge=$e;(function(t){var o="js-carousel",a=function init(){console.log("".concat(o,": init")),document.querySelectorAll(".".concat(o)).forEach((function(a,i){var c=!!a.dataset.bsInterval&&parseInt(a.dataset.bsInterval),l=new Ge(a,{interval:c});a.ui=l;var u=a.querySelectorAll(".carousel-item"),d=parseInt(u.length);if(a.dataset.bsArrows){var p=document.createElement("button");p.classList.add("carousel-control-next"),p.setAttribute("type","button"),p.setAttribute("aria-label","Next Slide"),p.setAttribute("data-bs-target",a.getAttribute("id")),p.setAttribute("data-bs-slide","next"),p.addEventListener("click",(function(t){l.next()})),p.innerHTML='<span class="carousel-control-next-icon" aria-hidden="true"></span><span class="visually-hidden">Next</span>',a.appendChild(p);var y=document.createElement("button");y.setAttribute("type","button"),y.setAttribute("aria-label","Previous Slide"),y.classList.add("carousel-control-prev"),y.setAttribute("data-bs-target",a.getAttribute("id")),y.setAttribute("data-bs-slide","prev"),y.addEventListener("click",(function(t){l.prev()})),y.innerHTML='<span class="carousel-control-prev-icon" aria-hidden="true"></span><span class="visually-hidden">Previous</span>',a.appendChild(y)}if(a.dataset.bsIndicators){var m=document.createElement("div");m.classList.add("carousel-indicators");for(var v=0;v<d;){var g=document.createElement("button");g.setAttribute("type","button"),g.setAttribute("aria-label","Slide to #".concat(v+1)),0===v&&g.classList.add("active"),g.setAttribute("data-bs-target",a.getAttribute("id")),g.setAttribute("data-bs-slide-to",v),g.addEventListener("click",(function(t){var o=t.target;l.to(o.getAttribute("data-bs-slide-to")),m.querySelectorAll(".active").forEach((function(t){t.classList.remove("active")})),o.classList.add("active")})),m.appendChild(g),v++}a.appendChild(m),a.addEventListener("slide.bs.carousel",(function(t){a.querySelectorAll(".carousel-indicators .active").forEach((function(t){t.classList.remove("active")})),a.querySelectorAll('.carousel-indicators [data-bs-slide-to="'.concat(t.to,'"]')).forEach((function(t){t.classList.add("active")}))}))}if(a.classList.contains("carousel-multislide")){var h=a.querySelector(".carousel-inner");if(!a.querySelector(".carousel-inner-container")){var b=document.createElement("div");b.classList.add("carousel-inner-container"),h.parentNode.insertBefore(b,h),b.appendChild(h)}u=a.querySelectorAll(".carousel-item"),d=parseInt(u.length),h.style.left="0px",d>_(a)&&u.forEach((function(t,o){var a=t.cloneNode(!0);a.classList.remove("active"),h.appendChild(a)}));var _=function getNumToDisplay(o){var a=t.detectCSSScreenSize(),i=parseInt(o.dataset["length".concat(t.globalF.ucwords(a))]);return i||(i=parseInt(o.dataset.length)),Math.min(i,d)},w=new t.ResizeObserver((function calculate(t){var a=t[0],i=a.target,c=(a.contentRect,i.querySelector(".carousel-inner-container").clientWidth),p=_(i),y=c/p;i.dataset.itemWidth=y,i.dataset.numToDisplay=p,d<=p?(i.classList.add("".concat(o,"-no-slide")),l.pause()):(h.style.width="".concat(d*y,"px"),u.forEach((function(t,o){t.style.width="".concat(y,"px")})))}));w.observe(a);var E=function resetPosition(){h.style.transition="none",h.classList.add("no-transition"),h.style.left="0px",setTimeout((function(){h.style.transition="",h.classList.remove("no-transition"),h.querySelectorAll(".carousel-item").forEach((function(t){t.classList.remove("active")})),h.querySelector(".carousel-item:first-child").classList.add("active")}),1e3)};a.addEventListener("slide.bs.carousel",(function(t){var i=_(a);if(console.log(".".concat(o,": ").concat(t.to," ").concat(d/2)),d-i<t.to)return t.preventDefault(),void E();switch(t.direction){case"left":case"right":h.style.left="".concat(-t.to*a.dataset.itemWidth,"px")}d/2===t.to&&E()})),a.classList.add("".concat(o,"-multislide-active"))}else 1===u.length&&a.classList.add("".concat(o,"-no-slide"));c&&a.ui.cycle(),a.dataset.ui=a.ui,a.classList.add("".concat(o,"-active")),a.dispatchEvent(new Event("".concat(o,"-ready")))}))};t.addEventListener("".concat(i.LODEDANDREADY),a),t.addEventListener("".concat(i.AJAX),a)})(window),function(t){var o="js-captcha",a=function init(){console.log("".concat(o,": init"));var a=function submitListener(t){console.log("".concat(o,": Validating Captcha ..."));t.currentTarget.querySelectorAll(".".concat(o,", .g-recaptcha")).forEach((function(t){grecaptcha.execute(t.dataset.widgetid)}))},i=function attachCaptcha(){console.log("".concat(o,": Rendering Captcha ..."));var i=document.querySelectorAll(".".concat(o,", .g-recaptcha")),c=t.grecaptcha;i.forEach((function(t,i){if(!t.dataset.widgetid&&""===t.innerHTML){var l=t.closest(l),u=c.render(t,t.dataset);t.dataset.widgetid=u,"invisible"!==t.dataset.size||t.dataset.callback||(c.execute(u),l.addEventListener("submit",a)),t.classList.add("".concat(o,"-active")),t.dispatchEvent(new Event("".concat(o,"-ready")))}}))};document.querySelectorAll(".g-recaptcha").length?function loadScript(a){"undefined"!==typeof t.grecaptcha&&a(),console.log("".concat(o,": Loading Captcha API ..."));var i=document.createElement("script");i.id="captchaAPI",i.src="https://www.google.com/recaptcha/api.js?render=explicit&hl=".concat(document.querySelector("html").getAttribute("lang").substr(0,2)),i.async=!0,i.onload=function(){console.log("".concat(o,": Captcha API is loaded.")),a()},document.body.append(i)}(i):console.log("".concat(o,": No Captcha fields.")),t.noCaptchaFieldRender=i};t.addEventListener("".concat(i.LODEDANDREADY),a),t.addEventListener("".concat(i.AJAX),a)}(window),function(t){var o="js-password",a=function init(){var t;console.log("".concat(o,": init"));var a=function show(o){o.setAttribute("type","text"),t=setTimeout((function(){i(o)}),3e3)},i=function hide(o){o.setAttribute("type","password"),t&&clearTimeout(t)};document.querySelectorAll("".concat(o,"-show, .show-password")).forEach((function(t){t.classList.contains("".concat(o,"-active"))||(t.addEventListener("click",(function(t){var o=t.currentTarget.closest(".field").querySelector("input");o&&function toggle(t){"password"===t.getAttribute("type")?a(t):i(t)}(o)})),t.classList.add("".concat(o,"-active")))}))};t.addEventListener("".concat(i.LODEDANDREADY),a),t.addEventListener("".concat(i.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 Qe=function e(t){function n(t,o,a){var i,c={};if(Array.isArray(t))return t.concat(o);for(i in t)c[a?i.toLowerCase():i]=t[i];for(i in o){var l=a?i.toLowerCase():i,u=o[i];c[l]=l in c&&"object"==redaxios_module_typeof(u)?n(c[l],u,"headers"==l):u}return c}function r(o,a,i,c,l){var u="string"!=typeof o?(a=o).url:o,d={config:a},p=n(t,a),y={};c=c||p.data,(p.transformRequest||[]).map((function(t){c=t(c,p.headers)||c})),p.auth&&(y.authorization=p.auth),c&&"object"==redaxios_module_typeof(c)&&"function"!=typeof c.append&&"function"!=typeof c.text&&(c=JSON.stringify(c),y["content-type"]="application/json");try{y[p.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp("(^|; )"+p.xsrfCookieName+"=([^;]*)"))[2])}catch(o){}return p.baseURL&&(u=u.replace(/^(?!.*\/\/)\/?/,p.baseURL+"/")),p.params&&(u+=(~u.indexOf("?")?"&":"?")+(p.paramsSerializer?p.paramsSerializer(p.params):new URLSearchParams(p.params))),(p.fetch||fetch)(u,{method:(i||p.method||"get").toUpperCase(),body:c,headers:n(p.headers,y,!0),credentials:p.withCredentials?"include":l}).then((function(t){for(var o in t)"function"!=typeof t[o]&&(d[o]=t[o]);return"stream"==p.responseType?(d.data=t.body,d):t[p.responseType||"text"]().then((function(t){d.data=t,d.data=JSON.parse(t)})).catch(Object).then((function(){return(p.validateStatus?p.validateStatus(t.status):t.ok)?d:Promise.reject(d)}))}))}return t=t||{},r.request=r,r.get=function(t,o){return r(t,o,"get")},r.delete=function(t,o){return r(t,o,"delete")},r.head=function(t,o){return r(t,o,"head")},r.options=function(t,o){return r(t,o,"options")},r.post=function(t,o,a){return r(t,a,"post",o)},r.put=function(t,o,a){return r(t,a,"put",o)},r.patch=function(t,o,a){return r(t,a,"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,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")),t.dispatchEvent(new Event(i.BACKONLINE))):(console.log("".concat(a,": Online")),t.dispatchEvent(new Event(i.ONLINE))),l.classList.add("is-online"),l.classList.remove("is-offline"),u&&!o&&(console.log("".concat(a,": SESSION_PING is active")),o=setInterval(m,3e5))):(console.log("".concat(a,": Offline")),l.classList.add("is-offline"),l.classList.remove("is-online"),clearInterval(o),o=null,t.dispatchEvent(new Event(i.OFFLINE))),d=!1)},y=!1,m=function SESSION_PING(){if(!y&&!l.classList.contains("is-offline")){var t=u.getAttribute("content");console.log("".concat(a,": session ping")),y=!0,Qe.post(t,{}).then((function(t){y=!1,p(!0)})).catch((function(t){console.error(t),console.warn("".concat(a,": SESSION_PING failed")),y=!1,p(!1)}))}},v=function navigatorStateUpdate(){"undefined"!==typeof navigator.onLine&&(navigator.onLine?p(!0):p(!1))};t.addEventListener("".concat(i.OFFLINE),(function(){p(!1)})),t.addEventListener("".concat(i.ONLINE),(function(){p(!0)})),t.addEventListener("".concat(i.LOADED),v),t.addEventListener("".concat(i.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 a=0;a<o.length;a++){var i=o[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(c=i.key,l=void 0,l=function image_toPrimitive(t,o){if("object"!==image_typeof(t)||null===t)return t;var a=t[Symbol.toPrimitive];if(void 0!==a){var i=a.call(t,o||"default");if("object"!==image_typeof(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(c,"string"),"symbol"===image_typeof(l)?l:String(l)),i)}var c,l}var Ze="ajax.models.image",et=document.querySelector('meta[name="api_static_domain"]'),tt=et?et.getAttribute("content"):"".concat(window.location.protocol,"//").concat(window.location.host);console.log("".concat(Ze," [static url]: ").concat(tt));var nt=function(){function ImageObject(){!function image_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,ImageObject)}return function image_createClass(t,o,a){return o&&image_defineProperties(t.prototype,o),a&&image_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(ImageObject,[{key:"load",value:function load(t,o){var a=t.startsWith("http")?t:tt+t;return o&&(o.classList.add("loading"),o.classList.remove("loading__network-error")),new Promise((function(t,i){Qe.get(a,{responseType:"blob"}).then((function(a){var i=new window.FileReader;i.readAsDataURL(a.data),i.onload=function(){var a=i.result;o&&(o.classList.remove("loading"),o.classList.add("loading__success")),t(a)}})).catch((function(t){console.warn(t);var c="";if(t.response){switch(t.response.status){case 404:c="Not Found.";break;case 500:c="Server issue, please try again latter.";break;default:c="Something went wrong."}console.error("".concat(Ze," [").concat(a,"]: ").concat(c))}else t.request?(c="No response received",console.error("".concat(Ze," [").concat(a,"]: ").concat(c))):console.error("".concat(Ze," [").concat(a,"]: ").concat(t.message));o&&(o.classList.remove("loading"),o.classList.add("loading__network-error"),o.classList.add("empty")),i(t)}))}))}}]),ImageObject}();(function(t){var o=document,a=function loadLazyImages(){console.log("".concat("main.lazy-images",": Load lazy images"));var t=document.querySelector("base"),a=t?t.getAttribute("href"):"/";o.querySelectorAll("[data-lazy-src]").forEach((function(t){t.classList.remove("empty");var o=new nt,i=t.getAttribute("data-lazy-src");i.startsWith("http://")||i.startsWith("https://")||(i=a+t.getAttribute("data-lazy-src")),i=i.replace(/([^:]\/)\/+/g,"$1"),o.load(i,t).then((function(o){t.setAttribute("src",o)})).catch((function(){t.classList.add("empty")}))})),o.querySelectorAll("[data-lazy-bg]").forEach((function(t){t.classList.remove("empty"),(new nt).load(t.getAttribute("data-lazy-bg"),t).then((function(o){t.style.backgroundImage="url(".concat(o,")")})).catch((function(o){t.classList.add("empty")}))}))};t.addEventListener("".concat(i.LODEDANDREADY),a),t.addEventListener("".concat(i.AJAX),a)})(window),function(t){var o="_layout",a=document;t.addEventListener("".concat(i.LODEDANDREADY),(function(){!function initFonts(){console.log("".concat(o,": 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(o,": initAnalytics"))}()}))}(window);function importAll(t){return t.keys().map(t)}if(importAll(a(103)),importAll(a(499)),"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")}))}},109:function(t){var o={getParents:function(t,o){for(var a=[],i=t;i&&i!==document;)o?i.matches(o)&&a.push(i):a.push(i),i=i.parentNode;return a},ucwords:function(t){var o=t.toLowerCase(),a=o.split(" ");o="";for(var i=0;i<a.length;i++){var c=a[i];c=c.charAt(0).toUpperCase()+c.slice(1),i>0&&(o="".concat(o," ")),o+=c}return o}};window.globalF=o,t.exports=o,t.exports.default=o},627: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}}},936:function(t){t.exports="../img/bg.png"},579:function(t){t.exports="../img/logo.png"},674:function(t){t.exports="../img/logo.svg"},717:function(t){t.exports="../img/original.png"},214:function(t){t.exports="../img/original2.png"},744:function(t){t.exports="../img/photo1.png"},835:function(t){t.exports="../img/photo2.jpg"},3:function(t){t.exports="../img/photo3.svg"},499:function(t){function webpackEmptyContext(t){var o=new Error("Cannot find module '"+t+"'");throw o.code="MODULE_NOT_FOUND",o}webpackEmptyContext.keys=function(){return[]},webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=499,t.exports=webpackEmptyContext}},o={};function __webpack_require__(a){var i=o[a];if(void 0!==i)return i.exports;var c=o[a]={exports:{}};return t[a](c,c.exports,__webpack_require__),c.exports}__webpack_require__.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},function(){"use strict";__webpack_require__(429)}()}();