import { usePostTimestamp as c, openBlock as a, createElementBlock as r, createBaseVNode as o, toDisplayString as _, unref as s, withModifiers as d, pushScopeId as m, popScopeId as l } from "./composables-61bf5e40.js";
import { _export_sfc as u } from "./_plugin-vue_export-helper-6a641814.js";
const f = (t) => (m("data-v-97fb1149"), t = t(), l(), t), v = /* @__PURE__ */ f(() => /* @__PURE__ */ o("div", { class: "i-mdi-watering-can-outline" }, null, -1)), h = { class: "num p-0 ml-1 text-sm" }, g = {
  __name: "PostActionUpdate",
  props: {
    tag: { type: String, default: "posts" },
    hash: { type: String, default: "" }
  },
  setup(t) {
    const n = t, { timestamp: S, msTime: p, refresh: i } = c(n);
    return (b, e) => (a(), r("button", {
      class: "m-1 button items-center",
      onClick: e[0] || (e[0] = d((x) => s(i)(), ["stop", "prevent"]))
    }, [
      v,
      o("div", h, _(s(p)), 1)
    ]));
  }
}, P = /* @__PURE__ */ u(g, [["__scopeId", "data-v-97fb1149"]]);
export {
  P as default
};
//# sourceMappingURL=PostActionUpdate-287db348.js.map
