diff options
Diffstat (limited to 'dot-config/spicetify/Extracted/Raw/xpui/8705.js')
| -rwxr-xr-x | dot-config/spicetify/Extracted/Raw/xpui/8705.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dot-config/spicetify/Extracted/Raw/xpui/8705.js b/dot-config/spicetify/Extracted/Raw/xpui/8705.js new file mode 100755 index 00000000..49812518 --- /dev/null +++ b/dot-config/spicetify/Extracted/Raw/xpui/8705.js @@ -0,0 +1,2 @@ +"use strict";(("undefined"!=typeof self?self:global).webpackChunkclient_web=("undefined"!=typeof self?self:global).webpackChunkclient_web||[]).push([[8705],{37789:(o,s,t)=>{t.d(s,{V:()=>m});var a=t(97500),e=t.n(a),n=t(22259),r=t(98764),p=t(34340),d=t(91116),i=t(25988);const c={podcastSponsorWrapper:"J5CRaPNhkzTtun81ix4_",podcastSponsor:"Ydj9D6hTaRL_zq6TPLQi",podcastSponsorExternalLink:"X77gJ8bX8tndSN1hTjWR",podcastSponsorImage:"eHZ28TWANGnQvU01g2oY",podcastSponsorCaption:"v2F4iVnwnrHtPu5GC9HB",podcastSponsorAdvertiser:"DHBG_yrmCz0kKTXhkmbE",podcastSponsorButtonMessage:"wChs0Q3HkTdKiBoQ33bT",podcastSponsorCtaButtonWrapper:"gUwjluEACtt5LCUu5sxp",podcastSponsorCtaCardButton:"DJbGzgDKx2qXorbxCZzW",podcastSponsorTagline:"WQ3nvVdLWEI08Z4V2iY4"};var l=t(13274);function S(o){return(0,l.jsx)(r.E,{...o,variant:o.variant||"bodySmall",className:e()(c.podcastSponsorTagline,o.className)})}const u={podcastSponsorWrapper:"dV4xfunhSR2t1b2_DGmQ",podcastSponsor:"U1vrFpapHsO_5IjmIFcH",podcastSponsorExternalLink:"NJfpfM604qpHFMZ6JhvB",podcastSponsorImage:"kRTpwQVjlqFf5Czksi3t",podcastSponsorCaption:"kXzypcYbihi6FOKwI1pL",podcastSponsorAdvertiser:"hbTMMsp2awkqMs24k79g",podcastSponsorButtonMessage:"jZzLKoZ2KgeSV72GKgG1",podcastSponsorCtaButtonWrapper:"R754clNSpXq5kl8V0Nh9",podcastSponsorCtaCardButton:"GTm8hzK6khl4JmocUp_i"},g="110px";function m({figureProps:o,imageProps:s,advertiserTypeProps:t,taglineProps:a,callToActionButtonProps:c,externalLinkIconProps:m,children:v,...A}){return(0,l.jsxs)(i.W,{...A,className:e()(u.podcastSponsorWrapper,A.className),children:[(0,l.jsxs)("figure",{className:u.podcastSponsor,...o,children:[(0,l.jsx)(n._,{placeholderSrc:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8LwkAAh0BGumlBj4AAAAASUVORK5CYII=",imageWidth:g,imageHeight:g,crop:!0,...s,className:e()(u.podcastSponsorImage,s.className)}),(0,l.jsxs)("figcaption",{className:u.podcastSponsorCaption,children:[(0,l.jsx)(r.E,{variant:"bodyMediumBold",className:u.podcastSponsorAdvertiser,...t}),(0,l.jsx)(S,{className:u.podcastSponsorButtonMessage,...a}),c&&(0,l.jsx)("div",{className:u.podcastSponsorCtaButtonWrapper,children:(0,l.jsx)(d.i,{...c})})]}),m&&(0,l.jsx)(p.H,{className:u.podcastSponsorExternalLink,size:"small",...m})]}),v]})}},91116:(o,s,t)=>{t.d(s,{i:()=>S});var a=t(79474),e=t(97500),n=t.n(e),r=t(61080),p=t(98764),d=t(13274);function i({children:o,...s}){return(0,d.jsx)(r.$,{as:"div",...s,buttonSize:s.buttonSize||r.$.sm,"data-testid":"podcast-sponsor-cta-button-base",children:(0,d.jsx)(p.E,{variant:"bodySmallBold",children:o})})}var c=t(25988);const l={podcastSponsorCallToActionButton:"WI4OWZsbabgCus7t7tbe"};function S({children:o,"data-testid":s,className:t,...e}){const r=(0,a.useMemo)((()=>(0,d.jsx)(c.W,{..."to"in e?{to:e.to}:void 0,children:(0,d.jsx)(i,{children:o,...e})})),[o,e]);return(0,d.jsx)("div",{className:n()(l.podcastSponsorCallToActionButton,t),"data-testid":s,children:r})}},25988:(o,s,t)=>{t.d(s,{W:()=>r});var a=t(79474),e=t(13274);const n=(0,a.lazy)((()=>Promise.resolve().then(t.bind(t,30957))));function r(o){return"to"in o?(0,e.jsx)(n,{...o}):(0,e.jsx)("div",{...o})}},18705:(o,s,t)=>{t.r(s),t.d(s,{EPISODE_SPONSOR_ADVERTISER_TEST_ID:()=>c,EPISODE_SPONSOR_CTA_BUTTON_TEST_ID:()=>S,EPISODE_SPONSOR_TAGLINE_TEST_ID:()=>l,EPISODE_SPONSOR_TEST_ID:()=>i,EpisodeSponsor:()=>u,default:()=>g});var a=t(79474),e=t(98196),n=t(44366),r=t(37789);const p={podcastSponsorWrapper:"L3I2ZJq13uIOTQ7HQ_SQ",podcastSponsor:"CQfVlT5yyK09nRP6xZxh",podcastSponsorExternalLink:"kKmLMiZfp59huR38eysd",podcastSponsorImage:"dT2b6OaHCrUeF5dWQgUB",podcastSponsorCaption:"wfUMjHrSkeHKl7wnYDDx",podcastSponsorAdvertiser:"DYV2grWr0GBs30vHAqAF",podcastSponsorButtonMessage:"znM4j7g0L6URJxdgYHnB",podcastSponsorCtaButtonWrapper:"Af9d8KRZqynfTTPuUIof",podcastSponsorCtaCardButton:"Gd9mDF9NHtrkOtAb7925",episodeSponsorOld:"I5PBvroi7vvsNwVz6523"};var d=t(13274);const i="episode-sponsor",c="episode-sponsor-advertiser",l="episode-sponsor-tagline",S="episode-sponsor-cta-button";function u({firedViewedEvents:o,fireTrackingEvent:s=n.P,version:t,onClick:u,...g}){const m=(0,n.w)(s);return(0,a.useEffect)((function(){g.trackingEvents?.viewed.forEach((async s=>{await m(s),o.add(s)}))}),[g.trackingEvents?.viewed,o,m]),(0,d.jsx)(r.V,{to:g.clickthrough,onClick:async(...o)=>{u?.(...o),g.trackingEvents?.clicked.forEach(m)},"data-testid":i,figureProps:1===t?{className:p.episodeSponsorOld}:void 0,imageProps:{src:g.display,alt:`${g.metadata.advertiser} - ${g.metadata.buttonMessage}`,...2===t?{}:{imageWidth:e.i6,imageHeight:e.i6}},advertiserTypeProps:{"data-testid":c,children:g.metadata.advertiser},taglineProps:{"data-testid":l,children:2===t?g.metadata.tagline:g.metadata.buttonMessage},callToActionButtonProps:2===t?{"data-testid":S,children:g.metadata.buttonMessage}:void 0,externalLinkIconProps:2===t?void 0:{}})}const g=u}}]); +//# sourceMappingURL=8705.js.map
\ No newline at end of file |
