webpack-bootstrap-ui-kit/dist/js/app.js

1 line
126 KiB
JavaScript
Raw Normal View History

2022-09-12 23:04:30 +02:00
!function(){"use strict";var t={684:function(t){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}}}},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}!function(){var t={APOLLO_ERROR:"apollo-error",AJAX:"ajax-load",AJAXMAIN:"ajax-main-load",MAININIT:"main-init",TABHIDDEN:"tab-hidden",TABFOCUSED:"tab-focused",OFFLINE:"offline",ONLINE:"online",BACKONLINE:"back-online",TOUCHENABLE:"touch-enabled",TOUCHDISABLED:"touch-disabled",DOMLOADED:"DOMContentLoaded",LOADED:"load",SWIPELEFT:"swipeleft panleft",SWIPERIGHT:"swiperight panright",ALLERTAPPEARED:"alert-appeared",ALERTREMOVED:"alert-removed",LODEDANDREADY:"load-ready",LAZYIMAGEREADY:"image-lazy-bg-loaded",LAZYIMAGESREADY:"images-lazy-loaded",MAPLOADED:"map-loaded",MAPAPILOADED:"map-api-loaded",MAPMARKERCLICK:"map-marker-click",MAPPOPUPCLOSE:"map-popup-close",SCROLL:"scroll",RESIZE:"resize",CAROUSEL_READY:"bs.carousel.ready",SET_TARGET_UPDATE:"set-target-update",RESTORE_FIELD:"restore-field",FORM_INIT_BASICS:"form-basics",FORM_INIT_STEPPED:"form-init-stepped",FORM_INIT_VALIDATE:"form-init-validate",FORM_INIT_VALIDATE_FIELD:"form-init-validate-field",FORM_INIT_STORAGE:"form-init-storage",FORM_VALIDATION_FAILED:"form-validation-failed",FORM_STEPPED_NEW_STEP:"form-new-step",FORM_STEPPED_FIRST_STEP:"form-first-step",FORM_STEPPED_LAST_STEP:"form-last-step",FORM_FIELDS:"input,textarea,select"},o=(function(o){var a="_main.visibility",i=document,c=i.body;i.addEventListener("visibilitychange",(function(){"hidden"===i.visibilityState?(console.log("".concat(a,": Tab: hidden")),c.classList.add("is-hidden"),c.classList.remove("is-focused"),o.dispatchEvent(new Event(t.TABHIDDEN))):(console.log("".concat(a,": Tab: focused")),c.classList.add("is-focused"),c.classList.remove("is-hidden"),o.dispatchEvent(new Event(t.TABFOCUSED)))}))}(window),function(o){var a,i,c="_main.touch",l=document,u=l.body,p=function SET_TOUCH_SCREEN(l,p){i||p===a||(l?(console.log("".concat(c,": Touch screen enabled")),u.classList.add("is-touch"),u.classList.remove("is-mouse"),o.dispatchEvent(new Event(t.TOUCHENABLE))):(console.log("".concat(c,": Touch screen disabled")),u.classList.add("is-mouse"),u.classList.remove("is-touch"),o.dispatchEvent(new Event(t.TOUCHDISABLED))),a=p,i||(i=setTimeout((function(){clearTimeout(i),i=null}),500)))};p("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),p(o,"click-touchend")})),l.addEventListener("click",(function(t){var o=!1;"click"!==t.type&&(o=!0),p(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(a){var i=document,c=i.body,l=function detectCSSScreenSize(){var t,l=i.createElement("div");l.className="env-test",c.appendChild(l);var u=_toConsumableArray(o.ENVS).reverse(),p=u.shi