import{_ as F}from"./wMmrnhvC.js";import{_ as Y}from"./D876gs4Y.js";import{_ as G}from"./B-ANVB1o.js";import{d as L,r as M,a3 as K,k as J,o as r,G as d,e as t,f as e,n as l,w as u,c as W,C,v as f,R as S,T as Z,ae as X,V as k,J as A,_ as ee,a7 as D,a8 as q,a9 as H,u as te,ar as se,p as B,a as oe,W as U,t as V,g as ie}from"./llFuKhWI.js";import{_ as ae}from"./DA39qUTR.js";import{u as ne}from"./GGENp0mR.js";import{u as le}from"./CPo7eYqA.js";import{f as re}from"./uKVtFQW_.js";import{_ as de}from"./BtJExACf.js";import{E as O}from"./DyBxGFNf.js";import{v as N,a as x}from"./DSR2-td-.js";import{s as ce}from"./BYP7fWzb.js";import{_ as me}from"./I42fUTeN.js";import{u as pe}from"./BYxIZdj_.js";import{u as ue}from"./EoaUGGBW.js";import{R as he}from"./5-zKaSZz.js";import{v as _e}from"./DuFVbZg1.js";import"./Ym6uCvCk.js";import"./CAGVG2Xa.js";import"./DtiWZQBA.js";import"./DAdDEog1.js";import"./C-7E03RX.js";const j=m=>(D("data-v-f38d18b3"),m=m(),q(),m),fe=["disabled"],ye={class:"columns"},be={class:"columns"},ge={class:"columns"},we={class:"columns"},ve={class:"columns mt-1 mb-0 is-centered"},xe={class:"column"},ke=j(()=>t("b",{class:"pl-2"},"Get Whitepaper by Email",-1)),Ee={class:"has-text-white has-text-centered",style:{opacity:"0.6",display:"block"}},Te=j(()=>t("p",null,[t("strong",null,"Thank you!")],-1)),Se={class:"mt-4"},$e=L({__name:"WhitepaperForm",props:{title:{},downloadUrl:{},requestType:{}},setup(m){const{addMessage:y}=ne(),w=m,{sendWebform:P}=le({formType:"Whitepaper",onSuccess:()=>{var s;(s=$.value)==null||s.openModal(),_()},onError:s=>{console.error("Sending whitepaper form failed:",s),y({message:"Sending whitepaper form failed.",severity:"danger",duration:4e3})}}),g=M(!1),i=M(!1),$=M(),o=K({type:w.requestType,firstname:"",lastname:"",email:"",company:"",country:""}),h={firstname:[s=>!!s||"Please add a first name."],lastname:[s=>!!s||"Please add a last name."],email:{rulesBeforeSubmit:[O.BLOCK_BANNED_DOMAINS,O.BLOCK_PRIVATE_DOMAINS],rules:[s=>!!s||"Please add an email address.",O.BLOCK_INVALID]},company:[s=>!!s||"Please add a company name."],country:[s=>!!s||"Please select a country."]},R=J(()=>{const s=N(o,h),a=Object.keys(s).length>0;return x(o.email,h.email,i.value)!==!0?!0:i.value===!0&&(g.value===!0||a)});async function I(){i.value=!0,g.value=!0;const s=N(o,h);if(Object.keys(s).length===0){const a=ce(o),{pushEvent:b,hashEmail:T}=A();b({event:"form_submit_whitepaper",email:T(a.email)});const c=new FormData;c.append("first_name",a.firstname),c.append("last_name",a.lastname),c.append("email",a.email),c.append("company",a.company),c.append("country_code",a.country),c.append("whitepaper_title",w.title),c.append("whitepaper_success_page",w.downloadUrl),await P(c,"WebToProspect")}g.value=!1}function _(){i.value=!1,o.firstname="",o.lastname="",o.email="",o.company="",o.country=""}return(s,a)=>{const b=Y,T=G,c=F,v=ee,n=ae;return r(),d(k,null,[t("form",Z(s.$attrs,{onSubmit:X(I,["prevent"])}),[t("fieldset",{disabled:e(g)},[t("div",ye,[l(b,{modelValue:e(o).firstname,"onUpdate:modelValue":a[0]||(a[0]=p=>e(o).firstname=p),placeholder:"First name",required:"","field-valid":e(x)(e(o).firstname,h.firstname,e(i))},null,8,["modelValue","field-valid"]),l(b,{modelValue:e(o).lastname,"onUpdate:modelValue":a[1]||(a[1]=p=>e(o).lastname=p),placeholder:"Last name",required:"","field-valid":e(x)(e(o).lastname,h.lastname,e(i))},null,8,["modelValue","field-valid"])]),t("div",be,[l(b,{modelValue:e(o).email,"onUpdate:modelValue":a[2]||(a[2]=p=>e(o).email=p),placeholder:"Business Email Address",type:"email",required:"","field-valid":e(x)(e(o).email,h.email,e(i))},null,8,["modelValue","field-valid"])]),t("div",ge,[l(b,{modelValue:e(o).company,"onUpdate:modelValue":a[3]||(a[3]=p=>e(o).company=p),placeholder:"Company",required:"","field-valid":e(x)(e(o).company,h.company,e(i))},null,8,["modelValue","field-valid"])]),t("div",we,[l(b,{modelValue:e(o).country,"onUpdate:modelValue":a[4]||(a[4]=p=>e(o).country=p),placeholder:"Select country",type:"select",required:"",options:Object.entries(e(re)).map(([p,Q])=>({label:Q,value:p})),"field-valid":e(x)(e(o).country,h.country,e(i))},null,8,["modelValue","options","field-valid"])]),t("div",ve,[t("div",xe,[l(c,{class:"mt-2",variant:"primary",size:"large",type:"submit","is-fullwidth":"",disabled:e(R),"data-gtm":"whitepaperPage_download"},{default:u(()=>[e(g)?(r(),W(T,{key:0})):C("",!0),ke]),_:1},8,["disabled"])])]),t("small",Ee,[f("By downloading you agree to our "),l(v,{class:"has-text-white",to:("ROUTES"in s?s.ROUTES:e(S)).IMPRINT(),target:"_blank"},{default:u(()=>[f("Terms and Conditions")]),_:1},8,["to"]),f(" and "),l(v,{class:"has-text-white",to:("ROUTES"in s?s.ROUTES:e(S)).IMPRINT(),target:"_blank"},{default:u(()=>[f("Privacy Policy")]),_:1},8,["to"]),f(".")])],8,fe)],16),l(de,{ref_key:"refDownloadModal",ref:$,"no-padding":"","modal-name":"whitepaperSuccessModal",classes:{modal:"tw-overflow-y-auto"}},{default:u(()=>[l(n,{"headline-position":"center","hide-separator":"","justify-center":""},{title:u(()=>[f(" Check your email inbox - your whitepaper is on the way ")]),default:u(()=>[Te,t("p",Se,[f(" You will shortly receive the requested whitepaper via your provided email address. Please also check your spam folder. In case of any issues, do not hesitate to "),l(v,{to:{path:("ROUTES"in s?s.ROUTES:e(S)).REQUEST.CONTACT()}},{default:u(()=>[f("contact us.")]),_:1},8,["to"])])]),_:1})]),_:1},512)],64)}}}),Re=H($e,[["__scopeId","data-v-f38d18b3"]]),Ue={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20"},Ce=t("g",{fill:"none","fill-rule":"evenodd"},[t("circle",{cx:"10",cy:"10",r:"10",fill:"#3dc09c","fill-rule":"nonzero",opacity:".15"}),t("path",{stroke:"#3dc09c","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M6 10.5 8.5 13 14 7"})],-1),Pe=[Ce];function Ie(m,y){return r(),d("svg",Ue,[...Pe])}const z={render:Ie},Me={xmlns:"http://www.w3.org/2000/svg",width:"25",height:"25",fill:"none"},Ve=t("path",{stroke:"#fff","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21.54 15.973v4a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2v-4"},null,-1),Oe=t("path",{stroke:"#fff","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m7.54 10.973 5 5 5-5M12.54 15.973v-12"},null,-1),Be=[Ve,Oe];function Ne(m,y){return r(),d("svg",Me,[...Be])}const ze={render:Ne},E=m=>(D("data-v-b08a5434"),m=m(),q(),m),Fe={key:0,class:"container is-max-widescreen mb-6-desktop px-2-mobile p-6 is-rounded-desktop-and-higher mt-5 mt-0-mobile",style:{background:"#0f2741"}},Le={class:"columns"},We={class:"column is-7"},Ae=E(()=>t("h3",{class:"has-text-white is-size-2 has-text-weight-semibold mt-2 mb-5",style:{"line-height":"140%"}}," Thank you for your interest in our report! ",-1)),De={class:"py-1",style:{padding:"0.75rem","margin-right":"-0.5rem"}},qe={class:"column py-1"},He={class:"has-text-white is-size-5"},je={class:"column is-5 is-hidden-mobile"},Qe=["src","alt"],Ye=E(()=>t("b",{class:"pl-2"},"Download now",-1)),Ge={key:1,class:"container is-max-widescreen"},Ke={class:"px-2-mobile p-6 is-rounded-desktop-and-higher mb-10 mt-5 mt-0-mobile",style:{background:"#0f2741"}},Je={class:"columns is-variable is-6"},Ze={class:"column"},Xe=["innerHTML"],et={class:"has-text-centered-mobile has-text-white has-text-weight-semibold is-size-3 mt-1 mb-4",style:{"line-height":"140%"}},tt={class:"column mb-4-mobile"},st=["src","alt"],ot=E(()=>t("h3",{class:"has-text-centered-mobile has-text-white has-text-weight-semibold is-size-4 mb-4",style:{"line-height":"140%"}}," Key Benefits ",-1)),it={style:{padding:"0.75rem","margin-right":"-0.6rem"}},at={class:"column"},nt={class:"has-text-white is-size-5"},lt=E(()=>t("h2",{class:"has-text-centered-mobile has-text-weight-semibold is-size-3 mt-1 mb-4 px-2-mobile px-6 px-0-desktop",style:{"line-height":"140%"}}," What is included in the Whitepaper? ",-1)),rt=["src","alt"],dt={key:1,class:"my-6 py-6 px-2-mobile"},ct=["innerHTML"],mt={class:"p-6 px-2-mobile",style:{background:"#0f2741"}},pt={class:"container is-max-widescreen py-6"},ut={class:"columns is-variable is-6"},ht={class:"column"},_t=E(()=>t("h3",{class:"has-text-centered-mobile has-text-white is-size-2 has-text-weight-semibold mb-4",style:{"line-height":"140%"}}," Your All-in-one eCommerce Intelligence Solution ",-1)),ft={key:0,style:{padding:"0.75rem","margin-right":"-0.5rem"}},yt=["src"],bt={class:"column"},gt=["innerHTML"],wt=E(()=>t("div",{class:"column"},[t("iframe",{loading:"lazy",style:{width:"100%",height:"auto","aspect-ratio":"16 / 9"},src:"https://www.youtube.com/embed/dhHPsAmQNvY?si=1QDnW8ZpN8QgBnmE",title:"YouTube - ECDB Store Rankings explained",frameborder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowfullscreen:""})],-1)),vt="4c3468bb-5684-4268-8b06-5e67ff755b59",xt=L({__name:"index",setup(m){const y=te(),w=pe(),P=ue(),g=ie(),i=se[B(y.params.slug)],$=[{icon:"cube",text:"