{"version":3,"file":"Register-DFVcc56f.js","sources":["../../src/components/cards/ProductSelectionCards.vue","../../src/views/auth/Register.vue"],"sourcesContent":["\n\n\n\n\n","\n\n\n\n\n"],"names":["__default__","formatMoney","useDinero","props","__props","emit","__emit","selected","ref","_a","onSelect","product","unwatchLockedProduct","watch","lockedProduct","unwatchProducts","products","onUnmounted","defineComponent","t","useI18n","router","useRouter","toTwoDecimals","shallowRef","selectedProduct","isLoadingProducts","isLoadingPromoCode","isLoadingStripe","setupIntent","stripeElementDirty","stripeEvent","localeButton","currentLocale","newLocale","computed","trans","l","switchLanguage","language","nextTick","promoCode","isLoading","subtotal","discounts","_b","_c","total","doCreateSetupIntent","response","createSetupIntent","jsonResponse","registerCard","stripe","cardElement","useStripe","hasValidCard","fields","schema","yup.object","yup.string","form","errors","setErrors","handleSubmit","useForm","submit","onApplyPromoCode","valid","success","error","flashStore","register","unref","resetCardElement","KDS_CONNECT_KEY_LOCAL_STORAGE","getPromoCode","prod","p","onRemovePromoCode","doGetProducts","getProducts","moduleIconsSolid","item","MODULES","Sentry.captureMessage","setupProducts","linkedProduct","selectProduct","value","onMounted","includeScript","setCookie"],"mappings":"qoEAoDAA,GAAe,CAAE,KAAM,uBAAwB,gIAezC,KAAA,CAAE,YAAAC,CAAY,EAAIC,GAAU,EAQ5BC,EAAQC,EAERC,EAAOC,EAEPC,EAAWC,GAAIC,EAAAN,EAAM,aAAN,YAAAM,EAAkB,UAAU,EAE3CC,EAAYC,GAAqB,CACnCJ,EAAS,MAAQI,GAAA,YAAAA,EAAS,WAC1BN,EAAK,SAAUM,CAAO,CAC1B,EAEMC,EAAuBC,GACzB,IACWV,EAAM,cAEhBW,GAAkB,CACXA,GACAJ,EAASI,CAAwB,CACrC,CAER,EAEMC,EAAkBF,GACpB,IACWV,EAAM,SAEhBa,GAAa,CACN,CAACT,EAAS,QAASS,GAAA,MAAAA,EAAU,SAC7BN,EAASP,EAAM,UAAqB,CACxC,CAER,EAEA,OAAAc,GAAY,IAA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