PageSourceSearch

https://www.liwest-mobil.at/_nuxt/qbe93sTX.js

js liwest-mobil.at collected 2026-10-02 00:27:25 UTC 3,685 bytes, 1 lines download raw bytes

1import{I as E,A as L,k as A,h as l,D as N,C as h,o as g,c as V,w as i,a as t,u as n,b as C,F as B,e,_ as j,B as q,s as D,d as S,at as H,as as O}from"./CO3rmisD.js";import W from"./CRi5lzwR.js";import{_ as z}from"./TrhotYMV.js";import G from"./CpNIp6Dl.js";import J from"./DodfbJgy.js";import{_ as K}from"./Cb5Zzlfc.js";import Q from"./CII5e-e6.js";import{u as X}from"./CXFuWndl.js";import"./B6WbzyQT.js";import"./OagbG_Wv.js";import"./CuGWsV6L.js";import"./iqtTcO5v.js";import"./BrZGXogI.js";import"./C2kDVKXN.js";import"./fQil2VWn.js";import"./CA-C0W5z.js";import"./C86cw3EK.js";import"./DHAeczLT.js";import"./LcFuntGO.js";try{let a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new a.Error().stack;c&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[c]="2880439d-64e8-4fe6-b21d-457370b6d9a5",a._sentryDebugIdIdentifier="sentry-dbid-2880439d-64e8-4fe6-b21d-457370b6d9a5")}catch{}const Y={class:"container max-w-full mx-auto",style:{width:"800px"}},Z={class:"relative"},ee={class:"mb-lg"},te={class:"flex gap-lg justify-center mt-2xl"},ne={class:"mb-lg"},ae={class:"flex justify-center mt-2xl"},Me={__name:"ChangePaymentProfile",setup(a){const c=E(),P=L(),b=A(),s=l(c.query.paymentMethod);s.value||P.replace(N("profilePaymentTypes"));const{stepRefsToFocusAfterStepChange:v,steps:I,step:u,context:$}=X();$.value="ChangePaymentProfile";const d={profile:l(null),success:l(null)};v.value.profile=d.profile,v.value.success=d.success,I.value={profile:{title:h("changePaymentProfile_step_profile$ariaLabel")},success:{title:h("changePaymentProfile_step_success$ariaLabel")}},u.value="profile";const f=l({}),p=l({}),y=l(null),x=async()=>{await H({id:"changePaymentMethod",form:"changePaymentMethodForm",data:{...f.value,DontActivate:!0,PaymentType:"Current",Mode:"ProfileChange"},success:m=>{if(m.PaymentChanged||m.Confirm)M();else if(m.RedirectUrl){y.value.openPaymentWindow(m.RedirectUrl);return}else O(h("recurring_text_paymentError"))},error:()=>{y.value.getPaymentFormData()}})},M=()=>{u.value="success",b.getHeaderBox(!0)};return(m,r)=>{const o=j,F=W,T=z,k=G,w=J,R=K,U=Q;return g(),V(U,null,{default:i(()=>[t("div",Y,[n(u)==="profile"?(g(),C(B,{key:0},[t("h1",{ref:d.profile,tabindex:"-1",class:"text-center"},[e(o,{name:"changePaymentProfile_headline_"+n(s)},null,8,["name"])],512),t("div",Z,[e(F,{requests:["getPaymentMethods","changePaymentMethod"]}),t("form",{id:"changePaymentMethodForm",onSubmit:q(x,["prevent"])},[e(k,null,{default:i(()=>[t("div",ee,[e(o,{name:"changePaymentProfile_text_"+n(s)},null,8,["name"])]),e(T,{ref_key:"payment",ref:y,formData:n(f),"onUpdate:formData":r[0]||(r[0]=_=>D(f)?f.value=_:null),info:n(p),"onUpdate:info":r[1]||(r[1]=_=>D(p)?p.value=_:null),paymentMethod:n(s),mode:"Recurring",type:"Current",amount:"0",msisdn:n(b).msisdn,showPaymentMethodSelection:!1,onPaymentSuccess:M,onSubmitForm:x},null,8,["formData","info","paymentMethod","msisdn"])]),_:1}),t("div",te,[t("div",null,[e(w,{color:"outline",onClick:r[2]||(r[2]=_=>n(P).back())},{default:i(()=>[e(o,{name:"global_action_back"})]),_:1})]),t("div",null,[e(w,{type:"submit"},{default:i(()=>[e(o,{name:"global_action_save"})]),_:1})])])],32)])],64)):S("",!0),n(u)==="success"?(g(),C(B,{key:1},[t("h1",{ref:d.success,tabindex:"-1",class:"text-center"},[e(o,{name:"changePaymentProfile_headline_success"+n(s)},null,8,["name"])],512),e(k,null,{default:i(()=>[t("div",ne,[e(o,{name:"changePaymentProfile_text_success"+n(s)},null,8,["name"])])]),_:1}),t("div",ae,[e(R,{variation:"button",pageId:"profilePaymentTypes"},{default:i(()=>[e(o,{name:"global_action_back"})]),_:1})])],64)):S("",!0)])]),_:1})}}};export{Me as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.