2 lines
5.6 KiB
JavaScript
Executable File
2 lines
5.6 KiB
JavaScript
Executable File
"use strict";(("undefined"!=typeof self?self:global).webpackChunkopen=("undefined"!=typeof self?self:global).webpackChunkopen||[]).push([[722],{74923:(o,s,t)=>{t.d(s,{q:()=>m});var a=t(84875),n=t.n(a),e=t(24697),r=t(56162),p=t(94285),i=t(3715),c=t(97401),d=t(95535);const l={podcastSponsorWrapper:"dV4xfunhSR2t1b2_DGmQ",podcastSponsor:"U1vrFpapHsO_5IjmIFcH",podcastSponsorExternalLink:"NJfpfM604qpHFMZ6JhvB",podcastSponsorImage:"kRTpwQVjlqFf5Czksi3t",podcastSponsorCaption:"kXzypcYbihi6FOKwI1pL",podcastSponsorAdvertiser:"hbTMMsp2awkqMs24k79g",podcastSponsorButtonMessage:"jZzLKoZ2KgeSV72GKgG1",podcastSponsorCtaButtonWrapper:"R754clNSpXq5kl8V0Nh9",podcastSponsorCtaCardButton:"GTm8hzK6khl4JmocUp_i"};var S=t(4637);const u="110px";function m({figureProps:o,imageProps:s,advertiserTypeProps:t,taglineProps:a,callToActionButtonProps:m,externalLinkIconProps:v,children:g,...h}){return(0,S.jsxs)(c.x,{...h,className:n()(l.podcastSponsorWrapper,h.className),children:[(0,S.jsxs)("figure",{className:l.podcastSponsor,...o,children:[(0,S.jsx)(e.E,{placeholderSrc:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8LwkAAh0BGumlBj4AAAAASUVORK5CYII=",imageWidth:u,imageHeight:u,crop:!0,...s,className:n()(l.podcastSponsorImage,s.className)}),(0,S.jsxs)("figcaption",{className:l.podcastSponsorCaption,children:[(0,S.jsx)(r.D,{variant:"balladBold",className:l.podcastSponsorAdvertiser,...t}),(0,S.jsx)(d.S,{className:l.podcastSponsorButtonMessage,...a}),m&&(0,S.jsx)("div",{className:l.podcastSponsorCtaButtonWrapper,children:(0,S.jsx)(i.K,{...m})})]}),v&&(0,S.jsx)(p.T,{className:l.podcastSponsorExternalLink,iconSize:16,...v})]}),g]})}},3715:(o,s,t)=>{t.d(s,{K:()=>S});var a=t(59496),n=t(84875),e=t.n(n),r=t(7695),p=t(97401),i=t(71619);const c={podcastSponsorCallToActionButton:"WI4OWZsbabgCus7t7tbe"};var d=t(4637);const l=(0,a.lazy)((()=>t.e(5503).then(t.bind(t,5503))));function S({children:o,"data-testid":s,className:t,crossPromoVariant:n,...S}){const u=(0,a.useMemo)((()=>(0,d.jsx)(p.x,{..."to"in S?{to:S.to}:void 0,children:(0,d.jsx)(r.PodcastSponsorCallToActionButtonBase,{children:o,...S})})),[o,S]);return(0,d.jsx)("div",{className:e()(c.podcastSponsorCallToActionButton,t),"data-testid":s,children:n&&n.buttonAction!==i.kI?(0,d.jsx)(a.Suspense,{fallback:u,children:(0,d.jsx)("div",{children:(0,d.jsx)(l,{crossPromoVariant:n,children:o,potentiallyMalformedUri:"to"in S?S.to:void 0,...S})})}):u})}},7695:(o,s,t)=>{t.r(s),t.d(s,{PodcastSponsorCallToActionButtonBase:()=>r,default:()=>p});var a=t(79475),n=t(56162),e=t(4637);function r({children:o,...s}){return(0,e.jsx)(a.D,{as:"div",...s,buttonSize:s.buttonSize||a.D.sm,children:(0,e.jsx)(n.D,{variant:"mestoBold",children:o})})}const p=r},97401:(o,s,t)=>{t.d(s,{x:()=>r});var a=t(59496),n=t(4637);const e=(0,a.lazy)((()=>Promise.resolve().then(t.bind(t,63120))));function r(o){return"to"in o?(0,n.jsx)(e,{...o}):(0,n.jsx)("div",{...o})}},95535:(o,s,t)=>{t.d(s,{S:()=>i});var a=t(84875),n=t.n(a),e=t(56162);const r={podcastSponsorWrapper:"J5CRaPNhkzTtun81ix4_",podcastSponsor:"Ydj9D6hTaRL_zq6TPLQi",podcastSponsorExternalLink:"X77gJ8bX8tndSN1hTjWR",podcastSponsorImage:"eHZ28TWANGnQvU01g2oY",podcastSponsorCaption:"v2F4iVnwnrHtPu5GC9HB",podcastSponsorAdvertiser:"DHBG_yrmCz0kKTXhkmbE",podcastSponsorButtonMessage:"wChs0Q3HkTdKiBoQ33bT",podcastSponsorCtaButtonWrapper:"gUwjluEACtt5LCUu5sxp",podcastSponsorCtaCardButton:"DJbGzgDKx2qXorbxCZzW",podcastSponsorTagline:"WQ3nvVdLWEI08Z4V2iY4"};var p=t(4637);function i(o){return(0,p.jsx)(e.D,{...o,variant:o.variant||"mesto",className:n()(r.podcastSponsorTagline,o.className)})}},20722:(o,s,t)=>{t.r(s),t.d(s,{EPISODE_SPONSOR_ADVERTISER_TEST_ID:()=>d,EPISODE_SPONSOR_CTA_BUTTON_TEST_ID:()=>S,EPISODE_SPONSOR_TAGLINE_TEST_ID:()=>l,EPISODE_SPONSOR_TEST_ID:()=>c,EpisodeSponsor:()=>u,default:()=>m});var a=t(59496),n=t(58706),e=t(14505),r=t(74923);const p={podcastSponsorWrapper:"YBOobcshxz69x7bW0Cv6",podcastSponsor:"FK1wSns8JPiaurKLe4kf",podcastSponsorExternalLink:"l6tNgG95CkMFmg7867Z8",podcastSponsorImage:"cmcp2XMW1weqhpu0bumQ",podcastSponsorCaption:"kajba498MessrPajsf8J",podcastSponsorAdvertiser:"De4HBc3Lv3Wdvw0oatD8",podcastSponsorButtonMessage:"FeCJl_JZ9VB_SQnxPu0f",podcastSponsorCtaButtonWrapper:"UFoPniME2r1GyDORaCQX",podcastSponsorCtaCardButton:"is01YZtWSpzp50_Fa9w9",episodeSponsorOld:"wbEVyu8MB_HNsjWyDvUm"};var i=t(4637);const c="episode-sponsor",d="episode-sponsor-advertiser",l="episode-sponsor-tagline",S="episode-sponsor-cta-button";function u({firedViewedEvents:o,fireTrackingEvent:s=e.I,version:t,onClick:u,...m}){const v=(0,e.G)(s);return(0,a.useEffect)((function(){m.trackingEvents?.viewed.forEach((async s=>{await v(s),o.add(s)}))}),[m.trackingEvents?.viewed,o,v]),(0,i.jsx)(r.q,{to:m.clickthrough,onClick:async(...o)=>{u?.(...o),m.trackingEvents?.clicked.forEach(v)},"data-testid":c,figureProps:1===t?{className:p.episodeSponsorOld}:void 0,imageProps:{src:m.display,alt:`${m.metadata.advertiser} - ${m.metadata.buttonMessage}`,...2===t?{}:{imageWidth:n.uOY,imageHeight:n.uOY}},advertiserTypeProps:{"data-testid":d,children:m.metadata.advertiser},taglineProps:{"data-testid":l,children:2===t?m.metadata.tagline:m.metadata.buttonMessage},callToActionButtonProps:2===t?{"data-testid":S,children:m.metadata.buttonMessage}:void 0,externalLinkIconProps:2===t?void 0:{}})}const m=u},14505:(o,s,t)=>{t.d(s,{G:()=>r,I:()=>e});var a=t(59496),n=t(61740);const e=o=>o?async o=>{const{adsCosmos:s}=await Promise.resolve().then(t.bind(t,43630));return await s.get(o)}:o=>fetch(o,{mode:"no-cors"});function r(o){const{isDesktop:s}=(0,n.v9)((o=>o.platform));return(0,a.useMemo)((()=>o(s)),[o,s])}},71619:(o,s,t)=>{t.d(s,{Pu:()=>n,kI:()=>a});const a="navigate",n="follow"}}]);
|
|
//# sourceMappingURL=722.js.map
|