PageSourceSearch

https://www.weddingdeejayamalficoast.com/_nuxt/DzVhZqis.js

js weddingdeejayamalficoast.com collected 2026-10-02 00:35:43 UTC 16,091 bytes, 11 lines download raw bytes

1import{u as N,_ as re,r as b,R as le,C as ae,i as ne,W as ie,m as de,c as r,o as l,b as $,a as e,E as g,q as d,F as x,e as _,l as v,G as M,g as i,H as y,t as a,I as B,d as S,B as j,K as ue}from"./DpAt_SXf.js";import{u as ce,r as h,m as R,e as me}from"./B-Z5mVEr.js";import{c as pe,q as ge,_ as H}from"./CkEoKMxl.js";import{_ as ye}from"./UAjQEIXZ.js";import{a as fe}from"./ngrFHoWO.js";import{g as ve}from"./BQgyKLSv.js";import{u as be}from"./BltzC0uM.js";import{f as E}from"./C2JmHsyI.js";import"./CotvSyC_.js";const F={meta:{title:"Request Songs - Wedding Deejay Client Area",description:"Private area for Wedding Deejay clients to submit song requests and playlists for their event.",robots:"noindex, nofollow",image:"/images/header-songs.webp",url:"/private/songs"},schema:{"@context":"https://schema.org","@type":"WebForm",name:"Wedding Song Request Form",description:"Form for submitting wedding event songs and playlists",provider:{"@type":"Organization",name:"Wedding Deejay"},step:[{"@type":"HowToStep",name:"Event Information",position:"1"},{"@type":"HowToStep",name:"Song Selections",position:"2"},{"@type":"HowToStep",name:"Playlists",position:"3"},{"@type":"HowToStep",name:"Additional Requests",position:"4"},{"@type":"HowToStep",name:"Review and Submit",position:"5"}]}};function xe(){const L=F.meta;N(ve(L)),N({meta:[{name:"robots",content:"noindex, nofollow"}],script:[{type:"application/ld+json",innerHTML:JSON.stringify(F.schema)}]})}const _e={class:"bg-third"},he={key:0,class:"container mx-auto px-4 py-8"},ke={class:"flex justify-between mb-8"},we={class:"space-y-6"},$e={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},Se={class:"form-group"},Ve={key:0,class:"text-red-500 text-sm mt-1"},Ce={class:"form-group"},Me={key:0,class:"text-red-500 text-sm mt-1"},De={class:"form-group"},Te={key:0,class:"text-red-500 text-sm mt-1"},Pe={class:"form-group"},Ue=["value"],Re={key:0,class:"text-red-500 text-sm mt-1"},Ee={class:"grid grid-cols-1 md:grid-cols-3 gap-6 mt-6"},Le={class:"form-group"},Ae={key:0,class:"text-red-500 text-sm mt-1"},qe={class:"form-group"},Ne={key:0,class:"text-red-500 text-sm mt-1"},Be={class:"form-group"},je={key:0,class:"text-red-500 text-sm mt-1"},He={class:"space-y-6"},Fe={class:"col-span-1 text-center"},We={class:"col-span-4"},Ge=["onUpdate:modelValue"],ze=["value"],Ie={class:"col-span-5"},Oe=["onUpdate:modelValue"],Je={class:"col-span-1"},Ke=["onClick"],Qe={class:"col-span-1"},Xe={class:"space-y-6"},Ye={class:"col-span-1 text-center"},Ze={class:"col-span-4"},et=["onUpdate:modelValue"],tt={class:"col-span-5"},st=["onUpdate:modelValue"],ot={class:"col-span-1"},rt=["onClick"],lt={class:"col-span-1"},at={class:"space-y-6"},nt={class:"form-group"},it={class:"space-y-6"},dt={class:"bg-white p-6 rounded-lg shadow"},ut={class:"grid grid-cols-1 md:grid-cols-2 gap-4"},ct={class:"text-gray-600"},mt={class:"font-medium text-gray-900"},pt={class:"text-gray-600"},gt={class:"font-medium text-gray-900"},yt={class:"text-gray-600"},ft={class:"font-medium text-gray-900"},vt={class:"text-gray-600"},bt={class:"font-medium text-gray-900"},xt={class:"text-gray-600"},_t={class:"font-medium text-gray-900"},ht={class:"text-gray-600"},kt={class:"font-medium text-gray-900"},wt={key:0,class:"mt-6"},$t={class:"col-span-1"},St={class:"col-span-5"},Vt={class:"col-span-6"},Ct={key:1,class:"mt-6"},Mt={class:"col-span-1"},Dt={class:"col-span-5"},Tt={class:"col-span-6"},Pt={key:2,class:"mt-6"},Ut={class:"text-gray-600"},Rt={class:"mt-4"},Et={key:0,class:"bg-blue-100 text-blue-700 p-3 rounded-md text-center"},Lt={key:1,class:"bg-green-100 text-green-700 p-3 rounded-md text-center"},At={key:2,class:"bg-red-100 text-red-700 p-3 rounded-md text-center"},qt={class:"flex justify-center gap-4 mt-6"},Nt={key:1,type:"submit",class:"px-6 py-2 bg-primary text-white rounded-full hover:bg-primary-dark transition-colors"},Bt={key:2,type:"submit",class:"px-6 py-2 bg-primary text-white rounded-full hover:bg-primary-dark transition-colors"},jt={key:0,class:"mt-4 p-3 bg-red-100 text-red-700 rounded-md text-center"},Ht={key:1,class:"flex flex-col items-center justify-center min-h-[500px]"},Ft={__name:"songs",setup(L){const{checkAccess:W}=be(),T=b(!1),p=b(1),k=b(!1),D=b(!1),V=b(""),w=b(!1),P=b(5),A=ue(),{recaptchaLoaded:q,executeRecaptcha:G}=le.useReCaptcha(),z=async()=>{try{return await q(),await G("contact")}catch(c){throw console.error("reCAPTCHA error:",c),c}},s=ae({bride:"",groom:"",email:"",country:"",date:new Date,location:"",guests:"",options:["Specific Moment","Entrance","Cake Cutting","First Dance","Bride with Parent","Groom with Parent","Bouquet Toss","Last Dance","Other"],songs:[{order:1,moment:"Specific Moment",song:""}],playlists:[{order:1,description:"",url:""}],message:""}),I={bride:{required:h,minLength:R(4)},groom:{required:h,minLength:R(4)},email:{required:h,email:me},country:{required:h},date:{required:h},location:{required:h,minLength:R(4)},guests:{required:h}},n=ce(I,s),O=c=>c<new Date,J=c=>E(new Date(c),"yyyy/MM/dd"),K=async()=>
1{if(p.value===1&&!await n.value.$validate()){k.value=!0,setTimeout(()=>{k.value=!1},4e3);return}p.value++,U()},Q=()=>{p.value--,U(),p.value===2&&s.songs.length===0&&s.songs.push({order:1,moment:"Entrance",song:""}),p.value===3&&s.playlists.length===0&&s.playlists.push({order:1,description:"",url:""})},X=()=>{s.songs.push({order:s.songs.length+1,moment:"Specific Moment",song:""})},Y=c=>{s.songs.splice(c,1)},Z=()=>{s.playlists.push({order:s.playlists.length+1,description:"",url:""})},ee=c=>{s.playlists.splice(c,1)},U=()=>{window.scrollTo({top:0,behavior:"smooth"})},te=()=>{s.bride="",s.groom="",s.email="",s.country="",s.date=new Date,s.location="",s.guests="",s.songs=[{order:1,moment:"Specific Moment",song:""}],s.playlists=[{order:1,description:"",url:""}],s.message="",p.value=1,k.value=!1,D.value=!1,V.value="",w.value=!1,U()},se=async c=>{if(c.preventDefault(),p.value<5){if(p.value===1&&!await n.value.$validate()){k.value=!0,setTimeout(()=>{k.value=!1},4e3);return}K()}else await oe()},oe=async()=>{try{D.value=!0;const c=await z();H.remove(s.songs,{song:""}),H.remove(s.playlists,{url:""});let t="<ul>";s.songs.forEach((u,C)=>{t+=`<li>${C+1} - ${u.moment} - ${u.song}</li>`}),t+="</ul>";let f="<ul>";
1s.playlists.forEach((u,C)=>{f+=`<li>${C+1} - ${u.description} - ${u.url}</li>`}),f+="</ul>";const o={sender:A.public.contactMailSender,receiver:A.public.contactMailReceiver,namesender:"Contact Form Wedding Deejay",name:`${s.groom} & ${s.bride}`,email:s.email,subject:`Events Playlist - ${E(new Date(s.date),"dd/MM/yyyy")}`,message:`
2        <p>Bride: ${s.bride}</p>
3        <p>Groom: ${s.groom}</p>
4        <p>Country: ${s.country}</p>
5        <p>Event Date: ${E(new Date(s.date),"dd/MM/yyyy")}</p>
6        <p>Location: ${s.location}</p>
7        <p>N° of Guests: ${s.guests}</p>
8        <p>Songs List:</p>${t}
9        <p>Playlists:</p>${f}
10        <p>Message: ${s.message}</p>
11      `,recaptchaToken:c},m=new URLSearchParams;Object.entries(o).forEach(([u,C])=>{m.append(u,C)}),await fe.post("https://php.localidautore.it/phpmailer/",m,{headers:{"Content-Type":"application/x-www-form-urlencoded"}}),V.value=!0,w.value=!0}catch(c){console.error("Submit error:",c),V.value=!1}finally{D.value=!1}};return ne(async()=>{if(ie(),T.value=W(),T.value)try{await q()}catch(c){console.error("reCAPTCHA initialization error:",c)}xe()}),(c,t)=>{const f=de("font-awesome-icon");return l(),r("div",_e,[$(ye,{title:"Requested Songs",image:"header-songs"}),T.value?(l(),r("div",he,[e("form",{onSubmit:j(se,["prevent"]),class:"max-w-4xl mx-auto font-montserrat"},[e("div",ke,[(l(!0),r(x,null,_(P.value,o=>(l(),r("div",{key:o,class:"flex-1 h-2"},[e("div",{class:v(["h-full transition-all duration-300",[p.value>=o?"bg-primary":"bg-gray-200",o===1?"rounded-l-full":"",o===P.value?"rounded-r-full":"",(o>1&&o<P.value,"mx-2")]])},null,2)]))),128))]),g(e("div",we,[t[16]||(t[16]=e("h2",{class:"text-2xl font-bold text-center text-gray-800 mb-6"},"Event Info",-1)),e("div",$e,[e("div",Se,[t[8]||(t[8]=e("label",{class:"block text-sm font-medium text-gray-700 mb-1"},"Name of the Bride",-1)),g(e("input",{"onUpdate:modelValue":t[0]||(t[0]=o=>s.bride=o),type:"text",class:v(["w-full px-3 py-2 border-b focus:outline-none focus:border-primary",{"border-red-500":i(n).bride.$error}])},null,2),[[y,s.bride]]),i(n).bride.$error?(l(),r("div",Ve,a(i(n).bride.$errors[0].$message),1)):d("",!0)]),e("div",Ce,[t[9]||(t[9]=e("label",{class:"block text-sm font-medium text-gray-700 mb-1"},"Name of the Groom",-1)),g(e("input",{"onUpdate:modelValue":t[1]||(t[1]=o=>s.groom=o),type:"text",class:v(["w-full px-3 py-2 border-b focus:outline-none focus:border-primary",{"border-red-500":i(n).groom.$error}])},null,2),[[y,s.groom]]),i(n).groom.$error?(l(),r("div",Me,a(i(n).groom.$errors[0].$message),1)):d("",!0)]),e("div",De,[t[10]||(t[10]=e("label",{class:"block text-sm font-medium text-gray-700 mb-1"},"Email",-1)),g(e("input",{"onUpdate:modelValue":t[2]||(t[2]=o=>s.email=o),type:"text",class:v(["w-full px-3 py-2 border-b focus:outline-none focus:border-primary",{"border-red-500":i(n).email.$error}])},null,2),[[y,s.email]]),i(n).email.$error?(l(),r("div",Te,a(i(n).email.$errors[0].$message),1)):d("",!0)]),e("div",Pe,[t[12]||(t[12]=e("label",{class:"block text-sm font-medium text-gray-700 mb-1"},"Country",-1)),g(e("select",{"onUpdate:modelValue":t[3]||(t[3]=o=>s.country=o),class:v(["w-full px-3 py-2 border-b focus:outline-none focus:border-primary",{"border-red-500":i(n).country.$error}])},[t[11]||(t[11]=e("option",{value:""},"Select",-1)),(l(!0),r(x,null,_(i(pe),o=>(l(),r("option",{key:o.name,value:o.name},a(o.name),9,Ue))),128))],2),[[B,s.country]]),i(n).country.$error?(l(),r("div",Re,a(i(n).country.$errors[0].$message),1)):d("",!0)])]),e("div",Ee,[e("div",Le,[t[13]||(t[13]=e("label",{class:"block text-sm font-medium text-gray-700 mb-1"},"Event Date",-1)),$(i(ge),{modelValue:s.date,"onUpdate:modelValue":t[4]||(t[4]=o=>s.date=o),type:"date",class:v(["w-full",{"border-red-500":i(n).date.$error}]),"min-date":"today","disabled-date":O,"enable-time-picker":!1,"auto-apply":""},null,8,["modelValue","class"]),i(n).date.$error?(l(),r("div",Ae,a(i(n).date.$errors[0].$message),1)):d("",!0)]),e("div",qe,[t[14]||(t[14]=e("label",{class:"block text-sm font-medium text-gray-700 mb-1"},"Location",-1)),g(e("input",{"onUpdate:modelValue":t[5]||(t[5]=o=>s.location=o),type:"text",class:v(["w-full px-3 py-2 border rounded-md",{"border-red-500":i(n).location.$error}])},null,2),[[y,s.location]]),i(n).location.$error?(l(),r("div",Ne,a(i(n).location.$errors[0].$message),1)):d("",!0)]),e("div",Be,[t[15]||(t[15]=e("label",{class:"block text-sm font-medium text-gray-700 mb-1"},"N° of Guests",-1)),g(e("input",{"onUpdate:modelValue":t[6]||(t[6]=o=>s.guests=o),type:"number",class:v(["w-full px-3 py-2 border rounded-md",{"border-red-500":i(n).guests.$error}])},null,2),[[y,s.guests]]),i(n).guests.$error?(l(),r("div",je,a(i(n).guests.$errors[0].$message),1)):d("",!0)])])],512),[[M,p.value===1]]),g(e("div",He,[t[17]||(t[17]=e("h2",{class:"text-2xl font-bold text-center text-gray-800 mb
11-6"},"Specific Songs",-1)),t[18]||(t[18]=e("p",{class:"text-center text-gray-600"},"Please fill in only the necessary fields",-1)),(l(!0),r(x,null,_(s.songs,(o,m)=>(l(),r("div",{key:m,class:"grid grid-cols-12 gap-4 items-center mb-4"},[e("div",Fe,a(m+1),1),e("div",We,[g(e("select",{"onUpdate:modelValue":u=>o.moment=u,class:"w-full px-3 py-2 border rounded-md"},[(l(!0),r(x,null,_(s.options,u=>(l(),r("option",{key:u,value:u},a(u),9,ze))),128))],8,Ge),[[B,o.moment]])]),e("div",Ie,[g(e("input",{type:"text","onUpdate:modelValue":u=>o.song=u,placeholder:"Artist - Title",class:"w-full px-3 py-2 border rounded-md"},null,8,Oe),[[y,o.song]])]),e("div",Je,[s.songs.length>1?(l(),r("button",{key:0,onClick:u=>Y(m),type:"button",class:"text-red-500 hover:text-red-700"},[$(f,{icon:["fas","minus-circle"],class:"mr-2"})],8,Ke)):d("",!0)]),e("div",Qe,[m+1===s.songs.length?(l(),r("button",{key:0,onClick:X,class:"text-green-500 hover:text-green-700"},[$(f,{icon:["fas","plus-circle"],class:"mr-2"})])):d("",!0)])]))),128))],512),[[M,p.value===2]]),g(e("div",Xe,[t[19]||(t[19]=e("h2",{class:"text-2xl font-bold text-center text-gray-800 mb-6"},"Send a Playlist",-1)),t[20]||(t[20]=e("p",{class:"text-center text-gray-600"},"Please fill in only the necessary fields",-1)),(l(!0),r(x,null,_(s.playlists,(o,m)=>(l(),r("div",{key:m,class:"grid grid-cols-12 gap-4 items-center mb-4"},[e("div",Ye,a(m+1),1),e("div",Ze,[g(e("input",{type:"text","onUpdate:modelValue":u=>o.description=u,placeholder:"Description (Dinner, Party, etc)",class:"w-full px-3 py-2 border rounded-md"},null,8,et),[[y,o.description]])]),e("div",tt,[g(e("input",{type:"text","onUpdate:modelValue":u=>o.url=u,placeholder:"Url Playlist (Spotify, Apple Music, etc)",class:"w-full px-3 py-2 border rounded-md"},null,8,st),[[y,o.url]])]),e("div",ot,[s.playlists.length>1?(l(),r("button",{key:0,onClick:u=>ee(m),type:"button",class:"text-red-500 hover:text-red-700"},[$(f,{icon:["fas","minus-circle"],class:"mr-2"})],8,rt)):d("",!0)]),e("div",lt,[m+1===s.playlists.length?(l(),r("button",{key:0,onClick:Z,class:"text-green-500 hover:text-green-700"},[$(f,{icon:["fas","plus-circle"],class:"mr-2"})])):d("",!0)])]))),128))],512),[[M,p.value===3]]),g(e("div",at,[t[22]||(t[22]=e("h2",{class:"text-2xl font-bold text-center text-gray-800 mb-6"},"Specific Requests",-1)),e("div",nt,[t[21]||(t[21]=e("label",{class:"block text-sm font-medium text-gray-700 mb-1 text-center"},"Write a Message",-1)),g(e("textarea",{"onUpdate:modelValue":t[7]||(t[7]=o=>s.message=o),rows:"10",class:"w-full px-3 py-2 border rounded-md resize-none"},null,512),[[y,s.message]])])],512),[[M,p.value===4]]),g(e("div",it,[t[32]||(t[32]=e("h2",{class:"text-2xl font-bold text-center text-gray-800 mb-6"},"Resume",-1)),e("div",dt,[e("div",ut,[e("p",ct,[t[23]||(t[23]=S("Name of the Bride: ",-1)),e("span",mt,a(s.bride),1)]),e("p",pt,[t[24]||(t[24]=S("Name of the Groom: ",-1)),e("span",gt,a(s.groom),1)]),e("p",yt,[t[25]||(t[25]=S("Email: ",-1)),e("span",ft,a(s.email),1)]),e("p",vt,[t[26]||(t[26]=S("Country: ",-1)),e("span",bt,a(s.country),1)]),e("p",xt,[t[27]||(t[27]=S("Date of the Event: ",-1)),e("span",_t,a(J(s.date)),1)]),e("p",ht,[t[28]||(t[28]=S("Location: ",-1)),e("span",kt,a(s.location),1)])]),s.songs.length>0?(l(),r("div",wt,[t[29]||(t[29]=e("h3",{class:"text-lg font-semibold mb-3"},"Specific Songs",-1)),(l(!0),r(x,null,_(s.songs,(o,m)=>(l(),r("div",{key:m,class:"grid grid-cols-12 gap-4 mb-2"},[e("div",$t,a(m+1),1),e("div",St,a(o.moment),1),e("div",Vt,a(o.song),1)]))),128))])):d("",!0),s.playlists.length>0?(l(),r("div",Ct,[t[30]||(t[30]=e("h3",{class:"text-lg font-semibold mb-3"},"Playlists",-1)),(l(!0),r(x,null,_(s.playlists,(o,m)=>(l(),r("div",{key:m,class:"grid grid-cols-12 gap-4 mb-2"},[e("div",Mt,a(m+1),1),e("div",Dt,a(o.description),1),e("div",Tt,a(o.url),1)]))),128))])):d("",!0),s.message?(l(),r("div",Pt,[t[31]||(t[31]=e("h3",{class:"text-lg font-semibold mb-3"},"Message",-1)),e("p",Ut,a(s.message),1)])):d("",!0)]),e("div",Rt,[D.value?(l(),r("div",Et," Loading... ")):d("",!0),V.value===!0?(l(),r("div",Lt," Message has been sent ")):d("",!0),V.value===!1?(l(),r("div",At," Message has not been sent ")):d("",!0)])],512),[[M,p.value===5]]),e("div",qt,[p.value>1&&!w.value?(l(),r("button",{key:0,onClick:j(Q,["prevent"]),type:"button",class:"px-6 py-2 bg-gray-500 text-white rounded-full hover:bg-gray-600 transition-colors"}," Previous ")):d("",!0),p.value<5&&!w.value?(l(),r("button",Nt," Next ")):d("",!0),p.value===5&&!w.value?(l(),r("button",Bt," Submit ")):d("",!0),w.value?(l(),r("button",{key:3,onClick:te,type:"button",class:"px-6 py-2 bg-primary-dark text-white rounded-full hover:bg-primary transition-colors"}," Back to Start ")):d("",!0)]),k.value?(l(),r("div",jt," Fill All Required Fields ")):d("",!0)],32)])):(l(),r("div",Ht,[...t[33]||(t[33]=[e("h1",{class:"text-6xl font-bold text-red-500"},"403",-1),e("h2",{class:"text-2xl text-gray-700 mt-4"},"Access forbidden",-1)])]))])}}},Yt=re(Ft,[["__scopeId","data-v-c819dc71"]]);export{Yt 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.