biofriction-wp-theme/biofriction-theme/dist/assets/js/app.js

3 lines
266 KiB
JavaScript
Raw Normal View History

2021-09-28 14:36:35 +02:00
/*! For license information please see app.js.LICENSE.txt */
(()=>{var e={545:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Foundation=void 0;var i,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=(i=n(609))&&i.__esModule?i:{default:i},a=n(318),s=n(857),u={version:"6.5.1",_plugins:{},_uuids:[],plugin:function(e,t){var n=t||l(e),i=d(n);this._plugins[i]=this[n]=e},registerPlugin:function(e,t){var n=t?d(t):l(e.constructor).toLowerCase();e.uuid=(0,a.GetYoDigits)(6,n),e.$element.attr("data-"+n)||e.$element.attr("data-"+n,e.uuid),e.$element.data("zfPlugin")||e.$element.data("zfPlugin",e),e.$element.trigger("init.zf."+n),this._uuids.push(e.uuid)},unregisterPlugin:function(e){var t=d(l(e.$element.data("zfPlugin").constructor));for(var n in this._uuids.splice(this._uuids.indexOf(e.uuid),1),e.$element.removeAttr("data-"+t).removeData("zfPlugin").trigger("destroyed.zf."+t),e)e[n]=null},reInit:function(e){var t=e instanceof r.default;try{if(t)e.each((function(){(0,r.default)(this).data("zfPlugin")._init()}));else{var n=void 0===e?"undefined":o(e),i=this;({object:function(e){e.forEach((function(e){e=d(e),(0,r.default)("[data-"+e+"]").foundation("_init")}))},string:function(){e=d(e),(0,r.default)("[data-"+e+"]").foundation("_init")},undefined:function(){this.object(Object.keys(i._plugins))}})[n](e)}}catch(e){console.error(e)}finally{return e}},reflow:function(e,t){void 0===t?t=Object.keys(this._plugins):"string"==typeof t&&(t=[t]);var n=this;r.default.each(t,(function(t,i){var o=n._plugins[i];(0,r.default)(e).find("[data-"+i+"]").addBack("[data-"+i+"]").each((function(){var e=(0,r.default)(this),t={};if(e.data("zfPlugin"))console.warn("Tried to initialize "+i+" on an element that already has a Foundation plugin.");else{e.attr("data-options")&&e.attr("data-options").split(";").forEach((function(e,n){var i,o=e.split(":").map((function(e){return e.trim()}));o[0]&&(t[o[0]]="true"===(i=o[1])||"false"!==i&&(isNaN(1*i)?i:parseFloat(i)))}));try{e.data("zfPlugin",new o((0,r.default)(this),t))}catch(e){console.error(e)}finally{return}}}))}))},getFnName:l,addToJquery:function(e){return e.fn.foundation=function(t){var n=void 0===t?"undefined":o(t),i=e(".no-js");if(i.length&&i.removeClass("no-js"),"undefined"===n)s.MediaQuery._init(),u.reflow(this);else{if("string"!==n)throw new TypeError("We're sorry, "+n+" is not a valid parameter. You must use a string representing the method you wish to invoke.");var r=Array.prototype.slice.call(arguments,1),a=this.data("zfPlugin");if(void 0===a||void 0===a[t])throw new ReferenceError("We're sorry, '"+t+"' is not an available method for "+(a?l(a):"this element")+".");1===this.length?a[t].apply(a,r):this.each((function(n,i){a[t].apply(e(i).data("zfPlugin"),r)}))}return this},e}};function l(e){if(void 0===Function.prototype.name){var t=/function\s([^(]{1,})\(/.exec(e.toString());return t&&t.length>1?t[1].trim():""}return void 0===e.prototype?e.constructor.name:e.prototype.constructor.name}function d(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}u.util={throttle:function(e,t){var n=null;return function(){var i=this,o=arguments;null===n&&(n=setTimeout((function(){e.apply(i,o),n=null}),t))}}},window.Foundation=u,function(){Date.now&&window.Date.now||(window.Date.now=Date.now=function(){return(new Date).getTime()});for(var e=["webkit","moz"],t=0;t<e.length&&!window.requestAnimationFrame;++t){var n=e[t];window.requestAnimationFrame=window[n+"RequestAnimationFrame"],window.cancelAnimationFrame=window[n+"CancelAnimationFrame"]||window[n+"CancelRequestAnimationFrame"]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var i=0;window.requestAnimationFrame=function(e){var t=Date.now(),n=Math.max(i+16,t);return setTimeout((function(){e(i=n)}),n-t)},window.cancelAnimationFrame=clearTimeout}window.performance&&window.performance.now||(window.performance={start:Date.now(),now:function(){return Date.now()-this.start}})}(
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9iaW9mcmljdGlvbi8uL25vZGVfbW9kdWxlcy9mb3VuZGF0aW9uLXNpdGVzL2pzL2ZvdW5kYXRpb24uY29yZS5qcyIsIndlYnBhY2s6Ly9iaW9mcmljdGlvbi8uL25vZGVfbW9kdWxlcy9mb3VuZGF0aW9uLXNpdGVzL2pzL2ZvdW5kYXRpb24uY29yZS5wbHVnaW4uanMiLCJ3ZWJwYWNrOi8vYmlvZnJpY3Rpb24vLi9ub2RlX21vZHVsZXMvZm91bmRhdGlvbi1zaXRlcy9qcy9mb3VuZGF0aW9uLmNvcmUudXRpbHMuanMiLCJ3ZWJwYWNrOi8vYmlvZnJpY3Rpb24vLi9ub2RlX21vZHVsZXMvZm91bmRhdGlvbi1zaXRlcy9qcy9mb3VuZGF0aW9uLmRyb3Bkb3duLmpzIiwid2VicGFjazovL2Jpb2ZyaWN0aW9uLy4vbm9kZV9tb2R1bGVzL2ZvdW5kYXRpb24tc2l0ZXMvanMvZm91bmRhdGlvbi5kcm9wZG93bk1lbnUuanMiLCJ3ZWJwYWNrOi8vYmlvZnJpY3Rpb24vLi9ub2RlX21vZHVsZXMvZm91bmRhdGlvbi1zaXRlcy9qcy9mb3VuZGF0aW9uLmludGVyY2hhbmdlLmpzIiwid2VicGFjazovL2Jpb2ZyaWN0aW9uLy4vbm9kZV9tb2R1bGVzL2ZvdW5kYXRpb24tc2l0ZXMvanMvZm91bmRhdGlvbi5wb3NpdGlvbmFibGUuanMiLCJ3ZWJwYWNrOi8vYmlvZnJpY3Rpb24vLi9ub2RlX21vZHVsZXMvZm91bmRhdGlvbi1zaXRlcy9qcy9mb3VuZGF0aW9uLnV0aWwuYm94LmpzIiwid2VicGFjazovL2Jpb2ZyaWN0aW9uL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