PageSourceSearch

https://esmark.de/_nuxt/9d2lbC-r.js

js esmark.de collected 2026-09-24 19:32:12 UTC 3,345 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BTZAYswP.js","./INcvsB0x.js","./rQBEAMVc.js","./Wrapper.2Vy7n93b.css","./qpwyFWlD.js"])))=>i.map(i=>d[i]);
2import{aa as N,E as u,F as b,V as l,W as m,U as d,a1 as c,a2 as $,$ as B,J as U,aW as q,O as A,K as k,N as I,ae as z,a3 as t,R as W,_ as j}from"./rQBEAMVc.js";import D from"./zi331xJA.js";import L from"./DRoUJLqJ.js";import O from"./CDMAHfZZ.js";import{_ as R}from"./BN4Ghod_.js";import{u as J}from"./qpwyFWlD.js";import"./DCautQYT.js";const K=W(()=>j(()=>import("./BTZAYswP.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(n=>n.default||n)),G={class:"text-[12px]"},H={class:"flex justify-end"},oe={__name:"ShareFavorites",props:{lodgingNames:{type:Array,required:!0}},setup(n){const T=n,{t:s}=J(),a={friendEmail:s("shareFavorites.friendEmail"),messagePlaceholder:s("shareFavorites.messagePlaceholder"),yourName:s("shareFavorites.yourName"),yourEmail:s("shareFavorites.yourEmail"),newsletterConsent:s("shareFavorites.newsletterConsent"),send:s("shareFavorites.send"),ok:s("shareFavorites.ok"),errorTitle:s("shareFavorites.errorTitle"),errorMessage:s("shareFavorites.errorMessage"),successTitle:s("shareFavorites.successTitle"),successMessage:s("shareFavorites.successMessage")},p=t(""),v=t(""),f=t(""),h=t(""),_=t(!1),y=N("micro"),F=N("lan");if(!y)throw new Error("micro must be provided");if(!F)throw new Error("lan must be provided");const r=t(!1),V=t(!1),x=t(!1),i=t(!1);function S(){i.value||(i.value=!0,y.repositories.phpWorkers.emails.shareFavorites({lan:F,sendTo:p.value,senderName:f.value,senderEmail:h.value,message:v.value,lodgingNames:T.lodgingNames,consent:_.value}).catch(E=>{console.log(E),x.value=!0}).finally(()=>{i.value=!1,V.value=!0,r.value=!0}))}return(E,e)=>{const g=D,C=L,M=O,P=R,w=K;return u(),b("form",{class:"space-y-4",onSubmit:z(S,["prevent"])},[l(g,{modelValue:p.value,"onUpdate:modelValue":e[0]||(e[0]=o=>p.value=o),class:"md:text-[14px]",required:"",type:"email",placeholder:a.friendEmail},null,8,["modelValue","placeholder"]),l(C,{modelValue:v.value,"onUpdate:modelValue":e[1]||(e[1]=o=>v.value=o),required:"",placeholder:a.messagePlaceholder},null,8,["modelValue","placeholder"]),l(g,{modelValue:f.value,"onUpdate:modelValue":e[2]||(e[2]=o=>f.value=o),class:"md:text-[14px]",required:"",placeholder:a.yourName},null,8,["modelValue","placeholder"]),l(g,{modelValue:h.value,"onUpdate:modelValue":e[3]||(e[3]=o=>h.value=o),class:"md:text-[14px]",required:"",type:"email",placeholder:a.yourEmail},null,8,["modelValue","placeholder"]),l(M,{modelValue:_.value,"onUpdate:modelValue":e[4]||(e[4]=o=>_.value=o)},{default:m(()=>[d("span",G,c(a.newsletterConsent),1)]),_:1},8,["modelValue"]),d("div",H,[l(P,{type:"submit","is-loading":i.value,class:B(U(q)("Secondary Positive"))},{default:m(()=>[$(c(a.send),1)]),_:1},8,["is-loading","class"])]),V.value?(u(),b(A,{key:0},[x.value?(u(),k(w,{key:0,show:r.value,"confirm-button-text":a.ok,title:a.errorTitle,onAction:e[5]||(e[5]=o=>r.value=!1)},{default:m(()=>[d("p",null,c(a.errorMessage),1)]),_:1},8,["show","confirm-button-text","title"])):(u(),k(w,{key:1,show:r.value,"confirm-button-text":a.ok,title:a.successTitle,onAction:e[6]||(e[6]=o=>r.value=!1)},{default:m(()=>[d("p",null,c(a.successMessage),1)]),_:1},8,["show","confirm-button-text","title"]))],64)):I("",!0)],32)}}};export{oe as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.