PageSourceSearch

https://muz.li/_nuxt/79WysR2y.js

js muz.li collected 2026-10-01 07:54:29 UTC 7,091 bytes, 1 lines download raw bytes

1import{H as st,a as at,T as rt,M as lt}from"./UIFQfQ2K.js";import{_ as it,u as ct,C as dt,D as O,E as D,I as ut,w as d,M as pt,o as p,e as n,d as s,g as x,t as u,j as t,z as xt,n as y,c as g,F as gt,x as _t,i as mt,l as M,s as ft,v as ht}from"./DjEmCX_m.js";import{_ as yt}from"./Dgoiuj70.js";import{u as X}from"./jtrzh3oK.js";import"./YgNtzgHM.js";const wt={class:"max-w-7xl mx-auto"},vt={class:"text-center mb-20 mt-12 mx-auto max-w-4xl"},bt={class:"grid grid-cols-[30px,1fr,30px] md:w-[380px] mx-auto mt-14 items-center content-center justify-center shadow rounded-xl p-6"},kt={class:"text-[#473e22] font-[400] decoration-dotted underline decoration-1"},Dt={class:"grid gap-10 h-full max-w-7xl mx-auto"},Mt={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-20"},Ct=["href"],zt={class:"py-4"},St={class:"font-[400] truncate text-xl mb-2 font-serif"},Ft={class:"block text-xs truncate text-gray-500 font-sans mt-1"},It={key:0,class:"mt-4 line-clamp-6"},Tt=["innerHTML"],jt={class:"mx-auto max-w-4xl"},Ht={key:0,class:"max-w-lg mx-auto mt-16"},Nt=["href"],Et=["textContent"],Lt=["src","alt"],Rt=["textContent"],$t={class:"text-center grid grid-cols-[30px,1fr,30px] md:w-[380px] mx-auto my-14 items-center content-center justify-center shadow rounded-xl p-6"},Bt={class:"text-[#473e22] font-[400] decoration-dotted underline decoration-1"},Pt={__name:"[day]",async setup(Vt){var I;let i,_;const C=ct(),Y=ft(),{params:w}=dt(),{data:v,error:z}=([i,_]=O(()=>X("/api/getDaily",{query:{day:w.day},key:"items"+w.day},"$dfrj58XaSm")),i=await i,_(),i);if(z.value)throw console.error(z),D({statusCode:500,statusMessage:"Server error",fatal:!0});if(!v.value)throw D({statusCode:404,statusMessage:"Page Not Found",fatal:!0});const b=v.value.feed,a=v.value.meta,c=J(a==null?void 0:a.current),S=new Date().toISOString().split("T")[0],{data:k,error:F}=([i,_]=O(()=>X("/api/getProducts/?category=216",{key:"products"+w.day},"$dg80Qm7IyA")),i=await i,_(),i);if(F.value)throw console.error(F),D({statusCode:500,statusMessage:"Server error",fatal:!0});const r=k.value.length?k.value[Math.floor(Math.random()*k.value.length)+1]:void 0;r&&(r.link=((I=r.post_content)==null?void 0:I.match(/<a.*?href="(.*?)"/)[1])||null);function G(m){return m.replace(/(?:\.)/g,".<br><br>")}function J(m){return new Date(m).toLocaleDateString("en-US",{weekday:"short",month:"long",year:"numeric",day:"numeric"})}return(m,o)=>{const Z=at,tt=rt,l=lt,et=st,f=xt,nt=yt,ot=pt;return p(),ut(ot,{name:"daily"},{default:d(()=>{var T,j,H,N,E,L,R,$,B,P,V,U,q;return[n("div",null,[s(et,null,{default:d(()=>{var e,h,A,Q,W,K;return[s(Z,{lang:"en"}),s(tt,null,{default:d(()=>[x(u(t(c))+" Daily roundup | Muzli Design Inspiration",1)]),_:1}),s(l,{name:"description",content:"Daily roundup for the most popular content on Muzli. "+t(c)},null,8,["content"]),s(l,{property:"og:title",content:t(c)+" Daily roundup  | Muzli Design Inspiration"},null,8,["content"]),s(l,{property:"og:image",content:(h=(e=t(b))==null?void 0:e.at(0))==null?void 0:h.image},null,8,["content"]),s(l,{property:"og:description",content:"Daily roundup for the most popular content on Muzli. "+t(c)},null,8,["content"]),s(l,{property:"og:url",content:t(C).origin+"/daily/"+((A=t(a))==null?void 0:A.current)},null,8,["content"]),s(l,{name:"twitter:title",content:t(c)+" Daily roundup  | Muzli Design Inspiration"},null,8,["content"]),s(l,{name:"twitter:image",content:(W=(Q=t(b))==null?void 0:Q.at(0))==null?void 0:W.image},null,8,["content"]),s(l,{name:"twitter:description",content:"Daily roundup for the most popular content on Muzli. "+t(c)},null,8,["content"]),s(l,{name:"twitter:url",content:t(C).origin+"/daily/"+((K=t(a))==null?void 0:K.current)},null,8,["content"])]}),_:1}),n("div",wt,[n("div",vt,[o[2]||(o[2]=n("h1",{class:"font-serif text-7xl my-6 capitalize"}," Daily Roundup ",-1)),o[3]||(o[3]=n("h2",{class:"text-xl mt-6 mb-2 font-[200]"}," The most engaged with content on Muzli ",-1)),n("div",bt,[s(f,{class:y([{" bg-[#e2e2e2] pointer-events-none":((T=t(a))==null?void 0:T.previous)=="2023-11-30"},"w-7 text-white text-xl font-[600] h-7 bg-[#26252F] rounded-full align-middle hover:bg-[#2e54ff] transition-[background]"]),to:"/daily/"+((j=t(a))==null?void 0:j.previous)+"/"},{default:d(()=>o[0]||(o[0]=[x("←")])),_:1},8,["class","to"]),n("div",kt,u(t(c)),1),s(f,{to:"/daily/"+((H=t(a))==null?void 0:H.next)+"/",class:y(["w-7 text-white text-xl font-[600] h-7 bg-[#26252F] rounded-full align-middle hover:bg-[#2e54ff] transition-[background]",{" bg-[#e2e2e2] pointer-events-none":((N=t(a))==null?void 0:N.next)==t(S)}])},{default:d(()=>o[1]||(o[1]=[x("→")])),_:1},8,["to","class"])])]),n("div",Dt,[n("div",Mt,[(p(!0),g(gt,null,_t(t(b),(e,h)=>mt((p(),g("article",{key:h},[e.link?(p(),g("a",{key:0,href:`${t(Y).public.muzliProxyUrl}/go?link=${e==null?void 0:e.link}`,target:"_blank",rel:"noreferrer nofollow",class:"text-black"},[s(nt,{placeholder:"",format:"webp",src:e==null?void 0:e.image,loading:"lazy",width:"326",height:"400",sizes:"100vw xs:326px sm:326px md:373px",class:"object-cover object-top rounded-md shadow min-w-[326px] md:w-[373px] md:h-[300px]",alt:e.title},null,8,["src","alt"]),n("div",zt,[n("h3",St,[x(u(e==null?void 0:e.title)+" ",1),n("span",Ft,u(e==null?void 0:e.link.split("?")[0]),1)]),e!=null&&e.description?(p(),g("div",It,[o[4]||(o[4]=n("h4",{class:"font-[400] mb-2 text-[#0000005c] text-xs uppercase"},"Key insights",-1)),n("p",{innerHTML:G(e==null?void 0:e.description),class:"text-sm leading-relaxed"},null,8,Tt)])):M("",!0)])],8,Ct)):M("",!0)])),[[ht,e.link]])),128)),o[5]||(o[5]=n("Script",{async:"",src:"//cdn.carbonads.com/carbon.js?serve=CWYIC5QW&placement=muzli&format=cover",id:"_carbonads_js"},null,-1))])]),n("div",jt,[t(r)?(p(),g("section",Ht,[o[6]||(o[6]=n("p",{class:"uppercase text-center text-xs mb-2 pb-2 border-dotted border-b tracking-widest opacity-60"},"Daily Tool Spotlight",-1)),n("a",{href:(E=t(r))==null?void 0:E.link,target:"_blank",class:"text-black"},[n("h2",{class:"text-center font-serif text-4xl capitalize mb-8",textContent:u((L=t(r))==null?void 0:L.post_title)},null,8,Et),n("img",{src:(R=t(r))==null?void 0:R.img,class:"rounded-sm",alt:($=t(r))==null?void 0:$.post_title,loading:"eager"},null,8,Lt),n("p",{class:"my-4",textContent:u((B=t(r))==null?void 0:B.excerpt)},null,8,Rt)],8,Nt)])):M("",!0),n("div",$t,[s(f,{class:y([{" bg-[#e2e2e2] pointer-events-none":((P=t(a))==null?void 0:P.previous)=="2023-11-29"},"w-7 text-white text-xl font-[600] h-7 bg-[#26252F] rounded-full align-middle hover:bg-[#2e54ff] transition-[background]"]),to:"/daily/"+((V=t(a))==null?void 0:V.previous)+"/"},{default:d(()=>o[7]||(o[7]=[x("←")])),_:1},8,["class","to"]),n("div",Bt,u(t(c)),1),s(f,{to:"/daily/"+((U=t(a))==null?void 0:U.next)+"/",class:y(["w-7 text-white text-xl font-[600] h-7 bg-[#26252F] rounded-full align-middle hover:bg-[#2e54ff] transition-[background]",{" bg-[#e2e2e2] pointer-events-none":((q=t(a))==null?void 0:q.next)==t(S)}])},{default:d(()=>o[8]||(o[8]=[x("→")])),_:1},8,["to","class"])])])])])]}),_:1})}}},Kt=it(Pt,[["__scopeId","data-v-43ca6aaf"]]);export{Kt as default};

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.