1import{u as we,C as _e,V as ye,q as ze,o as ke,N as ie,c as o,b as e,a as S,f as s,g as De,w as p,G as te,E as H,t as r,v as b,x as i,F as m,r as U,l as g,h as le,n as se,e as Ee,p as Ae,m as h,i as de,y as V,d as n,_ as Se,j as ue,W as ce}from"./BiSZ_CVW.js";const Be={class:"size-full min-h-screen flex-col bg-[#F8F8F8]",style:{"--checkbox-tick-svg":"url('data:image/svg+xml,%3csvg viewBox=%270 0 16 16%27 fill=%27rgb(248,250,252)%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cpath d=%27M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z%27/%3e%3c/svg%3e')","--radio-dot-svg":"url('data:image/svg+xml,%3csvg viewBox=%270 0 16 16%27 fill=%27rgb(25,124,230)%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3ccircle cx=%278%27 cy=%278%27 r=%273%27/%3e%3c/svg%3e')"}},Fe={class:"flex h-full flex-col"},Pe={class:"w-full py-6 lg:px-[100px] bg-[#F8F8F8]"},Ce={class:"absolute inset-0 top-0 lg:top-48 hidden lg:flex justify-end items-center pointer-events-none lg:w-full z-1"},Ve={class:"flex flex-col max-w-[920px] flex-1 z-10"},qe={class:"bg-white shadow-box rounded-[20px] p-4 lg:p-6"},Ue={class:"w-full flex items-center gap-2 mt-1 mb-2 relative"},je={class:"w-full flex flex-col lg:flex-row gap-1 lg:gap-6 items-center"},Le={class:"flex w-full flex-wrap items-end gap-4 lg:pr-0"},Ne={class:"flex flex-col flex-1"},Me={class:"mb-2 text-sm text-[#022B45]"},He={class:"flex w-full flex-1 items-stretch rounded-xl"},Ie=["placeholder"],Ke={key:0,class:"flex w-full flex-wrap items-end gap-4 py-3"},Te={class:"flex flex-col flex-1"},Re={class:"flex w-full flex-1 items-stretch rounded-xl"},$e={key:1,class:"flex w-full flex-wrap items-end gap-4 py-3"},We={class:"flex flex-col flex-1"},Oe={class:"flex w-full flex-1 items-stretch rounded-xl"},Ge={class:"w-full flex flex-col lg:flex-row gap-1 lg:gap-6 items-center"},Ze={class:"flex w-full flex-wrap items-end gap-4 py-3 lg:pr-0"},Je={class:"flex flex-col flex-1"},Ye={class:"flex w-full flex-1 items-stretch rounded-xl"},Qe={class:"flex w-full flex-wrap items-end gap-4 py-3"},Xe={class:"flex flex-col w-full"},et={class:"flex items-stretch w-full rounded-xl gap-2"},tt={class:"w-full flex flex-row gap-2 lg:gap-6 items-center"},lt={class:"flex w-full flex-wrap items-end gap-4 py-3 pr-0"},st={class:"flex flex-col flex-1"},ot={class:"flex w-full flex-1 items-stretch rounded-xl"},nt={class:"flex w-full flex-wrap items-end gap-4 py-3"},rt={class:"flex flex-col flex-1"},at={class:"flex w-full flex-1 items-stretch rounded-xl"},it={class:"w-full flex flex-row gap-2 lg:gap-6 items-center"},dt={class:"flex w-full flex-wrap items-end gap-4 py-3 pr-0"},ut={class:"flex flex-col flex-1"},ct={class:"flex w-full flex-1 items-stretch rounded-xl"},pt={class:"flex w-full flex-wrap items-end gap-4 py-3"},ft={class:"flex flex-col flex-1"},xt={class:"flex w-full flex-1 items-stretch rounded-xl"},mt={class:"w-full flex items-center gap-2 mt-1 relative"},gt={key:0,class:"mt-6"},bt={class:"w-full flex flex-col lg:flex-row gap-1 lg:gap-6 items-center"},ht={class:"flex w-full flex-wrap items-end gap-4 lg:pr-0"},vt={class:"flex flex-col flex-1"},wt={class:"mb-2 text-sm text-[#022B45]"},_t={class:"flex w-full flex-1 items-stretch rounded-xl"},yt=["placeholder"],zt={key:0,class:"flex w-full flex-wrap items-end gap-4 py-3"},kt={class:"flex flex-col flex-1"},Dt={class:"flex w-full flex-1 items-stretch rounded-xl"},Et={key:1,class:"flex w-full flex-wrap items-end gap-4 py-3"},At={class:"flex flex-col flex-1"},St={class:"flex w-full flex-1 items-stretch rounded-xl"},Bt={class:"w-full flex flex-col lg:flex-row gap-1 lg:gap-6 items-center"},Ft={class:"flex w-full flex-wrap items-end gap-4 py-3 lg:pr-0"},Pt={class:"flex flex-col flex-1"},Ct={class:"flex w-full flex-1 items-stretch rounded-xl"},Vt={class:"flex w-full flex-wrap items-end gap-4 py-3"},qt={class:"flex flex-col w-full"},Ut={class:"flex items-stretch w-full rounded-xl gap-2"},jt={class:"w-full flex flex-row gap-2 lg:gap-6 items-center"},Lt={class:"flex w-full flex-wrap items-end gap-4 py-3 pr-0"},Nt={class:"flex flex-col flex-1"},Mt={class:"flex w-full flex-1 items-stretch rounded-xl"},Ht={class:"flex w-full flex-wrap items-end gap-4 py-3"},It={class:"flex flex-col flex-1"},Kt={class:"flex w-full flex-1 items-stretch rounded-xl"},Tt={class:"w-full flex flex-row gap-2 lg:gap-6 items-center"},Rt={class:"flex w-full flex-wrap items-end gap-4 py-3 pr-0"},$t={class:"flex flex-col flex-1"},Wt={class:"flex w-full flex-1 items-stretch rounded-xl"},Ot={class:"flex w-full flex-wrap items-end gap-4 py-3"},Gt={class:"flex flex-col flex-1"},Zt={class:"flex w-full flex-1 items-stretch rounded-xl"},Jt={class:"p-4 lg:p-6 mt-6 bg-white shadow-box rounded-[20px]"},Yt={class:"grid grid-cols-1"},Qt=["value"],Xt={class:"flex justify-between w-full items-center"},el={class:"text-md font-medium leading-normal"},tl={class:"text-md font-medium leading-normal whitespace-nowrap"},ll={class:"p-4 lg:p-6 mt-6 bg-white shadow-box rounded-[20px]"},sl={class:"grid grid-cols-1 gap-3"},ol=["value"],nl={class:"flex justify-between w-full items-center"},rl={class:"text-md font-medium leading-normal"},al={class:"text-md font-medium leading-normal whitespace-nowrap"},il={key:0,class:"w-full items-center py-2 pl-3 gap-2 flex"},dl={class:"p-4 lg:p-6 bg-white mt-6 rounded-2xl"},ul={class:"flex gap-2"},cl=["placeholder"],pl={key:0,class:"mt-3 p-3 bg-green-50 border border-green-200 rounded-xl"},fl={class:"text-green-700 font-medium"},xl={key:0},ml={key:1},gl={key:1,class:"mt-3 p-3 bg-red-50 border border-red-200 rounded-xl"},bl={class:"text-red-700 font-medium"},hl={class:"flex items-start gap-2 mt-4 relative"},vl={for:"termsAccepted",class:"text-black text-[14px] select-none cursor-pointer leading-tight"},wl=["disabled"],_l={key:0},yl={key:1,class:"animate-spin h-6",fill:"#ffffff",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",stroke:"#007AFF","stroke-width":"0.0002"},zl={class:"layout-content-container flex flex-col w-full py-3 lg:w-[40%] z-10"},kl={class:"p-4 bg-white shadow-box rounded-2xl"},Dl={class:"flex items-center justify-between py-2"},El={class:"flex items-center gap-3"},Al={class:"flex flex-col"},Sl={class:"text-[#022B45] text-sm font-normal leading-[1.2] roboto"},Bl={key:2},Fl={class:"text-[#444444] text-sm roboto"},Pl={key:0,class:"text-[#022B45] text-sm font-normal leading-normal whitespace-nowrap text-right"},Cl={key:1,class:"text-[#022B45] text-sm font-normal leading-normal whitespace-nowrap text-right"},Vl={class:"flex justify-between gap-x-6 py-1"},ql={class:"text-[#022B45] text-sm font-normal leading-normal whitespace-nowrap text-right"},Ul={class:"flex justify-between gap-x-6 py-1"},jl={class:"text-[#022B45] text-sm font-normal leading-normal whitespace-nowrap text-right"},Ll={class:"flex justify-between gap-x-6 py-1"},Nl={class:"text-[#022B45] text-sm font-normal leading-normal whitespace-nowrap text-right"},Ml={key:0,class:"flex justify-between gap-x-6 pt-2"},Hl={class:"text-[#022B45] text-lg font-semibold leading-normal whitespace-nowrap text-right bricolage-grotesque-custom"},Il={key:1,class:"flex flex-col gap-2 pt-2"},Kl={class:"flex justify-between"},Tl={class:"text-[#777] text-lg font-semibold leading-normal whitespace-nowrap text-right line-through bricolage-grotesque-custom"},Rl={class:"flex justify-between gap-x-6"},$l={class:"text-lg font-semibold text-[#022B45] leading-normal bricolage-grotesque-custom"},Wl={class:"font-normal text-gray-500"},Ol={class:"text-[#1E8FD9] text-lg font-semibold leading-normal whitespace-nowrap text-right bricolage-grotesque-custom"},Gl={class:"flex justify-between"},Zl={class:"text-[#1E8FD9] text-lg font-semibold leading-normal whitespace-nowrap text-right bricolage-grotesque-custom"},Jl={key:1,class:"w-full min-h-screen py-8 px-3 max-w-[1440px] mx-auto flex flex-col items-center"},Yl={key:0,class:"font-bold text-[#022B45] text-[32px] lg:text-[48px] mb-3 mt-2 bricolage-grotesque-custom lg:w-[774px] text-center leading-[1.1]"},Ql={key:1,class:"font-bold text-[#022B45] text-[32px] lg:text-[48px] mb-3 mt-2 bricolage-grotesque-custom lg:w-[774px] text-center leading-[1.1]"},Xl={class:"text-[24px] text-[#022B45] mb-2 lg:w-[540px] text-center font-bold"},es={class:"text-[16px] text-[#022B45] mb-6 lg:w-[540px] text-center leading-[1.4]"},ts={key:0},ls={key:2,class:"p-4 mb-6 bg-white shadow-box rounded-2xl w-full lg:w-[774px] z-10"},ss={class:"flex justify-between gap-x-6 py-1"},os={class:"text-[#022B45] text-sm font-normal leading-normal text-right"},ns={class:"flex justify-between gap-x-6 py-1"},rs={key:0,class:"text-[#022B45] text-md font-semibold leading-normal whitespace-nowrap text-right"},as={class:"flex items-center gap-2 justify-start w-full mb-3"},is={key:0,class:"text-[24px] font-bold text-[#A0A0A0]"},ds={key:3,class:"w-full grid grid-cols-1 lg:grid-cols-2 gap-3"},us={class:"bg-white p-4 rounded-2xl shadow-box flex items-center justify-between py-2 z-10"},cs={class:"flex items-center gap-3"},ps={class:"flex flex-col"},fs={class:"text-[#022B45] text-sm font-medium leading-normal"},xs={key:2},ms={class:"text-[#444444] text-sm"},gs={key:0,class:"text-[#022B45] text-sm font-normal leading-normal whitespace-nowrap text-right"},bs={key:1,class:"text-[#022B45] text-sm font-normal leading-normal whitespace-nowrap text-right"},hs={class:"flex flex-col gap-2 items-center justify-center"},vs={key:0},ws={key:0,class:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"},_s={class:"bg-white rounded-xl shadow-lg p-4 lg:p-6 inset-3 w-full max-w-[90%] lg:inset-auto lg:w-[400px]"},ys={class:"list-disc pl-5 mb-4"},Ds={__name:"fizetes",async setup(zs){let R,oe;we({title:"Pophone | Fizetés",ogTitle:"Pophone | Fizetés"});const{user:ne}=_e(),k=ye(),O=h(null),$=h(null),z=h(null),A=h(null),q=h(!1),_=h(!1),j=h(!1),G=h(!1),Z=h(null),J=h(null),L=h(!1),re=h([]),I=h(""),f=h(null),ae=h(!1),Y=h(null),{data:pe}=([R,oe]=ze(()=>Ae("/api/coupons/get",{method:"POST",body:{secret:"swhk92dfha5few28rwe987riweue1guf"}}
1,"$jpiZVjb9EY")),R=await R,oe(),R);re.value=pe.value,ke(async()=>{if(ne.value)try{const l=await(await fetch("/api/user/info")).json();a.value.first_name=l.billing.first_name||"",a.value.last_name=l.billing.last_name||"",a.value.email=l.billing.email||"",a.value.phone=l.billing.phone||"",a.value.zip=l.billing.zip||"",a.value.city=l.billing.city||"",a.value.street=l.billing.street||"",a.value.house_number=l.billing.house_number||"",l.shipping&&Object.values(l.shipping).some(u=>u)&&(c.value.first_name=l.shipping.first_name||"",c.value.last_name=l.shipping.last_name||"",c.value.email=l.shipping.email||"",c.value.phone=l.shipping.phone||"",c.value.zip=l.shipping.zip||"",c.value.city=l.shipping.city||"",c.value.street=l.shipping.street||"",c.value.house_number=l.shipping.house_number||"",q.value=!0)}catch(E){console.error("Hiba történt az adatok betöltésekor",E)}const t=await(await fetch("/api/pay-modes")).json();O.value=t.data;const D=(await(await fetch("/api/transports")).json()).data.filter(E=>E.name.toLowerCase().includes("mpl"));$.value=D,D.length>0&&(A.value=D[0].id);let B=!1;ie(()=>k.products,E=>{if(!B&&E&&E.length>0&&window.dataLayer){B=!0;const l=E.map(u=>{const v=k.cartItems.find(C=>C.productId===u.id)?.quantity||1,F=u.priceData?.sale_price||u.priceData?.price||0;return{item_id:String(u.number||u.id||""),item_name:String(u.productName||u.name||""),price:F,quantity:v}});window.dataLayer.push({ecommerce:null}),window.dataLayer.push({event:"begin_checkout",ecommerce:{currency:"HUF",value:k.totalPrice||0,items:l}})}},{immediate:!0})});const N=V(()=>k.products.map(d=>{const t=k.cartItems.find(y=>y.productId===d.id),x=t?.extras||[],w=t?.quantity||1,D=x.reduce((y,v)=>{const F=v.priceData?.sale_price??v.priceData?.price??0;return y+F},0),l=((d.priceData?.sale_price??d.priceData?.price??0)+D)*w,u={...d,extras:x,quantity:w,totalPrice:l};if(d.priceData?.sale_price){const y=d.priceData.sale_price+D;u.totalSalePrice=y*w}return u})),a=h({first_name:"",last_name:"",email:"",prefix:"+36",phone:"",zip:"",city:"",street:"",house_number:"",number:""}),c=h({first_name:"",last_name:"",email:"",prefix:"+36",phone:"",zip:"",city:"",street:"",house_number:""}),P=h([]),W=h(!1),fe=()=>(P.value=[],_.value?([["first_name","Számlázási cégnév"],["email","Számlázási email"],["phone","Számlázási telefonszám"],["zip","Számlázási irányÃtószám"],["city","Számlázási város"],["street","Számlázási utca"],["house_number","Számlázási házszám"]].forEach(([t,x])=>{a.value[t]||P.value.push(x)}),a.value.number||P.value.push("Adószám")):[["first_name","Számlázási Keresztnév"],["last_name","Számlázási Vezetéknév"],["email","Számlázási email"],["phone","Számlázási telefonszám"],["zip","Számlázási irányÃtószám"],["city","Számlázási város"],["street","Számlázási utca"],["house_number","Számlázási házszám"]].forEach(([t,x])=>{a.value[t]||P.value.push(x)}),q.value&&(_.value?[["first_name","SzállÃtási cégnév"],["email","SzállÃtási email"],["phone","SzállÃtási telefonszám"],["zip","SzállÃtási irányÃtószám"],["city","SzállÃtási város"],["street","SzállÃtási utca"],["house_number","SzállÃtási házszám"]].forEach(([t,x])=>{c.value[t]||P.value.push(x)}):[["first_name","SzállÃtási keresztnév"],["last_name","SzállÃtási vezetéknév"],["email","SzállÃtási email"],["phone","SzállÃtási telefonszám"],["zip","SzállÃtási irányÃtószám"],["city","SzállÃtási város"],["street","SzállÃtási utca"],["house_number","SzállÃtási házszám"]].forEach(([t,x])=>{c.value[t]||P.value.push(x)})),P.value.length>0?W.value=!0:console.log(""),P.value),xe=V(()=>$.value?.find(d=>d.id===A.value)),M=V(()=>xe.value?.price||0),me=V(()=>X.value.find(d=>d.id===z.value)),K=V(()=>me.value?.price||0),T=V(()=>k.totalPrice+M.value+K.value),Q=h(null),ge=async()=>{if(L.value)return;if(!k.totalPrice||k.totalPrice<1){alert("â Nincs semmi a kosaradban.");return}if(fe().length>0){W.value=!0;return}L.value=!0;const t={...a.value,phone:`${a.value.prefix}${a.value.phone.startsWith("06")?a.value.phone.slice(2):a.value.phone}`,first_name:(_.value,a.value.first_name),last_name:_.value?"":a.value.last_name};_.value&&!a.value.number&&delete t.number;const x=c.value.phone.startsWith("06")?c.value.phone.slice(2):c.value.phone,w={...c.value,phone:`${c.value.prefix}${x}`}
1,D=k.cartItems.map(l=>{const u=k.products.find(C=>C.id===l.productId);if(!u?.category||!u?.number||u.category==="KiegészÃtÅk")return null;const y=l.extras?.reduce((C,ve)=>C+(ve.price||0),0)||0,F=(u.priceData?.sale_price??u.priceData?.price)+y;return{number:u.number,total_price:F}}).filter(Boolean),B=N.value.flatMap(l=>{const u=[];if(l.category==="KiegészÃtÅk"){const F=(l.priceData?.sale_price??l.priceData?.price)*(l.quantity||1);u.push({number:l.number||l.productId,total_price:F,qty:l.quantity||1})}const y=(l.extras||[]).map(v=>{const C=(v.priceData?.sale_price??v.priceData?.price)*(l.quantity||1);return{number:v.number,total_price:C,qty:l.quantity||1}});return u.concat(y)}),E={billing_datas:t,delivery_datas:q.value?w:t,pay_mode_id:z.value,transport_mode_id:A.value,platform_id:16,brand_id:2,stocks:D,accessories:B};try{const l=await fetch("/api/create-order",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({orderData:E,...f.value&&{coupon_name:f.value.title,coupon_price:f.value.amount},productsWithExtrasPrice:N.value,shippingCost:M.value.toString(),paymentCost:K.value.toString(),totalPrice:ee.value.toString()})});if(!l.ok){const y=await l.json();throw new Error(y.message||"Ismeretlen hiba")}const u=await l.json();if(u.success){if(Z.value=u.purchase_number,G.value=!0,Y.value=ee.value,window.dataLayer){const y=N.value.map(v=>{const F=v.quantity||1,C=v.priceData?.sale_price||v.priceData?.price||0;return{item_id:String(v.number||v.id||""),item_name:String(v.productName||v.name||""),price:C,quantity:F}});window.dataLayer.push({ecommerce:null}),window.dataLayer.push({event:"purchase",ecommerce:{transaction_id:String(u.purchase_number),value:T.value||0,currency:"HUF",shipping:M.value||0,items:y}})}Q.value=N.value.reduce((y,v)=>y+(v.quantity||1),0),J.value=N.value,k.clearCart()}else alert(`â Hiba: ${u.message}`)}catch(l){alert(`â Hálózati hiba: ${l.message}`)}L.value=!0},be=V(()=>{const d=$?.value.find(t=>t.id===A.value);return d?d.name.toLowerCase():""}),X=V(()=>{if(!O?.value?.length)return[];const d=k.totalPrice;return O?.value.filter(t=>{const x=t.name.toLowerCase(),w=be.value;return x.includes("fp utánvét")||x.includes("fp utanvet")?!1:w?.includes("személyes")?!(x.includes("utánvét")||x.includes("bankszámlára")):w.includes("mpl")?d>5e5?x.includes("bankszámlára"):x.includes("utánvét")||x.includes("bankszámlára"):!0})}),he=()=>{const d=I.value.trim().toLowerCase();f.value=re.value?.find(t=>{const x=t.title.trim().toLowerCase()===d,w=t.minPrice||0,D=T.value>=w,B=t.usageLimit===null||t.usedCount<t.usageLimit;return x&&D&&B})||null,ae.value=!0},ee=V(()=>{if(!f.value)return T.value;let d=k.totalPrice;f.value.percentage?d=Math.round(d*(1-f.value.percentage/100)):f.value.amount&&(d=d-f.value.amount,d<0&&(d=0));const t=d+M.value+K.value;return Math.round(t)});return ie(X,d=>{d.find(t=>t.id===z.value)||(z.value=null)}),(d,t)=>{const x=Se,w=ue,D=de,B=ue,E=de;return n(),o(m,null,[e("div",Be,[e("div",Fe,[S(x),e("div",Pe,[e("div",Ce,[S(w,{src:"kosar-bg.svg",alt:"Banner Icon",class:"h-full lg:h-[130%]"})]),s(G)?i("",!0):(n(),o("form",{key:0,onSubmit:De(ge,["prevent"]),class:"flex-1 justify-center py-3 px-4 flex gap-4 flex-col lg:flex-row max-w-[1440px] mx-auto"},[e("div",Ve,[t[65]||(t[65]=e("div",{class:"flex flex-wrap justify-between gap-3 p-4"},[e("p",{class:"text-[#070707] tracking-light text-[24px] font-bold bricolage-grotesque-custom"}," Pénztár ")],-1)),e("div",qe,[t[50]||(t[50]=e("div",{class:"w-full flex gap-2 items-center mb-3"},[e("div",{class:"rounded-full w-7 h-7 lg:w-8 lg:h-8 font-bold text-base text-[#022B45] flex items-center justify-center bricolage-grotesque-custom border border-[#DEDEDE]"}," 1"),e("p",{class:"font-bold text-base text-md text-[#022B45] bricolage-grotesque-custom"}," Számlázási adatok")],-1)),e("div",Ue,[p(e("input",{type:"checkbox",id:"isCompany","onUpdate:modelValue":t[0]||(t[0]=l=>H(_)?_.value=l:null),name:"isCompany",class:"peer flex-shrink-0 h-4 w-4 cursor-pointer appearance-none rounded border bg-[#F9FAFB] border-[#D1D5DB] checked:bg-[#1E8FD9] transition-all"},null,512),[[te,s(_)]]),t[29]||(t[29]=e("span",{class:"pointer-events-none absolute top-1/2 left-[0.52rem] -translate-x-1/2 -translate-y-1/2 text-white opacity-0 peer-checked:opacity-100"},[e("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-2.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor",stroke:"currentColor","stroke-width":"1"},[e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"})])],-1)),t[30]||(t[30]=e("label",{for:"isCompany",class:"font-normal text-[13px] roboto text-black select-none"}," Vásárlás cégként ",-1))]),e("div",je,[e("div",Le,[e("label",Ne,[e("span",Me,r(s(_)?"Cégnév":"Vezetéknév"),1),e("div",He,[p(e("input",{placeholder:s(_)?"Cégnév":"Vezetéknév","onUpdate:modelValue":t[1]||(t[1]=l=>s(a).first_name=l),class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,8,Ie),[[b,s(a).first_name]])])])]),s(_)?i("",!0):(n(),o("div",Ke,[e("label",Te,[t[31]||(t[31]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"Keresztnév",-1)),e("div",Re,[p(e("input",{placeholder:"Keresztnév","onUpdate:modelValue":t[2]||(t[2]=l=>s(a).last_name=l),class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,512),[[b,s(a).last_name]])])])])),s(_)?(n(),o("div",$e,[e("label",We,[t[32]||(t[32]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"Adószám",-1)),e("div",Oe,[p(e("input",{placeholder:"Adószám","onUpdate:modelValue":t[3]||(t[3]=l=>s(a).number=l),class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,512),[[b,s(a).number]])])])])):i("",!0)]),e("div",Ge,[e("div",Ze,[e("label",Je,[t[33]||(t[33]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"Email",-1)),e("div",Ye,[p(e("input",{placeholder:"Email",type:"email","onUpdate:modelValue":t[4]||(t[4]=l=>s(a).email=l),class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,512),[[b,s(a).email]])])])]),e("div",Qe,[e("label",Xe,[t[34]||(t[34]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"Telefonszám",-1)),e("div",et,[p(e("input",{"onUpdate:modelValue":t[5]||(t[5]=l=>s(a).prefix=l),placeholder:"+36",class:"form-input w-[70px] border border-[#DEDEDE] rounded-full bg-white h-11 px-3 text-[#0e141b] placeholder:text-[#9A9A9A] text-base font-normal leading-normal focus:border-[#d0dbe7] focus:outline-0 focus:ring-0"},null,512),[[b,s(a).prefix]]),p(e("input",{"onUpdate:modelValue":t[6]||(t[6]=l=>s(a).phone=l),placeholder:"pl. 701234567",type:"tel",pattern:"[0-9]*",onInput:t[7]||(t[7]=l=>s(a).phone=l.target.value.replace(/\D/g,"")),class:"form-input flex-1 border border-[#DEDEDE] rounded-full bg-white h-11 px-4 text-[#0e141b] placeholder:text-[#9A9A9A] text-base font-normal leading-normal focus:border-[#d0dbe7] focus:outline-0 focus:ring-0"},null,544),[[b,s(a).phone]])])])])]),e("div",tt,[e("div",lt,[e("label",st,[t[35]||(t[35]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"IrányÃtószám",-1)),e("div",ot,[p(e("input",{placeholder:"IrányÃtószám","onUpdate:modelValue":t[8]||(t[8]=l
1=>s(a).zip=l),type:"number",class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,512),[[b,s(a).zip]])])])]),e("div",nt,[e("label",rt,[t[36]||(t[36]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"Város",-1)),e("div",at,[p(e("input",{placeholder:"Város","onUpdate:modelValue":t[9]||(t[9]=l=>s(a).city=l),class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,512),[[b,s(a).city]])])])])]),e("div",it,[e("div",dt,[e("label",ut,[t[37]||(t[37]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"Utca",-1)),e("div",ct,[p(e("input",{placeholder:"Utca","onUpdate:modelValue":t[10]||(t[10]=l=>s(a).street=l),class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,512),[[b,s(a).street]])])])]),e("div",pt,[e("label",ft,[t[38]||(t[38]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"Házszám",-1)),e("div",xt,[p(e("input",{placeholder:"Házszám","onUpdate:modelValue":t[11]||(t[11]=l=>s(a).house_number=l),class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,512),[[b,s(a).house_number]])])])])]),e("div",mt,[p(e("input",{type:"checkbox",id:"sameNotAddress","onUpdate:modelValue":t[12]||(t[12]=l=>H(q)?q.value=l:null),name:"sameNotAddress",class:"peer flex-shrink-0 h-4 w-4 cursor-pointer appearance-none rounded border bg-[#F9FAFB] border-[#D1D5DB] checked:bg-[#1E8FD9] transition-all"},null,512),[[te,s(q)]]),t[39]||(t[39]=e("span",{class:"pointer-events-none absolute top-1/2 left-[0.52rem] -translate-x-1/2 -translate-y-1/2 text-white opacity-0 peer-checked:opacity-100"},[e("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-2.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor",stroke:"currentColor","stroke-width":"1"},[e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"})])],-1)),t[40]||(t[40]=e("label",{for:"sameNotAddress",class:"text-black text-[13px] select-none cursor-pointer"}," SzállÃtási / kapcsolattartó adatok eltérnek a számlázási adatoktól ",-1))]),s(q)?(n(),o("div",gt,[t[49]||(t[49]=e("div",{class:"w-full flex gap-2 items-center mb-3"},[e("div",{class:"rounded-full w-7 h-7 lg:w-8 lg:h-8 font-bold text-base text-[#022B45] flex items-center justify-center bricolage-grotesque-custom border border-[#DEDEDE]"}," 1.5"),e("p",{class:"font-bold text-base text-md text-[#022B45] bricolage-grotesque-custom"}," SzállÃtási adatok")],-1)),e("div",bt,[e("div",ht,[e("label",vt,[e("span",wt,r(s(_)?"Cégnév":"Vezetéknév"),1),e("div",_t,[p(e("input",{placeholder:s(_)?"Cégnév":"Vezetéknév","onUpdate:modelValue":t[13]||(t[13]=l=>s(c).first_name=l),class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,8,yt),[[b,s(c).first_name]])])])]),s(_)?i("",!0):(n(),o("div",zt,[e("label",kt,[t[41]||(t[41]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"Keresztnév",-1)),e("div",Dt,[p(e("input",{placeholder:"Keresztnév","onUpdate:modelValue":t[14]||(t[14]=l=>s(c).last_name=l),class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,512),[[b,s(c).last_name]])])])])),s(_)?(n(),o("div",Et,[e("label",At,[t[42]||(t[42]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"Adószám",-1)),e("div",St,[p(e("input",{placeholder:"Adószám","onUpdate:modelValue":t[15]||(t[15]=l=>s(a).number=l),class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,512),[[b,s(a).number]])])])])):i("",!0)]),e("div",Bt,[e("div",Ft,[e("label",Pt,[t[43]||(t[43]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"Email",-1)),e("div",Ct,[p(e("input",{placeholder:"Email",type:"email","onUpdate:modelValue":t[16]||(t[16]=l=>s(c).email=l),class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,512),[[b,s(c).email]])])])]),e("div",Vt,[e("label",qt,[t[44]||(t[44]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"Telefonszám",-1)),e("div",Ut,[p(e("input",{"onUpdate:modelValue":t[17]||(t[17]=l=>s(c).prefix=l),placeholder:"+36",class:"form-input w-[70px] border border-[#DEDEDE] rounded-full bg-white h-11 px-3 text-[#0e141b] placeholder:text-[#9A9A9A] text-base font-normal leading-normal focus:border-[#d0dbe7] focus:outline-0 focus:ring-0"},null,512),[[b,s(c).prefix]]),p(e("input",{"onUpdate:modelValue":t[18]||(t[18]=l=>s(c).phone=l),placeholder:"pl. 701234567",type:"tel",pattern:"[0-9]*",onInput:t[19]||(t[19]=l=>s(c).phone=l.target.value.replace(/\D/g,"")),class:"form-input flex-1 border border-[#DEDEDE] rounded-full bg-white h-11 px-4 text-[#0e141b] placeholder:text-[#9A9A9A] text-base font-normal leading-normal focus:border-[#d0dbe7] focus:outline-0 focus:ring-0"},null,544),[[b,s(c).phone]])])])])]),e("div",jt,[e("div",Lt,[e("label",Nt,[t[45]||
1(t[45]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"IrányÃtószám",-1)),e("div",Mt,[p(e("input",{placeholder:"IrányÃtószám","onUpdate:modelValue":t[20]||(t[20]=l=>s(c).zip=l),type:"number",class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,512),[[b,s(c).zip]])])])]),e("div",Ht,[e("label",It,[t[46]||(t[46]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"Város",-1)),e("div",Kt,[p(e("input",{placeholder:"Város","onUpdate:modelValue":t[21]||(t[21]=l=>s(c).city=l),class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,512),[[b,s(c).city]])])])])]),e("div",Tt,[e("div",Rt,[e("label",$t,[t[47]||(t[47]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"Utca",-1)),e("div",Wt,[p(e("input",{placeholder:"Utca","onUpdate:modelValue":t[22]||(t[22]=l=>s(c).street=l),class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,512),[[b,s(c).street]])])])]),e("div",Ot,[e("label",Gt,[t[48]||(t[48]=e("span",{class:"mb-2 text-sm text-[#022B45]"},"Házszám",-1)),e("div",Zt,[p(e("input",{placeholder:"Házszám","onUpdate:modelValue":t[23]||(t[23]=l=>s(c).house_number=l),class:"form-input flex w-full min-w-0 flex-1 resize-none overflow-hidden text-[#0e141b] focus:outline-0 focus:ring-0 border border-[#DEDEDE] rounded-full bg-white focus:border-[#d0dbe7] h-11 placeholder:text-[#9A9A9A] p-[15px] border-r-1 pr-2 text-base font-normal leading-normal"},null,512),[[b,s(c).house_number]])])])])])])):i("",!0)]),e("div",Jt,[t[51]||(t[51]=e("div",{class:"w-full flex gap-2 items-center mb-3"},[e("div",{class:"rounded-full w-7 h-7 lg:w-8 lg:h-8 font-bold text-base text-[#022B45] flex items-center justify-center bricolage-grotesque-custom border border-[#DEDEDE]"}," 2 "),e("p",{class:"font-bold text-base text-md text-[#022B45] bricolage-grotesque-custom"}," SzállÃtási mód ")],-1)),e("div",Yt,[(n(!0),o(m,null,U(s($),l=>(n(),o("label",{key:l.id,class:se(["flex items-center gap-4 roun
1ded-[20px] p-5 cursor-pointer",l.id===s(A)?"bg-[#4DBDE9] border-2 border-[#1E8FD9] text-white":"bg-white border border-[#A0A0A0] text-black"])},[p(e("input",{type:"radio",class:"h-5 w-5 border-2 border-[#d0dbe7] bg-transparent text-transparent checked:border-[#197ce6] checked:bg-[image:--radio-dot-svg] focus:outline-none focus:ring-0 focus:ring-offset-0 checked:focus:border-[#197ce6]",value:l.id,"onUpdate:modelValue":t[24]||(t[24]=u=>H(A)?A.value=u:null)},null,8,Qt),[[ce,s(A)]]),e("div",Xt,[e("p",el,r(l.name),1),e("p",tl,r(l.price)+" Ft",1)])],2))),128))])]),e("div",ll,[t[53]||(t[53]=e("div",{class:"w-full flex gap-2 items-center mb-3"},[e("div",{class:"rounded-full w-7 h-7 lg:w-8 lg:h-8 font-bold text-base text-[#022B45] flex items-center justify-center bricolage-grotesque-custom border border-[#DEDEDE]"}," 3 "),e("p",{class:"font-bold text-base text-md text-[#022B45] bricolage-grotesque-custom"}," Fizetési mód ")],-1)),e("div",sl,[(n(!0),o(m,null,U(s(X),l=>(n(),o("label",{key:l.id,class:se(["flex items-center gap-4 roun
1ded-[20px] p-5 cursor-pointer",l.id===s(z)?"bg-[#4DBDE9] border-2 border-[#1E8FD9] text-white":"bg-white border border-[#A0A0A0] text-black"])},[p(e("input",{type:"radio",class:"h-5 w-5 border-2 border-[#d0dbe7] bg-transparent text-transparent checked:border-[#197ce6] checked:bg-[image:--radio-dot-svg] focus:outline-none focus:ring-0 focus:ring-offset-0 checked:focus:border-[#197ce6]",value:l.id,"onUpdate:modelValue":t[25]||(t[25]=u=>H(z)?z.value=u:null)},null,8,ol),[[ce,s(z)]]),e("div",nl,[e("p",rl,r(l.name),1),e("p",al,r(l.price)+" Ft",1)])],2))),128)),s(z)===18?(n(),o("div",il,[...t[52]||(t[52]=[e("div",{class:"w-0.5 rounded-md self-stretch bg-gradient-to-t from-[#1F8FD9] to-[#C2E7FC] flex-shrink-0"},null,-1),e("p",{class:"text-[14px] leading-[1.4] text-[#070707]"}," Az utalási adatokat a rendelésed leadása után fogod látni! ",-1)])])):i("",!0)])]),e("div",dl,[t[57]||(t[57]=e("p",{class:"font-bold text-base text-md mb-2 text-[#022B45] bricolage-grotesque-custom"}," Kuponkód (opcionális) ",-1)),e("div",ul,[p(e("input",{"onUpdate:modelValue":t[26]||(t[26]=l=>H(I)?I.value=l:null),type:"text",placeholder:d.locale==="ro"?"Numele cuponului...":"Kupon neve...",class:"w-full px-4 py-2 border rounded-[20px] focus:outline-none"},null,8,cl),[[b,s(I)]]),e("button",{onClick:he,type:"button",class:"px-4 py-2 bg-[#1E8FD9] text-white font-semibold rounded-[20px]"},r("EllenÅrzés"))]),s(f)?(n(),o("div",pl,[e("p",fl,[t[54]||(t[54]=g(r("Kupon alkalmazva:")+" ",-1)),e("strong",null,r(s(f).title),1),t[55]||(t[55]=g(" (",-1)),s(f).percentage?(n(),o("span",xl,r(s(f).percentage)+"% "+r("kedvezmény"),1)):s(f).amount?(n(),o("span",ml,r(s(f).amount)+" "+r("Ft kedvezmény"),1)):i("",!0),t[56]||(t[56]=g(") ",-1))])])):s(ae)&&s(I).length>0?(n(),o("div",gl,[e("p",bl,r(d.locale==="ro"?"Cod invalid":"Ãrvénytelen kuponkód"),1)])):i("",!0)]),e("div",hl,[p(e("input",{type:"checkbox",id:"termsAccepted","onUpdate:modelValue":t[27]||(t[27]=l=>H(j)?j.value=l:null),name:"termsAccepted",class:"peer flex-shrink-0 h-4 w-4 cursor-pointer appearance-none rounded border bg-[#F9FAFB] border-[#D1D5DB] checked:bg-[#1E8FD9] transition-all mt-[3px]"},null,512),[[te,s(j)]]),t[63]||(t[63]=e("span",{class:"pointer-events-none absolute top-[0.65rem] left-[0.52rem] -translate-x-1/2 -translate-y-1/2 text-white opacity-0 peer-checked:opacity-100"},[e("svg",{xmlns:"http://www.w3.org/2000/svg",class:"h-2.5 w-3.5",viewBox:"0 0 20 20",fill:"currentColor",stroke:"currentColor","stroke-width":"1"},[e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"})])],-1)),e("label",vl,[t[60]||(t[60]=g(" Elolvastam és elfogadom az ",-1)),S(D,{to:"/aszf",target:"blank",class:"underline text-blue-600 hover:text-blue-800"},{default:le(()=>[...t[58]||(t[58]=[g(" Ãltalános SzerzÅdési Feltételek ",-1)])]),_:1}),t[61]||(t[61]=g(" -ben és az ",-1)),S(D,{to:"/gdpr",target:"blank",class:"underline text-blue-600 hover:text-blue-800"},{default:le(()=>[...t[59]||(t[59]=[g(" Adatkezelési tájékoztatóban ",-1)])]),_:1}),t[62]||(t[62]=g(" foglaltakat. ",-1))])]),e("button",{type:"submit",disabled:s(L)||!s(j)||!s(z)||!s(A),class:se([{"bg-[#1E8FD9]":s(j)&&s(z)&&s(A),"bg-gray-400 cursor-not-allowed":!(s(j)&&s(z)&&s(A))},"w-full rounded-full py-4 mt-6 text-base text-white font-bold bricolage-grotesque-custom flex items-center justify-center"])},[s(L)?i("",!0):(n(),o("p",_l," Megrendelés elküldése")),s(L)?(n(),o("svg",yl,[...t[64]||(t[64]=[e("g",{id:"SVGRepo_bgCarrier","stroke-width":"0"},null,-1),e("g",{id:"SVGRepo_tracerCarrier","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),e("g",{id:"SVGRepo_iconCarrier"},[e("path",{d:"M10,1V3a7,7,0,1,1-7,7H1a9,9,0,1,0,9-9Z"})],-1)])])):i("",!0)],10,wl),t[66]||(t[66]=e("p",{class:"text-black text-[14px] mt-4 text-center"}
1,"A âMegrendelés elküldéseâ gombra kattintással Ãnnek fizetési kötelezettsége keletkezik!",-1))]),e("div",zl,[t[74]||(t[74]=e("h2",{class:"text-[24px] font-bold text-[#070707] mt-2 mb-3 bricolage-grotesque-custom"}," Ãsszefoglaló ",-1)),e("div",kl,[(n(!0),o(m,null,U(s(N),l=>(n(),o("div",Dl,[e("div",El,[S(B,{class:"h-[64px]",src:l.coverImage},null,8,["src"]),e("div",Al,[e("p",Sl,[l.category==="KiegészÃtÅk"||l.category===null?(n(),o(m,{key:0},[l.productName?(n(),o(m,{key:0},[g(r(l.name),1)],64)):i("",!0)],64)):i("",!0),l.category!=="KiegészÃtÅk"&&l.category!==null?(n(),o(m,{key:1},[l.productName||l.storage&&l.storage!=="N/A"||l.color||l.condition?(n(),o(m,{key:0},[g(r(l.productName?l.productName:"")+" ",1),l.storage&&l.storage!=="N/A"?(n(),o(m,{key:0},[g(", "+r(l.storage),1)],64)):i("",!0),l.color?(n(),o(m,{key:1},[g(", "+r(l.color),1)],64)):i("",!0),l.condition?(n(),o(m,{key:2},[g(", "+r(l.condition),1)],64)):i("",!0)],64)):i("",!0)],64)):i("",!0),l.quantity>1?(n(),o("span",Bl," ("+r(l.quantity)+" db)",1)):i("",!0)]),(n(!0),o(m,null,U(l.extras,u=>(n(),o("p",Fl,"+ "+r(u.name),1))),256))])]),l.totalPrice&&!l.totalSalePrice?(n(),o("p",Pl,r(l.totalPrice.toLocaleString("hu-HU"))+" Ft",1)):i("",!0),l.totalSalePrice?(n(),o("p",Cl,r(l.totalSalePrice.toLocaleString("hu-HU"))+" Ft",1)):i("",!0)]))),256)),S(w,{src:"vector-g.svg",class:"w-full my-2",alt:"icon"}),e("div",Vl,[t[67]||(t[67]=e("p",{class:"text-[#022B45] text-sm font-normal leading-normal roboto"},"Termékek végösszege ",-1)),e("p",ql,r(s(k).totalPrice.toLocaleString("hu-HU"))+" Ft ",1)]),e("div",Ul,[t[68]||(t[68]=e("p",{class:"text-[#022B45] text-sm font-normal leading-normal roboto"},"SzállÃtási költség ",-1)),e("p",jl,r(s(M).toLocaleString("hu-HU"))+" Ft ",1)]),e("div",Ll,[t[69]||(t[69]=e("p",{class:"text-[#022B45] text-sm font-normal leading-normal roboto"},"Fizetési költség ",-1)),e("p",Nl,r(s(K).toLocaleString("hu-HU"))+" Ft ",1)]),S(w,{src:"vector-g.svg",class:"w-full my-2",alt:"icon"}),s(f)?(n(),o("div",Il,[e("div",Kl,[t[71]||(t[71]=e("p",{class:"text-lg font-semibold text-[#022B45] leading-normal bricolage-grotesque-custom"}," Teljes összeg ",-1)),e("p",Tl,r(s(T).toLocaleString("hu-HU"))+" Ft ",1)]),e("div",Rl,[e("p",$l,[t[72]||(t[72]=g(" Kupon ",-1)),e("span",Wl,"("+r(s(f).title)+")",1)]),e("p",Ol,[s(f).percentage?(n(),o(m,{key:0},[g(" -"+r(s(f).percentage)+"% ",1)],64)):s(f).amount?(n(),o(m,{key:1},[g(" -"+r(s(f).amount.toLocaleString("hu-HU"))+" Ft ",1)],64)):i("",!0)])]),e("div",Gl,[t[73]||(t[73]=e("p",{class:"text-lg font-semibold text-[#022B45] leading-normal bricolage-grotesque-custom"}," Kedvezményes összeg ",-1)),e("p",Zl,r(s(ee).toLocaleString("hu-HU"))+" Ft ",1)])])):(n(),o("div",Ml,[t[70]||(t[70]=e("p",{class:"text-lg font-semibold text-[#022B45] leading-normal bricolage-grotesque-custom"}," Teljes összeg ",-1)),e("p",Hl,r(s(T).toLocaleString("hu-HU"))+" Ft ",1)]))])])],32)),s(G)?(n(),o("div",Jl,[S(w,{src:"tick-circle.svg",class:"h-[140px] lg:h-[160px] mb-6",alt:"icon"}),t[81]||(t[81]=e("p",{class:"font-bold text-[20px] text-[#F68B46] bricolage-grotesque-custom"},"Köszönjük",-1)),S(w,{src:"underline.svg",class:"w-[100px] -mt-1",alt:"underline"}),s(z)!==18?(n(),o("h2",Yl," Rendelésed megkaptuk és elkezdtük feldolgozását")):i("",!0),s(z)===18?(n(),o("h2",Ql," Rendelésed megkaptuk, várjuk az utalásod")):i("",!0),e("p",Xl,"Rendelésed száma: "+r(s(Z)),1),e("p",es,[t[75]||(t[75]=g("Visszaigazoló emailt küldtünk a megadott email cÃmedre. ",-1)),s(ne)?(n(),o("span",ts,"Rendelésedet nyomon követheted a profilod alatt a rendeléseim menüponton belül")):i("",!0)]),s(z)===18?(n(),o("div",ls,[t[78]||(t[78]=Ee('<div class="flex"><p class="text-lg font-semibold text-[#022B45] mb-2 leading-normal bricolage-grotesque-custom"> Utalás adatai</p></div><div class="flex justify-between gap-x-6 py-1"><p class="text-[#022B45] text-sm font-normal leading-normal">Név</p><p class="text-[#022B45] text-sm font-normal leading-normal text-right">Telio Vision Kft</p></div><div class="flex justify-between gap-x-6 py-1"><p class="text-[#022B45] text-sm font-normal leading-normal">Bankszámla szám</p><p class="text-[#022B45] text-sm font-normal leading-normal text-right"> 11742180-21460162</p></div>
1',3)),e("div",ss,[t[76]||(t[76]=e("p",{class:"text-[#022B45] text-sm font-normal leading-normal"},"Közlemény",-1)),e("p",os,"Megrendelés száma ("+r(s(Z))+")",1)]),e("div",ns,[t[77]||(t[77]=e("p",{class:"text-[#022B45] text-md font-semibold leading-normal"},"Termékek végösszege",-1)),s(Y)!==null?(n(),o("p",rs,r(s(Y).toLocaleString("hu-HU"))+" Ft ",1)):i("",!0)])])):i("",!0),S(E,{to:"/",class:"rounded-full font-bold text-white py-2.5 px-6 bg-[#1E8FD9] text-[16px] mb-10 bricolage-grotesque-custom"},{default:le(()=>[...t[79]||(t[79]=[g("Vissza a fÅoldalra",-1)])]),_:1}),e("div",as,[t[80]||(t[80]=e("h2",{class:"text-[24px] font-bold text-[#070707] bricolage-grotesque-custom"},"Megrendelt termékek ",-1)),s(Q)?(n(),o("p",is,r(s(Q))+" db",1)):i("",!0)]),s(J)?(n(),o("div",ds,[(n(!0),o(m,null,U(s(J),l=>(n(),o("div",us,[e("div",cs,[S(B,{class:"h-[64px]",src:l.coverImage,alt:"product image"},null,8,["src"]),e("div",ps,[e("p",fs,[l.category==="KiegészÃtÅk"||l.category===null?(n(),o(m,{key:0},[l.productName?(n(),o(m,{key:0},[g(r(l.name),1)],64)):i("",!0)],64)):i("",!0),l.category!=="KiegészÃtÅk"&&l.category!==null?(n(),o(m,{key:1},[l.productName||l.storage&&l.storage!=="N/A"||l.color||l.condition?(n(),o(m,{key:0},[g(r(l.productName?l.productName:"")+" ",1),l.storage&&l.storage!=="N/A"?(n(),o(m,{key:0},[g(", "+r(l.storage),1)],64)):i("",!0),l.color?(n(),o(m,{key:1},[g(", "+r(l.color),1)],64)):i("",!0),l.condition?(n(),o(m,{key:2},[g(", "+r(l.condition),1)],64)):i("",!0)],64)):i("",!0)],64)):i("",!0),l.quantity>1?(n(),o("span",xs," ("+r(l.quantity)+" db)",1)):i("",!0)]),(n(!0),o(m,null,U(l.extras,u=>(n(),o("p",ms,"+ "+r(u.name),1))),256))])]),l.totalPrice&&!l.totalSalePrice?(n(),o("p",gs,r(l.totalPrice.toLocaleString("hu-HU"))+" Ft",1)):i("",!0),l.totalSalePrice?(n(),o("p",bs,r(l.totalSalePrice.toLocaleString("hu-HU"))+" Ft",1)):i("",!0)]))),256)),e("div",hs,[e("p",null,"SzállÃtási költség: "+r(s(M))+" Ft",1),e("p",null,"Fizetési költség: "+r(s(K))+" Ft",1),s(f)?(n(),o("p",vs,[g(" Kupon ("+r(s(f).title)+"): ",1),s(f).amount?(n(),o(m,{key:0},[g(" -"+r(s(f).amount.toLocaleString("hu-HU"))+" Ft ",1)],64)):i("",!0)])):i("",!0)])])):i("",!0)])):i("",!0)])])]),s(W)?(n(),o("div",ws,[e("div",_s,[t[82]||(t[82]=e("h3",{class:"text-lg font-bold text-[#022B45] bricolage-grotesque-custom mb-6"},"Hiányzó mezÅk:",-1)),e("ul",ys,[(n(!0),o(m,null,U(s(P),l=>(n(),o("li",{key:l,class:"roboto"},r(l),1))),128))]),e("button",{onClick:t[28]||(t[28]=l=>W.value=!1),class:"bg-[#1E8FD9] w-full mt-4 font-bold bricolage-grotesque-custom text-white px-4 py-3 rounded-full"}," Bezárás ")])])):i("",!0)],64)}}};export{Ds 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.