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

2 lines
827 B
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([[1132],{81132:(e,n,t)=>{t.r(n),t.d(n,{ContextAdLink:()=>i,default:()=>c});var r=t(61740),a=t(50346),l=t(65852),o=t(2831),d=t(4637);const s=({href:e,adEventReason:n,...t})=>{const a=(0,r.I0)();return(0,d.jsx)("a",{...t,href:e,onClick:()=>{a((0,o.nX)(n))},target:"_blank",rel:"noopener noreferrer",children:t.children})},f=({href:e,adEventReason:n,...t})=>e?(0,d.jsx)(s,{...t,href:e,adEventReason:n}):(0,d.jsx)("div",{...t}),i=({item:e,adEventReason:n,...t})=>(0,d.jsx)(f,{...t,adEventReason:n,"data-testid":"context-link","data-context-item-type":e.type,style:{border:"none"},href:(n=>{if(n)return(0,a.EC)(n)?e.url?(0,l.p)(e.url):void 0:n})(e.url)}),c=i}}]);
//# sourceMappingURL=1132.js.map