PageSourceSearch

https://static.cdn.btcdirect.eu/_next/static/chunks/8259-30496ef7b35fc12c.js

js btcdirect.eu collected 2026-10-01 11:32:30 UTC 114,759 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8259],{687:(e,t,r)=>{"use strict";r.d(t,{default:()=>g});var s=r(89317),l=r(80795),a=r(52296);function n(e){return Math.round(Math.min(100,Math.max(0,e)))}var i=r(42049);function o(e=.5){let t=(0,i.useRef)(null),[r,s]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let r=t.current;if(!r)return;if("u"<typeof IntersectionObserver)return void s(!0);let l=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(s(!0),l.disconnect())},{threshold:e});return l.observe(r),()=>l.disconnect()},[e]),{ref:t,inView:r}}function c(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{if(void 0===window.matchMedia)return;let e=window.matchMedia("(prefers-reduced-motion: reduce)");t(e.matches);let r=e=>t(e.matches);return e.addEventListener("change",r),()=>e.removeEventListener("change",r)},[]),e}let d="font-semibold text-base text-space-blue lg:text-lg";function m(){return(0,s.jsxs)("div",{className:"rounded-2xl border border-grey-200 bg-white p-6",children:[(0,s.jsx)("h3",{className:d,children:"Kopers vs. verkopers (24u)"}),(0,s.jsxs)("div",{className:"mt-4 flex gap-1.5",children:[(0,s.jsx)("div",{className:"h-[18px] flex-[2] rounded-full bg-grey-200"}),(0,s.jsx)("div",{className:"h-[18px] flex-1 rounded-full bg-grey-200"})]}),(0,s.jsxs)("p",{className:"mt-3 flex items-center gap-1.5 text-grey-500 text-sm",children:[(0,s.jsx)(l.A,{"aria-hidden":!0,className:"size-4 shrink-0"}),"Sentimentdata tijdelijk niet beschikbaar"]})]})}let x=({data:e,coinName:t,showContextDescription:r=!0,methodologyUrl:l})=>{let i,x=c(),{ref:u,inView:h}=o();if("unavailable"===e)return(0,s.jsx)(m,{});if(null==e)return null;let p=n(e.buyPercent),g=100-p,b=h||x,f=x?"":"transition-[flex-grow] duration-[800ms] ease-out",j=`${p} procent koopt, ${g} procent verkoopt ${t}`,v=(0,s.jsx)("div",{className:`h-[18px] rounded-full bg-success ${f}`,style:{flexGrow:b?p:0,flexBasis:0}}),y=(0,s.jsx)("div",{className:`h-[18px] rounded-full bg-error ${f}`,style:{flexGrow:b?g:0,flexBasis:0}});return(0,s.jsxs)("div",{ref:u,className:"flex h-full flex-col rounded-2xl border border-grey-200 bg-white p-6",children:[(0,s.jsx)("h3",{className:d,children:"Kopers vs. verkopers (24u)"}),(0,s.jsxs)("div",{className:"mt-4 lg:hidden",children:[(0,s.jsxs)("div",{className:"flex gap-1.5",role:"meter","aria-valuenow":p,"aria-valuemin":0,"aria-valuemax":100,"aria-label":j,children:[v,y]}),(0,s.jsxs)("div",{className:"mt-2 font-semibold",children:[(0,s.jsxs)("span",{className:"text-success-dark",children:["▲ ",p,"%"]}),(0,s.jsx)("span",{className:"mx-2 text-grey-300",children:"\xb7"}),(0,s.jsxs)("span",{className:"text-error-dark",children:["▼ ",g,"%"]})]})]}),(0,s.jsxs)("div",{className:"mt-4 hidden items-center gap-3 lg:flex",role:"meter","aria-valuenow":p,"aria-valuemin":0,"aria-valuemax":100,"aria-label":j,children:[(0,s.jsxs)("span",{className:"whitespace-nowrap font-semibold text-success-dark",children:["▲ ",p,"%"]}),(0,s.jsxs)("div",{className:"flex flex-1 gap-1.5",children:[v,y]}),(0,s.jsxs)("span",{className:"whitespace-nowrap font-semibold text-error-dark",children:["▼ ",g,"%"]})]}),r&&(0,s.jsx)("p",{className:"mt-3 text-grey-600 text-sm",children:(i=n(p))>65?`Meer mensen kopen dan verkopen ${t} op dit moment.`:i>=56?`Er is licht overwicht aan kopers van ${t}.`:i>=45?`De markt is verdeeld over ${t}.`:i>=35?`Er is licht overwicht aan verkopers van ${t}.`:`Meer mensen verkopen dan kopen ${t} op dit moment.`}),(0,s.jsx)("div",{className:"mt-auto flex pt-4",children:(0,s.jsx)(a.b,{href:l})})]})},u="font-semibold text-base text-space-blue lg:text-lg";function h(){return(0,s.jsxs)("div",{className:"rounded-2xl border border-grey-200 bg-white p-6",children:[(0,s.jsx)("h3",{className:u,children:"Fear & Greed Index"}),(0,s.jsx)("div",{className:"mt-2 font-bold text-4xl text-grey-300 leading-none lg:text-7xl",children:"—"}),(0,s.jsx)("div",{className:"mt-4 h-3 rounded-full bg-grey-200"}),(0,s.jsxs)("p",{className:"mt-3 flex items-center gap-1.5 text-grey-500 text-sm",children:[(0,s.jsx)(l.A,{"aria-hidden":!0,className:"size-4 shrink-0"}),"Index tijdelijk niet beschikbaar"]})]})}let p=({data:e,methodologyUrl:t})=>{let r,l=c(),{ref:n,inView:d}=o(),m=d||l,x=null!=e&&"unavailable"!==e?Math.round(Math.min(100,Math.max(0,e.value))):0,p=function(e,t,r,s=1e3){let[l,a]=(0,i.useState)(0);return(0,i.useEffect)(()=>
1{if(!t)return;if(r)return void a(e);let l=0,n=performance.now(),i=t=>{let r=Math.min(1,(t-n)/s);a(Math.round(e*(1-(1-r)**2))),r<1&&(l=requestAnimationFrame(i))};return l=requestAnimationFrame(i),()=>cancelAnimationFrame(l)},[e,t,r,s]),l}(x,m,l);if("unavailable"===e)return(0,s.jsx)(h,{});if(null==e)return null;let g=(r=Math.round(Math.min(100,Math.max(0,x))))<=24?{label:"Extreme angst",labelEn:"Extreme fear",textClass:"text-error-dark"}:r<=49?{label:"Angst",labelEn:"Fear",textClass:"text-error"}:50===r?{label:"Neutraal",labelEn:"Neutral",textClass:"text-warning"}:r<=74?{label:"Hebzucht",labelEn:"Greed",textClass:"text-success"}:{label:"Extreme hebzucht",labelEn:"Extreme greed",textClass:"text-success-dark"},b=m?x:0,f=l?"":"transition-[left] duration-[800ms] ease-out";return(0,s.jsxs)("div",{ref:n,className:"flex h-full flex-col rounded-2xl border border-grey-200 bg-white p-6",children:[(0,s.jsx)("h3",{className:u,children:"Fear & Greed Index"}),(0,s.jsxs)("div",{className:"mt-2 flex items-end gap-4",children:[(0,s.jsx)("span",{className:"font-bold text-4xl text-space-blue leading-none lg:text-7xl",children:p}),(0,s.jsx)("span",{className:`font-semibold text-3xl leading-none lg:text-4xl ${g.textClass}`,children:g.label})]}),(0,s.jsx)("div",{className:"relative mt-4 h-3 rounded-full",style:{background:"linear-gradient(90deg, var(--color-error-dark), var(--color-error), var(--color-warning), var(--color-success), var(--color-success-dark))"},role:"meter","aria-valuenow":x,"aria-valuemin":0,"aria-valuemax":100,"aria-label":`Fear and Greed Index: ${x}, ${g.label}`,children:(0,s.jsx)("span",{className:`absolute top-1/2 size-6 -translate-x-1/2 -translate-y-1/2 rounded-full border-[3px] border-primary bg-primary-lighter shadow-small ${f}`,style:{left:`${b}%`}})}),(0,s.jsxs)("div",{className:"mt-1.5 flex justify-between text-3xs text-grey-500",children:[(0,s.jsx)("span",{children:"Angst"}),(0,s.jsx)("span",{children:"Hebzucht"})]}),(0,s.jsx)("div",{className:"mt-auto flex pt-4",children:(0,s.jsx)(a.b,{href:t})})]})},g=({title:e="Marktsentiment",coinName:t,buySell:r=null,fearGreed:l=null,showContextDescription:a=!0,methodologyUrl:n})=>{let i,o,c=(i=null!=r,o=null!=l,i&&o?"full":i?"buySellOnly":o?"fearGreedOnly":"hidden");return"hidden"===c?null:(0,s.jsxs)("section",{className:"container w-full","aria-label":`Marktsentiment voor ${t}`,children:[(0,s.jsx)("h2",{className:"font-bold text-4xl text-space-blue lg:font-semibold lg:text-7xl",children:e}),(0,s.jsxs)("div",{className:`mt-6 grid gap-4 lg:mt-8 ${"full"===c?"md:grid-cols-2":"grid-cols-1"}`,children:["fearGreedOnly"!==c&&(0,s.jsx)(x,{data:r,coinName:t,showContextDescription:a,methodologyUrl:n}),"buySellOnly"!==c&&(0,s.jsx)(p,{data:l,methodologyUrl:n})]})]})}},4338:(e,t,r)=>{"use strict";r.d(t,{default:()=>N});var s=r(89317),l=r(22783),a=r(42049),n=r(24175),i=r(99323),o=r(19574),c=r(80432),d=r(80337),m=r(48410),x=r(52296),u=r(46659);function h(e,t="nl-NL"){return(0,u.P)(e,t)}function p(e,t){return e.currentPrice<=0?0:(e.predictions[t]-e.currentPrice)/e.currentPrice*100}let g=["price","marketCap","change"],b=[{value:"bearish",label:"Bearish"},{value:"neutral",label:"Neutraal"},{value:"bullish",label:"Bullish"}],f=({value:e,onChange:t})=>(0,s.jsx)("div",{role:"radiogroup","aria-label":"Scenario selecteren",className:"inline-flex items-stretch overflow-hidden rounded-3xl bg-primary-lighter",children:b.map(r=>{let l=r.value===e;return(0,s.jsx)("button",{type:"button",role:"radio","aria-checked":l,onClick:()=>t(r.value),className:(0,c.cn)("whitespace-nowrap rounded-3xl border px-4 py-2 text-center text-base leading-relaxed transition-colors duration-200 motion-reduce:transition-none","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",l?"border-primary-lighter bg-primary font-medium text-white shadow-soft-tab":"border-transparent font-normal text-grey-600 hover:text-space-blue"),children:r.label},r.value)})}),j="Cryptocurrency verwachtingen",v={bullish:"bg-success-lighter text-success-dark",bearish:"bg-error-lighter text-error-dark",neutral:"bg-grey-100 text-grey-500"},y={bullish:"Bullish",bearish:"Bearish",neutral:"Neutraal"},N=({title:e=j,coins:t,defaultScenario:r="neutral",methodologyUrl:u,pageParam:b})=>{let N=(0,n.PZ)(),[w,k]=(0,a.useState)(""),[C,S]=(0,a.useState)(r),[P,$]=(0,a.useState)({column:null,direction:"asc"}
1),L=Number.isFinite(b)&&(b??0)>0?b:1,[E,z]=(0,a.useState)(L);(0,a.useEffect)(()=>z(L),[L]);let A=(0,o.a8)(),M=(0,l.useSearchParams)(),T=(0,a.useRef)(null),F=(0,a.useCallback)(e=>{let t=new URLSearchParams(M.toString());e<=1?t.delete("page"):t.set("page",String(e));let r=t.toString();return r?`${A}?${r}`:A},[A,M]),D=e=>{z(e),requestAnimationFrame(()=>T.current?.scrollIntoView({behavior:"smooth",block:"start"}))},_=(0,a.useMemo)(()=>{let e;return(e=w.trim().toLowerCase())?t.filter(t=>t.name.toLowerCase().includes(e)||t.ticker.toLowerCase().includes(e)):t},[t,w]),B=(0,a.useMemo)(()=>(function(e,t,r){if(!t.column)return e;let s="asc"===t.direction?1:-1,l=[...e];return l.sort((e,l)=>{switch(t.column){case"name":return s*e.name.localeCompare(l.name);case"price":return s*(e.currentPrice-l.currentPrice);case"marketCap":return s*((e.marketCap??0)-(l.marketCap??0));case"change":return s*(p(e,r)-p(l,r));default:return 0}}),l})(_,P,C),[_,P,C]),{pageItems:R,totalPages:I,clampedPage:O}=(0,a.useMemo)(()=>{let e,t,r;return r=((t=Math.min(Math.max(1,E),e=Math.max(1,Math.ceil(B.length/15))))-1)*15,{pageItems:B.slice(r,r+15),totalPages:e,clampedPage:t}},[B,E]),U=e=>{$(t=>{let r;return r=g.includes(e),t.column!==e?{column:e,direction:r?"desc":"asc"}:r?"desc"===t.direction?{column:e,direction:"asc"}:{column:null,direction:"asc"}:"asc"===t.direction?{column:e,direction:"desc"}:{column:null,direction:"asc"}}),z(1)};if(!t||0===t.length)return null;let V="whitespace-nowrap py-3 text-left text-xs text-grey-500 cursor-pointer select-none";return(0,s.jsxs)("section",{ref:T,className:"container w-full",children:[(0,s.jsx)(d.T,{title:e,align:"left",className:"mb-6"}),(0,s.jsxs)("div",{className:"mb-6 flex flex-col gap-4 md:flex-row md:items-center md:justify-between",children:[(0,s.jsxs)("div",{className:"relative w-full sm:w-80",children:[(0,s.jsx)(m.WI,{}),(0,s.jsx)("input",{type:"text",placeholder:"Zoek een coin…",value:w,onChange:e=>{k(e.target.value),z(1)},className:"h-12 w-full rounded-lg border border-grey-300 bg-white pr-3 pl-10 text-sm text-space-blue placeholder:text-grey-400 focus:border-primary focus:outline-hidden"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("span",{className:"font-semibold text-grey-700 text-sm",children:"Scenario"}),(0,s.jsx)(f,{value:C,onChange:e=>{S(e),z(1)}})]})]}),0===R.length?(0,s.jsx)("p",{className:"py-12 text-center text-base text-grey-400",children:"Geen coins gevonden."}):(0,s.jsxs)("div",{className:"overflow-hidden rounded-2xl border border-grey-300 bg-white shadow-medium",children:[(0,s.jsx)("div",{className:"scrollbar-none overflow-x-auto",children:(0,s.jsxs)("table",{className:"w-full min-w-[800px] table-fixed border-collapse",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{className:"border-grey-300 border-b",children:[(0,s.jsx)("th",{className:(0,c.cn)(V,"w-[24%] pl-6"),onClick:()=>U("name"),children:(0,s.jsxs)("span",{className:"flex items-center gap-1",children:["Coin",(0,s.jsx)(m.yc,{active:"name"===P.column,direction:"name"===P.column?P.direction:"asc"})]})}),(0,s.jsx)("th",{className:(0,c.cn)(V,"w-[12%]"),onClick:()=>U("price"),children:(0,s.jsxs)("span",{className:"flex items-center gap-1",children:["Nu",(0,s.jsx)(m.yc,{active:"price"===P.column,direction:"price"===P.column?P.direction:"asc"})]})}),(0,s.jsx)("th",{className:(0,c.cn)(V,"hidden w-[13%] lg:table-cell"),onClick:()=>U("marketCap"),children:(0,s.jsxs)("span",{className:"flex items-center gap-1",children:["Marktkap",(0,s.jsx)(m.yc,{active:"marketCap"===P.column,direction:"marketCap"===P.column?P.direction:"asc"})]})}),(0,s.jsx)("th",{className:(0,c.cn)(V,"w-[14%] cursor-default"),children:"Verwacht (1jr)"}),(0,s.jsx)("th",{className:(0,c.cn)(V,"w-[12%]"),onClick:()=>U("change"),children:(0,s.jsxs)("span",{className:"flex items-center gap-1",children:["Verandering",(0,s.jsx)(m.yc,{active:"change"===P.column,direction:"change"===P.column?P.direction:"asc"})]})}),(0,s.jsx)("th",{className:(0,c.cn)(V,"w-[12%] cursor-default"),children:"Trend"}),(0,s.jsx)("th",{className:(0,c.cn)(V,"w-[13%] cursor-default pr-6 text-right")})]})}),(0,s.jsx)("tbody",{children:R.map(e=>{let t=p(e,C),r=e.predictions[C],l=t>0?"bullish":t<0?"bearish":"neutral";return(0,s.jsxs)("tr",{className:"group transition-colors hover:bg-primary-lighter",children:[(0,s.jsx)("td",{className:"border-grey-300 border-b py-4 pr-4 pl-6 group-last:border-b-0",children:(0,s.jsxs)("a",{href:e.href,className:"flex items-center gap-3 no-underline",children:[e.iconUrl?(0,s.jsx)("img",{className:"size-10 shrink-0 rounded-full object-cover",src:e.iconUrl,alt:e.name,loading:"lazy",decoding:"async"}
1):(0,s.jsx)("span",{"aria-hidden":!0,className:"flex size-10 shrink-0 items-center justify-center rounded-full bg-primary-lighter font-semibold text-3xs text-grey-500 uppercase",children:e.ticker.slice(0,3)}),(0,s.jsxs)("div",{className:"flex min-w-0 flex-col",children:[(0,s.jsx)("span",{className:"truncate font-semibold text-base text-space-blue leading-[1.4]",children:e.name}),(0,s.jsx)("span",{className:"text-grey-400 text-sm leading-normal tracking-[-0.2px]",children:e.ticker})]})]})}),(0,s.jsx)("td",{className:"whitespace-nowrap border-grey-300 border-b py-4 pr-4 font-semibold text-base text-space-blue tabular-nums group-last:border-b-0",children:h(e.currentPrice,N)}),(0,s.jsx)("td",{className:"hidden whitespace-nowrap border-grey-300 border-b py-4 pr-4 text-sm text-space-blue tabular-nums group-last:border-b-0 lg:table-cell",children:e.marketCap?`€${(0,i.YT)(e.marketCap,N,{notation:"compact",maximumFractionDigits:1})}`:(0,s.jsx)("span",{className:"text-grey-400",children:"--"})}),(0,s.jsx)("td",{className:"whitespace-nowrap border-grey-300 border-b py-4 pr-4 font-semibold text-base text-space-blue tabular-nums group-last:border-b-0",children:h(r,N)}),(0,s.jsx)("td",{className:(0,c.cn)("whitespace-nowrap border-grey-300 border-b py-4 pr-4 font-bold text-sm tabular-nums tracking-[-0.2px] group-last:border-b-0",t>0?"text-success-dark":t<0?"text-error-dark":"text-grey-500"),children:function(e,t="nl-NL"){let r=new Intl.NumberFormat(t,{minimumFractionDigits:1,maximumFractionDigits:1}).format(Math.abs(e));return`${e>0?"+":e<0?"-":""}${r}%`}(t,N)}),(0,s.jsx)("td",{className:"border-grey-300 border-b py-4 pr-4 group-last:border-b-0",children:(0,s.jsx)("span",{className:(0,c.cn)("inline-flex items-center rounded-full px-2.5 py-1 font-semibold text-3xs uppercase tracking-wide",v[l]),children:y[l]})}),(0,s.jsx)("td",{className:"border-grey-300 border-b py-4 pr-6 text-right group-last:border-b-0",children:(0,s.jsx)("a",{href:e.href,className:"inline-flex h-10 items-center justify-center rounded-lg bg-primary-lighter px-5 font-semibold text-primary text-sm no-underline transition-colors duration-150 hover:bg-primary hover:text-white group-hover:bg-primary group-hover:text-white",children:"Bekijk"})})]},e.ticker)})})]})}),I>1&&(0,s.jsxs)("div",{className:"flex flex-col items-start gap-3 border-grey-300 border-t p-4 md:flex-row md:items-center md:justify-between lg:px-6",children:[(0,s.jsxs)("span",{className:"text-grey-500 text-xs",children:["Pagina ",O," van ",I," — ",B.length," coins"]}),(0,s.jsxs)("nav",{"aria-label":"Paginering",className:"flex items-center gap-1 md:gap-2",children:[O>1&&(0,s.jsx)(o.N_,{href:F(O-1),scroll:!1,rel:"prev",onClick:()=>D(O-1),className:"flex h-8 items-center rounded-full px-3 text-sm text-space-blue transition-colors hover:bg-primary-lighter md:h-9",children:"Vorige"}),Array.from({length:I},(e,t)=>t+1).map(e=>e===O?(0,s.jsx)("span",{"aria-current":"page",className:"flex size-8 items-center justify-center rounded-full bg-primary text-sm text-white md:size-9",children:e},e):(0,s.jsx)(o.N_,{href:F(e),scroll:!1,onClick:()=>D(e),"aria-label":`Pagina ${e}`,className:"flex size-8 items-center justify-center rounded-full text-sm text-space-blue transition-colors hover:bg-primary-lighter md:size-9",children:e},e)),O<I&&(0,s.jsx)(o.N_,{href:F(O+1),scroll:!1,rel:"next",onClick:()=>D(O+1),className:"flex h-8 items-center rounded-full px-3 text-sm text-space-blue transition-colors hover:bg-primary-lighter md:h-9",children:"Volgende"})]})]})]}),(0,s.jsxs)("div",{className:"mt-6 flex flex-wrap items-center gap-3",children:[(0,s.jsx)("span",{className:"text-grey-500 text-xs",children:"Indicatieve verwachtingen op 1 jaar"}),(0,s.jsx)(x.b,{href:u})]})]})}},6065:(e,t,r)=>{"use strict";r.d(t,{default:()=>x});var s=r(89317),l=r(28186),a=r(42049),n=r(47933),i=r(24175),o=r(44731),c=r(26082),d=r(54082),m=r(18329);let x=({coin:e,content:t,history:r,initialPrice:x,marketCap:u,circulatingSupply:h})=>{let p=(0,l.c)(),g=(0,i.PZ)(),b=(0,d.m5)(e.externalId,"eur")??x,f=h>0?b*h:u,j=p("SEO.COIN_BLOCK_TEMPLETE_ARIA_LABEL",{coin_name:e.name}),v={decreasing:p("coin-trend.decreased").toLowerCase(),increasing:p("coin-trend.increased").toLowerCase(),stable:p("coin-trend.stable").toLowerCase()},y=a.useMemo(()=>{let e=r[r.length-1][0],t=(0,c.He)(r,e);return(0,c.Xi)(b,t[c.r7.HOURS_24])},[b,r]),N=e=>{let t=Math.abs(e);return(0,i.YT)(e,g,{style:"currency",currency:"eur",minimumFractionDigits:2,maximumFractionDigits:t>=.01?2:t>=1e-4?4:t>=1e-6?6:8})},w={decreasing:N(-y.value),increasing:N(y.value),stable:N(y.value)},k={[c.r7.HOUR_1]:p("coin-graph.timeframe-navigation.hour",{n:1}),[c.r7.HOURS_24]:p("coin-graph.timeframe-navigation.hours",{n:24}),[c.r7.DAY_7]:p("coin-graph.timeframe-navigation.days",{n:7}),[c.r7.DAY_14]:p("coin-graph.timeframe-navigation.days",{n:14}),[c.r7.MONTH_1]:p("coin-graph.timeframe-navigation.month",{n:1}),[c.r7.MONTH_6]:p("coin-graph.timeframe-navigation.months",{n:6}),[c.r7.YEAR_1]:p("coin-graph.timeframe-navigation.year",{n:1}),[c.r7.ALL]:p("coin-graph.timeframe-navigation.all")},C=(0,i.YT)(y.percent,g,{style:"percent",maximumFractionDigits:2}),S={decreasing:`▼ ${C}`,increasing:`▲ ${C}`,stable:C}
1,P=new n.c({coinSymbol:e.symbol,coinName:e.name,changeAbsoluteValue:w[y.trend],changePercentage:S[y.trend],changePeriod:k[c.r7.HOURS_24],changeTrend:v[y.trend],circulatingSupply:(0,i.YT)(h>=1e3?Math.round(h):h,g,{maximumFractionDigits:h>=1e3?0:4}),marketCap:(0,i.YT)(Math.round(f),g,{style:"currency",currency:"eur",maximumFractionDigits:0}),coinPrice:(0,i.eo)(b,g,"eur")});return(0,s.jsxs)("section",{className:"container","aria-labelledby":"coin-seo-text-title",children:[(0,s.jsx)("h2",{id:"coin-seo-text-title",className:"sr-only",children:j}),(0,s.jsx)(m.Card,{className:"p-4 lg:p-6",children:(0,s.jsx)(m.W,{children:(0,s.jsx)(o.A,{className:"font-normal text-primary-dark text-sm leading-normal tracking-[-0.01em] lg:text-base",data:P.parseRichText(t),enableGutter:!1,enableProse:!1})})})]})}},7117:(e,t,r)=>{"use strict";r.d(t,{default:()=>d});var s=r(89317),l=r(42049),a=r(7281),n=r(44731),i=r(86531),o=r(87963);function c({recommendations:e}){let[t,r]=(0,l.useState)(new Set),o=(0,l.useCallback)(e=>{r(t=>{let r=new Set(t);return r.has(e)?r.delete(e):(r.clear(),r.add(e)),r})},[]);return(0,s.jsxs)("div",{className:"mt-10 flex flex-col gap-6",children:[e.title&&(0,s.jsx)("h3",{className:"text-h3 text-space-blue lg:text-h3",children:e.title}),e.description&&(0,s.jsx)(n.A,{data:e.description,enableGutter:!1,enableProse:!1,className:i.O}),e.items.length>0&&(0,s.jsx)("div",{className:"overflow-hidden rounded-2xl border border-grey-300 bg-white",children:e.items.map((e,r)=>(0,s.jsxs)(l.Fragment,{children:[r>0&&(0,s.jsx)("div",{className:"mx-4 border-grey-300 border-t md:mx-6"}),(0,s.jsx)(a.v,{item:e,isOpen:t.has(r),onToggle:()=>o(r)})]},e.title))})]})}let d=({title:e,tabs:t})=>{let r=t.length>0?"tab-0":void 0;return(0,s.jsxs)("section",{className:e?"container":"container -mt-(--section-gap) pt-8 lg:-mt-(--section-gap-lg)",children:[e&&(0,s.jsx)("h2",{className:"mb-10 text-h2 text-space-blue lg:text-h2",children:e}),(0,s.jsxs)(o.tU,{defaultValue:r,className:"gap-0",children:[(0,s.jsx)(o.j7,{className:"no-scrollbar flex w-full justify-start gap-0 overflow-x-auto border-grey-300 border-b bg-transparent",children:t.map((e,t)=>(0,s.jsx)(o.Xi,{value:`tab-${t}`,className:"shrink-0 cursor-pointer rounded-none border-0 border-transparent border-b-2 bg-transparent px-4 py-3 font-medium text-grey-500 text-sm shadow-none ring-0 transition-colors hover:text-grey-700 focus-visible:outline-hidden focus-visible:ring-0 data-[state=active]:border-0 data-[state=active]:border-primary data-[state=active]:border-b-2 data-[state=active]:bg-transparent data-[state=active]:text-primary data-[state=active]:shadow-none",children:e.tabLabel},e.tabLabel))}),t.map((e,t)=>(0,s.jsxs)(o.av,{value:`tab-${t}`,className:"pt-8",children:[e.guideTitle&&(0,s.jsx)("h3",{className:"mb-4 text-h3 text-space-blue lg:text-h3",children:e.guideTitle}),e.guideContent&&(0,s.jsx)(n.A,{data:e.guideContent,enableGutter:!1,enableProse:!1,className:i.O}),e.recommendations&&(0,s.jsx)(c,{recommendations:e.recommendations})]},e.tabLabel))]})]})}},10948:(e,t,r)=>{"use strict";r.d(t,{CtaBannerBlock:()=>i});var s=r(89317),l=r(31998),a=r(70977),n=r(34237);let i=e=>{let{tenant:t}=(0,a.K)();return e.title||e.description?(t?.slug===l.Bl.BTC_DIRECT,(0,s.jsx)(n.default,{...e})):null}},12014:(e,t,r)=>{"use strict";r.d(t,{default:()=>n});var s=r(89317),l=r(18329),a=r(96256);let n=({items:e})=>(0,s.jsxs)("div",{className:"relative isolate w-full",children:[(0,s.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-y-0 left-0 z-10 w-14 bg-linear-to-r from-white to-transparent lg:w-20"}),(0,s.jsx)(a.Marquee,{speed:14,children:(0,s.jsx)("div",{className:"flex items-stretch",children:e.map(e=>(0,s.jsx)("div",{className:"shrink-0 pl-6",style:{width:"18rem"},children:(0,s.jsxs)(l.Card,{className:"h-full shadow-small",children:[(0,s.jsxs)(l.CardHeader,{className:"gap-y-0",children:[(0,s.jsx)(l.CardTitle,{className:"font-semibold! text-primary-dark text-sm! leading-normal!",children:e.name}),(0,s.jsx)(l.CardDescription,{className:"mt-1.5 text-gray-700 text-sm! leading-tight!",children:e.jobTitle})]}),(0,s.jsxs)(l.W,{className:"relative -mt-2 pl-3 text-base text-primary-dark leading-[1.4]",children:[e.review,(0,s.jsx)("span",{className:"absolute inset-y-0 left-0 w-0.5 rounded-full bg-primary-light"})]})]})},e.name))})}),(0,s.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-y-0 right-0 z-10 w-14 bg-linear-to-l from-white to-transparent lg:w-20"})]})},19071:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var s=r(89317);let l=(0,r(98197).A)("circle-chevron-right",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m10 8 4 4-4 4",key:"1wy4r4"}]]);
1var a=r(23482),n=r(24175),i=r(19574),o=r(51587);let c=e=>{let{type:t,children:r,coinPage:c,newTab:d,to:m,url:x}=e,u=(0,n.PZ)(),h=(0,o.n)(),p=null;if("reference"===t&&m)p=`/${m}`;else if("custom"===t&&x)p=x;else if("coinPage"===t&&c){let e=c.dynamic?h?.coinSlug??h?.coinName??null:c.coinSlug??c.coinName;e&&(p=`/${(0,a.EM)(e,c.pageType,u)}`)}return p?(0,s.jsxs)(i.N_,{href:p,...d?{rel:"noopener noreferrer",target:"_blank"}:{},className:"flex w-full items-center justify-between gap-4 text-body-bold text-primary tracking-[0.25px] transition-colors duration-150 hover:text-primary-darker",children:[r,(0,s.jsx)(l,{className:"size-10 shrink-0 stroke-current",strokeWidth:1})]}):null}},20595:(e,t,r)=>{"use strict";r.d(t,{DragScroll:()=>n});var s=r(89317),l=r(42049),a=r(80432);function n({children:e,className:t}){let r=(0,l.useRef)(null),i=(0,l.useRef)({active:!1,startX:0,startLeft:0,moved:!1}),o=()=>{i.current.active=!1};return(0,s.jsx)("div",{ref:r,onPointerDown:e=>{if("mouse"!==e.pointerType)return;let t=r.current;t&&(i.current={active:!0,startX:e.clientX,startLeft:t.scrollLeft,moved:!1})},onPointerMove:e=>{let t=r.current;if(!t||!i.current.active)return;let s=e.clientX-i.current.startX;Math.abs(s)>3&&(i.current.moved=!0),t.scrollLeft=i.current.startLeft-s},onPointerUp:o,onPointerLeave:o,onClickCapture:e=>{i.current.moved&&(e.preventDefault(),e.stopPropagation(),i.current.moved=!1)},className:(0,a.cn)("cursor-grab select-none overflow-x-auto overscroll-x-contain active:cursor-grabbing","[scrollbar-width:thin] [&::-webkit-scrollbar]:h-3 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-grey-300 [&::-webkit-scrollbar-track]:bg-grey-100 hover:[&::-webkit-scrollbar-thumb]:bg-grey-400",t),children:e})}},23756:(e,t,r)=>{"use strict";r.d(t,{default:()=>u});var s=r(89317);let l=(0,r(98197).A)("circle-arrow-down",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8 12 4 4 4-4",key:"k98ssh"}]]);var a=r(28186),n=r(42049),i=r(24175),o=r(80432),c=r(54082);let d=({children:e,className:t})=>{let r=(0,c.C)();return(0,s.jsx)("span",{className:(0,o.cn)("transition-colors duration-500",r?.flash==="up"&&"text-success duration-0",r?.flash==="down"&&"text-error duration-0",t),children:e})};var m=r(27630),x=r(85924);let u=({coinName:e,coinSymbol:t,coinImage:r,initialPrice:u,initialChange24h:h,link:p})=>{let g=(0,a.c)(),b=(0,i.PZ)(),f=(0,c.C)(),{scrollDirection:j,isAtTop:v}=(0,m.Y)(),y="down"===j&&!v;(0,n.useEffect)(()=>{let e=document.documentElement;return y?e.dataset.conversionBarVisible="":delete e.dataset.conversionBarVisible,()=>{delete e.dataset.conversionBarVisible}},[y]);let N=f?.price||u,w=f?.change24h??h,k=w>0?"increasing":w<0?"decreasing":"stable",C=Math.abs(w)/100,S=(0,i.eo)(N,b,"eur"),P=(0,i.YT)(C,b,{style:"percent",maximumFractionDigits:2});return(0,s.jsx)("nav",{"aria-label":`${e} ${g("trading")}`,inert:!y,className:(0,o.cn)("conversion-bar fixed right-0 bottom-0 left-0 z-40 flex justify-center px-4 pb-4 transition-transform duration-300 ease-in-out",y?"translate-y-0":"translate-y-[calc(100%+16px)]"),children:(0,s.jsxs)("div",{className:"flex w-full max-w-[712px] items-center justify-between rounded-full border border-primary-lighter bg-white py-2 pr-2 pl-3 shadow-medium lg:py-3 lg:pr-8 lg:pl-6",children:[(0,s.jsxs)("div",{className:"flex min-w-0 items-center gap-2 pr-1 lg:gap-4",children:[(0,s.jsx)("img",{src:r,className:"size-7 shrink-0 lg:size-9",alt:"","aria-hidden":"true",loading:"lazy",decoding:"async"}),(0,s.jsxs)("div",{className:"flex min-w-0 flex-wrap items-center gap-x-2 lg:gap-x-3",children:[(0,s.jsxs)("span",{className:"hidden shrink-0 text-primary-dark text-size-base lg:inline",children:[e," ",(0,s.jsxs)("span",{children:["(",t,")"]})]}),(0,s.jsx)("span",{className:"shrink-0 text-primary-dark text-sm lg:hidden",children:t}),(0,s.jsx)(d,{className:"shrink-0 font-semibold text-primary-dark text-sm sm:text-md lg:text-md",children:S}),(0,s.jsxs)("span",{className:(0,o.cn)("flex shrink-0 items-center gap-0.5",{"text-success":"increasing"===k,"text-error":"decreasing"===k,"text-grey-500":"stable"===k}),children:["stable"!==k?(0,s.jsx)(l,{"aria-hidden":"true",fill:"
1currentColor",stroke:"white",className:(0,o.cn)("size-4 lg:size-5","increasing"===k&&"rotate-180")}):(0,s.jsx)("span",{"aria-hidden":!0,className:"size-4 lg:size-5"}),(0,s.jsxs)("span",{className:"font-bold text-3xs lg:text-xs",children:[(0,s.jsx)("span",{children:("increasing"===k?"+":"decreasing"===k?"-":"")||"​"}),P]})]}),(0,s.jsx)("span",{className:"hidden shrink-0 text-3xs text-grey-500 lg:inline",children:g("last-24-hours")})]})]}),(0,s.jsx)(x.Button,{variant:"primary",size:"large",className:"px-5 font-medium max-sm:min-h-[40px] max-lg:rounded-full max-lg:text-xs lg:px-8 lg:py-3",asChild:!0,children:(0,s.jsx)("a",{href:p,rel:"noopener",children:g("register")})})]})})}},27775:(e,t,r)=>{"use strict";r.d(t,{CoinOverviewClient:()=>o});var s=r(89317),l=r(53022),a=r(42049),n=r(19574);function i(){return(0,s.jsxs)("svg",{className:"size-5 text-grey-400",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,s.jsx)("path",{d:"M9.16667 15.8333C12.8486 15.8333 15.8333 12.8486 15.8333 9.16667C15.8333 5.48477 12.8486 2.5 9.16667 2.5C5.48477 2.5 2.5 5.48477 2.5 9.16667C2.5 12.8486 5.48477 15.8333 9.16667 15.8333Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,s.jsx)("path",{d:"M17.5 17.5L13.875 13.875",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function o({title:e,description:t,searchPlaceholder:r,cardCtaTemplate:c,emptyStateText:d,coins:m}){let[x,u]=a.useState(""),h=a.useMemo(()=>{let e=x.trim().toLowerCase();return e?m.filter(t=>t.name.toLowerCase().includes(e)||t.ticker.toLowerCase().includes(e)):m},[m,x]),p=c??"Meer over {{ticker}}";return(0,s.jsxs)("section",{className:"container w-full",children:[(e||t)&&(0,s.jsxs)("header",{className:"mb-8 flex flex-col gap-3",children:[e?(0,s.jsx)("h2",{className:"font-semibold text-3xl text-space-blue lg:text-4xl",children:e}):null,t?(0,s.jsx)("p",{className:"text-base text-grey-500 lg:text-lg",children:t}):null]}),(0,s.jsx)("div",{className:"mb-6",children:(0,s.jsxs)("label",{className:"relative block",children:[(0,s.jsx)("span",{className:"pointer-events-none absolute inset-y-0 left-4 flex items-center",children:(0,s.jsx)(i,{})}),(0,s.jsx)("input",{type:"search",value:x,onChange:e=>u(e.target.value),placeholder:r??"",className:"h-12 w-full rounded-lg border border-grey-300 bg-white pr-4 pl-11 text-base text-space-blue placeholder:text-grey-400 focus:border-primary focus:outline-none","aria-label":r??"Search"})]})}),0===h.length?(0,s.jsx)("p",{className:"py-12 text-center text-base text-grey-400",children:d??""}):(0,s.jsx)("ul",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",children:h.map(e=>{let t=p.replace(/\{\{\s*ticker\s*\}\}/gi,e.ticker);return(0,s.jsx)("li",{children:(0,s.jsxs)(n.N_,{href:e.href,prefetch:!1,className:"group flex items-center gap-4 roun
1ded-xl border border-grey-200 bg-white p-5 no-underline transition-colors hover:border-primary hover:bg-primary-lighter",children:[(0,s.jsx)(l.default,{src:e.iconUrl,alt:e.name,width:48,height:48,className:"size-12 shrink-0 rounded-full object-cover"}),(0,s.jsxs)("div",{className:"flex min-w-0 flex-col",children:[(0,s.jsx)("span",{className:"truncate font-semibold text-base text-space-blue",children:e.name}),(0,s.jsxs)("span",{className:"flex items-center gap-1 truncate text-grey-500 text-sm",children:[t,(0,s.jsx)("svg",{className:"size-3.5 shrink-0 transition-transform group-hover:translate-x-0.5",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,s.jsx)("path",{d:"M6 4l4 4-4 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]})},e.externalId)})})]})}},28783:(e,t,r)=>{"use strict";r.d(t,{ChartSectionClient:()=>h});var s=r(89317),l=r(25149),a=r(53022),n=r(42049),i=r(24175),o=r(80432),c=r(42260),d=r(46358),m=r(26082),x=r(52173),u=r(54082);let h=({coin:e,coinImage:t,initialCoinPrice:r,history:h})=>{let p=(0,i.PZ)(),g=n.useRef(null),[b,f]=n.useState(m.r7.YEAR_1),[j,v]=n.useState("eur"),y="xau"===j?"eur":j,N=(0,u.m5)(e.externalId,y),w=(0,x.P)(e.symbol,h,j),k=n.useMemo(()=>w[j],[w,j]),C=k.length>0?k[k.length-1][0]:0,S=k.length>0?k[k.length-1][1]:r,P="xau"===j?S:N??r,$=n.useMemo(()=>k.length>0?(0,m.He)(k,C):{},[k,C])[b]??r,L=(0,m.Xi)(P,$),E="increasing"===L.trend,z="decreasing"===L.trend,{low:A,high:M}=n.useMemo(()=>(0,d._)(k,b,C),[k,b,C]),T=n.useMemo(()=>(0,c.a)(k),[k]),F=n.useDeferredValue(T),D=n.useDeferredValue(b),_=n.useDeferredValue(j),B=n.useCallback(e=>{g.current?.resetZoom(e),f(e)},[]);if(0===k.length)return null;let R=(0,i.eo)(P,p,j),I=(0,i.YT)(L.percent,p,{style:"percent",maximumFractionDigits:2}),O=(0,i.eo)(L.value,p,j);return(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-x-4 gap-y-3 md:grid-cols-[minmax(0,1fr)_auto]",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3 md:justify-start",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)(a.default,{src:t,width:40,height:40,alt:e.name,className:"shrink-0",priority:!0}),(0,s.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,s.jsx)("h2",{className:"text-h4 text-primary-dark",children:e.name}),(0,s.jsx)("span",{className:"text-body-regular text-grey-500 uppercase",children:e.symbol})]})]}),(0,s.jsx)("div",{className:"md:hidden",children:(0,s.jsx)(d.LA,{value:j,onValueChange:v})})]}),(0,s.jsx)("div",{className:"hidden md:block",children:(0,s.jsx)(d.LA,{value:j,onValueChange:v})}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-2 md:col-start-1",children:[(0,s.jsx)("p",{className:"text-h2 text-primary-dark lg:text-h2",children:R}),(0,s.jsxs)("span",{className:(0,o.cn)("inline-flex items-center rounded-full px-3 py-1 font-medium text-3xs tracking-[-0.005em] lg:font-bold lg:text-sm lg:leading-[1.5] lg:tracking-[-0.01em]",E?"bg-success-lighter text-success":z?"bg-error-lighter text-error":"bg-grey-100 text-grey-500"),children:[(0,s.jsx)("span",{children:E?"+":z?"-":"​"}),I]}),(0,s.jsxs)("span",{className:(0,o.cn)("inline-flex items-center gap-1 font-bold text-3xs lg:text-md",E?"text-success":z?"text-error":"text-grey-500"),children:["stable"!==L.trend?(0,s.jsx)(l.A,{fill:"currentColor",stroke:"white",className:(0,o.cn)("size-4 lg:size-5",z&&"rotate-180")}):(0,s.jsx)("span",{"aria-hidden":!0,className:"size-4 lg:size-5"}),(0,s.jsx)("span",{children:E?"+":z?"-":"​"}),O]})]})]}),(0,s.jsxs)("div",{className:"flex w-full flex-wrap items-center justify-between gap-x-8 gap-y-3",children:[(0,s.jsx)("div",{className:"shrink-0 [&>*]:grow-0 [&_[data-slot=tabs-list]]:h-9 [&_[data-slot=tabs-list]]:gap-1 [&_[data-slot=tabs-trigger]:not([data-state=active]):hover]:bg-grey-200 [&_[data-slot=tabs-trigger]:not([data-state=active])]:bg-grey-100 [&_[data-slot=tabs-trigger][data-state=active]]:font-semibold [&_[data-slot=tabs-trigger][data-state=active]]:shadow-sm [&_[data-slot=tabs-trigger]]:cursor-pointer [&_[data-slot=tabs-trigger]]:px-3.5 [&_[data-slot=tabs-trigger]]:py-1.5 [&_[data-slot=tabs-trigger]]:text-xs",children:(0,s.jsx)(d.wo,{period:b,changePerio
1d:B})}),null!==A&&null!==M&&(0,s.jsx)("div",{className:"hidden flex-wrap items-center gap-x-6 gap-y-2 lg:flex",children:(0,s.jsx)(d.NE,{low:A,high:M,currency:j})})]}),(0,s.jsx)(d.UJ,{ref:g,data:F,period:D,currency:_}),null!==A&&null!==M&&(0,s.jsx)("div",{className:"flex flex-wrap items-center gap-x-6 gap-y-2 lg:hidden",children:(0,s.jsx)(d.NE,{low:A,high:M,currency:j})})]})}},30459:(e,t,r)=>{"use strict";r.d(t,{default:()=>N});var s=r(89317),l=r(28186),a=r(42049),n=r(86340),i=r(24175),o=r(99323),c=r(80432),d=r(68495),m=r(54082),x=r(70977),u=r(85924),h=r(44803),p=r(87963);function g(e){return parseFloat(e.replace(/\./g,"").replace(",","."))||0}function b(e){let t=e.split(","),r=t[0].replace(/\D/g,""),s=t.length>1?t[1].replace(/\D/g,""):null,l=(r=r.replace(/^0+/,"")||"0").replace(/\B(?=(\d{3})+(?!\d))/g,".");return null!==s?`${l},${s}`:l}function f(e,t){let r=g(e);return t&&r?(r/t).toFixed(8).replace(/\.?0+$/,"").replace(".",","):""}function j(e,t){let r=g(e);if(!t||!r)return"";let[s,l]=(r*t).toFixed(2).split(".");return b(`${s},${l}`)}function v({up:e}){return(0,s.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{transform:e?"none":"rotate(180deg)"},children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM9.25 7.81066L7.28033 9.78033C6.98744 10.0732 6.51256 10.0732 6.21967 9.78033C5.92678 9.48744 5.92678 9.01256 6.21967 8.71967L9.46967 5.46967C9.76256 5.17678 10.2374 5.17678 10.5303 5.46967L13.7803 8.71967C14.0732 9.01256 14.0732 9.48744 13.7803 9.78033C13.4874 10.0732 13.0126 10.0732 12.7197 9.78033L10.75 7.81066V14C10.75 14.4142 10.4142 14.75 10 14.75C9.58579 14.75 9.25 14.4142 9.25 14V7.81066Z",fill:e?"#2bc080":"#ff3c25"})})}function y({subtitle:e,title:t,showButton:r,buttonLabel:x,buttonStyle:g,buttonHref:N,defaultCoinSymbol:w,defaultAction:k,actionLabel:C,coinDialogItems:S}){let P=(0,l.c)("teaser-component"),$=(0,i.PZ)(),L=(0,m.pS)("eur"),E=(0,m._C)(),[z,A]=(0,a.useState)(null),[M,T]=(0,a.useState)(k),[F,D]=(0,a.useState)("150"),[_,B]=(0,a.useState)(""),R=(0,a.useRef)("fiat"),[I,O]=(0,a.useState)(!1),U=a.useMemo(()=>0===L.length?null:z?L.find(e=>e.symbol===z)||L[0]:L.find(e=>e.symbol.toLowerCase()===w.toLowerCase())||L[0]||null,[L,z,w]),V=(0,m.zr)(U?.symbol??"")??0,G=(0,a.useRef)(null),H=(0,a.useRef)(null),Y=(0,a.useRef)(null),[q,K]=(0,a.useState)("1.5ch"),[Z,W]=(0,a.useState)(64),X="buy"===M,J=X?F:_,Q=U?.price??0,ee=(e,t)=>{let r=e.replace(/\./g,"").replace(/[^0-9,]/g,""),s=r.indexOf(",");if(-1!==s){let e=r.slice(s+1).replace(/,/g,"").slice(0,t);r=r.slice(0,s+1)+e}return""===r?"":b(r)},et=(0,a.useRef)(null);(0,a.useLayoutEffect)(()=>{let e=et.current;if(!e)return;let{el:t,sig:r}=e;et.current=null;let s=t.value,l=0,a=s.length;for(let e=0;e<s.length;e++){if(l>=r){a=e;break}"."!==s[e]&&l++}t.setSelectionRange(a,a)});let er=e=>{let t=e.target.selectionStart??e.target.value.length,r=e.target.value.slice(0,t).replace(/\./g,"").length;et.current={el:e.target,sig:r}},es=e=>{er(e);let t=ee(e.target.value,2);R.current="fiat",D(t),B(Q>0?f(t,Q):"")},el=e=>{er(e);let t=ee(e.target.value,8);R.current="crypto",B(t),D(Q>0?j(t,Q):"")};(0,a.useEffect)(()=>{Q&&("fiat"===R.current?B(f(F,Q)):D(j(_,Q)))},[Q]),(0,a.useLayoutEffect)(()=>{if(!H.current||!Y.current)return;let e=[64,48,36,28,22],t=Y.current.offsetWidth-16,r=e[e.length-1];for(let s of e)if(H.current.style.fontSize=`${s}px`,H.current.offsetWidth+1.5*s<=t){r=s;break}H.current.style.fontSize=`${r}px`;let s=H.current.offsetWidth;W(r),K(`${Math.max(40,s+4)}px`)},[J]);let ea=V>=0;return(0,s.jsxs)("div",{className:"relative flex w-full flex-col items-center overflow-hidden bg-primary-lighter",children:[(0,s.jsxs)("svg",{className:"pointer-events-none absolute top-[144px] left-1/2 size-[1470px] -translate-x-1/2 max-md:top-[85px] max-md:left-[-170px] max-md:size-[752px] max-md:translate-x-0",viewBox:"0 0 1470 1470",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[(0,s.jsx)("path",{opacity:"0.2",fillRule:"evenodd",clipRule:"evenodd",d:"M1469.5 734.75C1469.5 1140.33 1140.33 1469.5 734.75 1469.5C329.168 1469.5 -2.87768e-05 114
10.33 -6.42339e-05 734.751C-9.96911e-05 329.168 329.168 9.96911e-05 734.75 6.42339e-05C1140.33 2.87768e-05 1469.5 329.168 1469.5 734.75ZM909.396 734.751C909.396 638.113 831.399 560.115 734.76 560.115C638.121 560.115 560.124 638.113 560.124 734.751C560.124 831.39 638.121 909.388 734.76 909.388C831.399 909.388 909.396 831.39 909.396 734.751Z",fill:"url(#footerShapeGrad)"}),(0,s.jsx)("defs",{children:(0,s.jsxs)("linearGradient",{id:"footerShapeGrad",x1:"821.49",y1:"1393.96",x2:"37.1123",y2:"629.076",gradientUnits:"userSpaceOnUse",children:[(0,s.jsx)("stop",{stopColor:"#0069D9"}),(0,s.jsx)("stop",{offset:"0.32",stopColor:"#0086FF"}),(0,s.jsx)("stop",{offset:"1",stopColor:"#E5F2FF"})]})})]}),(0,s.jsxs)("div",{className:"relative z-1 mx-auto flex w-full max-w-[1200px] flex-col items-center gap-10 px-6 pt-20 pb-16 max-md:gap-6 max-md:px-6 max-md:py-10 max-xs:px-4",children:[(0,s.jsxs)("div",{className:"flex w-full flex-col items-center gap-8 text-center max-md:gap-6",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center text-space-blue max-md:flex-col-reverse max-md:gap-4",children:[(0,s.jsx)("p",{className:"m-0 font-normal text-base leading-[1.4]",children:e}),(0,s.jsx)("h2",{className:"m-0 whitespace-pre-line font-bold text-[48px] leading-[1.2] tracking-[-1px] max-md:font-bold max-md:text-[32px] max-md:leading-normal max-md:tracking-normal",children:t})]}),r&&(0,s.jsx)(u.Button,{variant:"primary"===g?"primary":"secondary",size:"large",className:"primary"!==g?"bg-white":void 0,asChild:!0,children:(0,s.jsx)("a",{href:N,children:x})})]}),(0,s.jsx)("div",{className:"mx-auto w-full max-w-[1000px]",children:(0,s.jsxs)("div",{className:"flex w-full flex-col items-center rounded-xl bg-white shadow-medium max-md:overflow-visible max-md:rounded-xl max-md:p-4",children:[(0,s.jsx)("div",{className:"w-full px-10 pt-10 max-md:p-0",children:(0,s.jsx)(p.tU,{value:M,onValueChange:e=>T(e),children:(0,s.jsxs)(p.j7,{appearance:"subtle",size:"sm",className:"md:h-14",children:[(0,s.jsx)(p.Xi,{value:"buy",appearance:"subtle",children:P("buy")}),(0,s.jsx)(p.Xi,{value:"sell",appearance:"subtle",children:P("sell")})]})})}),(0,s.jsxs)("div",{className:"flex w-full flex-col items-center px-10 pt-6 max-md:mt-4 max-md:p-0",children:[(0,s.jsxs)("div",{ref:Y,className:"flex w-full cursor-text items-baseline justify-center",onClick:()=>G.current?.focus(),style:{fontSize:Z},children:[X&&(0,s.jsx)("span",{className:"mr-1 shrink-0 font-medium font-sans text-space-blue leading-[1.3] tracking-[-1px]",style:{fontSize:Z},children:"€"}),(0,s.jsx)("span",{className:"invisible absolute h-0 overflow-hidden whitespace-pre font-medium font-sans leading-[1.3] tracking-[-1px]",ref:H,"aria-hidden":"true",style:{fontSize:Z},children:J||"0"}),(0,s.jsx)("input",{ref:G,className:"border-none bg-transparent p-0 text-center font-medium font-sans text-space-blue leading-[1.3] tracking-[-1px] outline-hidden placeholder:text-space-blue",type:"text",inputMode:"decimal",placeholder:"0",value:J,style:{width:q,fontSize:Z},onChange:e=>X?es(e):el(e)}),!X&&(0,s.jsx)("span",{className:"ml-1 shrink-0 font-medium font-sans text-space-blue leading-[1.3] tracking-[-1px]",style:{fontSize:Z},children:U?.symbol.toUpperCase()||"BTC"})]}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-4",children:[X?(0,s.jsxs)("label",{className:"flex cursor-text items-baseline font-normal text-base text-grey-600 leading-[1.4]",children:[(0,s.jsx)("input",{type:"text",inputMode:"decimal",placeholder:"0",value:_,onChange:el,style:{width:`${Math.max(1,(_||"0").length)}ch`},className:"border-none bg-transparent p-0 text-right font-normal font-sans text-base text-grey-600 leading-[1.4] outline-hidden placeholder:text-grey-600"}),(0,s.jsxs)("span",{children:["\xa0",U?.symbol.toUpperCase()||""]})]}):(0,s.jsxs)("label",{className:"flex cursor-text items-baseline font-normal text-base text-grey-600 leading-[1.4]",children:[(0,s.jsx)("span",{children:"€\xa0"}),(0,s.jsx)("input",{type:"text",inputMode:"decimal",placeholder:"0",value:F,onChange:es,style:{width:`${Math.max(1,(F||"0").length)}ch`},className:"border-none bg-transparent p-0 font-normal font-sans text-base text-grey-600 leading-[1.4] outline-hidden placeholder:text-grey-600"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-1",children:[(0,s.jsx)(v,{up:ea}
1),(0,s.jsxs)("span",{className:(0,c.cn)("font-bold text-base leading-[1.4]",ea?"text-success":"text-error"),children:[ea?"+":"",V.toLocaleString("nl-NL",{minimumFractionDigits:1,maximumFractionDigits:1}),"%"]}),(0,s.jsx)("span",{className:"font-normal text-grey-400 text-xs leading-[1.6]",children:P("time-period-24h")})]})]})]}),(0,s.jsxs)("div",{className:"flex w-full flex-col gap-4 px-10 pt-10 max-md:mt-4 max-md:gap-4 max-md:p-0",children:[(0,s.jsxs)("div",{className:"relative flex w-full cursor-pointer items-center gap-3 rounded-lg border border-grey-300 bg-white px-4 py-3",onClick:()=>O(!0),children:[U&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("img",{className:"size-8 shrink-0 rounded-full object-cover",src:U.image,alt:U.name,loading:"lazy",decoding:"async"}),(0,s.jsx)("span",{className:"font-normal text-base text-grey-600 leading-[1.4]",children:U.symbol.toUpperCase()}),(0,s.jsx)("span",{className:"flex-1 text-right font-normal text-grey-500 text-sm leading-normal tracking-[-0.2px]",children:(0,o.eo)(U.price,$,"eur")})]}),(0,s.jsx)(h.yQ,{className:"size-[21px] shrink-0 text-grey-500"})]}),(0,s.jsx)(d.C,{coins:S,open:I,onSelect:e=>A(e.symbol),onClose:()=>O(!1)}),(0,s.jsx)(u.Button,{variant:"primary",size:"large",className:"w-full",asChild:!0,children:(0,s.jsx)("a",{href:(0,n.AX)($,{baseCurrency:U?.symbol,quoteCurrencyAmount:F,userAction:M}),rel:"nofollow",children:U?P("buy"===M?"buy-coin":"sell-coin",{coin:U.name}):"buy"===M?C:P("sell")})})]}),(0,s.jsx)("div",{className:"w-full px-10 pt-3 pb-8 max-md:px-0 max-md:pt-2 max-md:pb-0",children:(0,s.jsx)("p",{className:"m-0 text-center font-normal text-grey-500 text-xs leading-[1.6]",children:P("price-update-in-n-seconds",{n:E})})})]})})]})]})}let N=({pageConfig:e,coinSymbol:t,coinDialogItems:r,defaultTradeMode:a="buy"})=>{let n=(0,l.c)("teaser-component"),{tenantSettings:i}=(0,x.K)(),o=i?.footerTradeWidget;if(!o?.enabled)return null;let c=e?.overrideContent===!0,d=c&&e?.subtitle||o.defaultSubtitle,m=c&&e?.title||o.defaultTitle,u=!c||(e?.topButton?.showButton??!0),h=c&&e?.topButton?.label||o.defaultButtonLabel,p=c&&e?.topButton?.style||o.defaultButtonStyle,g=c&&e?.topButton?.href||o.defaultButtonHref,b=t||e?.defaultCoinSymbol||o.defaultCoinSymbol||"btc";return(0,s.jsx)(y,{subtitle:d,title:m,showButton:u,buttonLabel:h,buttonStyle:p,buttonHref:g,defaultCoinSymbol:b,defaultAction:a,actionLabel:n("proceed-to-checkout"),coinDialogItems:r})}},34363:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>j});var s=r(89317),l=r(42049),a=r(80432),n=r(54082),i=r(85924),o=r(52296),c=r(46659);function d(e,t="nl-NL"){return(0,c.P)(e,t)}function m(e,t="nl-NL"){let r=new Intl.NumberFormat(t,{minimumFractionDigits:1,maximumFractionDigits:1}).format(Math.abs(e));return`${e>0?"+":e<0?"-":""}${r}%`}let x=({horizons:e,value:t,onChange:r})=>(0,s.jsx)("div",{className:"-mx-(--container-padding) overflow-x-auto px-(--container-padding) xs:-mx-(--container-padding-xs) xs:px-(--container-padding-xs) lg:-mx-1 lg:px-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:(0,s.jsx)("div",{role:"radiogroup","aria-label":"Tijdshorizon selecteren",className:"inline-flex items-stretch rounded-3xl bg-primary-lighter",children:e.map(e=>{let l=e.key===t;return(0,s.jsx)("button",{type:"button",role:"radio","aria-checked":l,onClick:()=>r(e.key),className:(0,a.cn)("whitespace-nowrap rounded-3xl border px-4 py-2 text-center text-base leading-relaxed transition-colors duration-200 motion-reduce:transition-none","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",l?"border-primary-lighter bg-primary font-medium text-white shadow-soft-tab":"border-transparent font-normal text-grey-600 hover:text-space-blue"),children:e.label},e.key)})})});var u=r(25149),h=r(77732);let p=({ticker:e,coinName:t,fallbackPrice:r,fallbackDelta:l=0,state:i="live",locale:o="nl-NL"})=>{let c=(0,n.m5)(e,"eur")??r,x=(0,n.zr)(e)??l,p=x>=0;return(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3 rounded-xl border border-grey-200 px-4 py-3",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("img",{src:(0,h.i)(e),alt:"","aria-hidden":"true",width:32,height:32,className:"size-8 shrink-0"}),(0,s.jsxs)("p",{className:(0,a.cn)("font-bold text-space-blue tabular-nums",d(c,o).length>9?"text-lg md:text-2xl":"text-2xl md:text-3xl"),children:[(0,s.jsxs)("span",{className:"sr-only",children:["Huidige koers ",t,": "]}),e.toUpperCase()," = ",d(c,o)]})]}),"mock"===i?(0,s.jsx)("span",{className:"inline-flex items-center rounded-full bg-warning-lighter px-3 py-1 font-medium text-sm text-warning-dark",children:"Voorbeelddata"}):(0,s.jsxs)("span",{className:(0,a.cn)("inline-flex items-center gap-1.5 font-semibold text-base",x>0?"text-success-dark":x<0?"text-error-dark":"text-grey-500"),children:[(0,s.jsx)(u.A,{fill:"currentColor",stroke:"white","aria-hidden":"true",className:(0,a.cn)("size-5",!p&&"rotate-180")}
1),m(x,o)," vandaag"]})]})},g=({kind:e,position:t,targetPrice:r,changePercent:l,locale:n="nl-NL"})=>{let i=function(e){switch(e){case"bearish":return{text:"text-error-dark",badgeBg:"bg-error",arrow:"▼",label:"Bearish"};case"neutral":return{text:"text-grey-600",badgeBg:"bg-grey-500",arrow:"▬",label:"Neutraal"};case"bullish":return{text:"text-success-dark",badgeBg:"bg-success",arrow:"▲",label:"Bullish"}}}(e),o=function(e,t="nl-NL"){return(0,c.P)(e,t)}(r,n),d=null!=l?m(l,n):"—";return(0,s.jsxs)("div",{role:"group",className:(0,a.cn)("flex flex-col gap-2 bg-grey-100 p-3 md:gap-3 md:p-4 lg:p-6","left"===t?"rounded-l-2xl":"right"===t?"rounded-r-2xl":""),"aria-label":`${i.label} scenario: ${o}${null!=l?`, ${d}`:""}`,children:[(0,s.jsxs)("div",{className:(0,a.cn)("flex items-center gap-1 font-semibold text-xs md:gap-1.5 md:text-sm",i.text),children:["neutral"!==e&&(0,s.jsx)(u.A,{fill:"currentColor",stroke:"white","aria-hidden":"true",className:(0,a.cn)("size-3.5 shrink-0 md:size-4 lg:size-5","bearish"===e&&"rotate-180")}),i.label]}),(0,s.jsx)("div",{className:(0,a.cn)("whitespace-nowrap font-semibold text-space-blue tabular-nums tracking-tight",o.length>9?"text-sm md:text-base lg:text-xl":o.length>7?"text-sm md:text-xl lg:text-3xl":"text-base md:text-2xl lg:text-4xl"),children:o}),(0,s.jsx)("span",{className:(0,a.cn)("inline-flex w-fit items-center rounded-full px-2 py-1 font-semibold text-white text-xs md:px-3 md:text-sm",i.badgeBg),children:d})]})},b=[{kind:"bearish",position:"left"},{kind:"neutral",position:"center"},{kind:"bullish",position:"right"}],f=({state:e})=>{let t=(0,n._C)()??10,r="mock"===e?"Live koers tijdelijk niet beschikbaar — voorbeelddata":"refreshing"===e?"Prijs wordt bijgewerkt…":`Prijs update in ${t} seconden`;return(0,s.jsx)("div",{className:"mt-4 w-full",children:(0,s.jsx)("p",{className:"m-0 text-center font-normal text-grey-500 text-xs leading-[1.6]",children:r})})},j=({coinName:e,ticker:t,currentPrice:r,dailyChangePercent:c=0,horizons:d,cta:m,state:u="live",showMethodologyLink:h=!0,methodologyUrl:j,locale:v="nl-NL"})=>{let[y,N]=(0,l.useState)(d[0]?.key),w=d.find(e=>e.key===y)??d[0],k=(0,n.m5)(t,"eur")??r,C=(m?.label??"{coinName} kopen").replaceAll("{coinName}",e),S=m?.url;return w?(0,s.jsxs)("section",{className:"rounded-2xl border border-grey-200 bg-white p-6 lg:p-8","aria-label":`Koersverwachting ${e}`,children:[(0,s.jsxs)("h2",{className:"font-bold text-4xl text-space-blue tracking-tight md:text-[length:var(--font-size-7xl)]",children:[e," Koersvoorspelling"]}),(0,s.jsx)("div",{className:"mt-6",children:(0,s.jsx)(p,{ticker:t,coinName:e,fallbackPrice:r,fallbackDelta:c,state:u,locale:v})}),d.length>1&&(0,s.jsx)("div",{className:"mt-6",children:(0,s.jsx)(x,{horizons:d,value:w.key,onChange:N})}),"loading"===u?(0,s.jsx)("div",{className:"mt-6 grid grid-cols-3 gap-1",children:b.map(({kind:e,position:t})=>(0,s.jsx)("div",{className:(0,a.cn)("h-28 animate-pulse bg-grey-100 lg:h-40","left"===t?"rounded-l-2xl":"right"===t?"rounded-r-2xl":"")},e))}):(0,s.jsx)("div",{className:"mt-6 grid grid-cols-3 gap-1",children:b.map(({kind:e,position:t})=>{var r;return(0,s.jsx)(g,{kind:e,position:t,targetPrice:w.scenarios[e],changePercent:(r=w.scenarios[e],k<=0?null:(r-k)/k*100),locale:v},e)})}),(0,s.jsx)("p",{className:"mt-6 text-grey-500 text-sm leading-relaxed",children:"Op basis van historische cycli en het huidige marktsentiment neigt de verwachting naar gematigd positief. Koersvoorspellingen zijn geen garantie — crypto blijft volatiel."}),h&&(0,s.jsx)("div",{className:"mt-2 flex",children:(0,s.jsx)(o.b,{href:j})}),S&&(0,s.jsx)(i.Button,{asChild:!0,variant:"primary",size:"large",className:"mt-6 w-full",children:(0,s.jsx)("a",{href:S,children:C})}),(0,s.jsx)(f,{state:u})]}):null}},36708:(e,t,r)=>{"use strict";r.d(t,{default:()=>g});var s=r(89317),l=r(22783),a=r(42049),n=r(24175),i=r(99323),o=r(80432),c=r(68024),d=r(71867),m=r(65920),x=r(51587),u=r(54082),h=r(96256);let p=({externalId:e,fallback:t})=>{let r=(0,n.PZ)(),l=(0,u.m5)(e,"eur"),a=(0,u.zr)(e),c=null!=l?(0,i._n)(l,r,"eur",{minimumFractionDigits:void 0,maximumFractionDigits:100}):t?.formattedPrice,d=null!=a?a>0?"increasing":a<0?"decreasing":"stable":t?.trend;return c?(0,s.jsx)("p",{className:(0,o.cn)("font-semibold text-base tabular-nums leading-normal tracking-[-0.005em] lg:text-md",{"text-success":"increasing"===d,"text-error":"decreasing"===d,"text-black":"stable"===d||!d}),children:c}):null},g=e=>{let{items:t,itemsImageMap:r,coinPrices:i}=e,u=t.slice(0,25),g=(0,n.PZ)(),b=(0,x.n)(),f=(0,l.usePathname)(),[j,v]=a.useState(null);a.useEffect(()=>
1{v(null)},[f]);let y="flex h-14 shrink-0 items-center gap-2 rounded-full px-4 py-2 lg:h-16",N=(0,o.cn)(y,"transition-all duration-200 hover:bg-primary-lighter active:bg-primary-lighter focus:outline-hidden focus-visible:ring-2 focus-visible:ring-primary");return(0,s.jsxs)("div",{className:"relative isolate overflow-hidden",children:[(0,s.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-y-0 left-0 z-10 w-14 bg-linear-to-r from-white to-transparent lg:w-28"}),(0,s.jsx)(h.Marquee,{speed:14,pauseOnHover:!1,children:(0,s.jsx)("ul",{className:"flex items-center",children:u.map(e=>{let t=i[e.coin.externalId],l=!!e.link&&(0,m.A)((0,d._)(e.link,g,b?.coinSlug??b?.coinName??null)),a=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("img",{className:"size-8 lg:size-10",alt:e.coin.name,src:r[e.coin.externalId],loading:"lazy",decoding:"async"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"text-body-regular text-grey-600 uppercase",children:e.coin.symbol}),(0,s.jsx)(p,{externalId:e.coin.externalId,fallback:t})]})]}),n=j===e.coin.externalId;return(0,s.jsx)("li",{className:"shrink-0 pl-4",children:l&&e.link?(0,s.jsx)(c.CMSLink,{...e.link,label:"",appearance:"inline",onClick:()=>v(e.coin.externalId),"aria-busy":n||void 0,className:(0,o.cn)(N,n&&"bg-primary-lighter ring-2 ring-primary/30 ring-inset"),children:a}):(0,s.jsx)("div",{className:y,children:a})},e.coin.externalId)})})}),(0,s.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-y-0 right-0 z-10 w-14 bg-linear-to-l from-white to-transparent lg:w-28"})]})}},36831:(e,t,r)=>{"use strict";r.d(t,{EmailSignupForm:()=>c});var s=r(89317),l=r(65092),a=r(42049),n=r(24175),i=r(80432);let o=(0,l.default)(()=>r.e(515).then(r.bind(r,82896)),{loadableGenerated:{webpack:()=>[82896]},ssr:!1}),c=({theme:e="light",emailPlaceholder:t="Je e-mailadres",ctaLabel:r="Aanmelden",trustNote:l="Gratis \xb7 geen spam \xb7 uitschrijven met \xe9\xe9n klik",showTrustNote:c=!0,locale:d,successMessage:m})=>{let[x,u]=(0,a.useState)(""),[h,p]=(0,a.useState)(!1),[g,b]=(0,a.useState)(!1),f="dark"===e;return(0,s.jsxs)("div",{className:"w-full",children:[(0,s.jsxs)("form",{onSubmit:function(e){e.preventDefault(),b(!0),p(!0)},className:(0,i.cn)("flex h-16 w-full items-center gap-2 overflow-hidden rounded-2xl bg-white px-2",f?"shadow-[0px_2px_10px_0px_rgba(9,10,12,0.06)]":"border border-grey-300"),children:[(0,s.jsx)("input",{type:"email",name:"email",required:!0,value:x,onChange:e=>u(e.target.value),placeholder:t,"aria-label":t,autoComplete:"email",className:"h-14 min-w-0 flex-1 bg-transparent pl-4 text-body-regular text-grey-700 placeholder:text-grey-400 focus-visible:outline-hidden"}),(0,s.jsx)("button",{type:"submit",className:"h-12 shrink-0 cursor-pointer rounded-lg bg-primary px-6 text-body-bold text-white transition-colors hover:bg-primary-darker sm:px-8",children:r})]}),c&&(0,s.jsx)("p",{className:(0,i.cn)("mt-2 text-xs",f?"text-grey-300":"text-grey-500"),children:l}),g&&(0,s.jsx)(o,{open:h,onClose:()=>p(!1),initialEmail:x,locale:d||n.Xn,successMessage:m})]})}},44518:(e,t,r)=>{"use strict";r.d(t,{CoinMetaLive:()=>o});var s=r(42049),l=r(47933),a=r(99323),n=r(54082);let i="{{coinPrice}}";function o({symbol:e,coinName:t,coinSlug:r,locale:c,titleTemplate:d,descriptionTemplate:m}){let x=(0,n.m5)(e,"eur"),u=d?.includes(i)??!1,h=m?.includes(i)??!1;return s.useEffect(()=>{let s,n;if(!x||!u&&!h)return;let i=new l.c({coinName:t,coinSymbol:e,coinSlug:r,coinPrice:(0,a.eo)(x,c,"eur")},c),o=u&&d?i.parsePlainText(d):null,p=h&&m?i.parsePlainText(m):null,g=()=>{if(!o)return;let e=document.querySelector("title");e&&e.textContent!==o&&(e.textContent=o)},b=()=>{if(!p)return;let e=document.querySelector('meta[name="description"]');e&&e.getAttribute("content")!==p&&e.setAttribute("content",p)};if(o){let e=document.querySelector("title");e?(g(),(s=new MutationObserver(g)).observe(e,{childList:!0,characterData:!0,subtree:!0})):document.title=o}if(p){let e=document.querySelector('meta[name="description"]');e&&(b(),(n=new MutationObserver(b)).observe(e,{attributes:!0,attributeFilter:["content"]}))}let f=[50,200,600,1500].map(e=>setTimeout(()=>{o&&g(),p&&b()},e));return()=>{for(let e of(s?.disconnect(),n?.disconnect(),f))clearTimeout(e)}},[x,e,t,r,c,d,m,u,h]),null}},44900:(e,t,r)=>{"use strict";r.d(t,{default:()=>m});var s=r(89317),l=r(42049),a=r(80432),n=r(80337),i=r(85924),o=r(14709);let c=({coin:e})=>(0,s.jsxs)("a",{href:e.href,"aria-label":`${e.name} verwachting bekijken`,className:"group flex h-full flex-col rounded-2xl border border-grey-200 bg-white p-4 no-underline transition duration-200 hover:-translate-y-0.5 hover:shadow-small focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary motion-reduce:transition-none lg:p-5",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2.5",children:[e.iconUrl?(0,s.jsx)("img",{src:e.iconUrl,alt:"",className:"size-9 shrink-0 rounded-full"}
1):(0,s.jsx)("span",{"aria-hidden":!0,className:"flex size-9 shrink-0 items-center justify-center rounded-full bg-primary-lighter font-semibold text-3xs text-grey-500 uppercase",children:e.ticker.slice(0,3)}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("div",{className:"line-clamp-1 font-semibold text-base text-space-blue leading-tight",children:e.name}),(0,s.jsx)("div",{className:"font-semibold text-3xs text-grey-400 uppercase tracking-wide",children:e.ticker})]})]}),(0,s.jsx)("span",{className:(0,a.cn)((0,i.buttonVariants)({variant:"subtle",size:"small"}),"mt-6 w-full"),children:"Verwachting"})]}),d="Andere verwachtingen",m=({title:e=d,coins:t,viewAllUrl:r="#",showViewAllLink:m=!0})=>{let[x,u]=(0,l.useState)(),[h,p]=(0,l.useState)(0),[g,b]=(0,l.useState)(0),f=(0,l.useCallback)(()=>{x&&(p(x.selectedScrollSnap()),b(x.scrollSnapList().length))},[x]);if((0,l.useEffect)(()=>{if(x)return f(),x.on("select",f),x.on("reInit",f),()=>{x.off("select",f),x.off("reInit",f)}},[x,f]),!t||0===t.length)return null;let j=t.length<4,v=(0,s.jsx)(i.Button,{asChild:!0,variant:"secondary",size:"large",className:"max-sm:w-full",children:(0,s.jsx)("a",{href:r,children:"Alle verwachtingen bekijken"})});return(0,s.jsxs)("section",{className:"flex w-full flex-col gap-5 lg:gap-7","aria-label":e,children:[(0,s.jsxs)("div",{className:"container flex flex-col gap-4 lg:flex-row lg:items-center lg:justify-between lg:gap-6",children:[(0,s.jsx)(n.T,{title:e,align:"left"}),m&&(0,s.jsx)("div",{className:"hidden shrink-0 lg:block",children:v})]}),j?(0,s.jsx)("div",{className:"container flex flex-wrap gap-4",children:t.map(e=>(0,s.jsx)("div",{className:"w-[220px] max-w-full",children:(0,s.jsx)(c,{coin:e})},e.ticker))}):(0,s.jsx)(o.Carousel,{opts:{align:"start",containScroll:"trimSnaps",dragFree:!1,dragThreshold:4,watchDrag:!0},setApi:u,className:"w-full",children:(0,s.jsx)(o.CarouselContent,{viewportClassName:"overflow-visible! cursor-grab active:cursor-grabbing",className:"-ml-3 pl-(--container-padding) sm:-ml-4 sm:pl-(--container-padding-sm) lg:-ml-6 lg:pl-[max(24px,calc((100%-1200px)/2))]",children:t.map((e,r)=>(0,s.jsx)(o.CarouselItem,{className:(0,a.cn)("basis-[200px] pl-3 sm:basis-[220px] sm:pl-4 lg:basis-[244px] lg:pl-6",r===t.length-1&&"mr-8 sm:mr-12 lg:mr-16"),children:(0,s.jsx)(c,{coin:e})},e.ticker))})}),!j&&g>1&&(0,s.jsx)("div",{className:"flex items-center justify-center gap-1.5",role:"group","aria-label":"Slider paginatie",children:Array.from({length:g},(e,t)=>(0,s.jsx)("button",{type:"button",className:(0,a.cn)("size-2 cursor-pointer rounded-full border-0 p-0 transition-colors motion-reduce:transition-none",t===h?"bg-primary":"bg-grey-300"),"aria-current":t===h?"true":void 0,"aria-label":`Ga naar set ${t+1}`,onClick:()=>x?.scrollTo(t)},t))}),m&&(0,s.jsx)("div",{className:"container flex justify-center lg:hidden",children:v})]})}},45100:(e,t,r)=>{"use strict";r.d(t,{FAQBlock:()=>i});var s=r(89317),l=r(31998),a=r(70977),n=r(645);let i=e=>{let{tenant:t}=(0,a.K)();return t?.slug===l.Bl.BTC_DIRECT,(0,s.jsx)(n.default,{...e})}},46659:(e,t,r)=>{"use strict";function s(e,t="nl-NL"){let r=Math.abs(e);if(r>=1e6){let r=new Intl.NumberFormat(t,{minimumFractionDigits:1,maximumFractionDigits:1}).format(e/1e6);return`€ ${r} mln`}return`€ ${new Intl.NumberFormat(t,r>=1e3?{maximumFractionDigits:0}:r>=1?{minimumFractionDigits:2,maximumFractionDigits:2}:r>=.01?{minimumFractionDigits:2,maximumFractionDigits:4}:r>0?{maximumSignificantDigits:3}:{minimumFractionDigits:2,maximumFractionDigits:2}).format(e)}`}r.d(t,{P:()=>s})},47933:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var s,l=r(23482),a=((s={}).NAME="coinName",s.SYMBOL="coinSymbol",s.SLUG="coinSlug",s.COIN_PRICE="coinPrice",s.CHANGE_PERIOD="changePeriod",s.CHANGE_TREND="changeTrend",s.CHANGE_ABSOLUTE_VALUE="changeAbsoluteValue",s.CHANGE_PERCENTAGE="changePercentage",s.CIRCULATING_SUPPLY="circulatingSupply",s.MARKET_CAP="marketCap",s);class n{constructor(e){this.tokens=e}parse(e){if(!this.tokens)return e;let t=e;for(let[e,r]of Object.entries(this.tokens)){if(!r)continue;let s=RegExp(`{{\\s*${e}\\s*}}`,"g");t=t.replace(s,r)}return t}}class i{constructor(e){this.tokens=e}parse(e){if(!this.tokens)return e;let t=structuredClone(e),r=e=>{"text"===e.type&&"string"==typeof e.text&&(e.text=e.text.replace(/\{\{(.*?)\}\}/g,(e,t)=>{let r=this.tokens[t];return r||`{{${t}}}`}
1)),e.children&&e.children.forEach(r)};return r(t.root),t}}class o{constructor(e,t){this.tokens={[a.NAME]:"",[a.SYMBOL]:"",[a.SLUG]:"",[a.COIN_PRICE]:"",[a.CHANGE_PERIOD]:"",[a.CHANGE_TREND]:"",[a.CHANGE_ABSOLUTE_VALUE]:"",[a.CHANGE_PERCENTAGE]:"",[a.CIRCULATING_SUPPLY]:"",[a.MARKET_CAP]:""},this.locale=null,this.tokens=this.getCoinTokensValues(e),this.locale=t??null}getCoinTokensValues(e){return Object.assign(this.tokens,e)}parsePlainText(e){return new n(this.tokens).parse(e)}parseRichText(e){return new i(this.tokens).parse(e)}parseDeep(e){return this.walkAndReplace(e)}isRichText(e){return"object"==typeof e&&null!==e&&"root"in e&&"object"==typeof e.root&&e.root?.type==="root"}isCoinLinkNode(e){if("link"!==e.type)return!1;let t=e.fields;if(!t||"internal"!==t.linkType)return!1;let r=t.doc;return r?.relationTo==="coins"}resolveCoinLinkNode(e){let t=e.fields,r=t.doc,s=t.coinPageType??"buy",n=!!t.coinDynamic,i=null;if(n)i=this.tokens[a.SLUG]||this.tokens[a.NAME]||null;else{let e=r.value;i=e?.slug??e?.name??null}if(i&&this.locale){let r=(0,l.EM)(i,s,this.locale);return{...e,fields:{...t,linkType:"custom",url:`/${r}`,doc:void 0},children:e.children?e.children.map(e=>this.walkAndReplace(e)):[]}}return this.walkObjectEntries(e)}walkObjectEntries(e){let t={};for(let[r,s]of Object.entries(e))t[r]=this.walkAndReplace(s);return t}walkAndReplace(e){return null==e?e:"string"==typeof e?e.includes("{{")?this.parsePlainText(e):e:Array.isArray(e)?e.map(e=>this.walkAndReplace(e)):"object"==typeof e?this.isRichText(e)?this.parseRichText(e):this.isCoinLinkNode(e)?this.resolveCoinLinkNode(e):this.walkObjectEntries(e):e}}},48259:(e,t,r)=>{Promise.resolve().then(r.bind(r,51016)),Promise.resolve().then(r.bind(r,66490)),Promise.resolve().then(r.bind(r,93534)),Promise.resolve().then(r.t.bind(r,35498,23)),Promise.resolve().then(r.t.bind(r,32151,23)),Promise.resolve().then(r.bind(r,11517)),Promise.resolve().then(r.bind(r,84647)),Promise.resolve().then(r.bind(r,83415)),Promise.resolve().then(r.bind(r,65341)),Promise.resolve().then(r.bind(r,27775)),Promise.resolve().then(r.bind(r,65680)),Promise.resolve().then(r.bind(r,6065)),Promise.resolve().then(r.bind(r,36708)),Promise.resolve().then(r.bind(r,47899)),Promise.resolve().then(r.bind(r,20595)),Promise.resolve().then(r.bind(r,60174)),Promise.resolve().then(r.bind(r,10948)),Promise.resolve().then(r.bind(r,89988)),Promise.resolve().then(r.bind(r,36831)),Promise.resolve().then(r.bind(r,98134)),Promise.resolve().then(r.bind(r,45100)),Promise.resolve().then(r.bind(r,90958)),Promise.resolve().then(r.bind(r,31506)),Promise.resolve().then(r.bind(r,687)),Promise.resolve().then(r.bind(r,82407)),Promise.resolve().then(r.bind(r,97283)),Promise.resolve().then(r.bind(r,12014)),Promise.resolve().then(r.bind(r,58907)),Promise.resolve().then(r.bind(r,83695)),Promise.resolve().then(r.bind(r,43937)),Promise.resolve().then(r.bind(r,82204)),Promise.resolve().then(r.bind(r,4338)),Promise.resolve().then(r.bind(r,34363)),Promise.resolve().then(r.bind(r,33686)),Promise.resolve().then(r.bind(r,44900)),Promise.resolve().then(r.bind(r,93838)),Promise.resolve().then(r.bind(r,19071)),Promise.resolve().then(r.bind(r,19171)),Promise.resolve().then(r.bind(r,99918)),Promise.resolve().then(r.bind(r,67915)),Promise.resolve().then(r.bind(r,80237)),Promise.resolve().then(r.bind(r,68392)),Promise.resolve().then(r.bind(r,8532)),Promise.resolve().then(r.bind(r,7117)),Promise.resolve().then(r.bind(r,50967)),Promise.resolve().then(r.bind(r,44518)),Promise.resolve().then(r.bind(r,23756)),Promise.resolve().then(r.bind(r,30459)),Promise.resolve().then(r.bind(r,68024)),Promise.resolve().then(r.bind(r,60400)),Promise.resolve().then(r.bind(r,78922)),Promise.resolve().then(r.bind(r,10976)),Promise.resolve().then(r.bind(r,13639)),Promise.resolve().then(r.bind(r,28783)),Promise.resolve().then(r.bind(r,46907)),Promise.resolve().then(r.bind(r,4638)),Promise.resolve().then(r.bind(r,22918)),Promise.resolve().then(r.bind(r,15069)),Promise.resolve().then(r.bind(r,64582)),Promise.resolve().then(r.bind(r,47553)),Promise.resolve().then(r.bind(r,21379)),Promise.resolve().then(r.bind(r,48364)),Promise.resolve().then(r.bind(r,83079)),Promise.resolve().then(r.bind(r,85924)),Promise.resolve().then(r.bind(r,18329)),Promise.resolve().then(r.bind(r,14709)),Promise.resolve().then(r.bind(r,96256)),Promise.resolve().then(r.bind(r,31192))},52296:(e,t,r)=>{"use strict";r.d(t,{b:()=>i});var s=r(89317),l=r(80795),a=r(80432);let n="Lees hoe de berekening tot stand komt",i=({href:e,className:t})=>e?(0,s.jsxs)("a",{href:e,title:n,className:(0,a.cn)("inline-flex items-center gap-1.5 rounded-full bg-primary-lighter px-3 py-1.5 font-semibold text-primary text-sm no-underline transition-colors duration-150 hover:bg-primary hover:text-white",t),children:[(0,s.jsx)(l.A,{"aria-hidden":"true",className:"size-4"}),"Berekening",(0,s.jsxs)("span",{className:"sr-only",children:[": ",n]})]}):null},60400:(e,t,r)=>{"use strict";r.d(t,{LivePreviewListener:()=>c});var s=r(89317),l=r(42049);let a=e=>{let{apiRoute:t,depth:r,refresh:s,serverURL:a}=e,n=(0,l.useRef)(!1),i=(0,l.useCallback)(e=>{e.origin===a&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof s?s():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[s,a]);return(0,l.useEffect)(()=>("u">typeof window&&window.addEventListener("message",i),n.current||(n.current=!0,(e=>{let{serverURL:t}=e;if("u">typeof window){let e=window?.opener||window?.parent;e?.postMessage({type:"payload-live-preview",ready:!0},t)}})({serverURL:a}),s()),()=>{"u">typeof window&&window.removeEventListener("message",i)}),[a,i,r,t,s]),null};var n=r(22783);let i=!!window.document&&!!window.document.createElement;var o=r(87189);let c=()=>{let e=(0,n.useRouter)();return(0,s.jsx)(a,{refresh:e.refresh,serverURL:(()=>
1{if(i){let e=window.location.protocol,t=window.location.hostname,r=window.location.port;return`${e}//${t}${r?`:${r}`:""}`}return o.env.VERCEL_PROJECT_PRODUCTION_URL?`https://${o.env.VERCEL_PROJECT_PRODUCTION_URL}`:o.env.NEXT_PUBLIC_SERVER_URL||""})()})}},65680:(e,t,r)=>{"use strict";r.d(t,{default:()=>h});var s=r(89317),l=r(28186),a=r(42049),n=r(24175),i=r(80432),o=r(46358),c=r(26082),d=r(52173),m=r(17131),x=r(54082);let u=({label:e,tooltip:t})=>t?(0,s.jsxs)("p",{className:"group/tip relative text-grey-500 text-sm tracking-tight",children:[(0,s.jsx)("button",{type:"button",className:"cursor-help border-grey-400 border-b border-dashed text-left",children:e}),(0,s.jsx)("span",{role:"tooltip",className:(0,i.cn)("pointer-events-none absolute bottom-full left-0 z-10 mb-2 w-52 rounded-lg bg-space-blue px-3 py-2 text-white text-xs leading-relaxed shadow-lg","opacity-0 transition-opacity group-focus-within/tip:opacity-100 group-hover/tip:opacity-100"),children:t})]}):(0,s.jsx)("p",{className:"text-grey-500 text-sm tracking-tight",children:e});function h({title:e,description:t,coin:r,history:i,initialCoinPrice:p,marketData:g}){let b=(0,l.c)(),f=(0,n.PZ)(),[j,v]=a.useState(!1),y=j?"usd":"eur",N=(0,x.m5)(r.externalId,y)??p,w=(0,d.P)(r.symbol,i,y),k=function(e,t,r){let[s,l]=a.useState(t),n=a.useRef(e),i=a.useRef(new Set);return n.current!==e&&(n.current=e,i.current=new Set,l(t)),a.useEffect(()=>{if(!t||!(r in t)||i.current.has(r))return;i.current.add(r);let s=!1;return(async()=>{try{let t=e.toUpperCase(),a=await fetch(`${m.R5}/${t}/${r.toUpperCase()}`);if(!a.ok)return;let n=await a.json();if(s)return;l(e=>e?{...e,[r]:n}:e)}catch{i.current.delete(r)}})(),()=>{s=!0}},[e,r]),s}(r.symbol,g,y),C=a.useMemo(()=>w[y],[w,y]),S=a.useMemo(()=>(function(e,t){if(0===e.length)return null;let r=e[e.length-1][0],s=r-864e5,l=e.filter(([e])=>e>=s);if(0===l.length)return null;let a=l.map(([,e])=>e),n=Math.max(...a),i=Math.min(...a),o=(0,c.He)(e,r)[c.r7.HOURS_24];return{price24hAgo:o,high:n,low:i,diff:t-o}})(C,N),[C,N]),P=r.name,$=S?[{label:b("coin-price-stats.price-24h-ago"),tooltip:b("coin-price-stats.tooltip-price-24h-ago",{coinName:P}),value:(0,n.eo)(S.price24hAgo,f,y)},{label:b("coin-price-stats.high-24h"),tooltip:b("coin-price-stats.tooltip-high-24h",{coinName:P}),value:(0,n.eo)(S.high,f,y)},{label:b("coin-price-stats.low-24h"),tooltip:b("coin-price-stats.tooltip-low-24h",{coinName:P}),value:(0,n.eo)(S.low,f,y)},{label:b("coin-price-stats.diff-24h"),tooltip:b("coin-price-stats.tooltip-diff-24h",{coinName:P}),value:(0,n.eo)(Math.abs(S.diff),f,y),isNegative:S.diff<0,isPositive:S.diff>0,prefix:S.diff<0?"-":S.diff>0?"+":""}]:[],L=k?.[y],E=r.symbol.toUpperCase(),z=L?[{label:b("coin-price-stats.volume-24h"),tooltip:b("coin-price-stats.tooltip-volume-24h",{coinName:P}),value:(0,n.YT)(L.statistics.volume,f,{notation:"compact",compactDisplay:"short",maximumFractionDigits:2})},{label:`${E} ${b("coin-price-stats.market-cap")}`,tooltip:b("coin-price-stats.tooltip-market-cap",{coinName:P}),value:(0,n.YT)(L.statistics.marketCap,f,{notation:"compact",compactDisplay:"short",maximumFractionDigits:2})},{label:`${E} ${b("coin-price-stats.circulating-supply")}`,tooltip:b("coin-price-stats.tooltip-circulating-supply",{coinName:P}),value:(0,n.YT)(Math.round(L.statistics.circulatingSupply),f,{maximumFractionDigits:0})},...L.statistics.dominance>0?[{label:`${E} ${b("coin-price-stats.dominance")}`,tooltip:b("coin-price-stats.tooltip-dominance",{coinName:P}),value:(0,n.YT)(L.statistics.dominance/100,f,{style:"percent",minimumFractionDigits:2,maximumFractionDigits:2})}]:[]]:[];return(0,s.jsx)("section",{className:"container","aria-label":e,children:(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsx)("h2",{className:"text-h2 text-primary-dark lg:text-h2",children:e}),t&&(0,s.jsx)("p",{className:"text-body text-primary-dark",children:t})]}),(0,s.jsx)("div",{className:"flex justify-end py-2",children:(0,s.jsx)(o.BX,{onCheckedChange:v,checked:j})}),$.length>0&&(0,s.jsx)("div",{className:"grid grid-cols-2 gap-x-6 gap-y-4 lg:grid-cols-4",children:$.map(e=>(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)(u,{label:e.label,tooltip:e.tooltip}),(0,s.jsxs)("p",{className:`font-semibold text-h4 ${e.isNegative?"text-error":e.isPositive?"text-success":"text-primary-dark"}
1`,children:[(0,s.jsx)("span",{children:e.prefix||"​"}),e.value]})]},e.label))}),z.length>0&&(0,s.jsx)("div",{className:"grid grid-cols-2 gap-x-6 gap-y-4 lg:grid-cols-4",children:z.map(e=>(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsx)(u,{label:e.label,tooltip:e.tooltip}),(0,s.jsx)("p",{className:"font-semibold text-h4 text-primary-dark",children:e.value})]},e.label))})]})})}},67915:(e,t,r)=>{"use strict";r.d(t,{default:()=>m});var s=r(89317),l=r(42049),a=r(80432),n=r(85924),i=r(52296);let o=[{d:"M10 100 A90 90 0 0 1 27.2 47.1",color:"var(--color-error-dark)"},{d:"M27.2 47.1 A90 90 0 0 1 72.2 14.4",color:"var(--color-error)"},{d:"M72.2 14.4 A90 90 0 0 1 127.8 14.4",color:"var(--color-grey-300)"},{d:"M127.8 14.4 A90 90 0 0 1 172.8 47.1",color:"var(--color-success)"},{d:"M172.8 47.1 A90 90 0 0 1 190 100",color:"var(--color-success-dark)"}],c=({score:e,label:t,textClass:r,ariaLabel:a})=>{let n=function(e,t=800){let[r,s]=(0,l.useState)(0),a=(0,l.useRef)(0);return(0,l.useEffect)(()=>{if(window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)return void s(e);let r=performance.now(),l=n=>{let i=Math.min(1,(n-r)/t);s(e*(1-(1-i)**3)),i<1&&(a.current=requestAnimationFrame(l))};return a.current=requestAnimationFrame(l),()=>cancelAnimationFrame(a.current)},[e,t]),r}(90*Math.max(-1,Math.min(1,e)));return(0,s.jsxs)("div",{className:"mx-auto w-full max-w-[300px]",children:[(0,s.jsxs)("svg",{viewBox:"0 0 200 116",className:"w-full",role:"meter","aria-valuenow":Math.round(100*e),"aria-valuemin":-100,"aria-valuemax":100,"aria-label":a,children:[o.map(e=>(0,s.jsx)("path",{d:e.d,fill:"none",stroke:e.color,strokeWidth:14},e.color)),(0,s.jsx)("g",{transform:`rotate(${n} 100 100)`,children:(0,s.jsx)("line",{x1:100,y1:100,x2:100,y2:26,stroke:"var(--color-space-blue)",strokeWidth:3,strokeLinecap:"round"})}),(0,s.jsx)("circle",{cx:100,cy:100,r:7,fill:"var(--color-space-blue)"})]}),(0,s.jsxs)("div",{className:"-mt-1 flex items-start justify-between text-3xs text-grey-400",children:[(0,s.jsx)("span",{children:"Sterk verkopen"}),(0,s.jsx)("span",{children:"Sterk kopen"})]}),(0,s.jsx)("div",{className:`mt-1 text-center font-bold text-xl ${r}`,children:t})]})},d="text-3xs font-semibold uppercase tracking-wide text-grey-500",m=({coinName:e,ticker:t,timeframes:r,defaultTimeframeKey:o,cta:m,methodologyUrl:x})=>{var u;let h,p=o&&r.some(e=>e.key===o)?o:r[0]?.key,[g,b]=(0,l.useState)(p),f=r.find(e=>e.key===g)??r[0];if(!f)return null;let j=(h=(u=f.summary).sell+u.neutral+u.buy)<=0?0:Math.max(-1,Math.min(1,(u.buy-u.sell)/h)),v=j>=.5?{kind:"strongBuy",label:"Sterk kopen",textClass:"text-success-dark"}:j>=.1?{kind:"buy",label:"Kopen",textClass:"text-success"}:j>-.1?{kind:"neutral",label:"Neutraal",textClass:"text-grey-500"}:j>-.5?{kind:"sell",label:"Verkopen",textClass:"text-error"}:{kind:"strongSell",label:"Sterk verkopen",textClass:"text-error-dark"},y=(m?.label??"{coinName} kopen").replaceAll("{coinName}",e);return(0,s.jsxs)("section",{className:"container rounded-2xl border border-grey-200 bg-white p-6 lg:p-8","aria-label":`Technisch signaal ${e} ${t}`,children:[(0,s.jsxs)("h3",{className:"font-bold text-md text-space-blue lg:text-lg",children:["Is dit h\xe9t moment om in ",e," te stappen?"]}),(0,s.jsx)("div",{role:"tablist","aria-label":"Timeframe",className:"mt-4 flex flex-wrap gap-2",children:r.map(e=>{let t=e.key===g;return(0,s.jsx)("button",{type:"button",role:"tab","aria-selected":t,onClick:()=>b(e.key),className:(0,a.cn)("rounded-lg px-4 py-2 font-medium text-sm transition-colors motion-reduce:transition-none","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",t?"bg-primary text-white shadow-soft-tab":"bg-grey-100 text-grey-600 hover:bg-grey-200"),children:e.label},e.key)})}),(0,s.jsx)("div",{className:"mt-6",children:(0,s.jsx)(c,{score:j,label:v.label,textClass:v.textClass,ariaLabel:`Technisch signaal ${e} (${t}), ${f.label}: ${v.label} — ${f.summary.sell} verkopen, ${f.summary.neutral} neutraal, ${f.summary.buy} kopen`})}),(0,s.jsxs)("div",{className:"mt-6 grid grid-cols-3 gap-3 text-center",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"font-bold text-3xl text-error tabular-nums",children:f.summary.sell}),(0,s.jsx)("div",{className:(0,a.cn)("mt-1",d),children:"Verkopen"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"font-bold text-3xl text-grey-500 tabular-nums",children:f.summary.neutral}),(0,s.jsx)("div",{className:(0,a.cn)("mt-1",d),children:"Neutraal"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"font-bold text-3xl text-success tabular-nums",children:f.summary.buy}),(0,s.jsx)("div",{className:(0,a.cn)("mt-1",d),children:"Kopen"})]})]}),(0,s.jsxs)("div",{className:"mt-6 flex flex-wrap items-center justify-between gap-3",children:[(0,s.jsx)("p",{className:"m-0 text-grey-500 text-xs",children:"Gebaseerd op technische indicatoren, berekend uit onze eigen koersdata. Geen financieel advies."}),(0,s.jsx)(i.b,{href:x})]}),null!==m&&(0,s.jsx)(n.Button,{asChild:!0,variant:"primary",size:"large",className:"mt-6 w-full",children:(0,s.jsx)("a",{href:m?.url||"#",children:y})})]})}},68392:(e,t,r)=>{"use strict";r.d(t,{default:()=>i});var s=r(89317),l=r(28186),a=r(80432),n=r(80337);let i=e=>{let t=(0,l.c)("transactions-table-block"),{title:r,locale:i}=e;if("error"===e.state)return(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"mx-auto w-full max-w-screen-xl text-primary-dark",children:[r&&(0,s.jsx)(n.T,{title:r,className:"mb-4 lg:mb-6"}),(0,s.jsxs)("div",{role:"status",className:"rounded-2xl border border-grey-300 bg-white px-6 py-10 text-center lg:py-12",children:[(0,s.jsx)("h3",{className:"text-h4 text-primary-dark lg:text-h3",children:t("error-title")}),(0,s.jsx)("p",{className:"mt-2 text-body text-primary-dark/80",children:t("error-body")})]})]})});let{rows:o,reportPeriod:c,reportGeneratedAt:d}=e.feed,m=o.length-1;return(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"mx-auto w-full max-w-screen-xl text-primary-dark",children:[r&&(0,s.jsx)(n.T,{title:r,className:"mb-4 lg:mb-6"}
1),(0,s.jsxs)("div",{className:"mb-4 flex flex-wrap gap-4 rounded-xl border border-grey-300 px-4 py-3 text-grey-700 text-sm",children:[c&&(0,s.jsxs)("span",{children:[(0,s.jsxs)("span",{className:"font-bold text-grey-800",children:[t("report-period"),":"]})," ",c]}),d&&(0,s.jsxs)("span",{children:[(0,s.jsxs)("span",{className:"font-bold text-grey-800",children:[t("report-generated-at"),":"]})," ",((e,t)=>{if(!t)return"";let r=new Date(t);return Number.isNaN(r.getTime())?t:new Intl.DateTimeFormat(e,{dateStyle:"medium",timeStyle:"short",timeZone:"Europe/Amsterdam"}).format(r)})(i,d)]})]}),(0,s.jsx)("div",{className:"scrollbar-none -mx-6 overflow-x-auto px-6 md:mx-0 md:px-0",children:(0,s.jsxs)("table",{className:"w-full min-w-[640px] border-separate border-spacing-0 font-sans",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{className:"whitespace-nowrap p-3 text-left font-semibold text-body text-primary-dark",children:t("col-coin")}),(0,s.jsx)("th",{className:"whitespace-nowrap p-3 text-left font-semibold text-body text-primary-dark",children:t("col-direction")}),(0,s.jsx)("th",{className:"whitespace-nowrap p-3 text-right font-semibold text-body text-primary-dark",children:t("col-fiat")}),(0,s.jsx)("th",{className:"whitespace-nowrap p-3 text-right font-semibold text-body text-primary-dark",children:t("col-crypto")}),(0,s.jsx)("th",{className:"whitespace-nowrap p-3 text-right font-semibold text-body text-primary-dark",children:t("col-rate")})]})}),(0,s.jsx)("tbody",{children:o.map((e,r)=>{let l,n,o,c=0===r,d=r===m,x="fiat_to_coin"===e.direction,u="whitespace-nowrap border-grey-300 border-b p-3 text-primary-dark text-sm tracking-tight",h=c?"border-t":"",p=(0,a.cn)("border-l",c&&"rounded-tl-2xl",d&&"rounded-bl-2xl"),g=(0,a.cn)("border-r",c&&"rounded-tr-2xl",d&&"rounded-br-2xl");return(0,s.jsxs)("tr",{className:"hover:bg-primary-lighter",children:[(0,s.jsx)("td",{className:(0,a.cn)(u,h,p),children:e.coin}),(0,s.jsx)("td",{className:(0,a.cn)(u,h,"text-grey-700"),children:x?t("direction-buy"):t("direction-sell")}),(0,s.jsx)("td",{className:(0,a.cn)(u,h,"text-right"),children:(l=e.totalFiat,new Intl.NumberFormat(i,{style:"currency",currency:"EUR"}).format(l))}),(0,s.jsx)("td",{className:(0,a.cn)(u,h,"text-right"),children:(n=e.totalCrypto,new Intl.NumberFormat(i,{maximumFractionDigits:8}).format(n))}),(0,s.jsx)("td",{className:(0,a.cn)(u,h,g,"text-right"),children:(o=e.avgRate,`${new Intl.NumberFormat(i,{maximumFractionDigits:8}).format(o)} EUR`)})]},`${e.coin}-${e.direction}`)})})]})})]})})}},80237:(e,t,r)=>{"use strict";r.d(t,{TextBlock:()=>i});var s=r(89317),l=r(31998),a=r(70977),n=r(88662);let i=e=>{let{tenant:t}=(0,a.K)();return t?.slug===l.Bl.BTC_DIRECT,(0,s.jsx)(n.default,{...e})}},82204:(e,t,r)=>{"use strict";r.d(t,{default:()=>k});var s=r(89317),l=r(42049),a=r(85924),n=r(52296),i=r(80432);let o=["whitespace-nowrap","border-grey-300","border-b","px-3","py-3","sm:px-4","text-primary-dark","text-sm","tracking-tight"];function c(e,t,r,s){let l=[...o];return e&&l.push("border-t"),r&&l.push("border-l"),s&&l.push("border-r"),e&&r&&l.push("rounded-tl-2xl"),e&&s&&l.push("rounded-tr-2xl"),t&&r&&l.push("rounded-bl-2xl"),t&&s&&l.push("rounded-br-2xl"),l.join(" ")}function d(e,t){let r=["whitespace-nowrap","border-grey-300","border-t-2","border-b","bg-grey-100","px-3","py-3","sm:px-4","font-semibold","text-primary-dark","text-sm","tracking-tight"];return e&&r.push("border-l","rounded-bl-2xl"),t&&r.push("border-r","rounded-br-2xl"),r.join(" ")}var m=r(46659);function x(e,t="nl-NL"){return(0,m.P)(e,t)}function u(e,t){return t<=0?null:(e-t)/t*100}function h(e,t="nl-NL"){let r=new Intl.NumberFormat(t,{minimumFractionDigits:1,maximumFractionDigits:1}).format(Math.abs(e));return`${e>0?"+":e<0?"-":""}${r}%`}function p(e){return e<0?"text-error-dark":e>10?"text-success-dark":"text-grey-600"}let g="whitespace-nowrap px-3 py-3 text-left font-semibold text-body text-primary-dark sm:px-4",b=({year:e,scenarioLabel:t,months:r,currentPrice:l,coinName:a,showAverageRow:n,locale:o="nl-NL"})=>{var m;let b=!n,f=0===(m=r.map(e=>e.price)).length?null:m.reduce((e,t)=>
1e+t,0)/m.length,j=null!=f?u(f,l):null;return(0,s.jsx)("div",{className:"scrollbar-none w-full overflow-x-auto",children:(0,s.jsxs)("table",{className:"w-full border-separate border-spacing-0 font-sans",children:[(0,s.jsx)("caption",{className:"sr-only",children:`${a} verwachting ${e} — ${t} scenario`}),(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{scope:"col",className:g,children:"Maand"}),(0,s.jsx)("th",{scope:"col",className:g,children:"Prijs"}),(0,s.jsx)("th",{scope:"col",className:g,children:"Verandering"})]})}),(0,s.jsx)("tbody",{children:r.map((e,t)=>{let a=0===t,n=b&&t===r.length-1,d=u(e.price,l);return(0,s.jsxs)("tr",{className:"hover:bg-primary-lighter",children:[(0,s.jsx)("td",{className:c(a,n,!0,!1),children:function(e,t="nl-NL"){let r=new Date(2e3,e-1,1),s=new Intl.DateTimeFormat(t,{month:"long"}).format(r);return s.charAt(0).toUpperCase()+s.slice(1)}(e.month,o)}),(0,s.jsx)("td",{className:c(a,n,!1,!1),children:x(e.price,o)}),(0,s.jsx)("td",{className:(0,i.cn)(c(a,n,!1,!0),null!=d?p(d):"text-grey-400"),children:null!=d?h(d,o):"—"})]},e.month)})}),n&&null!=f&&(0,s.jsx)("tfoot",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("td",{className:d(!0,!1),children:"Gemiddeld"}),(0,s.jsx)("td",{className:d(!1,!1),children:x(f,o)}),(0,s.jsx)("td",{className:(0,i.cn)(d(!1,!0),null!=j?p(j):""),children:null!=j?h(j,o):"—"})]})})]})})},f=[{value:"bearish",label:"Bearish"},{value:"neutral",label:"Neutraal"},{value:"bullish",label:"Bullish"}],j=({value:e,onChange:t})=>(0,s.jsx)("div",{role:"radiogroup","aria-label":"Scenario selecteren",className:"inline-flex items-stretch overflow-hidden rounded-3xl bg-primary-lighter",children:f.map(r=>{let l=r.value===e;return(0,s.jsx)("button",{type:"button",role:"radio","aria-checked":l,onClick:()=>t(r.value),className:(0,i.cn)("whitespace-nowrap rounded-3xl border px-4 py-2 text-center text-base leading-relaxed transition-colors duration-200 motion-reduce:transition-none","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",l?"border-primary-lighter bg-primary font-medium text-white shadow-soft-tab":"border-transparent font-normal text-grey-600 hover:text-space-blue"),children:r.label},r.value)})});var v=r(71875);let y="flex h-11 w-auto min-w-[104px] shrink-0 items-center justify-between gap-2 rounded-lg border border-grey-200 bg-grey-100 px-3 py-2 font-semibold text-grey-700 text-sm",N=({years:e,activeYear:t,onChange:r})=>{let[a,n]=(0,l.useState)(!1);return((0,l.useEffect)(()=>{n(!0)},[]),a)?(0,s.jsxs)(v.l6,{value:String(t),onValueChange:e=>r(Number(e)),children:[(0,s.jsx)(v.bq,{"aria-label":"Kies een jaar",className:y,children:(0,s.jsx)(v.yv,{})}),(0,s.jsx)(v.gC,{children:e.map(e=>(0,s.jsx)(v.eb,{value:String(e),children:e},e))})]}):(0,s.jsx)("span",{"aria-hidden":!0,className:y,children:t})},w={bearish:"Bearish",neutral:"Neutraal",bullish:"Bullish"},k=({title:e,introText:t,coinName:r,currentPrice:i,buyUrl:o="#",ctaLabel:c,years:d,monthly:m,showScenarioToggle:x=!0,showCta:u=!1,showMethodologyLink:h=!0,showAverageRow:p=!0,methodologyUrl:g,locale:f="nl-NL"})=>{let[v,y]=(0,l.useState)(d?.[0]),[k,C]=(0,l.useState)("neutral");if(!d||0===d.length)return null;let S=(c??"{{coinName}} kopen").replaceAll("{{coinName}}",r);return(0,s.jsxs)("section",{className:"container flex w-full flex-col gap-5 lg:gap-6","aria-label":`Koersverwachting ${r}`,children:[t&&(0,s.jsx)("p",{className:"m-0 max-w-[65ch] text-grey-600 text-sm lg:text-base",children:t}),(0,s.jsx)("h2",{className:"m-0 font-bold text-3xl text-space-blue lg:text-4xl",children:(e??"{{coinName}} verwachting {{year}}").replaceAll("{{coinName}}",r).replaceAll("{{year}}",String(v))}),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[x&&(0,s.jsx)(j,{value:k,onChange:C}),(0,s.jsx)(N,{years:d,activeYear:v,onChange:y})]}),d.map(e=>{let t=e===v,l=m[e]?.[k]??[];return(0,s.jsx)("div",{hidden:!t,children:(0,s.jsx)(b,{year:e,scenarioLabel:w[k],months:l,currentPrice:i,coinName:r,showAverageRow:p,locale:f})},e)}),h&&(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,s.jsx)("span",{className:"text-grey-500 text-xs",children:"Indicatieve verwachting"}),(0,s.jsx)(n.b,{href:g})]}),u&&(0,s.jsx)(a.Button,{asChild:!0,variant:"secondary",size:"large",className:"w-full sm:w-fit",children:(0,s.jsx)("a",{href:o,children:S})})]})}},82407:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ComponentBase:()=>m});var s=r(89317),l=r(68024),a=r(44731),n=r(14709),i=r(97175),o=r(18329),c=r(97283);let d=({content:e,index:t,title:r,locale:l,currentCoin:n})=>{let d=(0,i.G)({data:e}).length>120;return(0,s.jsxs)(o.Card,{className:"h-full md:row-span-2 md:grid md:grid-rows-subgrid md:border-transparent md:p-0 lg:gap-y-4",children:[(0,s.jsxs)(o.CardHeader,{className:"gap-y-6",children:[(0,s.jsx)("div",{children:(0,s.jsx)("span",{className:"flex size-14 items-center justify-center rounded-full bg-primary-dark font-bold text-3xl text-white lg:size-16 lg:text-5xl",children:t})}),r&&(0,s.jsx)(o.CardTitle,{className:"font-semibold text-md leading-normal lg:text-3xl",children:r})]}),(0,s.jsx)(o.W,{children:(0,s.jsx)(c.default,{showButton:d,children:(0,s.jsx)(a.A,{data:e,enableGutter:!1,locale:l,currentCoin:n})})})]})},m=({link:e,steps:t,heading:r,locale:i,currentCoin:o})=>(0,s.jsxs)("section",{className:"w-full",children:[(0,s.jsx)("header",{className:"container mb-6 lg:mb-10",children:(0,s.jsx)(a.A,{data:r,enableGutter:!1,locale:i,currentCoin:o})}),(0,s.jsx)("div",{className:"md:hidden",children:(0,s.jsx)(n.Carousel,{opts:{align:"start"},className:"flex grow flex-col pl-(--container-padding) xs:pl-(--container-padding-xs)",children:(0,s.jsx)(n.CarouselContent,{className:"mr-(--container-padding) xs:mr-(--container-padding-xs) h-full",children:t.map((e,t)=>(0,s.jsx)(n.CarouselItem,{className:"basis-72",children:(0,s.jsx)(d,{content:e.content,index:t+1,title:e.title,locale:i,currentCoin:o})}
1,e.title))})})}),(0,s.jsx)("div",{className:"container hidden md:block",children:(0,s.jsx)("ul",{className:"grid w-full grid-cols-3 grid-rows-[auto_1fr] gap-6",children:t.map((e,t)=>(0,s.jsx)("li",{className:"contents",children:(0,s.jsx)(d,{content:e.content,index:t+1,title:e.title,locale:i,currentCoin:o})},e.title))})}),(0,s.jsx)("footer",{className:"container mt-6",children:(0,s.jsx)("div",{className:"w-fit md:mx-auto",children:(0,s.jsx)(l.CMSLink,{...e,size:"large"})})})]})},83079:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Breadcrumb:()=>o,BreadcrumbEllipsis:()=>p,BreadcrumbItem:()=>d,BreadcrumbLink:()=>m,BreadcrumbList:()=>c,BreadcrumbPage:()=>x,BreadcrumbSeparator:()=>h,BreadcrumbSlash:()=>u});var s=r(89317),l=r(43196),a=r(77399),n=r(29626),i=r(80432);function o({...e}){return(0,s.jsx)("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",...e})}function c({className:e,...t}){return(0,s.jsx)("ol",{"data-slot":"breadcrumb-list",className:(0,i.cn)("wrap-break-word flex flex-wrap items-center justify-center text-3xs text-grey-600",e),...t})}function d({className:e,...t}){return(0,s.jsx)("li",{"data-slot":"breadcrumb-item",className:(0,i.cn)("inline-flex items-center gap-1.5",e),...t})}function m({asChild:e,className:t,...r}){let a=e?l.DX:"a";return(0,s.jsx)(a,{"data-slot":"breadcrumb-link",className:(0,i.cn)("transition-colors hover:text-foreground",t),...r})}function x({className:e,...t}){return(0,s.jsx)("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",className:(0,i.cn)("font-medium text-primary-dark",e),...t})}function u({className:e,...t}){return(0,s.jsx)("span",{"data-slot":"breadcrumb-slash",role:"separator","aria-disabled":"true",className:(0,i.cn)("font-normal text-xs",e),...t,children:"/"})}function h({children:e,className:t,...r}){return(0,s.jsx)("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",className:(0,i.cn)("flex w-5 items-center justify-center text-grey-500 [&>svg]:size-3.5",t),...r,children:e??(0,s.jsx)(a.A,{})})}function p({className:e,...t}){return(0,s.jsxs)("span",{"data-slot":"breadcrumb-ellipsis",role:"presentation","aria-hidden":"true",className:(0,i.cn)("flex size-9 items-center justify-center",e),...t,children:[(0,s.jsx)(n.A,{className:"size-4"}),(0,s.jsx)("span",{className:"sr-only",children:"More"})]})}},83415:(e,t,r)=>{"use strict";r.d(t,{default:()=>u});var s=r(89317),l=r(28186),a=r(42049),n=r(24175),i=r(99323),o=r(19574),c=r(80432),d=r(73030),m=r(54082);let x=({coin:e})=>{let t=(0,l.c)("also-bought-block"),r=(0,n.PZ)(),a=(0,m.m5)(e.externalId,"eur")??e.initialPrice,x=e.price24hAgo>0?(a-e.price24hAgo)/e.price24hAgo*100:0,u=x>=0,h=`${(0,i.YT)(Math.abs(x),r,{minimumFractionDigits:2,maximumFractionDigits:2})}%`;return(0,s.jsxs)(o.N_,{href:`/${e.koersSlug}`,className:"flex items-center gap-2.5 text-inherit no-underline",children:[(0,s.jsx)("img",{className:"size-10 shrink-0 rounded-full object-cover",src:e.image,alt:e.name,loading:"lazy",decoding:"async"}),(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col pb-1",children:[(0,s.jsx)("span",{className:"truncate font-semibold text-base text-space-blue leading-[1.4]",children:e.name}),(0,s.jsx)("span",{className:"font-normal text-grey-400 text-sm leading-normal tracking-[-0.2px]",children:e.symbol})]}),(0,s.jsxs)("div",{className:"flex flex-col items-end pb-1",children:[(0,s.jsx)("span",{className:"whitespace-nowrap font-semibold text-base text-space-blue leading-[1.4]",children:(0,i.eo)(a,r,"eur")}),(0,s.jsxs)("div",{className:"flex items-center gap-0.5",children:[u?(0,s.jsx)(d.e,{className:"size-4 shrink-0"}):(0,s.jsx)(d.n,{className:"size-4 shrink-0"}),(0,s.jsx)("span",{className:(0,c.cn)("font-bold text-sm leading-normal tracking-[-0.2px]",{"text-success":u,"text-error":!u}),children:h}),(0,s.jsxs)("span",{className:"font-normal text-grey-400 text-sm leading-normal tracking-[-0.2px]",children:["\xa0",t("time-suffix")]})]})]})]})},u=({title:e,coins:t,ctaLabel:r,ctaUrl:n})=>{let i=(0,l.c)("also-bought-block"),d=t.slice(0,25),[m,u]=a.useState(!1);if(0===d.length)return null;let h=m?d.length:Math.min(10,d.length),p=d.length-h,g=p>0;return(0,s.jsxs)("section",{className:"container w-full",children:[(0,s.jsx)("h2",{className:"font-bold text-[28px] text-space-blue leading-normal tracking-[0.2px] md:font-semibold md:text-[40px] md:leading-[1.3] md:tracking-[-1px]",children:e}),(0,s.jsx)("ul",{className:"mt-10 grid grid-cols-1 gap-4 md:grid-cols-2 md:gap-0",children:d.map((e,t)=>{let r=t<h;
1return(0,s.jsx)("li",{className:(0,c.cn)("md:py-5",t<2&&"md:pt-0",r&&t>=h-2&&"md:pb-0",t%2==0?"md:border-grey-300 md:border-r md:pr-10":"md:pl-10",!r&&"hidden"),children:(0,s.jsx)(x,{coin:e})},e.symbol)})}),(0,s.jsx)("div",{className:"mt-10 flex justify-center",children:g?(0,s.jsx)("button",{type:"button",onClick:()=>u(!0),className:"inline-flex h-12 items-center justify-center rounded-lg bg-primary-lighter px-8 font-semibold text-base text-primary leading-[1.4] transition-colors duration-150 hover:bg-primary hover:text-white focus-visible:bg-primary-dark focus-visible:text-white focus-visible:outline-hidden",children:i("show-more",{count:p})}):r&&n?(0,s.jsx)(o.N_,{href:n,className:"inline-flex h-12 items-center justify-center rounded-lg bg-primary-lighter px-8 font-semibold text-base text-primary leading-[1.4] no-underline transition-colors duration-150 hover:bg-primary hover:text-white focus-visible:bg-primary-dark focus-visible:text-white focus-visible:outline-hidden",children:r}):null})]})}},83695:(e,t,r)=>{"use strict";r.d(t,{PersonaBlock:()=>u});var s=r(89317),l=r(31998),a=r(70977),n=r(77399),i=r(23482),o=r(24175),c=r(19574),d=r(51587);let m=({link:e})=>{let t=(0,o.PZ)(),r=(0,d.n)(),l="#";if("reference"===e.type&&e.to)l=`/${e.to}`;else if("custom"===e.type&&e.url)l=e.url;else if("coinPage"===e.type&&e.coinPage){let s=e.coinPage.dynamic?r?.coinSlug??r?.coinName??null:e.coinPage.coinSlug??e.coinPage.coinName;s&&(l=`/${(0,i.EM)(s,e.coinPage.pageType,t)}`)}let a=e.newTab?{rel:"noopener noreferrer",target:"_blank"}:{},m=!!e.mobileLabel;return(0,s.jsxs)(c.N_,{href:l,...a,className:"flex shrink-0 items-center gap-2.5 rounded-lg bg-primary p-2 font-medium text-white text-xs transition-colors hover:bg-primary-darker md:px-5 md:py-3 md:text-[15px]",children:[m?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"md:hidden",children:e.mobileLabel}),(0,s.jsx)("span",{className:"hidden md:inline",children:e.label})]}):e.label,(0,s.jsx)("span",{className:"flex size-5 items-center justify-center rounded-full border border-white",children:(0,s.jsx)(n.A,{className:"size-3"})})]})},x=({title:e,links:t})=>(0,s.jsx)("section",{className:"-mb-(--section-gap) flex w-full items-center justify-center bg-space-blue py-0 sm:min-h-16 sm:py-4 xl:-mb-(--section-gap-lg) xl:h-16 xl:py-0",children:(0,s.jsxs)("div",{className:"container mx-auto hidden w-full flex-col items-start gap-3 sm:flex xl:flex-row xl:items-center xl:gap-6",children:[e&&(0,s.jsx)("span",{className:"shrink-0 font-semibold text-white text-xs lg:text-sm",children:e}),(0,s.jsx)("div",{className:"flex flex-wrap items-center gap-3 lg:gap-6",children:t.map(e=>(0,s.jsx)(m,{link:e},e.label))})]})}),u=e=>{let{tenant:t}=(0,a.K)();return e.links&&0!==e.links.length?(t?.slug===l.Bl.BTC_DIRECT,(0,s.jsx)(x,{...e})):null}},84647:(e,t,r)=>{"use strict";r.d(t,{ComparisonPicker:()=>o});var s=r(89317),l=r(22783),a=r(42049),n=r(80432),i=r(85924);let o=({options:e,base:t,ctaLabel:r})=>{var o,m;let x=(0,l.useRouter)(),[u,h]=(0,a.useState)({a:null,b:null}),[p,g]=(0,a.useState)("a"),[b,f]=(0,a.useState)(0),[j,v]=(0,a.useState)(!1),y=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(!b)return;y.current?.scrollIntoView({behavior:"smooth",block:"center"}),v(!0);let e=setTimeout(()=>v(!1),1400);return()=>clearTimeout(e)},[b]);let N=e=>{g(e),f(e=>e+1)},w=u.a&&u.b?`${t}/${o=u.a.slug,m=u.b.slug,`${o}-vs-${m}`}`:null;(0,a.useEffect)(()=>{w&&x.push(w)},[w,x]);let k=p?u["a"===p?"b":"a"]:null;return(0,s.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,s.jsxs)("div",{className:"grid grid-cols-[1fr_auto_1fr] items-center gap-3 sm:gap-6",children:[(0,s.jsx)(d,{slot:"a",value:u.a,active:"a"===p,onClick:()=>N("a")}),(0,s.jsx)("span",{className:"rounded-full bg-space-blue px-3 py-1 font-bold text-white text-sm",children:"vs"}),(0,s.jsx)(d,{slot:"b",value:u.b,active:"b"===p,onClick:()=>N("b")})]}),p&&(0,s.jsxs)("div",{ref:y,className:(0,n.cn)("scroll-mt-24 rounded-2xl border bg-white p-4 transition-shadow duration-300 lg:p-6",j?"border-primary ring-4 ring-primary/30":"border-grey-200"),children:[(0,s.jsxs)("p",{className:"mb-4 font-semibold text-space-blue",children:["Kies ","a"===p?"de eerste":"de tweede"," exchange"]}),(0,s.jsx)("ul",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4",children:e.filter(e=>e.slug!==k?.slug).map(e=>(0,s.jsx)("li",{children:(0,s.jsxs)("button",{type:"button",onClick:()=>(e=>{if(!p)return;let t="a"===p?"b":"a";h(t=>({...t,[p]:e})),g(u[t]?null:t)})(e),className:(0,n.cn)("flex w-full cursor-pointer items-center gap-3 rounded-xl border p-3 text-left transition-colors",u[p]?.slug===e.slug?"border-primary bg-primary-lighter":"border-grey-200 hover:border-primary hover:bg-primary-lighter/50"),children:[(0,s.jsx)(c,{option:e,size:"size-9"}),(0,s.jsx)("span",{className:"min-w-0 truncate font-semibold text-space-blue text-sm",children:e.name})]})},e.slug))})]}),w&&(0,s.jsx)(i.Button,{asChild:!0,variant:"primary",size:"large",className:"w-full sm:w-fit sm:self-ce
1nter",children:(0,s.jsxs)("a",{href:w,children:[r,": ",u.a?.name," vs ",u.b?.name]})})]})};function c({option:e,size:t}){return(0,s.jsx)("span",{className:(0,n.cn)("flex shrink-0 items-center justify-center rounded-xl bg-white p-1 shadow-small",t),children:e.logoUrl?(0,s.jsx)("img",{src:e.logoUrl,alt:"",className:"size-full rounded-lg object-contain"}):(0,s.jsx)("span",{className:"font-semibold text-grey-500 text-xs",children:e.name.slice(0,2)})})}function d({slot:e,value:t,active:r,onClick:l}){return(0,s.jsx)("button",{type:"button",onClick:l,"aria-pressed":r,className:(0,n.cn)("flex min-h-36 cursor-pointer flex-col items-center justify-center gap-3 rounded-2xl border-2 p-4 text-center transition-colors",r?"border-primary bg-primary-lighter":"border-grey-200 bg-white hover:border-primary",!t&&"border-dashed"),children:t?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c,{option:t,size:"size-14"}),(0,s.jsx)("span",{className:"font-bold text-space-blue leading-tight",children:t.name}),(0,s.jsx)("span",{className:"text-grey-500 text-xs",children:"Wijzig"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"flex size-14 items-center justify-center rounded-2xl bg-grey-100 font-bold text-2xl text-grey-400",children:"a"===e?"1":"2"}),(0,s.jsx)("span",{className:"font-semibold text-grey-600 text-sm",children:"Kies een exchange"})]})})}},90958:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var s=r(89317),l=r(7502),a=r(44731),n=r(28540),i=r(42400);let o=({tag:e,title:t,expert:r,walletName:o,walletLogo:c,description:d,usps:m,image:x,ctaLabel:u,ctaUrl:h})=>(0,s.jsx)(i.l,{variant:"light",tag:e,title:t,ctaLabel:u,ctaUrl:h,ctaArrow:!0,usps:m.map(e=>e.text),headerSlot:r?(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[r.photo&&(0,s.jsx)(n.h,{resource:r.photo,alt:r.name,className:"size-10"}),(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("span",{className:"text-h4 text-space-blue",children:r.name}),(0,s.jsx)("span",{className:"text-gray-500 text-small-regular",children:r.jobTitle})]})]}):void 0,bodySlot:(0,s.jsxs)("div",{className:"flex items-center gap-4",children:[(0,s.jsx)("span",{className:"text-h4 text-space-blue",children:o}),c&&(0,s.jsx)("div",{className:"flex size-16 shrink-0 items-center justify-center overflow-hidden rounded-[10px] border border-gray-300 bg-white",children:(0,s.jsx)(l.$,{resource:c,imgClassName:"size-10 object-contain",size:"40px"})})]}),description:d?(0,s.jsx)(a.A,{data:d,enableGutter:!1,enableProse:!1}):void 0,visual:x?(0,s.jsx)("div",{className:"absolute inset-[-10%] flex items-center justify-center",children:(0,s.jsx)(l.$,{resource:x,fill:!0,className:"flex items-center justify-center",imgClassName:"object-contain drop-shadow-2xl",size:"(max-width: 1024px) 100vw, 1200px"})}):void 0})},92489:()=>{},93534:(e,t,r)=>{"use strict";r.d(t,{default:()=>a});var s=r(15765),l=r(89317);function a({locale:e,...t}){if(!e)throw Error(void 0);return(0,l.jsx)(s.Dk,{locale:e,...t})}},93838:(e,t,r)=>{"use strict";r.d(t,{default:()=>v});var s=r(89317),l=r(92681),a=r(42049),n=r(80432),i=r(85924);let o=({value:e,onChange:t,invalid:r=!1,errorMessage:l})=>{let i=(0,a.useId)(),o=`${i}-error`;return(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:i,className:"mb-2 block font-semibold text-grey-700 text-sm",children:"Ik investeer"}),(0,s.jsxs)("div",{className:(0,n.cn)("flex items-center rounded-lg border bg-white transition-colors","focus-within:border-primary focus-within:ring-2 focus-within:ring-primary/30",r?"border-error":"border-grey-300"),children:[(0,s.jsx)("span",{"aria-hidden":"true",className:"pr-2 pl-4 font-medium text-grey-500",children:"€"}),(0,s.jsx)("input",{id:i,type:"text",inputMode:"decimal",value:e,onChange:e=>t(e.target.value),placeholder:"0","aria-label":"Investeringsbedrag in euro","aria-invalid":r,"aria-describedby":r?o:void 0,className:"w-full bg-transparent py-3 pr-4 font-semibold text-lg text-space-blue outline-none placeholder:font-normal placeholder:text-grey-400"})]}),r&&l&&(0,s.jsx)("p",{id:o,className:"mt-2 text-error text-sm",children:l})]})};var c=r(46659);let d={"1m":"1 maand","3m":"3 maanden","6m":"6 maanden","1y":"1 jaar","3y":"3 jaar","5y":"5 jaar"},m=["1m","3m","6m","1y","3y","5y"];function x(e,t){return 1>Math.abs(e)?(0,c.P)(e,t):new Intl.NumberFormat(t,{style:"currency",currency:"EUR",maximumFractionDigits:2}).format(e)}
1let u=({value:e,onChange:t,available:r})=>{let l=(0,a.useId)();return(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{htmlFor:l,className:"mb-2 block font-semibold text-grey-700 text-sm",children:"Tijdshorizon"}),(0,s.jsxs)("div",{className:"relative",children:[(0,s.jsx)("select",{id:l,value:e,onChange:e=>t(e.target.value),"aria-label":"Tijdshorizon selecteren",className:"w-full appearance-none rounded-lg border border-grey-300 bg-white py-3 pr-10 pl-4 font-semibold text-base text-space-blue outline-none transition-colors focus:border-primary focus:ring-2 focus:ring-primary/30",children:m.map(e=>(0,s.jsx)("option",{value:e,disabled:!r.has(e),children:d[e]},e))}),(0,s.jsx)("svg",{"aria-hidden":"true",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",className:"pointer-events-none absolute top-1/2 right-4 -translate-y-1/2 text-grey-500",children:(0,s.jsx)("path",{d:"M6 9l6 6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})};var h=r(52296);let p={positive:{bgVar:"--color-prediction-bullish-bg",accentVar:"--color-prediction-bullish"},negative:{bgVar:"--color-prediction-bearish-bg",accentVar:"--color-prediction-bearish"},neutral:{bgVar:"--color-prediction-neutral-bg",accentVar:"--color-prediction-neutral"}},g=({result:e,coinTicker:t,locale:r,showCoinAmount:l,placeholder:a,methodologyUrl:n})=>{var i,o,c,d;let m,u;if(!e)return(0,s.jsx)("div",{"aria-live":"polite",className:"flex h-full min-h-48 items-center justify-center p-6 text-center text-grey-500 text-sm",children:a});let{bgVar:g,accentVar:f}=p[(i=e.roiAmount)>0?"positive":i<0?"negative":"neutral"];return(0,s.jsxs)("div",{"aria-live":"polite",className:"flex h-full min-w-0 flex-col p-6 transition-colors duration-300 ease-in-out motion-reduce:transition-none lg:p-8",style:{backgroundColor:`var(${g})`},children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[(0,s.jsx)("p",{className:"font-semibold text-grey-600 text-sm",children:"Geschat resultaat"}),(0,s.jsx)(h.b,{href:n})]}),(0,s.jsx)("div",{className:"mt-2 rounded-lg bg-white px-4 py-3 shadow-small",children:(0,s.jsxs)("p",{className:"font-bold text-3xl tracking-tight lg:text-4xl",style:{color:`var(${f})`},children:[(o=e.roiAmount,`${o>0?"+":o<0?"-":""}${x(Math.abs(o),r)}`),(0,s.jsxs)("span",{className:"ml-2 text-xl lg:text-2xl",children:["(",(c=e.roiPercent,m=new Intl.NumberFormat(r,{minimumFractionDigits:1,maximumFractionDigits:1}).format(c),c>0?`+${m}%`:`${m}%`),")"]})]})}),(0,s.jsxs)("dl",{className:"mt-6 space-y-2 text-sm",children:[(0,s.jsx)(b,{label:"Jouw investering",value:x(e.amount,r)}),(0,s.jsx)(b,{label:"Verwachte waarde",value:x(e.futureValue,r),emphasize:!0})]}),(0,s.jsx)("hr",{className:"my-4 border-grey-200"}),(0,s.jsxs)("dl",{className:"space-y-2 text-grey-600 text-sm",children:[(0,s.jsx)(b,{label:"Huidige koers",value:x(e.currentPrice,r),muted:!0}),(0,s.jsx)(b,{label:"Verwachte koers",value:x(e.targetPrice,r),muted:!0}),l&&(0,s.jsx)(b,{label:"Je bezit",value:(d=e.coins,u=new Intl.NumberFormat(r,{maximumSignificantDigits:5}).format(d),`${u} ${t}`),muted:!0})]})]})},b=({label:e,value:t,emphasize:r=!1,muted:l=!1})=>(0,s.jsxs)("div",{className:"flex items-baseline justify-between gap-4",children:[(0,s.jsx)("dt",{className:l?"text-grey-500":"text-grey-600",children:e}),(0,s.jsx)("dd",{className:r?"font-bold text-base text-space-blue":l?"font-medium text-grey-700":"font-semibold text-space-blue",children:t})]}),f=[{value:"bearish",label:"Bearish"},{value:"neutral",label:"Neutraal"},{value:"bullish",label:"Bullish"}],j=({value:e,onChange:t})=>(0,s.jsx)("div",{role:"radiogroup","aria-label":"Scenario selecteren",className:"inline-flex items-stretch overflow-hidden rounded-3xl bg-primary-lighter",children:f.map(r=>{let l=r.value===e;return(0,s.jsx)("button",{type:"button",role:"radio","aria-checked":l,onClick:()=>t(r.value),className:(0,n.cn)("whitespace-nowrap rounded-3xl border px-4 py-2 text-center text-base leading-relaxed transition-colors duration-200 motion-reduce:transition-none","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",l?"border-primary-lighter bg-primary font-medium text-white shadow-soft-tab":"border-transparent font-normal text-grey-600 hover:text-space-blue"),children:r.label},r.value)})}),v=({title:e="Wat als je nu {{coinName}} koopt?",coinName:t,coinTicker:r,currentPrice:c,predictions:d,defaultAmount:x=1e3,defaultHorizon:h="1y",defaultScenario:p="neutral",cta:b,methodologyUrl:f,showDisclaimer:v=!0,showCoinAmount:y=!0,layout:N="stacked",locale:w="nl-NL"})=>{let[k,C]=(0,a.useState)(String(x)),[S,P]=(0,a.useState)(h),[$,L]=(0,a.useState)(p),[E,z]=(0,a.useState)(k);(0,a.useEffect)(()=>{let e=setTimeout(()=>z(k),300);return()=>clearTimeout(e)},[k]);let A=(0,a.useMemo)(()=>{let e=new Set;for(let t of m)"number"==typeof d[$]?.[t]&&e.add(t);return e},[d,$]);(0,a.useEffect)(()=>
1{if(!A.has(S)){let e=m.find(e=>A.has(e));e&&P(e)}},[A,S]);let M=function(e){let t,r=e.replace(/[^\d.,]/g,"");if(""===r)return null;let s=Math.max(r.lastIndexOf(","),r.lastIndexOf("."));if(-1===s)t=r;else{let e=r.slice(0,s).replace(/[.,]/g,""),l=r.slice(s+1).replace(/[.,]/g,"");t=`${e}.${l}`}let l=Number.parseFloat(t);return Number.isFinite(l)?l:null}(E),T=null===M||M<30||M>5e6,F=(0,a.useMemo)(()=>{if(T||null===M)return null;let e=d[$]?.[S];if("number"!=typeof e||c<=0)return null;let t=M/c,r=t*e,s=r-M,l=s/M*100;return{amount:M,futureValue:r,roiAmount:s,roiPercent:l,currentPrice:c,targetPrice:e,coins:t}},[T,M,d,$,S,c]),D=e.replaceAll("{{coinName}}",t),_=(b?.label??"{{coinName}} kopen").replaceAll("{{coinName}}",t),B=b?.url;return(0,s.jsxs)("section",{className:"container w-full","aria-label":`ROI Calculator voor ${t}`,children:[(0,s.jsx)("h2",{className:"font-bold text-4xl text-space-blue lg:font-semibold lg:text-7xl",children:D}),(0,s.jsxs)("div",{className:"mt-6 overflow-hidden rounded-2xl border border-grey-200 bg-white lg:mt-8",children:[(0,s.jsxs)("div",{className:(0,n.cn)("grid divide-y divide-grey-300","sideBySide"===N&&"lg:grid-cols-2 lg:divide-x lg:divide-y-0"),children:[(0,s.jsxs)("div",{className:"flex min-w-0 flex-col gap-6 p-6 lg:p-8",children:[(0,s.jsx)(o,{value:k,onChange:C,invalid:T,errorMessage:`Voer een bedrag in tussen €${30..toLocaleString(w)} en €${5e6.toLocaleString(w)}`}),(0,s.jsx)(u,{value:S,onChange:P,available:A}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{className:"mb-2 block font-semibold text-grey-700 text-sm",children:"Scenario"}),(0,s.jsx)(j,{value:$,onChange:L})]})]}),(0,s.jsx)(g,{result:F,coinTicker:r,locale:w,showCoinAmount:y,methodologyUrl:f,placeholder:"Voer een geldig bedrag in om je geschatte rendement te zien."})]}),(0,s.jsxs)("div",{className:"border-grey-200 border-t p-6 lg:p-8",children:[B&&(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsx)(i.Button,{asChild:!0,variant:"primary",size:"large",className:"w-full sm:w-auto",children:(0,s.jsx)("a",{href:B,children:_})})}),v&&(0,s.jsxs)("div",{className:"mt-6 flex items-start gap-2 rounded-lg bg-warning-lighter p-3",children:[(0,s.jsx)(l.A,{"aria-hidden":"true",className:"size-7 shrink-0 text-warning"}),(0,s.jsx)("p",{className:"text-base text-grey-700 leading-relaxed",children:"Let op: crypto is volatiel. Dit is een scenario op basis van historische data, geen garantie. Investeer nooit meer dan je kunt verliezen. Dit is geen financieel advies."})]})]})]})]})}},96256:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Marquee:()=>n});var s=r(89317),l=r(42049);r(92489);var a=r(80432);let n=({children:e,duration:t=30,speed:r,pauseOnHover:n=!1,trackClassName:i,className:o})=>{let c=l.useRef(null),d=l.useRef(null),[m,x]=l.useState(!1),[u,h]=l.useState(null);l.useEffect(()=>{if(!c.current||!d.current)return;let e=()=>{let e=c.current?.offsetWidth,t=d.current?.scrollWidth??0;x(t>(e??0)),r&&r>0&&t>0&&h(t/r)};e();let t=new ResizeObserver(e);return t.observe(c.current),t.observe(d.current),()=>t.disconnect()},[r]);let[p,g]=l.useState(!1);return l.useEffect(()=>{g(!0)},[]),(0,s.jsx)("div",{ref:c,className:(0,a.cn)("marquee group/marquee",o),style:{"--marquee-duration":`${u??t}s`},"data-mounted":p,"data-animate":m,"data-pause-on-hover":n,children:(0,s.jsxs)("div",{className:(0,a.cn)("marquee-track",i),children:[(0,s.jsx)("div",{ref:d,className:"marquee-content",children:e}),m&&(0,s.jsx)("div",{className:"marquee-content--clone",children:e})]})})}},99918:(e,t,r)=>{"use strict";r.d(t,{default:()=>g});var s=r(89317),l=r(28186),a=r(58571),n=r(92087),i=r(80337),o=r(86531),c=r(21379),d=r(85924);let m=(e,t,r=2)=>null==t?"—":new Intl.NumberFormat(e,{maximumFractionDigits:r,minimumFractionDigits:0}).format(t),x=(e,t)=>{if(!t)return"—";let r=new Date(t);return Number.isNaN(r.getTime())?t:new Intl.DateTimeFormat(e,{dateStyle:"medium",timeZone:"Europe/Amsterdam"}).format(r)},u=`${o.O} text-justify [overflow-wrap:anywhere] hyphens-auto`,h=({label:e,children:t})=>{let r,l="string"==typeof t&&0===t.trim().length;return(0,s.jsxs)("div",{className:"border-border/60 border-b py-3 last:border-b-0",children:[(0,s.jsx)("dt",{className:"font-bold text-grey-800 text-xs",children:e}),(0,s.jsx)("dd",{className:`mt-1 text-xs ${u}
1`,children:l?"—":"string"==typeof t?0===(r=t.split(/\r?\n/).map(e=>e.trim()).filter(e=>e.length>0)).length?null:r.map((e,t)=>(0,s.jsx)("p",{children:e},`${t}-${e}`)):t})]})},p=({label:e,value:t,unit:r,lang:l})=>(0,s.jsxs)("div",{className:"flex h-full flex-col justify-between gap-3 rounded-xl border border-border/60 p-3",children:[(0,s.jsx)("div",{lang:l,className:"hyphens-auto break-words font-bold text-grey-800 text-xs",children:e}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"break-words font-mono font-semibold text-primary text-xs tabular-nums tracking-tight",children:t}),r&&(0,s.jsx)("div",{className:"text-grey-500 text-xs",children:r})]})]}),g=({title:e,rows:t,locale:r,downloadFile:o})=>{let u=(0,l.c)("sustainability-impact-block"),{width:g}=(0,n.k)(),b=g<a.L.breakpoints.lg?"text-small-medium":"text-body-medium";return(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"mx-auto w-full max-w-198 bg-background text-primary-dark",children:[e&&(0,s.jsx)(i.T,{title:e,className:"mb-4 lg:mb-10"}),(0,s.jsx)(c.Accordion,{type:"single",variant:"outline",collapsible:!0,children:t.map((e,t)=>{let l=`${e.lei||"no-lei"}-${e.assetName}-${t}`;return(0,s.jsxs)(c.AccordionItem,{value:l,children:[(0,s.jsx)(c.AccordionTrigger,{className:b,children:e.assetName}),(0,s.jsxs)(c.AccordionContent,{children:[(0,s.jsxs)("div",{className:"mt-2 grid grid-cols-2 gap-3 lg:grid-cols-4",children:[(0,s.jsx)(p,{lang:r,label:u("S8"),value:m(r,e.energyKwh,2),unit:u("unit-kwh")}),(0,s.jsx)(p,{lang:r,label:u("S10"),value:m(r,e.renewablePct,2),unit:u("unit-percent")}),(0,s.jsx)(p,{lang:r,label:u("S11"),value:m(r,e.energyIntensity,5),unit:u("unit-kwh")}),(0,s.jsx)(p,{lang:r,label:u("S14"),value:m(r,e.ghgIntensity,5),unit:u("unit-kgco2-tx")})]}),(0,s.jsxs)("dl",{className:"mt-6",children:[(0,s.jsx)(h,{label:u("S1"),children:e.reportingEntity}),(0,s.jsx)(h,{label:u("S2"),children:e.lei}),(0,s.jsxs)(h,{label:u("S6-S7"),children:[x(r,e.periodStart)," – ",x(r,e.periodEnd)]}),(0,s.jsx)(h,{label:u("S4"),children:e.consensus}),(0,s.jsx)(h,{label:u("S5"),children:e.incentives}),(0,s.jsx)(h,{label:u("S9"),children:e.energySources}),(0,s.jsxs)(h,{label:u("S12"),children:[m(r,e.scope1,5)," ",u("unit-tco2e")]}),(0,s.jsxs)(h,{label:u("S13"),children:[m(r,e.scope2,5)," ",u("unit-tco2e")]}),(0,s.jsx)(h,{label:u("S15"),children:e.keyEnergySources}),(0,s.jsx)(h,{label:u("S16"),children:e.keyGhgSources})]})]})]},l)})}),o&&(0,s.jsxs)("div",{className:"mt-8 flex flex-col items-start gap-3 rounded-xl border border-border/60 p-4 lg:p-6",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"font-bold text-base text-primary-dark lg:text-lg",children:u("download-label")}),(0,s.jsx)("p",{className:"mt-1 text-grey-700 text-sm",children:u("download-description")})]}),(0,s.jsx)(d.Button,{asChild:!0,variant:"primary",children:(0,s.jsx)("a",{href:o.url,target:"_blank",rel:"noopener noreferrer",children:u("download-l
1ink")})})]})]})})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.