1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./3BQwlbUy.js","./kjsH4l9N.js","./CMma-7Vx.js"])))=>i.map(i=>d[i]); 2import{D as e,E as y,O as S,On as t,Ut as V,_ as u,b as d,bt as O,g as R,k as x,mt as o,nr as p,o as M,qt as a,v as c,y as m}from"./CMma-7Vx.js";import{n as q}from"./DZrRgJ-1.js";import{m as j}from"./D8saCg_O.js";import{n as J}from"./B0WPRCmj.js";import{t as K}from"./BUDLPX_m.js";import{Ct as Q,t as W}from"./DG7sPv5b.js";import{g as X,nn as _}from"./Dm6uK8nD.js";import{n as Y,t as Z}from"./BxFy7VZy2.js";import{t as tt}from"./CIdZE07y2.js";import{t as nt}from"./DNZ0RSqc.js";import{t as et}from"./Cmc9vSz9.js";import{t as ot}from"./CmOIa94w.js";import{t as at}from"./7bcAkcPm.js";import{t as it}from"./BQoOBjNj.js";import{n as st,t as ct}from"./DS21qkMe.js";import{n as rt,t as pt}from"./cMidp6Fa.js";import{n as mt,t as lt}from"./DXqFC47-.js";var ut=S(()=>K(()=>import("./3BQwlbUy.js").then(s=>s.n).then(s=>s.default||s),__vite__mapDeps([0,1,2]),import.meta.url)),dt={class:"mb-8 flex items-center gap-3"},_t={key:0,class:"absolute top-0 right-0 size-4 rounded-full bg-shade-300 text-center text-xs font-medium text-shade-700 md:hidden"},ft={key:1,class:"col-span-2 rounded-lg bg-white"},At={class:"mb-2 text-sm"},kt={class:"my-auto hidden lg:inline-block"},yt=x({__name:"appointments",setup(s){it({pageType:"account"});const g=tt(),{trackButtonClick:h}=W(),{data:v}=Y(Z.IS_ACCOUNT_HEARING_AIDS_APPOINTMENT_ENABLED),{data:i,fetching:C,showAppointments:b,getAppointmentUrl:L,getAppointmentServiceUrl:l,getAppointmentACUrl:P}=at({immediate:!0}),f=P(),E=R(()=>i?.value?.length),I=j(),{data:D}=Q();V(()=>{D.value!==void 0&&!b.value&&I.push(g(X.account))});const T=n=>{h(n.target)},B=q();return J({title:B.t("myaccount_v2.appointments.page_title")}),(n,gt)=>
2{const F=st,G=et,N=nt,U=ut,z=ot,H=ct,$=rt,A=mt,r=pt,w=lt;return o(),c(w,null,{default:a(()=>[u("div",dt,[e(F),e(G,{look:"h2"},{default:a(()=>[y(p(n.$t("myaccount_v2.appointments.title")),1)]),_:1})]),e(A,{headline:n.$t("myaccount_v2.appointments.subtitle"),class:"relative"},{default:a(()=>[t(i)&&t(i).length?(o(),d("span",_t,p(t(i).length),1)):m("",!0),t(C)?(o(),d("div",ft,[e(N,{type:"custom",class:"h-32","full-width":""})])):t(E)?t(i)?(o(!0),d(M,{key:3},O(t(i),k=>(o(),c($,{key:k.id,appointment:k,"col-span":t(i).length===1?2:1},null,8,["appointment","col-span"]))),128)):m("",!0):(o(),c(H,{key:2,headline:n.$t("myaccount_v2.appointments.no_values")},{text:a(()=>[u("p",At,p(n.$t("myaccount_v2.appointments.description")),1)]),button:a(()=>[u("div",kt,[e(z,{type:"secondary",class:"w-full",to:t(L)(),"data-tracking-id":`Account | Appointments | Teaser | ${n.$t("myaccount_v2.appointments.book_appointment")}`,"data-testid":"appointment-book-button",onMousedown:T},{icon:a(()=>[e(U,{class:"size-6"})]),default:a(()=>[y(p(n.$t("myaccount_v2.appointments.book_appointment"))+" ",1)]),_:1},8,["to","data-tracking-id"])])]),_:1},8,["headline"]))]),_:1},8,["headline"]),e(A,{headline:n.$t("myaccount_v2.appointments.book_appointment")},{default:a(()=>[e(r,{icon:"LazyIconFielmannGlasses","i18n-root":"myaccount_v2.appointments.book.glasses",link:t(l)(("ProductCategoryDto"in n?n.ProductCategoryDto:t(_)).GL),"link-id-prefix":"Account | Appointments | "},null,8,["link"]),e(r,{icon:"LazyIconFielmannContactLens","i18n-root":"myaccount_v2.appointments.book.contact_lenses",link:t(l)(("ProductCategoryDto"in n?n.ProductCategoryDto:t(_)).CL),"link-id-prefix":"Account | Appointments | "},null,8,["link"]),t(f)?(o(),c(r,{key:0,icon:"LazyIconFielmannCheckHalfcircle","i18n-root":"myaccount_v2.appointments.book.care",link:t(f),"link-id-prefix":"Account | Appointments | "},null,8,["link"])):m("",!0),t(v)?(o(),c(r,{key:1,icon:"LazyIconFielmannHearingAid","i18n-root":"myaccount_v2.appointments.book.hearing_aids",link:t(l)(("ProductCategoryDto"in n?n.ProductCategoryDto:t(_)).HA),"link-id-prefix":"Account | Appointments | "},null,8,["link"])):m("",!0)]),_:1},8,["headline"])]),_:1})}}}),$t=yt;export{$t 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.