PageSourceSearch

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

js rajarepair.id collected 2026-10-06 20:53:02 UTC 27,523 bytes, 1 lines download raw bytes

1import{al as de,u as z,m as ue,i as C,f as F,w as he,r as K,o as X,y as a,s as b,X as E,t as h,v as e,z as r,I as L,B as n,am as pe,F as S,A as R,D as l,E as x,C as t,G as w,x as j,an as me,Y as G,a0 as Q,O as ge,a as se,ao as fe,c as be,H as P,ak as O,_ as ne,L as ve,$ as te,P as xe,e as _e,Q as we}from"./D5MLA-hU.js";import{_ as ye}from"./CoWzrNuT.js";import{_ as J}from"./3EBg3iUg.js";import{I as ke}from"./BJWMK5l4.js";import{I as Z}from"./DhOByWcj.js";import{s as ae}from"./GhFrNfLP.js";import{_ as $e}from"./B1_oImu8.js";import{I as Ie}from"./BnqRJifm.js";import{c as Y}from"./D_rngVSp.js";import{I as V}from"./Dvq-jn9A.js";import{I as Me,a as Ce}from"./D06dgW5T.js";import{I as Te}from"./Buzkb953.js";import{I as Le}from"./pnh8EOCJ.js";import{I as le}from"./DzA_gxR7.js";import{I as Se}from"./BY2V9zNy.js";import{I as re}from"./BRJAA2SD.js";import{I as Be}from"./BdbZa608.js";import{I as De}from"./BLoYK7Cq.js";import{I as oe}from"./smtibKhs.js";import{u as ie,I as Re}from"./BZMDioPG.js";import{f as je}from"./RsnzuqlS.js";import{_ as qe,a as Ne}from"./CreY1V4B.js";import{I as Ae}from"./DxIERjcP.js";import{s as Ee}from"./Ck-FMuyM.js";(function(){try{var k=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new k.Error().stack;i&&(k._sentryDebugIds=k._sentryDebugIds||{},k._sentryDebugIds[i]="cd9b5ba5-2bc6-4e88-8f5b-ba5a9ab901de",k._sentryDebugIdIdentifier="sentry-dbid-cd9b5ba5-2bc6-4e88-8f5b-ba5a9ab901de")}catch{}})();var He=Y("outline","hand-stop","HandStop",[["path",{d:"M8 13v-7.5a1.5 1.5 0 0 1 3 0v6.5",key:"svg-0"}],["path",{d:"M11 5.5v-2a1.5 1.5 0 1 1 3 0v8.5",key:"svg-1"}],["path",{d:"M14 5.5a1.5 1.5 0 0 1 3 0v6.5",key:"svg-2"}],["path",{d:"M17 7.5a1.5 1.5 0 0 1 3 0v8.5a6 6 0 0 1 -6 6h-2h.208a6 6 0 0 1 -5.012 -2.7a69.74 69.74 0 0 1 -.196 -.3c-.312 -.479 -1.407 -2.388 -3.286 -5.728a1.5 1.5 0 0 1 .536 -2.022a1.867 1.867 0 0 1 2.28 .28l1.47 1.47",key:"svg-3"}]]);var ze=Y("outline","info-circle","InfoCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]]);var Pe=Y("outline","menu-2","Menu2",[["path",{d:"M4 6l16 0",key:"svg-0"}],["path",{d:"M4 12l16 0",key:"svg-1"}],["path",{d:"M4 18l16 0",key:"svg-2"}]]);var Oe=Y("outline","world","World",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M3.6 9h16.8",key:"svg-1"}],["path",{d:"M3.6 15h16.8",key:"svg-2"}],["path",{d:"M11.5 3a17 17 0 0 0 0 18",key:"svg-3"}],["path",{d:"M12.5 3a17 17 0 0 1 0 18",key:"svg-4"}]]);const Fe="2.5rem";function ce(){const k=de("rr_promo",{maxAge:2592e3,sameSite:"lax",secure:!0}),{locale:i}=z(),{data:s}=ue(`cms-announcements-${i.value}`,()=>$fetch("/api/v1/cms/announcements",{query:{locale:i.value}}).then(d=>d.data??[]),{default:()=>[],server:!1,getCachedData:(d,v)=>v.static.data[d]??v.payload.data[d]}),f=C(()=>(s.value??[]).map(d=>({id:d.id,message:d.message,cta:d.cta??void 0,countdownTo:d.countdownTo}))),u=C(()=>f.value.map(d=>d.id).join("|")),_=C(()=>f.value.length>0&&k.value!==u.value);return{promos:f,visible:_,dismiss:()=>{k.value=u.value}}}const We={key:0,class:"hidden items-center gap-1 sm:flex"},Ye={class:"flex items-center truncate text-sm font-semibold text-ink-900"},Ue=["aria-label"],Ve=F({__name:"AnnouncementBar",setup(k){const{t:i}=z(),{promos:s,visible:f,dismiss:u}=ce(),_=j(0),m=C(()=>s.value[_.value%Math.max(1,s.value.length)]??s.value[0]);he(()=>s.value.length,()=>{_.value=0});const d=j(0);let v,M;const q=j(!1),$=()=>q.value=window.scrollY>24;K(()=>{d.value=Date.now(),v=ae(()=>d.value=Date.now(),1e3),M=ae(()=>{s.value.length>1&&(_.value=(_.value+1)%s.value.length)},6e3),window.addEventListener("scroll",$,{passive:!0}),$()}),X(()=>{clearInterval(v),clearInterval(M),window.removeEventListener("scroll",$)});const I=C(()=>{if(!m.value?.countdownTo||!d.value)return null;const p=new Date(m.value.countdownTo).getTime()-d.value;if(p<=0)return null;const c=Math.floor(p/864e5),B=Math.floor(p/36e5)%24,T=Math.floor(p/6e4)%60,D=Math.floor(p/1e3)%60;return[`${c}${i("announcementBar.unitDay")}`,`${B}${i("announcementBar.unitHour")}`,`${T}${i("announcementBar.unitMin")}`,`${D}${i("announcementBar.unitSec")}`]});return(p,c)=>{const B=pe,T=ye,D=J;return a(),b(E,{"enter-active-class":"transition-transform duration-300 ease-out","enter-from-class":"-translate-y-full","leave-active-class":"transition-transform duration-300 ease-in","leave-to-class":"-translate-y-full"},{default:h(()=>[e(f)?(a(),r("div",{key:0,class:L(["fixed inset-x-0 top-0 z-[55] h-10 border-b transition-colors duration-300",e(q)?"border-white/40 bg-white/75 shadow-sm shadow-black/5 backdrop-blur-md":"border-brand-100 bg-gradient-to-r from-brand-50 via-white to-brand-50"])},[n(E,{mode:"out-in","enter-active-class":"transition-opacity duration-300 ease-out","enter-from-class":"opacity-0","leave-active-class":"transition-opacity duration-200 ease-in","leave-to-class":"opacity-0"},{default:h(()=>[e(m)?(a(),r("div",{key:e(m).id,class:"mx-auto flex h-full max-w-7xl items-center justify-center gap-3 px-12"},[n(B,null,{default:h(()=>[e(I)?(a(),r("div",We,[(a(!0),r(S,null,R(e(I),H=>(a(),r("span",{key:H,class:"rounded-md bg-white/80 px-1.5 py-0.5 text-[13px] font-semibold tabular-nums text-brand-700 ring-1 ring-brand-100"},l(H),1))),128))])):x("",!0)]),_:1}),t("p",Ye,[n(T,{name:"announcement-ornament"}),w(" "+l(e(m).message),1)]),e(m).cta?(a(),b(D,{key:0,to:e(m).cta.to,class:"group hidden shrink-0 items-center gap-1 rounded-full bg-white px-3 py-1 text-[13px] font-semibold text-brand-700 ring-1 ring-brand-200 transition-colors hover:bg-brand-50 
1sm:inline-flex"},{default:h(()=>[w(l(e(m).cta.label)+" ",1),n(e(ke),{class:"h-3.5 w-3.5 transition-transform duration-300 group-hover:translate-x-0.5"})]),_:1},8,["to"])):x("",!0)])):x("",!0)]),_:1}),t("button",{class:"absolute right-3 top-1/2 grid h-7 w-7 -translate-y-1/2 place-items-center rounded-full text-slate-400 transition-colors hover:bg-white/70 hover:text-ink-900","aria-label":e(i)("announcementBar.dismiss"),onClick:c[0]||(c[0]=(...H)=>e(u)&&e(u)(...H))},[n(e(Z),{class:"h-4 w-4"})],8,Ue)],2)):x("",!0)]),_:1})}}}),Ke=Object.assign(Ve,{__name:"AnnouncementBar"}),Xe={class:"relative"},Ge=["aria-label","aria-expanded"],Qe={key:0},Je=F({__name:"LangSwitch",props:{compact:{type:Boolean},glass:{type:Boolean}},setup(k){const{locale:i,locales:s,defaultLocale:f}=z(),u=me(),_=$=>u($)||($===f?"/":`/${$}`),m=j(!1),d=j(),v=ge({top:0,right:0}),M=C(()=>i.value.toUpperCase());function q(){if(!m.value&&d.value){const $=d.value.getBoundingClientRect();v.top=$.bottom+8,v.right=window.innerWidth-$.right}m.value=!m.value}return($,I)=>{const p=$e;return a(),r("div",Xe,[t("button",{ref_key:"trigger",ref:d,type:"button","aria-label":$.$t("langSwitch.label"),"aria-expanded":e(m),class:L(["rounded-full text-ink-900 transition-all duration-300",[k.compact?"grid h-11 w-11 place-items-center":"inline-flex items-center gap-1.5 px-3 py-1.5 text-[15px] font-semibold",k.glass?"liquid-glass":"hover:bg-slate-100"]]),onClick:q},[n(e(Oe),{class:"h-5 w-5"}),k.compact?x("",!0):(a(),r("span",Qe,l(e(M)),1))],10,Ge),(a(),b(G,{to:"body"},[n(E,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"opacity-0 -translate-y-1 scale-95","leave-active-class":"transition duration-150 ease-in","leave-to-class":"opacity-0 -translate-y-1 scale-95"},{default:h(()=>[e(m)?(a(),r("div",{key:0,class:"liquid-glass fixed z-[80] w-44 rounded-2xl p-1.5 shadow-xl shadow-black/10",style:Q({top:`${e(v).top}px`,right:`${e(v).right}px`})},[(a(!0),r(S,null,R(e(s),c=>(a(),b(p,{key:c.code,to:_(c.code),class:L(["flex items-center justify-between rounded-xl px-3 py-2.5 text-sm font-medium transition-colors duration-200",e(i)===c.code?"text-brand-600":"text-ink-900 hover:bg-white/50"]),onClick:I[0]||(I[0]=B=>m.value=!1)},{default:h(()=>[w(l(c.name)+" ",1),e(i)===c.code?(a(),b(e(Ie),{key:0,class:"h-4 w-4"})):x("",!0)]),_:2},1032,["to","class"]))),128))],4)):x("",!0)]),_:1}),e(m)?(a(),r("div",{key:0,class:"fixed inset-0 z-[70]",onClick:I[1]||(I[1]=c=>m.value=!1)})):x("",!0)]))])}}}),Ze=Object.assign(Je,{__name:"LangSwitch"}),et={class:"fixed inset-x-0 top-[var(--rr-top,0px)] z-50 transition-[top] duration-300"},tt={key:0,"aria-hidden":"true",class:"pointer-events-none absolute inset-x-0 top-0 h-32 bg-gradient-to-b from-white via-white/80 to-transparent backdrop-blur-[2px] [-webkit-mask-image:linear-gradient(to_bottom,#000_40%,transparent)] [mask-image:linear-gradient(to_bottom,#000_40%,transparent)]"},at={class:"flex items-center gap-3 sm:gap-5"},ot={key:0,class:"relative block h-16 w-16 overflow-hidden rounded-full"},st={class:"hidden items-center gap-1 lg:flex"},nt=["aria-expanded"],lt={class:"absolute left-0 top-full w-[560px] pt-4"},rt={class:"rounded-3xl border border-slate-100 bg-white p-5 shadow-xl ring-1 ring-black/5"},it={class:"px-1 pb-3 text-sm font-semibold text-ink-900"},ct={class:"grid grid-cols-3 gap-3"},dt={class:"text-sm font-semibold text-slate-900 transition-colors duration-300 group-hover:text-brand-700"},ut={class:"text-xs leading-snug text-slate-500"},ht={class:"grid h-8 w-8 place-items-center overflow-hidden rounded-full bg-brand-50 text-brand-600 ring-2 ring-brand-500"},pt=["src","alt"],mt={class:"whitespace-nowrap text-sm font-semibold"},gt={key:0,class:"ml-1 inline-block origin-[70%_70%] motion-safe:[animation:rr-wave_2.2s_ease-in-out_infinite]"},ft=["aria-label"],bt={key:0,class:"fixed inset-y-0 right-0 z-[70] flex w-[86%] max-w-sm flex-col overflow-hidden rounded-l-3xl bg-white shadow-2xl lg:hidden"},vt={class:"flex items-center justify-between border-b border-slate-100 px-5 py-4"},xt=["aria-label"],_t={class:"flex-1 overflow-y-auto px-4 py-5"},wt={class:"px-1 pb-3 text-[11px] font-semibold uppercase tracking-[0.16em] text-slate-500"},yt={class:"grid grid-cols-2 gap-2.5"},kt={class:"grid h-10 w-10 place-items-center rounded-xl bg-brand-50 transition-colors duration-300 group-hover:bg-white"},$t=["src","alt"],It={class:"text-sm font-semibold text-ink-900"},Mt={class:"px-1 pb-2 pt-6 text-[11px] font-semibold uppercase tracking-[0.16em] text-slate-500"},Ct={class:"space-y-0.5"},Tt={class:"grid h-10 w-10 place-items-center rounded-xl bg-slate-50 text-slate-500 transition-all duration-300 group-hover:bg-white group-hover:text-brand-500 group-hover:shadow-sm"},Lt={class:"flex-1 text-[15px] font-medium text-slate-700 transition-colors duration-300 group-hover:text-ink-900"},St={class:"border-t border-slate-100 p-4"},Bt=F({__name:"TheHeader",setup(k){const i=ie(),{t:s}=z(),f=se(),{theme:u}=fe(),{isLoggedIn:_,user:m}=be(),d=C(()=>f(u.value.logo?.wordmark??"/brand/logo.png")),v=C(()=>u.value.logo?f(u.value.logo.mark):"/apple-icon.png"),M=C(()=>je(m.value?.name)),q=C(()=>_.value?M.value?s("header.greeting",{name:M.value}):s("header.account"):s("header.customerLogin")),$=C(()=>({label:_.value?s("header.account"):s("header.customerLogin"),href:_.value?"/akun":"/masuk"})),I=j(!1),p=j(!1),c=C(()=>[{label:"iPhone",desc:s("header.menuIphoneDesc"),logo:"/icons/devices/ic-iphone.svg"},{label:"Android",desc:s("header.menuAndroidDesc"),logo:"/icons/devices/ic-android.svg"},{label:"iPad & Tablet",desc:s("header.menuTabletDesc"),logo:"/icons/devices/ic-ipadtab.svg"}
1,{label:"MacBook & Mac",desc:s("header.menuMacDesc"),logo:"/icons/devices/ic-mac.svg"}]),B=C(()=>[{label:s("header.methodStoreLabel"),desc:s("header.methodStoreDesc"),icon:Me},{label:s("header.methodPickupLabel"),desc:s("header.methodPickupDesc"),icon:De},{label:s("header.methodHomeLabel"),desc:s("header.methodHomeDesc"),icon:Ce}]),T={Tentang:ze,Lokasi:le,"Tracking Perbaikan":Be,Partner:He,Informasi:Se,Kontak:re},D=()=>{I.value=!1};function H(U){const y=U.relatedTarget;(!y||!U.currentTarget.contains(y))&&(p.value=!1)}const o=j(!1);function A(){o.value=window.scrollY>24}return K(()=>{window.addEventListener("scroll",A,{passive:!0}),A()}),X(()=>window.removeEventListener("scroll",A)),(U,y)=>{const W=ne,N=J,ee=Ze;return a(),r("header",et,[e(o)?x("",!0):(a(),r("div",tt)),t("div",{class:L(["relative mx-auto flex max-w-7xl items-center justify-between px-6 transition-all duration-300",e(o)?"py-3":"py-5"])},[t("div",at,[P(n(N,{to:"/",class:"flex items-center"},{default:h(()=>[n(W,{src:e(d),alt:"Raja Repair — Your Smartphone Solution",class:L(["w-auto",e(u).logo?"h-14":"h-11"]),height:e(u).logo?56:44,densities:"x1 x2",quality:90,format:"webp"},null,8,["src","class","height"])]),_:1},512),[[O,!e(o)]]),P(n(N,{to:"/",class:"flex items-center","aria-label":e(s)("header.homeAria")},{default:h(()=>[e(u).logo?(a(),r("span",ot,[n(W,{src:e(v),alt:"Raja Repair",width:"256",height:"256",format:"webp",class:"absolute left-[-7.4%] top-[-10.6%] w-[114.9%] max-w-none"},null,8,["src"])])):(a(),b(W,{key:1,src:e(v),alt:"Raja Repair",width:"48",height:"48",format:"webp",class:"h-12 w-12 rounded-full shadow-lg shadow-black/5 ring-1 ring-black/5"},null,8,["src"]))]),_:1},8,["aria-label"]),[[O,e(o)]]),n(N,{to:"/perbaikan",class:L(["hidden items-center gap-1.5 rounded-full px-5 text-sm font-semibold transition-[background-color,color,border-color,height,padding] duration-300 lg:inline-flex",e(o)?"h-12 bg-brand-500 text-white shadow-lg shadow-brand-500/25 ring-1 ring-black/5 hover:bg-brand-600":"py-2.5 border border-brand-500 text-brand-600 hover:bg-brand-500 hover:text-white"])},{default:h(()=>[w(l(e(s)("header.startRepair"))+" ",1),n(e(V),{class:"h-4 w-4"})]),_:1},8,["class"])]),t("div",{class:L(["flex items-center gap-2 transition-[background-color,height,border-radius,padding] duration-300",e(o)&&"lg:h-12 lg:rounded-full lg:bg-white/75 lg:px-6 lg:shadow-lg lg:shadow-black/5 lg:ring-1 lg:ring-white/50 lg:backdrop-blur-md lg:gap-5"])},[t("nav",st,[t("div",{class:"relative",onMouseenter:y[1]||(y[1]=g=>p.value=!0),onMouseleave:y[2]||(y[2]=g=>p.value=!1),onFocusout:H,onKeydown:y[3]||(y[3]=ve(g=>p.value=!1,["esc"]))},[t("button",{class:L(["flex items-center gap-1 rounded-full px-3 py-1.5 text-[15px] font-semibold text-ink-900 transition-colors duration-300 hover:bg-brand-500 hover:text-white",e(p)&&"bg-brand-500 text-white"]),"aria-haspopup":"true","aria-expanded":e(p),onClick:y[0]||(y[0]=g=>p.value=!e(p))},[w(l(e(s)("header.services"))+" ",1),n(e(Te),{class:L(["h-4 w-4 transition-transform duration-300",e(p)&&"rotate-180"])},null,8,["class"])],10,nt),n(E,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"translate-y-1 opacity-0","leave-active-class":"transition duration-150 ease-in","leave-to-class":"translate-y-1 opacity-0"},{default:h(()=>[P(t("div",lt,[t("div",rt,[t("p",it,l(e(s)("header.chooseMethod")),1),t("div",ct,[(a(!0),r(S,null,R(e(B),g=>(a(),b(N,{key:g.label,to:"/perbaikan",class:"group flex flex-col items-center gap-2.5 rounded-2xl border border-slate-200 px-4 py-6 text-center transition-all duration-300 hover:border-brand-300 hover:bg-brand-50/50 hover:shadow-md hover:shadow-brand-500/5"},{default:h(()=>[(a(),b(te(g.icon),{class:"h-7 w-7 text-slate-700 transition-colors duration-300 group-hover:text-brand-600","stroke-width":1.5})),t("span",dt,l(g.label),1),t("span",ut,l(g.desc),1)]),_:2},1024))),128))])])],512),[[O,e(p)]])]),_:1})],32),(a(!0),r(S,null,R(e(i).nav,g=>(a(),b(N,{key:g.label,to:g.href,"active-class":"bg-brand-50 text-brand-700",class:"rounded-full px-3 py-1.5 text-[15px] font-semibold text-ink-900 transition-colors duration-300 hover:bg-brand-500 hover:text-white"},{default:h(()=>[w(l(g.label),1)]),_:2},1032,["to"]))),128))]),n(ee,{class:"hidden lg:block"}),n(N,{to:e(_)?"/akun":"/masuk",class:L(["hidden items-center gap-1.5 rounded-full p-1 text-ink-900 transition-all duration-300 hover:bg-slate-100 lg:flex",e(o)&&"bg-white pr-3 shadow-sm ring-1 ring-black/5 hover:bg-white"])},{default:h(()=>[t("span",ht,[e(m)?.avatar?(a(),r("img",{key:0,src:e(m).avatar,alt:e(M)||e(s)("header.account"),class:"h-full w-full object-cover"},null,8,pt)):(a(),b(e(oe),{key:1,class:"h-4 w-4"}))]),P(t("span",mt,[w(l(e(q)),1),e(M)?(a(),r("span",gt,"👋🏻")):x("",!0)],512),[[O,e(o)]])]),_:1},8,["to","class"]),n(ee,{compact:"",glass:e(o),class:"lg:hidden"},null,8,["glass"]),t("button",{class:L(["relative grid h-11 w-11 place-items-center rounded-full text-ink-900 transition-all duration-300 lg:hidden",e(o)?"liquid-glass":"hover:bg-slate-100"]),"aria-label":e(s)("header.openMenu"),onClick:y[4]||(y[4]=g=>I.value=!0)},[n(e(Pe),{class:"h-6 w-6"})],10,ft)],2),n(E,{"enter-active-class":"transition duration-300 ease-out","enter-from-class":"opacity-0 scale-90","leave-active-class":"transition duration-200 ease-in","leave-to-class":"opacity-0 scale-90"},{default:h(()=>[P(n(N,{to:"/perbaikan",class:"liquid-glass absolute left-1/2 top-1/2 inline-flex h-11 -translate-x-1/2 -translate-y-1/2 items-center gap-1 whitespace-nowrap rounded-full px-4 text-[13px] font-semibold text-ink-900 lg:hidden"},{default:h(()=>[w(l(e(s)("header.startRepair"))+" ",1),n(e(V),{class:"h-3.5 w-3.5 text-brand-600"})]),_:1},512),[[O,e(o)]])]),_:1})],2),(a(),b(G,{to:"body"},[n(E,{"enter-active-class":"transition-opacity duration-300","enter-from-class":"opacity-0","leave-active-class":"transition-opacity duration-300","leave-to-class":"opacity-0"},{default:h(()=>[e(I)?(a(),r("div",{key:0,class:"fixed inset-0 z-[60] bg-slate-900/40 backdrop-blur-sm lg:hidden",onClick:y[5]||(y[5]=g=>I.value=!1)})):x("",!0)]),_:1}),n(E,{"enter-active-class":"transition-transform duration-300 ease-out","enter-from-class":"translate-x-full","leave-active-class":"transition-transform duration-300 ease-in","leave-to-class":"translate-x-full"},{default:h(()=>[e(I)?(a(),r("aside",bt,[t("div",vt,[n(W,{src:e(d),alt:"Raja Repair",class:L(["w-auto",e(u).logo?"h-12":"h-9"]),height:e(u).logo?48:36,densities:"x1 x2",quality:90,format:"webp"},null,8,["src","class","height"]),t("button",{class:"grid h-10 w-10 place-items-center rounded-full text-slate-500 transition-colors duration-300 hover:bg-slate-100 active:scale-95","aria-label":e(s)("header.closeMenu"),onClick:y[6]||(y[6]=g=>I.value=!1)},[n(e(Z),{class:"h-5 w-5"})],8,xt)]),t("nav",_t,[t("p",wt,l(e(s)("header.services")),1),t("div",yt,[(a(!0),r(S,null,R(e(c),g=>(a(),b(N,{key:g.label,to:"/perbaikan",class:"group flex flex-col gap-3 rounded-2xl border border-slate-100 bg-white p-4 transition-all duration-300 hover:border-brand-200 hover:bg-brand-50/60 active:scale-[0.98]",onClick:D},{default:h(()=>[t("span",kt,[t("img",{src:e(f)(g.logo),alt:g.label,class:"h-6 w-6 object-contain"},null,8,$t)]),t("span",It,l(g.label),1)]),_:2}
1,1024))),128))]),t("p",Mt,l(e(s)("header.navigation")),1),t("div",Ct,[(a(!0),r(S,null,R([...e(i).nav,e($)],g=>(a(),b(N,{key:g.label,to:g.href,class:"group flex items-center gap-3 rounded-2xl px-2 py-2.5 transition-colors duration-300 hover:bg-brand-50/60 active:scale-[0.99]",onClick:D},{default:h(()=>[t("span",Tt,[(a(),b(te(T[g.label]||e(oe)),{class:"h-[18px] w-[18px]"}))]),t("span",Lt,l(g.label),1),n(e(Le),{class:"h-4 w-4 text-slate-300 transition-all duration-300 group-hover:translate-x-0.5 group-hover:text-brand-500"})]),_:2},1032,["to"]))),128))])]),t("div",St,[n(N,{to:"/perbaikan",class:"flex w-full items-center justify-center gap-1.5 rounded-full bg-brand-500 px-4 py-3.5 text-sm font-semibold text-white shadow-lg shadow-brand-500/25 transition-all duration-300 hover:bg-brand-600 active:scale-[0.98]",onClick:D},{default:h(()=>[w(l(e(s)("header.startRepair"))+" ",1),n(e(V),{class:"h-4 w-4"})]),_:1})])])):x("",!0)]),_:1})]))])}}}),Dt=Object.assign(Bt,{__name:"TheHeader"}),Rt={class:"border-t border-slate-100 bg-white"},jt={class:"mx-auto max-w-7xl px-6 py-16"},qt={class:"grid gap-12 md:grid-cols-2 lg:grid-cols-4"},Nt={class:"lg:col-span-1"},At={class:"mt-4 text-sm leading-relaxed text-slate-500"},Et={id:"kontak",class:"mt-4 flex items-center gap-2.5 text-sm text-slate-600"},Ht=["href"],zt=["href"],Pt={class:"text-sm font-semibold text-slate-900"},Ot={class:"mt-4 space-y-3 text-sm"},Ft={class:"text-sm font-semibold text-slate-900"},Wt={class:"mt-4 space-y-3 text-sm"},Yt={class:"text-sm font-semibold text-slate-900"},Ut={class:"mt-4 space-y-3 text-sm"},Vt=["href"],Kt={class:"mt-8 text-sm font-semibold text-slate-900"},Xt={class:"mt-4 flex items-center gap-2"},Gt=["aria-label"],Qt=["src","alt"],Jt={class:"mt-6"},Zt={class:"flex flex-wrap items-center justify-center gap-x-3 gap-y-2 text-xs text-slate-500"},ea={key:0,"aria-hidden":"true",class:"text-slate-300"},ta={class:"mx-auto mt-8 max-w-2xl text-center text-xs leading-relaxed text-slate-500"},aa={class:"mt-6 flex flex-col items-center justify-between gap-3 text-sm text-slate-500 sm:flex-row"},oa={class:"relative w-full rounded-t-3xl bg-white p-6 text-center shadow-2xl lg:max-w-sm lg:rounded-3xl"},sa=["aria-label"],na={class:"mt-4 text-lg font-semibold text-ink-900"},la={class:"mt-2 text-sm text-slate-500"},ra=F({__name:"TheFooter",setup(k){const{t:i}=z(),s=se(),f=ie(),u=j(!1),_=["bg-brand-400","bg-slate-300","bg-gold-400","bg-brand-500","bg-slate-300","bg-gold-500","bg-brand-400"],m=Array.from({length:160},(p,c)=>({h:5+Math.round(22*(1+Math.sin(c*.7)*.6+Math.sin(c*.29)*.4)),c:_[c%_.length],vis:c%4===0?"":c%2===0?"hidden sm:block":"hidden md:block"})),d=j(),v=j([]);let M=[];function q(){d.value&&(M=[...d.value.querySelectorAll("span")].map(p=>p.offsetLeft+p.offsetWidth/2))}function $(p){if(!d.value||!M.length)return;const c=p.clientX-d.value.getBoundingClientRect().left,B=70;v.value=M.map(T=>{const D=Math.abs(c-T);return D<B?Math.cos(D/B*(Math.PI/2)):0})}function I(){v.value=[]}return K(()=>{window.matchMedia?.("(prefers-reduced-motion: reduce)").matches||(q(),window.addEventListener("resize",q))}),X(()=>window.removeEventListener("resize",q)),(p,c)=>{const B=ne,T=J,D=qe,H=Ne;return a(),r("footer",Rt,[t("div",jt,[t("div",qt,[t("div",Nt,[n(B,{src:e(s)("/brand/logo.png"),alt:"Raja Repair",class:"h-14 w-auto",height:"56",format:"webp"},null,8,["src"]),t("p",At,l(e(i)("footer.tagline")),1),t("p",Et,[n(e(le),{class:"h-4 w-4 text-slate-400"}),w(" "+l(e(f).location),1)]),t("a",{href:e(f).tel,class:"mt-2 flex items-center gap-2.5 text-sm text-slate-600 transition-colors duration-300 hover:text-brand-500"},[n(e(re),{class:"h-4 w-4 text-slate-400"}),w(" "+l(e(f).phoneDisplay),1)],8,Ht),t("a",{href:`mailto:${e(f).emails[1]}`,class:"mt-2 flex items-center gap-2.5 text-sm text-slate-600 transition-colors duration-300 hover:text-brand-500"},[n(e(Ae),{class:"h-4 w-4 text-slate-400"}),w(" "+l(e(f).emails[1]),1)],8,zt)]),t("div",null,[t("h3",Pt,l(e(i)("footer.linksHeading")),1),t("ul",Ot,[(a(!0),r(S,null,R(e(f).nav,o=>(a(),r("li",{key:o.label},[n(T,{to:o.href,class:"text-slate-600 transition-colors duration-300 hover:text-brand-500"},{default:h(()=>[w(l(o.label),1)]),_:2},1032,["to"])]))),128)),t("li",null,[n(T,{to:"/promo",class:"text-slate-600 transition-colors duration-300 hover:text-brand-500"},{default:h(()=>
1[w(l(e(i)("promo.headerEyebrow")),1)]),_:1})]),t("li",null,[n(T,{to:"/karir",class:"text-slate-600 transition-colors duration-300 hover:text-brand-500"},{default:h(()=>[w(l(e(i)("karir.navLabel")),1)]),_:1})])])]),t("div",null,[t("h3",Ft,l(e(i)("footer.legalHeading")),1),t("ul",Wt,[(a(!0),r(S,null,R(e(f).legal,o=>(a(),r("li",{key:o.label},[n(T,{to:o.href,class:"text-slate-600 transition-colors duration-300 hover:text-brand-500"},{default:h(()=>[w(l(o.label),1)]),_:2},1032,["to"])]))),128))])]),t("div",null,[t("h3",Yt,l(e(i)("footer.followHeading")),1),t("ul",Ut,[(a(!0),r(S,null,R(e(f).socials,o=>(a(),r("li",{key:o.label},[t("a",{href:o.href,target:"_blank",rel:"noopener",class:"group flex items-center gap-2.5 text-slate-600 transition-colors duration-300 hover:text-brand-600"},[o.label==="Instagram"?(a(),b(e(Re),{key:0,class:"h-4 w-4 text-slate-400 transition-colors group-hover:text-brand-600"})):o.label==="TikTok"?(a(),b(D,{key:1,class:"h-4 w-4 text-slate-400 transition-colors group-hover:text-brand-600"})):o.label==="Threads"?(a(),b(H,{key:2,class:"h-4 w-4 text-slate-400 transition-colors group-hover:text-brand-600"})):x("",!0),w(" "+l(o.label),1)],8,Vt)]))),128))]),t("h3",Kt,l(e(i)("footer.downloadHeading")),1),t("div",Xt,[(a(!0),r(S,null,R(e(f).appStores,o=>(a(),r("button",{key:o.label,type:"button","aria-label":o.label,class:"transition-opacity duration-300 hover:opacity-80",onClick:c[0]||(c[0]=A=>u.value=!0)},[t("img",{src:o.img,alt:o.label,class:"h-9 w-auto"},null,8,Qt)],8,Gt))),128))])])]),t("div",{ref_key:"eqWrap",ref:d,"aria-hidden":"true",class:"relative mt-12 flex h-14 items-end gap-[2px]",onPointermove:$,onPointerleave:I},[(a(!0),r(S,null,R(e(m),(o,A)=>(a(),r("span",{key:A,class:L(["flex-1 origin-bottom rounded-full transition-transform duration-150 ease-out",o.c,o.vis]),style:Q({height:`${o.h}px`,transform:`scaleY(${1+(e(v)[A]||0)*.7})`})},null,6))),128))],544),t("div",Jt,[t("nav",Zt,[(a(!0),r(S,null,R(e(Ee),(o,A)=>(a(),r(S,{key:o.slug},[A?(a(),r("span",ea,"|")):x("",!0),n(T,{to:`/service-${o.slug}`,class:"transition-colors duration-300 hover:text-brand-500"},{default:h(()=>[w(" Service "+l(o.name),1)]),_:2},1032,["to"])],64))),128))]),t("p",ta,l(e(i)("footer.disclaimer")),1),t("div",aa,[t("p",null,l(e(i)("footer.copyright",{year:new Date().getFullYear(),name:e(f).legalName})),1),t("p",null,l(e(i)("footer.solutionTagline")),1)])])]),(a(),b(G,{to:"body"},[n(E,{"enter-active-class":"transition-opacity duration-300","enter-from-class":"opacity-0","leave-active-class":"transition-opacity duration-200","leave-to-class":"opacity-0"},{default:h(()=>[e(u)?(a(),r("div",{key:0,class:"fixed inset-0 z-[80] bg-ink-950/50 backdrop-blur-sm",onClick:c[1]||(c[1]=o=>u.value=!1)})):x("",!0)]),_:1}),n(E,{"enter-active-class":"transition duration-300 ease-out","enter-from-class":"opacity-0 translate-y-4 lg:scale-95","leave-active-class":"transition duration-200 ease-in","leave-to-class":"opacity-0 translate-y-4 lg:scale-95"},{default:h(()=>[e(u)?(a(),r("div",{key:0,class:"fixed inset-0 z-[90] flex items-end justify-center p-0 lg:items-center lg:p-6",role:"dialog","aria-modal":"true",onClick:c[4]||(c[4]=xe(o=>u.value=!1,["self"]))},[t("div",oa,[t("button",{type:"button",class:"absolute right-4 top-4 text-slate-400 transition-colors hover:text-slate-600","aria-label":e(i)("footer.comingSoonClose"),onClick:c[2]||(c[2]=o=>u.value=!1)},[n(e(Z),{class:"h-5 w-5"})],8,sa),n(B,{src:e(s)("/brand/logo.png"),alt:"Raja Repair",height:"48",format:"webp",class:"mx-auto h-12 w-auto"},null,8,["src"]),t("h2",na,l(e(i)("footer.comingSoonTitle")),1),t("p",la,l(e(i)("footer.comingSoonBody")),1),t("button",{type:"button",class:"mt-6 w-full rounded-full bg-brand-500 px-6 py-3 text-sm font-semibold text-white transition-colors hover:bg-brand-600",onClick:c[3]||(c[3]=o=>u.value=!1)},l(e(i)("footer.comingSoonClose")),1)])])):x("",!0)]),_:1})]))])}}}),ia=Object.assign(ra,{__name:"TheFooter"}),ca={href:"#main",class:"sr-only rounded-lg bg-brand-600 px-4 py-2 text-sm font-semibold text-white focus:not-sr-only focus:absolute focus:left-4 focus:top-4 focus:z-[100]"},da={id:"main",tabindex:"-1",class:"transition-[padding] duration-300 focus:outline-none",style:{paddingTop:"var(--rr-top, 0px)"}},qa=F({__name:"default",setup(k){const{t:i}=z(),{visible:s}=ce(),f=_e(),u=C(()=>f.query.embed==="1");return(_,m)=>{const d=Ke,v=Dt,M=ia;return a(),r("div",{class:"min-h-screen bg-white",style:Q({"--rr-top":!e(u)&&e(s)?e(Fe):"0px"})},[t("a",ca,l(e(i)("a11y.skipToContent")),1),e(u)?x("",!0):(a(),b(d,{key:0})),e(u)?x("",!0):(a(),b(v,{key:1})),t("main",da,[we(_.$slots,"default")]),e(u)?x("",!0):(a(),b(M,{key:2}))],4)}}});
1export{qa 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.