PageSourceSearch

https://rajarepair.id/_rr/h1YYijna.js

js rajarepair.id collected 2026-10-06 20:54:39 UTC 11,360 bytes, 1 lines download raw bytes

1import{_ as K}from"./3EBg3iUg.js";import{f as H,u as N,z as l,C as a,D as n,v as e,F as E,A as R,I as U,s as k,B as h,t as I,X as Q,i as Y,x as q,y as s,a0 as Z,$ as ee,E as u,e as te,ad as ae,R as F,S as A,ae as se,r as oe,o as ne,ab as re,G as j,H as P,U as le,q as ie,V as ce,P as de}from"./D5MLA-hU.js";import{c as D}from"./D_rngVSp.js";import{I as ue}from"./Dv4Z5I8w.js";import{I as pe}from"./BnqRJifm.js";import{_ as he}from"./DcLXeWJj.js";import{I as V}from"./B4f5qzlA.js";import{I as me}from"./BJWMK5l4.js";import{I as _e}from"./wgDUu9Q_.js";import{I as ge}from"./d_9JiB03.js";import{a as L,b as be,i as fe,l as xe,f as ve}from"./CE_miPw0.js";import{d as ye,u as ke,b as we,a as Ie}from"./BsSRCWlq.js";import"./B1_oImu8.js";import"./DU6cNFPH.js";import"./DxIERjcP.js";import"./BZMDioPG.js";import"./DnT6CYIS.js";(function(){try{var m=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new m.Error().stack;i&&(m._sentryDebugIds=m._sentryDebugIds||{},m._sentryDebugIds[i]="8d5b8658-c402-4e4f-b35f-7bee503ebedd",m._sentryDebugIdIdentifier="sentry-dbid-8d5b8658-c402-4e4f-b35f-7bee503ebedd")}catch{}})();var De=D("outline","brand-facebook","BrandFacebook",[["path",{d:"M7 10v4h3v7h4v-7h3l1 -4h-4v-2a1 1 0 0 1 1 -1h3v-4h-3a5 5 0 0 0 -5 5v2h-3",key:"svg-0"}]]);var $e=D("outline","brand-linkedin","BrandLinkedin",[["path",{d:"M8 11v5",key:"svg-0"}],["path",{d:"M8 8v.01",key:"svg-1"}],["path",{d:"M12 16v-5",key:"svg-2"}],["path",{d:"M16 16v-3a2 2 0 1 0 -4 0",key:"svg-3"}],["path",{d:"M3 7a4 4 0 0 1 4 -4h10a4 4 0 0 1 4 4v10a4 4 0 0 1 -4 4h-10a4 4 0 0 1 -4 -4l0 -10",key:"svg-4"}]]);var Be=D("outline","brand-telegram","BrandTelegram",[["path",{d:"M15 10l-4 4l6 6l4 -16l-18 7l4 2l2 6l3 -4",key:"svg-0"}]]);var Ce=D("outline","brand-x","BrandX",[["path",{d:"M4 4l11.733 16h4.267l-11.733 -16l-4.267 0",key:"svg-0"}],["path",{d:"M4 20l6.768 -6.768m2.46 -2.46l6.772 -6.772",key:"svg-1"}]]);var Me=D("outline","link","Link",[["path",{d:"M9 15l6 -6",key:"svg-0"}],["path",{d:"M11 6l.463 -.536a5 5 0 0 1 7.071 7.072l-.534 .464",key:"svg-1"}],["path",{d:"M13 18l-.397 .534a5.068 5.068 0 0 1 -7.127 0a4.972 4.972 0 0 1 0 -7.071l.524 -.463",key:"svg-2"}]]);const Se={class:"mt-12 flex flex-wrap items-center gap-3 rounded-2xl border border-slate-100 bg-slate-50/60 px-5 py-4"},je={class:"text-sm font-semibold text-ink-900"},Le={class:"flex flex-wrap items-center gap-2.5"},Te=["href","aria-label"],Ae=["aria-label"],Ee={key:0,class:"text-xs font-medium text-success-500"},Re=H({__name:"ShareButtons",props:{url:{},title:{}},setup(m){const{t:i}=N(),r=m,c=w=>encodeURIComponent(w),f=Y(()=>[{key:"wa",label:"WhatsApp",icon:ue,color:"#25D366",href:`https://wa.me/?text=${c(`${r.title} ${r.url}`)}`},{key:"fb",label:"Facebook",icon:De,color:"#1877F2",href:`https://www.facebook.com/sharer/sharer.php?u=${c(r.url)}`},{key:"x",label:"X",icon:Ce,color:"#0f0f0f",href:`https://twitter.com/intent/tweet?url=${c(r.url)}&text=${c(r.title)}`},{key:"tg",label:"Telegram",icon:Be,color:"#26A5E4",href:`https://t.me/share/url?url=${c(r.url)}&text=${c(r.title)}`},{key:"li",label:"LinkedIn",icon:$e,color:"#0A66C2",href:`https://www.linkedin.com/sharing/share-offsite/?url=${c(r.url)}`}]),o=q(!1);async function $(){try{await navigator.clipboard.writeText(r.url),o.value=!0,setTimeout(()=>o.value=!1,1800)}catch{}}return(w,y)=>(s(),l("div",Se,[a("span",je,n(e(i)("articleDetail.share")),1),a("div",Le,[(s(!0),l(E,null,R(e(f),_=>(s(),l("a",{key:_.key,href:_.href,target:"_blank",rel:"noopener noreferrer","aria-label":_.label,class:"liquid-glass grid h-10 w-10 place-items-center rounded-full text-ink-900 transition-all duration-300 hover:-translate-y-0.5 hover:[color:var(--hov)]",style:Z({"--hov":_.color})},[(s(),k(ee(_.icon),{class:"h-5 w-5"}))],12,Te))),128)),a("button",{type:"button","aria-label":e(i)("articleDetail.copyLink"),class:U(["liquid-glass grid h-10 w-10 place-items-center rounded-full transition-all duration-300 hover:-translate-y-0.5",e(o)?"text-success-500":"text-ink-900"]),onClick:$},[e(o)?(s(),k(e(pe),{key:0,class:"h-5 w-5"})):(s(),k(e(Me),{key:1,class:"h-5 w-5"}))],10,Ae),h(Q,{"enter-active-class":"transition-opacity duration-200","enter-from-class":"opacity-0","leave-active-class":"transition-opacity duration-200","leave-to-class":"opacity-0"},{default:I(()=>
1[e(o)?(s(),l("span",Ee,n(e(i)("articleDetail.copied")),1)):u("",!0)]),_:1})])]))}}),Fe=Object.assign(Re,{__name:"ShareButtons"}),Pe={key:0,class:"bg-white pb-24 pt-32 sm:pt-40"},Ve={class:"mx-auto max-w-6xl px-6 lg:grid lg:grid-cols-[230px_minmax(0,1fr)] lg:gap-x-12"},He={key:0,class:"hidden lg:block"},Ne={class:"sticky top-28"},Ue={class:"text-xs font-semibold uppercase tracking-wide text-slate-500"},qe={class:"mt-4 space-y-0.5 border-l border-slate-200"},ze=["href","onClick"],Oe={class:"max-w-3xl"},Xe={class:"flex items-center gap-2 text-sm text-slate-500"},Ge={class:"mt-8"},We={class:"rounded-full bg-brand-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-brand-700"},Je={class:"display mt-4 text-3xl leading-tight text-ink-900 sm:text-4xl"},Ke={class:"mt-4 flex flex-wrap items-center gap-x-3 gap-y-1 text-sm text-slate-500"},Qe={key:0,class:"inline-flex items-center gap-1.5"},Ye={key:1,"aria-hidden":"true",class:"text-slate-300"},Ze={class:"inline-flex items-center gap-1.5"},et=["src","alt"],tt=["innerHTML"],at={key:1,class:"mt-10 flex flex-wrap gap-2"},st={key:2,class:"mt-12 grid gap-4 border-t border-slate-100 pt-8 sm:grid-cols-2"},ot={class:"min-w-0"},nt={class:"block text-xs font-semibold uppercase tracking-wide text-slate-500"},rt={class:"mt-0.5 line-clamp-1 font-semibold text-ink-900 transition-colors group-hover:text-brand-600"},lt={class:"min-w-0"},it={class:"block text-xs font-semibold uppercase tracking-wide text-slate-500"},ct={class:"mt-0.5 line-clamp-1 font-semibold text-ink-900 transition-colors group-hover:text-brand-600"},dt="Raja Repair Digital",Mt=H({__name:"[slug]",async setup(m){let i,r;const c=te(),f=ae(),{t:o,locale:$}=N(),w=String(c.params.slug),{data:y,error:_}=([i,r]=F(()=>le(`cms-article-${$.value}-${w}`,()=>ve(w,$.value))),i=await i,r(),i);if(_.value)throw _.value.statusCode===404?A({statusCode:404,statusMessage:o("articleDetail.notFound")}):A({statusCode:503,statusMessage:o("articleDetail.unavailable")});if(!y.value)throw A({statusCode:404,statusMessage:o("articleDetail.notFound")});const B=f(L(y.value.catSlug,y.value.slug)),z=/^[a-z0-9-]+$/;c.path!==B&&z.test(y.value.slug)&&([i,r]=F(()=>ie(B,{})),await i,r());const t=y.value,O=`${se().url}${B}`,{html:X,toc:C}=be(t.body),M=t.next??t.prev,G=M?{href:f(L(M.catSlug,M.slug)),title:M.title}:null,W=fe(xe(X,f),G,o("articleDetail.readAlso")),T=q("");function J(g){const x=document.getElementById(g);x&&(x.scrollIntoView({behavior:"smooth"}),T.value=g,history.replaceState(null,"",`#${g}`))}return oe(()=>{const g=C.map(p=>document.getElementById(p.id)).filter(p=>!!p);if(!g.length)return;const x=new Set,v=new IntersectionObserver(p=>{for(const b of p)b.isIntersecting?x.add(b.target.id):x.delete(b.target.id);const S=C.find(b=>x.has(b.id));S&&(T.value=S.id)},{rootMargin:"-88px 0px -66% 0px"});g.forEach(p=>v.observe(p)),ne(()=>v.disconnect())}),re({title:t.seoTitle,meta:[{name:"description",content:t.seoDesc},{property:"og:type",content:"article"},{property:"og:title",content:t.title},{property:"og:description",content:t.excerpt},{property:"article:published_time",content:t.publishedAt??void 0},{property:"article:section",content:t.cat||void 0}]}),ye("RR",{title:t.title,description:t.excerpt}),ke([we({headline:t.title,description:t.excerpt,datePublished:t.publishedAt??void 0,author:{"@id":"https://rajarepair.id/#identity"}}),Ie({itemListElement:[{name:"Beranda",item:f("/")},{name:o("informasi.eyebrow"),item:f("/informasi")},{name:t.title,item:B}]})]),(g,x)=>{const v=K,p=Fe,S=he,b=ce("reveal");return e(t)?(s(),l("article",Pe,[a("div",Ve,[e(C).length?(s(),l("aside",He,[a("nav",Ne,[a("p",Ue,n(e(o)("articleDetail.toc")),1),a("ul",qe,[(s(!0),l(E,null,R(e(C),d=>(s(),l("li",{key:d.id},[a("a",{href:`#${d.id}`,class:U(["-ml-px block border-l-2 py-1.5 text-sm leading-snug transition-colors",[d.level===3?"pl-8":"pl-4",e(T)===d.id?"border-brand-500 font-semibold text-brand-600":"border-transparent text-slate-500 hover:text-ink-900"]]),onClick:de(ut=>J(d.id),["prevent"])},n(d.text),11,ze)]))),128))])])])):u("",!0),a("div",Oe,[a("nav",Xe,[h(v,{to:"/informasi",class:"inline-flex items-center gap-1.5 transition-colors hover:text-brand-600"},{default:I(()=>[h(e(V),{class:"h-4 w-4"}),j(" "+n(e(o)("articleDetail.back")),1)]),_:1}
1)]),a("header",Ge,[a("span",We,n(e(t).cat),1),a("h1",Je,n(e(t).title),1),a("div",Ke,[e(t).date?(s(),l("span",Qe,[h(e(_e),{class:"h-4 w-4"}),j(" "+n(e(o)("articleDetail.published"))+" "+n(e(t).date),1)])):u("",!0),e(t).date?(s(),l("span",Ye,"·")):u("",!0),a("span",Ze,[h(e(ge),{class:"h-4 w-4"}),j(" "+n(e(o)("articleDetail.by"))+" "+n(dt),1)])])]),e(t).coverImage?(s(),l("img",{key:0,src:e(t).coverImage,alt:e(t).title,class:"mt-8 aspect-[1200/630] w-full rounded-3xl object-cover"},null,8,et)):u("",!0),a("div",{class:"mt-10 text-lg text-ink-700 [&_.baca-juga]:my-8 [&_.baca-juga]:rounded-2xl [&_.baca-juga]:bg-brand-50/60 [&_.baca-juga]:px-5 [&_.baca-juga]:py-4 [&_.baca-juga]:text-base [&_.baca-juga_strong]:text-brand-700 [&_.baca-juga_a]:font-semibold [&_.baca-juga_a]:no-underline hover:[&_.baca-juga_a]:underline [&_a]:font-medium [&_a]:text-brand-600 [&_a]:underline [&_h2]:mt-12 [&_h2]:scroll-mt-28 [&_h2]:text-3xl [&_h2]:font-semibold [&_h2]:text-ink-900 [&_h3]:mt-8 [&_h3]:scroll-mt-28 [&_h3]:text-2xl [&_h3]:font-semibold [&_h3]:text-ink-900 [&_img]:mt-6 [&_img]:rounded-2xl [&_li]:mt-2 [&_li]:leading-8 [&_ol]:mt-5 [&_ol]:list-decimal [&_ol]:pl-6 [&_p]:mt-5 [&_p]:leading-8 [&_ul]:mt-5 [&_ul]:list-disc [&_ul]:pl-6",innerHTML:e(W)},null,8,tt),h(p,{url:O,title:e(t).title},null,8,["title"]),e(t).tags.length?(s(),l("div",at,[(s(!0),l(E,null,R(e(t).tags,d=>(s(),k(v,{key:d,to:{path:"/informasi",query:{tag:d}},class:"rounded-full bg-slate-100 px-3 py-1 text-xs font-medium text-slate-500 transition-colors hover:bg-brand-50 hover:text-brand-700"},{default:I(()=>[j(" #"+n(d),1)]),_:2},1032,["to"]))),128))])):u("",!0),e(t).prev||e(t).next?P((s(),l("nav",st,[e(t).prev?(s(),k(v,{key:0,to:e(L)(e(t).prev.catSlug,e(t).prev.slug),class:"group flex items-center gap-3 rounded-2xl border border-slate-100 p-4 transition-all duration-300 hover:border-brand-200 hover:shadow-sm"},{default:I(()=>[h(e(V),{class:"h-5 w-5 shrink-0 text-slate-400 transition-all duration-300 group-hover:-translate-x-0.5 group-hover:text-brand-600"}),a("span",ot,[a("span",nt,n(e(o)("articleDetail.prev")),1),a("span",rt,n(e(t).prev.title),1)])]),_:1},8,["to"])):u("",!0),e(t).next?(s(),k(v,{key:1,to:e(L)(e(t).next.catSlug,e(t).next.slug),class:"group flex items-center justify-end gap-3 rounded-2xl border border-slate-100 p-4 text-right transition-all duration-300 hover:border-brand-200 hover:shadow-sm sm:col-start-2"},{default:I(()=>[a("span",lt,[a("span",it,n(e(o)("articleDetail.next")),1),a("span",ct,n(e(t).next.title),1)]),h(e(me),{class:"h-5 w-5 shrink-0 text-slate-400 transition-all duration-300 group-hover:translate-x-0.5 group-hover:text-brand-600"})]),_:1},8,["to"])):u("",!0)])),[[b]]):u("",!0)])]),P(h(S,null,null,512),[[b]])])):u("",!0)}}});export{Mt 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.