"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const tween = require("./src-transition-tween.cjs");
function textConstant(value) {
  return function() {
    this.textContent = value;
  };
}
function textFunction(value) {
  return function() {
    var value1 = value(this);
    this.textContent = value1 == null ? "" : value1;
  };
}
function transition_text(value) {
  return this.tween("text", typeof value === "function" ? textFunction(tween.tweenValue(this, "text", value)) : textConstant(value == null ? "" : value + ""));
}
exports.default = transition_text;
//# sourceMappingURL=src-transition-text.cjs.map
