PageSourceSearch

https://us.caudalie.com/_nuxt/5RxlFQrX.js

js caudalie.com collected 2026-09-24 17:44:01 UTC 3,587 bytes, 1 lines download raw bytes

1import{_ as I}from"./uXcuBwwp.js";import{bl as g,bw as _,bt as s,bL as v,bV as w,bv as i,bI as f,br as r,bz as y,bq as h,bs as C,bA as D,bp as S,bD as k,bg as $,cr as x,cf as F,bo as N,bi as B,c4 as E,bB as T,bm as V,bu as u}from"./stBqee-h.js";import{_ as q}from"./B7g_rj_n.js";import{g as L}from"./CSoPT1eO.js";import{C as A}from"./htL2Tbmm.js";import{i as b}from"./DWVZ_t1L.js";import{u as M}from"./D1wLlblK.js";import{F as G}from"./CT4laNv_.js";import"./BrmfDkPl.js";import"./CHDSLGXK.js";import"./X1yFix63.js";import"./w4bKuG-r.js";import"./CJhHy4xR.js";import"./C7bXUiva.js";import"./v99g-oNS.js";import"./BU4bZFWv.js";import"./Dl_ClBlf.js";import"./BqLxvgcT.js";import"./ClHcx0Vt.js";import"./C0jx0gdG.js";import"./-0pL0POc.js";import"./9wg9MAd8.js";import"./WAqbx6Mx.js";import"./BbJYpf52.js";import"./_ZC6lD_W.js";import"./DJgasq8L.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:"c89fa4f248f1a0797490456fec95f51cf2ebd94a"};var e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="db834f68-80b1-4cab-85db-ea758b2c6560",t._sentryDebugIdIdentifier="sentry-dbid-db834f68-80b1-4cab-85db-ea758b2c6560")}catch{}})();const R={class:"font-bold"},U={key:0,class:"font-bold mt-1"},z={class:"text-xs"},H=g({__name:"FidelityPoints",props:{loading:{type:Boolean,default:!1},customerPoints:{type:Number,default:0},expirationDate:{type:Date,default:null},qtyInCart:{type:Number,default:0},pointsInCart:{type:Number,default:0}},setup(t){const e=t,o=_(),n=D(()=>L(e.expirationDate,o.locale.value,{day:"numeric",month:"numeric",year:"numeric"}));return(a,c)=>(i(),s(A,{id:"fidelity-points",class:w([{loading:t.loading},"text-center"]),loading:t.loading},{default:v(()=>[f("p",R,r(a.$t("my-account.my-caudalie.fidelity-points.points-count-label",{count:t.customerPoints})),1),t.customerPoints>0&&y(n)?(i(),h("p",U,r(a.$t("my-account.my-caudalie.fidelity-points.expiration-date-label",{date:y(n)})),1)):C("",!0),f("p",z,r(a.$t("my-account.my-caudalie.fidelity-points.info")),1)]),_:1},8,["class","loading"]))}}),j=g({name:"MyCaudalieStep",components:{GiftProductsList:q,FidelityPoints:H,FidelityServiceUnavailable:G},setup(){const{t}=_(),{defineHeadTags:e}=M();$();const{loading:o,isServiceAvailable:n,expirationDate:a,qtyInCart:c,fetchMyCaudalieInformation:l,customerPoints:d,pointsInCart:m}=x(),p=V(),{isCartOnlyVirtual:P}=F();return e(()=>({metaTags:{title:t("my-account.menu.redeem-my-gift")}})),N(async()=>{l()}),B(async()=>{p?.trackView("checkout-my-caudalie",window.location.pathname,{env:{template:"checkout-my-caudalie"}}),(P.value?await b("billing"):await b("shipping"))||await E({name:T.CheckoutShipping})}),{loading:o,isServiceAvailable:n,expirationDate:a,qtyInCart:c,pointsInCart:m,customerPoints:d}}}),O={class:"uppercase h-[40px] bg-th-primary-var text-lg flex justify-center items-center"};function Y(t,e,o,n,a,c){const l=u("FidelityPoints"),d=u("FidelityServiceUnavailable"),m=u("GiftProductsList"),p=I;return i(),h("div",null,[k(p,null,{default:v(()=>[f("h4",O,r(t.$t("my-account.my-caudalie.redeem-my-gift.subtitle")),1),t.isServiceAvailable?(i(),s(l,{key:0,loading:t.loading,"customer-points":t.customerPoints,"expiration-date":t.expirationDate,"qty-in-cart":t.qtyInCart,"points-in-cart":t.pointsInCart,class:"mt-5"},null,8,["loading","customer-points","expiration-date","qty-in-cart","points-in-cart"])):(i(),s(d,{key:1})),t.loading?C("",!0):(i(),s(m,{key:2,class:"mt-2"}))]),_:1})])}const Ct=S(j,[["render",Y]]);export{Ct 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.