import{b2 as y,o as r,c,s as b,l as _,m as v,n as s,a,t as x,F as f,r as g,p as l,b as t,q as u}from"./stepForm.459f9c74.js";const T={name:"AmeliaIconCoupon"},C={class:"am-icon-coupon"};function $(i,m,n,o,e,d){return r(),c("span",C)}var B=y(T,[["render",$]]);const S={name:"AddToCalendar"},I=Object.assign(S,{props:{calendarString:{type:String,required:!0}},setup(i){let m=b([{type:"google",label:"Google"},{type:"outlook",label:"Outlook"},{type:"yahoo",label:"Yahoo"},{type:"apple",label:"Apple"}]),n=_("bookableType"),o=v(()=>n.value!=="event"?"sbs":"event"),e=_("amColors");const d=v(()=>n.value==="event"?{"--am-c-atc-text":e.value.colorMainText,"--am-c-atc-text-op10":s(e.value.colorMainText,.1),"--am-c-atc-text-op5":s(e.value.colorMainText,.05)}:{"--am-c-atc-text":e.value.colorSbText,"--am-c-atc-text-op10":s(e.value.colorSbText,.1),"--am-c-atc-text-op5":s(e.value.colorSbText,.05)});return(k,h)=>(r(),c("div",{class:l(`am-atc-${t(o)}`),style:u(t(d))},[a("p",null,x(i.calendarString),1),a("div",{class:l(`am-atc-${t(o)}-cals`)},[(r(!0),c(f,null,g(t(m),p=>(r(),c("div",{key:p.type,class:l(`am-atc-${t(o)}-cals-cards`)},[a("a",{style:u({borderColor:"var(--am-c-atc-text-op10)"}),class:l(`am-atc-${t(o)}-cals-card`)},[a("div",null,[a("span",{class:l(`am-icon-${p.type}`)},null,2)]),a("p",{style:u({color:"var(--am-c-atc-text)"})},x(p.label),5)],6)],2))),128))],2)],6))}});export{B as I,I as _};
