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

2 lines
1.1 KiB
JavaScript
Raw Normal View History

2024-07-11 00:01:49 +05:30
"use strict";(("undefined"!=typeof self?self:global).webpackChunkopen=("undefined"!=typeof self?self:global).webpackChunkopen||[]).push([[9801],{59801:(n,e,t)=>{t.r(e),t.d(e,{EpisodeSponsorNowPlayingBarHat:()=>d,default:()=>p});var o=t(59496),s=t(61740),i=t(36844),a=t(41836);const r="User clicked on Desktop Ads Now Playing Bar Hat CTA Button";function c(n=async function(){const{postEvent:n}=await Promise.resolve().then(t.bind(t,71182));return n}){return function(e){return e?function(e,t){return async function(){const o=await n(),s=t.getState()?.positionAsOfTimestamp||void 0;return await o({adId:e,eventType:"clicked",eventReason:r,playbackPosition:s?String(s):void 0})}}:void 0}}var l=t(4637);const u=(0,o.lazy)((()=>t.e(5710).then(t.bind(t,65710))));function d({getClickEventPosterForEpisodeSponsorNowPlayingBarHat:n=c(),...e}){const t=(0,i.W6)(a.u8),r=(0,i.W6)(a.JI),{isDesktop:d}=(0,s.v9)((n=>n.platform));return t&&d&&!r?(0,l.jsx)(o.Suspense,{fallback:!0,children:(0,l.jsx)(u,{...e,clickEventPosterForEpisodeSponsorNowPlayingBarHat:n(d)})}):null}const p=d}}]);
//# sourceMappingURL=9801.js.map