PageSourceSearch

https://www.verbund.com/nuxtassets/DUnVQSD0.js

js verbund.com collected 2026-09-24 08:55:05 UTC 1,978 bytes, 1 lines download raw bytes

1import{d as C,z as _,O as w,i as s,E as D,h as g,j as u,k as I,V as R,l as v,m as A,_ as q,ax as M,r as d,f as B,I as T,T as j,aw as N,t as m}from"./Bek2-9gr.js";const O={key:0,class:"email-confirmation-banner spacing-bottom-outer-s"},V={class:"flex items-baseline border rounded spacing-inner-s"},L={key:1},P=C({__name:"EmailConfirmationBanner",props:{blok:{type:Object,required:!0}},setup(i){const a=i,l=M("loggedIn"),x=_(),c=d(!1),E=w(),o=d(),p=d(!1),f=async()=>{if(!l?.value)return;const e=await B().useContent().useCheckIfBannerRequired(a.blok.checkIfBannerRequiredEndpoint.toString());o.value=e.response,p.value=e.success};f();const k=(e,n)=>{if(!e||!Array.isArray(e.content))return e;const r=N(e);return r.content=r.content?.map(t=>(t.type==="text"&&t.text?t.text=t.text.replace(/\[\[email\]\]/g,n):t.content&&(t=k(t,n)),t)),r},b=T(()=>k(a.blok.noticeText,o.value?.newEmail??"")),y=()=>{E.message={severity:"error",summary:a.blok.errorMessageHeader,detail:a.blok.errorMessageFailureOnResend,group:"bottom-right"}},h=async()=>{if(a.blok.resendEmailEndpoint){c.value=!0;const e={PersonalData:{emailAddress:""}},n={PersonalData:{emailAddress:o.value?.newEmail}};await B().useContent().useUpdateData(e,n,y,a.blok.resendEmailEndpoint.toString(),a.blok.confirmationLink,a.blok.confirmationButtonImage,a.blok.mailTemplateName),c.value=!1}};return x.eventListener(null,"closed:popUp",e=>f()),(e,n)=>{const r=q,t=j("editable");return s(l)&&s(p)&&s(o)&&s(o).newEmail?D((m(),g("div",O,[u("p",V,[n[0]||(n[0]=u("i",{class:"pi pi-exclamation-circle p-error mr-1 text-sm","aria-hidden":"true"},null,-1)),s(b)?(m(),I(R,{key:0,class:"pr-1",text:s(b)},null,8,["text"])):v("",!0),A(r,{class:"p-0 my-auto",link:"",label:i.blok.sendAgainButtonText,loading:s(c),onClick:h},null,8,["label","loading"])])])),[[t,i.blok]]):s(l)?v("",!0):(m(),g("div",L,[...n[1]||(n[1]=[u("p",null,"Email bestätigen-Banner",-1)])]))}}}),U=Object.assign(P,{__name:"EmailConfirmationBanner"});export{U 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.