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/DUfgoyr0.js
import{_ as x}from"./Br9rlyJX.js";import{a9 as $,o as w,G as S,e as a,n as l,w as _,f as t,R as h,v,a0 as z,_ as I,a1 as P,d as F,t as N,O as E,C,b3 as g,g as k,j as A,V as L,W as j,a7 as H,a8 as W,r as R,k as V,ak as Q,al as Y,z as D,az as b,bB as K,h as q,L as J,av as X,c as Z,S as U,aw as ee}from"./llFuKhWI.js";import{u as te}from"./GGENp0mR.js";import{_ as G}from"./BtJExACf.js";import{_ as oe}from"./wMmrnhvC.js";import{_ as se}from"./DA39qUTR.js";import{I as ae}from"./B3n7KGrM.js";const ne={},ie={class:"section"},le={class:"container is-max-widescreen"},re={class:"columns"},ce={class:"column is-full"},ue={class:"footer__nav"},_e={class:"footer__menu"},de=a("span",{class:"footer__item hidden visible-m-inline is-hidden-mobile"},"|",-1),fe={class:"partner"},pe=a("span",{class:"visible-block mb-5"},"In partnership with",-1),ve={class:"tw-flex tw-items-center tw-space-x-8 tw-justify-center tw-pt-6"};function me(i,c){const u=x,o=I,d=P;return w(),S("footer",ie,[a("div",le,[a("div",re,[a("div",ce,[a("div",ue,[l(o,{to:("ROUTES"in i?i.ROUTES:t(h)).HOME(),"aria-label":"Main",class:"footer__logo"},{default:_(()=>[l(u,{size:"tiny"})]),_:1},8,["to"]),a("div",_e,[l(o,{class:"footer__item",to:("LINKS"in i?i.LINKS:t(z)).introductionPdf,target:"_blank",external:""},{default:_(()=>[v(" About us ")]),_:1},8,["to"]),l(o,{class:"footer__item",to:{path:("ROUTES"in i?i.ROUTES:t(h)).METHODOLOGY()}},{default:_(()=>[v(" Methodology ")]),_:1},8,["to"]),l(o,{class:"footer__item",to:{path:("ROUTES"in i?i.ROUTES:t(h)).FAQ.HUB()}},{default:_(()=>[v(" FAQ ")]),_:1},8,["to"]),l(o,{class:"footer__item",to:{path:("ROUTES"in i?i.ROUTES:t(h)).GLOSSARY.HUB()}},{default:_(()=>[v(" Glossary ")]),_:1},8,["to"]),l(o,{class:"footer__item",to:{path:("ROUTES"in i?i.ROUTES:t(h)).REQUEST.CONTACT()}},{default:_(()=>[v(" Contact ")]),_:1},8,["to"]),l(o,{class:"footer__item",to:("ROUTES"in i?i.ROUTES:t(h)).RELEASES()},{default:_(()=>[v(" Releases ")]),_:1},8,["to"]),de,l(o,{class:"footer__item",to:{path:"/imprint",hash:"#legal"}},{default:_(()=>[v(" Legal ")]),_:1}),l(o,{class:"footer__item",to:{path:"/imprint",hash:"#privacy"}},{default:_(()=>[v(" Privacy ")]),_:1}),l(o,{class:"footer__item",to:"/imprint"},{default:_(()=>[v(" Imprint ")]),_:1})])]),a("div",fe,[pe,a("div",ve,[l(o,{href:"https://www.mastercardservices.com",target:"_blank",rel:"noopener",class:"tw-w-32 tw-flex tw-justify-center","data-gtm":"footer__partner--mastercard"},{default:_(()=>[l(d,{src:"/img/logos/mastercard_logo.svg",width:"64px",loading:"lazy",alt:"Mastercard",title:"Mastercard"})]),_:1}),l(o,{href:"https://www.statista.com/",target:"_blank",rel:"noopener",class:"tw-w-32 tw-flex tw-justify-center","data-gtm":"footer__partner--statista"},{default:_(()=>[l(d,{src:"/img/logos/statista_logo.svg",loading:"lazy",width:"118px",alt:"Statista",title:"Statista"})]),_:1}),l(o,{href:"https://www.ehi.org/",target:"_blank",rel:"noopener",class:"tw-w-32 tw-flex tw-justify-center","data-gtm":"footer__partner--ehi"},{default:_(()=>[l(d,{src:"/img/logos/ehi_logo.svg",width:"92px",loading:"lazy",alt:"EHI Retail Institute",title:"EHI Retail Institute"})]),_:1})])])])])])])}const xe=$(ne,[["render",me]]),ze=F({__name:"Notification",setup(i){const c={info:"is-info",warning:"is-warning",danger:"is-danger",success:"is-success"},{notification:u}=te();return(o,d)=>t(u)?(w(),S("div",{key:0,class:E(["notification tw-fixed tw-bottom-4 tw-right-4 tw-z-50",c[t(u).severity||"info"]])},N(t(u).message),3)):C("",!0)}}),M={"example-flag":{url:"https://github.com/ecommercedb/tickets/issues/1",active:[g.DEVELOPMENT]}},B=()=>{const i=k().public.environment?k().public.environment:g.PRODUCTION,c=A("features",()=>({...M})),u=(s,e,n)=>{const r=s[e];return n=n??i,r===void 0||r.active===void 0?!1:typeof r.active=="boolean"?r.active:Array.isArray(r.active)?r.active.includes(n):r.active===n};return{defaults:M,flags:c,isActive:s=>u(c.value,s),isDefaultActive:(s,e)=>u(M,s,e),resetFlags:s=>{s.forEach(e=>{c.value[e].active=M[e].active})},setFlags:s=>{Object.keys(s).forEach(e=>{c.value[e].active=s[e]??!1})}}},y=i=>(H("data-v-e124658a"),i=i(),W(),i),ge={class:"featureFlags pt-7 pr-7 pl-7 pb-6"},he=y(()=>a("div",{style:{"text-align":"left"}},"Feature",-1)),Ee=y(()=>a("div",null,"Dev",-1)),we=y(()=>a("div",null,"Preview",-1)),Se=y(()=>a("div",null,"Stage",-1)),ye=y(()=>a("div",null,"Prod",-1)),Te=y(()=>a("div",null,"Active",-1)),Oe={style:{"text-align":"left","white-space":"nowrap"}},Me=["checked","onInput"],Ae=F({__name:"FeatureFlagModal",setup(i){const{flags:c,isActive:u,isDefaultActive:o,setFlags:d}=B(),p=s=>u(s)!==o(s),m=(s,e)=>{var n;d({[s]:((n=e.target)==null?void 0:n.checked)??!1})};return(s,e)=>{const n=I;return w(),S("div",ge,[he,Ee,we,Se,ye,Te,(w(!0),S(L,null,j(t(c),(r,f)=>(w(),S(L,{key:`dev--${f}`},[a("div",Oe,[l(n,{to:r.url||"#",target:"_blank"},{default:_(()=>[v(N(f),1)]),_:2},1032,["to"])]),a("div",null,[a("span",{class:E([{"featureFlags__icon--active":t(o)(f,("ENV"in s?s.ENV:t(g)).DEVELOPMENT)},"icon-colorCircle ml-2 featureFlags__icon"])},null,2)]),a("div",null,[a("span",{class:E([{"featureFlags__icon--active":t(o)(f,("ENV"in s?s.ENV:t(g)).PREVIEW)},"icon-colorCircle ml-2 featureFlags__icon"])},null,2)]),a("div",null,[a("span",{class:E([{"featureFlags__icon--active":t(o)(f,("ENV"in s?s.ENV:t(g)).STAGE)},"icon-colorCircle ml-2 featureFlags__icon"])},null,2)]),a("div",null,[a("span",{class:E([{"featureFlags__icon--active":t(o)(f,("ENV"in s?s.ENV:t(g)).PRODUCTION)},"icon-colorCircle ml-2 featureFlags__icon"])},null,2)]),a("div",null,[a("input",{checked:t(u)(f),class:E({"featureFlags__checkbox--toggled":p(f)}),type:"checkbox",onInput:T=>m(f,T)},null,42,Me)])],64))),128))])}}}),Fe=$(Ae,[["__scopeId","data-v-e124658a"]]),je=F({__name:"EnvBadge",setup(i){const c=k().public.environment,{flags:u,isActive:o,isDefaultActive:d}=B(),p=R(),m=()=>{var e;return(e=p.value)==null?void 0:e.openModal()},s=V(()=>Object.keys(u).some(e=>o(e)!==d(e)));return(e,n)=>{const r=Fe;return t(c)&&t(c)!==t(g).PRODUCTION?(w(),S("div",{key:0,class:E([{"envBadge--stage":t(c)===t(g).STAGE,"envBadge--development":t(c)===t(g).DEVELOPMENT||t(c)===t(g).PREVIEW,"envBadge--hasToggledFeatures":t(s)},"envBadge is-clickable"]),onClick:n[0]||(n[0]=f=>m())},[v(N(t(c))+" ",1),l(G,{ref_key:"refFeatureFlagModal",ref:p,classes:{modal:"tw-overflow-auto"},"modal-name":"featureFlagModal","no-padding":""},{default:_(()=>[l(r)]),_:1},512)],2)):C("",!0)}}}),ke=()=>{const{isEEA:i}=Q(),{isConsentGiven:c,isModalActive:u}=Y(),o=A("overlayQueue",()=>[]),d=A("lastOverlayTimestamp"),p=A("openModals",()=>new Map),m=V(()=>i.value&&(!c.value||u.value)||!!p.value.size);D(m,()=>{const n=Date.now();if(!d.value)d.value=n;else if(n-d.value<10)return;e()});function s(n,r){if(n){if(r==="modal"){const f=o.value.findLastIndex(O=>O.type!=="modal"),T=f===-1?o.value.length:f;o.value.splice(T,0,{overlayFunction:n,type:r})}b(()=>{e()})}}function e(){var n;if(!m.value&&o.value.length){const r=o.value.shift();(n=r==null?void 0:r.overlayFunction)==null||n.call(r)}}return{addToOverlayQueue:s}},Re=a("br",null,null,-1),be=a("strong",null,'The new "monthly data" feature is here',-1),Ne=a("p",null," The new feature offers a detailed analysis of market revenues by month. Explore month-to-month dynamics and seasonal effects in the eCommerce sector. Get the latest data every month to keep up to date with current market developments. ",-1),Ce={class:"mt-6 popup__imageWrapper"},Le="monthlyMarket",Ue="featurePreviewModal",He=F({__name:"FeaturePreviewModal",setup(i){const c=`${K.FEATURE_PREVIEW_MODAL}${Le}`,u=q(),{addToOverlayQueue:o}=ke(),d=R(!0),p=R();function m(){var e;(e=p.value)==null||e.closeModal()}function s(){ee(c,!0)}return u.hasPermission("core")||D(()=>u.hasPermission("core"),()=>{b(()=>{var e;o((e=p.value)==null?void 0:e.openModal,"modal")})},{once:!0}),J(()=>{d.value=X(c)??!1,u.hasPermission("core")&&!d.value&&b(()=>{var e;o((e=p.value)==null?void 0:e.openModal,"modal")})}),(e,n)=>{const r=P,f=oe,T=se;return t(u).hasPermission("core")&&!t(d)?(w(),Z(G,{key:0,ref_key:"refFeaturePreviewModal",ref:p,"no-padding":"","modal-name":Ue,classes:{modal:"tw-overflow-y-auto"},"no-close-button":"",onClosed:n[2]||(n[2]=O=>s())},{default:_(()=>[l(T,{class:"featurePreviewModal","headline-position":"center","hide-separator":"","justify-center":""},{title:_(()=>[l(t(ae),{class:"tw-inline",width:"50",height:"50"}),Re,be]),default:_(()=>[Ne,a("div",Ce,[l(r,{src:"/img/modals/monthly_preview.png",alt:"Monthly data feature preview",loading:"lazy"})]),l(f,{class:"popup__button--no",label:"No thanks",variant:"secondary",onClick:n[0]||(n[0]=O=>m())}),l(f,{class:"popup__button--try",to:("ROUTES"in e?e.ROUTES:t(h)).MARKETS.DETAIL({isoCode:("SLUGS"in e?e.SLUGS:t(U)).ww,slug:("SLUGS"in e?e.SLUGS:t(U)).all}),label:"Try it",variant:"primary",onClick:n[1]||(n[1]=O=>m())},null,8,["to"])]),_:1})]),_:1},512)):C("",!0)}}});export{xe as _,ze as a,je as b,He as c,ke as u};