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