iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://ecommerceDB.com/_nuxt/D3MUdz2J.js
import{o,G as f,e as a,d as P,D as Te,n,w as v,f as t,v as C,_ as Z,V as z,W as F,c as $,C as N,t as M,O as w,a1 as Ce,a9 as X,a6 as _e,u as ee,r as I,L as te,z as H,bL as Oe,ah as ge,P as $e,U as Ie,q as Ue,ae as B,R as u,h as be,by as Le,j as Me,k as Y,az as q,at as xe,ab as J,aC as G,aa as Ne,S as L,s as Ae,a7 as Ge,a8 as Be,aM as Pe,aN as De,aO as de,a3 as je,aR as ze}from"./llFuKhWI.js";import{_ as Ke}from"./Br9rlyJX.js";import{_ as Ve}from"./r34_53Kp.js";import{u as We}from"./Ym6uCvCk.js";import{u as Fe}from"./BYxIZdj_.js";import{T as ue}from"./C-7E03RX.js";import{a as He,I as qe}from"./CGuxoV3j.js";import{u as Ye}from"./8f3qKeDV.js";import{g as Q}from"./DAdDEog1.js";import{s as Je}from"./BIPg2yNz.js";import{u as Qe,_ as Ze,a as Xe,b as et,c as tt}from"./DUfgoyr0.js";import{_ as at}from"./D876gs4Y.js";import{a as st}from"./B5KvhQUc.js";import{_ as nt}from"./BtJExACf.js";import{a as me,v as ot}from"./DSR2-td-.js";import{E as it}from"./DyBxGFNf.js";import"./wMmrnhvC.js";import"./B-ANVB1o.js";import"./CnGBFLmb.js";import"./bW3CfTUf.js";import"./DsnHU5bB.js";import"./CAGVG2Xa.js";import"./Bmq57C4o.js";import"./CzSSHsEX.js";import"./GGENp0mR.js";import"./DA39qUTR.js";import"./DtiWZQBA.js";import"./B3n7KGrM.js";const rt={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none"},lt=a("path",{stroke:"#fff","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M4.167 10h11.667M10 4.167 15.833 10 10 15.833"},null,-1),ct=[lt];function dt(m,d){return o(),f("svg",rt,[...ct])}const ut={render:dt},mt={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"none"},pt=a("path",{stroke:"#fff","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M15 5 5 15M5 5l10 10"},null,-1),ft=[pt];function vt(m,d){return o(),f("svg",mt,[...ft])}const ht={render:vt},_t={class:"py-3 has-text-centered has-background-mint-600",style:{"margin-top":"-5px",position:"relative"}},gt={class:"icon-arrow-right"},bt=a("b",{class:"pl-1"},"Download for free",-1),kt=P({__name:"WhitepaperBanner",setup(m){const{showWhitepaperBanner:d}=Te();return(k,p)=>{const _=Z;return o(),f("div",_t,[n(_,{to:"https://topcompanies.ecdb.com/","data-gtm":"navbar__whitepaperBanner",class:"has-text-white",target:"_blank"},{default:v(()=>[a("span",gt,[n(t(ut))]),C(' New: "Top 220 Public eCommerce Companies" '),bt]),_:1}),n(t(ht),{class:"icon-close",onClick:p[0]||(p[0]=y=>d.value=!1)})])}}}),wt={class:"dropdown__list"},yt={class:"dropdown__title"},St=P({__name:"NavDropdown",props:{dropdownData:{type:Array,required:!0},wrapText:{type:Boolean,default:!1}},setup(m){const d=m;function k(){var p;(p=document.activeElement)==null||p.blur()}return(p,_)=>{const y=Ce,r=Z;return o(),f("div",{class:w(["navigation__dropdown navigation__dropdown--hideMobile",{"white-space-nowrap":!m.wrapText}])},[a("ul",wt,[(o(!0),f(z,null,F(d.dropdownData,(g,S)=>(o(),f("li",{key:S,class:"dropdown__listItem"},[n(r,{class:"dropdown__listLink","data-gtm":g.gtm,to:g.href,onClick:k},{default:v(()=>[g.icon?(o(),$(y,{key:0,src:g.icon,class:"dropdown__listImage",alt:"",loading:"lazy","aria-hidden":"true"},null,8,["src"])):N("",!0),a("strong",yt,M(g.title),1),a("span",null,M(g.subtitle),1)]),_:2},1032,["data-gtm","to"])]))),128))])],2)}}}),Et=X(St,[["__scopeId","data-v-f0ba2b7f"]]),Rt=P({__name:"Badge",props:{label:{type:String,default:""},uppercase:{type:Boolean,default:!1},variant:{type:String,default:"default"},size:{type:String,default:"medium"}},setup(m){return(d,k)=>(o(),f("span",{class:w(["variantBadge",[`variantBadge--${m.variant}`,`variantBadge--${m.size}Size`,{"is-uppercase":m.uppercase}]])},[_e(d.$slots,"label",{},()=>[C(M(m.label),1)],!0)],2))}}),Tt=X(Rt,[["__scopeId","data-v-f27d9491"]]),Ct={xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",fill:"none"},Ot=a("path",{fill:"currentColor","fill-rule":"evenodd",stroke:"currentColor",d:"M25 10.77a5.75 5.75 0 1 0 0 11.5 5.75 5.75 0 0 0 0-11.5Zm-7.25 5.75a7.25 7.25 0 1 1 14.5 0 7.25 7.25 0 0 1-14.5 0ZM16.5 27.75a3.75 3.75 0 0 0-3.75 3.75V37a.75.75 0 0 1-1.5 0v-5.5c0-2.9 2.35-5.25 5.25-5.25h17c2.9 0 5.25 2.35 5.25 5.25V37a.75.75 0 0 1-1.5 0v-5.5a3.75 3.75 0 0 0-3.75-3.75z","clip-rule":"evenodd"},null,-1),$t=[Ot];function It(m,d){return o(),f("svg",Ct,[...$t])}const pe={render:It},Ut={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},Lt=a("path",{fill:"currentColor","fill-rule":"evenodd",d:"M2 4.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5M2 8a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11A.5.5 0 0 1 2 8m0 3.5a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 0 1h-11a.5.5 0 0 1-.5-.5","clip-rule":"evenodd"},null,-1),Mt=[Lt];function xt(m,d){return o(),f("svg",Ut,[...Mt])}const Nt={render:xt},At={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32"},Gt=a("path",{stroke:"#000","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m21.754 10.75 5.25 5.25-5.25 5.25M13 16h14M15 27H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h9"},null,-1),Bt=[Gt];function Pt(m,d){return o(),f("svg",At,[...Bt])}const fe={render:Pt},Dt={key:0,class:"select is-x-small"},jt=["value"],zt=["disabled","data-gtm","aria-label"],Kt=["value"],ve=P({__name:"NavCurrencySelect",props:{disabled:{type:Boolean,default:!1},isFullwidth:{type:Boolean,default:!1},dataGtm:{default:void 0},ariaLabel:{default:void 0}},emits:["change"],setup(m,{emit:d}){const k=ee(),{isCurrencySelect:p,currency:_,currencyOptions:y}=Ye(),r=d,g=m,S=I(!1),E=I();return te(()=>{var U;p.value.visible&&(E.value=H(()=>_.value,()=>window.location.reload(),{once:!0})),(U=k==null?void 0:k.query)!=null&&U.currency&&Oe("currency",{replaceHistory:!0}),S.value=!0}),ge(()=>{var U;(U=E.value)==null||U.call(E)}),(U,O)=>t(p).visible&&t(y).length?(o(),f("div",Dt,[t(S)?$e((o(),f("select",{key:1,"onUpdate:modelValue":O[0]||(O[0]=l=>Ue(_)?_.value=l:null),disabled:g.disabled||!t(_),"data-gtm":g.dataGtm??`currencySelect__select--${t(_)}`,"aria-label":g.ariaLabel??"Select Currency",class:w({"is-fullwidth":g.isFullwidth}),onChange:O[1]||(O[1]=B(l=>r("change",t(_)),["stop"]))},[(o(!0),f(z,null,F(t(y),l=>(o(),f("option",{key:l.value,value:l.value},M(l.label),9,Kt))),128))],42,zt)),[[Ie,t(_)]]):(o(),f("select",{key:0,class:w({"is-fullwidth":g.isFullwidth}),disabled:""},[a("option",{value:t(_)},M(t(_)),9,jt)],2))])):N("",!0)}}),K=m=>(Ge("data-v-faae9f18"),m=m(),Be(),m),Vt={key:1,class:"has-background-blue-800 has-text-white mb-3 pr-2-tablet pr-2-mobile pb-1"},Wt={class:"container is-max-widescreen is-flex is-align-items-center is-justify-content-end white-space-nowrap"},Ft={class:"container is-align-items-center is-max-widescreen is-flex is-justify-content-space-between"},Ht={class:"navbar-logo"},qt={class:"navbar-content"},Yt={key:0,class:"navigation__dropdownWrapper"},Jt={class:"navigation__dropdownWrapper is-hidden-touch"},Qt=K(()=>a("span",{class:"navbar-item__label"}," Stores ",-1)),Zt=K(()=>a("span",{class:"navbar-item__label"}," Marketplaces ",-1)),Xt=K(()=>a("span",{class:"navbar-item__label"}," Companies ",-1)),ea={class:"navigation__dropdownWrapper is-hidden-touch"},ta={class:"navbar-item__label"},aa={class:"navigation__dropdownWrapper is-hidden-touch"},sa={class:"navbar-item__label"},na={class:"navbar-item__label"},oa={class:"navigation__dropdownWrapper"},ia=K(()=>a("span",{class:"navbar-item__label"}," Insights ",-1)),ra=K(()=>a("span",{class:"navbar-item__label"}," Reports ",-1)),la={class:"navbar-end"},ca=["aria-label"],he=0,da=P({__name:"Navbar",setup(m){const d={retailers:[{title:"Stores",subtitle:"Analyze online stores and hybrid marketplaces. Create your own country or category ranking and refine it with the filters of your choice",gtm:"navbar-click",href:u.STORES.RANKING_FILTER({country:"ww",category:"all"}),icon:"img/pages/home/icons/storeRanking.svg"},{title:"Marketplaces",subtitle:"Pure and hybrid marketplaces ranked by their Gross Merchandise Value (GMV) for your market and selected filters",gtm:"navbar-click",href:u.MARKETPLACES.RANKING_FILTER({country:"ww",category:"all"}),icon:"img/pages/reports/icon-company.svg"},{title:"Companies",subtitle:"Rank and explore all major eCommerce companies. Get a holistic view of the companies' first- and third-party eCommerce activities",gtm:"navbar-click",href:u.COMPANIES.RANKING_FILTER({country:"ww",category:"all"}),icon:"img/pages/home/icons/companyRanking.svg"}],countries:[{title:"Overview",subtitle:"Understand how eCommerce markets develop and select the country to be analyzed",gtm:"navbar-click",href:u.MARKETS.OVERVIEW_COUNTRY(),icon:"img/pages/reports/icon-world.svg"},{title:"Ranking",subtitle:"Compare the largest eCommerce countries based on revenue and growth",gtm:"navbar-click",href:u.MARKETS.RANKING_COUNTRY({category:"all"}),icon:"img/pages/home/icons/insights.svg"}],productCategories:[{title:"Overview",subtitle:"Understand how product categories develop and select the category to be analyzed",gtm:"navbar-click",href:u.MARKETS.OVERVIEW_CATEGORY(),icon:"img/pages/reports/icon-world.svg"},{title:"Ranking",subtitle:"Compare different product categories based on revenue and growth",gtm:"navbar-click",href:u.MARKETS.RANKING_CATEGORY({country:"ww"}),icon:"img/pages/home/icons/insights.svg"}],insights:[{title:"Articles",subtitle:"Stay informed: Follow-up of new industry development",gtm:"navbar-click",href:u.ARTICLES.HUB(),icon:"img/pages/home/icons/insights.svg"},{title:"Reports",subtitle:"Get curated insights and ready-to-use analytics for topics and countries",gtm:"navbar-click",href:u.REPORTS.HUB(),icon:"img/pages/reports/icon-world.svg"}]},k=We("$a8oFfLRWRe"),p=be(),_=ee(),y=Le(),r=Fe(),g=I(),S=I(),E=I(),U=I(),O=I(),l=I(!0),b=I(!1),c=I(null),D=Me("navbarHeight",()=>he),j=Y(()=>r.isDesktopOrGreater.value?S.value:E.value),x=Y(()=>!p.isLoggedIn.value),ae=Y(()=>!1);H(()=>_.path,()=>{le(_)}),H([x,ae],async()=>{await q(()=>{ie()})});const R=()=>{var e;(e=document.activeElement)==null||e.blur()},we=e=>{if(r.isDesktopOrGreater.value)return;const s=Q({parent:j.value}),i=s[0],T=s[s.length-1];!e.shiftKey&&e.target===T&&(e.preventDefault(),i==null||i.focus()),e.shiftKey&&e.target===i&&(e.preventDefault(),A(!1))},ye=e=>{if(r.isDesktopOrGreater.value)return;const s=Q({parent:j.value}),i=s.findIndex(T=>T===e.target);if(e.key==="ArrowDown"&&s[(i+1)%s.length].focus(),e.key==="ArrowUp"){const T=i-1;T<0?A(!1):s[T].focus()}},A=(e=null)=>{var s;b.value=e!==null?e:!b.value,b.value||(s=O.value)==null||s.focus()},se=async()=>{await p.logout(),await Ae(u.HOME())},ne=e=>{var s,i,T,V;b.value&&(e.preventDefault(),r.isDesktopOrGreater.value?(i=(s=S.value)==null?void 0:s.firstElementChild)==null||i.focus():(V=(T=E.value)==null?void 0:T.firstElementChild)==null||V.focus())},oe=e=>{var s,i,T;b.value&&!(O.value===e.target||(s=O.value)!=null&&s.contains(e.target)||(T=(i=U.value)==null?void 0:i.$el)!=null&&T.contains(e.target))&&A(!1)},Se=async e=>{A(!0),await q(()=>ne(e))},ie=()=>{var e;D.value=((e=g.value)==null?void 0:e.offsetHeight)??he},re=()=>{var s;Je(`#${J.mainContent}`);const e=document.querySelector(`#${J.mainContent}`);e&&((s=Q({parent:e})[0])==null||s.focus())};function le(e){e.path.startsWith("/store/")?c.value="Stores":e.path.startsWith("/company/")?c.value="Companies":e.path.startsWith("/marketplace/")?c.value="Marketplaces":e.path.startsWith("/ranking/companies")||e.path.startsWith("/ranking/stores")||e.path.startsWith("/ranking/marketplaces")?c.value="Retailers":e.path==="/markets/country/overview"||e.path.startsWith("/ranking/markets/country/")?c.value="Countries":e.path==="/markets/category/overview"||e.path.startsWith("/ranking/markets/category/")?c.value="ProductCategories":e.path.startsWith(`${u.BENCHMARKS.HUB()}/`)?c.value="Benchmarks":e.path.startsWith(`${u.ARTICLES.HUB()}/`)?c.value="Articles":e.path.startsWith(`${u.REPORTS.HUB()}/`)?c.value="Reports":c.value=null}function ce(){l.value=(window==null?void 0:window.scrollY)===0}return te(()=>{document.body.addEventListener("click",e=>oe(e)),le(y.currentRoute.value),ie(),window.addEventListener("scroll",ce,{passive:!0})}),ge(()=>{document.body.removeEventListener("click",e=>oe(e)),window.removeEventListener("scroll",ce)}),(e,s)=>{const i=Z,T=kt,V=Ke,W=Et,Ee=Tt,Re=Ve;return o(),f(z,null,[(o(),$(xe("style"),null,{default:v(()=>[C(" :root { --navbar-height-px: "+M(t(D))+"px; } ",1)]),_:1})),(o(),f("nav",{key:t(_).path,ref_key:"navbarRef",ref:g,class:w(["navbar tw-sticky",{"has-shadow":!t(l),"navbar--withRoof":t(x)}])},[n(i,{href:`#${("SELECTORS"in e?e.SELECTORS:t(J)).mainContent}`,class:"skip-link is-absolute button is-hidden-mobile",onClick:s[0]||(s[0]=B(h=>re(),["stop","prevent"])),onKeydown:s[1]||(s[1]=G(B(()=>{},["stop","prevent"]),["enter"])),onKeyup:s[2]||(s[2]=G(B(h=>re(),["prevent"]),["enter"]))},{default:v(()=>[C(" Skip to main content ")]),_:1},8,["href"]),t(ae)?(o(),$(T,{key:0})):N("",!0),t(x)?(o(),f("div",Vt,[a("div",Wt,[n(i,{to:("ROUTES"in e?e.ROUTES:t(u)).REQUEST.WEBINAR(),class:"is-size-7 has-text-white mr-4 mr-2-mobile","data-gtm":"navbar-click"},{default:v(()=>[C(" Book a Demo ")]),_:1},8,["to"]),C(" | "),n(i,{to:("ROUTES"in e?e.ROUTES:t(u)).METHODOLOGY(),class:"is-size-7 has-text-white mx-4 mx-2-mobile","data-gtm":"navbar-click",onClick:R},{default:v(()=>[C(" Methodology ")]),_:1},8,["to"]),C(" | "),n(i,{to:("ROUTES"in e?e.ROUTES:t(u)).LOGIN(),class:"is-size-7 has-text-white ml-4 ml-2-mobile","data-gtm":"navbar-click",onClick:R},{default:v(()=>[C(" University Access ")]),_:1},8,["to"])])])):N("",!0),a("div",Ft,[a("div",Ht,[n(i,{style:Ne(t(x)?"top: -14px":"top: -25px"),class:"navbar-item p-0 pl-2-mobile pl-2-tablet-only","data-gtm":"navbar-click",to:("ROUTES"in e?e.ROUTES:t(u)).HOME(),"aria-label":"Main","data-testid":("TESTID"in e?e.TESTID:t(ue)).NAV.LOGO_LINK,onClick:R},{default:v(()=>[n(V,{boxed:""})]),_:1},8,["style","to","data-testid"])]),a("div",qt,[a("div",{ref_key:"refMenu",ref:E,class:w([{"is-active":t(b)},"navbar-start"]),onKeydown:[s[4]||(s[4]=G(h=>A(!1),["esc"])),s[5]||(s[5]=G(h=>we(h),["tab"])),s[6]||(s[6]=G(B(h=>ye(h),["prevent"]),["down","up"]))]},[t(p).hasPermission("core")?N("",!0):(o(),f("div",Yt,[n(i,{to:("ROUTES"in e?e.ROUTES:t(u)).PRICING(),class:"navbar__button navbar__button--pricing px-2 mx-1 is-overflow-hidden white-space-nowrap is-hidden-touch","data-gtm":"navbar-click"},{default:v(()=>[C(" Pricing ")]),_:1},8,["to"])])),t(p).hasPermission("core")?N("",!0):(o(),$(i,{key:1,to:("ROUTES"in e?e.ROUTES:t(u)).PRICING(),class:"navbar__button navbar__button--pricing px-2 mx-1 is-overflow-hidden white-space-nowrap is-hidden-desktop","data-gtm":"navbar-click"},{default:v(()=>[C(" Pricing ")]),_:1},8,["to"])),a("div",Jt,[a("span",{class:w(["navbar-item is-size-7 is-flex-direction-column is-align-items-flex-start is-justify-content-center",{"router-link-active":t(c)==="Retailers"||t(c)==="Companies"||t(c)==="Stores"||t(c)==="Marketplaces"}]),style:{cursor:"default"}}," Retailers ",2),n(W,{"dropdown-data":d.retailers,class:"p-3",style:{"min-width":"420px"},"wrap-text":""},null,8,["dropdown-data"])]),n(i,{class:w([{"router-link-active":t(c)==="Stores"},"navbar-item is-size-7 is-flex-direction-column is-align-items-flex-start is-justify-content-center is-hidden-desktop"]),to:("ROUTES"in e?e.ROUTES:t(u)).STORES.RANKING_FILTER({country:("SLUGS"in e?e.SLUGS:t(L)).ww,category:("SLUGS"in e?e.SLUGS:t(L)).all}),"data-gtm":"navbar-click",onClick:R},{default:v(()=>[Qt]),_:1},8,["class","to"]),n(i,{class:w([{"router-link-active":t(c)==="Marketplaces"},"navbar-item is-size-7 is-flex-direction-column is-align-items-flex-start is-justify-content-center is-hidden-desktop"]),to:("ROUTES"in e?e.ROUTES:t(u)).MARKETPLACES.RANKING_FILTER({country:("SLUGS"in e?e.SLUGS:t(L)).ww,category:("SLUGS"in e?e.SLUGS:t(L)).all}),"data-gtm":"navbar-click",onClick:R},{default:v(()=>[Zt]),_:1},8,["class","to"]),n(i,{class:w([{"router-link-active":t(c)==="Companies"},"navbar-item is-size-7 is-flex-direction-column is-align-items-flex-start is-justify-content-center is-hidden-desktop"]),to:("ROUTES"in e?e.ROUTES:t(u)).COMPANIES.RANKING_FILTER({country:("SLUGS"in e?e.SLUGS:t(L)).ww,category:("SLUGS"in e?e.SLUGS:t(L)).all}),"data-gtm":"navbar-click",onClick:R},{default:v(()=>[Xt]),_:1},8,["class","to"]),a("div",ea,[a("span",{class:w(["navbar-item is-size-7 is-flex-direction-column is-align-items-flex-start is-justify-content-center",{"router-link-active":t(c)==="Countries"}]),style:{cursor:"default"}}," Countries ",2),n(W,{class:"p-3",style:{"min-width":"420px"},"wrap-text":"","dropdown-data":d.countries},null,8,["dropdown-data"])]),(o(!0),f(z,null,F(d.countries,h=>(o(),$(i,{key:`${h.title}-${t(k)}`,to:h.href,"data-gtm":h.gtm,class:"navbar-item is-size-7 is-flex-direction-column is-align-items-flex-start is-justify-content-center is-hidden-desktop",onClick:R},{default:v(()=>[a("span",ta,M(`Countries ${h.title}`),1)]),_:2},1032,["to","data-gtm"]))),128)),a("div",aa,[a("span",{class:w(["navbar-item is-size-7 is-flex-direction-column is-align-items-flex-start is-justify-content-center",{"router-link-active":t(c)==="ProductCategories"}]),style:{cursor:"default"}}," Product Categories ",2),n(W,{class:"p-3",style:{"min-width":"420px"},"wrap-text":"","dropdown-data":d.productCategories},null,8,["dropdown-data"])]),(o(!0),f(z,null,F(d.productCategories,h=>(o(),$(i,{key:`${h.title}-${t(k)}`,to:h.href,"data-gtm":h.gtm,class:"navbar-item is-size-7 is-flex-direction-column is-align-items-flex-start is-justify-content-center is-hidden-desktop",onClick:R},{default:v(()=>[a("span",sa,M(`Product Categories ${h.title}`),1)]),_:2},1032,["to","data-gtm"]))),128)),n(i,{class:w([{"router-link-active":t(c)==="Benchmarks"},"navbar-item is-size-7 is-flex-direction-column is-align-items-flex-start is-justify-content-center"]),to:("ROUTES"in e?e.ROUTES:t(u)).BENCHMARKS.DETAIL({isoCode:("SLUGS"in e?e.SLUGS:t(L)).ww,slug:("SLUGS"in e?e.SLUGS:t(L)).all}),"data-gtm":"navbar-click",onClick:R},{default:v(()=>[a("span",na,[C(" Benchmarks "),n(Ee,{class:"ml-1",label:"new",size:"small",uppercase:"",variant:"rounded"})])]),_:1},8,["class","to"]),a("div",oa,[a("span",{class:w(["navbar-item is-size-7 is-flex-direction-column is-align-items-flex-start is-justify-content-center is-hidden-touch",{"router-link-active":t(c)==="Reports"||t(c)==="Articles"}]),style:{cursor:"default"}}," Insights ",2),n(W,{"dropdown-data":d.insights,class:"p-3",style:{"min-width":"360px"},"wrap-text":""},null,8,["dropdown-data"])]),n(i,{class:w([{"router-link-active":t(c)==="Articles"},"navbar-item is-size-7 is-flex-direction-column is-align-items-flex-start is-justify-content-center is-hidden-desktop"]),to:("ROUTES"in e?e.ROUTES:t(u)).ARTICLES.TOPIC({region:("SLUGS"in e?e.SLUGS:t(L)).ww,slug:("SLUGS"in e?e.SLUGS:t(L)).all}),"data-gtm":"navbar-click",onClick:R},{default:v(()=>[ia]),_:1},8,["class","to"]),n(i,{class:w([{"router-link-active":t(c)==="Reports"},"navbar-item is-size-7 is-flex-direction-column is-align-items-flex-start is-justify-content-center is-hidden-desktop"]),"data-gtm":"navbar-click","is-fullwidth":"",to:"/reports",onClick:R},{default:v(()=>[ra]),_:1},8,["class"]),n(ve,{class:"is-hidden-mobile"}),a("div",{ref_key:"refMenuPermanent",ref:S,class:w([{"is-active":t(b)},"navbar-permanentMenu is-hidden-desktop"])},[n(ve,{ref_key:"refMobileNavCurrencySelect",ref:U,class:"my-2 mr-2","is-fullwidth":"",onChange:s[3]||(s[3]=h=>A(!1))},null,512),t(p).isLoggedIn.value?(o(),$(i,{key:0,to:("ROUTES"in e?e.ROUTES:t(u)).PROFILE(),class:"navbar-item mx-1 navbar__button navbar__button--logout has-text-weight-bold","data-gtm":"navbar-click",onClick:R},{default:v(()=>[n(t(pe),{height:"26",viewBox:"0 0 50 50",width:"26"})]),_:1},8,["to"])):N("",!0),t(p).isLoggedIn.value?(o(),f("button",{key:1,class:"navbar-item is-last mx-1 navbar__button navbar__button--logout has-text-weight-bold","data-gtm":"navbar-click",type:"button",onClick:se},[n(t(fe),{height:"20",width:"20"})])):(o(),$(i,{key:2,to:("ROUTES"in e?e.ROUTES:t(u)).LOGIN(),class:"box-link navbar-item is-last mx-1 is-inline-flex is-justify-content-center has-text-weight-bold","data-gtm":"navbar-click"},{default:v(()=>[C(" Log In ")]),_:1},8,["to"]))],2)],34),a("div",la,[n(Re,{class:"tw-hidden xl:tw-block tw-mx-1 tw-max-w-40","show-search-icon":"","show-suggestions":"","clear-on-search":"","search-all-types":"",size:"small",placeholder:"Search","data-testid":("TESTID"in e?e.TESTID:t(ue)).SEARCH.NAV_SEARCH},null,8,["data-testid"]),n(i,{"aria-label":"Search",class:"xl:tw-hidden tw-mx-1 lg:tw-mx-4 tw-flex tw-items-center","data-gtm":"navbar-click",to:("ROUTES"in e?e.ROUTES:t(u)).SEARCH(),onClick:R},{default:v(()=>[n(t(He),{class:"has-text-default"})]),_:1},8,["to"]),t(p).isLoggedIn.value?(o(),$(i,{key:0,to:("ROUTES"in e?e.ROUTES:t(u)).PROFILE(),class:"is-hidden-mobile is-hidden-tablet-only navbar-item navbar__button navbar__button--profile mr-1","data-gtm":"navbar-click",onClick:R},{default:v(()=>[n(t(pe),{height:"26",viewBox:"0 0 50 50",width:"26"})]),_:1},8,["to"])):N("",!0),t(p).isLoggedIn.value?(o(),f("button",{key:1,class:"is-hidden-mobile is-hidden-tablet-only navbar-item navbar__button navbar__button--logout","data-gtm":"navbar-click",type:"button",onClick:se},[n(t(fe),{height:"20",width:"20"})])):(o(),$(i,{key:2,to:("ROUTES"in e?e.ROUTES:t(u)).LOGIN(),class:"box-link is-hidden-mobile is-hidden-tablet-only navbar-item is-size-7","data-gtm":"navbar-click"},{default:v(()=>[C(" Log In ")]),_:1},8,["to"])),a("button",{ref_key:"menuButtonRef",ref:O,"aria-label":`${t(b)?"Close":"Open"} menu`,class:"is-hidden-desktop button navbar-burger mx-1",onClick:s[7]||(s[7]=B(h=>A(),["stop"])),onKeydown:[s[8]||(s[8]=G(h=>ne(h),["tab"])),s[9]||(s[9]=G(h=>A(!1),["esc"])),s[10]||(s[10]=G(B(h=>Se(h),["prevent"]),["down"]))]},[t(b)?(o(),$(t(qe),{key:0,height:"20",width:"20"})):(o(),$(t(Nt),{key:1,height:"20",width:"20"}))],40,ca)])])])],2))],64)}}}),ua=X(da,[["__scopeId","data-v-faae9f18"]]);function ma(m,d){var k;return((k=(m??"").match(`(^|;)\\s*${d}\\s*=\\s*([^;]+)`))==null?void 0:k.pop())??null}const ke=()=>{const m=st(),d=be(),k=Pe(de.PROJECT_DATA,{path:"/",maxAge:De.THIRTY_DAYS*2,sameSite:"none",secure:!0,encode:r=>r??"",decode:r=>r});function p(){const r=ma(m.cookie??"",de.PROJECT_DATA)??k.value??"";try{return JSON.parse(r)}catch{return null}}function _(r){k.value=JSON.stringify(r)}function y(){var r;return!!((r=d.tokenData.value)!=null&&r.pt)}return{getData:p,setData:_,isTracking:y}},pa={class:"mr-6 mr-2-mobile"},fa=a("div",{class:"columns mb-0"},[a("div",{class:"column is-10"},[a("h3",{class:"title is-3 mb-4"},"Project tracking"),a("small",{class:"is-inline-block"}," Please input your e-mail address and project name. ")])],-1),va={class:"columns mb-0"},ha={class:"columns mb-0"},_a=a("div",{class:"columns mb-0"},[a("div",{class:"column"},[a("button",{class:"button is-mint-600 has-gradient mt-2",type:"submit"}," Save ")])],-1),ga=P({__name:"ProjectTrackingModal",setup(m){const d=ke(),k=ee(),p=ze(),{addToOverlayQueue:_}=Qe(),y=I(),r=je({email:"",name:""}),g={email:[l=>!!l||"Email is required",it.BLOCK_INVALID,l=>l.includes("@mckinsey.com")||l.includes("@external.mckinsey.com")||"Email must be @mckinsey.com or @external.mckinsey.com"],name:[l=>!!l||"Project name is required"]},S=I(!1);function E(){var b;S.value=!1;const l=d.getData();r.email=(l==null?void 0:l.email)??"",r.name=(l==null?void 0:l.name)??"",(b=y.value)==null||b.openModal()}function U(){var b,c;S.value=!0;const l=ot(r,g);Object.keys(l).length===0&&(d.setData({email:r.email,name:r.name}),(b=y.value)==null||b.closeModal(),(c=p==null?void 0:p.proxy)==null||c.$forceUpdate())}function O(){const l=d.getData();return!!(l!=null&&l.email&&(l!=null&&l.name))}return H(()=>k.path,()=>{q(()=>{O()||E()})}),te(()=>{q(()=>{O()||_(E,"modal")})}),(l,b)=>{var D,j;const c=at;return o(),f("div",{key:t(k).path,class:"projectTrack"},[a("button",{class:w([O()?"is-success":"is-danger","projectTrack__button button is-x-small has-no-border"]),onClick:b[0]||(b[0]=x=>E())},[a("span",pa," Email: "+M(((D=t(d).getData())==null?void 0:D.email)??"-"),1),a("span",null," Project: "+M(((j=t(d).getData())==null?void 0:j.name)??"-"),1)],2),n(nt,{ref_key:"projectTrackModalRef",ref:y,"modal-name":"projectTrackModal","no-padding":""},{default:v(()=>[a("form",{class:"projectTrack__form",onSubmit:B(U,["prevent"])},[fa,a("div",va,[n(c,{modelValue:t(r).email,"onUpdate:modelValue":b[1]||(b[1]=x=>t(r).email=x),"field-valid":!t(S)||t(me)(t(r).email,g.email),label:"E-Mail",placeholder:"email@address.com",required:""},null,8,["modelValue","field-valid"])]),a("div",ha,[n(c,{modelValue:t(r).name,"onUpdate:modelValue":b[2]||(b[2]=x=>t(r).name=x),"field-valid":!t(S)||t(me)(t(r).name,g.name),label:"Project name",placeholder:"Project name",required:""},null,8,["modelValue","field-valid"])]),_a],32)]),_:1},512)])}}}),Ha=P({__name:"default",setup(m){const d=ke();return(k,p)=>{const _=ua,y=Ze,r=Xe,g=et,S=ga,E=tt;return o(),f("div",null,[n(_),_e(k.$slots,"default"),n(y),n(r),n(g),t(d).isTracking()?(o(),$(S,{key:0})):N("",!0),n(E)])}}});export{Ha as default};