dotfiles/.config/spicetify/Extracted/Raw/xpui/5503.js

2 lines
763 B
JavaScript
Executable File

"use strict";(("undefined"!=typeof self?self:global).webpackChunkopen=("undefined"!=typeof self?self:global).webpackChunkopen||[]).push([[5503],{5503:(e,o,s)=>{s.r(o),s.d(o,{PodcastSponsorCrossPromoButton:()=>c,default:()=>i});var n=s(59496),t=s(50346),l=s(71619),r=s(4637);const a=(0,n.lazy)((async()=>Promise.resolve().then(s.bind(s,7695)))),u=(0,n.lazy)((()=>s.e(9525).then(s.bind(s,49525))));function c({crossPromoVariant:e,potentiallyMalformedUri:o,...s}){const c=(0,n.useMemo)((()=>(0,r.jsx)(a,{...s})),[s]),i=(0,n.useMemo)((()=>(0,t.EC)(o)?.toURI()),[o]);return(0,n.useMemo)((()=>i&&e.buttonAction===l.Pu?(0,r.jsx)(n.Suspense,{fallback:c,children:(0,r.jsx)(u,{uri:i,crossPromoVariant:e,...s})}):c),[s,e,c,i])}const i=c}}]);
//# sourceMappingURL=5503.js.map