Files
klz-cables.com/.pnpm-store/v10/files/bd/364a5ffa725a7e45a3796b5f9f7815089de460cae665f728e84cae02b37538184502ad05c0fa13b0a45c02f52277afa1109263c9c07e737caefca563f09dc5
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

40 lines
895 B
Plaintext

'use client';
import { c as _c } from "react/compiler-runtime";
import { jsx as _jsx } from "react/jsx-runtime";
import md5 from 'md5';
import React from 'react';
import { useAuth } from '../../../providers/Auth/index.js';
export const GravatarAccountIcon = () => {
const $ = _c(2);
const {
user
} = useAuth();
const hash = md5(user.email.trim().toLowerCase());
const params = new URLSearchParams({
default: "mp",
r: "g",
s: "50"
}).toString();
const query = `?${params}`;
const t0 = `https://www.gravatar.com/avatar/${hash}${query}`;
let t1;
if ($[0] !== t0) {
t1 = _jsx("img", {
alt: "yas",
className: "gravatar-account",
height: 25,
src: t0,
style: {
borderRadius: "50%"
},
width: 25
});
$[0] = t0;
$[1] = t1;
} else {
t1 = $[1];
}
return t1;
};
//# sourceMappingURL=index.js.map