1import{j as w,R as a,S as r,U as t,a as b,u as n,A as c,Y as _,Z as i,X as M,_ as p,a2 as E,V as O}from"./swiper-vue.2af9d341.js";import{s as S,l as z,u as U,b as W,Q as X,o as Y,n as F,f as J,d as K,M as tt,g as et}from"./entry.363f673c.js";const ot=["width","height"],nt=["fill","stroke"],st=t("path",{d:"M12 16C13.6569 16 15 14.6569 15 13C15 11.3431 13.6569 10 12 10C10.3431 10 9 11.3431 9 13C9 14.6569 10.3431 16 12 16Z",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),lt=t("path",{d:"M16 17L14.5 15.5",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),it=w({__name:"HomeNavigation",props:{width:{type:String,default:"24"},height:{type:String,default:"24"},color:{type:String,default:"#1551C3"}},setup(o){return(d,f)=>(a(),r("svg",{width:o.width,height:o.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M11.5527 3.3418C11.7992 3.21856 12.0839 3.20334 12.3398 3.2959L12.4473 3.3418L20.4473 7.3418C20.786 7.51121 21 7.8576 21 8.23633V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V8.23633C3 7.90492 3.16375 7.59802 3.43164 7.41309L3.55273 7.3418L11.5527 3.3418Z",fill:o.color,stroke:o.color,"stroke-width":"2"},null,8,nt),st,lt],8,ot))}}),at=["width","height"],rt=["fill"],ut=w({__name:"Bag",props:{fillColor:{type:String,default:"#6E6E6E"},width:{type:String,default:"24"},height:{type:String,default:"24"}},setup(o){return(d,f)=>(a(),r("div",null,[(a(),r("svg",{width:o.width,height:o.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 4H14V6H10V4ZM8 6V4C8 2.89543 8.89543 2 10 2H14C15.1046 2 16 2.89543 16 4V6H20C21.1046 6 22 6.89543 22 8V20C22 21.1046 21.1046 22 20 22H4C2.89543 22 2 21.1046 2 20V8C2 6.89543 2.89543 6 4 6H8ZM14 8H10H4V20H20V8H14Z",fill:o.fillColor},null,8,rt)],8,at))]))}}),ct=["width","height"],dt={"clip-path":"url(#clip0_16051_843630)"},ht=["fill"],ft=t("path",{d:"M14.2929 8.29289C14.6834 7.90237 15.3166 7.90237 15.7071 8.29289C16.0976 8.68342 16.0976 9.31658 15.7071 9.70711L9.70711 15.7071C9.31658 16.0976 8.68342 16.0976 8.29289 15.7071C7.90237 15.3166 7.90237 14.6834 8.29289 14.2929L14.2929 8.29289Z",fill:"white"},null,-1),pt=t("circle",{cx:"14.5",cy:"14.5",r:"1.5",fill:"white"},null,-1),wt=t("circle",{cx:"9.5",cy:"9.5",r:"1.5",fill:"white"},null,-1),gt=t("defs",null,[t("clipPath",{id:"clip0_16051_843630"},[t("rect",{width:"24",height:"24",fill:"white"})])],-1),mt=w({__name:"Promo",props:{fillColor:{type:String,default:"#6E6E6E"},width:{type:String,default:"24"},height:{type:String,default:"24"}},setup(o){return(d,f)=>(a(),r("div",null,[(a(),r("svg",{width:o.width,height:o.height,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("g",dt,[t("path",{d:"M9.20009 4.3953C9.87413 1.41131 14.1259 1.41131 14.7999 4.3953C14.8602 4.66205 15.1663 4.78885 15.3975 4.64283C17.9841 3.00945 20.9906 6.01588 19.3572 8.6025C19.2112 8.83373 19.3379 9.13984 19.6047 9.20009C22.5887 9.87413 22.5887 14.1259 19.6047 14.7999C19.3379 14.8602 19.2112 15.1663 19.3572 15.3975C20.9906 17.9841 17.9841 20.9906 15.3975 19.3572C15.1663 19.2112 14.8602 19.3379 14.7999 19.6047C14.1259 22.5887 9.87413 22.5887 9.20009 19.6047C9.13984 19.3379 8.83373 19.2112 8.6025 19.3572C6.01588 20.9906 3.00945 17.9841 4.64283 15.3975C4.78885 15.1663 4.66205 14.8602 4.3953 14.7999C1.41131 14.1259 1.41131 9.87413 4.3953 9.20009C4.66205 9.13984 4.78885 8.83373 4.64283 8.6025C3.00945 6.01588 6.01588 3.00945 8.6025 4.64283C8.83373 4.78885 9.13984 4.66205 9.20009 4.3953Z",fill:o.fillColor},null,8,ht),ft,pt,wt]),gt],8,ct))]))}}),Ct=["width","height","fill"],_t=["fill"],$t=["fill"],vt=w({__name:"Profile",props:{fillColor:{type:String,default:"#6E6E6E"},width:{type:String,default:"24"},height:{type:String,default:"24"}},setup(o){return(d,f)=>(a(),r("svg",{width:o.width,height:o.height,viewBox:"0 0 24 24",fill:o.fillColor,xmlns:"http://www.w3.org/2000/svg"},[t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z",fill:o.fillColor},null,8,_t),t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M17 11V12C17 12.3425 16.9656 12.6769 16.9 13C16.4367 15.2822 14.419 17 12 17C9.58104 17 7.56329 15.2822 7.10002 13C7.03443 12.6769 7 12.3425 7 12V11H17ZM9.17071 13C9.58254 14.1652 10.6938 15 12 15C13.3062 15 14.4175 14.1652 14.8293 13H9.17071Z",fill:o.fillColor},null,8,$t)],8,Ct))}}),yt={id:"bottom-navigation"},kt={key:0,class:"menu-content"},xt={key:1,class:"menu-content tw-px-5 tw-py-4"},bt={class:"tw-text-xs lg:tw-text-sm tw-font-bold"},Mt={key:2,class:"menu-content tw-flex-col tw-items-start tw-px-5 tw-py-4"},Et={key:0,class:"tw-text-sm tw-text-neutral-N700 tw-text-start tw-mb-4"},St={class:"tw-font-bold"},Vt={key:1,class:"tw-text-sm tw-text-neutral-N700 tw-text-start tw-mb-4"},Ht={class:"tw-font-bold"},Nt={class:"tw-text-sm lg:tw-text-sm tw-font-bold"},Pt={key:3},Bt={class:"container-modal"},Zt={class:"container-info"},Rt={class:"title"},It={class:"description"},Lt={class:"tw-flex tw-flex-col tw-gap-4 tw-w-full"},At={class:"tw-font-bold tw-text-sm"},Tt={class:"tw-font-bold tw-text-sm tw-text-primarys-P600"},jt=w({__name:"BottomNavigation",props:{path:{type:String,default:"my-account"}},setup(o){var y,k,x;const d=o,{isGuest:f}=S(z()),V=["my-booking","my-account"].includes(d.path),H=["setting-user"].includes(d.path),N=["refund","reschedule"].includes(d.path),{locale:s}=U(),P=W(),B=X(),$=e=>{B.push(e)},u=e=>P.path===e,g=b(!1),m=b(!1),{contactCS:Z}=S(Y()),R=(x=(k=(y=Z.value.find(e=>e.key==="whatsapp"))==null?void 0:y.sub)==null?void 0:k[0])==null?void 0:x.wa,I=()=>{window.open("https://wa.me/"+R+"?text=Halo bookingtogo, saya ingin mengajukan "+d.path+", bagaimana proses nya yaa?"),g.value=!1,m.value=!1},L=e=>{e==="refund"&&(g.value=!0),e==="reschedule"&&(m.value=!0)},A=()=>{g.value=!1,m.value=!1},v=e=>{F(e)};return(e,l)=>{const T=it,j=ut,q=mt,D=vt,C=J,Q=K,G=tt;return a(),r("div",yt,[n(V)?(a(),r("div",kt,[t("button",{class:"value",onClick:l[0]||(l[0]=h=>$(`/${n(s)}`))},[c(T,{color:u(`/${n(s)}`)?"#1551C3":"#6E6E6E"},null,8,["color"]),t("p",{class:_(["title",u(`/${n(s)}`)?"tw-text-primarys-P600":""])},i(e.$t("userMenu.home")),3)]),t("button",{class:"value",onClick:l[1]||(l[1]=h=>v(n(f)?`/${n(s)}/guest-booking`:`/${n(s)}/my-booking`))},[c(j,{fillColor:u(`/${n(s)}/my-booking`)||u(`/${n(s)}/guest-booking`)?"#1551C3":"#6E6E6E"},null,8,["fillColor"]),t("p",{class:_(["title",u(`/${n(s)}/my-booking`)||u(`/${n(s)}/guest-booking`)?"tw-text-primarys-P600":""])},i(e.$t("general.yourBooking")),3)]),t("button",{class:"value",onClick:l[2]||(l[2]=h=>$(`/${n(s)}/promo`))},[c(q,{fillColor:u(`/${n(s)}/promo`)?"#1551C3":"#6E6E6E"},null,8,["fillColor"]),t("p",{class:_(["title",u(`/${n(s)}/promo`)?"tw-text-primarys-P600":""])},i(e.$t("general.promo")),3)]),t("button",{class:"value",onClick:l[3]||(l[3]=h=>v(n(f)?`/${n(s)}/guest-profile`:`/${n(s)}/my-account`))},[c(D,{fillColor:u(`/${n(s)}/my-account`)||u(`/${n(s)}/guest-profile`)?"#1551C3":"#6E6E6E"},null,8,["fillColor"]),t("p",{class:_(["title",u(`/${n(s)}/my-account`)||u(`/${n(s)}/guest-profile`)?"tw-text-primarys-P600":""])},i(e.$t("userMenu.profile")),3)])])):M("",!0),n(H)?(a(),r("div",xt,[c(C,{class:"tw-px-3 tw-py-2 lg:tw-px-4 lg:tw-py-3 tw-cursor-pointer",onClick:l[4]||(l[4]=h=>$(`/${n(s)}/${o.path}/add`))},{content:p(()=>[t("p",bt,i(e.$t("userMenu.userManagement.addAccount")),1)]),_:1})])):M("",!0),n(N)?(a(),r("div",Mt,[o.path.includes("refund")?(a(),r("p",Et,[E(i(e.$t("userMenu.refund.refundQuestion"))+" ",1),t("span",St,i(e.$t("userMenu.refund.refundAnswer")),1)])):(a(),r("p",Vt,[E(i(e.$t("userMenu.reschedule.rescheduleQuestion"))+" ",1),t("span",Ht,i(e.$t("userMenu.reschedule.rescheduleAnswer")),1)])),c(C,{class:"tw-px-3 tw-py-2 lg:tw-px-4 lg:tw-py-3 tw-cursor-pointer",onClick:l[5]||(l[5]=h=>L(o.path))},{content:p(()=>[t("p",Nt,i(o.path.includes("refund")?e.$t("userMenu.refund.button"):e.$t("userMenu.reschedule.button")),1
1)]),_:1})])):(a(),r("div",Pt,[O(e.$slots,"action",{},void 0,!0)])),c(G,{open:n(g)||n(m),useOverlay:"",topRadius:!0,header:!1},{content:p(()=>[t("div",Bt,[t("div",Zt,[c(Q,{src:"/icon/icon-info.svg",preview:!1,class:"tw-h-20 tw-w-20"}),t("p",Rt,i(o.path==="refund"?e.$t("userMenu.refund.helpTitle"):e.$t("userMenu.reschedule.helpTitle")),1),t("p",It,i(o.path==="refund"?e.$t("userMenu.refund.helpDesc"):e.$t("userMenu.reschedule.helpDesc")),1),t("div",Lt,[c(C,{color:"primary",onClick:l[6]||(l[6]=h=>I())},{content:p(()=>[t("p",At,i(o.path==="refund"?e.$t("userMenu.refund.button"):e.$t("userMenu.reschedule.button"))+" (WhatsApp) ",1)]),_:1}),c(C,{color:"outline-primary",onClick:l[7]||(l[7]=h=>A())},{content:p(()=>[t("p",Tt,i(e.$t("userMenu.refund.submitLater")),1)]),_:1})])])])]),_:1},8,["open"])])}}});const Qt=et(jt,[["__scopeId","data-v-6488ad9c"]]);export{Qt 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.