1import{j as e,r as A}from"./emotion-element-f0de968e.browser.esm-BO1vVsdt.js";import{a as r,n as s,R as x,c as a,g as N,I as T,j as P}from"./grid-BM8y4VBi.js";import{u as W}from"./hooks-CXV2718-.js";import{B as w,h as E,a as G,S as y,I as M}from"./banner-DmcppbvS.js";import{f as S,b as k}from"./date-CblX_WSK.js";import{g as z,a as _}from"./view-DmLcDWcr.js";import"./components-CR6HXnpx.js";import"./addLeadingZeros-DHHl9vvT.js";const H=(t,i)=>{if(!i)return i;const n={...i};return n!=null&&n.height&&(n.height=n.height*t),n!=null&&n.width&&(n.width=n.width*t),n},L=s.div` 2 font-family: 'SuisseIntl'; 3 line-height: 1.1; 4 letter-spacing: -0.6px; 5 color: ${t=>t.color}; 6 text-align: center; 7 8 ${t=>t.$noBottomMargin?"padding-bottom: 0;":""} 9 10 h2 { 11 font-size: 28px; 12 } 13 14 ${r("md")(`h2 { 15 font-size: 40px; 16 }`)} 17`,I=({headline:t,color:i,noBottomMargin:n})=>t?e.jsx(L,{color:i,$noBottomMargin:n,children:e.jsx(x,{content:t})}):null,C=s.div` 18 line-height: 1.1; 19 letter-spacing: -0.6px; 20 color: ${t=>t.color}; 21 text-align: center; 22 font-weight: 400; 23 margin: 0 auto; 24 25 ${t=>t.$noBottomMargin?"padding-bottom: 0;":""} 26 27 ${r("sm")("width: 80%;")} 28 29 ${r("md")("width: 66%;")} 30 31 p { 32 font-size: 28px; 33 padding-bottom: 12px; 34 quotes: 'â' 'â'; 35 ::before { 36 box-sizing: border-box; 37 content: open-quote; 38 font-style: italic; 39 } 40 ::after { 41 box-sizing: border-box; 42 content: close-quote; 43 font-style: italic; 44 } 45 } 46 47 small { 48 font-family: 'ApercuMonoPro', Helvetica, sans-serif; 49 } 50`,q=({author:t,quote:i,color:n,noBottomMargin:l})=>i?e.jsxs(C,{color:n,$noBottomMargin:l,children:[e.jsx(x,{content:i}),t?e.jsx("small",{children:t}):null]}):null,R=s.div` 51 font-family: 'SuisseIntl'; 52 font-size: 19px; 53 line-height: 1.47; 54 letter-spacing: 0.29px; 55 text-align: left; 56 color: #000000; 57 58 a { 59 &, 60 &:visited, 61 &:active { 62 color: ${a.violetBlue}; 63 } 64 } 65`,V=({text:t})=>t?e.jsx(R,{children:e.jsx(x,{content:t})}):null,F=({data:t})=>{if(!t)return null;const{topBannerImage:i,mobileBannerImage:n,mobileBannerAlignment:l,titleText:j,headlineColour:p,introHeadline:b,date:u,author:f,body:v}=t,d=E[p||"pinegreen"];return e.jsxs(A.Fragment,{children:[e.jsx(w,{image:i,mobileImage:n,mobileAlignment:l,title:j,textColor:d,isArticle:!0,isH1:!0}),e.jsxs(G,{children:[e.jsxs(y,{children:[e.jsx(I,{headline:b,color:d,noBottomMargin:!0}),u&&f?e.jsxs(M,{color:d,children:[e.jsxs("div",{children:["DATE: ",S(u)]}),e.jsxs("div",{children:["WRITTEN BY: ",f]})]}):null]}),v?v.map(({type:m,content:o},$)=>{switch(m){case"text":return e.jsx(y,{children:e.jsx(V,{text:o.text})},`text_${$}`);case"colored_headline":return e.jsx(y,{children:e.jsx(I,{color:d,headline:o.headline})},`hl_${$}`);case"banner":return e.jsx(w,{image:o.backgroundImage,mobileImage:o.mobileBackgroundImage,mobileAlignment:o.mobileBackgroundAlignment,title:o.titleText,isArticle:!0,textColor:p},`bn_${$}`);case"quote":return e.jsx(y,{children:e.jsx(q,{color:p,quote:o.text,author:o.author})},`qt_${$}`);case"extra_spacing":return null;default:return null}}):null]})]})},Q=s.div` 66 padding-bottom: 28px; 67 68 ${r("lg")(`${N(12,0)} 69 grid-auto-rows: minmax(min-content, max-content); 70 section.sec-poster { 71 grid-row: 1 / 7; 72 grid-column: 1 / 5; 73 margin: 0; 74 border: 0; 75 } 76 section.sec-title, 77 section.sec-date, 78 section.sec-location, 79 section.sec-links, 80 section.sec-tickets, 81 section.sec-dummy { 82 grid-column: 5 / 9; 83 } 84 section.sec-lineup, 85 section.sec-info { 86 grid-column: 9 / 13; 87 border-right: 0; 88 } 89 90 section.sec-lineup { 91 grid-row: 2 / 8; 92 border-bottom: 0; 93 } 94 95 section.sec-info { 96 grid-row: 1 / 2; 97 } 98 99 section.sec-dummy { 100 display: block; 101 height: 10vw; 102 grid-row: 6 / 7; 103 border-bottom: 0; 104 } 105 106 padding-bottom: 0; 107 `)} 108`,O=s.div` 109 border: solid 1px #707070; 110 display: flex; 111 justify-content: center;
112 align-items: center; 113 color: ${a.brownGrey}; 114 height: 100%; 115 width: 100%; 116 font-size: 14px; 117 line-height: 1.21; 118 letter-spacing: 0.28px; 119`,U=s.div` 120 margin: 0 12px; 121 width: calc(100dvw - 24px); 122 ${z(371,556,320)} 123 124 ${r("lg")(`${_(476,714)} 125 ${z(678,1017)} 126 margin: 0;`)} 127`,h=s.h3` 128 padding: 10px 12px; 129 background-color: ${a.brownGrey}; 130 131 font-family: 'SuisseIntl'; 132 font-size: 12px; 133 line-height: 1.33; 134 letter-spacing: 0.24px; 135 color: ${a.violetBlue}; 136 text-transform: uppercase; 137 138 ${r("lg")(`font-size: 14px; 139 line-height: 1.29; 140 letter-spacing: 0.28px; 141 background-color: transparent; 142 color: ${a.brownGrey}; 143 144 border-bottom: 1px solid ${a.brownGrey};`)} 145`,c=s.section` 146 &.sec-dummy { 147 display: none; 148 } 149 150 ${r("lg")(`margin-left: -1px; 151 border-right: 1px solid ${a.brownGrey}; 152 border-left: 1px solid ${a.brownGrey}; 153 border-bottom: 1px solid ${a.brownGrey};`)} 154`,g=s.div` 155 padding: 9px 12px; 156`,Y=s.div` 157 h1 { 158 font-size: 28px; 159 line-height: 1.25; 160 letter-spacing: -0.84px; 161 text-transform: uppercase; 162 word-break: break-word; 163 164 ${r("lg")(`font-size: 72px; 165 margin-top: 5px; 166 font-weight: 500; 167 line-height: 0.83; 168 letter-spacing: -2.16px;`)} 169 } 170`,J=s.div` 171 font-size: 28px; 172 line-height: 1.14; 173 letter-spacing: -0.84px; 174 175 ${r("lg")(`font-size: 40px; 176 line-height: 1.1; 177 letter-spacing: -1.2px;`)} 178`,K=s.div` 179 h3 { 180 font-size: 28px; 181 line-height: 1.25; 182 letter-spacing: -0.84px; 183 text-transform: uppercase; 184 185 ${r("lg")(`font-size: 40px; 186 line-height: 1.3; 187 letter-spacing: -1.2px;`)} 188 } 189 190 margin-bottom: 8px; 191`,X=s.div` 192 font-size: 12px; 193 line-height: 1.42; 194 letter-spacing: -0.24px; 195 text-transform: uppercase; 196 197 ${r("lg")(`font-size: 14px; 198 line-height: 1.71; 199 letter-spacing: -0.28px;`)} 200`,Z=s.div` 201 &, 202 a, 203 a:visited, 204 a:active { 205 font-size: 28px; 206 line-height: 1.14; 207 letter-spacing: -0.84px; 208 text-transform: uppercase; 209 210 ${r("lg")(`font-size: 40px; 211 line-height: 1.1; 212 letter-spacing: -1.2px;`)} 213 } 214`,B=s.div` 215 display: inline-block; 216 margin-right: 8px; 217`,D=s.div` 218 text-transform: uppercase; 219 220 &, 221 a, 222 a:visited, 223 a:active { 224 font-size: 12px; 225 line-height: 1.42; 226 letter-spacing: -0.24px; 227 228 ${r("lg")(`font-size: 14px; 229 line-height: 1.71; 230 letter-spacing: -0.28px;`)} 231 } 232`,ee=s.div` 233 text-transform: uppercase; 234 235 &, 236 a, 237 a:visited, 238 a:active { 239 text-transform: uppercase; 240 font-size: 12px; 241 line-height: 1.42; 242 letter-spacing: -0.24px; 243 244 ${r("lg")(`font-size: 14px; 245 line-height: 1.71; 246 letter-spacing: -0.28px;`)} 247 } 248`,te=s.div` 249 &, 250 a, 251 a:visited, 252 a:active { 253 font-family: 'SuisseIntl'; 254 font-size: 12px; 255 line-height: 1.42; 256 letter-spacing: 0.18px; 257 258 ${r("lg")(`font-size: 14px; 259 line-height: 1.21; 260 letter-spacing: 0.21px;`)} 261 } 262 padding-bottom: 18px; 263 264 p { 265 margin-bottom: 1em; 266 } 267`,ie=({data:t})=>{if(!t)return null;const{dateStart:i,dateEnd:n,info:l,lineup:j,links:p,locationAddress:b,locationTitle:u,ticketsLink:f,title:v,posterImage:d}=t;return e.jsxs(Q,{children:[e.jsxs(c,{className:"sec-title",children:[e.jsx(h,{children:"event name"}),e.jsx(g,{children:e.jsx(Y,{children:e.jsx(x,{content:v})})})]}),e.jsxs(c,{className:"sec-date",children:[e.jsx(h,{children:"date"}),e.jsx(g,{children:e.jsx(J,{children:i&&n?e.jsxs("div",{children:[e.jsx("div",{children:S(i)}),e.jsxs("div",{children:[k(i),"-",k(n)]})]}):null})})]}),e.jsxs(c,{className:"sec-location",children:[e.jsx(h,{children:"location"}),e.jsxs(g,{children:[u?e.jsx(K,{children:e.jsx(x,{content:u})}):null,b?e.jsx(X,{children:e.jsx(x,{content:b})}):null]})]}),e.jsxs(c,{className:"sec-lineup",children:[e.jsx(h,{children:"line-up"}),e.jsx(g,{children:j?e.jsx(Z,{children:e.jsx(x,{content:j})}):null})]}),e.jsxs(c,{className:"sec-links",children:[e.jsx(h,{children:"links"}),e.jsx(g,{children:p&&p.length?e.jsx(D,{children:p.map((m,o)=>e.jsxs("div",{children:[e.jsx(B,{children:e.jsx("span",{role:"img","aria-label":"link-icon",children:"ð"})}),e.jsx("a",{href:(m==null?void 0:m.url)||"#",children:m.label})]},`event_link_${o}`))}):null})]}),e.jsx(c,{className:"sec-dummy"}),e.jsxs(c,{className:"sec-tickets",children:[e.jsx(h,{children:"tickets"}),e.jsx(g,{children:f?e.jsxs(ee,{children:[e.jsx(B,{children:e.jsx("span",{role:"img","aria-label":"link-icon",children:"ð"})}),e.jsx("a",{href:f,children:"buy here"})]}):null})]}),e.jsxs(c,{className:"sec-info",children:[e.jsx(h,{children:"info"}),e.jsx(g,{children:l?e.jsx(te,{children:e.jsx(x,{content:l})}):null})]}),e.jsx(c,{className:"sec-poster",children:e.jsx(U,{children:d?e.jsx(T,{data:{...d,dimensions:H(2,d.dimensions)}}):e.jsx(O,{children:"No poster available"})})})]})};function xe(){var n,l;const t=W(),{data:i}=P(t,{enabled:!!t});return((n=i==null?void 0:i.meta)==null?void 0:n.type)==="newsArticle"?e.jsx(F,{data:i}):((l=i==null?void 0:i.meta)==null?void 0:l.type)==="event"?e.jsx(ie,{data:i}):null}export{xe as default};
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.