import{_ as x}from"./CxWpzdqe.js";import{e as d,l as k,o as i,x as u,w as g,g as p,h as v,c as l,a as t,_ as h,G as w,t as c,n as _}from"./DamWCzlT.js";const y={width:"100%",height:"100%",viewBox:"0 0 156 64",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},L={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},b=["stroke"],B={transform:"translate(24, 18)"},C=["fill"],$={transform:"translate(84, 2)"},M=["stroke"],W=d({__name:"ButtonMore",props:{to:{},color:{default:"#E60012"}},setup(s){const e=s,n=k();function a(o){if(/^(https?:)?\/\//.test(o)||o.startsWith("#")||o.startsWith("?")||o.startsWith("mailto:")||o.startsWith("tel:"))return o;const r=o.startsWith("/")?o:`/${o}`;return n(r)}const m=v(()=>{if(e.to)return typeof e.to=="string"?a(e.to):"path"in e.to&&typeof e.to.path=="string"?{...e.to,path:a(e.to.path)}:e.to});return(o,r)=>{const f=x;return i(),u(f,{to:p(m),class:"button-more"},{default:g(()=>[(i(),l("svg",y,[t("g",L,[t("rect",{stroke:e.color,x:"0.5",y:"0.5",width:"155",height:"63",rx:"31.5"},null,8,b),t("g",B,[t("text",{"font-size":"20px","font-weight":"normal",fill:e.color},[...r[0]||(r[0]=[t("tspan",{x:"0",y:"21"},"MORE",-1)])],8,C),t("g",$,[r[1]||(r[1]=t("rect",{x:"0",y:"0",width:"24",height:"24"},null,-1)),t("path",{d:"M2,14 L19.064144,14 C19.2850579,14 19.464144,13.8209139 19.464144,13.6 C19.464144,13.4970193 19.4244266,13.3980062 19.3532599,13.3235728 L14.2633285,8 L14.2633285,8",stroke:e.color,"stroke-width":"1.5","stroke-linecap":"round"},null,8,M)])])])]))]),_:1},8,["to"])}}}),z=Object.assign(h(W,[["__scopeId","data-v-02b643a6"]]),{__name:"ButtonMore"}),P={class:"section-header"},S={class:"section-header__center"},E={key:0,class:"section-header__subtitle"},N={class:"section-header__right"},O=d({__name:"SectionHeader",props:{title:{},subtitle:{},moreText:{},moreLink:{},titleColor:{}},setup(s){return(e,n)=>{const a=z;return i(),l("div",P,[n[1]||(n[1]=t("div",{class:"section-header__left"},null,-1)),t("div",S,[t("h2",{class:"section-header__title",style:w(s.titleColor?{color:s.titleColor}:{})},c(s.title),5),s.subtitle?(i(),l("p",E,c(s.subtitle),1)):_("",!0),n[0]||(n[0]=t("div",{class:"section-header__line"},null,-1))]),t("div",N,[s.moreLink?(i(),u(a,{key:0,to:s.moreLink,class:"section-header__more section-header__more--desktop"},null,8,["to"])):_("",!0)])])}}}),I=Object.assign(h(O,[["__scopeId","data-v-a291273f"]]),{__name:"SectionHeader"});export{I as _,z as a};
