PageSourceSearch

https://www.rewasd.com/_nuxt/CvhuOJgJ.js

js rewasd.com collected 2026-10-03 21:39:10 UTC 5,222 bytes, 1 lines download raw bytes

1import{B as $,_ as P,u as k}from"./CTvbFbmV.js";import{u as M,H as S,d as A,q as C,a as E,w as I,c as R,I as U,o as W,f as z,h as e,i as p,l as H,t as h,g as i,J as T,b as N,m as j,e as B,k as q,A as V,p as F}from"./CFxGRstO.js";import{_ as J}from"./6HuN2jx9.js";import{u as G}from"./DgWXIIjn.js";import"./Bnx8nLGV.js";import{f as Y}from"./DTmlr7-P.js";import{p as K}from"./CwOHyHLb.js";import"./Cpj98o6Y.js";import"./B2a-ywG8.js";import"./BWBHGvIx.js";import"./-vsEa_js.js";import"./CVJ1DiYa.js";import"./DlAUqK2U.js";import"./B0kMgEDL.js";import"./BxawZQSS.js";import"./DzpbyIkv.js";import"./CdviQ7zO.js";import"./C16c000V.js";import"./QjJsDpFa.js";import"./C5U6HIMD.js";import"./Db0QUOgG.js";import"./CbPSoDvq.js";import"./D4S0JsTk.js";import"./owSR78tJ.js";async function Q(t,s){const{localeProperties:r}=M(),o=`https://www.rewasd.com/blog/post/${t.slug}`,m=[{"@type":"BlogPosting","@id":`${o}#article`,isPartOf:{"@id":"https://www.rewasd.com/#website"},mainEntityOfPage:{"@id":`${o}#webpage`},headline:t.title,name:t.title,description:t.seoDescription,image:{"@type":"ImageObject",url:t.topImageUrl},datePublished:t.publishedAt,dateModified:t.updatedAt||t.publishedAt,author:{"@type":"Organization","@id":"https://www.rewasd.com/#organization",name:"reWASD",url:"https://www.rewasd.com"},publisher:{"@type":"Organization","@id":"https://www.rewasd.com/#organization",name:"reWASD",url:"https://www.rewasd.com",logo:{"@type":"ImageObject",url:"https://cdn.rewasd.com/images/logo-header.svg"}},inLanguage:r.value.language,url:o,wordCount:1850,articleSection:"Guides",about:{"@id":"https://www.rewasd.com/#software"}},{"@type":"WebPage","@id":`${o}#webpage`,url:o,name:t.seoTitle,description:t.seoDescription,isPartOf:{"@id":"https://www.rewasd.com/#website"},primaryImageOfPage:{"@type":"ImageObject",url:t.topImageUrl},breadcrumb:{"@id":`${o}#breadcrumb`},inLanguage:r.value.language,datePublished:t.publishedAt,dateModified:t.updatedAt||t.publishedAt,publisher:{"@type":"Organization","@id":"https://www.rewasd.com/#organization",name:"reWASD",url:"https://www.rewasd.com",logo:{"@type":"ImageObject",url:"https://cdn.rewasd.com/images/logo-header.svg"}}},{"@type":"BreadcrumbList","@id":`${o}#breadcrumb`,itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://www.rewasd.com"},{"@type":"ListItem",position:2,name:"Blog",item:"https://www.rewasd.com/blog"},{"@type":"ListItem",position:3,name:t.title,item:o}]}];s.length>1&&m.push({"@type":"ItemList","@id":`${o}#related-articles`,name:"Related Articles",description:"Related articles and resources.",numberOfItems:s.length,itemListElement:s.map((d,u)=>({"@type":"ListItem",position:u+1,name:d.title,url:`https://www.rewasd.com/blog/post/${d.slug}`}))}),S(m)}const X={class:"blog-page-inside"},Z={class:"container tw-py-4 md:tw-py-6"},tt={class:"md:tw-pl-6","aria-label":"breadcrumb"},et={class:"tw-flex tw-flex-wrap tw-gap-2 tw-list-none tw-pl-0 tw-mb-10"},st={class:"breadcrumb-item"},ot={class:"breadcrumb-item active"},at={class:"tw-py-12"},it={class:"lg:tw-w-10/12 xl:tw-w-9/12 tw-mx-auto blog-post-container"},rt={class:"tw-text-h2 !tw-text-yellow tw-text-center !tw-mb-4 md:!tw-mb-12"},nt={class:"tw-flex tw-flex-wrap !tw-my-4 tw-text-white/50"},lt={class:"tw-mr-4 tw-flex date-post"},ct=["innerHTML"],mt={class:"popular-news tw-py-12 !tw-bg-dark"},dt={class:"container tw-mb-6 lg:tw-w-10/12 xl:!tw-pl-6"},pt={class:"tw-text-h2 !tw-leading-normal !tw-mb-6 !tw-text-yellow"},ut=A({__name:"BlogPostPage",async setup(t){let s,r;const o=T(),m=C(),{onDownload:d}=G(),{fetchPosts:u}=k(),_=E(),O=_.params.slug,b=_.query.id;let w="/api/blog/posts";b?w+=`?id=${b}`:w+=`?slug=${O}`;const a=([s,r]=I(()=>N(w)),s=await s,r(),s);if(!a.value)throw R({statusCode:404});const{posts:f}=([s,r]=I(()=>u({popular:!0,randomOrder:!0},{limit:3})),s=await s,r(),s),y=j(()=>f.value?f.value.data:[]);return U({title:a.value.seoTitle,description:a.value.seoDescription}),Q(a.value,y.value),W(()=>{const v=document.querySelectorAll(".blog-post-detailed a");for(const l of v)l.addEventListener("click",c=>{const g=c.target.getAttribute("href")||"";if(g.startsWith("#")||g.startsWith("mailto:"))return;const x=o.public.siteUrl,D=new URL(x).host,L=new URL(g,x);L.host===D&&(c.preventDefault(),m.push(L.pathname))});const n=document.getElementsByClassName("btn-download");for(let l=0;l<n.length;l++)n[l].addEventListener("click",c=>{c.preventDefault(),d()})}),(v,n)=>{const l=J,c=V;return B(),z("div",null,[e("section",X,[e("div",Z,[e("nav",tt,[e("ol",et,[e("li",st,[p(l,{href:"/blog",class:"tw-text-inherit hover:tw-opacity-90"},{default:H(()=>[...n[0]||(n[0]=[q(" Blog ",-1)])]),_:1})]),e("li",ot,h(i(a).title),1)])]),e("div",at,[e("div",it,[e("h1",rt,h(i(a).title),1),e("div",nt,[e("div",lt,[n[1]||(n[1]=e("i",{class:"ico-date-range"},null,-1)),e("span",null,h(i(Y)(i(K)(i(a).publishedAt),"MMMM dd, yyyy")),1)]),p($,{categories:i(a).categories,"is-post-page":""},null,8,["categories"])]),e("div",{class:"blog-post-detailed",innerHTML:i(a).content},null,8,ct)])])])]),e("section",mt,[e("div",dt,[e("h2",pt,[p(c,{text:"You may also like"})]),p(P,{posts:i(y)},null,8,["posts"])])])])}}}),Wt=A({__name:"[slug]",setup(t){return(s,r)=>(B(),F(i(ut)))}});
1export{Wt 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.