PageSourceSearch

https://mythoria.pt/_next/static/chunks/1hs9lkpje7z06.js

js mythoria.pt collected 2026-10-06 07:24:04 UTC 6,138 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,149882,e=>{"use strict";let t=(0,e.i(456420).default)("calendar",[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]]);e.s(["Calendar",0,t],149882)},474544,e=>{"use strict";let t=(0,e.i(456420).default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);e.s(["Clock",0,t],474544)},656982,e=>{"use strict";var t=e.i(843476),s=e.i(522016),r=e.i(657688),a=e.i(149882),l=e.i(474544);function n({text:e,className:s}){let r,a=(r=(r=(r=(r=(e||"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")).replace(/\[([^\]]+)\]\(([^)\s]+)(?:\s+"([^"]*)")?\)/g,(e,t,s,r)=>{let a=(s||"").trim(),l=a.toLowerCase(),n=a.startsWith("/")||a.startsWith("./")||a.startsWith("../")||a.startsWith("#"),i=l.startsWith("http://")||l.startsWith("https://"),c=l.startsWith("mailto:")||l.startsWith("tel:");if(!(n||i||c))return t;let o=r?` title="${r}"`:"";return`<a href="${a}"${i?' target="_blank"':""}${i?' rel="nofollow noreferrer noopener"':""}${o}>${t}</a>`})).replace(/(\*\*|__)(.*?)\1/g,"<strong>$2</strong>")).replace(/(\*|_)([^\s][^*_/]*?)\1/g,"<em>$2</em>")).replace(/\r?\n/g,"<br/>");return(0,t.jsx)("p",{className:s,dangerouslySetInnerHTML:{__html:a}})}var i=e.i(278789),c=e.i(858697);e.s(["default",0,function({posts:e,locale:o,currentPage:d,postsPerPage:m,translations:h}){return(0,t.jsx)("div",{className:"min-h-screen bg-base-100",children:(0,t.jsxs)("div",{className:"container mx-auto px-4 py-12",children:[(0,t.jsx)(i.default,{children:(0,t.jsxs)("header",{className:"text-center mb-8",children:[(0,t.jsx)("h1",{className:"text-5xl font-bold text-primary",children:h.title}),(0,t.jsx)("p",{className:"text-xl mt-4 text-gray-700",children:h.subtitle})]})}),(0,t.jsx)(i.default,{delay:100,children:(0,t.jsxs)("section",{className:"max-w-6xl mx-auto px-4 pt-8 pb-8",children:[e&&0!==e.length?(0,t.jsx)("div",{className:"grid gap-8 md:gap-12",children:e.map((e,d)=>{let m;return(0,t.jsx)(i.default,{delay:200+100*d,threshold:.1,rootMargin:"0px 0px -20px 0px",children:(0,t.jsxs)("article",{className:`card lg:card-side bg-base-100 shadow-lg hover:shadow-xl transition-all duration-300 border border-base-300 ${d%2==1?"lg:flex-row-reverse":""}`,children:[(0,t.jsx)("div",{className:"lg:w-2/5",children:(0,t.jsx)("figure",{className:"h-64 lg:h-full",children:(0,t.jsx)(r.default,{src:e.heroImageUrl||"/placeholder-story-image.jpg",alt:e.title,width:600,height:400,className:"w-full h-full object-cover",unoptimized:e.heroImageUrl?.startsWith("http")})})}),(0,t.jsxs)("div",{className:"lg:w-3/5 card-body p-8",children:[(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-4 text-sm text-base-content/60 mb-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(a.Calendar,{className:"w-4 h-4"}),(0,t.jsxs)("span",{children:[h.publishedOn," ",(0,c.formatDate)(e.publishedAt,{locale:o,year:"numeric",month:"long",day:"numeric"})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(l.Clock,{className:"w-4 h-4"}),(0,t.jsxs)("span",{children:[Math.max(1,Math.ceil(((m=(e.contentMdx??e.summary).replace(/```[\s\S]*?```/g," ").replace(/!\[[^\]]*\]\([^)]*\)/g," ").replace(/\[([^\]]+)\]\([^)]*\)/g,"$1").replace(/`([^`]*)`/g,"$1").replace(/[#*_>]+/g," ").replace(/<[^>]+>/g," ").replace(/\s+/g," ").trim())?m.split(/\s+/).length:0)/200))," ",h.readingTime]})]})]}),(0,t.jsx)("h2",{className:"card-title text-2xl md:text-3xl mb-4 line-clamp-2",children:(0,t.jsx)(s.default,{href:`/${o}/blog/${e.slug}`,className:"hover:text-primary transition-colors",children:e.title})}),(0,t.jsx)(n,{text:e.summary,className:"text-base-content/80 leading-relaxed mb-6 line-clamp-3"}),(0,t.jsx)("div",{className:"card-actions justify-end",children:(0,t.jsxs)(s.default,{href:`/${o}/blog/${e.slug}`,className:"btn btn-primary btn-outline hover:btn-primary",children:[h.readMore,(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4 ml-2",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})})]})]})},e.id)})}):(0,t.jsx)("div",{className:"text-center py-16",children:(0,t.jsxs)("div",{className:"mb-8",children:[(0,t.jsx)("div",{className:"text-6xl mb-4",children:"📜"}),(0,t.jsx)("h2",{className:"text-2xl font-bold mb-4",children:h.noPostsFound}),(0,t.jsx)("p",{className:"text-base-content/70 max-w-md mx-auto",children:h.noPostsFoundDescription})]})}),e&&e.length===m&&(0,t.jsx)(i.default,{delay:100,children:(0,t.jsx)("div",{className:"text-center mt-16",children:(0,t.jsx)(s.default,{href:`/${o}
1/blog?page=${d+1}`,className:"btn btn-primary btn-lg",children:h.loadMore})})})]})})]})})}],656982)},278789,e=>{"use strict";var t=e.i(843476),s=e.i(271645);e.s(["default",0,({children:e,delay:r=0,className:a="",threshold:l=.15,rootMargin:n="0px 0px -80px 0px"})=>{let i=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e,t,s=i.current;if(!s)return;if(e=s.getBoundingClientRect(),t=window.innerHeight||document.documentElement.clientHeight,e.top<.75*t){s.style.opacity="1",s.style.transform="translateY(0)";return}s.style.opacity="0",s.style.transform="translateY(40px)";let a=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(setTimeout(()=>{let t=e.target;t.style.opacity="1",t.style.transform="translateY(0)"},r),a.unobserve(e.target))})},{threshold:l,rootMargin:n});return a.observe(s),()=>{s&&a.unobserve(s)}},[r,l,n]),(0,t.jsx)("div",{ref:i,className:a,style:{opacity:1,transform:"translateY(0)",transition:"opacity 1s ease-out, transform 1s ease-out",willChange:"opacity, transform"},children:e})}])},858697,e=>{"use strict";e.s(["formatDate",0,function(e,t={}){let{locale:s="en-US",...r}=t,a="string"==typeof e||"number"==typeof e?new Date(e):e;return isNaN(a.getTime())?"-":new Intl.DateTimeFormat(s,r).format(a)}])}]);

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.