PageSourceSearch

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

js rajarepair.id collected 2026-10-06 20:53:46 UTC 5,182 bytes, 1 lines download raw bytes

1import{f as k,u as R,a as D,w as C,o as I,y as h,z as u,C as t,D as l,v as s,F as T,A as S,I as m,B as c,_ as z,t as B,E,X as L,x as f}from"./D5MLA-hU.js";import{I as A}from"./DO7ZADv0.js";import{I as j}from"./pnh8EOCJ.js";import{I as N}from"./CecOVL8Q.js";import{u as V}from"./BZMDioPG.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new n.Error().stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="c426f575-33da-4c71-a154-7189bad7d846",n._sentryDebugIdIdentifier="sentry-dbid-c426f575-33da-4c71-a154-7189bad7d846")}catch{}})();const $={class:"py-16 sm:py-24"},F={class:"mx-auto max-w-7xl px-6"},W={class:"flex items-end justify-between gap-4"},M={class:"display max-w-xl text-3xl text-ink-900 sm:text-4xl"},O=["href"],P={class:"p-7"},U={class:"text-xs font-semibold uppercase tracking-wide text-brand-600"},X={class:"mt-2 text-xl font-semibold leading-snug text-ink-900"},q={class:"mt-2 text-sm leading-relaxed text-ink-700"},G={class:"relative mt-auto"},H=["aria-label","onClick"],J={key:0,"data-wr-keep":"",class:"absolute bottom-16 right-4 z-20 w-64 rounded-2xl bg-white/55 p-4 text-sm font-medium leading-relaxed text-ink-900 shadow-xl shadow-black/25 ring-1 ring-white/60 backdrop-blur-2xl backdrop-saturate-150"},K={class:"relative"},Q={class:"mt-6 flex justify-end gap-2"},Y=["aria-label"],Z=["aria-label"],ee=k({__name:"WhyRepair",setup(n){const{t:e}=R(),{whatsapp:w}=V(),d=D(),x=[{tag:e("whyRepair.card1Tag"),title:e("whyRepair.card1Title"),desc:e("whyRepair.card1Desc"),img:d("/photos/service-process/DSC03395.webp"),detail:e("whyRepair.card1Detail")},{tag:e("whyRepair.card2Tag"),title:e("whyRepair.card2Title"),desc:e("whyRepair.card2Desc"),img:d("/photos/service-process/DSC03413.webp"),detail:e("whyRepair.card2Detail")},{tag:e("whyRepair.card3Tag"),title:e("whyRepair.card3Title"),desc:e("whyRepair.card3Desc"),img:d("/photos/inside-us/DSC03482.webp"),detail:e("whyRepair.card3Detail")},{tag:e("whyRepair.card4Tag"),title:e("whyRepair.card4Title"),desc:e("whyRepair.card4Desc"),img:d("/photos/service-process/DSC03363.webp"),detail:e("whyRepair.card4Detail")},{tag:e("whyRepair.card5Tag"),title:e("whyRepair.card5Title"),desc:e("whyRepair.card5Desc"),img:d("/photos/interior/DSC03330.webp"),detail:e("whyRepair.card5Detail")}],o=f(),y=r=>o.value=o.value===r?void 0:r,_=w(e("whyRepair.waMessage")),g=f(),b=r=>g.value?.scrollBy({left:r*360,behavior:"smooth"});function p(r){r.target.closest("[data-wr-keep]")||(o.value=void 0)}return C(o,r=>{r?document.addEventListener("click",p):document.removeEventListener("click",p)}),I(()=>document.removeEventListener("click",p)),(r,i)=>{const v=z;return h(),u("section",$,[t("div",F,[t("div",W,[t("h2",M,l(s(e)("whyRepair.heading")),1),t("a",{href:s(_),target:"_blank",rel:"noopener",class:"hidden shrink-0 text-sm font-semibold text-brand-600 hover:underline sm:block"},l(s(e)("whyRepair.consultLink")),9,O)]),t("div",{ref_key:"scroller",ref:g,class:"no-scrollbar mt-10 flex snap-x gap-6 overflow-x-auto pb-2"},[(h(),u(T,null,S(x,a=>t("article",{key:a.title,class:m(["flex w-[300px] shrink-0 snap-start flex-col overflow-hidden rounded-3xl border border-slate-200 sm:w-[340px]",s(o)===a.title&&"relative z-30"])},[t("div",P,[t("p",U,l(a.tag),1),t("h3",X,l(a.title),1),t("p",q,l(a.desc),1)]),t("div",G,[c(v,{src:a.img,alt:a.title,format:"webp",sizes:"380px",class:"h-96 w-full object-cover"},null,8,["src","alt"]),t("button",{"aria-label":s(e)("whyRepair.detailAria",{title:a.title}),"data-wr-keep":"",class:m(["absolute bottom-4 right-4 z-20 grid h-10 w-10 place-items-center rounded-full bg-ink-900 text-white shadow-lg transition-transform duration-300 hover:bg-brand-600",s(o)===a.title&&"rotate-45"]),onClick:te=>y(a.title)},[c(s(N),{class:"h-5 w-5"})],10,H),c(L,{"enter-active-class":"transition duration-200","enter-from-class":"opacity-0 translate-y-1","leave-active-class":"transition duration-150","leave-to-class":"opacity-0"},{default:B(()=>[s(o)===a.title?(h(),u("div",J,[i[2]||(i[2]=t("div",{"aria-hidden":"true",class:"pointer-events-none absolute inset-0 rounded-2xl bg-gradient-to-br from-white/55 via-white/5 to-transparent"},null,-1)),i[3]||(i[3]=t("div",{"aria-hidden":"true",class:"pointer-events-none absolute inset-x-3 top-0 h-px rounded-full bg-white/80"},null,-1)),t("p",K,l(a.detail),1),i[4]||(i[4]=t("span",{class:"absolute -bottom-1.5 right-5 h-3 w-3 rotate-45 bg-white/55 ring-1 ring-white/60 backdrop-blur-2xl"},null,-1))])):E("",!0)]),_:2},1024)])],2)),64))],512),t("div",Q,[t("button",{"aria-label":s(e)("whyRepair.prevAria"),class:"grid h-10 w-10 place-items-center rounded-full bg-white text-ink-700 shadow-sm ring-1 ring-black/5 transition-colors duration-300 hover:bg-slate-50",onClick:i[0]||(i[0]=a=>b(-1))},[c(s(A),{class:"h-5 w-5"})],8,Y),t("button",{"aria-label":s(e)("whyRepair.nextAria"),class:"grid h-10 w-10 place-items-center rounded-full bg-white text-ink-700 shadow-sm ring-1 ring-black/5 transition-colors duration-300 hover:bg-slate-50",onClick:i[1]||(i[1]=a=>b(1))},[c(s(j),{class:"h-5 w-5"})],8,Z)])])])}}}),ne=Object.assign(ee,{__name:"WhyRepair"});export{ne as _};

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.