티스토리 수익 글 보기

티스토리 수익 글 보기

“use strict”;(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([[“3876”],{41439:function(e,r,t){t.d(r,{C1:()=>C,bL:()=>N});var n=t(17402),l=t(4006);function i(e,r){if(“function”==typeof e)return e(r);null!=e&&(e.current=r)}var a=Symbol(“radix.slottable”);function o(e){return n.isValidElement(e)&&”function”==typeof e.type&&”__radixId”in e.type&&e.type.__radixId===a}var u=[“a”,”button”,”div”,”form”,”h2″,”h3″,”img”,”input”,”label”,”li”,”nav”,”ol”,”p”,”select”,”span”,”svg”,”ul”].reduce((e,r)=>{var t,a;let u,s,f,d=(a=t=`Primitive.${r}`,(u=n.forwardRef((e,r)=>{let{children:t,…l}=e;if(n.isValidElement(t)){var a;let e,o,u=(a=t,(o=(e=Object.getOwnPropertyDescriptor(a.props,”ref”)?.get)&&”isReactWarning”in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,”ref”)?.get)&&”isReactWarning”in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),s=function(e,r){let t={…r};for(let n in r){let l=e[n],i=r[n];/^on[A-Z]/.test(n)?l&&i?t[n]=(…e)=>{let r=i(…e);return l(…e),r}:l&&(t[n]=l):”style”===n?t[n]={…l,…i}:”className”===n&&(t[n]=[l,i].filter(Boolean).join(” “))}return{…e,…t}}(l,t.props);return t.type!==n.Fragment&&(s.ref=r?function(…e){return r=>{let t=!1,n=e.map(e=>{let n=i(e,r);return t||”function”!=typeof n||(t=!0),n});if(t)return()=>{for(let r=0;r1?n.Children.only(null):null})).displayName=`${a}.SlotClone`,s=u,(f=n.forwardRef((e,r)=>{let{children:t,…i}=e,a=n.Children.toArray(t),u=a.find(o);if(u){let e=u.props.children,t=a.map(r=>r!==u?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,l.Y)(s,{…i,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,t):null})}return(0,l.Y)(s,{…i,ref:r,children:t})})).displayName=`${t}.Slot`,f),p=n.forwardRef((e,t)=>{let{asChild:n,…i}=e;return”undefined”!=typeof window&&(window[Symbol.for(“radix-ui”)]=!0),(0,l.Y)(n?d:r,{…i,ref:t})});return p.displayName=`Primitive.${r}`,{…e,[r]:p}},{}),s=”Progress”,[f,d]=function(e,r=[]){let t=[],i=()=>{let r=t.map(e=>n.createContext(e));return function(t){let l=t?.[e]||r;return n.useMemo(()=>({[`__scope${e}`]:{…t,[e]:l}}),[t,l])}};return i.scopeName=e,[function(r,i){let a=n.createContext(i),o=t.length;t=[…t,i];let u=r=>{let{scope:t,children:i,…u}=r,s=t?.[e]?.[o]||a,f=n.useMemo(()=>u,Object.values(u));return(0,l.Y)(s.Provider,{value:f,children:i})};return u.displayName=r+”Provider”,[u,function(t,l){let u=l?.[e]?.[o]||a,s=n.useContext(u);if(s)return s;if(void 0!==i)return i;throw Error(`\`${t}\` must be used within \`${r}\“)}]},function(…e){let r=e[0];if(1===e.length)return r;let t=()=>{let t=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let l=t.reduce((r,{useScope:t,scopeName:n})=>{let l=t(e)[`__scope${n}`];return{…r,…l}},{});return n.useMemo(()=>({[`__scope${r.scopeName}`]:l}),[l])}};return t.scopeName=r.scopeName,t}(i,…r)]}(s),[p,c]=f(s),m=n.forwardRef((e,r)=>{var t,n;let{__scopeProgress:i,value:a=null,max:o,getValueLabel:s=h,…f}=e;(o||0===o)&&!w(o)&&console.error((t=`${o}`,`Invalid prop \`max\` of value \`${t}\` supplied to \`Progress\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`));let d=w(o)?o:100;null===a||x(a,d)||console.error((n=`${a}`,`Invalid prop \`value\` of value \`${n}\` supplied to \`Progress\`. The \`value\` prop must be: – a positive number – less than the value passed to \`max\` (or 100 if no \`max\` prop is set) – \`null\` or \`undefined\` if the progress is indeterminate. Defaulting to \`null\`.`));let c=x(a,d)?a:null,m=b(c)?s(c,d):void 0;return(0,l.Y)(p,{scope:i,value:c,max:d,children:(0,l.Y)(u.div,{“aria-valuemax”:d,”aria-valuemin”:0,”aria-valuenow”:b(c)?c:void 0,”aria-valuetext”:m,role:”progressbar”,”data-state”:g(c,d),”data-value”:c??void 0,”data-max”:d,…f,ref:r})})});m.displayName=s;var v=”ProgressIndicator”,y=n.forwardRef((e,r)=>{let{__scopeProgress:t,…n}=e,i=c(v,t);return(0,l.Y)(u.div,{“data-state”:g(i.value,i.max),”data-value”:i.value??void 0,”data-max”:i.max,…n,ref:r})});function h(e,r){return`${Math.round(e/r*100)}%`}function g(e,r){return null==e?”indeterminate”:e===r?”complete”:”loading”}function b(e){return”number”==typeof e}function w(e){return b(e)&&!isNaN(e)&&e>0}function x(e,r){return b(e)&&!isNaN(e)&&e<=r&&e>=0}y.displayName=v;var N=m,C=y},38409:function(e,r,t){t.d(r,{b:()=>p});var n=t(17402);function l(e,r){if(“function”==typeof e)return e(r);null!=e&&(e.current=r)}var i=t(4006),a=Symbol(“radix.slottable”);function o(e){return n.isValidElement(e)&&”function”==typeof e.type&&”__radixId”in e.type&&e.type.__radixId===a}var u=[“a”,”button”,”div”,”form”,”h2″,”h3″,”img”,”input”,”label”,”li”,”nav”,”ol”,”p”,”select”,”span”,”svg”,”ul”].reduce((e,r)=>{var t,a;let u,s,f,d=(a=t=`Primitive.${r}`,(u=n.forwardRef((e,r)=>{let{children:t,…i}=e;if(n.isValidElement(t)){var a;let e,o,u=(a=t,(o=(e=Object.getOwnPropertyDescriptor(a.props,”ref”)?.get)&&”isReactWarning”in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,”ref”)?.get)&&”isReactWarning”in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),s=function(e,r){let t={…r};for(let n in r){let l=e[n],i=r[n];/^on[A-Z]/.test(n)?l&&i?t[n]=(…e)=>{let r=i(…e);return l(…e),r}:l&&(t[n]=l):”style”===n?t[n]={…l,…i}:”className”===n&&(t[n]=[l,i].filter(Boolean).join(” “))}return{…e,…t}}(i,t.props);return t.type!==n.Fragment&&(s.ref=r?function(…e){return r=>{let t=!1,n=e.map(e=>{let n=l(e,r);return t||”function”!=typeof n||(t=!0),n});if(t)return()=>{for(let r=0;r1?n.Children.only(null):null})).displayName=`${a}.SlotClone`,s=u,(f=n.forwardRef((e,r)=>{let{children:t,…l}=e,a=n.Children.toArray(t),u=a.find(o);if(u){let e=u.props.children,t=a.map(r=>r!==u?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.Y)(s,{…l,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,t):null})}return(0,i.Y)(s,{…l,ref:r,children:t})})).displayName=`${t}.Slot`,f),p=n.forwardRef((e,t)=>{let{asChild:n,…l}=e;return”undefined”!=typeof window&&(window[Symbol.for(“radix-ui”)]=!0),(0,i.Y)(n?d:r,{…l,ref:t})});return p.displayName=`Primitive.${r}`,{…e,[r]:p}},{}),s=”horizontal”,f=[“horizontal”,”vertical”],d=n.forwardRef((e,r)=>{var t;let{decorative:n,orientation:l=s,…a}=e,o=(t=l,f.includes(t))?l:s;return(0,i.Y)(u.div,{“data-orientation”:o,…n?{role:”none”}:{“aria-orientation”:”vertical”===o?o:void 0,role:”separator”},…a,ref:r})});d.displayName=”Separator”;var p=d}}]);