{"version":3,"sources":["webpack:///./node_modules/vuetify/lib/mixins/mobile/index.js"],"names":["extend","name","props","mobileBreakpoint","type","Number","String","this","$vuetify","breakpoint","undefined","validator","v","isNaN","includes","computed","mobile","width","mobileWidth","parseInt","isNumber","$attrs","hasOwnProperty"],"mappings":"gHAAA,4BAIe,cAAIA,OAAO,CACxBC,KAAM,SACNC,MAAO,CACLC,iBAAkB,CAChBC,KAAM,CAACC,OAAQC,QAEf,UAGE,OAAOC,KAAKC,SAAWD,KAAKC,SAASC,WAAWN,sBAAmBO,GAGrEC,UAAWC,IAAMC,MAAMR,OAAOO,KAAO,CAAC,KAAM,KAAM,KAAM,KAAM,MAAME,SAASR,OAAOM,MAGxFG,SAAU,CACR,WACE,MAAM,OACJC,EAAM,MACNC,EAAK,KACLhB,EAAI,iBACJE,GACEI,KAAKC,SAASC,WAGlB,GAAIN,IAAqBI,KAAKJ,iBAAkB,OAAOa,EACvD,MAAME,EAAcC,SAASZ,KAAKJ,iBAAkB,IAC9CiB,GAAYP,MAAMK,GACxB,OAAOE,EAAWH,EAAQC,EAAcjB,IAASM,KAAKJ,mBAK1D,UAEMI,KAAKc,OAAOC,eAAe,uBAC7B,eAAU,qBAAsB,oBAAqBf","file":"js/chunk-7728e719.0d59d620.js","sourcesContent":["import { deprecate } from '../../util/console';\nimport Vue from 'vue';\n/* @vue/component */\n\nexport default Vue.extend({\n name: 'mobile',\n props: {\n mobileBreakpoint: {\n type: [Number, String],\n\n default() {\n // Avoid destroying unit\n // tests for users\n return this.$vuetify ? this.$vuetify.breakpoint.mobileBreakpoint : undefined;\n },\n\n validator: v => !isNaN(Number(v)) || ['xs', 'sm', 'md', 'lg', 'xl'].includes(String(v))\n }\n },\n computed: {\n isMobile() {\n const {\n mobile,\n width,\n name,\n mobileBreakpoint\n } = this.$vuetify.breakpoint; // Check if local mobileBreakpoint matches\n // the application's mobileBreakpoint\n\n if (mobileBreakpoint === this.mobileBreakpoint) return mobile;\n const mobileWidth = parseInt(this.mobileBreakpoint, 10);\n const isNumber = !isNaN(mobileWidth);\n return isNumber ? width < mobileWidth : name === this.mobileBreakpoint;\n }\n\n },\n\n created() {\n /* istanbul ignore next */\n if (this.$attrs.hasOwnProperty('mobile-break-point')) {\n deprecate('mobile-break-point', 'mobile-breakpoint', this);\n }\n }\n\n});\n//# sourceMappingURL=index.js.map"],"sourceRoot":""}