{"version":3,"sources":["webpack:///./node_modules/quasar/src/components/form/QForm.js","webpack:///./src/modules/main/pages/account/children/verification-components/ValidateEmailExt.vue","webpack:///./src/modules/main/pages/account/children/verification-components/ValidateEmailExt.vue?3fbf","webpack:///./node_modules/quasar/src/components/space/QSpace.js","webpack:///./src/modules/main/pages/account/children/verification-components/ValidateEmailExt.vue?7ff8","webpack:///./src/modules/main/pages/account/children/verification-components/ValidateEmailExt.vue?764e","webpack:///./src/modules/main/pages/account/children/verification-components/ValidateEmailExt.vue?5d03","webpack:///./src/modules/main/pages/account/children/verification-components/ValidateEmailExt.vue?7968"],"names":["createComponent","name","props","autofocus","Boolean","noErrorFocus","noResetFocus","greedy","onSubmit","Function","emits","setup","slots","emit","vm","getCurrentInstance","rootRef","ref","validateIndex","registeredComponents","validate","shouldFocus","focus","index","emitEvent","res","validateComponent","comp","valid","then","err","Promise","resolve","errorsPromise","all","map","filter","r","reduce","acc","reject","catch","error","errors","length","console","activeError","find","vmIsDestroyed","$","resetValidation","forEach","submit","evt","stopAndPrevent","val","target","reset","nextTick","addFocusFn","value","querySelector","Array","prototype","call","querySelectorAll","el","tabIndex","preventScroll","provide","formKey","bindComponent","vmProxy","push","unbindComponent","indexOf","splice","shouldActivate","onDeactivated","onActivated","onMounted","Object","assign","proxy","getValidationComponents","h","class","onReset","hSlot","default","useActions","useGetters","createNamespacedHelpers","components","GetCodeComponent","data","type","required","email","String","hash","typeValidation","t","useI18n","code","inTime","in_request_validate","errorMessage","fetchValidateChallengeExt","challenge_code","getExtChallengeSecret","secret","validated","notifySuccess","notifyError","finally","resend","intervalId","setInterval","clearInterval","setCode","e","clearData","_createElementVNode","style","_createBlock","_component_q_dialog","persistent","_createVNode","_component_q_card","_hoisted_1","_component_q_card_section","innerHTML","_ctx","$t","$props","_component_q_space","_component_q_btn","flat","round","dense","icon","_component_q_separator","_component_q_form","_cache","$event","$setup","_component_get_code_component","onGetCode","_normalizeClass","onClick","args","_normalizeStyle","_toDisplayString","_hoisted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AA,EAAI;IACP,OAAO,MAAMuJ,KAAK;EACpB;AACF,CAAC,CAAC,E;;;;;;;;;;;;ACZF;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;;;;;;;;;;;;ACAA,uC;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAyF;AACtB;AACL;;AAEyB;;AAE+C;AACtI,iCAAiC,+IAAe,CAAC,qFAAM,aAAa,sGAAM;;AAE3D,0EAAW;AACoC;AACN;AACc;AACX;AACN;AACkB;AACf;AACuF;AACrC;AAC1G,sGAAQ,CAAC,qFAAM,iBAAiB,wFAAO,CAAC,kFAAK,CAAC,gGAAY,CAAC,qFAAM,CAAC,+EAAI,CAAC,iGAAU,CAAC,mFAAK,CAAC,iGAAY,CAAC,EAAE,sGAAQ,CAAC,qFAAM,iBAAiB,oGAAU,CAAC","file":"js/chunk-16895af6.59176125.js","sourcesContent":["import { h, ref, onActivated, onDeactivated, onMounted, getCurrentInstance, nextTick, provide } from 'vue'\n\nimport { createComponent } from '../../utils/private/create.js'\nimport { stopAndPrevent } from '../../utils/event.js'\nimport { addFocusFn } from '../../utils/private/focus-manager.js'\nimport { hSlot } from '../../utils/private/render.js'\nimport { formKey } from '../../utils/private/symbols.js'\nimport { vmIsDestroyed } from '../../utils/private/vm.js'\n\nexport default createComponent({\n name: 'QForm',\n\n props: {\n autofocus: Boolean,\n noErrorFocus: Boolean,\n noResetFocus: Boolean,\n greedy: Boolean,\n\n onSubmit: Function\n },\n\n emits: [ 'reset', 'validationSuccess', 'validationError' ],\n\n setup (props, { slots, emit }) {\n const vm = getCurrentInstance()\n const rootRef = ref(null)\n\n let validateIndex = 0\n const registeredComponents = []\n\n function validate (shouldFocus) {\n const focus = typeof shouldFocus === 'boolean'\n ? shouldFocus\n : props.noErrorFocus !== true\n\n const index = ++validateIndex\n\n const emitEvent = (res, ref) => {\n emit('validation' + (res === true ? 'Success' : 'Error'), ref)\n }\n\n const validateComponent = comp => {\n const valid = comp.validate()\n\n return typeof valid.then === 'function'\n ? valid.then(\n valid => ({ valid, comp }),\n err => ({ valid: false, comp, err })\n )\n : Promise.resolve({ valid, comp })\n }\n\n const errorsPromise = props.greedy === true\n ? Promise\n .all(registeredComponents.map(validateComponent))\n .then(res => res.filter(r => r.valid !== true))\n : registeredComponents\n .reduce(\n (acc, comp) => acc.then(() => {\n return validateComponent(comp).then(r => {\n if (r.valid === false) { return Promise.reject(r) }\n })\n }),\n Promise.resolve()\n )\n .catch(error => [ error ])\n\n return errorsPromise.then(errors => {\n if (errors === void 0 || errors.length === 0) {\n index === validateIndex && emitEvent(true)\n return true\n }\n\n // if not outdated already\n if (index === validateIndex) {\n const { comp, err } = errors[ 0 ]\n\n err !== void 0 && console.error(err)\n emitEvent(false, comp)\n\n if (focus === true) {\n // Try to focus first mounted and active component\n const activeError = errors.find(({ comp }) => (\n typeof comp.focus === 'function'\n && vmIsDestroyed(comp.$) === false\n ))\n\n if (activeError !== void 0) {\n activeError.comp.focus()\n }\n }\n }\n\n return false\n })\n }\n\n function resetValidation () {\n validateIndex++\n\n registeredComponents.forEach(comp => {\n typeof comp.resetValidation === 'function' && comp.resetValidation()\n })\n }\n\n function submit (evt) {\n evt !== void 0 && stopAndPrevent(evt)\n\n const index = validateIndex + 1\n\n validate().then(val => {\n // if not outdated && validation succeeded\n if (index === validateIndex && val === true) {\n if (props.onSubmit !== void 0) {\n emit('submit', evt)\n }\n else if (evt !== void 0 && evt.target !== void 0 && typeof evt.target.submit === 'function') {\n evt.target.submit()\n }\n }\n })\n }\n\n function reset (evt) {\n evt !== void 0 && stopAndPrevent(evt)\n\n emit('reset')\n\n nextTick(() => { // allow userland to reset values before\n resetValidation()\n if (props.autofocus === true && props.noResetFocus !== true) {\n focus()\n }\n })\n }\n\n function focus () {\n addFocusFn(() => {\n if (rootRef.value === null) return\n\n const target = rootRef.value.querySelector('[autofocus][tabindex], [data-autofocus][tabindex]')\n || rootRef.value.querySelector('[autofocus] [tabindex], [data-autofocus] [tabindex]')\n || rootRef.value.querySelector('[autofocus], [data-autofocus]')\n || Array.prototype.find.call(rootRef.value.querySelectorAll('[tabindex]'), el => el.tabIndex !== -1)\n\n target !== null && target !== void 0 && target.focus({ preventScroll: true })\n })\n }\n\n provide(formKey, {\n bindComponent (vmProxy) {\n registeredComponents.push(vmProxy)\n },\n\n unbindComponent (vmProxy) {\n const index = registeredComponents.indexOf(vmProxy)\n if (index !== -1) {\n registeredComponents.splice(index, 1)\n }\n }\n })\n\n let shouldActivate = false\n\n onDeactivated(() => {\n shouldActivate = true\n })\n\n onActivated(() => {\n shouldActivate === true && props.autofocus === true && focus()\n })\n\n onMounted(() => {\n props.autofocus === true && focus()\n })\n\n // expose public methods\n Object.assign(vm.proxy, {\n validate,\n resetValidation,\n submit,\n reset,\n focus,\n getValidationComponents: () => registeredComponents\n })\n\n return () => h('form', {\n class: 'q-form',\n ref: rootRef,\n onSubmit: submit,\n onReset: reset\n }, hSlot(slots.default))\n }\n})\n","\n\n\n\n\n","export { default } from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./ValidateEmailExt.vue?vue&type=script&lang=js\"; export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./ValidateEmailExt.vue?vue&type=script&lang=js\"","import { h } from 'vue'\n\nimport { createComponent } from '../../utils/private/create.js'\n\nconst space = h('div', { class: 'q-space' })\n\nexport default createComponent({\n name: 'QSpace',\n\n setup () {\n return () => space\n }\n})\n","export * from \"-!../../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./ValidateEmailExt.vue?vue&type=style&index=0&id=50ae889f&scoped=true&lang=css\"","export * from \"-!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../../node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!../../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./ValidateEmailExt.vue?vue&type=template&id=50ae889f&scoped=true\"","// extracted by mini-css-extract-plugin","import { render } from \"./ValidateEmailExt.vue?vue&type=template&id=50ae889f&scoped=true\"\nimport script from \"./ValidateEmailExt.vue?vue&type=script&lang=js\"\nexport * from \"./ValidateEmailExt.vue?vue&type=script&lang=js\"\n\nimport \"./ValidateEmailExt.vue?vue&type=style&index=0&id=50ae889f&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src1250588209/src/flip-child-frontend/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-50ae889f\"]])\n\nexport default __exports__\nimport QDialog from 'quasar/src/components/dialog/QDialog.js';\nimport QCard from 'quasar/src/components/card/QCard.js';\nimport QCardSection from 'quasar/src/components/card/QCardSection.js';\nimport QSpace from 'quasar/src/components/space/QSpace.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport QSeparator from 'quasar/src/components/separator/QSeparator.js';\nimport QForm from 'quasar/src/components/form/QForm.js';\nimport QCardActions from 'quasar/src/components/card/QCardActions.js';import ClosePopup from 'quasar/src/directives/close-popup/ClosePopup.js';\nimport qInstall from \"../../../../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QDialog,QCard,QCardSection,QSpace,QBtn,QSeparator,QForm,QCardActions});qInstall(script, 'directives', {ClosePopup});\n"],"sourceRoot":""}