1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,343420,805760,e=>{"use strict";let t=(0,e.i(456420).default)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["default",0,t],343420);var l=e.i(843476),r=e.i(500932),a=e.i(746798),s=e.i(975157),i=e.i(271645);let n="w-80 rounded-2xl border-none bg-white p-3 text-center text-xs font-light leading-[1.35] text-black shadow-nav-mobile";function o(e){return!e}e.s(["InfoHint",0,function(e){let c,d,m,u,h,p,x,g,b,f,v,j,y,N,w,k,C,S,T,_,I=(0,r.c)(53),{ariaLabel:L,content:E,className:P,buttonClassName:R,mobileIconClassName:M,desktopIconClassName:A,contentClassName:F}=e,[O,B]=(0,i.useState)(!1),D=(0,i.useRef)(null),V=(0,i.useId)();return I[0]!==O?(c=()=>{if(!O)return;let e=function(e){!D.current||D.current.contains(e.target)||B(!1)},t=function(e){"Escape"===e.key&&B(!1)};return document.addEventListener("pointerdown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("keydown",t)}},d=[O],I[0]=O,I[1]=c,I[2]=d):(c=I[1],d=I[2]),(0,i.useEffect)(c,d),I[3]!==P?(m=(0,s.cn)("relative flex shrink-0 md:hidden",P),I[3]=P,I[4]=m):m=I[4],I[5]!==R?(u=(0,s.cn)("flex items-center justify-center",R),I[5]=R,I[6]=u):u=I[6],I[7]===Symbol.for("react.memo_cache_sentinel")?(h=()=>B(o),I[7]=h):h=I[7],I[8]!==M?(p=(0,s.cn)("size-4 transition-opacity",M),I[8]=M,I[9]=p):p=I[9],I[10]!==p?(x=(0,l.jsx)(t,{className:p,strokeWidth:1.33}),I[10]=p,I[11]=x):x=I[11],I[12]!==L||I[13]!==O||I[14]!==V||I[15]!==u||I[16]!==x?(g=(0,l.jsx)("button",{type:"button","aria-label":L,"aria-expanded":O,"aria-controls":V,className:u,onClick:h,children:x}),I[12]=L,I[13]=O,I[14]=V,I[15]=u,I[16]=x,I[17]=g):g=I[17],I[18]!==E||I[19]!==F||I[20]!==O||I[21]!==V?(b=O&&(0,l.jsx)("div",{id:V,role:"dialog","aria-modal":"false",className:(0,s.cn)("absolute top-[calc(100%+12px)] right-0 z-50 w-[min(20rem,calc(100vw-2rem))]",n,F),children:E}),I[18]=E,I[19]=F,I[20]=O,I[21]=V,I[22]=b):b=I[22],I[23]!==m||I[24]!==g||I[25]!==b?(f=(0,l.jsxs)("div",{ref:D,className:m,children:[g,b]}),I[23]=m,I[24]=g,I[25]=b,I[26]=f):f=I[26],I[27]!==P?(v=(0,s.cn)("hidden md:flex md:shrink-0",P),I[27]=P,I[28]=v):v=I[28],I[29]!==R?(j=(0,s.cn)("flex items-center justify-center",R),I[29]=R,I[30]=j):j=I[30],I[31]!==A?(y=(0,s.cn)("size-4 transition-opacity",A),I[31]=A,I[32]=y):y=I[32],I[33]!==y?(N=(0,l.jsx)(t,{className:y,strokeWidth:1.33}),I[33]=y,I[34]=N):N=I[34],I[35]!==L||I[36]!==j||I[37]!==N?(w=(0,l.jsx)(a.TooltipTrigger,{asChild:!0,children:(0,l.jsx)("button",{type:"button","aria-label":L,className:j,children:N})}),I[35]=L,I[36]=j,I[37]=N,I[38]=w):w=I[38],I[39]!==F?(k=(0,s.cn)(n,F),I[39]=F,I[40]=k):k=I[40],I[41]!==E||I[42]!==k?(C=(0,l.jsx)(a.TooltipContent,{side:"top",sideOffset:12,className:k,children:E}),I[41]=E,I[42]=k,I[43]=C):C=I[43],I[44]!==w||I[45]!==C?(S=(0,l.jsxs)(a.Tooltip,{children:[w,C]}),I[44]=w,I[45]=C,I[46]=S):S=I[46],I[47]!==v||I[48]!==S?(T=(0,l.jsx)("div",{className:v,children:S}),I[47]=v,I[48]=S,I[49]=T):T=I[49],I[50]!==f||I[51]!==T?(_=(0,l.jsxs)(l.Fragment,{children:[f,T]}),I[50]=f,I[51]=T,I[52]=_):_=I[52],_}],805760)},455558,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(464332),a=e.i(503226),s=e.i(661563),i=e.i(271645),n=e.i(674031),o=e.i(552987),c=e.i(532654),d=e.i(191587),m=e.i(95187);let u=(0,m.createServerReference)("40981742f1927d9cb1f705cbb845ddf1a42b2efa37",m.callServer,void 0,m.findSourceMapURL,"sendContactRequestOther");var h=e.i(829100),p=e.i(144679),x=e.i(387644);let g=(0,e.i(456420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),b=[{value:"Foreign Rights",label:"Foreign Rights"},{value:"Investor Relations",label:"Investor Relations"},{value:"Jobs & Karriere",label:"Jobs & Karriere"},{value:"Händlerservice & Vertrieb",label:"Händlerservice & Vertrieb"},{value:"Marketing, Website, Newsletter & Social Media",label:"Marketing, Website, Newsletter & Social Media"},{value:"Presse",label:"Presse"},{value:"Unternehmen",label:"Unternehmen"}],f={"Foreign Rights":[{value:"Foreign Rights",label:"Foreign Rights",recipient:"[email protected]"}],"Investor Relations":[{value:"Investor Relations",label:"Investor Relations",recipient:"[email protected]"}],"Jobs & Karriere":[{value:"Jobs & Karriere",label:"Jobs & Karriere",recipient:"[email protected]"}],"Händlerservice & Vertrieb":[{value:"Anfrage von Händlern",label:"Anfrage von Händlern",recipient:"[email protected]"},{value:"Remissionsanfragen",label:"Remissionsanfragen",recipient:"[email protected]"},{value:"Digitale Leseexemplare",label:"Digitale Leseexemplare",recipient:"[email protected]"},{value:"Allgemeine Anfragen",label:"Allgemeine Anfragen",recipient:"[email protected]"},{value:"Lesungen & Termine",label:"Lesungen & Termine",recipient:"[email protected]"}],"Marketing, Website, Newsletter & Social Media":[{value:"Kooperationsanfragen",label:"Kooperationsanfragen",recipient:"[email protected]"},{value:"Fragen zu Website, Newsletter, Social Media",label:"Fragen zu Website, Newsletter, Social Media",recipient:"[email protected]"},{value:"Anfragen von Bloggern",label:"Anfragen von Bloggern",recipient:"[email protected]"}],Presse:[{value:"Lesungen & Termine (Anfragen von Endkunden)",label:"Lesungen & Termine (Anfragen von Endkunden)",recipient:"[email protected]"},{value:"Lesungen & Termine (Anfragen von Buchhändlern)",label:"Lesungen & Termine (Anfragen von Buchhändlern)",recipient:"[email protected]"},{value:"Anfragen von Journalisten",label:"Anfragen von Journalisten",recipient:"[email protected]"},{value:"Anfragen von Bloggern",label:"Anfragen von Bloggern",recipient:"[email protected]"}],Unternehmen:[{value:"Fragen zur Bastei Lübbe AG und ihren Produkten",label:"Fragen zur Bastei Lübbe AG und ihren Produkten",recipient:"[email protected]"}]},v=({setRequestType:e,showCheckbox:l,optionalCheckboxText:m,consentText:v,newsletterFormId:j})=>{let[y,N]=(0,i.useState)(!1),[w,k]=(0,i.useState)(null),[C,S]=(0,i.useState)(null),[T,_]=(0,i.useState)(""),I=(0,h.useZodForm)({schema:p.FormSchemaContactOther,mode:"onBlur",defaultValues:{topic:"",subject:"",salutation:"",firstName:"",lastName:"",email:"",message:"",gdpr:!1,address:""}}),{handleSubmit:L,formState:{errors:E},reset:P}=I,R=async e=>{if(!y){if(k(null),S(null),e.address.length>0)return void k((0,s.t)("validation.honeypotError"));
1N(!0),(0,x.sendGTMEvent)({event:"generate_lead",form_type:"Contact",form_position:"Footer"});try{let t=await u({subject:e.subject,recipient:T,text:` 2Kontaktdaten 3 4--------- 5 6Anrede: ${e.salutation} 7 8Vorname: ${e.firstName} 9 10Nachname: ${e.lastName} 11 12E-Mail: ${e.email} 13 14 15 16Nachricht 17 18--------- 19 20Nachricht: ${e.message} 21 22 `,markup:`<html><head><style>body {font-family: Arial, serif; font-size: 14px;} h3 {text-decoration: underline;} th {text-align: left; min-width: 150px;} p {margin: 10px 0;}</style></head><body><h3>Kontaktdaten</h3><table><tbody><tr><th>Anrede:</th><td>${e.salutation}</td></tr><tr><th>Vorname:</th><td>${e.firstName}</td></tr><tr><th>Nachname:</th><td>${e.lastName}</td></tr><tr><th>E-Mail:</th><td>${e.email}</td></tr></tbody></table><h3>Nachricht</h3><table><tbody><th>Nachricht:</th><td>${e.message.replace(/\n/g,"<br>")}</td></tbody></table></body></html>`});if(t.success?(S(t.message),P()):k(t.message),l&&e.gdpr){let t=new FormData;t.append("lastName",""),t.append("email",e.email),t.append("gdpr","true"),t.append("source","Newsletter/kontakt"),t.append("doiMailFormId",j),t.append("cleverReachFields","channel_bastei_luebbe"),Object.entries(e).forEach(e=>{t.append(e[0],e[1])}),await (0,d.newsletterSignUpSmall)(t)}}catch(e){console.error("ERROR_9r7w6bw Email Contact Form",e)}N(!1)}},M=(e=>{if(e)return f?.[e]?.map(e=>({value:e.value,label:e.label}))})(I.watch("topic"));return(0,t.jsxs)("div",{className:"max-w-standard-content-width w-full dark:text-white",children:[(0,t.jsxs)(r.Button,{className:"p-0",onClick:()=>e(null),children:[(0,t.jsx)(g,{"aria-hidden":"true",className:"text-neutral-light mb-8 h-6 w-6"}),(0,t.jsx)("span",{className:"sr-only",children:(0,s.t)("carousel.previousSlide")})]}),(0,t.jsx)(n.Form,{...I,children:(0,t.jsxs)("form",{onSubmit:e=>{L(R,()=>void 0)(e).catch(()=>void 0)},children:[(0,t.jsxs)("section",{className:"mb-14",children:[(0,t.jsx)(a.Headline,{type:"h2",styleAs:"h6",className:"mb-6 border-b border-white/25 pb-2",children:(0,s.t)("contact.topicOrSubject")}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-2",children:[(0,t.jsx)(o.FormFieldElement,{type:"select",control:I.control,name:"topic",label:`${(0,s.t)("contact.topic")}*`,error:E.topic&&Object.keys(E.topic).length>0,placeholder:(0,s.t)("contact.topic"),options:b}),(0,t.jsx)(o.FormFieldElement,{type:"select",control:I.control,name:"subject",label:`${(0,s.t)("contact.subject")}*`,error:E.subject&&Object.keys(E.subject).length>0,placeholder:(0,s.t)("contact.subject"),disabled:!M,options:M,selectOnChange:()=>{let e=(e=>{if(!e)return;let t=Object.values(f).find(t=>t.find(t=>t.value===e));return t?.find(t=>t.value===e)?.recipient})(I.watch("subject"));e&&_(e)}})]})]}),(0,t.jsxs)("section",{className:"mb-6",children:[(0,t.jsx)(a.Headline,{type:"h2",styleAs:"h6",className:"mb-6 border-b border-white/25 pb-2",children:(0,s.t)("contact.contactInformation")}),(0,t.jsxs)("div",{className:"mb-6 grid grid-cols-1 gap-6 lg:grid-cols-2",children:[(0,t.jsx)(o.FormFieldElement,{type:"radio",control:I.control,name:"salutation",label:(0,s.t)("contact.salutation"),error:E.salutation&&Object.keys(E.salutation).length>0,options:[{value:(0,s.t)("contact.salutationMr"),label:(0,s.t)("contact.salutationMr")},{value:(0,s.t)("contact.salutationMrs"),label:(0,s.t)("contact.salutationMrs")}
22,{value:(0,s.t)("contact.salutationDivers"),label:(0,s.t)("contact.salutationDivers")}]}),(0,t.jsx)("div",{}),(0,t.jsx)(o.FormFieldElement,{type:"text",control:I.control,name:"firstName",label:(0,s.t)("contact.firstName"),placeholder:(0,s.t)("contact.firstName"),error:E.firstName&&Object.keys(E.firstName).length>0}),(0,t.jsx)(o.FormFieldElement,{type:"text",control:I.control,name:"lastName",label:(0,s.t)("contact.lastName"),placeholder:(0,s.t)("contact.lastName"),error:E.lastName&&Object.keys(E.lastName).length>0}),(0,t.jsx)(o.FormFieldElement,{type:"email",control:I.control,name:"email",label:`${(0,s.t)("contact.email")}*`,placeholder:(0,s.t)("contact.email"),error:E.email&&Object.keys(E.email).length>0}),(0,t.jsxs)("div",{className:"importantInfo",children:[(0,t.jsx)("label",{htmlFor:"address",children:(0,s.t)("cleverReachFields.address")}),(0,t.jsx)("input",{type:"text","aria-label":(0,s.t)("cleverReachFields.honeypotNote"),autoComplete:"off",placeholder:(0,s.t)("cleverReachFields.honeypotNote"),name:"address",id:"address"})]})]}),(0,t.jsx)(o.FormFieldElement,{type:"textarea",control:I.control,name:"message",label:`${(0,s.t)("contact.message")}*`,placeholder:(0,s.t)("contact.message"),error:E.message&&Object.keys(E.message).length>0,rows:6})]}),l?(0,t.jsx)("div",{className:"mb-12",children:(0,t.jsx)(o.FormFieldElement,{type:"checkbox",control:I.control,name:"gdpr",label:(0,t.jsx)(c.RTEParser,{rte:m}),error:!!E.gdpr})}):null,v?(0,t.jsx)(c.RTEParser,{className:"mb-6 lg:mb-8",rte:v}):null,(0,t.jsx)("div",{className:"mt-12 mb-12 flex w-full lg:justify-end",children:(0,t.jsxs)(r.Button,{variant:"primary",type:"submit",colorTheme:"green",disabled:y,children:[(0,s.t)("cleverReachFields.submitButton"),y&&(0,s.t)("cleverReachFields.isSubmitting")]})}),C?(0,t.jsx)("p",{className:"text-default-supporting dark:text-default-primary font-bold",children:C}):null,w?(0,t.jsx)("p",{className:"text-error-light dark:text-error-dark font-bold",children:w}):null]})})]})},j=(0,m.createServerReference)("40ff2ce760e1dab486f2bfee8f107d09fce5bafeb7",m.callServer,void 0,m.findSourceMapURL,"sendContactRequest");function y({setRequestType:e,showCheckbox:l,optionalCheckboxText:m,consentText:u,newsletterFormId:b}){let[f,v]=(0,i.useState)(!1),[N,w]=(0,i.useState)(null),[k,C]=(0,i.useState)(null),S=(0,i.useRef)(null),T=(0,h.useZodForm)({schema:p.FormSchemaContactShop,mode:"onBlur",defaultValues:{name:"",lastName:"",email:"","00NTy000001TPbz":"","00NTy000001TPc5":"","00NTy000001TPc2":"","00NTy000001TPc3":"",description:"",orgid:"00D68000004DIKt",retURL:"http://","00NTy000001TPbx":"Luebbe",gdpr:!1}}),{handleSubmit:_,formState:{errors:I},reset:L}=T,E=async(e,t)=>{if(!f){v(!0),(0,x.sendGTMEvent)({event:"generate_lead",form_type:"Contact",form_position:"Footer"});try{if(e.lastName.length>0){w((0,s.t)("validation.honeypotError")),v(!1);return}{let t=new URLSearchParams({name:e.name,email:e.email,...e?.["00NTy000001TPbz"]&&{"00NTy000001TPbz":e["00NTy000001TPbz"]},...e?.["00NTy000001TPc5"]&&{"00NTy000001TPc5":e["00NTy000001TPc5"]},...e?.["00NTy000001TPc2"]&&{"00NTy000001TPc2":e["00NTy000001TPc2"]},...e?.["00NTy000001TPc3"]&&{"00NTy000001TPc3":e["00NTy000001TPc3"]},description:e.description,orgid:e.orgid,retURL:e.retURL,"00NTy000001TPbx":e["00NTy000001TPbx"]});await j(t.toString()),w(null),C((0,s.t)("contact.success")),L()}if(l&&e.gdpr){let t=new FormData;t.append("lastName",""),t.append("email",e.email),t.append("gdpr","true"),t.append("source","Newsletter/kontakt"),t.append("doiMailFormId",b),t.append("cleverReachFields","channel_bastei_luebbe"),await (0,d.newsletterSignUpSmall)(t)}}catch(e){console.error("ERROR_0hfewnuo6 Shop Request Contact Form",e)}v(!1)}};return(0,t.jsxs)("div",{className:"max-w-standard-content-width w-full dark:text-white",children:[(0,t.jsxs)(r.Button,{className:"p-0",onClick:()=>e(null),children:[(0,t.jsx)(g,{"aria-hidden":"true",className:"text-neutral-light mb-8 h-6 w-6"}),(0,t.jsx)("span",{className:"sr-only",children:(0,s.t)("carousel.previousSlide")})]}),(0,t.jsx)(n.Form,{...T,children:(0,t.jsxs)("form",{ref:S,onSubmit:e=>{_(E,()=>void 0)(e).catch(()=>void 0)},children:[(0,t.jsx)("input",{type:"hidden",name:"orgid",value:"
2200D68000004DIKt"}),(0,t.jsx)("input",{type:"hidden",name:"retURL",value:"http://"}),(0,t.jsx)("input",{type:"hidden",name:"00NTy000001TPbx",value:"Luebbe"}),(0,t.jsxs)("section",{className:"mb-14",children:[(0,t.jsx)(a.Headline,{type:"h2",styleAs:"h6",className:"mb-6 border-b border-white/25 pb-2",children:(0,s.t)("contact.topicOrSubject")}),(0,t.jsx)("div",{className:"grid w-full grid-cols-1 gap-8 lg:grid-cols-2",children:(0,t.jsx)(o.FormFieldElement,{type:"select",control:T.control,name:"00NTy000001TPbz",label:(0,s.t)("contact.subject"),error:I["00NTy000001TPbz"]&&Object.keys(I["00NTy000001TPbz"]).length>0,placeholder:(0,s.t)("contact.selectSubject"),options:[{value:(0,s.t)("contact.deliveryArrivalTime"),label:(0,s.t)("contact.deliveryArrivalTime")},{value:(0,s.t)("contact.productReclamation"),label:(0,s.t)("contact.productReclamation")},{value:(0,s.t)("contact.deliveryIncomplete"),label:(0,s.t)("contact.deliveryIncomplete")},{value:(0,s.t)("contact.aboDeliveryNotArrived"),label:(0,s.t)("contact.aboDeliveryNotArrived")},{value:(0,s.t)("contact.aboDeliveryIncorrect"),label:(0,s.t)("contact.aboDeliveryIncorrect")},{value:(0,s.t)("contact.paymentQuestions"),label:(0,s.t)("contact.paymentQuestions")},{value:(0,s.t)("contact.creditNoteArrival"),label:(0,s.t)("contact.creditNoteArrival")},{value:(0,s.t)("contact.aboCancellation"),label:(0,s.t)("contact.aboCancellation")}]})})]}),(0,t.jsxs)("section",{children:[(0,t.jsx)(a.Headline,{type:"h2",styleAs:"h6",className:"mb-6 border-b border-white/25 pb-2",children:(0,s.t)("contact.contactInformation")}),(0,t.jsxs)("div",{className:"mb-6 grid w-full grid-cols-1 gap-8 lg:grid-cols-2",children:[(0,t.jsx)(o.FormFieldElement,{type:"text",control:T.control,name:"name",label:`${(0,s.t)("contact.name")}*`,placeholder:(0,s.t)("contact.name"),error:I.name&&Object.keys(I.name).length>0}),(0,t.jsxs)("div",{className:"importantInfo",children:[(0,t.jsx)("label",{htmlFor:"lastName",children:(0,s.t)("cleverReachFields.lastName")}),(0,t.jsx)("input",{type:"text","aria-label":(0,s.t)("cleverReachFields.honeypotNote"),autoComplete:"off",placeholder:(0,s.t)("cleverReachFields.honeypotNote"),name:"lastName",id:"lastName"})]}),(0,t.jsx)(o.FormFieldElement,{type:"email",control:T.control,name:"email",label:`${(0,s.t)("contact.email")}*`,placeholder:(0,s.t)("contact.email"),error:I.email&&Object.keys(I.email).length>0}),(0,t.jsx)(o.FormFieldElement,{type:"text",control:T.control,name:"00NTy000001TPc5",id:"00NTy000001TPc5",label:(0,s.t)("contact.orderNumber"),placeholder:(0,s.t)("contact.orderNumber"),error:I["00NTy000001TPc5"]&&Object.keys(I["00NTy000001TPc5"]).length>0}),(0,t.jsx)(o.FormFieldElement,{type:"text",control:T.control,name:"00NTy000001TPc2",id:"00NTy000001TPc2",label:(0,s.t)("contact.aboNumber"),placeholder:(0,s.t)("contact.aboNumber"),error:I["00NTy000001TPc2"]&&Object.keys(I["00NTy000001TPc2"]).length>0}),(0,t.jsx)(o.FormFieldElement,{type:"text",control:T.control,name:"00NTy000001TPc3",id:"00NTy000001TPc3",label:(0,s.t)("contact.aboProductName"),placeholder:(0,s.t)("contact.aboProductName"),error:I["00NTy000001TPc3"]&&Object.keys(I["00NTy000001TPc3"]).length>0})]}),(0,t.jsx)("div",{className:"mb-12",children:(0,t.jsx)(o.FormFieldElement,{type:"textarea",control:T.control,name:"description",label:`${(0,s.t)("contact.message")}*`,placeholder:(0,s.t)("contact.message"),error:I.description&&Object.keys(I.description).length>0,rows:6})})]}),l?(0,t.jsx)("div",{className:"mb-12",children:(0,t.jsx)(o.FormFieldElement,{type:"checkbox",control:T.control,name:"gdpr",label:(0,t.jsx)(c.RTEParser,{rte:m}),error:!!I.gdpr})}):null,u?(0,t.jsx)(c.RTEParser,{className:"mb-6 lg:mb-8",rte:u}):null,(0,t.jsx)("div",{className:"mt-12 mb-12 flex w-full lg:justify-end",children:(0,t.jsxs)(r.Button,{variant:"primary",disabled:Object.keys(I).length>0||f,type:"submit",colorTheme:"green",className:"h-fit",children:[(0,s.t)("cleverReachFields.submitButton"),f&&(0,s.t)("cleverReachFields.isSubmitting")]})}),k?(0,t.jsx)("p",{className:"text-default-supporting dark:text-default-primary font-bold",children:k}):null,N?(0,t.jsx)("p",{className:"text-error-light dark:text-error-dark font-bold",children:N}):null]})})]})}e.s(["InitialContactForm",0,e=>{let n,o,c,d,m=(0,l.c)(18),{showCheckboxShopproductQuestions:u,optionalCheckboxTextShopproductQuestions:h,consentTextShopproductQuestions:p,showCheckboxOtherQuestions:x,optionalCheckboxTextOtherQuestions:g,consentTextOtherQuestions:b,newsletterFormId:f}=e,[j,N]=(0,i.useState)(null);return m[0]!==j?(n=j?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Headline,{type:"h2",styleAs:"h3",className:"mb-8 text-center lg:mb-16",children:(0,s.t)("contact.requestType")}),(0,t.jsxs)("div",{className:"grid grid-rows-2 gap-6 lg:grid-cols-2 lg:grid-rows-1 lg:gap-8",children:[(0,t.jsx)(r.Button,{className:"!text-h4Mobile hover:border-default-primary hover:bg-default-primary hover:text-default-supporting lg:!text-h4Desktop h-[260px] w-full rounded-[4px]! border border-white p-8 font-normal lg:h-[337px] lg:p-10",onClick:()=>N("shop"),children:(0,s.t)("contact.shopAndProducts")}),(0,t.jsx)(r.Button,{className:"!text-h4Mobile hover:border-default-primary hover:bg-default-primary hover:text-default-supporting lg:!text-h4Desktop h-[260px] w-full rounded-[4px]! border border-white p-8 font-normal lg:h-[337px] lg:p-10",onClick:()=>N("others"),children:(0,s.t)("contact.otherRequests")})]})]}),m[0]=j,m[1]=n):n=m[1],m[2]!==p||m[3]!==f||m[4]!==h||m[5]!==j||m[6]!==u?(o="shop"===j?(0,t.jsx)(y,{setRequestType:N,showCheckbox:u,optionalCheckboxText:h,consentText:p,newsletterFormId:f}):null,m[2]=p,m[3]=f,m[4]=h,m[5]=j,m[6]=u,m[7]=o):o=m[7],m[8]!==b||m[9]!==f||m[10]!==g||m[11]!==j||m[12]!==x?(c="others"===j?(0,t.jsx)(v,{setRequestType:N,showCheckbox:x,optionalCheckboxText:g,consentText:b,newsletterFormId:f}):null,m[8]=b,m[9]=f,m[10]=g,m[11]=j,m[12]=x,m[13]=c):c=m[13],m[14]!==n||m[15]!==o||m[16]!==c?(d=(0,t.jsx)("div",{className:"px-cmx-mobile py-cmy-mobile md:px-cmx-tablet md:py-cmy-tablet lg:px-cmx-desktop-content-small lg:py-cmy-desktop flex justify-center",children:(0,t.jsxs)("div",{className:"max-w-standard-content-width flex w-full flex-col items-center",children:[n,o,c]})}),m[14]=n,m[15]=o,m[16]=c,m[17]=d):d=m[17],d}],455558)},262123,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(387644);e.s(["ClickAffiliate",0,e=>{let a,s,i,n=(0,l.c)(9),{affiliate:o,children:c,trackingItem:d}=e;if(n[0]!==o||n[1]!==d){let e={event:"click_bestellen",ecommerce:{eventLabel:o,...d}};a=()=>{(0,r.sendGTMEvent)({ecommerce:null}),(0,r.sendGTMEvent)(e)},n[0]=o,n[1]=d,n[2]=a}else a=n[2];let m=a;return n[3]!==m?(s=e=>{("Enter"===e.key||" "===e.key)&&m()},n[3]=m,n[4]=s):s=n[4],n[5]!==c||n[6]!==m||n[7]!==s?(i=(0,t.jsx)("div",{role:"button",tabIndex:0,onClick:m,onKeyDown:s,children:c}),n[5]=c,n[6]=m,n[7]=s,n[8]=i):i=n[8],i}])},609728,e=>{"use strict";var t=e.i(500932),l=e.i(387644),r=e.i(618566),a=e.i(271645);e.s(["ViewItemEvent",0,e=>{let s,i,n,o,c=(0,t.c)(9),{currency:d,value:m,items:u}=e,[h,p]=(0,a.useState)(!1),x=(0,r.usePathname)(),g=(0,a.useRef)(""),b=(0,a.useRef)(!1);return c[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{p(!0)},i=[],c[0]=s,c[1]=i):(s=c[0],i=c[1]),(0,a.useEffect)(s,i),c[2]!==d||c[3]!==u||c[4]!==x||c[5]!==h||c[6]!==m?(n=()=>{!h||x===g.current&&b.current||(g.current=x,b.current=!0,(0,l.sendGTMEvent)({ecommerce:null}),(0,l.sendGTMEvent)({event:"view_item",ecommerce:{currency:d,value:m,items:u}}))},o=[d,u,h,m,x],c[2]=d,c[3]=u,c[4]=x,c[5]=h,c[6]=m,c[7]=n,c[8]=o):(n=c[7],o=c[8]),(0,a.useEffect)(n,o),null}])},869144,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(975157),a=e.i(846932),s=e.i(310542),i=e.i(895420),n=e.i(522016),o=e.i(227425);let c={one:"ONE_new"};function d(e){let t=c[e]??e;return`/imprintLogos/${t}.png`}e.s(["ImprintLogo",0,e=>{let c,m,u,h,p,x,g,b,f=(0,l.c)(18),{imprint:v,className:j,imprintUrl:y}=e,{scrollY:N}
22=(0,s.useScroll)();f[0]===Symbol.for("react.memo_cache_sentinel")?(c=[360,80],m=[64,88],f[0]=c,f[1]=m):(c=f[0],m=f[1]);let w=(0,i.useTransform)(N,c,m);if(!v)return null;f[2]!==w?(u={height:w},f[2]=w,f[3]=u):u=f[3],f[4]!==j?(h=(0,r.cn)("relative mx-auto hidden h-[76px] w-[196.03px] items-end justify-center object-bottom md:mx-0 md:flex md:h-[88px] md:w-[239.59px]",j),f[4]=j,f[5]=h):h=f[5];let k=`/${y}`;f[6]!==v?(p=d(v),f[6]=v,f[7]=p):p=f[7];let C=`${v} Logo"`;return f[8]!==p||f[9]!==C?(x=(0,t.jsx)(o.Image,{src:p,alt:C,fill:!0,sizes:"(min-width: 768px) 400px,196px",className:"object-contain object-bottom-left"}),f[8]=p,f[9]=C,f[10]=x):x=f[10],f[11]!==k||f[12]!==x?(g=(0,t.jsx)(n.default,{href:k,prefetch:!1,children:x}),f[11]=k,f[12]=x,f[13]=g):g=f[13],f[14]!==u||f[15]!==h||f[16]!==g?(b=(0,t.jsx)(a.motion.div,{style:u,className:h,children:g}),f[14]=u,f[15]=h,f[16]=g,f[17]=b):b=f[17],b},"ImprintLogoMobile",0,e=>{let s,i,c,m,u,h=(0,l.c)(13),{imprint:p,className:x,imprintUrl:g}=e;if(!p)return null;h[0]!==x?(s=(0,r.cn)("relative mx-auto mt-6 h-[76px] w-[196.03px] items-end justify-center object-bottom md:mx-0 md:hidden",x),h[0]=x,h[1]=s):s=h[1];let b=`/${g}`;h[2]!==p?(i=d(p),h[2]=p,h[3]=i):i=h[3];let f=`${p} Logo"`;return h[4]!==i||h[5]!==f?(c=(0,t.jsx)(o.Image,{src:i,alt:f,fill:!0,sizes:"(min-width: 768px) 240px,196px",className:"object-contain object-center"}),h[4]=i,h[5]=f,h[6]=c):c=h[6],h[7]!==b||h[8]!==c?(m=(0,t.jsx)(n.default,{href:b,prefetch:!1,children:c}),h[7]=b,h[8]=c,h[9]=m):m=h[9],h[10]!==s||h[11]!==m?(u=(0,t.jsx)(a.motion.div,{className:s,children:m}),h[10]=s,h[11]=m,h[12]=u):u=h[12],u}])},428263,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(387362),a=e.i(387644),s=e.i(271645);let i=e=>{let t,r,i,n,o=(0,l.c)(8),{currency:c,value:d,items:m}=e,[u,h]=(0,s.useState)(!1);return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{h(!0)},r=[],o[0]=t,o[1]=r):(t=o[0],r=o[1]),(0,s.useEffect)(t,r),o[2]!==c||o[3]!==m||o[4]!==u||o[5]!==d?(i=()=>{u&&((0,a.sendGTMEvent)({ecommerce:null}),(0,a.sendGTMEvent)({event:"add_to_cart",ecommerce:{currency:c,value:d,items:m}}))},n=[c,m,u,d],o[2]=c,o[3]=m,o[4]=u,o[5]=d,o[6]=i,o[7]=n):(i=o[6],n=o[7]),(0,s.useEffect)(i,n),null};var n=e.i(464332),o=e.i(641775),c=e.i(103812),d=e.i(791768),m=e.i(95187);let u=(0,m.createServerReference)("607f8f0e993d0ab40e2fe7fe1a22a918893477aae6",m.callServer,void 0,m.findSourceMapURL,"addPromotionCode");var h=e.i(464612),p=e.i(661563),x=e.i(975157),g=e.i(356504),b=e.i(326999),f=e.i(343420),f=f,v=e.i(803804),j=e.i(631084),y=e.i(623857),N=e.i(270477),w=e.i(675545),k=e.i(227425),C=e.i(365528),S=e.i(625781);let T=e=>{let r,a,s,i,n,o,c,d,m,u,h,g,b,f,v,T,_,I,L=(0,l.c)(48),{variant:E,prices:P,taxRate:R,cover:M,title:A,has3DCover:F}=e;L[0]!==E?(r=(0,C.findVariant)(E),L[0]=E,L[1]=r):r=L[1];let O=r,B=O===w.IS_BOOK||O===w.IS_HARD_COVER,D=O===w.IS_HARD_COVER,V=O===w.IS_E_BOOK,H=O===w.IS_AUDIO_BOOK,z=P.listPrice?P.listPrice.amount:P.price.amount,$=P.listPrice?P.price.amount:void 0,W=P.regulationPrice?.amount,U=P.price.currencyCode??"EUR";L[2]!==M?.altText||L[3]!==M?.url||L[4]!==F||L[5]!==H||L[6]!==B||L[7]!==V||L[8]!==D?(a=(0,t.jsx)("div",{className:"",children:F?(0,t.jsx)(k.Image,{src:M?.url||"/placeholder_general.webp",alt:M?.url?"":(0,p.t)("product.placeholderBookCover"),fill:!0,sizes:"215px",className:(0,x.cn)("static! -z-10 h-auto! min-h-[70px]",!M?.url&&"bg-placeholder-light dark:bg-placeholder-dark")}):(0,t.jsx)(t.Fragment,{children:B?(0,t.jsx)(y.SmallBookCover,{src:M?.url,altText:M?.altText??"book cover",isHardcover:D,loadingHeightClasses:"h-[200px]"}):V?(0,t.jsx)(N.SmallEBookCover,{src:M?.url,altText:M?.altText??"e-book cover",extraSmall:!0,loadingHeightClasses:"h-[200px]"}):H?(0,t.jsx)(j.SmallAudioCover,{src:M?.url,altText:M?.altText??"audio book cover",extraSmall:!0,loadingHeightClasses:"h-[122px]"}):(0,t.jsx)(k.Image,{src:M?.url||"/placeholder_general.webp",alt:M?.url?"":(0,p.t)("product.placeholderBookCover"),fill:!0,sizes:"215px",className:(0,x.cn)("static! -z-10 h-auto! min-h-[70px]",!M?.url&&"bg-placeholder-light dark:bg-placeholder-dark")})})}),L[2]=M?.altText,L[3]=M?.url,L[4]=F,L[5]=H,L[6]=B,L[7]=V,L[8]=D,L[9]=a):a=L[9],L[10]!==A?(s=(0,t.jsx)("p",{className:"text-lg font-bold",children:A}),L[10]=A,L[11]=s):s=L[11],L[12]!==E?(i=(0,t.jsx)("p",{className:"mb-4 text-xs font-light",children:E}),L[12]=E,L[13]=i):i=L[13],L[14]===Symbol.for("react.memo_cache_sentinel")?(n=(0,x.cn)("w-auto"),o=(0,x.cn)("flex flex-col-reverse"),c=(0,x.cn)("font-ryker"),L[14]=n,L[15]=o,L[16]=c):(n=L[14],o=L[15],c=L[16]);let K=$||z;return L[17]!==U||L[18]!==K?(d=(0,S.formatPrice)({amount:K,currencyCode:U,locale:w.defaultLocale}),L[17]=U,L[18]=K,L[19]=d):d=L[19],L[20]!==d?(m=(0,t.jsx)("p",{className:c,children:d}),L[20]=d,L[21]=m):m=L[21],L[22]!==U||L[23]!==z||L[24]!==$?(u=$?(0,t.jsxs)("div",{className:"relative w-fit",children:[(0,t.jsx)("span",{className:"sr-only",children:(0,p.t)("previousPrice")}),(0,t.jsx)("p",{className:(0,x.cn)("font-ryker text-sm opacity-50"),children:(0,S.formatPrice)({amount:z,currencyCode:U,locale:w.defaultLocale})}),(0,t.jsx)("div",{className:"bg-error-light dark:bg-error-dark absolute top-1/4 left-[6px] h-1 w-3/4 -rotate-20","aria-hidden":"true"})]}):null,L[22]=U,L[23]=z,L[24]=$,L[25]=u):u=L[25],L[26]!==m||L[27]!==u?(h=(0,t.jsxs)("div",{className:o,children:[m,u]}),L[26]=m,L[27]=u,L[28]=h):h=L[28],L[29]===Symbol.for("react.memo_cache_sentinel")?(g=(0,x.cn)("joined-sublines"),L[29]=g):g=L[29],L[30]!==R?(b=R?(0,t.jsx)("span",{className:"text-xs leading-3",children:`${(0,p.t)("product.includingTaxes")}`}):null,L[30]=R,L[31]=b):b=L[31],L[32]!==U||L[33]!==W?(f=W?(0,t.jsx)("span",{className:"text-[10px] leading-3",children:(0,p.t)("lowestPrice",{addedSnippets:{price:(0,S.formatPrice)({amount:W,currencyCode:U,locale:w.defaultLocale})}})}):null,L[32]=U,L[33]=W,L[34]=f):f=L[34],L[35]!==b||L[36]!==f?(v=(0,t.jsxs)("p",{className:g,children:[b,f]}),L[35]=b,L[36]=f,L[37]=v):v=L[37],L[38]!==h||L[39]!==v?(T=(0,t.jsxs)("div",{className:n,children:[h,v]}),L[38]=h,L[39]=v,L[40]=T):T=L[40],L[41]!==T||L[42]!==s||L[43]!==i?(_=(0,t.jsxs)("div",{className:"col-span-3",children:[s,i,T]}),L[41]=T,L[42]=s,L[43]=i,L[44]=_):_=L[44],L[45]!==_||L[46]!==a?(I=(0,t.jsxs)("div",{className:"relative grid grid-cols-4 gap-4 border-y border-black/25 py-6 dark:border-white/25",children:[a,_]}),L[45]=_,L[46]=a,L[47]=I):I=L[47],I};
22var _=e.i(805760),I=e.i(746852),L=e.i(651951);function E(e){let t;return Math.max(0,Math.floor((new Date((t=e.trim().replace(" ","T")).endsWith("Z")?t:`${t}Z`).getTime()-Date.now())/1e3))}function P(e){let r,a,i,n,o,c,d,m,u,h,g,b,f=(0,l.c)(18),{className:v}=e,{expiresAt:j}=(0,I.useReservationTimer)(),[y,N]=(0,s.useState)(0),w=(0,s.useRef)(null);if(f[0]!==j?(r=()=>{if(!j)return void N(0);let e=E(j);if(N(e),!(e<=0))return w.current=setInterval(()=>{let e=E(j);N(e),e<=0&&w.current&&(clearInterval(w.current),w.current=null)},1e3),()=>{w.current&&(clearInterval(w.current),w.current=null)}},a=[j],f[0]=j,f[1]=r,f[2]=a):(r=f[1],a=f[2]),(0,s.useEffect)(r,a),!j||y<=0)return null;if(f[3]!==v?(i=(0,x.cn)("flex gap-4 rounded-sm border border-white/25 p-4",v),f[3]=v,f[4]=i):i=f[4],f[5]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("span",{className:"bg-ci-primary flex size-10 shrink-0 items-center justify-center rounded-full",children:(0,t.jsx)(L.Timer,{className:"text-ci-supporting size-6",strokeWidth:2})}),f[5]=n):n=f[5],f[6]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("span",{className:"font-bold",children:(0,p.t)("reservation.bannerTitle")}),f[6]=o):o=f[6],f[7]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsxs)("p",{className:"flex-1 text-sm leading-[1.4] font-light text-white",children:[o," ",(0,p.t)("reservation.bannerDescription")]}),f[7]=c):c=f[7],f[8]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsxs)("div",{className:"flex items-start gap-4",children:[c,(0,t.jsx)(_.InfoHint,{ariaLabel:(0,p.t)("reservation.infoAriaLabel"),content:(0,p.t)("reservation.tooltipTextDefault"),buttonClassName:"shrink-0",mobileIconClassName:"text-white/75",desktopIconClassName:"text-white/75 hover:opacity-80"})]}),f[8]=d):d=f[8],f[9]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)("span",{className:"text-sm leading-[1.4] font-light text-white",children:(0,p.t)("reservation.remainingTimeLabel")}),f[9]=m):m=f[9],f[10]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(L.Timer,{className:"text-ci-supporting size-4",strokeWidth:2}),f[10]=u):u=f[10],f[11]!==y){let e;h=(0,p.t)("reservation.remainingTimeValue",{addedSnippets:{time:(e=Math.floor(y/60),`${String(e).padStart(2,"0")}:${String(y%60).padStart(2,"0")}`)}}),f[11]=y,f[12]=h}else h=f[12];return f[13]!==h?(g=(0,t.jsxs)("div",{className:"flex flex-1 flex-col gap-4",children:[d,(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[m,(0,t.jsxs)("span",{className:"bg-ci-primary inline-flex items-center gap-1 rounded-full px-2 py-1",children:[u,(0,t.jsx)("span",{className:"text-ci-supporting text-xs leading-[1.35] font-bold",children:h})]})]})]}),f[13]=h,f[14]=g):g=f[14],f[15]!==g||f[16]!==i?(b=(0,t.jsxs)("div",{className:i,children:[n,g]}),f[15]=g,f[16]=i,f[17]=b):b=f[17],b}let R=e=>{let a,i,m,j,y,N,w,k,C,S,_,I,L,E,R,M,A,F,O,B,D,V,H,z,$,W,U,K,Z,G,q,J,Q=(0,l.c)(68),{isError:X,isLoading:Y,message:ee,productData:et,isWarning:el}=e,{clearPreview:er}=(0,r.useAddToCartPreview)(),[ea,es]=(0,s.useState)(""),[ei,en]=(0,s.useState)(""),[eo,ec]=(0,s.useState)(""),[ed,em]=(0,s.useTransition)(),[eu,eh]=(0,s.use
22State)("dark"),ep=(0,s.useRef)(null);Q[0]!==er?(a=()=>{er()},Q[0]=er,Q[1]=a):a=Q[1];let ex=a;Q[2]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{"dark"===(0,h.getVisibleMainDisplayMode)()?eh("dark"):eh("light")},m=[],Q[2]=i,Q[3]=m):(i=Q[2],m=Q[3]),(0,s.useEffect)(i,m),Q[4]!==ee?(j=ee?.replaceAll("%","").trim(),Q[4]=ee,Q[5]=j):j=Q[5];let eg=j;Q[6]!==eg?(y=eg&&eg.length?eg:(0,p.t)("offCanvas.errorMessage"),Q[6]=eg,Q[7]=y):y=Q[7];let eb=y;Q[8]===Symbol.for("react.memo_cache_sentinel")?(N=e=>{e.preventDefault(),ep.current?.focus({preventScroll:!0})},Q[8]=N):N=Q[8];let ef=N;Q[9]===Symbol.for("react.memo_cache_sentinel")?(w=(0,t.jsx)("div",{className:(0,x.cn)("bgOverlay fixed inset-0 z-50 bg-black/45")}),Q[9]=w):w=Q[9],Q[10]!==eu?(k=(0,x.cn)(eu,"green OffCanvas bg-neutral-light shadow-nav dark:bg-neutral-dark fixed top-0 right-0 z-50 flex h-screen w-[90vw] flex-col p-8 duration-300 ease-out md:w-[45vw] md:max-w-[600px] lg:w-[35vw] dark:text-white"),Q[10]=eu,Q[11]=k):k=Q[11],Q[12]===Symbol.for("react.memo_cache_sentinel")?(C=(0,t.jsx)(b.Description,{className:"sr-only",children:(0,p.t)("offCanvas.description")}),Q[12]=C):C=Q[12],Q[13]===Symbol.for("react.memo_cache_sentinel")?(S=(0,t.jsx)(b.Title,{className:"sr-only py-5",children:(0,p.t)("offCanvas.title")}),Q[13]=S):S=Q[13],Q[14]!==ex?(_=()=>ex(),Q[14]=ex,Q[15]=_):_=Q[15],Q[16]===Symbol.for("react.memo_cache_sentinel")?(I=(0,t.jsx)(g.Chevron,{className:(0,x.cn)("green h-3 w-3")}),L=(0,p.t)("offCanvas.continueShopping"),Q[16]=I,Q[17]=L):(I=Q[16],L=Q[17]),Q[18]!==_?(E=(0,t.jsxs)(n.Button,{variant:"text",colorTheme:"green",onClick:_,className:"flex gap-x-1",children:[I,L]}),Q[18]=_,Q[19]=E):E=Q[19],Q[20]!==eb||Q[21]!==X||Q[22]!==Y||Q[23]!==el||Q[24]!==et?(R=Y?(0,t.jsxs)("div",{className:"flex items-center gap-3 border-y border-black/25 py-10 dark:border-white/25",children:[(0,t.jsx)(v.ClipLoader,{speedMultiplier:.6,size:24,color:"currentColor"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-bold",children:(0,p.t)("offCanvas.loadingHeadline")}),(0,t.jsx)("p",{children:(0,p.t)("offCanvas.loadingMessage")})]})]}):X?(0,t.jsxs)("div",{className:"text-error-light dark:text-error-dark flex items-center gap-3 border-y border-black/25 py-10 dark:border-white/25",children:[(0,t.jsx)(f.default,{size:32,className:"min-w-8"})," ",(0,t.jsx)("p",{children:eb})]}):el?(0,t.jsxs)("div",{className:"flex items-center gap-3 border-y border-black/25 py-10",children:[(0,t.jsx)(f.default,{size:32,className:"min-w-8 text-yellow-500"}),(0,t.jsx)("p",{children:eb})]}):et?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"py-6",children:(0,p.t)("offCanvas.successText")}),(0,t.jsx)(P,{}),(0,t.jsx)(T,{...et})]}):null,Q[20]=eb,Q[21]=X,Q[22]=Y,Q[23]=el,Q[24]=et,Q[25]=R):R=Q[25],Q[26]===Symbol.for("react.memo_cache_sentinel")?(M=(0,p.t)("offCanvas.couponPlaceholder"),Q[26]=M):M=Q[26],Q[27]===Symbol.for("react.memo_cache_sentinel")?(A=e=>es(e.target.value),Q[27]=A):A=Q[27],Q[28]!==ea?(F=(0,t.jsx)(c.Input,{placeholder:M,value:ea,onChange:A}),Q[28]=ea,Q[29]=F):F=Q[29];let ev=ed||!ea;return Q[30]!==ea?(O=()=>{en(""),ec(""),em(async()=>{let{status:e,message:t}=await u(null,{promotionCode:ea});t&&en(t),e&&"success"===e&&ec((0,p.t)("offCanvas.promotionCodeSuccess"))})},Q[30]=ea,Q[31]=O):O=Q[31],Q[32]!==ed?(B=ed?(0,t.jsx)(v.ClipLoader,{speedMultiplier:.6,size:16,color:"currentColor"}):(0,p.t)("offCanvas.applyCoupon"),Q[32]=ed,Q[33]=B):B=Q[33],Q[34]!==ev||Q[35]!==O||Q[36]!==B?(D=(0,t.jsx)(n.Button,{variant:"primary",colorTheme:"green",className:"mt-4 max-h-[46px] w-full",disabled:ev,onClick:O,children:B}),Q[34]=ev,Q[35]=O,Q[36]=B,Q[37]=D):D=Q[37],Q[38]!==F||Q[39]!==D?(V=(0,t.jsxs)("div",{className:"relative",children:[F,D]}),Q[38]=F,Q[39]=D,Q[40]=V):V=Q[40],Q[41]!==ei?(H=ei?(0,t.jsx)("p",{className:"text-error-light dark:text-error-dark pt-2",children:ei}):null,Q[41]=ei,Q[42]=H):H=Q[42],Q[43]!==eo?(z=eo?(0,t.jsx)("p",{className:"text-success-light dark:text-success-dark pt-2",children:eo}):null,Q[43]=eo,Q[44]=z):z=Q[44],Q[45]!==V||Q[46]!==H||Q[47]!==z?($=(0,t.jsxs)("div",{className:"pb-6",children:[V,H,z]}),Q[45]=V,Q[46]=H,Q[47]=z,Q[48]=$):$=Q[48],Q[49]!==E||Q[50]!==R||Q[51]!==$?(W=(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[E,R,$]}),Q[49]=E,Q[50]=R,Q[51]=$,Q[52]=W):W=Q[52],Q[53]!==X||Q[54]!==Y?(U=X||Y?null:(0,t.jsx)(o.CTA,{href:`${d.env.
22NEXT_PUBLIC_SHOPWARE_URL}/shop/checkout/confirm`,variant:"primary",colorTheme:"green",className:"w-full text-center",prefetch:!1,target:"_self",children:(0,p.t)("offCanvas.toCheckout")}),Q[53]=X,Q[54]=Y,Q[55]=U):U=Q[55],Q[56]===Symbol.for("react.memo_cache_sentinel")?(K=(0,t.jsx)(o.CTA,{href:`${d.env.NEXT_PUBLIC_SHOPWARE_URL}/shop/checkout/cart`,variant:"text",colorTheme:"green",className:"w-full text-center",prefetch:!1,target:"_self",children:(0,p.t)("offCanvas.toCart")}),Q[56]=K):K=Q[56],Q[57]!==U?(Z=(0,t.jsx)("div",{className:"w-full",children:(0,t.jsxs)("div",{className:"flex flex-col gap-7 pt-6",children:[U,K]})}),Q[57]=U,Q[58]=Z):Z=Q[58],Q[59]!==W||Q[60]!==Z?(G=(0,t.jsxs)("div",{className:"flex h-full flex-col justify-between",children:[W,Z]}),Q[59]=W,Q[60]=Z,Q[61]=G):G=Q[61],Q[62]!==G||Q[63]!==k?(q=(0,t.jsxs)(b.Portal,{children:[w,(0,t.jsxs)(b.Content,{ref:ep,tabIndex:-1,onOpenAutoFocus:ef,className:k,children:[C,S,G]})]}),Q[62]=G,Q[63]=k,Q[64]=q):q=Q[64],Q[65]!==ex||Q[66]!==q?(J=(0,t.jsx)(b.Root,{open:!0,onOpenChange:ex,children:q}),Q[65]=ex,Q[66]=q,Q[67]=J):J=Q[67],J};e.s(["OffCanvasClient",0,e=>{let a=(0,l.c)(14),{productData:s,ecommerce:n}=e,{message:o,requestId:c,status:d}=(0,r.useAddToCartPreview)();if("pending"===d){let e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(R,{isLoading:!0}),a[0]=e):e=a[0],e}if("error"===d){let e;return a[1]!==o?(e=(0,t.jsx)(R,{isError:!0,message:o}),a[1]=o,a[2]=e):e=a[2],e}if("warning"===d){let e;return a[3]!==o||a[4]!==s?(e=(0,t.jsx)(R,{productData:s,isWarning:!0,message:o}),a[3]=o,a[4]=s,a[5]=e):e=a[5],e}if("success"===d){let e,l,r;return a[6]!==s?(e=(0,t.jsx)(R,{productData:s}),a[6]=s,a[7]=e):e=a[7],a[8]!==n||a[9]!==c?(l=(0,t.jsx)(i,{...n},c),a[8]=n,a[9]=c,a[10]=l):l=a[10],a[11]!==e||a[12]!==l?(r=(0,t.jsxs)(t.Fragment,{children:[e,l]}),a[11]=e,a[12]=l,a[13]=r):r=a[13],r}return null}],428263)},714081,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(503226),a=e.i(975157),s=e.i(453356),i=e.i(544821);let n=e=>{let t=e.match(/<p[^>]*>(.*?)<\/p>/);if(!t)return;let l=t[1],r=l?.match(/(.*?)<b[^>]*>/);return r?r[1]:l},o=e=>{let t=e.match(/<b[^>]*>(.*?)<\/b>/);if(t)return t[1]};e.s(["PressReviewItem",0,e=>{let c,d,m,u,h,p,x,g,b,f,v,j,y,N=(0,l.c)(36),{review:w,className:k,isSlider:C}=e;if(!w)return null;if(N[0]!==k||N[1]!==C||N[2]!==w){let e,l=n(w)?.replace(/^\s*"\s*|\s*"\s*$/g,"");N[10]!==w?(e=o(w)?.replace(/<[^>]*>/g,""),N[10]=w,N[11]=e):e=N[11],c=e;let r=C&&"md:pt-cmy-desktop md:pb-10",g=!C&&"md:py-cmy-desktop";N[12]!==k||N[13]!==r||N[14]!==g?(x=(0,a.cn)("max-w-standard-content-width flex h-full flex-col-reverse md:mx-auto md:grid md:grid-cols-9",r,g,k),N[12]=k,N[13]=r,N[14]=g,N[15]=x):x=N[15],N[16]===Symbol.for("react.memo_cache_sentinel")?(p=(0,a.cn)("flex h-full items-center md:col-span-6 md:col-start-3 md:row-start-1 md:pl-12"),h=(0,a.cn)("px-cmx-mobile text-ci-supporting flex h-full flex-col justify-between gap-8 py-12 md:-mx-10 md:gap-10 md:py-0 md:pt-5"),N[16]=h,N[17]=p):(h=N[16],p=N[17]),d="relative",N[18]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)(s.QuotationMarks,{className:"absolute -top-5 -left-4 md:-left-12",fill:"fill-ci-supporting"}),N[18]=m):m=N[18],u=l?(0,t.jsx)("div",{className:"relative text-[32px] leading-10 font-light md:text-[40px]",dangerouslySetInnerHTML:{__html:(0,i.default)(l)}}):null,N[0]=k,N[1]=C,N[2]=w,N[3]=c,N[4]=d,N[5]=m,N[6]=u,N[7]=h,N[8]=p,N[9]=x}else c=N[3],d=N[4],m=N[5],u=N[6],h=N[7],p=N[8],x=N[9];return N[19]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)(s.QuotationMarks,{className:"absolute -right-5 bottom-12 md:-right-12 md:bottom-10",fill:"fill-ci-supporting"}),N[19]=g):g=N[19],N[20]!==d||N[21]!==m||N[22]!==u?(b=(0,t.jsxs)("div",{className:d,children:[m,u,g]}),N[20]=d,N[21]=m,N[22]=u,N[23]=b):b=N[23],N[24]!==c?(f=c?(0,t.jsx)("div",{className:"flex-row gap-4 md:flex md:pt-2",children:(0,t.jsx)("div",{className:"pl-[75px] md:pl-0",children:(0,t.jsx)("div",{className:"text-ci-contrast",children:(0,t.jsx)(r.Headline,{type:"div",isSubline:!0,className:"font-bold!",children:c})})})}):null,N[24]=c,N[25]=f):f=N[25],N[26]!==h||N[27]!==b||N[28]!==f?(v=(0,t.jsxs)("div",{className:h,children:[b,f]}),N[26]=h,N[27]=b,N[28]=f,N[29]=v):v=N[29],N[30]!==v||N[31]!==p?(j=(0,t.jsx)("div",{className:p,children:v}),N[30]=v,N[31]=p,N[32]=j):j=N[32],N[33]!==j||N[34]!==x?(y=(0,t.jsx)("div",{className:x,children:j}),N[33]=j,N[34]=x,N[35]=y):y=N[35],y},"extractAuthor",0,o,"extractQuote",0,n])},797221,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(128786),a=e.i(250938),s=e.i(632967),i=e.i(846333),n=e.i(631826),o=e.i(975157),c=e.i(220293),d=e.i(130013),m=e.i(271645),u=e.i(714081);let h=[(0,c.default)()];function p(e,l){return e?(0,t.jsx)("div",{className:"flex-[0_0_100%]",children:(0,t.jsx)(u.PressReviewItem,{review:e,isSlider:!0})},`${e}-${l}`):null}e.s(["PressReviewsCarousel",0,e=>{let c,u,x,g,b,f,v,j,y,N,w,k,C,S,T,_,I,L,E=(0,l.c)(46),{className:P,reviews:R}=e,{width:M}=(0,n.default)(),[A,F]=(0,m.useState)(0);E[0]===Symbol.for("react.memo_cache_sentinel")?(c={align:"start",loop:!0,watchResize:!0},E[0]=c):c=E[0];let[O,B]=(0,d.default)(c,h),{nextBtnDisabled:D,prevBtnDisabled:V,onPrevButtonClick:H,onNextButtonClick:z}=(0,i.usePrevNextButtons)(B);E[1]!==B?(u=()=>{B&&F(B.selectedScrollSnap())},E[1]=B,E[2]=u):u=E[2];let $=u;E[3]!==B||E[4]!==$?(x=()=>{B&&($(),B.on("select",$).on("reInit",$))},g=[B,$],E[3]=B,E[4]=$,E[5]=x,E[6]=g):(x=E[5],g=E[6]),(0,m.useEffect)(x,g);let{scrollSnaps:W,onDotButtonClick:U}=(0,s.useDotButton)(B);if(!R||0===R.length)return null;E[7]!==P?(b=(0,o.cn)("relative",P),E[7]=P,E[8]=b):b=E[8];let K=M?`${M}px`:"100vw";E[9]!==K?(f={maxWidth:K},E[9]=K,E[10]=f):f=E[10],E[11]===Symbol.for("react.memo_cache_sentinel")?(v={backfaceVisibility:"hidden",touchAction:"pan-y pinch-zoom"},E[11]=v):v=E[11],E[12]!==R?(j=R?.map(p),E[12]=R,E[13]=j):j=E[13],E[14]!==j?(y=(0,t.jsx)("div",{style:v,className:"flex",children:j}),E[14]=j,E[15]=y):y=E[15],E[16]!==O||E[17]!==y?(N=(0,t.jsx)("div",{className:"overflow-hidden",ref:O,children:y}),E[16]=O,E[17]=y,E[18]=N):N=E[18],E[19]===Symbol.for("react.memo_cache_sentinel")?(w=(0,o.cn)("relative inset-x-0 bottom-0 flex h-10 w-fit items-center px-10 md:col-start-3 md:ml-12"),E[19]=w):w=E[19];let Z=!D,G=!V;E[20]!==O||E[21]!==H||E[22]!==Z||E[23]!==G?(k=(0,t.jsx)(a.CarouselPreviousButton,{variant:"primary",orientation:"horizontal",ref:O,canScrollNext:Z,scrollPrev:H,canScrollPrev:G,className:"left-0!",colorTheme:"neutral"}),E[20]=O,E[21]=H,E[22]=Z,E[23]=G,E[24]=k):k=E[24],E[25]===Symbol.for("react.memo_cache_sentinel")?(C=(0,o.cn)("mx-5 flex gap-2"),E[25]=C):C=E[25],E[26]!==U||E[27]!==W||E[28]!==A?(S=W?.map((e,l)=>(0,t.jsx)(s.DotButton,{index:l,onClick:()=>U(l),className:(0,o.cn)("embla__dot h-2 rounded-full",l===A?"embla__dot--selected bg-neutral-dark w-6 transition-all duration-300 ease-in-out":"bg-neutral-dark/30 w-2")},`dot-button${l}`)),E[26]=U,E[27]=W,E[28]=A,E[29]=S):S=E[29],E[30]!==S?(T=(0,t.jsx)("div",{className:C,children:S}),E[30]=S,E[31]=T):T=E[31];let q=!D,J=!V;return E[32]!==O||E[33]!==z||E[34]!==q||E[35]!==J?(_=(0,t.jsx)(r.CarouselNextButton,{variant:"primary",orientation:"horizontal",ref:O,canScrollNext:q,scrollNext:z,canScrollPrev:J,className:"right-0!",colorTheme:"neutral"}),E[32]=O,E[33]=z,E[34]=q,E[35]=J,E[36]=_):_=E[36],E[37]!==k||E[38]!==T||E[39]!==_?(I=(0,t.jsx)("div",{className:"max-w-standard-content-width md:pb-cmy-desktop flex justify-center pb-12 md:mx-auto md:grid md:grid-cols-9",children:(0,t.jsxs)("div",{className:w,children:[k,T,_]}
22)}),E[37]=k,E[38]=T,E[39]=_,E[40]=I):I=E[40],E[41]!==N||E[42]!==I||E[43]!==b||E[44]!==f?(L=(0,t.jsxs)("div",{className:b,style:f,children:[N,I]}),E[41]=N,E[42]=I,E[43]=b,E[44]=f,E[45]=L):L=E[45],L}])},626814,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(631084),a=e.i(623857),s=e.i(270477),i=e.i(441782),n=e.i(675545),o=e.i(696085),c=e.i(227425),d=e.i(365528),m=e.i(684215),u=e.i(661563),h=e.i(975157),p=e.i(846932),x=e.i(310542),g=e.i(895420),b=e.i(271645);let f=e=>{let r,a,s,i,n,o,c,d,m,u,h,f,v,j,y=(0,l.c)(30),{children:N}=e,[w,k]=(0,b.useState)(945),{scrollY:C}=(0,x.useScroll)(),S=w-250;y[0]!==w||y[1]!==S?(r=[w,S],y[0]=w,y[1]=S,y[2]=r):r=y[2],y[3]===Symbol.for("react.memo_cache_sentinel")?(a=[.01,100],y[3]=a):a=y[3];let T=(0,g.useTransform)(C,r,a),_=w-250;y[4]!==w||y[5]!==_?(s=[w,_],y[4]=w,y[5]=_,y[6]=s):s=y[6],y[7]===Symbol.for("react.memo_cache_sentinel")?(i=[.01,24],y[7]=i):i=y[7];let I=(0,g.useTransform)(C,s,i),L=w-250;y[8]!==w||y[9]!==L?(n=[w,L],y[8]=w,y[9]=L,y[10]=n):n=y[10],y[11]===Symbol.for("react.memo_cache_sentinel")?(o=[1,0],y[11]=o):o=y[11];let E=(0,g.useTransform)(C,n,o);return y[12]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{let e=document.getElementById("product-selector")?.clientHeight;e&&k(e)},d=[],y[12]=c,y[13]=d):(c=y[12],d=y[13]),(0,b.useEffect)(c,d),y[14]!==E||y[15]!==T?(m={translateX:T,opacity:E},y[14]=E,y[15]=T,y[16]=m):m=y[16],y[17]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)("div",{className:"bg-neutral-dark shadow-nav dark:bg-neutral-light absolute inset-x-0 top-4 bottom-0 rounded-[4px]"}),y[17]=u):u=y[17],y[18]!==N||y[19]!==m?(h=(0,t.jsx)("div",{className:"max-w-page-frame inset-x-0 bottom-0 z-20 mx-auto hidden h-0 w-full justify-end lg:fixed lg:flex",children:(0,t.jsxs)(p.motion.aside,{style:m,className:"absolute right-5 bottom-5 h-fit w-[140px] text-white dark:text-black",children:[u,N]})}),y[18]=N,y[19]=m,y[20]=h):h=y[20],y[21]!==E||y[22]!==I?(f={translateY:I,opacity:E},y[21]=E,y[22]=I,y[23]=f):f=y[23],y[24]!==N||y[25]!==f?(v=(0,t.jsx)(p.motion.div,{style:f,className:"bg-neutral-dark dark:bg-neutral-light fixed inset-x-0 bottom-0 z-20 h-16 w-full px-6 text-white lg:hidden dark:text-black",children:N}),y[24]=N,y[25]=f,y[26]=v):v=y[26],y[27]!==h||y[28]!==v?(j=(0,t.jsxs)(t.Fragment,{children:[h,v]}),y[27]=h,y[28]=v,y[29]=j):j=y[29],j};e.s(["StickyAddToCart",0,e=>{let p,x,g,b,v,j,y,N,w,k,C,S,T,_,I=(0,l.c)(63),{product:L}=e;if(!L)return null;I[0]!==L.variant?(p=(0,d.findVariant)(L.variant),I[0]=L.variant,I[1]=p):p=I[1];let E=p;if(I[2]!==E||I[3]!==L.buyButtonState||I[4]!==L.cover.altText||I[5]!==L.cover.url||I[6]!==L.has3DCover||I[7]!==L.id||I[8]!==L.images?.[0]?.url||I[9]!==L.isPhysical||I[10]!==L.prices.listPrice||I[11]!==L.prices.price||I[12]!==L.prices.regulationPrice?.amount||I[13]!==L.productNumber||I[14]!==L.releaseDate||I[15]!==L.taxRate||I[16]!==L.title){let e,l,d=(0,m.getTodayUtc)(new Date),p=E===n.IS_BOOK||E===n.IS_HARD_COVER,S=E===n.IS_HARD_COVER,T=E===n.IS_E_BOOK,_=E===n.IS_AUDIO_BOOK,P=!!L?.has3DCover;g=f,I[27]!==P||I[28]!==_||I[29]!==p||I[30]!==T||I[31]!==S||I[32]!==L.cover.altText||I[33]!==L.cover.url||I[34]!==L.images?.[0]?.url?(C=(0,t.jsx)("div",{className:"pointer-events-auto absolute bottom-2 w-14 lg:static lg:w-auto lg:px-8 lg:py-2",children:P?(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)(c.Image,{src:L.cover.url||L.images?.[0]?.url||"/placeholder_general.webp",alt:L.cover.url?"":(0,u.t)("product.placeholderBookCover"),priority:!0,fill:!0,sizes:"215px",className:(0,h.cn)("static! -z-10 h-auto! min-h-[70px]",!L.cover.url&&!L.images?.[0]?.url&&"bg-placeholder-dark")})}):(0,t.jsx)(t.Fragment,{children:p?(0,t.jsx)(a.SmallBookCover,{src:L.cover.url,altText:L.cover.altText??"book cover",isHardcover:S,priority:!0,className:"max-h-[120px]",loadingHeightClasses:"h-[90px] lg:h-[120px]",loadingWidthClasses:"w-[56px] lg:w-[76px]"}):T?(0,t.jsx)(s.SmallEBookCover,{src:L.cover.url,altText:L.cover.altText??"e-book cover",priority:!0,className:"max-h-[120px]",loadingHeightClasses:"h-[90px] lg:h-[120px]",loadingWidthClasses:"w-[56px] lg:w-[76px]"}):_?(0,t.jsx)(r.SmallAudioCover,{src:L.cover.url,altText:L.cover.altText??"audio book cover",priority:!0,className:"max-h-[120px]",loadingHeightClasses:"h-[56px] lg:h-[76px]",loadingWidthClasse
22s:"w-[56px] lg:w-[76px]"}):(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)(c.Image,{src:L.cover.url||"/placeholder_general.webp",alt:L.cover.url?"":(0,u.t)("product.placeholderBookCover"),priority:!0,fill:!0,sizes:"215px",className:(0,h.cn)("static! -z-10 h-auto! max-h-[120px] min-h-[70px]",!L.cover.url&&"bg-placeholder-dark")})})})}),I[27]=P,I[28]=_,I[29]=p,I[30]=T,I[31]=S,I[32]=L.cover.altText,I[33]=L.cover.url,I[34]=L.images?.[0]?.url,I[35]=C):C=I[35],w="relative ml-[104px] flex h-full w-auto items-center justify-between gap-2 lg:ml-0 lg:h-auto lg:flex-col lg:items-center lg:p-4",I[36]!==L.title?(e=(0,t.jsx)("p",{className:"line-clamp-1 lg:mt-6",children:L.title}),I[36]=L.title,I[37]=e):e=I[37];let R=L.prices.listPrice?L.prices.listPrice.amount:L.prices.price.amount,M=L.prices.listPrice?L.prices.price.amount:void 0,A=L.prices.regulationPrice?.amount;I[38]!==L.taxRate||I[39]!==R||I[40]!==M||I[41]!==A?(l=(0,t.jsx)(i.Price,{price:R,salePrice:M,taxRate:L.taxRate,regulationPrice:A,stickyCart:!0}),I[38]=L.taxRate,I[39]=R,I[40]=M,I[41]=A,I[42]=l):l=I[42],I[43]!==e||I[44]!==l?(k=(0,t.jsxs)("div",{className:"flex flex-col lg:items-center",children:[e,l]}),I[43]=e,I[44]=l,I[45]=k):k=I[45],x=o.AddToCartButton,b=!0,v=L.id,j=L.productNumber,y=L.buyButtonState||"disabled",N=!1===L.isPhysical&&(0,m.isPreOrder)(L.releaseDate,d),I[2]=E,I[3]=L.buyButtonState,I[4]=L.cover.altText,I[5]=L.cover.url,I[6]=L.has3DCover,I[7]=L.id,I[8]=L.images?.[0]?.url,I[9]=L.isPhysical,I[10]=L.prices.listPrice,I[11]=L.prices.price,I[12]=L.prices.regulationPrice?.amount,I[13]=L.productNumber,I[14]=L.releaseDate,I[15]=L.taxRate,I[16]=L.title,I[17]=x,I[18]=g,I[19]=b,I[20]=v,I[21]=j,I[22]=y,I[23]=N,I[24]=w,I[25]=k,I[26]=C}else x=I[17],g=I[18],b=I[19],v=I[20],j=I[21],y=I[22],N=I[23],w=I[24],k=I[25],C=I[26];let P=L.extensions?.productExtension?.reservable;return I[46]!==x||I[47]!==L.ticket||I[48]!==P||I[49]!==b||I[50]!==v||I[51]!==j||I[52]!==y||I[53]!==N?(S=(0,t.jsx)(x,{iconVariant:b,productId:v,productNumber:j,buyButtonState:y,digitalPreorder:N,className:"lg:absolute lg:-top-[16px] lg:z-30",ticket:L.ticket,reservable:P}),I[46]=x,I[47]=L.ticket,I[48]=P,I[49]=b,I[50]=v,I[51]=j,I[52]=y,I[53]=N,I[54]=S):S=I[54],I[55]!==S||I[56]!==w||I[57]!==k?(T=(0,t.jsxs)("div",{className:w,children:[k,S]}),I[55]=S,I[56]=w,I[57]=k,I[58]=T):T=I[58],I[59]!==g||I[60]!==T||I[61]!==C?(_=(0,t.jsxs)(g,{children:[C,T]}),I[59]=g,I[60]=T,I[61]=C,I[62]=_):_=I[62],_}],626814)},705514,e=>{"use strict";var t=e.i(843476),l=e.i(644519),r=e.i(707522),a=e.i(500932);let s=e=>{let l,r,s=(0,a.c)(5),{className:i,isActive:n}=e,o=n?"currentColor":"none";return s[0]!==o?(l=(0,t.jsx)("path",{className:"stroke-1 transition-all group-hover/heart:stroke-2",fill:o,d:"M8.35 2C9.935 2 11 3.49 11 4.88C11 7.695 6.58 10 6.5 10C6.42 10 2 7.695 2 4.88C2 3.49 3.065 2 4.65 2C5.56 2 6.155 2.455 6.5 2.855C6.845 2.455 7.44 2 8.35 2Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),s[0]=o,s[1]=l):l=s[1],s[2]!==i||s[3]!==l?(r=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"12",viewBox:"0 0 13 12",fill:"none",className:i,children:l}),s[2]=i,s[3]=l,s[4]=r):r=s[4],r};var i=e.i(885430),n=e.i(496861),o=e.i(661563),c=e.i(689343),d=e.i(950271),m=e.i(271645);e.s(["WishlistButton",0,({productName:e,productId:a,language:u="de",ecommerce:h})=>{let{isWishlisted:p,setWishlisted:x,ensureLoaded:g}=(0,n.useWishlist)(),b=p(a),[f,v]=(0,m.useTransition)(),[j,y]=(0,m.useState)(!1);(0,m.useEffect)(()=>{g()},[g]);let N=async e=>{e.preventDefault();let t=!1;try{t=await (0,d.isUserLoggedIn)()}catch(e){console.error("Failed to check login state of user")}if(t){(0,l.addToWishlistEvent)(h);let e=!b;v(async()=>{x(a,e);try{let t=await (0,i.updateWishlist)(e?"add":"delete",a);t?.success||(x(a,!e),console.error(e?"Failed to add product to wishlist":"Failed to remove product from wishlist"))}catch(t){x(a,!e),console.error(e?"Add product to wishlist":"Remove product from wishlist",t)}})}else y(!0)};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("button",{onClick:N,"aria-pressed":!!b,disabled:f,className:`group/heart z-10 ${c.pdpOverlayPillButtonClass}`,"aria-labelledby":"wishlist-label",children:[(0,t.jsx)(s,{isActive:b}),b?(0,o.t)("product.removeFromWishlist",{language:u}):(0,o.t)("product.addToWishlist",{language:u}),(0,t.jsx)("span",{className:"sr-only",id:"wishlist-label",children:b?(0,o.t)("product.removeFromWishlist-sr",{addedSnippets:{article:e},language:u}):(0,o.t)("product.addToWishlist-sr",{addedSnippets:{article:e},language:u})})]}),(0,t.jsx)(r.GuestAddToCartModal,{open:j,setOpen:y})]})}],705514)},46735,e=>{"use strict";var t=e.i(843476),l=e.i(675545),r=e.i(618566),a=e.i(271645),s=e.i(500932),i=e.i(399747),n=e.i(411744),o=e.i(777424),c=e.i(311173),d=e.i(503226),m=e.i(661563),u=e.i(975157),h=e.i(826819),p=e.i(684215),x=e.i(321506),g=e.i(118812),b=e.i(227425),f=e.i(365528),v=e.i(625781),j=e.i(994086),y=e.i(522016),N=e.i(631084),w=e.i(623857),k=e.i(270477),C=e.i(181024),S=e.i(367432),T=e.i(937347),_=e.i(476298);let I=e=>{let r,i,n,o,c,d,h,p,x,I,L,E,P,R,M,A,F,O,B,D,V,H,z,$,W,U=(0,s.c)(76),{id:K,link:Z,authors:G,title:q,subtitle1:J,subtitle2:Q,collections:X,price:Y,salePrice:ee,cover:et,imageAlt:el,variant:er,releaseDate:ea,ratingAverage:es,numberOfReviews:ei,flag:en,selectItemTracking:eo,productId:ec,imageClassName:ed,is3DCover:em,isAudioListing:eu}=e;U[0]!==er?(r=(0,f.findVariant)(er),U[0]=er,U[1]=r):r=U[1];let eh=r,ep=el||`Abbildung ${q}`;U[2]!==er?(i=er?.includes("Shelfie"),U[2]=er,U[3]=i):i=U[3];let ex=i;U[4]!==eu||U[5]!==ex?(n=(0,u.cn)("relative mt-6 flex items-end",ex?"mb
22-16 h-[120px] max-w-[104px] lg:mb-32 lg:h-[192px] lg:max-w-[166px]":(0,u.cn)("mb-10 max-w-[130px] lg:max-w-[207px]",eu?"h-[150px] lg:h-[240px]":"h-[200px] lg:h-[320px]")),U[4]=eu,U[5]=ex,U[6]=n):n=U[6];let eg=eh===l.IS_E_BOOK&&"mx-[5px] lg:mx-2";U[7]!==eg?(o=(0,u.cn)("relative max-h-full",eg),U[7]=eg,U[8]=o):o=U[8],U[9]!==Z?(c=(0,j.makeAbsolute)(Z),U[9]=Z,U[10]=c):c=U[10];let eb=`${c}`;U[11]!==en?(d=en?(0,t.jsx)(T.Flag,{flag:en}):null,U[11]=en,U[12]=d):d=U[12],U[13]!==en||U[14]!==ea?(h=(0,t.jsx)(S.CurrentProductFlag,{fallbackFlag:en,releaseDate:ea}),U[13]=en,U[14]=ea,U[15]=h):h=U[15],U[16]!==d||U[17]!==h?(p=(0,t.jsx)(a.Suspense,{fallback:d,children:h}),U[16]=d,U[17]=h,U[18]=p):p=U[18],U[19]!==eh||U[20]!==et||U[21]!==ep||U[22]!==ed||U[23]!==em?(x=em?(0,t.jsx)(b.Image,{src:et||"/placeholder_general.webp",alt:et?ep:(0,m.t)("product.placeholderBookCover"),fill:!0,sizes:l.BOOK_COVER_IMAGE_SIZE,className:(0,u.cn)("static! -z-10 h-auto! min-h-[70px]",ed,!et&&"bg-placeholder-light dark:bg-placeholder-dark")}):(0,t.jsx)(t.Fragment,{children:eh===l.IS_BOOK||eh===l.IS_HARD_COVER?(0,t.jsx)(w.SmallBookCover,{src:et,className:ed,altText:ep,isHardcover:eh===l.IS_HARD_COVER,loadingHeightClasses:"h-[200px] lg:h-[308px]",loadingWidthClasses:"w-[130px] lg:w-[207px]"}):eh===l.IS_E_BOOK?(0,t.jsx)(k.SmallEBookCover,{src:et,altText:ep,className:ed,loadingHeightClasses:"h-[190px] lg:h-[303px]",loadingWidthClasses:"w-[120px] lg:w-[191px]"}):eh===l.IS_AUDIO_BOOK?(0,t.jsx)(N.SmallAudioCover,{src:et,altText:ep,className:ed,loadingHeightClasses:"h-[128px] lg:h-[205px]",loadingWidthClasses:"w-[130px] lg:w-[207px]"}):(0,t.jsx)(b.Image,{src:et||"/placeholder_general.webp",alt:et?ep:(0,m.t)("product.placeholderBookCover"),fill:!0,sizes:l.BOOK_COVER_IMAGE_SIZE,className:(0,u.cn)("static! -z-10 h-auto! max-h-[200px] min-h-[70px] lg:max-h-[320px]",ed,!et&&"bg-placeholder-light dark:bg-placeholder-dark")})}),U[19]=eh,U[20]=et,U[21]=ep,U[22]=ed,U[23]=em,U[24]=x):x=U[24],U[25]!==p||U[26]!==x||U[27]!==eb?(I=(0,t.jsxs)(y.default,{href:eb,prefetch:!1,children:[p,x]}),U[25]=p,U[26]=x,U[27]=eb,U[28]=I):I=U[28],U[29]!==ec||U[30]!==eo||U[31]!==q?(L=(0,t.jsx)(_.WishlistButton,{productName:q,productId:ec,selectItemTracking:eo}),U[29]=ec,U[30]=eo,U[31]=q,U[32]=L):L=U[32],U[33]!==I||U[34]!==L||U[35]!==o?(E=(0,t.jsxs)("div",{className:o,children:[I,L]}),U[33]=I,U[34]=L,U[35]=o,U[36]=E):E=U[36],U[37]!==E||U[38]!==n?(P=(0,t.jsx)("div",{className:n,children:E}),U[37]=E,U[38]=n,U[39]=P):P=U[39],U[40]!==Z?(R=(0,j.makeAbsolute)(Z),U[40]=Z,U[41]=R):R=U[41];let ef=`${R}`;return U[42]!==G?(M=(0,t.jsx)("p",{className:"text-xs",children:G}),U[42]=G,U[43]=M):M=U[43],U[44]!==q?(A=(0,t.jsx)("p",{className:"mb-1 font-bold",children:q}),U[44]=q,U[45]=A):A=U[45],U[46]!==X||U[47]!==J||U[48]!==Q?(F=J||Q||X?(0,t.jsxs)("p",{className:"joined-sublines text-xs lg:text-sm",children:[J?(0,t.jsx)("span",{children:J}):null,Q?(0,t.jsx)("span",{children:Q}):null,X?(0,t.jsx)("span",{children:X}):null]}):null,U[46]=X,U[47]=J,U[48]=Q,U[49]=F):F=U[49],U[50]!==M||U[51]!==A||U[52]!==F?(O=(0,t.jsxs)("div",{className:"mb-4 flex flex-col items-center text-center",children:[M,A,F]}),U[50]=M,U[51]=A,U[52]=F,U[53]=O):O=U[53],U[54]!==K||U[55]!==ei||U[56]!==es?(B=void 0!==es&&ei?(0,t.jsxs)("div",{className:"mb-4 flex items-center justify-center gap-2",children:[(0,t.jsx)(C.Stars,{rating:parseFloat(es),id:`reviewsListing-${K}`}),(0,t.jsxs)("p",{children:["(",ei,(0,t.jsxs)("span",{className:"sr-only",children:[" ",(0,m.t)("product.totalReviews")]}),")"]})]}):null,U[54]=K,U[55]=ei,U[56]=es,U[57]=B):B=U[57],U[58]!==Y?(D=Y?(0,t.jsx)("p",{className:"font-ryker text-h5Mobile lg:text-h5Desktop",children:(0,v.formatPrice)({amount:String(Y),currencyCode:"EUR",locale:"de"})}):null,U[58]=Y,U[59]=D):D=U[59],U[60]!==ee?(V=ee?(0,t.jsxs)("div",{className:"relative mb-0.5",children:[(0,t.jsx)("span",{className:"sr-only",children:(0,m.t)("product.previousPrice")}),(0,t.jsx)("p",{className:"text-xs opacity-50",children:(0,v.formatPrice)({amount:String(ee),currencyCode:"EUR",locale:"de"})}),(0,t.jsx)("div",{className:"bg-error-light dark:bg-error-dark absolute top-[37%] left-[6px] h-0.5 w-4/5 -rotate-20","aria-hidden":"true"})]}):null,U[60]=ee,U[61]=V):V=U[61],U[62]!==D||U[63]!==V?(H=(0,t.jsxs)("div",{className:"flex items-end justify-center gap-2",children:[D,V]}),U[62]=D,U[63]=V,U[64]=H):H=U[64],U[65]!==ef||U[66]!==O||U[67]!==B||U[68]!==H?(z=(0,t.jsxs)(y.default,{href:ef,prefetch:!1,children:[O,B,H]}),U[65]=ef,U[66]=O,U[67]=B,U[68]=H,U[69]=z):z=U[69],U[70]!==P||U[71]!==z?($=(0,t.jsxs)("div",{className:"product-card mx-auto flex flex-col items-center justify-center",children:[P,z]}),U[70]=P,U[71]=z,U[72]=$):$=U[72],U[73]!==eo||U[74]!==$?(W=(0,t.jsx)("li",{className:"w-[156px] lg:w-[272px]",children:(0,t.jsx)(g.SelectItemEvent,{items:eo,children:$})}),U[73]=eo,U[74]=$,U[75]=W):W=U[75],W},L=e=>{let r,a,i,n,o=(0,s.c)(13),{listingResult:c,selectItemsTracking:d,isProductListing:h,isAudioListing:g}=e;if(!c.hits||!c.hits.length)return null;if(o[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,m.t)("search.articles"),o[0]=r):r=o[0],o[1]===Symbol.for("react.memo_cache_sentinel")?(a=(0,u.cn)("mt-8 mb-16 grid grid-cols-2 gap-x-4 gap-y-16 sm:grid-cols-3 lg:mt-0 lg:mb-[72px] lg:gap-x-8 lg:gap-y-[72px] xl:grid-cols-4"),o[1]=a):a=o[1],o[2]!==g||o[3]!==h||o[4]!==c.hits||o[5]!==d){let e;o[7]!==g||o[8]!==h||o[9]!==d?(e=(e,r)=>{if(h){let a=e?.masterValues?.Master,s=e?.variantValues?.filter(e=>e?.ProductNumberFf===a),i=s?.length?s:e?.variantValues?.[0]?[e.variantValues[0]]:[];return i?.filter(E)?.map((e,a)=>{let s,i=(s={}
22,(e?.CustomFields?.split("|")||[]).forEach(e=>{if(e){let[t,l]=e.split("=");t&&(s[t]=l)}}),s),n=e?.Collection,o=e?.CollectionTitleNo,c=n&&o?(0,m.t)("product.collection",{addedSnippets:{title:e.CollectionTitleNo??"",collection:e?.Collection??""}}):void 0,h={preOrder:e?.Availability==="preorder",limited:e?.Limited==="true",bestseller:e?.BestsellerPb===l.SW_SPIEGEL_BESTSELLER_2,popular:e?.BestsellerPb===l.SW_BESTSELLER,topRating:(0,p.isTopRating)(e?.RatingAverage),sale:!!e?.ListPrice,freeShipping:e?.FreeShipping==="true"&&l.AUDIO_BOOK_VARIANTS.every(t=>!e?.VariantePb?.includes(t))&&!e?.VariantePb?.includes(l.E_BOOK_VARIANT)},x=(0,p.findFirstTrueKey)(h);return(0,t.jsx)(I,{id:`${e.isbnWithoutDashes}-${a}`,link:e.Deeplink??"",authors:e?.AuthorString??"",title:e?.Name??"",subtitle1:i?.subtitle1,subtitle2:i?.subtitle2,collections:c,price:e?.Price,salePrice:e?.ListPrice,cover:e?.ImageUrl??"/placeholder_general.webp",is3DCover:e?.Image3D==="true",imageClassName:(0,u.cn)(!e?.ImageUrl&&"bg-placeholder-light dark:bg-placeholder-dark"),imageAlt:e?.ImageAltTitle,variant:e?.VariantePb,releaseDate:e?.ReleaseDate,ratingAverage:e?.RatingAverage,numberOfReviews:e?.RatingAmount,flag:x,selectItemTracking:d?.slice(r,r+1),productId:e?.Id,isAudioListing:g},`${e.isbnWithoutDashes}-${a}`)})}return"contributor"!==e.masterValues.Type||e.masterValues.LongText?(0,t.jsx)(x.ListItemContent,{id:e.id,title:e.masterValues.Name,link:e.masterValues?.Deeplink,description:e.masterValues?.LongText,image:e.masterValues.ImageUrl,contentType:"contributor"===e.masterValues.Type?e.masterValues?.TextShort:e.masterValues.Type,isContributor:"contributor"===e.masterValues.Type},e.id):null},o[7]=g,o[8]=h,o[9]=d,o[10]=e):e=o[10],i=c.hits.map(e),o[2]=g,o[3]=h,o[4]=c.hits,o[5]=d,o[6]=i}else i=o[6];return o[11]!==i?(n=(0,t.jsx)("section",{"aria-label":r,className:"mx-auto w-fit",children:(0,t.jsx)("ul",{className:a,children:i})}),o[11]=i,o[12]=n):n=o[12],n};function E(e){return e?.Visibility==="true"}function P(e){let r,p,x,g,b,f,v,j,y,N,w,k,C,S,T,_=(0,s.c)(52),{data:I,colorTheme:E,displayMode:P,isLoading:R}=e,M=void 0===E?l.DEFAULT_THEME:E,A=void 0===P?l.DEFAULT_MODE:P,F=void 0!==R&&R;_[0]!==I?(r=I.results?.facets.filter(e=>!l.EXCLUDED_FILTERS.includes(e.name??"")),_[0]=I,_[1]=r):r=_[1];let O=r;_[2]!==I?(p=!!I.results?.filters.filter(e=>!l.EXCLUDED_FILTERS.includes(e.name)).length,_[2]=I,_[3]=p):p=_[3];let B=p;if(_[4]!==I){let e;e=I.results?.hits,x=e?.map((e,t)=>({item_id:e.id,item_name:e?.variantValues?.[0]?.Name??e?.masterValues?.Name??"",affiliation:"",coupon:"",discount:e?.variantValues?.[0]?.ListPrice&&e?.variantValues?.[0]?.Price?e.variantValues[0].ListPrice-e.variantValues[0].Price:0,index:t,item_brand:e?.variantValues?.[0]?.Brand??e?.masterValues?.Manufacturers?.join(", ")??"",item_category:e?.variantValues?.[0]?.Genre?.[0]??"",item_category2:e?.variantValues?.[0]?.Subgenre?.[0]??"",item_category3:"",item_category4:"",item_category5:"",item_list_id:I.listId,item_list_name:I.listName,item_variant:e?.variantValues?.[0]?.Variante?.[0]??"",location_id:"",price:e?.variantValues?.[0]?.Price??0,quantity:1}))??[],_[4]=I,_[5]=x}else x=_[5];let D=x;_[6]!==D?(g=(0,t.jsx)(h.ViewItemListEvent,{items:D}),_[6]=D,_[7]=g):g=_[7];let V=(!I.results?.totalHits||I.errorMessage)&&"lg:justify-start";_[8]!==V?(b=(0,u.cn)("flex justify-around gap-8",V),_[8]=V,_[9]=b):b=_[9],_[10]!==I.results?.totalHits?(f=I.results?.totalHits?null:(0,t.jsx)(d.Headline,{type:"h2",styleAs:"h5",className:"mb-6",children:(0,m.t)("listing.noResults")}),_[10]=I.results?.totalHits,_[11]=f):f=_[11],_[12]!==M||_[13]!==A||_[14]!==O||_[15]!==B?(v=(0,t.jsx)(a.Suspense,{fallback:null,children:(0,t.jsx)(o.DesktopFiltersWrapper,{facets:O,hasSelectedFilters:B,colorTheme:M,displayMode:A})}),_[12]=M,_[13]=A,_[14]=O,_[15]=B,_[16]=v):v=_[16];let H=I.results?.totalHits??0,z=I.results?.sortItems;return _[17]!==M||_[18]!==A||_[19]!==O||_[20]!==B||_[21]!==H||_[22]!==z?(j=(0,t.jsx)("div",{className:"flex flex-wrap gap-x-4",children:(0,t.jsx)(a.Suspense,{fallback:null,children:(0,t.jsx)(c.MobileFiltersWrapper,{facets:O,hasSelectedFilters:B,numberOfResults:H,sortItems:z,colorTheme:M,displayMode:A})})}),_[17]=M,_[18]=A,_[19]=O,_[20]=B,_[21]=H,_[22]=z,_[23]=j):j=_[23],_[24]!==I.results?.sortItems||_[25]!==I.results?.totalHits?(y=I.results?.totalHits?(0,t.jsx)(a.Suspense,{fallback:null,children:(0,t.jsx)("div",{className:"mb-8 hidden items-center justify-end lg:flex",children:(0,t.jsx)(n.Sorting,{sortItems:I.results?.sortItems})})}):null,_[24]=I.results?.sortItems,_[25]=I.results?.totalHits,_[26]=y):y=_[26],_[27]!==I.errorMessage?(N=I.errorMessage?(0,t.jsx)("p",{children:I.errorMessage}):null,_[27]=I.errorMessage,_[28]=N):N=_[28],_[29]!==I.isAudioListing||_[30]!==I.isProductListing||_[31]!==I.results||_[32]!==D?(w=I.results?(0,t.jsx)(L,{listingResult:I.results,selectItemsTracking:D,isProductListing:I.isProductListing,isAudioListing:
22I.isAudioListing}):null,_[29]=I.isAudioListing,_[30]=I.isProductListing,_[31]=I.results,_[32]=D,_[33]=w):w=_[33],_[34]!==M||_[35]!==I.results?(k=I.results?.paging?.pageCount&&I.results.paging.pageCount>1?(0,t.jsx)(a.Suspense,{fallback:null,children:(0,t.jsx)(i.PaginationModule,{...I.results.paging,totalHits:I.results.totalHits,colorTheme:M})}):null,_[34]=M,_[35]=I.results,_[36]=k):k=_[36],_[37]!==F||_[38]!==f||_[39]!==v||_[40]!==j||_[41]!==y||_[42]!==N||_[43]!==w||_[44]!==k?(C=(0,t.jsxs)("div",{"aria-busy":F,children:[f,v,j,y,N,w,k]}),_[37]=F,_[38]=f,_[39]=v,_[40]=j,_[41]=y,_[42]=N,_[43]=w,_[44]=k,_[45]=C):C=_[45],_[46]!==C||_[47]!==b?(S=(0,t.jsx)("div",{className:"max-w-standard-content-width px-cmx-mobile py-cmy-mobile md:px-cmx-tablet md:py-cmy-tablet lg:px-cmx-desktop lg:py-cmy-desktop relative mx-auto w-full text-black dark:text-white",children:(0,t.jsx)("div",{className:b,children:C})}),_[46]=C,_[47]=b,_[48]=S):S=_[48],_[49]!==S||_[50]!==g?(T=(0,t.jsxs)(t.Fragment,{children:[g,S]}),_[49]=S,_[50]=g,_[51]=T):T=_[51],T}e.s(["ListingResultsClient",0,function({request:e,initialData:s,colorTheme:i=l.DEFAULT_THEME,displayMode:n=l.DEFAULT_MODE}){let o=(0,r.useSearchParams)(),[c,d]=(0,a.useState)(null),[m,u]=(0,a.useState)(!1),h=(0,a.useMemo)(()=>({page:o.get("page")??void 0,hitsPerPage:o.get("hitsPerPage")??void 0,followSearch:o.get("followSearch")??void 0,sortItems:o.get("sortItems")??void 0,filters:o.get("filters")??void 0}),[o]),p=(0,a.useMemo)(()=>Object.values(h).some(Boolean),[h]);(0,a.useEffect)(()=>{if(!p){d(null),u(!1);return}let t=new AbortController;return(async()=>{u(!0);try{let l=await fetch("/api/listing",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({request:e,searchParams:h}),signal:t.signal});if(!l.ok)throw Error(`Listing request failed with ${l.status}`);let r=await l.json();d(r)}catch(e){t.signal.aborted||console.error("Failed to refresh listing results",e)}finally{t.signal.aborted||u(!1)}})(),()=>{t.abort()}},[p,h,e]);let x=p&&c?c:s;return(0,t.jsx)(P,{data:x,colorTheme:i,displayMode:n,isLoading:m})}],46735)},741700,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(675545),a=e.i(867223),s=e.i(227425),i=e.i(291265),n=e.i(236419),o=e.i(365528),c=e.i(464612),d=e.i(661563),m=e.i(689343),u=e.i(975157),h=e.i(356504),p=e.i(387644),x=e.i(130013),g=e.i(271645),b=e.i(234640),f=e.i(403118),v=e.i(126187),j=e.i(876819),y=e.i(429641),N=e.i(271517);let w=()=>{let e,r=(0,l.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"12",viewBox:"0 0 13 12",fill:"none","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M10.9609 9V6C10.9609 3.51472 8.94624 1.5 6.46094 1.5C3.97566 1.5 1.96094 3.51472 1.96094 6V9M3.83594 10.5C3.48745 10.5 3.3132 10.5 3.1683 10.4712C2.57327 10.3528 2.10812 9.88765 1.98976 9.29265C1.96094 9.14775 1.96094 8.9735 1.96094 8.625V7.8C1.96094 7.51995 1.96094 7.37995 2.01543 7.273C2.06337 7.1789 2.13986 7.10245 2.23394 7.0545C2.3409 7 2.48091 7 2.76094 7H3.66094C3.94096 7 4.08098 7 4.18793 7.0545C4.28201 7.10245 4.3585 7.1789 4.40644 7.273C4.46094 7.37995 4.46094 7.51995 4.46094 7.8V9.875C4.46094 9.99115 4.46094 10.0493 4.45133 10.0976C4.41188 10.2959 4.25683 10.451 4.05848 10.4904C4.01018 10.5 3.9521 10.5 3.83594 10.5ZM9.08594 10.5C8.96979 10.5 8.91169 10.5 8.86339 10.4904C8.66504 10.451 8.50999 10.2959 8.47054 10.0976C8.46094 10.0493 8.46094 9.99115 8.46094 9.875V7.8C8.46094 7.51995 8.46094 7.37995 8.51544 7.273C8.56339 7.1789 8.63984 7.10245 8.73394 7.0545C8.84089 7 8.98089 7 9.26094 7H10.1609C10.441 7 10.581 7 10.6879 7.0545C10.782 7.10245 10.8585 7.1789 10.9064 7.273C10.9609 7.37995 10.9609 7.51995 10.9609 7.8V8.625C10.9609 8.9735 10.9609 9.14775 10.9321 9.29265C10.8137 9.88765 10.3486 10.3528 9.75359 10.4712C9.60869 10.5 9.43444 10.5 9.08594 10.5Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})}),r[0]=e):e=r[0],e};var k=e.i(791952),C=e.i(464332),S=e.i(705384),T=e.i(446050),_=e.i(328523),I=e.i(21357);let L=e=>{let r,a,s,i,n,o,m,h,x,b,f,v,j,y,N,w,L,E,P,R,M,A=(0,l.c)(49),{audioSample:F,colorTheme:O,productName:B}=e,D=(0,g.useRef)(null),[V,H]=(0,g.useState)(!1),[z,$]=(0,g.useState)(100),[W,U]=(0,g.useState)(!1),[K,Z]=(0,g.useState)(0),[G,q]=(0,g.useState)(!1);if(A[0]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{D.current&&(D.current.onended=()=>{U(!1),Z(0),H(!1)},D.current.ontimeupdate=()=>{D.current?.currentTime&&D.current.duration&&Z(Number((D.current.currentTime/D.current.duration*100).toFixed(1)))}),"dark"===(0,c.getVisibleMainDisplayMode)()&&q(!0)},a=[],A[0]=r,A[1]=a):(r=A[0],a=A[1]),(0,g.useEffect)(r,a),!F)return null;A[2]!==F?(s=F.split(".").pop(),A[2]=F,A[3]=s):s=A[3];let J=s;A[4]!==W?(i=e=>{if(D.current&&D.current.duration){let t=e/100*D.current.duration;D.current.currentTime=t,Z(e),W||(D.current.play(),U(!0))}},A[4]=W,A[5]=i):i=A[5];let Q=i;A[6]!==O?(n=(0,u.cn)("pb-12 dark:text-white",O),A[6]=O,A[7]=n):n=A[7];let X=`audio/${J}`;A[8]!==F||A[9]!==X?(o=(0,t.jsx)("source",{src:F,type:X}),A[8]=F,A[9]=X,A[10]=o):o=A[10],A[11]===Symbol.for("react.memo_cache_sentinel")?(m=(0,d.t)("audioTeaser.audioNotSupported"),A[11]=m):m=A[11],A[12]!==o?(h=(0,t.jsxs)("audio",{ref:D,suppressHydrationWarning:!0,children:[o,m]}),A[12]=o,A[13]=h):h=A[13];let Y=`conic-gradient(${G?"white":"black"} 0% ${K}%, transparent ${K}% 100%)`;A[14]!==Y?(x={background:Y},A[14]=Y,A[15]=x):x=A[15],A[16]!==O||A[17]!==W||A[18]!==B?(b=W?(0,t.jsxs)(C.Button,{onClick:()=>{D.current?.pause(),U(!1),H(!1),(0,p.sendGTMEvent)({event:"clickHörprobe",eventCategory:"Hörprobe",eventAction:"Pause",eventLabel:B,playDuration:D?.current?.currentTime})},colorTheme:O,variant:"primary",className:"absolute top-0.5 left-0.5 p-2 text-center",disableHoverStyle:!0,children:[(0,t.jsx)(_.Pause,{size:24,"aria-hidden":"true"}),(0,t.jsx)("span",{className:"sr-only",children:(0,d.t)("audioTeaser.pause")})]}):(0,t.jsx)(C.Button,{onClick:()=>{D.current?.play(),(0,p.sendGTMEvent)({event:"clickHörprobe",eventCategory:"Hörprobe",eventAction:"Play",eventLabel:B,playDuration:D?.current?.currentTime}),U(!0)},colorTheme:O,variant:"primary",className:"absolute top-0.5 left-0.5 p-2 text-center",disableHoverStyle:!0,children:(0,t.jsx)(I.Play,{size:24,"aria-hidden":"true"})}),A[16]=O,A[17]=W,A[18]=B,A[19]=b):b=A[19],A[20]!==x||A[21]!==b?(f=(0,t.jsx)("div",{className:"relative h-11 w-11 rounded-full text-center",style:x,children:b}),A[20]=x,A[21]=b,A[22]=f):f=A[22];let ee=!W;return A[23]!==Q||A[24]!==K||A[25]!==ee?(v=(0,t.jsx)("div",{className:"flex max-w-[calc(100vw-128px)] overflow-x-hidden lg:max-w-[436px]",children:(0,t.jsx)(T.AudioVisualization,{progress:K,onSeek:Q,isPaused:ee,isFullScreen:!0})}),A[23]=Q,A[24]=K,A[25]=ee,A[26]=v):v=A[26],A[27]!==z||A[28]!==V?(j=V?(0,t.jsx)(k.Slider,{defaultValue:[z],max:100,orientation:"vertical",className:"absolute bottom-full",onValueChange:e=>{D.current?.volume&&e[0]&&(D.current.volume=e[0]/100,$(e[0]))},name:(0,d.t)("audioTeaser.volumeControl")}):null,A[27]=z,A[28]=V,A[29]=j):j=A[29],A[30]!==V?(y=()=>H(!V),A[30]=V,A[31]=y):y=A[31],A[32]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)(S.VolumeOn,{className:""}),A[32]=N):N=A[32],A[33]===Symbol.for("react.memo_cache_sentinel")?(w=(0,t.jsx)("span",{className:"sr-only",children:(0,d.t)("audioTeaser.volumeControlToggle")}),A[33]=w):w=A[33],A[34]!==y?(L=(0,t.jsxs)("button",{onClick:y,className:"text-ci-supporting dark:text-ci-primary",children:[N,w]}),A[34]=y,A[35]=L):L=A[35],A[36]!==j||A[37]!==L?(E=(0,t.jsxs)("div",{className:"text-ci-primary",children:[j,L]}),A[36]=j,A[37]=L,A[38]=E):E=A[38],A[39]!==f||A[40]!==v||A[41]!==E?(P=(0,t.jsxs)("div",{className:"text-ci-supporting dark:text-ci-primary relative flex items-center gap-2",children:[f,v,E]}),A[39]=f,A[40]=v,A[41]=E,A[42]=P):P=A[42],A[43]!==P||A[44]!==h?(R=(0,t.jsxs)("div",{className:"my-6 lg:my-8",children:[h,P]}),A[43]=P,A[44]=h,A[45]=R):R=A[45],A[46]!==R||A[47]!==n?(M=(0,t.jsx)("div",{className:n,children:R}),A[46]=R,A[47]=n,A[48]=M):M=A[48],M};var E=e.i(422461);let P=()=>{let e,r=(0,l.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("svg",{width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 1.25232C5.5812 0.790978 4.9684 0.5 4.28571 0.5H1.14286C0.511674 0.5 0 0.997461 0 1.61111V8.27778C0 8.89145 0.511674 9.38889 1.14286 9.38889H4.28571C4.71834 9.38889 5.0948 9.62261 5.28886 9.96722C5.4404 10.2364 5.6844
2210.5 6 10.5C6.3156 10.5 6.5596 10.2364 6.71114 9.96722C6.9052 9.62261 7.28166 9.38889 7.71429 9.38889H10.8571C11.4883 9.38889 12 8.89145 12 8.27778V1.61111C12 0.997461 11.4883 0.5 10.8571 0.5H7.71429C7.0316 0.5 6.4188 0.790978 6 1.25232ZM7.71429 1.61111C7.08309 1.61111 6.57143 2.10857 6.57143 2.72222V8.57506C6.9076 8.386 7.29794 8.27778 7.71429 8.27778H10.8571V1.61111H7.71429ZM4.28571 8.27778C4.70205 8.27778 5.0924 8.386 5.42857 8.57506V2.72222C5.42857 2.10857 4.91691 1.61111 4.28571 1.61111H1.14286V8.27778H4.28571Z",fill:"currentColor"})}),r[0]=e):e=r[0],e};var R=e.i(937347);let M=e=>{let r,a,s,i=(0,l.c)(8),{flag:n,className:o}=e,c="bestseller"===n?"bg-error-medium text-white":"bg-neutral-dark text-white";return i[0]!==o||i[1]!==c?(r=(0,u.cn)("relative z-10 rounded-t-md px-2 py-1 text-xs",c,o),i[0]=o,i[1]=c,i[2]=r):r=i[2],i[3]!==n?(a=(0,R.findFlagLabel)(n),i[3]=n,i[4]=a):a=i[4],i[5]!==r||i[6]!==a?(s=(0,t.jsx)("div",{className:r,children:a}),i[5]=r,i[6]=a,i[7]=s):s=i[7],s};var A=e.i(684215);let F=({flags:e,releaseDate:l})=>Object.entries({isNew:(0,A.isNewArticle)(l,(0,A.getTodayUtc)(new Date)),...e}).map(([e,l])=>l?(0,t.jsx)(M,{flag:e},e):null);var O=e.i(238644),B=e.i(758132);function D(e,t){return(e.position??0)-(t.position??0)}function V(){return(0,t.jsx)(a.CloseIcon,{className:"hover:text-ci-primary duration-200"})}function H(){return(0,t.jsx)(i.ZoomInIcon,{className:"hover:text-ci-primary duration-200"})}function z(){return(0,t.jsx)(n.ZoomOutIcon,{className:"hover:text-ci-primary duration-200"})}e.s(["ProductGallery",0,e=>{let a,i,n,k,C,S,T,_,I,R,M,A,$,W,U,K,Z,G,q,J,Q,X,Y,ee,et,el,er,ea,es,ei,en=(0,l.c)(106),{images:eo,cover:ec,readingSample:ed,audioSample:em,productVariant:eu,releaseDate:eh,colorTheme:ep,productName:ex,flags:eg,has3DCover:eb,children:ef}=e,[ev,ej]=(0,g.useState)(0),[ey,eN]=(0,g.useState)(!1),[ew,ek]=(0,g.useState)(0),[eC,eS]=(0,g.useState)(0),[eT,e_]=(0,g.useState)("dark"),[eI,eL]=(0,g.useState)(!1),eE=(0,g.useRef)(null);en[0]===Symbol.for("react.memo_cache_sentinel")?(a={dragFree:!0},en[0]=a):a=en[0];let[eP,eR]=(0,x.default)(a);en[1]!==eR?(i=e=>{let{index:t}=e;eS(t),eR?.scrollTo(t)},en[1]=eR,en[2]=i):i=en[2];let eM=i;if(en[3]===Symbol.for("react.memo_cache_sentinel")?(n=()=>{void 0!==window&&ej(window.innerHeight)},k=[],en[3]=n,en[4]=k):(n=en[3],k=en[4]),(0,g.useEffect)(n,k),en[5]===Symbol.for("react.memo_cache_sentinel")?(C=()=>{"dark"===(0,c.getVisibleMainDisplayMode)()?e_("dark"):e_("light")},S=[],en[5]=C,en[6]=S):(C=en[5],S=en[6]),(0,g.useEffect)(C,S),en[7]!==em||en[8]!==ef||en[9]!==ec||en[10]!==eg||en[11]!==eb||en[12]!==eo||en[13]!==eI||en[14]!==ey||en[15]!==ew||en[16]!==ex||en[17]!==eu||en[18]!==ed||en[19]!==eh||en[20]!==ev){let e,l,a,i,n,c,h,x;en[31]!==ec?(e=e=>e.url!==ec.url,en[31]=ec,en[32]=e):e=en[32];let j=[ec,...eo.filter(e)].sort(D),k=(0,B.formatLightboxImageData)({images:j,windowHeight:ev});en[33]!==eI?(l=e=>{let t=void 0===e.width||null===e.width?200:e.width,l=void 0===e.height||null===e.height?318:e.height;return{type:"image",src:e.url,alt:e.alt,width:eI?415:t,height:l}},en[33]=eI,en[34]=l):l=en[34],_=k.map(l),en[35]!==eu?(a=(0,o.findVariant)(eu),en[35]=eu,en[36]=a):a=en[36];let C=a,S=C===r.IS_AUDIO_BOOK&&em;R="flex flex-col items-center gap-10 py-6 pt-16 lg:col-span-4 lg:col-start-1 lg:row-start-1 lg:pt-[120px]",en[37]===Symbol.for("react.memo_cache_sentinel")?(i=()=>eN(!0),en[37]=i):i=en[37];let L=0===ew?"":"relative block h-[340px] w-full max-w-full",V=C===r.IS_BOOK||C===r.IS_HARD_COVER?"lg:h-[500px]":C===r.IS_E_BOOK?"lg:h-[460px]":"lg:h-[390px] xl:h-[472px]";en[38]!==L||en[39]!==V?(n=(0,u.cn)("relative",L,V),en[38]=L,en[39]=V,en[40]=n):n=en[40],en[41]!==eg||en[42]!==eh?(c=(0,t.jsx)("div",{className:"after:from-ci-primary absolute -top-6 left-2 z-10 flex w-[calc(100%-12px)] gap-2 overflow-x-hidden whitespace-nowrap after:absolute after:right-0 after:bottom-0 after:z-20 after:h-6 after:w-12 after:bg-linear-to-l after:from-40% after:to-transparent after:to-100% after:content-['']",children:(0,t.jsx)(g.Suspense,{fallback:null,children:(0,t.jsx)(F,{flags:eg,releaseDate:eh})})}),en[41]=eg,en[42]=eh,en[43]=c):c=en[43];let H=0===ew?(0,t.jsx)(t.Fragment,{children:eb?(0,t.jsx)("div",{className:(0,u.cn)("relative mx-auto h-[340px] lg:h-[500px]"),style:{aspectRatio:`${j[0]?.width||200} / ${j[0]?.height||318}`},children:(0,t.jsx)(s.Image,{src:j[0]?.url||"/placeholder_general.webp",alt:j[0]?.altText||"",priority:!0,fill:!0,sizes:r.BOOK_COVER_IMAGE_SIZE,
22className:(0,u.cn)(!j[0]?.url&&"bg-placeholder-light dark:bg-placeholder-dark object-cover",!j[0]?.url?.length&&"bg-placeholder-light dark:bg-placeholder-dark")})}):(0,t.jsx)(t.Fragment,{children:C===r.IS_BOOK||C===r.IS_HARD_COVER?(0,t.jsx)(E.BookCover,{src:j[0]?.url||"/placeholder_general.webp",altText:j[0]?.altText||"",width:j[0]?.width||200,height:j[0]?.height||318,isHardcover:C===r.IS_HARD_COVER,className:"h-[340px] lg:h-[500px]",imageClassName:(0,u.cn)(!j[0]?.url&&"object-cover bg-placeholder-light dark:bg-placeholder-dark"),priority:!0,sizes:r.BOOK_COVER_IMAGE_SIZE}):C===r.IS_E_BOOK?(0,t.jsx)(O.EbookCover,{src:j[0]?.url||"/placeholder_general.webp",altText:j[0]?.altText||"",width:j[0]?.width||190,height:j[0]?.height||300,className:"h-[340px] lg:h-[460px]",priority:!0,imageClassName:(0,u.cn)(!j[0]?.url&&"object-cover bg-placeholder-light dark:bg-placeholder-dark"),sizes:r.BOOK_COVER_IMAGE_SIZE}):C===r.IS_AUDIO_BOOK?(0,t.jsx)(N.AudioCover,{src:j[0]?.url||"/placeholder_general.webp",altText:j[0]?.altText||"",width:j[0]?.width||190,height:j[0]?.height||190,className:"h-[340px] lg:h-[390px] xl:h-[472px]",priority:!0,imageClassName:(0,u.cn)(!j[0]?.url&&"object-cover bg-placeholder-light dark:bg-placeholder-dark"),sizes:r.BOOK_COVER_IMAGE_SIZE}):(0,t.jsx)("div",{className:(0,u.cn)("relative mx-auto h-[340px] lg:h-[500px]"),style:{aspectRatio:`${j[0]?.width||200} / ${j[0]?.height||318}`},children:(0,t.jsx)(s.Image,{src:j[0]?.url||"/placeholder_general.webp",alt:j[0]?.altText||"",priority:!0,fill:!0,sizes:r.BOOK_COVER_IMAGE_SIZE,className:(0,u.cn)(!j[0]?.url&&"bg-placeholder-light dark:bg-placeholder-dark object-cover",!j[0]?.url?.length&&"bg-placeholder-light dark:bg-placeholder-dark")})})})}):null,z=j[ew]?.url&&0!==ew?(0,t.jsx)(s.Image,{src:j[ew]?.url||"",alt:j[ew]?.altText||"",className:"h-full w-full object-contain",fill:!0,sizes:"100vw"}):null;en[44]!==n||en[45]!==c||en[46]!==H||en[47]!==z?(M=(0,t.jsxs)("button",{onClick:i,className:n,children:[c,H,z]}),en[44]=n,en[45]=c,en[46]=H,en[47]=z,en[48]=M):M=en[48],A=j?.length>1?(0,t.jsxs)("div",{className:"flex gap-x-2",children:[j.slice(0,4).map((e,l)=>(0,t.jsx)("button",{onClick:()=>ek(l),className:(0,u.cn)(l===ew?"border-ci-primary":"border-transparent","hover:border-neutral-dark dark:hover:border-neutral-light relative h-16 w-16 overflow-clip rounded-sm border-2 duration-200"),children:(0,t.jsx)(s.Image,{src:e.url,fill:!0,sizes:"65px",alt:e.altText,className:"object-cover"})},`thumbnail-${l}`)),j.length>4?(0,t.jsxs)("button",{className:(0,u.cn)("relative h-16 w-16 overflow-clip rounded-sm border border-black opacity-30 duration-200 hover:opacity-100 dark:border-white"),onClick:()=>eN(!0),children:["+ ",j.length-4]}):null]}):null,en[49]!==ex||en[50]!==eu||en[51]!==ed||en[52]!==S?(h=ed&&!S?(0,t.jsx)("div",{className:"flex gap-6",children:(0,t.jsxs)(y.Dialog,{children:[(0,t.jsxs)(y.DialogTrigger,{onClick:()=>(0,p.sendGTMEvent)({event:"clickLeseprobe",eventAction:ex,eventLabel:eu}),className:m.pdpOverlayPillButtonClass,children:[(0,t.jsx)(P,{}),(0,d.t)("product.sneakPeek")]}),(0,t.jsxs)(y.DialogContent,{className:"inset-0! max-w-none translate-x-0! translate-y-0!",children:[(0,t.jsx)(y.DialogTitle,{className:"sr-only",children:(0,d.t)("product.readingSample")}),(0,t.jsx)(y.DialogHeader,{children:(0,t.jsx)(y.DialogDescription,{children:(0,t.jsx)("iframe",{allowFullScreen:!0,allow:"fullscreen; web-share",className:"h-[calc(100dvh-48px)] w-full",src:ed,title:(0,d.t)("product.readingSample")})})})]})]})}):null,en[49]=ex,en[50]=eu,en[51]=ed,en[52]=S,en[53]=h):h=en[53],en[54]!==S?(x=S?(0,t.jsx)("div",{className:"z-10 flex gap-6",children:(0,t.jsxs)("button",{className:m.pdpOverlayPillButtonClass,onClick:()=>{eL(!0),eN(!0)},children:[(0,t.jsx)(w,{}),(0,d.t)("product.audioSample")]})}):null,en[54]=S,en[55]=x):x=en[55],en[56]!==ef||en[57]!==h||en[58]!==x?($=(0,t.jsxs)("div",{className:"flex flex-wrap justify-center gap-2",children:[h,x,ef]}),en[56]=ef,en[57]=h,en[58]=x,en[59]=$):$=en[59],T=b.default,en[60]!==eI?(W=eI?[v.default]:[v.default,f.default],en[60]=eI,en[61]=W):W=en[61],U=ey,en[62]===Symbol.for("react.memo_cache_sentinel")?(K=()=>{eN(!1),eL(!1)},en[62]=K):K=en[62],I=eI?_.slice(0,1):_,en[7]=em,en[8]=ef,en[9]=ec,en[10]=eg,en[11]=eb,en[12]=eo,en[13]=eI,en[14]=ey,en[15]=ew,en[16]=ex,en[17]=eu,en[18]=ed,en[19]=eh,en[20]=ev,en[21]=T,en[22]=_,en[23]=I,en[24]=R,en[25]=M,en[26]=A,en[27]=$,en[28]=W,en[29]=U,en[30]=K}else T=en[21],_=en[22],I=en[23],R=en[24],M=en[25],A=en[26],$=en[27],W=en[28],U=en[29],K=en[30];return en[63]===Symbol.for("react.memo_cache_sentinel")?(Z={finite:!0},G={ref:eE},q={navigation:0},en[63]=Z,en[64]=G,en[65]=q):(Z=en[63],G=en[64],q=en[65]),en[66]!==eM?(J={view:eM},en[66]=eM,en[67]=J):J=en[67],en[68]!==eI?(Q=()=>eI?null:(0,t.jsxs)("div",{className:(0,u.cn)("bg-ci-primary text-ci-supporting absolute left-3 h-10 w-10 -translate-y-10 rounded-full p-2! md:left-16"),
22children:[(0,t.jsx)(h.Chevron,{}),(0,t.jsx)("span",{className:"sr-only",children:(0,d.t)("carousel.previousSlide")})]}),X=()=>eI?null:(0,t.jsxs)("div",{className:(0,u.cn)("bg-ci-primary text-ci-supporting absolute right-3 h-10 w-10 -translate-y-10 rounded-full p-2! md:right-16"),children:[(0,t.jsx)(h.Chevron,{className:"rotate-180"}),(0,t.jsx)("span",{className:"sr-only",children:(0,d.t)("carousel.previousSlide")})]}),en[68]=eI,en[69]=Q,en[70]=X):(Q=en[69],X=en[70]),en[71]!==em||en[72]!==ep||en[73]!==eI||en[74]!==_||en[75]!==eC||en[76]!==eP||en[77]!==ex||en[78]!==eM?(Y=()=>eI?(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-0 flex w-full items-center justify-center",children:(0,t.jsx)(L,{audioSample:em,colorTheme:ep,productName:ex})}):(0,t.jsxs)("div",{className:"absolute inset-x-0 bottom-0 flex h-[112px] w-full items-center justify-center",children:[(0,t.jsx)("nav",{className:(0,u.cn)("gap-x-4",_.length<5?"flex":"hidden md:flex"),children:_.map((e,l)=>(0,t.jsx)("button",{onClick:()=>eM({index:l}),className:(0,u.cn)(l===eC?"border-ci-primary":"border-transparent","hover:border-neutral-dark dark:hover:border-neutral-light relative h-16 w-16 overflow-clip rounded-sm border-2 duration-200"),children:(0,t.jsx)(s.Image,{src:e.src,fill:!0,sizes:"65px",alt:e.alt??"lightbox product image",className:"object-cover"})},l))}),(0,t.jsxs)(j.Carousel,{className:_.length<=1?"hidden":"embla relative overflow-hidden md:hidden",children:[(0,t.jsx)("nav",{className:"max-w-[calc(100vw-24px)] overflow-hidden",ref:eP,children:(0,t.jsx)("ul",{className:(0,u.cn)("flex gap-x-4"),style:{backfaceVisibility:"hidden",touchAction:"pan-y pinch-zoom"},children:_.map((e,l)=>(0,t.jsx)("button",{onClick:()=>eM({index:l}),className:(0,u.cn)(l===eC?"border-ci-primary":"border-transparent","hover:border-neutral-dark dark:hover:border-neutral-light relative block min-h-16 min-w-16 flex-[0_0_64px] shrink-0 overflow-clip rounded-sm border-2 duration-200 last-of-type:pr-16"),children:(0,t.jsx)(s.Image,{src:e.src,fill:!0,sizes:"65px",alt:e.alt??"lightbox product image",className:"object-cover"})},l))})}),(0,t.jsxs)("button",{onClick:()=>eM({index:eC-1}),disabled:eC<=0,className:(0,u.cn)("bg-ci-primary text-ci-supporting absolute top-3 left-3 h-10 w-10 rounded-full p-2! disabled:hidden md:left-16"),children:[(0,t.jsx)(h.Chevron,{}),(0,t.jsx)("span",{className:"sr-only",children:(0,d.t)("carousel.previousSlide")})]}),(0,t.jsxs)("button",{onClick:()=>eM({index:eC+1}),disabled:eC>=_.length-1,className:(0,u.cn)("bg-ci-primary text-ci-supporting absolute top-3 right-3 h-10 w-10 rounded-full p-2! disabled:hidden md:right-16"),children:[(0,t.jsx)(h.Chevron,{className:"rotate-180"}),(0,t.jsx)("span",{className:"sr-only",children:(0,d.t)("carousel.previousSlide")})]})]})]}),en[71]=em,en[72]=ep,en[73]=eI,en[74]=_,en[75]=eC,en[76]=eP,en[77]=ex,en[78]=eM,en[79]=Y):Y=en[79],en[80]!==Q||en[81]!==X||en[82]!==Y?(ee={iconPrev:Q,iconNext:X,iconClose:V,iconZoomIn:H,iconZoomOut:z,controls:Y},en[80]=Q,en[81]=X,en[82]=Y,en[83]=ee):ee=en[83],en[84]!==ep||en[85]!==eT?(et=(0,u.cn)(eT,ep,"bg-neutral-light dark:bg-neutral-dark"),en[84]=ep,en[85]=eT,en[86]=et):et=en[86],en[87]===Symbol.for("react.memo_cache_sentinel")?(el={button:{filter:"none"},toolbar:{width:"100%",display:"flex",alignItems:"center"}},er={maxZoomPixelRatio:10,zoomInMultiplier:2},ea={container:{style:{bottom:"116px",left:"auto",right:"auto",position:"absolute"}}},en[87]=el,en[88]=er,en[89]=ea):(el=en[87],er=en[88],ea=en[89]),en[90]!==T||en[91]!==eC||en[92]!==I||en[93]!==J||en[94]!==ee||en[95]!==et||en[96]!==W||en[97]!==U||en[98]!==K?(es=(0,t.jsx)(T,{plugins:W,open:U,close:K,slides:I,carousel:Z,controller:G,animation:q,index:eC,on:J,render:ee,className:et,styles:el,zoom:er,counter:ea}),en[90]=T,en[91]=eC,en[92]=I,en[93]=J,en[94]=ee,en[95]=et,en[96]=W,en[97]=U,en[98]=K,en[99]=es):es=en[99],en[100]!==R||en[101]!==M||en[102]!==A||en[103]!==$||en[104]!==es?(ei=(0,t.jsxs)("div",{className:R,children:[M,A,$,es]}),en[100]=R,en[101]=M,en[102]=A,en[103]=$,en[104]=es,en[105]=ei):ei=en[105],ei}],741700)},877913,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(464332),a=e.i(661563),s=e.i(975157),i=e.i(356504),n=e.i(155683),o=e.i(387644),c=e.i(271645);e.s(["AffiliateLinksWrapper",0,e=>{let d,m,u,h,p,x,g,b,f=(0,l.c)(18),{colorTheme:v,children:j}=e,[y,N]=(0,c.useState)(!1),[w]=(0,n.useAutoAnimate)();f[0]!==y?(d=()=>{N(!y),(0,o.sendGTMEvent)({event:"click_optionshop"})},f[0]=y,f[1]=d):d=f[1],f[2]===Symbol.for("react.memo_cache_sentinel")?(m=(0,a.t)("product.furtherOptions"),f[2]=m):m=f[2];let k=y?"rotate-90":"rotate-270";f[3]!==k?(u=(0,s.cn)("ml-2 inline h-4 w-4 -translate-y-0.5 transition-transform duration-200",k),f[3]=k,f[4]=u):u=f[4],f[5]!==u?(h=(0,t.jsx)(i.Chevron,{className:u}),f[5]=u,f[6]=h):h=f[6],f[7]!==v||f[8]!==d||f[9]!==h?(p=(0,t.jsxs)(r.Button,{variant:"secondary",colorTheme:v,onClick:d,className:"text-start",children:[m,h]}),f[7]=v,f[8]=d,f[9]=h,f[10]=p):p=f[10],f[11]===Symbol.for("react.memo_cache_sentinel")?(x=(0,s.cn)("relative w-full"),f[11]=x):x=f[11];let C=y?j:null;return f[12]!==w||f[13]!==C?(g=(0,t.jsx)("div",{ref:w,className:x,children:C}),f[12]=w,f[13]=C,f[14]=g):g=f[14],f[15]!==p||f[16]!==g?(b=(0,t.jsxs)(t.Fragment,{children:[p,g]}),f[15]=p,f[16]=g,f[17]=b):b=f[17],b}])},753284,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(675545);let a=e=>{let r,a=(0,l.c)(1);return a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("g",{id:"icon / package",children:(0,t.jsx)("path",{id:"Vector",d:"M4 7.49999L11.6078 3.22061C11.7509 3.14013 11.8224 3.0999 11.8982 3.08413C11.9654 3.07018 12.0346 3.07018 12.1018 3.08413C12.1776 3.0999 12.2491 3.14013 12.3922 3.22061L20 7.49999M4 7.49999V16.0321C4 16.2025 4 16.2876 4.02499 16.3637C4.04711 16.431 4.08326 16.4928 4.13106 16.545C4.1851 16.6041 4.25933 16.6459 4.40779 16.7294L12 21M4 7.49999L12 11.5M20 7.49999V16.0321C20 16.2025 20 16.2876 19.975 16.3637C19.9529 16.431 19.9167 16.4928 19.8689 16.545C19.8149 16.6041 19.7407 16.6459 19.5922 16.7294L12 21M20 7.49999L12 11.5M12 21V11.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),a[0]=r):r=a[0],r};var s=e.i(684215),i=e.i(661563);e.s(["DeliveryTime",0,e=>{let n,o,c,d,m,u,h=(0,l.c)(15),{deliveryTime:p,releaseDate:x,variant:g}=e;h[0]!==x?(n=(0,s.isPreOrder)(x,(0,s.getTodayUtc)(new Date)),h[0]=x,h[1]=n):n=h[1];let b=n;return b||p&&p.name&&"object"==typeof p?(h[2]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(a,{}),h[2]=o):o=h[2],h[3]!==b||h[4]!==g?(c=b?"Hörbuch"===g?(0,i.t)("product.DeliveryStartAudio"):(0,i.t)("product.DeliveryStart"):(0,i.t)("product.DeliveryTime"),h[3]=b,h[4]=g,h[5]=c):c=h[5],h[6]!==p||h[7]!==b||h[8]!==x?(d=b?new Date(x).toLocaleDateString(r.defaultLocale,{day:"2-digit",month:"2-digit",year:"numeric"}):p.name,h[6]=p,h[7]=b,h[8]=x,h[9]=d):d=h[9],h[10]!==d?(m=(0,t.jsx)("span",{className:"font-bold",children:d}),h[10]=d,h[11]=m):m=h[11],h[12]!==c||h[13]!==m?(u=(0,t.jsxs)("div",{className:"mb-8 flex items-center gap-2 text-xs",children:[o,(0,t.jsxs)("p",{children:[c," ",m]})]}),h[12]=c,h[13]=m,h[14]=u):u=h[14],u):null}],753284)},801117,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(464332),a=e.i(223954),s=e.i(661563),i=e.i(975157),n=e.i(271645);e.s(["Description",0,e=>{let o,c,d,m,u,h,p,x,g=(0,l.c)(21),{className:b,colorTheme:f,descriptionHtml:v}
22=e,[j,y]=(0,n.useState)(!1),[N,w]=(0,n.useState)(!0),k=(0,n.useRef)(null);g[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{let e=()=>{if(k.current){let e=k.current?.children?.[0]?.scrollHeight,t=k.current?.children?.[0]?.clientHeight;void 0!==e&&void 0!==t&&(e>t||w(!1))}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},c=[],g[0]=o,g[1]=c):(o=g[0],c=g[1]),(0,n.useEffect)(o,c),g[2]!==b?(d=(0,i.cn)(b),g[2]=b,g[3]=d):d=g[3];let C=j?"mb-16":"mb-10";return g[4]!==C?(m=(0,i.cn)(C),g[4]=C,g[5]=m):m=g[5],g[6]!==v||g[7]!==N||g[8]!==j||g[9]!==m?(u=(0,t.jsx)(a.SanitizedHTML,{isExpanded:j,isClamped:N,html:v,className:m}),g[6]=v,g[7]=N,g[8]=j,g[9]=m,g[10]=u):u=g[10],g[11]!==d||g[12]!==u?(h=(0,t.jsx)("div",{ref:k,className:d,children:u}),g[11]=d,g[12]=u,g[13]=h):h=g[13],g[14]!==f||g[15]!==N||g[16]!==j?(p=N?(0,t.jsx)(r.Button,{variant:"text",colorTheme:f,className:(0,i.cn)("absolute right-0 z-10 p-0 transition-[bottom]",j?"-bottom-6":"bottom-0"),onClick:()=>y(!j),children:j?(0,s.t)("textTeaser.showLess"):(0,s.t)("textTeaser.showMore")}):null,g[14]=f,g[15]=N,g[16]=j,g[17]=p):p=g[17],g[18]!==h||g[19]!==p?(x=(0,t.jsxs)("div",{className:"relative my-2",children:[h,p]}),g[18]=h,g[19]=p,g[20]=x):x=g[20],x}])},929384,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(675545),a=e.i(464332),s=e.i(503226),i=e.i(360080),n=e.i(365528);let o={baumhaus:{href:"/unternehmen/unsere-verlage/baumhaus",external:!1},bastei:{href:"https://bastei.de",external:!0},"bastei verlag":{href:"https://bastei.de",external:!0},beheartbeat:{href:"/unternehmen/unsere-verlage/beheartbeat",external:!1},bethrilled:{href:"/unternehmen/unsere-verlage/bethrilled",external:!1},"community editions":{href:"https://community-editions.de",external:!0},eichborn:{href:"/unternehmen/unsere-verlage/eichborn",external:!1},grau:{href:"/unternehmen/unsere-verlage/grau",external:!1},luebbe:{href:"/unternehmen/unsere-verlage/luebbe",external:!1},"luebbe audio":{href:"/unternehmen/unsere-verlage/luebbe-audio",external:!1},lyx:{href:"https://lyx-verlag.de",external:!0},lübbe:{href:"/unternehmen/unsere-verlage/luebbe",external:!1},"lübbe audio":{href:"/unternehmen/unsere-verlage/luebbe-audio",external:!1},one:{href:"/unternehmen/unsere-verlage/one",external:!1},papertoons:{href:"https://papertoons.de",external:!0},pfaueninsel:{href:"/unternehmen/unsere-verlage/pfaueninsel",external:!1},pola:{href:"/unternehmen/unsere-verlage/pola",external:!1},quadriga:{href:"/unternehmen/unsere-verlage/quadriga",external:!1},shelfie:{href:"https://shelfie.audio",external:!0},"shelfie.audio":{href:"https://shelfie.audio",external:!0}};var c=e.i(661563),d=e.i(975157);let m={image:e=>{let r,a,s=(0,l.c)(3),{className:i}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("path",{d:"M14.5973 15.9375L12.9292 14.2834C12.1243 13.4851 11.7218 13.086 11.26 12.9401C10.8538 12.8118 10.4172 12.8165 10.0139 12.9536C9.55525 13.1095 9.16151 13.5172 8.37405 14.3326L4.37746 18.2801M14.5973 15.9375L14.9387 15.599C15.7446 14.7998 16.1475 14.4002 16.6099 14.2543C17.0165 14.126 17.4534 14.1311 17.857 14.2687C18.3158 14.4251 18.7095 14.8339 19.4968 15.6514L20.3334 16.4934M14.5973 15.9375L18.6084 19.9565M4.37746 18.2801C4.40849 18.5321 4.46133 18.7313 4.55136 18.908C4.7431 19.2843 5.04906 19.5903 5.42539 19.782C5.85321 20 6.41326 20 7.53337 20H17.1334C17.7877 20 18.251 20 18.6084 19.9565M4.37746 18.2801C4.33337 17.9221 4.33337 17.4575 4.33337 16.8V7.2C4.33337 6.0799 4.33337 5.51984 4.55136 5.09202C4.7431 4.71569 5.04906 4.40973 5.42539 4.21799C5.85321 4 6.41326 4 7.53337 4H17.1334C18.2535 4 18.8136 4 19.2414 4.21799C19.6177 4.40973 19.9237 4.71569 20.1154 5.09202C20.3334 5.51984 20.3334 6.0799 20.3334 7.2V16.4934M20.3334 16.4934V16.8C20.3334 17.9201 20.3334 18.4802 20.1154 18.908C19.9237 19.2843 19.6177 19.5903 19.2414 19.782C19.0635 19.8727 18.8627 19.9256 18.6084 19.9565M17.3334 8.99989C17.3334 10.1045 16.438 10.9999 15.3334 10.9999C14.2288 10.9999 13.3334 10.1045 13.3334 8.99989C13.3334 7.89532 14.2288 6.99989 15.3334 6.99989C16.438 6.99989 17.3334 7.89532 17.3334 8.99989Z",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"}),s[0]=r):r=s[0],s[1]!==i?(a=(0,t.jsx)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i,children:r}),s[1]=i,s[2]=a):a=s[2],a},audio:e=>{let r,a,s=(0,l.c)(3),{className:i}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("path",{d:"M19 9V17.8C19 18.9201 19 19.4802 18.782 19.908C18.5903 20.2843 18.2843 20.5903 17.908 20.782C17.4802 21 16.9201 21 15.8 21H8.2C7.07989 21 6.51984 21 6.09202 20.782C5.71569 20.5903 5.40973 20.2843 5.21799 19.908C5 19.4802 5 18.9201 5 17.8V6.2C5 5.07989 5 4.51984 5.21799 4.09202C5.40973 3.71569 5.71569 3.40973 6.09202 3.21799C6.51984 3 7.0799 3 8.2 3H13M19 9L13 3M19 9H16.2C15.0799 9 14.5198 9 14.092 8.78201C13.7157 8.59027 13.4097 8.28431 13.218 7.9
220798C13 7.48016 13 6.9201 13 5.8V3M14.5 13C15.1137 13.4913 15.5 14.2053 15.5 15C15.5 15.7947 15.1137 16.5087 14.5 17M8.5 14H9.83333L11.5 12V18L9.83333 16H8.5V14Z",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"}),s[0]=r):r=s[0],s[1]!==i?(a=(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:i,children:r}),s[1]=i,s[2]=a):a=s[2],a},pdf:e=>{let r,a,s=(0,l.c)(3),{className:i}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("path",{d:"M9.33337 17H15.3334M9.33337 13H15.3334M9.33337 9H10.3334M13.3334 3H8.53337C7.41327 3 6.85321 3 6.42539 3.21799C6.04906 3.40973 5.7431 3.71569 5.55136 4.09202C5.33337 4.51984 5.33337 5.0799 5.33337 6.2V17.8C5.33337 18.9201 5.33337 19.4802 5.55136 19.908C5.7431 20.2843 6.04906 20.5903 6.42539 20.782C6.85321 21 7.41327 21 8.53337 21H16.1334C17.2535 21 17.8136 21 18.2414 20.782C18.6177 20.5903 18.9237 20.2843 19.1154 19.908C19.3334 19.4802 19.3334 18.9201 19.3334 17.8V9M13.3334 3L19.3334 9M13.3334 3V7.4C13.3334 7.96005 13.3334 8.24008 13.4424 8.45399C13.5383 8.64215 13.6912 8.79513 13.8794 8.89101C14.0933 9 14.3733 9 14.9334 9H19.3334",stroke:"currentColor",strokeWidth:"1.75",strokeLinecap:"round",strokeLinejoin:"round"}),s[0]=r):r=s[0],s[1]!==i?(a=(0,t.jsx)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i,children:r}),s[1]=i,s[2]=a):a=s[2],a},download:e=>{let r,a,s=(0,l.c)(3),{className:i}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("g",{id:"icon / download",children:(0,t.jsx)("path",{id:"Vector",d:"M16.7391 17H16.7491M17.1391 14H17.7391C18.671 14 19.1369 14 19.5045 14.1522C19.9945 14.3552 20.3839 14.7446 20.5869 15.2346C20.7391 15.6022 20.7391 16.0681 20.7391 17C20.7391 17.9319 20.7391 18.3978 20.5869 18.7654C20.3839 19.2554 19.9945 19.6448 19.5045 19.8478C19.1369 20 18.671 20 17.7391 20H5.73914C4.80726 20 4.34132 20 3.97377 19.8478C3.48372 19.6448 3.09437 19.2554 2.89138 18.7654C2.73914 18.3978 2.73914 17.9319 2.73914 17C2.73914 16.0681 2.73914 15.6022 2.89138 15.2346C3.09437 14.7446 3.48372 14.3552 3.97377 14.1522C4.34132 14 4.80726 14 5.73914 14H6.33914M11.7391 15V4M11.7391 15L8.73914 12M11.7391 15L14.7391 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),s[0]=r):r=s[0],s[1]!==i?(a=(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i,children:r}),s[1]=i,s[2]=a):a=s[2],a}},u=e=>{let r,a,s=(0,l.c)(5),{contentType:i,className:n}=e;if(!i)return null;let o=m[i];return s[0]!==n?(r=(0,d.cn)("text-ci-supporting dark:text-ci-primary inline-block shrink-0",n),s[0]=n,s[1]=r):r=s[1],s[2]!==o||s[3]!==r?(a=(0,t.jsx)(o,{className:r}),s[2]=o,s[3]=r,s[4]=a):a=s[4],a},h=e=>{let r,a,s,i,n,o,c,m=(0,l.c)(20),{id:h,contentType:p,label:x,size:g,link:b,className:f,colorTheme:v}=e;m[0]!==b?(r=function(e){try{return new URL(e),e}catch{let t=e.replace(/^\/+/,"");return`https://${t}`}}(b),m[0]=b,m[1]=r):r=m[1],m[2]!==f?(a=(0,d.cn)("font-ryker text-flagline tracking-flagline flex items-center gap-2 p-2 uppercase lg:px-4",f),m[2]=f,m[3]=a):a=m[3];let j="one"===v&&"text-ci-supporting!";return m[4]!==j?(s=(0,d.cn)("text-ci! -translate-y-px",j),m[4]=j,m[5]=s):s=m[5],m[6]!==p||m[7]!==s?(i=(0,t.jsx)(u,{contentType:p,className:s}),m[6]=p,m[7]=s,m[8]=i):i=m[8],m[9]!==g?(n=g?`(${Math.round(g/1e3)} KB)`:null,m[9]=g,m[10]=n):n=m[10],m[11]!==x||m[12]!==n?(o=(0,t.jsxs)("span",{children:[x,n]}),m[11]=x,m[12]=n,m[13]=o):o=m[13],m[14]!==h||m[15]!==r||m[16]!==a||m[17]!==i||m[18]!==o?(c=(0,t.jsxs)("a",{href:r,target:"_blank",className:a,children:[i,o]},h),m[14]=h,m[15]=r,m[16]=a,m[17]=i,m[18]=o,m[19]=c):c=m[19],c};var p=e.i(155683),x=e.i(522016),g=e.i(271645);let b="decoration-ci-supporting dark:decoration-ci-primary underline underline-offset-2",f=e=>{let r,a,s=(0,l.c)(18),{value:n,isPublisher:c,href:d}=e;if(!n)return null;if(d){let e;return s[0]!==d||s[1]!==n?(e=(0,t.jsx)("p",{className:"text-sm",children:(0,t.jsx)("a",{href:d,className:b,children:n})}),s[0]=d,s[1]=n,s[2]=e):e=s[2],e}if(!c){let e;return s[3]!==n?(e=(0,t.jsx)("p",{className:"text-sm",children:n}),s[3]=n,s[4]=e):e=s[4],e}if(s[5]!==n){let e;r=(e=n?.trim().toLowerCase())?o[e]??null:null,s[5]=n,s[6]=r}else r=s[6];let m=r;if(!m){let e;return s[7]!==n?(e=(0,t.jsx)("p",{className:"text-sm",children:n}),s[7]=n,s[8]=e):e=s[8],e}if(m.external){let e,l,r;return s[9]!==n?(e=(0,t.jsx)("span",{children:n}),s[9]=n,s[10]=e):e=s[10],s[11]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(i.ExternalLinkIcon,{}),s[11]=l):l=s[11],s[12]!==m.href||s[13]!==e?(r=(0,t.jsx)("p",{className:"text-sm",children:(0,t.jsxs)("a",{href:m.href,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-x-2",children:[e,l]}
22)}),s[12]=m.href,s[13]=e,s[14]=r):r=s[14],r}return s[15]!==m.href||s[16]!==n?(a=(0,t.jsx)("p",{className:"text-sm",children:(0,t.jsx)(x.default,{href:m.href,className:b,children:n})}),s[15]=m.href,s[16]=n,s[17]=a):a=s[17],a};function v(e){let{value:t}=e;return t}function j(e){let{title:l,value:r,isPublisher:a,href:s}=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-1 text-sm font-bold wrap-break-word",children:l}),(0,t.jsx)(f,{value:r,isPublisher:a,href:s})]},l+r)}function y(e){let{title:l,value:r,isPublisher:a,href:s}=e;return(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-1 text-sm font-bold wrap-break-word",children:l}),(0,t.jsx)(f,{value:r,isPublisher:a,href:s})]},l+r)}e.s(["InfoTable",0,e=>{let i,o,d,m,u,x,b,f,N,w,k,C,S=(0,l.c)(47),{imprint:T,variant:_,genre:I,pages:L,duration:E,releaseDate:P,isbnWithDashes:R,cover:M,title:A,id:F,fileSize:O,fileType:B,language:D,discs:V,numberOfTracks:H,ageRecommendation:z,isMerchandise:$,ean:W,ticket:U,colorTheme:K}=e,[Z,G]=(0,g.useState)(!1),[q]=(0,p.useAutoAnimate)();if(U)return null;if(S[0]!==z||S[1]!==K||S[2]!==M||S[3]!==V||S[4]!==E||S[5]!==W||S[6]!==O||S[7]!==B||S[8]!==I||S[9]!==F||S[10]!==T||S[11]!==Z||S[12]!==$||S[13]!==R||S[14]!==D||S[15]!==H||S[16]!==L||S[17]!==q||S[18]!==P||S[19]!==A||S[20]!==_){var J;let{first:e,second:l}=(J=[{title:$?(0,c.t)("product.brand"):(0,c.t)("product.imprint"),value:T,isPublisher:!$},{title:$?(0,c.t)("product.category"):(0,c.t)("product.variant"),value:_},...$?[]:[{title:(0,c.t)("product.genre"),value:I}],{title:(0,c.t)("product.pagesAmount"),value:L?(0,c.t)(1===L?"product.page":"product.pages",{addedSnippets:{count:L}}):null},{title:(0,c.t)("product.duration"),value:E?(0,c.t)(1==E?"product.minute":"product.minutes",{addedSnippets:{count:E}}):null},{title:(0,c.t)("product.fileSize"),value:O?`${O} MB`:void 0},{title:(0,c.t)("product.fileType"),value:B},{title:(0,c.t)("product.cdsAmount"),value:V?(0,c.t)(1==V?"product.cd":"product.cds",{addedSnippets:{count:V}}):null},{title:(0,c.t)("product.tracksAmount"),value:H?String(H):null},...$?[]:[{title:(0,c.t)("product.language"),value:D}],{title:$?(0,c.t)("product.articleNumber"):(0,c.t)("product.isbn"),value:$?W:R},{title:(0,c.t)("product.releaseDate"),value:P?new Date(P).toLocaleDateString(r.defaultLocale,{day:"2-digit",month:"2-digit",year:"numeric"}):null},{title:(0,c.t)("product.ageRecommendation"),value:z},...(0,n.findVariant)(_)===r.IS_E_BOOK?[{title:(0,c.t)("product.accessibility"),value:(0,c.t)("product.accessibilityLink"),href:"https://bastei-luebbe.de/barrierefreiheit"}]:[]].filter(v)).length<=6?{first:J,second:[]}:{first:J.slice(0,6),second:J.slice(6)};u="relative",S[27]===Symbol.for("react.memo_cache_sentinel")?(x=(0,t.jsx)(s.Headline,{type:"h6",className:"mb-4",children:(0,c.t)("product.productInformation")}),S[27]=x):x=S[27],i="",o=q,d=(0,t.jsx)("div",{className:"grid grid-cols-2 gap-x-2 gap-y-6 md:grid-cols-3",children:e&&e.length?e.map(j):null}),m=Z?(0,t.jsxs)("div",{className:"w-full pt-8 pb-12",children:[l&&l.length?(0,t.jsx)("div",{className:"mb-8 grid grid-cols-2 gap-x-2 gap-y-6 md:grid-cols-3",children:l.map(y)}):null,F&&M?.url?(0,t.jsx)(h,{colorTheme:K,id:F,link:M.url.replace(/https:\//g,""),downloadedFileTitle:A?.replaceAll(" ","_")?.replaceAll(".","_"),label:$?(0,c.t)("product.downloadCoverMerchandise"):(0,c.t)("product.downloadCover"),contentType:"download",className:"decoration-ci-supporting dark:decoration-ci-primary p-0! underline underline-offset-2"}):null]}):null,S[0]=z,S[1]=K,S[2]=M,S[3]=V,S[4]=E,S[5]=W,S[6]=O,S[7]=B,S[8]=I,S[9]=F,S[10]=T,S[11]=Z,S[12]=$,S[13]=R,S[14]=D,S[15]=H,S[16]=L,S[17]=q,S[18]=P,S[19]=A,S[20]=_,S[21]=i,S[22]=o,S[23]=d,S[24]=m,S[25]=u,S[26]=x}else i=S[21],o=S[22],d=S[23],m=S[24],u=S[25],x=S[26];return S[28]!==i||S[29]!==o||S[30]!==d||S[31]!==m?(b=(0,t.jsxs)("div",{className:i,ref:o,children:[d,m]}),S[28]=i,S[29]=o,S[30]=d,S[31]=m,S[32]=b):b=S[32],S[33]!==Z?(f=Z?null:(0,t.jsx)("div",{className:"to-neutral-light dark:to-neutral-dark pointer-events-none absolute bottom-0 z-10 h-2/3 w-full bg-linear-to-b from-transparent duration-300 ease-in-out"}),S[33]=Z,S[34]=f):f=S[34],S[35]!==Z?(w=()=>G(!Z),N=Z?(0,c.t)("textTeaser.showLess"):(0,c.t)("textTeaser.showMore"),S[35]=Z,S[36]=N,S[37]=w):(N=S[36],w=S[37]),S[38]!==N||S[39]!==w?(k=(0,t.jsx)(a.Button,{className:"absolute bottom-0 z-20 flex cursor-pointer list-none items-center gap-2 text-center lg:justify-center",variant:"text",onClick:w,children:N}),S[38]=N,S[39]=w,S[40]=k):k=S[40],S[41]!==k||S[42]!==u||S[43]!==x||S[44]!==b||S[45]!==f?(C=(0,t.jsxs)("section",{className:u,children:[x,b,f,k]}),S[41]=k,S[42]=u,S[43]=x,S[44]=b,S[45]=f,S[46]=C):C=S[46],C}],929384)},441782,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(675545),a=e.i(625781),s=e.i(661563),i=e.i(975157),n=e.i(522016);e.s(["Price",0,e=>{let o,c,d,m,u,h,p,x,g,b,f,v,j=(0,l.c)(40),{price:y,salePrice:N,taxRate:w,className:k,currencyCode:C,regulationPrice:S,stickyCart:T}=e,_=void 0===C?"EUR":C,I=T&&!N&&"flex items-center gap-x-1",L=!T&&"mb-8";j[0]!==I||j[1]!==L?(o=(0,i.cn)(I,L,"w-auto"),j[0]=I,j[1]=L,j[2]=o):o=j[2];let E=T?"gap-2":"gap-6";j[3]!==E?(c=(0,i.cn)("flex items-end",E),j[3]=E,j[4]=c):c=j[4];let P=T?"text-lg":"text-h3Mobile lg:text-h3Desktop";j[5]!==k||j[6]!==P?(d=(0,i.cn)(k,P,"font-ryker mb-1"),j[5]=k,j[6]=P,j[7]=d):d=j[7];let R=N||y;j[8]!==_||j[9]!==R?(m=(0,a.formatPrice)({amount:R,currencyCode:_,locale:r.defaultLocale}),j[8]=_,j[9]=R,j[10]=m):m=j[10],j[11]!==m||j[12]!==d?(u=(0,t.jsx)("p",{className:d,children:m}),j[11]=m,j[12]=d,j[13]=u):u=j[13],j[14]!==k||j[15]!==_||j[16]!==y||j[17]!==N||j[18]!==T?(h=N?(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("span",{className:"sr-only",children:(0,s.t)("product.previousPrice")}),(0,t.jsx)("p",{className:(0,i.cn)(k,T?"text-base":"text-h5Mobile lg:text-h5Desktop","font-ryker mb-1 opacity-50"),children:(0,a.formatPrice)({amount:y,currencyCode:_,locale:r.defaultLocale})}),(0,t.jsx)("div",{className:"bg-error-light dark:bg-error-dark absolute top-1/4 left-[6px] h-1 w-3/4 -rotate-20","aria-hidden":"true"})]}):null,j[14]=k,j[15]=_,j[16]=y,j[17]=N,j[18]=T,j[19]=h):h=j[19],j[20]!==u||j[21]!==h||j[22]!==c?(p=(0,t.jsxs)("div",{className:c,children:[u,h]}),j[20]=u,j[21]=h,j[22]=c,j[23]=p):p=j[23];let M=T?"text-[10px]":"text-xs";return j[24]!==M?(x=(0,i.cn)(M,"joined-sublines"),j[24]=M,j[25]=x):x=j[25],j[26]!==T||j[27]!==w?(g=w?T?(0,t.jsx)("span",{children:`${(0,s.t)("product.includingTaxes")}`}):(0,t.jsxs)("span",{className:"block max-w-[500px]",children:["Alle Preise inkl. ",w,"% gesetzl. Mehrwertsteuer zzgl."," ",(0,t.jsx)(n.default,{href:"/agb#preise-versandkosten",className:"decoration-ci-supporting dark:decoration-ci-primary underline underline-offset-2",children:"Versandkosten"})," ","und ggf. Nachnahmegebühren, wenn nicht anders angegeben."]}):null,j[26]=T,j[27]=w,j[28]=g):g=j[28],j[29]!==_||j[30]!==S?(b=S?(0,t.jsx)("span",{children:(0,s.t)("product.lowestPrice",{addedSnippets:{price:(0,a.formatPrice)({amount:S,currencyCode:_,locale:r.defaultLocale})}})}):null,j[29]=_,j[30]=S,j[31]=b):b=j[31],j[32]!==x||j[33]!==g||j[34]!==b?(f=(0,t.jsxs)("p",{className:x,children:[g,b]}),j[32]=x,j[33]=g,j[34]=b,j[35]=f):f=j[35],j[36]!==p||j[37]!==f||j[38]!==o?(v=(0,t.jsxs)("div",{className:o,children:[p,f]}),j[36]=p,j[37]=f,j[38]=o,j[39]=v):v=j[39],v}])},488213,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(696085),a=e.i(661563),s=e.i(975157),i=e.i(271645),n=e.i(716327);let o=e=>{let r,i,o,c,d,m,u=(0,l.c)(14),{productName:h,isOpen:p,onToggle:x,className:g}=e;u[0]!==g?(r=(0,s.cn)("w-full px-6 py-4 md:w-fit","focus-visible:ring-outline rounded-button border-ci-primary font-ryker tracking-flagline text-ci-primary hover:bg-ci-primary hover:text-ci-contrast relative flex h-12 items-center justify-center gap-2 border bg-transparent text-sm font-bold uppercase transition-all duration-200 ease-in-out hover:rounded-sm focus:rounded-sm focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden active:rounded-sm",g),u[0]=g,u[1]=r):r=u[1],u[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,a.t)("backInStock.buttonText"),u[2]=i):i=u[2];let b=`${i} - ${h}`;u[3]===Symbol.for("react.memo_cache_sentinel")?(o=(0,a.t)("backInStock.buttonText"),u[3]=o):o=u[3];let f=p&&"rotate-180";return u[4]!==f?(c=(0,s.cn)("h-4 w-4 shrink-0 transition-transform duration-200",f),u[4]=f,u[5]=c):c=u[5],u[6]!==c?(d=(0,t.jsx)(n.ChevronDown,{className:c}),u[6]=c,u[7]=d):d=u[7],u[8]!==p||u[9]!==x||u[10]!==r||u[11]!==b||u[12]!==d?(m=(0,t.jsxs)("button",{onClick:x,className:r,type:"button","aria-expanded":p,"aria-controls":"back-in-stock-form","aria-label":b,children:[o,d]}),u[8]=p,u[9]=x,u[10]=r,u[11]=b,u[12]=d,u[13]=m):m=u[13],m};
22var c=e.i(96359),d=e.i(674031),m=e.i(103812),u=e.i(464332),h=e.i(95187);let p=(0,h.createServerReference)("40f86ea4bf187141594cf87132b8f8054ca4e66951",h.callServer,void 0,h.findSourceMapURL,"subscribeBackInStock");var x=e.i(829100),g=e.i(681307);let b=g.z.object({name:g.z.string().optional(),email:g.z.string().email({message:(0,a.t)("validation.email")}).min(1,(0,a.t)("validation.emailRequired")),gdpr:g.z.boolean().refine(e=>e,{message:(0,a.t)("validation.gdpr")}),productId:g.z.string(),honeypot:g.z.string()}),f=(0,e.i(456420).default)("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var v=e.i(689664),j=e.i(522016);let y=({productId:e,onClose:l,colorTheme:r})=>{let[s,n]=(0,i.useState)(!1),[o,h]=(0,i.useState)(!1),[g,y]=(0,i.useState)(!1),N=(0,x.useZodForm)({schema:b,mode:"onBlur",defaultValues:{name:"",email:"",gdpr:!1,productId:e,honeypot:""}}),{handleSubmit:w,reset:k,formState:{errors:C}}=N,S=Object.keys(C).length,T=(0,a.t)("backInStock.gdprLabel"),_="Datenschutzerklärung",[I,...L]=T.split(_),E=L.join(_),P=async e=>{if(!e.honeypot){y(!0);try{(await p({name:e.name??"",email:e.email,productId:e.productId})).success?(n(!0),h(!1),k()):(n(!1),h(!0))}catch(e){console.error("Back in stock form error:",e),n(!1),h(!0)}finally{y(!1)}}};return s?(0,t.jsxs)("div",{className:"flex w-full flex-col items-center gap-4 py-4 text-center",children:[(0,t.jsx)("div",{className:"flex h-8 w-8 items-center justify-center",children:(0,t.jsx)(v.Check,{className:"text-success-light dark:text-success-dark h-8 w-8",strokeWidth:1.5})}),(0,t.jsx)("p",{className:"font-ryker dark:text-midgrey text-[19.2px] leading-none font-normal text-black uppercase",role:"alert",children:(0,a.t)("backInStock.successTitle")}),(0,t.jsx)("p",{className:"dark:text-midgrey text-base leading-normal text-black",children:(0,a.t)("backInStock.successDescription")}),l&&(0,t.jsx)("button",{type:"button",onClick:l,className:"dark:text-midgrey text-base font-bold text-black underline",children:(0,a.t)("backInStock.closeButton")})]}):o?(0,t.jsxs)("div",{className:"flex w-full flex-col items-center gap-4 py-4 text-center",children:[(0,t.jsx)("div",{className:"flex h-8 w-8 items-center justify-center",children:(0,t.jsx)(f,{className:"text-error-light dark:text-error-dark h-8 w-8",strokeWidth:1.5})}),(0,t.jsx)("p",{className:"font-ryker dark:text-midgrey text-[19.2px] leading-none font-normal text-black uppercase",role:"alert",children:(0,a.t)("backInStock.errorTitle")}),(0,t.jsx)("p",{className:"dark:text-midgrey text-base leading-normal text-black",children:(0,a.t)("backInStock.errorDescription")}),(0,t.jsx)("button",{type:"button",onClick:()=>{h(!1)},className:"dark:text-midgrey text-base font-bold text-black underline",children:(0,a.t)("backInStock.retryButton")})]}):(0,t.jsx)(d.Form,{...N,children:(0,t.jsxs)("form",{onSubmit:w(P),className:"flex w-full flex-col gap-4",children:[(0,t.jsx)(d.FormField,{control:N.control,name:"name",render:({field:e})=>(0,t.jsxs)(d.FormItem,{children:[(0,t.jsx)(d.FormLabel,{className:"dark:text-midgrey text-sm font-bold text-black",children:(0,a.t)("backInStock.nameLabel")}),(0,t.jsx)(d.FormControl,{children:(0,t.jsx)(m.Input,{placeholder:(0,a.t)("backInStock.namePlaceholder"),...e,error:C.name&&Object.keys(C.name).length>0,isNeutralTheme:!0,className:"bg-white"})}),(0,t.jsx)(d.FormMessage,{})]})}),(0,t.jsx)(d.FormField,{control:N.control,name:"email",render:({field:e})=>(0,t.jsxs)(d.FormItem,{children:[(0,t.jsx)(d.FormLabel,{className:"dark:text-midgrey text-sm font-bold text-black",children:(0,a.t)("backInStock.emailLabel")}),(0,t.jsx)(d.FormControl,{children:(0,t.jsx)(m.Input,{placeholder:(0,a.t)("backInStock.emailPlaceholder"),type:"email",hasIcon:!0,...e,error:C.email&&Object.keys(C.email).length>0,isNeutralTheme:!0,className:"bg-white"})}),(0,t.jsx)(d.FormMessage,{})]})}),(0,t.jsx)(d.FormField,{control:N.control,name:"gdpr",render:({field:e})=>(0,t.jsxs)(d.FormItem,{className:"flex flex-row items-start gap-3",children:[(0,t.jsx)(d.FormControl,{children:(0,t.jsx)(c.Checkbox,{checked:e.value,onCheckedChange:e.onChange,error:C.gdpr&&Object.keys(C.gdpr).length>0,isNeutralTheme:!0})}),(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)(d.FormLabel,{className:"dark:text-midgrey text-base leading-normal font-light text-black",children:T.includes(_)?(0,t.jsxs)(t.Fragment,{children:[I,(0,t.jsx)(j.default,{href:"/datenschutzerklaerung",className:"hover:text-ci-strong underline",children:_}),E]}):T}),(0,t.jsx)(d.FormMessage,{})]})]})}),(0,t.jsxs)("div",{className:"importantInfo",children:[(0,t.jsx)("label",{htmlFor:"honeypot",children:(0,a.t)("cleverReachFields.lastName")}
22),(0,t.jsx)("input",{type:"text","aria-label":(0,a.t)("cleverReachFields.honeypotNote"),autoComplete:"off",placeholder:(0,a.t)("cleverReachFields.honeypotNote"),...N.register("honeypot"),id:"honeypot"})]}),(0,t.jsx)(u.Button,{variant:"primary",colorTheme:r,disabled:S>0||g,type:"submit",className:"w-full",children:g?(0,a.t)("backInStock.submitting"):(0,a.t)("backInStock.submitButton")})]})})},N=e=>{let r,n,c,d,m,u,h,p,x,g,b,f,v,j,N=(0,l.c)(35),{preOrder:w,productId:k,productName:C,colorTheme:S,className:T}=e,[_,I]=(0,i.useState)(!1);N[0]!==T?(r=(0,s.cn)("bg-neutral-light dark:bg-neutral-dark flex w-full flex-col gap-6 p-6 md:gap-8 md:p-8",T),N[0]=T,N[1]=r):r=N[1],N[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,s.cn)("font-ryker text-ci-primary text-[33.2px] leading-none font-normal"),N[2]=n):n=N[2],N[3]!==w?(c=w?(0,a.t)("backInStock.preOrderTitle"):(0,a.t)("backInStock.outOfStockTitle"),N[3]=w,N[4]=c):c=N[4],N[5]!==c?(d=(0,t.jsx)("h3",{className:n,children:c}),N[5]=c,N[6]=d):d=N[6],N[7]!==w?(m=w?(0,a.t)("backInStock.preOrderSubtitle"):(0,a.t)("backInStock.outOfStockSubtitle"),N[7]=w,N[8]=m):m=N[8],N[9]!==m?(u=(0,t.jsx)("p",{className:"font-ryker text-neutral-dark dark:text-neutral-light text-[19.2px] leading-none font-normal",children:m}),N[9]=m,N[10]=u):u=N[10],N[11]!==d||N[12]!==u?(h=(0,t.jsxs)("div",{className:"flex flex-col gap-4 uppercase",children:[d,u]}),N[11]=d,N[12]=u,N[13]=h):h=N[13],N[14]!==_?(p=()=>I(!_),N[14]=_,N[15]=p):p=N[15],N[16]!==S||N[17]!==_||N[18]!==C||N[19]!==p?(x=(0,t.jsx)(o,{productName:C,isOpen:_,onToggle:p,colorTheme:S}),N[16]=S,N[17]=_,N[18]=C,N[19]=p,N[20]=x):x=N[20];let L=_?"grid-rows-[1fr] opacity-100":"grid-rows-[0fr] opacity-0";return N[21]!==L?(g=(0,s.cn)("w-full","grid transition-all duration-300 ease-in-out",L),N[21]=L,N[22]=g):g=N[22],N[23]===Symbol.for("react.memo_cache_sentinel")?(b=()=>I(!1),N[23]=b):b=N[23],N[24]!==S||N[25]!==k?(f=(0,t.jsx)("div",{className:"-mx-1 overflow-hidden px-1",children:(0,t.jsx)(y,{productId:k,onClose:b,colorTheme:S})}),N[24]=S,N[25]=k,N[26]=f):f=N[26],N[27]!==g||N[28]!==f?(v=(0,t.jsx)("div",{id:"back-in-stock-form",className:g,children:f}),N[27]=g,N[28]=f,N[29]=v):v=N[29],N[30]!==r||N[31]!==v||N[32]!==h||N[33]!==x?(j=(0,t.jsxs)("div",{className:r,children:[h,x,v]}),N[30]=r,N[31]=v,N[32]=h,N[33]=x,N[34]=j):j=N[34],j};var w=e.i(684215);e.s(["PurchaseAction",0,e=>{let a,s,i=(0,l.c)(14),{buyButtonState:n,colorTheme:o,isPhysical:c,productId:d,productName:m,productNumber:u,releaseDate:h,reservable:p,ticket:x}=e;i[0]!==h?(a=(0,w.isPreOrder)(h,(0,w.getTodayUtc)(new Date)),i[0]=h,i[1]=a):a=i[1];let g=a;if("disabled"===n){let e;return i[2]!==o||i[3]!==g||i[4]!==d||i[5]!==m?(e=(0,t.jsx)(N,{preOrder:g,productId:d,productName:m,colorTheme:o}),i[2]=o,i[3]=g,i[4]=d,i[5]=m,i[6]=e):e=i[6],e}let b=n||"disabled",f=!x&&!1===c&&g;return i[7]!==d||i[8]!==u||i[9]!==p||i[10]!==b||i[11]!==f||i[12]!==x?(s=(0,t.jsx)(r.AddToCartButton,{productId:d,productNumber:u,buyButtonState:b,digitalPreorder:f,ticket:x,reservable:p}),i[7]=d,i[8]=u,i[9]=p,i[10]=b,i[11]=f,i[12]=x,i[13]=s):s=i[13],s}],488213)},317650,e=>{"use strict";var t=e.i(843476),l=e.i(500932);let r=e=>{let r,a,s=(0,l.c)(3),{className:i}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("path",{d:"M13.8334 5.33337L9.83337 26.6667M23.1667 5.33337L19.1667 26.6667M7.16671 10.6667H27.1667M5.83337 21.3334H25.8334",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),s[0]=r):r=s[0],s[1]!==i?(a=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"32",viewBox:"0 0 33 32",fill:"none","aria-hidden":"true",className:i,children:r}),s[1]=i,s[2]=a):a=s[2],a};var a=e.i(297437),s=e.i(975157),i=e.i(522016),n=e.i(271645);e.s(["TagCloud",0,e=>{let o,c,d,m,u,h=(0,l.c)(14),{tagCloud:p,className:x,colorTheme:g}=e,b=(0,n.useRef)(null),f=(0,a.useClientMediaQuery)("(max-width: 767px)");if(h[0]!==f||h[1]!==p.length?(o=()=>{let e=5*p.length;f&&e>6&&b&&b.current&&(b.current.style.width=`${180*e/3}px`)},c=[f,p.length],h[0]=f,h[1]=p.length,h[2]=o,h[3]=c):(o=h[2],c=h[3]),(0,n.useEffect)(o,c),h[4]!==x?(d=(0,s.cn)("mb-4 flex max-h-[152px] flex-wrap gap-x-2 gap-y-4 md:max-h-none md:gap-6",x),h[4]=x,h[5]=d):d=h[5],h[6]!==g||h[7]!==p){let e;h[9]!==g?(e=(e,l)=>{let a=`/buecher/${e.trim().replaceAll(/[ä]/g,"ae").replaceAll(/[ö]/g,"oe").replaceAll(/[ü]/g,"ue").replaceAll(/Ã/g,"ss").replaceAll(" ","-").replaceAll("/","-").replaceAll("+","").replaceAll("'","").replaceAll("â","").toLowerCase()}`;return(0,t.jsx)("li",{className:"group/tag relative",children:(0,t.jsxs)(i.default,{href:a,className:"bg-ci-primary font-ryker text-subline dark:bg-ci-supporting flex items-center gap-1 rounded-full py-1 pr-4 pl-2",children:[(0,t.jsx)(r,{className:"text-ci-supporting dark:text-ci-primary h-8 w-8 p-0.5 transition-all duration-300 ease-in-out group-hover/tag:p-0"}),(0,t.jsx)("p",{className:(0,s.cn)("text-black/70 transition-all duration-300 ease-in-out group-hover/tag:text-black dark:text-white/70 dark:group-hover/tag:text-white","pink"===g&&"text-white/70 group-hover/tag:text-white dark:text-black/70 dark:group-hover/tag:text-black"),children:e})]})},`${e}-${l}-1`)},h[9]=g,h[10]=e):e=h[10],m=p.map(e),h[6]=g,h[7]=p,h[8]=m}else m=h[8];return h[11]!==d||h[12]!==m?(u=(0,t.jsx)("div",{className:"relative overflow-x-scroll overflow-y-hidden md:max-w-none md:overflow-auto",children:(0,t.jsx)("ul",{className:d,ref:b,children:m})}),h[11]=d,h[12]=m,h[13]=u):u=h[13],u}
22],317650)},372197,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(464332),a=e.i(503226),s=e.i(661563),i=e.i(975157),n=e.i(155683),o=e.i(716327),c=e.i(271645),d=e.i(544821);e.s(["TriggerWarning",0,e=>{let m,u,h,p,x,g,b,f=(0,l.c)(17),{triggerWarning:v}=e,[j,y]=(0,c.useState)(!1),[N]=(0,n.useAutoAnimate)();if(!v||!v.length)return null;f[0]!==j?(m=()=>y(!j),f[0]=j,f[1]=m):m=f[1],f[2]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)(a.Headline,{type:"h6",children:(0,s.t)("product.triggerWarning")}),f[2]=u):u=f[2];let w=j&&"-rotate-180";return f[3]!==w?(h=(0,i.cn)("inline-block transition-all duration-300",w),f[3]=w,f[4]=h):h=f[4],f[5]!==h?(p=(0,t.jsx)(o.ChevronDown,{className:h,size:24,"aria-hidden":"true"}),f[5]=h,f[6]=p):p=f[6],f[7]!==m||f[8]!==p?(x=(0,t.jsxs)(r.Button,{className:"mb-2 flex cursor-pointer list-none items-center gap-2 text-center",variant:"text",onClick:m,children:[u,p]}),f[7]=m,f[8]=p,f[9]=x):x=f[9],f[10]!==j||f[11]!==v?(g=j?(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,d.default)(v)},className:"w-full text-sm italic"}):null,f[10]=j,f[11]=v,f[12]=g):g=f[12],f[13]!==N||f[14]!==x||f[15]!==g?(b=(0,t.jsxs)("div",{className:"relative mb-6 w-full md:mb-8",ref:N,children:[x,g]}),f[13]=N,f[14]=x,f[15]=g,f[16]=b):b=f[16],b}])},617927,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(805760),a=e.i(661563),s=e.i(975157),i=e.i(651951);e.s(["ReservationBadge",0,function(e){let n,o,c,d,m,u,h,p,x,g=(0,l.c)(18),{className:b,isReserved:f}=e,v=void 0!==f&&f;g[0]!==v?(n=v?(0,a.t)("reservation.badgeTextReserved"):(0,a.t)("reservation.badgeTextDefault"),g[0]=v,g[1]=n):n=g[1];let j=n;g[2]!==v?(o=v?(0,a.t)("reservation.tooltipTextReserved"):(0,a.t)("reservation.tooltipTextDefault"),g[2]=v,g[3]=o):o=g[3];let y=o;return g[4]!==b?(c=(0,s.cn)("relative inline-flex",b),g[4]=b,g[5]=c):c=g[5],g[6]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("span",{className:"bg-ci-primary flex size-10 shrink-0 items-center justify-center rounded-full",children:(0,t.jsx)(i.Timer,{className:"text-ci-supporting size-6",strokeWidth:2})}),g[6]=d):d=g[6],g[7]!==j?(m=(0,t.jsx)("span",{className:"text-sm leading-[1.4] font-light text-white",children:j}),g[7]=j,g[8]=m):m=g[8],g[9]===Symbol.for("react.memo_cache_sentinel")?(u=(0,a.t)("reservation.infoAriaLabel"),g[9]=u):u=g[9],g[10]!==y?(h=(0,t.jsx)(r.InfoHint,{ariaLabel:u,content:y,mobileIconClassName:"text-ci-primary",desktopIconClassName:"text-ci-primary hover:opacity-80"}),g[10]=y,g[11]=h):h=g[11],g[12]!==m||g[13]!==h?(p=(0,t.jsxs)("div",{className:"rounded-button bg-neutral-dark inline-flex items-center gap-2 pr-4 dark:bg-white/15",children:[d,m,h]}
22),g[12]=m,g[13]=h,g[14]=p):p=g[14],g[15]!==c||g[16]!==p?(x=(0,t.jsx)("div",{className:c,children:p}),g[15]=c,g[16]=p,g[17]=x):x=g[17],x}])},827809,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(464332),a=e.i(661563),s=e.i(155683),i=e.i(271645),n=e.i(279440);e.s(["ExpandableReviews",0,e=>{let o,c,d,m,u,h,p,x=(0,l.c)(26),{reviews:g,appliedTheme:b}=e,[f,v]=(0,i.useState)(0),[j]=(0,s.useAutoAnimate)();if(!g||!g?.length)return null;if(x[0]!==b||x[1]!==g||x[2]!==f){let e;x[4]!==b?(e=(e,l)=>e.points&&e.content?(0,t.jsx)(n.Review,{...e,colorTheme:b},`expandable_${e.id}_${l}`):null,x[4]=b,x[5]=e):e=x[5],o=g.slice(0,f).map(e),x[0]=b,x[1]=g,x[2]=f,x[3]=o}else o=x[3];return x[6]!==g.length?(c=()=>v(e=>e>=g.length?0:e+4),x[6]=g.length,x[7]=c):c=x[7],x[8]!==g.length||x[9]!==f?(d=f<g?.length?(0,a.t)("textTeaser.showMore"):(0,a.t)("textTeaser.showLess"),x[8]=g.length,x[9]=f,x[10]=d):d=x[10],x[11]!==b||x[12]!==c||x[13]!==d?(m=(0,t.jsx)(r.Button,{variant:"text",colorTheme:b,onClick:c,children:d}),x[11]=b,x[12]=c,x[13]=d,x[14]=m):m=x[14],x[15]!==b||x[16]!==g.length||x[17]!==f?(u=f<g?.length&&f>0?(0,t.jsx)(r.Button,{variant:"text",colorTheme:b,onClick:()=>v(0),children:(0,a.t)("textTeaser.showLess")}):null,x[15]=b,x[16]=g.length,x[17]=f,x[18]=u):u=x[18],x[19]!==m||x[20]!==u?(h=(0,t.jsxs)("div",{className:"col-start-1 flex gap-x-4",children:[m,u]}),x[19]=m,x[20]=u,x[21]=h):h=x[21],x[22]!==j||x[23]!==o||x[24]!==h?(p=(0,t.jsxs)("div",{className:"my-8 grid grid-cols-1 gap-10 md:col-span-2 md:grid-cols-2 md:gap-8",ref:j,children:[o,h]}),x[22]=j,x[23]=o,x[24]=h,x[25]=p):p=x[25],p}])},279440,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(181024),a=e.i(675545),s=e.i(464332),i=e.i(503226),n=e.i(227425),o=e.i(223954);let c=e=>{let r,a,s=(0,l.c)(3),{className:i}=e;return s[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)("path",{d:"M5 21C5 17.134 8.13401 14 12 14C15.866 14 19 17.134 19 21M16 7C16 9.20914 14.2091 11 12 11C9.79086 11 8 9.20914 8 7C8 4.79086 9.79086 3 12 3C14.2091 3 16 4.79086 16 7Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),s[0]=r):r=s[0],s[1]!==i?(a=(0,t.jsx)("svg",{className:i,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:r}),s[1]=i,s[2]=a):a=s[2],a};var d=e.i(661563),m=e.i(975157),u=e.i(271645);e.s(["Review",0,e=>{let h,p,x,g,b,f,v,j,y,N,w,k,C,S,T,_,I,L=(0,l.c)(42),{points:E,content:P,title:R,createdAt:M,colorTheme:A,externalUser:F,externalUserImageUrl:O,source:B}=e,[D,V]=(0,u.useState)(!1),[H,z]=(0,u.useState)(!1),$=(0,u.useRef)(null);if(L[0]!==B)h="LB"===B?(0,d.t)("product.reviewSourceLovelyBooks",{language:void 0}):null==B?(0,d.t)("product.reviewSourceLesejury",{language:void 0}):null,L[0]=B,L[1]=h;else h=L[1];let W=h;(L[2]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{let e=()=>{if($.current){let e=$.current?.children?.[0]?.scrollHeight,t=$.current?.children?.[0]?.clientHeight;void 0!==e&&void 0!==t&&e>t&&z(!0)}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},x=[],L[2]=p,L[3]=x):(p=L[2],x=L[3]),(0,u.useEffect)(p,x),L[4]===Symbol.for("react.memo_cache_sentinel")?(g=(0,m.cn)("relative col-span-1 grid h-fit grid-cols-1 gap-5 p-2 pb-0 md:p-6 md:pb-0"),L[4]=g):g=L[4],L[5]!==E?(b=E?(0,t.jsx)(r.Stars,{rating:E,id:"single-review"}):null,L[5]=E,L[6]=b):b=L[6],L[7]!==b?(f=(0,t.jsx)("span",{children:b}),L[7]=b,L[8]=f):f=L[8],L[9]!==M?(v=M?new Date(M).toLocaleDateString(a.defaultLocale,{day:"2-digit",month:"2-digit",year:"numeric"}):null,L[9]=M,L[10]=v):v=L[10],L[11]!==f||L[12]!==v?(j=(0,t.jsxs)("div",{className:"mb-2 flex justify-between",children:[f,v]}),L[11]=f,L[12]=v,L[13]=j):j=L[13],L[14]!==R?(y=(0,t.jsx)(i.Headline,{type:"h6",children:R}),L[14]=R,L[15]=y):y=L[15],L[16]!==P||L[17]!==H||L[18]!==D)?(N=P?(0,t.jsx)("div",{ref:$,children:(0,t.jsx)(o.SanitizedHTML,{isExpanded:D,isClamped:H,html:P.replace(/\*(.*?)\*/gm,"<strong>$1</strong>"),className:(0,m.cn)(D?"line-clamp-0":"line-clamp-3")})}):null,L[16]=P,L[17]=H,L[18]=D,L[19]=N):N=L[19],L[20]!==N||L[21]!==j||L[22]!==y?(w=(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[j,y,N]}),L[20]=N,L[21]=j,L[22]=y,L[23]=w):w=L[23],L[24]!==A||L[25]!==H||L[26]!==D?(k=H?(0,t.jsx)(s.Button,{variant:"text",colorTheme:A,className:(0,m.cn)("absolute right-0 z-10 pr-2 transition-[bottom] md:pr-6",D?"-bottom-6":"bottom-0"),onClick:()=>V(!D),children:D?(0,d.t)("textTeaser.showLess"):(0,d.t)("textTeaser.showMore")}):null,L[24]=A,L[25]=H,L[26]=D,L[27]=k):k=L[27],L[28]!==w||L[29]!==k?(C=(0,t.jsxs)("div",{className:"relative",children:[w,
22k]}),L[28]=w,L[29]=k,L[30]=C):C=L[30],L[31]!==O?(S=(0,t.jsx)("div",{className:"bg-ci-primary text-ci-supporting relative aspect-square w-8 overflow-clip rounded-full",children:O?(0,t.jsx)(n.Image,{src:O,unoptimized:!0,alt:"User Image",fill:!0,className:"object-cover"}):(0,t.jsx)(c,{className:"h-8 w-8"})}),L[31]=O,L[32]=S):S=L[32];let U=F&&W?` / ${W}`:null;return L[33]!==F||L[34]!==U?(T=(0,t.jsxs)("p",{children:[F,U]}),L[33]=F,L[34]=U,L[35]=T):T=L[35],L[36]!==S||L[37]!==T?(_=(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[S,T]}),L[36]=S,L[37]=T,L[38]=_):_=L[38],L[39]!==C||L[40]!==_?(I=(0,t.jsxs)("div",{className:g,children:[C,_]}),L[39]=C,L[40]=_,L[41]=I):I=L[41],I}],279440)},696085,e=>{"use strict";var t=e.i(843476),l=e.i(321639),r=e.i(95187);let a=(0,r.createServerReference)("6029cbc46076b9c05279cef2203488b6de3f68b1ea",r.callServer,void 0,r.findSourceMapURL,"addItem");var s=e.i(242360),i=e.i(387362),n=e.i(746852),o=e.i(518306),c=e.i(975157),d=e.i(618566),m=e.i(271645),u=e.i(500932);let h=e=>{let l,r,a=(0,u.c)(3),{className:s}=e;return a[0]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)("path",{d:"M9 11V6C9 4.34315 10.3431 3 12 3C13.6569 3 15 4.34315 15 6V10.9673M10.4 21H13.6C15.8402 21 16.9603 21 17.816 20.564C18.5686 20.1805 19.1805 19.5686 19.564 18.816C20 17.9603 20 16.8402 20 14.6V12.2C20 11.0799 20 10.5198 19.782 10.092C19.5903 9.71569 19.2843 9.40973 18.908 9.21799C18.4802 9 17.9201 9 16.8 9H7.2C6.0799 9 5.51984 9 5.09202 9.21799C4.71569 9.40973 4.40973 9.71569 4.21799 10.092C4 10.5198 4 11.0799 4 12.2V14.6C4 16.8402 4 17.9603 4.43597 18.816C4.81947 19.5686 5.43139 20.1805 6.18404 20.564C7.03968 21 8.15979 21 10.4 21Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),a[0]=l):l=a[0],a[1]!==s?(r=(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:s,"aria-hidden":"true",children:l}),a[1]=s,a[2]=r):r=a[2],r};var p=e.i(661563),x=e.i(204289),g=e.i(803804);function b(e){let l,r,a,s,i,n,o,d,b,f,v=(0,u.c)(25),{buyButtonState:j,iconVariant:y,pending:N,onClick:w,digitalPreorder:k}=e,[C,S]=(0,m.useState)(!1),[T,_]=(0,m.useState)(0);v[0]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{let e=sessionStorage.getItem("rateLimitEndTime");if(!e)return;let t=parseInt(e);t>Date.now()?(S(!0),_(Math.ceil((t-Date.now())/1e3))):sessionStorage.removeItem("rateLimitEndTime")},r=[],v[0]=l,v[1]=r):(l=v[0],r=v[1]),(0,m.useEffect)(l,r),v[2]!==C?(a=()=>{if(!C)return;let e=sessionStorage.getItem("rateLimitEndTime");if(!e)return;let t=parseInt(e),l=setInterval(()=>{let e=Date.now();if(t<=e){clearInterval(l),sessionStorage.removeItem("rateLimitEndTime"),S(!1),_(0);return}_(Math.ceil((t-e)/1e3))},1e3);return()=>clearInterval(l)},s=[C],v[2]=C,v[3]=a,v[4]=s):(a=v[3],s=v[4]),(0,m.useEffect)(a,s),v[5]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{let e=()=>{let e=Date.now()+6e4;sessionStorage.setItem("rateLimitEndTime",e.toString()),S(!0),_(60)};return window.addEventListener("rateLimit",e),()=>window.removeEventListener("rateLimit",e)},n=[],v[5]=i,v[6]=n):(i=v[5],n=v[6]),(0,m.useEffect)(i,n);let I=y?"px-3 py-2 lg:px-4 lg:py-2":"min-w-[203px] px-6 py-4";v[7]!==I?(o=(0,c.cn)(I,"focus-visible:ring-outline rounded-button bg-ci-primary font-ryker tracking-flagline text-ci-supporting relative min-h-full w-fit text-sm font-bold uppercase transition-all duration-200 ease-in-out hover:rounded-sm focus:rounded-sm focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-hidden active:rounded-sm disabled:pointer-events-none disabled:opacity-40"),v[7]=I,v[8]=o):o=v[8];let L=N||"disabled"===j||"reserved"===j||C,E=N||"disabled"===j||"reserved"===j||C;return v[9]!==j||v[10]!==T||v[11]!==k||v[12]!==y||v[13]!==C||v[14]!==N?(d=N?(0,t.jsx)("div",{className:"text-neutral-dark absolute inset-0 m-auto h-fit w-fit",children:(0,t.jsx)(g.ClipLoader,{speedMultiplier:.6,size:30,color:"currentColor"})}):(0,t.jsx)("span",{className:y?"sr-only":"",children:C?(0,p.t)("addToCart.rateLimitCountdown",{addedSnippets:{countdown:T}}):k?(0,p.t)("addToCart.availableSoon"):"reserved"===j?(0,p.t)("addToCart.reserved"):"preorder"===j?(0,p.t)("addToCart.preOrder"):(0,p.t)("addToCart.addToCart")}),v[9]=j,v[10]=T,v[11]=k,v[12]=y,v[13]=C,v[14]=N,v[15]=d):d=v[15],v[16]!==y?(b=y?(0,t.jsxs)("span",{className:"flex items-center lg:gap-x-1",children:[(0,t.jsx)(x.PlusIcon,{size:24,strokeWidth:2}),(0,t.jsx)(h,{className:"h-6 w-6"})]}):null,v[16]=y,v[17]=b):b=v[17],v[18]!==w||v[19]!==E||v[20]!==d||v[21]!==b||v[22]!==o||v[23]!==L?(f=(0,t.jsxs)("button",{onClick:w,className:o,"aria-disabled":L,disabled:E,children:[d,b]}),v[18]=w,v[19]=E,v[20]=d,v[21]=b,v[22]=o,v[23]=L,v[24]=f):f=v[24],f}e.s(["AddToCartButton",0,({productId:e,productNumber:r,className:u,iconVariant:h,buyButtonState:p,digitalPreorder:x,ticket:g,reservable:f})=>{let v=(0,d.usePathname)(),{finishPreview:j,startPreview:y}=(0,i.useAddToCartPreview)(),{setExpiresAt:N,setReservedProductUrl:w}=(0,n.useReservationTimer)(),[k,C]=(0,m.useState)(!1);
22return(0,t.jsx)("div",{className:(0,c.cn)(u),children:(0,t.jsx)(b,{onClick:async()=>{if(!k){(0,l.fireTrboATC)(),y(),C(!0);try{await new Promise(e=>{requestAnimationFrame(()=>e())});let{status:t,message:l,warningType:i,reservationExpiresAt:n,cartItemCount:c,lineItems:d}=await a(null,{productId:e,productNumber:r,ticket:g});if(f&&n&&(N(n),w(v),d)){let t=new Map((0,o.getReservedProducts)().map(e=>[e.id,e.productUrl])),l=d.filter(e=>e.payload?.reserved).map(l=>({id:l.id??"",title:l.label??"",imageUrl:l.cover?.url??null,productUrl:l.id===e?v:t.get(l.id??"")??"/"}));(0,o.saveReservedProducts)(l)}"success"===t&&"number"==typeof c&&(0,s.dispatchCartWidgetUpdated)({sum:c,reservationExpiresAt:n}),await new Promise(e=>{setTimeout(e,200)}),j({status:t,message:l,warningType:i}),"rateLimit"===i&&window.dispatchEvent(new CustomEvent("rateLimit"))}catch{j({status:"error"})}finally{C(!1)}}},pending:k,iconVariant:h,buyButtonState:p,digitalPreorder:x})})}],696085)},387362,e=>{"use strict";var t=e.i(843476),l=e.i(500932),r=e.i(271645);let a={status:"idle",message:void 0,warningType:void 0,requestId:0},s=(0,r.createContext)(null);function i(e){return{...e,status:"idle",message:void 0,warningType:void 0}}function n(e){return{status:"pending",message:void 0,warningType:void 0,requestId:e.requestId+1}}e.s(["AddToCartPreviewProvider",0,function(e){let o,c,d,m,u,h=(0,l.c)(8),{children:p}=e,[x,g]=(0,r.useState)(a);h[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{g(n)},h[0]=o):o=h[0];let b=o;h[1]===Symbol.for("react.memo_cache_sentinel")?(c=e=>{g(t=>({...t,status:e.status,message:e.message,warningType:e.warningType}))},h[1]=c):c=h[1];let f=c;h[2]===Symbol.for("react.memo_cache_sentinel")?(d=()=>{g(i)},h[2]=d):d=h[2];let v=d;h[3]!==x?(m={...x,startPreview:b,finishPreview:f,clearPreview:v},h[3]=x,h[4]=m):m=h[4];let j=m;return h[5]!==p||h[6]!==j?(u=(0,t.jsx)(s.Provider,{value:j,children:p}),h[5]=p,h[6]=j,h[7]=u):u=h[7],u},"useAddToCartPreview",0,function(){let e=(0,r.useContext)(s);if(!e)throw Error("useAddToCartPreview must be used within an AddToCartPreviewProvider");return e}])},689343,e=>{"use strict";e.s(["pdpOverlayPillButtonClass",0,"flex items-center gap-1 rounded-full bg-black/15 px-3 py-2 text-flagline text-black group-has-[main.dark:not([style*=display])]:bg-white/25 group-has-[main.dark:not([style*=display])]:text-white"])}]);
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.