text: !function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.vueMq=t()}(this,function(){"use strict";var n=function(n){return n.replace(/[A-Z]/g,function(n){return"-"+n.toLowerCase()}).toLowerCase()},t=function(t){var e="",r=Object.keys(t);return r.forEach(function(i,o){var u=t[i];(function(n){return/[height|width]$/.test(n)})(i=n(i))&&"number"==typeof u&&(u+="px"),e+=!0===u?i:!1===u?"not "+i:"("+i+": "+u+")",o<r.length-1&&(e+=" and ")}),e},e=function(n){var e="";return"string"==typeof n?n:n instanceof Array?(n.forEach(function(r,i){e+=t(r),i<n.length-1&&(e+=", ")}),e):t(n)};function r(n){var t=Object.keys(n),r=t.map(function(t){return n[t]}),i=[0].concat(function(n){if(Array.isArray(n)){for(var t=0,e=new Array(n.length);t<n.length;t++)e[t]=n[t];return e}return Array.from(n)}(r.slice(0,-1)));return i.reduce(function(n,r,o){var u=Object.assign({minWidth:r},o<t.length-1?{maxWidth:i[o+1]-1}:{}),c=e(u);return Object.assign(n,function(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}({},t[o],c))},{})}function i(n){return"[object Array]"===Object.prototype.toString.call(n)}var o={props:{mq:{required:!0,type:[String,Array]}},computed:{plusModifier:function(){return!i(this.mq)&&"+"===this.mq.slice(-1)},activeBreakpoints:function(){var n=Object.keys(this.$mqAvailableBreakpoints),t=this.plusModifier?this.mq.slice(0,-1):i(this.mq)?this.mq:[this.mq];return this.plusModifier?function(n,t){var e=n.findIndex(function(n){return n===t});return n.slice(e)}(n,t):t}},render:function(n,t){return this.activeBreakpoints.includes(this.$mq)?n("div",this.$slots.default):n()}},u={sm:450,md:1250,lg:1/0};return{install:function(n){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).breakpoints,e=void 0===t?u:t,i=new n({data:function(){return{currentBreakpoint:null}}}),c=r(e);Object.keys(c).map(function(n){!function(n,t){var e=window.matchMedia(n),r=function(n){var e=n.matches;e&&t()};e.addListener(r),r(e)}(c[n],function(){i.currentBreakpoint=n})}),n.filter("mq",function(n,t){return function(n,t,e){return function e(r){if(void 0!==t[r])return t[r];var i=n.findIndex(function(n){return n===r}),o=-1!==i||0!==i?n[i-1]:null;return o?void 0!==t[o]?t[o]:e(o):t[i]}(e)}(Object.keys(e),t,n)}),n.mixin({computed:{$mq:function(){return i.currentBreakpoint}}}),n.prototype.$mqAvailableBreakpoints=e,n.component("MqLayout",o)}}});
  //# sourceMappingURL=vue-mq.min.js.map
  