1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6683],{4010:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});let l=r(75591)._(r(76430)),s=r(66060),n=[],o=[],a=!1;function i(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class d{constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}}function u(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),n=null;function i(){if(!n){let t=new d(e,r);n={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return n.promise()}if(!a){let e=r.webpack&&1?r.webpack():r.modules;e&&o.push(t=>{for(let r of e)if(t.includes(r))return i()})}function u(e,t){let o;i(),(o=l.default.useContext(s.LoadableContext))&&Array.isArray(r.modules)&&r.modules.forEach(e=>{o(e)});let a=l.default.useSyncExternalStore(n.subscribe,n.getCurrentValue,n.getCurrentValue);return l.default.useImperativeHandle(t,()=>({retry:n.retry}),[]),l.default.useMemo(()=>{var t;return a.loading||a.error?l.default.createElement(r.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:n.retry}):a.loaded?l.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return u.preload=()=>i(),u.displayName="LoadableComponent",l.default.forwardRef(u)}(i,e)}function c(e,t){let r=[];for(;e.length;){let l=e.pop();r.push(l(t))}return Promise.all(r).then(()=>{if(e.length)return c(e,t)})}u.preloadAll=()=>new Promise((e,t)=>{c(n).then(e,t)}),u.preloadReady=(e=[])=>new Promise(t=>{let r=()=>(a=!0,t());c(o,e).then(r,r)}),window.__NEXT_PRELOADREADY=u.preloadReady;let h=u},10235:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var l=r(75038),s=r(76430),n=r(15918),o=r(3957),a=r(68835);let i=({followed:e,followId:t,compact:r,className:i})=>{let[{tbId:d}]=(0,n.A)(["tbId"]),[u,c]=(0,s.useState)(!1),[h,f]=(0,s.useState)(e);return((0,s.useEffect)(()=>{f(e)},[e]),Number(d)!==t&&Number(d))?(0,l.jsx)(a.A,{className:i,disabled:!d||u,onClick:()=>{c(!0),o.A.follow(t,h).then(e=>"success"===e.status&&f(!h)).catch(e=>console.error(e)).finally(()=>c(!1))},color:h?void 0:"green",icon:r?void 0:h?"check":"plus",children:h?"Unfollow":"Follow"}):null}},11735:e=>{e.exports={flex:"userInfoAndBioCard_flex__ln59j",noBio:"userInfoAndBioCard_noBio__puTGG",user:"userInfoAndBioCard_user__ln7kR",container:"userInfoAndBioCard_container__cJISW",info:"userInfoAndBioCard_info__mkFr4",bio:"userInfoAndBioCard_bio__NkSqq",avatar:"userInfoAndBioCard_avatar__it5ql",hr:"userInfoAndBioCard_hr__K7sHb",noShowOnDesktop:"userInfoAndBioCard_noShowOnDesktop__xgWlq",extras:"userInfoAndBioCard_extras__s_sBL"}},29677:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var l={default:function(){return d},noSSR:function(){return i}};for(var s in l)Object.defineProperty(t,s,{enumerable:!0,get:l[s]});let n=r(75591);r(75038),r(76430);let o=n._(r(4010));function a(e){return{default:e?.default||e}}function i(e,t){return delete t.webpack,delete t.modules,e(t)}function d(e,t){let r=o.default,l={loading:({error:e,isLoading:t,pastDelay:r})=>null};e instanceof Promise?l.loader=()=>e:"function"==typeof e?l.loader=e:"object"==typeof e&&(l={...l,...e});let s=(l={...l,...t}).loader;return(l.loadableGenerated&&(l={...l,...l.loadableGenerated},delete l.loadableGenerated),"boolean"!=typeof l.ssr||l.ssr)?r({...l,loader:()=>null!=s?s().then(a):Promise.resolve(a(()=>null))}):(delete l.webpack,delete l.modules,i(r,l))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31452:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var l=r(75038);r(76430);var s=r(40120),n=r(92910),o=r(97633),a=r.n(o);let i=({main:e,secondary:t,href:r,onClick:o})=>(0,l.jsxs)("div",{className:a().container,children:[(0,l.jsx)("h3",{id:e.replace(" ","_"),children:e}),r&&t&&(0,l.jsxs)(n.A,{href:r,children:[t," ",(0,l.jsx)(s.A,{name:"arrow right"})]}),o&&t&&(0,l.jsxs)("button",{onClick:o,children:[t," ",(0,l.jsx)(s.A,{name:"arrow right"})]}),!r&&!o&&t&&t]})},66060:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return l}});let l=r(75591)._(r(76430)).default.createContext(null)},71959:(e,t,r)=>{"use strict";r.d(t,{A:()=>j});var l=r(75038);r(76430);var s=r(15918),n=r(22335),o=r(40120),a=r(84919),i=r(10235),d=r(97359),u=r(84932),c=r.n(u),h=r(68835),f=r(72770),_=r(78393),m=r(68759),p=r(81993),b=r(11735),x=r.n(b);let j=({user:e,className:t=""})=>{let[{tbR:r=[]}]=(0,s.A)(["tbR"]),u=(0,m.l)(e.id),b=r.includes(n.gg.MOD);return(0,l.jsxs)("div",{className:`${x().container} ${t}`,children:[(0,l.jsxs)("div",{className:x().info,children:[(0,l.jsxs)("div",{className:x().user,children:[(0,l.jsx)(d.A,{className:x().avatar,src:e.profile.avatar,username:e.username}),(0,l.jsxs)(c(),{href:`/u/${(0,_.O)(e.username)}`,children:[(0,l.jsx)(o.A,{name:"user"}),e.username]}),(0,l.jsxs)("div",{className:x().extras,children:[(0,l.jsx)(i.A,{followId:e.id,followed:e.following}),e.publicCollection&&(0,l.jsx)(c(),{href:u,children:(0,l.jsx)(h.A,{icon:"address book outline",children:"View card collection"})}),b&&(0,l.jsx)(c(),{href:`/u/${e.username}/moderation`,children:(0,l.jsx)(h.A,{icon:"privacy",children:"Moderation details"})})]})]}),(0,l.jsx)("div",{className:x().hr}),(0,l.jsxs)("div",{className:x().meta,children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("b",{children:"Joined:"})," ",(0,f._)(e.date_joined)," ago"]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("b",{children:"Decks:"})," ",e.deckCount]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("b",{children:"Comments:"})," ",e.commentCount]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("b",{children:"Followers:"})," ",e.followerCount]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("b",{children:"Loyalty:"})," ",e.points]})]}),(0,l.jsx)("div",{className:`${x().hr} ${x().noShowOnDesktop}`})]}),(0,l.jsx)("div",{className:x().bio,children:e.profile.bio===p.cR?(0,l.jsxs)("div",{className:x().noBio,children:[e.username," has no bio"]}):(0,l.jsx)(a.A,{readOnly:!0,value:e.profile.bio})})]})}},78841:(e,t,r)=>{e.exports=r(29677)},97633:e=>{e.exports={flex:"header_flex__ZExkp",container:"header_container__Pg3wx"}}}]); 2//# sourceMappingURL=6683-c470a699440af906.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.