티스토리 수익 글 보기

티스토리 수익 글 보기

!function(){try{var e=”undefined”!=typeof window?window:”undefined”!=typeof global?global:”undefined”!=typeof globalThis?globalThis:”undefined”!=typeof self?self:{};e.SENTRY_RELEASE={id:”substack@cdd116e”};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=”105f2544-5135-4fb4-8cd4-95f08efbe3e9″,e._sentryDebugIdIdentifier=”sentry-dbid-105f2544-5135-4fb4-8cd4-95f08efbe3e9″)}catch(e){}}();”use strict”;(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([[“56398″],{5370:function(e,t,n){n.d(t,{A:()=>i});let i={group:”group-JuxKi2″,segment:”segment-XiSgAE”,outlined:”outlined-kJWSK2″}},29528:function(e,t,n){n.d(t,{A:()=>h});var i=n(69277),r=n(70408),o=n(4006),a=n(12215),s=n(97213),l=n(17402),c=n(84605),d=n(25006),E=n(86500),S=n(94729),p=n(12501),_=n(35369),A=n(60322),u=n(76977),T=n(28911),Y=n(57820),I=n(414),y=n(63136),C=n(36372),N=n(66511),U=n(23380),O=n(91392);let m=”cellPadding-f5tfb5″,h=e=>{let{open:t,onSubdomain:n,close:i}=e,[r,s]=(0,l.useState)(n?O.pz.PUBLISHER:O.pz.SUBSTACK),[A,y]=(0,l.useState)(!1),[N,m]=(0,l.useState)(!0),[h,g]=(0,l.useState)(!1),[F,k]=(0,l.useState)(new Set),f=(0,d.df)(),{popToast:P}=(0,C.d)(),{iString:w}=(0,c.GO)(),{language:H}=(0,c.GO)(),b=(0,U.NN)(H),{refetch:D}=(0,p.st)({pathname:”/api/v1/cookie_preferences”,method:”POST”});(0,l.useEffect)(()=>{let e=async()=>{m(!0),y(!1);try{var e,t,n,i;let r=await (0,S.x6)(“/api/v1/cookie_preferences”),o=null==(e=r.pubPreferences)?void 0:e.find(e=>e.pubId===(null==f?void 0:f.id)),a=new Set([…null!=(n=null==(t=r.substackPreferences)?void 0:t.disabledCookies)?n:[],…null!=(i=null==o?void 0:o.disabledCookies)?i:[]]);k(a)}catch(e){k(new Set([…U.FB,…U.F7]))}finally{m(!1)}};t&&((0,E.u4)(E.qY.COOKIE_MANAGEMENT_MODAL_SEEN,{}),e())},[t,null==f?void 0:f.id]);let B=async e=>{let{substackDisabledCookies:t,pubDisabledCookies:n}=e;a.set(O.HY.HIDE_COOKIE_BANNER,new Date().toJSON(),{expires:365}),await D({json:{pubDisabledCookies:n,substackDisabledCookies:t}})},L=async()=>{let e,t;if(h)return;g(!0);let n=Array.from(F),a=Object.values(O.Pv),s=Object.values(O.HY);A?(t=n.filter(e=>a.includes(e)),e=n.filter(e=>s.includes(e))):(t=[…U.F7],e=[…U.FB]);try{await B({substackDisabledCookies:e,pubDisabledCookies:t});let a=A?n:[…U.FB,…U.F7];(0,E.u4)(E.qY.COOKIE_PREFERENCES_SET,{disabledCookies:a,tab:r}),(0,E.u4)(E.qY.COOKIE_MANAGEMENT_MODAL_SUBMITTED,{disabledCookies:a,tab:r}),P(()=>(0,o.Y)(C.y,{text:w(“Preferences saved”)})),window.location.reload(),i()}catch(e){P(()=>(0,o.Y)(C.y,{text:w(“Failed to save preferences. Please try again.”)})),g(!1)}},M=async()=>{if(!h){g(!0);try{await B({substackDisabledCookies:[],pubDisabledCookies:[]}),(0,E.u4)(E.qY.COOKIE_PREFERENCES_SET,{disabledCookies:[],tab:r}),(0,E.u4)(E.qY.COOKIE_MANAGEMENT_MODAL_SUBMITTED,{disabledCookies:[],tab:r}),P(()=>(0,o.Y)(C.y,{text:w(“Preferences saved”)})),window.location.reload(),i()}catch(e){P(()=>(0,o.Y)(C.y,{text:w(“Failed to save preferences. Please try again.”)})),g(!1)}}},K=e=>{A||y(!0),k(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}),(0,E.u4)(E.qY.COOKIE_MANAGEMENT_MODAL_COOKIE_TOGGLED,{cookie:e})},v=[{value:O.pz.PUBLISHER,label:w(“Publisher”)},{value:O.pz.SUBSTACK,label:w(“Substack”)}];return(0,o.FD)(T.aF,{isOpen:t,onClose:L,className:”modal-bBpQD3″,disableCloseOnBackdropClick:!0,children:[(0,o.Y)(T.rQ,{onClose:()=>{(0,E.u4)(E.qY.COOKIE_MANAGEMENT_MODAL_DISMISSED,{}),L()},title:w(“Cookie Preferences”)}),(0,o.Y)(T.cw,{className:”grow-CBXF8f”,children:N?(0,o.Y)(u.VP,{flex:”grow”,justifyContent:”center”,alignItems:”center”,children:(0,o.Y)(Y.y$,{})}):(0,o.FD)(u.I1,{flex:”fill”,gap:8,children:[n&&(0,o.Y)(I.r,{tabs:v,value:r,onChange:s}),(0,o.FD)(u.I1,{flex:”fill”,children:[“publisher”===r&&(0,o.Y)(R,{cookies:b.filter(e=>e.owner===O.pz.PUBLISHER),disabledCookies:F,toggleState:K}),”substack”===r&&(0,o.Y)(R,{cookies:b.filter(e=>e.owner===O.pz.SUBSTACK),disabledCookies:F,toggleState:K})]})]})}),(0,o.Y)(T.jl,{primaryButton:(0,o.Y)(_.$n,{onClick:L,disabled:N||h,children:A?w(“Save preferences”):w(“Reject All”)}),secondaryButton:(0,o.Y)(_.$n,{onClick:M,disabled:N||h,children:w(“Accept all”)}),showDivider:!0})]})},R=e=>{let{cookies:t,disabledCookies:n,toggleState:a}=e;return(0,o.Y)(“table”,{className:”table-m2WTld”,children:(0,o.Y)(“tbody”,{children:t.map(e=>(0,o.Y)(g,(0,r._)((0,i._)({},e),{onToggle:()=>a(e.id),enabled:!n.has(e.id)})))})})},g=e=>{let{name:t,type:n,description:i,enabled:r,onToggle:a}=e;return(0,o.FD)(“tr”,{className:”rowBorderBottom-tHD_Mb”,children:[(0,o.Y)(“td”,{className:m,children:(0,o.FD)(u.I1,{gap:2,alignItems:”start”,children:[(0,o.Y)(y.EY.B4,{children:t}),(0,o.Y)(F,{cookieType:n})]})}),(0,o.Y)(“td”,{className:m,children:(0,o.Y)(y.EY.B5,{color:”secondary”,children:i})}),(0,o.Y)(“td”,{className:m,children:n!==O.UF.NECESSARY&&(0,o.Y)(A.S,{checked:r,onChange:a})})]},t)},F=e=>{let{cookieType:t}=e,{language:n}=(0,c.GO)(),i=(0,U.ks)(n);return(0,o.Y)(N.m_,{text:i[t],children:(0,o.FD)(u.Ye,{justifyContent:”start”,alignItems:”center”,gap:4,children:[(0,o.Y)(y.EY.Meta,{children:t}),(0,o.Y)(s.A,{size:16,stroke:”var(–color-fg-secondary)”})]})})}},64127:function(e,t,n){n.d(t,{JZ:()=>U,PJ:()=>N,g:()=>O,gz:()=>h,tH:()=>m,yg:()=>C});var i=n(4006),r=n(82853),o=n(93164),a=n(27775),s=n(60996),l=n(60745),c=n(49031),d=n(70357),E=n(38685),S=n(84605),p=n(40691),_=n(35369),A=n(88774),u=n(87370),T=n(78526),Y=n(2481),I=n(39318),y=n(49807);let C=e=>{let{variant:t,url:n,onLinkClicked:r}=e,{iString:o}=(0,S.GO)(),a=()=>{window.open((0,y.yRP)(“https://www.facebook.com/sharer/sharer.php”,{u:n}),”_blank”),null==r||r(“facebook”)};return”icon”===t?(0,i.Y)(_.K0,{priority:”secondary-outline”,onClick:a,children:(0,i.Y)(c.A,{size:20})}):(0,i.Y)(A.Dr,{leading:(0,i.Y)(c.A,{}),onClick:a,children:o(“Share to Facebook”)})},N=e=>{let{variant:t,url:n,twitterText:r,onLinkClicked:o}=e,{iString:a}=(0,S.GO)(),s=()=>{window.open((0,I.gKg)({url:n,text:r||””}),”_blank”),null==o||o(“twitter”)};return”icon”===t?(0,i.Y)(_.K0,{priority:”secondary-outline”,onClick:s,children:(0,i.Y)(E.A,{size:20})}):(0,i.Y)(A.Dr,{leading:(0,i.Y)(E.A,{}),onClick:s,children:a(“Share to X”)})},U=e=>{let{variant:t,url:n,twitterText:r,onLinkClicked:o}=e,{iString:a}=(0,S.GO)(),s=()=>{window.open((0,I.man)({text:r?””.concat(r,”\n”).concat(n):null!=n?n:””}),”_blank”),null==o||o(“bluesky”)};return”icon”===t?(0,i.Y)(_.K0,{priority:”secondary-outline”,onClick:s,children:(0,i.Y)(l.A,{size:20})}):(0,i.Y)(A.Dr,{leading:(0,i.Y)(l.A,{}),onClick:s,children:a(“Share to Bluesky”)})},O=e=>{let{variant:t,url:n,onLinkClicked:o}=e,{iString:a}=(0,S.GO)(),s=(0,T.L)(),l=()=>{n&&(s(n),null==o||o(“copy”))};return”icon”===t?(0,i.Y)(_.K0,{priority:”secondary-outline”,onClick:l,children:(0,i.Y)(r.A,{height:20})}):(0,i.Y)(A.Dr,{leading:(0,i.Y)(r.A,{}),onClick:l,children:a(“Copy link”)})},m=e=>{let{variant:t,url:n,onLinkClicked:r}=e,{iString:o}=(0,S.GO)(),a=(0,Y.NP)(),s=()=>{a.open({restackUrl:n||””}),null==r||r(“notes”)};return”icon”===t?(0,i.Y)(_.K0,{priority:”secondary-outline”,onClick:s,children:(0,i.Y)(d.A,{size:20})}):(0,i.Y)(A.Dr,{leading:(0,i.Y)(d.A,{}),onClick:s,children:o(“Share to Notes”)})};function h(e){let t=C(e),n=U(e),r=N(e),l=O(e),c=m(e),d=(e=>{let{onLinkClicked:t,comment:n}=e,{iString:r}=(0,S.GO)(),{openModal:a,closeModal:l}=(0,p.hS)();return n?(0,i.Y)(A.Dr,{leading:(0,i.Y)(o.A,{}),onClick:()=>{null==t||t(“embed”),a({children:(0,i.Y)(s.k,{comment:n||void 0,onClose:l}),width:540})},children:r(“Embed note”)}):null})(e),E=function(e){let{url:t,onLinkClicked:n}=e,{iString:r}=(0,S.GO)(),o=(0,u.$)();return(0,i.Y)(A.Dr,{leading:(0,i.Y)(a.A,{}),onClick:()=>{o.open({linkAttachmentUrl:null!=t?t:void 0,source:”share_post”}),null==n||n(“chat”)},children:r(“Send as message”)})}(e);return(0,i.FD)(i.FK,{children:[(0,i.FD)(A.H9,{isFirst:!0,children:[l,E]}),(0,i.FD)(A.H9,{children:[c,t,n,r]}),(0,i.Y)(A.H9,{children:d})]})}},26606:function(e,t,n){n.d(t,{i:()=>r});var i=n(94729);let r=e=>async t=>{let n=”before”;t({type:”conversation-request_initial”,payload:{conversationId:e}});try{let r=await (0,i.x6)(“/api/v1/messages/dm/”.concat(e));t({type:”conversation-load_more”,payload:{edge:n,cursor:null,page:r}})}catch(i){t({type:”conversation-request_error”,payload:{conversationId:e,edge:n,cursor:null,error:i}})}}},23380:function(e,t,n){n.d(t,{F7:()=>l,FB:()=>s,NN:()=>a,ks:()=>o});var i=n(96400),r=n(91392);let o=e=>{let{iString:t}=i.TH.i(e||”en”);return{Necessary:t(“These cookies are essential for you to browse the website and use its features.”),Performance:t(“These cookies collect information about how you use a website, like which pages you visited and which links you clicked on.”),Functionality:t(“These cookies allow us to remember choices you have made in the past, and do things like auto-login”)}},a=e=>{let{iString:t}=i.TH.i(e||”en”);return[{name:”_ga family”,id:r.Pv.GA_TRACKING,type:r.UF.PERFORMANCE,description:t(“3rd party analytics tracking.”),owner:r.pz.PUBLISHER},{name:”Google Tag Manager”,id:r.Pv.GA_TAG_MANAGER,type:r.UF.PERFORMANCE,description:t(“Used for Google tag management and 3rd party analytics tracking.”),owner:r.pz.PUBLISHER},{name:”Facebook Pixel”,id:r.Pv.FB_PIXEL,type:r.UF.PERFORMANCE,description:t(“Used for facebook ad campaign 3rd party analytics.”),owner:r.pz.PUBLISHER},{name:”Twitter Pixel”,id:r.Pv.TWITTER_PIXEL,type:r.UF.PERFORMANCE,description:t(“Used for X (formerly known as Twitter) ad campaign 3rd party analytics.”),owner:r.pz.PUBLISHER},{name:”Parse.ly Pixel”,id:r.Pv.PARSELY_PIXEL,type:r.UF.PERFORMANCE,description:t(“Used for parse.ly 3rd party analytics.”),owner:r.pz.PUBLISHER},{name:”intro_popup_last_hidden_at”,id:r.HY.INTRO_POPUP_LAST_HIDDEN_AT,type:r.UF.FUNCTIONALITY,description:t(“Prevents showing introductory information the user has already seen.”),owner:r.pz.SUBSTACK},{name:”muxData”,id:r.HY.MUX_DATA,type:r.UF.FUNCTIONALITY,description:t(“Used for anonymous video metric collection and aggregation.”),owner:r.pz.SUBSTACK},{name:”like_upsell_last_shown_at”,id:r.HY.LIKE_UPSELL_LAST_SHOWN_AT,type:r.UF.FUNCTIONALITY,description:t(“Prevents users from repeatedly being shown features.”),owner:r.pz.SUBSTACK},{name:”chatbot_terms_last_accepted_at”,id:r.HY.CHATBOT_TERMS_LAST_ACCEPTED_AT,type:r.UF.FUNCTIONALITY,description:t(“Prevents users from repeatedly having to accept chatbot terms.”),owner:r.pz.SUBSTACK},{name:”preferred_language”,id:r.HY.PREFERRED_LANGUAGE,type:r.UF.FUNCTIONALITY,description:t(“Stores the user’s preferred language”),owner:r.pz.SUBSTACK},{name:”visit_id”,id:r.HY.VISIT_ID,type:r.UF.PERFORMANCE,description:t(“First party analytics tracking.”),owner:r.pz.SUBSTACK},{name:”ajs_anonymous_id”,id:r.HY.ANONYMOUS_ID,type:r.UF.PERFORMANCE,description:t(“First party analytics tracking.”),owner:r.pz.SUBSTACK},{name:”ab_testing_id”,id:r.HY.AB_TESTING_ID,type:r.UF.PERFORMANCE,description:t(“First party analytics tracking.”),owner:r.pz.SUBSTACK},{name:”ab_experiment_sampled”,id:r.HY.AB_EXPERIMENT_SAMPLED,type:r.UF.PERFORMANCE,description:t(“First party analytics tracking.”),owner:r.pz.SUBSTACK},{name:”_ga family”,id:r.HY.GA_TRACKING,type:r.UF.PERFORMANCE,description:t(“3rd party analytics tracking.”),owner:r.pz.SUBSTACK},{name:”AdQuick tracking pixel”,id:r.HY.AD_QUICK_TRACKING_PIXEL,type:r.UF.PERFORMANCE,description:t(“3rd party analytics tracking.”),owner:r.pz.SUBSTACK},{name:”Meta tracking pixel”,id:r.HY.META_TRACKING_PIXEL,type:r.UF.PERFORMANCE,description:t(“3rd party analytics tracking.”),owner:r.pz.SUBSTACK},{name:”_dd_s”,id:r.HY.DATADOG_S,type:r.UF.PERFORMANCE,description:t(“First party cookie used to identify and diagnose technical problems on the site.”),owner:r.pz.SUBSTACK},{name:”fs_uid”,id:r.HY.FULLSTORY_UID,type:r.UF.PERFORMANCE,description:t(“Used to track user actions across the site for debugging purposes.”),owner:r.pz.SUBSTACK},{name:”__zlcmid”,id:r.HY.ZENDESK_ID,type:r.UF.PERFORMANCE,description:t(“Stores visitor’s machine-id for authentication with Zendesk chat widget.”),owner:r.pz.SUBSTACK},{name:”substack.sid”,id:r.HY.SESSION_SID,type:r.UF.NECESSARY,description:t(“Session identifier.”),owner:r.pz.SUBSTACK},{name:”connect.sid”,id:r.HY.CUSTOM_DOMAIN_SESSION_SID,type:r.UF.NECESSARY,description:t(“Session identifier.”),owner:r.pz.SUBSTACK},{name:”substack.lli”,id:r.HY.LIKELY_LOGGED_IN,type:r.UF.NECESSARY,description:t(“Communicates login state across first party domains”),owner:r.pz.SUBSTACK},{name:”disable_html_pixels”,id:r.HY.DISABLE_HTML_PIXELS,type:r.UF.NECESSARY,description:t(“Ensures a consistent user experience across network requests.”),owner:r.pz.SUBSTACK},{name:”experiment_”,id:r.HY.DISABLE_EXPERIMENTS,type:r.UF.NECESSARY,description:t(“Ensures a consistent user experience across network requests.”),owner:r.pz.SUBSTACK},{name:”hideCookieBanner”,id:r.HY.HIDE_COOKIE_BANNER,type:r.UF.NECESSARY,description:t(“Ensures a consistent user experience across network requests.”),owner:r.pz.SUBSTACK},{name:”cf_clearance”,id:r.HY.CF_CLEARENCE,type:r.UF.NECESSARY,description:t(“Used to grant access to our servers from our Content Delivery Network.”),owner:r.pz.SUBSTACK},{name:”__cf_bm”,id:r.HY.CF_BM,type:r.UF.NECESSARY,description:t(“Used to block bot access to the site”),owner:r.pz.SUBSTACK},{name:”AWSALBTG / AWSALBTGCORS”,id:r.HY.AWSALB,type:r.UF.NECESSARY,description:t(“Ensures a consistent user experience across network requests.”),owner:r.pz.SUBSTACK},{name:”cookie_storage_key”,id:r.HY.COOKIE_STORAGE_KEY,type:r.UF.NECESSARY,description:t(“Allows us to store your cookie preferences.”),owner:r.pz.SUBSTACK},{name:”substack.oauth_interaction”,id:r.HY.OAUTH_INTERACTION,type:r.UF.NECESSARY,description:t(“Manages your current step in a multi-stage OAuth process like login or consent.”),owner:r.pz.SUBSTACK},{name:”substack.oauth_session”,id:r.HY.OAUTH_SESSION,type:r.UF.NECESSARY,description:t(“Keeps your OAuth logins active.”),owner:r.pz.SUBSTACK},{name:”substack.oauth_resume”,id:r.HY.OAUTH_RESUME,type:r.UF.NECESSARY,description:t(“Helps continue a multi-stage process after you have completed an action, like logging in or giving consent.”),owner:r.pz.SUBSTACK}]},s=a().filter(e=>e.owner===r.pz.SUBSTACK&&e.type!==r.UF.NECESSARY).map(e=>e.id),l=a().filter(e=>e.owner===r.pz.PUBLISHER&&e.type!==r.UF.NECESSARY).map(e=>e.id),c={[r.HY.GA_TRACKING]:”_ga”,[r.HY.GA_TAG_MANAGER]:”_ga”,[r.HY.MUX_DATA]:”muxData”,[r.HY.ANONYMOUS_ID]:r.FI.ANONYMOUS_ID,[r.HY.VISIT_ID]:r.FI.VISIT_ID,[r.HY.AB_TESTING_ID]:r.FI.AB_TESTING_ID,[r.HY.AB_EXPERIMENT_SAMPLED]:r.FI.AB_EXPERIMENT_SAMPLED,[r.HY.LIKE_UPSELL_LAST_SHOWN_AT]:r.FI.LIKE_UPSELL_LAST_SHOWN_AT,[r.HY.INTRO_POPUP_LAST_HIDDEN_AT]:r.FI.INTRO_POPUP_LAST_HIDDEN_AT,[r.HY.DISABLE_HTML_PIXELS]:r.FI.DISABLE_HTML_PIXELS,[r.HY.COOKIE_STORAGE_KEY]:r.FI.COOKIE_STORAGE_KEY,[r.HY.OAUTH_INTERACTION]:r.FI.OAUTH_INTERACTION,[r.HY.OAUTH_SESSION]:r.FI.OAUTH_SESSION,[r.HY.OAUTH_RESUME]:r.FI.OAUTH_RESUME,[r.HY.EXPERIMENTS]:”experiment_”,[r.HY.DATADOG_S]:”_dd_s”,[r.HY.FULLSTORY_UID]:”fs_”,[r.HY.ZENDESK_ID]:”__zlcmid”,[r.Pv.GA_TAG_MANAGER]:”_ga”,[r.Pv.GA_TRACKING]:”_ga”,[r.Pv.FB_PIXEL]:”_fbp”,[r.Pv.TWITTER_PIXEL]:”_twq”,[r.Pv.PARSELY_PIXEL]:”_parsely_visitor”};r.HY.AB_TESTING_ID,r.HY.AB_EXPERIMENT_SAMPLED,r.HY.ANONYMOUS_ID,r.HY.VISIT_ID,r.HY.EXPERIMENTS,r.HY.DISABLE_HTML_PIXELS,r.HY.DISABLE_EXPERIMENTS,r.HY.COOKIE_STORAGE_KEY,null==c||c[r.HY.ANONYMOUS_ID]},55714:function(e,t,n){function i(e){let{streamId:t}=e;return”live-stream:”.concat(t)}n.d(t,{sl:()=>i}),RegExp(“^live-stream:(?\\d+)$”),RegExp(“^live-stream:(?\\d+)-pub:(?\\d+)$”)}}]);