PageSourceSearch

https://budapestinfo.hu/build/assets/Profile-DhofpZL7.js

js budapestinfo.hu collected 2026-10-02 02:46:26 UTC 23,948 bytes, 1 lines download raw bytes

1import{j as P,c as r,o as n,a as e,g as h,d as p,t,F as y,r as U,x as w,k,u as l,L as q,Q as H,T as N,l as I,f as S,h as v,_ as V,w as F,b as f,v as x,e as A,m as Q,i as j}from"./app-C8YW2mMv.js";import{_ as R}from"./ArticleCard-DaJIjpUu.js";import{_ as G}from"./AttractionCard-C3Sp1k1Y.js";import{_ as J}from"./GenericModal-DU7R1Jp2.js";import"./transition-DNMiVzri.js";import"./keyboard-DRExr3-D.js";const K={class:"grid w-full grid-cols-[1fr_auto] items-end justify-between"},X={class:"flex w-full flex-col gap-4"},Y={class:"text-xl font-semibold text-bpi-black"},Z={class:"flex w-full gap-6"},ee=["src","alt"],te={class:"flex flex-col gap-4 lg:gap-6"},le={class:"flex flex-col lg:gap-1.5"},se={class:"text-bpi-black lg:text-2xl"},oe={key:0,class:"text-sm font-light italic lg:text-xl"},ae={class:"w-fit text-xs font-semibold text-bpi-brand lg:text-base"},ne={key:1,class:"hidden text-2xl italic lg:block"},re={key:2,class:"hidden text-2xl italic lg:block"},ie={class:"flex flex-col text-xs font-semibold leading-tight lg:text-base"}
1,de={key:1,class:"self-end italic lg:hidden"},ce={key:2,class:"self-end italic lg:hidden"},ue={class:"flex flex-col gap-10 lg:items-center lg:gap-[5.125rem]"},pe={class:"font-sans text-2xl font-semibold text-bpi-brand lg:text-[2.5rem]"},ge={class:"flex flex-col gap-5 lg:flex-row lg:gap-12"},be=["disabled"],me={class:"flex flex-col gap-4"},fe={class:"font-semibold lg:text-[2rem]"},_e={class:"text-xs lg:text-xl"},xe=["disabled"],he={class:"flex flex-col gap-4"},ve={class:"font-semibold lg:text-[2rem]"},ye={class:"text-xs lg:text-xl"},we=["disabled"],$e={__name:"ProfileCard",props:{card:Object},setup(u){const D=u,c=P(!1),b=P(!1),i=P(D.card.state?D.card.state:"not_redeemed");let m=()=>{c.value=!1,b.value=!1},d=async()=>{b.value=!0;let g=i.value==="inactive"?"/api/physical-cards/enable":"/api/physical-cards/disable";try{const{data:_}=await q.post(g,{cardNumber:D.card.cardNumber});_&&(i.value=i.value==="inactive"?"active":"inactive",m())}catch{}finally{b.value=!1}};return(g,_)=>(n(),r(y,null,[e("div",{class:w([[u.card.type==="physical"&&(i.value==="not_redeemed"||i.value==="exchanged")&&"pointer-events-none opacity-40"],"flex w-full flex-col gap-2 lg:gap-4"])},[e("div",K,[e("div",X,[e("p",Y,t(u.card.dateCreated),1),e("div",Z,[e("img",{src:u.card.image,alt:u.card.name,class:"max-w-[6.25rem]"},null,8,ee),e("div",te,[e("div",le,[e("p",se,t(u.card.name),1),u.card.cardNumber?(n(),r("p",oe,t(g.$t("cardNumber"))+" "+t(u.card.cardNumber),1)):p("",!0)]),(n(!0),r(y,null,U(u.card.upsell,$=>(n(),r("p",ae," + "+t($.name),1))),256))])])]),u.card.type==="physical"?(n(),r(y,{key:0},[i.value==="active"||i.value==="inactive"?(n(),r("button",{key:0,type:"button",onClick:_[0]||(_[0]=$=>c.value=!0),class:"hidden w-max text-2xl font-semibold text-bpi-brand underline disabled:no-underline lg:block"},t(i.value==="active"?g.$t("iHaveLostMyCard"):g.$t("activateCard")),1)):i.value==="exchanged"?(n(),r("p",ne,t(g.$t("cardExchanged")),1)):(n(),r("p",re,t(g.$t("voucherNotSet")),1))],64)):p("",!0)]),e("div",ie,[e("p",null,t(u.card.billingData.name)+", "+t(u.card.billingData.email),1),e("p",null,t(u.card.billingData.phone),1),e("p",null,t(u.card.billingData.country)+" "+t(u.card.billingData.zip)+", "+t(u.card.billingData.city)+" "+t(u.card.billingData.address),1)]),u.card.type==="physical"?(n(),r(y,{key:0},[i.value==="active"||i.value==="inactive"?(n(),r("button",{key:0,type:"button",onClick:_[1]||(_[1]=$=>c.value=!0),class:"w-max self-end font-semibold text-bpi-brand underline disabled:no-underline lg:hidden lg:text-2xl"},t(i.value==="active"?g.$t("iHaveLostMyCard"):g.$t("activateCard")),1)):i.value==="exchanged"?(n(),r("p",de,t(g.$t("cardExchanged")),1)):i.value==="not_redeemed"?(n(),r("p",ce,t(g.$t("voucherNotSet")),1)):p("",!0)],64)):p("",!0)],2),h(J,{show:c.value,close:l(m),full:""},{default:k(()=>[e("div",ue,[e("h4",pe,t(g.$t("cardNumber"))+": "+t(u.card.cardNumber),1),e("div",ge,[e("button",{type:"button",disabled:i.value==="inactive",class:w([i.value==="inactive"&&"opacity-40","relative grid grid-cols-[auto_1fr] gap-2 text-left lg:w-1/2 lg:gap-4"])},[e("div",{class:w(["relative mt-1 flex size-5 items-center justify-center rounded-full border border-bpi-black after:block after:size-3 after:rounded-full after:transition-colors lg:mt-3.5",i.value==="active"&&"after:bg-bpi-brand"])},null,2),e("div",me,[e("h5",fe,t(g.$t("suspendCard")),1),e("p",_e,t(g.$t("suspensionDesc")),1)])],10,be),_[3]||(_[3]=e("div",{class:"h-[5px] w-full rounded-full bg-bpi-brand-hover lg:h-auto lg:w-[5px]"},null,-1)),e("button",{type:"button",disabled:i.value==="active",class:w([i.value==="active"&&"opacity-40","relative grid grid-cols-[auto_1fr] gap-2 text-left lg:w-1/2 lg:gap-4"])},[e("div",{class:w(["relative mt-1 flex size-5 items-center justify-center rounded-full border border-bpi-black after:block after:size-3 after:rounded-full after:transition-colors lg:mt-3.5",i.value==="inactive"&&"after:bg-bpi-brand"])},null,2),e("div",he,[e("h5",ve,t(g.$t("activateCard")),1),e("p",ye,t(g.$t("activationDesc")),1)])],10,xe)]),e("p",null,[e("button",{type:"button",onClick:_[2]||(_[2]=(...$)=>
1l(d)&&l(d)(...$)),disabled:b.value,class:"btn btn-brand"},t(b.value?g.$t("pleaseWait"):g.$t("save")),9,we)])])]),_:1},8,["show","close"])],64))}},ke={class:"container grid grid-cols-12 items-start gap-2.5 lg:gap-8"},Ce={class:"col-span-3 my-24 hidden grid-cols-1 grid-rows-1 lg:grid"},Se={class:"flex flex-col gap-4 [grid-area:1/1]"},De={key:0,class:"col-span-full col-start-1 mb-16 mt-5 grid grid-cols-12 items-start gap-2.5 lg:col-start-4 lg:mt-4 lg:gap-8"},Ue={class:"col-span-10 col-start-2 flex flex-col gap-6 lg:gap-12"},Ve={class:"flex flex-col gap-2 lg:gap-6"},Pe={class:"text-2xl lg:text-[3.125rem]"},Ne={class:"font-semibold lg:text-2xl"},Fe={class:"flex flex-col gap-10"},Ae={key:0,class:"grid grid-cols-1 gap-8 lg:grid-cols-2"},je={class:"flex flex-col gap-4"},Me={class:"group grid overflow-hidden rounded-[5px] shadow-[inset_0px_-60px_20px_rgba(0,_0,_0,_0.35)]"},Te={class:"col-start-1 row-start-1 aspect-[340/180] lg:aspect-[786/480]"},ze=["src","alt"],Ee={class:"relative col-start-1 row-start-1 self-end"},Le={class:"px-4 py-3 text-sm leading-7 text-white lg:text-base"},Be=["href","download"],Oe={key:1},We={key:1,class:"col-span-full col-start-1 mb-16 mt-5 grid grid-cols-12 items-start gap-2.5 lg:col-start-4 lg:mt-4 lg:gap-8"},qe={class:"col-span-10 col-start-2 flex flex-col gap-6 lg:gap-12"},He={class:"flex flex-col gap-2 lg:gap-6"},Ie={class:"text-2xl lg:text-[3.125rem]"},Qe={class:"font-semibold lg:text-2xl"},Re={class:"flex flex-col gap-10"},Ge={key:1},Je={class:"flex flex-col gap-10"},Ke={key:2,class:"col-span-full col-start-1 mb-16 mt-5 grid grid-cols-12 items-start gap-2.5 lg:col-start-4 lg:mt-4 lg:gap-8"},Xe={class:"col-span-10 col-start-2 text-2xl lg:text-[3.125rem]"},Ye={class:"col-span-full grid grid-cols-12 items-start gap-2.5 lg:gap-8"},Ze={class:"lg:text-2xl"},et={class:""},tt={for:"form-profile-last_name"},lt=["textContent"],st={class:""},ot={for:"form-profile-first_name"},at=["textContent"],nt={class:""},rt={for:"form-profile-birth_date"},it=["textContent"],dt={class:""},ct={for:"form-profile-email"},ut=["textContent"],pt={class:""},gt={for:"form-profile-newsletter",class:"inline-flex gap-2"},bt=["textContent"],mt={key:0,class:"rounded-[5px] bg-bpi-green p-4 text-white"},ft=["disabled"],_t={class:"lg:text-2xl"},xt={key:0,class:""},ht={for:"form-password-old_password"},vt=["textContent"],yt={class:""},wt={for:"form-password-new_password"},$t=["textContent"],kt={class:""},Ct={for:"form-password-new_password_confirmation"},St=["textContent"],Dt={key:1,class:"rounded-[5px] bg-bpi-green p-4 text-white"},Ut=["disabled"],Vt={class:"col-span-10 col-start-2 lg:text-2xl"},Pt={class:"col-span-10 col-start-2"},Nt={for:"billing_name"},Ft=["textContent"],At={class:"col-span-10 col-start-2 lg:col-span-4 lg:col-start-2"},jt={for:""},Mt=["value"],Tt=["textContent"],zt={class:"col-span-6 col-start-2 lg:col-span-2"},Et={for:"billing_postal_code"},Lt=["textContent"],Bt={class:"col-span-10 col-start-2 lg:col-span-4"},Ot={for:"city"},Wt=["textContent"],qt={class:"col-span-10 col-start-2 lg:col-span-4 lg:col-start-2"},Ht={for:"address"},It=["textContent"],Qt={class:"col-span-10 col-start-2 lg:col-span-4 lg:col-start-2"},Rt={for:"phone_number"},Gt=["textContent"],Jt={class:"col-span-10 col-start-2 lg:col-span-4 lg:col-start-2"},Kt={for:"form-billing-legal-entity",class:"inline-flex gap-2"},Xt=["textContent"],Yt={key:0,class:"col-span-10 col-start-2 lg:col-span-4 lg:col-start-2"},Zt={for:"tax_number"},el=["textContent"],tl={class:"col-span-full self-center lg:col-span-1"},ll={for:"form-billing-legal-entity-without-tax-number",class:"inline-flex gap-2"},sl=["textContent"],ol={key:1,class:"col-span-10 col-start-2 rounded-[5px] bg-bpi-green p-4 text-white"},al={class:"col-span-10 col-start-2 lg:col-span-4 lg:col-start-2"},nl=["disabled"],rl={class:"col-span-10 col-start-2"},il={key:3,class:"col-span-full col-start-1 mb-16 mt-5 grid grid-cols-12 items-start gap-2.5 lg:col-start-4 lg:mt-4 lg:gap-8"},dl={class:"col-span-10 col-start-2 flex flex-col gap-6 lg:gap-12"},cl={class:"flex flex-col gap-2 lg:gap-6"},ul={class:"text-2xl lg:text-[3.125rem]"},pl={class:"font-semibold lg:text-2xl"},gl={key:0,class:"grid grid-cols-1 gap-6 md:grid-cols-2 lg:grid-cols-3"},bl={key:1},ml={class:"font-semibold lg:text-2xl"},fl={key:2,class:"grid grid-cols-1 gap-6 lg:grid-cols-2"},_l={key:3},xl={class:"flex flex-col gap-10"},Cl={__name:"Profile",props:{user:Object,maps:Array,message:String,countries:Object,favorites:{attractions:Array,others:Array},cards:Array},setup(u){var M,T;
1const D=H(),c=u,b=P((M=D.props.ziggy.query)!=null&&M.menu?(T=D.props.ziggy.query)==null?void 0:T.menu:"plans");let i=N({first_name:c.user.first_name?c.user.first_name:null,last_name:c.user.last_name?c.user.last_name:null,email:c.user.email?c.user.email:null,birth_date:c.user.birth_date?c.user.birth_date:null,newsletter:c.user.newsletter?c.user.newsletter:!1}),m=N({old_password:null,new_password:null,new_password_confirmation:null}),d=N({billing_name:c.user.billing_name?c.user.billing_name:null,billing_country:c.user.billing_country?c.user.billing_country:null,billing_city:c.user.billing_city?c.user.billing_city:null,billing_postal_code:c.user.billing_postal_code?c.user.billing_postal_code:null,billing_address:c.user.billing_address?c.user.billing_address:null,phone_number:c.user.phone_number?c.user.phone_number:null,legal_entity:c.user.legal_entity?c.user.legal_entity:!1,legal_entity_without_tax_number:c.user.legal_entity_without_tax_number?c.user.legal_entity_without_tax_number:!1,tax_number:c.user.tax_number?c.user.tax_number:null}),g=()=>{i.post(route("profile.personal."+v()),{preserveScroll:!0,onError:s=>{},onStart:s=>{},onSuccess:s=>{},onFinish:s=>{}})},_=()=>{m.post(route("profile.password."+v()),{preserveScroll:!0,onError:s=>{},onStart:s=>{},onSuccess:s=>{m.reset()},onFinish:s=>{}})},$=()=>{d.post(route("profile.billing."+v()),{preserveScroll:!0,onError:s=>{},onStart:s=>{},onSuccess:s=>{},onFinish:s=>{}})};return(s,o)=>{var z,E,L,B,O,W;const C=I("Link");return n(),r("section",ke,[e("div",Ce,[e("ul",Se,[e("button",{class:w([b.value==="plans"&&"font-extrabold","w-fit text-2xl"]),onClick:o[0]||(o[0]=a=>b.value="plans")},t(s.$t("myTravelPlans")),3),o[24]||(o[24]=e("hr",{class:"w-4/5 rounded-full border-t-[5px] border-bpi-brand-hover"},null,-1)),e("button",{class:w([b.value==="cards"&&"font-extrabold","w-fit text-2xl"]),onClick:o[1]||(o[1]=a=>b.value="cards")},t(s.$t("myCards")),3),o[25]||(o[25]=e("hr",{class:"w-4/5 rounded-full border-t-[5px] border-bpi-brand-hover"},null,-1)),e("button",{class:w([b.value==="profile"&&"font-extrabold","w-fit text-2xl"]),onClick:o[2]||(o[2]=a=>b.value="profile")},t(s.$t("myData")),3),o[26]||(o[26]=e("hr",{class:"w-4/5 rounded-full border-t-[5px] border-bpi-brand-hover"},null,-1)),e("button",{class:w([b.value==="bucketlist"&&"font-extrabold","w-fit text-2xl"]),onClick:o[3]||(o[3]=a=>b.value="bucketlist")},t(s.$t("myBucketlist")),3)]),o[27]||(o[27]=e("div",{class:"h-full w-2 justify-self-end rounded-md bg-bpi-brand-hover [grid-area:1/1]"},null,-1))]),b.value==="plans"?(n(),r("div",De,[e("div",Ue,[e("div",Ve,[e("h1",Pe,t(s.$t("myTravelPlans")),1),e("h2",Ne,t(s.$t("downloadAbleMaps")),1)]),e("div",Fe,[u.maps.length?(n(),r("div",Ae,[(n(!0),r(y,null,U(u.maps,a=>(n(),r("div",je,[e("div",Me,[e("figure",Te,[e("img",{src:a.cover,class:"h-full w-full object-cover object-center transition-transform duration-500 ease-in-out will-change-transform group-hover:scale-105",alt:a.name},null,8,ze)]),o[29]||(o[29]=e("div",{class:"pointer-events-none col-start-1 row-start-1 h-1/3 self-end bg-gradient-to-t from-bpi-black opacity-75"},null,-1)),e("div",Ee,[o[28]||(o[28]=e("hr",{class:"w-[9.375rem] rounded-r-[5px] border-t-[5px] border-white transition-all duration-500 ease-in-out lg:group-hover:w-[11.875rem]"},null,-1)),e("h4",Le,t(a.title),1)])]),e("a",{href:a.file,download:a.file_name,class:"btn btn-brand !min-h-0 w-fit px-5 py-1 lg:text-lg"},t(s.$t("Download")),9,Be)]))),256))])):(n(),r("p",Oe,t(s.$("noDownloadAbleMap")),1)),o[30]||(o[30]=e("hr",{class:"col-start-2 rounded-full border-t-[5px] border-t-bpi-gray-dark"},null,-1)),e("p",null,[h(C,{href:s.route("webshop.index."+l(v)()),class:"btn btn-brand"},{default:k(()=>[S(t(s.$t("goToWebshop")),1)]),_:1},8,["href"])]),e("p",null,[h(C,{href:s.route("index."+l(v)()),class:"btn btn-link"},{default:k(()=>[h(V,{class:"rotate-180"}),S(" "+t(s.$t("back")),1)]),_:1},8,["href"])])])])])):p("",!0),b.value==="cards"?(n(),r("div",We,[e("div",qe,[e("div",He,[e("h1",Ie,t(s.$t("myCards")),1),e("h2",Qe,t(s.$t("myPrevOrders")),1)]),e("div",Re,[u.cards.length?(n(!0),r(y,{key:0},U(u.cards,a=>(n(),j($e,{card:a},null,8,["card"]))),256)):(n(),r("p",Ge,t(s.$t("noMyPrevOrder")),1))]),e("div",Je,[o[31]||(o[31]=e("hr",{class:"col-start-2 rounded-full border-t-[5px] border-t-bpi-gray-dark"},null,-1)),e("p",null,[h(C,{href:s.route("webshop.index."+l(v)()),class:"btn btn-brand"},{default:k(()=>[S(t(s.$t("goToWebshop")),1)]),_:1},8,["href"])]),e("p",null,[h(C,{href:s.route("index."+l(v)()),class:"btn btn-link"},{default:k(()=>[h(V,{class:"rotate-180"}),S(" "+t(s.$t("back")),1)]),_:1},8,["href"])])])])])):b.value==="profile"?(n(),r("div",Ke,[e("h1",Xe,t(s.$t("myData")),1),e("div",Ye,[e("form",{onSubmit:o[9]||(o[9]=F((...a)=>l(g)&&l(g)(...a),["prevent"])),id:"form-user",class:"col-span-10 col-start-2 mb-20 grid gap-x-8 gap-y-10 lg:col-span-4 lg:col-start-2"},[e("h2",Ze,t(s.$t("personalData")),1),e("div",et,[e("label",tt,t(s.$t("lastName"))+"*",1),f(e("input",{type:"text","onUpdate:modelValue":o[4]||(o[4]=a=>l(i).last_name=a),name:"form-profile-last_name",id:"form-profile-last_name",class:""},null,512),[[x,l(i).last_name]]),l(i).errors.last_name?(n(),r("p",{key:0,textContent:t(l(i).errors.last_name),class:"text-xs text-bpi-red"},null,8,lt)):p("",!0)]),e("div",st,[e("label",ot,t(s.$t("firstName")),1),f(e("input",{type:"text","onUpdate:modelValue":o[5]||(o[5]=a=>l(i).first_name=a),name:"form-profile-first_name",id:"form-profile-first_name",class:""},null,512),[[x,l(i).first_name]]),l(i).errors.first_name?(n(),r("p",{key:0,textContent:t(l(i).errors.first_name),class:"text-xs text-bpi-red"},null,8,at)):p("",!0)]),e("div",nt,[e("label",rt,t(s.$t("birthDate")),1),f(e("input",{type:"date","onUpdate:modelValue":o[6]||(o[6]=a=>l(i).birth_date=a),name:"form-profile-birth_date",id:"form-profile-birth_date",class:""},null,512),[[x,l(i).birth_date]]),l(i).errors.birth_date?(n(),r("p",{key:0,textContent:t(l(i).errors.birth_date),class:"text-xs text-bpi-red"},null,8,it)):p("",!0)]),e("div",dt,[e("label",ct,t(s.$t("email")),1),f(e("input",{type:"email","onUpdate:modelValue":o[7]||(o[7]=a=>l(i).email=a),name:"form-profile-email",id:"form-profile-email",class:""},null,512),[[x,l(i).email]]),l(i).errors.email?(n(),r("p",{key:0,textContent:t(l(i).errors.email),class:"text-xs text-bpi-red"},null,8,ut)):p("",!0)]),e("div",pt,[e("label",gt,[f(e("input",{type:"checkbox","onUpdate:modelValue":o[8]||(o[8]=a=>l(i).newsletter=a),name:"form-profile-newsletter",id:"form-profile-newsletter",class:"translate-y-1"},null,512),[[A,l(i).newsletter]]),e("span",null,t(s.$t("subscriptToNewsLetter")),1)]),l(i).errors.newsletter?(n(),r("p",{key:0,textContent:t(l(i).errors.newsletter),class:"text-xs text-bpi-red"},null,8,bt)):p("",!0)]),(z=s.$page.props.flash.message)!=null&&z.personalData?(n(),r("p",mt,t((E=s.$page.props.flash.message)==null?void 0:E.personalData),1)):p("",!0),e("p",null,[e("button",{type:"submit",disabled:l(i).processing,class:"btn btn-brand lg:w-full lg:px-2"},t(s.$t("saveChanges")),9,ft)])],32),o[32]||(o[32]=e("div",{class:"col-start-7 hidden h-3/4 w-[5px] -translate-x-4 roun
1ded-full bg-bpi-brand-hover lg:block"},null,-1)),e("form",{onSubmit:o[13]||(o[13]=F((...a)=>l(_)&&l(_)(...a),["prevent"])),class:"col-span-10 col-start-2 mb-20 grid gap-x-8 gap-y-10 lg:col-span-4 lg:col-start-8"},[e("h2",_t,t(s.$t("changePassword")),1),c.user.has_password?(n(),r("div",xt,[e("label",ht,t(s.$t("oldPassword")),1),f(e("input",{"onUpdate:modelValue":o[10]||(o[10]=a=>l(m).old_password=a),type:"password",name:"form-password-old_password",id:"form-password-old_password",class:""},null,512),[[x,l(m).old_password]]),l(m).errors.old_password?(n(),r("p",{key:0,textContent:t(l(m).errors.old_password),class:"text-xs text-bpi-red"},null,8,vt)):p("",!0)])):p("",!0),e("div",yt,[e("label",wt,t(s.$t("newPassword")),1),f(e("input",{"onUpdate:modelValue":o[11]||(o[11]=a=>l(m).new_password=a),type:"password",name:"form-password-new_password",id:"form-password-new_password",class:""},null,512),[[x,l(m).new_password]]),l(m).errors.new_password?(n(),r("p",{key:0,textContent:t(l(m).errors.new_password),class:"text-xs text-bpi-red"},null,8,$t)):p("",!0)]),e("div",kt,[e("label",Ct,t(s.$t("newPasswordAgain")),1),f(e("input",{"onUpdate:modelValue":o[12]||(o[12]=a=>l(m).new_password_confirmation=a),type:"password",name:"form-password-new_password_confirmation",id:"form-password-new_password_confirmation",class:""},null,512),[[x,l(m).new_password_confirmation]]),l(m).errors.new_password_confirmation?(n(),r("p",{key:0,textContent:t(l(m).errors.new_password_confirmation),class:"text-xs text-bpi-red"},null,8,St)):p("",!0)]),(L=s.$page.props.flash.message)!=null&&L.password?(n(),r("p",Dt,t((B=s.$page.props.flash.message)==null?void 0:B.password),1)):p("",!0),e("p",null,[e("button",{type:"submit",disabled:l(m).processing,class:"btn btn-brand"},t(s.$t("savePassword")),9,Ut)])],32)]),e("form",{onSubmit:o[23]||(o[23]=F((...a)=>l($)&&l($)(...a),["prevent"])),id:"form-billing",class:"col-span-full mb-10 grid grid-cols-12 items-start gap-x-8 gap-y-10"},[e("h2",Vt,t(s.$t("billinginformation")),1),e("div",Pt,[e("label",Nt,t(s.$t("billingName"))+" ("+t(s.$t("optional"))+")",1),f(e("input",{type:"text","onUpdate:modelValue":o[14]||(o[14]=a=>l(d).billing_name=a),name:"billing_name",id:"billing_name",class:""},null,512),[[x,l(d).billing_name]]),l(d).errors.billing_name?(n(),r("p",{key:0,textContent:t(l(d).errors.billing_name),class:"text-xs text-bpi-red"},null,8,Ft)):p("",!0)]),e("div",At,[e("label",jt,t(s.$t("country"))+"*",1),f(e("select",{"onUpdate:modelValue":o[15]||(o[15]=a=>l(d).billing_country=a),name:"form-billing-country",id:"form-billing-country"},[(n(!0),r(y,null,U(u.countries,a=>(n(),r("option",{key:a.id,value:a.code},t(a.name),9,Mt))),128))],512),[[Q,l(d).billing_country]]),l(d).errors.billing_country?(n(),r("p",{key:0,textContent:t(l(d).errors.billing_country),class:"text-xs text-bpi-red"},null,8,Tt)):p("",!0)]),e("div",zt,[e("label",Et,t(s.$t("zip"))+"*",1),f(e("input",{type:"text","onUpdate:modelValue":o[16]||(o[16]=a=>l(d).billing_postal_code=a),name:"billing_postal_code",id:"billing_postal_code",class:""},null,512),[[x,l(d).billing_postal_code]]),l(d).errors.billing_postal_code?(n(),r("p",{key:0,textContent:t(l(d).errors.billing_postal_code),class:"text-xs text-bpi-red"},null,8,Lt)):p("",!0)]),e("div",Bt,[e("label",Ot,t(s.$t("city"))+"*",1),f(e("input",{type:"text","onUpdate:modelValue":o[17]||(o[17]=a=>l(d).billing_city=a),name:"billing_city",id:"billing_city",class:""},null,512),[[x,l(d).billing_city]]),l(d).errors.billing_city?(n(),r("p",{key:0,textContent:t(l(d).errors.billing_city),class:"text-xs text-bpi-red"},null,8,Wt)):p("",!0)]),e("div",qt,[e("label",Ht,t(s.$t("address"))+"*",1),f(e("input",{type:"text","onUpdate:modelValue":o[18]||(o[18]=a=>l(d).billing_address=a),name:"billing_address",id:"billing_address",class:""},null,512),[[x,l(d).billing_address]]),l(d).errors.billing_address?(n(),r("p",{key:0,textContent:t(l(d).errors.billing_address),class:"text-xs text-bpi-red"},null,8,It)):p("",!0)]),e("div",Qt,[e("label",Rt,t(s.$t("phone")),1),f(e("input",{type:"text","onUpdate:modelValue":o[19]||(o[19]=a=>l(d).phone_number=a),name:"phone_number",id:"phone_number",class:""},null,512),[[x,l(d).phone_number]]),l(d).errors.phone_number?(n(),r("p",{key:0,textContent:t(l(d).errors.phone_number),class:"text-xs text-bpi-red"},null,8,Gt)):p("",!0)]),e("div",Jt,[e("label",Kt,[f(e("input",{type:"checkbox","onUpdate:modelValue":o[20]||(o[20]=a=>l(d).legal_entity=a),name:"form-billing-legal-entity",id:"form-billing-legal-entity",class:"translate-y-1"},null,512),[[A,l(d).legal_entity]]),e("span",null,t(s.$t("legalPerson")),1)]),l(d).errors.legal_entity?(n(),r("p",{key:0,textContent:t(l(d).errors.legal_entity),class:"text-xs text-bpi-red"},null,8,Xt)):p("",!0)]),l(d).legal_entity?(n(),r("div",Yt,[e("label",Zt,t(s.$t("taxNumber"))+" ("+t(s.$t("optional"))+")",1),f(e("input",{type:"text","onUpdate:modelValue":o[21]||(o[21]=a=>l(d).tax_number=a),name:"billing_tax_number",id:"billing_tax_number",class:""},null,512),[[x,l(d).tax_number]]),l(d).errors.tax_number?(n(),r("p",{key:0,textContent:t(l(d).errors.tax_number),class:"text-xs text-bpi-red"},null,8,el)):p("",!0),e("div",tl,[e("label",ll,[f(e("input",{type:"checkbox","onUpdate:modelValue":o[22]||(o[22]=a=>l(d).legal_entity_without_tax_number=a),name:"form-billing-legal-entity-without-tax-number",id:"form-billing-legal-entity-without-tax-number",class:"translate-y-1"},null,512),[[A,l(d).legal_entity_without_tax_number]]),e("span",null,t(s.$t("legalPersonWithoutTaxNumber")),1)]),l(d).errors.legal_entity_without_tax_number?(n(),r("p",{key:0,textContent:t(l(d).errors.legal_entity_without_tax_number),class:"text-xs text-bpi-red"},null,8,sl)):p("",!0)])])):p("",!0),(O=s.$page.props.flash.message)!=null&&O.billingData?(n(),r("p",ol,t((W=s.$page.props.flash.message)==null?void 0:W.billingData),1)):p("",!0),e("p",al,[e
1("button",{type:"submit",disabled:l(d).processing,class:"btn btn-brand lg:w-full lg:px-2"},t(s.$t("saveChanges")),9,nl)])],32),e("p",rl,[h(C,{href:s.route("index."+l(v)()),class:"btn btn-link"},{default:k(()=>[h(V,{class:"rotate-180"}),S(" "+t(s.$t("back")),1)]),_:1},8,["href"])])])):b.value==="bucketlist"?(n(),r("div",il,[e("div",dl,[e("div",cl,[e("h1",ul,t(s.$t("myBucketlist")),1),e("h2",pl,t(s.$t("myFavoriteAttractions")),1)]),u.favorites.attractions.length?(n(),r("div",gl,[(n(!0),r(y,null,U(u.favorites.attractions,a=>(n(),j(G,{attraction:a},null,8,["attraction"]))),256))])):(n(),r("p",bl,t(s.$t("noFavoriteAttractions")),1)),e("h2",ml,t(s.$t("myFavoritePages")),1),u.favorites.others.length?(n(),r("div",fl,[(n(!0),r(y,null,U(u.favorites.others,a=>(n(),j(R,{article:a},null,8,["article"]))),256))])):(n(),r("p",_l,t(s.$t("noFavoritePages")),1)),e("div",xl,[o[33]||(o[33]=e("hr",{class:"col-start-2 rounded-full border-t-[5px] border-t-bpi-gray-dark"},null,-1)),e("p",null,[h(C,{href:s.route("webshop.index."+l(v)()),class:"btn btn-brand"},{default:k(()=>[S(t(s.$t("goToWebshop")),1)]),_:1},8,["href"])]),e("p",null,[h(C,{href:s.route("index."+l(v)()),class:"btn btn-link"},{default:k(()=>[h(V,{class:"rotate-180"}),S(" "+t(s.$t("back")),1)]),_:1},8,["href"])])])])])):p("",!0)])}}};export{Cl 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.