]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/blobdiff - dist/js/plugins/foundation.core.min.js
6.8.1
[thirdparty/foundation/foundation-sites.git] / dist / js / plugins / foundation.core.min.js
index a9381387664584a427a24908947cc0329553da17..4c18dc7ac4b3a3a0167e805762fa16efa7d55491 100644 (file)
@@ -1,2 +1,2 @@
-!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof exports?exports.__FOUNDATION_EXTERNAL__=n(require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.core"]=n(t.jQuery))}(self,function(s){return function(){"use strict";var e={"./js/foundation.core.js":function(t,n,e){e.r(n),e.d(n,{Foundation:function(){return s}});var n=e("jquery"),i=e.n(n),r=e("./js/foundation.core.utils.js"),a=e("./js/foundation.util.mediaQuery.js");function u(t){return(u="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})(t)}var s={version:"6.8.0",_plugins:{},_uuids:[],plugin:function(t,n){var n=n||d(t),e=p(n);this._plugins[e]=this[n]=t},registerPlugin:function(t,n){n=n?p(n):d(t.constructor).toLowerCase();t.uuid=(0,r.GetYoDigits)(6,n),t.$element.attr("data-".concat(n))||t.$element.attr("data-".concat(n),t.uuid),t.$element.data("zfPlugin")||t.$element.data("zfPlugin",t),t.$element.trigger("init.zf.".concat(n)),this._uuids.push(t.uuid)},unregisterPlugin:function(t){var n,e=p(d(t.$element.data("zfPlugin").constructor));for(n in this._uuids.splice(this._uuids.indexOf(t.uuid),1),t.$element.removeAttr("data-".concat(e)).removeData("zfPlugin").trigger("destroyed.zf.".concat(e)),t)"function"==typeof t[n]&&(t[n]=null)},reInit:function(t){var n,e,r=t instanceof i();try{r?t.each(function(){i()(this).data("zfPlugin")._init()}):(n=u(t),e=this,{object:function(t){t.forEach(function(t){t=p(t),i()("[data-"+t+"]").foundation("_init")})},string:function(){t=p(t),i()("[data-"+t+"]").foundation("_init")},undefined:function(){this.object(Object.keys(e._plugins))}}[n](t))}catch(t){console.error(t)}finally{return t}},reflow:function(r,t){void 0===t?t=Object.keys(this._plugins):"string"==typeof t&&(t=[t]);var o=this;i().each(t,function(t,n){var e=o._plugins[n];i()(r).find("[data-"+n+"]").addBack("[data-"+n+"]").filter(function(){return void 0===i()(this).data("zfPlugin")}).each(function(){var t=i()(this),n={reflow:!0};t.attr("data-options")&&t.attr("data-options").split(";").forEach(function(t){t=t.split(":").map(function(t){return t.trim()});t[0]&&(n[t[0]]=function(t){{if("true"===t)return!0;if("false"===t)return!1;if(!isNaN(+t))return parseFloat(t)}return t}(t[1]))});try{t.data("zfPlugin",new e(i()(this),n))}catch(t){console.error(t)}finally{return}})})},getFnName:d,addToJquery:function(){return i().fn.foundation=function(e){var t=u(e),n=i()(".no-js");if(n.length&&n.removeClass("no-js"),"undefined"===t)a.MediaQuery._init(),s.reflow(this);else{if("string"!==t)throw new TypeError("We're sorry, ".concat(t," 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),o=this.data("zfPlugin");if(void 0===o||void 0===o[e])throw new ReferenceError("We're sorry, '"+e+"' is not an available method for "+(o?d(o):"this element")+".");1===this.length?o[e].apply(o,r):this.each(function(t,n){o[e].apply(i()(n).data("zfPlugin"),r)})}return this},i()},util:{throttle:function(e,r){var o=null;return function(){var t=this,n=arguments;null===o&&(o=setTimeout(function(){e.apply(t,n),o=null},r))}}}};window.Foundation=s,Date.now&&window.Date.now||(window.Date.now=Date.now=function(){return(new Date).getTime()});for(var o,c=["webkit","moz"],f=0;f<c.length&&!window.requestAnimationFrame;++f){var l=c[f];window.requestAnimationFrame=window[l+"RequestAnimationFrame"],window.cancelAnimationFrame=window[l+"CancelAnimationFrame"]||window[l+"CancelRequestAnimationFrame"]}function d(t){var n;return void 0===Function.prototype.name?(n=/function\s([^(]{1,})\(/.exec(t.toString()))&&1<n.length?n[1].trim():"":(void 0===t.prototype?t:t.prototype).constructor.name}function p(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}!/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)&&window.requestAnimationFrame&&window.cancelAnimationFrame||(o=0,window.requestAnimationFrame=function(t){var n=Date.now(),e=Math.max(o+16,n);return setTimeout(function(){t(o=e)},e-n)},window.cancelAnimationFrame=clearTimeout),window.performance&&window.performance.now||(window.performance={start:Date.now(),now:function(){return Date.now()-this.start}}),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");function n(){return r.apply(this instanceof o?this:t,e.concat(Array.prototype.slice.call(arguments)))}var e=Array.prototype.slice.call(arguments,1),r=this,o=function(){};return this.prototype&&(o.prototype=this.prototype),n.prototype=new o,n})},"./js/foundation.core.plugin.js":function(t,n,e){e.r(n),e.d(n,{Plugin:function(){return r}});var o=e("./js/foundation.core.utils.js");function i(t){return(i="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})(t)}function a(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,function(t){t=function(t,n){if("object"!==i(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return("string"===n?String:Number)(t);e=e.call(t,n||"default");if("object"!==i(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t,"string");return"symbol"===i(t)?t:String(t)}(r.key),r)}}var r=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this._setup(t,n);t=u(this);this.uuid=(0,o.GetYoDigits)(6,t),this.$element.attr("data-".concat(t))||this.$element.attr("data-".concat(t),this.uuid),this.$element.data("zfPlugin")||this.$element.data("zfPlugin",this),this.$element.trigger("init.zf.".concat(t))}var t,n,r;return t=e,(n=[{key:"destroy",value:function(){this._destroy();var t,n=u(this);for(t in this.$element.removeAttr("data-".concat(n)).removeData("zfPlugin").trigger("destroyed.zf.".concat(n)),this)this.hasOwnProperty(t)&&(this[t]=null)}}])&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function u(t){return t.className.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}},"./js/foundation.core.utils.js":function(t,n,e){e.r(n),e.d(n,{GetYoDigits:function(){return o},RegExpEscape:function(){return i},ignoreMousedisappear:function(){return c},onLoad:function(){return u},rtl:function(){return r},transitionend:function(){return a}});var n=e("jquery"),s=e.n(n);function r(){return"rtl"===s()("html").attr("dir")}function o(){for(var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:6,n=1<arguments.length?arguments[1]:void 0,e="",r="0123456789abcdefghijklmnopqrstuvwxyz",o=r.length,i=0;i<t;i++)e+=r[Math.floor(Math.random()*o)];return n?"".concat(e,"-").concat(n):e}function i(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function a(t){var n,e,r={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend"},o=document.createElement("div");for(e in r)void 0!==o.style[e]&&(n=r[e]);return n||(setTimeout(function(){t.triggerHandler("transitionend",[t])},1),"transitionend")}function u(t,n){function e(){return t.triggerHandler(o)}var r="complete"===document.readyState,o=(r?"_didLoad":"load")+".zf.util.onLoad";return t&&(n&&t.one(o,n),r?setTimeout(e):s()(window).one("load",e)),o}function c(i){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.ignoreLeaveWindow,a=void 0!==n&&n,n=t.ignoreReappear,u=void 0!==n&&n;return function(n){for(var t=arguments.length,e=new Array(1<t?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];var o=i.bind.apply(i,[this,n].concat(e));if(null!==n.relatedTarget)return o();setTimeout(function(){if(!a&&document.hasFocus&&!document.hasFocus())return o();u||s()(document).one("mouseenter",function(t){s()(n.currentTarget).has(t.target).length||(n.relatedTarget=t.target,o())})},0)}}},"./js/foundation.util.mediaQuery.js":function(t,n,e){e.r(n),e.d(n,{MediaQuery:function(){return f}});var r,o,i,n=e("jquery"),a=e.n(n);function u(t){return(u="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})(t)}function s(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i,a,u=[],s=!0,c=!1;try{if(i=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;s=!1}else for(;!(s=(r=i.call(e)).done)&&(u.push(r.value),u.length!==n);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,n)||function(t,n){var e;if(t)return"string"==typeof t?c(t,n):"Map"===(e="Object"===(e=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?c(t,n):void 0}(t,n)||function(){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 c(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}window.matchMedia||(window.matchMedia=((i=window.styleMedia||window.media)||(r=document.createElement("style"),e=document.getElementsByTagName("script")[0],o=null,r.type="text/css",r.id="matchmediajs-test",e?e.parentNode.insertBefore(r,e):document.head.appendChild(r),o="getComputedStyle"in window&&window.getComputedStyle(r,null)||r.currentStyle,i={matchMedium:function(t){t="@media "+t+"{ #matchmediajs-test { width: 1px; } }";return r.styleSheet?r.styleSheet.cssText=t:r.textContent=t,"1px"===o.width}}),function(t){return{matches:i.matchMedium(t||"all"),media:t||"all"}}));var f={queries:[],current:"",_init:function(){if(!0===this.isInitialized)return this;this.isInitialized=!0;a()("meta.foundation-mq").length||a()('<meta class="foundation-mq" name="foundation-mq" content>').appendTo(document.head);var t,n,e,r=a()(".foundation-mq").css("font-family");for(e in n={},t=n="string"==typeof(r=r)&&(r=r.trim().slice(1,-1))?r.split("&").reduce(function(t,n){var n=n.replace(/\+/g," ").split("="),e=n[0],n=n[1],e=decodeURIComponent(e),n=void 0===n?null:decodeURIComponent(n);return t.hasOwnProperty(e)?Array.isArray(t[e])?t[e].push(n):t[e]=[t[e],n]:t[e]=n,t},{}):n,this.queries=[],t)t.hasOwnProperty(e)&&this.queries.push({name:e,value:"only screen and (min-width: ".concat(t[e],")")});this.current=this._getCurrentSize(),this._watcher()},_reInit:function(){this.isInitialized=!1,this._init()},atLeast:function(t){t=this.get(t);return!!t&&window.matchMedia(t).matches},only:function(t){return t===this._getCurrentSize()},upTo:function(t){t=this.next(t);return!t||!this.atLeast(t)},is:function(t){var n=s(t.trim().split(" ").filter(function(t){return!!t.length}),2),e=n[0],n=n[1],n=void 0===n?"":n;if("only"===n)return this.only(e);if(!n||"up"===n)return this.atLeast(e);if("down"===n)return this.upTo(e);throw new Error('\n      Invalid breakpoint passed to MediaQuery.is().\n      Expected a breakpoint name formatted like "<size> <modifier>", got "'.concat(t,'".\n    '))},get:function(t){for(var n in this.queries)if(this.queries.hasOwnProperty(n)){n=this.queries[n];if(t===n.name)return n.value}return null},next:function(n){var e=this,t=this.queries.findIndex(function(t){return e._getQueryName(t)===n});if(-1===t)throw new Error('\n        Unknown breakpoint "'.concat(n,'" passed to MediaQuery.next().\n        Ensure it is present in your Sass "$breakpoints" setting.\n      '));t=this.queries[t+1];return t?t.name:null},_getQueryName:function(t){if("string"==typeof t)return t;if("object"===u(t))return t.name;throw new TypeError('\n      Invalid value passed to MediaQuery._getQueryName().\n      Expected a breakpoint name (String) or a breakpoint query (Object), got "'.concat(t,'" (').concat(u(t),")\n    "))},_getCurrentSize:function(){for(var t,n=0;n<this.queries.length;n++){var e=this.queries[n];window.matchMedia(e.value).matches&&(t=e)}return t&&this._getQueryName(t)},_watcher:function(){var e=this;a()(window).on("resize.zf.trigger",function(){var t=e._getCurrentSize(),n=e.current;t!==n&&(e.current=t,a()(window).trigger("changed.zf.mediaquery",[t,n]))})}}},jquery:function(t){t.exports=s}},r={};function o(t){var n=r[t];return void 0!==n||(n=r[t]={exports:{}},e[t](n,n.exports,o)),n.exports}o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,{a:n}),n},o.d=function(t,n){for(var e in n)o.o(n,e)&&!o.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)};var t,n,i,a,u={};return(o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})})(u),o.d(u,{Foundation:function(){return n.Foundation},GetYoDigits:function(){return a.GetYoDigits},Plugin:function(){return i.Plugin},RegExpEscape:function(){return a.RegExpEscape},ignoreMousedisappear:function(){return a.ignoreMousedisappear},onLoad:function(){return a.onLoad},rtl:function(){return a.rtl},transitionend:function(){return a.transitionend}}),t=o("jquery"),t=o.n(t),n=o("./js/foundation.core.js"),i=o("./js/foundation.core.plugin.js"),a=o("./js/foundation.core.utils.js"),n.Foundation.addToJquery(t()),n.Foundation.Plugin=i.Plugin,n.Foundation.rtl=a.rtl,n.Foundation.GetYoDigits=a.GetYoDigits,n.Foundation.transitionend=a.transitionend,n.Foundation.RegExpEscape=a.RegExpEscape,n.Foundation.onLoad=a.onLoad,window.Foundation=n.Foundation,u}()});
+!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof exports?exports.__FOUNDATION_EXTERNAL__=n(require("jquery")):(t.__FOUNDATION_EXTERNAL__=t.__FOUNDATION_EXTERNAL__||{},t.__FOUNDATION_EXTERNAL__["foundation.core"]=n(t.jQuery))}(self,function(s){return function(){"use strict";var e={"./js/foundation.core.js":function(t,n,e){e.r(n),e.d(n,{Foundation:function(){return s}});var n=e("jquery"),i=e.n(n),r=e("./js/foundation.core.utils.js"),a=e("./js/foundation.util.mediaQuery.js");function u(t){return(u="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})(t)}var s={version:"6.8.1",_plugins:{},_uuids:[],plugin:function(t,n){var n=n||d(t),e=p(n);this._plugins[e]=this[n]=t},registerPlugin:function(t,n){n=n?p(n):d(t.constructor).toLowerCase();t.uuid=(0,r.GetYoDigits)(6,n),t.$element.attr("data-".concat(n))||t.$element.attr("data-".concat(n),t.uuid),t.$element.data("zfPlugin")||t.$element.data("zfPlugin",t),t.$element.trigger("init.zf.".concat(n)),this._uuids.push(t.uuid)},unregisterPlugin:function(t){var n,e=p(d(t.$element.data("zfPlugin").constructor));for(n in this._uuids.splice(this._uuids.indexOf(t.uuid),1),t.$element.removeAttr("data-".concat(e)).removeData("zfPlugin").trigger("destroyed.zf.".concat(e)),t)"function"==typeof t[n]&&(t[n]=null)},reInit:function(t){var n,e,r=t instanceof i();try{r?t.each(function(){i()(this).data("zfPlugin")._init()}):(n=u(t),e=this,{object:function(t){t.forEach(function(t){t=p(t),i()("[data-"+t+"]").foundation("_init")})},string:function(){t=p(t),i()("[data-"+t+"]").foundation("_init")},undefined:function(){this.object(Object.keys(e._plugins))}}[n](t))}catch(t){console.error(t)}finally{return t}},reflow:function(r,t){void 0===t?t=Object.keys(this._plugins):"string"==typeof t&&(t=[t]);var o=this;i().each(t,function(t,n){var e=o._plugins[n];i()(r).find("[data-"+n+"]").addBack("[data-"+n+"]").filter(function(){return void 0===i()(this).data("zfPlugin")}).each(function(){var t=i()(this),n={reflow:!0};t.attr("data-options")&&t.attr("data-options").split(";").forEach(function(t){t=t.split(":").map(function(t){return t.trim()});t[0]&&(n[t[0]]=function(t){{if("true"===t)return!0;if("false"===t)return!1;if(!isNaN(+t))return parseFloat(t)}return t}(t[1]))});try{t.data("zfPlugin",new e(i()(this),n))}catch(t){console.error(t)}finally{return}})})},getFnName:d,addToJquery:function(){return i().fn.foundation=function(e){var t=u(e),n=i()(".no-js");if(n.length&&n.removeClass("no-js"),"undefined"===t)a.MediaQuery._init(),s.reflow(this);else{if("string"!==t)throw new TypeError("We're sorry, ".concat(t," 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),o=this.data("zfPlugin");if(void 0===o||void 0===o[e])throw new ReferenceError("We're sorry, '"+e+"' is not an available method for "+(o?d(o):"this element")+".");1===this.length?o[e].apply(o,r):this.each(function(t,n){o[e].apply(i()(n).data("zfPlugin"),r)})}return this},i()},util:{throttle:function(e,r){var o=null;return function(){var t=this,n=arguments;null===o&&(o=setTimeout(function(){e.apply(t,n),o=null},r))}}}};window.Foundation=s,Date.now&&window.Date.now||(window.Date.now=Date.now=function(){return(new Date).getTime()});for(var o,c=["webkit","moz"],f=0;f<c.length&&!window.requestAnimationFrame;++f){var l=c[f];window.requestAnimationFrame=window[l+"RequestAnimationFrame"],window.cancelAnimationFrame=window[l+"CancelAnimationFrame"]||window[l+"CancelRequestAnimationFrame"]}function d(t){var n;return void 0===Function.prototype.name?(n=/function\s([^(]{1,})\(/.exec(t.toString()))&&1<n.length?n[1].trim():"":(void 0===t.prototype?t:t.prototype).constructor.name}function p(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}!/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)&&window.requestAnimationFrame&&window.cancelAnimationFrame||(o=0,window.requestAnimationFrame=function(t){var n=Date.now(),e=Math.max(o+16,n);return setTimeout(function(){t(o=e)},e-n)},window.cancelAnimationFrame=clearTimeout),window.performance&&window.performance.now||(window.performance={start:Date.now(),now:function(){return Date.now()-this.start}}),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");function n(){return r.apply(this instanceof o?this:t,e.concat(Array.prototype.slice.call(arguments)))}var e=Array.prototype.slice.call(arguments,1),r=this,o=function(){};return this.prototype&&(o.prototype=this.prototype),n.prototype=new o,n})},"./js/foundation.core.plugin.js":function(t,n,e){e.r(n),e.d(n,{Plugin:function(){return r}});var o=e("./js/foundation.core.utils.js");function i(t){return(i="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})(t)}function a(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,function(t){t=function(t,n){if("object"!==i(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0===e)return("string"===n?String:Number)(t);e=e.call(t,n||"default");if("object"!==i(e))return e;throw new TypeError("@@toPrimitive must return a primitive value.")}(t,"string");return"symbol"===i(t)?t:String(t)}(r.key),r)}}var r=function(){function e(t,n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this._setup(t,n);t=u(this);this.uuid=(0,o.GetYoDigits)(6,t),this.$element.attr("data-".concat(t))||this.$element.attr("data-".concat(t),this.uuid),this.$element.data("zfPlugin")||this.$element.data("zfPlugin",this),this.$element.trigger("init.zf.".concat(t))}var t,n,r;return t=e,(n=[{key:"destroy",value:function(){this._destroy();var t,n=u(this);for(t in this.$element.removeAttr("data-".concat(n)).removeData("zfPlugin").trigger("destroyed.zf.".concat(n)),this)this.hasOwnProperty(t)&&(this[t]=null)}}])&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function u(t){return t.className.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}},"./js/foundation.core.utils.js":function(t,n,e){e.r(n),e.d(n,{GetYoDigits:function(){return o},RegExpEscape:function(){return i},ignoreMousedisappear:function(){return c},onLoad:function(){return u},rtl:function(){return r},transitionend:function(){return a}});var n=e("jquery"),s=e.n(n);function r(){return"rtl"===s()("html").attr("dir")}function o(){for(var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:6,n=1<arguments.length?arguments[1]:void 0,e="",r="0123456789abcdefghijklmnopqrstuvwxyz",o=r.length,i=0;i<t;i++)e+=r[Math.floor(Math.random()*o)];return n?"".concat(e,"-").concat(n):e}function i(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function a(t){var n,e,r={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend"},o=document.createElement("div");for(e in r)void 0!==o.style[e]&&(n=r[e]);return n||(setTimeout(function(){t.triggerHandler("transitionend",[t])},1),"transitionend")}function u(t,n){function e(){return t.triggerHandler(o)}var r="complete"===document.readyState,o=(r?"_didLoad":"load")+".zf.util.onLoad";return t&&(n&&t.one(o,n),r?setTimeout(e):s()(window).one("load",e)),o}function c(i){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.ignoreLeaveWindow,a=void 0!==n&&n,n=t.ignoreReappear,u=void 0!==n&&n;return function(n){for(var t=arguments.length,e=new Array(1<t?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];var o=i.bind.apply(i,[this,n].concat(e));if(null!==n.relatedTarget)return o();setTimeout(function(){if(!a&&document.hasFocus&&!document.hasFocus())return o();u||s()(document).one("mouseenter",function(t){s()(n.currentTarget).has(t.target).length||(n.relatedTarget=t.target,o())})},0)}}},"./js/foundation.util.mediaQuery.js":function(t,n,e){e.r(n),e.d(n,{MediaQuery:function(){return f}});var r,o,i,n=e("jquery"),a=e.n(n);function u(t){return(u="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})(t)}function s(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,o,i,a,u=[],s=!0,c=!1;try{if(i=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;s=!1}else for(;!(s=(r=i.call(e)).done)&&(u.push(r.value),u.length!==n);s=!0);}catch(t){c=!0,o=t}finally{try{if(!s&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,n)||function(t,n){var e;if(t)return"string"==typeof t?c(t,n):"Map"===(e="Object"===(e=Object.prototype.toString.call(t).slice(8,-1))&&t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?c(t,n):void 0}(t,n)||function(){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 c(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=new Array(n);e<n;e++)r[e]=t[e];return r}window.matchMedia||(window.matchMedia=((i=window.styleMedia||window.media)||(r=document.createElement("style"),e=document.getElementsByTagName("script")[0],o=null,r.type="text/css",r.id="matchmediajs-test",e?e.parentNode.insertBefore(r,e):document.head.appendChild(r),o="getComputedStyle"in window&&window.getComputedStyle(r,null)||r.currentStyle,i={matchMedium:function(t){t="@media "+t+"{ #matchmediajs-test { width: 1px; } }";return r.styleSheet?r.styleSheet.cssText=t:r.textContent=t,"1px"===o.width}}),function(t){return{matches:i.matchMedium(t||"all"),media:t||"all"}}));var f={queries:[],current:"",_init:function(){if(!0===this.isInitialized)return this;this.isInitialized=!0;a()("meta.foundation-mq").length||a()('<meta class="foundation-mq" name="foundation-mq" content>').appendTo(document.head);var t,n,e,r=a()(".foundation-mq").css("font-family");for(e in n={},t=n="string"==typeof(r=r)&&(r=r.trim().slice(1,-1))?r.split("&").reduce(function(t,n){var n=n.replace(/\+/g," ").split("="),e=n[0],n=n[1],e=decodeURIComponent(e),n=void 0===n?null:decodeURIComponent(n);return t.hasOwnProperty(e)?Array.isArray(t[e])?t[e].push(n):t[e]=[t[e],n]:t[e]=n,t},{}):n,this.queries=[],t)t.hasOwnProperty(e)&&this.queries.push({name:e,value:"only screen and (min-width: ".concat(t[e],")")});this.current=this._getCurrentSize(),this._watcher()},_reInit:function(){this.isInitialized=!1,this._init()},atLeast:function(t){t=this.get(t);return!!t&&window.matchMedia(t).matches},only:function(t){return t===this._getCurrentSize()},upTo:function(t){t=this.next(t);return!t||!this.atLeast(t)},is:function(t){var n=s(t.trim().split(" ").filter(function(t){return!!t.length}),2),e=n[0],n=n[1],n=void 0===n?"":n;if("only"===n)return this.only(e);if(!n||"up"===n)return this.atLeast(e);if("down"===n)return this.upTo(e);throw new Error('\n      Invalid breakpoint passed to MediaQuery.is().\n      Expected a breakpoint name formatted like "<size> <modifier>", got "'.concat(t,'".\n    '))},get:function(t){for(var n in this.queries)if(this.queries.hasOwnProperty(n)){n=this.queries[n];if(t===n.name)return n.value}return null},next:function(n){var e=this,t=this.queries.findIndex(function(t){return e._getQueryName(t)===n});if(-1===t)throw new Error('\n        Unknown breakpoint "'.concat(n,'" passed to MediaQuery.next().\n        Ensure it is present in your Sass "$breakpoints" setting.\n      '));t=this.queries[t+1];return t?t.name:null},_getQueryName:function(t){if("string"==typeof t)return t;if("object"===u(t))return t.name;throw new TypeError('\n      Invalid value passed to MediaQuery._getQueryName().\n      Expected a breakpoint name (String) or a breakpoint query (Object), got "'.concat(t,'" (').concat(u(t),")\n    "))},_getCurrentSize:function(){for(var t,n=0;n<this.queries.length;n++){var e=this.queries[n];window.matchMedia(e.value).matches&&(t=e)}return t&&this._getQueryName(t)},_watcher:function(){var e=this;a()(window).on("resize.zf.trigger",function(){var t=e._getCurrentSize(),n=e.current;t!==n&&(e.current=t,a()(window).trigger("changed.zf.mediaquery",[t,n]))})}}},jquery:function(t){t.exports=s}},r={};function o(t){var n=r[t];return void 0!==n||(n=r[t]={exports:{}},e[t](n,n.exports,o)),n.exports}o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,{a:n}),n},o.d=function(t,n){for(var e in n)o.o(n,e)&&!o.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:n[e]})},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)};var t,n,i,a,u={};return(o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})})(u),o.d(u,{Foundation:function(){return n.Foundation},GetYoDigits:function(){return a.GetYoDigits},Plugin:function(){return i.Plugin},RegExpEscape:function(){return a.RegExpEscape},ignoreMousedisappear:function(){return a.ignoreMousedisappear},onLoad:function(){return a.onLoad},rtl:function(){return a.rtl},transitionend:function(){return a.transitionend}}),t=o("jquery"),t=o.n(t),n=o("./js/foundation.core.js"),i=o("./js/foundation.core.plugin.js"),a=o("./js/foundation.core.utils.js"),n.Foundation.addToJquery(t()),n.Foundation.Plugin=i.Plugin,n.Foundation.rtl=a.rtl,n.Foundation.GetYoDigits=a.GetYoDigits,n.Foundation.transitionend=a.transitionend,n.Foundation.RegExpEscape=a.RegExpEscape,n.Foundation.onLoad=a.onLoad,window.Foundation=n.Foundation,u}()});
 //# sourceMappingURL=foundation.core.min.js.map