PageSourceSearch

https://digg.com/_next/static/chunks/11inzjn-92pnr.js?dpl=dpl_BCkysMdZZwk7kkBB6YQxtWwbPCPf

js digg.com collected 2026-10-01 07:23:28 UTC 24,857 bytes, 27 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0f533-450b-7133-812b-b85db8ef2ab0")}catch(e){}}();;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="d6ca8502-73bc-9d39-9852-1be366f85476")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,367651,65212,e=>{"use strict";let t=(0,e.i(540796).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
2],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["default",0,t],65212),e.s(["Sparkles",0,t],367651)},547118,e=>{"use strict";let t=(0,e.i(540796).default)("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]]);e.s(["Cpu",0,t],547118)},532036,e=>{"use strict";let t=(0,e.i(540796).default)("newspaper",[["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2",key:"39pd36"}],["rect",{width:"8",height:"4",x:"10",y:"6",rx:"1",key:"aywv1n"}]]);e.s(["Newspaper",0,t],532036)},470970,e=>{"use strict";let t=(0,e.i(540796).default)("flask-conical",[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]]);e.s(["FlaskConical",0,t],470970)},63538,e=>{"use strict";let t=(0,e.i(540796).default)("trophy",[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]]);e.s(["Trophy",0,t],63538)},378862,e=>{"use strict";let t=(0,e.i(540796).default)("clapperboard",[["path",{d:"m12.296 3.464 3.02 3.956",key:"qash78"}],["path",{d:"M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3z",key:"1h7j8b"}],["path",{d:"M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"4lm6w1"}],["path",{d:"m6.18 5.276 3.1 3.899",key:"zjj9t3"}]]);e.s(["default",0,t])},823400,e=>{"use strict";var t=e.i(359780);e.s(["topicFeedPath",0,function(e){return(0,t.getCanonicalTopicContract)(e)?.routes.home??`/${e}`}])},414402,e=>{"use strict";var t=e.i(947500),i=e.i(378862),i=i,s=e.i(547118),n=e.i(470970),r=e.i(540796);let a=(0,r.default)("gamepad-2",[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]]);var o=e.i(949297);let l=(0,r.default)("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);var u=e.i(532036),d=e.i(367651),c=e.i(63538),h=e.i(267011);let f={ai:"/topic-icons/ai-icon-v2.png",all:"/topic-icons/home-icon-v1.png",entertainment:"/topic-icons/entertainment-icon-v2.png",gaming:"/topic-icons/gaming-icon-v2.png",science:"/topic-icons/science-icon-v2.png",sports:"/topic-icons/sports-trophy-icon-v2.png",tech:"/topic-icons/technology-icon-v2.png","world-business":"/topic-icons/world-business-icon-v2.png"};var p=e.i(78829);let v={ai:d.Sparkles,all:l,entertainment:i.default,gaming:a,science:n.FlaskConical,sports:c.Trophy,tech:s.Cpu,"world-business":o.Globe};e.s(["SiteTopicIcon",0,({className:e,topic:i})=>{let s=f[i]??null;if(s)return(0,t.jsx)(h.default,{alt:"",className:(0,p.cn)("size-5",e),height:40,loading:"eager",src:s,width:40});let n=v[i]??u.Newspaper;
2return(0,t.jsx)(n,{"aria-hidden":!0,className:e})}],414402)},525738,e=>{"use strict";var t=e.i(10070),i=e.i(133207),s=e.i(742753),n=class extends i.Removable{#e;#t;#i;#s;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#i=e.mutationCache,this.#t=[],this.state=e.state||r(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#i.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||("pending"===this.state.status?this.scheduleGc():this.#i.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#n({type:"continue"})},i={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#s=(0,s.createRetryer)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,i):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#n({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#n({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#i.canRun(this)});let n="pending"===this.state.status,r=!this.#s.canStart();try{if(n)t();else{this.#n({type:"pending",variables:e,isPaused:r}),this.#i.config.onMutate&&await this.#i.config.onMutate(e,this,i);let t=await this.options.onMutate?.(e,i);t!==this.state.context&&this.#n({type:"pending",context:t,variables:e,isPaused:r})}let s=await this.#s.start();return await this.#i.config.onSuccess?.(s,e,this.state.context,this,i),await this.options.onSuccess?.(s,e,this.state.context,i),await this.#i.config.onSettled?.(s,null,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(s,null,e,this.state.context,i),this.#n({type:"success",data:s}),s}catch(t){try{await this.#i.config.onError?.(t,e,this.state.context,this,i)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,i)}catch(e){Promise.reject(e)}try{await this.#i.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,i)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,i)}catch(e){Promise.reject(e)}throw this.#n({type:"error",error:t}),t}finally{this.#i.runNext(this)}}#n(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),t.notifyManager.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#i.notify({mutation:this,type:"updated",action:e})})}};function r(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}e.s(["Mutation",0,n,"getDefaultState",0,r])},923065,e=>{"use strict";var t=e.i(947500),i=e.i(237355);let s=[],n={diggsEnabled:!1,initialStates:s,isResolved:!1},r=(0,i.createContext)(null);e.s(["FeedDiggAccessProvider",0,({children:e})=>{let[s,a]=(0,i.useState)(n);return(0,t.jsx)(r,{value:{access:s,setAccess:a},children:e})},"FeedDiggAccessSync",0,({diggsEnabled:e,initialStates:t=s})=>{let n=(0,i.useContext)(r);if(!n)throw Error("FeedDiggAccessSync requires its provider");let{setAccess:a}=n;return(0,i.useEffect)(()=>{a({diggsEnabled:e,initialStates:t,isResolved:!0})},[e,t,a]),null},"useFeedDiggAccess",0,function(){return(0,i.useContext)(r)?.access??n}])},522786,52099,e=>{"use strict";let t,i;var s=e.i(237355);let n={get url(){return`file://${e.P("node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected][email protected]/node_modules/jotai/esm/vanilla/internals.mjs")}`}};function r(e){return!!e.write}function a(e){return"v"in e||"e"in e}function o(e){if("e"in e)throw e.e;if((n.env?n.env.MODE:void 0)!=="production"&&!("v"in e))throw Error("[Bug] atom state is not initialized");return e.v}function l(e){return"function"==typeof(null==e?void 0:e.then)}
2function u(e,t,i){if(!i.p.has(e)){i.p.add(e);let s=()=>i.p.delete(e);t.then(s,s)}}function d(e,t,i){let s=i.get(e),n=null==s?void 0:s.t,r=t.p;if(!(null==n?void 0:n.size))return r;if(!r.size)return n;let a=new Set(n);for(let e of r)a.add(e);return a}let c=(e,t,...i)=>t.read(...i),h=(e,t,...i)=>t.write(...i),f=(e,t)=>{var i;return null==(i=t.INTERNAL_onInit)?void 0:i.call(t,e)},p=(e,t,i)=>{var s;return null==(s=t.onMount)?void 0:s.call(t,i)},v=(e,t)=>{var i;let s=T(e),r=s[0],a=s[6],o=s[9];if((n.env?n.env.MODE:void 0)!=="production"&&!t)throw Error("Atom is undefined or null");let l=r.get(t);return l||(l={d:new Map,p:new Set,n:0},r.set(t,l),null==(i=a.i)||i.call(a,t),null==o||o(e,t)),l},m=e=>{var t;let i=T(e),s=i[1],n=i[3],r=i[4],a=i[5],o=i[6],l=i[13];if(!o.f&&!n.size&&!r.size&&!a.size)return;let u=[],d=e=>{try{e()}catch(e){u.push(e)}};do{o.f&&d(o.f);let i=new Set;for(let e of n){let n=null==(t=s.get(e))?void 0:t.l;if(n)for(let e of n)i.add(e)}for(let e of(n.clear(),a))i.add(e);for(let e of(a.clear(),r))i.add(e);for(let e of(r.clear(),i))d(e);n.size&&l(e)}while(n.size||a.size||r.size)if(u.length)throw AggregateError(u)},y=e=>{let t=T(e),i=t[1],s=t[2],r=t[3],a=t[11],o=t[14],l=t[17];if(!r.size)return;let u=[],c=[],h=new WeakSet,f=new WeakSet,p=[],v=[];for(let t of r)p.push(t),v.push(a(e,t));for(;p.length;){let t=p.length-1,r=p[t],o=v[t];if(f.has(r)){p.pop(),v.pop();continue}if(h.has(r)){if(s.get(r)===o.n)u.push(r),c.push(o);else if((n.env?n.env.MODE:void 0)!=="production"&&s.has(r))throw Error("[Bug] invalidated atom exists");f.add(r),p.pop(),v.pop();continue}for(let t of(h.add(r),d(r,o,i)))h.has(t)||(p.push(t),v.push(a(e,t)))}for(let t=u.length-1;t>=0;--t){let i=u[t],n=c[t],a=!1;for(let e of n.d.keys())if(e!==i&&r.has(e)){a=!0;break}a&&(s.set(i,n.n),o(e,i),l(e,i)),s.delete(i)}},g=new WeakSet,w=(e,t)=>{var i,s;let d,c,h=T(e),f=h[1],p=h[2],v=h[3],m=h[6],y=h[7],w=h[11],b=h[12],k=h[13],D=h[14],M=h[16],A=h[17],S=h[20],E=h[26],C=h[28],_=w(e,t),x=C[0];if(a(_)){if(f.has(t)&&p.get(t)!==_.n||_.m===x)return _.m=x,_;let i=!1;for(let[t,s]of _.d)if(D(e,t).n!==s){i=!0;break}if(!i)return _.m=x,_}let O=!0,j=new Set(_.d.keys()),P=()=>{for(let e of j)_.d.delete(e)},R=()=>{if(f.has(t)){let i=!v.size;A(e,t),i&&(k(e),b(e))}},V=_.n,z=p.get(t)===V;try{(n.env?n.env.MODE:void 0)!=="production"&&g.delete(e);let s=y(e,t,i=>{var s;if(i===t){let t=w(e,i);if(!a(t))if("init"in i)S(e,i,i.init);else throw Error("no atom init");return o(t)}let n=D(e,i);try{return o(n)}finally{j.delete(i),_.d.set(i,n.n),l(_.v)&&u(t,_.v,n),f.has(t)&&(null==(s=f.get(i))||s.t.add(t)),O||R()}},{get signal(){return d||(d=new AbortController),d.signal},get setSelf(){return(n.env?n.env.MODE:void 0)!=="production"&&console.warn("[DEPRECATED] setSelf is deprecated and will be removed in v3."),(n.env?n.env.MODE:void 0)==="production"||r(t)||console.warn("setSelf function cannot be used with read-only atom"),!c&&r(t)&&(c=(...i)=>{if((n.env?n.env.MODE:void 0)!=="production"&&O&&console.warn("setSelf function cannot be called in sync"),!O)try{return M(e,t,...i)}finally{k(e),b(e)}}),c}});if((n.env?n.env.MODE:void 0)!=="production"&&g.has(e)&&console.warn("Detected store mutation during atom read. This is not supported."),S(e,t,s),l(s)){E(e,s,()=>null==d?void 0:d.abort());let t=()=>{P(),R()};s.then(t,t)}else P();return null==(i=m.r)||i.call(m,t),_.m=x,_}catch(e){return delete _.v,_.e=e,++_.n,_.m=x,_}finally{O=!1,_.n!==V&&z&&(p.set(t,_.n),v.add(t),null==(s=m.c)||s.call(m,t))}},b=(e,t)=>{let i=T(e),s=i[1],n=i[2],r=i[11],a=[t];for(;a.length;){let t=a.pop(),i=r(e,t);for(let o of d(t,i,s)){let t=r(e,o);n.get(o)!==t.n&&(n.set(o,t.n),a.push(o))}}},k=(e,t,...i)=>{let s=T(e),r=s[3],a=s[6],l=s[8],u=s[11],d=s[12],c=s[13],h=s[14],f=s[15],p=s[16],v=s[17],m=s[20],y=s[28],w=!0;try{return l(e,t,t=>o(h(e,t)),(i,...s)=>{var o;let l=u(e,i);try{if(i!==t)return p(e,i,...s);{if(!("init"in i))throw Error("atom not writable");(n.env?n.env.MODE:void 0)!=="production"&&g.add(e);let t=l.n,u=s[0];m(e,i,u),v(e,i),t!==l.n&&(++y[0],r.add(i),f(e,i),null==(o=a.c)||o.call(a,i));return}}finally{w||(c(e),d(e))}},...i)}finally{w=!1}},D=(e,t)=>{var i;let s=T(e),n=s[1],r=s[3],a=s[6],o=s[11],l=s[15],u=s[18],d=s[19],c=o(e,t),h=n.get(t);if(h&&c.d.size>0){for(let[s,n]of c.d)if(!h.d.has(s)){let d=o(e,s);u(e,s).t.add(t),h.d.add(s),n!==d.n&&(r.add(s),l(e,s),null==(i=a.c)||i.call(a,s))}for(let i of h.d)if(!c.d.has(i)){h.d.delete(i);let s=d(e,i);null==s||s.t.delete(t)}}},M=(e,t)=>{var i;let s=T(e),n=s[1],a=s[4],o=s[6],l=s[10],u=s[11],d=s[12],c=s[13],h=s[14],f=s[16],p=s[18],v=u(e,t),m=n.get(t);if(!m){for(let i of(h(e,t),v.d.keys()))p(e,i).t.add(t);
2m={l:new Set,d:new Set(v.d.keys()),t:new Set},n.set(t,m),r(t)&&t.onMount&&a.add(()=>{let i=!0;try{let s=l(e,t,(...s)=>{try{return f(e,t,...s)}finally{i||(c(e),d(e))}});s&&(m.u=()=>{i=!0;try{s()}finally{i=!1}})}finally{i=!1}}),null==(i=o.m)||i.call(o,t)}return m},A=(e,t)=>{var i,s;let n=T(e),r=n[1],a=n[5],o=n[6],l=n[11],u=n[19],d=l(e,t),c=r.get(t);if(!c||c.l.size)return c;let h=!1;for(let e of c.t)if(null==(i=r.get(e))?void 0:i.d.has(t)){h=!0;break}if(!h){for(let i of(c.u&&a.add(c.u),c=void 0,r.delete(t),d.d.keys())){let s=u(e,i);null==s||s.t.delete(t)}null==(s=o.u)||s.call(o,t);return}return c},S=(e,t,i)=>{let s=T(e),n=s[11],r=s[27],a=n(e,t),o="v"in a,d=a.v;if(l(i))for(let s of a.d.keys())u(t,i,n(e,s));a.v=i,delete a.e,o&&Object.is(d,a.v)||(++a.n,l(d)&&r(e,d))},E=(e,t)=>o((0,T(e)[14])(e,t)),C=(e,t,...i)=>{let s=T(e),n=s[3],r=s[12],a=s[13],o=s[16],l=n.size;try{return o(e,t,...i)}finally{n.size!==l&&(a(e),r(e))}},_=(e,t,i)=>{let s=T(e),n=s[12],r=s[18],a=s[19],o=r(e,t).l;return o.add(i),n(e),()=>{o.delete(i),a(e,t),n(e)}},x=(e,t,i)=>{let s=T(e)[25],n=s.get(t);if(!n){n=new Set,s.set(t,n);let e=()=>s.delete(t);t.then(e,e)}n.add(i)},O=(e,t)=>{let i=T(e)[25].get(t);null==i||i.forEach(e=>e())},j=new WeakMap,T=e=>{let t=j.get(e);if((n.env?n.env.MODE:void 0)!=="production"&&!t)throw Error("Store must be created by buildStore to read its building blocks");return t},P={get url(){return`file://${e.P("node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected][email protected]/node_modules/jotai/esm/vanilla.mjs")}`}},R=0;function V(e){return e(this)}function z(e,t,i){return t(this,"function"==typeof i?i(e(this)):i)}function F(){let e,i;return t?t():(e={get:t=>(0,T(e)[21])(e,t),set:(t,...i)=>(0,T(e)[22])(e,t,...i),sub:(t,i)=>(0,T(e)[23])(e,t,i)},i=[new WeakMap,new WeakMap,new WeakMap,new Set,new Set,new Set,{},c,h,f,p,v,m,y,w,b,k,D,M,A,S,E,C,_,void 0,new WeakMap,x,O,[0]].map((e,t)=>[][t]||e),j.set(e,Object.freeze(i)),e)}function I(){return i||(i=F(),(P.env?P.env.MODE:void 0)!=="production"&&(globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=i),globalThis.__JOTAI_DEFAULT_STORE__!==i&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"))),i}e.s(["atom",0,function(e,t){let i=`atom${++R}`,s={toString(){return(P.env?P.env.MODE:void 0)!=="production"&&this.debugLabel?i+":"+this.debugLabel:i}};return"function"==typeof e?s.read=e:(s.init=e,s.read=V,s.write=z),t&&(s.write=t),s},"createStore",0,F,"getDefaultStore",0,I],52099);let L={get url(){return`file://${e.P("node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected][email protected]/node_modules/jotai/esm/react.mjs")}`}},N=(0,s.createContext)(void 0);function W(e){let t=(0,s.useContext)(N);return(null==e?void 0:e.store)||t||I()}let G=e=>"function"==typeof(null==e?void 0:e.then),H=e=>{e.status||(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}))},J=s.default.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw H(e),e}),q=new WeakMap,U=(e,t,i)=>{let s,n,r=((n=(s=T(e))[24])?n(s):s)[26],a=q.get(t);return a||(a=new Promise((s,n)=>{let o=t,l=e=>t=>{o===e&&s(t)},u=e=>t=>{o===e&&n(t)},d=()=>{try{let t=i();G(t)?(q.set(t,a),o=t,t.then(l(t),u(t)),r(e,t,d)):s(t)}catch(e){n(e)}};t.then(l(t),u(t)),r(e,t,d)}),q.set(t,a)),a};function B(e,t){let{delay:i,unstable_promiseStatus:n=!s.default.use}=t||{},r=W(t),[[a,o,l],u]=(0,s.useReducer)(t=>{let i=r.get(e);return Object.is(t[0],i)&&t[1]===r&&t[2]===e?t:[i,r,e]},void 0,()=>[r.get(e),r,e]),d=a;if((o!==r||l!==e)&&(u(),d=r.get(e)),(0,s.useEffect)(()=>{let t=r.sub(e,()=>{if(n)try{let t=r.get(e);G(t)&&H(U(r,t,()=>r.get(e)))}catch(e){}if("number"==typeof i){console.warn(`[DEPRECATED] delay option is deprecated and will be removed in v3.
3
4Migration guide:
5
6Create a custom hook like the following.
7
8function useAtomValueWithDelay<Value>(
9  atom: Atom<Value>,
10  options: { delay: number },
11): Value {
12  const { delay } = options
13  const store = useStore(options)
14  const [value, setValue] = useState(() => store.get(atom))
15  useEffect(() => {
16    const unsub = store.sub(atom, () => {
17      setTimeout(() => setValue(store.get(atom)), delay)
18    })
19    return unsub
20  }, [store, atom, delay])
21  return value
22}
23`),setTimeout(u,i);return}u()});return u(),t},[r,e,i,n]),(0,s.useDebugValue)(d),G(d)){let t=U(r,d,()=>r.get(e));return n&&H(t),J(t)}return d}function $(e,t){let i=W(t);return(0,s.useCallback)((...t)=>{if((L.env?L.env.MODE:void 0)!=="production"&&!("write"in e))throw Error("not writable atom");return i.set(e,...t)},[i,e])}e.s(["Provider",0,function({children:e,store:t}){let i=(0,s.useRef)(null);return t?(0,s.createElement)(N.Provider,{value:t},e):(null===i.current&&(i.current=F()),(0,s.createElement)(N.Provider,{value:i.current},e))},"useAtom",0,function(e,t){return[B(e,t),$(e,t)]},"useAtomValue",0,B,"useSetAtom",0,$,"useStore",0,W],522786)},597278,e=>{"use strict";var t=e.i(52099);let i={get url(){return`file://${e.P("node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected][email protected]/node_modules/jotai/esm/vanilla/utils.mjs")}`}},s=Symbol((i.env?i.env.MODE:void 0)!=="production"?"RESET":""),n=e=>"function"==typeof(null==e?void 0:e.then),r=function(e=()=>{try{return window.localStorage}catch(e){(i.env?i.env.MODE:void 0)!=="production"&&"u">typeof window&&console.warn(e);return}}){var t;let s,r,a,o,l={getItem:(t,i)=>{var a,o;let l=e=>{if(s!==(e=e||"")){try{r=JSON.parse(e,void 0)}catch(e){return i}s=e}return r},u=null!=(o=null==(a=e())?void 0:a.getItem(t))?o:null;return n(u)?u.then(l):l(u)},setItem:(t,i)=>{var s;return null==(s=e())?void 0:s.setItem(t,JSON.stringify(i,void 0))},removeItem:t=>{var i;return null==(i=e())?void 0:i.removeItem(t)}};try{a=null==(t=e())?void 0:t.subscribe}catch(e){}return!a&&"u">typeof window&&"function"==typeof window.addEventListener&&window.Storage&&(a=(t,i)=>{if(!(e()instanceof window.Storage))return()=>{};let s=s=>{s.storageArea===e()&&s.key===t&&i(s.newValue)};
23return window.addEventListener("storage",s),()=>{window.removeEventListener("storage",s)}}),a&&(o=a,l.subscribe=(e,t,i)=>o(e,e=>{let s;try{s=JSON.parse(e||"")}catch(e){s=i}t(s)})),l}();e.s(["atomWithStorage",0,function(e,a,o=r,l){let u=null==l?void 0:l.getOnInit,d=(0,t.atom)(u?o.getItem(e,a):a);return(i.env?i.env.MODE:void 0)!=="production"&&(d.debugPrivate=!0),d.onMount=t=>{var i;return t(o.getItem(e,a)),null==(i=o.subscribe)?void 0:i.call(o,e,t,a)},(0,t.atom)(e=>e(d),(t,i,r)=>{let l="function"==typeof r?r(t(d)):r;return l===s?(i(d,a),o.removeItem(e)):n(l)?l.then(t=>(i(d,t),o.setItem(e,t))):(i(d,l),o.setItem(e,l))})}])},467343,787360,e=>{"use strict";let t={sessionGapMs:18e5,minSessionsForModal:2,minClusterDetailViewsForModal:3,freshClusterDetailViewsForReshow:10,cooldownsMsByDismissal:[12096e5,2592e6,7776e6],hardCapDismissals:3};function i(){return{version:2,sessionCount:0,lastActivityAt:null,clusterDetailViews:0,modalDismissals:0,lastModalDismissedAt:null,clusterDetailViewsAtLastDismissal:0,neverAskAgain:!1,subscribed:!1}}function s(e){if(!e)return i();try{let t=JSON.parse(e);if(!t||"object"!=typeof t)return i();let s=i();return{version:2,sessionCount:n(t.sessionCount,s.sessionCount),lastActivityAt:r(t.lastActivityAt),clusterDetailViews:n(t.clusterDetailViews??t.storiesRead,s.clusterDetailViews),modalDismissals:n(t.modalDismissals,s.modalDismissals),lastModalDismissedAt:r(t.lastModalDismissedAt),clusterDetailViewsAtLastDismissal:n(t.clusterDetailViewsAtLastDismissal??t.storiesReadAtLastDismissal,s.clusterDetailViewsAtLastDismissal),neverAskAgain:!0===t.neverAskAgain,subscribed:!0===t.subscribed}}catch{return i()}}function n(e,t){return"number"==typeof e&&Number.isFinite(e)&&e>=0?Math.floor(e):t}function r(e){return"number"==typeof e&&Number.isFinite(e)&&e>0?e:null}function a(e,t,i){return!(e.modalDismissals<i.hardCapDismissals)&&t-(e.lastModalDismissedAt??0)<o(e.modalDismissals,i)}function o(e,t){let i=t.cooldownsMsByDismissal;return 0===i.length?0:e>=t.hardCapDismissals?i.at(-1):i[Math.min(e,i.length)-1]}e.s(["DEFAULT_LADDER_CONFIG",0,t,"parsePromptState",0,s,"registerActivity",0,function(e,i,s=t){let n=null===e.lastActivityAt||i-e.lastActivityAt>s.sessionGapMs;return{...e,sessionCount:n?e.sessionCount+1:e.sessionCount,lastActivityAt:i}},"registerClusterDetailView",0,function(e){return{...e,clusterDetailViews:e.clusterDetailViews+1}},"registerModalDismissal",0,function(e,t){return{...e,modalDismissals:e.modalDismissals+1,lastModalDismissedAt:t,clusterDetailViewsAtLastDismissal:e.clusterDetailViews}},"registerNeverAskAgain",0,function(e){return{...e,neverAskAgain:!0}},"registerSubscribed",0,function(e){return{...e,subscribed:!0}},"shouldShowCaptureModal",0,function(e,i,s,n=t){if(e.subscribed||e.neverAskAgain||a(e,i,n)||!s||e.sessionCount<n.minSessionsForModal||e.clusterDetailViews<n.minClusterDetailViewsForModal)return{show:!1};if(e.modalDismissals>0){let t=o(e.modalDismissals,n);if(i-(e.lastModalDismissedAt??0)<t||e.clusterDetailViews-e.clusterDetailViewsAtLastDismissal<n.freshClusterDetailViewsForReshow)return{show:!1}}let r=e.modalDismissals+1;return{show:!0,rung:r,variant:1===r?"first_ask":"saturday_downsell"}},"shouldShowFeedHouseFill",0,function(e){return!e.subscribed&&!e.neverAskAgain},"shouldShowInlineCard",0,function(e,i,s=t){return!e.subscribed&&!e.neverAskAgain&&!a(e,i,s)}],467343);let l="digg.newsletter.prompt.v1",u="digg:newsletter-prompt-state";e.s(["NEWSLETTER_PROMPT_STORAGE_KEY",0,l,"loadPromptState",0,function(){try{return s(window.localStorage.getItem(l))}catch{return s(null)}},"onPromptStateChange",0,function(e){let t=()=>e(),i=t=>{(null===t.key||t.key===l)&&e()};return window.addEventListener(u,t),window.addEventListener("storage",i),()=>{window.removeEventListener(u,t),window.removeEventListener("storage",i)}},"savePromptState",0,function(e){try{window.localStorage.setItem(l,JSON.stringify(e))}catch{return}window.dispatchEvent(new CustomEvent(u))}],787360)}]);
24
25//# debugId=d6ca8502-73bc-9d39-9852-1be366f85476
26//# sourceMappingURL=1s_4fnwibo1i9.js.map
27//# chunkId=01a0f533-450b-7133-812b-b85db8ef2ab0

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.