PageSourceSearch

https://us.caudalie.com/_nuxt/C1ojMV5C.js

js caudalie.com collected 2026-10-02 03:09:08 UTC 5,921 bytes, 1 lines download raw bytes

1import{n as T,aa as Y,O as j,f as A,r as E,m as s,j as f,F as l,t as w,l as u,k as p,a as y,v as e,A as g,x as _,q,c as V,I as H,C as F,a4 as G,R as J,a8 as U}from"./DCZpLbfX.js";import{u as W}from"./DJzSebCN.js";import{u as z}from"./DVc6ZXUI.js";import{o as K}from"./CQ7zkQuV.js";import{u as h,C as b}from"./C_uLhifZ.js";import{u as Q}from"./DKKt7D0f.js";import{_ as C}from"./DX5nwYLd.js";import{_ as X}from"./2AZwcOVg.js";import{C as Z}from"./CFnCeirA.js";import{_ as tt}from"./CDDwdNXp.js";import{_ as et}from"./B3P0rZOo.js";import"./DDCG22E6.js";import"./BHTh4ryB.js";import"./BOymBQmJ.js";import"./Bxhud-Mo.js";import"./Cjt7tYGB.js";import"./BRGiC7k9.js";import"./Dwld-FvF.js";import"./BWeUtDzT.js";import"./CXR9HQeG.js";import"./BWNk5nxS.js";import"./qXnCCcVa.js";import"./CVugGi9Y.js";import"./DYZgBAoQ.js";import"./C6ZW2ZgT.js";import"./BfBHNno0.js";import"./C-3FuZCy.js";import"./CFuom468.js";import"./7Eweov0A.js";import"./5RQESzqa.js";import"./BipNzXXm.js";import"./VibqBoBK.js";import"./BAB2YggB.js";import"./Caur1DjS.js";import"./C1GploCp.js";import"./Dmg1BHEm.js";import"./CsW4ISlC.js";import"./CWbbbNyH.js";import"./eRGPVruL.js";import"./C2yloEsk.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"f89d455ce9c6e94060068617214014e5c7f6696c"};var o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="702fd5ca-3a64-46ed-9179-3a3efad18c65",t._sentryDebugIdIdentifier="sentry-dbid-702fd5ca-3a64-46ed-9179-3a3efad18c65")}catch{}})();const ot=()=>{const{localeProperties:t}=T(),o=Y(),{data:a}=z("/api/magento/getTreatments",{key:`online-booking-jsonld-treatments-${o?.storeCode??"default"}`},"$myY5HLtuzm");j("online-booking",()=>{const r=t.value.domain;if(!r)return null;const c=`https://${r}/online-booking`,n=a.value?.treatments?.items??[];return{"@context":"https://schema.org","@type":"Service",name:"Caudalie Spa Booking",url:c,...n.length>0&&{hasOfferCatalog:{"@type":"OfferCatalog",name:"Spa Treatments",itemListElement:n.map(m=>({"@type":"Offer",price:m.price,priceCurrency:o?.currency,itemOffered:{"@type":"Service",name:m.label}}))}},potentialAction:{"@type":"ReserveAction",target:{"@type":"EntryPoint",urlTemplate:c,actionPlatform:["http://schema.org/DesktopWebPlatform","http://schema.org/MobileWebPlatform"]},result:{"@type":"Reservation",name:"Spa Appointment"}}}})},nt=y({name:"OnlineBookingCmsBlock",components:{CmsComponents:C},setup(){const{content:t}=h(b.ANY_DOUBT);return{content:t}},head:{}}),st={class:"border border-th-lightgrey"},it={class:"flex items-center justify-center text-xl bg-gray-100 h-14"},rt={class:"py-6 px-[10px]"};function at(t,o,a,r,c,n){const m=E("CmsComponents");return s(),f("div",st,[l("div",it,w(t.$t("online-booking.sidebar.any-doubt.title")),1),l("div",rt,[t.content?(s(),u(m,{key:0,content:t.content},null,8,["content"])):p("",!0)])])}const ct=A(nt,[["render",at]]),mt={key:0,class:"p-6 border border-th-lightgrey mt-6"},lt=y({__name:"OnlineBookingSummaryNotice",setup(t){const{content:o}=h(b.SUMMARY_NOTICE),a=_(()=>!o.value?.[0]?.props.hideBlock&&o.value?.[0]?.props.blocks?.some(r=>!r.props.hideBlock));return(r,c)=>e(a)?(s(),f("div",mt,[g(C,{content:e(o)},null,8,["content"])])):p("",!0)}}),pt=y({name:"OnlineBookingPaymentNotice",components:{CmsComponents:C},setup(){const{content:t}=h(b.PAYMENT_NOTICE);return{content:t}},head:{}}),dt={class:"p-4 mb-6 text-xs border border-th-lightgrey"};function ut(t,o,a,r,c,n){const m=E("CmsComponents");return s(),f("div",null,[l("div",dt,[t.content?(s(),u(m,{key:0,content:t.content},null,8,["content"])):p("",!0)])])}const ft=A(pt,[["render",ut]]),gt={id:"online-booking",class:"w-full min-h-[400px] pt-4"},_t={key:0,"data-testid":"onlinebooking-first-step-title",class:"pb-10 text-center"},kt={class:"group-hover:underline"},yt={class:"items-start mb-6 md:flex"},ht={class:"md:w-2/3"},bt={class:"p-6 border border-th-lightgrey"},Ct={class:"pt-6 md:pt-0 md:pl-6 md:w-1/3"},ce=y({__name:"OnlineBooking",setup(t){const o=F(!0),{fetchConfiguration:a,onlineBookingConfiguration:r,steps:c,currentStepIndex:n,bookingMode:m}=W();m.value="page";const v=q(),{t:O}=T(),$=_(()=>!!v.meta?.cmsBlock),B=_(()=>!!v.meta?.summary),I=_(()=>!!v.meta?.summaryButton),k=async d=>{const i=c.value[d],x="query"in i?i?.query:{};await G({path:`/online-booking/${i.url}`,query:x})},D=d=>{d<=n.value&&k(d)},{content:P}=h(b.ONLINE_BOOKING_DATA),N=_(()=>P.value?.[0]?.props.onlineBookingData),{defineHeadTags:L,getDefaultAlternateLinks:R}=Q();L(()=>({metaTags:{title:O("online-booking-title"),description:O("online-booking-description")},alternates:R()})),ot();const M=J();return V(async()=>
1{if(await a(),!K.isOnlineBookingActive(r.value))return window.location.href="/";o.value=!1,M?.trackView("online-booking",window.location.pathname,{env:{template:"online-booking"}})}),(d,i)=>{const x=U;return s(),f("div",gt,[g(et,{items:e(c),"active-index":e(n),onChange:D},null,8,["items","active-index"]),e(n)===0?(s(),f("h2",_t,w(d.$t("online-booking.title")),1)):(s(),f("button",{key:1,class:"flex items-center justify-center mb-6 uppercase group",onClick:i[0]||(i[0]=S=>k(e(n)-1))},[g(tt,{name:"chevronl",class:"mr-2 text-sm"}),l("span",kt,w(d.$t("common.back")),1)])),l("div",yt,[l("div",ht,[e(n)===0&&e(N)?(s(),u(C,{key:0,content:e(N),class:"p-4 mb-4 text-sm bg-th-primary md:text-base"},null,8,["content"])):p("",!0),l("div",bt,[g(Z,{id:"online-booking-step-content",loading:e(o),"loader-class":"my-6"},{default:H(()=>[g(x,{onNext:i[1]||(i[1]=S=>k(e(n)+1)),"current-step-index":e(n)},null,8,["current-step-index"])]),_:1},8,["loading"])]),e(B)&&e($)?(s(),u(lt,{key:1})):p("",!0)]),l("div",Ct,[e(B)?(s(),u(X,{key:0,"show-button":e(I),onNext:i[2]||(i[2]=S=>k(e(n)+1))},null,8,["show-button"])):p("",!0),e(B)&&!e($)?(s(),u(ft,{key:1})):p("",!0),e($)?(s(),u(ct,{key:2})):p("",!0)])])])}}});export{ce 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.