import { Scalar as r } from "./accelbyte-widgets651.mjs";
function n({ value: t, source: e }, o) {
  return e && (t ? f : s).test.test(e) ? e : t ? o.options.trueStr : o.options.falseStr;
}
const f = {
  identify: (t) => t === !0,
  default: !0,
  tag: "tag:yaml.org,2002:bool",
  test: /^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,
  resolve: () => new r(!0),
  stringify: n
}, s = {
  identify: (t) => t === !1,
  default: !0,
  tag: "tag:yaml.org,2002:bool",
  test: /^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,
  resolve: () => new r(!1),
  stringify: n
};
export {
  s as falseTag,
  f as trueTag
};
