{"version":3,"sources":["webpack:///./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js","webpack:///./node_modules/@capacitor-community/stripe/dist/esm/applepay/apple-pay-events.enum.js","webpack:///./node_modules/@capacitor-community/stripe/dist/esm/googlepay/google-pay-events.enum.js","webpack:///./node_modules/@capacitor-community/stripe/dist/esm/paymentflow/payment-flow-events.enum.js","webpack:///./node_modules/@capacitor-community/stripe/dist/esm/paymentsheet/payment-sheet-events.enum.js","webpack:///./node_modules/@capacitor-community/stripe/dist/esm/identityverificationsheet/identity-verification-sheet-events.enum.js","webpack:///./src/views/v2/Checkout.vue?6a22","webpack:///./node_modules/@capacitor-community/stripe/dist/esm/index.js","webpack:///./node_modules/@stripe/stripe-js/dist/stripe.esm.js","webpack:///./src/views/v2/Checkout.vue?0235","webpack:///./src/views/v2/Checkout.vue","webpack:///./src/views/v2/Checkout.vue?7728","webpack:///./node_modules/primevue/portal/portal.esm.js"],"names":["OverlayEventBus","ApplePayEventsEnum","GooglePayEventsEnum","PaymentFlowEventsEnum","PaymentSheetEventsEnum","IdentityVerificationSheetEventsEnum","_hoisted_1","key","_hoisted_2","class","_hoisted_3","_hoisted_4","style","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_createElementVNode","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","src","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","id","_hoisted_37","_hoisted_38","for","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","_hoisted_52","_createTextVNode","height","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","render","_ctx","_cache","$props","$setup","$data","$options","_component_ion_back_button","_resolveComponent","_component_ion_buttons","_component_ion_menu_button","_component_ald_logo","_component_ion_title","_component_ion_toolbar","_component_ion_header","_component_ion_loading","_component_ion_card_content","_component_ion_card","_component_ion_avatar","_component_Calendar","_component_InputText","_component_Textarea","_component_ion_button","_component_StripeElement","_component_StripeElements","_component_ion_content","_component_ion_modal","_component_ion_toast","_component_ion_page","_openBlock","_createBlock","default","_withCtx","_createVNode","color","slot","_","isLoading","cssClass","message","lang","Detail","InCaricamento","cart","defunto","_createElementBlock","_toDisplayString","Checkout","Title1","_Fragment","_renderList","orderItems","i","item","imageUrl","title","price","toFixed","DeliveryLabel","deliveryCost","FreeLabel","TotalLabel","amountTotal","innerHTML","Text1","DestTitle","fullname","birthDate","Date","toLocaleDateString","_createCommentVNode","dieDate","currentPosition","burialCityName","cemeteryName","position","ServiceTitle","ServiceText","modelValue","expireDate","$event","dateFormat","minDate","nextDay","DedicaTitle","DedicaText1","DedicaLabel1","type","fromDescription","placeholder","DedicaLabel2","fromContent","autoResize","rows","DedicaWriteHere","isCreating","onClick","onPay","expand","shape","isApplePayAvailable","AcquistaCon","isGooglePayAvailable","InElaborazione","openModal","breakpoints","initialBreakpoint","onDidDismiss","setOpenModal","PayWithCard","stripeLoaded","ref","publishableKey","instanceOptions","elementsOptions","elements","options","cardOptions","payNowEnabled","paySuccess","onConfirmPay","onNewSearch","isToastOpen","errorMessage","duration","setIsToastOpen","Stripe","web","then","m","StripeWeb","V3_URL","V3_URL_REGEX","EXISTING_SCRIPT_MESSAGE","findScript","scripts","document","querySelectorAll","concat","length","script","test","injectScript","params","queryString","advancedFraudSignals","createElement","headOrBody","head","body","Error","appendChild","registerWrapper","stripe","startTime","_registerWrapper","name","version","loadScript","Promise","resolve","reject","window","console","warn","addEventListener","error","initStripe","maybeStripe","args","apply","undefined","stripePromise$1","loadCalled","err","loadStripe","_len","arguments","Array","_key","now","defineComponent","components","IonHeader","IonToolbar","IonTitle","IonContent","IonPage","IonText","IonMenuButton","IonBackButton","IonButtons","IonLoading","aldLogo","IonLabel","IonList","IonItem","IonCard","IonCardHeader","IonCardContent","IonCardSubtitle","IonCardTitle","IonButton","IonAvatar","IonIcon","Calendar","InputText","Textarea","IonModal","StripeElements","StripeElement","IonToast","setup","_cart$value","_user$value$nominativ","_user$value","store","useStore","router","useRouter","computed","state","user","auth","value","addDays","date","days","result","setDate","getDate","today","nominativo","setPayNowEnabled","setPaySuccess","setErrorMessage","setIsLoading","setIsCreating","setIsApplePayAvailable","setIsGooglePayAvailable","process","terms","card","elms","setStripeLoaded","onBeforeMount","stripePromise","onMounted","async","initialize","isAvailable","catch","log","isAvailable2","onUnmounted","route","push","goThankyouPage","googlePayment","payment","addListener","Completed","Canceled","Failed","FailedToLoad","summaryItems","label","amount","paymentIntentClientSecret","paymentSummaryItems","countryCode","currency","createGooglePay","presentGooglePay","paymentResult","applePayment","merchantIdentifier","createApplePay","presentApplePay","cardPayment","clientSecret","appearance","theme","loader","dispatch","payResult","mode","confirmPayment","paymentIntent","setTimeout","methods","that","this","_this$cart$payment","stripeElement","instance","confirmParams","return_url","redirect","setup_future_usage","__exports__","props","appendTo","String","disabled","Boolean","mounted","isClient","$slots","to"],"mappings":"kHAAA,kDAEIA,EAAkB,kB,oCCFf,IAAIC,ECAAC,ECAAC,ECAAC,ECAAC,E,wIJCX,SAAWJ,GACPA,EAAmB,UAAY,iBAC/BA,EAAmB,gBAAkB,uBACrCA,EAAmB,aAAe,oBAClCA,EAAmB,YAAc,mBACjCA,EAAmB,UAAY,iBAC/BA,EAAmB,4BAA8B,mCACjDA,EAAmB,0BAA4B,iCAPnD,CAQGA,IAAuBA,EAAqB,KCR/C,SAAWC,GACPA,EAAoB,UAAY,kBAChCA,EAAoB,gBAAkB,wBACtCA,EAAoB,aAAe,qBACnCA,EAAoB,YAAc,oBAClCA,EAAoB,UAAY,kBALpC,CAMGA,IAAwBA,EAAsB,KCNjD,S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KU,YAKzC,SAAS9S,EAAOC,EAAMC,EAAQC,EAAQC,EAAQC,EAAOC,GACnD,OAAQA,EAAe,OACnB,eAAWL,EAAKmT,OAAQ,UAAW,CAAEpX,IAAK,IACzCqE,EAAa,SACX,iBAAa,eAAY,OAAU,CAClCrE,IAAK,EACLqX,GAAIlT,EAAO2S,UACV,CACD,eAAW7S,EAAKmT,OAAQ,YACvB,EAAG,CAAC,QACP,eAAmB,IAAI,GAG/BxK,EAAO5I,OAASA","file":"js/chunk-466ceb3a.069d2585.js","sourcesContent":["import { EventBus } from 'primevue/utils';\n\nvar OverlayEventBus = EventBus();\n\nexport { OverlayEventBus as default };\n","export var ApplePayEventsEnum;\n(function (ApplePayEventsEnum) {\n ApplePayEventsEnum[\"Loaded\"] = \"applePayLoaded\";\n ApplePayEventsEnum[\"FailedToLoad\"] = \"applePayFailedToLoad\";\n ApplePayEventsEnum[\"Completed\"] = \"applePayCompleted\";\n ApplePayEventsEnum[\"Canceled\"] = \"applePayCanceled\";\n ApplePayEventsEnum[\"Failed\"] = \"applePayFailed\";\n ApplePayEventsEnum[\"DidSelectShippingContact\"] = \"applePayDidSelectShippingContact\";\n ApplePayEventsEnum[\"DidCreatePaymentMethod\"] = \"applePayDidCreatePaymentMethod\";\n})(ApplePayEventsEnum || (ApplePayEventsEnum = {}));\n//# sourceMappingURL=apple-pay-events.enum.js.map","export var GooglePayEventsEnum;\n(function (GooglePayEventsEnum) {\n GooglePayEventsEnum[\"Loaded\"] = \"googlePayLoaded\";\n GooglePayEventsEnum[\"FailedToLoad\"] = \"googlePayFailedToLoad\";\n GooglePayEventsEnum[\"Completed\"] = \"googlePayCompleted\";\n GooglePayEventsEnum[\"Canceled\"] = \"googlePayCanceled\";\n GooglePayEventsEnum[\"Failed\"] = \"googlePayFailed\";\n})(GooglePayEventsEnum || (GooglePayEventsEnum = {}));\n//# sourceMappingURL=google-pay-events.enum.js.map","export var PaymentFlowEventsEnum;\n(function (PaymentFlowEventsEnum) {\n PaymentFlowEventsEnum[\"Loaded\"] = \"paymentFlowLoaded\";\n PaymentFlowEventsEnum[\"FailedToLoad\"] = \"paymentFlowFailedToLoad\";\n PaymentFlowEventsEnum[\"Opened\"] = \"paymentFlowOpened\";\n PaymentFlowEventsEnum[\"Created\"] = \"paymentFlowCreated\";\n PaymentFlowEventsEnum[\"Completed\"] = \"paymentFlowCompleted\";\n PaymentFlowEventsEnum[\"Canceled\"] = \"paymentFlowCanceled\";\n PaymentFlowEventsEnum[\"Failed\"] = \"paymentFlowFailed\";\n})(PaymentFlowEventsEnum || (PaymentFlowEventsEnum = {}));\n//# sourceMappingURL=payment-flow-events.enum.js.map","export var PaymentSheetEventsEnum;\n(function (PaymentSheetEventsEnum) {\n PaymentSheetEventsEnum[\"Loaded\"] = \"paymentSheetLoaded\";\n PaymentSheetEventsEnum[\"FailedToLoad\"] = \"paymentSheetFailedToLoad\";\n PaymentSheetEventsEnum[\"Completed\"] = \"paymentSheetCompleted\";\n PaymentSheetEventsEnum[\"Canceled\"] = \"paymentSheetCanceled\";\n PaymentSheetEventsEnum[\"Failed\"] = \"paymentSheetFailed\";\n})(PaymentSheetEventsEnum || (PaymentSheetEventsEnum = {}));\n//# sourceMappingURL=payment-sheet-events.enum.js.map","export var IdentityVerificationSheetEventsEnum;\n(function (IdentityVerificationSheetEventsEnum) {\n IdentityVerificationSheetEventsEnum[\"Loaded\"] = \"identityVerificationSheetLoaded\";\n IdentityVerificationSheetEventsEnum[\"FailedToLoad\"] = \"identityVerificationSheetFailedToLoad\";\n IdentityVerificationSheetEventsEnum[\"Completed\"] = \"identityVerificationSheetCompleted\";\n IdentityVerificationSheetEventsEnum[\"Canceled\"] = \"identityVerificationSheetCanceled\";\n IdentityVerificationSheetEventsEnum[\"Failed\"] = \"identityVerificationSheetFailed\";\n})(IdentityVerificationSheetEventsEnum || (IdentityVerificationSheetEventsEnum = {}));\n//# sourceMappingURL=identity-verification-sheet-events.enum.js.map","import { resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createBlock as _createBlock } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { class: \"card-title\" }\nconst _hoisted_3 = { class: \"tableRiepilogo\" }\nconst _hoisted_4 = { style: {\"width\":\"25%\"} }\nconst _hoisted_5 = [\"src\"]\nconst _hoisted_6 = { style: {\"width\":\"50%\"} }\nconst _hoisted_7 = { style: {\"width\":\"25%\",\"text-align\":\"right\"} }\nconst _hoisted_8 = /*#__PURE__*/_createElementVNode(\"td\", null, null, -1)\nconst _hoisted_9 = {\n key: 0,\n style: {\"width\":\"25%\",\"text-align\":\"right\"}\n}\nconst _hoisted_10 = {\n key: 1,\n style: {\"width\":\"25%\",\"text-align\":\"right\"}\n}\nconst _hoisted_11 = { class: \"text-success\" }\nconst _hoisted_12 = /*#__PURE__*/_createElementVNode(\"td\", null, null, -1)\nconst _hoisted_13 = { style: {\"width\":\"25%\",\"text-align\":\"right\"} }\nconst _hoisted_14 = { class: \"alert alert-warning\" }\nconst _hoisted_15 = [\"innerHTML\"]\nconst _hoisted_16 = { class: \"card-title\" }\nconst _hoisted_17 = { class: \"row\" }\nconst _hoisted_18 = { class: \"col-4\" }\nconst _hoisted_19 = [\"src\"]\nconst _hoisted_20 = {\n key: 1,\n src: \"/assets/icon/avatar.png\"\n}\nconst _hoisted_21 = { class: \"col-8\" }\nconst _hoisted_22 = { style: {\"font-weight\":\"bold\"} }\nconst _hoisted_23 = { key: 0 }\nconst _hoisted_24 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"graffitti-text\" }, \"N. \", -1)\nconst _hoisted_25 = { key: 1 }\nconst _hoisted_26 = { key: 2 }\nconst _hoisted_27 = /*#__PURE__*/_createElementVNode(\"span\", { class: \"graffitti-text\" }, \"M. \", -1)\nconst _hoisted_28 = { key: 0 }\nconst _hoisted_29 = { key: 1 }\nconst _hoisted_30 = { class: \"card-title\" }\nconst _hoisted_31 = { class: \"field col-12 md:col-6 lg:col-4 text-center\" }\nconst _hoisted_32 = { class: \"card-title\" }\nconst _hoisted_33 = { class: \"form-group mt-2\" }\nconst _hoisted_34 = { style: {\"font-weight\":\"bold\"} }\nconst _hoisted_35 = /*#__PURE__*/_createElementVNode(\"br\", null, null, -1)\nconst _hoisted_36 = /*#__PURE__*/_createElementVNode(\"small\", { id: \"from-help\" }, \"(Es. Fam. Rossi, Anonimo, ...)\", -1)\nconst _hoisted_37 = { class: \"form-group mt-2\" }\nconst _hoisted_38 = {\n style: {\"font-weight\":\"bold\"},\n for: \"fromContent\"\n}\nconst _hoisted_39 = /*#__PURE__*/_createElementVNode(\"p\", { class: \"card-title\" }, \"Scegli la modalità di pagamento\", -1)\nconst _hoisted_40 = {\n key: 0,\n class: \"text-center mb-2\"\n}\nconst _hoisted_41 = {\n key: 1,\n class: \"text-center mb-2\"\n}\nconst _hoisted_42 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: \"/assets/img/apple_pay.svg\",\n style: {\"height\":\"35px\"},\n class: \"mx-3\"\n}, null, -1)\nconst _hoisted_43 = {\n key: 2,\n class: \"text-center mb-2\"\n}\nconst _hoisted_44 = /*#__PURE__*/_createElementVNode(\"img\", {\n src: \"/assets/img/google-pay-mark_800.svg\",\n style: {\"height\":\"40px\"},\n class: \"mx-3\"\n}, null, -1)\nconst _hoisted_45 = {\n key: 3,\n class: \"text-center mb-2\"\n}\nconst _hoisted_46 = /*#__PURE__*/_createElementVNode(\"p\", null, [\n /*#__PURE__*/_createElementVNode(\"small\", null, \"Pagamenti gestiti in sicurezza tramite il gateway di pagamento Stripe\")\n], -1)\nconst _hoisted_47 = { class: \"mt-3\" }\nconst _hoisted_48 = {\n key: 0,\n class: \"text-center pt-3\"\n}\nconst _hoisted_49 = {\n key: 1,\n class: \"text-center pt-3\"\n}\nconst _hoisted_50 = {\n key: 2,\n class: \"text-center pt-3\"\n}\nconst _hoisted_51 = {\n key: 3,\n class: \"text-center pt-3\"\n}\nconst _hoisted_52 = /*#__PURE__*/_createElementVNode(\"p\", {\n class: \"text-center text-secondary\",\n style: {\"font-size\":\"0.9rem\"}\n}, [\n /*#__PURE__*/_createElementVNode(\"small\", null, \"I dati della carta sono gestiti e protetti da Stripe\"),\n /*#__PURE__*/_createTextVNode(),\n /*#__PURE__*/_createElementVNode(\"img\", {\n height: \"28\",\n src: \"/assets/icon/Powered by Stripe - blurple.svg\"\n })\n], -1)\nconst _hoisted_53 = {\n key: 1,\n class: \"fullHeight ion-padding\"\n}\nconst _hoisted_54 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-center mt-2 p-4\" }, [\n /*#__PURE__*/_createElementVNode(\"img\", {\n src: \"/assets/img/empty-cart.png\",\n style: {\"width\":\"50%\"}\n })\n], -1)\nconst _hoisted_55 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"text-center\" }, [\n /*#__PURE__*/_createElementVNode(\"h1\", null, \"Il carrello è vuoto!\"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"mt-3\" }, \"Grazie per aver utilizzato Aldilapp.\"),\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"mt-3\" }, \"Se vuoi inviare un altro ordine devi iniziare cercando un altro defunto.\")\n], -1)\nconst _hoisted_56 = { class: \"text-center my-3\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_ion_back_button = _resolveComponent(\"ion-back-button\")!\n const _component_ion_buttons = _resolveComponent(\"ion-buttons\")!\n const _component_ion_menu_button = _resolveComponent(\"ion-menu-button\")!\n const _component_ald_logo = _resolveComponent(\"ald-logo\")!\n const _component_ion_title = _resolveComponent(\"ion-title\")!\n const _component_ion_toolbar = _resolveComponent(\"ion-toolbar\")!\n const _component_ion_header = _resolveComponent(\"ion-header\")!\n const _component_ion_loading = _resolveComponent(\"ion-loading\")!\n const _component_ion_card_content = _resolveComponent(\"ion-card-content\")!\n const _component_ion_card = _resolveComponent(\"ion-card\")!\n const _component_ion_avatar = _resolveComponent(\"ion-avatar\")!\n const _component_Calendar = _resolveComponent(\"Calendar\")!\n const _component_InputText = _resolveComponent(\"InputText\")!\n const _component_Textarea = _resolveComponent(\"Textarea\")!\n const _component_ion_button = _resolveComponent(\"ion-button\")!\n const _component_StripeElement = _resolveComponent(\"StripeElement\")!\n const _component_StripeElements = _resolveComponent(\"StripeElements\")!\n const _component_ion_content = _resolveComponent(\"ion-content\")!\n const _component_ion_modal = _resolveComponent(\"ion-modal\")!\n const _component_ion_toast = _resolveComponent(\"ion-toast\")!\n const _component_ion_page = _resolveComponent(\"ion-page\")!\n\n return (_openBlock(), _createBlock(_component_ion_page, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_header, { class: \"ion-no-border\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_toolbar, { color: \"primary\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_buttons, { slot: \"start\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_back_button)\n ]),\n _: 1\n }),\n _createVNode(_component_ion_buttons, { slot: \"end\" }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_menu_button)\n ]),\n _: 1\n }),\n _createVNode(_component_ion_title, null, {\n default: _withCtx(() => [\n _createVNode(_component_ald_logo)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ion_loading, {\n \"is-open\": _ctx.isLoading,\n cssClass: \"my-custom-class\",\n message: _ctx.lang.Detail.InCaricamento\n }, null, 8, [\"is-open\", \"message\"]),\n _createVNode(_component_ion_content, { class: \"map-backgorund\" }, {\n default: _withCtx(() => [\n (_ctx.cart && _ctx.defunto)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_ion_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_card_content, null, {\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_2, _toDisplayString(_ctx.lang.Checkout.Title1) + \"}\", 1),\n _createElementVNode(\"table\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.cart.orderItems, (i) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: i.id\n }, [\n _createElementVNode(\"td\", _hoisted_4, [\n _createElementVNode(\"img\", {\n src: i.item.imageUrl\n }, null, 8, _hoisted_5)\n ]),\n _createElementVNode(\"td\", _hoisted_6, _toDisplayString(i.item.title), 1),\n _createElementVNode(\"td\", _hoisted_7, _toDisplayString(i.item.price.toFixed(2)) + \" €\", 1)\n ]))\n }), 128)),\n _createElementVNode(\"tr\", null, [\n _hoisted_8,\n _createElementVNode(\"td\", null, _toDisplayString(_ctx.lang.Checkout.DeliveryLabel), 1),\n (_ctx.cart.deliveryCost > 0)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_9, _toDisplayString(_ctx.cart.deliveryCost.toFixed(2)) + \" €\", 1))\n : (_openBlock(), _createElementBlock(\"td\", _hoisted_10, [\n _createElementVNode(\"b\", _hoisted_11, _toDisplayString(_ctx.lang.Checkout.FreeLabel), 1)\n ]))\n ]),\n _createElementVNode(\"tr\", null, [\n _hoisted_12,\n _createElementVNode(\"td\", null, [\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.lang.Checkout.TotalLabel), 1)\n ]),\n _createElementVNode(\"td\", _hoisted_13, [\n _createElementVNode(\"strong\", null, _toDisplayString(_ctx.cart.amountTotal.toFixed(2)) + \" €\", 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_14, [\n _createElementVNode(\"small\", {\n innerHTML: _ctx.lang.Checkout.Text1\n }, null, 8, _hoisted_15)\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ion_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_card_content, null, {\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_16, _toDisplayString(_ctx.lang.Checkout.DestTitle), 1),\n _createElementVNode(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", _hoisted_18, [\n _createVNode(_component_ion_avatar, null, {\n default: _withCtx(() => [\n (_ctx.defunto && _ctx.defunto.imageUrl)\n ? (_openBlock(), _createElementBlock(\"img\", {\n key: 0,\n src: _ctx.defunto.imageUrl\n }, null, 8, _hoisted_19))\n : (_openBlock(), _createElementBlock(\"img\", _hoisted_20))\n ]),\n _: 1\n })\n ]),\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"h4\", _hoisted_22, _toDisplayString(_ctx.defunto.fullname), 1),\n _createElementVNode(\"p\", null, [\n (_ctx.defunto && _ctx.defunto.birthDate)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_23, [\n _hoisted_24,\n _createTextVNode(_toDisplayString(new Date(_ctx.defunto.birthDate).toLocaleDateString('it-IT')), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.defunto && _ctx.defunto.birthDate && _ctx.defunto.dieDate)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_25, \" - \"))\n : _createCommentVNode(\"\", true),\n (_ctx.defunto && _ctx.defunto.dieDate)\n ? (_openBlock(), _createElementBlock(\"small\", _hoisted_26, [\n _hoisted_27,\n _createTextVNode(_toDisplayString(new Date(_ctx.defunto.dieDate).toLocaleDateString('it-IT')), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.defunto.currentPosition)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_28, [\n _createElementVNode(\"small\", null, _toDisplayString(_ctx.defunto.currentPosition.burialCityName) + \" - \" + _toDisplayString(_ctx.defunto.currentPosition.cemeteryName), 1)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.defunto.currentPosition && _ctx.defunto.currentPosition.position)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_29, [\n _createElementVNode(\"small\", null, _toDisplayString(_ctx.defunto.currentPosition.position), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ion_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_card_content, null, {\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_30, _toDisplayString(_ctx.lang.Checkout.ServiceTitle), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.lang.Checkout.ServiceText), 1),\n _createElementVNode(\"div\", _hoisted_31, [\n _createVNode(_component_Calendar, {\n modelValue: _ctx.expireDate,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.expireDate) = $event)),\n dateFormat: \"dd/mm/yy\",\n minDate: _ctx.nextDay\n }, null, 8, [\"modelValue\", \"minDate\"])\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ion_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_card_content, null, {\n default: _withCtx(() => [\n _createElementVNode(\"p\", _hoisted_32, _toDisplayString(_ctx.lang.Checkout.DedicaTitle), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.lang.Checkout.DedicaText1) + \" \" + _toDisplayString(_ctx.defunto.fullname), 1),\n _createElementVNode(\"div\", _hoisted_33, [\n _createElementVNode(\"label\", _hoisted_34, _toDisplayString(_ctx.lang.Checkout.DedicaLabel1), 1),\n _createVNode(_component_InputText, {\n id: \"fromDescription\",\n type: \"text\",\n \"aria-describedby\": \"from-help\",\n modelValue: _ctx.fromDescription,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.fromDescription) = $event)),\n placeholder: \"A nome di\",\n style: {\"width\":\"100%\"}\n }, null, 8, [\"modelValue\"]),\n _hoisted_35,\n _hoisted_36\n ]),\n _createElementVNode(\"div\", _hoisted_37, [\n _createElementVNode(\"label\", _hoisted_38, _toDisplayString(_ctx.lang.Checkout.DedicaLabel2), 1),\n _createVNode(_component_Textarea, {\n id: \"fromContent\",\n modelValue: _ctx.fromContent,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.fromContent) = $event)),\n autoResize: true,\n rows: \"5\",\n style: {\"width\":\"100%\"},\n placeholder: _ctx.lang.Checkout.DedicaWriteHere\n }, null, 8, [\"modelValue\", \"placeholder\"])\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ion_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_card_content, null, {\n default: _withCtx(() => [\n _hoisted_39,\n (!_ctx.isCreating)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_40, [\n _createVNode(_component_ion_button, {\n color: \"primary\",\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.onPay('card'))),\n expand: \"block\",\n shape: \"round\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\" Paga con carta di credito \")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.isCreating && _ctx.isApplePayAvailable)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_41, [\n _createVNode(_component_ion_button, {\n color: \"primary\",\n onClick: _cache[4] || (_cache[4] = ($event: any) => (_ctx.onPay('apple'))),\n expand: \"block\",\n shape: \"round\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.lang.Checkout.AcquistaCon) + \" \", 1),\n _hoisted_42\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.isCreating && _ctx.isGooglePayAvailable)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_43, [\n _createVNode(_component_ion_button, {\n color: \"primary\",\n onClick: _cache[5] || (_cache[5] = ($event: any) => (_ctx.onPay('google'))),\n expand: \"block\",\n shape: \"round\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.lang.Checkout.AcquistaCon) + \" \", 1),\n _hoisted_44\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isCreating)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_45, [\n _createVNode(_component_ion_button, {\n color: \"light\",\n expand: \"block\",\n shape: \"round\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.lang.Checkout.InElaborazione), 1)\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_46\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_ion_modal, {\n \"is-open\": _ctx.openModal,\n breakpoints: [0.1, 0.7, 1],\n initialBreakpoint: 0.7,\n onDidDismiss: _cache[6] || (_cache[6] = ($event: any) => {_ctx.setOpenModal(false);})\n }, {\n default: _withCtx(() => [\n _createVNode(_component_ion_content, { class: \"ion-padding\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"h5\", null, _toDisplayString(_ctx.lang.Checkout.PayWithCard), 1),\n _createElementVNode(\"div\", _hoisted_47, [\n (_ctx.stripeLoaded)\n ? (_openBlock(), _createBlock(_component_StripeElements, {\n key: 0,\n ref: \"elms\",\n \"stripe-key\": _ctx.publishableKey,\n \"instance-options\": _ctx.instanceOptions,\n \"elements-options\": _ctx.elementsOptions\n }, {\n default: _withCtx(({ elements }) => [\n _createVNode(_component_StripeElement, {\n ref: \"card\",\n type: \"payment\",\n elements: elements,\n options: _ctx.cardOptions\n }, null, 8, [\"elements\", \"options\"])\n ]),\n _: 1\n }, 8, [\"stripe-key\", \"instance-options\", \"elements-options\"]))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.payNowEnabled && _ctx.paySuccess == null)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_48, [\n _createVNode(_component_ion_button, {\n expand: \"block\",\n shape: \"round\",\n color: \"secondary\",\n onClick: _ctx.onConfirmPay\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Paga ora\")\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.payNowEnabled && !_ctx.paySuccess)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_49, [\n _createVNode(_component_ion_button, {\n expand: \"block\",\n shape: \"round\",\n color: \"light\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"In elaborazione...\")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (!_ctx.payNowEnabled && _ctx.paySuccess)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_50, [\n _createVNode(_component_ion_button, {\n expand: \"block\",\n shape: \"round\",\n color: \"success\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Successo\")\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.payNowEnabled && _ctx.paySuccess != null && !_ctx.paySuccess)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_51, [\n _createVNode(_component_ion_button, {\n expand: \"block\",\n shape: \"round\",\n onClick: _ctx.onConfirmPay\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Controlla e Riprova\")\n ]),\n _: 1\n }, 8, [\"onClick\"])\n ]))\n : _createCommentVNode(\"\", true),\n _hoisted_52\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"is-open\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_53, [\n _createVNode(_component_ion_card, null, {\n default: _withCtx(() => [\n _createVNode(_component_ion_card_content, null, {\n default: _withCtx(() => [\n _hoisted_54,\n _hoisted_55,\n _createElementVNode(\"div\", _hoisted_56, [\n _createVNode(_component_ion_button, {\n expand: \"block\",\n shape: \"round\",\n color: \"secondary\",\n onClick: _cache[7] || (_cache[7] = ($event: any) => (_ctx.onNewSearch()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(\"Prosegui con una nuova ricerca\")\n ]),\n _: 1\n })\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n ]),\n _: 1\n }),\n _createVNode(_component_ion_toast, {\n \"is-open\": _ctx.isToastOpen,\n message: _ctx.errorMessage,\n duration: 3500,\n color: \"danger\",\n position: \"top\",\n onDidDismiss: _cache[8] || (_cache[8] = ($event: any) => (_ctx.setIsToastOpen(false)))\n }, null, 8, [\"is-open\", \"message\"])\n ]),\n _: 1\n }))\n}","import { registerPlugin } from '@capacitor/core';\nconst Stripe = registerPlugin('Stripe', {\n web: () => import('./web').then((m) => new m.StripeWeb()),\n});\nexport * from './definitions';\nexport { Stripe };\n//# sourceMappingURL=index.js.map","var V3_URL = 'https://js.stripe.com/v3';\nvar V3_URL_REGEX = /^https:\\/\\/js\\.stripe\\.com\\/v3\\/?(\\?.*)?$/;\nvar EXISTING_SCRIPT_MESSAGE = 'loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used';\nvar findScript = function findScript() {\n var scripts = document.querySelectorAll(\"script[src^=\\\"\".concat(V3_URL, \"\\\"]\"));\n\n for (var i = 0; i < scripts.length; i++) {\n var script = scripts[i];\n\n if (!V3_URL_REGEX.test(script.src)) {\n continue;\n }\n\n return script;\n }\n\n return null;\n};\n\nvar injectScript = function injectScript(params) {\n var queryString = params && !params.advancedFraudSignals ? '?advancedFraudSignals=false' : '';\n var script = document.createElement('script');\n script.src = \"\".concat(V3_URL).concat(queryString);\n var headOrBody = document.head || document.body;\n\n if (!headOrBody) {\n throw new Error('Expected document.body not to be null. Stripe.js requires a
element.');\n }\n\n headOrBody.appendChild(script);\n return script;\n};\n\nvar registerWrapper = function registerWrapper(stripe, startTime) {\n if (!stripe || !stripe._registerWrapper) {\n return;\n }\n\n stripe._registerWrapper({\n name: 'stripe-js',\n version: \"1.54.2\",\n startTime: startTime\n });\n};\n\nvar stripePromise = null;\nvar loadScript = function loadScript(params) {\n // Ensure that we only attempt to load Stripe.js at most once\n if (stripePromise !== null) {\n return stripePromise;\n }\n\n stripePromise = new Promise(function (resolve, reject) {\n if (typeof window === 'undefined' || typeof document === 'undefined') {\n // Resolve to null when imported server side. This makes the module\n // safe to import in an isomorphic code base.\n resolve(null);\n return;\n }\n\n if (window.Stripe && params) {\n console.warn(EXISTING_SCRIPT_MESSAGE);\n }\n\n if (window.Stripe) {\n resolve(window.Stripe);\n return;\n }\n\n try {\n var script = findScript();\n\n if (script && params) {\n console.warn(EXISTING_SCRIPT_MESSAGE);\n } else if (!script) {\n script = injectScript(params);\n }\n\n script.addEventListener('load', function () {\n if (window.Stripe) {\n resolve(window.Stripe);\n } else {\n reject(new Error('Stripe.js not available'));\n }\n });\n script.addEventListener('error', function () {\n reject(new Error('Failed to load Stripe.js'));\n });\n } catch (error) {\n reject(error);\n return;\n }\n });\n return stripePromise;\n};\nvar initStripe = function initStripe(maybeStripe, args, startTime) {\n if (maybeStripe === null) {\n return null;\n }\n\n var stripe = maybeStripe.apply(undefined, args);\n registerWrapper(stripe, startTime);\n return stripe;\n}; // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n\n// own script injection.\n\nvar stripePromise$1 = Promise.resolve().then(function () {\n return loadScript(null);\n});\nvar loadCalled = false;\nstripePromise$1[\"catch\"](function (err) {\n if (!loadCalled) {\n console.warn(err);\n }\n});\nvar loadStripe = function loadStripe() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n loadCalled = true;\n var startTime = Date.now();\n return stripePromise$1.then(function (maybeStripe) {\n return initStripe(maybeStripe, args, startTime);\n });\n};\n\nexport { loadStripe };\n","\r\nimport {\r\n IonPage,\r\n IonHeader,\r\n IonToolbar,\r\n IonTitle,\r\n IonText,\r\n IonMenuButton,\r\n IonBackButton,\r\n IonButtons,\r\n IonLoading,\r\n IonLabel,\r\n IonList,\r\n IonItem,\r\n IonCard,\r\n IonCardHeader,\r\n IonCardContent,\r\n IonCardSubtitle,\r\n IonCardTitle,\r\n IonButton,\r\n IonAvatar,\r\n IonIcon,\r\n IonModal,\r\n IonContent,\r\n IonToast\r\n\r\n} from \"@ionic/vue\";\r\nimport aldLogo from \"@/components/aldilapp/shared/ald-logo.vue\";\r\nimport { useStore } from \"vuex\";\r\nimport { key } from \"../../store\";\r\nimport { useRoute, useRouter } from \"vue-router\";\r\n//import InputMask from \"primevue/inputmask\";\r\nimport Calendar from \"primevue/calendar\";\r\nimport InputText from 'primevue/inputtext';\r\nimport Textarea from 'primevue/textarea';\r\n\r\nimport { Stripe, GooglePayEventsEnum, CreateGooglePayOption, CreateApplePayOption, ApplePayEventsEnum } from '@capacitor-community/stripe'\r\nimport {\r\n computed,\r\n defineComponent,\r\n onMounted, onBeforeMount, \r\n ref,\r\n onUnmounted,\r\n} from \"vue\";\r\n//import { defineCustomElements } from '@stripe-elements/stripe-elements/loader';\r\nimport { StripeElements, StripeElement } from 'vue-stripe-js'\r\nimport { loadStripe } from '@stripe/stripe-js'\r\n\r\n\r\nexport default defineComponent({\r\n name: \"Checkout\",\r\n components: {\r\n IonHeader,\r\n IonToolbar,\r\n IonTitle,\r\n IonContent,\r\n IonPage,\r\n IonText,\r\n IonMenuButton,\r\n IonBackButton,\r\n IonButtons,\r\n IonLoading,\r\n aldLogo,\r\n IonLabel,\r\n IonList,\r\n IonItem,\r\n IonCard,\r\n IonCardHeader,\r\n IonCardContent,\r\n IonCardSubtitle,\r\n IonCardTitle,\r\n IonButton,\r\n IonAvatar,\r\n IonIcon,\r\n //InputMask,\r\n Calendar,\r\n InputText,\r\n Textarea,\r\n IonModal,\r\n StripeElements,\r\n StripeElement,\r\n IonToast\r\n },\r\n setup() {\r\n const openModal = ref(false);\r\n const isToastOpen = ref(false);\r\n const payNowEnabled = ref(true);\r\n const paySuccess = ref