티스토리 수익 글 보기
“use strict”;(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([[“7669″],{43145:function(l,e,t){t.d(e,{Dr:()=>f,T6:()=>b});var n=t(69277),a=t(70408),o=t(32641),i=t(4006),r=t(81801),d=t(32485),c=t.n(d),u=t(17402),s=t(89490),_=t(35369),p=t(33397),g=t(88206),h=t(63136),m=t(11510),y=t(76722);let f=(0,u.forwardRef)(function(l,e){var{priority:t=”primary”,className:d,leading:s,trailing:h,children:f,href:x,download:Y,disabled:k,onClick:w,closeMenu:C,backgroundColor:I}=l,W=(0,o._)(l,[“priority”,”className”,”leading”,”trailing”,”children”,”href”,”download”,”disabled”,”onClick”,”closeMenu”,”backgroundColor”]);let A=x?”a”:_.Nm,{close:N}=(0,p.K)(),S=(0,m.Iu)();return(0,i.Y)(r.W.Item,{children:(0,i.FD)(A,(0,a._)((0,n._)({},W),{className:c()(y.A.item,y.A[“priority_”.concat(t)],S&&y.A.mobile,k&&y.A.disabled,d),style:(0,n._)({“–padding-x”:S?””.concat(g.Ri.mobile,”px”):””.concat(g.Ri.desktop,”px”),”–padding-y”:S?””.concat(g.YW.mobile,”px”):””.concat(g.YW.desktop,”px”),”–min-height”:S?””.concat(g.vo.mobile,”px”):””.concat(g.vo.desktop,”px”)},I?{background:I}:{}),resetCss:!0,onClick:l=>{k||(w&&w(l),!l.defaultPrevented&&(N?N():C&&C()))},href:k?”javascript:void(0)”:x,download:Y,ref:e,children:[s&&(0,i.Y)(b,{children:(0,u.cloneElement)(s,{size:g.gy})}),(0,i.Y)(v,{priority:t,children:f}),h&&(0,i.Y)(b,{children:(0,u.cloneElement)(h,{size:g.gy})})]}))})});function v(l){let{priority:e,children:t}=l;return(0,i.Y)(h.EY.B4,{color:”destructive”===e?”error”:”accent”===e?”accent”:e,weight:”medium”,align:”left”,flex:”grow”,children:t})}(0,s.I4)({width:g.gy,height:g.gy});let b=(0,s.I4)({display:”flex”,flex:”auto”,width:24,height:24,alignItems:”center”,justifyContent:”center”})},56720:function(l,e,t){t.d(e,{Sr:()=>_,fN:()=>u,k6:()=>s,m_:()=>p});var n=t(4006),a=t(38146),o=t(17402),i=t(10238),r=t(49978),d=t(3011),c=t(22949);let u=500,s=8,_=320;function p(l){let{children:e,text:t,title:p,imageUrl:g,leading:h,trailing:m,side:y,disabled:f,delayEnter:v=u}=l,[b,x]=(0,o.useState)(!1),Y=(0,d.a)()?o.Fragment:d.B;return f?(0,n.Y)(n.FK,{children:e}):(0,n.Y)(Y,{children:(0,n.FD)(a.bL,{delayDuration:v,open:b,onOpenChange:x,children:[(0,n.Y)(a.l9,{asChild:!0,children:(0,n.Y)(“span”,{children:e})}),(0,n.Y)(a.ZL,{children:(0,n.Y)(a.UC,{side:y,sideOffset:s,collisionPadding:s,className:c.A.content,style:{maxWidth:_,zIndex:i.QW,”–offset”:””.concat(s,”px”)},children:(0,n.Y)(r.c,{text:t,title:p,imageUrl:g,leading:h,trailing:m})})})]})})}},46009:function(l,e,t){t.d(e,{j_:()=>d,lL:()=>r});var n=t(69277),a=t(70408),o=t(39318),i=t(49807);t(82776);let r=l=>{var e,t,r,d,c,u,s,_,p,g,h,m;let{fallbackToLogosInsteadOfGenericArt:y,pub:f,section:v}=l,b=null==v?void 0:v.podcastSettings,x=null!=(t=null!=(e=null==b?void 0:b.podcast_title)?e:null==v?void 0:v.name)?t:null,Y=null!=(d=null!=(r=null==b?void 0:b.podcast_description)?r:null==v?void 0:v.description)?d:null,k=null!=(c=null==b?void 0:b.itunes_podcast_primary_category)?c:null,w=null!=(u=null==b?void 0:b.itunes_podcast_primary_subcategory)?u:null,C=null!=(s=null==b?void 0:b.itunes_podcast_secondary_category)?s:null,I=null!=(_=null==b?void 0:b.itunes_podcast_secondary_subcategory)?_:null,W=(null==b?void 0:b.itunes_explicit)||!1,A=(null==b?void 0:b.podcast_art_url)||(0,o.r$1)(),N=!(null==b?void 0:b.podcast_art_url)||(0,i.ScI)(b.podcast_art_url),S=(null==b?void 0:b.paid_podcast_episode_art_url)||null,U=(null==b?void 0:b.podcast_byline)||f.podcast_byline||f.author_name||””,D=null!=(g=null!=(p=null==b?void 0:b.language)?p:f.podcast_language)?g:””,E=!!b&&!!b.podcast_feed_url,F=E?b.podcast_feed_url:(0,o.mWT)({pub:(0,a._)((0,n._)({},f),{section:v})}),j=f.hide_podcast_from_pub_listings;return{title:x,description:Y,primaryCategory:k,primarySubcategory:w,secondaryCategory:C,secondarySubcategory:I,isExplicit:W,artUrl:N&&y?null!=(m=null!=(h=v.logo_url)?h:f.logo_url)?m:””:A,byline:U,language:D,isRedirected:E,podcastRssUrl:F,paidEpisodeArtUrl:S,hidePodcastFromPubListings:j}},d=l=>{var e,t,a,r;let{fallbackToLogosInsteadOfGenericArt:d,pub:c}=l,u=c.podcast_title||c.name,s=c.podcast_description||c.hero_text,_=c.itunes_podcast_primary_category,p=c.itunes_podcast_primary_subcategory,g=c.itunes_podcast_secondary_category,h=c.itunes_podcast_secondary_subcategory,m=null!=(e=c.itunes_explicit)&&e,y=c.podcast_art_url||(0,o.r$1)(),f=!c.podcast_art_url||(0,i.ScI)(c.podcast_art_url),v=c.podcast_byline||c.author_name,b=null!=(t=c.podcast_language)?t:””,x=!!c.show_pub_podcast_tab,Y=!!c.podcast_feed_url,k=(0,n._)({},c);delete k.section;let w=Y?c.podcast_feed_url:(0,o.mWT)({pub:k}),C=c.hide_podcast_from_pub_listings;return{title:u,description:s,primaryCategory:_,primarySubcategory:p,secondaryCategory:g,secondarySubcategory:h,isExplicit:m,artUrl:f&&d?null!=(a=c.logo_url)?a:””:y,byline:v,language:b,isRedirected:Y,podcastRssUrl:w,showPodcastTab:x,paidEpisodeArtUrl:null!=(r=c.paid_podcast_episode_art_url)?r:null,hidePodcastFromPubListings:C}}}}]);