materio-d9/web/themes/custom/materiotheme/assets/dist/main.js

49 lines
281 KiB
JavaScript
Raw Normal View History

2020-02-19 17:59:26 +01:00
!function(n){var r={};function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=n,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=84)}([function(e,t,n){"use strict";function r(e,t,n,r,i,o,a,s){var u,c="function"==typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:e,options:c}}n.d(t,"a",function(){return r})},function(e,S,j){"use strict";j.r(S),function(e){j.d(S,"Store",function(){return n}),j.d(S,"install",function(){return h}),j.d(S,"mapState",function(){return m}),j.d(S,"mapMutations",function(){return g}),j.d(S,"mapGetters",function(){return y}),j.d(S,"mapActions",function(){return b}),j.d(S,"createNamespacedHelpers",function(){return w});var u=("undefined"!=typeof window?window:void 0!==e?e:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function s(t,n){Object.keys(t).forEach(function(e){return n(t[e],e)})}function o(e,t){this.runtime=t,this._children=Object.create(null);var n=(this._rawModule=e).state;this.state=("function"==typeof n?n():n)||{}}var t={namespaced:{configurable:!0}};t.namespaced.get=function(){return!!this._rawModule.namespaced},o.prototype.addChild=function(e,t){this._children[e]=t},o.prototype.removeChild=function(e){delete this._children[e]},o.prototype.getChild=function(e){return this._children[e]},o.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},o.prototype.forEachChild=function(e){s(this._children,e)},o.prototype.forEachGetter=function(e){this._rawModule.getters&&s(this._rawModule.getters,e)},o.prototype.forEachAction=function(e){this._rawModule.actions&&s(this._rawModule.actions,e)},o.prototype.forEachMutation=function(e){this._rawModule.mutations&&s(this._rawModule.mutations,e)},Object.defineProperties(o.prototype,t);function c(e){this.register([],e,!1)}c.prototype.get=function(e){return e.reduce(function(e,t){return e.getChild(t)},this.root)},c.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(e,t){return e+((n=n.getChild(t)).namespaced?t+"/":"")},"")},c.prototype.update=function(e){!function e(t,n,r){0;n.update(r);if(r.modules)for(var i in r.modules){if(!n.getChild(i))return void 0;e(t.concat(i),n.getChild(i),r.modules[i])}}([],this.root,e)},c.prototype.register=function(n,e,r){var i=this;void 0===r&&(r=!0);var t=new o(e,r);0===n.length?this.root=t:this.get(n.slice(0,-1)).addChild(n[n.length-1],t);e.modules&&s(e.modules,function(e,t){i.register(n.concat(t),e,r)})},c.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];t.getChild(n).runtime&&t.removeChild(n)};var l;var n=function(e){var t=this;void 0===e&&(e={}),!l&&"undefined"!=typeof
2020-02-17 16:14:26 +01:00
/**
* vuex v3.1.1
* (c) 2019 Evan You
* @license MIT
*/
2020-02-19 17:59:26 +01:00
function(e){if(2<=Number(e.version.split(".")[0]))e.mixin({beforeCreate:n});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,t.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(l=e)}r.state.get=function(){return this._vm._data.$$state},r.state.set=function(e){0},n.prototype.commit=function(e,t,n){var r=this,i=v(e,t,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),u=this._mutations[o];u&&(this._withCommit(function(){u.forEach(function(e){e(a)})}),this._subscribers.forEach(function(e){return e(s,r.state)}))},n.prototype.dispatch=function(e,t){var n=this,r=v(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.filter(function(e){return e.before}).forEach(function(e){return e.before(a,n.state)})}catch(e){0}return(1<s.length?Promise.all(s.map(function(e){return e(o)})):s[0](o)).then(function(e){try{n._actionSubscribers.filter(function(e){return e.after}).forEach(function(e){return e.after(a,n.state)})}catch(e){0}return e})}},n.prototype.subscribe=function(e){return i(e,this._subscribers)},n.prototype.subscribeAction=function(e){return i("function"==typeof e?{before:e}:e,this._actionSubscribers)},n.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch(function(){return e(r.state,r.getters)},t,n)},n.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._vm._data.$$state=e})},n.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),d(this,this.state,e,this._modules.get(e),n.preserveState),f(this,this.state)},n.prototype.unregisterModule=function(t){var n=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var e=p(n.state,t.slice(0,-1));l.delete(e,t[t.length-1])}),a(this)},n.prototype.hotUpdate=function(e){this._modules.update(e),a(this,!0)},n.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(n.prototype,r);var m=x(function(i,e){var n={};return _(e).forEach(function(e){var t=e.key,r=e.val;n[t]=function(){var e=this.$store.state,t=this.$store.getters;if(i){var n=O(this.$store,"mapState",i);if(!n)return;e=n.context.state,t=n.context.getters}return"function"==typeof r?r.call(this,e,t):e[r]},n[t].vuex=!0}),n}),g=x(function(o,e){var n={};return _(e).forEach(function(e){var t=e.key,i=e.val;n[t]=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=this.$store.commit;if(o){var r=O(this.$store,"mapMutations",o);if(!r)return;n=r.context.commit}return"function"==typeof i?i.apply(this,[n].concat(e)):n.apply(this.$store,[i].concat(e))}}),n}),y=x(function(r,e){var i={};return _(e).forEach(function(e){var t=e.key,n=e.val;n=r+n,i[t]=function(){if(!r||O(this.$store,"mapGetters",r))return this.$store.getters[n]},i[t].vuex=!0}),i}),b=x(function(o,e){var n={};return _(e).forEach(function(e){var t=e.key,i=e.val;n[t]=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=this.$store.dispatch;if(o){var r=O(this.$store,"mapActions",o);if(!r)return;n=r.context.dispatch}return"function"==typeof i?i.apply(this,[n].concat(e)):n.apply(this.$store,[i].concat(e))}}),n}),w=function(e){return{mapState:m.bind(null,e),mapGetters:y.bind(null,e),mapMutations:g.bind(null,e),mapActions:b.bind(null,e)}};function _(t){return Array.isArray(t)?t.map(function(e){return{key:e,val:e}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function x(n){return function(e,t){return"string"!=typeof e?(t=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),n(e,t)}}function O(e,t,n){return e._modulesNamespaceMap[n]}var k={Store:n,install:h,version:"3.1.1",mapState:m,mapMutations:g,mapGetters:y,mapActions:b,createNamespacedHelpers:w};S.default=k}.call(this,j(9))},function(e,t,n){"use strict";var i=n(76),r=n(91),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function s(e){retu
2020-02-17 16:14:26 +01:00
/*!
* Vue.js v2.6.10
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
2020-02-20 10:36:49 +01:00
e.exports=function(){"use strict";var h=Object.freeze({});function L(e){return e===undefined||e===null}function I(e){return e!==undefined&&e!==null}function N(e){return e===true}function t(e){return e===false}function D(e){return typeof e==="string"||typeof e==="number"||typeof e==="symbol"||typeof e==="boolean"}function F(e){return e!==null&&typeof e==="object"}var n=Object.prototype.toString;function u(e){return n.call(e).slice(8,-1)}function c(e){return n.call(e)==="[object Object]"}function U(e){return n.call(e)==="[object RegExp]"}function i(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function f(e){return I(e)&&typeof e.then==="function"&&typeof e.catch==="function"}function r(e){return e==null?"":Array.isArray(e)||c(e)&&e.toString===n?JSON.stringify(e,null,2):String(e)}function H(e){var t=parseFloat(e);return isNaN(t)?e:t}function B(e,t){var n=Object.create(null);var r=e.split(",");for(var i=0;i<r.length;i++){n[r[i]]=true}return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var o=B("slot,component",true),d=B("key,ref,slot,slot-scope,is");function p(e,t){if(e.length){var n=e.indexOf(t);if(n>-1){return e.splice(n,1)}}}var a=Object.prototype.hasOwnProperty;function l(e,t){return a.call(e,t)}function e(r){var i=Object.create(null);return function e(t){var n=i[t];return n||(i[t]=r(t))}}var s=/-(\w)/g,v=e(function(e){return e.replace(s,function(e,t){return t?t.toUpperCase():""})}),m=e(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),g=/\B([A-Z])/g,y=e(function(e){return e.replace(g,"-$1").toLowerCase()});function b(n,r){function e(e){var t=arguments.length;return t?t>1?n.apply(r,arguments):n.call(r,e):n.call(r)}e._length=n.length;return e}function w(e,t){return e.bind(t)}var _=Function.prototype.bind?w:b;function x(e,t){t=t||0;var n=e.length-t;var r=new Array(n);while(n--){r[n]=e[n+t]}return r}function O(e,t){for(var n in t){e[n]=t[n]}return e}function k(e){var t={};for(var n=0;n<e.length;n++){if(e[n]){O(t,e[n])}}return t}function S(e,t,n){}var C=function(e,t,n){return false},j=function(e){return e};function $(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}function P(t,n){if(t===n){return true}var e=F(t);var r=F(n);if(e&&r){try{var i=Array.isArray(t);var o=Array.isArray(n);if(i&&o){return t.length===n.length&&t.every(function(e,t){return P(e,n[t])})}else if(t instanceof Date&&n instanceof Date){return t.getTime()===n.getTime()}else if(!i&&!o){var a=Object.keys(t);var s=Object.keys(n);return a.length===s.length&&a.every(function(e){return P(t[e],n[e])})}else{return false}}catch(e){return false}}else if(!e&&!r){return String(t)===String(n)}else{return false}}function A(e,t){for(var n=0;n<e.length;n++){if(P(e[n],t)){return n}}return-1}function V(e){var t=false;return function(){if(!t){t=true;e.apply(this,arguments)}}}var q="data-server-rendered",E=["component","directive","filter"],T=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],z={optionMergeStrategies:Object.create(null),silent:false,productionTip:"development"!=="production",devtools:"development"!=="production",performance:false,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:C,isReservedAttr:C,isUnknownElement:C,getTagNamespace:S,parsePlatformTagName:j,mustUseProp:C,async:true,_lifecycleHooks:T},M=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function R(e){var t=(e+"").charCodeAt(0);return t===36||t===95}function W(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:true,configurable:true})}var Y=new RegExp("[^"+M.source+".$_\\d]");function G(e){if(Y.test(e)){return}var n=e.split(".");return function(e){for(var t=0;t<n.length;t++){if(!e){return}e=e[n[t]]}return e}}var J="__proto__"in{},K=typeof window!=="undefined",X=typeof WXEnvironment!=="undefined"&&!!WXEnvironment.platform,Z=X&&WXEn
2020-02-19 17:59:26 +01:00
/*!
* weakmap-polyfill v2.0.0 - ECMAScript6 WeakMap polyfill
* https://github.com/polygonplanet/weakmap-polyfill
* Copyright (c) 2015-2016 polygon planet <polygon.planet.aqua@gmail.com>
* @license MIT
*/
!function(e){if(!e.WeakMap){var n=Object.prototype.hasOwnProperty,r=function(e,t,n){Object.defineProperty?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n};e.WeakMap=(r(t.prototype,"delete",function(e){if(i(this,"delete"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e||(delete e[this._id],0))}),r(t.prototype,"get",function(e){if(i(this,"get"),a(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}}),r(t.prototype,"has",function(e){if(i(this,"has"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)}),r(t.prototype,"set",function(e,t){if(i(this,"set"),!a(e))throw new TypeError("Invalid value used as weak map key");var n=e[this._id];return n&&n[0]===e?n[1]=t:r(e,this._id,[e,t]),this}),r(t,"_polyfill",!0),t)}function t(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id",function(e){return e+"_"+o()+"."+o()}("_WeakMap")),0<arguments.length)throw new TypeError("WeakMap iterable is not supported")}function i(e,t){if(!a(e)||!n.call(e,"_id"))throw new TypeError(t+" method called on incompatible receiver "+typeof e)}function o(){return Math.random().toString().substring(2)}function a(e){return Object(e)===e}}("undefined"!=typeof self?self:"undefined"!=typeof window?window:o);var s,l=(function(e){
/*! Native Promise Only
v0.8.1 (c) Kyle Simpson
MIT License: http://getify.mit-license.org
*/
var t,n,r;r=function(){var t,n,r,i,o,a,e=Object.prototype.toString,s=void 0!==b?function(e){return b(e)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(e){t=function(e,t,n){return e[t]=n,e}}function u(e,t){this.fn=e,this.self=t,this.next=void 0}function c(e,t){r.add(e,t),n=n||s(r.drain)}function l(e){var t,n=typeof e;return null==e||"object"!=n&&"function"!=n||(t=e.then),"function"==typeof t&&t}function f(){for(var e=0;e<this.chain.length;e++)d(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function d(e,t,n){var r,i;try{!1===t?n.reject(e.msg):(r=!0===t?e.msg:t.call(void 0,e.msg))===n.promise?n.reject(TypeError("Promise-chain cycle")):(i=l(r))?i.call(r,n.resolve,n.reject):n.resolve(r)}catch(e){n.reject(e)}}function p(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,0<t.chain.length&&c(f,t))}function v(e,n,r,i){for(var t=0;t<n.length;t++)!function(t){e.resolve(n[t]).then(function(e){r(t,e)},i)}(t)}function h(e){this.def=e,this.triggered=!1}function m(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function g(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var r=new m(this);this.then=function(e,t){var n={success:"function"!=typeof e||e,failure:"function"==typeof t&&t};return n.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");n.resolve=e,n.reject=t}),r.chain.push(n),0!==r.state&&c(f,r),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){(function e(n){var r,i=this;if(!i.triggered){i.triggered=!0,i.def&&(i=i.def);try{(r=l(n))?c(function(){var t=new h(i);try{r.call(n,function(){e.apply(t,arguments)},function(){p.apply(t,arguments)})}catch(e){p.call(t,e)}}):(i.msg=n,i.state=1,0<i.chain.length&&c(f,i))}catch(e){p.call(new h(i),e)}}}).call(r,e)},function(e){p.call(r,e)})}catch(e){p.call(r,e)}}var y=t({},"constructor",g,!(r={add:function(e,t){a=new u(e,t),o?o.next=a:i=a,o=a,a=void 0},drain:function(){var e=i;for(i=o=n=void 0;e;)e.fn.call(e.self),e=e.next}}));return t(g.prototype=y,"__NPO__",0,!1),t(g,"resolve",function(n){return n&&"object"==typeof n&&1===n.__NPO__?n:new this(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");e(n)})}),t(g,"reject",function(n){return new this(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");t(n)})}),t(g,"all",function(t){var a=this;return"[object Array]"!=e.call(t)?a.reject(TypeError("Not an array")):0===t.length?a.resolve([]):new a(function(n,e){if("function"!=typeof n||"function"!=typeof e)throw TypeError("Not a function");var r=t.length,i=Array(r),o=0;v(a,t,function(e,t){i[e]=t,++o===r&&n(i)},e)})}),t(g,"race",function(t){var r=this;return"[object Array]"!=e.call(t)?r.reject(TypeError("Not an array")):new r(function(n,e){if("function"!=typeof n||"function"!=typeof e)throw TypeError("Not a function");v(r,t,function(e,t){n(t)},e)})}),g},(n=o)[t="Promise"]=n[t]||r(),e.exports&&(e.exports=n[t])}(s={exports:{}},s.exports),s.exports),f=new WeakMap;function d(e,t,n){var r=f.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),f.set(e.element,r)}function p(e,t){return(f.get(e.element)||{})[t]||[]}function v(e,t,n){var r=f.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],f.set(e.element,r),!0;var i=r[t].indexOf(n);return-1!==i&&r[t].splice(i,1),f.set(e.element,r),r[t]&&0===r[t].length}var h=["autopause","autoplay","background","byline","color","controls","dnt","height","id","loop","maxheight","maxwidth","muted","playsinline","portrait","responsive","speed","texttrack","title","transparent","url","width"];function m(r,e){var t=1<arguments.length&&void 0!==e?e:{};return h.reduce(function(e,t){var n=r.getAttribute("data-vimeo-".concat(t));return!n&&""!==n||(e[t]=""===n?1:n),e},t)}function g(e,t){var n=e.html;if
function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),window.jQuery&&n instanceof jQuery&&(1<n.length&&window.console&&console.warn,n=n[0]),"undefined"!=typeof document&&"string"==typeof n&&(n=document.getElementById(n)),!function(e){return Boolean(e&&1===e.nodeType&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}(n))throw new TypeError("You must pass either a valid element or a valid id.");var i=n.ownerDocument.defaultView;if("IFRAME"!==n.nodeName){var e=n.querySelector("iframe");e&&(n=e)}if("IFRAME"===n.nodeName&&!u(n.getAttribute("src")||""))throw new Error("The player element passed isnt a Vimeo embed.");if(O.has(n))return O.get(n);this.element=n,this.origin="*";var t=new l(function(o,a){function e(e){if(u(e.origin)&&s.element.contentWindow===e.source){"*"===s.origin&&(s.origin=e.origin);var t=w(e.data);if(t&&"error"===t.event&&t.data&&"ready"===t.data.method){var n=new Error(t.data.message);return n.name=t.data.name,void a(n)}var r=t&&"ready"===t.event,i=t&&"ping"===t.method;if(r||i)return s.element.setAttribute("data-ready","true"),void o();x(s,t)}}if(i.addEventListener?i.addEventListener("message",e,!1):i.attachEvent&&i.attachEvent("onmessage",e),"IFRAME"!==s.element.nodeName){var t=m(n,r);y(c(t),t,n).then(function(e){var t=g(e,n);return s.element=t,function(e,t){var n=f.get(e);f.set(t,n),f.delete(e)}(s._originalElement=n,t),O.set(s.element,s),e}).catch(a)}});return k.set(this,t),O.set(this.element,this),"IFRAME"===this.element.nodeName&&_(this,"ping"),this}return function(e,t,n){t&&r(e.prototype,t),n&&r(e,n)}(o,[{key:"callMethod",value:function(n,e){var r=this,i=1<arguments.length&&void 0!==e?e:{};return new l(function(e,t){return r.ready().then(function(){d(r,n,{resolve:e,reject:t}),_(r,n,i)}).catch(t)})}},{key:"get",value:function(n){var r=this;return new l(function(e,t){return n=a(n,"get"),r.ready().then(function(){d(r,n,{resolve:e,reject:t}),_(r,n)}).catch(t)})}},{key:"set",value:function(n,r){var i=this;return new l(function(e,t){if(n=a(n,"set"),null==r)throw new TypeError("There must be a value to set.");return i.ready().then(function(){d(i,n,{resolve:e,reject:t}),_(i,n,r)}).catch(t)})}},{key:"on",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!=typeof t)throw new TypeError("The callback must be a function.");0===p(this,"event:".concat(e)).length&&this.callMethod("addEventListener",e).catch(function(){}),d(this,"event:".concat(e),t)}},{key:"off",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw new TypeError("The callback must be a function.");v(this,"event:".concat(e),t)&&this.callMethod("removeEventListener",e).catch(function(e){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=k.get(this)||new l(function(e,t){t(new Error("Unknown player. Probably unloaded."))});return l.resolve(e)}},{key:"addCuePoint",value:function(e,t){var n=1<arguments.length&&void 0!==t?t:{};return this.callMethod("addCuePoint",{time:e,data:n})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,t){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new l(function(e){k.delete(t),O.delete(t.element),t._originalElement&&(O.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&"IFRAME"===t.element.nodeName&&t.element.parentNode&&t.element.parentNode.removeChild(t.element),e()})}},{key:"getAutopause",value:function(){return this.get("au
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var u=Object.getOwnPropertySymbols,c=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,i=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),o=1;o<arguments.length;o++){for(var a in n=Object(arguments[o]))c.call(n,a)&&(i[a]=n[a]);if(u){r=u(n);for(var s=0;s<r.length;s++)l.call(n,r[s])&&(i[r[s]]=n[r[s]])}}return i}},function(e,t,n){"use strict";var i,o,a=h(n(5)),r=h(n(86)),s=h(n(87)),u=h(n(88)),d=h(n(75)),c=h(n(7)),l=h(n(132)),f=h(n(137)),p=h(n(138)),v=n(1);function h(e){return e&&e.__esModule?e:{default:e}}function m(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n(140),a.default.use(r.default,{props:{spinner:"spiral"}}),a.default.use(s.default),a.default.use(u.default),Drupal,i=drupalSettings,o=drupalDecoupled,new function(){var r=i.path.isFront;!function(){-1==o.route_name.indexOf("commerce")&&(c.default.beforeEach(function(e,t,n){var r,i,o=null;switch(e.name){case"home":o=null;break;case"article":o=!1;break;default:o=e.name}!1!==o&&d.default.commit("Common/setPagetitle",o);for(var a=document.querySelector("body").classList,s=[],u=0;u<a.length;u++)a[u].startsWith("path-")&&s.push(a[u]);(r=document.querySelector("body").classList).remove.apply(r,s);var c=[];if("/"==e.path)c.push("path-home");else{var l=e.path.replace(/^\//,"").split("/");for(u=0;u<l.length;u++){if(0==u)var f="path-"+l[u];else if(""!==l[u])f=c[u-1]+"-"+l[u];c.push(f)}}(i=document.querySelector("body").classList).add.apply(i,c),n()}),new a.default({store:d.default,router:c.default,el:"#block-sitebranding",methods:{onclick:function(e){var t=e.target.getAttribute("href");this.$router.push(t)}}}),function(){var e=document.querySelector("#block-pagetitle"),t=e.querySelector("h2"),n=t.innerText;r||d.default.commit("Common/setPagetitle",n);t.innerText="{{ pagetitle }}",new a.default({store:d.default,router:c.default,el:e,computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?m(n,!0).forEach(function(e){g(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):m(n).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({},(0,v.mapState)({pagetitle:function(e){return e.Common.pagetitle}}))})}(),new a.default({store:d.default,router:c.default,el:"#block-header",methods:{onclick:function(e){var t=e.target.getAttribute("href");this.$router.push(t)}}}),function(){var t="main-content",n=document.querySelector("#"+t).innerHTML;new a.default({store:d.default,render:function(e){return e(f.default,{props:{id:t,html:n,isfront:i.path.isFront}})}}).$mount("#"+t)}(),function(){var t="block-materiosapisearchblock",e=document.getElementById(t),n=null;if(e)n=e.innerHTML;else{(e=document.createElement("div")).setAttribute("id",t),document.getElementById("header-bottom").appendChild(e)}new a.default({store:d.default,render:function(e){return e(p.default,{props:{blockid:t,formhtml:n}})}}).$mount("#"+t)}());!function(){var e=0!==i.user.uid?"block-userblock":"block-userlogin",t={title:"",loginblock:""};switch(e){case"block-userlogin":var n=document.getElementById(e);t.loginblock=n.outerHTML.trim()}new a.default({store:d.default,created:function(){0!==i.user.uid&&(this.$store.commit("User/set
2020-02-17 16:14:26 +01:00
/*!
* vue-infinite-loading v2.4.4
* (c) 2016-2019 PeachScript
* MIT License
*/
2020-02-19 17:59:26 +01:00
e.exports=function(n){var r={};function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}return i.m=n,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=9)}([function(e,t,n){var r=n(6);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(3).default)("09280948",r,!0,{})},function(e,t,n){var r=n(8);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals),(0,n(3).default)("51e4c3f9",r,!0,{})},function(e,t){e.exports=function(n){var a=[];return a.toString=function(){return this.map(function(e){var t=function(e,t){var n,r=e[1]||"",i=e[3];if(!i)return r;if(t&&"function"==typeof btoa){var o=(n=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),a=i.sources.map(function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"});return[r].concat(a).concat([o]).join("\n")}return[r].join("\n")}(e,n);return e[2]?"@media "+e[2]+"{"+t+"}":t}).join("")},a.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(n[i]=!0)}for(r=0;r<e.length;r++){var o=e[r];"number"==typeof o[0]&&n[o[0]]||(t&&!o[2]?o[2]=t:t&&(o[2]="("+o[2]+") and ("+t+")"),a.push(o))}},a}},function(e,t,n){"use strict";function u(e,t){for(var n=[],r={},i=0;i<t.length;i++){var o=t[i],a=o[0],s={id:e+":"+i,css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}n.r(t),n.d(t,"default",function(){return v});var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c={},i=r&&(document.head||document.getElementsByTagName("head")[0]),o=null,a=0,l=!1,s=function(){},f=null,d="data-vue-ssr-id",p="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(a,e,t,n){l=t,f=n||{};var s=u(a,e);return h(s),function(e){for(var t=[],n=0;n<s.length;n++){var r=s[n];(i=c[r.id]).refs--,t.push(i)}for(e?h(s=u(a,e)):s=[],n=0;n<t.length;n++){var i;if(0===(i=t[n]).refs){for(var o=0;o<i.parts.length;o++)i.parts[o]();delete c[i.id]}}}}function h(e){for(var t=0;t<e.length;t++){var n=e[t],r=c[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;i++)r.parts.push(g(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(i=0;i<n.parts.length;i++)o.push(g(n.parts[i]));c[n.id]={id:n.id,refs:1,parts:o}}}}function m(){var e=document.createElement("style");return e.type="text/css",i.appendChild(e),e}function g(t){var n,r,e=document.querySelector("style["+d+'~="'+t.id+'"]');if(e){if(l)return s;e.parentNode.removeChild(e)}if(p){var i=a++;e=o=o||m(),n=w.bind(null,e,i,!1),r=w.bind(null,e,i,!0)}else e=m(),n=function(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),f.ssrId&&e.setAttribute(d,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,e),r=function(){e.parentNod
/*!
* Vue YouTube Embed version 2.2.2
* under MIT License copyright 2019 kaorun343
*/
String.prototype.includes||(String.prototype.includes=function(){return-1!==String.prototype.indexOf.apply(this,arguments)});var r=/https?:\/\/(?:[0-9A-Z-]+\.)?(?:youtu\.be\/|youtube(?:-nocookie)?\.com\S*[^\w\s-])([\w-]{11})(?=[^\w-]|$)(?![?=&+%\w.-]*(?:['"][^<>]*>|<\/a>))[?=&+%\w.-]*/gi,o=/t=(\d+)[ms]?(\d+)?s?/;function a(e){var t=e.replace(r,"$1");if(t.includes(";")){var n=t.split(";");if(n[1].includes("%"))t=("http://youtube.com"+decodeURIComponent(n[1])).replace(r,"$1");else t=n[0]}else t.includes("#")&&(t=t.split("#")[0]);return t}function s(e){void 0===e&&(e="");var t=e.match(o);if(!t)return 0;var n=t[0],r=t[1],i=t[2];return void 0!==i?(i=parseInt(i,10),r=parseInt(r,10)):n.includes("m")?(r=parseInt(r,10),i=0):(i=parseInt(r,10),r=0),i+60*r}var u={scripts:[],events:{},run:function(){var t=this;this.scripts.forEach(function(e){e(t.YT)}),this.scripts=[]},register:function(e){var t=this;this.YT?this.Vue.nextTick(function(){e(t.YT)}):this.scripts.push(e)}},i=0,c={name:"YoutubeEmbed",props:{playerHeight:{type:[String,Number],default:"360"},playerWidth:{type:[String,Number],default:"640"},playerVars:{type:Object,default:function(){return{autoplay:0,time:0}}},videoId:{type:String},mute:{type:Boolean,default:!1},host:{type:String,default:"https://www.youtube.com"}},render:function(e){return e("div",[e("div",{attrs:{id:this.elementId}})])},template:'<div><div :id="elementId"></div></div>',watch:{playerWidth:"setSize",playerHeight:"setSize",videoId:"update",mute:"setMute"},data:function(){return{elementId:"youtube-player-"+(i+=1),player:{}}},methods:{setSize:function(){this.player.setSize(this.playerWidth,this.playerHeight)},setMute:function(e){e?this.player.mute():this.player.unMute()},update:function(e){var t=(this.playerVars.autoplay?"load":"cue")+"VideoById";this.player.hasOwnProperty(t)?this.player[t](e):setTimeout(function(){this.update(e)}.bind(this),100)}},mounted:function(){var s=this;u.register(function(e){var t=s,n=t.playerHeight,r=t.playerWidth,i=t.playerVars,o=t.videoId,a=t.host;s.player=new e.Player(s.elementId,{height:n,width:r,playerVars:i,videoId:o,host:a,events:{onReady:function(e){s.setMute(s.mute),s.$emit("ready",e)},onStateChange:function(e){-1!==e.data&&s.$emit(u.events[e.data],e)},onError:function(e){s.$emit("error",e)}}})})},beforeDestroy:function(){null!==this.player&&this.player.destroy&&this.player.destroy(),delete this.player}},l={install:function(e,t){void 0===t&&(t={}),u.Vue=e,c.ready=c.mounted;var n=t.global;void 0===n&&(n=!0);var r=t.componentId;if(void 0===r&&(r="youtube"),n&&e.component(r,c),e.prototype.$youtube={getIdFromURL:a,getTimeFromURL:s},"undefined"!=typeof window&&"undefined"!=typeof document){var i=document.createElement("script");i.src="https://www.youtube.com/player_api";var o=document.getElementsByTagName("script")[0];o.parentNode.insertBefore(i,o),window.onYouTubeIframeAPIReady=function(){u.YT=YT;var e=YT.PlayerState;u.events[e.ENDED]="ended",u.events[e.PLAYING]="playing",u.events[e.PAUSED]="paused",u.events[e.BUFFERING]="buffering",u.events[e.CUED]="cued",u.Vue.nextTick(function(){u.run()})}}}};t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r;n(8),n(3),(r=n(6))&&r.__esModule;var i={namespaced:!0,state:{pagetitle:null},getters:{},mutations:{setPagetitle:function(e,t){e.pagetitle=t}},actions:{}};t.default=i},function(e,t,n){"use strict";var r=n(2),i=n(76),o=n(92),a=n(57);function s(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var u=s(a);u.Axios=o,u.create=function(e){return s(r.merge(a,e))},u.Cancel=n(80),u.CancelToken=n(105),u.isCancel=n(79),u.all=function(e){return Promise.all(e)},u.spread=n(106),e.exports=u,e.exports.default=u},function(e,t){
2020-02-17 16:14:26 +01:00
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
2020-02-19 17:59:26 +01:00
e.exports=function(e){return null!=e&&null!=e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}},function(e,t,n){"use strict";var i=n(57),o=n(2),r=n(100),a=n(101);function s(e){this.defaults=e,this.interceptors={request:new r,response:new r}}s.prototype.request=function(e,t){"string"==typeof e&&(e=o.merge({url:arguments[0]},t)),(e=o.merge(i,{method:"get"},this.defaults,e)).method=e.method.toLowerCase();var n=[a,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){n.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){n.push(e.fulfilled,e.rejected)});n.length;)r=r.then(n.shift(),n.shift());return r},o.forEach(["delete","get","head","options"],function(n){s.prototype[n]=function(e,t){return this.request(o.merge(t||{},{method:n,url:e}))}}),o.forEach(["post","put","patch"],function(r){s.prototype[r]=function(e,t,n){return this.request(o.merge(n||{},{method:r,url:e,data:t}))}}),e.exports=s},function(e,t,n){"use strict";var i=n(2);e.exports=function(n,r){i.forEach(n,function(e,t){t!==r&&t.toUpperCase()===r.toUpperCase()&&(n[r]=e,delete n[t])})}},function(e,t,n){"use strict";var i=n(78);e.exports=function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(i("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e}},function(e,t,n){"use strict";var o=n(2);function a(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var r;if(n)r=n(t);else if(o.isURLSearchParams(t))r=t.toString();else{var i=[];o.forEach(t,function(e,t){null!=e&&(o.isArray(e)?t+="[]":e=[e],o.forEach(e,function(e){o.isDate(e)?e=e.toISOString():o.isObject(e)&&(e=JSON.stringify(e)),i.push(a(t)+"="+a(e))}))}),r=i.join("&")}return r&&(e+=(-1===e.indexOf("?")?"?":"&")+r),e}},function(e,t,n){"use strict";var o=n(2),a=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,r,i={};return e&&o.forEach(e.split("\n"),function(e){if(r=e.indexOf(":"),t=o.trim(e.substr(0,r)).toLowerCase(),n=o.trim(e.substr(r+1)),t){if(i[t]&&0<=a.indexOf(t))return;i[t]="set-cookie"===t?(i[t]?i[t]:[]).concat([n]):i[t]?i[t]+", "+n:n}}),i}},function(e,t,n){"use strict";var r,i,o,a=n(2);function s(e){var t=e;return i&&(o.setAttribute("href",t),t=o.href),o.setAttribute("href",t),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:"/"===o.pathname.charAt(0)?o.pathname:"/"+o.pathname}}e.exports=a.isStandardBrowserEnv()?(i=/(msie|trident)/i.test(navigator.userAgent),o=document.createElement("a"),r=s(window.location.href),function(e){var t=a.isString(e)?s(e):e;return t.protocol===r.protocol&&t.host===r.host}):function(){return!0}},function(e,t,n){"use strict";var s=n(2);e.exports=s.isStandardBrowserEnv()?{write:function(e,t,n,r,i,o){var a=[];a.push(e+"="+encodeURIComponent(t)),s.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),s.isString(r)&&a.push("path="+r),s.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(2);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototyp