티스토리 수익 글 보기
“use strict”;(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[57034],{616684:function(e,t,n){n.d(t,{Z:function(){return i}});var r,o=new Uint8Array(16);function i(){if(!r&&!(r=”undefined”!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||”undefined”!=typeof msCrypto&&”function”==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error(“crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported”);return r(o)}},930254:function(e,t,n){for(var r=n(437573),o=[],i=0;i<256;++i)o.push((i+256).toString(16).substr(1));t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+”-“+o[e[t+4]]+o[e[t+5]]+”-“+o[e[t+6]]+o[e[t+7]]+”-“+o[e[t+8]]+o[e[t+9]]+”-“+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase();if(!(0,r.Z)(n))throw TypeError(“Stringified UUID is invalid”);return n}},769183:function(e,t,n){var r=n(616684),o=n(930254);t.Z=function(e,t,n){var i=(e=e||{}).random||(e.rng||r.Z)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){n=n||0;for(var a=0;a<16;++a)t[n+a]=i[a];return t}return(0,o.Z)(i)}},437573:function(e,t,n){n.d(t,{Z:function(){return o}});var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,o=function(e){return"string"==typeof e&&r.test(e)}},231791:function(e,t,n){n.d(t,{_:function(){return r}});function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},25301:function(e,t,n){n.d(t,{I:function(){return i}});var r=n(397458),o=n(494802);let i=e=>(0,r.jsx)(o.J,{viewBox:”0 0 24 24″,…e,fill:”none”,children:(0,r.jsx)(“path”,{d:”M11.29 15.29a1.573 1.573 0 0 0-.12.15.762.762 0 0 0-.09.18.643.643 0 0 0-.06.18 1.362 1.362 0 0 0 0 .2.84.84 0 0 0 .08.38.9.9 0 0 0 .54.54.94.94 0 0 0 .76 0 .9.9 0 0 0 .54-.54A1 1 0 0 0 13 16a1 1 0 0 0-1.71-.71ZM12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 18a8 8 0 1 1 0-16.001A8 8 0 0 1 12 20Zm0-13a3 3 0 0 0-2.6 1.5 1 1 0 1 0 1.73 1A1 1 0 0 1 12 9a1 1 0 1 1 0 2 1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-.18A3 3 0 0 0 12 7Z”,fill:”currentColor”})})},444783:function(e,t,n){n.d(t,{N:function(){return i}});var r=n(397458),o=n(494802);let i=e=>(0,r.jsx)(o.J,{viewBox:”0 0 24 24″,…e,fill:”none”,children:(0,r.jsx)(“path”,{fillRule:”evenodd”,clipRule:”evenodd”,d:”M10.5 4.5a6 6 0 1 0 0 12 6 6 0 0 0 0-12Zm-8 6a8 8 0 1 1 14.32 4.906l4.387 4.387a1 1 0 0 1-1.414 1.414l-4.387-4.387A8 8 0 0 1 2.5 10.5Z”,fill:”currentColor”})})},743979:function(e,t,n){n.d(t,{J$:function(){return U}});var r=n(652983);n(183576);let o=new WeakMap,i={},a={},u=()=>{},l=u(),f=Object,c=e=>e===l,d=e=>”function”==typeof e,s=(e,t)=>({…e,…t}),p=”undefined”,v=typeof window!=p,y=typeof document!=p,w=()=>v&&typeof window.requestAnimationFrame!=p,h=(e,t)=>{let n=o.get(e);return[()=>!c(t)&&e.get(t)||i,r=>{if(!c(t)){let o=e.get(t);t in a||(a[t]=o),n[5](t,s(o,r),o||i)}},n[6],()=>!c(t)&&t in a?a[t]:!c(t)&&e.get(t)||i]},g=new WeakMap,m=0,b=e=>{let t,n;let r=typeof e,o=e&&e.constructor,i=o==Date;if(f(e)!==e||i||o==RegExp)t=i?e.toJSON():”symbol”==r?e.toString():”string”==r?JSON.stringify(e):””+e;else{if(t=g.get(e))return t;if(t=++m+”~”,g.set(e,t),o==Array){for(n=0,t=”@”;n(y&&document.addEventListener(“visibilitychange”,e),E(“focus”,e),()=>{y&&document.removeEventListener(“visibilitychange”,e),O(“focus”,e)}),initReconnect:e=>{let t=()=>{_=!0,e()},n=()=>{_=!1};return E(“online”,t),E(“offline”,n),()=>{O(“online”,t),O(“offline”,n)}}},S=(r.useId,!v||”Deno”in window),C=S?r.useEffect:r.useLayoutEffect,k=”undefined”!=typeof navigator&&navigator.connection,x=!S&&k&&([“slow-2g”,”2g”].includes(k.effectiveType)||k.saveData),Z=e=>{if(d(e))try{e=e()}catch(t){e=””}let t=e;return[e=”string”==typeof e?e:(Array.isArray(e)?e.length:e)?b(e):””,t]},A=0,L=()=>++A;async function T(…e){let[t,n,r,i]=e,a=s({populateCache:!0,throwOnError:!0},”boolean”==typeof i?{revalidate:i}:i||{}),u=a.populateCache,f=a.rollbackOnError,p=a.optimisticData,v=!1!==a.revalidate,y=e=>”function”==typeof f?f(e):!1!==f,w=a.throwOnError;if(d(n)){let e=[],r=t.keys();for(let o=r.next();!o.done;o=r.next()){let r=o.value;!/^\$(inf|sub)\$/.test(r)&&n(t.get(r)._k)&&e.push(r)}return Promise.all(e.map(g))}return g(n);async function g(n){let i;let[a]=Z(n);if(!a)return;let[f,s]=h(t,a),[g,m,b]=o.get(t),_=g[a],E=()=>v&&(delete b[a],_&&_[0])?_[0](2).then(()=>f().data):f().data;if(e.length<3)return E();let O=r,R=L();m[a]=[R,0];let S=!c(p),C=f(),k=C.data,x=C._c,A=c(x)?k:x;if(S&&s({data:p=d(p)?p(A):p,_c:A}),d(O))try{O=O(A)}catch(e){i=e}if(O&&d(O.then)){if(O=await O.catch(e=>{i=e}),R!==m[a][0]){if(i)throw i;return O}i&&S&&y(i)&&(u=!0,s({data:O=A,_c:l}))}u&&!i&&(d(u)&&(O=u(O,A)),s({data:O,_c:l})),m[a][1]=L();let T=await E();if(s({_c:l}),i){if(w)throw i;return}return u?T:O}}let V=(e,t)=>{for(let n in e)e[n][0]&&e[n][0](t)},j=(e,t)=>{if(!o.has(e)){let n=s(R,t),r={},i=T.bind(l,e),a=u,f={},c=(e,t)=>{let n=f[e]||[];return f[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},d=(t,n,r)=>{e.set(t,n);let o=f[t];if(o)for(let e of o)e(n,r)},p=()=>{if(!o.has(e)&&(o.set(e,[r,{},{},{},i,d,c]),!S)){let t=n.initFocus(setTimeout.bind(l,V.bind(l,r,0))),i=n.initReconnect(setTimeout.bind(l,V.bind(l,r,1)));a=()=>{t&&t(),i&&i(),o.delete(e)}}};return p(),[e,i,p,a]}return[e,o.get(e)[4]]},[D,M]=j(new Map),I=s({onLoadingSlow:u,onSuccess:u,onError:u,onErrorRetry:(e,t,n,r,o)=>{let i=n.errorRetryCount,a=o.retryCount,u=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;(c(i)||!(a>i))&&setTimeout(r,u,o)},onDiscarded:u,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:x?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:x?5e3:3e3,compare:(e,t)=>b(e)==b(t),isPaused:()=>!1,cache:D,mutate:M,fallback:{}},{isOnline:()=>_,isVisible:()=>{let e=y&&document.visibilityState;return c(e)||”hidden”!==e}}),J=(e,t)=>{let n=s(e,t);if(t){let{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=s(o,a))}return n},N=(0,r.createContext)({}),P=v&&window.__SWR_DEVTOOLS_USE__;(P?window.__SWR_DEVTOOLS_USE__:[]).concat(e=>(t,n,r)=>{let i=n&&((…e)=>{let[r]=Z(t),[,,,i]=o.get(D),a=i[r];return a?(delete i[r],a):n(…e)});return e(t,i,r)}),P&&(window.__SWR_DEVTOOLS_REACT__=r);let U=f.defineProperty(e=>{let{value:t}=e,n=(0,r.useContext)(N),o=d(t),i=(0,r.useMemo)(()=>o?t(n):t,[o,n,t]),a=(0,r.useMemo)(()=>o?i:J(n,i),[o,n,i]),u=i&&i.provider,f=(0,r.useRef)(l);u&&!f.current&&(f.current=j(u(a.cache||D),i));let c=f.current;return c&&(a.cache=c[0],a.mutate=c[1]),C(()=>{if(c)return c[2]&&c[2](),c[3]},[]),(0,r.createElement)(N.Provider,s(e,{value:a}))},”defaultValue”,{value:I})}}]);
//# sourceMappingURL=57034-565833a62dc7bb78.js.map