{"version":3,"sources":["webpack:///../../../src/components/VDialog/VDialog.ts","webpack:///./src/views/Review/ValidateQR.vue?859b","webpack:///src/views/Review/ValidateQR.vue","webpack:///./src/views/Review/ValidateQR.vue?f4d2","webpack:///./src/views/Review/ValidateQR.vue","webpack:///./node_modules/vuetify-loader/lib/runtime/installDirectives.js","webpack:///../../../src/mixins/scrollable/index.ts","webpack:///../../../src/mixins/button-group/index.ts","webpack:///../../../src/components/VBottomNavigation/VBottomNavigation.ts","webpack:///../../../src/directives/scroll/index.ts"],"names":["baseMixins","name","directives","ClickOutside","props","dark","disabled","fullscreen","light","maxWidth","type","String","default","noClickAnimation","origin","persistent","retainFocus","scrollable","transition","width","data","activatedBy","animate","animateTimeout","isActive","this","stackMinZIndex","previousActiveElement","computed","classes","contentClasses","hasActivator","Boolean","$slots","$scopedSlots","watch","created","$attrs","hasOwnProperty","beforeMount","beforeDestroy","window","unbind","methods","animateClick","closeConditional","target","e","_isDestroyed","$refs","content","contains","overlay","$el","activeZIndex","hideScroll","document","show","bind","onClickOutside","onKeydown","getOpenDependents","activator","onFocusin","getOpenDependentElements","some","el","focusable","querySelectorAll","genContent","showLazyContent","root","class","attrs","role","tabindex","on","keydown","style","zIndex","ref","genTransition","$createElement","appear","genInnerContent","value","handler","include","transformOrigin","undefined","render","h","staticClass","attach","_vm","_h","_c","_self","$vuetify","breakpoint","smAndDown","staticStyle","theme","settings","options","logoDBW","logoDB","_v","picture","domProps","_s","couponText1","expired","expiry","validDoW","includes","localizedDoW","spentDate","_l","dows","filter","d","code","di","key","substring","toUpperCase","length","$event","dialog_showPwd","_e","rawName","expression","color","toTop","facebookURL","instagramURL","youtubeURL","linkedInURL","model","callback","$$v","scopedSlots","_u","fn","_g","_b","$t","page","loader","validateQR","dialog_isValid","dialog_isNotValid","payloads","snackbar","$set","text","staticRenderFns","password","mixins","validationMixin","validations","form","required","minLength","validationMessages","wHeight","innerHeight","wWidth","innerWidth","dialog_thanks","dialog_leave_to_tripadvisor","dialog_connection_error","review","sessionStorage","removeItem","$store","dispatch","locale","couponId","console","log","hostname","QRCodeLink","Authenticate","mounted","z","addDaysFormatted","result","Date","setDate","getDate","days","toLocaleDateString","onScroll","scrollToTop","top","goTo","component","VBottomNavigation","VBtn","VCard","VCardText","VCardTitle","VCol","VContainer","VDialog","VDivider","VIcon","VImg","VProgressCircular","VRow","VSnackbar","VSpacer","VTooltip","Scroll","module","exports","extendOptions","i","scrollTarget","scrollThreshold","Number","currentScroll","currentThreshold","isScrollingUp","previousScroll","savedScroll","canScroll","computedScrollThreshold","Math","thresholdMet","provide","btnToggle","genData","activeClass","backgroundColor","grow","height","hideOnScroll","horizontal","inputValue","mandatory","shift","app","styles","transform","updateApplication","updateValue","setBackgroundColor","internalValue","change","arg","setTextColor","inserted","binding","self","passive"],"mappings":"4ZA6BMA,EAAa,eAAO,EAAD,wCAAzB,QAWe,OAAAA,EAAA,OAAkB,CAC/BC,KAD+B,WAG/BC,WAAY,CAAEC,aAAA,QAEdC,MAAO,CACLC,KADK,QAELC,SAFK,QAGLC,WAHK,QAILC,MAJK,QAKLC,SAAU,CACRC,KAAM,CAACC,OADC,QAERC,QAAS,QAEXC,iBATK,QAULC,OAAQ,CACNJ,KADM,OAENE,QAAS,iBAEXG,WAdK,QAeLC,YAAa,CACXN,KADW,QAEXE,SAAS,GAEXK,WAnBK,QAoBLC,WAAY,CACVR,KAAM,CAACC,OADG,SAEVC,QAAS,qBAEXO,MAAO,CACLT,KAAM,CAACC,OADF,QAELC,QAAS,SAIbQ,KAnC+B,WAoC7B,MAAO,CACLC,YADK,KAELC,SAFK,EAGLC,gBAHK,EAILC,WAAYC,KAJP,MAKLC,eALK,IAMLC,sBAAuB,OAI3BC,SAAU,CACRC,QADQ,WACD,MACL,6BACI,mBAAYJ,KAAb,cAAD,QADK,GAAP,iBAEE,mBAAoBA,KAFf,UAAP,iBAGE,uBAAwBA,KAHnB,YAAP,iBAIE,uBAAwBA,KAJnB,YAAP,iBAKE,uBAAwBA,KALn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KoB,EAHL,EAK9BpB,EAAA,yCACOoB,EAAP,WAGK,IAAMqJ,EAAS,CACpBuC,WACApN,UAGF","file":"js/Review-ValidateQR-vue.3f8bacfc.js","sourcesContent":["// Styles\nimport './VDialog.sass'\n\n// Components\nimport { VThemeProvider } from '../VThemeProvider'\n\n// Mixins\nimport Activatable from '../../mixins/activatable'\nimport Dependent from '../../mixins/dependent'\nimport Detachable from '../../mixins/detachable'\nimport Overlayable from '../../mixins/overlayable'\nimport Returnable from '../../mixins/returnable'\nimport Stackable from '../../mixins/stackable'\nimport Toggleable from '../../mixins/toggleable'\n\n// Directives\nimport ClickOutside from '../../directives/click-outside'\n\n// Helpers\nimport mixins from '../../util/mixins'\nimport { removed } from '../../util/console'\nimport {\n convertToUnit,\n keyCodes,\n} from '../../util/helpers'\n\n// Types\nimport { VNode, VNodeData } from 'vue'\n\nconst baseMixins = mixins(\n Activatable,\n Dependent,\n Detachable,\n Overlayable,\n Returnable,\n Stackable,\n Toggleable\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-dialog',\n\n directives: { ClickOutside },\n\n props: {\n dark: Boolean,\n disabled: Boolean,\n fullscreen: Boolean,\n light: Boolean,\n maxWidth: {\n type: [String, Number],\n default: 'none',\n },\n noClickAnimation: Boolean,\n origin: {\n type: String,\n default: 'center center',\n },\n persistent: Boolean,\n retainFocus: {\n type: Boolean,\n default: true,\n },\n scrollable: Boolean,\n transition: {\n type: [String, Boolean],\n default: 'dialog-transition',\n },\n width: {\n type: [String, Number],\n default: 'auto',\n },\n },\n\n data () {\n return {\n activatedBy: null as EventTarget | null,\n animate: false,\n animateTimeout: -1,\n isActive: !!this.value,\n stackMinZIndex: 200,\n previousActiveElement: null as HTMLElement | null,\n }\n },\n\n computed: {\n classes (): object {\n return {\n [(`v-dialog ${this.contentClass}`).trim()]: true,\n 'v-dialog--active': this.isActive,\n 'v-dialog--persistent': this.persistent,\n 'v-dialog--fullscreen': this.fullscreen,\n 'v-dialog--scrollable': this.scrollable,\n 'v-dialog--animated': this.animate,\n }\n },\n contentClasses (): object {\n return {\n 'v-dialog__content': true,\n 'v-dialog__content--active': this.isActive,\n }\n },\n hasActivator (): boolean {\n return Boolean(\n !!this.$slots.activator ||\n !!this.$scopedSlots.activator\n )\n },\n },\n\n watch: {\n isActive (val) {\n if (val) {\n this.show()\n this.hideScroll()\n } else {\n this.removeOverlay()\n this.unbind()\n this.previousActiveElement?.focus()\n }\n },\n fullscreen (val) {\n if (!this.isActive) return\n\n if (val) {\n this.hideScroll()\n this.removeOverlay(false)\n } else {\n this.showScroll()\n this.genOverlay()\n }\n },\n },\n\n created () {\n /* istanbul ignore next */\n if (this.$attrs.hasOwnProperty('full-width')) {\n removed('full-width', this)\n }\n },\n\n beforeMount () {\n this.$nextTick(() => {\n this.isBooted = this.isActive\n this.isActive && this.show()\n })\n },\n\n beforeDestroy () {\n if (typeof window !== 'undefined') this.unbind()\n },\n\n methods: {\n animateClick () {\n this.animate = false\n // Needed for when clicking very fast\n // outside of the dialog\n this.$nextTick(() => {\n this.animate = true\n window.clearTimeout(this.animateTimeout)\n this.animateTimeout = window.setTimeout(() => (this.animate = false), 150)\n })\n },\n closeConditional (e: Event) {\n const target = e.target as HTMLElement\n // Ignore the click if the dialog is closed or destroyed,\n // if it was on an element inside the content,\n // if it was dragged onto the overlay (#6969),\n // or if this isn't the topmost dialog (#9907)\n return !(\n this._isDestroyed ||\n !this.isActive ||\n this.$refs.content.contains(target) ||\n (this.overlay && target && !this.overlay.$el.contains(target))\n ) && this.activeZIndex >= this.getMaxZIndex()\n },\n hideScroll () {\n if (this.fullscreen) {\n document.documentElement.classList.add('overflow-y-hidden')\n } else {\n Overlayable.options.methods.hideScroll.call(this)\n }\n },\n show () {\n !this.fullscreen && !this.hideOverlay && this.genOverlay()\n // Double nextTick to wait for lazy content to be generated\n this.$nextTick(() => {\n this.$nextTick(() => {\n this.previousActiveElement = document.activeElement as HTMLElement\n this.$refs.content.focus()\n this.bind()\n })\n })\n },\n bind () {\n window.addEventListener('focusin', this.onFocusin)\n },\n unbind () {\n window.removeEventListener('focusin', this.onFocusin)\n },\n onClickOutside (e: Event) {\n this.$emit('click:outside', e)\n\n if (this.persistent) {\n this.noClickAnimation || this.animateClick()\n } else {\n this.isActive = false\n }\n },\n onKeydown (e: KeyboardEvent) {\n if (e.keyCode === keyCodes.esc && !this.getOpenDependents().length) {\n if (!this.persistent) {\n this.isActive = false\n const activator = this.getActivator()\n this.$nextTick(() => activator && (activator as HTMLElement).focus())\n } else if (!this.noClickAnimation) {\n this.animateClick()\n }\n }\n this.$emit('keydown', e)\n },\n // On focus change, wrap focus to stay inside the dialog\n // https://github.com/vuetifyjs/vuetify/issues/6892\n onFocusin (e: Event) {\n if (!e || !this.retainFocus) return\n\n const target = e.target as HTMLElement\n\n if (\n !!target &&\n // It isn't the document or the dialog body\n ![document, this.$refs.content].includes(target) &&\n // It isn't inside the dialog body\n !this.$refs.content.contains(target) &&\n // We're the topmost dialog\n this.activeZIndex >= this.getMaxZIndex() &&\n // It isn't inside a dependent element (like a menu)\n !this.getOpenDependentElements().some(el => el.contains(target))\n // So we must have focused something outside the dialog and its children\n ) {\n // Find and focus the first available element inside the dialog\n const focusable = this.$refs.content.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])')\n const el = [...focusable].find(el => !el.hasAttribute('disabled')) as HTMLElement | undefined\n el && el.focus()\n }\n },\n genContent () {\n return this.showLazyContent(() => [\n this.$createElement(VThemeProvider, {\n props: {\n root: true,\n light: this.light,\n dark: this.dark,\n },\n }, [\n this.$createElement('div', {\n class: this.contentClasses,\n attrs: {\n role: 'document',\n tabindex: this.isActive ? 0 : undefined,\n ...this.getScopeIdAttrs(),\n },\n on: { keydown: this.onKeydown },\n style: { zIndex: this.activeZIndex },\n ref: 'content',\n }, [this.genTransition()]),\n ]),\n ])\n },\n genTransition () {\n const content = this.genInnerContent()\n\n if (!this.transition) return content\n\n return this.$createElement('transition', {\n props: {\n name: this.transition,\n origin: this.origin,\n appear: true,\n },\n }, [content])\n },\n genInnerContent () {\n const data: VNodeData = {\n class: this.classes,\n ref: 'dialog',\n directives: [\n {\n name: 'click-outside',\n value: {\n handler: this.onClickOutside,\n closeConditional: this.closeConditional,\n include: this.getOpenDependentElements,\n },\n },\n { name: 'show', value: this.isActive },\n ],\n style: {\n transformOrigin: this.origin,\n },\n }\n\n if (!this.fullscreen) {\n data.style = {\n ...data.style as object,\n maxWidth: this.maxWidth === 'none' ? undefined : convertToUnit(this.maxWidth),\n width: this.width === 'auto' ? undefined : convertToUnit(this.width),\n }\n }\n\n return this.$createElement('div', data, this.getContentSlot())\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-dialog__container',\n class: {\n 'v-dialog__container--attached':\n this.attach === '' ||\n this.attach === true ||\n this.attach === 'attach',\n },\n attrs: { role: 'dialog' },\n }, [\n this.genActivator(),\n this.genContent(),\n ])\n },\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"scroll-threshold-example\"}},[_c('div',[(_vm.settings)?_c('div',{staticClass:\"mt-5\"},[_c('v-row',{class:_vm.$vuetify.breakpoint.smAndDown?'':'mx-1'},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-container',{staticStyle:{\"max-width\":\"900px\"}},[_c('v-row',{staticClass:\"px-3\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"12\"}},[_c('div',{staticClass:\"text-center\"},[_c('v-card',{staticClass:\"neu-glow py-5\"},[(!_vm.$vuetify.theme.dark)?_c('v-img',{staticClass:\"mx-auto\",attrs:{\"src\":'/static/users/pictures/db/'+_vm.settings.options.logoDB,\"lazy-src\":'/static/users/pictures/db/'+_vm.settings.options.logoDB,\"max-width\":\"250\"}}):_c('v-img',{staticClass:\"mx-auto\",attrs:{\"src\":'/static/users/pictures/db/'+_vm.settings.options.logoDBW,\"lazy-src\":'/static/users/pictures/db/'+_vm.settings.options.logoDBW,\"max-width\":\"250\"}}),_c('div',[_c('div',{staticClass:\"text-h4 mt-3 mb-1\"},[_vm._v(\"Coupon Omaggio\")])])],1)],1)]),(!_vm.settings)?_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('v-card',{staticClass:\"text-center neu-glow py-5\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"size\":\"300\",\"width\":\"20\",\"color\":\"info\"}})],1)],1):[_c('v-card-text',[_c('v-card',{staticClass:\"pa-4 text-h5 neu-glow text-center\"},[_c('div',{staticClass:\"mt-3\"},[_c('v-img',{staticClass:\"mx-auto\",attrs:{\"src\":'/static/users/pictures/coupons/'+_vm.settings.picture,\"lazy-src\":'/static/users/pictures/coupons/'+_vm.settings.picture}})],1),_c('div',{staticClass:\"mt-2\",domProps:{\"innerHTML\":_vm._s(_vm.settings.couponText1)}})])],1),_c('v-card-text',[_c('v-card',{staticClass:\"pa-4 text-h5 neu-glow text-center\"},[_c('p',[_vm._v(\" valido fino al: \")]),_c('p',{class:_vm.settings.expired?'error--text text-h3 font-weight-black':'success--text text-h3 font-weight-black'},[_vm._v(_vm._s(_vm.settings.expiry))]),(_vm.settings.validDoW.includes(_vm.localizedDoW)&&!_vm.settings.spentDate)?_c('p',[_vm._v(\" Utilizzabile oggi: \"),_c('span',{staticClass:\"success--text text-h3 font-weight-black\"},[_vm._v(\"SI\")])]):_c('p',[_vm._v(\" Utilizzabile oggi: \"),_c('span',{staticClass:\"error--text text-h3 font-weight-black\"},[_vm._v(\"NO\")])]),_c('p',{staticClass:\"text-caption\"},[_vm._v(\" (Utilizzabile nei giorni: \"),_vm._l((_vm.dows.filter(function (d) { return _vm.settings.validDoW.includes(d.code); })),function(d,di){return _c('span',{key:di,class:_vm.localizedDoW==d.code?'success--text text-caption':'text-caption'},[_vm._v(\" \"+_vm._s(d['it'].substring(0,12).toUpperCase())+_vm._s((di <= _vm.dows.filter(function (d) { return _vm.settings.validDoW.includes(d.code); }).length-2)?',':'')+\" \")])}),_vm._v(\") \")],2)])],1),_c('v-card-text',[(!_vm.settings.spentDate&&!_vm.settings.expired)?_c('v-card',{staticClass:\"pa-4 neu-glow text-center\"},[_c('v-row',{staticClass:\"text-center\"},[_c('v-col',{staticClass:\"d-flex justify-center\"},[_c('div',{staticClass:\"px-4 pt-4 pb-2 white text-center\",staticStyle:{\"max-width\":\"232px\"},on:{\"click\":function($event){_vm.dialog_showPwd=!_vm.dialog_showPwd}}},[_c('qrcode-vue',{attrs:{\"value\":\"https://ibookrestaurant.com/validateqr/?p=verification\",\"size\":200,\"render-as\":\"svg\",\"level\":\"L\",\"margin\":20},on:{\"click\":function($event){_vm.dialog_showPwd=!_vm.dialog_showPwd}}})],1)])],1)],1):(_vm.settings.spentDate)?_c('v-card',{staticClass:\"pa-4 neu-glow text-center\"},[_c('v-row',[_c('v-col',[_c('div',{staticClass:\"text-h5 warning--text\"},[_vm._v(\" Coupon già speso il \"),_c('div',{staticClass:\"text-h3 font-weight-black\"},[_vm._v(_vm._s(_vm.settings.spentDate))])])])],1)],1):_c('v-card',{staticClass:\"pa-4 neu-glow text-center\"},[_c('v-row',[_c('v-col',[_c('div',{staticClass:\"text-h5 warning--text\"},[_vm._v(\" Coupon scaduto il \"),_c('div',{staticClass:\"text-h3 font-weight-black\"},[_vm._v(_vm._s(_vm.settings.expiry))])])])],1)],1)],1)]],2)],1)],1)],1)],1):_vm._e()]),(_vm.settings)?_c('v-btn',{directives:[{name:\"scroll\",rawName:\"v-scroll\",value:(_vm.onScroll),expression:\"onScroll\"},{name:\"show\",rawName:\"v-show\",value:(_vm.scrollToTop),expression:\"scrollToTop\"}],attrs:{\"fab\":\"\",\"dark\":\"\",\"small\":\"\",\"fixed\":\"\",\"bottom\":\"\",\"right\":\"\",\"color\":_vm.settings.options.color},on:{\"click\":_vm.toTop}},[_c('v-icon',[_vm._v(\"keyboard_arrow_up\")])],1):_vm._e(),(_vm.settings)?_c('v-bottom-navigation',{staticClass:\"mt-3 mb-4\",staticStyle:{\"position\":\"unset\"},attrs:{\"color\":\"orange\",\"absolute\":\"\",\"hide-on-scroll\":\"\",\"scroll-target\":\"#scroll-threshold-example\",\"scroll-threshold\":\"500\"}},[(_vm.settings.options.facebookURL)?_c('v-btn',{attrs:{\"href\":_vm.settings.options.facebookURL}},[_c('span',[_vm._v(\"Facebook\")]),_c('v-icon',{attrs:{\"color\":\"#3b5998\"}},[_vm._v(\"mdi-facebook\")])],1):_vm._e(),(_vm.settings.options.instagramURL)?_c('v-btn',{attrs:{\"href\":_vm.settings.options.instagramURL}},[_c('span',[_vm._v(\"Instagram\")]),_c('v-icon',{attrs:{\"color\":\"#C13584\"}},[_vm._v(\"mdi-instagram\")])],1):_vm._e(),(_vm.settings.options.youtubeURL)?_c('v-btn',{attrs:{\"href\":_vm.settings.options.youtubeURL}},[_c('span',[_vm._v(\"YouTube\")]),_c('v-icon',{attrs:{\"color\":\"#c4302b\"}},[_vm._v(\"mdi-youtube\")])],1):_vm._e(),(_vm.settings.options.linkedInURL)?_c('v-btn',{attrs:{\"href\":_vm.settings.options.linkedInURL}},[_c('span',[_vm._v(\"LinkedIn\")]),_c('v-icon',{attrs:{\"color\":\"#0077b5\"}},[_vm._v(\"mdi-linkedin\")])],1):_vm._e()],1):_vm._e(),_c('div',{attrs:{\"id\":\"scroll-threshold-example\"}},[_vm._v(\"   \")]),_c('v-dialog',{staticClass:\"neu-glow\",attrs:{\"width\":\"460\"},model:{value:(_vm.dialog_showPwd),callback:function ($$v) {_vm.dialog_showPwd=$$v},expression:\"dialog_showPwd\"}},[_c('v-card',{staticClass:\"neu-glow-inset\"},[_c('v-card-title',{staticClass:\"text-h5 font-weight-bold\"},[_vm._v(\" Spendi Coupon \"),_c('v-spacer'),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"neu-glow\",attrs:{\"fab\":\"\",\"icon\":\"\",\"small\":\"\"},on:{\"click\":function($event){_vm.dialog_showPwd = false}}},'v-btn',attrs,false),on),[_c('v-icon',{attrs:{\"color\":\"info\"}},[_vm._v(\"mdi-close\")])],1)]}}])},[_c('span',[_vm._v(_vm._s(_vm.$t(_vm.page+'.Close')))])])],1),_c('v-divider'),_c('v-card-text',{staticClass:\"py-5 text-h6 error--text\"},[_vm._v(\" Attenzione!! cliccando sul pulsante viene invalidato il coupon \")]),_c('v-card-text',[_c('div',{staticClass:\"px-6\"},[_c('v-btn',{attrs:{\"color\":\"error\",\"block\":\"\",\"loading\":_vm.loader},on:{\"click\":function($event){return _vm.validateQR(1)}}},[_vm._v(\"Invalida Coupon \")])],1)])],1)],1),(_vm.payloads)?_c('v-dialog',{staticClass:\"neu-glow\",attrs:{\"width\":\"460\"},model:{value:(_vm.dialog_isValid),callback:function ($$v) {_vm.dialog_isValid=$$v},expression:\"dialog_isValid\"}},[_c('v-card',{staticClass:\"neu-glow-inset\"},[_c('v-card-title',{staticClass:\"text-h4 mb-4 font-weight-bold\"},[_vm._v(\" Coupon Speso \"),_c('v-spacer'),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"neu-glow\",attrs:{\"fab\":\"\",\"icon\":\"\",\"small\":\"\"},on:{\"click\":function($event){_vm.dialog_isValid = false}}},'v-btn',attrs,false),on),[_c('v-icon',{attrs:{\"color\":\"info\"}},[_vm._v(\"mdi-close\")])],1)]}}],null,false,1013293733)},[_c('span',[_vm._v(_vm._s(_vm.$t(_vm.page+'.Close')))])])],1),_c('v-divider'),_c('v-card-text',{staticClass:\"text-center mt-3\"},[_c('v-icon',{staticStyle:{\"font-size\":\"180px\"},attrs:{\"color\":\"success\"}},[_vm._v(\"mdi-check-circle-outline\")])],1)],1)],1):_vm._e(),(_vm.payloads)?_c('v-dialog',{staticClass:\"neu-glow\",attrs:{\"width\":\"460\"},model:{value:(_vm.dialog_isNotValid),callback:function ($$v) {_vm.dialog_isNotValid=$$v},expression:\"dialog_isNotValid\"}},[_c('v-card',{staticClass:\"neu-glow-inset\"},[_c('v-card-title',{staticClass:\"text-h4 mb-4 font-weight-bold\"},[_vm._v(\" Errore \"),_c('v-spacer'),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"neu-glow\",attrs:{\"fab\":\"\",\"icon\":\"\",\"small\":\"\"},on:{\"click\":function($event){_vm.dialog_isNotValid = false}}},'v-btn',attrs,false),on),[_c('v-icon',{attrs:{\"color\":\"info\"}},[_vm._v(\"mdi-close\")])],1)]}}],null,false,1501149904)},[_c('span',[_vm._v(_vm._s(_vm.$t(_vm.page+'.Close')))])])],1),_c('v-divider'),_c('v-card-text',{staticClass:\"text-center mt-3\"},[_c('v-icon',{staticStyle:{\"font-size\":\"180px\"},attrs:{\"color\":\"error\"}},[_vm._v(\"mdi-close-circle-outline\")])],1),_c('v-card-text',{staticClass:\"mt-4\"},[(_vm.payloads.emailError)?_c('div',{staticClass:\"text-h5\"},[_vm._v(\" Email Errata \")]):_c('div',{staticClass:\"text-h5\"},[_vm._v(\" Email errata, \"),_c('br'),_vm._v(\" Coupon scaduto o già speso \")])])],1)],1):_vm._e(),_c('v-snackbar',{attrs:{\"top\":\"\",\"timeout\":\"2000\",\"color\":_vm.snackbar.color},model:{value:(_vm.snackbar.active),callback:function ($$v) {_vm.$set(_vm.snackbar, \"active\", $$v)},expression:\"snackbar.active\"}},[_vm._v(\" \"+_vm._s(_vm.snackbar.text)+\" \")])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vuetify-loader/lib/loader.js??ref--18-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ValidateQR.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vuetify-loader/lib/loader.js??ref--18-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ValidateQR.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ValidateQR.vue?vue&type=template&id=643f3b39&\"\nimport script from \"./ValidateQR.vue?vue&type=script&lang=js&\"\nexport * from \"./ValidateQR.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBottomNavigation } from 'vuetify/lib/components/VBottomNavigation';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDialog } from 'vuetify/lib/components/VDialog';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VImg } from 'vuetify/lib/components/VImg';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSnackbar } from 'vuetify/lib/components/VSnackbar';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {VBottomNavigation,VBtn,VCard,VCardText,VCardTitle,VCol,VContainer,VDialog,VDivider,VIcon,VImg,VProgressCircular,VRow,VSnackbar,VSpacer,VTooltip})\n\n\n/* vuetify-loader */\nimport installDirectives from \"!../../../node_modules/vuetify-loader/lib/runtime/installDirectives.js\"\nimport Scroll from 'vuetify/lib/directives/scroll'\ninstallDirectives(component, {Scroll})\n","// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nmodule.exports = function installDirectives (component, directives) {\n var options = typeof component.exports === 'function'\n ? component.exports.extendOptions\n : component.options\n\n if (typeof component.exports === 'function') {\n options.directives = component.exports.options.directives\n }\n\n options.directives = options.directives || {}\n\n for (var i in directives) {\n options.directives[i] = options.directives[i] || directives[i]\n }\n}\n","// Directives\nimport { Scroll } from '../../directives'\n\n// Utilities\nimport { consoleWarn } from '../../util/console'\n\n// Types\nimport Vue from 'vue'\n\n/**\n * Scrollable\n *\n * Used for monitoring scrolling and\n * invoking functions based upon\n * scrolling thresholds being\n * met.\n */\n/* @vue/component */\nexport default Vue.extend({\n name: 'scrollable',\n\n directives: { Scroll },\n\n props: {\n scrollTarget: String,\n scrollThreshold: [String, Number],\n },\n\n data: () => ({\n currentScroll: 0,\n currentThreshold: 0,\n isActive: false,\n isScrollingUp: false,\n previousScroll: 0,\n savedScroll: 0,\n target: null as Element | null,\n }),\n\n computed: {\n /**\n * A computed property that returns\n * whether scrolling features are\n * enabled or disabled\n */\n canScroll (): boolean {\n return typeof window !== 'undefined'\n },\n /**\n * The threshold that must be met before\n * thresholdMet function is invoked\n */\n computedScrollThreshold (): number {\n return this.scrollThreshold\n ? Number(this.scrollThreshold)\n : 300\n },\n },\n\n watch: {\n isScrollingUp () {\n this.savedScroll = this.savedScroll || this.currentScroll\n },\n isActive () {\n this.savedScroll = 0\n },\n },\n\n mounted () {\n if (this.scrollTarget) {\n this.target = document.querySelector(this.scrollTarget)\n\n if (!this.target) {\n consoleWarn(`Unable to locate element with identifier ${this.scrollTarget}`, this)\n }\n }\n },\n\n methods: {\n onScroll () {\n if (!this.canScroll) return\n\n this.previousScroll = this.currentScroll\n this.currentScroll = this.target\n ? this.target.scrollTop\n : window.pageYOffset\n\n this.isScrollingUp = this.currentScroll < this.previousScroll\n this.currentThreshold = Math.abs(this.currentScroll - this.computedScrollThreshold)\n\n this.$nextTick(() => {\n if (\n Math.abs(this.currentScroll - this.savedScroll) >\n this.computedScrollThreshold\n ) this.thresholdMet()\n })\n },\n /**\n * The method invoked when\n * scrolling in any direction\n * has exceeded the threshold\n */\n thresholdMet () { /* noop */ },\n },\n})\n","// Extensions\nimport { BaseItemGroup } from '../../components/VItemGroup/VItemGroup'\n\n/* @vue/component */\nexport default BaseItemGroup.extend({\n name: 'button-group',\n\n provide (): object {\n return {\n btnToggle: this,\n }\n },\n\n computed: {\n classes (): object {\n return BaseItemGroup.options.computed.classes.call(this)\n },\n },\n\n methods: {\n // Isn't being passed down through types\n genData: BaseItemGroup.options.methods.genData,\n },\n})\n","// Styles\nimport './VBottomNavigation.sass'\n\n// Mixins\nimport Applicationable from '../../mixins/applicationable'\nimport ButtonGroup from '../../mixins/button-group'\nimport Colorable from '../../mixins/colorable'\nimport Measurable from '../../mixins/measurable'\nimport Proxyable from '../../mixins/proxyable'\nimport Scrollable from '../../mixins/scrollable'\nimport Themeable from '../../mixins/themeable'\nimport { factory as ToggleableFactory } from '../../mixins/toggleable'\n\n// Utilities\nimport mixins from '../../util/mixins'\nimport { breaking } from '../../util/console'\n\n// Types\nimport { VNode } from 'vue'\n\nexport default mixins(\n Applicationable('bottom', [\n 'height',\n 'inputValue',\n ]),\n Colorable,\n Measurable,\n ToggleableFactory('inputValue'),\n Proxyable,\n Scrollable,\n Themeable\n /* @vue/component */\n).extend({\n name: 'v-bottom-navigation',\n\n props: {\n activeClass: {\n type: String,\n default: 'v-btn--active',\n },\n backgroundColor: String,\n grow: Boolean,\n height: {\n type: [Number, String],\n default: 56,\n },\n hideOnScroll: Boolean,\n horizontal: Boolean,\n inputValue: {\n type: Boolean,\n default: true,\n },\n mandatory: Boolean,\n shift: Boolean,\n },\n\n data () {\n return {\n isActive: this.inputValue,\n }\n },\n\n computed: {\n canScroll (): boolean {\n return (\n Scrollable.options.computed.canScroll.call(this) &&\n (\n this.hideOnScroll ||\n !this.inputValue\n )\n )\n },\n classes (): object {\n return {\n 'v-bottom-navigation--absolute': this.absolute,\n 'v-bottom-navigation--grow': this.grow,\n 'v-bottom-navigation--fixed': !this.absolute && (this.app || this.fixed),\n 'v-bottom-navigation--horizontal': this.horizontal,\n 'v-bottom-navigation--shift': this.shift,\n }\n },\n styles (): object {\n return {\n ...this.measurableStyles,\n transform: this.isActive ? 'none' : 'translateY(100%)',\n }\n },\n },\n\n created () {\n /* istanbul ignore next */\n if (this.$attrs.hasOwnProperty('active')) {\n breaking('active.sync', 'value or v-model', this)\n }\n },\n\n methods: {\n thresholdMet () {\n this.isActive = !this.isScrollingUp\n this.$emit('update:input-value', this.isActive)\n },\n updateApplication (): number {\n return this.$el\n ? this.$el.clientHeight\n : 0\n },\n updateValue (val: any) {\n this.$emit('change', val)\n },\n },\n\n render (h): VNode {\n const data = this.setBackgroundColor(this.backgroundColor, {\n staticClass: 'v-bottom-navigation',\n class: this.classes,\n style: this.styles,\n props: {\n activeClass: this.activeClass,\n mandatory: Boolean(\n this.mandatory ||\n this.value !== undefined\n ),\n value: this.internalValue,\n },\n on: { change: this.updateValue },\n })\n\n if (this.canScroll) {\n data.directives = data.directives || []\n\n data.directives.push({\n arg: this.scrollTarget,\n name: 'scroll',\n value: this.onScroll,\n })\n }\n\n return h(ButtonGroup, this.setTextColor(this.color, data), this.$slots.default)\n },\n})\n","import { VNodeDirective } from 'vue/types/vnode'\nimport { DirectiveOptions } from 'vue'\n\ninterface ScrollVNodeDirective extends Omit {\n value: EventListener | {\n handler: EventListener\n options?: boolean | AddEventListenerOptions\n } | EventListenerObject & { options?: boolean | AddEventListenerOptions }\n modifiers?: {\n self?: boolean\n }\n}\n\nfunction inserted (el: HTMLElement, binding: ScrollVNodeDirective) {\n const { self = false } = binding.modifiers || {}\n const value = binding.value\n const options = (typeof value === 'object' && value.options) || { passive: true }\n const handler = typeof value === 'function' || 'handleEvent' in value ? value : value.handler\n\n const target = self\n ? el\n : binding.arg\n ? document.querySelector(binding.arg)\n : window\n\n if (!target) return\n\n target.addEventListener('scroll', handler, options)\n\n el._onScroll = {\n handler,\n options,\n // Don't reference self\n target: self ? undefined : target,\n }\n}\n\nfunction unbind (el: HTMLElement) {\n if (!el._onScroll) return\n\n const { handler, options, target = el } = el._onScroll\n\n target.removeEventListener('scroll', handler, options)\n delete el._onScroll\n}\n\nexport const Scroll = {\n inserted,\n unbind,\n} as DirectiveOptions\n\nexport default Scroll\n"],"sourceRoot":""}