import{g as n,ay as t,h as u}from"./LrfSKRHt.js";const C=()=>{const s=n(),e=t("slpid",{maxAge:604800,path:"/"}),o=t("slid",{maxAge:604800,path:"/"}),a=u(()=>s.query.rrpid||e.value),i=u(()=>s.query.rrid||s.query.sc_customer||o.value);return{personSystemId:a,personId:i,initializeCookies:()=>{a.value&&(e.value=a.value),i.value&&(o.value=i.value)},updateCookies:(r,l)=>{e.value=l,o.value=r},clearCookies:()=>{e.value=void 0,o.value=void 0}}};export{C as u};