{"version":3,"file":"js/8215.main.min.js","mappings":";;;;;;;;;;;;AAEO,IAAMA,yCAAyC;EAAA,IAAAC,IAAA,GAAAC,iBAAA,cAAAC,kBAAA,CAAAC,IAAA,CAAG,SAAAC,QAAA;IAAA,IAAAC,kBAAA;MAAAC,aAAA;MAAAC,mBAAA;MAAAC,KAAA,GAAAC,SAAA;IAAA,OAAAP,kBAAA,CAAAQ,IAAA,UAAAC,SAAAC,QAAA;MAAA;QAAA,QAAAA,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAE,IAAA;UAAA;YAAOT,kBAAkB,GAAAG,KAAA,CAAAO,MAAA,QAAAP,KAAA,QAAAQ,SAAA,GAAAR,KAAA,MAAG,CAAC,CAAC;YAAAI,QAAA,CAAAE,IAAA;YAAA,OAE5C,qGAAsE;UAAA;YAAAR,aAAA,GAAAM,QAAA,CAAAK,IAAA;YAArGV,mBAAmB,GAAAD,aAAA,CAAnBC,mBAAmB;YAAA,OAAAK,QAAA,CAAAM,MAAA,WAEpBX,mBAAmB,CAAC;cACvBY,wBAAwB,EAAC,CAAC;cAC1BC,QAAQ,EAAC,SAAS;cAClBC,WAAW,EAAC,IAAI;cAChBC,uBAAuB,EAAE;gBACrBC,YAAY,EAAC,oDAAoD;gBACjElB,kBAAkB,EAAlBA;cACJ;YACJ,CAAC,CAAC;UAAA;UAAA;YAAA,OAAAO,QAAA,CAAAY,IAAA;QAAA;MAAA;IAAA,GAAApB,OAAA;EAAA,CAkDL;EAAA,gBA9DYL,yCAAyCA,CAAA;IAAA,OAAAC,IAAA,CAAAyB,KAAA,OAAAhB,SAAA;EAAA;AAAA,GA8DrD","sources":["webpack://smetio/./developement/js/functions/apps/paymentMethods/redirectUserToPaymentMethodCollectionPage.js"],"sourcesContent":["\r\n\r\nexport const redirectUserToPaymentMethodCollectionPage = async (functionParameters = {}) => {\r\n \r\n const { getRedirectSmartbox } = (await import(/* webpackPrefetch: true */ \"../../get/getRedirectSmartbox.js\"));\r\n\r\n return getRedirectSmartbox({\r\n redirectCountDownSeconds:5,\r\n infoText:\"txt1746\",\r\n redirectUrl:null,\r\n fallbackFunctionDetails: {\r\n functionPath:\"apps/paymentMethods/getCreditCardDetailsWithStripe\",\r\n functionParameters\r\n }\r\n });\r\n\r\n\r\n // const { SmetioSmartbox } = (await import(/* webpackPrefetch: true */ \"../../../classes/smetioSmartbox/v1.0.0/SmetioSmartbox.js\"));\r\n\r\n // const { setTxtV2 } = (await import(/* webpackPrefetch: true */ \"../../../classes/universal_methods/setTxtV2\"));\r\n\r\n // const { getCreditCardDetailsWithStripe } = (await import(/* webpackPrefetch: true */ \"./getCreditCardDetailsWithStripe\"));\r\n\r\n // let redirectCountDownSeconds = 5;\r\n\r\n // const infoText = setTxtV2({\r\n // attributes: {},\r\n // txt: \"txt1746\",\r\n // type: \"html\"\r\n // });\r\n\r\n // let redirectTimeText = setTxtV2({\r\n // attributes: {},\r\n // txt: \"txt1747\",\r\n // type: \"html\"\r\n // });\r\n\r\n\r\n // redirectTimeText = redirectTimeText.replace(\"[#53c0nd5]\", `${redirectCountDownSeconds}`);\r\n \r\n \r\n // const smetioSmartbox = new SmetioSmartbox();\r\n // smetioSmartbox.title = functionParameters[\"title\"];\r\n // smetioSmartbox.content = `\r\n //

${infoText}

\r\n\r\n //

${redirectTimeText}

\r\n // `;\r\n // smetioSmartbox.render();\r\n\r\n // let timer = setInterval(() => {\r\n // redirectCountDownSeconds = redirectCountDownSeconds - 1;\r\n\r\n // $(\".smetio-redirect-times\").html(redirectCountDownSeconds);\r\n\r\n // if (redirectCountDownSeconds < 1) {\r\n // clearInterval(timer);\r\n // return getCreditCardDetailsWithStripe(functionParameters);\r\n // }\r\n\r\n // }, 1000);\r\n\r\n\r\n\r\n};\r\n"],"names":["redirectUserToPaymentMethodCollectionPage","_ref","_asyncToGenerator","regeneratorRuntime","mark","_callee","functionParameters","_yield$import","getRedirectSmartbox","_args","arguments","wrap","_callee$","_context","prev","next","length","undefined","sent","abrupt","redirectCountDownSeconds","infoText","redirectUrl","fallbackFunctionDetails","functionPath","stop","apply"],"sourceRoot":""}