import { h as n } from "./date2-DpnYOzUg.js";
function d(r) {
  const t = a(r);
  return t === null ? "" : n(t);
}
function a(r) {
  const t = r.match(/\w+_(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z).*/);
  if (!t) return null;
  const e = /* @__PURE__ */ new Date(`${t[1]}`);
  return isNaN(e.getTime()) ? null : e;
}
export {
  d as f,
  a as p
};
