"use strict";exports.id=9990,exports.ids=[9990],exports.modules={99990:(e,t,o)=>{o.d(t,{C:()=>getIsRepresentative});var r=o(84802),i=o(26725);function getIsRepresentative({headers:e,account:t}){let o=r.parse(e?.cookie??"")?.["VtexIdclientAutCookie_"+t],s=(0,i.aj)(o),n=s?.isRepresentative;return!!n}},26725:(e,t,o)=>{function getCookie(e){let t=decodeURIComponent(document.cookie),o=t.split(";");for(let t of o){let[o,r]=t.trim().split("=");if(o===e)return r}}function parseJwt(e){return e?JSON.parse(Buffer.from(e.split(".")[1],"base64").toString()):null}o.d(t,{aj:()=>parseJwt,ej:()=>getCookie}),o(84802)}};