PageSourceSearch

https://jegyvasarlas.hu/_nuxt/_id_.xUPk9vEe.js

js jegyvasarlas.hu collected 2026-09-24 19:41:43 UTC 3,543 bytes, 1 lines download raw bytes

1import{_ as k}from"./CartCardList.vue.B45u9nW0.js";import{_ as I}from"./CheckoutOrderConfirmationCard.vue.D0zKorwQ.js";import S from"./index.CwsJGgEI.js";import $ from"./index.Ca1MBy9v.js";import{d as B,H as N,u as D,B as L,x as F,a5 as E,J as O,z as P,a as z,c as i,e,k as d,f as s,F as _,r as A,n as H,t as R,A as T,C as V,o as n}from"./entry.lLzgxQwF.js";import{b as j}from"./breadcrumb.DA1y6C57.js";import"./index.CIPUq9O0.js";import"./SeatLabel.vue.DgIZWCQ3.js";import"./EventAvailabilityDay.vue.BQZKyjim.js";import"./useDate.DIW_MuZl.js";import"./lodash.B1tGUbMX.js";import"./useNotification.Cub_jeRZ.js";import"./useCart.DEfEnVrm.js";import"./useCurrency.CNasg4Kd.js";import"./CartEmptyCard.DBdcl4XC.js";import"./NotAvailablePopup.vue.BFyZGBGF.js";import"./index.DWKPD6S6.js";import"./index.D8fLDkWx.js";import"./index.KWGoL15-.js";import"./getShortTitle.Bj1xtn62.js";import"./InputTextButton.vue.Qh5fyYmo.js";import"./vee-validate.Dw4L4HVN.js";import"./index.DaFq0_18.js";import"./index.CKj8415n.js";import"./index.OUzLJM5a.js";const q={class:"section p-0 lg:py-8 lg:px-16"},J={key:0,class:"flex flex-col lg:flex-row lg:gap-4"},M={class:"w-12/12 lg:w-8/12 px-4 lg:px-0"},G={class:"title my-8"},K={class:"flex flex-col gap-4"},Q={class:"flex flex-col gap-4 lg:flex-row lg:items-center"},U={class:"flex-1"},W={class:"w-full lg:w-3/12"},X={class:"w-full lg:w-2/12"},Y={class:"w-12/12 lg:w-4/12 p-0"},Z={class:"bg-surface-0 rounded-lg shadow-md p-8"},tt={key:1,class:"flex flex-col lg:flex-row lg:gap-4"},et={class:"title my-8 flex justify-between px-4 lg:px-0"},st={class:"px-4 lg:px-0"},rt={class:"w-12/12 lg:w-4/12 p-0"},Dt=B({__name:"[id]",setup(ot){const o=N(),g=j(),{t:a}=D(),m=L(),u=m.params.id,p=F(),f=E(),l=T(!0),h=O(),w=async()=>{try{l.value=!0;const t=await o.getPreorderCartId(u),c=t.length?t:void 0;o.setNewCartId(c),c||await x(),l.value=!1}catch(t){p.error("Error syncing preorder cart ID:",t),o.setNewCartId(),l.value=!1}},x=async()=>{try{l.value=!0;const t=await o.createCartItemsFromOrder(u);await o.fetchAll(),t.streetState&&(t.address+=` ${t.streetState}`),t.houseNumber&&(t.address+=` ${t.houseNumber}`),V().setBillingDetails(t),f.add({severity:"success",summary:a("cart.title"),detail:a("cart.reserve"),life:3e3})}catch(t){p.error("Error creating cart items from order:",t),f.add({severity:"error",summary:a("cart.title"),detail:a("errors.generic"),life:5e3})}finally{l.value=!1}};return P(async()=>{m.query.clear==="true"&&await o.clear(),await w()}),g.setBreadcrumbs(a("breadcrumbs.cart")),z({title:`${a("cart.title")} | ${a("meta.suffix")}`}),(t,c)=>{const r=$,v=k,y=I,b=S;return n(),i(_,null,[e("div",q,[d(l)?(n(),i("div",J,[e("div",M,[e("h1",G,[s(r,{class:"h-9! w-48!"})]),e("div",K,[(n(),i(_,null,A(2,C=>e("div",{class:"flex flex-col bg-white mb-4 shadow-md rounded-lg w-full p-4",key:C},[e("div",Q,[e("div",U,[s(r,{class:"h-6! w-8/12! mb-3"}),s(r,{class:"h-4! w-5/12!"})]),e("div",W,[s(r,{class:"h-6! w-32!"})]),e("div",X,[s(r,{class:"h-10! w-full!"})])])])),64))])]),e("div",Y,[e("div",Z,[s(r,{class:"h-7! w-8/12! mb-6"}),s(r,{class:"h-4! w-full! mb-3"}),s(r,{class:"h-4! w-10/12! mb-6"}),s(r,{class:"h-12! w-full!"})])])])):(n(),i("div",tt,[e("div",{class:H(["px-0",d(o).getItems.length>0?"w-12/12 lg:w-8/12":"w-12/12"])},[e("h1",et,[e("div",null,R(t.$t("cart.title")),1)]),e("div",st,[s(v)])],2),e("div",rt,[s(y,{"checkout-button-text":"buttons.proceedToPayment",isSaveLoading:!1,onCheckoutButtonClick:c[0]||(c[0]=()=>d(h).push("/checkout"))})])]))]),s(b,{group:"clearCart"})],64)}}});export{Dt 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.