(function(global2, factory) {
  typeof exports === "object" && typeof module !== "undefined" ? factory(exports) : typeof define === "function" && define.amd ? define(["exports"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.BuilderWixComponentsSDK = {}));
})(this, function(exports2) {
  "use strict";
  var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
  function getDefaultExportFromCjs(x) {
    return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
  }
  var Breadcrumbs_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var r2 in n2) e.o(n2, r2) && !e.o(t2, r2) && Object.defineProperty(t2, r2, { enumerable: true, get: n2[r2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { ELLIPSIS_WARNING_MESSAGE: function() {
          return En;
        }, default: function() {
          return Pn;
        }, sdk: function() {
          return Sn;
        } });
        const n = /^(?:(?:https?:)\/\/)(?:(?:[\u0400-\uA69F\w][\u0400-\uA69F\w-]*)?[\u0400-\uA69F\w]\.)+(?:[\u0400-\uA69Fa-z]+|\d{1,3})(?::[\d]{1,5})?(?:[/?#].*)?$/i, r = /^wix:vector:\/\/v1\/svgshape\.v[12]/, o = /^wix:vector:\/\/v1\/[0-9|a-z|_]+.svg/;
        function a(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function i(e2) {
          return Array.isArray(e2);
        }
        function s(e2) {
          return null == e2;
        }
        function l(e2, t2) {
          return t2.includes(e2);
        }
        function u(e2, t2) {
          return e2 > t2;
        }
        function m(e2, t2) {
          return e2 < t2;
        }
        function c(e2) {
          return e2.includes("<svg");
        }
        function p(e2) {
          return r.test(e2);
        }
        function d(e2) {
          return Boolean(e2 && (t2 = e2, o.test(t2) || function(e3) {
            return n.test(e3);
          }(e2) || c(e2) || p(e2)));
          var t2;
        }
        const f = "<svg data-failed />", h = "inline", y = "wixMedia", v = /^wix:vector:\/\/v1\//, N = /^wix:vector:\/\/v1\/[0-9|a-z|_]+.svg/, g = (e2, t2) => {
          const n2 = ((e3, t3) => {
            const n3 = new RegExp(`${t3}=("|')?([-\\w\\s,]+)\\1`);
            return e3.match(n3);
          })(e2, t2);
          return n2 ? n2[2] : null;
        }, b = (e2, t2) => {
          if (p(e2)) return ((e3, t3) => {
            const [n3] = e3.replace(v, "").split("/"), r2 = ((e4) => {
              const [, t4, n4, r3] = e4.replace(/^.*\//, "").split("."), o2 = "v1" === t4 ? 1 : 2;
              return n4.replace(/svg_/i, "") + (1 === o2 ? `_svgshape.v1.${r3}` : "") + ".svg";
            })(n3);
            return { type: y, data: `${t3}/${r2}` };
          })(e2, t2);
          const n2 = ((e3) => {
            const [t3] = N.exec(e3) || [];
            return t3;
          })(e2);
          if (n2) {
            const e3 = n2.replace(v, "");
            return { type: y, data: `${t2}${e3}` };
          }
          return c(e2) ? { type: h, data: e2 } : { type: "url", data: e2 };
        }, $ = async (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = g(e3, "width"), n3 = g(e3, "height");
            return g(e3, "viewBox") || t3 && n3;
          })(e2) ? e2 : e2.replace("<svg", '<svg width="300" height="150"');
          try {
            const { svg: e3 } = await t2(n2);
            return e3 || f;
          } catch (e3) {
            return f;
          }
        }, x = async (e2, t2, n2) => {
          const { type: r2, data: o2 } = b(e2, t2);
          if (r2 === h) return $(o2, n2);
          let a2 = await (async (e3) => {
            try {
              const t3 = await fetch(e3);
              if (t3.ok) return t3.text();
            } catch {
            }
            return f;
          })(o2);
          return w(a2) || r2 === y || (a2 = await $(a2, n2)), a2;
        }, w = (e2) => e2 === f, I = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, C = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, k = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, E = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${r2}"')`, O = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, T = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: r2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${r2}: ${o2}. Read more about the effectOptions object: "${a2}"')`, S = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: r2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${r2}"`, P = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: r2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${r2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${o2}"'`, V = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, L = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, A = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, j = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, M = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, D = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, B = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, F = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, H = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, R = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${r2} and ${o2}.`, U = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${r2} and ${o2}.`, W = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${r2}.`, G = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${r2}.`, _ = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${r2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${r2}.`, X = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${r2}.`, z = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${r2}.`, Y = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${r2} and ${o2}.`, J = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${r2} and ${o2}.`, K = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${r2}.`, Z = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${r2}.`, Q = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${r2}.`, ee = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, index: o2 }) => `The value of ${e2} parameter of item at ${o2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${r2}.`, te = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${r2}.`, ne = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2, index: o2 }) => `The value of ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${r2}.`, re = ({ propertyName: e2, functionName: t2, value: n2, expectedType: r2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${r2}.`, oe = ({ propertyName: e2, functionName: t2, value: n2, expectedType: r2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${r2}.`, ae = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, ie = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, se = ({ propertyName: e2, functionName: t2, value: n2, index: r2 }) => `The "${e2}" property of the item at index ${r2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, le = ({ propertyName: e2, value: t2 }) => `The "${e2}" property cannot be set to "${t2}". It must be a valid SVG XML string or an SVG source starting with "http://", "https://", or "wix:vector://v1/".`, ue = ({ functionName: e2, wrongValue: t2, index: n2 }) => `The link property of item at index ${n2} that is passed to the ${e2} method cannot be set to the value "${t2}" as this is not a supported link type.`, me = ({ propertyName: e2, wrongValue: t2, fields: n2, index: r2 }) => `The ${e2} at index ${r2} cannot be set to ${JSON.stringify(t2)}. Options must contain at least a non-null ${n2[0]} or a non-null ${n2[1]}.`, ce = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} of the ${t2} parameter of item at index ${n2} that is passed to the items method cannot be an external link. It must be a link to a page on your site.`, pe = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, de = ({ compName: e2, functionName: t2, propertyName: n2, index: r2 }) => a(r2) ? L({ propertyName: n2, functionName: t2, index: r2 }) : e2 ? V({ compName: e2, functionName: t2, propertyName: n2 }) : k({ functionName: t2, propertyName: n2 }), fe = ({ functionName: e2, propertyName: t2, index: n2 }) => a(n2) ? M({ functionName: e2, propertyName: t2, index: n2 }) : A({ functionName: e2, propertyName: t2 }), he = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? a(n2) ? H({ functionName: e2, propertyNames: t2, index: n2 }) : B({ functionName: e2, propertyNames: t2 }) : a(n2) ? F({ functionName: e2, propertyName: t2[0], index: n2 }) : D({ functionName: e2, propertyName: t2[0] }), ye = ({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2, index: i2 }) => o2 && r2 ? o2 === r2 ? a(i2) ? G({ functionName: e2, propertyName: t2, value: n2, expectedValue: o2, index: i2 }) : W({ functionName: e2, propertyName: t2, value: n2, expectedValue: o2 }) : a(i2) ? U({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2, index: i2 }) : R({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2 }) : !o2 && r2 ? a(i2) ? z({ functionName: e2, propertyName: t2, value: n2, maximum: r2, index: i2 }) : X({ functionName: e2, propertyName: t2, value: n2, maximum: r2 }) : a(i2) ? q({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: i2 }) : _({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), ve = ({ functionName: e2, propertyName: t2, value: n2, minimum: r2, maximum: o2, index: i2 }) => r2 && o2 ? r2 === o2 ? a(i2) ? Z({ functionName: e2, propertyName: t2, expectedValue: r2, value: n2, index: i2 }) : K({ functionName: e2, propertyName: t2, expectedValue: r2, value: n2 }) : a(i2) ? J({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2, index: i2 }) : Y({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2 }) : !r2 && o2 ? a(i2) ? ne({ functionName: e2, propertyName: t2, maximum: o2, value: n2, index: i2 }) : te({ functionName: e2, propertyName: t2, maximum: o2, value: n2 }) : a(i2) ? ee({ functionName: e2, propertyName: t2, value: n2, minimum: r2, index: i2 }) : Q({ functionName: e2, propertyName: t2, value: n2, minimum: r2 }), Ne = ({ functionName: e2, propertyName: t2, types: n2, value: r2, index: o2 }) => {
          const i2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return a(o2) ? oe({ functionName: e2, index: o2, propertyName: t2, value: r2, expectedType: i2 }) : re({ functionName: e2, propertyName: t2, value: r2, expectedType: i2 });
        }, ge = ({ functionName: e2, propertyName: t2, value: n2, enum: r2, index: o2 }) => {
          const i2 = `from (${r2.join(",")})`;
          return a(o2) ? oe({ functionName: e2, propertyName: t2, value: n2, expectedType: i2, index: o2 }) : re({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, be = ({ functionName: e2, propertyName: t2, value: n2, index: r2 }) => a(r2) ? se({ functionName: e2, propertyName: t2, value: n2, index: r2 }) : ae({ functionName: e2, propertyName: t2, value: n2 }), $e = Object.prototype.hasOwnProperty, xe = Object.getOwnPropertyNames, we = () => {
        };
        function Ie(e2, t2, n2, r2, o2, a2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !i(e3);
          }(e2)) return Oe.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => Ie(e2, t3, n2, we, o2, a2)).filter((e3) => e3 === Oe.Valid).length ? Oe.Valid : Oe.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!$e.call(e2, t2.required[n3])) return r2(fe({ functionName: a2.functionName, index: a2.index, propertyName: t2.required[n3] }), { ...a2, value: e2 }), Oe.Invalid;
          }
          const s2 = xe(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = xe(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return r2(he({ functionName: a2.functionName, index: a2.index, propertyNames: t3 })), Oe.Invalid;
            }
          }
          for (let r3 = 0; r3 < s2.length; r3++) {
            const o3 = s2[r3];
            if ($e.call(e2, o3)) {
              const r4 = t2.properties[o3], i2 = e2[o3];
              if (!n2(i2, r4, { functionName: a2.functionName, index: a2.index, propertyName: o3 })) return Oe.Invalid;
            }
          }
          return Oe.Valid;
        }
        function Ce(e2) {
          return Array.isArray(e2);
        }
        function ke(e2, t2, n2, r2) {
          const { minimum: o2, maximum: i2, enum: s2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? s2 && !l(e2, s2) ? (n2(ge({ value: e2, enum: s2, ...r2 }), { ...r2, value: e2 }), Oe.Invalid) : a(o2) && m(e2, o2) || a(i2) && u(e2, i2) ? (n2(ve({ value: e2, minimum: o2, maximum: i2, ...r2 }), { ...r2, value: e2 }), Oe.Invalid) : Oe.Valid : Oe.InvalidType;
        }
        function Ee(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? Oe.Valid : Oe.InvalidType;
        }
        const Oe = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function Te({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: r2 = false } = {}) {
          function o2(r3, o3, a2) {
            o3.warnIfNil && s(r3) && t2(de({ ...a2, compName: n2 }), { ...a2, value: r3 });
            let i2 = 0;
            for (; i2 < o3.type.length; i2++) {
              const e3 = (0, c2[o3.type[i2]])(r3, o3, a2);
              if (e3 !== Oe.InvalidType) return e3 === Oe.Valid;
            }
            return i2 === o3.type.length && e2(Ne({ value: r3, types: o3.type, ...a2 }), { ...a2, value: r3 }), false;
          }
          const c2 = { object: (n3, r3, a2) => Ie(n3, r3, o2, e2, t2, a2), array: (e3, t3, n3) => function(e4, t4, n4, r3, o3, a2 = false) {
            if (!i(e4)) return Oe.InvalidType;
            let s2 = Oe.Valid;
            if (t4.items) {
              const r4 = Ce(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let i2 = 0; i2 < r4; i2++) {
                const r5 = e4[i2];
                let l2, u2;
                Ce(t4.items) ? (l2 = t4.items[i2], u2 = t4.items[i2].name) : (l2 = t4.items, u2 = t4.name), n4(r5, l2, { functionName: o3.functionName, propertyName: u2 || o3.propertyName, index: a2 ? void 0 : i2 }) || (s2 = Oe.Invalid);
              }
            }
            return s2;
          }(e3, t3, o2, 0, n3, r2), number: (t3, n3, r3) => function(e3, t4, n4, r4) {
            const { minimum: o3, maximum: i2, enum: s2 } = t4;
            return a(e3) ? s2 && !l(e3, s2) ? (n4(ge({ value: e3, enum: s2, ...r4 }), { ...r4, value: e3 }), Oe.Invalid) : a(o3) && m(e3, o3) || a(i2) && u(e3, i2) ? (n4(ve({ value: e3, minimum: o3, maximum: i2, ...r4 }), { ...r4, value: e3 }), Oe.Invalid) : Oe.Valid : Oe.InvalidType;
          }(t3, n3, e2, r3), integer: (t3, n3, r3) => ke(t3, n3, e2, r3), string: (t3, n3, r3) => function(e3, t4, n4, r4) {
            const { minLength: o3, maxLength: a2, enum: i2, pattern: s2 } = t4;
            return /* @__PURE__ */ function(e4) {
              return "string" == typeof e4;
            }(e3) ? i2 && !l(e3, i2) ? (n4(ge({ value: e3, enum: i2, ...r4 }), { ...r4, value: e3 }), Oe.Invalid) : o3 && m(e3.length, o3) || a2 && u(e3.length, a2) ? (n4(ye({ value: e3, minimum: o3, maximum: a2, ...r4 }), { ...r4, value: e3 }), Oe.Invalid) : s2 && !new RegExp(s2).test(e3) ? (n4(be({ value: e3, ...r4 }), { ...r4, value: e3 }), Oe.Invalid) : Oe.Valid : Oe.InvalidType;
          }(t3, n3, e2, r3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? Oe.Valid : Oe.InvalidType;
          }(e3), date: (e3) => Ee(e3), nil: (e3) => function(e4) {
            return s(e4) ? Oe.Valid : Oe.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? Oe.Valid : Oe.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return o2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function Se(e2, { suppressIndexErrors: t2 = false } = {}) {
          return Te({ reportError: I, reportWarning: C }, e2, { suppressIndexErrors: t2 });
        }
        const Pe = "click", Ve = "dblClick", Le = "mouseenter", Ae = "mouseleave", je = "change", Me = "blur", De = "focus", Be = "imageChanged", Fe = "imageExpanded", He = "onInput", Re = "itemClicked", Ue = "cellSelect", We = "cellEdit", Ge = "rowSelect", _e = "fetchData", qe = "dataChange", Xe = "onTimeout", ze = "onVerified", Ye = "onError", Je = "onPlay", Ke = "onPause", Ze = "onProgress", Qe = "onEnded", et = "autoplayOff", tt = "autoplayOn", nt = "playEnded", rt = "playProgress", ot = "keyPress", at = "keyUp", it = "keyDown", st = "screenIn", lt = "viewportEnter", ut = "viewportLeave", mt = "scroll", ct = "validate", pt = "setCustomValidity", dt = "syncValidationData", ft = "updateValidityIndication", ht = "message", yt = "uploadComplete", vt = "itemReady", Nt = "itemRemoved", gt = "tagClick", bt = "quickActionBarItemClicked", $t = "markerClicked", xt = "mapClicked", wt = "iconMouseIn", It = "onStateChange", Ct = "itemMouseIn", kt = "itemMouseOut", Et = "itemMouseClick", Ot = "itemMouseDblClick", Tt = "onColorChange", St = "onFontChange", Pt = "onOpacityChange", Vt = { [Pe]: "onClick", [Ve]: "onDblClick", [Le]: "onMouseIn", [Ae]: "onMouseOut", [je]: "onChange", [He]: "onInput", [Me]: "onBlur", [De]: "onFocus", [Be]: "onCurrentItemChanged", [Fe]: void 0, [Re]: "onItemClicked", [Ue]: "onCellSelect", [We]: void 0, [Ge]: "onRowSelect", [_e]: void 0, [qe]: "onDataChange", [Xe]: "onTimeout", [ze]: "onVerified", [Ye]: "onError", [Je]: "onPlay", [Ke]: "onPause", [Ze]: "onProgress", [Qe]: "onEnded", [et]: "onPause", [tt]: "onPlay", [nt]: void 0, [rt]: void 0, [ot]: "onKeyPress", [at]: "onKeyUp", [it]: "onKeyDown", [st]: void 0, [lt]: "onViewportEnter", [ut]: "onViewportLeave", [mt]: void 0, [ct]: void 0, [pt]: void 0, [dt]: void 0, [ft]: void 0, [ht]: "onMessage", [yt]: void 0, [vt]: "onItemReady", [Nt]: "onItemRemoved", [gt]: void 0, [bt]: "onItemClicked", [$t]: "onMarkerClicked", [xt]: "onMapClicked", [wt]: void 0, [It]: "onStateChange", [Ct]: "onItemMouseIn", [kt]: "onItemMouseOut", [Et]: "onItemClick", [Ot]: "onItemDblClick", [Tt]: "onColorChange", [St]: "onFontChange", [Pt]: "onOpacityChange" }, Lt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, At = (e2) => {
          const { target: t2, type: n2, context: r2 } = e2;
          return { target: t2, type: Lt[n2] ?? n2, context: r2 };
        }, jt = (e2) => {
          const { clientX: t2, clientY: n2, pageX: r2, pageY: o2, screenX: a2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: u2 } = s2;
          return { clientX: t2, clientY: n2, pageX: r2, pageY: o2, screenX: a2, screenY: i2, offsetX: l2, offsetY: u2 };
        }, Mt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Dt = (e2) => e2.replace(/^on/i, ""), Bt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Ft = (e2, t2, n2, r2) => {
          const { create$w: o2, createEvent: a2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, n3) => Se(n3)(e3, { type: ["function"] }, t3))(n2, Mt[e2] ?? e2, l2.role)) return s2();
          const [u2, m2] = Bt(t2), c2 = i2(e2, (e3, t3) => {
            const i3 = a2({ type: e3.type, compId: e3.compId }), s3 = o2({ context: i3.context }), l3 = r2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...At(i3), ...l3 }, s3);
          }), p2 = { eventName: e2, compId: l2.compId, cb: n2, unregister: c2 };
          return m2({ listeners: [...u2.listeners, p2] }), s2();
        }, Ht = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(Mt).find(([t4, n3]) => Dt(n3.toLowerCase()) === Dt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(Vt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, Rt = (e2, t2, n2, r2) => Ft(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...jt(e3), ...t3 && r2?.(t3) }));
        function Ut(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const r2 = {};
            for (let a2 = 0; a2 < e2.length; a2++) {
              const i2 = e2[a2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], a3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(r2, n2 && a3.get ? "aria" + (o2 = t4).charAt(0).toUpperCase() + o2.slice(1) : t4, a3);
              }
            }
            var o2;
            return r2;
          };
        }
        const Wt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: r2, compType: o2, isGlobal: a2, getParent: i2, role: s2, wixCodeId: l2 } = t2, u2 = `$w.${o2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return r2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return i2();
          }, get global() {
            return a2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: s2, type: u2, global: a2() };
          } };
        }, Gt = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: r2, create$w: o2, createEvent: a2 } = t2, i2 = (e3, t3) => Se(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => i2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = a2({ type: "viewportEnter" }), t3 = o2();
            n3(e3, t3);
          }), Ft("onViewportEnter", t2, n3)) : r2(), onViewportLeave: (n3) => i2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = a2({ type: "viewportLeave" }), t3 = o2();
            n3(e3, t3);
          }), Ft("onViewportLeave", t2, n3)) : r2() };
        }, _t = { duration: 1200, delay: 0 }, qt = { arc: { ..._t, direction: "left" }, bounce: { ..._t, direction: "topLeft", intensity: "medium" }, puff: { ..._t }, zoom: { ..._t }, fade: { ..._t }, flip: { ..._t, direction: "right" }, float: { ..._t, direction: "right" }, fly: { ..._t, direction: "right" }, fold: { ..._t, direction: "left" }, glide: { ..._t, angle: 0, distance: 0 }, roll: { ..._t, direction: "left" }, slide: { ..._t, direction: "left" }, spin: { ..._t, direction: "cw", cycles: 5 }, turn: { ..._t, direction: "right" }, ArcIn: { ..._t, direction: "right" }, ArcOut: { ..._t, direction: "right" }, BounceIn: { ..._t, direction: "topLeft", intensity: "medium" }, BounceOut: { ..._t, direction: "topLeft", intensity: "medium" }, ExpandIn: { ..._t, direction: "right" }, CollapseOut: { ..._t }, Conceal: { ..._t, direction: "right" }, Reveal: { ..._t, direction: "left" }, FadeIn: { ..._t }, FadeOut: { ..._t }, FlipIn: { ..._t, direction: "left" }, FlipOut: { ..._t, direction: "left" }, FloatIn: { ..._t, direction: "right" }, FloatOut: { ..._t, direction: "right" }, FlyIn: { ..._t, direction: "right" }, FlyOut: { ..._t, direction: "right" }, FoldIn: { ..._t, direction: "left" }, FoldOut: { ..._t, direction: "left" }, GlideIn: { ..._t, angle: 0, distance: 150 }, GlideOut: { ..._t, angle: 0, distance: 150 }, DropIn: { ..._t }, PopOut: { ..._t }, SlideIn: { ..._t, direction: "left" }, SlideOut: { ..._t, direction: "left" }, SpinIn: { ..._t, direction: "cw", cycles: 2 }, SpinOut: { ..._t, direction: "cw", cycles: 2 }, TurnIn: { ..._t, direction: "right" }, TurnOut: { ..._t, direction: "right" } }, Xt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, zt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Yt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Jt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Kt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Zt = { arc: { type: ["object"], properties: { duration: Yt, delay: Jt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Yt, delay: Jt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Yt, delay: Jt } }, zoom: { type: ["object"], properties: { duration: Yt, delay: Jt } }, fade: { type: ["object"], properties: { duration: Yt, delay: Jt } }, flip: { type: ["object"], properties: { duration: Yt, delay: Jt, direction: Kt } }, float: { type: ["object"], properties: { duration: Yt, delay: Jt, direction: Kt } }, fly: { type: ["object"], properties: { duration: Yt, delay: Jt, direction: Kt } }, fold: { type: ["object"], properties: { duration: Yt, delay: Jt, direction: Kt } }, glide: { type: ["object"], properties: { duration: Yt, delay: Jt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Yt, delay: Jt, direction: Kt } }, slide: { type: ["object"], properties: { duration: Yt, delay: Jt, direction: Kt } }, spin: { type: ["object"], properties: { duration: Yt, delay: Jt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Yt, delay: Jt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Qt = ({ propertyName: e2, compName: t2 }) => (n2, r2) => {
          if (!n2) return false;
          if (void 0 === r2) return true;
          const o2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (r3, o3) => {
            C(P({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${o3?.value}`, infoLink: zt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!Te({ reportError: o2, reportWarning: () => ({}) }, t2)(r2, { type: ["object"] }, e2)) return false;
          const a2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (r3, o3) => {
            C(T({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${o3?.propertyName}" cannot be set to the value "${o3?.value}"`, infoLink: zt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!Te({ reportError: a2, reportWarning: () => ({}) }, t2)(r2, Zt[n2], e2);
        }, en = (e2) => 0 === Object.keys(e2).length, tn = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: r2, metaData: o2, getSdkInstance: a2, runAnimation: i2, createSdkState: s2, styleUtils: l2, setProps: u2 }) => {
          const m2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: r3 }) => {
            const o3 = Qt({ propertyName: r3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !en(n3)) return C(O({ propertyName: r3, compName: e3, infoLink: zt(r3) })), false;
            const a3 = "hide" === r3 ? "HIDE" : "SHOW", i3 = Xt[a3]?.deprecatedValues;
            return t3 && n3 && i3 && i3.find((e4) => e4 === t3) && !en(n3) ? (C(S({ compName: e3, effectName: t3, propertyName: r3, infoLink: zt(r3) })), false) : !!i3.find((e4) => e4 === t3) || (t3 && !(t3 in Zt) ? (C(E({ propertyName: r3, compName: e3, effectName: t3, infoLink: zt(r3) })), false) : !!o3(t3, n3));
          })({ compName: o2.role }), [c2, p2] = s2({ hidden: o2.hiddenOnLoad, collapsed: o2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (o3, a3) => {
            if (u2({ hidden: true }), c2.collapsed || c2.hidden) p2({ hidden: true });
            else {
              if (m2({ effectName: o3, effectOptions: a3, propertyName: "hide" })) {
                const e3 = { animationDirection: Xt.HIDE.suffix, effectName: o3, effectOptions: { ...qt?.[o3] || _t, ...a3 } };
                await Promise.all([i2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else n2(l2.getHiddenStyles()), t2 && r2.setStyles(l2.getHiddenStyles());
              p2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (o3, a3) => {
            if (u2({ hidden: false }), !c2.collapsed && c2.hidden) {
              if (m2({ effectName: o3, effectOptions: a3, propertyName: "show" })) {
                const e3 = { animationDirection: Xt.SHOW.suffix, effectName: o3, effectOptions: { ...qt?.[o3] || _t, ...a3 } };
                await Promise.all([i2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else n2(l2.getShownStyles()), t2 && r2.setStyles(l2.getShownStyles());
              p2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else p2({ hidden: false });
          }, collapse: async () => {
            u2({ collapsed: true }), c2.collapsed || (n2(l2.getCollapsedStyles()), t2 && r2.setStyles(l2.getCollapsedStyles()), p2({ collapsed: true }), c2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (u2({ collapsed: false }), c2.collapsed) {
              const o3 = { ...l2.getExpandedStyles(), visibility: c2.hidden ? "hidden" : null };
              n2(o3), t2 && r2.setStyles(o3), p2({ collapsed: false }), c2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return c2.collapsed;
          }, get hidden() {
            return Boolean(c2.hidden);
          }, get isVisible() {
            if (!o2.isRendered()) return false;
            let e3 = a2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, nn = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, r2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Ut([tn({ viewportState: n2, hasPortal: t3 }), Gt((e4, t4) => {
            r2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), rn = (e2, t2, n2) => {
          const r2 = t2.filter((t3) => !e2.includes(t3));
          r2.length && I(ie({ functionName: n2, wrongEffects: r2, allowedEffects: e2 }));
        }, on = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            rn(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            rn(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            rn(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, an = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), sn = (e2, t2) => "string" != typeof e2 ? (ln(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (mn(e2, t2), false), ln = (e2, t2, n2, r2) => {
          I(re({ propertyName: e2, functionName: t2, value: n2, expectedType: r2 }));
        }, un = (e2, t2) => {
          I(A({ propertyName: e2, functionName: t2 }));
        }, mn = (e2, t2) => {
          I(pe({ propertyName: e2, functionName: t2 }));
        }, cn = (e2) => {
          const { setProps: t2, props: n2 } = e2;
          return { customClassList: { get value() {
            return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
          }, values() {
            return n2.customClassNames ? n2.customClassNames : [];
          }, add(...e3) {
            const r2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!sn(t3, "customClassList.add")) return;
                r2.add(t3);
              }
              t2({ customClassNames: Array.from(r2) });
            } else un("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void un("className", "customClassList.remove");
            const r2 = new Set(n2.customClassNames);
            for (const t3 of e3) {
              if (!sn(t3, "customClassList.remove")) return;
              r2.delete(t3);
            }
            t2({ customClassNames: Array.from(r2) });
          }, contains(e3) {
            if (e3) return sn(e3, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e3) : void 0;
            un("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!sn(t3, "customClassList.replace") || !sn(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (I(j({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!sn(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (un("className", "customClassList.toggle"), false);
          } } };
        }, pn = ({ role: e2, compType: t2, isGlobal: n2, isRendered: r2 }) => ({ id: e2, type: `$w.${t2}`, global: n2(), rendered: r2() }), dn = (e2) => ({ onMouseIn: (t2) => Rt("onMouseEnter", e2, t2), onMouseOut: (t2) => Rt("onMouseLeave", e2, t2), removeEventHandler: (t2, n2) => {
          const { getSdkInstance: r2 } = e2;
          return "string" != typeof t2 ? (I(re({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), r2()) : "function" != typeof n2 ? (I(re({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), r2()) : ((e3, t3, n3) => {
            const { metaData: r3, getSdkInstance: o2 } = t3, [a2, i2] = Bt(t3), s2 = a2.listeners.filter((t4) => Ht(t4.eventName, e3) && t4.cb === n3 && t4.compId === r3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: a2.listeners.filter((e4) => !s2.includes(e4)) }), o2();
          })(t2, e2, n2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return pn(e2.metaData);
        } }), fn = Gt();
        Ut([Wt, fn, dn, on, cn]);
        const hn = (e2) => {
          let { itemsBeforeCollapse: t2, itemsAfterCollapse: n2, breadcrumbs: r2, showHomePage: o2, showCurrentPage: a2 } = e2;
          const i2 = ((e3, t3) => e3 - Number(!t3))(t2, o2), s2 = ((e3, t3) => e3 - Number(!t3))(n2, a2);
          return i2 + s2 < r2.length;
        }, yn = (e2, t2) => {
          var n2;
          const r2 = e2[e2.length - 1];
          return Boolean((null == r2 || null == (n2 = r2.link) ? void 0 : n2.href) === t2 || (null == r2 ? void 0 : r2.isCurrent));
        }, vn = (e2, t2) => {
          for (const o2 of e2) {
            var n2, r2;
            if (o2) {
              if ((null == (n2 = o2.link) ? void 0 : n2.href) === t2) return { ...o2 };
              if (null != (r2 = o2.items) && r2.length) {
                const e3 = vn(o2.items, t2);
                if (e3) return e3;
              }
            }
          }
        }, Nn = (e2, t2, n2, r2, o2) => {
          let { pagesMenuItems: a2 } = t2;
          const { currentUrl: i2 } = n2, { showHomePage: s2, showCurrentPage: l2 } = o2, u2 = gn(a2, i2, r2, o2), m2 = ((e3, t3) => {
            const { currentUrl: n3, pageTitle: r3 } = t3, o3 = vn(e3, n3), a3 = (null == o3 ? void 0 : o3.label) || r3;
            return a3 && { label: a3, isCurrent: true };
          })(a2, n2);
          s2 && u2 && e2.unshift(u2);
          return l2 && !yn(e2, i2) && m2 && e2.push(m2), e2;
        }, gn = (e2, t2, n2, r2) => {
          const { showHomePageAsIcon: o2, svgString: a2 } = r2, i2 = vn(e2, n2);
          return i2 && (t2 === n2 && (i2.isCurrent = true, delete i2.link), o2 && (i2.icon = a2, delete i2.label)), i2;
        }, bn = (e2, t2, n2, r2, o2) => {
          let { pagesMenuItems: a2 } = t2, { currentUrl: i2 } = n2;
          const s2 = e2.length ? ((e3) => {
            for (let n3 = e3.length - 1; n3 >= 0; n3--) {
              var t3;
              if (null != (t3 = e3[n3].link) && t3.href) return e3[n3];
            }
            return gn(a2, i2, r2, o2);
          })(e2) : gn(a2, i2, r2, o2);
          return s2 ? [s2] : [];
        }, $n = function(e2, t2, n2) {
          void 0 === n2 && (n2 = []);
          for (const a2 of e2) {
            var r2, o2;
            if ((null == (r2 = a2.link) ? void 0 : r2.href) === t2.currentUrl) return [...n2, a2];
            if (null != (o2 = a2.items) && o2.length) {
              const e3 = $n(a2.items, t2, [...n2, a2]);
              if (e3.length) return e3;
            }
          }
          return [];
        }, xn = (e2, t2, n2) => {
          const { currentUrl: r2, homePageHref: o2 } = e2, a2 = (i2 = t2, JSON.parse(JSON.stringify(i2)));
          var i2;
          const { pagesMenuItems: s2 } = a2, { showOnlyPreviousPageOnMobile: l2 } = n2, u2 = $n(s2, e2);
          ((e3, t3) => {
            var n3;
            return (null == (n3 = e3[0]) || null == (n3 = n3.link) ? void 0 : n3.href) === t3;
          })(u2, o2) && u2.shift(), yn(u2, r2) && u2.pop();
          return ((e3) => e3.map((e4) => {
            const { link: t3, ...n3 } = e4;
            return { ...n3, ...null != t3 && t3.href ? { link: null == t3 ? void 0 : t3.href } : {} };
          }))((l2 ? bn : Nn)(u2, a2, e2, o2, n2));
        }, wn = (e2) => {
          let { title: t2, pageUriSeo: n2, icon: r2, isCurrent: o2 } = e2;
          return { label: t2, link: n2, isCurrent: o2, icon: r2 };
        }, In = (e2, t2, n2, r2) => {
          const o2 = t2.pageId, a2 = ((e3, t3, n3) => Object.entries(e3).reduce((e4, r3) => {
            let [o3, { title: a3, id: i3, parentPageId: s3 }] = r3;
            const l3 = i3 === t3, u3 = l3 ? void 0 : t3;
            return e4[i3] = { title: a3, pageUriSeo: l3 ? n3 : n3 + "/" + o3, parentPageId: s3 || u3 }, e4;
          }, {}))(e2, n2, t2.homePageHref), { showHomePageAsIcon: i2, showCurrentPage: s2, showHomePage: l2, svgString: u2, showOnlyPreviousPageOnMobile: m2 } = r2, c2 = [];
          let p2 = o2;
          for (; p2; ) {
            const e3 = a2[p2], t3 = p2 === o2, r3 = p2 === n2, d2 = p2 === a2[o2].parentPageId;
            (t3 && r3 || (!t3 || s2) && (!r3 || l2) && (!!d2 || !m2)) && c2.push(wn({ ...e3, isCurrent: t3, icon: i2 && r3 ? u2 : void 0 })), p2 = e3.parentPageId;
          }
          return c2.reverse();
        }, Cn = (e2, t2, n2, r2) => e2 > 0 && e2 < t2.length || (e2 < 1 ? (I(ve({ value: e2, minimum: 1, functionName: n2, propertyName: r2, index: void 0 })), false) : (C(ve({ value: e2, minimum: 1, maximum: t2.length - 1, functionName: n2, propertyName: r2, index: void 0 })), true)), kn = { items: [(e2) => e2.every((t2, n2) => {
          let { label: r2, icon: o2 } = t2;
          return !(!r2 && !o2) || (I((({ propertyName: e3, wrongValue: t3, fields: n3, index: r3 }) => me({ propertyName: e3, wrongValue: t3, fields: n3, index: r3 }))({ propertyName: "Breadcrumbs.Item", index: n2, wrongValue: e2[n2], fields: ["icon", "label"] })), false);
        }), (e2, t2) => {
          const { linkUtils: n2 } = t2.platformUtils;
          return e2.every((e3, t3) => {
            let { link: r2 } = e3;
            if (s(r2)) return true;
            try {
              const { type: e4 } = n2.getLinkProps(r2, "_blank");
              if ("ExternalLink" === e4) return I((({ functionName: e5, propertyName: t4, index: n3 }) => ce({ propertyName: t4, functionName: e5, index: n3 }))({ propertyName: "link", functionName: "Breadcrumbs.Item", index: t3 })), false;
            } catch (e4) {
              return I((({ functionName: e5, wrongValue: t4, index: n3 }) => ue({ functionName: e5, wrongValue: t4, index: n3 }))({ functionName: "Breadcrumbs.Items", wrongValue: r2, index: t3 })), false;
            }
            return true;
          });
        }, (e2) => e2.every((e3) => {
          let { icon: t2 } = e3;
          return !(t2 && !d(t2)) || (I(le({ propertyName: "src", value: t2 })), false);
        })] }, En = "The number of items to show before or after the ellipsis exceeds the number of defined breadcrumb items. All breadcrumb items are shown.", On = (e2) => e2.map((e3) => e3.link ? { ...e3, link: e3.link.href } : e3), Tn = /* @__PURE__ */ function(e2, t2, n2 = {}) {
          return (r2) => {
            const o2 = e2(r2), a2 = Se(r2.metaData.role), i2 = Se(r2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(o2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(o2, s2), u2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? u2.value = (...e4) => {
                const o3 = t2.properties[s2] && t2.properties[s2].args, a3 = n2[s2];
                let u3 = true;
                return o3 && (u3 = i2(e4, { type: ["array"], items: o3 }, s2)), u3 && a3 && (u3 = a3.every((t3) => t3(e4, r2))), u3 ? l2.value(...e4) : void 0;
              } : u2.value = l2.value : (l2.get && (u2.get = () => o2[s2]), l2.set && (u2.set = (e4) => {
                const i3 = n2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = a2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, r2))), l3 && (o2[s2] = e4);
              })), Object.defineProperty(e3, s2, u2), e3;
            }, {});
          };
        }((e2) => {
          let { setProps: t2, props: n2, metaData: r2, createSdkState: o2, sdkData: a2, platformUtils: i2, envData: s2, handlers: l2 } = e2;
          const { linkUtils: u2 } = i2, m2 = async (e3) => {
            const t3 = await ((e4, t4, n3) => Promise.all(e4.map(async (e5) => {
              if (!e5.icon) return e5;
              const r3 = await x(e5.icon, t4, n3);
              return { ...e5, icon: r3 };
            })))(e3, a2.mediaSvgUrl, l2.sanitizeSVG);
            return { breadcrumbs: On(t3) };
          }, c2 = (e3) => e3.map((e4) => {
            const t3 = {};
            if (e4.label && (t3.label = e4.label), e4.icon && (t3.icon = e4.icon), e4.link) {
              const n3 = u2.getLinkProps(e4.link);
              delete n3.type, t3.link = n3;
            }
            return e4.isCurrent && (t3.isCurrent = e4.isCurrent), t3;
          }), p2 = ((e3, t3, n3) => {
            const { pagesMenuItems: r3, isMobile: o3, hasPageHierarchyBreadcrumbs: a3, pagesMap: i3, mainPageId: s3 } = n3, l3 = { pagesMenuItems: r3, isMobile: Boolean(o3) }, { linkUtils: u3, wixCodeNamespacesRegistry: m3 } = t3, { relativeUrl: c3, externalBaseUrl: p3, pageId: d3 } = e3.router.routingInfo, { currentPage: f3 } = m3.get("site"), h2 = { homePageHref: p3, currentUrl: u3.getLinkProps(c3.slice(1)).href, pageTitle: f3.name, pageId: d3 };
            return a3 ? In(i3, h2, s3, n3) : xn(h2, l3, n3);
          })(s2, i2, n2), [d2, f2] = o2({ breadcrumbsMetaData: c2(p2) });
          return { get items() {
            return d2.breadcrumbsMetaData.map((e3) => e3.link ? { ...e3, link: u2.getLink(e3.link) } : e3);
          }, set items(e3) {
            const n3 = c2(e3);
            f2({ breadcrumbsMetaData: n3 }), t2(m2(n3).then((e4) => ({ ...e4, showHomePage: true, showCurrentPage: true })));
          }, get isEllipsisVisible() {
            return !n2.shouldWrap && hn({ ...n2, breadcrumbs: d2.breadcrumbsMetaData });
          }, showEllipsis() {
            hn({ ...n2, breadcrumbs: d2.breadcrumbsMetaData }) || C(En), t2({ shouldWrap: false });
          }, hideEllipsis() {
            t2({ shouldWrap: true });
          }, get itemsBeforeEllipsis() {
            return n2.itemsBeforeCollapse;
          }, set itemsBeforeEllipsis(e3) {
            Cn(e3, d2.breadcrumbsMetaData, "Breadcrumbs.itemsBeforeEllipsis", "itemsBeforeEllipsis") && t2({ itemsBeforeCollapse: e3 });
          }, get itemsAfterEllipsis() {
            return n2.itemsAfterCollapse;
          }, set itemsAfterEllipsis(e3) {
            Cn(e3, d2.breadcrumbsMetaData, "Breadcrumbs.itemsAfterEllipsis", "itemsAfterEllipsis") && t2({ itemsAfterCollapse: e3 });
          }, toJSON() {
            return { ...pn(r2), items: On(d2.breadcrumbsMetaData), itemsBeforeEllipsis: n2.itemsBeforeCollapse, itemsAfterEllipsis: n2.itemsAfterCollapse, isEllipsisVisible: n2.shouldWrap };
          } };
        }, { properties: { itemsBeforeEllipsis: { type: ["number"] }, itemsAfterEllipsis: { type: ["number"] }, items: { type: ["array"], items: { type: ["object"], properties: { label: { type: ["string", "nil"] }, icon: { type: ["string", "nil"] }, link: { type: ["string", "nil"] } } } } } }, kn), Sn = Ut([(({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Ut([Wt, dn, on, an, e2 ? nn(t2) : fn, cn]))(), Tn]);
        var Pn = { factory: Sn };
        return t;
      }();
    });
  })(Breadcrumbs_bundle_min);
  var Breadcrumbs_bundle_minExports = Breadcrumbs_bundle_min.exports;
  const Breadcrumbs = /* @__PURE__ */ getDefaultExportFromCjs(Breadcrumbs_bundle_minExports);
  var Checkbox_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, r2) {
          for (var o2 in r2) e.o(r2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: r2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { accessibilityPropsSDKFactory: function() {
          return Io;
        }, default: function() {
          return Po;
        }, sdk: function() {
          return Co;
        } });
        function r(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function o(e2) {
          return "string" == typeof e2;
        }
        function a(e2) {
          return Array.isArray(e2);
        }
        function n(e2) {
          return null == e2;
        }
        function i(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function l(e2, t2) {
          return e2 < t2;
        }
        const d = { valueMissing: "value missing" }, u = { type: "General", validity: { badInput: false, customError: false, fileNotUploaded: false, fileTypeNotAllowed: false, fileSizeExceedsLimit: false, patternMismatch: false, rangeOverflow: false, rangeUnderflow: false, stepMismatch: false, tooLong: false, tooShort: false, typeMismatch: false, valueMissing: false, exceedsFilesLimit: false, valid: true, invalidTime: false, invalidDate: false }, validationMessage: "", htmlValidationMessageOverride: { key: "" } }, p = (e2) => !!e2.validity.customError ? e2.validationMessage : "", c = (e2, t2, r2) => ({ ...e2, validity: { ...e2.validity, [t2]: true, valid: false }, validationMessage: r2 }), m = (e2, t2, r2) => {
          const a2 = e2.validationMessage || r2 || ((e3, t3) => {
            const r3 = d[e3];
            return o(r3) ? r3 : r3(t3);
          })(t2);
          return c(e2, t2, a2);
        }, f = { validationData: u, customValidators: [() => {
        }] }, b = "validation", y = ({ createSdkState: e2 }) => {
          const [t2] = e2(f, b);
          return t2.validationData;
        }, h = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, g = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, v = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, N = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, x = ({ propertyName: e2, compName: t2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, w = ({ propertyName: e2, compName: t2, effectName: r2, wrongProperty: o2, wrongValue: a2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${n2}"')`, $ = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${o2}"`, A = ({ propertyName: e2, compName: t2, effectName: r2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, k = ({ propertyName: e2, functionName: t2, compName: r2 }) => `The ${e2} parameter of "${r2}" that is passed to the ${t2} method cannot be set to null.`, I = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to null or undefined.`, C = ({ propertyName: e2, compName: t2, infoLink: r2 }) => ` The value of "${e2}" property of "${t2}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${r2}"`, S = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, O = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, T = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is required for ${t2} method.`, P = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, j = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, V = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is not allowed for ${t2} method.`, E = ({ propertyNames: e2, functionName: t2, index: r2 }) => `The following parameters: ${[...e2]} of item at index ${r2} are unknown for ${t2} method.`, L = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${o2} and ${a2}.`, R = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${o2} and ${a2}.`, D = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${o2}.`, B = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${o2}.`, W = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${o2} and ${a2}.`, G = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${o2} and ${a2}.`, K = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${o2}.`, U = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${o2}.`, _ = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${o2}.`, Y = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${o2}.`, X = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${o2}.`, z = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${o2}.`, J = ({ propertyName: e2, functionName: t2, value: r2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${o2}.`, Z = ({ propertyName: e2, functionName: t2, value: r2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${o2}.`, Q = ({ propertyName: e2, functionName: t2, value: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format`, ee = ({ functionName: e2, wrongEffects: t2, allowedEffects: r2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, te = ({ propertyName: e2, functionName: t2, value: r2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${r2}". Bad format`, re = ({ propertyName: e2, compName: t2, cssProperty: r2, exampleFormat: o2, infoLink: a2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${r2}" value. The value is expected in the following format:"${o2}". Read more about "${r2}" values: "${a2}"`, oe = ({ propertyName: e2, compName: t2, cssProperty: r2, exampleFormats: o2, infoLink: a2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${r2}" value. The value is expected in one of the following formats:"${o2}". Read more about "${r2}" values: "${a2}"`, ae = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, ne = ({ compName: e2, functionName: t2, propertyName: o2, index: a2 }) => r(a2) ? I({ propertyName: o2, functionName: t2, index: a2 }) : e2 ? k({ compName: e2, functionName: t2, propertyName: o2 }) : v({ functionName: t2, propertyName: o2 }), ie = ({ functionName: e2, propertyName: t2, index: o2 }) => r(o2) ? T({ functionName: e2, propertyName: t2, index: o2 }) : S({ functionName: e2, propertyName: t2 }), se = ({ functionName: e2, propertyNames: t2, index: o2 }) => t2 && t2.length > 1 ? r(o2) ? E({ functionName: e2, propertyNames: t2, index: o2 }) : j({ functionName: e2, propertyNames: t2 }) : r(o2) ? V({ functionName: e2, propertyName: t2[0], index: o2 }) : P({ functionName: e2, propertyName: t2[0] }), le = ({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: n2, index: i2 }) => n2 && a2 ? n2 === a2 ? r(i2) ? M({ functionName: e2, propertyName: t2, value: o2, expectedValue: n2, index: i2 }) : D({ functionName: e2, propertyName: t2, value: o2, expectedValue: n2 }) : r(i2) ? R({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: n2, index: i2 }) : L({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: n2 }) : !n2 && a2 ? r(i2) ? W({ functionName: e2, propertyName: t2, value: o2, maximum: a2, index: i2 }) : q({ functionName: e2, propertyName: t2, value: o2, maximum: a2 }) : r(i2) ? F({ functionName: e2, propertyName: t2, value: o2, minimum: n2, index: i2 }) : B({ functionName: e2, propertyName: t2, value: o2, minimum: n2 }), de = ({ functionName: e2, propertyName: t2, value: o2, minimum: a2, maximum: n2, index: i2 }) => a2 && n2 ? a2 === n2 ? r(i2) ? U({ functionName: e2, propertyName: t2, expectedValue: a2, value: o2, index: i2 }) : K({ functionName: e2, propertyName: t2, expectedValue: a2, value: o2 }) : r(i2) ? G({ functionName: e2, propertyName: t2, value: o2, maximum: n2, minimum: a2, index: i2 }) : H({ functionName: e2, propertyName: t2, value: o2, maximum: n2, minimum: a2 }) : !a2 && n2 ? r(i2) ? z({ functionName: e2, propertyName: t2, maximum: n2, value: o2, index: i2 }) : X({ functionName: e2, propertyName: t2, maximum: n2, value: o2 }) : r(i2) ? Y({ functionName: e2, propertyName: t2, value: o2, minimum: a2, index: i2 }) : _({ functionName: e2, propertyName: t2, value: o2, minimum: a2 }), ue = ({ functionName: e2, propertyName: t2, types: o2, value: a2, index: n2 }) => {
          const i2 = o2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return r(n2) ? Z({ functionName: e2, index: n2, propertyName: t2, value: a2, expectedType: i2 }) : J({ functionName: e2, propertyName: t2, value: a2, expectedType: i2 });
        }, pe = ({ functionName: e2, propertyName: t2, value: o2, enum: a2, index: n2 }) => {
          const i2 = `from (${a2.join(",")})`;
          return r(n2) ? Z({ functionName: e2, propertyName: t2, value: o2, expectedType: i2, index: n2 }) : J({ functionName: e2, propertyName: t2, value: o2, expectedType: i2 });
        }, ce = ({ functionName: e2, propertyName: t2, value: o2, index: a2 }) => r(a2) ? te({ functionName: e2, propertyName: t2, value: o2, index: a2 }) : Q({ functionName: e2, propertyName: t2, value: o2 }), me = Object.prototype.hasOwnProperty, fe = Object.getOwnPropertyNames, be = () => {
        };
        function ye(e2, t2, r2, o2, n2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !a(e3);
          }(e2)) return Ne.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ye(e2, t3, r2, be, n2, i2)).filter((e3) => e3 === Ne.Valid).length ? Ne.Valid : Ne.Invalid;
          if (t2.required) {
            for (let r3 = 0; r3 < t2.required.length; r3++) if (!me.call(e2, t2.required[r3])) return o2(ie({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[r3] }), { ...i2, value: e2 }), Ne.Invalid;
          }
          const s2 = fe(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = fe(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return o2(se({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), Ne.Invalid;
            }
          }
          for (let o3 = 0; o3 < s2.length; o3++) {
            const a2 = s2[o3];
            if (me.call(e2, a2)) {
              const o4 = t2.properties[a2], n3 = e2[a2];
              if (!r2(n3, o4, { functionName: i2.functionName, index: i2.index, propertyName: a2 })) return Ne.Invalid;
            }
          }
          return Ne.Valid;
        }
        function he(e2) {
          return Array.isArray(e2);
        }
        function ge(e2, t2, o2, a2) {
          const { minimum: n2, maximum: d2, enum: u2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? u2 && !i(e2, u2) ? (o2(pe({ value: e2, enum: u2, ...a2 }), { ...a2, value: e2 }), Ne.Invalid) : r(n2) && l(e2, n2) || r(d2) && s(e2, d2) ? (o2(de({ value: e2, minimum: n2, maximum: d2, ...a2 }), { ...a2, value: e2 }), Ne.Invalid) : Ne.Valid : Ne.InvalidType;
        }
        function ve(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? Ne.Valid : Ne.InvalidType;
        }
        const Ne = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function xe({ reportError: e2, reportWarning: t2 }, d2, { suppressIndexErrors: u2 = false } = {}) {
          function p2(r2, o2, a2) {
            o2.warnIfNil && n(r2) && t2(ne({ ...a2, compName: d2 }), { ...a2, value: r2 });
            let i2 = 0;
            for (; i2 < o2.type.length; i2++) {
              const e3 = (0, c2[o2.type[i2]])(r2, o2, a2);
              if (e3 !== Ne.InvalidType) return e3 === Ne.Valid;
            }
            return i2 === o2.type.length && e2(ue({ value: r2, types: o2.type, ...a2 }), { ...a2, value: r2 }), false;
          }
          const c2 = { object: (r2, o2, a2) => ye(r2, o2, p2, e2, t2, a2), array: (e3, t3, r2) => function(e4, t4, r3, o2, n2, i2 = false) {
            if (!a(e4)) return Ne.InvalidType;
            let s2 = Ne.Valid;
            if (t4.items) {
              const o3 = he(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let a2 = 0; a2 < o3; a2++) {
                const o4 = e4[a2];
                let l2, d3;
                he(t4.items) ? (l2 = t4.items[a2], d3 = t4.items[a2].name) : (l2 = t4.items, d3 = t4.name), r3(o4, l2, { functionName: n2.functionName, propertyName: d3 || n2.propertyName, index: i2 ? void 0 : a2 }) || (s2 = Ne.Invalid);
              }
            }
            return s2;
          }(e3, t3, p2, 0, r2, u2), number: (t3, o2, a2) => function(e3, t4, o3, a3) {
            const { minimum: n2, maximum: d3, enum: u3 } = t4;
            return r(e3) ? u3 && !i(e3, u3) ? (o3(pe({ value: e3, enum: u3, ...a3 }), { ...a3, value: e3 }), Ne.Invalid) : r(n2) && l(e3, n2) || r(d3) && s(e3, d3) ? (o3(de({ value: e3, minimum: n2, maximum: d3, ...a3 }), { ...a3, value: e3 }), Ne.Invalid) : Ne.Valid : Ne.InvalidType;
          }(t3, o2, e2, a2), integer: (t3, r2, o2) => ge(t3, r2, e2, o2), string: (t3, r2, a2) => function(e3, t4, r3, a3) {
            const { minLength: n2, maxLength: d3, enum: u3, pattern: p3 } = t4;
            return o(e3) ? u3 && !i(e3, u3) ? (r3(pe({ value: e3, enum: u3, ...a3 }), { ...a3, value: e3 }), Ne.Invalid) : n2 && l(e3.length, n2) || d3 && s(e3.length, d3) ? (r3(le({ value: e3, minimum: n2, maximum: d3, ...a3 }), { ...a3, value: e3 }), Ne.Invalid) : p3 && !new RegExp(p3).test(e3) ? (r3(ce({ value: e3, ...a3 }), { ...a3, value: e3 }), Ne.Invalid) : Ne.Valid : Ne.InvalidType;
          }(t3, r2, e2, a2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? Ne.Valid : Ne.InvalidType;
          }(e3), date: (e3) => ve(e3), nil: (e3) => function(e4) {
            return n(e4) ? Ne.Valid : Ne.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? Ne.Valid : Ne.InvalidType;
          }(e3) };
          return function(e3, t3, r2) {
            return p2(e3, t3, { functionName: r2, propertyName: r2, index: void 0 });
          };
        }
        function we(e2, { suppressIndexErrors: t2 = false } = {}) {
          return xe({ reportError: h, reportWarning: g }, e2, { suppressIndexErrors: t2 });
        }
        function $e(e2, t2, r2 = {}) {
          return (o2) => {
            const a2 = e2(o2), n2 = we(o2.metaData.role), i2 = we(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(a2, s2), d2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? d2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, n3 = r2[s2];
                let d3 = true;
                return a3 && (d3 = i2(e4, { type: ["array"], items: a3 }, s2)), d3 && n3 && (d3 = n3.every((t3) => t3(e4, o2))), d3 ? l2.value(...e4) : void 0;
              } : d2.value = l2.value : (l2.get && (d2.get = () => a2[s2]), l2.set && (d2.set = (e4) => {
                const i3 = r2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = n2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, o2))), l3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, d2), e3;
            }, {});
          };
        }
        function Ae(e2, t2) {
          const { modifyAriaSourceKeys: r2 } = t2 ?? {};
          return (t3) => {
            const o2 = {};
            for (let n2 = 0; n2 < e2.length; n2++) {
              const i2 = e2[n2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], n3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(o2, r2 && n3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, n3);
              }
            }
            var a2;
            return o2;
          };
        }
        const ke = "click", Ie = "dblClick", Ce = "mouseenter", Se = "mouseleave", Oe = "change", Te = "blur", Pe = "focus", je = "imageChanged", Ve = "imageExpanded", Ee = "onInput", Le = "itemClicked", Re = "cellSelect", De = "cellEdit", Me = "rowSelect", Be = "fetchData", Fe = "dataChange", qe = "onTimeout", We = "onVerified", He = "onError", Ge = "onPlay", Ke = "onPause", Ue = "onProgress", _e = "onEnded", Ye = "autoplayOff", Xe = "autoplayOn", ze = "playEnded", Je = "playProgress", Ze = "keyPress", Qe = "keyUp", et = "keyDown", tt = "screenIn", rt = "viewportEnter", ot = "viewportLeave", at = "scroll", nt = "validate", it = "setCustomValidity", st = "syncValidationData", lt = "updateValidityIndication", dt = "message", ut = "uploadComplete", pt = "itemReady", ct = "itemRemoved", mt = "tagClick", ft = "quickActionBarItemClicked", bt = "markerClicked", yt = "mapClicked", ht = "iconMouseIn", gt = "onStateChange", vt = "itemMouseIn", Nt = "itemMouseOut", xt = "itemMouseClick", wt = "itemMouseDblClick", $t = "onColorChange", At = "onFontChange", kt = "onOpacityChange", It = { [ke]: "onClick", [Ie]: "onDblClick", [Ce]: "onMouseIn", [Se]: "onMouseOut", [Oe]: "onChange", [Ee]: "onInput", [Te]: "onBlur", [Pe]: "onFocus", [je]: "onCurrentItemChanged", [Ve]: void 0, [Le]: "onItemClicked", [Re]: "onCellSelect", [De]: void 0, [Me]: "onRowSelect", [Be]: void 0, [Fe]: "onDataChange", [qe]: "onTimeout", [We]: "onVerified", [He]: "onError", [Ge]: "onPlay", [Ke]: "onPause", [Ue]: "onProgress", [_e]: "onEnded", [Ye]: "onPause", [Xe]: "onPlay", [ze]: void 0, [Je]: void 0, [Ze]: "onKeyPress", [Qe]: "onKeyUp", [et]: "onKeyDown", [tt]: void 0, [rt]: "onViewportEnter", [ot]: "onViewportLeave", [at]: void 0, [nt]: void 0, [it]: void 0, [st]: void 0, [lt]: void 0, [dt]: "onMessage", [ut]: void 0, [pt]: "onItemReady", [ct]: "onItemRemoved", [mt]: void 0, [ft]: "onItemClicked", [bt]: "onMarkerClicked", [yt]: "onMapClicked", [ht]: void 0, [gt]: "onStateChange", [vt]: "onItemMouseIn", [Nt]: "onItemMouseOut", [xt]: "onItemClick", [wt]: "onItemDblClick", [$t]: "onColorChange", [At]: "onFontChange", [kt]: "onOpacityChange" }, Ct = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, St = (e2) => {
          const { target: t2, type: r2, context: o2 } = e2;
          return { target: t2, type: Ct[r2] ?? r2, context: o2 };
        }, Ot = (e2) => {
          const { clientX: t2, clientY: r2, pageX: o2, pageY: a2, screenX: n2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: d2 } = s2;
          return { clientX: t2, clientY: r2, pageX: o2, pageY: a2, screenX: n2, screenY: i2, offsetX: l2, offsetY: d2 };
        }, Tt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Pt = (e2) => e2.replace(/^on/i, ""), jt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Vt = (e2, t2, r2, o2) => {
          const { create$w: a2, createEvent: n2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, r3) => we(r3)(e3, { type: ["function"] }, t3))(r2, Tt[e2] ?? e2, l2.role)) return s2();
          const [d2, u2] = jt(t2), p2 = i2(e2, (e3, t3) => {
            const i3 = n2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: i3.context }), l3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            r2({ ...St(i3), ...l3 }, s3);
          }), c2 = { eventName: e2, compId: l2.compId, cb: r2, unregister: p2 };
          return u2({ listeners: [...d2.listeners, c2] }), s2();
        }, Et = (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = Object.entries(Tt).find(([t4, r3]) => Pt(r3.toLowerCase()) === Pt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(It[t2] ?? t2);
          return e2.toLowerCase() === r2.toLowerCase();
        }, Lt = (e2, t2, r2, o2) => Vt(e2, t2, r2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...Ot(e3), ...t3 && o2?.(t3) })), Rt = (e2) => ({ onChange: (t2) => Vt("onChange", e2, t2) }), Dt = (e2, t2, r2) => (o2) => {
          const { setProps: a2, props: n2, metaData: i2 } = o2, s2 = we(i2.role);
          return { get value() {
            return n2.value;
          }, set value(n3) {
            const i3 = e2(n3, o2);
            s2(i3, t2, "value") && (a2({ value: i3 }), r2.validate({ viewerSdkAPI: o2, showValidityIndication: true }));
          } };
        }, Mt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: r2, connection: o2, compType: a2, isGlobal: n2, getParent: i2, role: s2, wixCodeId: l2 } = t2, d2 = `$w.${a2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return r2;
          }, get parent() {
            return i2();
          }, get global() {
            return n2();
          }, get type() {
            return d2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(r2, t3));
          }, toJSON() {
            return { id: s2, type: d2, global: n2() };
          } };
        }, Bt = (e2) => (t2) => {
          const { metaData: r2, getSdkInstance: o2, create$w: a2, createEvent: n2 } = t2, i2 = (e3, t3) => we(r2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (r3) => i2(r3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = n2({ type: "viewportEnter" }), t3 = a2();
            r3(e3, t3);
          }), Vt("onViewportEnter", t2, r3)) : o2(), onViewportLeave: (r3) => i2(r3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = n2({ type: "viewportLeave" }), t3 = a2();
            r3(e3, t3);
          }), Vt("onViewportLeave", t2, r3)) : o2() };
        }, Ft = { duration: 1200, delay: 0 }, qt = { arc: { ...Ft, direction: "left" }, bounce: { ...Ft, direction: "topLeft", intensity: "medium" }, puff: { ...Ft }, zoom: { ...Ft }, fade: { ...Ft }, flip: { ...Ft, direction: "right" }, float: { ...Ft, direction: "right" }, fly: { ...Ft, direction: "right" }, fold: { ...Ft, direction: "left" }, glide: { ...Ft, angle: 0, distance: 0 }, roll: { ...Ft, direction: "left" }, slide: { ...Ft, direction: "left" }, spin: { ...Ft, direction: "cw", cycles: 5 }, turn: { ...Ft, direction: "right" }, ArcIn: { ...Ft, direction: "right" }, ArcOut: { ...Ft, direction: "right" }, BounceIn: { ...Ft, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Ft, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Ft, direction: "right" }, CollapseOut: { ...Ft }, Conceal: { ...Ft, direction: "right" }, Reveal: { ...Ft, direction: "left" }, FadeIn: { ...Ft }, FadeOut: { ...Ft }, FlipIn: { ...Ft, direction: "left" }, FlipOut: { ...Ft, direction: "left" }, FloatIn: { ...Ft, direction: "right" }, FloatOut: { ...Ft, direction: "right" }, FlyIn: { ...Ft, direction: "right" }, FlyOut: { ...Ft, direction: "right" }, FoldIn: { ...Ft, direction: "left" }, FoldOut: { ...Ft, direction: "left" }, GlideIn: { ...Ft, angle: 0, distance: 150 }, GlideOut: { ...Ft, angle: 0, distance: 150 }, DropIn: { ...Ft }, PopOut: { ...Ft }, SlideIn: { ...Ft, direction: "left" }, SlideOut: { ...Ft, direction: "left" }, SpinIn: { ...Ft, direction: "cw", cycles: 2 }, SpinOut: { ...Ft, direction: "cw", cycles: 2 }, TurnIn: { ...Ft, direction: "right" }, TurnOut: { ...Ft, direction: "right" } }, Wt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Ht = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Gt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Kt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Ut = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, _t = { arc: { type: ["object"], properties: { duration: Gt, delay: Kt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Gt, delay: Kt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Gt, delay: Kt } }, zoom: { type: ["object"], properties: { duration: Gt, delay: Kt } }, fade: { type: ["object"], properties: { duration: Gt, delay: Kt } }, flip: { type: ["object"], properties: { duration: Gt, delay: Kt, direction: Ut } }, float: { type: ["object"], properties: { duration: Gt, delay: Kt, direction: Ut } }, fly: { type: ["object"], properties: { duration: Gt, delay: Kt, direction: Ut } }, fold: { type: ["object"], properties: { duration: Gt, delay: Kt, direction: Ut } }, glide: { type: ["object"], properties: { duration: Gt, delay: Kt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Gt, delay: Kt, direction: Ut } }, slide: { type: ["object"], properties: { duration: Gt, delay: Kt, direction: Ut } }, spin: { type: ["object"], properties: { duration: Gt, delay: Kt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Gt, delay: Kt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Yt = ({ propertyName: e2, compName: t2 }) => (r2, o2) => {
          if (!r2) return false;
          if (void 0 === o2) return true;
          const a2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (o3, a3) => {
            g(A({ propertyName: t3, compName: r3, effectName: e3, wrongValue: `${a3?.value}`, infoLink: Ht(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          if (!xe({ reportError: a2, reportWarning: () => ({}) }, t2)(o2, { type: ["object"] }, e2)) return false;
          const n2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (o3, a3) => {
            g(w({ propertyName: t3, compName: r3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: Ht(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          return !!xe({ reportError: n2, reportWarning: () => ({}) }, t2)(o2, _t[r2], e2);
        }, Xt = (e2) => 0 === Object.keys(e2).length, zt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: r2, portal: o2, metaData: a2, getSdkInstance: n2, runAnimation: i2, createSdkState: s2, styleUtils: l2, setProps: d2 }) => {
          const u2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: r3, propertyName: o3 }) => {
            const a3 = Yt({ propertyName: o3, compName: e3 });
            if (!t3 && !r3) return false;
            if (!t3 && r3 && !Xt(r3)) return g(x({ propertyName: o3, compName: e3, infoLink: Ht(o3) })), false;
            const n3 = "hide" === o3 ? "HIDE" : "SHOW", i3 = Wt[n3]?.deprecatedValues;
            return t3 && r3 && i3 && i3.find((e4) => e4 === t3) && !Xt(r3) ? (g($({ compName: e3, effectName: t3, propertyName: o3, infoLink: Ht(o3) })), false) : !!i3.find((e4) => e4 === t3) || (t3 && !(t3 in _t) ? (g(N({ propertyName: o3, compName: e3, effectName: t3, infoLink: Ht(o3) })), false) : !!a3(t3, r3));
          })({ compName: a2.role }), [p2, c2] = s2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (a3, n3) => {
            if (d2({ hidden: true }), p2.collapsed || p2.hidden) c2({ hidden: true });
            else {
              if (u2({ effectName: a3, effectOptions: n3, propertyName: "hide" })) {
                const e3 = { animationDirection: Wt.HIDE.suffix, effectName: a3, effectOptions: { ...qt?.[a3] || Ft, ...n3 } };
                await Promise.all([i2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else r2(l2.getHiddenStyles()), t2 && o2.setStyles(l2.getHiddenStyles());
              c2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (a3, n3) => {
            if (d2({ hidden: false }), !p2.collapsed && p2.hidden) {
              if (u2({ effectName: a3, effectOptions: n3, propertyName: "show" })) {
                const e3 = { animationDirection: Wt.SHOW.suffix, effectName: a3, effectOptions: { ...qt?.[a3] || Ft, ...n3 } };
                await Promise.all([i2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else r2(l2.getShownStyles()), t2 && o2.setStyles(l2.getShownStyles());
              c2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else c2({ hidden: false });
          }, collapse: async () => {
            d2({ collapsed: true }), p2.collapsed || (r2(l2.getCollapsedStyles()), t2 && o2.setStyles(l2.getCollapsedStyles()), c2({ collapsed: true }), p2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (d2({ collapsed: false }), p2.collapsed) {
              const a3 = { ...l2.getExpandedStyles(), visibility: p2.hidden ? "hidden" : null };
              r2(a3), t2 && o2.setStyles(a3), c2({ collapsed: false }), p2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return p2.collapsed;
          }, get hidden() {
            return Boolean(p2.hidden);
          }, get isVisible() {
            if (!a2.isRendered()) return false;
            let e3 = n2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Jt = (e2) => (t2) => ((e3, t3 = false) => {
          const [r2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Ae([zt({ viewportState: r2, hasPortal: t3 }), Bt((e4, t4) => {
            o2({ [e4]: [...r2[e4], t4] });
          })])(e3);
        })(t2, e2), Zt = (e2, t2, r2) => {
          const o2 = t2.filter((t3) => !e2.includes(t3));
          o2.length && h(ee({ functionName: r2, wrongEffects: o2, allowedEffects: e2 }));
        }, Qt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (r2) => {
            Zt(t2(), r2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...r2);
          }, removeEffects: (r2) => {
            Zt(t2(), r2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...r2);
          }, toggleEffects: (r2) => {
            Zt(t2(), r2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...r2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, er = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), tr = (e2, t2) => "string" != typeof e2 ? (rr(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (ar(e2, t2), false), rr = (e2, t2, r2, o2) => {
          h(J({ propertyName: e2, functionName: t2, value: r2, expectedType: o2 }));
        }, or = (e2, t2) => {
          h(S({ propertyName: e2, functionName: t2 }));
        }, ar = (e2, t2) => {
          h(ae({ propertyName: e2, functionName: t2 }));
        }, nr = (e2) => {
          const { setProps: t2, props: r2 } = e2;
          return { customClassList: { get value() {
            return r2.customClassNames ? r2.customClassNames?.join(" ") : "";
          }, values() {
            return r2.customClassNames ? r2.customClassNames : [];
          }, add(...e3) {
            const o2 = r2.customClassNames ? new Set(r2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!tr(t3, "customClassList.add")) return;
                o2.add(t3);
              }
              t2({ customClassNames: Array.from(o2) });
            } else or("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void or("className", "customClassList.remove");
            const o2 = new Set(r2.customClassNames);
            for (const t3 of e3) {
              if (!tr(t3, "customClassList.remove")) return;
              o2.delete(t3);
            }
            t2({ customClassNames: Array.from(o2) });
          }, contains(e3) {
            if (e3) return tr(e3, "customClassList.contains") ? !!r2.customClassNames && r2.customClassNames.includes(e3) : void 0;
            or("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!tr(t3, "customClassList.replace") || !tr(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (h(O({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!tr(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (or("className", "customClassList.toggle"), false);
          } } };
        }, ir = ({ role: e2, compType: t2, isGlobal: r2, isRendered: o2 }) => ({ id: e2, type: `$w.${t2}`, global: r2(), rendered: o2() }), sr = (e2) => ({ onMouseIn: (t2) => Lt("onMouseEnter", e2, t2), onMouseOut: (t2) => Lt("onMouseLeave", e2, t2), removeEventHandler: (t2, r2) => {
          const { getSdkInstance: o2 } = e2;
          return "string" != typeof t2 ? (h(J({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), o2()) : "function" != typeof r2 ? (h(J({ propertyName: "handler", functionName: "removeEventHandler", value: r2, expectedType: "function" })), o2()) : ((e3, t3, r3) => {
            const { metaData: o3, getSdkInstance: a2 } = t3, [n2, i2] = jt(t3), s2 = n2.listeners.filter((t4) => Et(t4.eventName, e3) && t4.cb === r3 && t4.compId === o3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: n2.listeners.filter((e4) => !s2.includes(e4)) }), a2();
          })(t2, e2, r2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return ir(e2.metaData);
        } }), lr = Bt(), dr = (Ae([Mt, lr, sr, Qt, nr]), $e(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: n(r2) ? void 0 : r2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } }));
        var ur;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(ur || (ur = {}));
        const pr = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, cr = (e2) => mr(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), mr = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), fr = (e2, t2, r2, o2, a2) => a2 ? !!r2(a2) || (h(o2), false) : !!t2 || (h(ue({ value: a2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), br = (e2, t2 = true) => (r2) => fr(e2, t2, mr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, r2), yr = (e2, t2 = true) => (r2) => fr(e2, t2, cr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, r2), hr = $e(({ setProps: e2, props: t2, create$w: r2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return r2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [yr("describedBy")] }), gr = $e(({ setProps: e2, props: t2, create$w: r2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return r2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [yr("labelledBy")] }), vr = $e(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Nr = $e(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), xr = $e(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), wr = $e(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), $r = $e(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: n(r2) ? void 0 : r2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), Ar = $e(({ setProps: e2, props: t2, create$w: r2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return r2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [br("owns")] }), kr = $e(({ setProps: e2, props: t2, create$w: r2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return r2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [br("controls")] }), Ir = $e(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: n(r2) ? void 0 : r2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), Cr = $e(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: n(r2) ? void 0 : r2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), Sr = $e(({ setProps: e2, props: t2, create$w: r2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return r2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [yr("errorMessage")] }), Or = $e(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Tr = $e(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), Pr = $e(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), jr = $e(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Vr = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(r2) {
          null === r2 || o(r2) ? e2({ screenReader: { ...t2.screenReader, prefix: r2 } }) : h(pr("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(r2) {
          null === r2 || o(r2) ? e2({ screenReader: { ...t2.screenReader, suffix: r2 } }) : h(pr("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(r2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: n(r2) ? void 0 : r2 } });
        } } }), Er = ($e(Vr, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), $e(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: n(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), Lr = $e(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: n(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), Rr = { enableAriaLabel: dr, enableAriaDescribedBy: hr, enableAriaLabelledBy: gr, enableAriaAtomic: vr, enableAriaBusy: Nr, enableAriaCurrent: xr, enableAriaExpanded: wr, enableAriaLive: $r, enableAriaOwns: Ar, enableAriaControls: kr, enableAriaRoleDescription: Ir, enableAriaRelevant: Cr, enableAriaErrorMessage: Sr, enableAriaHidden: Or, enableAriaPressed: Tr, enableAriaHaspopup: Pr, enableAriaRequired: jr }, Dr = { enableScreenReader: Vr, enableRole: Er, enableTabIndex: Lr }, Mr = { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" };
        function Br(e2) {
          return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e2);
        }
        function Fr(e2) {
          return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e2);
        }
        function qr(e2) {
          return Mr[e2];
        }
        function Wr(e2) {
          return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e2) || Br(e2);
        }
        function Hr(e2) {
          return Fr(e2) || /^#(([a-f0-9]){3}){1,2}$/i.test(e2);
        }
        const Gr = (e2) => parseInt(e2.repeat(2 / e2.length), 16), Kr = (e2) => {
          if (!Hr(e2)) return;
          const t2 = ((e3) => {
            const t3 = Math.floor((e3.length - 1) / 3);
            return e3.slice(1).match(new RegExp(`.{${t3}}`, "g"));
          })(e2), [r2, o2, a2, n2] = t2.map(Gr);
          return [r2, o2, a2, void 0 !== n2 ? Yr(n2 / 255) : 1];
        }, Ur = (e2) => Hr(e2) ? Kr(e2) : Wr(e2) ? ((e3) => {
          if (!Wr(e3)) return;
          const t2 = e3.substring(e3.indexOf("(")).split(","), r2 = parseInt(t2[0].substring(1).trim(), 10), o2 = parseInt(t2[1].trim(), 10), a2 = parseInt(t2[2].trim(), 10), n2 = t2[3] && parseFloat(t2[3].substring(0, t2[3].length - 1).trim());
          return [r2, o2, a2, void 0 !== n2 ? n2 : 1];
        })(e2) : qr(e2) ? Kr(Mr[e2]) : void 0, _r = (e2) => {
          const t2 = Ur(e2);
          if (t2) return t2[3];
        }, Yr = (e2) => Math.round(100 * e2) / 100;
        const Xr = ({ propertyName: e2, cssProperty: t2, supportAlpha: r2 }) => (o2, a2) => function(e3) {
          return Hr(e3) || Wr(e3) || qr(e3);
        }(o2) ? (r2 || Jr({ propertyName: e2, color: o2, api: a2 }), true) : (h(oe({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: a2.metaData.role, exampleFormats: r2 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), zr = ({ propertyName: e2, cssProperty: t2 }) => (r2, a2) => !!function(e3) {
          if (o(e3)) {
            const t3 = e3.endsWith("px"), r3 = e3.slice(0, e3.length - 2), o2 = /^\d*$/.test(r3);
            return t3 && o2 && parseInt(r3, 10);
          }
          return false;
        }(r2) || (h(re({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: a2.metaData.role, exampleFormat: "1px" })), false), Jr = ({ propertyName: e2, color: t2, api: r2 }) => {
          (Fr(t2) || Br(t2)) && g(C({ propertyName: e2, compName: r2.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}` }));
        }, Zr = ({ name: e2, prefix: t2 }) => t2 ? `--${t2}-corvid-${e2}` : `--corvid-${e2}`, Qr = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, eo = ["hover", "disabled"], to = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
        function ro(e2) {
          return e2.charAt(0).toUpperCase() + e2.slice(1);
        }
        const oo = (e2) => (t2 = { supportOpacity: true }) => {
          const { prefix: r2, supportOpacity: o2, withoutDefaultValue: a2, supportedStates: n2 = [] } = t2, i2 = (t3, r3 = e2) => {
            const n3 = Xr({ propertyName: e2, cssProperty: o2 ? "rgbaColor" : "rgbColor", supportAlpha: o2 });
            return $e(({ setStyles: n4, sdkData: i3, createSdkState: s3 }) => {
              const l3 = i3?.initialSdkStyles?.[r3], d2 = _r(l3), u2 = a2 ? void 0 : l3, [p2, c2] = s3({ [r3]: u2 }, r3);
              return Object.defineProperty({ reset() {
                c2({ [r3]: u2 }), n4({ [t3]: void 0 });
              } }, e2, { enumerable: true, set(e3) {
                let a3 = e3;
                if (!o2 && (Fr(e3) || Br(e3))) {
                  const [t4, r4, o3] = Ur(e3);
                  a3 = `rgb(${t4}, ${r4}, ${o3})`;
                }
                if ("number" == typeof d2 && 1 !== d2) {
                  const t4 = _r(e3);
                  a3 = ((e4, t5) => {
                    const r4 = Ur(e4);
                    if (r4) {
                      const [e5, o3, a4] = r4;
                      return `rgba(${e5}, ${o3}, ${a4}, ${t5})`;
                    }
                  })(a3, Number.isFinite(t4) ? Yr(d2 * t4) : d2);
                }
                c2({ [r3]: a3 }), n4({ [t3]: a3 });
              }, get() {
                return p2[r3];
              } });
            }, { properties: { [e2]: { type: ["string", "nil"] } } }, { [e2]: [n3] });
          }, s2 = n2.map((t3) => $e((o3) => {
            const a3 = i2(Zr({ name: to[t3][e2], prefix: r2 }), t3 + ro(e2))(o3);
            return { [t3]: a3 };
          }, { properties: { [t3]: { type: ["object", "nil"] } } })), l2 = i2(Zr({ name: Qr[e2], prefix: r2 }));
          return (e3) => Object.assign(l2(e3), s2.reduce((t3, r3) => Object.assign(t3, r3(e3)), {}));
        }, ao = oo("backgroundColor"), no = oo("borderColor"), io = "textColor", so = "color", lo = oo("fillColor"), uo = oo("strokeColor"), po = oo("iconColor"), co = "reset";
        function mo(...e2) {
          const t2 = (r2 = co, (...e3) => {
            const t3 = {}, o2 = { [r2](e4) {
              if ("function" == typeof t3[e4]) return t3[e4](e4);
            } };
            return e3.forEach((e4) => {
              Object.keys(e4).filter((e5) => e5 !== r2).map((t4) => ({ key: t4, descriptor: Object.getOwnPropertyDescriptor(e4, t4) })).forEach(({ key: a2, descriptor: n2 }) => {
                "function" == typeof e4[r2] && (t3[a2] = e4[r2]), Object.defineProperty(o2, a2, n2);
              });
            }), o2;
          });
          var r2;
          return (r3) => {
            const o2 = e2.map((e3) => e3(r3)), a2 = {};
            for (const e3 of eo) o2.some((t3) => e3 in t3) && (a2[e3] = t2(...o2.map((t3) => t3[e3] ?? {})), Object.defineProperty(a2[e3], co, { enumerable: false }), o2.forEach((t3) => {
              delete t3[e3];
            }));
            const n2 = t2(...o2);
            return Object.defineProperty(n2, co, { enumerable: false }), Object.assign(n2, a2);
          };
        }
        const fo = { BackgroundColor: ao, BorderColor: no, BorderWidth: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = Zr({ name: Qr.borderWidth, prefix: t2 });
          return $e(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const n2 = t3?.initialSdkStyles?.borderWidth, [i2, s2] = a2({ borderWidth: r2 ? void 0 : n2 }, "borderWidth");
            return { set borderWidth(t4) {
              s2({ borderWidth: t4 }), e3({ [o2]: t4 });
            }, get borderWidth() {
              return i2.borderWidth;
            }, reset() {
              s2({ borderWidth: n2 }), e3({ [o2]: void 0 });
            } };
          }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [zr({ propertyName: "borderWidth", cssProperty: "width" })] });
        }, ForegroundColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = Zr({ name: Qr.foregroundColor, prefix: t2 });
          return $e(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const [n2, i2] = a2({ foregroundColor: r2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }, "foregroundColor");
            return { set foregroundColor(t4) {
              i2({ foregroundColor: t4 }), e3({ [o2]: t4 });
            }, get foregroundColor() {
              return n2.foregroundColor;
            }, reset() {
              i2({ foregroundColor: r2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }), e3({ [o2]: void 0 });
            } };
          }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [Xr({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
        }, BorderRadius: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = Zr({ name: Qr.borderRadius, prefix: t2 });
          return $e(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const n2 = t3?.initialSdkStyles?.borderRadius, [i2, s2] = a2({ borderRadius: r2 ? void 0 : n2 }, "borderRadius");
            return { set borderRadius(t4) {
              s2({ borderRadius: t4 }), e3({ [o2]: t4 });
            }, get borderRadius() {
              return i2.borderRadius;
            }, reset() {
              s2({ borderRadius: n2 }), e3({ [o2]: void 0 });
            } };
          }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [zr({ propertyName: "borderRadius", cssProperty: "radius" })] });
        }, TextColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2, supportedStates: o2 = [] } = e2, a2 = (e3, t3 = io, o3 = so) => $e(({ setStyles: a3, sdkData: n3, createSdkState: i3 }) => {
            const s2 = n3?.initialSdkStyles?.[o3], l2 = r2 ? void 0 : s2, [d2, u2] = i3({ [t3]: l2 }, t3);
            return { set color(r3) {
              let o4 = r3;
              if (Fr(r3) || Br(r3)) {
                const [e4, t4, a4] = Ur(r3);
                o4 = `rgb(${e4}, ${t4}, ${a4})`;
              }
              u2({ [t3]: o4 }), a3({ [e3]: o4 });
            }, get color() {
              return d2[t3];
            }, reset() {
              u2({ [t3]: l2 }), a3({ [e3]: void 0 });
            } };
          }, { properties: { color: { type: ["string", "nil"] } } }, { color: [Xr({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), n2 = o2.map((e3) => $e((r3) => {
            const o3 = a2(Zr({ name: to[e3].textColor, prefix: t2 }), ((e4) => e4 + ro(io))(e3), ((e4) => e4 + ro(so))(e3))(r3);
            return { [e3]: o3 };
          }, { properties: { [e3]: { type: ["object", "nil"] } } })), i2 = a2(Zr({ name: Qr.textColor, prefix: t2 }));
          return (e3) => Object.assign(i2(e3), n2.reduce((t3, r3) => Object.assign(t3, r3(e3)), {}));
        }, FillColor: lo, StrokeColor: uo, IconColor: po }, bo = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} }, yo = $e(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.label || "";
        }, set label(t3) {
          e2({ label: t3 || "" });
        } }), { properties: { label: { type: ["string", "nil"], warnIfNil: true } } });
        const ho = /* @__PURE__ */ ((e2, t2) => {
          const r2 = [];
          return { onValidate: (e3) => r2.push(e3), validate: ({ viewerSdkAPI: o2, showValidityIndication: a2 }) => {
            const { props: n2, metaData: { isRepeaterTemplate: i2 } } = o2;
            if (i2) return;
            const s2 = e2(n2, o2);
            let l2 = s2;
            const d2 = ((e3, t3, r3) => {
              let o3 = "";
              const a3 = (e4) => {
                o3 = e4;
              }, n3 = r3 ? r3(t3) : t3.value;
              return e3 && e3(n3, a3), o3;
            })((({ createSdkState: e3 }) => {
              const [{ customValidators: t3 }] = e3(f, b);
              return (e4, r3) => {
                let o3 = false;
                const a3 = (e5) => {
                  o3 = true, r3(e5);
                };
                for (let r4 = 0; r4 < t3.length && !o3; r4++) t3[r4](e4, a3);
              };
            })(o2), n2, t2);
            d2 && (l2 = ((e3, t3) => c(e3, "customError", t3 || ""))(s2, d2)), r2.forEach((e3) => e3({ viewerSdkAPI: o2, showValidityIndication: a2, validationDataResult: l2 }));
          } };
        })((go = [(e2, t2) => !e2.required || e2.checked ? t2 : m(t2, "valueMissing")], (e2, t2) => go.reduce((r2, o2) => o2(e2, r2, t2), u)), (e2) => e2.checked);
        var go;
        const vo = (No = [(e2) => r(e2) && isFinite(e2) ? e2.toString() : e2, (e2) => o(e2) ? e2 : ""], (e2) => No.reduce((e3, t2) => t2(e3), e2));
        var No;
        const xo = ((e2) => {
          e2.onValidate(({ viewerSdkAPI: e3, validationDataResult: t2, showValidityIndication: r2 }) => {
            const { setProps: o2, compRef: a2 } = e3, n2 = y(e3), i2 = p(n2), s2 = p(t2), l2 = n2.htmlValidationMessageOverride.key, d2 = t2.htmlValidationMessageOverride.key;
            t2.validity.customError ? i2 !== s2 && a2.setCustomValidity({ type: "message", message: s2 }) : d2 ? (n2.validity.customError || l2 !== d2) && a2.setCustomValidity({ type: "key", key: d2 }) : i2 === s2 && l2 === d2 || a2.setCustomValidity({ type: "message", message: "" });
            const u2 = { isValid: t2.validity.valid, ...r2 && { shouldShowValidityIndication: true } };
            (({ createSdkState: e4 }, t3) => {
              const [, r3] = e4(f, b);
              r3({ validationData: t3 });
            })(e3, t2), o2(u2);
          });
          return $e((t2) => {
            const { setProps: r2, props: o2, registerEvent: a2, metaData: { isRepeaterTemplate: n2 } } = t2;
            return n2 || (a2("validateValue", () => {
              e2.validate({ viewerSdkAPI: t2 });
            }), a2("validateValueAndShowIndication", (r3) => {
              const a3 = { ...o2, ...r3 }, n3 = { ...t2, props: a3 };
              e2.validate({ viewerSdkAPI: n3, showValidityIndication: true });
            }), a2("hideValidityIndication", () => {
              r2({ shouldShowValidityIndication: false });
            }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: false })), { get valid() {
              return y(t2).validity.valid;
            }, get validationMessage() {
              return y(t2).validationMessage;
            }, get validity() {
              return y(t2).validity;
            }, onCustomValidation(r3, o3 = true) {
              (({ createSdkState: e3 }, t3, r4 = true) => {
                const [{ customValidators: o4 }, a3] = e3(f, b);
                a3(r4 ? { customValidators: [t3] } : { customValidators: [...o4, t3] });
              })(t2, r3, o3), e2.validate({ viewerSdkAPI: t2 });
            }, updateValidityIndication() {
              r2({ shouldShowValidityIndication: true });
            }, resetValidityIndication() {
              r2({ shouldShowValidityIndication: false });
            } };
          }, { properties: { onCustomValidation: { type: ["function"], args: [{ type: ["function"] }, { type: ["boolean"] }] } } });
        })(ho), wo = $e(/* @__PURE__ */ ((e2) => (t2) => ({ get required() {
          return t2.props.required || false;
        }, set required(r2) {
          t2.setProps({ required: r2 }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: r2 });
        } }))(ho), { properties: { required: { type: ["boolean"] } } });
        const $o = ((e2, t2, r2) => Ae([Rt, $e(Dt(e2, t2, r2), { properties: {} })]))((e2) => vo(e2), { type: ["string"] }, { onValidate: (e2) => {
        }, validate: (e2) => {
        } }), Ao = ((e2) => $e(/* @__PURE__ */ ((e3) => (t2) => {
          const { props: r2, setProps: o2 } = t2;
          return { get checked() {
            return r2.checked || false;
          }, set checked(r3) {
            o2({ checked: r3 || false }), e3.validate({ viewerSdkAPI: t2, showValidityIndication: true });
          } };
        })(e2), { properties: { checked: { type: ["boolean", "nil"] } } }))(ho), ko = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Ae([Mt, sr, Qt, er, e2 ? Jt(t2) : lr, nr]))(), Io = (({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: o2 = false, enableAriaBusy: a2 = false, enableAriaHidden: n2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: d2 = false, enableAriaLive: u2 = false, enableAriaOwns: p2 = false, enableAriaControls: c2 = false, enableAriaRoleDescription: m2 = false, enableAriaRelevant: f2 = false, enableRole: b2 = false, enableTabIndex: y2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: g2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
          const x2 = [], w2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: r2, enableAriaAtomic: o2, enableAriaBusy: a2, enableAriaCurrent: l2, enableAriaExpanded: d2, enableAriaLive: u2, enableAriaOwns: p2, enableAriaControls: c2, enableAriaRoleDescription: m2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: n2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, $2 = { enableScreenReader: g2, enableRole: b2, enableTabIndex: y2 };
          if (Object.values(w2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, r3]) => r3 && Rr[e5] && t3.push(Rr[e5])), (e5) => {
                const r3 = Ae(t3, { modifyAriaSourceKeys: true })(e5);
                return r3.ariaAttributes = Ae(t3)(e5), r3;
              };
            })(w2);
            x2.push(e3);
          }
          Object.entries($2).forEach(([e3, t3]) => t3 && Dr[e3] && x2.push(Dr[e3]));
          return { accessibility: Ae(x2)(N2) };
        })({ enableAriaLabel: true, enableAriaLabelledBy: true, enableAriaDescribedBy: true, enableAriaControls: true, enableAriaErrorMessage: true, enableTabIndex: true }), Co = Ae([ko, ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => Vt("onFocus", e2, t2), onBlur: (t2) => Vt("onBlur", e2, t2) }), (e2) => ({ onKeyUp: (t2) => Vt("onKeyUp", e2, t2) }), (e2) => ({ onKeyDown: (t2) => Vt("onKeyDown", e2, t2) }), (e2) => ({ onClick: (t2) => Lt("onClick", e2, t2), onDblClick: (t2) => Lt("onDblClick", e2, t2) }), wo, Ao, xo, $o, (Oo = { BackgroundColor: true, BorderColor: true, BorderWidth: true, BorderRadius: true }, $e((So = mo(...Object.keys(Oo).filter((e2) => Oo[e2]).map((e2) => {
          const t2 = "boolean" != typeof Oo[e2] ? Oo[e2] : bo[e2];
          return fo[e2]({ prefix: To?.cssVarPrefix, withoutDefaultValue: t2.withoutDefaultValue, supportOpacity: t2.supportOpacity, supportedStates: t2.supportedStates });
        })), (e2) => {
          const t2 = So(e2);
          return t2.removeProperty = (e3) => {
            const [r2, o2] = e3.includes(".") ? e3.split(".").reverse() : [e3, void 0];
            if (!o2 && !(r2 in t2) || o2 && !(r2 in (t2[o2] ?? {}))) {
              const r3 = Object.keys(t2).filter((e4) => "removeProperty" !== e4);
              return void h(pe({ functionName: "removeProperty", propertyName: "propertyName", value: e3, enum: r3, index: void 0 }));
            }
            const a2 = o2 ? t2[o2] : t2;
            a2[co]?.(r2);
          }, { get style() {
            return t2;
          } };
        }), { properties: { style: { type: ["object"] } } })), yo, Io, (e2) => {
          let { props: t2, metaData: r2 } = e2;
          return { toJSON() {
            const { checked: e3, required: o2, value: a2 } = t2;
            return { ...ir(r2), checked: e3, required: o2, value: a2 };
          } };
        }]);
        var So, Oo, To, Po = { factory: Co };
        return t;
      }();
    });
  })(Checkbox_bundle_min);
  var Checkbox_bundle_minExports = Checkbox_bundle_min.exports;
  const Checkbox = /* @__PURE__ */ getDefaultExportFromCjs(Checkbox_bundle_minExports);
  var CheckboxGroup_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, o2) {
          for (var r2 in o2) e.o(o2, r2) && !e.o(t2, r2) && Object.defineProperty(t2, r2, { enumerable: true, get: o2[r2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return tr;
        }, sdk: function() {
          return er;
        } });
        function o(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function r(e2) {
          return "string" == typeof e2;
        }
        function n(e2) {
          return Array.isArray(e2);
        }
        function a(e2) {
          return null == e2;
        }
        function i(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function l(e2, t2) {
          return e2 < t2;
        }
        const d = { valueMissing: "value missing" }, c = { type: "General", validity: { badInput: false, customError: false, fileNotUploaded: false, fileTypeNotAllowed: false, fileSizeExceedsLimit: false, patternMismatch: false, rangeOverflow: false, rangeUnderflow: false, stepMismatch: false, tooLong: false, tooShort: false, typeMismatch: false, valueMissing: false, exceedsFilesLimit: false, valid: true, invalidTime: false, invalidDate: false }, validationMessage: "", htmlValidationMessageOverride: { key: "" } }, u = (e2) => !!e2.validity.customError ? e2.validationMessage : "", p = (e2, t2, o2) => ({ ...e2, validity: { ...e2.validity, [t2]: true, valid: false }, validationMessage: o2 }), m = (e2, t2, o2) => {
          const n2 = e2.validationMessage || o2 || ((e3, t3) => {
            const o3 = d[e3];
            return r(o3) ? o3 : o3(t3);
          })(t2);
          return p(e2, t2, n2);
        }, f = { validationData: c, customValidators: [() => {
        }] }, y = "validation", h = ({ createSdkState: e2 }) => {
          const [t2] = e2(f, y);
          return t2.validationData;
        }, g = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, v = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, b = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, N = ({ propertyName: e2, compName: t2, effectName: o2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because it is an invalid effectName value. Read more about effects: "${r2}"')`, x = ({ propertyName: e2, compName: t2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${o2}"')`, w = ({ propertyName: e2, compName: t2, effectName: o2, wrongProperty: r2, wrongValue: n2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because it was called with the following invalid effectOptions ${r2}: ${n2}. Read more about the effectOptions object: "${a2}"')`, $ = ({ propertyName: e2, compName: t2, effectName: o2, infoLink: r2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${o2}". Read more about effects: "${r2}"`, k = ({ propertyName: e2, compName: t2, effectName: o2, wrongValue: r2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because the it was called with the following invalid effectOptions "${r2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${n2}"'`, I = ({ propertyName: e2, functionName: t2, compName: o2 }) => `The ${e2} parameter of "${o2}" that is passed to the ${t2} method cannot be set to null.`, C = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to null or undefined.`, S = ({ propertyName: e2, wrongValue: t2, index: o2 }) => `The ${e2} parameter at index ${o2} that is passed to the options function cannot be set to ${JSON.stringify(t2)}. Options must contain either a non-null value or a non-null label.`, O = ({ propertyName: e2, compName: t2, infoLink: o2 }) => ` The value of "${e2}" property of "${t2}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${o2}"`, V = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, T = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, P = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} is required for ${t2} method.`, E = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, j = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, D = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} is not allowed for ${t2} method.`, L = ({ propertyNames: e2, functionName: t2, index: o2 }) => `The following parameters: ${[...e2]} of item at index ${o2} are unknown for ${t2} method.`, A = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be between ${r2} and ${n2}.`, R = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be between ${r2} and ${n2}.`, F = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be ${r2}.`, M = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be ${r2}.`, B = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}" because its length is shorter than ${r2}.`, q = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}" because its length is shorter than ${r2}.`, W = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}" because its length exceeds ${r2}.`, G = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}" because its length exceeds ${r2}.`, H = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". It must be between ${r2} and ${n2}.`, U = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${o2}". It must be between ${r2} and ${n2}.`, X = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". It must be ${r2}.`, Y = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}". It must be ${r2}.`, z = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be larger than ${r2}.`, K = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, index: n2 }) => `The value of ${e2} parameter of item at ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be larger than ${r2}.`, J = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be less than ${r2}.`, _ = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2, index: n2 }) => `The value of ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be less than ${r2}.`, Z = ({ propertyName: e2, functionName: t2, value: o2, expectedType: r2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be of type ${r2}.`, Q = ({ propertyName: e2, functionName: t2, value: o2, expectedType: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be of type ${r2}.`, ee = ({ propertyName: e2, functionName: t2, value: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. Bad format`, te = ({ functionName: e2, wrongEffects: t2, allowedEffects: o2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${o2.join('", "')}".`, oe = ({ propertyName: e2, functionName: t2, value: o2, index: r2 }) => `The "${e2}" property of the item at index ${r2} that is passed to the ${t2} method cannot be set to "${o2}". Bad format`, re = ({ propertyName: e2, compName: t2, cssProperty: o2, exampleFormat: r2, infoLink: n2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${o2}" value. The value is expected in the following format:"${r2}". Read more about "${o2}" values: "${n2}"`, ne = ({ propertyName: e2, compName: t2, cssProperty: o2, exampleFormats: r2, infoLink: n2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${o2}" value. The value is expected in one of the following formats:"${r2}". Read more about "${o2}" values: "${n2}"`, ae = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, ie = ({ compName: e2, functionName: t2, propertyName: r2, index: n2 }) => o(n2) ? C({ propertyName: r2, functionName: t2, index: n2 }) : e2 ? I({ compName: e2, functionName: t2, propertyName: r2 }) : b({ functionName: t2, propertyName: r2 }), se = ({ functionName: e2, propertyName: t2, index: r2 }) => o(r2) ? P({ functionName: e2, propertyName: t2, index: r2 }) : V({ functionName: e2, propertyName: t2 }), le = ({ functionName: e2, propertyNames: t2, index: r2 }) => t2 && t2.length > 1 ? o(r2) ? L({ functionName: e2, propertyNames: t2, index: r2 }) : j({ functionName: e2, propertyNames: t2 }) : o(r2) ? D({ functionName: e2, propertyName: t2[0], index: r2 }) : E({ functionName: e2, propertyName: t2[0] }), de = ({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2, index: i2 }) => a2 && n2 ? a2 === n2 ? o(i2) ? M({ functionName: e2, propertyName: t2, value: r2, expectedValue: a2, index: i2 }) : F({ functionName: e2, propertyName: t2, value: r2, expectedValue: a2 }) : o(i2) ? R({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2, index: i2 }) : A({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2 }) : !a2 && n2 ? o(i2) ? G({ functionName: e2, propertyName: t2, value: r2, maximum: n2, index: i2 }) : W({ functionName: e2, propertyName: t2, value: r2, maximum: n2 }) : o(i2) ? q({ functionName: e2, propertyName: t2, value: r2, minimum: a2, index: i2 }) : B({ functionName: e2, propertyName: t2, value: r2, minimum: a2 }), ce = ({ functionName: e2, propertyName: t2, value: r2, minimum: n2, maximum: a2, index: i2 }) => n2 && a2 ? n2 === a2 ? o(i2) ? Y({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2, index: i2 }) : X({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2 }) : o(i2) ? U({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2, index: i2 }) : H({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2 }) : !n2 && a2 ? o(i2) ? _({ functionName: e2, propertyName: t2, maximum: a2, value: r2, index: i2 }) : J({ functionName: e2, propertyName: t2, maximum: a2, value: r2 }) : o(i2) ? K({ functionName: e2, propertyName: t2, value: r2, minimum: n2, index: i2 }) : z({ functionName: e2, propertyName: t2, value: r2, minimum: n2 }), ue = ({ functionName: e2, propertyName: t2, types: r2, value: n2, index: a2 }) => {
          const i2 = r2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return o(a2) ? Q({ functionName: e2, index: a2, propertyName: t2, value: n2, expectedType: i2 }) : Z({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, pe = ({ functionName: e2, propertyName: t2, value: r2, enum: n2, index: a2 }) => {
          const i2 = `from (${n2.join(",")})`;
          return o(a2) ? Q({ functionName: e2, propertyName: t2, value: r2, expectedType: i2, index: a2 }) : Z({ functionName: e2, propertyName: t2, value: r2, expectedType: i2 });
        }, me = ({ functionName: e2, propertyName: t2, value: r2, index: n2 }) => o(n2) ? oe({ functionName: e2, propertyName: t2, value: r2, index: n2 }) : ee({ functionName: e2, propertyName: t2, value: r2 }), fe = Object.prototype.hasOwnProperty, ye = Object.getOwnPropertyNames, he = () => {
        };
        function ge(e2, t2, o2, r2, a2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !n(e3);
          }(e2)) return xe.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ge(e2, t3, o2, he, a2, i2)).filter((e3) => e3 === xe.Valid).length ? xe.Valid : xe.Invalid;
          if (t2.required) {
            for (let o3 = 0; o3 < t2.required.length; o3++) if (!fe.call(e2, t2.required[o3])) return r2(se({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[o3] }), { ...i2, value: e2 }), xe.Invalid;
          }
          const s2 = ye(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ye(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return r2(le({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), xe.Invalid;
            }
          }
          for (let r3 = 0; r3 < s2.length; r3++) {
            const n2 = s2[r3];
            if (fe.call(e2, n2)) {
              const r4 = t2.properties[n2], a3 = e2[n2];
              if (!o2(a3, r4, { functionName: i2.functionName, index: i2.index, propertyName: n2 })) return xe.Invalid;
            }
          }
          return xe.Valid;
        }
        function ve(e2) {
          return Array.isArray(e2);
        }
        function be(e2, t2, r2, n2) {
          const { minimum: a2, maximum: d2, enum: c2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? c2 && !i(e2, c2) ? (r2(pe({ value: e2, enum: c2, ...n2 }), { ...n2, value: e2 }), xe.Invalid) : o(a2) && l(e2, a2) || o(d2) && s(e2, d2) ? (r2(ce({ value: e2, minimum: a2, maximum: d2, ...n2 }), { ...n2, value: e2 }), xe.Invalid) : xe.Valid : xe.InvalidType;
        }
        function Ne(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? xe.Valid : xe.InvalidType;
        }
        const xe = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function we({ reportError: e2, reportWarning: t2 }, d2, { suppressIndexErrors: c2 = false } = {}) {
          function u2(o2, r2, n2) {
            r2.warnIfNil && a(o2) && t2(ie({ ...n2, compName: d2 }), { ...n2, value: o2 });
            let i2 = 0;
            for (; i2 < r2.type.length; i2++) {
              const e3 = (0, p2[r2.type[i2]])(o2, r2, n2);
              if (e3 !== xe.InvalidType) return e3 === xe.Valid;
            }
            return i2 === r2.type.length && e2(ue({ value: o2, types: r2.type, ...n2 }), { ...n2, value: o2 }), false;
          }
          const p2 = { object: (o2, r2, n2) => ge(o2, r2, u2, e2, t2, n2), array: (e3, t3, o2) => function(e4, t4, o3, r2, a2, i2 = false) {
            if (!n(e4)) return xe.InvalidType;
            let s2 = xe.Valid;
            if (t4.items) {
              const r3 = ve(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let n2 = 0; n2 < r3; n2++) {
                const r4 = e4[n2];
                let l2, d3;
                ve(t4.items) ? (l2 = t4.items[n2], d3 = t4.items[n2].name) : (l2 = t4.items, d3 = t4.name), o3(r4, l2, { functionName: a2.functionName, propertyName: d3 || a2.propertyName, index: i2 ? void 0 : n2 }) || (s2 = xe.Invalid);
              }
            }
            return s2;
          }(e3, t3, u2, 0, o2, c2), number: (t3, r2, n2) => function(e3, t4, r3, n3) {
            const { minimum: a2, maximum: d3, enum: c3 } = t4;
            return o(e3) ? c3 && !i(e3, c3) ? (r3(pe({ value: e3, enum: c3, ...n3 }), { ...n3, value: e3 }), xe.Invalid) : o(a2) && l(e3, a2) || o(d3) && s(e3, d3) ? (r3(ce({ value: e3, minimum: a2, maximum: d3, ...n3 }), { ...n3, value: e3 }), xe.Invalid) : xe.Valid : xe.InvalidType;
          }(t3, r2, e2, n2), integer: (t3, o2, r2) => be(t3, o2, e2, r2), string: (t3, o2, n2) => function(e3, t4, o3, n3) {
            const { minLength: a2, maxLength: d3, enum: c3, pattern: u3 } = t4;
            return r(e3) ? c3 && !i(e3, c3) ? (o3(pe({ value: e3, enum: c3, ...n3 }), { ...n3, value: e3 }), xe.Invalid) : a2 && l(e3.length, a2) || d3 && s(e3.length, d3) ? (o3(de({ value: e3, minimum: a2, maximum: d3, ...n3 }), { ...n3, value: e3 }), xe.Invalid) : u3 && !new RegExp(u3).test(e3) ? (o3(me({ value: e3, ...n3 }), { ...n3, value: e3 }), xe.Invalid) : xe.Valid : xe.InvalidType;
          }(t3, o2, e2, n2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? xe.Valid : xe.InvalidType;
          }(e3), date: (e3) => Ne(e3), nil: (e3) => function(e4) {
            return a(e4) ? xe.Valid : xe.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? xe.Valid : xe.InvalidType;
          }(e3) };
          return function(e3, t3, o2) {
            return u2(e3, t3, { functionName: o2, propertyName: o2, index: void 0 });
          };
        }
        function $e(e2, { suppressIndexErrors: t2 = false } = {}) {
          return we({ reportError: g, reportWarning: v }, e2, { suppressIndexErrors: t2 });
        }
        function ke(e2, t2, o2 = {}) {
          return (r2) => {
            const n2 = e2(r2), a2 = $e(r2.metaData.role), i2 = $e(r2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(n2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(n2, s2), d2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? d2.value = (...e4) => {
                const n3 = t2.properties[s2] && t2.properties[s2].args, a3 = o2[s2];
                let d3 = true;
                return n3 && (d3 = i2(e4, { type: ["array"], items: n3 }, s2)), d3 && a3 && (d3 = a3.every((t3) => t3(e4, r2))), d3 ? l2.value(...e4) : void 0;
              } : d2.value = l2.value : (l2.get && (d2.get = () => n2[s2]), l2.set && (d2.set = (e4) => {
                const i3 = o2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = a2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, r2))), l3 && (n2[s2] = e4);
              })), Object.defineProperty(e3, s2, d2), e3;
            }, {});
          };
        }
        const Ie = "click", Ce = "dblClick", Se = "mouseenter", Oe = "mouseleave", Ve = "change", Te = "blur", Pe = "focus", Ee = "imageChanged", je = "imageExpanded", De = "onInput", Le = "itemClicked", Ae = "cellSelect", Re = "cellEdit", Fe = "rowSelect", Me = "fetchData", Be = "dataChange", qe = "onTimeout", We = "onVerified", Ge = "onError", He = "onPlay", Ue = "onPause", Xe = "onProgress", Ye = "onEnded", ze = "autoplayOff", Ke = "autoplayOn", Je = "playEnded", _e = "playProgress", Ze = "keyPress", Qe = "keyUp", et = "keyDown", tt = "screenIn", ot = "viewportEnter", rt = "viewportLeave", nt = "scroll", at = "validate", it = "setCustomValidity", st = "syncValidationData", lt = "updateValidityIndication", dt = "message", ct = "uploadComplete", ut = "itemReady", pt = "itemRemoved", mt = "tagClick", ft = "quickActionBarItemClicked", yt = "markerClicked", ht = "mapClicked", gt = "iconMouseIn", vt = "onStateChange", bt = "itemMouseIn", Nt = "itemMouseOut", xt = "itemMouseClick", wt = "itemMouseDblClick", $t = "onColorChange", kt = "onFontChange", It = "onOpacityChange", Ct = { [Ie]: "onClick", [Ce]: "onDblClick", [Se]: "onMouseIn", [Oe]: "onMouseOut", [Ve]: "onChange", [De]: "onInput", [Te]: "onBlur", [Pe]: "onFocus", [Ee]: "onCurrentItemChanged", [je]: void 0, [Le]: "onItemClicked", [Ae]: "onCellSelect", [Re]: void 0, [Fe]: "onRowSelect", [Me]: void 0, [Be]: "onDataChange", [qe]: "onTimeout", [We]: "onVerified", [Ge]: "onError", [He]: "onPlay", [Ue]: "onPause", [Xe]: "onProgress", [Ye]: "onEnded", [ze]: "onPause", [Ke]: "onPlay", [Je]: void 0, [_e]: void 0, [Ze]: "onKeyPress", [Qe]: "onKeyUp", [et]: "onKeyDown", [tt]: void 0, [ot]: "onViewportEnter", [rt]: "onViewportLeave", [nt]: void 0, [at]: void 0, [it]: void 0, [st]: void 0, [lt]: void 0, [dt]: "onMessage", [ct]: void 0, [ut]: "onItemReady", [pt]: "onItemRemoved", [mt]: void 0, [ft]: "onItemClicked", [yt]: "onMarkerClicked", [ht]: "onMapClicked", [gt]: void 0, [vt]: "onStateChange", [bt]: "onItemMouseIn", [Nt]: "onItemMouseOut", [xt]: "onItemClick", [wt]: "onItemDblClick", [$t]: "onColorChange", [kt]: "onFontChange", [It]: "onOpacityChange" }, St = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Ot = (e2) => {
          const { target: t2, type: o2, context: r2 } = e2;
          return { target: t2, type: St[o2] ?? o2, context: r2 };
        }, Vt = (e2) => {
          const { clientX: t2, clientY: o2, pageX: r2, pageY: n2, screenX: a2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: d2 } = s2;
          return { clientX: t2, clientY: o2, pageX: r2, pageY: n2, screenX: a2, screenY: i2, offsetX: l2, offsetY: d2 };
        }, Tt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Pt = (e2) => e2.replace(/^on/i, ""), Et = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), jt = (e2, t2, o2, r2) => {
          const { create$w: n2, createEvent: a2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, o3) => $e(o3)(e3, { type: ["function"] }, t3))(o2, Tt[e2] ?? e2, l2.role)) return s2();
          const [d2, c2] = Et(t2), u2 = i2(e2, (e3, t3) => {
            const i3 = a2({ type: e3.type, compId: e3.compId }), s3 = n2({ context: i3.context }), l3 = r2?.({ componentEvent: e3, eventPayload: t3 });
            o2({ ...Ot(i3), ...l3 }, s3);
          }), p2 = { eventName: e2, compId: l2.compId, cb: o2, unregister: u2 };
          return c2({ listeners: [...d2.listeners, p2] }), s2();
        }, Dt = (e2, t2) => {
          const o2 = ((e3) => {
            const t3 = Object.entries(Tt).find(([t4, o3]) => Pt(o3.toLowerCase()) === Pt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(Ct[t2] ?? t2);
          return e2.toLowerCase() === o2.toLowerCase();
        }, Lt = (e2, t2, o2, r2) => jt(e2, t2, o2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...Vt(e3), ...t3 && r2?.(t3) }));
        function At(e2, t2) {
          const { modifyAriaSourceKeys: o2 } = {};
          return (t3) => {
            const r2 = {};
            for (let a2 = 0; a2 < e2.length; a2++) {
              const i2 = e2[a2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], a3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(r2, o2 && a3.get ? "aria" + (n2 = t4).charAt(0).toUpperCase() + n2.slice(1) : t4, a3);
              }
            }
            var n2;
            return r2;
          };
        }
        const Rt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: o2, connection: r2, compType: n2, isGlobal: a2, getParent: i2, role: s2, wixCodeId: l2 } = t2, d2 = `$w.${n2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return r2?.config;
          }, get uniqueId() {
            return o2;
          }, get parent() {
            return i2();
          }, get global() {
            return a2();
          }, get type() {
            return d2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(o2, t3));
          }, toJSON() {
            return { id: s2, type: d2, global: a2() };
          } };
        }, Ft = (e2) => (t2) => {
          const { metaData: o2, getSdkInstance: r2, create$w: n2, createEvent: a2 } = t2, i2 = (e3, t3) => $e(o2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (o3) => i2(o3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = a2({ type: "viewportEnter" }), t3 = n2();
            o3(e3, t3);
          }), jt("onViewportEnter", t2, o3)) : r2(), onViewportLeave: (o3) => i2(o3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = a2({ type: "viewportLeave" }), t3 = n2();
            o3(e3, t3);
          }), jt("onViewportLeave", t2, o3)) : r2() };
        }, Mt = { duration: 1200, delay: 0 }, Bt = { arc: { ...Mt, direction: "left" }, bounce: { ...Mt, direction: "topLeft", intensity: "medium" }, puff: { ...Mt }, zoom: { ...Mt }, fade: { ...Mt }, flip: { ...Mt, direction: "right" }, float: { ...Mt, direction: "right" }, fly: { ...Mt, direction: "right" }, fold: { ...Mt, direction: "left" }, glide: { ...Mt, angle: 0, distance: 0 }, roll: { ...Mt, direction: "left" }, slide: { ...Mt, direction: "left" }, spin: { ...Mt, direction: "cw", cycles: 5 }, turn: { ...Mt, direction: "right" }, ArcIn: { ...Mt, direction: "right" }, ArcOut: { ...Mt, direction: "right" }, BounceIn: { ...Mt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Mt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Mt, direction: "right" }, CollapseOut: { ...Mt }, Conceal: { ...Mt, direction: "right" }, Reveal: { ...Mt, direction: "left" }, FadeIn: { ...Mt }, FadeOut: { ...Mt }, FlipIn: { ...Mt, direction: "left" }, FlipOut: { ...Mt, direction: "left" }, FloatIn: { ...Mt, direction: "right" }, FloatOut: { ...Mt, direction: "right" }, FlyIn: { ...Mt, direction: "right" }, FlyOut: { ...Mt, direction: "right" }, FoldIn: { ...Mt, direction: "left" }, FoldOut: { ...Mt, direction: "left" }, GlideIn: { ...Mt, angle: 0, distance: 150 }, GlideOut: { ...Mt, angle: 0, distance: 150 }, DropIn: { ...Mt }, PopOut: { ...Mt }, SlideIn: { ...Mt, direction: "left" }, SlideOut: { ...Mt, direction: "left" }, SpinIn: { ...Mt, direction: "cw", cycles: 2 }, SpinOut: { ...Mt, direction: "cw", cycles: 2 }, TurnIn: { ...Mt, direction: "right" }, TurnOut: { ...Mt, direction: "right" } }, qt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Wt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Gt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Ht = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Ut = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Xt = { arc: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Gt, delay: Ht } }, zoom: { type: ["object"], properties: { duration: Gt, delay: Ht } }, fade: { type: ["object"], properties: { duration: Gt, delay: Ht } }, flip: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: Ut } }, float: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: Ut } }, fly: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: Ut } }, fold: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: Ut } }, glide: { type: ["object"], properties: { duration: Gt, delay: Ht, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: Ut } }, slide: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: Ut } }, spin: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Yt = ({ propertyName: e2, compName: t2 }) => (o2, r2) => {
          if (!o2) return false;
          if (void 0 === r2) return true;
          const n2 = (({ effectName: e3, propertyName: t3, compName: o3 }) => (r3, n3) => {
            v(k({ propertyName: t3, compName: o3, effectName: e3, wrongValue: `${n3?.value}`, infoLink: Wt(t3) }));
          })({ effectName: o2, propertyName: e2, compName: t2 });
          if (!we({ reportError: n2, reportWarning: () => ({}) }, t2)(r2, { type: ["object"] }, e2)) return false;
          const a2 = (({ effectName: e3, propertyName: t3, compName: o3 }) => (r3, n3) => {
            v(w({ propertyName: t3, compName: o3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${n3?.propertyName}" cannot be set to the value "${n3?.value}"`, infoLink: Wt(t3) }));
          })({ effectName: o2, propertyName: e2, compName: t2 });
          return !!we({ reportError: a2, reportWarning: () => ({}) }, t2)(r2, Xt[o2], e2);
        }, zt = (e2) => 0 === Object.keys(e2).length, Kt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: o2, portal: r2, metaData: n2, getSdkInstance: a2, runAnimation: i2, createSdkState: s2, styleUtils: l2, setProps: d2 }) => {
          const c2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: o3, propertyName: r3 }) => {
            const n3 = Yt({ propertyName: r3, compName: e3 });
            if (!t3 && !o3) return false;
            if (!t3 && o3 && !zt(o3)) return v(x({ propertyName: r3, compName: e3, infoLink: Wt(r3) })), false;
            const a3 = "hide" === r3 ? "HIDE" : "SHOW", i3 = qt[a3]?.deprecatedValues;
            return t3 && o3 && i3 && i3.find((e4) => e4 === t3) && !zt(o3) ? (v($({ compName: e3, effectName: t3, propertyName: r3, infoLink: Wt(r3) })), false) : !!i3.find((e4) => e4 === t3) || (t3 && !(t3 in Xt) ? (v(N({ propertyName: r3, compName: e3, effectName: t3, infoLink: Wt(r3) })), false) : !!n3(t3, o3));
          })({ compName: n2.role }), [u2, p2] = s2({ hidden: n2.hiddenOnLoad, collapsed: n2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (n3, a3) => {
            if (d2({ hidden: true }), u2.collapsed || u2.hidden) p2({ hidden: true });
            else {
              if (c2({ effectName: n3, effectOptions: a3, propertyName: "hide" })) {
                const e3 = { animationDirection: qt.HIDE.suffix, effectName: n3, effectOptions: { ...Bt?.[n3] || Mt, ...a3 } };
                await Promise.all([i2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else o2(l2.getHiddenStyles()), t2 && r2.setStyles(l2.getHiddenStyles());
              p2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (n3, a3) => {
            if (d2({ hidden: false }), !u2.collapsed && u2.hidden) {
              if (c2({ effectName: n3, effectOptions: a3, propertyName: "show" })) {
                const e3 = { animationDirection: qt.SHOW.suffix, effectName: n3, effectOptions: { ...Bt?.[n3] || Mt, ...a3 } };
                await Promise.all([i2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else o2(l2.getShownStyles()), t2 && r2.setStyles(l2.getShownStyles());
              p2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else p2({ hidden: false });
          }, collapse: async () => {
            d2({ collapsed: true }), u2.collapsed || (o2(l2.getCollapsedStyles()), t2 && r2.setStyles(l2.getCollapsedStyles()), p2({ collapsed: true }), u2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (d2({ collapsed: false }), u2.collapsed) {
              const n3 = { ...l2.getExpandedStyles(), visibility: u2.hidden ? "hidden" : null };
              o2(n3), t2 && r2.setStyles(n3), p2({ collapsed: false }), u2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return u2.collapsed;
          }, get hidden() {
            return Boolean(u2.hidden);
          }, get isVisible() {
            if (!n2.isRendered()) return false;
            let e3 = a2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Jt = (e2) => (t2) => ((e3, t3 = false) => {
          const [o2, r2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return At([Kt({ viewportState: o2, hasPortal: t3 }), Ft((e4, t4) => {
            r2({ [e4]: [...o2[e4], t4] });
          })])(e3);
        })(t2, e2), _t = (e2, t2, o2) => {
          const r2 = t2.filter((t3) => !e2.includes(t3));
          r2.length && g(te({ functionName: o2, wrongEffects: r2, allowedEffects: e2 }));
        }, Zt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (o2) => {
            _t(t2(), o2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...o2);
          }, removeEffects: (o2) => {
            _t(t2(), o2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...o2);
          }, toggleEffects: (o2) => {
            _t(t2(), o2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...o2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Qt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), eo = (e2, t2) => "string" != typeof e2 ? (to(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (ro(e2, t2), false), to = (e2, t2, o2, r2) => {
          g(Z({ propertyName: e2, functionName: t2, value: o2, expectedType: r2 }));
        }, oo = (e2, t2) => {
          g(V({ propertyName: e2, functionName: t2 }));
        }, ro = (e2, t2) => {
          g(ae({ propertyName: e2, functionName: t2 }));
        }, no = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const r2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!eo(t3, "customClassList.add")) return;
                r2.add(t3);
              }
              t2({ customClassNames: Array.from(r2) });
            } else oo("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void oo("className", "customClassList.remove");
            const r2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!eo(t3, "customClassList.remove")) return;
              r2.delete(t3);
            }
            t2({ customClassNames: Array.from(r2) });
          }, contains(e3) {
            if (e3) return eo(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            oo("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!eo(t3, "customClassList.replace") || !eo(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (g(T({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!eo(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (oo("className", "customClassList.toggle"), false);
          } } };
        }, ao = ({ role: e2, compType: t2, isGlobal: o2, isRendered: r2 }) => ({ id: e2, type: `$w.${t2}`, global: o2(), rendered: r2() }), io = (e2) => ({ onMouseIn: (t2) => Lt("onMouseEnter", e2, t2), onMouseOut: (t2) => Lt("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: r2 } = e2;
          return "string" != typeof t2 ? (g(Z({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), r2()) : "function" != typeof o2 ? (g(Z({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), r2()) : ((e3, t3, o3) => {
            const { metaData: r3, getSdkInstance: n2 } = t3, [a2, i2] = Et(t3), s2 = a2.listeners.filter((t4) => Dt(t4.eventName, e3) && t4.cb === o3 && t4.compId === r3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: a2.listeners.filter((e4) => !s2.includes(e4)) }), n2();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return ao(e2.metaData);
        } }), so = Ft(), lo = (At([Rt, so, io, Zt, no]), { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" });
        function co(e2) {
          return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e2);
        }
        function uo(e2) {
          return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e2);
        }
        function po(e2) {
          return lo[e2];
        }
        function mo(e2) {
          return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e2) || co(e2);
        }
        function fo(e2) {
          return uo(e2) || /^#(([a-f0-9]){3}){1,2}$/i.test(e2);
        }
        const yo = (e2) => parseInt(e2.repeat(2 / e2.length), 16), ho = (e2) => {
          if (!fo(e2)) return;
          const t2 = ((e3) => {
            const t3 = Math.floor((e3.length - 1) / 3);
            return e3.slice(1).match(new RegExp(`.{${t3}}`, "g"));
          })(e2), [o2, r2, n2, a2] = t2.map(yo);
          return [o2, r2, n2, void 0 !== a2 ? bo(a2 / 255) : 1];
        }, go = (e2) => fo(e2) ? ho(e2) : mo(e2) ? ((e3) => {
          if (!mo(e3)) return;
          const t2 = e3.substring(e3.indexOf("(")).split(","), o2 = parseInt(t2[0].substring(1).trim(), 10), r2 = parseInt(t2[1].trim(), 10), n2 = parseInt(t2[2].trim(), 10), a2 = t2[3] && parseFloat(t2[3].substring(0, t2[3].length - 1).trim());
          return [o2, r2, n2, void 0 !== a2 ? a2 : 1];
        })(e2) : po(e2) ? ho(lo[e2]) : void 0, vo = (e2) => {
          const t2 = go(e2);
          if (t2) return t2[3];
        }, bo = (e2) => Math.round(100 * e2) / 100;
        const No = ({ propertyName: e2, cssProperty: t2, supportAlpha: o2 }) => (r2, n2) => function(e3) {
          return fo(e3) || mo(e3) || po(e3);
        }(r2) ? (o2 || wo({ propertyName: e2, color: r2, api: n2 }), true) : (g(ne({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: n2.metaData.role, exampleFormats: o2 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), xo = ({ propertyName: e2, cssProperty: t2 }) => (o2, n2) => !!function(e3) {
          if (r(e3)) {
            const t3 = e3.endsWith("px"), o3 = e3.slice(0, e3.length - 2), r2 = /^\d*$/.test(o3);
            return t3 && r2 && parseInt(o3, 10);
          }
          return false;
        }(o2) || (g(re({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: n2.metaData.role, exampleFormat: "1px" })), false), wo = ({ propertyName: e2, color: t2, api: o2 }) => {
          (uo(t2) || co(t2)) && v(O({ propertyName: e2, compName: o2.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}` }));
        }, $o = ({ name: e2, prefix: t2 }) => t2 ? `--${t2}-corvid-${e2}` : `--corvid-${e2}`, ko = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, Io = ["hover", "disabled"], Co = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
        function So(e2) {
          return e2.charAt(0).toUpperCase() + e2.slice(1);
        }
        const Oo = (e2) => (t2 = { supportOpacity: true }) => {
          const { prefix: o2, supportOpacity: r2, withoutDefaultValue: n2, supportedStates: a2 = [] } = t2, i2 = (t3, o3 = e2) => {
            const a3 = No({ propertyName: e2, cssProperty: r2 ? "rgbaColor" : "rgbColor", supportAlpha: r2 });
            return ke(({ setStyles: a4, sdkData: i3, createSdkState: s3 }) => {
              const l3 = i3?.initialSdkStyles?.[o3], d2 = vo(l3), c2 = n2 ? void 0 : l3, [u2, p2] = s3({ [o3]: c2 }, o3);
              return Object.defineProperty({ reset() {
                p2({ [o3]: c2 }), a4({ [t3]: void 0 });
              } }, e2, { enumerable: true, set(e3) {
                let n3 = e3;
                if (!r2 && (uo(e3) || co(e3))) {
                  const [t4, o4, r3] = go(e3);
                  n3 = `rgb(${t4}, ${o4}, ${r3})`;
                }
                if ("number" == typeof d2 && 1 !== d2) {
                  const t4 = vo(e3);
                  n3 = ((e4, t5) => {
                    const o4 = go(e4);
                    if (o4) {
                      const [e5, r3, n4] = o4;
                      return `rgba(${e5}, ${r3}, ${n4}, ${t5})`;
                    }
                  })(n3, Number.isFinite(t4) ? bo(d2 * t4) : d2);
                }
                p2({ [o3]: n3 }), a4({ [t3]: n3 });
              }, get() {
                return u2[o3];
              } });
            }, { properties: { [e2]: { type: ["string", "nil"] } } }, { [e2]: [a3] });
          }, s2 = a2.map((t3) => ke((r3) => {
            const n3 = i2($o({ name: Co[t3][e2], prefix: o2 }), t3 + So(e2))(r3);
            return { [t3]: n3 };
          }, { properties: { [t3]: { type: ["object", "nil"] } } })), l2 = i2($o({ name: ko[e2], prefix: o2 }));
          return (e3) => Object.assign(l2(e3), s2.reduce((t3, o3) => Object.assign(t3, o3(e3)), {}));
        }, Vo = Oo("backgroundColor"), To = Oo("borderColor"), Po = "textColor", Eo = "color", jo = Oo("fillColor"), Do = Oo("strokeColor"), Lo = Oo("iconColor"), Ao = "reset";
        function Ro(...e2) {
          const t2 = (o2 = Ao, (...e3) => {
            const t3 = {}, r2 = { [o2](e4) {
              if ("function" == typeof t3[e4]) return t3[e4](e4);
            } };
            return e3.forEach((e4) => {
              Object.keys(e4).filter((e5) => e5 !== o2).map((t4) => ({ key: t4, descriptor: Object.getOwnPropertyDescriptor(e4, t4) })).forEach(({ key: n2, descriptor: a2 }) => {
                "function" == typeof e4[o2] && (t3[n2] = e4[o2]), Object.defineProperty(r2, n2, a2);
              });
            }), r2;
          });
          var o2;
          return (o3) => {
            const r2 = e2.map((e3) => e3(o3)), n2 = {};
            for (const e3 of Io) r2.some((t3) => e3 in t3) && (n2[e3] = t2(...r2.map((t3) => t3[e3] ?? {})), Object.defineProperty(n2[e3], Ao, { enumerable: false }), r2.forEach((t3) => {
              delete t3[e3];
            }));
            const a2 = t2(...r2);
            return Object.defineProperty(a2, Ao, { enumerable: false }), Object.assign(a2, n2);
          };
        }
        const Fo = { BackgroundColor: Vo, BorderColor: To, BorderWidth: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = $o({ name: ko.borderWidth, prefix: t2 });
          return ke(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const a2 = t3?.initialSdkStyles?.borderWidth, [i2, s2] = n2({ borderWidth: o2 ? void 0 : a2 }, "borderWidth");
            return { set borderWidth(t4) {
              s2({ borderWidth: t4 }), e3({ [r2]: t4 });
            }, get borderWidth() {
              return i2.borderWidth;
            }, reset() {
              s2({ borderWidth: a2 }), e3({ [r2]: void 0 });
            } };
          }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [xo({ propertyName: "borderWidth", cssProperty: "width" })] });
        }, ForegroundColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = $o({ name: ko.foregroundColor, prefix: t2 });
          return ke(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const [a2, i2] = n2({ foregroundColor: o2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }, "foregroundColor");
            return { set foregroundColor(t4) {
              i2({ foregroundColor: t4 }), e3({ [r2]: t4 });
            }, get foregroundColor() {
              return a2.foregroundColor;
            }, reset() {
              i2({ foregroundColor: o2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }), e3({ [r2]: void 0 });
            } };
          }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [No({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
        }, BorderRadius: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = $o({ name: ko.borderRadius, prefix: t2 });
          return ke(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const a2 = t3?.initialSdkStyles?.borderRadius, [i2, s2] = n2({ borderRadius: o2 ? void 0 : a2 }, "borderRadius");
            return { set borderRadius(t4) {
              s2({ borderRadius: t4 }), e3({ [r2]: t4 });
            }, get borderRadius() {
              return i2.borderRadius;
            }, reset() {
              s2({ borderRadius: a2 }), e3({ [r2]: void 0 });
            } };
          }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [xo({ propertyName: "borderRadius", cssProperty: "radius" })] });
        }, TextColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2, supportedStates: r2 = [] } = e2, n2 = (e3, t3 = Po, r3 = Eo) => ke(({ setStyles: n3, sdkData: a3, createSdkState: i3 }) => {
            const s2 = a3?.initialSdkStyles?.[r3], l2 = o2 ? void 0 : s2, [d2, c2] = i3({ [t3]: l2 }, t3);
            return { set color(o3) {
              let r4 = o3;
              if (uo(o3) || co(o3)) {
                const [e4, t4, n4] = go(o3);
                r4 = `rgb(${e4}, ${t4}, ${n4})`;
              }
              c2({ [t3]: r4 }), n3({ [e3]: r4 });
            }, get color() {
              return d2[t3];
            }, reset() {
              c2({ [t3]: l2 }), n3({ [e3]: void 0 });
            } };
          }, { properties: { color: { type: ["string", "nil"] } } }, { color: [No({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), a2 = r2.map((e3) => ke((o3) => {
            const r3 = n2($o({ name: Co[e3].textColor, prefix: t2 }), ((e4) => e4 + So(Po))(e3), ((e4) => e4 + So(Eo))(e3))(o3);
            return { [e3]: r3 };
          }, { properties: { [e3]: { type: ["object", "nil"] } } })), i2 = n2($o({ name: ko.textColor, prefix: t2 }));
          return (e3) => Object.assign(i2(e3), a2.reduce((t3, o3) => Object.assign(t3, o3(e3)), {}));
        }, FillColor: jo, StrokeColor: Do, IconColor: Lo }, Mo = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} }, Bo = ke(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.label || "";
        }, set label(t3) {
          e2({ label: t3 || "" });
        } }), { properties: { label: { type: ["string", "nil"], warnIfNil: true } } });
        const qo = (e2) => (e2.options || []).filter((e3) => e3.checked).map((e3) => e3.value), Wo = /* @__PURE__ */ ((e2, t2) => {
          const o2 = [];
          return { onValidate: (e3) => o2.push(e3), validate: ({ viewerSdkAPI: r2, showValidityIndication: n2 }) => {
            const { props: a2, metaData: { isRepeaterTemplate: i2 } } = r2;
            if (i2) return;
            const s2 = e2(a2, r2);
            let l2 = s2;
            const d2 = ((e3, t3, o3) => {
              let r3 = "";
              const n3 = (e4) => {
                r3 = e4;
              }, a3 = o3 ? o3(t3) : t3.value;
              return e3 && e3(a3, n3), r3;
            })((({ createSdkState: e3 }) => {
              const [{ customValidators: t3 }] = e3(f, y);
              return (e4, o3) => {
                let r3 = false;
                const n3 = (e5) => {
                  r3 = true, o3(e5);
                };
                for (let o4 = 0; o4 < t3.length && !r3; o4++) t3[o4](e4, n3);
              };
            })(r2), a2, t2);
            d2 && (l2 = ((e3, t3) => p(e3, "customError", t3 || ""))(s2, d2)), o2.forEach((e3) => e3({ viewerSdkAPI: r2, showValidityIndication: n2, validationDataResult: l2 }));
          } };
        })((Go = [(e2, t2) => !e2.required || e2.options && (!e2.options.length || e2.options.find((e3) => e3.checked)) ? t2 : m(t2, "valueMissing")], (e2, t2) => Go.reduce((o2, r2) => r2(e2, o2, t2), c)), qo);
        var Go;
        const Ho = ke((e2) => {
          const { setProps: t2, props: o2, metaData: r2, createSdkState: n2 } = e2, [i2, s2] = n2({ value: [] }), l2 = { get options() {
            return o2.options && o2.options.map((e3) => {
              let { label: t3, value: o3 } = e3;
              return { label: t3, value: o3 };
            });
          }, set options(r3) {
            const n3 = (r3 || []).filter((e3, t3) => {
              const { value: o3, label: r4 } = e3, n4 = a(r4) || "" === r4 && "" !== o3;
              return n4 && v((({ propertyName: e4, wrongValue: t4, index: o4 }) => S({ propertyName: e4, wrongValue: t4, index: o4 }))({ propertyName: "CheckboxButton", index: t3, wrongValue: e3 })), !n4;
            }).map((e3) => {
              let { label: t3, value: r4 } = e3;
              const n4 = o2.options.find((e4) => e4.value === r4), a2 = i2.value.findIndex((e4) => e4 === r4);
              return { label: t3, value: r4, checked: n4 ? n4.checked : a2 >= 0 };
            });
            t2({ options: n3 }), Wo.validate({ viewerSdkAPI: e2, showValidityIndication: false });
          }, get value() {
            return qo(o2);
          }, set value(r3) {
            const n3 = (r3 || []).map((e3) => Yo(e3));
            s2({ value: n3 });
            const a2 = o2.options.map((e3) => {
              let { label: t3, value: o3 } = e3;
              return { label: t3, value: o3, checked: n3.findIndex((e4) => e4 === o3) >= 0 };
            });
            t2({ options: a2 }), Wo.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get selectedIndices() {
            return o2.options.reduce((e3, t3, o3) => (t3.checked && e3.push(o3), e3), []);
          }, set selectedIndices(r3) {
            if (a(r3)) {
              const e3 = o2.options.map((e4) => {
                let { label: t3, value: o3 } = e4;
                return { label: t3, value: o3, checked: false };
              });
              s2({ value: [] }), t2({ options: e3 });
            } else {
              const e3 = o2.options.map((e4, t3) => {
                let { label: o3, value: n3 } = e4;
                return { label: o3, value: n3, checked: r3.findIndex((e5) => e5 === t3) >= 0 };
              });
              s2({ value: e3.filter((e4) => e4.checked).map((e4) => {
                let { value: t3 } = e4;
                return t3;
              }) }), t2({ options: e3 });
            }
            Wo.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get disabledIndices() {
            return o2.options.reduce((e3, t3, o3) => (t3.isDisabled && e3.push(o3), e3), []);
          }, set disabledIndices(e3) {
            if (a(e3)) {
              const e4 = o2.options.map((e5) => {
                let { label: t3, value: o3, checked: r3 } = e5;
                return { label: t3, value: o3, checked: r3, isDisabled: false };
              });
              t2({ options: e4 });
            } else {
              const r3 = o2.options.map((t3, o3) => {
                let { label: r4, value: n3, checked: a2 } = t3;
                return { label: r4, value: n3, checked: a2, isDisabled: e3.findIndex((e4) => e4 === o3) >= 0 };
              });
              t2({ options: r3 });
            }
          }, get min() {
            return o2.min;
          }, set min(e3) {
            t2({ min: e3 });
          }, get max() {
            return o2.max;
          }, set max(e3) {
            t2({ max: e3 });
          }, toJSON() {
            const { required: e3 } = o2, { value: t3, options: n3, selectedIndices: a2, disabledIndices: i3, min: s3, max: d2 } = l2;
            return { ...ao(r2), required: e3, value: t3, options: n3, selectedIndices: a2, disabledIndices: i3, min: s3, max: d2 };
          } };
          return l2;
        }, { properties: { options: { type: ["array", "nil"], warnIfNil: true, name: "CheckboxButton", items: { type: ["object"], properties: { value: { type: ["string", "nil"], maxLength: 400, minLength: 0 }, label: { type: ["string", "nil"], maxLength: 400, minLength: 0 } } } }, value: { type: ["array", "nil"], warnIfNil: true }, selectedIndices: { type: ["array", "nil"], items: { type: ["integer", "nil"] } }, disabledIndices: { type: ["array", "nil"], items: { type: ["integer", "nil"] } }, min: { type: ["integer", "nil"] }, max: { type: ["integer", "nil"] } } }, { selectedIndices: [(e2, t2) => {
          let { props: o2, metaData: r2 } = t2;
          const n2 = $e(r2.role);
          if (a(e2)) return true;
          return e2.findIndex((e3) => !a(e3) && !n2(e3, { type: ["integer"], minimum: 0, maximum: o2.options.length - 1 }, "selectedIndices")) < 0;
        }], disabledIndices: [(e2, t2) => {
          let { props: o2, metaData: r2 } = t2;
          const n2 = $e(r2.role);
          if (a(e2)) return true;
          return e2.findIndex((e3) => !a(e3) && !n2(e3, { type: ["integer"], minimum: 0, maximum: o2.options.length - 1 }, "disabledIndices")) < 0;
        }], min: [(e2, t2) => {
          let { props: o2, metaData: r2 } = t2;
          const n2 = $e(r2.role);
          return !!a(e2) || n2(e2, { type: ["integer"], minimum: 0, maximum: o2.max || o2.options.length }, "min");
        }], max: [(e2, t2) => {
          let { props: o2, metaData: r2 } = t2;
          const n2 = $e(r2.role);
          return !!a(e2) || n2(e2, { type: ["integer"], minimum: o2.min || 1, maximum: o2.options.length }, "max");
        }] }), Uo = ((e2) => {
          e2.onValidate(({ viewerSdkAPI: e3, validationDataResult: t2, showValidityIndication: o2 }) => {
            const { setProps: r2, compRef: n2 } = e3, a2 = h(e3), i2 = u(a2), s2 = u(t2), l2 = a2.htmlValidationMessageOverride.key, d2 = t2.htmlValidationMessageOverride.key;
            t2.validity.customError ? i2 !== s2 && n2.setCustomValidity({ type: "message", message: s2 }) : d2 ? (a2.validity.customError || l2 !== d2) && n2.setCustomValidity({ type: "key", key: d2 }) : i2 === s2 && l2 === d2 || n2.setCustomValidity({ type: "message", message: "" });
            const c2 = { isValid: t2.validity.valid, ...o2 && { shouldShowValidityIndication: true } };
            (({ createSdkState: e4 }, t3) => {
              const [, o3] = e4(f, y);
              o3({ validationData: t3 });
            })(e3, t2), r2(c2);
          });
          return ke((t2) => {
            const { setProps: o2, props: r2, registerEvent: n2, metaData: { isRepeaterTemplate: a2 } } = t2;
            return a2 || (n2("validateValue", () => {
              e2.validate({ viewerSdkAPI: t2 });
            }), n2("validateValueAndShowIndication", (o3) => {
              const n3 = { ...r2, ...o3 }, a3 = { ...t2, props: n3 };
              e2.validate({ viewerSdkAPI: a3, showValidityIndication: true });
            }), n2("hideValidityIndication", () => {
              o2({ shouldShowValidityIndication: false });
            }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: false })), { get valid() {
              return h(t2).validity.valid;
            }, get validationMessage() {
              return h(t2).validationMessage;
            }, get validity() {
              return h(t2).validity;
            }, onCustomValidation(o3, r3 = true) {
              (({ createSdkState: e3 }, t3, o4 = true) => {
                const [{ customValidators: r4 }, n3] = e3(f, y);
                n3(o4 ? { customValidators: [t3] } : { customValidators: [...r4, t3] });
              })(t2, o3, r3), e2.validate({ viewerSdkAPI: t2 });
            }, updateValidityIndication() {
              o2({ shouldShowValidityIndication: true });
            }, resetValidityIndication() {
              o2({ shouldShowValidityIndication: false });
            } };
          }, { properties: { onCustomValidation: { type: ["function"], args: [{ type: ["function"] }, { type: ["boolean"] }] } } });
        })(Wo), Xo = ke(/* @__PURE__ */ ((e2) => (t2) => ({ get required() {
          return t2.props.required || false;
        }, set required(o2) {
          t2.setProps({ required: o2 }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: o2 });
        } }))(Wo), { properties: { required: { type: ["boolean"] } } });
        const Yo = (zo = [(e2) => o(e2) && isFinite(e2) ? e2.toString() : e2, (e2) => r(e2) ? e2 : ""], (e2) => zo.reduce((e3, t2) => t2(e3), e2));
        var zo;
        const Ko = (_o = { BackgroundColor: true, BorderColor: true, BorderWidth: true, BorderRadius: true, TextColor: true }, ke((Jo = Ro(...Object.keys(_o).filter((e2) => _o[e2]).map((e2) => {
          const t2 = "boolean" != typeof _o[e2] ? _o[e2] : Mo[e2];
          return Fo[e2]({ prefix: Zo?.cssVarPrefix, withoutDefaultValue: t2.withoutDefaultValue, supportOpacity: t2.supportOpacity, supportedStates: t2.supportedStates });
        })), (e2) => {
          const t2 = Jo(e2);
          return t2.removeProperty = (e3) => {
            const [o2, r2] = e3.includes(".") ? e3.split(".").reverse() : [e3, void 0];
            if (!r2 && !(o2 in t2) || r2 && !(o2 in (t2[r2] ?? {}))) {
              const o3 = Object.keys(t2).filter((e4) => "removeProperty" !== e4);
              return void g(pe({ functionName: "removeProperty", propertyName: "propertyName", value: e3, enum: o3, index: void 0 }));
            }
            const n2 = r2 ? t2[r2] : t2;
            n2[Ao]?.(o2);
          }, { get style() {
            return t2;
          } };
        }), { properties: { style: { type: ["object"] } } }));
        var Jo, _o, Zo;
        const Qo = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => At([Rt, io, Zt, Qt, e2 ? Jt(t2) : so, no]))(), er = At([Qo, ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => jt("onFocus", e2, t2), onBlur: (t2) => jt("onBlur", e2, t2) }), (e2) => ({ onClick: (t2) => Lt("onClick", e2, t2), onDblClick: (t2) => Lt("onDblClick", e2, t2) }), Xo, Uo, (e2) => ({ onChange: (t2) => jt("onChange", e2, t2) }), Ko, Bo, Ho]);
        var tr = { factory: er };
        return t;
      }();
    });
  })(CheckboxGroup_bundle_min);
  var CheckboxGroup_bundle_minExports = CheckboxGroup_bundle_min.exports;
  const CheckboxGroup = /* @__PURE__ */ getDefaultExportFromCjs(CheckboxGroup_bundle_minExports);
  var CollapsibleText_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var o2 in n2) e.o(n2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: n2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return mn;
        }, sdk: function() {
          return un;
        } });
        const n = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, o = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function a(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function r(e2) {
          return Array.isArray(e2);
        }
        function i(e2) {
          return null == e2;
        }
        function l(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function p(e2, t2) {
          return e2 < t2;
        }
        const u = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, m = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, d = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, c = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: o2, wrongValue: a2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${r2}"')`, f = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${o2}"`, y = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, h = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, g = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, N = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, v = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, x = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, b = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, _ = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, w = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, T = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, k = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, I = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, C = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, E = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, O = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, L = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, S = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, V = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, P = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, D = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, A = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, B = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, W = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, K = ({ propertyName: e2, functionName: t2, value: n2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, Y = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, G = ({ compName: e2, functionName: t2, propertyName: n2, index: o2 }) => a(o2) ? g({ propertyName: n2, functionName: t2, index: o2 }) : e2 ? h({ compName: e2, functionName: t2, propertyName: n2 }) : u({ functionName: t2, propertyName: n2 }), z = ({ functionName: e2, propertyName: t2, index: n2 }) => a(n2) ? x({ functionName: e2, propertyName: t2, index: n2 }) : N({ functionName: e2, propertyName: t2 }), J = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? a(n2) ? w({ functionName: e2, propertyNames: t2, index: n2 }) : _({ functionName: e2, propertyNames: t2 }) : a(n2) ? $({ functionName: e2, propertyName: t2[0], index: n2 }) : b({ functionName: e2, propertyName: t2[0] }), Z = ({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2, index: i2 }) => r2 && o2 ? r2 === o2 ? a(i2) ? C({ functionName: e2, propertyName: t2, value: n2, expectedValue: r2, index: i2 }) : I({ functionName: e2, propertyName: t2, value: n2, expectedValue: r2 }) : a(i2) ? k({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2, index: i2 }) : T({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2 }) : !r2 && o2 ? a(i2) ? S({ functionName: e2, propertyName: t2, value: n2, maximum: o2, index: i2 }) : L({ functionName: e2, propertyName: t2, value: n2, maximum: o2 }) : a(i2) ? O({ functionName: e2, propertyName: t2, value: n2, minimum: r2, index: i2 }) : E({ functionName: e2, propertyName: t2, value: n2, minimum: r2 }), Q = ({ functionName: e2, propertyName: t2, value: n2, minimum: o2, maximum: r2, index: i2 }) => o2 && r2 ? o2 === r2 ? a(i2) ? P({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2, index: i2 }) : j({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2 }) : a(i2) ? V({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2, index: i2 }) : M({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2 }) : !o2 && r2 ? a(i2) ? F({ functionName: e2, propertyName: t2, maximum: r2, value: n2, index: i2 }) : B({ functionName: e2, propertyName: t2, maximum: r2, value: n2 }) : a(i2) ? A({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: i2 }) : D({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), ee = ({ functionName: e2, propertyName: t2, types: n2, value: o2, index: r2 }) => {
          const i2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return a(r2) ? H({ functionName: e2, index: r2, propertyName: t2, value: o2, expectedType: i2 }) : R({ functionName: e2, propertyName: t2, value: o2, expectedType: i2 });
        }, te = ({ functionName: e2, propertyName: t2, value: n2, enum: o2, index: r2 }) => {
          const i2 = `from (${o2.join(",")})`;
          return a(r2) ? H({ functionName: e2, propertyName: t2, value: n2, expectedType: i2, index: r2 }) : R({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, ne = ({ functionName: e2, propertyName: t2, value: n2, index: o2 }) => a(o2) ? K({ functionName: e2, propertyName: t2, value: n2, index: o2 }) : q({ functionName: e2, propertyName: t2, value: n2 }), oe = Object.prototype.hasOwnProperty, ae = Object.getOwnPropertyNames, re = () => {
        };
        function ie(e2, t2, n2, o2, a2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !r(e3);
          }(e2)) return ue.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ie(e2, t3, n2, re, a2, i2)).filter((e3) => e3 === ue.Valid).length ? ue.Valid : ue.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!oe.call(e2, t2.required[n3])) return o2(z({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[n3] }), { ...i2, value: e2 }), ue.Invalid;
          }
          const l2 = ae(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ae(e2).filter((e3) => !l2.includes(e3));
            if (t3.length) {
              return o2(J({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), ue.Invalid;
            }
          }
          for (let o3 = 0; o3 < l2.length; o3++) {
            const a3 = l2[o3];
            if (oe.call(e2, a3)) {
              const o4 = t2.properties[a3], r2 = e2[a3];
              if (!n2(r2, o4, { functionName: i2.functionName, index: i2.index, propertyName: a3 })) return ue.Invalid;
            }
          }
          return ue.Valid;
        }
        function le(e2) {
          return Array.isArray(e2);
        }
        function se(e2, t2, n2, o2) {
          const { minimum: r2, maximum: i2, enum: u2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? u2 && !l(e2, u2) ? (n2(te({ value: e2, enum: u2, ...o2 }), { ...o2, value: e2 }), ue.Invalid) : a(r2) && p(e2, r2) || a(i2) && s(e2, i2) ? (n2(Q({ value: e2, minimum: r2, maximum: i2, ...o2 }), { ...o2, value: e2 }), ue.Invalid) : ue.Valid : ue.InvalidType;
        }
        function pe(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? ue.Valid : ue.InvalidType;
        }
        const ue = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function me({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: o2 = false } = {}) {
          function u2(o3, a2, r2) {
            a2.warnIfNil && i(o3) && t2(G({ ...r2, compName: n2 }), { ...r2, value: o3 });
            let l2 = 0;
            for (; l2 < a2.type.length; l2++) {
              const e3 = (0, m2[a2.type[l2]])(o3, a2, r2);
              if (e3 !== ue.InvalidType) return e3 === ue.Valid;
            }
            return l2 === a2.type.length && e2(ee({ value: o3, types: a2.type, ...r2 }), { ...r2, value: o3 }), false;
          }
          const m2 = { object: (n3, o3, a2) => ie(n3, o3, u2, e2, t2, a2), array: (e3, t3, n3) => function(e4, t4, n4, o3, a2, i2 = false) {
            if (!r(e4)) return ue.InvalidType;
            let l2 = ue.Valid;
            if (t4.items) {
              const o4 = le(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let r2 = 0; r2 < o4; r2++) {
                const o5 = e4[r2];
                let s2, p2;
                le(t4.items) ? (s2 = t4.items[r2], p2 = t4.items[r2].name) : (s2 = t4.items, p2 = t4.name), n4(o5, s2, { functionName: a2.functionName, propertyName: p2 || a2.propertyName, index: i2 ? void 0 : r2 }) || (l2 = ue.Invalid);
              }
            }
            return l2;
          }(e3, t3, u2, 0, n3, o2), number: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minimum: r2, maximum: i2, enum: u3 } = t4;
            return a(e3) ? u3 && !l(e3, u3) ? (n4(te({ value: e3, enum: u3, ...o4 }), { ...o4, value: e3 }), ue.Invalid) : a(r2) && p(e3, r2) || a(i2) && s(e3, i2) ? (n4(Q({ value: e3, minimum: r2, maximum: i2, ...o4 }), { ...o4, value: e3 }), ue.Invalid) : ue.Valid : ue.InvalidType;
          }(t3, n3, e2, o3), integer: (t3, n3, o3) => se(t3, n3, e2, o3), string: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minLength: a2, maxLength: r2, enum: i2, pattern: u3 } = t4;
            return /* @__PURE__ */ function(e4) {
              return "string" == typeof e4;
            }(e3) ? i2 && !l(e3, i2) ? (n4(te({ value: e3, enum: i2, ...o4 }), { ...o4, value: e3 }), ue.Invalid) : a2 && p(e3.length, a2) || r2 && s(e3.length, r2) ? (n4(Z({ value: e3, minimum: a2, maximum: r2, ...o4 }), { ...o4, value: e3 }), ue.Invalid) : u3 && !new RegExp(u3).test(e3) ? (n4(ne({ value: e3, ...o4 }), { ...o4, value: e3 }), ue.Invalid) : ue.Valid : ue.InvalidType;
          }(t3, n3, e2, o3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? ue.Valid : ue.InvalidType;
          }(e3), date: (e3) => pe(e3), nil: (e3) => function(e4) {
            return i(e4) ? ue.Valid : ue.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? ue.Valid : ue.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return u2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function de(e2, { suppressIndexErrors: t2 = false } = {}) {
          return me({ reportError: n, reportWarning: o }, e2, { suppressIndexErrors: t2 });
        }
        function ce(e2, t2, n2 = {}) {
          return (o2) => {
            const a2 = e2(o2), r2 = de(o2.metaData.role), i2 = de(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, l2) => {
              const s2 = Object.getOwnPropertyDescriptor(a2, l2), p2 = { enumerable: true, configurable: true };
              return s2.value ? "function" == typeof s2.value ? p2.value = (...e4) => {
                const a3 = t2.properties[l2] && t2.properties[l2].args, r3 = n2[l2];
                let p3 = true;
                return a3 && (p3 = i2(e4, { type: ["array"], items: a3 }, l2)), p3 && r3 && (p3 = r3.every((t3) => t3(e4, o2))), p3 ? s2.value(...e4) : void 0;
              } : p2.value = s2.value : (s2.get && (p2.get = () => a2[l2]), s2.set && (p2.set = (e4) => {
                const i3 = n2[l2];
                let s3 = true;
                t2.properties[l2] && (s3 = r2(e4, t2.properties[l2], l2)), s3 && i3 && (s3 = i3.every((t3) => t3(e4, o2))), s3 && (a2[l2] = e4);
              })), Object.defineProperty(e3, l2, p2), e3;
            }, {});
          };
        }
        const fe = (e2, t2, o2, a2, r2) => {
          if (i(e2) || "" === e2) a2({ link: void 0 });
          else try {
            a2({ link: o2.getLinkProps(e2, t2, r2) });
          } catch (t3) {
            n(`The link property that is passed to the link method cannot be set to the value "${e2}" as this is not a supported link type.`);
          }
        }, ye = (e2, t2) => e2.link ? t2.getLink(e2.link) : "";
        function he(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const o2 = {};
            for (let r2 = 0; r2 < e2.length; r2++) {
              const i2 = e2[r2](t3), l2 = Object.keys(i2);
              for (let e3 = 0; e3 < l2.length; e3++) {
                const t4 = l2[e3], r3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(o2, n2 && r3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, r3);
              }
            }
            var a2;
            return o2;
          };
        }
        const ge = "click", Ne = "dblClick", ve = "mouseenter", xe = "mouseleave", be = "change", _e = "blur", $e = "focus", we = "imageChanged", Te = "imageExpanded", ke = "onInput", Ie = "itemClicked", Ce = "cellSelect", Ee = "cellEdit", Oe = "rowSelect", Le = "fetchData", Se = "dataChange", Me = "onTimeout", Ve = "onVerified", je = "onError", Pe = "onPlay", De = "onPause", Ae = "onProgress", Be = "onEnded", Fe = "autoplayOff", Re = "autoplayOn", He = "playEnded", qe = "playProgress", We = "keyPress", Ke = "keyUp", Ue = "keyDown", Xe = "screenIn", Ye = "viewportEnter", Ge = "viewportLeave", ze = "scroll", Je = "validate", Ze = "setCustomValidity", Qe = "syncValidationData", et = "updateValidityIndication", tt = "message", nt = "uploadComplete", ot = "itemReady", at = "itemRemoved", rt = "tagClick", it = "quickActionBarItemClicked", lt = "markerClicked", st = "mapClicked", pt = "iconMouseIn", ut = "onStateChange", mt = "itemMouseIn", dt = "itemMouseOut", ct = "itemMouseClick", ft = "itemMouseDblClick", yt = "onColorChange", ht = "onFontChange", gt = "onOpacityChange", Nt = { [ge]: "onClick", [Ne]: "onDblClick", [ve]: "onMouseIn", [xe]: "onMouseOut", [be]: "onChange", [ke]: "onInput", [_e]: "onBlur", [$e]: "onFocus", [we]: "onCurrentItemChanged", [Te]: void 0, [Ie]: "onItemClicked", [Ce]: "onCellSelect", [Ee]: void 0, [Oe]: "onRowSelect", [Le]: void 0, [Se]: "onDataChange", [Me]: "onTimeout", [Ve]: "onVerified", [je]: "onError", [Pe]: "onPlay", [De]: "onPause", [Ae]: "onProgress", [Be]: "onEnded", [Fe]: "onPause", [Re]: "onPlay", [He]: void 0, [qe]: void 0, [We]: "onKeyPress", [Ke]: "onKeyUp", [Ue]: "onKeyDown", [Xe]: void 0, [Ye]: "onViewportEnter", [Ge]: "onViewportLeave", [ze]: void 0, [Je]: void 0, [Ze]: void 0, [Qe]: void 0, [et]: void 0, [tt]: "onMessage", [nt]: void 0, [ot]: "onItemReady", [at]: "onItemRemoved", [rt]: void 0, [it]: "onItemClicked", [lt]: "onMarkerClicked", [st]: "onMapClicked", [pt]: void 0, [ut]: "onStateChange", [mt]: "onItemMouseIn", [dt]: "onItemMouseOut", [ct]: "onItemClick", [ft]: "onItemDblClick", [yt]: "onColorChange", [ht]: "onFontChange", [gt]: "onOpacityChange" }, vt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, xt = (e2) => {
          const { target: t2, type: n2, context: o2 } = e2;
          return { target: t2, type: vt[n2] ?? n2, context: o2 };
        }, bt = (e2) => {
          const { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: r2, screenY: i2, nativeEvent: l2 } = e2, { offsetX: s2, offsetY: p2 } = l2;
          return { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: r2, screenY: i2, offsetX: s2, offsetY: p2 };
        }, _t = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, $t = (e2) => e2.replace(/^on/i, ""), wt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Tt = (e2, t2, n2, o2) => {
          const { create$w: a2, createEvent: r2, registerEvent: i2, getSdkInstance: l2, metaData: s2 } = t2;
          if (!((e3, t3, n3) => de(n3)(e3, { type: ["function"] }, t3))(n2, _t[e2] ?? e2, s2.role)) return l2();
          const [p2, u2] = wt(t2), m2 = i2(e2, (e3, t3) => {
            const i3 = r2({ type: e3.type, compId: e3.compId }), l3 = a2({ context: i3.context }), s3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...xt(i3), ...s3 }, l3);
          }), d2 = { eventName: e2, compId: s2.compId, cb: n2, unregister: m2 };
          return u2({ listeners: [...p2.listeners, d2] }), l2();
        }, kt = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(_t).find(([t4, n3]) => $t(n3.toLowerCase()) === $t(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(Nt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, It = (e2, t2, n2, o2) => Tt(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...bt(e3), ...t3 && o2?.(t3) })), Ct = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: o2, compType: a2, isGlobal: r2, getParent: i2, role: l2, wixCodeId: s2 } = t2, p2 = `$w.${a2}`;
          return { get id() {
            return s2 || l2;
          }, get role() {
            return l2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return i2();
          }, get global() {
            return r2();
          }, get type() {
            return p2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: l2, type: p2, global: r2() };
          } };
        }, Et = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: o2, create$w: a2, createEvent: r2 } = t2, i2 = (e3, t3) => de(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => i2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = r2({ type: "viewportEnter" }), t3 = a2();
            n3(e3, t3);
          }), Tt("onViewportEnter", t2, n3)) : o2(), onViewportLeave: (n3) => i2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = r2({ type: "viewportLeave" }), t3 = a2();
            n3(e3, t3);
          }), Tt("onViewportLeave", t2, n3)) : o2() };
        }, Ot = { duration: 1200, delay: 0 }, Lt = { arc: { ...Ot, direction: "left" }, bounce: { ...Ot, direction: "topLeft", intensity: "medium" }, puff: { ...Ot }, zoom: { ...Ot }, fade: { ...Ot }, flip: { ...Ot, direction: "right" }, float: { ...Ot, direction: "right" }, fly: { ...Ot, direction: "right" }, fold: { ...Ot, direction: "left" }, glide: { ...Ot, angle: 0, distance: 0 }, roll: { ...Ot, direction: "left" }, slide: { ...Ot, direction: "left" }, spin: { ...Ot, direction: "cw", cycles: 5 }, turn: { ...Ot, direction: "right" }, ArcIn: { ...Ot, direction: "right" }, ArcOut: { ...Ot, direction: "right" }, BounceIn: { ...Ot, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Ot, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Ot, direction: "right" }, CollapseOut: { ...Ot }, Conceal: { ...Ot, direction: "right" }, Reveal: { ...Ot, direction: "left" }, FadeIn: { ...Ot }, FadeOut: { ...Ot }, FlipIn: { ...Ot, direction: "left" }, FlipOut: { ...Ot, direction: "left" }, FloatIn: { ...Ot, direction: "right" }, FloatOut: { ...Ot, direction: "right" }, FlyIn: { ...Ot, direction: "right" }, FlyOut: { ...Ot, direction: "right" }, FoldIn: { ...Ot, direction: "left" }, FoldOut: { ...Ot, direction: "left" }, GlideIn: { ...Ot, angle: 0, distance: 150 }, GlideOut: { ...Ot, angle: 0, distance: 150 }, DropIn: { ...Ot }, PopOut: { ...Ot }, SlideIn: { ...Ot, direction: "left" }, SlideOut: { ...Ot, direction: "left" }, SpinIn: { ...Ot, direction: "cw", cycles: 2 }, SpinOut: { ...Ot, direction: "cw", cycles: 2 }, TurnIn: { ...Ot, direction: "right" }, TurnOut: { ...Ot, direction: "right" } }, St = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Mt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Vt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, jt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Pt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Dt = { arc: { type: ["object"], properties: { duration: Vt, delay: jt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Vt, delay: jt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Vt, delay: jt } }, zoom: { type: ["object"], properties: { duration: Vt, delay: jt } }, fade: { type: ["object"], properties: { duration: Vt, delay: jt } }, flip: { type: ["object"], properties: { duration: Vt, delay: jt, direction: Pt } }, float: { type: ["object"], properties: { duration: Vt, delay: jt, direction: Pt } }, fly: { type: ["object"], properties: { duration: Vt, delay: jt, direction: Pt } }, fold: { type: ["object"], properties: { duration: Vt, delay: jt, direction: Pt } }, glide: { type: ["object"], properties: { duration: Vt, delay: jt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Vt, delay: jt, direction: Pt } }, slide: { type: ["object"], properties: { duration: Vt, delay: jt, direction: Pt } }, spin: { type: ["object"], properties: { duration: Vt, delay: jt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Vt, delay: jt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, At = ({ propertyName: e2, compName: t2 }) => (n2, a2) => {
          if (!n2) return false;
          if (void 0 === a2) return true;
          const r2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, r3) => {
            o(y({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${r3?.value}`, infoLink: Mt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!me({ reportError: r2, reportWarning: () => ({}) }, t2)(a2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, r3) => {
            o(c({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${r3?.propertyName}" cannot be set to the value "${r3?.value}"`, infoLink: Mt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!me({ reportError: i2, reportWarning: () => ({}) }, t2)(a2, Dt[n2], e2);
        }, Bt = (e2) => 0 === Object.keys(e2).length, Ft = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: a2, metaData: r2, getSdkInstance: i2, runAnimation: l2, createSdkState: s2, styleUtils: p2, setProps: u2 }) => {
          const c2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: a3 }) => {
            const r3 = At({ propertyName: a3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Bt(n3)) return o(d({ propertyName: a3, compName: e3, infoLink: Mt(a3) })), false;
            const i3 = "hide" === a3 ? "HIDE" : "SHOW", l3 = St[i3]?.deprecatedValues;
            return t3 && n3 && l3 && l3.find((e4) => e4 === t3) && !Bt(n3) ? (o(f({ compName: e3, effectName: t3, propertyName: a3, infoLink: Mt(a3) })), false) : !!l3.find((e4) => e4 === t3) || (t3 && !(t3 in Dt) ? (o(m({ propertyName: a3, compName: e3, effectName: t3, infoLink: Mt(a3) })), false) : !!r3(t3, n3));
          })({ compName: r2.role }), [y2, h2] = s2({ hidden: r2.hiddenOnLoad, collapsed: r2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (o2, r3) => {
            if (u2({ hidden: true }), y2.collapsed || y2.hidden) h2({ hidden: true });
            else {
              if (c2({ effectName: o2, effectOptions: r3, propertyName: "hide" })) {
                const e3 = { animationDirection: St.HIDE.suffix, effectName: o2, effectOptions: { ...Lt?.[o2] || Ot, ...r3 } };
                await Promise.all([l2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(p2.getHiddenStyles()), t2 && a2.setStyles(p2.getHiddenStyles());
              h2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (o2, r3) => {
            if (u2({ hidden: false }), !y2.collapsed && y2.hidden) {
              if (c2({ effectName: o2, effectOptions: r3, propertyName: "show" })) {
                const e3 = { animationDirection: St.SHOW.suffix, effectName: o2, effectOptions: { ...Lt?.[o2] || Ot, ...r3 } };
                await Promise.all([l2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(p2.getShownStyles()), t2 && a2.setStyles(p2.getShownStyles());
              h2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else h2({ hidden: false });
          }, collapse: async () => {
            u2({ collapsed: true }), y2.collapsed || (n2(p2.getCollapsedStyles()), t2 && a2.setStyles(p2.getCollapsedStyles()), h2({ collapsed: true }), y2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (u2({ collapsed: false }), y2.collapsed) {
              const o2 = { ...p2.getExpandedStyles(), visibility: y2.hidden ? "hidden" : null };
              n2(o2), t2 && a2.setStyles(o2), h2({ collapsed: false }), y2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return y2.collapsed;
          }, get hidden() {
            return Boolean(y2.hidden);
          }, get isVisible() {
            if (!r2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Rt = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return he([Ft({ viewportState: n2, hasPortal: t3 }), Et((e4, t4) => {
            o2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), Ht = (e2, t2, o2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && n(W({ functionName: o2, wrongEffects: a2, allowedEffects: e2 }));
        }, qt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            Ht(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            Ht(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            Ht(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Wt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Kt = (e2, t2) => "string" != typeof e2 ? (Ut(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Yt(e2, t2), false), Ut = (e2, t2, o2, a2) => {
          n(R({ propertyName: e2, functionName: t2, value: o2, expectedType: a2 }));
        }, Xt = (e2, t2) => {
          n(N({ propertyName: e2, functionName: t2 }));
        }, Yt = (e2, t2) => {
          n(Y({ propertyName: e2, functionName: t2 }));
        }, Gt = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const n2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Kt(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else Xt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Xt("className", "customClassList.remove");
            const n2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!Kt(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return Kt(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            Xt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Kt(t3, "customClassList.replace") || !Kt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (n(v({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Kt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Xt("className", "customClassList.toggle"), false);
          } } };
        }, zt = (e2) => ({ onMouseIn: (t2) => It("onMouseEnter", e2, t2), onMouseOut: (t2) => It("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (n(R({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof o2 ? (n(R({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), a2()) : ((e3, t3, n2) => {
            const { metaData: o3, getSdkInstance: a3 } = t3, [r2, i2] = wt(t3), l2 = r2.listeners.filter((t4) => kt(t4.eventName, e3) && t4.cb === n2 && t4.compId === o3.compId);
            for (const e4 of l2) e4.unregister();
            return i2({ listeners: r2.listeners.filter((e4) => !l2.includes(e4)) }), a3();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return (({ role: e3, compType: t2, isGlobal: n2, isRendered: o2 }) => ({ id: e3, type: `$w.${t2}`, global: n2(), rendered: o2() }))(e2.metaData);
        } }), Jt = Et();
        he([Ct, Jt, zt, qt, Gt]);
        let Zt = function(e2) {
          return e2.LinkToContent = "LinkToContent", e2.ExpandOnCurrentPage = "ExpandOnCurrentPage", e2;
        }({});
        var Qt = function(e2, t2) {
          return void 0 === t2 && (t2 = "_"), (n2, o2) => {
            const a2 = o2.reduce((o3, a3) => (o3[a3] = "" + e2 + t2 + n2 + t2 + a3, o3), {});
            return { [n2]: a2 };
          };
        };
        const en = Qt("ellipsis_text"), tn = Qt("StylablePanel"), nn = Qt("Connect_Panel"), on = (en("layout", ["root", "lines_display_thumbnails", "lines_show_ellipsis_switch", "max_lines_label", "max_lines_input", "button_spacing_slider", "button_spacing_input", "expand_mode_thumbnails", "align_thumbnail_left", "align_thumbnail_center", "align_thumbnail_right"]), en("settings", ["edit_text_input", "overflow_radio_buttons", "link_content_radio_button", "expand_radio_button", "link_placeholder_text", "read_more_button_toggle", "button_placeholder_text", "collapsed_text_label", "collapsed_text_input", "expanded_text_label", "link_read_more_label", "seo_accessibility_dropdown"]), en("viewer", ["root", "text_as_link", "expand_control"]), { ...en("settings", ["title", "edit_text_label", "section_label", "overflow_label", "overflow_tooltip", "link_content_radio_button", "expand_radio_button", "link_label", "link_placeholder_text", "read_more_button_toggle", "button_label", "button_placeholder_text", "default_text", "collapsed_text_label", "collapsed_text_placeholder", "expand_text_placeholder", "expand_text_label_expanded", "disabled_notification_link", "inputfield_empty_error", "button_does_label", "button_expand_text_button", "button_link_text_button", "SEO_accessibility_banner_label", "SEO_accessibility_alt_text_label", "SEO_accessibility_alt_text_box"]), ...en("layout", ["title", "display_label", "display_multiple_rows", "display_single_row", "display_max_rows", "show_ellipsis_toggle", "spacing_slider", "show_more_text_title", "thumbnail_expand_label", "thumbnail_click_label", "thumbnail_show_all_label", "show_button_toggle", "align_button_label", "single_line_text_toggle", "text_appearance_label", "thumbnail_collapsed_label", "thumbnail_Show_All_Text_label"]), ...en("db", ["comp_name", "manage_content", "edit_text_label"]), ...tn("Design", ["Dropdown_Ellipsis_Text_text_label", "Dropdown_Ellipsis_Text_button_label", "Header_Ellipsis_Text", "main_gfpp_label", "State_Dropdown_Regular", "State_Dropdown_Hover", "State_Dropdown_Disabled", "Text_Tab_Title"]), ...en("Main", ["gfpp_label"]), ...nn("Title", ["CollapsibleText"]), ...nn("Connect", ["CollapsibleText_Label"]) }), an = (en("dataBinding", ["gfpp_edit_text"]), 'The requested operation is invalid. Try changing the "readMoreActionType" property first.');
        (function(e2) {
          return e2.Link = "link", e2.Expand = "button", e2;
        })({});
        on.settings.button_expand_text_button, on.settings.button_link_text_button;
        const ln = { type: ["object"], properties: { link: { type: ["string"] }, target: { type: ["string"] }, readMoreButtonVisible: { type: ["boolean"] }, readMoreButtonText: { type: ["string"], minLength: 1 } } }, sn = { type: ["object"], properties: { readMoreButtonText: { type: ["string"], minLength: 1 }, readLessButtonText: { type: ["string"], minLength: 1 }, collapsed: { type: ["boolean"] } } }, pn = ce((e2) => {
          let { setProps: t2, setStyles: o2, props: a2, platformUtils: { linkUtils: r2 }, metaData: i2 } = e2;
          const l2 = de(i2.role);
          return { get text() {
            return a2.text;
          }, set text(e3) {
            t2({ text: e3 });
          }, get ellipsisEnabled() {
            return a2.ellipsis;
          }, get maxLines() {
            return a2.maxLines;
          }, set maxLines(e3) {
            o2({ "--max-lines": e3 + " !important" }), t2({ maxLines: e3 });
          }, get readMoreActionType() {
            return "link" === a2.expandMode ? Zt.LinkToContent : Zt.ExpandOnCurrentPage;
          }, set readMoreActionType(e3) {
            t2({ expandMode: e3 === Zt.LinkToContent ? "link" : "button" });
          }, get readMoreActionData() {
            var e3;
            return "link" === a2.expandMode ? { link: ye(a2, r2), target: null == (e3 = a2.link) ? void 0 : e3.target, readMoreButtonVisible: a2.showExpandControl, readMoreButtonText: a2.readMoreText } : { readMoreButtonText: a2.readMoreText, readLessButtonText: a2.readLessText, collapsed: !a2.isExpanded };
          }, set readMoreActionData(e3) {
            l2(e3, ln, "readMoreActionData") && "link" === a2.expandMode ? (fe(e3.link, e3.target, r2, t2), t2(((e4) => {
              var t3;
              return { showExpandControl: null != (t3 = e4.readMoreButtonVisible) ? t3 : a2.showExpandControl, linkText: e4.readMoreButtonText ? e4.readMoreButtonText : a2.linkText, expandMode: "link" };
            })(e3))) : ((e4) => l2(e4, sn, "readMoreActionData"))(e3) && "button" === a2.expandMode ? t2(((e4) => {
              var t3;
              return { readMoreText: e4.readMoreButtonText ? e4.readMoreButtonText : a2.readMoreText, readLessText: null != (t3 = e4.readLessButtonText) ? t3 : a2.readLessText, isExpanded: void 0 !== e4.collapsed ? !e4.collapsed : a2.isExpanded, expandMode: "button" };
            })(e3)) : n(an);
          }, expandText() {
            "button" === a2.expandMode ? t2({ isExpanded: true }) : n(an);
          }, collapseText() {
            "button" === a2.expandMode ? t2({ isExpanded: false }) : n(an);
          }, removeReadMoreButton() {
            "link" === a2.expandMode ? t2({ showExpandControl: false }) : n(an);
          }, addReadMoreButton(e3) {
            "link" === a2.expandMode ? t2({ linkText: null != e3 ? e3 : a2.linkText, showExpandControl: true }) : n(an);
          }, disableEllipsis() {
            t2({ ellipsis: false });
          }, enableEllipsis() {
            t2({ ellipsis: true });
          } };
        }, { properties: { text: { type: ["string"], required: ["true"] }, maxLines: { type: ["integer"], minimum: 1 }, readMoreActionData: { type: ["object"], properties: { link: { type: ["string"] }, target: { type: ["string"] }, readMoreButtonVisible: { type: ["boolean"] }, readMoreButtonText: { type: ["string"], minLength: 1 }, readLessButtonText: { type: ["string"], minLength: 1 }, collapsed: { type: ["boolean"] } } } } }), un = he([(({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => he([Ct, zt, qt, Wt, e2 ? Rt(t2) : Jt, Gt]))(), pn, (e2) => ({ onClick: (t2) => It("onClick", e2, t2), onDblClick: (t2) => It("onDblClick", e2, t2) })]);
        var mn = { factory: un };
        return t;
      }();
    });
  })(CollapsibleText_bundle_min);
  var CollapsibleText_bundle_minExports = CollapsibleText_bundle_min.exports;
  const CollapsibleText = /* @__PURE__ */ getDefaultExportFromCjs(CollapsibleText_bundle_minExports);
  var ComboBoxInput_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, r2) {
          for (var o2 in r2) e.o(r2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: r2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { accessibilityPropsSDKFactory: function() {
          return Eo;
        }, default: function() {
          return Ro;
        }, sdk: function() {
          return Do;
        } });
        function r(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function o(e2) {
          return "string" == typeof e2;
        }
        function a(e2) {
          return Array.isArray(e2);
        }
        function n(e2) {
          return null == e2;
        }
        function i(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function l(e2, t2) {
          return e2 < t2;
        }
        const d = { valueMissing: "value missing" }, p = { type: "General", validity: { badInput: false, customError: false, fileNotUploaded: false, fileTypeNotAllowed: false, fileSizeExceedsLimit: false, patternMismatch: false, rangeOverflow: false, rangeUnderflow: false, stepMismatch: false, tooLong: false, tooShort: false, typeMismatch: false, valueMissing: false, exceedsFilesLimit: false, valid: true, invalidTime: false, invalidDate: false }, validationMessage: "", htmlValidationMessageOverride: { key: "" } }, u = (e2) => !!e2.validity.customError ? e2.validationMessage : "", c = (e2, t2, r2) => ({ ...e2, validity: { ...e2.validity, [t2]: true, valid: false }, validationMessage: r2 }), m = (e2, t2, r2) => {
          const a2 = e2.validationMessage || r2 || ((e3, t3) => {
            const r3 = d[e3];
            return o(r3) ? r3 : r3(t3);
          })(t2);
          return c(e2, t2, a2);
        }, f = { validationData: p, customValidators: [() => {
        }] }, y = "validation", b = ({ createSdkState: e2 }) => {
          const [t2] = e2(f, y);
          return t2.validationData;
        }, h = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, g = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, v = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, N = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, x = ({ propertyName: e2, compName: t2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, w = ({ propertyName: e2, compName: t2, effectName: r2, wrongProperty: o2, wrongValue: a2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${n2}"')`, $ = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${o2}"`, A = ({ propertyName: e2, compName: t2, effectName: r2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, I = ({ propertyName: e2, functionName: t2, compName: r2 }) => `The ${e2} parameter of "${r2}" that is passed to the ${t2} method cannot be set to null.`, C = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to null or undefined.`, k = ({ propertyName: e2, wrongValue: t2, index: r2 }) => `The ${e2} parameter at index ${r2} that is passed to the options function cannot be set to ${JSON.stringify(t2)}. Options must contain either a non-null value or a non-null label.`, S = ({ propertyName: e2, compName: t2, infoLink: r2 }) => ` The value of "${e2}" property of "${t2}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${r2}"`, O = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, T = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, P = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is required for ${t2} method.`, j = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, V = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, L = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is not allowed for ${t2} method.`, E = ({ propertyNames: e2, functionName: t2, index: r2 }) => `The following parameters: ${[...e2]} of item at index ${r2} are unknown for ${t2} method.`, D = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${o2} and ${a2}.`, R = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${o2} and ${a2}.`, B = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${o2}.`, W = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${o2}.`, G = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${o2} and ${a2}.`, K = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${o2} and ${a2}.`, U = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${o2}.`, _ = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${o2}.`, Y = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${o2}.`, X = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${o2}.`, z = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${o2}.`, Q = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${o2}.`, J = ({ propertyName: e2, functionName: t2, value: r2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${o2}.`, Z = ({ propertyName: e2, functionName: t2, value: r2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${o2}.`, ee = ({ propertyName: e2, functionName: t2, value: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format`, te = ({ functionName: e2, wrongEffects: t2, allowedEffects: r2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, re = ({ propertyName: e2, functionName: t2, value: r2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${r2}". Bad format`, oe = ({ propertyName: e2, compName: t2, cssProperty: r2, exampleFormat: o2, infoLink: a2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${r2}" value. The value is expected in the following format:"${o2}". Read more about "${r2}" values: "${a2}"`, ae = ({ propertyName: e2, compName: t2, cssProperty: r2, exampleFormats: o2, infoLink: a2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${r2}" value. The value is expected in one of the following formats:"${o2}". Read more about "${r2}" values: "${a2}"`, ne = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, ie = ({ compName: e2, functionName: t2, propertyName: o2, index: a2 }) => r(a2) ? C({ propertyName: o2, functionName: t2, index: a2 }) : e2 ? I({ compName: e2, functionName: t2, propertyName: o2 }) : v({ functionName: t2, propertyName: o2 }), se = ({ functionName: e2, propertyName: t2, index: o2 }) => r(o2) ? P({ functionName: e2, propertyName: t2, index: o2 }) : O({ functionName: e2, propertyName: t2 }), le = ({ functionName: e2, propertyNames: t2, index: o2 }) => t2 && t2.length > 1 ? r(o2) ? E({ functionName: e2, propertyNames: t2, index: o2 }) : V({ functionName: e2, propertyNames: t2 }) : r(o2) ? L({ functionName: e2, propertyName: t2[0], index: o2 }) : j({ functionName: e2, propertyName: t2[0] }), de = ({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: n2, index: i2 }) => n2 && a2 ? n2 === a2 ? r(i2) ? M({ functionName: e2, propertyName: t2, value: o2, expectedValue: n2, index: i2 }) : B({ functionName: e2, propertyName: t2, value: o2, expectedValue: n2 }) : r(i2) ? R({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: n2, index: i2 }) : D({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: n2 }) : !n2 && a2 ? r(i2) ? H({ functionName: e2, propertyName: t2, value: o2, maximum: a2, index: i2 }) : W({ functionName: e2, propertyName: t2, value: o2, maximum: a2 }) : r(i2) ? q({ functionName: e2, propertyName: t2, value: o2, minimum: n2, index: i2 }) : F({ functionName: e2, propertyName: t2, value: o2, minimum: n2 }), pe = ({ functionName: e2, propertyName: t2, value: o2, minimum: a2, maximum: n2, index: i2 }) => a2 && n2 ? a2 === n2 ? r(i2) ? _({ functionName: e2, propertyName: t2, expectedValue: a2, value: o2, index: i2 }) : U({ functionName: e2, propertyName: t2, expectedValue: a2, value: o2 }) : r(i2) ? K({ functionName: e2, propertyName: t2, value: o2, maximum: n2, minimum: a2, index: i2 }) : G({ functionName: e2, propertyName: t2, value: o2, maximum: n2, minimum: a2 }) : !a2 && n2 ? r(i2) ? Q({ functionName: e2, propertyName: t2, maximum: n2, value: o2, index: i2 }) : z({ functionName: e2, propertyName: t2, maximum: n2, value: o2 }) : r(i2) ? X({ functionName: e2, propertyName: t2, value: o2, minimum: a2, index: i2 }) : Y({ functionName: e2, propertyName: t2, value: o2, minimum: a2 }), ue = ({ functionName: e2, propertyName: t2, types: o2, value: a2, index: n2 }) => {
          const i2 = o2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return r(n2) ? Z({ functionName: e2, index: n2, propertyName: t2, value: a2, expectedType: i2 }) : J({ functionName: e2, propertyName: t2, value: a2, expectedType: i2 });
        }, ce = ({ functionName: e2, propertyName: t2, value: o2, enum: a2, index: n2 }) => {
          const i2 = `from (${a2.join(",")})`;
          return r(n2) ? Z({ functionName: e2, propertyName: t2, value: o2, expectedType: i2, index: n2 }) : J({ functionName: e2, propertyName: t2, value: o2, expectedType: i2 });
        }, me = ({ functionName: e2, propertyName: t2, value: o2, index: a2 }) => r(a2) ? re({ functionName: e2, propertyName: t2, value: o2, index: a2 }) : ee({ functionName: e2, propertyName: t2, value: o2 }), fe = Object.prototype.hasOwnProperty, ye = Object.getOwnPropertyNames, be = () => {
        };
        function he(e2, t2, r2, o2, n2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !a(e3);
          }(e2)) return xe.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => he(e2, t3, r2, be, n2, i2)).filter((e3) => e3 === xe.Valid).length ? xe.Valid : xe.Invalid;
          if (t2.required) {
            for (let r3 = 0; r3 < t2.required.length; r3++) if (!fe.call(e2, t2.required[r3])) return o2(se({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[r3] }), { ...i2, value: e2 }), xe.Invalid;
          }
          const s2 = ye(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ye(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return o2(le({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), xe.Invalid;
            }
          }
          for (let o3 = 0; o3 < s2.length; o3++) {
            const a2 = s2[o3];
            if (fe.call(e2, a2)) {
              const o4 = t2.properties[a2], n3 = e2[a2];
              if (!r2(n3, o4, { functionName: i2.functionName, index: i2.index, propertyName: a2 })) return xe.Invalid;
            }
          }
          return xe.Valid;
        }
        function ge(e2) {
          return Array.isArray(e2);
        }
        function ve(e2, t2, o2, a2) {
          const { minimum: n2, maximum: d2, enum: p2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? p2 && !i(e2, p2) ? (o2(ce({ value: e2, enum: p2, ...a2 }), { ...a2, value: e2 }), xe.Invalid) : r(n2) && l(e2, n2) || r(d2) && s(e2, d2) ? (o2(pe({ value: e2, minimum: n2, maximum: d2, ...a2 }), { ...a2, value: e2 }), xe.Invalid) : xe.Valid : xe.InvalidType;
        }
        function Ne(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? xe.Valid : xe.InvalidType;
        }
        const xe = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function we({ reportError: e2, reportWarning: t2 }, d2, { suppressIndexErrors: p2 = false } = {}) {
          function u2(r2, o2, a2) {
            o2.warnIfNil && n(r2) && t2(ie({ ...a2, compName: d2 }), { ...a2, value: r2 });
            let i2 = 0;
            for (; i2 < o2.type.length; i2++) {
              const e3 = (0, c2[o2.type[i2]])(r2, o2, a2);
              if (e3 !== xe.InvalidType) return e3 === xe.Valid;
            }
            return i2 === o2.type.length && e2(ue({ value: r2, types: o2.type, ...a2 }), { ...a2, value: r2 }), false;
          }
          const c2 = { object: (r2, o2, a2) => he(r2, o2, u2, e2, t2, a2), array: (e3, t3, r2) => function(e4, t4, r3, o2, n2, i2 = false) {
            if (!a(e4)) return xe.InvalidType;
            let s2 = xe.Valid;
            if (t4.items) {
              const o3 = ge(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let a2 = 0; a2 < o3; a2++) {
                const o4 = e4[a2];
                let l2, d3;
                ge(t4.items) ? (l2 = t4.items[a2], d3 = t4.items[a2].name) : (l2 = t4.items, d3 = t4.name), r3(o4, l2, { functionName: n2.functionName, propertyName: d3 || n2.propertyName, index: i2 ? void 0 : a2 }) || (s2 = xe.Invalid);
              }
            }
            return s2;
          }(e3, t3, u2, 0, r2, p2), number: (t3, o2, a2) => function(e3, t4, o3, a3) {
            const { minimum: n2, maximum: d3, enum: p3 } = t4;
            return r(e3) ? p3 && !i(e3, p3) ? (o3(ce({ value: e3, enum: p3, ...a3 }), { ...a3, value: e3 }), xe.Invalid) : r(n2) && l(e3, n2) || r(d3) && s(e3, d3) ? (o3(pe({ value: e3, minimum: n2, maximum: d3, ...a3 }), { ...a3, value: e3 }), xe.Invalid) : xe.Valid : xe.InvalidType;
          }(t3, o2, e2, a2), integer: (t3, r2, o2) => ve(t3, r2, e2, o2), string: (t3, r2, a2) => function(e3, t4, r3, a3) {
            const { minLength: n2, maxLength: d3, enum: p3, pattern: u3 } = t4;
            return o(e3) ? p3 && !i(e3, p3) ? (r3(ce({ value: e3, enum: p3, ...a3 }), { ...a3, value: e3 }), xe.Invalid) : n2 && l(e3.length, n2) || d3 && s(e3.length, d3) ? (r3(de({ value: e3, minimum: n2, maximum: d3, ...a3 }), { ...a3, value: e3 }), xe.Invalid) : u3 && !new RegExp(u3).test(e3) ? (r3(me({ value: e3, ...a3 }), { ...a3, value: e3 }), xe.Invalid) : xe.Valid : xe.InvalidType;
          }(t3, r2, e2, a2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? xe.Valid : xe.InvalidType;
          }(e3), date: (e3) => Ne(e3), nil: (e3) => function(e4) {
            return n(e4) ? xe.Valid : xe.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? xe.Valid : xe.InvalidType;
          }(e3) };
          return function(e3, t3, r2) {
            return u2(e3, t3, { functionName: r2, propertyName: r2, index: void 0 });
          };
        }
        function $e(e2, { suppressIndexErrors: t2 = false } = {}) {
          return we({ reportError: h, reportWarning: g }, e2, { suppressIndexErrors: t2 });
        }
        function Ae(e2, t2, r2 = {}) {
          return (o2) => {
            const a2 = e2(o2), n2 = $e(o2.metaData.role), i2 = $e(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(a2, s2), d2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? d2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, n3 = r2[s2];
                let d3 = true;
                return a3 && (d3 = i2(e4, { type: ["array"], items: a3 }, s2)), d3 && n3 && (d3 = n3.every((t3) => t3(e4, o2))), d3 ? l2.value(...e4) : void 0;
              } : d2.value = l2.value : (l2.get && (d2.get = () => a2[s2]), l2.set && (d2.set = (e4) => {
                const i3 = r2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = n2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, o2))), l3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, d2), e3;
            }, {});
          };
        }
        const Ie = "click", Ce = "dblClick", ke = "mouseenter", Se = "mouseleave", Oe = "change", Te = "blur", Pe = "focus", je = "imageChanged", Ve = "imageExpanded", Le = "onInput", Ee = "itemClicked", De = "cellSelect", Re = "cellEdit", Be = "rowSelect", Me = "fetchData", Fe = "dataChange", qe = "onTimeout", We = "onVerified", He = "onError", Ge = "onPlay", Ke = "onPause", Ue = "onProgress", _e = "onEnded", Ye = "autoplayOff", Xe = "autoplayOn", ze = "playEnded", Qe = "playProgress", Je = "keyPress", Ze = "keyUp", et = "keyDown", tt = "screenIn", rt = "viewportEnter", ot = "viewportLeave", at = "scroll", nt = "validate", it = "setCustomValidity", st = "syncValidationData", lt = "updateValidityIndication", dt = "message", pt = "uploadComplete", ut = "itemReady", ct = "itemRemoved", mt = "tagClick", ft = "quickActionBarItemClicked", yt = "markerClicked", bt = "mapClicked", ht = "iconMouseIn", gt = "onStateChange", vt = "itemMouseIn", Nt = "itemMouseOut", xt = "itemMouseClick", wt = "itemMouseDblClick", $t = "onColorChange", At = "onFontChange", It = "onOpacityChange", Ct = { [Ie]: "onClick", [Ce]: "onDblClick", [ke]: "onMouseIn", [Se]: "onMouseOut", [Oe]: "onChange", [Le]: "onInput", [Te]: "onBlur", [Pe]: "onFocus", [je]: "onCurrentItemChanged", [Ve]: void 0, [Ee]: "onItemClicked", [De]: "onCellSelect", [Re]: void 0, [Be]: "onRowSelect", [Me]: void 0, [Fe]: "onDataChange", [qe]: "onTimeout", [We]: "onVerified", [He]: "onError", [Ge]: "onPlay", [Ke]: "onPause", [Ue]: "onProgress", [_e]: "onEnded", [Ye]: "onPause", [Xe]: "onPlay", [ze]: void 0, [Qe]: void 0, [Je]: "onKeyPress", [Ze]: "onKeyUp", [et]: "onKeyDown", [tt]: void 0, [rt]: "onViewportEnter", [ot]: "onViewportLeave", [at]: void 0, [nt]: void 0, [it]: void 0, [st]: void 0, [lt]: void 0, [dt]: "onMessage", [pt]: void 0, [ut]: "onItemReady", [ct]: "onItemRemoved", [mt]: void 0, [ft]: "onItemClicked", [yt]: "onMarkerClicked", [bt]: "onMapClicked", [ht]: void 0, [gt]: "onStateChange", [vt]: "onItemMouseIn", [Nt]: "onItemMouseOut", [xt]: "onItemClick", [wt]: "onItemDblClick", [$t]: "onColorChange", [At]: "onFontChange", [It]: "onOpacityChange" }, kt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, St = (e2) => {
          const { target: t2, type: r2, context: o2 } = e2;
          return { target: t2, type: kt[r2] ?? r2, context: o2 };
        }, Ot = (e2) => {
          const { clientX: t2, clientY: r2, pageX: o2, pageY: a2, screenX: n2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: d2 } = s2;
          return { clientX: t2, clientY: r2, pageX: o2, pageY: a2, screenX: n2, screenY: i2, offsetX: l2, offsetY: d2 };
        }, Tt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Pt = (e2) => e2.replace(/^on/i, ""), jt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Vt = (e2, t2, r2, o2) => {
          const { create$w: a2, createEvent: n2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, r3) => $e(r3)(e3, { type: ["function"] }, t3))(r2, Tt[e2] ?? e2, l2.role)) return s2();
          const [d2, p2] = jt(t2), u2 = i2(e2, (e3, t3) => {
            const i3 = n2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: i3.context }), l3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            r2({ ...St(i3), ...l3 }, s3);
          }), c2 = { eventName: e2, compId: l2.compId, cb: r2, unregister: u2 };
          return p2({ listeners: [...d2.listeners, c2] }), s2();
        }, Lt = (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = Object.entries(Tt).find(([t4, r3]) => Pt(r3.toLowerCase()) === Pt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(Ct[t2] ?? t2);
          return e2.toLowerCase() === r2.toLowerCase();
        }, Et = (e2, t2, r2, o2) => Vt(e2, t2, r2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...Ot(e3), ...t3 && o2?.(t3) }));
        function Dt(e2, t2) {
          const { modifyAriaSourceKeys: r2 } = t2 ?? {};
          return (t3) => {
            const o2 = {};
            for (let n2 = 0; n2 < e2.length; n2++) {
              const i2 = e2[n2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], n3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(o2, r2 && n3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, n3);
              }
            }
            var a2;
            return o2;
          };
        }
        const Rt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: r2, connection: o2, compType: a2, isGlobal: n2, getParent: i2, role: s2, wixCodeId: l2 } = t2, d2 = `$w.${a2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return r2;
          }, get parent() {
            return i2();
          }, get global() {
            return n2();
          }, get type() {
            return d2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(r2, t3));
          }, toJSON() {
            return { id: s2, type: d2, global: n2() };
          } };
        }, Bt = (e2) => (t2) => {
          const { metaData: r2, getSdkInstance: o2, create$w: a2, createEvent: n2 } = t2, i2 = (e3, t3) => $e(r2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (r3) => i2(r3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = n2({ type: "viewportEnter" }), t3 = a2();
            r3(e3, t3);
          }), Vt("onViewportEnter", t2, r3)) : o2(), onViewportLeave: (r3) => i2(r3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = n2({ type: "viewportLeave" }), t3 = a2();
            r3(e3, t3);
          }), Vt("onViewportLeave", t2, r3)) : o2() };
        }, Mt = { duration: 1200, delay: 0 }, Ft = { arc: { ...Mt, direction: "left" }, bounce: { ...Mt, direction: "topLeft", intensity: "medium" }, puff: { ...Mt }, zoom: { ...Mt }, fade: { ...Mt }, flip: { ...Mt, direction: "right" }, float: { ...Mt, direction: "right" }, fly: { ...Mt, direction: "right" }, fold: { ...Mt, direction: "left" }, glide: { ...Mt, angle: 0, distance: 0 }, roll: { ...Mt, direction: "left" }, slide: { ...Mt, direction: "left" }, spin: { ...Mt, direction: "cw", cycles: 5 }, turn: { ...Mt, direction: "right" }, ArcIn: { ...Mt, direction: "right" }, ArcOut: { ...Mt, direction: "right" }, BounceIn: { ...Mt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Mt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Mt, direction: "right" }, CollapseOut: { ...Mt }, Conceal: { ...Mt, direction: "right" }, Reveal: { ...Mt, direction: "left" }, FadeIn: { ...Mt }, FadeOut: { ...Mt }, FlipIn: { ...Mt, direction: "left" }, FlipOut: { ...Mt, direction: "left" }, FloatIn: { ...Mt, direction: "right" }, FloatOut: { ...Mt, direction: "right" }, FlyIn: { ...Mt, direction: "right" }, FlyOut: { ...Mt, direction: "right" }, FoldIn: { ...Mt, direction: "left" }, FoldOut: { ...Mt, direction: "left" }, GlideIn: { ...Mt, angle: 0, distance: 150 }, GlideOut: { ...Mt, angle: 0, distance: 150 }, DropIn: { ...Mt }, PopOut: { ...Mt }, SlideIn: { ...Mt, direction: "left" }, SlideOut: { ...Mt, direction: "left" }, SpinIn: { ...Mt, direction: "cw", cycles: 2 }, SpinOut: { ...Mt, direction: "cw", cycles: 2 }, TurnIn: { ...Mt, direction: "right" }, TurnOut: { ...Mt, direction: "right" } }, qt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Wt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Ht = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Gt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Kt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Ut = { arc: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Ht, delay: Gt } }, zoom: { type: ["object"], properties: { duration: Ht, delay: Gt } }, fade: { type: ["object"], properties: { duration: Ht, delay: Gt } }, flip: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: Kt } }, float: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: Kt } }, fly: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: Kt } }, fold: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: Kt } }, glide: { type: ["object"], properties: { duration: Ht, delay: Gt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: Kt } }, slide: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: Kt } }, spin: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, _t = ({ propertyName: e2, compName: t2 }) => (r2, o2) => {
          if (!r2) return false;
          if (void 0 === o2) return true;
          const a2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (o3, a3) => {
            g(A({ propertyName: t3, compName: r3, effectName: e3, wrongValue: `${a3?.value}`, infoLink: Wt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          if (!we({ reportError: a2, reportWarning: () => ({}) }, t2)(o2, { type: ["object"] }, e2)) return false;
          const n2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (o3, a3) => {
            g(w({ propertyName: t3, compName: r3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: Wt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          return !!we({ reportError: n2, reportWarning: () => ({}) }, t2)(o2, Ut[r2], e2);
        }, Yt = (e2) => 0 === Object.keys(e2).length, Xt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: r2, portal: o2, metaData: a2, getSdkInstance: n2, runAnimation: i2, createSdkState: s2, styleUtils: l2, setProps: d2 }) => {
          const p2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: r3, propertyName: o3 }) => {
            const a3 = _t({ propertyName: o3, compName: e3 });
            if (!t3 && !r3) return false;
            if (!t3 && r3 && !Yt(r3)) return g(x({ propertyName: o3, compName: e3, infoLink: Wt(o3) })), false;
            const n3 = "hide" === o3 ? "HIDE" : "SHOW", i3 = qt[n3]?.deprecatedValues;
            return t3 && r3 && i3 && i3.find((e4) => e4 === t3) && !Yt(r3) ? (g($({ compName: e3, effectName: t3, propertyName: o3, infoLink: Wt(o3) })), false) : !!i3.find((e4) => e4 === t3) || (t3 && !(t3 in Ut) ? (g(N({ propertyName: o3, compName: e3, effectName: t3, infoLink: Wt(o3) })), false) : !!a3(t3, r3));
          })({ compName: a2.role }), [u2, c2] = s2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (a3, n3) => {
            if (d2({ hidden: true }), u2.collapsed || u2.hidden) c2({ hidden: true });
            else {
              if (p2({ effectName: a3, effectOptions: n3, propertyName: "hide" })) {
                const e3 = { animationDirection: qt.HIDE.suffix, effectName: a3, effectOptions: { ...Ft?.[a3] || Mt, ...n3 } };
                await Promise.all([i2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else r2(l2.getHiddenStyles()), t2 && o2.setStyles(l2.getHiddenStyles());
              c2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (a3, n3) => {
            if (d2({ hidden: false }), !u2.collapsed && u2.hidden) {
              if (p2({ effectName: a3, effectOptions: n3, propertyName: "show" })) {
                const e3 = { animationDirection: qt.SHOW.suffix, effectName: a3, effectOptions: { ...Ft?.[a3] || Mt, ...n3 } };
                await Promise.all([i2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else r2(l2.getShownStyles()), t2 && o2.setStyles(l2.getShownStyles());
              c2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else c2({ hidden: false });
          }, collapse: async () => {
            d2({ collapsed: true }), u2.collapsed || (r2(l2.getCollapsedStyles()), t2 && o2.setStyles(l2.getCollapsedStyles()), c2({ collapsed: true }), u2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (d2({ collapsed: false }), u2.collapsed) {
              const a3 = { ...l2.getExpandedStyles(), visibility: u2.hidden ? "hidden" : null };
              r2(a3), t2 && o2.setStyles(a3), c2({ collapsed: false }), u2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return u2.collapsed;
          }, get hidden() {
            return Boolean(u2.hidden);
          }, get isVisible() {
            if (!a2.isRendered()) return false;
            let e3 = n2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, zt = (e2) => (t2) => ((e3, t3 = false) => {
          const [r2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Dt([Xt({ viewportState: r2, hasPortal: t3 }), Bt((e4, t4) => {
            o2({ [e4]: [...r2[e4], t4] });
          })])(e3);
        })(t2, e2), Qt = (e2, t2, r2) => {
          const o2 = t2.filter((t3) => !e2.includes(t3));
          o2.length && h(te({ functionName: r2, wrongEffects: o2, allowedEffects: e2 }));
        }, Jt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (r2) => {
            Qt(t2(), r2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...r2);
          }, removeEffects: (r2) => {
            Qt(t2(), r2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...r2);
          }, toggleEffects: (r2) => {
            Qt(t2(), r2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...r2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Zt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), er = (e2, t2) => "string" != typeof e2 ? (tr(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (or(e2, t2), false), tr = (e2, t2, r2, o2) => {
          h(J({ propertyName: e2, functionName: t2, value: r2, expectedType: o2 }));
        }, rr = (e2, t2) => {
          h(O({ propertyName: e2, functionName: t2 }));
        }, or = (e2, t2) => {
          h(ne({ propertyName: e2, functionName: t2 }));
        }, ar = (e2) => {
          const { setProps: t2, props: r2 } = e2;
          return { customClassList: { get value() {
            return r2.customClassNames ? r2.customClassNames?.join(" ") : "";
          }, values() {
            return r2.customClassNames ? r2.customClassNames : [];
          }, add(...e3) {
            const o2 = r2.customClassNames ? new Set(r2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!er(t3, "customClassList.add")) return;
                o2.add(t3);
              }
              t2({ customClassNames: Array.from(o2) });
            } else rr("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void rr("className", "customClassList.remove");
            const o2 = new Set(r2.customClassNames);
            for (const t3 of e3) {
              if (!er(t3, "customClassList.remove")) return;
              o2.delete(t3);
            }
            t2({ customClassNames: Array.from(o2) });
          }, contains(e3) {
            if (e3) return er(e3, "customClassList.contains") ? !!r2.customClassNames && r2.customClassNames.includes(e3) : void 0;
            rr("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!er(t3, "customClassList.replace") || !er(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (h(T({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!er(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (rr("className", "customClassList.toggle"), false);
          } } };
        }, nr = ({ role: e2, compType: t2, isGlobal: r2, isRendered: o2 }) => ({ id: e2, type: `$w.${t2}`, global: r2(), rendered: o2() }), ir = (e2) => ({ onMouseIn: (t2) => Et("onMouseEnter", e2, t2), onMouseOut: (t2) => Et("onMouseLeave", e2, t2), removeEventHandler: (t2, r2) => {
          const { getSdkInstance: o2 } = e2;
          return "string" != typeof t2 ? (h(J({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), o2()) : "function" != typeof r2 ? (h(J({ propertyName: "handler", functionName: "removeEventHandler", value: r2, expectedType: "function" })), o2()) : ((e3, t3, r3) => {
            const { metaData: o3, getSdkInstance: a2 } = t3, [n2, i2] = jt(t3), s2 = n2.listeners.filter((t4) => Lt(t4.eventName, e3) && t4.cb === r3 && t4.compId === o3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: n2.listeners.filter((e4) => !s2.includes(e4)) }), a2();
          })(t2, e2, r2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return nr(e2.metaData);
        } }), sr = Bt(), lr = (Dt([Rt, sr, ir, Jt, ar]), { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" });
        function dr(e2) {
          return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e2);
        }
        function pr(e2) {
          return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e2);
        }
        function ur(e2) {
          return lr[e2];
        }
        function cr(e2) {
          return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e2) || dr(e2);
        }
        function mr(e2) {
          return pr(e2) || /^#(([a-f0-9]){3}){1,2}$/i.test(e2);
        }
        const fr = (e2) => parseInt(e2.repeat(2 / e2.length), 16), yr = (e2) => {
          if (!mr(e2)) return;
          const t2 = ((e3) => {
            const t3 = Math.floor((e3.length - 1) / 3);
            return e3.slice(1).match(new RegExp(`.{${t3}}`, "g"));
          })(e2), [r2, o2, a2, n2] = t2.map(fr);
          return [r2, o2, a2, void 0 !== n2 ? gr(n2 / 255) : 1];
        }, br = (e2) => mr(e2) ? yr(e2) : cr(e2) ? ((e3) => {
          if (!cr(e3)) return;
          const t2 = e3.substring(e3.indexOf("(")).split(","), r2 = parseInt(t2[0].substring(1).trim(), 10), o2 = parseInt(t2[1].trim(), 10), a2 = parseInt(t2[2].trim(), 10), n2 = t2[3] && parseFloat(t2[3].substring(0, t2[3].length - 1).trim());
          return [r2, o2, a2, void 0 !== n2 ? n2 : 1];
        })(e2) : ur(e2) ? yr(lr[e2]) : void 0, hr = (e2) => {
          const t2 = br(e2);
          if (t2) return t2[3];
        }, gr = (e2) => Math.round(100 * e2) / 100;
        const vr = ({ propertyName: e2, cssProperty: t2, supportAlpha: r2 }) => (o2, a2) => function(e3) {
          return mr(e3) || cr(e3) || ur(e3);
        }(o2) ? (r2 || xr({ propertyName: e2, color: o2, api: a2 }), true) : (h(ae({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: a2.metaData.role, exampleFormats: r2 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), Nr = ({ propertyName: e2, cssProperty: t2 }) => (r2, a2) => !!function(e3) {
          if (o(e3)) {
            const t3 = e3.endsWith("px"), r3 = e3.slice(0, e3.length - 2), o2 = /^\d*$/.test(r3);
            return t3 && o2 && parseInt(r3, 10);
          }
          return false;
        }(r2) || (h(oe({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: a2.metaData.role, exampleFormat: "1px" })), false), xr = ({ propertyName: e2, color: t2, api: r2 }) => {
          (pr(t2) || dr(t2)) && g(S({ propertyName: e2, compName: r2.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}` }));
        }, wr = ({ name: e2, prefix: t2 }) => t2 ? `--${t2}-corvid-${e2}` : `--corvid-${e2}`, $r = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, Ar = ["hover", "disabled"], Ir = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
        function Cr(e2) {
          return e2.charAt(0).toUpperCase() + e2.slice(1);
        }
        const kr = (e2) => (t2 = { supportOpacity: true }) => {
          const { prefix: r2, supportOpacity: o2, withoutDefaultValue: a2, supportedStates: n2 = [] } = t2, i2 = (t3, r3 = e2) => {
            const n3 = vr({ propertyName: e2, cssProperty: o2 ? "rgbaColor" : "rgbColor", supportAlpha: o2 });
            return Ae(({ setStyles: n4, sdkData: i3, createSdkState: s3 }) => {
              const l3 = i3?.initialSdkStyles?.[r3], d2 = hr(l3), p2 = a2 ? void 0 : l3, [u2, c2] = s3({ [r3]: p2 }, r3);
              return Object.defineProperty({ reset() {
                c2({ [r3]: p2 }), n4({ [t3]: void 0 });
              } }, e2, { enumerable: true, set(e3) {
                let a3 = e3;
                if (!o2 && (pr(e3) || dr(e3))) {
                  const [t4, r4, o3] = br(e3);
                  a3 = `rgb(${t4}, ${r4}, ${o3})`;
                }
                if ("number" == typeof d2 && 1 !== d2) {
                  const t4 = hr(e3);
                  a3 = ((e4, t5) => {
                    const r4 = br(e4);
                    if (r4) {
                      const [e5, o3, a4] = r4;
                      return `rgba(${e5}, ${o3}, ${a4}, ${t5})`;
                    }
                  })(a3, Number.isFinite(t4) ? gr(d2 * t4) : d2);
                }
                c2({ [r3]: a3 }), n4({ [t3]: a3 });
              }, get() {
                return u2[r3];
              } });
            }, { properties: { [e2]: { type: ["string", "nil"] } } }, { [e2]: [n3] });
          }, s2 = n2.map((t3) => Ae((o3) => {
            const a3 = i2(wr({ name: Ir[t3][e2], prefix: r2 }), t3 + Cr(e2))(o3);
            return { [t3]: a3 };
          }, { properties: { [t3]: { type: ["object", "nil"] } } })), l2 = i2(wr({ name: $r[e2], prefix: r2 }));
          return (e3) => Object.assign(l2(e3), s2.reduce((t3, r3) => Object.assign(t3, r3(e3)), {}));
        }, Sr = kr("backgroundColor"), Or = kr("borderColor"), Tr = "textColor", Pr = "color", jr = kr("fillColor"), Vr = kr("strokeColor"), Lr = kr("iconColor"), Er = "reset";
        function Dr(...e2) {
          const t2 = (r2 = Er, (...e3) => {
            const t3 = {}, o2 = { [r2](e4) {
              if ("function" == typeof t3[e4]) return t3[e4](e4);
            } };
            return e3.forEach((e4) => {
              Object.keys(e4).filter((e5) => e5 !== r2).map((t4) => ({ key: t4, descriptor: Object.getOwnPropertyDescriptor(e4, t4) })).forEach(({ key: a2, descriptor: n2 }) => {
                "function" == typeof e4[r2] && (t3[a2] = e4[r2]), Object.defineProperty(o2, a2, n2);
              });
            }), o2;
          });
          var r2;
          return (r3) => {
            const o2 = e2.map((e3) => e3(r3)), a2 = {};
            for (const e3 of Ar) o2.some((t3) => e3 in t3) && (a2[e3] = t2(...o2.map((t3) => t3[e3] ?? {})), Object.defineProperty(a2[e3], Er, { enumerable: false }), o2.forEach((t3) => {
              delete t3[e3];
            }));
            const n2 = t2(...o2);
            return Object.defineProperty(n2, Er, { enumerable: false }), Object.assign(n2, a2);
          };
        }
        const Rr = { BackgroundColor: Sr, BorderColor: Or, BorderWidth: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = wr({ name: $r.borderWidth, prefix: t2 });
          return Ae(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const n2 = t3?.initialSdkStyles?.borderWidth, [i2, s2] = a2({ borderWidth: r2 ? void 0 : n2 }, "borderWidth");
            return { set borderWidth(t4) {
              s2({ borderWidth: t4 }), e3({ [o2]: t4 });
            }, get borderWidth() {
              return i2.borderWidth;
            }, reset() {
              s2({ borderWidth: n2 }), e3({ [o2]: void 0 });
            } };
          }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [Nr({ propertyName: "borderWidth", cssProperty: "width" })] });
        }, ForegroundColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = wr({ name: $r.foregroundColor, prefix: t2 });
          return Ae(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const [n2, i2] = a2({ foregroundColor: r2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }, "foregroundColor");
            return { set foregroundColor(t4) {
              i2({ foregroundColor: t4 }), e3({ [o2]: t4 });
            }, get foregroundColor() {
              return n2.foregroundColor;
            }, reset() {
              i2({ foregroundColor: r2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }), e3({ [o2]: void 0 });
            } };
          }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [vr({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
        }, BorderRadius: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = wr({ name: $r.borderRadius, prefix: t2 });
          return Ae(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const n2 = t3?.initialSdkStyles?.borderRadius, [i2, s2] = a2({ borderRadius: r2 ? void 0 : n2 }, "borderRadius");
            return { set borderRadius(t4) {
              s2({ borderRadius: t4 }), e3({ [o2]: t4 });
            }, get borderRadius() {
              return i2.borderRadius;
            }, reset() {
              s2({ borderRadius: n2 }), e3({ [o2]: void 0 });
            } };
          }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [Nr({ propertyName: "borderRadius", cssProperty: "radius" })] });
        }, TextColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2, supportedStates: o2 = [] } = e2, a2 = (e3, t3 = Tr, o3 = Pr) => Ae(({ setStyles: a3, sdkData: n3, createSdkState: i3 }) => {
            const s2 = n3?.initialSdkStyles?.[o3], l2 = r2 ? void 0 : s2, [d2, p2] = i3({ [t3]: l2 }, t3);
            return { set color(r3) {
              let o4 = r3;
              if (pr(r3) || dr(r3)) {
                const [e4, t4, a4] = br(r3);
                o4 = `rgb(${e4}, ${t4}, ${a4})`;
              }
              p2({ [t3]: o4 }), a3({ [e3]: o4 });
            }, get color() {
              return d2[t3];
            }, reset() {
              p2({ [t3]: l2 }), a3({ [e3]: void 0 });
            } };
          }, { properties: { color: { type: ["string", "nil"] } } }, { color: [vr({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), n2 = o2.map((e3) => Ae((r3) => {
            const o3 = a2(wr({ name: Ir[e3].textColor, prefix: t2 }), ((e4) => e4 + Cr(Tr))(e3), ((e4) => e4 + Cr(Pr))(e3))(r3);
            return { [e3]: o3 };
          }, { properties: { [e3]: { type: ["object", "nil"] } } })), i2 = a2(wr({ name: $r.textColor, prefix: t2 }));
          return (e3) => Object.assign(i2(e3), n2.reduce((t3, r3) => Object.assign(t3, r3(e3)), {}));
        }, FillColor: jr, StrokeColor: Vr, IconColor: Lr }, Br = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} }, Mr = Ae(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: n(r2) ? void 0 : r2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } });
        var Fr;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(Fr || (Fr = {}));
        const qr = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, Wr = (e2) => Hr(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), Hr = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), Gr = (e2, t2, r2, o2, a2) => a2 ? !!r2(a2) || (h(o2), false) : !!t2 || (h(ue({ value: a2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), Kr = (e2, t2 = true) => (r2) => Gr(e2, t2, Hr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, r2), Ur = (e2, t2 = true) => (r2) => Gr(e2, t2, Wr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, r2), _r = Ae(({ setProps: e2, props: t2, create$w: r2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return r2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [Ur("describedBy")] }), Yr = Ae(({ setProps: e2, props: t2, create$w: r2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return r2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [Ur("labelledBy")] }), Xr = Ae(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), zr = Ae(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Qr = Ae(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), Jr = Ae(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Zr = Ae(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: n(r2) ? void 0 : r2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), eo = Ae(({ setProps: e2, props: t2, create$w: r2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return r2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [Kr("owns")] }), to = Ae(({ setProps: e2, props: t2, create$w: r2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return r2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [Kr("controls")] }), ro = Ae(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: n(r2) ? void 0 : r2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), oo = Ae(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: n(r2) ? void 0 : r2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), ao = Ae(({ setProps: e2, props: t2, create$w: r2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return r2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [Ur("errorMessage")] }), no = Ae(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), io = Ae(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), so = Ae(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), lo = Ae(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), po = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(r2) {
          null === r2 || o(r2) ? e2({ screenReader: { ...t2.screenReader, prefix: r2 } }) : h(qr("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(r2) {
          null === r2 || o(r2) ? e2({ screenReader: { ...t2.screenReader, suffix: r2 } }) : h(qr("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(r2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: n(r2) ? void 0 : r2 } });
        } } }), uo = (Ae(po, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), Ae(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: n(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), co = Ae(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: n(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), mo = { enableAriaLabel: Mr, enableAriaDescribedBy: _r, enableAriaLabelledBy: Yr, enableAriaAtomic: Xr, enableAriaBusy: zr, enableAriaCurrent: Qr, enableAriaExpanded: Jr, enableAriaLive: Zr, enableAriaOwns: eo, enableAriaControls: to, enableAriaRoleDescription: ro, enableAriaRelevant: oo, enableAriaErrorMessage: ao, enableAriaHidden: no, enableAriaPressed: io, enableAriaHaspopup: so, enableAriaRequired: lo }, fo = { enableScreenReader: po, enableRole: uo, enableTabIndex: co }, yo = Ae(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.label || "";
        }, set label(t3) {
          e2({ label: t3 || "" });
        } }), { properties: { label: { type: ["string", "nil"], warnIfNil: true } } });
        const bo = (e2, t2) => {
          var r2;
          const o2 = null == (r2 = e2.find((e3) => e3.value === t2)) ? void 0 : r2.selectedText;
          return null != o2;
        }, ho = (e2) => e2.map((e3) => ({ label: e3.text, value: e3.value })), go = /* @__PURE__ */ ((e2, t2) => {
          const r2 = [];
          return { onValidate: (e3) => r2.push(e3), validate: ({ viewerSdkAPI: o2, showValidityIndication: a2 }) => {
            const { props: n2, metaData: { isRepeaterTemplate: i2 } } = o2;
            if (i2) return;
            const s2 = e2(n2, o2);
            let l2 = s2;
            const d2 = ((e3, t3, r3) => {
              let o3 = "";
              const a3 = (e4) => {
                o3 = e4;
              }, n3 = t3.value;
              return e3 && e3(n3, a3), o3;
            })((({ createSdkState: e3 }) => {
              const [{ customValidators: t3 }] = e3(f, y);
              return (e4, r3) => {
                let o3 = false;
                const a3 = (e5) => {
                  o3 = true, r3(e5);
                };
                for (let r4 = 0; r4 < t3.length && !o3; r4++) t3[r4](e4, a3);
              };
            })(o2), n2);
            d2 && (l2 = ((e3, t3) => c(e3, "customError", t3 || ""))(s2, d2)), r2.forEach((e3) => e3({ viewerSdkAPI: o2, showValidityIndication: a2, validationDataResult: l2 }));
          } };
        })((vo = [(e2, t2) => !e2.required || e2.value ? t2 : m(t2, "valueMissing")], (e2, t2) => vo.reduce((r2, o2) => o2(e2, r2, t2), p)));
        var vo;
        const No = Ae(/* @__PURE__ */ ((e2) => (t2) => ({ get required() {
          return t2.props.required || false;
        }, set required(r2) {
          t2.setProps({ required: r2 }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: r2 });
        } }))(go), { properties: { required: { type: ["boolean"] } } });
        const xo = ((e2) => {
          e2.onValidate(({ viewerSdkAPI: e3, validationDataResult: t2, showValidityIndication: r2 }) => {
            const { setProps: o2, compRef: a2 } = e3, n2 = b(e3), i2 = u(n2), s2 = u(t2), l2 = n2.htmlValidationMessageOverride.key, d2 = t2.htmlValidationMessageOverride.key;
            t2.validity.customError ? i2 !== s2 && a2.setCustomValidity({ type: "message", message: s2 }) : d2 ? (n2.validity.customError || l2 !== d2) && a2.setCustomValidity({ type: "key", key: d2 }) : i2 === s2 && l2 === d2 || a2.setCustomValidity({ type: "message", message: "" });
            const p2 = { isValid: t2.validity.valid, ...r2 && { shouldShowValidityIndication: true } };
            (({ createSdkState: e4 }, t3) => {
              const [, r3] = e4(f, y);
              r3({ validationData: t3 });
            })(e3, t2), o2(p2);
          });
          return Ae((t2) => {
            const { setProps: r2, props: o2, registerEvent: a2, metaData: { isRepeaterTemplate: n2 } } = t2;
            return n2 || (a2("validateValue", () => {
              e2.validate({ viewerSdkAPI: t2 });
            }), a2("validateValueAndShowIndication", (r3) => {
              const a3 = { ...o2, ...r3 }, n3 = { ...t2, props: a3 };
              e2.validate({ viewerSdkAPI: n3, showValidityIndication: true });
            }), a2("hideValidityIndication", () => {
              r2({ shouldShowValidityIndication: false });
            }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: false })), { get valid() {
              return b(t2).validity.valid;
            }, get validationMessage() {
              return b(t2).validationMessage;
            }, get validity() {
              return b(t2).validity;
            }, onCustomValidation(r3, o3 = true) {
              (({ createSdkState: e3 }, t3, r4 = true) => {
                const [{ customValidators: o4 }, a3] = e3(f, y);
                a3(r4 ? { customValidators: [t3] } : { customValidators: [...o4, t3] });
              })(t2, r3, o3), e2.validate({ viewerSdkAPI: t2 });
            }, updateValidityIndication() {
              r2({ shouldShowValidityIndication: true });
            }, resetValidityIndication() {
              r2({ shouldShowValidityIndication: false });
            } };
          }, { properties: { onCustomValidation: { type: ["function"], args: [{ type: ["function"] }, { type: ["boolean"] }] } } });
        })(go), wo = ($o = [(e2) => r(e2) && isFinite(e2) ? e2.toString() : e2, (e2) => o(e2) ? e2 : ""], (e2) => $o.reduce((e3, t2) => t2(e3), e2));
        var $o;
        const Ao = (e2) => {
          const t2 = !!e2.value || !!e2.label, r2 = "" === e2.value && "" === e2.label;
          return t2 || r2;
        }, Io = (e2) => e2.forEach((e3, t2) => {
          Ao(e3) || g((({ propertyName: e4, wrongValue: t3, index: r2 }) => k({ propertyName: e4, wrongValue: t3, index: r2 }))({ propertyName: "selectOption", wrongValue: e3, index: t2 }));
        }), Co = (e2, t2) => e2.some((e3) => e3.value === t2), ko = "Dropdown", So = (e2, t2) => {
          const r2 = e2.findIndex((e3) => e3.value === t2), o2 = [...e2], [a2] = o2.splice(r2, 1);
          return o2.unshift(a2), { options: o2 };
        }, Oo = Ae((e2) => {
          const { props: t2, setProps: r2, metaData: o2, createSdkState: a2, sdkData: { isOptionStyleEnabled: i2 = false } } = e2, s2 = $e(o2.role), l2 = {};
          t2.options && t2.options.forEach((e3) => l2[e3.key] = {});
          const [d2, p2] = a2(i2 ? { optionsStyle: l2 } : {}), u2 = (e3, t3) => d2.optionsStyle && d2.optionsStyle[e3][t3], c2 = (e3, t3, o3, a3, n2) => {
            const i3 = d2.optionsStyle;
            i3 && (i3[t3][a3] = n2, p2({ ...d2, optionsStyle: i3 }));
            const s3 = [...e3];
            s3[o3] = { ...s3[o3], style: { ...s3[o3].style, [a3]: n2 } }, r2({ options: s3 });
          }, m2 = { get options() {
            const { options: e3 } = t2, r3 = e3 ? ho(e3) : [];
            return i2 ? r3.map((t3, r4) => {
              const { key: o3 } = e3[r4];
              return { ...t3, get style() {
                return { get backgroundColor() {
                  return u2(o3, "backgroundColor");
                }, set backgroundColor(t4) {
                  c2(e3, o3, r4, "backgroundColor", t4);
                }, get color() {
                  return u2(o3, "color");
                }, set color(t4) {
                  c2(e3, o3, r4, "color", t4);
                } };
              } };
            }) : r3;
          }, set options(t3) {
            const o3 = t3 || [];
            Io(o3);
            const a3 = o3.filter((e3) => Ao(e3)).map((e3, t4) => ({ key: "" + t4, value: e3.value || "", text: e3.label || "" })), n2 = { options: a3 }, i3 = d2.value;
            i3 && Co(a3, i3) ? (r2({ ...n2, value: i3 }), p2({ value: null })) : r2(n2), go.validate({ viewerSdkAPI: e2, showValidityIndication: false });
          }, get placeholder() {
            return t2.placeholder.value || "";
          }, set placeholder(e3) {
            const t3 = e3 || "";
            r2({ placeholder: { value: t3, text: t3 } });
          }, get selectedIndex() {
            const e3 = t2.options.findIndex((e4) => e4.value === t2.value);
            return -1 !== e3 ? e3 : void 0;
          }, set selectedIndex(o3) {
            if (!s2(o3, { type: ["integer", "nil"], minimum: 0, maximum: t2.options.length - 1 }, "selectedIndex")) return;
            const a3 = n(o3) ? "" : t2.options[o3].value, i3 = bo(t2.options, a3) ? So(t2.options, a3) : {};
            r2({ value: a3, ...i3 }), go.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get value() {
            return Co(t2.options, t2.value) ? t2.value : "";
          }, set value(o3) {
            const a3 = wo(o3);
            if (!s2(a3, { type: ["string"] }, "value")) return;
            p2({ value: a3 });
            const n2 = ((e3, t3) => Co(e3, t3) ? t3 : "")(t2.options, a3), i3 = bo(t2.options, n2) ? So(t2.options, o3) : {};
            r2({ value: n2, ...i3 }), go.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get type() {
            return "$w." + ko;
          }, get filterQuery() {
            return t2.filterQuery || "";
          }, set filterQuery(e3) {
            r2({ filterQuery: e3 || "" });
          }, get filteredOptions() {
            const { options: e3 = [], filterQuery: r3 } = t2;
            return ho(r3 ? ((e4, t3) => t3.filter((t4) => t4.text.toLowerCase().includes(e4.toLowerCase())).sort((t4, r4) => t4.text.toLowerCase().startsWith(e4.toLowerCase()) ? -1 : r4.text.toLowerCase().startsWith(e4.toLowerCase()) ? 1 : 0))(r3, e3) : e3);
          }, get opened() {
            return t2.opened || false;
          }, set opened(e3) {
            r2({ opened: Boolean(e3) });
          }, toJSON() {
            const { required: e3 } = t2, { value: r3, options: a3, placeholder: n2, selectedIndex: i3 } = m2;
            return { ...nr(o2), type: "$w." + ko, required: e3, value: r3, options: a3, placeholder: n2, selectedIndex: i3 };
          } };
          return m2;
        }, { properties: { options: { type: ["array", "nil"], warnIfNil: true, items: { type: ["object"], properties: { value: { type: ["string", "nil"], minLength: 0, maxLength: 1200 }, label: { type: ["string", "nil"], minLength: 0, maxLength: 1200 } } } }, placeholder: { type: ["string", "nil"], warnIfNil: true }, selectedIndex: { type: ["integer", "nil"] }, filterQuery: { type: ["string"] }, opened: { type: ["boolean"] } } }), To = (jo = { BackgroundColor: true, BorderColor: true, BorderWidth: true, BorderRadius: true, TextColor: true }, Ae((Po = Dr(...Object.keys(jo).filter((e2) => jo[e2]).map((e2) => {
          const t2 = "boolean" != typeof jo[e2] ? jo[e2] : Br[e2];
          return Rr[e2]({ prefix: Vo?.cssVarPrefix, withoutDefaultValue: t2.withoutDefaultValue, supportOpacity: t2.supportOpacity, supportedStates: t2.supportedStates });
        })), (e2) => {
          const t2 = Po(e2);
          return t2.removeProperty = (e3) => {
            const [r2, o2] = e3.includes(".") ? e3.split(".").reverse() : [e3, void 0];
            if (!o2 && !(r2 in t2) || o2 && !(r2 in (t2[o2] ?? {}))) {
              const r3 = Object.keys(t2).filter((e4) => "removeProperty" !== e4);
              return void h(ce({ functionName: "removeProperty", propertyName: "propertyName", value: e3, enum: r3, index: void 0 }));
            }
            const a2 = o2 ? t2[o2] : t2;
            a2[Er]?.(r2);
          }, { get style() {
            return t2;
          } };
        }), { properties: { style: { type: ["object"] } } }));
        var Po, jo, Vo;
        const Lo = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Dt([Rt, ir, Jt, Zt, e2 ? zt(t2) : sr, ar]))({ useHiddenCollapsed: true, hasPortal: true }), Eo = (({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: o2 = false, enableAriaBusy: a2 = false, enableAriaHidden: n2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: d2 = false, enableAriaLive: p2 = false, enableAriaOwns: u2 = false, enableAriaControls: c2 = false, enableAriaRoleDescription: m2 = false, enableAriaRelevant: f2 = false, enableRole: y2 = false, enableTabIndex: b2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: g2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
          const x2 = [], w2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: r2, enableAriaAtomic: o2, enableAriaBusy: a2, enableAriaCurrent: l2, enableAriaExpanded: d2, enableAriaLive: p2, enableAriaOwns: u2, enableAriaControls: c2, enableAriaRoleDescription: m2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: n2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, $2 = { enableScreenReader: g2, enableRole: y2, enableTabIndex: b2 };
          if (Object.values(w2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, r3]) => r3 && mo[e5] && t3.push(mo[e5])), (e5) => {
                const r3 = Dt(t3, { modifyAriaSourceKeys: true })(e5);
                return r3.ariaAttributes = Dt(t3)(e5), r3;
              };
            })(w2);
            x2.push(e3);
          }
          Object.entries($2).forEach(([e3, t3]) => t3 && fo[e3] && x2.push(fo[e3]));
          return { accessibility: Dt(x2)(N2) };
        })({ enableAriaLabel: true, enableAriaLabelledBy: true, enableAriaDescribedBy: true, enableAriaControls: true, enableAriaOwns: true, enableAriaErrorMessage: true, enableTabIndex: true }), Do = Dt([Lo, No, xo, (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => Vt("onFocus", e2, t2), onBlur: (t2) => Vt("onBlur", e2, t2) }), (e2) => ({ onChange: (t2) => Vt("onChange", e2, t2) }), ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), (e2) => ({ onClick: (t2) => Et("onClick", e2, t2), onDblClick: (t2) => Et("onDblClick", e2, t2) }), To, yo, Eo, Oo, (e2) => ({ onKeyUp: (t2) => Vt("onKeyUp", e2, t2) }), (e2) => ({ onKeyDown: (t2) => Vt("onKeyDown", e2, t2) })]);
        var Ro = { factory: Do };
        return t;
      }();
    });
  })(ComboBoxInput_bundle_min);
  var ComboBoxInput_bundle_minExports = ComboBoxInput_bundle_min.exports;
  const ComboBoxInput = /* @__PURE__ */ getDefaultExportFromCjs(ComboBoxInput_bundle_minExports);
  var Container_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, r2) {
          for (var o2 in r2) e.o(r2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: r2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { accessibilityPropsSDKFactory: function() {
          return co;
        }, default: function() {
          return fo;
        }, sdk: function() {
          return mo;
        } });
        const r = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, o = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function a(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function n(e2) {
          return "string" == typeof e2;
        }
        function i(e2) {
          return Array.isArray(e2);
        }
        function s(e2) {
          return null == e2;
        }
        function l(e2, t2) {
          return t2.includes(e2);
        }
        function p(e2, t2) {
          return e2 > t2;
        }
        function u(e2, t2) {
          return e2 < t2;
        }
        const d = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, c = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, m = ({ propertyName: e2, compName: t2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, f = ({ propertyName: e2, compName: t2, effectName: r2, wrongProperty: o2, wrongValue: a2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${n2}"')`, b = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${o2}"`, y = ({ propertyName: e2, compName: t2, effectName: r2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, h = ({ propertyName: e2, functionName: t2, compName: r2 }) => `The ${e2} parameter of "${r2}" that is passed to the ${t2} method cannot be set to null.`, g = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to null or undefined.`, v = ({ propertyName: e2, compName: t2, infoLink: r2 }) => ` The value of "${e2}" property of "${t2}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${r2}"`, N = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, x = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is required for ${t2} method.`, w = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, A = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, C = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is not allowed for ${t2} method.`, k = ({ propertyNames: e2, functionName: t2, index: r2 }) => `The following parameters: ${[...e2]} of item at index ${r2} are unknown for ${t2} method.`, I = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${o2} and ${a2}.`, O = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${o2} and ${a2}.`, S = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${o2}.`, T = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${o2}.`, j = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${o2}.`, P = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${o2}.`, E = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${o2}.`, L = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${o2}.`, R = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${o2} and ${a2}.`, D = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${o2} and ${a2}.`, B = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${o2}.`, V = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${o2}.`, W = ({ propertyName: e2, functionName: t2, value: r2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${o2}.`, K = ({ propertyName: e2, functionName: t2, value: r2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${o2}.`, G = ({ propertyName: e2, functionName: t2, value: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format`, _ = ({ functionName: e2, wrongEffects: t2, allowedEffects: r2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, Y = ({ propertyName: e2, functionName: t2, value: r2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${r2}". Bad format`, U = ({ propertyName: e2, compName: t2, cssProperty: r2, exampleFormat: o2, infoLink: a2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${r2}" value. The value is expected in the following format:"${o2}". Read more about "${r2}" values: "${a2}"`, X = ({ propertyName: e2, compName: t2, cssProperty: r2, exampleFormats: o2, infoLink: a2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${r2}" value. The value is expected in one of the following formats:"${o2}". Read more about "${r2}" values: "${a2}"`, z = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, J = ({ compName: e2, functionName: t2, propertyName: r2, index: o2 }) => a(o2) ? g({ propertyName: r2, functionName: t2, index: o2 }) : e2 ? h({ compName: e2, functionName: t2, propertyName: r2 }) : d({ functionName: t2, propertyName: r2 }), Z = ({ functionName: e2, propertyName: t2, index: r2 }) => a(r2) ? $({ functionName: e2, propertyName: t2, index: r2 }) : N({ functionName: e2, propertyName: t2 }), Q = ({ functionName: e2, propertyNames: t2, index: r2 }) => t2 && t2.length > 1 ? a(r2) ? k({ functionName: e2, propertyNames: t2, index: r2 }) : A({ functionName: e2, propertyNames: t2 }) : a(r2) ? C({ functionName: e2, propertyName: t2[0], index: r2 }) : w({ functionName: e2, propertyName: t2[0] }), ee = ({ functionName: e2, propertyName: t2, value: r2, maximum: o2, minimum: n2, index: i2 }) => n2 && o2 ? n2 === o2 ? a(i2) ? T({ functionName: e2, propertyName: t2, value: r2, expectedValue: n2, index: i2 }) : S({ functionName: e2, propertyName: t2, value: r2, expectedValue: n2 }) : a(i2) ? O({ functionName: e2, propertyName: t2, value: r2, maximum: o2, minimum: n2, index: i2 }) : I({ functionName: e2, propertyName: t2, value: r2, maximum: o2, minimum: n2 }) : !n2 && o2 ? a(i2) ? L({ functionName: e2, propertyName: t2, value: r2, maximum: o2, index: i2 }) : E({ functionName: e2, propertyName: t2, value: r2, maximum: o2 }) : a(i2) ? P({ functionName: e2, propertyName: t2, value: r2, minimum: n2, index: i2 }) : j({ functionName: e2, propertyName: t2, value: r2, minimum: n2 }), te = ({ functionName: e2, propertyName: t2, value: r2, minimum: o2, maximum: n2, index: i2 }) => o2 && n2 ? o2 === n2 ? a(i2) ? V({ functionName: e2, propertyName: t2, expectedValue: o2, value: r2, index: i2 }) : B({ functionName: e2, propertyName: t2, expectedValue: o2, value: r2 }) : a(i2) ? D({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: o2, index: i2 }) : R({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: o2 }) : !o2 && n2 ? a(i2) ? H({ functionName: e2, propertyName: t2, maximum: n2, value: r2, index: i2 }) : q({ functionName: e2, propertyName: t2, maximum: n2, value: r2 }) : a(i2) ? M({ functionName: e2, propertyName: t2, value: r2, minimum: o2, index: i2 }) : F({ functionName: e2, propertyName: t2, value: r2, minimum: o2 }), re = ({ functionName: e2, propertyName: t2, types: r2, value: o2, index: n2 }) => {
          const i2 = r2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return a(n2) ? K({ functionName: e2, index: n2, propertyName: t2, value: o2, expectedType: i2 }) : W({ functionName: e2, propertyName: t2, value: o2, expectedType: i2 });
        }, oe = ({ functionName: e2, propertyName: t2, value: r2, enum: o2, index: n2 }) => {
          const i2 = `from (${o2.join(",")})`;
          return a(n2) ? K({ functionName: e2, propertyName: t2, value: r2, expectedType: i2, index: n2 }) : W({ functionName: e2, propertyName: t2, value: r2, expectedType: i2 });
        }, ae = ({ functionName: e2, propertyName: t2, value: r2, index: o2 }) => a(o2) ? Y({ functionName: e2, propertyName: t2, value: r2, index: o2 }) : G({ functionName: e2, propertyName: t2, value: r2 }), ne = Object.prototype.hasOwnProperty, ie = Object.getOwnPropertyNames, se = () => {
        };
        function le(e2, t2, r2, o2, a2, n2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !i(e3);
          }(e2)) return ce.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => le(e2, t3, r2, se, a2, n2)).filter((e3) => e3 === ce.Valid).length ? ce.Valid : ce.Invalid;
          if (t2.required) {
            for (let r3 = 0; r3 < t2.required.length; r3++) if (!ne.call(e2, t2.required[r3])) return o2(Z({ functionName: n2.functionName, index: n2.index, propertyName: t2.required[r3] }), { ...n2, value: e2 }), ce.Invalid;
          }
          const s2 = ie(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ie(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return o2(Q({ functionName: n2.functionName, index: n2.index, propertyNames: t3 })), ce.Invalid;
            }
          }
          for (let o3 = 0; o3 < s2.length; o3++) {
            const a3 = s2[o3];
            if (ne.call(e2, a3)) {
              const o4 = t2.properties[a3], i2 = e2[a3];
              if (!r2(i2, o4, { functionName: n2.functionName, index: n2.index, propertyName: a3 })) return ce.Invalid;
            }
          }
          return ce.Valid;
        }
        function pe(e2) {
          return Array.isArray(e2);
        }
        function ue(e2, t2, r2, o2) {
          const { minimum: n2, maximum: i2, enum: s2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? s2 && !l(e2, s2) ? (r2(oe({ value: e2, enum: s2, ...o2 }), { ...o2, value: e2 }), ce.Invalid) : a(n2) && u(e2, n2) || a(i2) && p(e2, i2) ? (r2(te({ value: e2, minimum: n2, maximum: i2, ...o2 }), { ...o2, value: e2 }), ce.Invalid) : ce.Valid : ce.InvalidType;
        }
        function de(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? ce.Valid : ce.InvalidType;
        }
        const ce = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function me({ reportError: e2, reportWarning: t2 }, r2, { suppressIndexErrors: o2 = false } = {}) {
          function d2(o3, a2, n2) {
            a2.warnIfNil && s(o3) && t2(J({ ...n2, compName: r2 }), { ...n2, value: o3 });
            let i2 = 0;
            for (; i2 < a2.type.length; i2++) {
              const e3 = (0, c2[a2.type[i2]])(o3, a2, n2);
              if (e3 !== ce.InvalidType) return e3 === ce.Valid;
            }
            return i2 === a2.type.length && e2(re({ value: o3, types: a2.type, ...n2 }), { ...n2, value: o3 }), false;
          }
          const c2 = { object: (r3, o3, a2) => le(r3, o3, d2, e2, t2, a2), array: (e3, t3, r3) => function(e4, t4, r4, o3, a2, n2 = false) {
            if (!i(e4)) return ce.InvalidType;
            let s2 = ce.Valid;
            if (t4.items) {
              const o4 = pe(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let i2 = 0; i2 < o4; i2++) {
                const o5 = e4[i2];
                let l2, p2;
                pe(t4.items) ? (l2 = t4.items[i2], p2 = t4.items[i2].name) : (l2 = t4.items, p2 = t4.name), r4(o5, l2, { functionName: a2.functionName, propertyName: p2 || a2.propertyName, index: n2 ? void 0 : i2 }) || (s2 = ce.Invalid);
              }
            }
            return s2;
          }(e3, t3, d2, 0, r3, o2), number: (t3, r3, o3) => function(e3, t4, r4, o4) {
            const { minimum: n2, maximum: i2, enum: s2 } = t4;
            return a(e3) ? s2 && !l(e3, s2) ? (r4(oe({ value: e3, enum: s2, ...o4 }), { ...o4, value: e3 }), ce.Invalid) : a(n2) && u(e3, n2) || a(i2) && p(e3, i2) ? (r4(te({ value: e3, minimum: n2, maximum: i2, ...o4 }), { ...o4, value: e3 }), ce.Invalid) : ce.Valid : ce.InvalidType;
          }(t3, r3, e2, o3), integer: (t3, r3, o3) => ue(t3, r3, e2, o3), string: (t3, r3, o3) => function(e3, t4, r4, o4) {
            const { minLength: a2, maxLength: i2, enum: s2, pattern: d3 } = t4;
            return n(e3) ? s2 && !l(e3, s2) ? (r4(oe({ value: e3, enum: s2, ...o4 }), { ...o4, value: e3 }), ce.Invalid) : a2 && u(e3.length, a2) || i2 && p(e3.length, i2) ? (r4(ee({ value: e3, minimum: a2, maximum: i2, ...o4 }), { ...o4, value: e3 }), ce.Invalid) : d3 && !new RegExp(d3).test(e3) ? (r4(ae({ value: e3, ...o4 }), { ...o4, value: e3 }), ce.Invalid) : ce.Valid : ce.InvalidType;
          }(t3, r3, e2, o3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? ce.Valid : ce.InvalidType;
          }(e3), date: (e3) => de(e3), nil: (e3) => function(e4) {
            return s(e4) ? ce.Valid : ce.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? ce.Valid : ce.InvalidType;
          }(e3) };
          return function(e3, t3, r3) {
            return d2(e3, t3, { functionName: r3, propertyName: r3, index: void 0 });
          };
        }
        function fe(e2, { suppressIndexErrors: t2 = false } = {}) {
          return me({ reportError: r, reportWarning: o }, e2, { suppressIndexErrors: t2 });
        }
        function be(e2, t2, r2 = {}) {
          return (o2) => {
            const a2 = e2(o2), n2 = fe(o2.metaData.role), i2 = fe(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(a2, s2), p2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? p2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, n3 = r2[s2];
                let p3 = true;
                return a3 && (p3 = i2(e4, { type: ["array"], items: a3 }, s2)), p3 && n3 && (p3 = n3.every((t3) => t3(e4, o2))), p3 ? l2.value(...e4) : void 0;
              } : p2.value = l2.value : (l2.get && (p2.get = () => a2[s2]), l2.set && (p2.set = (e4) => {
                const i3 = r2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = n2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, o2))), l3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, p2), e3;
            }, {});
          };
        }
        const ye = "click", he = "dblClick", ge = "mouseenter", ve = "mouseleave", Ne = "change", xe = "blur", $e = "focus", we = "imageChanged", Ae = "imageExpanded", Ce = "onInput", ke = "itemClicked", Ie = "cellSelect", Oe = "cellEdit", Se = "rowSelect", Te = "fetchData", je = "dataChange", Pe = "onTimeout", Ee = "onVerified", Le = "onError", Re = "onPlay", De = "onPause", Be = "onProgress", Ve = "onEnded", Fe = "autoplayOff", Me = "autoplayOn", qe = "playEnded", He = "playProgress", We = "keyPress", Ke = "keyUp", Ge = "keyDown", _e = "screenIn", Ye = "viewportEnter", Ue = "viewportLeave", Xe = "scroll", ze = "validate", Je = "setCustomValidity", Ze = "syncValidationData", Qe = "updateValidityIndication", et = "message", tt = "uploadComplete", rt = "itemReady", ot = "itemRemoved", at = "tagClick", nt = "quickActionBarItemClicked", it = "markerClicked", st = "mapClicked", lt = "iconMouseIn", pt = "onStateChange", ut = "itemMouseIn", dt = "itemMouseOut", ct = "itemMouseClick", mt = "itemMouseDblClick", ft = "onColorChange", bt = "onFontChange", yt = "onOpacityChange", ht = { [ye]: "onClick", [he]: "onDblClick", [ge]: "onMouseIn", [ve]: "onMouseOut", [Ne]: "onChange", [Ce]: "onInput", [xe]: "onBlur", [$e]: "onFocus", [we]: "onCurrentItemChanged", [Ae]: void 0, [ke]: "onItemClicked", [Ie]: "onCellSelect", [Oe]: void 0, [Se]: "onRowSelect", [Te]: void 0, [je]: "onDataChange", [Pe]: "onTimeout", [Ee]: "onVerified", [Le]: "onError", [Re]: "onPlay", [De]: "onPause", [Be]: "onProgress", [Ve]: "onEnded", [Fe]: "onPause", [Me]: "onPlay", [qe]: void 0, [He]: void 0, [We]: "onKeyPress", [Ke]: "onKeyUp", [Ge]: "onKeyDown", [_e]: void 0, [Ye]: "onViewportEnter", [Ue]: "onViewportLeave", [Xe]: void 0, [ze]: void 0, [Je]: void 0, [Ze]: void 0, [Qe]: void 0, [et]: "onMessage", [tt]: void 0, [rt]: "onItemReady", [ot]: "onItemRemoved", [at]: void 0, [nt]: "onItemClicked", [it]: "onMarkerClicked", [st]: "onMapClicked", [lt]: void 0, [pt]: "onStateChange", [ut]: "onItemMouseIn", [dt]: "onItemMouseOut", [ct]: "onItemClick", [mt]: "onItemDblClick", [ft]: "onColorChange", [bt]: "onFontChange", [yt]: "onOpacityChange" }, gt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, vt = (e2) => {
          const { target: t2, type: r2, context: o2 } = e2;
          return { target: t2, type: gt[r2] ?? r2, context: o2 };
        }, Nt = (e2) => {
          const { clientX: t2, clientY: r2, pageX: o2, pageY: a2, screenX: n2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: p2 } = s2;
          return { clientX: t2, clientY: r2, pageX: o2, pageY: a2, screenX: n2, screenY: i2, offsetX: l2, offsetY: p2 };
        }, xt = (e2) => {
          const { altKey: t2, ctrlKey: r2, key: o2, metaKey: a2, shiftKey: n2 } = e2;
          return { key: o2, altKey: t2, ctrlKey: r2, metaKey: a2, shiftKey: n2 };
        }, $t = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, wt = (e2) => e2.replace(/^on/i, ""), At = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Ct = (e2, t2, r2, o2) => {
          const { create$w: a2, createEvent: n2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, r3) => fe(r3)(e3, { type: ["function"] }, t3))(r2, $t[e2] ?? e2, l2.role)) return s2();
          const [p2, u2] = At(t2), d2 = i2(e2, (e3, t3) => {
            const i3 = n2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: i3.context }), l3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            r2({ ...vt(i3), ...l3 }, s3);
          }), c2 = { eventName: e2, compId: l2.compId, cb: r2, unregister: d2 };
          return u2({ listeners: [...p2.listeners, c2] }), s2();
        }, kt = (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = Object.entries($t).find(([t4, r3]) => wt(r3.toLowerCase()) === wt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(ht[t2] ?? t2);
          return e2.toLowerCase() === r2.toLowerCase();
        }, It = (e2, t2, r2, o2) => Ct(e2, t2, r2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...Nt(e3), ...t3 && o2?.(t3) }));
        function Ot(e2, t2) {
          const { modifyAriaSourceKeys: r2 } = t2 ?? {};
          return (t3) => {
            const o2 = {};
            for (let n2 = 0; n2 < e2.length; n2++) {
              const i2 = e2[n2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], n3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(o2, r2 && n3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, n3);
              }
            }
            var a2;
            return o2;
          };
        }
        const St = ({ handlers: e2, metaData: t2 }) => {
          const { compId: r2, connection: o2, compType: a2, isGlobal: n2, getParent: i2, role: s2, wixCodeId: l2 } = t2, p2 = `$w.${a2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return r2;
          }, get parent() {
            return i2();
          }, get global() {
            return n2();
          }, get type() {
            return p2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(r2, t3));
          }, toJSON() {
            return { id: s2, type: p2, global: n2() };
          } };
        }, Tt = (e2) => (t2) => {
          const { metaData: r2, getSdkInstance: o2, create$w: a2, createEvent: n2 } = t2, i2 = (e3, t3) => fe(r2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (r3) => i2(r3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = n2({ type: "viewportEnter" }), t3 = a2();
            r3(e3, t3);
          }), Ct("onViewportEnter", t2, r3)) : o2(), onViewportLeave: (r3) => i2(r3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = n2({ type: "viewportLeave" }), t3 = a2();
            r3(e3, t3);
          }), Ct("onViewportLeave", t2, r3)) : o2() };
        }, jt = { duration: 1200, delay: 0 }, Pt = { arc: { ...jt, direction: "left" }, bounce: { ...jt, direction: "topLeft", intensity: "medium" }, puff: { ...jt }, zoom: { ...jt }, fade: { ...jt }, flip: { ...jt, direction: "right" }, float: { ...jt, direction: "right" }, fly: { ...jt, direction: "right" }, fold: { ...jt, direction: "left" }, glide: { ...jt, angle: 0, distance: 0 }, roll: { ...jt, direction: "left" }, slide: { ...jt, direction: "left" }, spin: { ...jt, direction: "cw", cycles: 5 }, turn: { ...jt, direction: "right" }, ArcIn: { ...jt, direction: "right" }, ArcOut: { ...jt, direction: "right" }, BounceIn: { ...jt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...jt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...jt, direction: "right" }, CollapseOut: { ...jt }, Conceal: { ...jt, direction: "right" }, Reveal: { ...jt, direction: "left" }, FadeIn: { ...jt }, FadeOut: { ...jt }, FlipIn: { ...jt, direction: "left" }, FlipOut: { ...jt, direction: "left" }, FloatIn: { ...jt, direction: "right" }, FloatOut: { ...jt, direction: "right" }, FlyIn: { ...jt, direction: "right" }, FlyOut: { ...jt, direction: "right" }, FoldIn: { ...jt, direction: "left" }, FoldOut: { ...jt, direction: "left" }, GlideIn: { ...jt, angle: 0, distance: 150 }, GlideOut: { ...jt, angle: 0, distance: 150 }, DropIn: { ...jt }, PopOut: { ...jt }, SlideIn: { ...jt, direction: "left" }, SlideOut: { ...jt, direction: "left" }, SpinIn: { ...jt, direction: "cw", cycles: 2 }, SpinOut: { ...jt, direction: "cw", cycles: 2 }, TurnIn: { ...jt, direction: "right" }, TurnOut: { ...jt, direction: "right" } }, Et = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Lt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Rt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Dt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Bt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Vt = { arc: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Rt, delay: Dt } }, zoom: { type: ["object"], properties: { duration: Rt, delay: Dt } }, fade: { type: ["object"], properties: { duration: Rt, delay: Dt } }, flip: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, float: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, fly: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, fold: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, glide: { type: ["object"], properties: { duration: Rt, delay: Dt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, slide: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, spin: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Ft = ({ propertyName: e2, compName: t2 }) => (r2, a2) => {
          if (!r2) return false;
          if (void 0 === a2) return true;
          const n2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (a3, n3) => {
            o(y({ propertyName: t3, compName: r3, effectName: e3, wrongValue: `${n3?.value}`, infoLink: Lt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          if (!me({ reportError: n2, reportWarning: () => ({}) }, t2)(a2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (a3, n3) => {
            o(f({ propertyName: t3, compName: r3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${n3?.propertyName}" cannot be set to the value "${n3?.value}"`, infoLink: Lt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          return !!me({ reportError: i2, reportWarning: () => ({}) }, t2)(a2, Vt[r2], e2);
        }, Mt = (e2) => 0 === Object.keys(e2).length, qt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: r2, portal: a2, metaData: n2, getSdkInstance: i2, runAnimation: s2, createSdkState: l2, styleUtils: p2, setProps: u2 }) => {
          const d2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: r3, propertyName: a3 }) => {
            const n3 = Ft({ propertyName: a3, compName: e3 });
            if (!t3 && !r3) return false;
            if (!t3 && r3 && !Mt(r3)) return o(m({ propertyName: a3, compName: e3, infoLink: Lt(a3) })), false;
            const i3 = "hide" === a3 ? "HIDE" : "SHOW", s3 = Et[i3]?.deprecatedValues;
            return t3 && r3 && s3 && s3.find((e4) => e4 === t3) && !Mt(r3) ? (o(b({ compName: e3, effectName: t3, propertyName: a3, infoLink: Lt(a3) })), false) : !!s3.find((e4) => e4 === t3) || (t3 && !(t3 in Vt) ? (o(c({ propertyName: a3, compName: e3, effectName: t3, infoLink: Lt(a3) })), false) : !!n3(t3, r3));
          })({ compName: n2.role }), [f2, y2] = l2({ hidden: n2.hiddenOnLoad, collapsed: n2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (o2, n3) => {
            if (u2({ hidden: true }), f2.collapsed || f2.hidden) y2({ hidden: true });
            else {
              if (d2({ effectName: o2, effectOptions: n3, propertyName: "hide" })) {
                const e3 = { animationDirection: Et.HIDE.suffix, effectName: o2, effectOptions: { ...Pt?.[o2] || jt, ...n3 } };
                await Promise.all([s2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else r2(p2.getHiddenStyles()), t2 && a2.setStyles(p2.getHiddenStyles());
              y2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (o2, n3) => {
            if (u2({ hidden: false }), !f2.collapsed && f2.hidden) {
              if (d2({ effectName: o2, effectOptions: n3, propertyName: "show" })) {
                const e3 = { animationDirection: Et.SHOW.suffix, effectName: o2, effectOptions: { ...Pt?.[o2] || jt, ...n3 } };
                await Promise.all([s2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else r2(p2.getShownStyles()), t2 && a2.setStyles(p2.getShownStyles());
              y2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else y2({ hidden: false });
          }, collapse: async () => {
            u2({ collapsed: true }), f2.collapsed || (r2(p2.getCollapsedStyles()), t2 && a2.setStyles(p2.getCollapsedStyles()), y2({ collapsed: true }), f2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (u2({ collapsed: false }), f2.collapsed) {
              const o2 = { ...p2.getExpandedStyles(), visibility: f2.hidden ? "hidden" : null };
              r2(o2), t2 && a2.setStyles(o2), y2({ collapsed: false }), f2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return f2.collapsed;
          }, get hidden() {
            return Boolean(f2.hidden);
          }, get isVisible() {
            if (!n2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Ht = (e2) => (t2) => ((e3, t3 = false) => {
          const [r2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Ot([qt({ viewportState: r2, hasPortal: t3 }), Tt((e4, t4) => {
            o2({ [e4]: [...r2[e4], t4] });
          })])(e3);
        })(t2, e2), Wt = (e2, t2, o2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && r(_({ functionName: o2, wrongEffects: a2, allowedEffects: e2 }));
        }, Kt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (r2) => {
            Wt(t2(), r2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...r2);
          }, removeEffects: (r2) => {
            Wt(t2(), r2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...r2);
          }, toggleEffects: (r2) => {
            Wt(t2(), r2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...r2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Gt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), _t = (e2, t2) => "string" != typeof e2 ? (Yt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Xt(e2, t2), false), Yt = (e2, t2, o2, a2) => {
          r(W({ propertyName: e2, functionName: t2, value: o2, expectedType: a2 }));
        }, Ut = (e2, t2) => {
          r(N({ propertyName: e2, functionName: t2 }));
        }, Xt = (e2, t2) => {
          r(z({ propertyName: e2, functionName: t2 }));
        }, zt = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const r2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!_t(t3, "customClassList.add")) return;
                r2.add(t3);
              }
              t2({ customClassNames: Array.from(r2) });
            } else Ut("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Ut("className", "customClassList.remove");
            const r2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!_t(t3, "customClassList.remove")) return;
              r2.delete(t3);
            }
            t2({ customClassNames: Array.from(r2) });
          }, contains(e3) {
            if (e3) return _t(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            Ut("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!_t(t3, "customClassList.replace") || !_t(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (r(x({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!_t(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Ut("className", "customClassList.toggle"), false);
          } } };
        }, Jt = ({ role: e2, compType: t2, isGlobal: r2, isRendered: o2 }) => ({ id: e2, type: `$w.${t2}`, global: r2(), rendered: o2() }), Zt = (e2) => ({ onMouseIn: (t2) => It("onMouseEnter", e2, t2), onMouseOut: (t2) => It("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (r(W({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof o2 ? (r(W({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), a2()) : ((e3, t3, r2) => {
            const { metaData: o3, getSdkInstance: a3 } = t3, [n2, i2] = At(t3), s2 = n2.listeners.filter((t4) => kt(t4.eventName, e3) && t4.cb === r2 && t4.compId === o3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: n2.listeners.filter((e4) => !s2.includes(e4)) }), a3();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Jt(e2.metaData);
        } }), Qt = Tt(), er = (Ot([St, Qt, Zt, Kt, zt]), { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" });
        function tr(e2) {
          return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e2);
        }
        function rr(e2) {
          return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e2);
        }
        function or(e2) {
          return er[e2];
        }
        function ar(e2) {
          return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e2) || tr(e2);
        }
        function nr(e2) {
          return rr(e2) || /^#(([a-f0-9]){3}){1,2}$/i.test(e2);
        }
        const ir = (e2) => parseInt(e2.repeat(2 / e2.length), 16), sr = (e2) => {
          if (!nr(e2)) return;
          const t2 = ((e3) => {
            const t3 = Math.floor((e3.length - 1) / 3);
            return e3.slice(1).match(new RegExp(`.{${t3}}`, "g"));
          })(e2), [r2, o2, a2, n2] = t2.map(ir);
          return [r2, o2, a2, void 0 !== n2 ? ur(n2 / 255) : 1];
        }, lr = (e2) => nr(e2) ? sr(e2) : ar(e2) ? ((e3) => {
          if (!ar(e3)) return;
          const t2 = e3.substring(e3.indexOf("(")).split(","), r2 = parseInt(t2[0].substring(1).trim(), 10), o2 = parseInt(t2[1].trim(), 10), a2 = parseInt(t2[2].trim(), 10), n2 = t2[3] && parseFloat(t2[3].substring(0, t2[3].length - 1).trim());
          return [r2, o2, a2, void 0 !== n2 ? n2 : 1];
        })(e2) : or(e2) ? sr(er[e2]) : void 0, pr = (e2) => {
          const t2 = lr(e2);
          if (t2) return t2[3];
        }, ur = (e2) => Math.round(100 * e2) / 100;
        const dr = ({ propertyName: e2, cssProperty: t2, supportAlpha: o2 }) => (a2, n2) => function(e3) {
          return nr(e3) || ar(e3) || or(e3);
        }(a2) ? (o2 || mr({ propertyName: e2, color: a2, api: n2 }), true) : (r(X({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: n2.metaData.role, exampleFormats: o2 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), cr = ({ propertyName: e2, cssProperty: t2 }) => (o2, a2) => !!function(e3) {
          if (n(e3)) {
            const t3 = e3.endsWith("px"), r2 = e3.slice(0, e3.length - 2), o3 = /^\d*$/.test(r2);
            return t3 && o3 && parseInt(r2, 10);
          }
          return false;
        }(o2) || (r(U({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: a2.metaData.role, exampleFormat: "1px" })), false), mr = ({ propertyName: e2, color: t2, api: r2 }) => {
          (rr(t2) || tr(t2)) && o(v({ propertyName: e2, compName: r2.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}` }));
        }, fr = ({ name: e2, prefix: t2 }) => t2 ? `--${t2}-corvid-${e2}` : `--corvid-${e2}`, br = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, yr = ["hover", "disabled"], hr = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
        function gr(e2) {
          return e2.charAt(0).toUpperCase() + e2.slice(1);
        }
        const vr = (e2) => (t2 = { supportOpacity: true }) => {
          const { prefix: r2, supportOpacity: o2, withoutDefaultValue: a2, supportedStates: n2 = [] } = t2, i2 = (t3, r3 = e2) => {
            const n3 = dr({ propertyName: e2, cssProperty: o2 ? "rgbaColor" : "rgbColor", supportAlpha: o2 });
            return be(({ setStyles: n4, sdkData: i3, createSdkState: s3 }) => {
              const l3 = i3?.initialSdkStyles?.[r3], p2 = pr(l3), u2 = a2 ? void 0 : l3, [d2, c2] = s3({ [r3]: u2 }, r3);
              return Object.defineProperty({ reset() {
                c2({ [r3]: u2 }), n4({ [t3]: void 0 });
              } }, e2, { enumerable: true, set(e3) {
                let a3 = e3;
                if (!o2 && (rr(e3) || tr(e3))) {
                  const [t4, r4, o3] = lr(e3);
                  a3 = `rgb(${t4}, ${r4}, ${o3})`;
                }
                if ("number" == typeof p2 && 1 !== p2) {
                  const t4 = pr(e3);
                  a3 = ((e4, t5) => {
                    const r4 = lr(e4);
                    if (r4) {
                      const [e5, o3, a4] = r4;
                      return `rgba(${e5}, ${o3}, ${a4}, ${t5})`;
                    }
                  })(a3, Number.isFinite(t4) ? ur(p2 * t4) : p2);
                }
                c2({ [r3]: a3 }), n4({ [t3]: a3 });
              }, get() {
                return d2[r3];
              } });
            }, { properties: { [e2]: { type: ["string", "nil"] } } }, { [e2]: [n3] });
          }, s2 = n2.map((t3) => be((o3) => {
            const a3 = i2(fr({ name: hr[t3][e2], prefix: r2 }), t3 + gr(e2))(o3);
            return { [t3]: a3 };
          }, { properties: { [t3]: { type: ["object", "nil"] } } })), l2 = i2(fr({ name: br[e2], prefix: r2 }));
          return (e3) => Object.assign(l2(e3), s2.reduce((t3, r3) => Object.assign(t3, r3(e3)), {}));
        }, Nr = vr("backgroundColor"), xr = vr("borderColor"), $r = "textColor", wr = "color", Ar = vr("fillColor"), Cr = vr("strokeColor"), kr = vr("iconColor"), Ir = "reset";
        function Or(...e2) {
          const t2 = (r2 = Ir, (...e3) => {
            const t3 = {}, o2 = { [r2](e4) {
              if ("function" == typeof t3[e4]) return t3[e4](e4);
            } };
            return e3.forEach((e4) => {
              Object.keys(e4).filter((e5) => e5 !== r2).map((t4) => ({ key: t4, descriptor: Object.getOwnPropertyDescriptor(e4, t4) })).forEach(({ key: a2, descriptor: n2 }) => {
                "function" == typeof e4[r2] && (t3[a2] = e4[r2]), Object.defineProperty(o2, a2, n2);
              });
            }), o2;
          });
          var r2;
          return (r3) => {
            const o2 = e2.map((e3) => e3(r3)), a2 = {};
            for (const e3 of yr) o2.some((t3) => e3 in t3) && (a2[e3] = t2(...o2.map((t3) => t3[e3] ?? {})), Object.defineProperty(a2[e3], Ir, { enumerable: false }), o2.forEach((t3) => {
              delete t3[e3];
            }));
            const n2 = t2(...o2);
            return Object.defineProperty(n2, Ir, { enumerable: false }), Object.assign(n2, a2);
          };
        }
        const Sr = { BackgroundColor: Nr, BorderColor: xr, BorderWidth: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = fr({ name: br.borderWidth, prefix: t2 });
          return be(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const n2 = t3?.initialSdkStyles?.borderWidth, [i2, s2] = a2({ borderWidth: r2 ? void 0 : n2 }, "borderWidth");
            return { set borderWidth(t4) {
              s2({ borderWidth: t4 }), e3({ [o2]: t4 });
            }, get borderWidth() {
              return i2.borderWidth;
            }, reset() {
              s2({ borderWidth: n2 }), e3({ [o2]: void 0 });
            } };
          }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [cr({ propertyName: "borderWidth", cssProperty: "width" })] });
        }, ForegroundColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = fr({ name: br.foregroundColor, prefix: t2 });
          return be(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const [n2, i2] = a2({ foregroundColor: r2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }, "foregroundColor");
            return { set foregroundColor(t4) {
              i2({ foregroundColor: t4 }), e3({ [o2]: t4 });
            }, get foregroundColor() {
              return n2.foregroundColor;
            }, reset() {
              i2({ foregroundColor: r2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }), e3({ [o2]: void 0 });
            } };
          }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [dr({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
        }, BorderRadius: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = fr({ name: br.borderRadius, prefix: t2 });
          return be(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const n2 = t3?.initialSdkStyles?.borderRadius, [i2, s2] = a2({ borderRadius: r2 ? void 0 : n2 }, "borderRadius");
            return { set borderRadius(t4) {
              s2({ borderRadius: t4 }), e3({ [o2]: t4 });
            }, get borderRadius() {
              return i2.borderRadius;
            }, reset() {
              s2({ borderRadius: n2 }), e3({ [o2]: void 0 });
            } };
          }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [cr({ propertyName: "borderRadius", cssProperty: "radius" })] });
        }, TextColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2, supportedStates: o2 = [] } = e2, a2 = (e3, t3 = $r, o3 = wr) => be(({ setStyles: a3, sdkData: n3, createSdkState: i3 }) => {
            const s2 = n3?.initialSdkStyles?.[o3], l2 = r2 ? void 0 : s2, [p2, u2] = i3({ [t3]: l2 }, t3);
            return { set color(r3) {
              let o4 = r3;
              if (rr(r3) || tr(r3)) {
                const [e4, t4, a4] = lr(r3);
                o4 = `rgb(${e4}, ${t4}, ${a4})`;
              }
              u2({ [t3]: o4 }), a3({ [e3]: o4 });
            }, get color() {
              return p2[t3];
            }, reset() {
              u2({ [t3]: l2 }), a3({ [e3]: void 0 });
            } };
          }, { properties: { color: { type: ["string", "nil"] } } }, { color: [dr({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), n2 = o2.map((e3) => be((r3) => {
            const o3 = a2(fr({ name: hr[e3].textColor, prefix: t2 }), ((e4) => e4 + gr($r))(e3), ((e4) => e4 + gr(wr))(e3))(r3);
            return { [e3]: o3 };
          }, { properties: { [e3]: { type: ["object", "nil"] } } })), i2 = a2(fr({ name: br.textColor, prefix: t2 }));
          return (e3) => Object.assign(i2(e3), n2.reduce((t3, r3) => Object.assign(t3, r3(e3)), {}));
        }, FillColor: Ar, StrokeColor: Cr, IconColor: kr }, Tr = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} }, jr = be(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: s(r2) ? void 0 : r2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } });
        var Pr;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(Pr || (Pr = {}));
        const Er = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, Lr = (e2) => Rr(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), Rr = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), Dr = (e2, t2, o2, a2, n2) => n2 ? !!o2(n2) || (r(a2), false) : !!t2 || (r(re({ value: n2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), Br = (e2, t2 = true) => (r2) => Dr(e2, t2, Rr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, r2), Vr = (e2, t2 = true) => (r2) => Dr(e2, t2, Lr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, r2), Fr = be(({ setProps: e2, props: t2, create$w: r2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return r2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [Vr("describedBy")] }), Mr = be(({ setProps: e2, props: t2, create$w: r2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return r2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [Vr("labelledBy")] }), qr = be(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Hr = be(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Wr = be(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), Kr = be(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Gr = be(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: s(r2) ? void 0 : r2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), _r = be(({ setProps: e2, props: t2, create$w: r2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return r2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [Br("owns")] }), Yr = be(({ setProps: e2, props: t2, create$w: r2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return r2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [Br("controls")] }), Ur = be(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: s(r2) ? void 0 : r2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), Xr = be(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: s(r2) ? void 0 : r2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), zr = be(({ setProps: e2, props: t2, create$w: r2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return r2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [Vr("errorMessage")] }), Jr = be(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Zr = be(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), Qr = be(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), eo = be(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), to = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(o2) {
          null === o2 || n(o2) ? e2({ screenReader: { ...t2.screenReader, prefix: o2 } }) : r(Er("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(o2) {
          null === o2 || n(o2) ? e2({ screenReader: { ...t2.screenReader, suffix: o2 } }) : r(Er("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(r2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: s(r2) ? void 0 : r2 } });
        } } }), ro = (be(to, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), be(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: s(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), oo = be(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: s(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), ao = { enableAriaLabel: jr, enableAriaDescribedBy: Fr, enableAriaLabelledBy: Mr, enableAriaAtomic: qr, enableAriaBusy: Hr, enableAriaCurrent: Wr, enableAriaExpanded: Kr, enableAriaLive: Gr, enableAriaOwns: _r, enableAriaControls: Yr, enableAriaRoleDescription: Ur, enableAriaRelevant: Xr, enableAriaErrorMessage: zr, enableAriaHidden: Jr, enableAriaPressed: Zr, enableAriaHaspopup: Qr, enableAriaRequired: eo }, no = { enableScreenReader: to, enableRole: ro, enableTabIndex: oo };
        const io = (lo = { BackgroundColor: true, BorderColor: true, BorderWidth: true }, po = { cssVarPrefix: "container" }, be((so = Or(...Object.keys(lo).filter((e2) => lo[e2]).map((e2) => {
          const t2 = "boolean" != typeof lo[e2] ? lo[e2] : Tr[e2];
          return Sr[e2]({ prefix: po?.cssVarPrefix, withoutDefaultValue: t2.withoutDefaultValue, supportOpacity: t2.supportOpacity, supportedStates: t2.supportedStates });
        })), (e2) => {
          const t2 = so(e2);
          return t2.removeProperty = (e3) => {
            const [o2, a2] = e3.includes(".") ? e3.split(".").reverse() : [e3, void 0];
            if (!a2 && !(o2 in t2) || a2 && !(o2 in (t2[a2] ?? {}))) {
              const o3 = Object.keys(t2).filter((e4) => "removeProperty" !== e4);
              return void r(oe({ functionName: "removeProperty", propertyName: "propertyName", value: e3, enum: o3, index: void 0 }));
            }
            const n2 = a2 ? t2[a2] : t2;
            n2[Ir]?.(o2);
          }, { get style() {
            return t2;
          } };
        }), { properties: { style: { type: ["object"] } } }));
        var so, lo, po;
        const uo = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Ot([St, Zt, Kt, Gt, e2 ? Ht(t2) : Qt, zt]))(), co = (({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: o2 = false, enableAriaBusy: a2 = false, enableAriaHidden: n2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: p2 = false, enableAriaLive: u2 = false, enableAriaOwns: d2 = false, enableAriaControls: c2 = false, enableAriaRoleDescription: m2 = false, enableAriaRelevant: f2 = false, enableRole: b2 = false, enableTabIndex: y2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: g2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
          const x2 = [], $2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: r2, enableAriaAtomic: o2, enableAriaBusy: a2, enableAriaCurrent: l2, enableAriaExpanded: p2, enableAriaLive: u2, enableAriaOwns: d2, enableAriaControls: c2, enableAriaRoleDescription: m2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: n2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, w2 = { enableScreenReader: g2, enableRole: b2, enableTabIndex: y2 };
          if (Object.values($2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, r3]) => r3 && ao[e5] && t3.push(ao[e5])), (e5) => {
                const r3 = Ot(t3, { modifyAriaSourceKeys: true })(e5);
                return r3.ariaAttributes = Ot(t3)(e5), r3;
              };
            })($2);
            x2.push(e3);
          }
          Object.entries(w2).forEach(([e3, t3]) => t3 && no[e3] && x2.push(no[e3]));
          return { accessibility: Ot(x2)(N2) };
        })({ enableRole: true, enableAriaHidden: true, enableAriaLabel: true, enableAriaLabelledBy: true, enableAriaDescribedBy: true, enableAriaRoleDescription: true, enableAriaCurrent: true, enableAriaExpanded: true, enableAriaLive: true, enableAriaAtomic: true, enableAriaRelevant: true, enableAriaBusy: true, enableTabIndex: true, enableAriaControls: true, enableAriaOwns: true, enableAriaHaspopup: true, enableAriaPressed: true }), mo = Ot([uo, io, ({ getChildren: e2 }) => ({ get children() {
          return e2();
        } }), (e2) => {
          const t2 = /* @__PURE__ */ ((e3) => ({ onClick: (t3) => It("onClick", e3, t3), onDblClick: (t3) => It("onDblClick", e3, t3) }))(e2), { setProps: r2, props: o2 } = e2;
          return { ...t2, onClick: (e3) => {
            t2.onClick(e3), o2.hasPlatformClickHandler || r2({ hasPlatformClickHandler: true });
          } };
        }, (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => Ct("onFocus", e2, t2), onBlur: (t2) => Ct("onBlur", e2, t2) }), co, (e2) => ({ get type() {
          return "$w.Box";
        }, onKeyPress: (t2) => ((e3, t3, r2, o2) => Ct(e3, t3, r2, ({ componentEvent: e4, eventPayload: t4 }) => ({ ...xt(e4), ...t4 && o2?.(t4) })))("onKeyPress", e2, t2), toJSON() {
          return { ...Jt(e2.metaData), type: "$w.Box" };
        } }), (e2) => ({ onKeyUp: (t2) => Ct("onKeyUp", e2, t2) })]);
        var fo = { factory: mo };
        return t;
      }();
    });
  })(Container_bundle_min);
  var Container_bundle_minExports = Container_bundle_min.exports;
  const Container = /* @__PURE__ */ getDefaultExportFromCjs(Container_bundle_minExports);
  var CustomElementComponent_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var o2 in n2) e.o(n2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: n2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return on;
        }, sdk: function() {
          return nn;
        } });
        const n = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, o = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function r(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function a(e2) {
          return Array.isArray(e2);
        }
        function i(e2) {
          return null == e2;
        }
        function m(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function u(e2, t2) {
          return e2 < t2;
        }
        const c = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, p = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, l = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, d = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: o2, wrongValue: r2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${o2}: ${r2}. Read more about the effectOptions object: "${a2}"')`, f = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${o2}"`, y = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: o2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${r2}"'`, h = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, N = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, v = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, g = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, b = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, x = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, w = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, I = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, C = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${r2}.`, T = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${r2}.`, E = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, O = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, k = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, S = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, V = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, L = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${r2}.`, P = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${r2}.`, D = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, A = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: r2 }) => `The value of ${e2} parameter of item at ${r2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, U = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: r2 }) => `The value of ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, B = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, W = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, X = ({ propertyName: e2, functionName: t2, value: n2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, Y = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, G = ({ compName: e2, functionName: t2, propertyName: n2, index: o2 }) => r(o2) ? N({ propertyName: n2, functionName: t2, index: o2 }) : e2 ? h({ compName: e2, functionName: t2, propertyName: n2 }) : c({ functionName: t2, propertyName: n2 }), K = ({ functionName: e2, propertyName: t2, index: n2 }) => r(n2) ? $({ functionName: e2, propertyName: t2, index: n2 }) : v({ functionName: e2, propertyName: t2 }), _ = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? r(n2) ? I({ functionName: e2, propertyNames: t2, index: n2 }) : x({ functionName: e2, propertyNames: t2 }) : r(n2) ? w({ functionName: e2, propertyName: t2[0], index: n2 }) : b({ functionName: e2, propertyName: t2[0] }), z = ({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2, index: i2 }) => a2 && o2 ? a2 === o2 ? r(i2) ? O({ functionName: e2, propertyName: t2, value: n2, expectedValue: a2, index: i2 }) : E({ functionName: e2, propertyName: t2, value: n2, expectedValue: a2 }) : r(i2) ? T({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2, index: i2 }) : C({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2 }) : !a2 && o2 ? r(i2) ? L({ functionName: e2, propertyName: t2, value: n2, maximum: o2, index: i2 }) : V({ functionName: e2, propertyName: t2, value: n2, maximum: o2 }) : r(i2) ? S({ functionName: e2, propertyName: t2, value: n2, minimum: a2, index: i2 }) : k({ functionName: e2, propertyName: t2, value: n2, minimum: a2 }), J = ({ functionName: e2, propertyName: t2, value: n2, minimum: o2, maximum: a2, index: i2 }) => o2 && a2 ? o2 === a2 ? r(i2) ? A({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2, index: i2 }) : D({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2 }) : r(i2) ? P({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: o2, index: i2 }) : j({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: o2 }) : !o2 && a2 ? r(i2) ? U({ functionName: e2, propertyName: t2, maximum: a2, value: n2, index: i2 }) : R({ functionName: e2, propertyName: t2, maximum: a2, value: n2 }) : r(i2) ? F({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: i2 }) : M({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), Z = ({ functionName: e2, propertyName: t2, types: n2, value: o2, index: a2 }) => {
          const i2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return r(a2) ? q({ functionName: e2, index: a2, propertyName: t2, value: o2, expectedType: i2 }) : H({ functionName: e2, propertyName: t2, value: o2, expectedType: i2 });
        }, Q = ({ functionName: e2, propertyName: t2, value: n2, enum: o2, index: a2 }) => {
          const i2 = `from (${o2.join(",")})`;
          return r(a2) ? q({ functionName: e2, propertyName: t2, value: n2, expectedType: i2, index: a2 }) : H({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, ee = ({ functionName: e2, propertyName: t2, value: n2, index: o2 }) => r(o2) ? X({ functionName: e2, propertyName: t2, value: n2, index: o2 }) : B({ functionName: e2, propertyName: t2, value: n2 }), te = Object.prototype.hasOwnProperty, ne = Object.getOwnPropertyNames, oe = () => {
        };
        function re(e2, t2, n2, o2, r2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !a(e3);
          }(e2)) return se.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => re(e2, t3, n2, oe, r2, i2)).filter((e3) => e3 === se.Valid).length ? se.Valid : se.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!te.call(e2, t2.required[n3])) return o2(K({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[n3] }), { ...i2, value: e2 }), se.Invalid;
          }
          const m2 = ne(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ne(e2).filter((e3) => !m2.includes(e3));
            if (t3.length) {
              return o2(_({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), se.Invalid;
            }
          }
          for (let o3 = 0; o3 < m2.length; o3++) {
            const r3 = m2[o3];
            if (te.call(e2, r3)) {
              const o4 = t2.properties[r3], a2 = e2[r3];
              if (!n2(a2, o4, { functionName: i2.functionName, index: i2.index, propertyName: r3 })) return se.Invalid;
            }
          }
          return se.Valid;
        }
        function ae(e2) {
          return Array.isArray(e2);
        }
        function ie(e2, t2, n2, o2) {
          const { minimum: a2, maximum: i2, enum: c2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? c2 && !m(e2, c2) ? (n2(Q({ value: e2, enum: c2, ...o2 }), { ...o2, value: e2 }), se.Invalid) : r(a2) && u(e2, a2) || r(i2) && s(e2, i2) ? (n2(J({ value: e2, minimum: a2, maximum: i2, ...o2 }), { ...o2, value: e2 }), se.Invalid) : se.Valid : se.InvalidType;
        }
        function me(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? se.Valid : se.InvalidType;
        }
        const se = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function ue({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: o2 = false } = {}) {
          function c2(o3, r2, a2) {
            r2.warnIfNil && i(o3) && t2(G({ ...a2, compName: n2 }), { ...a2, value: o3 });
            let m2 = 0;
            for (; m2 < r2.type.length; m2++) {
              const e3 = (0, p2[r2.type[m2]])(o3, r2, a2);
              if (e3 !== se.InvalidType) return e3 === se.Valid;
            }
            return m2 === r2.type.length && e2(Z({ value: o3, types: r2.type, ...a2 }), { ...a2, value: o3 }), false;
          }
          const p2 = { object: (n3, o3, r2) => re(n3, o3, c2, e2, t2, r2), array: (e3, t3, n3) => function(e4, t4, n4, o3, r2, i2 = false) {
            if (!a(e4)) return se.InvalidType;
            let m2 = se.Valid;
            if (t4.items) {
              const o4 = ae(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let a2 = 0; a2 < o4; a2++) {
                const o5 = e4[a2];
                let s2, u2;
                ae(t4.items) ? (s2 = t4.items[a2], u2 = t4.items[a2].name) : (s2 = t4.items, u2 = t4.name), n4(o5, s2, { functionName: r2.functionName, propertyName: u2 || r2.propertyName, index: i2 ? void 0 : a2 }) || (m2 = se.Invalid);
              }
            }
            return m2;
          }(e3, t3, c2, 0, n3, o2), number: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minimum: a2, maximum: i2, enum: c3 } = t4;
            return r(e3) ? c3 && !m(e3, c3) ? (n4(Q({ value: e3, enum: c3, ...o4 }), { ...o4, value: e3 }), se.Invalid) : r(a2) && u(e3, a2) || r(i2) && s(e3, i2) ? (n4(J({ value: e3, minimum: a2, maximum: i2, ...o4 }), { ...o4, value: e3 }), se.Invalid) : se.Valid : se.InvalidType;
          }(t3, n3, e2, o3), integer: (t3, n3, o3) => ie(t3, n3, e2, o3), string: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minLength: r2, maxLength: a2, enum: i2, pattern: c3 } = t4;
            return /* @__PURE__ */ function(e4) {
              return "string" == typeof e4;
            }(e3) ? i2 && !m(e3, i2) ? (n4(Q({ value: e3, enum: i2, ...o4 }), { ...o4, value: e3 }), se.Invalid) : r2 && u(e3.length, r2) || a2 && s(e3.length, a2) ? (n4(z({ value: e3, minimum: r2, maximum: a2, ...o4 }), { ...o4, value: e3 }), se.Invalid) : c3 && !new RegExp(c3).test(e3) ? (n4(ee({ value: e3, ...o4 }), { ...o4, value: e3 }), se.Invalid) : se.Valid : se.InvalidType;
          }(t3, n3, e2, o3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? se.Valid : se.InvalidType;
          }(e3), date: (e3) => me(e3), nil: (e3) => function(e4) {
            return i(e4) ? se.Valid : se.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? se.Valid : se.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return c2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function ce(e2, { suppressIndexErrors: t2 = false } = {}) {
          return ue({ reportError: n, reportWarning: o }, e2, { suppressIndexErrors: t2 });
        }
        const pe = "click", le = "dblClick", de = "mouseenter", fe = "mouseleave", ye = "change", he = "blur", Ne = "focus", ve = "imageChanged", ge = "imageExpanded", $e = "onInput", be = "itemClicked", xe = "cellSelect", we = "cellEdit", Ie = "rowSelect", Ce = "fetchData", Te = "dataChange", Ee = "onTimeout", Oe = "onVerified", ke = "onError", Se = "onPlay", Ve = "onPause", Le = "onProgress", je = "onEnded", Pe = "autoplayOff", De = "autoplayOn", Ae = "playEnded", Me = "playProgress", Fe = "keyPress", Re = "keyUp", Ue = "keyDown", He = "screenIn", qe = "viewportEnter", Be = "viewportLeave", We = "scroll", Xe = "validate", Ye = "setCustomValidity", Ge = "syncValidationData", Ke = "updateValidityIndication", _e = "message", ze = "uploadComplete", Je = "itemReady", Ze = "itemRemoved", Qe = "tagClick", et = "quickActionBarItemClicked", tt = "markerClicked", nt = "mapClicked", ot = "iconMouseIn", rt = "onStateChange", at = "itemMouseIn", it = "itemMouseOut", mt = "itemMouseClick", st = "itemMouseDblClick", ut = "onColorChange", ct = "onFontChange", pt = "onOpacityChange", lt = { [pe]: "onClick", [le]: "onDblClick", [de]: "onMouseIn", [fe]: "onMouseOut", [ye]: "onChange", [$e]: "onInput", [he]: "onBlur", [Ne]: "onFocus", [ve]: "onCurrentItemChanged", [ge]: void 0, [be]: "onItemClicked", [xe]: "onCellSelect", [we]: void 0, [Ie]: "onRowSelect", [Ce]: void 0, [Te]: "onDataChange", [Ee]: "onTimeout", [Oe]: "onVerified", [ke]: "onError", [Se]: "onPlay", [Ve]: "onPause", [Le]: "onProgress", [je]: "onEnded", [Pe]: "onPause", [De]: "onPlay", [Ae]: void 0, [Me]: void 0, [Fe]: "onKeyPress", [Re]: "onKeyUp", [Ue]: "onKeyDown", [He]: void 0, [qe]: "onViewportEnter", [Be]: "onViewportLeave", [We]: void 0, [Xe]: void 0, [Ye]: void 0, [Ge]: void 0, [Ke]: void 0, [_e]: "onMessage", [ze]: void 0, [Je]: "onItemReady", [Ze]: "onItemRemoved", [Qe]: void 0, [et]: "onItemClicked", [tt]: "onMarkerClicked", [nt]: "onMapClicked", [ot]: void 0, [rt]: "onStateChange", [at]: "onItemMouseIn", [it]: "onItemMouseOut", [mt]: "onItemClick", [st]: "onItemDblClick", [ut]: "onColorChange", [ct]: "onFontChange", [pt]: "onOpacityChange" }, dt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, ft = (e2) => {
          const { target: t2, type: n2, context: o2 } = e2;
          return { target: t2, type: dt[n2] ?? n2, context: o2 };
        }, yt = (e2) => {
          const { clientX: t2, clientY: n2, pageX: o2, pageY: r2, screenX: a2, screenY: i2, nativeEvent: m2 } = e2, { offsetX: s2, offsetY: u2 } = m2;
          return { clientX: t2, clientY: n2, pageX: o2, pageY: r2, screenX: a2, screenY: i2, offsetX: s2, offsetY: u2 };
        }, ht = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Nt = (e2) => e2.replace(/^on/i, ""), vt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), gt = (e2, t2, n2, o2) => {
          const { create$w: r2, createEvent: a2, registerEvent: i2, getSdkInstance: m2, metaData: s2 } = t2;
          if (!((e3, t3, n3) => ce(n3)(e3, { type: ["function"] }, t3))(n2, ht[e2] ?? e2, s2.role)) return m2();
          const [u2, c2] = vt(t2), p2 = i2(e2, (e3, t3) => {
            const i3 = a2({ type: e3.type, compId: e3.compId }), m3 = r2({ context: i3.context }), s3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...ft(i3), ...s3 }, m3);
          }), l2 = { eventName: e2, compId: s2.compId, cb: n2, unregister: p2 };
          return c2({ listeners: [...u2.listeners, l2] }), m2();
        }, $t = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(ht).find(([t4, n3]) => Nt(n3.toLowerCase()) === Nt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(lt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, bt = (e2, t2, n2, o2) => gt(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...yt(e3), ...t3 && o2?.(t3) }));
        function xt(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const o2 = {};
            for (let a2 = 0; a2 < e2.length; a2++) {
              const i2 = e2[a2](t3), m2 = Object.keys(i2);
              for (let e3 = 0; e3 < m2.length; e3++) {
                const t4 = m2[e3], a3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(o2, n2 && a3.get ? "aria" + (r2 = t4).charAt(0).toUpperCase() + r2.slice(1) : t4, a3);
              }
            }
            var r2;
            return o2;
          };
        }
        const wt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: o2, compType: r2, isGlobal: a2, getParent: i2, role: m2, wixCodeId: s2 } = t2, u2 = `$w.${r2}`;
          return { get id() {
            return s2 || m2;
          }, get role() {
            return m2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return i2();
          }, get global() {
            return a2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: m2, type: u2, global: a2() };
          } };
        }, It = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: o2, create$w: r2, createEvent: a2 } = t2, i2 = (e3, t3) => ce(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => i2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = a2({ type: "viewportEnter" }), t3 = r2();
            n3(e3, t3);
          }), gt("onViewportEnter", t2, n3)) : o2(), onViewportLeave: (n3) => i2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = a2({ type: "viewportLeave" }), t3 = r2();
            n3(e3, t3);
          }), gt("onViewportLeave", t2, n3)) : o2() };
        }, Ct = { duration: 1200, delay: 0 }, Tt = { arc: { ...Ct, direction: "left" }, bounce: { ...Ct, direction: "topLeft", intensity: "medium" }, puff: { ...Ct }, zoom: { ...Ct }, fade: { ...Ct }, flip: { ...Ct, direction: "right" }, float: { ...Ct, direction: "right" }, fly: { ...Ct, direction: "right" }, fold: { ...Ct, direction: "left" }, glide: { ...Ct, angle: 0, distance: 0 }, roll: { ...Ct, direction: "left" }, slide: { ...Ct, direction: "left" }, spin: { ...Ct, direction: "cw", cycles: 5 }, turn: { ...Ct, direction: "right" }, ArcIn: { ...Ct, direction: "right" }, ArcOut: { ...Ct, direction: "right" }, BounceIn: { ...Ct, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Ct, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Ct, direction: "right" }, CollapseOut: { ...Ct }, Conceal: { ...Ct, direction: "right" }, Reveal: { ...Ct, direction: "left" }, FadeIn: { ...Ct }, FadeOut: { ...Ct }, FlipIn: { ...Ct, direction: "left" }, FlipOut: { ...Ct, direction: "left" }, FloatIn: { ...Ct, direction: "right" }, FloatOut: { ...Ct, direction: "right" }, FlyIn: { ...Ct, direction: "right" }, FlyOut: { ...Ct, direction: "right" }, FoldIn: { ...Ct, direction: "left" }, FoldOut: { ...Ct, direction: "left" }, GlideIn: { ...Ct, angle: 0, distance: 150 }, GlideOut: { ...Ct, angle: 0, distance: 150 }, DropIn: { ...Ct }, PopOut: { ...Ct }, SlideIn: { ...Ct, direction: "left" }, SlideOut: { ...Ct, direction: "left" }, SpinIn: { ...Ct, direction: "cw", cycles: 2 }, SpinOut: { ...Ct, direction: "cw", cycles: 2 }, TurnIn: { ...Ct, direction: "right" }, TurnOut: { ...Ct, direction: "right" } }, Et = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Ot = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, kt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, St = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Vt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Lt = { arc: { type: ["object"], properties: { duration: kt, delay: St, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: kt, delay: St, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: kt, delay: St } }, zoom: { type: ["object"], properties: { duration: kt, delay: St } }, fade: { type: ["object"], properties: { duration: kt, delay: St } }, flip: { type: ["object"], properties: { duration: kt, delay: St, direction: Vt } }, float: { type: ["object"], properties: { duration: kt, delay: St, direction: Vt } }, fly: { type: ["object"], properties: { duration: kt, delay: St, direction: Vt } }, fold: { type: ["object"], properties: { duration: kt, delay: St, direction: Vt } }, glide: { type: ["object"], properties: { duration: kt, delay: St, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: kt, delay: St, direction: Vt } }, slide: { type: ["object"], properties: { duration: kt, delay: St, direction: Vt } }, spin: { type: ["object"], properties: { duration: kt, delay: St, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: kt, delay: St, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, jt = ({ propertyName: e2, compName: t2 }) => (n2, r2) => {
          if (!n2) return false;
          if (void 0 === r2) return true;
          const a2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (r3, a3) => {
            o(y({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${a3?.value}`, infoLink: Ot(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!ue({ reportError: a2, reportWarning: () => ({}) }, t2)(r2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (r3, a3) => {
            o(d({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: Ot(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!ue({ reportError: i2, reportWarning: () => ({}) }, t2)(r2, Lt[n2], e2);
        }, Pt = (e2) => 0 === Object.keys(e2).length, Dt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: r2, metaData: a2, getSdkInstance: i2, runAnimation: m2, createSdkState: s2, styleUtils: u2, setProps: c2 }) => {
          const d2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: r3 }) => {
            const a3 = jt({ propertyName: r3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Pt(n3)) return o(l({ propertyName: r3, compName: e3, infoLink: Ot(r3) })), false;
            const i3 = "hide" === r3 ? "HIDE" : "SHOW", m3 = Et[i3]?.deprecatedValues;
            return t3 && n3 && m3 && m3.find((e4) => e4 === t3) && !Pt(n3) ? (o(f({ compName: e3, effectName: t3, propertyName: r3, infoLink: Ot(r3) })), false) : !!m3.find((e4) => e4 === t3) || (t3 && !(t3 in Lt) ? (o(p({ propertyName: r3, compName: e3, effectName: t3, infoLink: Ot(r3) })), false) : !!a3(t3, n3));
          })({ compName: a2.role }), [y2, h2] = s2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (o2, a3) => {
            if (c2({ hidden: true }), y2.collapsed || y2.hidden) h2({ hidden: true });
            else {
              if (d2({ effectName: o2, effectOptions: a3, propertyName: "hide" })) {
                const e3 = { animationDirection: Et.HIDE.suffix, effectName: o2, effectOptions: { ...Tt?.[o2] || Ct, ...a3 } };
                await Promise.all([m2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else n2(u2.getHiddenStyles()), t2 && r2.setStyles(u2.getHiddenStyles());
              h2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (o2, a3) => {
            if (c2({ hidden: false }), !y2.collapsed && y2.hidden) {
              if (d2({ effectName: o2, effectOptions: a3, propertyName: "show" })) {
                const e3 = { animationDirection: Et.SHOW.suffix, effectName: o2, effectOptions: { ...Tt?.[o2] || Ct, ...a3 } };
                await Promise.all([m2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else n2(u2.getShownStyles()), t2 && r2.setStyles(u2.getShownStyles());
              h2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else h2({ hidden: false });
          }, collapse: async () => {
            c2({ collapsed: true }), y2.collapsed || (n2(u2.getCollapsedStyles()), t2 && r2.setStyles(u2.getCollapsedStyles()), h2({ collapsed: true }), y2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (c2({ collapsed: false }), y2.collapsed) {
              const o2 = { ...u2.getExpandedStyles(), visibility: y2.hidden ? "hidden" : null };
              n2(o2), t2 && r2.setStyles(o2), h2({ collapsed: false }), y2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return y2.collapsed;
          }, get hidden() {
            return Boolean(y2.hidden);
          }, get isVisible() {
            if (!a2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, At = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return xt([Dt({ viewportState: n2, hasPortal: t3 }), It((e4, t4) => {
            o2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), Mt = (e2, t2, o2) => {
          const r2 = t2.filter((t3) => !e2.includes(t3));
          r2.length && n(W({ functionName: o2, wrongEffects: r2, allowedEffects: e2 }));
        }, Ft = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            Mt(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            Mt(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            Mt(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Rt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Ut = (e2, t2) => "string" != typeof e2 ? (Ht(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Bt(e2, t2), false), Ht = (e2, t2, o2, r2) => {
          n(H({ propertyName: e2, functionName: t2, value: o2, expectedType: r2 }));
        }, qt = (e2, t2) => {
          n(v({ propertyName: e2, functionName: t2 }));
        }, Bt = (e2, t2) => {
          n(Y({ propertyName: e2, functionName: t2 }));
        }, Wt = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const n2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Ut(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else qt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void qt("className", "customClassList.remove");
            const n2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!Ut(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return Ut(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            qt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Ut(t3, "customClassList.replace") || !Ut(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (n(g({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Ut(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (qt("className", "customClassList.toggle"), false);
          } } };
        }, Xt = (e2) => ({ onMouseIn: (t2) => bt("onMouseEnter", e2, t2), onMouseOut: (t2) => bt("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: r2 } = e2;
          return "string" != typeof t2 ? (n(H({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), r2()) : "function" != typeof o2 ? (n(H({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), r2()) : ((e3, t3, n2) => {
            const { metaData: o3, getSdkInstance: r3 } = t3, [a2, i2] = vt(t3), m2 = a2.listeners.filter((t4) => $t(t4.eventName, e3) && t4.cb === n2 && t4.compId === o3.compId);
            for (const e4 of m2) e4.unregister();
            return i2({ listeners: a2.listeners.filter((e4) => !m2.includes(e4)) }), r3();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return (({ role: e3, compType: t2, isGlobal: n2, isRendered: o2 }) => ({ id: e3, type: `$w.${t2}`, global: n2(), rendered: o2() }))(e2.metaData);
        } }), Yt = It();
        xt([wt, Yt, Xt, Ft, Wt]);
        var Gt = { randomUUID: "undefined" != typeof crypto && crypto.randomUUID && crypto.randomUUID.bind(crypto) };
        let Kt;
        const _t = new Uint8Array(16);
        function zt() {
          if (!Kt && (Kt = "undefined" != typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !Kt)) throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
          return Kt(_t);
        }
        const Jt = [];
        for (let e2 = 0; e2 < 256; ++e2) Jt.push((e2 + 256).toString(16).slice(1));
        function Zt(e2, t2 = 0) {
          return Jt[e2[t2 + 0]] + Jt[e2[t2 + 1]] + Jt[e2[t2 + 2]] + Jt[e2[t2 + 3]] + "-" + Jt[e2[t2 + 4]] + Jt[e2[t2 + 5]] + "-" + Jt[e2[t2 + 6]] + Jt[e2[t2 + 7]] + "-" + Jt[e2[t2 + 8]] + Jt[e2[t2 + 9]] + "-" + Jt[e2[t2 + 10]] + Jt[e2[t2 + 11]] + Jt[e2[t2 + 12]] + Jt[e2[t2 + 13]] + Jt[e2[t2 + 14]] + Jt[e2[t2 + 15]];
        }
        var Qt = function(e2, t2, n2) {
          if (Gt.randomUUID && !t2 && !e2) return Gt.randomUUID();
          const o2 = (e2 = e2 || {}).random || (e2.rng || zt)();
          if (o2[6] = 15 & o2[6] | 64, o2[8] = 63 & o2[8] | 128, t2) ;
          return Zt(o2);
        };
        const en = /* @__PURE__ */ function(e2, t2, n2 = {}) {
          return (o2) => {
            const r2 = e2(o2), a2 = ce(o2.metaData.role), i2 = ce(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(r2).reduce((e3, m2) => {
              const s2 = Object.getOwnPropertyDescriptor(r2, m2), u2 = { enumerable: true, configurable: true };
              return s2.value ? "function" == typeof s2.value ? u2.value = (...e4) => {
                const r3 = t2.properties[m2] && t2.properties[m2].args, a3 = n2[m2];
                let u3 = true;
                return r3 && (u3 = i2(e4, { type: ["array"], items: r3 }, m2)), u3 && a3 && (u3 = a3.every((t3) => t3(e4, o2))), u3 ? s2.value(...e4) : void 0;
              } : u2.value = s2.value : (s2.get && (u2.get = () => r2[m2]), s2.set && (u2.set = (e4) => {
                const i3 = n2[m2];
                let s3 = true;
                t2.properties[m2] && (s3 = a2(e4, t2.properties[m2], m2)), s3 && i3 && (s3 = i3.every((t3) => t3(e4, o2))), s3 && (r2[m2] = e4);
              })), Object.defineProperty(e3, m2, u2), e3;
            }, {});
          };
        }((e2) => {
          let { setProps: t2, props: n2, registerEvent: o2, createSdkState: r2 } = e2;
          const [a2, i2] = r2({});
          o2("handleEvents", (e3) => {
            a2[e3.type] && a2[e3.type].forEach((t3) => t3(e3));
          });
          const m2 = function(e3, n3) {
            a2[e3] ? i2({ [e3]: [...a2[e3], n3] }) : i2({ [e3]: [n3] }), t2({ events: Object.keys(a2) });
          };
          return { get seoMarkup() {
            return n2.seoMarkup;
          }, set seoMarkup(e3) {
            t2({ seoMarkup: e3 });
          }, setAttribute(e3, o3) {
            t2({ attributes: { ...n2.attributes, [e3]: o3 } });
          }, on: m2, setDirectMethod(e3, o3) {
            const r3 = Qt();
            m2(e3 + "__" + r3, (e4) => {
              var t3, n3;
              const r4 = null != (t3 = null == e4 || null == (n3 = e4.detail) ? void 0 : n3.args) ? t3 : [];
              o3(...r4);
            }), t2({ directMethods: { ...n2.directMethods, [e3]: r3 } });
          }, setDirectProp(e3, o3) {
            t2({ directProps: { ...n2.directProps, [e3]: o3 } });
          } };
        }, { properties: { seoMarkup: { type: ["string"] } } }), tn = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => xt([wt, Xt, Ft, Rt, e2 ? At(t2) : Yt, Wt]))(), nn = xt([tn, en]);
        var on = { factory: nn };
        return t;
      }();
    });
  })(CustomElementComponent_bundle_min);
  var CustomElementComponent_bundle_minExports = CustomElementComponent_bundle_min.exports;
  const CustomElementComponent = /* @__PURE__ */ getDefaultExportFromCjs(CustomElementComponent_bundle_minExports);
  var DatePicker_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, a2) {
          for (var n2 in a2) e.o(a2, n2) && !e.o(t2, n2) && Object.defineProperty(t2, n2, { enumerable: true, get: a2[n2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { DEFAULT_TIMEOUT: function() {
          return Wa;
        }, accessibilityPropsSDKFactory: function() {
          return Qa;
        }, default: function() {
          return tn;
        }, sdk: function() {
          return en;
        } });
        function a(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function n(e2) {
          return "string" == typeof e2;
        }
        function r(e2) {
          return Array.isArray(e2);
        }
        function i(e2) {
          return null == e2;
        }
        function o(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function l(e2, t2) {
          return e2 < t2;
        }
        const d = { valueMissing: "value missing", patternMismatch: "pattern mismatch", rangeOverflow: "range overflow", rangeUnderflow: "range underflow", stepMismatch: "step mismatch", typeMismatch: "type mismatch", fileNotUploaded: "file not uploaded", fileTypeNotAllowed: (e2) => `${e2} files are not supported.`, fileSizeExceedsLimit: (e2) => `This file is too big. Select a smaller file (${e2} max).`, tooLong: "too long", tooShort: "too short", exceedsFilesLimit: "number of files selected exceeds the limit", invalidTime: "invalid time", invalidDate: "invalid date" }, u = { type: "General", validity: { badInput: false, customError: false, fileNotUploaded: false, fileTypeNotAllowed: false, fileSizeExceedsLimit: false, patternMismatch: false, rangeOverflow: false, rangeUnderflow: false, stepMismatch: false, tooLong: false, tooShort: false, typeMismatch: false, valueMissing: false, exceedsFilesLimit: false, valid: true, invalidTime: false, invalidDate: false }, validationMessage: "", htmlValidationMessageOverride: { key: "" } }, p = (e2) => !!e2.validity.customError ? e2.validationMessage : "", m = (e2, t2, a2) => ({ ...e2, validity: { ...e2.validity, [t2]: true, valid: false }, validationMessage: a2 }), c = (e2, t2, a2) => {
          const r2 = e2.validationMessage || a2 || ((e3, t3) => {
            const a3 = d[e3];
            return n(a3) ? a3 : a3(t3);
          })(t2);
          return m(e2, t2, r2);
        }, f = { validationData: u, customValidators: [() => {
        }] }, y = "validation", h = ({ createSdkState: e2 }) => {
          const [t2] = e2(f, y);
          return t2.validationData;
        }, b = (e2) => new Date(e2.getTime() + 864e5);
        class g {
          constructor(e2) {
            switch (e2.type) {
              case "Specific":
                this.year = e2.year, this.month = e2.month, this.day = e2.day;
                break;
              case "Date":
                const t2 = "Local" === e2.timeZone ? e2.date : new Date(new v(e2.timeZone).retrieveDateString(e2.date));
                this.year = t2.getFullYear(), this.month = t2.getMonth() + 1, this.day = t2.getDate();
                break;
              default:
                let a2;
                a2 = "Local" !== e2.timeZone ? new Date(new v(e2.timeZone).retrieveDateString(new Date(Date.now()))) : new Date(Date.now()), this.year = a2.getFullYear(), this.month = a2.getMonth() + 1, this.day = a2.getDate();
            }
          }
          getYear() {
            return this.year;
          }
          getMonth() {
            return this.month;
          }
          getDay() {
            return this.day;
          }
          getAsDate(e2) {
            return new Date("Local" === e2 ? `${this.year}/${this.month}/${this.day} 00:00:00` : new v(e2).format({ year: this.year, month: this.month, day: this.day }));
          }
          eq(e2) {
            return 0 === this.equality(e2);
          }
          gt(e2) {
            return this.equality(e2) > 0;
          }
          lt(e2) {
            return this.equality(e2) < 0;
          }
          equality(e2) {
            return this.year - e2.year != 0 ? this.year - e2.year : this.month - e2.month != 0 ? this.month - e2.month : this.day - e2.day;
          }
        }
        class v {
          constructor(e2) {
            if (!v.isTimeZoneValid(e2)) throw new N();
            this.timeZone = e2;
          }
          static isTimeZoneValid(e2) {
            try {
              return new Intl.DateTimeFormat("en-US", { timeZone: e2 }), true;
            } catch (e3) {
              return false;
            }
          }
          format({ year: e2, month: t2, day: a2, time: n2 }) {
            const r2 = n2 || "00:00:00";
            return `${e2}/${t2}/${a2} ${n2 || "00:00:00"} ${this.calculateGMT({ year: e2, month: t2, day: a2, time: r2 })}`;
          }
          retrieveDateString(e2) {
            return new Intl.DateTimeFormat("en-US", { timeZone: this.timeZone }).format(e2);
          }
          parseGMT(e2) {
            const t2 = (e3, t3) => new Intl.DateTimeFormat("en-US", { timeZone: t3, year: "2-digit", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", hour12: true }).format(e3), a2 = /* @__PURE__ */ new Date(`${t2(e2, "UTC")} UTC`), n2 = ((/* @__PURE__ */ new Date(`${t2(e2, this.timeZone)} UTC`)).getTime() - a2.getTime()) / 36e5, r2 = Math.floor(n2) !== n2 ? `${Math.floor(n2)}:${60 * (n2 - Math.floor(n2))}` : `${n2}`;
            return "GMT" + (n2 < 0 ? `${r2}` : `+${r2}`);
          }
          getDayAtTimeDate(e2, t2) {
            return /* @__PURE__ */ new Date(`${this.retrieveDateString(e2)} ${t2} ${this.parseGMT(e2)}`);
          }
          calculateGMT({ year: e2, month: t2, day: a2, time: n2 }) {
            let r2 = /* @__PURE__ */ new Date(`${e2}/${t2}/${a2}`);
            r2.setDate(r2.getDate() - 2), r2 = this.getDayAtTimeDate(r2, n2);
            for (let n3 = 0; n3 < 4 && this.retrieveDateString(r2) !== `${t2}/${a2}/${e2}`; n3++) r2 = b(r2);
            const i2 = this.parseGMT(r2);
            return i2 || "";
          }
          toString() {
            return this.timeZone;
          }
        }
        class N extends Error {
          constructor(e2) {
            super("Bad time zone" + (e2 ? `: ${e2}` : ""));
          }
        }
        const D = (e2) => {
          const t2 = ((e3) => new Date(e3))(e2);
          return t2.setHours(0, 0, 0, 0), t2;
        }, w = ({ disabledDates: e2, date: t2 }) => e2.some((e3) => {
          return a2 = t2, D(e3).getTime() === D(a2).getTime();
          var a2;
        }), A = (e2, t2) => e2.map(({ startDate: e3, endDate: a2 }) => ({ startDate: t2(e3), endDate: t2(a2) })), $ = (e2) => D(new Date(e2)), x = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, I = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, S = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, T = ({ propertyName: e2, compName: t2, effectName: a2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${a2}" effect because it is an invalid effectName value. Read more about effects: "${n2}"')`, C = ({ propertyName: e2, compName: t2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${a2}"')`, V = ({ propertyName: e2, compName: t2, effectName: a2, wrongProperty: n2, wrongValue: r2, infoLink: i2 }) => `The "${e2}" function called on "${t2}" was executed without the "${a2}" effect because it was called with the following invalid effectOptions ${n2}: ${r2}. Read more about the effectOptions object: "${i2}"')`, O = ({ propertyName: e2, compName: t2, effectName: a2, infoLink: n2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${a2}". Read more about effects: "${n2}"`, k = ({ propertyName: e2, compName: t2, effectName: a2, wrongValue: n2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${a2}" effect because the it was called with the following invalid effectOptions "${n2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${r2}"'`, L = ({ propertyName: e2, functionName: t2, compName: a2 }) => `The ${e2} parameter of "${a2}" that is passed to the ${t2} method cannot be set to null.`, P = ({ propertyName: e2, functionName: t2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to null or undefined.`, E = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, R = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, M = ({ propertyName: e2, functionName: t2, index: a2 }) => `The ${e2} parameter of item at index ${a2} is required for ${t2} method.`, j = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, Z = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, B = ({ propertyName: e2, functionName: t2, index: a2 }) => `The ${e2} parameter of item at index ${a2} is not allowed for ${t2} method.`, F = ({ propertyNames: e2, functionName: t2, index: a2 }) => `The following parameters: ${[...e2]} of item at index ${a2} are unknown for ${t2} method.`, q = ({ propertyName: e2, functionName: t2, value: a2, minimum: n2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${a2}". Its length must be between ${n2} and ${r2}.`, Y = ({ propertyName: e2, functionName: t2, value: a2, minimum: n2, maximum: r2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${a2}". Its length must be between ${n2} and ${r2}.`, H = ({ propertyName: e2, functionName: t2, value: a2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${a2}". Its length must be ${n2}.`, W = ({ propertyName: e2, functionName: t2, value: a2, expectedValue: n2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${a2}". Its length must be ${n2}.`, U = ({ propertyName: e2, functionName: t2, value: a2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${a2}" because its length is shorter than ${n2}.`, G = ({ propertyName: e2, functionName: t2, value: a2, minimum: n2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${a2}" because its length is shorter than ${n2}.`, _ = ({ propertyName: e2, functionName: t2, value: a2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${a2}" because its length exceeds ${n2}.`, K = ({ propertyName: e2, functionName: t2, value: a2, maximum: n2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${a2}" because its length exceeds ${n2}.`, z = ({ propertyName: e2, functionName: t2, value: a2, minimum: n2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${a2}". It must be between ${n2} and ${r2}.`, X = ({ propertyName: e2, functionName: t2, value: a2, minimum: n2, maximum: r2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${a2}". It must be between ${n2} and ${r2}.`, J = ({ propertyName: e2, functionName: t2, value: a2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${a2}". It must be ${n2}.`, Q = ({ propertyName: e2, functionName: t2, value: a2, expectedValue: n2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${a2}". It must be ${n2}.`, ee = ({ propertyName: e2, functionName: t2, value: a2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${a2}. It must be larger than ${n2}.`, te = ({ propertyName: e2, functionName: t2, value: a2, minimum: n2, index: r2 }) => `The value of ${e2} parameter of item at ${r2} that is passed to the ${t2} method cannot be set to the value ${a2}. It must be larger than ${n2}.`, ae = ({ propertyName: e2, functionName: t2, value: a2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${a2}. It must be less than ${n2}.`, ne = ({ propertyName: e2, functionName: t2, value: a2, maximum: n2, index: r2 }) => `The value of ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value ${a2}. It must be less than ${n2}.`, re = ({ propertyName: e2, functionName: t2, value: a2, expectedType: n2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${a2}. It must be of type ${n2}.`, ie = ({ propertyName: e2, functionName: t2, value: a2, expectedType: n2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value ${a2}. It must be of type ${n2}.`, oe = ({ propertyName: e2, functionName: t2, value: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${a2}. Bad format`, se = ({ functionName: e2, wrongEffects: t2, allowedEffects: a2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${a2.join('", "')}".`, le = ({ propertyName: e2, functionName: t2, value: a2, index: n2 }) => `The "${e2}" property of the item at index ${n2} that is passed to the ${t2} method cannot be set to "${a2}". Bad format`, de = ({ keyName: e2, propertyName: t2, index: a2, functionName: n2, wrongValue: r2, message: i2 }) => `The value of ${e2} of item at index ${a2} in ${t2} parameter that is passed to the ${n2} method cannot be set to the value ${r2}. ${i2}`, ue = ({ timeZoneIANA: e2 }) => `Invalid IANA time zone specified: "${e2}"`, pe = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, me = ({ compName: e2, functionName: t2, propertyName: n2, index: r2 }) => a(r2) ? P({ propertyName: n2, functionName: t2, index: r2 }) : e2 ? L({ compName: e2, functionName: t2, propertyName: n2 }) : S({ functionName: t2, propertyName: n2 }), ce = ({ functionName: e2, propertyName: t2, index: n2 }) => a(n2) ? M({ functionName: e2, propertyName: t2, index: n2 }) : E({ functionName: e2, propertyName: t2 }), fe = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? a(n2) ? F({ functionName: e2, propertyNames: t2, index: n2 }) : Z({ functionName: e2, propertyNames: t2 }) : a(n2) ? B({ functionName: e2, propertyName: t2[0], index: n2 }) : j({ functionName: e2, propertyName: t2[0] }), ye = ({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: i2, index: o2 }) => i2 && r2 ? i2 === r2 ? a(o2) ? W({ functionName: e2, propertyName: t2, value: n2, expectedValue: i2, index: o2 }) : H({ functionName: e2, propertyName: t2, value: n2, expectedValue: i2 }) : a(o2) ? Y({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: i2, index: o2 }) : q({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: i2 }) : !i2 && r2 ? a(o2) ? K({ functionName: e2, propertyName: t2, value: n2, maximum: r2, index: o2 }) : _({ functionName: e2, propertyName: t2, value: n2, maximum: r2 }) : a(o2) ? G({ functionName: e2, propertyName: t2, value: n2, minimum: i2, index: o2 }) : U({ functionName: e2, propertyName: t2, value: n2, minimum: i2 }), he = ({ functionName: e2, propertyName: t2, value: n2, minimum: r2, maximum: i2, index: o2 }) => r2 && i2 ? r2 === i2 ? a(o2) ? Q({ functionName: e2, propertyName: t2, expectedValue: r2, value: n2, index: o2 }) : J({ functionName: e2, propertyName: t2, expectedValue: r2, value: n2 }) : a(o2) ? X({ functionName: e2, propertyName: t2, value: n2, maximum: i2, minimum: r2, index: o2 }) : z({ functionName: e2, propertyName: t2, value: n2, maximum: i2, minimum: r2 }) : !r2 && i2 ? a(o2) ? ne({ functionName: e2, propertyName: t2, maximum: i2, value: n2, index: o2 }) : ae({ functionName: e2, propertyName: t2, maximum: i2, value: n2 }) : a(o2) ? te({ functionName: e2, propertyName: t2, value: n2, minimum: r2, index: o2 }) : ee({ functionName: e2, propertyName: t2, value: n2, minimum: r2 }), be = ({ functionName: e2, propertyName: t2, types: n2, value: r2, index: i2 }) => {
          const o2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return a(i2) ? ie({ functionName: e2, index: i2, propertyName: t2, value: r2, expectedType: o2 }) : re({ functionName: e2, propertyName: t2, value: r2, expectedType: o2 });
        }, ge = ({ functionName: e2, propertyName: t2, value: n2, enum: r2, index: i2 }) => {
          const o2 = `from (${r2.join(",")})`;
          return a(i2) ? ie({ functionName: e2, propertyName: t2, value: n2, expectedType: o2, index: i2 }) : re({ functionName: e2, propertyName: t2, value: n2, expectedType: o2 });
        }, ve = ({ functionName: e2, propertyName: t2, value: n2, index: r2 }) => a(r2) ? le({ functionName: e2, propertyName: t2, value: n2, index: r2 }) : oe({ functionName: e2, propertyName: t2, value: n2 }), Ne = Object.prototype.hasOwnProperty, De = Object.getOwnPropertyNames, we = () => {
        };
        function Ae(e2, t2, a2, n2, i2, o2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !r(e3);
          }(e2)) return Se.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => Ae(e2, t3, a2, we, i2, o2)).filter((e3) => e3 === Se.Valid).length ? Se.Valid : Se.Invalid;
          if (t2.required) {
            for (let a3 = 0; a3 < t2.required.length; a3++) if (!Ne.call(e2, t2.required[a3])) return n2(ce({ functionName: o2.functionName, index: o2.index, propertyName: t2.required[a3] }), { ...o2, value: e2 }), Se.Invalid;
          }
          const s2 = De(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = De(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return n2(fe({ functionName: o2.functionName, index: o2.index, propertyNames: t3 })), Se.Invalid;
            }
          }
          for (let n3 = 0; n3 < s2.length; n3++) {
            const r2 = s2[n3];
            if (Ne.call(e2, r2)) {
              const n4 = t2.properties[r2], i3 = e2[r2];
              if (!a2(i3, n4, { functionName: o2.functionName, index: o2.index, propertyName: r2 })) return Se.Invalid;
            }
          }
          return Se.Valid;
        }
        function $e(e2) {
          return Array.isArray(e2);
        }
        function xe(e2, t2, n2, r2) {
          const { minimum: i2, maximum: d2, enum: u2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? u2 && !o(e2, u2) ? (n2(ge({ value: e2, enum: u2, ...r2 }), { ...r2, value: e2 }), Se.Invalid) : a(i2) && l(e2, i2) || a(d2) && s(e2, d2) ? (n2(he({ value: e2, minimum: i2, maximum: d2, ...r2 }), { ...r2, value: e2 }), Se.Invalid) : Se.Valid : Se.InvalidType;
        }
        function Ie(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? Se.Valid : Se.InvalidType;
        }
        const Se = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function Te({ reportError: e2, reportWarning: t2 }, d2, { suppressIndexErrors: u2 = false } = {}) {
          function p2(a2, n2, r2) {
            n2.warnIfNil && i(a2) && t2(me({ ...r2, compName: d2 }), { ...r2, value: a2 });
            let o2 = 0;
            for (; o2 < n2.type.length; o2++) {
              const e3 = (0, m2[n2.type[o2]])(a2, n2, r2);
              if (e3 !== Se.InvalidType) return e3 === Se.Valid;
            }
            return o2 === n2.type.length && e2(be({ value: a2, types: n2.type, ...r2 }), { ...r2, value: a2 }), false;
          }
          const m2 = { object: (a2, n2, r2) => Ae(a2, n2, p2, e2, t2, r2), array: (e3, t3, a2) => function(e4, t4, a3, n2, i2, o2 = false) {
            if (!r(e4)) return Se.InvalidType;
            let s2 = Se.Valid;
            if (t4.items) {
              const n3 = $e(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let r2 = 0; r2 < n3; r2++) {
                const n4 = e4[r2];
                let l2, d3;
                $e(t4.items) ? (l2 = t4.items[r2], d3 = t4.items[r2].name) : (l2 = t4.items, d3 = t4.name), a3(n4, l2, { functionName: i2.functionName, propertyName: d3 || i2.propertyName, index: o2 ? void 0 : r2 }) || (s2 = Se.Invalid);
              }
            }
            return s2;
          }(e3, t3, p2, 0, a2, u2), number: (t3, n2, r2) => function(e3, t4, n3, r3) {
            const { minimum: i2, maximum: d3, enum: u3 } = t4;
            return a(e3) ? u3 && !o(e3, u3) ? (n3(ge({ value: e3, enum: u3, ...r3 }), { ...r3, value: e3 }), Se.Invalid) : a(i2) && l(e3, i2) || a(d3) && s(e3, d3) ? (n3(he({ value: e3, minimum: i2, maximum: d3, ...r3 }), { ...r3, value: e3 }), Se.Invalid) : Se.Valid : Se.InvalidType;
          }(t3, n2, e2, r2), integer: (t3, a2, n2) => xe(t3, a2, e2, n2), string: (t3, a2, r2) => function(e3, t4, a3, r3) {
            const { minLength: i2, maxLength: d3, enum: u3, pattern: p3 } = t4;
            return n(e3) ? u3 && !o(e3, u3) ? (a3(ge({ value: e3, enum: u3, ...r3 }), { ...r3, value: e3 }), Se.Invalid) : i2 && l(e3.length, i2) || d3 && s(e3.length, d3) ? (a3(ye({ value: e3, minimum: i2, maximum: d3, ...r3 }), { ...r3, value: e3 }), Se.Invalid) : p3 && !new RegExp(p3).test(e3) ? (a3(ve({ value: e3, ...r3 }), { ...r3, value: e3 }), Se.Invalid) : Se.Valid : Se.InvalidType;
          }(t3, a2, e2, r2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? Se.Valid : Se.InvalidType;
          }(e3), date: (e3) => Ie(e3), nil: (e3) => function(e4) {
            return i(e4) ? Se.Valid : Se.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? Se.Valid : Se.InvalidType;
          }(e3) };
          return function(e3, t3, a2) {
            return p2(e3, t3, { functionName: a2, propertyName: a2, index: void 0 });
          };
        }
        function Ce(e2, { suppressIndexErrors: t2 = false } = {}) {
          return Te({ reportError: x, reportWarning: I }, e2, { suppressIndexErrors: t2 });
        }
        function Ve(e2, t2, a2 = {}) {
          return (n2) => {
            const r2 = e2(n2), i2 = Ce(n2.metaData.role), o2 = Ce(n2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(r2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(r2, s2), d2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? d2.value = (...e4) => {
                const r3 = t2.properties[s2] && t2.properties[s2].args, i3 = a2[s2];
                let d3 = true;
                return r3 && (d3 = o2(e4, { type: ["array"], items: r3 }, s2)), d3 && i3 && (d3 = i3.every((t3) => t3(e4, n2))), d3 ? l2.value(...e4) : void 0;
              } : d2.value = l2.value : (l2.get && (d2.get = () => r2[s2]), l2.set && (d2.set = (e4) => {
                const o3 = a2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = i2(e4, t2.properties[s2], s2)), l3 && o3 && (l3 = o3.every((t3) => t3(e4, n2))), l3 && (r2[s2] = e4);
              })), Object.defineProperty(e3, s2, d2), e3;
            }, {});
          };
        }
        const Oe = "click", ke = "dblClick", Le = "mouseenter", Pe = "mouseleave", Ee = "change", Re = "blur", Me = "focus", je = "imageChanged", Ze = "imageExpanded", Be = "onInput", Fe = "itemClicked", qe = "cellSelect", Ye = "cellEdit", He = "rowSelect", We = "fetchData", Ue = "dataChange", Ge = "onTimeout", _e = "onVerified", Ke = "onError", ze = "onPlay", Xe = "onPause", Je = "onProgress", Qe = "onEnded", et = "autoplayOff", tt = "autoplayOn", at = "playEnded", nt = "playProgress", rt = "keyPress", it = "keyUp", ot = "keyDown", st = "screenIn", lt = "viewportEnter", dt = "viewportLeave", ut = "scroll", pt = "validate", mt = "setCustomValidity", ct = "syncValidationData", ft = "updateValidityIndication", yt = "message", ht = "uploadComplete", bt = "itemReady", gt = "itemRemoved", vt = "tagClick", Nt = "quickActionBarItemClicked", Dt = "markerClicked", wt = "mapClicked", At = "iconMouseIn", $t = "onStateChange", xt = "itemMouseIn", It = "itemMouseOut", St = "itemMouseClick", Tt = "itemMouseDblClick", Ct = "onColorChange", Vt = "onFontChange", Ot = "onOpacityChange", kt = { [Oe]: "onClick", [ke]: "onDblClick", [Le]: "onMouseIn", [Pe]: "onMouseOut", [Ee]: "onChange", [Be]: "onInput", [Re]: "onBlur", [Me]: "onFocus", [je]: "onCurrentItemChanged", [Ze]: void 0, [Fe]: "onItemClicked", [qe]: "onCellSelect", [Ye]: void 0, [He]: "onRowSelect", [We]: void 0, [Ue]: "onDataChange", [Ge]: "onTimeout", [_e]: "onVerified", [Ke]: "onError", [ze]: "onPlay", [Xe]: "onPause", [Je]: "onProgress", [Qe]: "onEnded", [et]: "onPause", [tt]: "onPlay", [at]: void 0, [nt]: void 0, [rt]: "onKeyPress", [it]: "onKeyUp", [ot]: "onKeyDown", [st]: void 0, [lt]: "onViewportEnter", [dt]: "onViewportLeave", [ut]: void 0, [pt]: void 0, [mt]: void 0, [ct]: void 0, [ft]: void 0, [yt]: "onMessage", [ht]: void 0, [bt]: "onItemReady", [gt]: "onItemRemoved", [vt]: void 0, [Nt]: "onItemClicked", [Dt]: "onMarkerClicked", [wt]: "onMapClicked", [At]: void 0, [$t]: "onStateChange", [xt]: "onItemMouseIn", [It]: "onItemMouseOut", [St]: "onItemClick", [Tt]: "onItemDblClick", [Ct]: "onColorChange", [Vt]: "onFontChange", [Ot]: "onOpacityChange" }, Lt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Pt = (e2) => {
          const { target: t2, type: a2, context: n2 } = e2;
          return { target: t2, type: Lt[a2] ?? a2, context: n2 };
        }, Et = (e2) => {
          const { clientX: t2, clientY: a2, pageX: n2, pageY: r2, screenX: i2, screenY: o2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: d2 } = s2;
          return { clientX: t2, clientY: a2, pageX: n2, pageY: r2, screenX: i2, screenY: o2, offsetX: l2, offsetY: d2 };
        }, Rt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Mt = (e2) => e2.replace(/^on/i, ""), jt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Zt = (e2, t2, a2, n2) => {
          const { create$w: r2, createEvent: i2, registerEvent: o2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, a3) => Ce(a3)(e3, { type: ["function"] }, t3))(a2, Rt[e2] ?? e2, l2.role)) return s2();
          const [d2, u2] = jt(t2), p2 = o2(e2, (e3, t3) => {
            const o3 = i2({ type: e3.type, compId: e3.compId }), s3 = r2({ context: o3.context }), l3 = n2?.({ componentEvent: e3, eventPayload: t3 });
            a2({ ...Pt(o3), ...l3 }, s3);
          }), m2 = { eventName: e2, compId: l2.compId, cb: a2, unregister: p2 };
          return u2({ listeners: [...d2.listeners, m2] }), s2();
        }, Bt = (e2, t2) => {
          const a2 = ((e3) => {
            const t3 = Object.entries(Rt).find(([t4, a3]) => Mt(a3.toLowerCase()) === Mt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(kt[t2] ?? t2);
          return e2.toLowerCase() === a2.toLowerCase();
        }, Ft = (e2, t2, a2, n2) => Zt(e2, t2, a2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...Et(e3), ...t3 && n2?.(t3) }));
        function qt(e2, t2) {
          const { modifyAriaSourceKeys: a2 } = t2 ?? {};
          return (t3) => {
            const n2 = {};
            for (let i2 = 0; i2 < e2.length; i2++) {
              const o2 = e2[i2](t3), s2 = Object.keys(o2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], i3 = Object.getOwnPropertyDescriptor(o2, t4);
                Object.defineProperty(n2, a2 && i3.get ? "aria" + (r2 = t4).charAt(0).toUpperCase() + r2.slice(1) : t4, i3);
              }
            }
            var r2;
            return n2;
          };
        }
        const Yt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: a2, connection: n2, compType: r2, isGlobal: i2, getParent: o2, role: s2, wixCodeId: l2 } = t2, d2 = `$w.${r2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return n2?.config;
          }, get uniqueId() {
            return a2;
          }, get parent() {
            return o2();
          }, get global() {
            return i2();
          }, get type() {
            return d2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(a2, t3));
          }, toJSON() {
            return { id: s2, type: d2, global: i2() };
          } };
        }, Ht = (e2) => (t2) => {
          const { metaData: a2, getSdkInstance: n2, create$w: r2, createEvent: i2 } = t2, o2 = (e3, t3) => Ce(a2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (a3) => o2(a3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = i2({ type: "viewportEnter" }), t3 = r2();
            a3(e3, t3);
          }), Zt("onViewportEnter", t2, a3)) : n2(), onViewportLeave: (a3) => o2(a3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = i2({ type: "viewportLeave" }), t3 = r2();
            a3(e3, t3);
          }), Zt("onViewportLeave", t2, a3)) : n2() };
        }, Wt = { duration: 1200, delay: 0 }, Ut = { arc: { ...Wt, direction: "left" }, bounce: { ...Wt, direction: "topLeft", intensity: "medium" }, puff: { ...Wt }, zoom: { ...Wt }, fade: { ...Wt }, flip: { ...Wt, direction: "right" }, float: { ...Wt, direction: "right" }, fly: { ...Wt, direction: "right" }, fold: { ...Wt, direction: "left" }, glide: { ...Wt, angle: 0, distance: 0 }, roll: { ...Wt, direction: "left" }, slide: { ...Wt, direction: "left" }, spin: { ...Wt, direction: "cw", cycles: 5 }, turn: { ...Wt, direction: "right" }, ArcIn: { ...Wt, direction: "right" }, ArcOut: { ...Wt, direction: "right" }, BounceIn: { ...Wt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Wt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Wt, direction: "right" }, CollapseOut: { ...Wt }, Conceal: { ...Wt, direction: "right" }, Reveal: { ...Wt, direction: "left" }, FadeIn: { ...Wt }, FadeOut: { ...Wt }, FlipIn: { ...Wt, direction: "left" }, FlipOut: { ...Wt, direction: "left" }, FloatIn: { ...Wt, direction: "right" }, FloatOut: { ...Wt, direction: "right" }, FlyIn: { ...Wt, direction: "right" }, FlyOut: { ...Wt, direction: "right" }, FoldIn: { ...Wt, direction: "left" }, FoldOut: { ...Wt, direction: "left" }, GlideIn: { ...Wt, angle: 0, distance: 150 }, GlideOut: { ...Wt, angle: 0, distance: 150 }, DropIn: { ...Wt }, PopOut: { ...Wt }, SlideIn: { ...Wt, direction: "left" }, SlideOut: { ...Wt, direction: "left" }, SpinIn: { ...Wt, direction: "cw", cycles: 2 }, SpinOut: { ...Wt, direction: "cw", cycles: 2 }, TurnIn: { ...Wt, direction: "right" }, TurnOut: { ...Wt, direction: "right" } }, Gt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, _t = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Kt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, zt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Xt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Jt = { arc: { type: ["object"], properties: { duration: Kt, delay: zt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Kt, delay: zt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Kt, delay: zt } }, zoom: { type: ["object"], properties: { duration: Kt, delay: zt } }, fade: { type: ["object"], properties: { duration: Kt, delay: zt } }, flip: { type: ["object"], properties: { duration: Kt, delay: zt, direction: Xt } }, float: { type: ["object"], properties: { duration: Kt, delay: zt, direction: Xt } }, fly: { type: ["object"], properties: { duration: Kt, delay: zt, direction: Xt } }, fold: { type: ["object"], properties: { duration: Kt, delay: zt, direction: Xt } }, glide: { type: ["object"], properties: { duration: Kt, delay: zt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Kt, delay: zt, direction: Xt } }, slide: { type: ["object"], properties: { duration: Kt, delay: zt, direction: Xt } }, spin: { type: ["object"], properties: { duration: Kt, delay: zt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Kt, delay: zt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Qt = ({ propertyName: e2, compName: t2 }) => (a2, n2) => {
          if (!a2) return false;
          if (void 0 === n2) return true;
          const r2 = (({ effectName: e3, propertyName: t3, compName: a3 }) => (n3, r3) => {
            I(k({ propertyName: t3, compName: a3, effectName: e3, wrongValue: `${r3?.value}`, infoLink: _t(t3) }));
          })({ effectName: a2, propertyName: e2, compName: t2 });
          if (!Te({ reportError: r2, reportWarning: () => ({}) }, t2)(n2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: a3 }) => (n3, r3) => {
            I(V({ propertyName: t3, compName: a3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${r3?.propertyName}" cannot be set to the value "${r3?.value}"`, infoLink: _t(t3) }));
          })({ effectName: a2, propertyName: e2, compName: t2 });
          return !!Te({ reportError: i2, reportWarning: () => ({}) }, t2)(n2, Jt[a2], e2);
        }, ea = (e2) => 0 === Object.keys(e2).length, ta = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: a2, portal: n2, metaData: r2, getSdkInstance: i2, runAnimation: o2, createSdkState: s2, styleUtils: l2, setProps: d2 }) => {
          const u2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: a3, propertyName: n3 }) => {
            const r3 = Qt({ propertyName: n3, compName: e3 });
            if (!t3 && !a3) return false;
            if (!t3 && a3 && !ea(a3)) return I(C({ propertyName: n3, compName: e3, infoLink: _t(n3) })), false;
            const i3 = "hide" === n3 ? "HIDE" : "SHOW", o3 = Gt[i3]?.deprecatedValues;
            return t3 && a3 && o3 && o3.find((e4) => e4 === t3) && !ea(a3) ? (I(O({ compName: e3, effectName: t3, propertyName: n3, infoLink: _t(n3) })), false) : !!o3.find((e4) => e4 === t3) || (t3 && !(t3 in Jt) ? (I(T({ propertyName: n3, compName: e3, effectName: t3, infoLink: _t(n3) })), false) : !!r3(t3, a3));
          })({ compName: r2.role }), [p2, m2] = s2({ hidden: r2.hiddenOnLoad, collapsed: r2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (r3, i3) => {
            if (d2({ hidden: true }), p2.collapsed || p2.hidden) m2({ hidden: true });
            else {
              if (u2({ effectName: r3, effectOptions: i3, propertyName: "hide" })) {
                const e3 = { animationDirection: Gt.HIDE.suffix, effectName: r3, effectOptions: { ...Ut?.[r3] || Wt, ...i3 } };
                await Promise.all([o2(e3), t2 ? n2.runAnimation(e3) : void 0]);
              } else a2(l2.getHiddenStyles()), t2 && n2.setStyles(l2.getHiddenStyles());
              m2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (r3, i3) => {
            if (d2({ hidden: false }), !p2.collapsed && p2.hidden) {
              if (u2({ effectName: r3, effectOptions: i3, propertyName: "show" })) {
                const e3 = { animationDirection: Gt.SHOW.suffix, effectName: r3, effectOptions: { ...Ut?.[r3] || Wt, ...i3 } };
                await Promise.all([o2(e3), t2 ? n2.runAnimation(e3) : void 0]);
              } else a2(l2.getShownStyles()), t2 && n2.setStyles(l2.getShownStyles());
              m2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else m2({ hidden: false });
          }, collapse: async () => {
            d2({ collapsed: true }), p2.collapsed || (a2(l2.getCollapsedStyles()), t2 && n2.setStyles(l2.getCollapsedStyles()), m2({ collapsed: true }), p2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (d2({ collapsed: false }), p2.collapsed) {
              const r3 = { ...l2.getExpandedStyles(), visibility: p2.hidden ? "hidden" : null };
              a2(r3), t2 && n2.setStyles(r3), m2({ collapsed: false }), p2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return p2.collapsed;
          }, get hidden() {
            return Boolean(p2.hidden);
          }, get isVisible() {
            if (!r2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, aa = (e2) => (t2) => ((e3, t3 = false) => {
          const [a2, n2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return qt([ta({ viewportState: a2, hasPortal: t3 }), Ht((e4, t4) => {
            n2({ [e4]: [...a2[e4], t4] });
          })])(e3);
        })(t2, e2), na = (e2, t2, a2) => {
          const n2 = t2.filter((t3) => !e2.includes(t3));
          n2.length && x(se({ functionName: a2, wrongEffects: n2, allowedEffects: e2 }));
        }, ra = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (a2) => {
            na(t2(), a2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...a2);
          }, removeEffects: (a2) => {
            na(t2(), a2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...a2);
          }, toggleEffects: (a2) => {
            na(t2(), a2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...a2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, ia = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), oa = (e2, t2) => "string" != typeof e2 ? (sa(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (da(e2, t2), false), sa = (e2, t2, a2, n2) => {
          x(re({ propertyName: e2, functionName: t2, value: a2, expectedType: n2 }));
        }, la = (e2, t2) => {
          x(E({ propertyName: e2, functionName: t2 }));
        }, da = (e2, t2) => {
          x(pe({ propertyName: e2, functionName: t2 }));
        }, ua = (e2) => {
          const { setProps: t2, props: a2 } = e2;
          return { customClassList: { get value() {
            return a2.customClassNames ? a2.customClassNames?.join(" ") : "";
          }, values() {
            return a2.customClassNames ? a2.customClassNames : [];
          }, add(...e3) {
            const n2 = a2.customClassNames ? new Set(a2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!oa(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else la("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void la("className", "customClassList.remove");
            const n2 = new Set(a2.customClassNames);
            for (const t3 of e3) {
              if (!oa(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return oa(e3, "customClassList.contains") ? !!a2.customClassNames && a2.customClassNames.includes(e3) : void 0;
            la("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!oa(t3, "customClassList.replace") || !oa(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (x(R({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!oa(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (la("className", "customClassList.toggle"), false);
          } } };
        }, pa = ({ role: e2, compType: t2, isGlobal: a2, isRendered: n2 }) => ({ id: e2, type: `$w.${t2}`, global: a2(), rendered: n2() }), ma = (e2) => ({ onMouseIn: (t2) => Ft("onMouseEnter", e2, t2), onMouseOut: (t2) => Ft("onMouseLeave", e2, t2), removeEventHandler: (t2, a2) => {
          const { getSdkInstance: n2 } = e2;
          return "string" != typeof t2 ? (x(re({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), n2()) : "function" != typeof a2 ? (x(re({ propertyName: "handler", functionName: "removeEventHandler", value: a2, expectedType: "function" })), n2()) : ((e3, t3, a3) => {
            const { metaData: n3, getSdkInstance: r2 } = t3, [i2, o2] = jt(t3), s2 = i2.listeners.filter((t4) => Bt(t4.eventName, e3) && t4.cb === a3 && t4.compId === n3.compId);
            for (const e4 of s2) e4.unregister();
            return o2({ listeners: i2.listeners.filter((e4) => !s2.includes(e4)) }), r2();
          })(t2, e2, a2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return pa(e2.metaData);
        } }), ca = Ht(), fa = (qt([Yt, ca, ma, ra, ua]), Ve(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(a2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: i(a2) ? void 0 : a2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } }));
        var ya;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(ya || (ya = {}));
        const ha = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, ba = (e2) => ga(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), ga = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), va = (e2, t2, a2, n2, r2) => r2 ? !!a2(r2) || (x(n2), false) : !!t2 || (x(be({ value: r2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), Na = (e2, t2 = true) => (a2) => va(e2, t2, ga, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, a2), Da = (e2, t2 = true) => (a2) => va(e2, t2, ba, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, a2), wa = Ve(({ setProps: e2, props: t2, create$w: a2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return a2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(a3) {
          e2(a3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: a3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [Da("describedBy")] }), Aa = Ve(({ setProps: e2, props: t2, create$w: a2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return a2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(a3) {
          e2(a3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: a3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [Da("labelledBy")] }), $a = Ve(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(a2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: i(a2) ? void 0 : String(a2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), xa = Ve(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(a2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: i(a2) ? void 0 : String(a2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Ia = Ve(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(a2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: i(a2) ? void 0 : String(a2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), Sa = Ve(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(a2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: i(a2) ? void 0 : String(a2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Ta = Ve(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(a2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: i(a2) ? void 0 : a2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), Ca = Ve(({ setProps: e2, props: t2, create$w: a2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return a2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(a3) {
          e2(a3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: a3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [Na("owns")] }), Va = Ve(({ setProps: e2, props: t2, create$w: a2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return a2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(a3) {
          e2(a3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: a3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [Na("controls")] }), Oa = Ve(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(a2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: i(a2) ? void 0 : a2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), ka = Ve(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(a2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: i(a2) ? void 0 : a2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), La = Ve(({ setProps: e2, props: t2, create$w: a2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return a2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(a3) {
          e2(a3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: a3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [Da("errorMessage")] }), Pa = Ve(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(a2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: i(a2) ? void 0 : String(a2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Ea = Ve(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(a2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: i(a2) ? void 0 : String(a2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), Ra = Ve(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(a2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: i(a2) ? void 0 : String(a2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Ma = Ve(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(a2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: i(a2) ? void 0 : String(a2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), ja = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(a2) {
          null === a2 || n(a2) ? e2({ screenReader: { ...t2.screenReader, prefix: a2 } }) : x(ha("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(a2) {
          null === a2 || n(a2) ? e2({ screenReader: { ...t2.screenReader, suffix: a2 } }) : x(ha("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(a2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: i(a2) ? void 0 : a2 } });
        } } }), Za = (Ve(ja, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), Ve(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: i(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), Ba = Ve(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: i(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), Fa = { enableAriaLabel: fa, enableAriaDescribedBy: wa, enableAriaLabelledBy: Aa, enableAriaAtomic: $a, enableAriaBusy: xa, enableAriaCurrent: Ia, enableAriaExpanded: Sa, enableAriaLive: Ta, enableAriaOwns: Ca, enableAriaControls: Va, enableAriaRoleDescription: Oa, enableAriaRelevant: ka, enableAriaErrorMessage: La, enableAriaHidden: Pa, enableAriaPressed: Ea, enableAriaHaspopup: Ra, enableAriaRequired: Ma }, qa = { enableScreenReader: ja, enableRole: Za, enableTabIndex: Ba }, Ya = Ve(({ setProps: e2, props: t2 }) => ({ get readOnly() {
          return t2.readOnly || false;
        }, set readOnly(t3) {
          e2({ readOnly: t3 });
        } }), { properties: { readOnly: { type: ["boolean"] } } }), Ha = Ve(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.label || "";
        }, set label(t3) {
          e2({ label: t3 || "" });
        } }), { properties: { label: { type: ["string", "nil"], warnIfNil: true } } });
        const Wa = 1e4, Ua = /* @__PURE__ */ ((e2, t2) => {
          const a2 = [];
          return { onValidate: (e3) => a2.push(e3), validate: ({ viewerSdkAPI: n2, showValidityIndication: r2 }) => {
            const { props: i2, metaData: { isRepeaterTemplate: o2 } } = n2;
            if (o2) return;
            const s2 = e2(i2, n2);
            let l2 = s2;
            const d2 = ((e3, t3, a3) => {
              let n3 = "";
              const r3 = (e4) => {
                n3 = e4;
              }, i3 = t3.value;
              return e3 && e3(i3, r3), n3;
            })((({ createSdkState: e3 }) => {
              const [{ customValidators: t3 }] = e3(f, y);
              return (e4, a3) => {
                let n3 = false;
                const r3 = (e5) => {
                  n3 = true, a3(e5);
                };
                for (let a4 = 0; a4 < t3.length && !n3; a4++) t3[a4](e4, r3);
              };
            })(n2), i2);
            d2 && (l2 = ((e3, t3) => m(e3, "customError", t3 || ""))(s2, d2)), a2.forEach((e3) => e3({ viewerSdkAPI: n2, showValidityIndication: r2, validationDataResult: l2 }));
          } };
        })((Ga = [(e2, t2) => !e2.required || e2.value ? t2 : c(t2, "valueMissing"), (e2, t2) => {
          const { timeZone: a2, disabledDaysOfWeek: n2, allowPastDates: r2, allowFutureDates: o2, useTodayAsDefaultValue: s2 } = e2, l2 = (({ value: e3, useTodayAsDefaultValue: t3, timeZone: a3 }) => t3 && !e3 ? new g({ type: "Now", timeZone: a3 || "Local" }).getAsDate("Local") : "string" == typeof e3 ? $(e3) : e3)({ value: e2.value, useTodayAsDefaultValue: s2, timeZone: a2 });
          return l2 && ((e3, { timeZone: t3, dayOfWeek: a3, todayDate: n3, enabledDateRanges: r3, disabledDateRanges: o3, disabledDates: s3, disabledDaysOfWeek: l3, minDate: d2, maxDate: u2, allowPastDates: p2, allowFutureDates: m2 }) => {
            if (!i(r3) && (({ enabledDateRanges: e4, date: t4 }) => {
              for (const { startDate: a4, endDate: n4 } of e4) if (a4 <= t4 && t4 <= n4) return false;
              return true;
            })({ date: e3, enabledDateRanges: r3 })) return true;
            if (!i(o3) && (({ disabledDateRanges: e4, date: t4 }) => {
              for (const { startDate: a4, endDate: n4 } of e4) if (a4 <= t4 && t4 <= n4) return true;
              return false;
            })({ date: e3, disabledDateRanges: o3 })) return true;
            if (!i(s3) && w({ date: e3, disabledDates: s3 })) return true;
            if (!i(d2) && e3 < new Date(d2)) return true;
            if (!i(u2) && e3 > new Date(u2)) return true;
            if (!i(p2) || !i(m2)) {
              if (i(n3) && (n3 = t3 ? new Date(new Date(Date.now()).toLocaleDateString("en-US", { timeZone: t3 })) : new Date(Date.now())), n3 = D(n3), !i(p2) && !p2 && e3 < n3) return true;
              if (!i(m2) && !m2 && e3 > n3) return true;
            }
            return !(!l3 || !(({ disabledDaysOfWeek: e4, dayOfWeek: t4 }) => e4.some((e5) => e5 === t4))({ dayOfWeek: a3 = i(a3) ? e3.getDay() : a3, disabledDaysOfWeek: l3 }));
          })(l2, { enabledDateRanges: e2.enabledDateRanges ? A(e2.enabledDateRanges, (e3) => $(e3)) : null, disabledDateRanges: e2.disabledDateRanges ? A(e2.disabledDateRanges, (e3) => $(e3)) : null, disabledDates: e2.disabledDates ? e2.disabledDates.map((e3) => $(e3)) : null, minDate: e2.minDate ? $(e2.minDate) : null, maxDate: e2.maxDate ? $(e2.maxDate) : null, disabledDaysOfWeek: n2, allowPastDates: r2, allowFutureDates: o2, timeZone: a2 }) ? ((e3, t3, a3) => {
            const n3 = e3.htmlValidationMessageOverride.key ? e3.htmlValidationMessageOverride : a3;
            return { ...c(e3, t3), htmlValidationMessageOverride: n3 };
          })(t2, "invalidDate", { key: "DATE_PICKER_INVALID_DATE" }) : t2;
        }], (e2, t2) => Ga.reduce((a2, n2) => n2(e2, a2, t2), u)));
        var Ga;
        const _a = ((e2) => {
          e2.onValidate(({ viewerSdkAPI: e3, validationDataResult: t2, showValidityIndication: a2 }) => {
            const { setProps: n2, compRef: r2 } = e3, i2 = h(e3), o2 = p(i2), s2 = p(t2), l2 = i2.htmlValidationMessageOverride.key, d2 = t2.htmlValidationMessageOverride.key;
            t2.validity.customError ? o2 !== s2 && r2.setCustomValidity({ type: "message", message: s2 }) : d2 ? (i2.validity.customError || l2 !== d2) && r2.setCustomValidity({ type: "key", key: d2 }) : o2 === s2 && l2 === d2 || r2.setCustomValidity({ type: "message", message: "" });
            const u2 = { isValid: t2.validity.valid, ...a2 && { shouldShowValidityIndication: true } };
            (({ createSdkState: e4 }, t3) => {
              const [, a3] = e4(f, y);
              a3({ validationData: t3 });
            })(e3, t2), n2(u2);
          });
          return Ve((t2) => {
            const { setProps: a2, props: n2, registerEvent: r2, metaData: { isRepeaterTemplate: i2 } } = t2;
            return i2 || (r2("validateValue", () => {
              e2.validate({ viewerSdkAPI: t2 });
            }), r2("validateValueAndShowIndication", (a3) => {
              const r3 = { ...n2, ...a3 }, i3 = { ...t2, props: r3 };
              e2.validate({ viewerSdkAPI: i3, showValidityIndication: true });
            }), r2("hideValidityIndication", () => {
              a2({ shouldShowValidityIndication: false });
            }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: false })), { get valid() {
              return h(t2).validity.valid;
            }, get validationMessage() {
              return h(t2).validationMessage;
            }, get validity() {
              return h(t2).validity;
            }, onCustomValidation(a3, n3 = true) {
              (({ createSdkState: e3 }, t3, a4 = true) => {
                const [{ customValidators: n4 }, r3] = e3(f, y);
                r3(a4 ? { customValidators: [t3] } : { customValidators: [...n4, t3] });
              })(t2, a3, n3), e2.validate({ viewerSdkAPI: t2 });
            }, updateValidityIndication() {
              a2({ shouldShowValidityIndication: true });
            }, resetValidityIndication() {
              a2({ shouldShowValidityIndication: false });
            } };
          }, { properties: { onCustomValidation: { type: ["function"], args: [{ type: ["function"] }, { type: ["boolean"] }] } } });
        })(Ua), Ka = Ve(/* @__PURE__ */ ((e2) => (t2) => ({ get required() {
          return t2.props.required || false;
        }, set required(a2) {
          t2.setProps({ required: a2 }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: a2 });
        } }))(Ua), { properties: { required: { type: ["boolean"] } } });
        const za = Ve((e2) => {
          const { props: t2, setProps: n2, metaData: r2, createSdkState: i2 } = e2, [o2, s2] = i2({ onViewChangeArgs: null, onViewChangeCbCounter: 1 });
          Zt("onViewChange", e2, async (e3) => {
            if (o2.onViewChangeArgs) {
              const { operation: t3, handler: a2 } = o2.onViewChangeArgs;
              t3 ? await (async (e4) => {
                const t4 = o2.onViewChangeCbCounter || 1;
                s2({ onViewChangeCbCounter: t4 + 1 });
                let a3 = o2.onViewChangeCbCounter;
                n2({ calendarLoading: true, calendarError: false });
                try {
                  var r3, i3;
                  const t5 = null == (r3 = o2.onViewChangeArgs) ? void 0 : r3.timeout, s3 = setTimeout(() => {
                    a3 === o2.onViewChangeCbCounter && (a3 = -1, n2({ calendarLoading: false, calendarError: true }));
                  }, t5), d2 = await (null == (i3 = o2.onViewChangeArgs) || null == i3.operation ? void 0 : i3.operation({ options: { startDate: e4.options.startDate, endDate: e4.options.endDate } }));
                  var l3;
                  clearTimeout(s3), a3 === o2.onViewChangeCbCounter && (null == (l3 = o2.onViewChangeArgs) || l3.handler({ ...e4, options: { ...e4.options, operationResult: d2 } }), n2({ calendarLoading: false }));
                } catch (e5) {
                  a3 === o2.onViewChangeCbCounter && n2({ calendarLoading: false, calendarError: true });
                }
              })({ ...e3, type: "onViewChange" }) : a2({ ...e3, options: { ...e3.options } });
            }
          }, (e3) => {
            let { componentEvent: t3 } = e3;
            return t3;
          });
          const l2 = { onViewChange: function(e3, t3, n3) {
            if ("function" != typeof e3 || !!t3 && "function" != typeof t3) {
              x(re({ functionName: "onViewChange", propertyName: "function" != typeof e3 ? "handler" : "operation", expectedType: "function", value: "function" != typeof e3 ? e3 : t3 }));
            } else s2({ onViewChangeArgs: { handler: e3, operation: t3, timeout: a(n3) ? n3 : Wa } });
          }, get timeZone() {
            return t2.timeZone;
          }, set timeZone(e3) {
            null === e3 || v.isTimeZoneValid(e3) ? n2({ timeZone: e3 }) : x(ue({ timeZoneIANA: e3 || "" }));
          }, get value() {
            const e3 = t2.timeZone;
            return t2.useTodayAsDefaultValue && !t2.value ? new g({ type: "Now", timeZone: e3 || "Local" }).getAsDate(e3 || "Local") : t2.value && e3 ? new g({ type: "Date", date: t2.value, timeZone: "Local" }).getAsDate(e3) : t2.value || null;
          }, set value(a2) {
            const r3 = t2.timeZone;
            a2 && (a2 = new g({ type: "Date", date: new Date(a2), timeZone: r3 || "Local" }).getAsDate("Local")), n2({ value: a2 ? new Date(a2) : a2 }), Ua.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get maxDate() {
            const e3 = t2.timeZone;
            let a2 = t2.maxDate ? new Date(t2.maxDate) : null;
            return a2 && e3 && (a2 = new g({ type: "Date", date: a2, timeZone: "Local" }).getAsDate(e3)), a2;
          }, set maxDate(a2) {
            var r3;
            const i3 = t2.timeZone;
            a2 && (a2 = new g({ type: "Date", date: a2, timeZone: i3 || "Local" }).getAsDate("Local")), n2({ maxDate: null == (r3 = a2) ? void 0 : r3.toISOString() }), Ua.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get minDate() {
            const e3 = t2.timeZone;
            let a2 = t2.minDate ? new Date(t2.minDate) : null;
            return a2 && e3 && (a2 = new g({ type: "Date", date: a2, timeZone: "Local" }).getAsDate(e3)), a2;
          }, set minDate(a2) {
            var r3;
            const i3 = t2.timeZone;
            a2 && (a2 = new g({ type: "Date", date: a2, timeZone: i3 || "Local" }).getAsDate("Local")), n2({ minDate: null == (r3 = a2) ? void 0 : r3.toISOString() }), Ua.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get disabledDates() {
            const e3 = t2.timeZone;
            let a2 = t2.disabledDates.map((e4) => new Date(e4));
            return a2 && e3 && (a2 = a2.map((t3) => new g({ type: "Date", date: t3, timeZone: "Local" }).getAsDate(e3))), a2;
          }, set disabledDates(a2) {
            const r3 = t2.timeZone;
            a2 && (a2 = a2.map((e3) => new g({ type: "Date", date: e3, timeZone: r3 || "Local" }).getAsDate("Local"))), n2({ disabledDates: (a2 || []).map((e3) => e3.toISOString()) }), Ua.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get enabledDateRanges() {
            const e3 = t2.timeZone;
            let a2 = t2.enabledDateRanges ? A(t2.enabledDateRanges, (e4) => new Date(e4)) : null;
            return a2 && e3 && (a2 = A(a2, (t3) => new g({ type: "Date", date: t3, timeZone: "Local" }).getAsDate(e3))), a2;
          }, set enabledDateRanges(a2) {
            const r3 = t2.timeZone;
            a2 && (a2 = A(a2, (e3) => new g({ type: "Date", date: e3, timeZone: r3 || "Local" }).getAsDate("Local"))), n2({ enabledDateRanges: a2 ? A(a2, (e3) => e3.toISOString()) : null }), Ua.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get disabledDateRanges() {
            const e3 = t2.timeZone;
            let a2 = A(t2.disabledDateRanges, (e4) => new Date(e4));
            return e3 && (a2 = A(a2, (t3) => new g({ type: "Date", date: t3, timeZone: "Local" }).getAsDate(e3))), a2;
          }, set disabledDateRanges(a2) {
            const r3 = t2.timeZone;
            a2 && (a2 = A(a2, (e3) => new g({ type: "Date", date: e3, timeZone: r3 || "Local" }).getAsDate("Local"))), n2({ disabledDateRanges: a2 ? A(a2, (e3) => e3.toISOString()) : [] }), Ua.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get disabledDaysOfWeek() {
            return t2.disabledDaysOfWeek;
          }, set disabledDaysOfWeek(t3) {
            n2({ disabledDaysOfWeek: t3 || [] }), Ua.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get dateFormat() {
            return t2.dateFormat;
          }, set dateFormat(e3) {
            n2({ dateFormat: e3 });
          }, toJSON() {
            const { readOnly: e3, required: a2 } = t2, { value: n3, maxDate: i3, minDate: o3, disabledDates: s3, disabledDaysOfWeek: d2, timeZone: u2, dateFormat: p2, enabledDateRanges: m2, disabledDateRanges: c2 } = l2;
            return { ...pa(r2), readOnly: e3, required: a2, value: n3, maxDate: i3, minDate: o3, disabledDates: s3, enabledDateRanges: m2, disabledDateRanges: c2, disabledDaysOfWeek: d2, timeZone: u2, dateFormat: p2 };
          } };
          return l2;
        }, { properties: { timeZone: { type: ["string", "nil"] }, value: { type: ["date", "nil"] }, maxDate: { type: ["date", "nil"] }, minDate: { type: ["date", "nil"] }, disabledDates: { type: ["array", "nil"], items: { type: ["date", "nil"], warnIfNil: true } }, enabledDateRanges: { type: ["array", "nil"], items: { type: ["object"], properties: { startDate: { type: ["date"] }, endDate: { type: ["date"] } }, required: ["startDate", "endDate"] } }, disabledDateRanges: { type: ["array", "nil"], items: { type: ["object"], properties: { startDate: { type: ["date"] }, endDate: { type: ["date"] } }, required: ["startDate", "endDate"] }, warnIfNil: true }, disabledDaysOfWeek: { type: ["array", "nil"], items: { type: ["number", "nil"], enum: [0, 1, 2, 3, 4, 5, 6], warnIfNil: true } }, dateFormat: { type: ["string"], enum: ["MM/DD/YYYY", "DD/MM/YYYY", "YYYY/MM/DD", "YYYY/M/D"] } } }, { enabledDateRanges: [(e2) => !!i(e2) || Xa({ rangeArray: e2, propertyName: "enabledDateRanges" })], disabledDateRanges: [(e2) => !!i(e2) || Xa({ rangeArray: e2, propertyName: "disabledDateRanges" })] }), Xa = (e2) => {
          let { rangeArray: t2, propertyName: a2 } = e2;
          for (let e3 = 0; e3 < t2.length; e3++) {
            const n2 = t2[e3];
            if (!(n2.startDate <= n2.endDate)) return x(de({ keyName: "startDate", propertyName: a2, index: e3, functionName: "set " + a2, wrongValue: '"' + n2.startDate + '"', message: 'Start date can not be greater than the end date which is "' + n2.endDate + '"' })), false;
          }
          return true;
        }, Ja = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => qt([Yt, ma, ra, ia, e2 ? aa(t2) : ca, ua]))({ useHiddenCollapsed: true, hasPortal: true }), Qa = (({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: a2 = true, enableAriaAtomic: n2 = false, enableAriaBusy: r2 = false, enableAriaHidden: i2 = false, enableAriaPressed: o2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: d2 = false, enableAriaLive: u2 = false, enableAriaOwns: p2 = false, enableAriaControls: m2 = false, enableAriaRoleDescription: c2 = false, enableAriaRelevant: f2 = false, enableRole: y2 = false, enableTabIndex: h2 = false, enableAriaErrorMessage: b2 = false, enableScreenReader: g2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
          const D2 = [], w2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: a2, enableAriaAtomic: n2, enableAriaBusy: r2, enableAriaCurrent: l2, enableAriaExpanded: d2, enableAriaLive: u2, enableAriaOwns: p2, enableAriaControls: m2, enableAriaRoleDescription: c2, enableAriaRelevant: f2, enableAriaErrorMessage: b2, enableAriaHidden: i2, enableAriaPressed: o2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, A2 = { enableScreenReader: g2, enableRole: y2, enableTabIndex: h2 };
          if (Object.values(w2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, a3]) => a3 && Fa[e5] && t3.push(Fa[e5])), (e5) => {
                const a3 = qt(t3, { modifyAriaSourceKeys: true })(e5);
                return a3.ariaAttributes = qt(t3)(e5), a3;
              };
            })(w2);
            D2.push(e3);
          }
          Object.entries(A2).forEach(([e3, t3]) => t3 && qa[e3] && D2.push(qa[e3]));
          return { accessibility: qt(D2)(N2) };
        })({ enableAriaLabel: true, enableAriaDescribedBy: true, enableAriaLabelledBy: true }), en = qt([Ja, ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => Zt("onFocus", e2, t2), onBlur: (t2) => Zt("onBlur", e2, t2) }), Ya, (e2) => ({ onClick: (t2) => Ft("onClick", e2, t2), onDblClick: (t2) => Ft("onDblClick", e2, t2) }), Ka, _a, (e2) => ({ onChange: (t2) => Zt("onChange", e2, t2) }), Ha, Qa, za]);
        var tn = { factory: en };
        return t;
      }();
    });
  })(DatePicker_bundle_min);
  var DatePicker_bundle_minExports = DatePicker_bundle_min.exports;
  const DatePicker = /* @__PURE__ */ getDefaultExportFromCjs(DatePicker_bundle_minExports);
  var ExpandableMenu_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var o2 in n2) e.o(n2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: n2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return En;
        } });
        const n = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, o = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function r(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function a(e2) {
          return "string" == typeof e2;
        }
        function i(e2) {
          return e2 instanceof Date && !Number.isNaN(e2.getTime());
        }
        function s(e2) {
          return Array.isArray(e2);
        }
        function m(e2) {
          return "object" == typeof e2 && null !== e2 && !s(e2);
        }
        function l(e2) {
          return null == e2;
        }
        function u(e2, t2) {
          return t2.includes(e2);
        }
        function c(e2, t2) {
          return e2 > t2;
        }
        function p(e2, t2) {
          return e2 < t2;
        }
        const d = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, f = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, h = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, y = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: o2, wrongValue: r2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${o2}: ${r2}. Read more about the effectOptions object: "${a2}"')`, N = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${o2}"`, v = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: o2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${r2}"'`, g = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, b = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, x = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, $ = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, I = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, w = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, k = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, E = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, C = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, T = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${r2}.`, O = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${r2}.`, L = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, S = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, V = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, P = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, D = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${r2}.`, A = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${r2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, _ = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: r2 }) => `The value of ${e2} parameter of item at ${r2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, U = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: r2 }) => `The value of ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, B = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, W = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, X = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, Y = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, K = ({ propertyName: e2, functionName: t2, value: n2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, G = ({ target: e2, label: t2, index: n2 }) => `The target parameter of the item with the label ${t2} nested under the item at index ${n2} that is passed to the target method cannot be set to the value ${e2}. It must be of type from (_blank, _self).`, z = ({ id: e2, label: t2, index: n2 }) => `The id parameter of the item with the label ${t2} nested under the item at index ${n2} that is passed to the id method cannot be set to the value ${e2}. It must consist of letters, numbers, or dashes.`, Z = ({ id: e2 }) => `The menuItems parameter that is passed to the menuItems method cannot be set to the given value, as the id value ${e2} already exists. Each menu item id must be unique.`, J = ({ labelValue: e2, maxLevels: t2 }) => `The menuItems parameter with the label "${e2}" that is passed to the menuItems method cannot be nested at this level. Menus can be ${t2} levels deep.`, Q = ({ functionName: e2, wrongValue: t2, index: n2 }) => `The link property of item at index ${n2} that is passed to the ${e2} method cannot be set to the value "${t2}" as this is not a supported link type.`, ee = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, te = ({ compName: e2, functionName: t2, propertyName: n2, index: o2 }) => r(o2) ? b({ propertyName: n2, functionName: t2, index: o2 }) : e2 ? g({ compName: e2, functionName: t2, propertyName: n2 }) : d({ functionName: t2, propertyName: n2 }), ne = ({ functionName: e2, propertyName: t2, index: n2 }) => r(n2) ? I({ functionName: e2, propertyName: t2, index: n2 }) : x({ functionName: e2, propertyName: t2 }), oe = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? r(n2) ? C({ functionName: e2, propertyNames: t2, index: n2 }) : k({ functionName: e2, propertyNames: t2 }) : r(n2) ? E({ functionName: e2, propertyName: t2[0], index: n2 }) : w({ functionName: e2, propertyName: t2[0] }), re = ({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2, index: i2 }) => a2 && o2 ? a2 === o2 ? r(i2) ? S({ functionName: e2, propertyName: t2, value: n2, expectedValue: a2, index: i2 }) : L({ functionName: e2, propertyName: t2, value: n2, expectedValue: a2 }) : r(i2) ? O({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2, index: i2 }) : T({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2 }) : !a2 && o2 ? r(i2) ? M({ functionName: e2, propertyName: t2, value: n2, maximum: o2, index: i2 }) : j({ functionName: e2, propertyName: t2, value: n2, maximum: o2 }) : r(i2) ? P({ functionName: e2, propertyName: t2, value: n2, minimum: a2, index: i2 }) : V({ functionName: e2, propertyName: t2, value: n2, minimum: a2 }), ae = ({ functionName: e2, propertyName: t2, value: n2, minimum: o2, maximum: a2, index: i2 }) => o2 && a2 ? o2 === a2 ? r(i2) ? R({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2, index: i2 }) : F({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2 }) : r(i2) ? A({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: o2, index: i2 }) : D({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: o2 }) : !o2 && a2 ? r(i2) ? U({ functionName: e2, propertyName: t2, maximum: a2, value: n2, index: i2 }) : q({ functionName: e2, propertyName: t2, maximum: a2, value: n2 }) : r(i2) ? H({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: i2 }) : _({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), ie = ({ functionName: e2, propertyName: t2, types: n2, value: o2, index: a2 }) => {
          const i2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return r(a2) ? W({ functionName: e2, index: a2, propertyName: t2, value: o2, expectedType: i2 }) : B({ functionName: e2, propertyName: t2, value: o2, expectedType: i2 });
        }, se = ({ functionName: e2, propertyName: t2, value: n2, enum: o2, index: a2 }) => {
          const i2 = `from (${o2.join(",")})`;
          return r(a2) ? W({ functionName: e2, propertyName: t2, value: n2, expectedType: i2, index: a2 }) : B({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, me = ({ functionName: e2, propertyName: t2, value: n2, index: o2 }) => r(o2) ? K({ functionName: e2, propertyName: t2, value: n2, index: o2 }) : X({ functionName: e2, propertyName: t2, value: n2 }), le = Object.prototype.hasOwnProperty, ue = Object.getOwnPropertyNames, ce = () => {
        };
        function pe(e2, t2, n2, o2, r2, a2) {
          if (!m(e2)) return he.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => pe(e2, t3, n2, ce, r2, a2)).filter((e3) => e3 === he.Valid).length ? he.Valid : he.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!le.call(e2, t2.required[n3])) return o2(ne({ functionName: a2.functionName, index: a2.index, propertyName: t2.required[n3] }), { ...a2, value: e2 }), he.Invalid;
          }
          const i2 = ue(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ue(e2).filter((e3) => !i2.includes(e3));
            if (t3.length) {
              return o2(oe({ functionName: a2.functionName, index: a2.index, propertyNames: t3 })), he.Invalid;
            }
          }
          for (let o3 = 0; o3 < i2.length; o3++) {
            const r3 = i2[o3];
            if (le.call(e2, r3)) {
              const o4 = t2.properties[r3], i3 = e2[r3];
              if (!n2(i3, o4, { functionName: a2.functionName, index: a2.index, propertyName: r3 })) return he.Invalid;
            }
          }
          return he.Valid;
        }
        function de(e2) {
          return Array.isArray(e2);
        }
        function fe(e2, t2, n2, o2) {
          const { minimum: a2, maximum: i2, enum: s2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? s2 && !u(e2, s2) ? (n2(se({ value: e2, enum: s2, ...o2 }), { ...o2, value: e2 }), he.Invalid) : r(a2) && p(e2, a2) || r(i2) && c(e2, i2) ? (n2(ae({ value: e2, minimum: a2, maximum: i2, ...o2 }), { ...o2, value: e2 }), he.Invalid) : he.Valid : he.InvalidType;
        }
        const he = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function ye({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: o2 = false } = {}) {
          function m2(o3, r2, a2) {
            r2.warnIfNil && l(o3) && t2(te({ ...a2, compName: n2 }), { ...a2, value: o3 });
            let i2 = 0;
            for (; i2 < r2.type.length; i2++) {
              const e3 = (0, d2[r2.type[i2]])(o3, r2, a2);
              if (e3 !== he.InvalidType) return e3 === he.Valid;
            }
            return i2 === r2.type.length && e2(ie({ value: o3, types: r2.type, ...a2 }), { ...a2, value: o3 }), false;
          }
          const d2 = { object: (n3, o3, r2) => pe(n3, o3, m2, e2, t2, r2), array: (e3, t3, n3) => function(e4, t4, n4, o3, r2, a2 = false) {
            if (!s(e4)) return he.InvalidType;
            let i2 = he.Valid;
            if (t4.items) {
              const o4 = de(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let s2 = 0; s2 < o4; s2++) {
                const o5 = e4[s2];
                let m3, l2;
                de(t4.items) ? (m3 = t4.items[s2], l2 = t4.items[s2].name) : (m3 = t4.items, l2 = t4.name), n4(o5, m3, { functionName: r2.functionName, propertyName: l2 || r2.propertyName, index: a2 ? void 0 : s2 }) || (i2 = he.Invalid);
              }
            }
            return i2;
          }(e3, t3, m2, 0, n3, o2), number: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minimum: a2, maximum: i2, enum: s2 } = t4;
            return r(e3) ? s2 && !u(e3, s2) ? (n4(se({ value: e3, enum: s2, ...o4 }), { ...o4, value: e3 }), he.Invalid) : r(a2) && p(e3, a2) || r(i2) && c(e3, i2) ? (n4(ae({ value: e3, minimum: a2, maximum: i2, ...o4 }), { ...o4, value: e3 }), he.Invalid) : he.Valid : he.InvalidType;
          }(t3, n3, e2, o3), integer: (t3, n3, o3) => fe(t3, n3, e2, o3), string: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minLength: r2, maxLength: i2, enum: s2, pattern: m3 } = t4;
            return a(e3) ? s2 && !u(e3, s2) ? (n4(se({ value: e3, enum: s2, ...o4 }), { ...o4, value: e3 }), he.Invalid) : r2 && p(e3.length, r2) || i2 && c(e3.length, i2) ? (n4(re({ value: e3, minimum: r2, maximum: i2, ...o4 }), { ...o4, value: e3 }), he.Invalid) : m3 && !new RegExp(m3).test(e3) ? (n4(me({ value: e3, ...o4 }), { ...o4, value: e3 }), he.Invalid) : he.Valid : he.InvalidType;
          }(t3, n3, e2, o3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? he.Valid : he.InvalidType;
          }(e3), date: (e3) => function(e4) {
            return i(e4) ? he.Valid : he.InvalidType;
          }(e3), nil: (e3) => function(e4) {
            return l(e4) ? he.Valid : he.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? he.Valid : he.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return m2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function Ne(e2, { suppressIndexErrors: t2 = false } = {}) {
          return ye({ reportError: n, reportWarning: o }, e2, { suppressIndexErrors: t2 });
        }
        const ve = "click", ge = "dblClick", be = "mouseenter", xe = "mouseleave", $e = "change", Ie = "blur", we = "focus", ke = "imageChanged", Ee = "imageExpanded", Ce = "onInput", Te = "itemClicked", Oe = "cellSelect", Le = "cellEdit", Se = "rowSelect", Ve = "fetchData", Pe = "dataChange", je = "onTimeout", Me = "onVerified", De = "onError", Ae = "onPlay", Fe = "onPause", Re = "onProgress", _e = "onEnded", He = "autoplayOff", qe = "autoplayOn", Ue = "playEnded", Be = "playProgress", We = "keyPress", Xe = "keyUp", Ye = "keyDown", Ke = "screenIn", Ge = "viewportEnter", ze = "viewportLeave", Ze = "scroll", Je = "validate", Qe = "setCustomValidity", et = "syncValidationData", tt = "updateValidityIndication", nt = "message", ot = "uploadComplete", rt = "itemReady", at = "itemRemoved", it = "tagClick", st = "quickActionBarItemClicked", mt = "markerClicked", lt = "mapClicked", ut = "iconMouseIn", ct = "onStateChange", pt = "itemMouseIn", dt = "itemMouseOut", ft = "itemMouseClick", ht = "itemMouseDblClick", yt = "onColorChange", Nt = "onFontChange", vt = "onOpacityChange", gt = { [ve]: "onClick", [ge]: "onDblClick", [be]: "onMouseIn", [xe]: "onMouseOut", [$e]: "onChange", [Ce]: "onInput", [Ie]: "onBlur", [we]: "onFocus", [ke]: "onCurrentItemChanged", [Ee]: void 0, [Te]: "onItemClicked", [Oe]: "onCellSelect", [Le]: void 0, [Se]: "onRowSelect", [Ve]: void 0, [Pe]: "onDataChange", [je]: "onTimeout", [Me]: "onVerified", [De]: "onError", [Ae]: "onPlay", [Fe]: "onPause", [Re]: "onProgress", [_e]: "onEnded", [He]: "onPause", [qe]: "onPlay", [Ue]: void 0, [Be]: void 0, [We]: "onKeyPress", [Xe]: "onKeyUp", [Ye]: "onKeyDown", [Ke]: void 0, [Ge]: "onViewportEnter", [ze]: "onViewportLeave", [Ze]: void 0, [Je]: void 0, [Qe]: void 0, [et]: void 0, [tt]: void 0, [nt]: "onMessage", [ot]: void 0, [rt]: "onItemReady", [at]: "onItemRemoved", [it]: void 0, [st]: "onItemClicked", [mt]: "onMarkerClicked", [lt]: "onMapClicked", [ut]: void 0, [ct]: "onStateChange", [pt]: "onItemMouseIn", [dt]: "onItemMouseOut", [ft]: "onItemClick", [ht]: "onItemDblClick", [yt]: "onColorChange", [Nt]: "onFontChange", [vt]: "onOpacityChange" }, bt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, xt = (e2) => {
          const { target: t2, type: n2, context: o2 } = e2;
          return { target: t2, type: bt[n2] ?? n2, context: o2 };
        }, $t = (e2) => {
          const { clientX: t2, clientY: n2, pageX: o2, pageY: r2, screenX: a2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: m2, offsetY: l2 } = s2;
          return { clientX: t2, clientY: n2, pageX: o2, pageY: r2, screenX: a2, screenY: i2, offsetX: m2, offsetY: l2 };
        }, It = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, wt = (e2) => e2.replace(/^on/i, ""), kt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Et = (e2, t2, n2, o2) => {
          const { create$w: r2, createEvent: a2, registerEvent: i2, getSdkInstance: s2, metaData: m2 } = t2;
          if (!((e3, t3, n3) => Ne(n3)(e3, { type: ["function"] }, t3))(n2, It[e2] ?? e2, m2.role)) return s2();
          const [l2, u2] = kt(t2), c2 = i2(e2, (e3, t3) => {
            const i3 = a2({ type: e3.type, compId: e3.compId }), s3 = r2({ context: i3.context }), m3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...xt(i3), ...m3 }, s3);
          }), p2 = { eventName: e2, compId: m2.compId, cb: n2, unregister: c2 };
          return u2({ listeners: [...l2.listeners, p2] }), s2();
        }, Ct = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(It).find(([t4, n3]) => wt(n3.toLowerCase()) === wt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(gt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, Tt = (e2, t2, n2, o2) => Et(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...$t(e3), ...t3 && o2?.(t3) }));
        function Ot(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const o2 = {};
            for (let a2 = 0; a2 < e2.length; a2++) {
              const i2 = e2[a2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], a3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(o2, n2 && a3.get ? "aria" + (r2 = t4).charAt(0).toUpperCase() + r2.slice(1) : t4, a3);
              }
            }
            var r2;
            return o2;
          };
        }
        const Lt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: o2, compType: r2, isGlobal: a2, getParent: i2, role: s2, wixCodeId: m2 } = t2, l2 = `$w.${r2}`;
          return { get id() {
            return m2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return i2();
          }, get global() {
            return a2();
          }, get type() {
            return l2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: s2, type: l2, global: a2() };
          } };
        }, St = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: o2, create$w: r2, createEvent: a2 } = t2, i2 = (e3, t3) => Ne(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => i2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = a2({ type: "viewportEnter" }), t3 = r2();
            n3(e3, t3);
          }), Et("onViewportEnter", t2, n3)) : o2(), onViewportLeave: (n3) => i2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = a2({ type: "viewportLeave" }), t3 = r2();
            n3(e3, t3);
          }), Et("onViewportLeave", t2, n3)) : o2() };
        }, Vt = { duration: 1200, delay: 0 }, Pt = { arc: { ...Vt, direction: "left" }, bounce: { ...Vt, direction: "topLeft", intensity: "medium" }, puff: { ...Vt }, zoom: { ...Vt }, fade: { ...Vt }, flip: { ...Vt, direction: "right" }, float: { ...Vt, direction: "right" }, fly: { ...Vt, direction: "right" }, fold: { ...Vt, direction: "left" }, glide: { ...Vt, angle: 0, distance: 0 }, roll: { ...Vt, direction: "left" }, slide: { ...Vt, direction: "left" }, spin: { ...Vt, direction: "cw", cycles: 5 }, turn: { ...Vt, direction: "right" }, ArcIn: { ...Vt, direction: "right" }, ArcOut: { ...Vt, direction: "right" }, BounceIn: { ...Vt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Vt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Vt, direction: "right" }, CollapseOut: { ...Vt }, Conceal: { ...Vt, direction: "right" }, Reveal: { ...Vt, direction: "left" }, FadeIn: { ...Vt }, FadeOut: { ...Vt }, FlipIn: { ...Vt, direction: "left" }, FlipOut: { ...Vt, direction: "left" }, FloatIn: { ...Vt, direction: "right" }, FloatOut: { ...Vt, direction: "right" }, FlyIn: { ...Vt, direction: "right" }, FlyOut: { ...Vt, direction: "right" }, FoldIn: { ...Vt, direction: "left" }, FoldOut: { ...Vt, direction: "left" }, GlideIn: { ...Vt, angle: 0, distance: 150 }, GlideOut: { ...Vt, angle: 0, distance: 150 }, DropIn: { ...Vt }, PopOut: { ...Vt }, SlideIn: { ...Vt, direction: "left" }, SlideOut: { ...Vt, direction: "left" }, SpinIn: { ...Vt, direction: "cw", cycles: 2 }, SpinOut: { ...Vt, direction: "cw", cycles: 2 }, TurnIn: { ...Vt, direction: "right" }, TurnOut: { ...Vt, direction: "right" } }, jt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Mt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Dt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, At = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Ft = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Rt = { arc: { type: ["object"], properties: { duration: Dt, delay: At, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Dt, delay: At, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Dt, delay: At } }, zoom: { type: ["object"], properties: { duration: Dt, delay: At } }, fade: { type: ["object"], properties: { duration: Dt, delay: At } }, flip: { type: ["object"], properties: { duration: Dt, delay: At, direction: Ft } }, float: { type: ["object"], properties: { duration: Dt, delay: At, direction: Ft } }, fly: { type: ["object"], properties: { duration: Dt, delay: At, direction: Ft } }, fold: { type: ["object"], properties: { duration: Dt, delay: At, direction: Ft } }, glide: { type: ["object"], properties: { duration: Dt, delay: At, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Dt, delay: At, direction: Ft } }, slide: { type: ["object"], properties: { duration: Dt, delay: At, direction: Ft } }, spin: { type: ["object"], properties: { duration: Dt, delay: At, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Dt, delay: At, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, _t = ({ propertyName: e2, compName: t2 }) => (n2, r2) => {
          if (!n2) return false;
          if (void 0 === r2) return true;
          const a2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (r3, a3) => {
            o(v({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${a3?.value}`, infoLink: Mt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!ye({ reportError: a2, reportWarning: () => ({}) }, t2)(r2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (r3, a3) => {
            o(y({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: Mt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!ye({ reportError: i2, reportWarning: () => ({}) }, t2)(r2, Rt[n2], e2);
        }, Ht = (e2) => 0 === Object.keys(e2).length, qt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: r2, metaData: a2, getSdkInstance: i2, runAnimation: s2, createSdkState: m2, styleUtils: l2, setProps: u2 }) => {
          const c2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: r3 }) => {
            const a3 = _t({ propertyName: r3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Ht(n3)) return o(h({ propertyName: r3, compName: e3, infoLink: Mt(r3) })), false;
            const i3 = "hide" === r3 ? "HIDE" : "SHOW", s3 = jt[i3]?.deprecatedValues;
            return t3 && n3 && s3 && s3.find((e4) => e4 === t3) && !Ht(n3) ? (o(N({ compName: e3, effectName: t3, propertyName: r3, infoLink: Mt(r3) })), false) : !!s3.find((e4) => e4 === t3) || (t3 && !(t3 in Rt) ? (o(f({ propertyName: r3, compName: e3, effectName: t3, infoLink: Mt(r3) })), false) : !!a3(t3, n3));
          })({ compName: a2.role }), [p2, d2] = m2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (o2, a3) => {
            if (u2({ hidden: true }), p2.collapsed || p2.hidden) d2({ hidden: true });
            else {
              if (c2({ effectName: o2, effectOptions: a3, propertyName: "hide" })) {
                const e3 = { animationDirection: jt.HIDE.suffix, effectName: o2, effectOptions: { ...Pt?.[o2] || Vt, ...a3 } };
                await Promise.all([s2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else n2(l2.getHiddenStyles()), t2 && r2.setStyles(l2.getHiddenStyles());
              d2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (o2, a3) => {
            if (u2({ hidden: false }), !p2.collapsed && p2.hidden) {
              if (c2({ effectName: o2, effectOptions: a3, propertyName: "show" })) {
                const e3 = { animationDirection: jt.SHOW.suffix, effectName: o2, effectOptions: { ...Pt?.[o2] || Vt, ...a3 } };
                await Promise.all([s2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else n2(l2.getShownStyles()), t2 && r2.setStyles(l2.getShownStyles());
              d2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else d2({ hidden: false });
          }, collapse: async () => {
            u2({ collapsed: true }), p2.collapsed || (n2(l2.getCollapsedStyles()), t2 && r2.setStyles(l2.getCollapsedStyles()), d2({ collapsed: true }), p2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (u2({ collapsed: false }), p2.collapsed) {
              const o2 = { ...l2.getExpandedStyles(), visibility: p2.hidden ? "hidden" : null };
              n2(o2), t2 && r2.setStyles(o2), d2({ collapsed: false }), p2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return p2.collapsed;
          }, get hidden() {
            return Boolean(p2.hidden);
          }, get isVisible() {
            if (!a2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Ut = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Ot([qt({ viewportState: n2, hasPortal: t3 }), St((e4, t4) => {
            o2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), Bt = (e2, t2, o2) => {
          const r2 = t2.filter((t3) => !e2.includes(t3));
          r2.length && n(Y({ functionName: o2, wrongEffects: r2, allowedEffects: e2 }));
        }, Wt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            Bt(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            Bt(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            Bt(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Xt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Yt = (e2, t2) => "string" != typeof e2 ? (Kt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (zt(e2, t2), false), Kt = (e2, t2, o2, r2) => {
          n(B({ propertyName: e2, functionName: t2, value: o2, expectedType: r2 }));
        }, Gt = (e2, t2) => {
          n(x({ propertyName: e2, functionName: t2 }));
        }, zt = (e2, t2) => {
          n(ee({ propertyName: e2, functionName: t2 }));
        }, Zt = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const n2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Yt(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else Gt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Gt("className", "customClassList.remove");
            const n2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!Yt(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return Yt(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            Gt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Yt(t3, "customClassList.replace") || !Yt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (n($({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Yt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Gt("className", "customClassList.toggle"), false);
          } } };
        }, Jt = (e2) => ({ onMouseIn: (t2) => Tt("onMouseEnter", e2, t2), onMouseOut: (t2) => Tt("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: r2 } = e2;
          return "string" != typeof t2 ? (n(B({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), r2()) : "function" != typeof o2 ? (n(B({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), r2()) : ((e3, t3, n2) => {
            const { metaData: o3, getSdkInstance: r3 } = t3, [a2, i2] = kt(t3), s2 = a2.listeners.filter((t4) => Ct(t4.eventName, e3) && t4.cb === n2 && t4.compId === o3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: a2.listeners.filter((e4) => !s2.includes(e4)) }), r3();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return (({ role: e3, compType: t2, isGlobal: n2, isRendered: o2 }) => ({ id: e3, type: `$w.${t2}`, global: n2(), rendered: o2() }))(e2.metaData);
        } }), Qt = St(), en = (Ot([Lt, Qt, Jt, Wt, Zt]), /^(http|https):\/\/(.*)/), tn = /^\/([^ ?#]*)[?]?(.*)/, nn = ({ link: e2, target: t2, linkUtils: n2 }) => {
          if (!l(e2)) {
            const r2 = t2 || (o2 = e2, en.test(o2) ? "_blank" : "_self");
            return n2.getLinkProps(e2, r2);
          }
          var o2;
          return {};
        }, on = ({ link: e2, label: t2, pageList: n2 }) => {
          return l(t2) ? !l(e2) && (o2 = e2, tn.test(o2)) ? ((e3, t3) => {
            const n3 = e3.slice(1);
            if (t3.hasOwnProperty(n3)) return t3[n3]?.title;
          })(e2, n2) : void 0 : t2;
          var o2;
        };
        class rn extends Error {
          constructor(e2) {
            const t2 = te(e2);
            super(t2), this.name = "NilAssignmentError", this.message = t2;
          }
        }
        class an extends Error {
          constructor(e2) {
            const t2 = (({ functionName: e3, wrongValue: t3, index: n2 }) => Q({ functionName: e3, wrongValue: t3, index: n2 }))(e2);
            super(t2), this.name = "UnsupportedLinkTypeError", this.message = t2;
          }
        }
        class sn extends rn {
          constructor(e2) {
            super({ functionName: "menuItems", propertyName: "label", index: e2 }), this.name = "InvalidLabelError";
          }
        }
        class mn extends Error {
          constructor({ index: e2, label: t2, id: n2 }) {
            super(z({ index: e2, label: t2, id: n2 })), this.name = "InvalidIdPatternError";
          }
        }
        class ln extends Error {
          constructor({ id: e2 }) {
            super(Z({ id: e2 })), this.name = "NonUniqueIdError";
          }
        }
        class un extends Error {
          constructor({ index: e2, label: t2, target: n2 }) {
            super(G({ index: e2, label: t2, target: n2 })), this.name = "InvalidTargetError";
          }
        }
        class cn extends Error {
          constructor(e2, t2) {
            super(J({ labelValue: t2, maxLevels: e2 })), this.name = "InvalidMenuDepth";
          }
        }
        class pn extends an {
          constructor(e2, t2) {
            super({ functionName: "menuItems", propertyName: "link", wrongValue: e2, index: t2 });
          }
        }
        const dn = (e2) => Object.entries(e2).reduce((e3, [t2, n2]) => {
          if (l(n2)) return e3;
          if (!i(n2)) {
            if (m(n2)) return { ...e3, [t2]: dn(n2) };
            if (s(n2)) return { ...e3, [t2]: n2.map(dn) };
          }
          return { ...e3, [t2]: n2 };
        }, {}), fn = (e2) => dn({ label: e2.label, link: e2.link?.href, selected: e2.selected, target: e2.link?.target, id: e2._id, menuItems: e2.items?.map(fn) }), hn = (e2) => dn({ label: e2.label || "", link: { href: e2.link, target: e2.target }, isVisible: true, isVisibleMobile: true, selected: e2.selected, _id: e2.id, items: e2.menuItems?.map(hn) }), yn = { type: ["object"], properties: { link: { type: ["string", "nil"] }, label: { type: ["string", "nil"], minLength: 1, maxLength: 40 }, target: { type: ["string", "nil"] }, selected: { type: ["boolean", "nil"] }, menuItems: { type: ["array", "nil"] }, id: { type: ["string", "nil"] } } }, Nn = (e2) => {
          if (!e2) return true;
          const t2 = (e3, n2) => e3?.every(({ target: e4, link: o2 = "", label: r2 = o2, menuItems: a2 }, i2) => {
            if (null != e4 && "_blank" !== e4 && "_self" !== e4) throw new un({ index: void 0 === n2 ? i2 : n2, label: r2, target: e4 });
            return t2(a2, i2);
          }) ?? true;
          try {
            return t2(e2);
          } catch (e3) {
            return n(e3.message), false;
          }
        }, vn = /^[a-zA-Z\d-]*$/, gn = (e2, t2) => {
          e2?.every(({ id: e3, link: n2 = "", label: o2 = n2, menuItems: r2 }, a2) => {
            if (e3 && !vn.test(e3)) throw new mn({ index: void 0 === t2 ? a2 : t2, label: o2, id: e3 });
            return gn(r2, a2);
          });
        }, bn = (e2) => e2.reduce((e3, t2) => [...e3, ...a(t2.id) ? [t2.id] : [], ...t2.menuItems ? bn(t2.menuItems) : []], []), xn = (e2) => e2.find((t2, n2) => n2 !== e2.lastIndexOf(t2)), $n = (e2) => {
          try {
            ((e3) => {
              const t2 = bn(e3 || []), n2 = xn(t2);
              if (void 0 !== n2) throw new ln({ id: n2 });
            })(e2), gn(e2);
          } catch (e3) {
            return n(e3.message), false;
          }
          return true;
        }, In = (e2) => {
          const { setProps: t2, props: o2, platformUtils: { linkUtils: r2 }, sdkData: { pageList: a2 } = {} } = e2;
          a2 || n("Page list is not passed into sdkData. Provide it in component mapper to use menuItems SDK properly.");
          const i2 = (e3, t3) => {
            const n2 = {};
            try {
              const t4 = nn({ linkUtils: r2, link: e3.link, target: e3.target || "_self" });
              t4.href && (n2.link = t4.href, n2.target = t4.target || "_self");
            } catch (n3) {
              throw new pn(e3.link || "", t3);
            }
            const o3 = on({ label: e3.label, link: e3.link, pageList: a2 });
            if (l(o3)) throw new sn(t3);
            return l(e3.id) || (n2.id = e3.id), n2.label = o3, l(e3.selected) || (n2.selected = e3.selected), { ...n2, menuItems: (m2 = e3.menuItems, s(m2) ? m2.map(i2) : []) };
            var m2;
          };
          return { get menuItems() {
            const e3 = o2.items?.map(fn) ?? [];
            return e3?.map(i2) ?? [];
          }, set menuItems(e3) {
            try {
              t2({ items: e3?.map(i2).map(hn) ?? [] });
            } catch (e4) {
              n(e4.message);
            }
          }, onItemMouseIn: (t3) => Tt("onItemMouseIn", e2, t3, (e3) => ({ item: fn(e3), type: "itemMouseIn" })), onItemMouseOut: (t3) => Tt("onItemMouseOut", e2, t3, (e3) => ({ item: fn(e3), type: "itemMouseOut" })), onItemClick: (t3) => Tt("onItemClick", e2, t3, (e3) => ({ item: fn(e3), type: "itemMouseClick" })), onItemDblClick: (t3) => Tt("onItemDblClick", e2, t3, (e3) => ({ item: fn(e3), type: "itemMouseDblClick" })) };
        };
        const wn = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Ot([Lt, Jt, Wt, Xt, e2 ? Ut(t2) : Qt, Zt]))(), kn = Ot([wn, (e2) => ({ onChange: (t2) => Et("onChange", e2, t2) }), function(e2) {
          const { sdkData: { isSubSubEnabled: t2 = false } = {} } = e2, o2 = t2 ? 2 : 1;
          return (/* @__PURE__ */ function(e3, t3, n2 = {}) {
            return (o3) => {
              const r3 = e3(o3), a2 = Ne(o3.metaData.role), i2 = Ne(o3.metaData.role, { suppressIndexErrors: true });
              return Object.keys(r3).reduce((e4, s2) => {
                const m2 = Object.getOwnPropertyDescriptor(r3, s2), l2 = { enumerable: true, configurable: true };
                return m2.value ? "function" == typeof m2.value ? l2.value = (...e5) => {
                  const r4 = t3.properties[s2] && t3.properties[s2].args, a3 = n2[s2];
                  let l3 = true;
                  return r4 && (l3 = i2(e5, { type: ["array"], items: r4 }, s2)), l3 && a3 && (l3 = a3.every((t4) => t4(e5, o3))), l3 ? m2.value(...e5) : void 0;
                } : l2.value = m2.value : (m2.get && (l2.get = () => r3[s2]), m2.set && (l2.set = (e5) => {
                  const i3 = n2[s2];
                  let m3 = true;
                  t3.properties[s2] && (m3 = a2(e5, t3.properties[s2], s2)), m3 && i3 && (m3 = i3.every((t4) => t4(e5, o3))), m3 && (r3[s2] = e5);
                })), Object.defineProperty(e4, s2, l2), e4;
              }, {});
            };
          }(In, { properties: { ...new Array(o2 + 1).fill(null).reduce((e3) => ({ menuItems: { type: ["array", "nil"], items: { ...yn, properties: { ...yn.properties, ...e3 } } } }), { menuItems: yn.properties.menuItems }) } }, { menuItems: [(r2 = o2, (e3) => {
            if (!e3) return true;
            const t3 = ({ currentLevel: e4, items: n2 }) => !n2 || 0 === n2.length || !(e4 < 0) && n2.every(({ menuItems: n3, label: o3, link: a2 }) => {
              if (void 0 === n3) return true;
              const i2 = t3({ items: n3, currentLevel: e4 - 1 });
              if (!i2) throw new cn(r2 + 1, o3 || a2 || "");
              return i2;
            });
            return e3.every(({ menuItems: e4, label: o3, link: a2 }) => {
              try {
                if (false === t3({ items: e4, currentLevel: r2 - 1 })) throw new cn(r2 + 1, o3 || a2 || "");
              } catch (e5) {
                return n(e5.message), false;
              }
              return true;
            });
          }), Nn, $n] }))(e2);
          var r2;
        }]);
        var En = { factory: kn };
        return t;
      }();
    });
  })(ExpandableMenu_bundle_min);
  var ExpandableMenu_bundle_minExports = ExpandableMenu_bundle_min.exports;
  const ExpandableMenu = /* @__PURE__ */ getDefaultExportFromCjs(ExpandableMenu_bundle_minExports);
  var ExternalComponent_bundle_min = { exports: {} };
  var lodash = { exports: {} };
  lodash.exports;
  var hasRequiredLodash;
  function requireLodash() {
    if (hasRequiredLodash) return lodash.exports;
    hasRequiredLodash = 1;
    (function(module2, exports3) {
      (function() {
        var undefined$1;
        var VERSION = "4.17.21";
        var LARGE_ARRAY_SIZE = 200;
        var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`";
        var HASH_UNDEFINED = "__lodash_hash_undefined__";
        var MAX_MEMOIZE_SIZE = 500;
        var PLACEHOLDER = "__lodash_placeholder__";
        var CLONE_DEEP_FLAG = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG = 4;
        var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;
        var WRAP_BIND_FLAG = 1, WRAP_BIND_KEY_FLAG = 2, WRAP_CURRY_BOUND_FLAG = 4, WRAP_CURRY_FLAG = 8, WRAP_CURRY_RIGHT_FLAG = 16, WRAP_PARTIAL_FLAG = 32, WRAP_PARTIAL_RIGHT_FLAG = 64, WRAP_ARY_FLAG = 128, WRAP_REARG_FLAG = 256, WRAP_FLIP_FLAG = 512;
        var DEFAULT_TRUNC_LENGTH = 30, DEFAULT_TRUNC_OMISSION = "...";
        var HOT_COUNT = 800, HOT_SPAN = 16;
        var LAZY_FILTER_FLAG = 1, LAZY_MAP_FLAG = 2, LAZY_WHILE_FLAG = 3;
        var INFINITY = 1 / 0, MAX_SAFE_INTEGER = 9007199254740991, MAX_INTEGER = 17976931348623157e292, NAN = 0 / 0;
        var MAX_ARRAY_LENGTH = 4294967295, MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1, HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;
        var wrapFlags = [
          ["ary", WRAP_ARY_FLAG],
          ["bind", WRAP_BIND_FLAG],
          ["bindKey", WRAP_BIND_KEY_FLAG],
          ["curry", WRAP_CURRY_FLAG],
          ["curryRight", WRAP_CURRY_RIGHT_FLAG],
          ["flip", WRAP_FLIP_FLAG],
          ["partial", WRAP_PARTIAL_FLAG],
          ["partialRight", WRAP_PARTIAL_RIGHT_FLAG],
          ["rearg", WRAP_REARG_FLAG]
        ];
        var argsTag = "[object Arguments]", arrayTag = "[object Array]", asyncTag = "[object AsyncFunction]", boolTag = "[object Boolean]", dateTag = "[object Date]", domExcTag = "[object DOMException]", errorTag = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag = "[object Map]", numberTag = "[object Number]", nullTag = "[object Null]", objectTag = "[object Object]", promiseTag = "[object Promise]", proxyTag = "[object Proxy]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]", undefinedTag = "[object Undefined]", weakMapTag = "[object WeakMap]", weakSetTag = "[object WeakSet]";
        var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
        var reEmptyStringLeading = /\b__p \+= '';/g, reEmptyStringMiddle = /\b(__p \+=) '' \+/g, reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g;
        var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g, reUnescapedHtml = /[&<>"']/g, reHasEscapedHtml = RegExp(reEscapedHtml.source), reHasUnescapedHtml = RegExp(reUnescapedHtml.source);
        var reEscape = /<%-([\s\S]+?)%>/g, reEvaluate = /<%([\s\S]+?)%>/g, reInterpolate = /<%=([\s\S]+?)%>/g;
        var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/, rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;
        var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, reHasRegExpChar = RegExp(reRegExpChar.source);
        var reTrimStart = /^\s+/;
        var reWhitespace = /\s/;
        var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/, reSplitDetails = /,? & /;
        var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
        var reForbiddenIdentifierChars = /[()=,{}\[\]\/\s]/;
        var reEscapeChar = /\\(\\)?/g;
        var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g;
        var reFlags = /\w*$/;
        var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
        var reIsBinary = /^0b[01]+$/i;
        var reIsHostCtor = /^\[object .+?Constructor\]$/;
        var reIsOctal = /^0o[0-7]+$/i;
        var reIsUint = /^(?:0|[1-9]\d*)$/;
        var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
        var reNoMatch = /($^)/;
        var reUnescapedString = /['\n\r\u2028\u2029\\]/g;
        var rsAstralRange = "\\ud800-\\udfff", rsComboMarksRange = "\\u0300-\\u036f", reComboHalfMarksRange = "\\ufe20-\\ufe2f", rsComboSymbolsRange = "\\u20d0-\\u20ff", rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, rsDingbatRange = "\\u2700-\\u27bf", rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff", rsMathOpRange = "\\xac\\xb1\\xd7\\xf7", rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", rsPunctuationRange = "\\u2000-\\u206f", rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde", rsVarRange = "\\ufe0e\\ufe0f", rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
        var rsApos = "['’]", rsAstral = "[" + rsAstralRange + "]", rsBreak = "[" + rsBreakRange + "]", rsCombo = "[" + rsComboRange + "]", rsDigits = "\\d+", rsDingbat = "[" + rsDingbatRange + "]", rsLower = "[" + rsLowerRange + "]", rsMisc = "[^" + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + "]", rsFitz = "\\ud83c[\\udffb-\\udfff]", rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")", rsNonAstral = "[^" + rsAstralRange + "]", rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}", rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]", rsUpper = "[" + rsUpperRange + "]", rsZWJ = "\\u200d";
        var rsMiscLower = "(?:" + rsLower + "|" + rsMisc + ")", rsMiscUpper = "(?:" + rsUpper + "|" + rsMisc + ")", rsOptContrLower = "(?:" + rsApos + "(?:d|ll|m|re|s|t|ve))?", rsOptContrUpper = "(?:" + rsApos + "(?:D|LL|M|RE|S|T|VE))?", reOptMod = rsModifier + "?", rsOptVar = "[" + rsVarRange + "]?", rsOptJoin = "(?:" + rsZWJ + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*", rsOrdLower = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", rsOrdUpper = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", rsSeq = rsOptVar + reOptMod + rsOptJoin, rsEmoji = "(?:" + [rsDingbat, rsRegional, rsSurrPair].join("|") + ")" + rsSeq, rsSymbol = "(?:" + [rsNonAstral + rsCombo + "?", rsCombo, rsRegional, rsSurrPair, rsAstral].join("|") + ")";
        var reApos = RegExp(rsApos, "g");
        var reComboMark = RegExp(rsCombo, "g");
        var reUnicode = RegExp(rsFitz + "(?=" + rsFitz + ")|" + rsSymbol + rsSeq, "g");
        var reUnicodeWord = RegExp([
          rsUpper + "?" + rsLower + "+" + rsOptContrLower + "(?=" + [rsBreak, rsUpper, "$"].join("|") + ")",
          rsMiscUpper + "+" + rsOptContrUpper + "(?=" + [rsBreak, rsUpper + rsMiscLower, "$"].join("|") + ")",
          rsUpper + "?" + rsMiscLower + "+" + rsOptContrLower,
          rsUpper + "+" + rsOptContrUpper,
          rsOrdUpper,
          rsOrdLower,
          rsDigits,
          rsEmoji
        ].join("|"), "g");
        var reHasUnicode = RegExp("[" + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + "]");
        var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
        var contextProps = [
          "Array",
          "Buffer",
          "DataView",
          "Date",
          "Error",
          "Float32Array",
          "Float64Array",
          "Function",
          "Int8Array",
          "Int16Array",
          "Int32Array",
          "Map",
          "Math",
          "Object",
          "Promise",
          "RegExp",
          "Set",
          "String",
          "Symbol",
          "TypeError",
          "Uint8Array",
          "Uint8ClampedArray",
          "Uint16Array",
          "Uint32Array",
          "WeakMap",
          "_",
          "clearTimeout",
          "isFinite",
          "parseInt",
          "setTimeout"
        ];
        var templateCounter = -1;
        var typedArrayTags = {};
        typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
        typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
        var cloneableTags = {};
        cloneableTags[argsTag] = cloneableTags[arrayTag] = cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = cloneableTags[boolTag] = cloneableTags[dateTag] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag] = cloneableTags[numberTag] = cloneableTags[objectTag] = cloneableTags[regexpTag] = cloneableTags[setTag] = cloneableTags[stringTag] = cloneableTags[symbolTag] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
        cloneableTags[errorTag] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
        var deburredLetters = {
          // Latin-1 Supplement block.
          "À": "A",
          "Á": "A",
          "Â": "A",
          "Ã": "A",
          "Ä": "A",
          "Å": "A",
          "à": "a",
          "á": "a",
          "â": "a",
          "ã": "a",
          "ä": "a",
          "å": "a",
          "Ç": "C",
          "ç": "c",
          "Ð": "D",
          "ð": "d",
          "È": "E",
          "É": "E",
          "Ê": "E",
          "Ë": "E",
          "è": "e",
          "é": "e",
          "ê": "e",
          "ë": "e",
          "Ì": "I",
          "Í": "I",
          "Î": "I",
          "Ï": "I",
          "ì": "i",
          "í": "i",
          "î": "i",
          "ï": "i",
          "Ñ": "N",
          "ñ": "n",
          "Ò": "O",
          "Ó": "O",
          "Ô": "O",
          "Õ": "O",
          "Ö": "O",
          "Ø": "O",
          "ò": "o",
          "ó": "o",
          "ô": "o",
          "õ": "o",
          "ö": "o",
          "ø": "o",
          "Ù": "U",
          "Ú": "U",
          "Û": "U",
          "Ü": "U",
          "ù": "u",
          "ú": "u",
          "û": "u",
          "ü": "u",
          "Ý": "Y",
          "ý": "y",
          "ÿ": "y",
          "Æ": "Ae",
          "æ": "ae",
          "Þ": "Th",
          "þ": "th",
          "ß": "ss",
          // Latin Extended-A block.
          "Ā": "A",
          "Ă": "A",
          "Ą": "A",
          "ā": "a",
          "ă": "a",
          "ą": "a",
          "Ć": "C",
          "Ĉ": "C",
          "Ċ": "C",
          "Č": "C",
          "ć": "c",
          "ĉ": "c",
          "ċ": "c",
          "č": "c",
          "Ď": "D",
          "Đ": "D",
          "ď": "d",
          "đ": "d",
          "Ē": "E",
          "Ĕ": "E",
          "Ė": "E",
          "Ę": "E",
          "Ě": "E",
          "ē": "e",
          "ĕ": "e",
          "ė": "e",
          "ę": "e",
          "ě": "e",
          "Ĝ": "G",
          "Ğ": "G",
          "Ġ": "G",
          "Ģ": "G",
          "ĝ": "g",
          "ğ": "g",
          "ġ": "g",
          "ģ": "g",
          "Ĥ": "H",
          "Ħ": "H",
          "ĥ": "h",
          "ħ": "h",
          "Ĩ": "I",
          "Ī": "I",
          "Ĭ": "I",
          "Į": "I",
          "İ": "I",
          "ĩ": "i",
          "ī": "i",
          "ĭ": "i",
          "į": "i",
          "ı": "i",
          "Ĵ": "J",
          "ĵ": "j",
          "Ķ": "K",
          "ķ": "k",
          "ĸ": "k",
          "Ĺ": "L",
          "Ļ": "L",
          "Ľ": "L",
          "Ŀ": "L",
          "Ł": "L",
          "ĺ": "l",
          "ļ": "l",
          "ľ": "l",
          "ŀ": "l",
          "ł": "l",
          "Ń": "N",
          "Ņ": "N",
          "Ň": "N",
          "Ŋ": "N",
          "ń": "n",
          "ņ": "n",
          "ň": "n",
          "ŋ": "n",
          "Ō": "O",
          "Ŏ": "O",
          "Ő": "O",
          "ō": "o",
          "ŏ": "o",
          "ő": "o",
          "Ŕ": "R",
          "Ŗ": "R",
          "Ř": "R",
          "ŕ": "r",
          "ŗ": "r",
          "ř": "r",
          "Ś": "S",
          "Ŝ": "S",
          "Ş": "S",
          "Š": "S",
          "ś": "s",
          "ŝ": "s",
          "ş": "s",
          "š": "s",
          "Ţ": "T",
          "Ť": "T",
          "Ŧ": "T",
          "ţ": "t",
          "ť": "t",
          "ŧ": "t",
          "Ũ": "U",
          "Ū": "U",
          "Ŭ": "U",
          "Ů": "U",
          "Ű": "U",
          "Ų": "U",
          "ũ": "u",
          "ū": "u",
          "ŭ": "u",
          "ů": "u",
          "ű": "u",
          "ų": "u",
          "Ŵ": "W",
          "ŵ": "w",
          "Ŷ": "Y",
          "ŷ": "y",
          "Ÿ": "Y",
          "Ź": "Z",
          "Ż": "Z",
          "Ž": "Z",
          "ź": "z",
          "ż": "z",
          "ž": "z",
          "Ĳ": "IJ",
          "ĳ": "ij",
          "Œ": "Oe",
          "œ": "oe",
          "ŉ": "'n",
          "ſ": "s"
        };
        var htmlEscapes = {
          "&": "&amp;",
          "<": "&lt;",
          ">": "&gt;",
          '"': "&quot;",
          "'": "&#39;"
        };
        var htmlUnescapes = {
          "&amp;": "&",
          "&lt;": "<",
          "&gt;": ">",
          "&quot;": '"',
          "&#39;": "'"
        };
        var stringEscapes = {
          "\\": "\\",
          "'": "'",
          "\n": "n",
          "\r": "r",
          "\u2028": "u2028",
          "\u2029": "u2029"
        };
        var freeParseFloat = parseFloat, freeParseInt = parseInt;
        var freeGlobal = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
        var freeSelf = typeof self == "object" && self && self.Object === Object && self;
        var root = freeGlobal || freeSelf || Function("return this")();
        var freeExports = exports3 && !exports3.nodeType && exports3;
        var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
        var moduleExports = freeModule && freeModule.exports === freeExports;
        var freeProcess = moduleExports && freeGlobal.process;
        var nodeUtil = function() {
          try {
            var types = freeModule && freeModule.require && freeModule.require("util").types;
            if (types) {
              return types;
            }
            return freeProcess && freeProcess.binding && freeProcess.binding("util");
          } catch (e) {
          }
        }();
        var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer, nodeIsDate = nodeUtil && nodeUtil.isDate, nodeIsMap = nodeUtil && nodeUtil.isMap, nodeIsRegExp = nodeUtil && nodeUtil.isRegExp, nodeIsSet = nodeUtil && nodeUtil.isSet, nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
        function apply(func, thisArg, args) {
          switch (args.length) {
            case 0:
              return func.call(thisArg);
            case 1:
              return func.call(thisArg, args[0]);
            case 2:
              return func.call(thisArg, args[0], args[1]);
            case 3:
              return func.call(thisArg, args[0], args[1], args[2]);
          }
          return func.apply(thisArg, args);
        }
        function arrayAggregator(array, setter, iteratee, accumulator) {
          var index = -1, length = array == null ? 0 : array.length;
          while (++index < length) {
            var value = array[index];
            setter(accumulator, value, iteratee(value), array);
          }
          return accumulator;
        }
        function arrayEach(array, iteratee) {
          var index = -1, length = array == null ? 0 : array.length;
          while (++index < length) {
            if (iteratee(array[index], index, array) === false) {
              break;
            }
          }
          return array;
        }
        function arrayEachRight(array, iteratee) {
          var length = array == null ? 0 : array.length;
          while (length--) {
            if (iteratee(array[length], length, array) === false) {
              break;
            }
          }
          return array;
        }
        function arrayEvery(array, predicate) {
          var index = -1, length = array == null ? 0 : array.length;
          while (++index < length) {
            if (!predicate(array[index], index, array)) {
              return false;
            }
          }
          return true;
        }
        function arrayFilter(array, predicate) {
          var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result = [];
          while (++index < length) {
            var value = array[index];
            if (predicate(value, index, array)) {
              result[resIndex++] = value;
            }
          }
          return result;
        }
        function arrayIncludes(array, value) {
          var length = array == null ? 0 : array.length;
          return !!length && baseIndexOf(array, value, 0) > -1;
        }
        function arrayIncludesWith(array, value, comparator) {
          var index = -1, length = array == null ? 0 : array.length;
          while (++index < length) {
            if (comparator(value, array[index])) {
              return true;
            }
          }
          return false;
        }
        function arrayMap(array, iteratee) {
          var index = -1, length = array == null ? 0 : array.length, result = Array(length);
          while (++index < length) {
            result[index] = iteratee(array[index], index, array);
          }
          return result;
        }
        function arrayPush(array, values) {
          var index = -1, length = values.length, offset = array.length;
          while (++index < length) {
            array[offset + index] = values[index];
          }
          return array;
        }
        function arrayReduce(array, iteratee, accumulator, initAccum) {
          var index = -1, length = array == null ? 0 : array.length;
          if (initAccum && length) {
            accumulator = array[++index];
          }
          while (++index < length) {
            accumulator = iteratee(accumulator, array[index], index, array);
          }
          return accumulator;
        }
        function arrayReduceRight(array, iteratee, accumulator, initAccum) {
          var length = array == null ? 0 : array.length;
          if (initAccum && length) {
            accumulator = array[--length];
          }
          while (length--) {
            accumulator = iteratee(accumulator, array[length], length, array);
          }
          return accumulator;
        }
        function arraySome(array, predicate) {
          var index = -1, length = array == null ? 0 : array.length;
          while (++index < length) {
            if (predicate(array[index], index, array)) {
              return true;
            }
          }
          return false;
        }
        var asciiSize = baseProperty("length");
        function asciiToArray(string) {
          return string.split("");
        }
        function asciiWords(string) {
          return string.match(reAsciiWord) || [];
        }
        function baseFindKey(collection, predicate, eachFunc) {
          var result;
          eachFunc(collection, function(value, key, collection2) {
            if (predicate(value, key, collection2)) {
              result = key;
              return false;
            }
          });
          return result;
        }
        function baseFindIndex(array, predicate, fromIndex, fromRight) {
          var length = array.length, index = fromIndex + (fromRight ? 1 : -1);
          while (fromRight ? index-- : ++index < length) {
            if (predicate(array[index], index, array)) {
              return index;
            }
          }
          return -1;
        }
        function baseIndexOf(array, value, fromIndex) {
          return value === value ? strictIndexOf(array, value, fromIndex) : baseFindIndex(array, baseIsNaN, fromIndex);
        }
        function baseIndexOfWith(array, value, fromIndex, comparator) {
          var index = fromIndex - 1, length = array.length;
          while (++index < length) {
            if (comparator(array[index], value)) {
              return index;
            }
          }
          return -1;
        }
        function baseIsNaN(value) {
          return value !== value;
        }
        function baseMean(array, iteratee) {
          var length = array == null ? 0 : array.length;
          return length ? baseSum(array, iteratee) / length : NAN;
        }
        function baseProperty(key) {
          return function(object) {
            return object == null ? undefined$1 : object[key];
          };
        }
        function basePropertyOf(object) {
          return function(key) {
            return object == null ? undefined$1 : object[key];
          };
        }
        function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {
          eachFunc(collection, function(value, index, collection2) {
            accumulator = initAccum ? (initAccum = false, value) : iteratee(accumulator, value, index, collection2);
          });
          return accumulator;
        }
        function baseSortBy(array, comparer) {
          var length = array.length;
          array.sort(comparer);
          while (length--) {
            array[length] = array[length].value;
          }
          return array;
        }
        function baseSum(array, iteratee) {
          var result, index = -1, length = array.length;
          while (++index < length) {
            var current = iteratee(array[index]);
            if (current !== undefined$1) {
              result = result === undefined$1 ? current : result + current;
            }
          }
          return result;
        }
        function baseTimes(n, iteratee) {
          var index = -1, result = Array(n);
          while (++index < n) {
            result[index] = iteratee(index);
          }
          return result;
        }
        function baseToPairs(object, props) {
          return arrayMap(props, function(key) {
            return [key, object[key]];
          });
        }
        function baseTrim(string) {
          return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
        }
        function baseUnary(func) {
          return function(value) {
            return func(value);
          };
        }
        function baseValues(object, props) {
          return arrayMap(props, function(key) {
            return object[key];
          });
        }
        function cacheHas(cache, key) {
          return cache.has(key);
        }
        function charsStartIndex(strSymbols, chrSymbols) {
          var index = -1, length = strSymbols.length;
          while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {
          }
          return index;
        }
        function charsEndIndex(strSymbols, chrSymbols) {
          var index = strSymbols.length;
          while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {
          }
          return index;
        }
        function countHolders(array, placeholder) {
          var length = array.length, result = 0;
          while (length--) {
            if (array[length] === placeholder) {
              ++result;
            }
          }
          return result;
        }
        var deburrLetter = basePropertyOf(deburredLetters);
        var escapeHtmlChar = basePropertyOf(htmlEscapes);
        function escapeStringChar(chr) {
          return "\\" + stringEscapes[chr];
        }
        function getValue(object, key) {
          return object == null ? undefined$1 : object[key];
        }
        function hasUnicode(string) {
          return reHasUnicode.test(string);
        }
        function hasUnicodeWord(string) {
          return reHasUnicodeWord.test(string);
        }
        function iteratorToArray(iterator) {
          var data, result = [];
          while (!(data = iterator.next()).done) {
            result.push(data.value);
          }
          return result;
        }
        function mapToArray(map) {
          var index = -1, result = Array(map.size);
          map.forEach(function(value, key) {
            result[++index] = [key, value];
          });
          return result;
        }
        function overArg(func, transform) {
          return function(arg) {
            return func(transform(arg));
          };
        }
        function replaceHolders(array, placeholder) {
          var index = -1, length = array.length, resIndex = 0, result = [];
          while (++index < length) {
            var value = array[index];
            if (value === placeholder || value === PLACEHOLDER) {
              array[index] = PLACEHOLDER;
              result[resIndex++] = index;
            }
          }
          return result;
        }
        function setToArray(set) {
          var index = -1, result = Array(set.size);
          set.forEach(function(value) {
            result[++index] = value;
          });
          return result;
        }
        function setToPairs(set) {
          var index = -1, result = Array(set.size);
          set.forEach(function(value) {
            result[++index] = [value, value];
          });
          return result;
        }
        function strictIndexOf(array, value, fromIndex) {
          var index = fromIndex - 1, length = array.length;
          while (++index < length) {
            if (array[index] === value) {
              return index;
            }
          }
          return -1;
        }
        function strictLastIndexOf(array, value, fromIndex) {
          var index = fromIndex + 1;
          while (index--) {
            if (array[index] === value) {
              return index;
            }
          }
          return index;
        }
        function stringSize(string) {
          return hasUnicode(string) ? unicodeSize(string) : asciiSize(string);
        }
        function stringToArray(string) {
          return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string);
        }
        function trimmedEndIndex(string) {
          var index = string.length;
          while (index-- && reWhitespace.test(string.charAt(index))) {
          }
          return index;
        }
        var unescapeHtmlChar = basePropertyOf(htmlUnescapes);
        function unicodeSize(string) {
          var result = reUnicode.lastIndex = 0;
          while (reUnicode.test(string)) {
            ++result;
          }
          return result;
        }
        function unicodeToArray(string) {
          return string.match(reUnicode) || [];
        }
        function unicodeWords(string) {
          return string.match(reUnicodeWord) || [];
        }
        var runInContext = function runInContext2(context) {
          context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));
          var Array2 = context.Array, Date2 = context.Date, Error2 = context.Error, Function2 = context.Function, Math2 = context.Math, Object2 = context.Object, RegExp2 = context.RegExp, String2 = context.String, TypeError2 = context.TypeError;
          var arrayProto = Array2.prototype, funcProto = Function2.prototype, objectProto = Object2.prototype;
          var coreJsData = context["__core-js_shared__"];
          var funcToString = funcProto.toString;
          var hasOwnProperty = objectProto.hasOwnProperty;
          var idCounter = 0;
          var maskSrcKey = function() {
            var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
            return uid ? "Symbol(src)_1." + uid : "";
          }();
          var nativeObjectToString = objectProto.toString;
          var objectCtorString = funcToString.call(Object2);
          var oldDash = root._;
          var reIsNative = RegExp2(
            "^" + funcToString.call(hasOwnProperty).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
          );
          var Buffer = moduleExports ? context.Buffer : undefined$1, Symbol2 = context.Symbol, Uint8Array2 = context.Uint8Array, allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined$1, getPrototype = overArg(Object2.getPrototypeOf, Object2), objectCreate = Object2.create, propertyIsEnumerable = objectProto.propertyIsEnumerable, splice = arrayProto.splice, spreadableSymbol = Symbol2 ? Symbol2.isConcatSpreadable : undefined$1, symIterator = Symbol2 ? Symbol2.iterator : undefined$1, symToStringTag = Symbol2 ? Symbol2.toStringTag : undefined$1;
          var defineProperty = function() {
            try {
              var func = getNative(Object2, "defineProperty");
              func({}, "", {});
              return func;
            } catch (e) {
            }
          }();
          var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, ctxNow = Date2 && Date2.now !== root.Date.now && Date2.now, ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;
          var nativeCeil = Math2.ceil, nativeFloor = Math2.floor, nativeGetSymbols = Object2.getOwnPropertySymbols, nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined$1, nativeIsFinite = context.isFinite, nativeJoin = arrayProto.join, nativeKeys = overArg(Object2.keys, Object2), nativeMax = Math2.max, nativeMin = Math2.min, nativeNow = Date2.now, nativeParseInt = context.parseInt, nativeRandom = Math2.random, nativeReverse = arrayProto.reverse;
          var DataView = getNative(context, "DataView"), Map = getNative(context, "Map"), Promise2 = getNative(context, "Promise"), Set2 = getNative(context, "Set"), WeakMap = getNative(context, "WeakMap"), nativeCreate = getNative(Object2, "create");
          var metaMap = WeakMap && new WeakMap();
          var realNames = {};
          var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise2), setCtorString = toSource(Set2), weakMapCtorString = toSource(WeakMap);
          var symbolProto = Symbol2 ? Symbol2.prototype : undefined$1, symbolValueOf = symbolProto ? symbolProto.valueOf : undefined$1, symbolToString = symbolProto ? symbolProto.toString : undefined$1;
          function lodash2(value) {
            if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {
              if (value instanceof LodashWrapper) {
                return value;
              }
              if (hasOwnProperty.call(value, "__wrapped__")) {
                return wrapperClone(value);
              }
            }
            return new LodashWrapper(value);
          }
          var baseCreate = /* @__PURE__ */ function() {
            function object() {
            }
            return function(proto) {
              if (!isObject(proto)) {
                return {};
              }
              if (objectCreate) {
                return objectCreate(proto);
              }
              object.prototype = proto;
              var result2 = new object();
              object.prototype = undefined$1;
              return result2;
            };
          }();
          function baseLodash() {
          }
          function LodashWrapper(value, chainAll) {
            this.__wrapped__ = value;
            this.__actions__ = [];
            this.__chain__ = !!chainAll;
            this.__index__ = 0;
            this.__values__ = undefined$1;
          }
          lodash2.templateSettings = {
            /**
             * Used to detect `data` property values to be HTML-escaped.
             *
             * @memberOf _.templateSettings
             * @type {RegExp}
             */
            "escape": reEscape,
            /**
             * Used to detect code to be evaluated.
             *
             * @memberOf _.templateSettings
             * @type {RegExp}
             */
            "evaluate": reEvaluate,
            /**
             * Used to detect `data` property values to inject.
             *
             * @memberOf _.templateSettings
             * @type {RegExp}
             */
            "interpolate": reInterpolate,
            /**
             * Used to reference the data object in the template text.
             *
             * @memberOf _.templateSettings
             * @type {string}
             */
            "variable": "",
            /**
             * Used to import variables into the compiled template.
             *
             * @memberOf _.templateSettings
             * @type {Object}
             */
            "imports": {
              /**
               * A reference to the `lodash` function.
               *
               * @memberOf _.templateSettings.imports
               * @type {Function}
               */
              "_": lodash2
            }
          };
          lodash2.prototype = baseLodash.prototype;
          lodash2.prototype.constructor = lodash2;
          LodashWrapper.prototype = baseCreate(baseLodash.prototype);
          LodashWrapper.prototype.constructor = LodashWrapper;
          function LazyWrapper(value) {
            this.__wrapped__ = value;
            this.__actions__ = [];
            this.__dir__ = 1;
            this.__filtered__ = false;
            this.__iteratees__ = [];
            this.__takeCount__ = MAX_ARRAY_LENGTH;
            this.__views__ = [];
          }
          function lazyClone() {
            var result2 = new LazyWrapper(this.__wrapped__);
            result2.__actions__ = copyArray(this.__actions__);
            result2.__dir__ = this.__dir__;
            result2.__filtered__ = this.__filtered__;
            result2.__iteratees__ = copyArray(this.__iteratees__);
            result2.__takeCount__ = this.__takeCount__;
            result2.__views__ = copyArray(this.__views__);
            return result2;
          }
          function lazyReverse() {
            if (this.__filtered__) {
              var result2 = new LazyWrapper(this);
              result2.__dir__ = -1;
              result2.__filtered__ = true;
            } else {
              result2 = this.clone();
              result2.__dir__ *= -1;
            }
            return result2;
          }
          function lazyValue() {
            var array = this.__wrapped__.value(), dir = this.__dir__, isArr = isArray(array), isRight = dir < 0, arrLength = isArr ? array.length : 0, view = getView(0, arrLength, this.__views__), start = view.start, end = view.end, length = end - start, index = isRight ? end : start - 1, iteratees = this.__iteratees__, iterLength = iteratees.length, resIndex = 0, takeCount = nativeMin(length, this.__takeCount__);
            if (!isArr || !isRight && arrLength == length && takeCount == length) {
              return baseWrapperValue(array, this.__actions__);
            }
            var result2 = [];
            outer:
              while (length-- && resIndex < takeCount) {
                index += dir;
                var iterIndex = -1, value = array[index];
                while (++iterIndex < iterLength) {
                  var data = iteratees[iterIndex], iteratee2 = data.iteratee, type = data.type, computed = iteratee2(value);
                  if (type == LAZY_MAP_FLAG) {
                    value = computed;
                  } else if (!computed) {
                    if (type == LAZY_FILTER_FLAG) {
                      continue outer;
                    } else {
                      break outer;
                    }
                  }
                }
                result2[resIndex++] = value;
              }
            return result2;
          }
          LazyWrapper.prototype = baseCreate(baseLodash.prototype);
          LazyWrapper.prototype.constructor = LazyWrapper;
          function Hash(entries) {
            var index = -1, length = entries == null ? 0 : entries.length;
            this.clear();
            while (++index < length) {
              var entry = entries[index];
              this.set(entry[0], entry[1]);
            }
          }
          function hashClear() {
            this.__data__ = nativeCreate ? nativeCreate(null) : {};
            this.size = 0;
          }
          function hashDelete(key) {
            var result2 = this.has(key) && delete this.__data__[key];
            this.size -= result2 ? 1 : 0;
            return result2;
          }
          function hashGet(key) {
            var data = this.__data__;
            if (nativeCreate) {
              var result2 = data[key];
              return result2 === HASH_UNDEFINED ? undefined$1 : result2;
            }
            return hasOwnProperty.call(data, key) ? data[key] : undefined$1;
          }
          function hashHas(key) {
            var data = this.__data__;
            return nativeCreate ? data[key] !== undefined$1 : hasOwnProperty.call(data, key);
          }
          function hashSet(key, value) {
            var data = this.__data__;
            this.size += this.has(key) ? 0 : 1;
            data[key] = nativeCreate && value === undefined$1 ? HASH_UNDEFINED : value;
            return this;
          }
          Hash.prototype.clear = hashClear;
          Hash.prototype["delete"] = hashDelete;
          Hash.prototype.get = hashGet;
          Hash.prototype.has = hashHas;
          Hash.prototype.set = hashSet;
          function ListCache(entries) {
            var index = -1, length = entries == null ? 0 : entries.length;
            this.clear();
            while (++index < length) {
              var entry = entries[index];
              this.set(entry[0], entry[1]);
            }
          }
          function listCacheClear() {
            this.__data__ = [];
            this.size = 0;
          }
          function listCacheDelete(key) {
            var data = this.__data__, index = assocIndexOf(data, key);
            if (index < 0) {
              return false;
            }
            var lastIndex = data.length - 1;
            if (index == lastIndex) {
              data.pop();
            } else {
              splice.call(data, index, 1);
            }
            --this.size;
            return true;
          }
          function listCacheGet(key) {
            var data = this.__data__, index = assocIndexOf(data, key);
            return index < 0 ? undefined$1 : data[index][1];
          }
          function listCacheHas(key) {
            return assocIndexOf(this.__data__, key) > -1;
          }
          function listCacheSet(key, value) {
            var data = this.__data__, index = assocIndexOf(data, key);
            if (index < 0) {
              ++this.size;
              data.push([key, value]);
            } else {
              data[index][1] = value;
            }
            return this;
          }
          ListCache.prototype.clear = listCacheClear;
          ListCache.prototype["delete"] = listCacheDelete;
          ListCache.prototype.get = listCacheGet;
          ListCache.prototype.has = listCacheHas;
          ListCache.prototype.set = listCacheSet;
          function MapCache(entries) {
            var index = -1, length = entries == null ? 0 : entries.length;
            this.clear();
            while (++index < length) {
              var entry = entries[index];
              this.set(entry[0], entry[1]);
            }
          }
          function mapCacheClear() {
            this.size = 0;
            this.__data__ = {
              "hash": new Hash(),
              "map": new (Map || ListCache)(),
              "string": new Hash()
            };
          }
          function mapCacheDelete(key) {
            var result2 = getMapData(this, key)["delete"](key);
            this.size -= result2 ? 1 : 0;
            return result2;
          }
          function mapCacheGet(key) {
            return getMapData(this, key).get(key);
          }
          function mapCacheHas(key) {
            return getMapData(this, key).has(key);
          }
          function mapCacheSet(key, value) {
            var data = getMapData(this, key), size2 = data.size;
            data.set(key, value);
            this.size += data.size == size2 ? 0 : 1;
            return this;
          }
          MapCache.prototype.clear = mapCacheClear;
          MapCache.prototype["delete"] = mapCacheDelete;
          MapCache.prototype.get = mapCacheGet;
          MapCache.prototype.has = mapCacheHas;
          MapCache.prototype.set = mapCacheSet;
          function SetCache(values2) {
            var index = -1, length = values2 == null ? 0 : values2.length;
            this.__data__ = new MapCache();
            while (++index < length) {
              this.add(values2[index]);
            }
          }
          function setCacheAdd(value) {
            this.__data__.set(value, HASH_UNDEFINED);
            return this;
          }
          function setCacheHas(value) {
            return this.__data__.has(value);
          }
          SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
          SetCache.prototype.has = setCacheHas;
          function Stack(entries) {
            var data = this.__data__ = new ListCache(entries);
            this.size = data.size;
          }
          function stackClear() {
            this.__data__ = new ListCache();
            this.size = 0;
          }
          function stackDelete(key) {
            var data = this.__data__, result2 = data["delete"](key);
            this.size = data.size;
            return result2;
          }
          function stackGet(key) {
            return this.__data__.get(key);
          }
          function stackHas(key) {
            return this.__data__.has(key);
          }
          function stackSet(key, value) {
            var data = this.__data__;
            if (data instanceof ListCache) {
              var pairs = data.__data__;
              if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
                pairs.push([key, value]);
                this.size = ++data.size;
                return this;
              }
              data = this.__data__ = new MapCache(pairs);
            }
            data.set(key, value);
            this.size = data.size;
            return this;
          }
          Stack.prototype.clear = stackClear;
          Stack.prototype["delete"] = stackDelete;
          Stack.prototype.get = stackGet;
          Stack.prototype.has = stackHas;
          Stack.prototype.set = stackSet;
          function arrayLikeKeys(value, inherited) {
            var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result2 = skipIndexes ? baseTimes(value.length, String2) : [], length = result2.length;
            for (var key in value) {
              if ((inherited || hasOwnProperty.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
              (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
              isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
              isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
              isIndex(key, length)))) {
                result2.push(key);
              }
            }
            return result2;
          }
          function arraySample(array) {
            var length = array.length;
            return length ? array[baseRandom(0, length - 1)] : undefined$1;
          }
          function arraySampleSize(array, n) {
            return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));
          }
          function arrayShuffle(array) {
            return shuffleSelf(copyArray(array));
          }
          function assignMergeValue(object, key, value) {
            if (value !== undefined$1 && !eq(object[key], value) || value === undefined$1 && !(key in object)) {
              baseAssignValue(object, key, value);
            }
          }
          function assignValue(object, key, value) {
            var objValue = object[key];
            if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || value === undefined$1 && !(key in object)) {
              baseAssignValue(object, key, value);
            }
          }
          function assocIndexOf(array, key) {
            var length = array.length;
            while (length--) {
              if (eq(array[length][0], key)) {
                return length;
              }
            }
            return -1;
          }
          function baseAggregator(collection, setter, iteratee2, accumulator) {
            baseEach(collection, function(value, key, collection2) {
              setter(accumulator, value, iteratee2(value), collection2);
            });
            return accumulator;
          }
          function baseAssign(object, source) {
            return object && copyObject(source, keys(source), object);
          }
          function baseAssignIn(object, source) {
            return object && copyObject(source, keysIn(source), object);
          }
          function baseAssignValue(object, key, value) {
            if (key == "__proto__" && defineProperty) {
              defineProperty(object, key, {
                "configurable": true,
                "enumerable": true,
                "value": value,
                "writable": true
              });
            } else {
              object[key] = value;
            }
          }
          function baseAt(object, paths) {
            var index = -1, length = paths.length, result2 = Array2(length), skip = object == null;
            while (++index < length) {
              result2[index] = skip ? undefined$1 : get(object, paths[index]);
            }
            return result2;
          }
          function baseClamp(number, lower, upper) {
            if (number === number) {
              if (upper !== undefined$1) {
                number = number <= upper ? number : upper;
              }
              if (lower !== undefined$1) {
                number = number >= lower ? number : lower;
              }
            }
            return number;
          }
          function baseClone(value, bitmask, customizer, key, object, stack) {
            var result2, isDeep = bitmask & CLONE_DEEP_FLAG, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG;
            if (customizer) {
              result2 = object ? customizer(value, key, object, stack) : customizer(value);
            }
            if (result2 !== undefined$1) {
              return result2;
            }
            if (!isObject(value)) {
              return value;
            }
            var isArr = isArray(value);
            if (isArr) {
              result2 = initCloneArray(value);
              if (!isDeep) {
                return copyArray(value, result2);
              }
            } else {
              var tag = getTag(value), isFunc = tag == funcTag || tag == genTag;
              if (isBuffer(value)) {
                return cloneBuffer(value, isDeep);
              }
              if (tag == objectTag || tag == argsTag || isFunc && !object) {
                result2 = isFlat || isFunc ? {} : initCloneObject(value);
                if (!isDeep) {
                  return isFlat ? copySymbolsIn(value, baseAssignIn(result2, value)) : copySymbols(value, baseAssign(result2, value));
                }
              } else {
                if (!cloneableTags[tag]) {
                  return object ? value : {};
                }
                result2 = initCloneByTag(value, tag, isDeep);
              }
            }
            stack || (stack = new Stack());
            var stacked = stack.get(value);
            if (stacked) {
              return stacked;
            }
            stack.set(value, result2);
            if (isSet(value)) {
              value.forEach(function(subValue) {
                result2.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));
              });
            } else if (isMap(value)) {
              value.forEach(function(subValue, key2) {
                result2.set(key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
              });
            }
            var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys : isFlat ? keysIn : keys;
            var props = isArr ? undefined$1 : keysFunc(value);
            arrayEach(props || value, function(subValue, key2) {
              if (props) {
                key2 = subValue;
                subValue = value[key2];
              }
              assignValue(result2, key2, baseClone(subValue, bitmask, customizer, key2, value, stack));
            });
            return result2;
          }
          function baseConforms(source) {
            var props = keys(source);
            return function(object) {
              return baseConformsTo(object, source, props);
            };
          }
          function baseConformsTo(object, source, props) {
            var length = props.length;
            if (object == null) {
              return !length;
            }
            object = Object2(object);
            while (length--) {
              var key = props[length], predicate = source[key], value = object[key];
              if (value === undefined$1 && !(key in object) || !predicate(value)) {
                return false;
              }
            }
            return true;
          }
          function baseDelay(func, wait, args) {
            if (typeof func != "function") {
              throw new TypeError2(FUNC_ERROR_TEXT);
            }
            return setTimeout2(function() {
              func.apply(undefined$1, args);
            }, wait);
          }
          function baseDifference(array, values2, iteratee2, comparator) {
            var index = -1, includes2 = arrayIncludes, isCommon = true, length = array.length, result2 = [], valuesLength = values2.length;
            if (!length) {
              return result2;
            }
            if (iteratee2) {
              values2 = arrayMap(values2, baseUnary(iteratee2));
            }
            if (comparator) {
              includes2 = arrayIncludesWith;
              isCommon = false;
            } else if (values2.length >= LARGE_ARRAY_SIZE) {
              includes2 = cacheHas;
              isCommon = false;
              values2 = new SetCache(values2);
            }
            outer:
              while (++index < length) {
                var value = array[index], computed = iteratee2 == null ? value : iteratee2(value);
                value = comparator || value !== 0 ? value : 0;
                if (isCommon && computed === computed) {
                  var valuesIndex = valuesLength;
                  while (valuesIndex--) {
                    if (values2[valuesIndex] === computed) {
                      continue outer;
                    }
                  }
                  result2.push(value);
                } else if (!includes2(values2, computed, comparator)) {
                  result2.push(value);
                }
              }
            return result2;
          }
          var baseEach = createBaseEach(baseForOwn);
          var baseEachRight = createBaseEach(baseForOwnRight, true);
          function baseEvery(collection, predicate) {
            var result2 = true;
            baseEach(collection, function(value, index, collection2) {
              result2 = !!predicate(value, index, collection2);
              return result2;
            });
            return result2;
          }
          function baseExtremum(array, iteratee2, comparator) {
            var index = -1, length = array.length;
            while (++index < length) {
              var value = array[index], current = iteratee2(value);
              if (current != null && (computed === undefined$1 ? current === current && !isSymbol(current) : comparator(current, computed))) {
                var computed = current, result2 = value;
              }
            }
            return result2;
          }
          function baseFill(array, value, start, end) {
            var length = array.length;
            start = toInteger(start);
            if (start < 0) {
              start = -start > length ? 0 : length + start;
            }
            end = end === undefined$1 || end > length ? length : toInteger(end);
            if (end < 0) {
              end += length;
            }
            end = start > end ? 0 : toLength(end);
            while (start < end) {
              array[start++] = value;
            }
            return array;
          }
          function baseFilter(collection, predicate) {
            var result2 = [];
            baseEach(collection, function(value, index, collection2) {
              if (predicate(value, index, collection2)) {
                result2.push(value);
              }
            });
            return result2;
          }
          function baseFlatten(array, depth, predicate, isStrict, result2) {
            var index = -1, length = array.length;
            predicate || (predicate = isFlattenable);
            result2 || (result2 = []);
            while (++index < length) {
              var value = array[index];
              if (depth > 0 && predicate(value)) {
                if (depth > 1) {
                  baseFlatten(value, depth - 1, predicate, isStrict, result2);
                } else {
                  arrayPush(result2, value);
                }
              } else if (!isStrict) {
                result2[result2.length] = value;
              }
            }
            return result2;
          }
          var baseFor = createBaseFor();
          var baseForRight = createBaseFor(true);
          function baseForOwn(object, iteratee2) {
            return object && baseFor(object, iteratee2, keys);
          }
          function baseForOwnRight(object, iteratee2) {
            return object && baseForRight(object, iteratee2, keys);
          }
          function baseFunctions(object, props) {
            return arrayFilter(props, function(key) {
              return isFunction(object[key]);
            });
          }
          function baseGet(object, path) {
            path = castPath(path, object);
            var index = 0, length = path.length;
            while (object != null && index < length) {
              object = object[toKey(path[index++])];
            }
            return index && index == length ? object : undefined$1;
          }
          function baseGetAllKeys(object, keysFunc, symbolsFunc) {
            var result2 = keysFunc(object);
            return isArray(object) ? result2 : arrayPush(result2, symbolsFunc(object));
          }
          function baseGetTag(value) {
            if (value == null) {
              return value === undefined$1 ? undefinedTag : nullTag;
            }
            return symToStringTag && symToStringTag in Object2(value) ? getRawTag(value) : objectToString(value);
          }
          function baseGt(value, other) {
            return value > other;
          }
          function baseHas(object, key) {
            return object != null && hasOwnProperty.call(object, key);
          }
          function baseHasIn(object, key) {
            return object != null && key in Object2(object);
          }
          function baseInRange(number, start, end) {
            return number >= nativeMin(start, end) && number < nativeMax(start, end);
          }
          function baseIntersection(arrays, iteratee2, comparator) {
            var includes2 = comparator ? arrayIncludesWith : arrayIncludes, length = arrays[0].length, othLength = arrays.length, othIndex = othLength, caches = Array2(othLength), maxLength = Infinity, result2 = [];
            while (othIndex--) {
              var array = arrays[othIndex];
              if (othIndex && iteratee2) {
                array = arrayMap(array, baseUnary(iteratee2));
              }
              maxLength = nativeMin(array.length, maxLength);
              caches[othIndex] = !comparator && (iteratee2 || length >= 120 && array.length >= 120) ? new SetCache(othIndex && array) : undefined$1;
            }
            array = arrays[0];
            var index = -1, seen = caches[0];
            outer:
              while (++index < length && result2.length < maxLength) {
                var value = array[index], computed = iteratee2 ? iteratee2(value) : value;
                value = comparator || value !== 0 ? value : 0;
                if (!(seen ? cacheHas(seen, computed) : includes2(result2, computed, comparator))) {
                  othIndex = othLength;
                  while (--othIndex) {
                    var cache = caches[othIndex];
                    if (!(cache ? cacheHas(cache, computed) : includes2(arrays[othIndex], computed, comparator))) {
                      continue outer;
                    }
                  }
                  if (seen) {
                    seen.push(computed);
                  }
                  result2.push(value);
                }
              }
            return result2;
          }
          function baseInverter(object, setter, iteratee2, accumulator) {
            baseForOwn(object, function(value, key, object2) {
              setter(accumulator, iteratee2(value), key, object2);
            });
            return accumulator;
          }
          function baseInvoke(object, path, args) {
            path = castPath(path, object);
            object = parent(object, path);
            var func = object == null ? object : object[toKey(last(path))];
            return func == null ? undefined$1 : apply(func, object, args);
          }
          function baseIsArguments(value) {
            return isObjectLike(value) && baseGetTag(value) == argsTag;
          }
          function baseIsArrayBuffer(value) {
            return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;
          }
          function baseIsDate(value) {
            return isObjectLike(value) && baseGetTag(value) == dateTag;
          }
          function baseIsEqual(value, other, bitmask, customizer, stack) {
            if (value === other) {
              return true;
            }
            if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {
              return value !== value && other !== other;
            }
            return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
          }
          function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
            var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
            objTag = objTag == argsTag ? objectTag : objTag;
            othTag = othTag == argsTag ? objectTag : othTag;
            var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
            if (isSameTag && isBuffer(object)) {
              if (!isBuffer(other)) {
                return false;
              }
              objIsArr = true;
              objIsObj = false;
            }
            if (isSameTag && !objIsObj) {
              stack || (stack = new Stack());
              return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
            }
            if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
              var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
              if (objIsWrapped || othIsWrapped) {
                var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
                stack || (stack = new Stack());
                return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
              }
            }
            if (!isSameTag) {
              return false;
            }
            stack || (stack = new Stack());
            return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
          }
          function baseIsMap(value) {
            return isObjectLike(value) && getTag(value) == mapTag;
          }
          function baseIsMatch(object, source, matchData, customizer) {
            var index = matchData.length, length = index, noCustomizer = !customizer;
            if (object == null) {
              return !length;
            }
            object = Object2(object);
            while (index--) {
              var data = matchData[index];
              if (noCustomizer && data[2] ? data[1] !== object[data[0]] : !(data[0] in object)) {
                return false;
              }
            }
            while (++index < length) {
              data = matchData[index];
              var key = data[0], objValue = object[key], srcValue = data[1];
              if (noCustomizer && data[2]) {
                if (objValue === undefined$1 && !(key in object)) {
                  return false;
                }
              } else {
                var stack = new Stack();
                if (customizer) {
                  var result2 = customizer(objValue, srcValue, key, object, source, stack);
                }
                if (!(result2 === undefined$1 ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) : result2)) {
                  return false;
                }
              }
            }
            return true;
          }
          function baseIsNative(value) {
            if (!isObject(value) || isMasked(value)) {
              return false;
            }
            var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
            return pattern.test(toSource(value));
          }
          function baseIsRegExp(value) {
            return isObjectLike(value) && baseGetTag(value) == regexpTag;
          }
          function baseIsSet(value) {
            return isObjectLike(value) && getTag(value) == setTag;
          }
          function baseIsTypedArray(value) {
            return isObjectLike(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
          }
          function baseIteratee(value) {
            if (typeof value == "function") {
              return value;
            }
            if (value == null) {
              return identity;
            }
            if (typeof value == "object") {
              return isArray(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
            }
            return property(value);
          }
          function baseKeys(object) {
            if (!isPrototype(object)) {
              return nativeKeys(object);
            }
            var result2 = [];
            for (var key in Object2(object)) {
              if (hasOwnProperty.call(object, key) && key != "constructor") {
                result2.push(key);
              }
            }
            return result2;
          }
          function baseKeysIn(object) {
            if (!isObject(object)) {
              return nativeKeysIn(object);
            }
            var isProto = isPrototype(object), result2 = [];
            for (var key in object) {
              if (!(key == "constructor" && (isProto || !hasOwnProperty.call(object, key)))) {
                result2.push(key);
              }
            }
            return result2;
          }
          function baseLt(value, other) {
            return value < other;
          }
          function baseMap(collection, iteratee2) {
            var index = -1, result2 = isArrayLike(collection) ? Array2(collection.length) : [];
            baseEach(collection, function(value, key, collection2) {
              result2[++index] = iteratee2(value, key, collection2);
            });
            return result2;
          }
          function baseMatches(source) {
            var matchData = getMatchData(source);
            if (matchData.length == 1 && matchData[0][2]) {
              return matchesStrictComparable(matchData[0][0], matchData[0][1]);
            }
            return function(object) {
              return object === source || baseIsMatch(object, source, matchData);
            };
          }
          function baseMatchesProperty(path, srcValue) {
            if (isKey(path) && isStrictComparable(srcValue)) {
              return matchesStrictComparable(toKey(path), srcValue);
            }
            return function(object) {
              var objValue = get(object, path);
              return objValue === undefined$1 && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
            };
          }
          function baseMerge(object, source, srcIndex, customizer, stack) {
            if (object === source) {
              return;
            }
            baseFor(source, function(srcValue, key) {
              stack || (stack = new Stack());
              if (isObject(srcValue)) {
                baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
              } else {
                var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : undefined$1;
                if (newValue === undefined$1) {
                  newValue = srcValue;
                }
                assignMergeValue(object, key, newValue);
              }
            }, keysIn);
          }
          function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
            var objValue = safeGet(object, key), srcValue = safeGet(source, key), stacked = stack.get(srcValue);
            if (stacked) {
              assignMergeValue(object, key, stacked);
              return;
            }
            var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : undefined$1;
            var isCommon = newValue === undefined$1;
            if (isCommon) {
              var isArr = isArray(srcValue), isBuff = !isArr && isBuffer(srcValue), isTyped = !isArr && !isBuff && isTypedArray(srcValue);
              newValue = srcValue;
              if (isArr || isBuff || isTyped) {
                if (isArray(objValue)) {
                  newValue = objValue;
                } else if (isArrayLikeObject(objValue)) {
                  newValue = copyArray(objValue);
                } else if (isBuff) {
                  isCommon = false;
                  newValue = cloneBuffer(srcValue, true);
                } else if (isTyped) {
                  isCommon = false;
                  newValue = cloneTypedArray(srcValue, true);
                } else {
                  newValue = [];
                }
              } else if (isPlainObject(srcValue) || isArguments(srcValue)) {
                newValue = objValue;
                if (isArguments(objValue)) {
                  newValue = toPlainObject(objValue);
                } else if (!isObject(objValue) || isFunction(objValue)) {
                  newValue = initCloneObject(srcValue);
                }
              } else {
                isCommon = false;
              }
            }
            if (isCommon) {
              stack.set(srcValue, newValue);
              mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
              stack["delete"](srcValue);
            }
            assignMergeValue(object, key, newValue);
          }
          function baseNth(array, n) {
            var length = array.length;
            if (!length) {
              return;
            }
            n += n < 0 ? length : 0;
            return isIndex(n, length) ? array[n] : undefined$1;
          }
          function baseOrderBy(collection, iteratees, orders) {
            if (iteratees.length) {
              iteratees = arrayMap(iteratees, function(iteratee2) {
                if (isArray(iteratee2)) {
                  return function(value) {
                    return baseGet(value, iteratee2.length === 1 ? iteratee2[0] : iteratee2);
                  };
                }
                return iteratee2;
              });
            } else {
              iteratees = [identity];
            }
            var index = -1;
            iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
            var result2 = baseMap(collection, function(value, key, collection2) {
              var criteria = arrayMap(iteratees, function(iteratee2) {
                return iteratee2(value);
              });
              return { "criteria": criteria, "index": ++index, "value": value };
            });
            return baseSortBy(result2, function(object, other) {
              return compareMultiple(object, other, orders);
            });
          }
          function basePick(object, paths) {
            return basePickBy(object, paths, function(value, path) {
              return hasIn(object, path);
            });
          }
          function basePickBy(object, paths, predicate) {
            var index = -1, length = paths.length, result2 = {};
            while (++index < length) {
              var path = paths[index], value = baseGet(object, path);
              if (predicate(value, path)) {
                baseSet(result2, castPath(path, object), value);
              }
            }
            return result2;
          }
          function basePropertyDeep(path) {
            return function(object) {
              return baseGet(object, path);
            };
          }
          function basePullAll(array, values2, iteratee2, comparator) {
            var indexOf2 = comparator ? baseIndexOfWith : baseIndexOf, index = -1, length = values2.length, seen = array;
            if (array === values2) {
              values2 = copyArray(values2);
            }
            if (iteratee2) {
              seen = arrayMap(array, baseUnary(iteratee2));
            }
            while (++index < length) {
              var fromIndex = 0, value = values2[index], computed = iteratee2 ? iteratee2(value) : value;
              while ((fromIndex = indexOf2(seen, computed, fromIndex, comparator)) > -1) {
                if (seen !== array) {
                  splice.call(seen, fromIndex, 1);
                }
                splice.call(array, fromIndex, 1);
              }
            }
            return array;
          }
          function basePullAt(array, indexes) {
            var length = array ? indexes.length : 0, lastIndex = length - 1;
            while (length--) {
              var index = indexes[length];
              if (length == lastIndex || index !== previous) {
                var previous = index;
                if (isIndex(index)) {
                  splice.call(array, index, 1);
                } else {
                  baseUnset(array, index);
                }
              }
            }
            return array;
          }
          function baseRandom(lower, upper) {
            return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
          }
          function baseRange(start, end, step, fromRight) {
            var index = -1, length = nativeMax(nativeCeil((end - start) / (step || 1)), 0), result2 = Array2(length);
            while (length--) {
              result2[fromRight ? length : ++index] = start;
              start += step;
            }
            return result2;
          }
          function baseRepeat(string, n) {
            var result2 = "";
            if (!string || n < 1 || n > MAX_SAFE_INTEGER) {
              return result2;
            }
            do {
              if (n % 2) {
                result2 += string;
              }
              n = nativeFloor(n / 2);
              if (n) {
                string += string;
              }
            } while (n);
            return result2;
          }
          function baseRest(func, start) {
            return setToString(overRest(func, start, identity), func + "");
          }
          function baseSample(collection) {
            return arraySample(values(collection));
          }
          function baseSampleSize(collection, n) {
            var array = values(collection);
            return shuffleSelf(array, baseClamp(n, 0, array.length));
          }
          function baseSet(object, path, value, customizer) {
            if (!isObject(object)) {
              return object;
            }
            path = castPath(path, object);
            var index = -1, length = path.length, lastIndex = length - 1, nested = object;
            while (nested != null && ++index < length) {
              var key = toKey(path[index]), newValue = value;
              if (key === "__proto__" || key === "constructor" || key === "prototype") {
                return object;
              }
              if (index != lastIndex) {
                var objValue = nested[key];
                newValue = customizer ? customizer(objValue, key, nested) : undefined$1;
                if (newValue === undefined$1) {
                  newValue = isObject(objValue) ? objValue : isIndex(path[index + 1]) ? [] : {};
                }
              }
              assignValue(nested, key, newValue);
              nested = nested[key];
            }
            return object;
          }
          var baseSetData = !metaMap ? identity : function(func, data) {
            metaMap.set(func, data);
            return func;
          };
          var baseSetToString = !defineProperty ? identity : function(func, string) {
            return defineProperty(func, "toString", {
              "configurable": true,
              "enumerable": false,
              "value": constant(string),
              "writable": true
            });
          };
          function baseShuffle(collection) {
            return shuffleSelf(values(collection));
          }
          function baseSlice(array, start, end) {
            var index = -1, length = array.length;
            if (start < 0) {
              start = -start > length ? 0 : length + start;
            }
            end = end > length ? length : end;
            if (end < 0) {
              end += length;
            }
            length = start > end ? 0 : end - start >>> 0;
            start >>>= 0;
            var result2 = Array2(length);
            while (++index < length) {
              result2[index] = array[index + start];
            }
            return result2;
          }
          function baseSome(collection, predicate) {
            var result2;
            baseEach(collection, function(value, index, collection2) {
              result2 = predicate(value, index, collection2);
              return !result2;
            });
            return !!result2;
          }
          function baseSortedIndex(array, value, retHighest) {
            var low = 0, high = array == null ? low : array.length;
            if (typeof value == "number" && value === value && high <= HALF_MAX_ARRAY_LENGTH) {
              while (low < high) {
                var mid = low + high >>> 1, computed = array[mid];
                if (computed !== null && !isSymbol(computed) && (retHighest ? computed <= value : computed < value)) {
                  low = mid + 1;
                } else {
                  high = mid;
                }
              }
              return high;
            }
            return baseSortedIndexBy(array, value, identity, retHighest);
          }
          function baseSortedIndexBy(array, value, iteratee2, retHighest) {
            var low = 0, high = array == null ? 0 : array.length;
            if (high === 0) {
              return 0;
            }
            value = iteratee2(value);
            var valIsNaN = value !== value, valIsNull = value === null, valIsSymbol = isSymbol(value), valIsUndefined = value === undefined$1;
            while (low < high) {
              var mid = nativeFloor((low + high) / 2), computed = iteratee2(array[mid]), othIsDefined = computed !== undefined$1, othIsNull = computed === null, othIsReflexive = computed === computed, othIsSymbol = isSymbol(computed);
              if (valIsNaN) {
                var setLow = retHighest || othIsReflexive;
              } else if (valIsUndefined) {
                setLow = othIsReflexive && (retHighest || othIsDefined);
              } else if (valIsNull) {
                setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);
              } else if (valIsSymbol) {
                setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);
              } else if (othIsNull || othIsSymbol) {
                setLow = false;
              } else {
                setLow = retHighest ? computed <= value : computed < value;
              }
              if (setLow) {
                low = mid + 1;
              } else {
                high = mid;
              }
            }
            return nativeMin(high, MAX_ARRAY_INDEX);
          }
          function baseSortedUniq(array, iteratee2) {
            var index = -1, length = array.length, resIndex = 0, result2 = [];
            while (++index < length) {
              var value = array[index], computed = iteratee2 ? iteratee2(value) : value;
              if (!index || !eq(computed, seen)) {
                var seen = computed;
                result2[resIndex++] = value === 0 ? 0 : value;
              }
            }
            return result2;
          }
          function baseToNumber(value) {
            if (typeof value == "number") {
              return value;
            }
            if (isSymbol(value)) {
              return NAN;
            }
            return +value;
          }
          function baseToString(value) {
            if (typeof value == "string") {
              return value;
            }
            if (isArray(value)) {
              return arrayMap(value, baseToString) + "";
            }
            if (isSymbol(value)) {
              return symbolToString ? symbolToString.call(value) : "";
            }
            var result2 = value + "";
            return result2 == "0" && 1 / value == -INFINITY ? "-0" : result2;
          }
          function baseUniq(array, iteratee2, comparator) {
            var index = -1, includes2 = arrayIncludes, length = array.length, isCommon = true, result2 = [], seen = result2;
            if (comparator) {
              isCommon = false;
              includes2 = arrayIncludesWith;
            } else if (length >= LARGE_ARRAY_SIZE) {
              var set2 = iteratee2 ? null : createSet(array);
              if (set2) {
                return setToArray(set2);
              }
              isCommon = false;
              includes2 = cacheHas;
              seen = new SetCache();
            } else {
              seen = iteratee2 ? [] : result2;
            }
            outer:
              while (++index < length) {
                var value = array[index], computed = iteratee2 ? iteratee2(value) : value;
                value = comparator || value !== 0 ? value : 0;
                if (isCommon && computed === computed) {
                  var seenIndex = seen.length;
                  while (seenIndex--) {
                    if (seen[seenIndex] === computed) {
                      continue outer;
                    }
                  }
                  if (iteratee2) {
                    seen.push(computed);
                  }
                  result2.push(value);
                } else if (!includes2(seen, computed, comparator)) {
                  if (seen !== result2) {
                    seen.push(computed);
                  }
                  result2.push(value);
                }
              }
            return result2;
          }
          function baseUnset(object, path) {
            path = castPath(path, object);
            object = parent(object, path);
            return object == null || delete object[toKey(last(path))];
          }
          function baseUpdate(object, path, updater, customizer) {
            return baseSet(object, path, updater(baseGet(object, path)), customizer);
          }
          function baseWhile(array, predicate, isDrop, fromRight) {
            var length = array.length, index = fromRight ? length : -1;
            while ((fromRight ? index-- : ++index < length) && predicate(array[index], index, array)) {
            }
            return isDrop ? baseSlice(array, fromRight ? 0 : index, fromRight ? index + 1 : length) : baseSlice(array, fromRight ? index + 1 : 0, fromRight ? length : index);
          }
          function baseWrapperValue(value, actions) {
            var result2 = value;
            if (result2 instanceof LazyWrapper) {
              result2 = result2.value();
            }
            return arrayReduce(actions, function(result3, action) {
              return action.func.apply(action.thisArg, arrayPush([result3], action.args));
            }, result2);
          }
          function baseXor(arrays, iteratee2, comparator) {
            var length = arrays.length;
            if (length < 2) {
              return length ? baseUniq(arrays[0]) : [];
            }
            var index = -1, result2 = Array2(length);
            while (++index < length) {
              var array = arrays[index], othIndex = -1;
              while (++othIndex < length) {
                if (othIndex != index) {
                  result2[index] = baseDifference(result2[index] || array, arrays[othIndex], iteratee2, comparator);
                }
              }
            }
            return baseUniq(baseFlatten(result2, 1), iteratee2, comparator);
          }
          function baseZipObject(props, values2, assignFunc) {
            var index = -1, length = props.length, valsLength = values2.length, result2 = {};
            while (++index < length) {
              var value = index < valsLength ? values2[index] : undefined$1;
              assignFunc(result2, props[index], value);
            }
            return result2;
          }
          function castArrayLikeObject(value) {
            return isArrayLikeObject(value) ? value : [];
          }
          function castFunction(value) {
            return typeof value == "function" ? value : identity;
          }
          function castPath(value, object) {
            if (isArray(value)) {
              return value;
            }
            return isKey(value, object) ? [value] : stringToPath(toString(value));
          }
          var castRest = baseRest;
          function castSlice(array, start, end) {
            var length = array.length;
            end = end === undefined$1 ? length : end;
            return !start && end >= length ? array : baseSlice(array, start, end);
          }
          var clearTimeout2 = ctxClearTimeout || function(id) {
            return root.clearTimeout(id);
          };
          function cloneBuffer(buffer, isDeep) {
            if (isDeep) {
              return buffer.slice();
            }
            var length = buffer.length, result2 = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
            buffer.copy(result2);
            return result2;
          }
          function cloneArrayBuffer(arrayBuffer) {
            var result2 = new arrayBuffer.constructor(arrayBuffer.byteLength);
            new Uint8Array2(result2).set(new Uint8Array2(arrayBuffer));
            return result2;
          }
          function cloneDataView(dataView, isDeep) {
            var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
            return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
          }
          function cloneRegExp(regexp) {
            var result2 = new regexp.constructor(regexp.source, reFlags.exec(regexp));
            result2.lastIndex = regexp.lastIndex;
            return result2;
          }
          function cloneSymbol(symbol) {
            return symbolValueOf ? Object2(symbolValueOf.call(symbol)) : {};
          }
          function cloneTypedArray(typedArray, isDeep) {
            var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
            return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
          }
          function compareAscending(value, other) {
            if (value !== other) {
              var valIsDefined = value !== undefined$1, valIsNull = value === null, valIsReflexive = value === value, valIsSymbol = isSymbol(value);
              var othIsDefined = other !== undefined$1, othIsNull = other === null, othIsReflexive = other === other, othIsSymbol = isSymbol(other);
              if (!othIsNull && !othIsSymbol && !valIsSymbol && value > other || valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol || valIsNull && othIsDefined && othIsReflexive || !valIsDefined && othIsReflexive || !valIsReflexive) {
                return 1;
              }
              if (!valIsNull && !valIsSymbol && !othIsSymbol && value < other || othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol || othIsNull && valIsDefined && valIsReflexive || !othIsDefined && valIsReflexive || !othIsReflexive) {
                return -1;
              }
            }
            return 0;
          }
          function compareMultiple(object, other, orders) {
            var index = -1, objCriteria = object.criteria, othCriteria = other.criteria, length = objCriteria.length, ordersLength = orders.length;
            while (++index < length) {
              var result2 = compareAscending(objCriteria[index], othCriteria[index]);
              if (result2) {
                if (index >= ordersLength) {
                  return result2;
                }
                var order = orders[index];
                return result2 * (order == "desc" ? -1 : 1);
              }
            }
            return object.index - other.index;
          }
          function composeArgs(args, partials, holders, isCurried) {
            var argsIndex = -1, argsLength = args.length, holdersLength = holders.length, leftIndex = -1, leftLength = partials.length, rangeLength = nativeMax(argsLength - holdersLength, 0), result2 = Array2(leftLength + rangeLength), isUncurried = !isCurried;
            while (++leftIndex < leftLength) {
              result2[leftIndex] = partials[leftIndex];
            }
            while (++argsIndex < holdersLength) {
              if (isUncurried || argsIndex < argsLength) {
                result2[holders[argsIndex]] = args[argsIndex];
              }
            }
            while (rangeLength--) {
              result2[leftIndex++] = args[argsIndex++];
            }
            return result2;
          }
          function composeArgsRight(args, partials, holders, isCurried) {
            var argsIndex = -1, argsLength = args.length, holdersIndex = -1, holdersLength = holders.length, rightIndex = -1, rightLength = partials.length, rangeLength = nativeMax(argsLength - holdersLength, 0), result2 = Array2(rangeLength + rightLength), isUncurried = !isCurried;
            while (++argsIndex < rangeLength) {
              result2[argsIndex] = args[argsIndex];
            }
            var offset = argsIndex;
            while (++rightIndex < rightLength) {
              result2[offset + rightIndex] = partials[rightIndex];
            }
            while (++holdersIndex < holdersLength) {
              if (isUncurried || argsIndex < argsLength) {
                result2[offset + holders[holdersIndex]] = args[argsIndex++];
              }
            }
            return result2;
          }
          function copyArray(source, array) {
            var index = -1, length = source.length;
            array || (array = Array2(length));
            while (++index < length) {
              array[index] = source[index];
            }
            return array;
          }
          function copyObject(source, props, object, customizer) {
            var isNew = !object;
            object || (object = {});
            var index = -1, length = props.length;
            while (++index < length) {
              var key = props[index];
              var newValue = customizer ? customizer(object[key], source[key], key, object, source) : undefined$1;
              if (newValue === undefined$1) {
                newValue = source[key];
              }
              if (isNew) {
                baseAssignValue(object, key, newValue);
              } else {
                assignValue(object, key, newValue);
              }
            }
            return object;
          }
          function copySymbols(source, object) {
            return copyObject(source, getSymbols(source), object);
          }
          function copySymbolsIn(source, object) {
            return copyObject(source, getSymbolsIn(source), object);
          }
          function createAggregator(setter, initializer) {
            return function(collection, iteratee2) {
              var func = isArray(collection) ? arrayAggregator : baseAggregator, accumulator = initializer ? initializer() : {};
              return func(collection, setter, getIteratee(iteratee2, 2), accumulator);
            };
          }
          function createAssigner(assigner) {
            return baseRest(function(object, sources) {
              var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : undefined$1, guard = length > 2 ? sources[2] : undefined$1;
              customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : undefined$1;
              if (guard && isIterateeCall(sources[0], sources[1], guard)) {
                customizer = length < 3 ? undefined$1 : customizer;
                length = 1;
              }
              object = Object2(object);
              while (++index < length) {
                var source = sources[index];
                if (source) {
                  assigner(object, source, index, customizer);
                }
              }
              return object;
            });
          }
          function createBaseEach(eachFunc, fromRight) {
            return function(collection, iteratee2) {
              if (collection == null) {
                return collection;
              }
              if (!isArrayLike(collection)) {
                return eachFunc(collection, iteratee2);
              }
              var length = collection.length, index = fromRight ? length : -1, iterable = Object2(collection);
              while (fromRight ? index-- : ++index < length) {
                if (iteratee2(iterable[index], index, iterable) === false) {
                  break;
                }
              }
              return collection;
            };
          }
          function createBaseFor(fromRight) {
            return function(object, iteratee2, keysFunc) {
              var index = -1, iterable = Object2(object), props = keysFunc(object), length = props.length;
              while (length--) {
                var key = props[fromRight ? length : ++index];
                if (iteratee2(iterable[key], key, iterable) === false) {
                  break;
                }
              }
              return object;
            };
          }
          function createBind(func, bitmask, thisArg) {
            var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
            function wrapper() {
              var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
              return fn.apply(isBind ? thisArg : this, arguments);
            }
            return wrapper;
          }
          function createCaseFirst(methodName) {
            return function(string) {
              string = toString(string);
              var strSymbols = hasUnicode(string) ? stringToArray(string) : undefined$1;
              var chr = strSymbols ? strSymbols[0] : string.charAt(0);
              var trailing = strSymbols ? castSlice(strSymbols, 1).join("") : string.slice(1);
              return chr[methodName]() + trailing;
            };
          }
          function createCompounder(callback) {
            return function(string) {
              return arrayReduce(words(deburr(string).replace(reApos, "")), callback, "");
            };
          }
          function createCtor(Ctor) {
            return function() {
              var args = arguments;
              switch (args.length) {
                case 0:
                  return new Ctor();
                case 1:
                  return new Ctor(args[0]);
                case 2:
                  return new Ctor(args[0], args[1]);
                case 3:
                  return new Ctor(args[0], args[1], args[2]);
                case 4:
                  return new Ctor(args[0], args[1], args[2], args[3]);
                case 5:
                  return new Ctor(args[0], args[1], args[2], args[3], args[4]);
                case 6:
                  return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);
                case 7:
                  return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);
              }
              var thisBinding = baseCreate(Ctor.prototype), result2 = Ctor.apply(thisBinding, args);
              return isObject(result2) ? result2 : thisBinding;
            };
          }
          function createCurry(func, bitmask, arity) {
            var Ctor = createCtor(func);
            function wrapper() {
              var length = arguments.length, args = Array2(length), index = length, placeholder = getHolder(wrapper);
              while (index--) {
                args[index] = arguments[index];
              }
              var holders = length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder ? [] : replaceHolders(args, placeholder);
              length -= holders.length;
              if (length < arity) {
                return createRecurry(
                  func,
                  bitmask,
                  createHybrid,
                  wrapper.placeholder,
                  undefined$1,
                  args,
                  holders,
                  undefined$1,
                  undefined$1,
                  arity - length
                );
              }
              var fn = this && this !== root && this instanceof wrapper ? Ctor : func;
              return apply(fn, this, args);
            }
            return wrapper;
          }
          function createFind(findIndexFunc) {
            return function(collection, predicate, fromIndex) {
              var iterable = Object2(collection);
              if (!isArrayLike(collection)) {
                var iteratee2 = getIteratee(predicate, 3);
                collection = keys(collection);
                predicate = function(key) {
                  return iteratee2(iterable[key], key, iterable);
                };
              }
              var index = findIndexFunc(collection, predicate, fromIndex);
              return index > -1 ? iterable[iteratee2 ? collection[index] : index] : undefined$1;
            };
          }
          function createFlow(fromRight) {
            return flatRest(function(funcs) {
              var length = funcs.length, index = length, prereq = LodashWrapper.prototype.thru;
              if (fromRight) {
                funcs.reverse();
              }
              while (index--) {
                var func = funcs[index];
                if (typeof func != "function") {
                  throw new TypeError2(FUNC_ERROR_TEXT);
                }
                if (prereq && !wrapper && getFuncName(func) == "wrapper") {
                  var wrapper = new LodashWrapper([], true);
                }
              }
              index = wrapper ? index : length;
              while (++index < length) {
                func = funcs[index];
                var funcName = getFuncName(func), data = funcName == "wrapper" ? getData(func) : undefined$1;
                if (data && isLaziable(data[0]) && data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) && !data[4].length && data[9] == 1) {
                  wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);
                } else {
                  wrapper = func.length == 1 && isLaziable(func) ? wrapper[funcName]() : wrapper.thru(func);
                }
              }
              return function() {
                var args = arguments, value = args[0];
                if (wrapper && args.length == 1 && isArray(value)) {
                  return wrapper.plant(value).value();
                }
                var index2 = 0, result2 = length ? funcs[index2].apply(this, args) : value;
                while (++index2 < length) {
                  result2 = funcs[index2].call(this, result2);
                }
                return result2;
              };
            });
          }
          function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary2, arity) {
            var isAry = bitmask & WRAP_ARY_FLAG, isBind = bitmask & WRAP_BIND_FLAG, isBindKey = bitmask & WRAP_BIND_KEY_FLAG, isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG), isFlip = bitmask & WRAP_FLIP_FLAG, Ctor = isBindKey ? undefined$1 : createCtor(func);
            function wrapper() {
              var length = arguments.length, args = Array2(length), index = length;
              while (index--) {
                args[index] = arguments[index];
              }
              if (isCurried) {
                var placeholder = getHolder(wrapper), holdersCount = countHolders(args, placeholder);
              }
              if (partials) {
                args = composeArgs(args, partials, holders, isCurried);
              }
              if (partialsRight) {
                args = composeArgsRight(args, partialsRight, holdersRight, isCurried);
              }
              length -= holdersCount;
              if (isCurried && length < arity) {
                var newHolders = replaceHolders(args, placeholder);
                return createRecurry(
                  func,
                  bitmask,
                  createHybrid,
                  wrapper.placeholder,
                  thisArg,
                  args,
                  newHolders,
                  argPos,
                  ary2,
                  arity - length
                );
              }
              var thisBinding = isBind ? thisArg : this, fn = isBindKey ? thisBinding[func] : func;
              length = args.length;
              if (argPos) {
                args = reorder(args, argPos);
              } else if (isFlip && length > 1) {
                args.reverse();
              }
              if (isAry && ary2 < length) {
                args.length = ary2;
              }
              if (this && this !== root && this instanceof wrapper) {
                fn = Ctor || createCtor(fn);
              }
              return fn.apply(thisBinding, args);
            }
            return wrapper;
          }
          function createInverter(setter, toIteratee) {
            return function(object, iteratee2) {
              return baseInverter(object, setter, toIteratee(iteratee2), {});
            };
          }
          function createMathOperation(operator, defaultValue) {
            return function(value, other) {
              var result2;
              if (value === undefined$1 && other === undefined$1) {
                return defaultValue;
              }
              if (value !== undefined$1) {
                result2 = value;
              }
              if (other !== undefined$1) {
                if (result2 === undefined$1) {
                  return other;
                }
                if (typeof value == "string" || typeof other == "string") {
                  value = baseToString(value);
                  other = baseToString(other);
                } else {
                  value = baseToNumber(value);
                  other = baseToNumber(other);
                }
                result2 = operator(value, other);
              }
              return result2;
            };
          }
          function createOver(arrayFunc) {
            return flatRest(function(iteratees) {
              iteratees = arrayMap(iteratees, baseUnary(getIteratee()));
              return baseRest(function(args) {
                var thisArg = this;
                return arrayFunc(iteratees, function(iteratee2) {
                  return apply(iteratee2, thisArg, args);
                });
              });
            });
          }
          function createPadding(length, chars) {
            chars = chars === undefined$1 ? " " : baseToString(chars);
            var charsLength = chars.length;
            if (charsLength < 2) {
              return charsLength ? baseRepeat(chars, length) : chars;
            }
            var result2 = baseRepeat(chars, nativeCeil(length / stringSize(chars)));
            return hasUnicode(chars) ? castSlice(stringToArray(result2), 0, length).join("") : result2.slice(0, length);
          }
          function createPartial(func, bitmask, thisArg, partials) {
            var isBind = bitmask & WRAP_BIND_FLAG, Ctor = createCtor(func);
            function wrapper() {
              var argsIndex = -1, argsLength = arguments.length, leftIndex = -1, leftLength = partials.length, args = Array2(leftLength + argsLength), fn = this && this !== root && this instanceof wrapper ? Ctor : func;
              while (++leftIndex < leftLength) {
                args[leftIndex] = partials[leftIndex];
              }
              while (argsLength--) {
                args[leftIndex++] = arguments[++argsIndex];
              }
              return apply(fn, isBind ? thisArg : this, args);
            }
            return wrapper;
          }
          function createRange(fromRight) {
            return function(start, end, step) {
              if (step && typeof step != "number" && isIterateeCall(start, end, step)) {
                end = step = undefined$1;
              }
              start = toFinite(start);
              if (end === undefined$1) {
                end = start;
                start = 0;
              } else {
                end = toFinite(end);
              }
              step = step === undefined$1 ? start < end ? 1 : -1 : toFinite(step);
              return baseRange(start, end, step, fromRight);
            };
          }
          function createRelationalOperation(operator) {
            return function(value, other) {
              if (!(typeof value == "string" && typeof other == "string")) {
                value = toNumber(value);
                other = toNumber(other);
              }
              return operator(value, other);
            };
          }
          function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary2, arity) {
            var isCurry = bitmask & WRAP_CURRY_FLAG, newHolders = isCurry ? holders : undefined$1, newHoldersRight = isCurry ? undefined$1 : holders, newPartials = isCurry ? partials : undefined$1, newPartialsRight = isCurry ? undefined$1 : partials;
            bitmask |= isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG;
            bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);
            if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {
              bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);
            }
            var newData = [
              func,
              bitmask,
              thisArg,
              newPartials,
              newHolders,
              newPartialsRight,
              newHoldersRight,
              argPos,
              ary2,
              arity
            ];
            var result2 = wrapFunc.apply(undefined$1, newData);
            if (isLaziable(func)) {
              setData(result2, newData);
            }
            result2.placeholder = placeholder;
            return setWrapToString(result2, func, bitmask);
          }
          function createRound(methodName) {
            var func = Math2[methodName];
            return function(number, precision) {
              number = toNumber(number);
              precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);
              if (precision && nativeIsFinite(number)) {
                var pair = (toString(number) + "e").split("e"), value = func(pair[0] + "e" + (+pair[1] + precision));
                pair = (toString(value) + "e").split("e");
                return +(pair[0] + "e" + (+pair[1] - precision));
              }
              return func(number);
            };
          }
          var createSet = !(Set2 && 1 / setToArray(new Set2([, -0]))[1] == INFINITY) ? noop : function(values2) {
            return new Set2(values2);
          };
          function createToPairs(keysFunc) {
            return function(object) {
              var tag = getTag(object);
              if (tag == mapTag) {
                return mapToArray(object);
              }
              if (tag == setTag) {
                return setToPairs(object);
              }
              return baseToPairs(object, keysFunc(object));
            };
          }
          function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary2, arity) {
            var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;
            if (!isBindKey && typeof func != "function") {
              throw new TypeError2(FUNC_ERROR_TEXT);
            }
            var length = partials ? partials.length : 0;
            if (!length) {
              bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);
              partials = holders = undefined$1;
            }
            ary2 = ary2 === undefined$1 ? ary2 : nativeMax(toInteger(ary2), 0);
            arity = arity === undefined$1 ? arity : toInteger(arity);
            length -= holders ? holders.length : 0;
            if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {
              var partialsRight = partials, holdersRight = holders;
              partials = holders = undefined$1;
            }
            var data = isBindKey ? undefined$1 : getData(func);
            var newData = [
              func,
              bitmask,
              thisArg,
              partials,
              holders,
              partialsRight,
              holdersRight,
              argPos,
              ary2,
              arity
            ];
            if (data) {
              mergeData(newData, data);
            }
            func = newData[0];
            bitmask = newData[1];
            thisArg = newData[2];
            partials = newData[3];
            holders = newData[4];
            arity = newData[9] = newData[9] === undefined$1 ? isBindKey ? 0 : func.length : nativeMax(newData[9] - length, 0);
            if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {
              bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);
            }
            if (!bitmask || bitmask == WRAP_BIND_FLAG) {
              var result2 = createBind(func, bitmask, thisArg);
            } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {
              result2 = createCurry(func, bitmask, arity);
            } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {
              result2 = createPartial(func, bitmask, thisArg, partials);
            } else {
              result2 = createHybrid.apply(undefined$1, newData);
            }
            var setter = data ? baseSetData : setData;
            return setWrapToString(setter(result2, newData), func, bitmask);
          }
          function customDefaultsAssignIn(objValue, srcValue, key, object) {
            if (objValue === undefined$1 || eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key)) {
              return srcValue;
            }
            return objValue;
          }
          function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {
            if (isObject(objValue) && isObject(srcValue)) {
              stack.set(srcValue, objValue);
              baseMerge(objValue, srcValue, undefined$1, customDefaultsMerge, stack);
              stack["delete"](srcValue);
            }
            return objValue;
          }
          function customOmitClone(value) {
            return isPlainObject(value) ? undefined$1 : value;
          }
          function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
            var isPartial = bitmask & COMPARE_PARTIAL_FLAG, arrLength = array.length, othLength = other.length;
            if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
              return false;
            }
            var arrStacked = stack.get(array);
            var othStacked = stack.get(other);
            if (arrStacked && othStacked) {
              return arrStacked == other && othStacked == array;
            }
            var index = -1, result2 = true, seen = bitmask & COMPARE_UNORDERED_FLAG ? new SetCache() : undefined$1;
            stack.set(array, other);
            stack.set(other, array);
            while (++index < arrLength) {
              var arrValue = array[index], othValue = other[index];
              if (customizer) {
                var compared = isPartial ? customizer(othValue, arrValue, index, other, array, stack) : customizer(arrValue, othValue, index, array, other, stack);
              }
              if (compared !== undefined$1) {
                if (compared) {
                  continue;
                }
                result2 = false;
                break;
              }
              if (seen) {
                if (!arraySome(other, function(othValue2, othIndex) {
                  if (!cacheHas(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer, stack))) {
                    return seen.push(othIndex);
                  }
                })) {
                  result2 = false;
                  break;
                }
              } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
                result2 = false;
                break;
              }
            }
            stack["delete"](array);
            stack["delete"](other);
            return result2;
          }
          function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
            switch (tag) {
              case dataViewTag:
                if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {
                  return false;
                }
                object = object.buffer;
                other = other.buffer;
              case arrayBufferTag:
                if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array2(object), new Uint8Array2(other))) {
                  return false;
                }
                return true;
              case boolTag:
              case dateTag:
              case numberTag:
                return eq(+object, +other);
              case errorTag:
                return object.name == other.name && object.message == other.message;
              case regexpTag:
              case stringTag:
                return object == other + "";
              case mapTag:
                var convert = mapToArray;
              case setTag:
                var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
                convert || (convert = setToArray);
                if (object.size != other.size && !isPartial) {
                  return false;
                }
                var stacked = stack.get(object);
                if (stacked) {
                  return stacked == other;
                }
                bitmask |= COMPARE_UNORDERED_FLAG;
                stack.set(object, other);
                var result2 = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
                stack["delete"](object);
                return result2;
              case symbolTag:
                if (symbolValueOf) {
                  return symbolValueOf.call(object) == symbolValueOf.call(other);
                }
            }
            return false;
          }
          function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
            var isPartial = bitmask & COMPARE_PARTIAL_FLAG, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
            if (objLength != othLength && !isPartial) {
              return false;
            }
            var index = objLength;
            while (index--) {
              var key = objProps[index];
              if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
                return false;
              }
            }
            var objStacked = stack.get(object);
            var othStacked = stack.get(other);
            if (objStacked && othStacked) {
              return objStacked == other && othStacked == object;
            }
            var result2 = true;
            stack.set(object, other);
            stack.set(other, object);
            var skipCtor = isPartial;
            while (++index < objLength) {
              key = objProps[index];
              var objValue = object[key], othValue = other[key];
              if (customizer) {
                var compared = isPartial ? customizer(othValue, objValue, key, other, object, stack) : customizer(objValue, othValue, key, object, other, stack);
              }
              if (!(compared === undefined$1 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
                result2 = false;
                break;
              }
              skipCtor || (skipCtor = key == "constructor");
            }
            if (result2 && !skipCtor) {
              var objCtor = object.constructor, othCtor = other.constructor;
              if (objCtor != othCtor && ("constructor" in object && "constructor" in other) && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) {
                result2 = false;
              }
            }
            stack["delete"](object);
            stack["delete"](other);
            return result2;
          }
          function flatRest(func) {
            return setToString(overRest(func, undefined$1, flatten), func + "");
          }
          function getAllKeys(object) {
            return baseGetAllKeys(object, keys, getSymbols);
          }
          function getAllKeysIn(object) {
            return baseGetAllKeys(object, keysIn, getSymbolsIn);
          }
          var getData = !metaMap ? noop : function(func) {
            return metaMap.get(func);
          };
          function getFuncName(func) {
            var result2 = func.name + "", array = realNames[result2], length = hasOwnProperty.call(realNames, result2) ? array.length : 0;
            while (length--) {
              var data = array[length], otherFunc = data.func;
              if (otherFunc == null || otherFunc == func) {
                return data.name;
              }
            }
            return result2;
          }
          function getHolder(func) {
            var object = hasOwnProperty.call(lodash2, "placeholder") ? lodash2 : func;
            return object.placeholder;
          }
          function getIteratee() {
            var result2 = lodash2.iteratee || iteratee;
            result2 = result2 === iteratee ? baseIteratee : result2;
            return arguments.length ? result2(arguments[0], arguments[1]) : result2;
          }
          function getMapData(map2, key) {
            var data = map2.__data__;
            return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
          }
          function getMatchData(object) {
            var result2 = keys(object), length = result2.length;
            while (length--) {
              var key = result2[length], value = object[key];
              result2[length] = [key, value, isStrictComparable(value)];
            }
            return result2;
          }
          function getNative(object, key) {
            var value = getValue(object, key);
            return baseIsNative(value) ? value : undefined$1;
          }
          function getRawTag(value) {
            var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
            try {
              value[symToStringTag] = undefined$1;
              var unmasked = true;
            } catch (e) {
            }
            var result2 = nativeObjectToString.call(value);
            if (unmasked) {
              if (isOwn) {
                value[symToStringTag] = tag;
              } else {
                delete value[symToStringTag];
              }
            }
            return result2;
          }
          var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
            if (object == null) {
              return [];
            }
            object = Object2(object);
            return arrayFilter(nativeGetSymbols(object), function(symbol) {
              return propertyIsEnumerable.call(object, symbol);
            });
          };
          var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {
            var result2 = [];
            while (object) {
              arrayPush(result2, getSymbols(object));
              object = getPrototype(object);
            }
            return result2;
          };
          var getTag = baseGetTag;
          if (DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag || Map && getTag(new Map()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set2 && getTag(new Set2()) != setTag || WeakMap && getTag(new WeakMap()) != weakMapTag) {
            getTag = function(value) {
              var result2 = baseGetTag(value), Ctor = result2 == objectTag ? value.constructor : undefined$1, ctorString = Ctor ? toSource(Ctor) : "";
              if (ctorString) {
                switch (ctorString) {
                  case dataViewCtorString:
                    return dataViewTag;
                  case mapCtorString:
                    return mapTag;
                  case promiseCtorString:
                    return promiseTag;
                  case setCtorString:
                    return setTag;
                  case weakMapCtorString:
                    return weakMapTag;
                }
              }
              return result2;
            };
          }
          function getView(start, end, transforms) {
            var index = -1, length = transforms.length;
            while (++index < length) {
              var data = transforms[index], size2 = data.size;
              switch (data.type) {
                case "drop":
                  start += size2;
                  break;
                case "dropRight":
                  end -= size2;
                  break;
                case "take":
                  end = nativeMin(end, start + size2);
                  break;
                case "takeRight":
                  start = nativeMax(start, end - size2);
                  break;
              }
            }
            return { "start": start, "end": end };
          }
          function getWrapDetails(source) {
            var match = source.match(reWrapDetails);
            return match ? match[1].split(reSplitDetails) : [];
          }
          function hasPath(object, path, hasFunc) {
            path = castPath(path, object);
            var index = -1, length = path.length, result2 = false;
            while (++index < length) {
              var key = toKey(path[index]);
              if (!(result2 = object != null && hasFunc(object, key))) {
                break;
              }
              object = object[key];
            }
            if (result2 || ++index != length) {
              return result2;
            }
            length = object == null ? 0 : object.length;
            return !!length && isLength(length) && isIndex(key, length) && (isArray(object) || isArguments(object));
          }
          function initCloneArray(array) {
            var length = array.length, result2 = new array.constructor(length);
            if (length && typeof array[0] == "string" && hasOwnProperty.call(array, "index")) {
              result2.index = array.index;
              result2.input = array.input;
            }
            return result2;
          }
          function initCloneObject(object) {
            return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
          }
          function initCloneByTag(object, tag, isDeep) {
            var Ctor = object.constructor;
            switch (tag) {
              case arrayBufferTag:
                return cloneArrayBuffer(object);
              case boolTag:
              case dateTag:
                return new Ctor(+object);
              case dataViewTag:
                return cloneDataView(object, isDeep);
              case float32Tag:
              case float64Tag:
              case int8Tag:
              case int16Tag:
              case int32Tag:
              case uint8Tag:
              case uint8ClampedTag:
              case uint16Tag:
              case uint32Tag:
                return cloneTypedArray(object, isDeep);
              case mapTag:
                return new Ctor();
              case numberTag:
              case stringTag:
                return new Ctor(object);
              case regexpTag:
                return cloneRegExp(object);
              case setTag:
                return new Ctor();
              case symbolTag:
                return cloneSymbol(object);
            }
          }
          function insertWrapDetails(source, details) {
            var length = details.length;
            if (!length) {
              return source;
            }
            var lastIndex = length - 1;
            details[lastIndex] = (length > 1 ? "& " : "") + details[lastIndex];
            details = details.join(length > 2 ? ", " : " ");
            return source.replace(reWrapComment, "{\n/* [wrapped with " + details + "] */\n");
          }
          function isFlattenable(value) {
            return isArray(value) || isArguments(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
          }
          function isIndex(value, length) {
            var type = typeof value;
            length = length == null ? MAX_SAFE_INTEGER : length;
            return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
          }
          function isIterateeCall(value, index, object) {
            if (!isObject(object)) {
              return false;
            }
            var type = typeof index;
            if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) {
              return eq(object[index], value);
            }
            return false;
          }
          function isKey(value, object) {
            if (isArray(value)) {
              return false;
            }
            var type = typeof value;
            if (type == "number" || type == "symbol" || type == "boolean" || value == null || isSymbol(value)) {
              return true;
            }
            return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object != null && value in Object2(object);
          }
          function isKeyable(value) {
            var type = typeof value;
            return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
          }
          function isLaziable(func) {
            var funcName = getFuncName(func), other = lodash2[funcName];
            if (typeof other != "function" || !(funcName in LazyWrapper.prototype)) {
              return false;
            }
            if (func === other) {
              return true;
            }
            var data = getData(other);
            return !!data && func === data[0];
          }
          function isMasked(func) {
            return !!maskSrcKey && maskSrcKey in func;
          }
          var isMaskable = coreJsData ? isFunction : stubFalse;
          function isPrototype(value) {
            var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
            return value === proto;
          }
          function isStrictComparable(value) {
            return value === value && !isObject(value);
          }
          function matchesStrictComparable(key, srcValue) {
            return function(object) {
              if (object == null) {
                return false;
              }
              return object[key] === srcValue && (srcValue !== undefined$1 || key in Object2(object));
            };
          }
          function memoizeCapped(func) {
            var result2 = memoize(func, function(key) {
              if (cache.size === MAX_MEMOIZE_SIZE) {
                cache.clear();
              }
              return key;
            });
            var cache = result2.cache;
            return result2;
          }
          function mergeData(data, source) {
            var bitmask = data[1], srcBitmask = source[1], newBitmask = bitmask | srcBitmask, isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);
            var isCombo = srcBitmask == WRAP_ARY_FLAG && bitmask == WRAP_CURRY_FLAG || srcBitmask == WRAP_ARY_FLAG && bitmask == WRAP_REARG_FLAG && data[7].length <= source[8] || srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG) && source[7].length <= source[8] && bitmask == WRAP_CURRY_FLAG;
            if (!(isCommon || isCombo)) {
              return data;
            }
            if (srcBitmask & WRAP_BIND_FLAG) {
              data[2] = source[2];
              newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;
            }
            var value = source[3];
            if (value) {
              var partials = data[3];
              data[3] = partials ? composeArgs(partials, value, source[4]) : value;
              data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];
            }
            value = source[5];
            if (value) {
              partials = data[5];
              data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;
              data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];
            }
            value = source[7];
            if (value) {
              data[7] = value;
            }
            if (srcBitmask & WRAP_ARY_FLAG) {
              data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);
            }
            if (data[9] == null) {
              data[9] = source[9];
            }
            data[0] = source[0];
            data[1] = newBitmask;
            return data;
          }
          function nativeKeysIn(object) {
            var result2 = [];
            if (object != null) {
              for (var key in Object2(object)) {
                result2.push(key);
              }
            }
            return result2;
          }
          function objectToString(value) {
            return nativeObjectToString.call(value);
          }
          function overRest(func, start, transform2) {
            start = nativeMax(start === undefined$1 ? func.length - 1 : start, 0);
            return function() {
              var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array2(length);
              while (++index < length) {
                array[index] = args[start + index];
              }
              index = -1;
              var otherArgs = Array2(start + 1);
              while (++index < start) {
                otherArgs[index] = args[index];
              }
              otherArgs[start] = transform2(array);
              return apply(func, this, otherArgs);
            };
          }
          function parent(object, path) {
            return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
          }
          function reorder(array, indexes) {
            var arrLength = array.length, length = nativeMin(indexes.length, arrLength), oldArray = copyArray(array);
            while (length--) {
              var index = indexes[length];
              array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined$1;
            }
            return array;
          }
          function safeGet(object, key) {
            if (key === "constructor" && typeof object[key] === "function") {
              return;
            }
            if (key == "__proto__") {
              return;
            }
            return object[key];
          }
          var setData = shortOut(baseSetData);
          var setTimeout2 = ctxSetTimeout || function(func, wait) {
            return root.setTimeout(func, wait);
          };
          var setToString = shortOut(baseSetToString);
          function setWrapToString(wrapper, reference, bitmask) {
            var source = reference + "";
            return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));
          }
          function shortOut(func) {
            var count = 0, lastCalled = 0;
            return function() {
              var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
              lastCalled = stamp;
              if (remaining > 0) {
                if (++count >= HOT_COUNT) {
                  return arguments[0];
                }
              } else {
                count = 0;
              }
              return func.apply(undefined$1, arguments);
            };
          }
          function shuffleSelf(array, size2) {
            var index = -1, length = array.length, lastIndex = length - 1;
            size2 = size2 === undefined$1 ? length : size2;
            while (++index < size2) {
              var rand = baseRandom(index, lastIndex), value = array[rand];
              array[rand] = array[index];
              array[index] = value;
            }
            array.length = size2;
            return array;
          }
          var stringToPath = memoizeCapped(function(string) {
            var result2 = [];
            if (string.charCodeAt(0) === 46) {
              result2.push("");
            }
            string.replace(rePropName, function(match, number, quote, subString) {
              result2.push(quote ? subString.replace(reEscapeChar, "$1") : number || match);
            });
            return result2;
          });
          function toKey(value) {
            if (typeof value == "string" || isSymbol(value)) {
              return value;
            }
            var result2 = value + "";
            return result2 == "0" && 1 / value == -INFINITY ? "-0" : result2;
          }
          function toSource(func) {
            if (func != null) {
              try {
                return funcToString.call(func);
              } catch (e) {
              }
              try {
                return func + "";
              } catch (e) {
              }
            }
            return "";
          }
          function updateWrapDetails(details, bitmask) {
            arrayEach(wrapFlags, function(pair) {
              var value = "_." + pair[0];
              if (bitmask & pair[1] && !arrayIncludes(details, value)) {
                details.push(value);
              }
            });
            return details.sort();
          }
          function wrapperClone(wrapper) {
            if (wrapper instanceof LazyWrapper) {
              return wrapper.clone();
            }
            var result2 = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);
            result2.__actions__ = copyArray(wrapper.__actions__);
            result2.__index__ = wrapper.__index__;
            result2.__values__ = wrapper.__values__;
            return result2;
          }
          function chunk(array, size2, guard) {
            if (guard ? isIterateeCall(array, size2, guard) : size2 === undefined$1) {
              size2 = 1;
            } else {
              size2 = nativeMax(toInteger(size2), 0);
            }
            var length = array == null ? 0 : array.length;
            if (!length || size2 < 1) {
              return [];
            }
            var index = 0, resIndex = 0, result2 = Array2(nativeCeil(length / size2));
            while (index < length) {
              result2[resIndex++] = baseSlice(array, index, index += size2);
            }
            return result2;
          }
          function compact(array) {
            var index = -1, length = array == null ? 0 : array.length, resIndex = 0, result2 = [];
            while (++index < length) {
              var value = array[index];
              if (value) {
                result2[resIndex++] = value;
              }
            }
            return result2;
          }
          function concat() {
            var length = arguments.length;
            if (!length) {
              return [];
            }
            var args = Array2(length - 1), array = arguments[0], index = length;
            while (index--) {
              args[index - 1] = arguments[index];
            }
            return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));
          }
          var difference = baseRest(function(array, values2) {
            return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values2, 1, isArrayLikeObject, true)) : [];
          });
          var differenceBy = baseRest(function(array, values2) {
            var iteratee2 = last(values2);
            if (isArrayLikeObject(iteratee2)) {
              iteratee2 = undefined$1;
            }
            return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values2, 1, isArrayLikeObject, true), getIteratee(iteratee2, 2)) : [];
          });
          var differenceWith = baseRest(function(array, values2) {
            var comparator = last(values2);
            if (isArrayLikeObject(comparator)) {
              comparator = undefined$1;
            }
            return isArrayLikeObject(array) ? baseDifference(array, baseFlatten(values2, 1, isArrayLikeObject, true), undefined$1, comparator) : [];
          });
          function drop(array, n, guard) {
            var length = array == null ? 0 : array.length;
            if (!length) {
              return [];
            }
            n = guard || n === undefined$1 ? 1 : toInteger(n);
            return baseSlice(array, n < 0 ? 0 : n, length);
          }
          function dropRight(array, n, guard) {
            var length = array == null ? 0 : array.length;
            if (!length) {
              return [];
            }
            n = guard || n === undefined$1 ? 1 : toInteger(n);
            n = length - n;
            return baseSlice(array, 0, n < 0 ? 0 : n);
          }
          function dropRightWhile(array, predicate) {
            return array && array.length ? baseWhile(array, getIteratee(predicate, 3), true, true) : [];
          }
          function dropWhile(array, predicate) {
            return array && array.length ? baseWhile(array, getIteratee(predicate, 3), true) : [];
          }
          function fill(array, value, start, end) {
            var length = array == null ? 0 : array.length;
            if (!length) {
              return [];
            }
            if (start && typeof start != "number" && isIterateeCall(array, value, start)) {
              start = 0;
              end = length;
            }
            return baseFill(array, value, start, end);
          }
          function findIndex(array, predicate, fromIndex) {
            var length = array == null ? 0 : array.length;
            if (!length) {
              return -1;
            }
            var index = fromIndex == null ? 0 : toInteger(fromIndex);
            if (index < 0) {
              index = nativeMax(length + index, 0);
            }
            return baseFindIndex(array, getIteratee(predicate, 3), index);
          }
          function findLastIndex(array, predicate, fromIndex) {
            var length = array == null ? 0 : array.length;
            if (!length) {
              return -1;
            }
            var index = length - 1;
            if (fromIndex !== undefined$1) {
              index = toInteger(fromIndex);
              index = fromIndex < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);
            }
            return baseFindIndex(array, getIteratee(predicate, 3), index, true);
          }
          function flatten(array) {
            var length = array == null ? 0 : array.length;
            return length ? baseFlatten(array, 1) : [];
          }
          function flattenDeep(array) {
            var length = array == null ? 0 : array.length;
            return length ? baseFlatten(array, INFINITY) : [];
          }
          function flattenDepth(array, depth) {
            var length = array == null ? 0 : array.length;
            if (!length) {
              return [];
            }
            depth = depth === undefined$1 ? 1 : toInteger(depth);
            return baseFlatten(array, depth);
          }
          function fromPairs(pairs) {
            var index = -1, length = pairs == null ? 0 : pairs.length, result2 = {};
            while (++index < length) {
              var pair = pairs[index];
              result2[pair[0]] = pair[1];
            }
            return result2;
          }
          function head(array) {
            return array && array.length ? array[0] : undefined$1;
          }
          function indexOf(array, value, fromIndex) {
            var length = array == null ? 0 : array.length;
            if (!length) {
              return -1;
            }
            var index = fromIndex == null ? 0 : toInteger(fromIndex);
            if (index < 0) {
              index = nativeMax(length + index, 0);
            }
            return baseIndexOf(array, value, index);
          }
          function initial(array) {
            var length = array == null ? 0 : array.length;
            return length ? baseSlice(array, 0, -1) : [];
          }
          var intersection = baseRest(function(arrays) {
            var mapped = arrayMap(arrays, castArrayLikeObject);
            return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped) : [];
          });
          var intersectionBy = baseRest(function(arrays) {
            var iteratee2 = last(arrays), mapped = arrayMap(arrays, castArrayLikeObject);
            if (iteratee2 === last(mapped)) {
              iteratee2 = undefined$1;
            } else {
              mapped.pop();
            }
            return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, getIteratee(iteratee2, 2)) : [];
          });
          var intersectionWith = baseRest(function(arrays) {
            var comparator = last(arrays), mapped = arrayMap(arrays, castArrayLikeObject);
            comparator = typeof comparator == "function" ? comparator : undefined$1;
            if (comparator) {
              mapped.pop();
            }
            return mapped.length && mapped[0] === arrays[0] ? baseIntersection(mapped, undefined$1, comparator) : [];
          });
          function join(array, separator) {
            return array == null ? "" : nativeJoin.call(array, separator);
          }
          function last(array) {
            var length = array == null ? 0 : array.length;
            return length ? array[length - 1] : undefined$1;
          }
          function lastIndexOf(array, value, fromIndex) {
            var length = array == null ? 0 : array.length;
            if (!length) {
              return -1;
            }
            var index = length;
            if (fromIndex !== undefined$1) {
              index = toInteger(fromIndex);
              index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);
            }
            return value === value ? strictLastIndexOf(array, value, index) : baseFindIndex(array, baseIsNaN, index, true);
          }
          function nth(array, n) {
            return array && array.length ? baseNth(array, toInteger(n)) : undefined$1;
          }
          var pull = baseRest(pullAll);
          function pullAll(array, values2) {
            return array && array.length && values2 && values2.length ? basePullAll(array, values2) : array;
          }
          function pullAllBy(array, values2, iteratee2) {
            return array && array.length && values2 && values2.length ? basePullAll(array, values2, getIteratee(iteratee2, 2)) : array;
          }
          function pullAllWith(array, values2, comparator) {
            return array && array.length && values2 && values2.length ? basePullAll(array, values2, undefined$1, comparator) : array;
          }
          var pullAt = flatRest(function(array, indexes) {
            var length = array == null ? 0 : array.length, result2 = baseAt(array, indexes);
            basePullAt(array, arrayMap(indexes, function(index) {
              return isIndex(index, length) ? +index : index;
            }).sort(compareAscending));
            return result2;
          });
          function remove(array, predicate) {
            var result2 = [];
            if (!(array && array.length)) {
              return result2;
            }
            var index = -1, indexes = [], length = array.length;
            predicate = getIteratee(predicate, 3);
            while (++index < length) {
              var value = array[index];
              if (predicate(value, index, array)) {
                result2.push(value);
                indexes.push(index);
              }
            }
            basePullAt(array, indexes);
            return result2;
          }
          function reverse(array) {
            return array == null ? array : nativeReverse.call(array);
          }
          function slice(array, start, end) {
            var length = array == null ? 0 : array.length;
            if (!length) {
              return [];
            }
            if (end && typeof end != "number" && isIterateeCall(array, start, end)) {
              start = 0;
              end = length;
            } else {
              start = start == null ? 0 : toInteger(start);
              end = end === undefined$1 ? length : toInteger(end);
            }
            return baseSlice(array, start, end);
          }
          function sortedIndex(array, value) {
            return baseSortedIndex(array, value);
          }
          function sortedIndexBy(array, value, iteratee2) {
            return baseSortedIndexBy(array, value, getIteratee(iteratee2, 2));
          }
          function sortedIndexOf(array, value) {
            var length = array == null ? 0 : array.length;
            if (length) {
              var index = baseSortedIndex(array, value);
              if (index < length && eq(array[index], value)) {
                return index;
              }
            }
            return -1;
          }
          function sortedLastIndex(array, value) {
            return baseSortedIndex(array, value, true);
          }
          function sortedLastIndexBy(array, value, iteratee2) {
            return baseSortedIndexBy(array, value, getIteratee(iteratee2, 2), true);
          }
          function sortedLastIndexOf(array, value) {
            var length = array == null ? 0 : array.length;
            if (length) {
              var index = baseSortedIndex(array, value, true) - 1;
              if (eq(array[index], value)) {
                return index;
              }
            }
            return -1;
          }
          function sortedUniq(array) {
            return array && array.length ? baseSortedUniq(array) : [];
          }
          function sortedUniqBy(array, iteratee2) {
            return array && array.length ? baseSortedUniq(array, getIteratee(iteratee2, 2)) : [];
          }
          function tail(array) {
            var length = array == null ? 0 : array.length;
            return length ? baseSlice(array, 1, length) : [];
          }
          function take(array, n, guard) {
            if (!(array && array.length)) {
              return [];
            }
            n = guard || n === undefined$1 ? 1 : toInteger(n);
            return baseSlice(array, 0, n < 0 ? 0 : n);
          }
          function takeRight(array, n, guard) {
            var length = array == null ? 0 : array.length;
            if (!length) {
              return [];
            }
            n = guard || n === undefined$1 ? 1 : toInteger(n);
            n = length - n;
            return baseSlice(array, n < 0 ? 0 : n, length);
          }
          function takeRightWhile(array, predicate) {
            return array && array.length ? baseWhile(array, getIteratee(predicate, 3), false, true) : [];
          }
          function takeWhile(array, predicate) {
            return array && array.length ? baseWhile(array, getIteratee(predicate, 3)) : [];
          }
          var union = baseRest(function(arrays) {
            return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));
          });
          var unionBy = baseRest(function(arrays) {
            var iteratee2 = last(arrays);
            if (isArrayLikeObject(iteratee2)) {
              iteratee2 = undefined$1;
            }
            return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee2, 2));
          });
          var unionWith = baseRest(function(arrays) {
            var comparator = last(arrays);
            comparator = typeof comparator == "function" ? comparator : undefined$1;
            return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined$1, comparator);
          });
          function uniq(array) {
            return array && array.length ? baseUniq(array) : [];
          }
          function uniqBy(array, iteratee2) {
            return array && array.length ? baseUniq(array, getIteratee(iteratee2, 2)) : [];
          }
          function uniqWith(array, comparator) {
            comparator = typeof comparator == "function" ? comparator : undefined$1;
            return array && array.length ? baseUniq(array, undefined$1, comparator) : [];
          }
          function unzip(array) {
            if (!(array && array.length)) {
              return [];
            }
            var length = 0;
            array = arrayFilter(array, function(group) {
              if (isArrayLikeObject(group)) {
                length = nativeMax(group.length, length);
                return true;
              }
            });
            return baseTimes(length, function(index) {
              return arrayMap(array, baseProperty(index));
            });
          }
          function unzipWith(array, iteratee2) {
            if (!(array && array.length)) {
              return [];
            }
            var result2 = unzip(array);
            if (iteratee2 == null) {
              return result2;
            }
            return arrayMap(result2, function(group) {
              return apply(iteratee2, undefined$1, group);
            });
          }
          var without = baseRest(function(array, values2) {
            return isArrayLikeObject(array) ? baseDifference(array, values2) : [];
          });
          var xor = baseRest(function(arrays) {
            return baseXor(arrayFilter(arrays, isArrayLikeObject));
          });
          var xorBy = baseRest(function(arrays) {
            var iteratee2 = last(arrays);
            if (isArrayLikeObject(iteratee2)) {
              iteratee2 = undefined$1;
            }
            return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee2, 2));
          });
          var xorWith = baseRest(function(arrays) {
            var comparator = last(arrays);
            comparator = typeof comparator == "function" ? comparator : undefined$1;
            return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined$1, comparator);
          });
          var zip = baseRest(unzip);
          function zipObject(props, values2) {
            return baseZipObject(props || [], values2 || [], assignValue);
          }
          function zipObjectDeep(props, values2) {
            return baseZipObject(props || [], values2 || [], baseSet);
          }
          var zipWith = baseRest(function(arrays) {
            var length = arrays.length, iteratee2 = length > 1 ? arrays[length - 1] : undefined$1;
            iteratee2 = typeof iteratee2 == "function" ? (arrays.pop(), iteratee2) : undefined$1;
            return unzipWith(arrays, iteratee2);
          });
          function chain(value) {
            var result2 = lodash2(value);
            result2.__chain__ = true;
            return result2;
          }
          function tap(value, interceptor) {
            interceptor(value);
            return value;
          }
          function thru(value, interceptor) {
            return interceptor(value);
          }
          var wrapperAt = flatRest(function(paths) {
            var length = paths.length, start = length ? paths[0] : 0, value = this.__wrapped__, interceptor = function(object) {
              return baseAt(object, paths);
            };
            if (length > 1 || this.__actions__.length || !(value instanceof LazyWrapper) || !isIndex(start)) {
              return this.thru(interceptor);
            }
            value = value.slice(start, +start + (length ? 1 : 0));
            value.__actions__.push({
              "func": thru,
              "args": [interceptor],
              "thisArg": undefined$1
            });
            return new LodashWrapper(value, this.__chain__).thru(function(array) {
              if (length && !array.length) {
                array.push(undefined$1);
              }
              return array;
            });
          });
          function wrapperChain() {
            return chain(this);
          }
          function wrapperCommit() {
            return new LodashWrapper(this.value(), this.__chain__);
          }
          function wrapperNext() {
            if (this.__values__ === undefined$1) {
              this.__values__ = toArray(this.value());
            }
            var done = this.__index__ >= this.__values__.length, value = done ? undefined$1 : this.__values__[this.__index__++];
            return { "done": done, "value": value };
          }
          function wrapperToIterator() {
            return this;
          }
          function wrapperPlant(value) {
            var result2, parent2 = this;
            while (parent2 instanceof baseLodash) {
              var clone2 = wrapperClone(parent2);
              clone2.__index__ = 0;
              clone2.__values__ = undefined$1;
              if (result2) {
                previous.__wrapped__ = clone2;
              } else {
                result2 = clone2;
              }
              var previous = clone2;
              parent2 = parent2.__wrapped__;
            }
            previous.__wrapped__ = value;
            return result2;
          }
          function wrapperReverse() {
            var value = this.__wrapped__;
            if (value instanceof LazyWrapper) {
              var wrapped = value;
              if (this.__actions__.length) {
                wrapped = new LazyWrapper(this);
              }
              wrapped = wrapped.reverse();
              wrapped.__actions__.push({
                "func": thru,
                "args": [reverse],
                "thisArg": undefined$1
              });
              return new LodashWrapper(wrapped, this.__chain__);
            }
            return this.thru(reverse);
          }
          function wrapperValue() {
            return baseWrapperValue(this.__wrapped__, this.__actions__);
          }
          var countBy = createAggregator(function(result2, value, key) {
            if (hasOwnProperty.call(result2, key)) {
              ++result2[key];
            } else {
              baseAssignValue(result2, key, 1);
            }
          });
          function every(collection, predicate, guard) {
            var func = isArray(collection) ? arrayEvery : baseEvery;
            if (guard && isIterateeCall(collection, predicate, guard)) {
              predicate = undefined$1;
            }
            return func(collection, getIteratee(predicate, 3));
          }
          function filter(collection, predicate) {
            var func = isArray(collection) ? arrayFilter : baseFilter;
            return func(collection, getIteratee(predicate, 3));
          }
          var find = createFind(findIndex);
          var findLast = createFind(findLastIndex);
          function flatMap(collection, iteratee2) {
            return baseFlatten(map(collection, iteratee2), 1);
          }
          function flatMapDeep(collection, iteratee2) {
            return baseFlatten(map(collection, iteratee2), INFINITY);
          }
          function flatMapDepth(collection, iteratee2, depth) {
            depth = depth === undefined$1 ? 1 : toInteger(depth);
            return baseFlatten(map(collection, iteratee2), depth);
          }
          function forEach(collection, iteratee2) {
            var func = isArray(collection) ? arrayEach : baseEach;
            return func(collection, getIteratee(iteratee2, 3));
          }
          function forEachRight(collection, iteratee2) {
            var func = isArray(collection) ? arrayEachRight : baseEachRight;
            return func(collection, getIteratee(iteratee2, 3));
          }
          var groupBy = createAggregator(function(result2, value, key) {
            if (hasOwnProperty.call(result2, key)) {
              result2[key].push(value);
            } else {
              baseAssignValue(result2, key, [value]);
            }
          });
          function includes(collection, value, fromIndex, guard) {
            collection = isArrayLike(collection) ? collection : values(collection);
            fromIndex = fromIndex && !guard ? toInteger(fromIndex) : 0;
            var length = collection.length;
            if (fromIndex < 0) {
              fromIndex = nativeMax(length + fromIndex, 0);
            }
            return isString(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf(collection, value, fromIndex) > -1;
          }
          var invokeMap = baseRest(function(collection, path, args) {
            var index = -1, isFunc = typeof path == "function", result2 = isArrayLike(collection) ? Array2(collection.length) : [];
            baseEach(collection, function(value) {
              result2[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);
            });
            return result2;
          });
          var keyBy = createAggregator(function(result2, value, key) {
            baseAssignValue(result2, key, value);
          });
          function map(collection, iteratee2) {
            var func = isArray(collection) ? arrayMap : baseMap;
            return func(collection, getIteratee(iteratee2, 3));
          }
          function orderBy(collection, iteratees, orders, guard) {
            if (collection == null) {
              return [];
            }
            if (!isArray(iteratees)) {
              iteratees = iteratees == null ? [] : [iteratees];
            }
            orders = guard ? undefined$1 : orders;
            if (!isArray(orders)) {
              orders = orders == null ? [] : [orders];
            }
            return baseOrderBy(collection, iteratees, orders);
          }
          var partition = createAggregator(function(result2, value, key) {
            result2[key ? 0 : 1].push(value);
          }, function() {
            return [[], []];
          });
          function reduce(collection, iteratee2, accumulator) {
            var func = isArray(collection) ? arrayReduce : baseReduce, initAccum = arguments.length < 3;
            return func(collection, getIteratee(iteratee2, 4), accumulator, initAccum, baseEach);
          }
          function reduceRight(collection, iteratee2, accumulator) {
            var func = isArray(collection) ? arrayReduceRight : baseReduce, initAccum = arguments.length < 3;
            return func(collection, getIteratee(iteratee2, 4), accumulator, initAccum, baseEachRight);
          }
          function reject(collection, predicate) {
            var func = isArray(collection) ? arrayFilter : baseFilter;
            return func(collection, negate(getIteratee(predicate, 3)));
          }
          function sample(collection) {
            var func = isArray(collection) ? arraySample : baseSample;
            return func(collection);
          }
          function sampleSize(collection, n, guard) {
            if (guard ? isIterateeCall(collection, n, guard) : n === undefined$1) {
              n = 1;
            } else {
              n = toInteger(n);
            }
            var func = isArray(collection) ? arraySampleSize : baseSampleSize;
            return func(collection, n);
          }
          function shuffle(collection) {
            var func = isArray(collection) ? arrayShuffle : baseShuffle;
            return func(collection);
          }
          function size(collection) {
            if (collection == null) {
              return 0;
            }
            if (isArrayLike(collection)) {
              return isString(collection) ? stringSize(collection) : collection.length;
            }
            var tag = getTag(collection);
            if (tag == mapTag || tag == setTag) {
              return collection.size;
            }
            return baseKeys(collection).length;
          }
          function some(collection, predicate, guard) {
            var func = isArray(collection) ? arraySome : baseSome;
            if (guard && isIterateeCall(collection, predicate, guard)) {
              predicate = undefined$1;
            }
            return func(collection, getIteratee(predicate, 3));
          }
          var sortBy = baseRest(function(collection, iteratees) {
            if (collection == null) {
              return [];
            }
            var length = iteratees.length;
            if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {
              iteratees = [];
            } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {
              iteratees = [iteratees[0]];
            }
            return baseOrderBy(collection, baseFlatten(iteratees, 1), []);
          });
          var now = ctxNow || function() {
            return root.Date.now();
          };
          function after(n, func) {
            if (typeof func != "function") {
              throw new TypeError2(FUNC_ERROR_TEXT);
            }
            n = toInteger(n);
            return function() {
              if (--n < 1) {
                return func.apply(this, arguments);
              }
            };
          }
          function ary(func, n, guard) {
            n = guard ? undefined$1 : n;
            n = func && n == null ? func.length : n;
            return createWrap(func, WRAP_ARY_FLAG, undefined$1, undefined$1, undefined$1, undefined$1, n);
          }
          function before(n, func) {
            var result2;
            if (typeof func != "function") {
              throw new TypeError2(FUNC_ERROR_TEXT);
            }
            n = toInteger(n);
            return function() {
              if (--n > 0) {
                result2 = func.apply(this, arguments);
              }
              if (n <= 1) {
                func = undefined$1;
              }
              return result2;
            };
          }
          var bind2 = baseRest(function(func, thisArg, partials) {
            var bitmask = WRAP_BIND_FLAG;
            if (partials.length) {
              var holders = replaceHolders(partials, getHolder(bind2));
              bitmask |= WRAP_PARTIAL_FLAG;
            }
            return createWrap(func, bitmask, thisArg, partials, holders);
          });
          var bindKey = baseRest(function(object, key, partials) {
            var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;
            if (partials.length) {
              var holders = replaceHolders(partials, getHolder(bindKey));
              bitmask |= WRAP_PARTIAL_FLAG;
            }
            return createWrap(key, bitmask, object, partials, holders);
          });
          function curry(func, arity, guard) {
            arity = guard ? undefined$1 : arity;
            var result2 = createWrap(func, WRAP_CURRY_FLAG, undefined$1, undefined$1, undefined$1, undefined$1, undefined$1, arity);
            result2.placeholder = curry.placeholder;
            return result2;
          }
          function curryRight(func, arity, guard) {
            arity = guard ? undefined$1 : arity;
            var result2 = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined$1, undefined$1, undefined$1, undefined$1, undefined$1, arity);
            result2.placeholder = curryRight.placeholder;
            return result2;
          }
          function debounce(func, wait, options) {
            var lastArgs, lastThis, maxWait, result2, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
            if (typeof func != "function") {
              throw new TypeError2(FUNC_ERROR_TEXT);
            }
            wait = toNumber(wait) || 0;
            if (isObject(options)) {
              leading = !!options.leading;
              maxing = "maxWait" in options;
              maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
              trailing = "trailing" in options ? !!options.trailing : trailing;
            }
            function invokeFunc(time) {
              var args = lastArgs, thisArg = lastThis;
              lastArgs = lastThis = undefined$1;
              lastInvokeTime = time;
              result2 = func.apply(thisArg, args);
              return result2;
            }
            function leadingEdge(time) {
              lastInvokeTime = time;
              timerId = setTimeout2(timerExpired, wait);
              return leading ? invokeFunc(time) : result2;
            }
            function remainingWait(time) {
              var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;
              return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;
            }
            function shouldInvoke(time) {
              var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime;
              return lastCallTime === undefined$1 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;
            }
            function timerExpired() {
              var time = now();
              if (shouldInvoke(time)) {
                return trailingEdge(time);
              }
              timerId = setTimeout2(timerExpired, remainingWait(time));
            }
            function trailingEdge(time) {
              timerId = undefined$1;
              if (trailing && lastArgs) {
                return invokeFunc(time);
              }
              lastArgs = lastThis = undefined$1;
              return result2;
            }
            function cancel() {
              if (timerId !== undefined$1) {
                clearTimeout2(timerId);
              }
              lastInvokeTime = 0;
              lastArgs = lastCallTime = lastThis = timerId = undefined$1;
            }
            function flush() {
              return timerId === undefined$1 ? result2 : trailingEdge(now());
            }
            function debounced() {
              var time = now(), isInvoking = shouldInvoke(time);
              lastArgs = arguments;
              lastThis = this;
              lastCallTime = time;
              if (isInvoking) {
                if (timerId === undefined$1) {
                  return leadingEdge(lastCallTime);
                }
                if (maxing) {
                  clearTimeout2(timerId);
                  timerId = setTimeout2(timerExpired, wait);
                  return invokeFunc(lastCallTime);
                }
              }
              if (timerId === undefined$1) {
                timerId = setTimeout2(timerExpired, wait);
              }
              return result2;
            }
            debounced.cancel = cancel;
            debounced.flush = flush;
            return debounced;
          }
          var defer = baseRest(function(func, args) {
            return baseDelay(func, 1, args);
          });
          var delay = baseRest(function(func, wait, args) {
            return baseDelay(func, toNumber(wait) || 0, args);
          });
          function flip(func) {
            return createWrap(func, WRAP_FLIP_FLAG);
          }
          function memoize(func, resolver) {
            if (typeof func != "function" || resolver != null && typeof resolver != "function") {
              throw new TypeError2(FUNC_ERROR_TEXT);
            }
            var memoized = function() {
              var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
              if (cache.has(key)) {
                return cache.get(key);
              }
              var result2 = func.apply(this, args);
              memoized.cache = cache.set(key, result2) || cache;
              return result2;
            };
            memoized.cache = new (memoize.Cache || MapCache)();
            return memoized;
          }
          memoize.Cache = MapCache;
          function negate(predicate) {
            if (typeof predicate != "function") {
              throw new TypeError2(FUNC_ERROR_TEXT);
            }
            return function() {
              var args = arguments;
              switch (args.length) {
                case 0:
                  return !predicate.call(this);
                case 1:
                  return !predicate.call(this, args[0]);
                case 2:
                  return !predicate.call(this, args[0], args[1]);
                case 3:
                  return !predicate.call(this, args[0], args[1], args[2]);
              }
              return !predicate.apply(this, args);
            };
          }
          function once(func) {
            return before(2, func);
          }
          var overArgs = castRest(function(func, transforms) {
            transforms = transforms.length == 1 && isArray(transforms[0]) ? arrayMap(transforms[0], baseUnary(getIteratee())) : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));
            var funcsLength = transforms.length;
            return baseRest(function(args) {
              var index = -1, length = nativeMin(args.length, funcsLength);
              while (++index < length) {
                args[index] = transforms[index].call(this, args[index]);
              }
              return apply(func, this, args);
            });
          });
          var partial = baseRest(function(func, partials) {
            var holders = replaceHolders(partials, getHolder(partial));
            return createWrap(func, WRAP_PARTIAL_FLAG, undefined$1, partials, holders);
          });
          var partialRight = baseRest(function(func, partials) {
            var holders = replaceHolders(partials, getHolder(partialRight));
            return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined$1, partials, holders);
          });
          var rearg = flatRest(function(func, indexes) {
            return createWrap(func, WRAP_REARG_FLAG, undefined$1, undefined$1, undefined$1, indexes);
          });
          function rest(func, start) {
            if (typeof func != "function") {
              throw new TypeError2(FUNC_ERROR_TEXT);
            }
            start = start === undefined$1 ? start : toInteger(start);
            return baseRest(func, start);
          }
          function spread(func, start) {
            if (typeof func != "function") {
              throw new TypeError2(FUNC_ERROR_TEXT);
            }
            start = start == null ? 0 : nativeMax(toInteger(start), 0);
            return baseRest(function(args) {
              var array = args[start], otherArgs = castSlice(args, 0, start);
              if (array) {
                arrayPush(otherArgs, array);
              }
              return apply(func, this, otherArgs);
            });
          }
          function throttle(func, wait, options) {
            var leading = true, trailing = true;
            if (typeof func != "function") {
              throw new TypeError2(FUNC_ERROR_TEXT);
            }
            if (isObject(options)) {
              leading = "leading" in options ? !!options.leading : leading;
              trailing = "trailing" in options ? !!options.trailing : trailing;
            }
            return debounce(func, wait, {
              "leading": leading,
              "maxWait": wait,
              "trailing": trailing
            });
          }
          function unary(func) {
            return ary(func, 1);
          }
          function wrap(value, wrapper) {
            return partial(castFunction(wrapper), value);
          }
          function castArray() {
            if (!arguments.length) {
              return [];
            }
            var value = arguments[0];
            return isArray(value) ? value : [value];
          }
          function clone(value) {
            return baseClone(value, CLONE_SYMBOLS_FLAG);
          }
          function cloneWith(value, customizer) {
            customizer = typeof customizer == "function" ? customizer : undefined$1;
            return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);
          }
          function cloneDeep(value) {
            return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
          }
          function cloneDeepWith(value, customizer) {
            customizer = typeof customizer == "function" ? customizer : undefined$1;
            return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);
          }
          function conformsTo(object, source) {
            return source == null || baseConformsTo(object, source, keys(source));
          }
          function eq(value, other) {
            return value === other || value !== value && other !== other;
          }
          var gt = createRelationalOperation(baseGt);
          var gte = createRelationalOperation(function(value, other) {
            return value >= other;
          });
          var isArguments = baseIsArguments(/* @__PURE__ */ function() {
            return arguments;
          }()) ? baseIsArguments : function(value) {
            return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
          };
          var isArray = Array2.isArray;
          var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;
          function isArrayLike(value) {
            return value != null && isLength(value.length) && !isFunction(value);
          }
          function isArrayLikeObject(value) {
            return isObjectLike(value) && isArrayLike(value);
          }
          function isBoolean(value) {
            return value === true || value === false || isObjectLike(value) && baseGetTag(value) == boolTag;
          }
          var isBuffer = nativeIsBuffer || stubFalse;
          var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;
          function isElement(value) {
            return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);
          }
          function isEmpty(value) {
            if (value == null) {
              return true;
            }
            if (isArrayLike(value) && (isArray(value) || typeof value == "string" || typeof value.splice == "function" || isBuffer(value) || isTypedArray(value) || isArguments(value))) {
              return !value.length;
            }
            var tag = getTag(value);
            if (tag == mapTag || tag == setTag) {
              return !value.size;
            }
            if (isPrototype(value)) {
              return !baseKeys(value).length;
            }
            for (var key in value) {
              if (hasOwnProperty.call(value, key)) {
                return false;
              }
            }
            return true;
          }
          function isEqual(value, other) {
            return baseIsEqual(value, other);
          }
          function isEqualWith(value, other, customizer) {
            customizer = typeof customizer == "function" ? customizer : undefined$1;
            var result2 = customizer ? customizer(value, other) : undefined$1;
            return result2 === undefined$1 ? baseIsEqual(value, other, undefined$1, customizer) : !!result2;
          }
          function isError(value) {
            if (!isObjectLike(value)) {
              return false;
            }
            var tag = baseGetTag(value);
            return tag == errorTag || tag == domExcTag || typeof value.message == "string" && typeof value.name == "string" && !isPlainObject(value);
          }
          function isFinite2(value) {
            return typeof value == "number" && nativeIsFinite(value);
          }
          function isFunction(value) {
            if (!isObject(value)) {
              return false;
            }
            var tag = baseGetTag(value);
            return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
          }
          function isInteger(value) {
            return typeof value == "number" && value == toInteger(value);
          }
          function isLength(value) {
            return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
          }
          function isObject(value) {
            var type = typeof value;
            return value != null && (type == "object" || type == "function");
          }
          function isObjectLike(value) {
            return value != null && typeof value == "object";
          }
          var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;
          function isMatch(object, source) {
            return object === source || baseIsMatch(object, source, getMatchData(source));
          }
          function isMatchWith(object, source, customizer) {
            customizer = typeof customizer == "function" ? customizer : undefined$1;
            return baseIsMatch(object, source, getMatchData(source), customizer);
          }
          function isNaN2(value) {
            return isNumber(value) && value != +value;
          }
          function isNative(value) {
            if (isMaskable(value)) {
              throw new Error2(CORE_ERROR_TEXT);
            }
            return baseIsNative(value);
          }
          function isNull(value) {
            return value === null;
          }
          function isNil(value) {
            return value == null;
          }
          function isNumber(value) {
            return typeof value == "number" || isObjectLike(value) && baseGetTag(value) == numberTag;
          }
          function isPlainObject(value) {
            if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
              return false;
            }
            var proto = getPrototype(value);
            if (proto === null) {
              return true;
            }
            var Ctor = hasOwnProperty.call(proto, "constructor") && proto.constructor;
            return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
          }
          var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;
          function isSafeInteger(value) {
            return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;
          }
          var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
          function isString(value) {
            return typeof value == "string" || !isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag;
          }
          function isSymbol(value) {
            return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
          }
          var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
          function isUndefined(value) {
            return value === undefined$1;
          }
          function isWeakMap(value) {
            return isObjectLike(value) && getTag(value) == weakMapTag;
          }
          function isWeakSet(value) {
            return isObjectLike(value) && baseGetTag(value) == weakSetTag;
          }
          var lt = createRelationalOperation(baseLt);
          var lte = createRelationalOperation(function(value, other) {
            return value <= other;
          });
          function toArray(value) {
            if (!value) {
              return [];
            }
            if (isArrayLike(value)) {
              return isString(value) ? stringToArray(value) : copyArray(value);
            }
            if (symIterator && value[symIterator]) {
              return iteratorToArray(value[symIterator]());
            }
            var tag = getTag(value), func = tag == mapTag ? mapToArray : tag == setTag ? setToArray : values;
            return func(value);
          }
          function toFinite(value) {
            if (!value) {
              return value === 0 ? value : 0;
            }
            value = toNumber(value);
            if (value === INFINITY || value === -INFINITY) {
              var sign = value < 0 ? -1 : 1;
              return sign * MAX_INTEGER;
            }
            return value === value ? value : 0;
          }
          function toInteger(value) {
            var result2 = toFinite(value), remainder = result2 % 1;
            return result2 === result2 ? remainder ? result2 - remainder : result2 : 0;
          }
          function toLength(value) {
            return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;
          }
          function toNumber(value) {
            if (typeof value == "number") {
              return value;
            }
            if (isSymbol(value)) {
              return NAN;
            }
            if (isObject(value)) {
              var other = typeof value.valueOf == "function" ? value.valueOf() : value;
              value = isObject(other) ? other + "" : other;
            }
            if (typeof value != "string") {
              return value === 0 ? value : +value;
            }
            value = baseTrim(value);
            var isBinary = reIsBinary.test(value);
            return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
          }
          function toPlainObject(value) {
            return copyObject(value, keysIn(value));
          }
          function toSafeInteger(value) {
            return value ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER) : value === 0 ? value : 0;
          }
          function toString(value) {
            return value == null ? "" : baseToString(value);
          }
          var assign = createAssigner(function(object, source) {
            if (isPrototype(source) || isArrayLike(source)) {
              copyObject(source, keys(source), object);
              return;
            }
            for (var key in source) {
              if (hasOwnProperty.call(source, key)) {
                assignValue(object, key, source[key]);
              }
            }
          });
          var assignIn = createAssigner(function(object, source) {
            copyObject(source, keysIn(source), object);
          });
          var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {
            copyObject(source, keysIn(source), object, customizer);
          });
          var assignWith = createAssigner(function(object, source, srcIndex, customizer) {
            copyObject(source, keys(source), object, customizer);
          });
          var at = flatRest(baseAt);
          function create(prototype, properties) {
            var result2 = baseCreate(prototype);
            return properties == null ? result2 : baseAssign(result2, properties);
          }
          var defaults = baseRest(function(object, sources) {
            object = Object2(object);
            var index = -1;
            var length = sources.length;
            var guard = length > 2 ? sources[2] : undefined$1;
            if (guard && isIterateeCall(sources[0], sources[1], guard)) {
              length = 1;
            }
            while (++index < length) {
              var source = sources[index];
              var props = keysIn(source);
              var propsIndex = -1;
              var propsLength = props.length;
              while (++propsIndex < propsLength) {
                var key = props[propsIndex];
                var value = object[key];
                if (value === undefined$1 || eq(value, objectProto[key]) && !hasOwnProperty.call(object, key)) {
                  object[key] = source[key];
                }
              }
            }
            return object;
          });
          var defaultsDeep = baseRest(function(args) {
            args.push(undefined$1, customDefaultsMerge);
            return apply(mergeWith, undefined$1, args);
          });
          function findKey(object, predicate) {
            return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);
          }
          function findLastKey(object, predicate) {
            return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);
          }
          function forIn(object, iteratee2) {
            return object == null ? object : baseFor(object, getIteratee(iteratee2, 3), keysIn);
          }
          function forInRight(object, iteratee2) {
            return object == null ? object : baseForRight(object, getIteratee(iteratee2, 3), keysIn);
          }
          function forOwn(object, iteratee2) {
            return object && baseForOwn(object, getIteratee(iteratee2, 3));
          }
          function forOwnRight(object, iteratee2) {
            return object && baseForOwnRight(object, getIteratee(iteratee2, 3));
          }
          function functions(object) {
            return object == null ? [] : baseFunctions(object, keys(object));
          }
          function functionsIn(object) {
            return object == null ? [] : baseFunctions(object, keysIn(object));
          }
          function get(object, path, defaultValue) {
            var result2 = object == null ? undefined$1 : baseGet(object, path);
            return result2 === undefined$1 ? defaultValue : result2;
          }
          function has(object, path) {
            return object != null && hasPath(object, path, baseHas);
          }
          function hasIn(object, path) {
            return object != null && hasPath(object, path, baseHasIn);
          }
          var invert = createInverter(function(result2, value, key) {
            if (value != null && typeof value.toString != "function") {
              value = nativeObjectToString.call(value);
            }
            result2[value] = key;
          }, constant(identity));
          var invertBy = createInverter(function(result2, value, key) {
            if (value != null && typeof value.toString != "function") {
              value = nativeObjectToString.call(value);
            }
            if (hasOwnProperty.call(result2, value)) {
              result2[value].push(key);
            } else {
              result2[value] = [key];
            }
          }, getIteratee);
          var invoke = baseRest(baseInvoke);
          function keys(object) {
            return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
          }
          function keysIn(object) {
            return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
          }
          function mapKeys(object, iteratee2) {
            var result2 = {};
            iteratee2 = getIteratee(iteratee2, 3);
            baseForOwn(object, function(value, key, object2) {
              baseAssignValue(result2, iteratee2(value, key, object2), value);
            });
            return result2;
          }
          function mapValues(object, iteratee2) {
            var result2 = {};
            iteratee2 = getIteratee(iteratee2, 3);
            baseForOwn(object, function(value, key, object2) {
              baseAssignValue(result2, key, iteratee2(value, key, object2));
            });
            return result2;
          }
          var merge = createAssigner(function(object, source, srcIndex) {
            baseMerge(object, source, srcIndex);
          });
          var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {
            baseMerge(object, source, srcIndex, customizer);
          });
          var omit = flatRest(function(object, paths) {
            var result2 = {};
            if (object == null) {
              return result2;
            }
            var isDeep = false;
            paths = arrayMap(paths, function(path) {
              path = castPath(path, object);
              isDeep || (isDeep = path.length > 1);
              return path;
            });
            copyObject(object, getAllKeysIn(object), result2);
            if (isDeep) {
              result2 = baseClone(result2, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
            }
            var length = paths.length;
            while (length--) {
              baseUnset(result2, paths[length]);
            }
            return result2;
          });
          function omitBy(object, predicate) {
            return pickBy(object, negate(getIteratee(predicate)));
          }
          var pick = flatRest(function(object, paths) {
            return object == null ? {} : basePick(object, paths);
          });
          function pickBy(object, predicate) {
            if (object == null) {
              return {};
            }
            var props = arrayMap(getAllKeysIn(object), function(prop) {
              return [prop];
            });
            predicate = getIteratee(predicate);
            return basePickBy(object, props, function(value, path) {
              return predicate(value, path[0]);
            });
          }
          function result(object, path, defaultValue) {
            path = castPath(path, object);
            var index = -1, length = path.length;
            if (!length) {
              length = 1;
              object = undefined$1;
            }
            while (++index < length) {
              var value = object == null ? undefined$1 : object[toKey(path[index])];
              if (value === undefined$1) {
                index = length;
                value = defaultValue;
              }
              object = isFunction(value) ? value.call(object) : value;
            }
            return object;
          }
          function set(object, path, value) {
            return object == null ? object : baseSet(object, path, value);
          }
          function setWith(object, path, value, customizer) {
            customizer = typeof customizer == "function" ? customizer : undefined$1;
            return object == null ? object : baseSet(object, path, value, customizer);
          }
          var toPairs = createToPairs(keys);
          var toPairsIn = createToPairs(keysIn);
          function transform(object, iteratee2, accumulator) {
            var isArr = isArray(object), isArrLike = isArr || isBuffer(object) || isTypedArray(object);
            iteratee2 = getIteratee(iteratee2, 4);
            if (accumulator == null) {
              var Ctor = object && object.constructor;
              if (isArrLike) {
                accumulator = isArr ? new Ctor() : [];
              } else if (isObject(object)) {
                accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};
              } else {
                accumulator = {};
              }
            }
            (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object2) {
              return iteratee2(accumulator, value, index, object2);
            });
            return accumulator;
          }
          function unset(object, path) {
            return object == null ? true : baseUnset(object, path);
          }
          function update(object, path, updater) {
            return object == null ? object : baseUpdate(object, path, castFunction(updater));
          }
          function updateWith(object, path, updater, customizer) {
            customizer = typeof customizer == "function" ? customizer : undefined$1;
            return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);
          }
          function values(object) {
            return object == null ? [] : baseValues(object, keys(object));
          }
          function valuesIn(object) {
            return object == null ? [] : baseValues(object, keysIn(object));
          }
          function clamp(number, lower, upper) {
            if (upper === undefined$1) {
              upper = lower;
              lower = undefined$1;
            }
            if (upper !== undefined$1) {
              upper = toNumber(upper);
              upper = upper === upper ? upper : 0;
            }
            if (lower !== undefined$1) {
              lower = toNumber(lower);
              lower = lower === lower ? lower : 0;
            }
            return baseClamp(toNumber(number), lower, upper);
          }
          function inRange(number, start, end) {
            start = toFinite(start);
            if (end === undefined$1) {
              end = start;
              start = 0;
            } else {
              end = toFinite(end);
            }
            number = toNumber(number);
            return baseInRange(number, start, end);
          }
          function random(lower, upper, floating) {
            if (floating && typeof floating != "boolean" && isIterateeCall(lower, upper, floating)) {
              upper = floating = undefined$1;
            }
            if (floating === undefined$1) {
              if (typeof upper == "boolean") {
                floating = upper;
                upper = undefined$1;
              } else if (typeof lower == "boolean") {
                floating = lower;
                lower = undefined$1;
              }
            }
            if (lower === undefined$1 && upper === undefined$1) {
              lower = 0;
              upper = 1;
            } else {
              lower = toFinite(lower);
              if (upper === undefined$1) {
                upper = lower;
                lower = 0;
              } else {
                upper = toFinite(upper);
              }
            }
            if (lower > upper) {
              var temp = lower;
              lower = upper;
              upper = temp;
            }
            if (floating || lower % 1 || upper % 1) {
              var rand = nativeRandom();
              return nativeMin(lower + rand * (upper - lower + freeParseFloat("1e-" + ((rand + "").length - 1))), upper);
            }
            return baseRandom(lower, upper);
          }
          var camelCase = createCompounder(function(result2, word, index) {
            word = word.toLowerCase();
            return result2 + (index ? capitalize(word) : word);
          });
          function capitalize(string) {
            return upperFirst(toString(string).toLowerCase());
          }
          function deburr(string) {
            string = toString(string);
            return string && string.replace(reLatin, deburrLetter).replace(reComboMark, "");
          }
          function endsWith(string, target, position) {
            string = toString(string);
            target = baseToString(target);
            var length = string.length;
            position = position === undefined$1 ? length : baseClamp(toInteger(position), 0, length);
            var end = position;
            position -= target.length;
            return position >= 0 && string.slice(position, end) == target;
          }
          function escape(string) {
            string = toString(string);
            return string && reHasUnescapedHtml.test(string) ? string.replace(reUnescapedHtml, escapeHtmlChar) : string;
          }
          function escapeRegExp(string) {
            string = toString(string);
            return string && reHasRegExpChar.test(string) ? string.replace(reRegExpChar, "\\$&") : string;
          }
          var kebabCase = createCompounder(function(result2, word, index) {
            return result2 + (index ? "-" : "") + word.toLowerCase();
          });
          var lowerCase = createCompounder(function(result2, word, index) {
            return result2 + (index ? " " : "") + word.toLowerCase();
          });
          var lowerFirst = createCaseFirst("toLowerCase");
          function pad(string, length, chars) {
            string = toString(string);
            length = toInteger(length);
            var strLength = length ? stringSize(string) : 0;
            if (!length || strLength >= length) {
              return string;
            }
            var mid = (length - strLength) / 2;
            return createPadding(nativeFloor(mid), chars) + string + createPadding(nativeCeil(mid), chars);
          }
          function padEnd(string, length, chars) {
            string = toString(string);
            length = toInteger(length);
            var strLength = length ? stringSize(string) : 0;
            return length && strLength < length ? string + createPadding(length - strLength, chars) : string;
          }
          function padStart(string, length, chars) {
            string = toString(string);
            length = toInteger(length);
            var strLength = length ? stringSize(string) : 0;
            return length && strLength < length ? createPadding(length - strLength, chars) + string : string;
          }
          function parseInt2(string, radix, guard) {
            if (guard || radix == null) {
              radix = 0;
            } else if (radix) {
              radix = +radix;
            }
            return nativeParseInt(toString(string).replace(reTrimStart, ""), radix || 0);
          }
          function repeat(string, n, guard) {
            if (guard ? isIterateeCall(string, n, guard) : n === undefined$1) {
              n = 1;
            } else {
              n = toInteger(n);
            }
            return baseRepeat(toString(string), n);
          }
          function replace() {
            var args = arguments, string = toString(args[0]);
            return args.length < 3 ? string : string.replace(args[1], args[2]);
          }
          var snakeCase = createCompounder(function(result2, word, index) {
            return result2 + (index ? "_" : "") + word.toLowerCase();
          });
          function split(string, separator, limit) {
            if (limit && typeof limit != "number" && isIterateeCall(string, separator, limit)) {
              separator = limit = undefined$1;
            }
            limit = limit === undefined$1 ? MAX_ARRAY_LENGTH : limit >>> 0;
            if (!limit) {
              return [];
            }
            string = toString(string);
            if (string && (typeof separator == "string" || separator != null && !isRegExp(separator))) {
              separator = baseToString(separator);
              if (!separator && hasUnicode(string)) {
                return castSlice(stringToArray(string), 0, limit);
              }
            }
            return string.split(separator, limit);
          }
          var startCase = createCompounder(function(result2, word, index) {
            return result2 + (index ? " " : "") + upperFirst(word);
          });
          function startsWith(string, target, position) {
            string = toString(string);
            position = position == null ? 0 : baseClamp(toInteger(position), 0, string.length);
            target = baseToString(target);
            return string.slice(position, position + target.length) == target;
          }
          function template(string, options, guard) {
            var settings = lodash2.templateSettings;
            if (guard && isIterateeCall(string, options, guard)) {
              options = undefined$1;
            }
            string = toString(string);
            options = assignInWith({}, options, settings, customDefaultsAssignIn);
            var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
            var isEscaping, isEvaluating, index = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
            var reDelimiters = RegExp2(
              (options.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + "|" + (options.evaluate || reNoMatch).source + "|$",
              "g"
            );
            var sourceURL = "//# sourceURL=" + (hasOwnProperty.call(options, "sourceURL") ? (options.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++templateCounter + "]") + "\n";
            string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {
              interpolateValue || (interpolateValue = esTemplateValue);
              source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);
              if (escapeValue) {
                isEscaping = true;
                source += "' +\n__e(" + escapeValue + ") +\n'";
              }
              if (evaluateValue) {
                isEvaluating = true;
                source += "';\n" + evaluateValue + ";\n__p += '";
              }
              if (interpolateValue) {
                source += "' +\n((__t = (" + interpolateValue + ")) == null ? '' : __t) +\n'";
              }
              index = offset + match.length;
              return match;
            });
            source += "';\n";
            var variable = hasOwnProperty.call(options, "variable") && options.variable;
            if (!variable) {
              source = "with (obj) {\n" + source + "\n}\n";
            } else if (reForbiddenIdentifierChars.test(variable)) {
              throw new Error2(INVALID_TEMPL_VAR_ERROR_TEXT);
            }
            source = (isEvaluating ? source.replace(reEmptyStringLeading, "") : source).replace(reEmptyStringMiddle, "$1").replace(reEmptyStringTrailing, "$1;");
            source = "function(" + (variable || "obj") + ") {\n" + (variable ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (isEscaping ? ", __e = _.escape" : "") + (isEvaluating ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + source + "return __p\n}";
            var result2 = attempt(function() {
              return Function2(importsKeys, sourceURL + "return " + source).apply(undefined$1, importsValues);
            });
            result2.source = source;
            if (isError(result2)) {
              throw result2;
            }
            return result2;
          }
          function toLower(value) {
            return toString(value).toLowerCase();
          }
          function toUpper(value) {
            return toString(value).toUpperCase();
          }
          function trim(string, chars, guard) {
            string = toString(string);
            if (string && (guard || chars === undefined$1)) {
              return baseTrim(string);
            }
            if (!string || !(chars = baseToString(chars))) {
              return string;
            }
            var strSymbols = stringToArray(string), chrSymbols = stringToArray(chars), start = charsStartIndex(strSymbols, chrSymbols), end = charsEndIndex(strSymbols, chrSymbols) + 1;
            return castSlice(strSymbols, start, end).join("");
          }
          function trimEnd(string, chars, guard) {
            string = toString(string);
            if (string && (guard || chars === undefined$1)) {
              return string.slice(0, trimmedEndIndex(string) + 1);
            }
            if (!string || !(chars = baseToString(chars))) {
              return string;
            }
            var strSymbols = stringToArray(string), end = charsEndIndex(strSymbols, stringToArray(chars)) + 1;
            return castSlice(strSymbols, 0, end).join("");
          }
          function trimStart(string, chars, guard) {
            string = toString(string);
            if (string && (guard || chars === undefined$1)) {
              return string.replace(reTrimStart, "");
            }
            if (!string || !(chars = baseToString(chars))) {
              return string;
            }
            var strSymbols = stringToArray(string), start = charsStartIndex(strSymbols, stringToArray(chars));
            return castSlice(strSymbols, start).join("");
          }
          function truncate(string, options) {
            var length = DEFAULT_TRUNC_LENGTH, omission = DEFAULT_TRUNC_OMISSION;
            if (isObject(options)) {
              var separator = "separator" in options ? options.separator : separator;
              length = "length" in options ? toInteger(options.length) : length;
              omission = "omission" in options ? baseToString(options.omission) : omission;
            }
            string = toString(string);
            var strLength = string.length;
            if (hasUnicode(string)) {
              var strSymbols = stringToArray(string);
              strLength = strSymbols.length;
            }
            if (length >= strLength) {
              return string;
            }
            var end = length - stringSize(omission);
            if (end < 1) {
              return omission;
            }
            var result2 = strSymbols ? castSlice(strSymbols, 0, end).join("") : string.slice(0, end);
            if (separator === undefined$1) {
              return result2 + omission;
            }
            if (strSymbols) {
              end += result2.length - end;
            }
            if (isRegExp(separator)) {
              if (string.slice(end).search(separator)) {
                var match, substring = result2;
                if (!separator.global) {
                  separator = RegExp2(separator.source, toString(reFlags.exec(separator)) + "g");
                }
                separator.lastIndex = 0;
                while (match = separator.exec(substring)) {
                  var newEnd = match.index;
                }
                result2 = result2.slice(0, newEnd === undefined$1 ? end : newEnd);
              }
            } else if (string.indexOf(baseToString(separator), end) != end) {
              var index = result2.lastIndexOf(separator);
              if (index > -1) {
                result2 = result2.slice(0, index);
              }
            }
            return result2 + omission;
          }
          function unescape2(string) {
            string = toString(string);
            return string && reHasEscapedHtml.test(string) ? string.replace(reEscapedHtml, unescapeHtmlChar) : string;
          }
          var upperCase = createCompounder(function(result2, word, index) {
            return result2 + (index ? " " : "") + word.toUpperCase();
          });
          var upperFirst = createCaseFirst("toUpperCase");
          function words(string, pattern, guard) {
            string = toString(string);
            pattern = guard ? undefined$1 : pattern;
            if (pattern === undefined$1) {
              return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
            }
            return string.match(pattern) || [];
          }
          var attempt = baseRest(function(func, args) {
            try {
              return apply(func, undefined$1, args);
            } catch (e) {
              return isError(e) ? e : new Error2(e);
            }
          });
          var bindAll = flatRest(function(object, methodNames) {
            arrayEach(methodNames, function(key) {
              key = toKey(key);
              baseAssignValue(object, key, bind2(object[key], object));
            });
            return object;
          });
          function cond(pairs) {
            var length = pairs == null ? 0 : pairs.length, toIteratee = getIteratee();
            pairs = !length ? [] : arrayMap(pairs, function(pair) {
              if (typeof pair[1] != "function") {
                throw new TypeError2(FUNC_ERROR_TEXT);
              }
              return [toIteratee(pair[0]), pair[1]];
            });
            return baseRest(function(args) {
              var index = -1;
              while (++index < length) {
                var pair = pairs[index];
                if (apply(pair[0], this, args)) {
                  return apply(pair[1], this, args);
                }
              }
            });
          }
          function conforms(source) {
            return baseConforms(baseClone(source, CLONE_DEEP_FLAG));
          }
          function constant(value) {
            return function() {
              return value;
            };
          }
          function defaultTo(value, defaultValue) {
            return value == null || value !== value ? defaultValue : value;
          }
          var flow = createFlow();
          var flowRight = createFlow(true);
          function identity(value) {
            return value;
          }
          function iteratee(func) {
            return baseIteratee(typeof func == "function" ? func : baseClone(func, CLONE_DEEP_FLAG));
          }
          function matches(source) {
            return baseMatches(baseClone(source, CLONE_DEEP_FLAG));
          }
          function matchesProperty(path, srcValue) {
            return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));
          }
          var method = baseRest(function(path, args) {
            return function(object) {
              return baseInvoke(object, path, args);
            };
          });
          var methodOf = baseRest(function(object, args) {
            return function(path) {
              return baseInvoke(object, path, args);
            };
          });
          function mixin(object, source, options) {
            var props = keys(source), methodNames = baseFunctions(source, props);
            if (options == null && !(isObject(source) && (methodNames.length || !props.length))) {
              options = source;
              source = object;
              object = this;
              methodNames = baseFunctions(source, keys(source));
            }
            var chain2 = !(isObject(options) && "chain" in options) || !!options.chain, isFunc = isFunction(object);
            arrayEach(methodNames, function(methodName) {
              var func = source[methodName];
              object[methodName] = func;
              if (isFunc) {
                object.prototype[methodName] = function() {
                  var chainAll = this.__chain__;
                  if (chain2 || chainAll) {
                    var result2 = object(this.__wrapped__), actions = result2.__actions__ = copyArray(this.__actions__);
                    actions.push({ "func": func, "args": arguments, "thisArg": object });
                    result2.__chain__ = chainAll;
                    return result2;
                  }
                  return func.apply(object, arrayPush([this.value()], arguments));
                };
              }
            });
            return object;
          }
          function noConflict() {
            if (root._ === this) {
              root._ = oldDash;
            }
            return this;
          }
          function noop() {
          }
          function nthArg(n) {
            n = toInteger(n);
            return baseRest(function(args) {
              return baseNth(args, n);
            });
          }
          var over = createOver(arrayMap);
          var overEvery = createOver(arrayEvery);
          var overSome = createOver(arraySome);
          function property(path) {
            return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);
          }
          function propertyOf(object) {
            return function(path) {
              return object == null ? undefined$1 : baseGet(object, path);
            };
          }
          var range = createRange();
          var rangeRight = createRange(true);
          function stubArray() {
            return [];
          }
          function stubFalse() {
            return false;
          }
          function stubObject() {
            return {};
          }
          function stubString() {
            return "";
          }
          function stubTrue() {
            return true;
          }
          function times(n, iteratee2) {
            n = toInteger(n);
            if (n < 1 || n > MAX_SAFE_INTEGER) {
              return [];
            }
            var index = MAX_ARRAY_LENGTH, length = nativeMin(n, MAX_ARRAY_LENGTH);
            iteratee2 = getIteratee(iteratee2);
            n -= MAX_ARRAY_LENGTH;
            var result2 = baseTimes(length, iteratee2);
            while (++index < n) {
              iteratee2(index);
            }
            return result2;
          }
          function toPath(value) {
            if (isArray(value)) {
              return arrayMap(value, toKey);
            }
            return isSymbol(value) ? [value] : copyArray(stringToPath(toString(value)));
          }
          function uniqueId(prefix) {
            var id = ++idCounter;
            return toString(prefix) + id;
          }
          var add = createMathOperation(function(augend, addend) {
            return augend + addend;
          }, 0);
          var ceil = createRound("ceil");
          var divide = createMathOperation(function(dividend, divisor) {
            return dividend / divisor;
          }, 1);
          var floor = createRound("floor");
          function max(array) {
            return array && array.length ? baseExtremum(array, identity, baseGt) : undefined$1;
          }
          function maxBy(array, iteratee2) {
            return array && array.length ? baseExtremum(array, getIteratee(iteratee2, 2), baseGt) : undefined$1;
          }
          function mean(array) {
            return baseMean(array, identity);
          }
          function meanBy(array, iteratee2) {
            return baseMean(array, getIteratee(iteratee2, 2));
          }
          function min(array) {
            return array && array.length ? baseExtremum(array, identity, baseLt) : undefined$1;
          }
          function minBy(array, iteratee2) {
            return array && array.length ? baseExtremum(array, getIteratee(iteratee2, 2), baseLt) : undefined$1;
          }
          var multiply = createMathOperation(function(multiplier, multiplicand) {
            return multiplier * multiplicand;
          }, 1);
          var round = createRound("round");
          var subtract = createMathOperation(function(minuend, subtrahend) {
            return minuend - subtrahend;
          }, 0);
          function sum(array) {
            return array && array.length ? baseSum(array, identity) : 0;
          }
          function sumBy(array, iteratee2) {
            return array && array.length ? baseSum(array, getIteratee(iteratee2, 2)) : 0;
          }
          lodash2.after = after;
          lodash2.ary = ary;
          lodash2.assign = assign;
          lodash2.assignIn = assignIn;
          lodash2.assignInWith = assignInWith;
          lodash2.assignWith = assignWith;
          lodash2.at = at;
          lodash2.before = before;
          lodash2.bind = bind2;
          lodash2.bindAll = bindAll;
          lodash2.bindKey = bindKey;
          lodash2.castArray = castArray;
          lodash2.chain = chain;
          lodash2.chunk = chunk;
          lodash2.compact = compact;
          lodash2.concat = concat;
          lodash2.cond = cond;
          lodash2.conforms = conforms;
          lodash2.constant = constant;
          lodash2.countBy = countBy;
          lodash2.create = create;
          lodash2.curry = curry;
          lodash2.curryRight = curryRight;
          lodash2.debounce = debounce;
          lodash2.defaults = defaults;
          lodash2.defaultsDeep = defaultsDeep;
          lodash2.defer = defer;
          lodash2.delay = delay;
          lodash2.difference = difference;
          lodash2.differenceBy = differenceBy;
          lodash2.differenceWith = differenceWith;
          lodash2.drop = drop;
          lodash2.dropRight = dropRight;
          lodash2.dropRightWhile = dropRightWhile;
          lodash2.dropWhile = dropWhile;
          lodash2.fill = fill;
          lodash2.filter = filter;
          lodash2.flatMap = flatMap;
          lodash2.flatMapDeep = flatMapDeep;
          lodash2.flatMapDepth = flatMapDepth;
          lodash2.flatten = flatten;
          lodash2.flattenDeep = flattenDeep;
          lodash2.flattenDepth = flattenDepth;
          lodash2.flip = flip;
          lodash2.flow = flow;
          lodash2.flowRight = flowRight;
          lodash2.fromPairs = fromPairs;
          lodash2.functions = functions;
          lodash2.functionsIn = functionsIn;
          lodash2.groupBy = groupBy;
          lodash2.initial = initial;
          lodash2.intersection = intersection;
          lodash2.intersectionBy = intersectionBy;
          lodash2.intersectionWith = intersectionWith;
          lodash2.invert = invert;
          lodash2.invertBy = invertBy;
          lodash2.invokeMap = invokeMap;
          lodash2.iteratee = iteratee;
          lodash2.keyBy = keyBy;
          lodash2.keys = keys;
          lodash2.keysIn = keysIn;
          lodash2.map = map;
          lodash2.mapKeys = mapKeys;
          lodash2.mapValues = mapValues;
          lodash2.matches = matches;
          lodash2.matchesProperty = matchesProperty;
          lodash2.memoize = memoize;
          lodash2.merge = merge;
          lodash2.mergeWith = mergeWith;
          lodash2.method = method;
          lodash2.methodOf = methodOf;
          lodash2.mixin = mixin;
          lodash2.negate = negate;
          lodash2.nthArg = nthArg;
          lodash2.omit = omit;
          lodash2.omitBy = omitBy;
          lodash2.once = once;
          lodash2.orderBy = orderBy;
          lodash2.over = over;
          lodash2.overArgs = overArgs;
          lodash2.overEvery = overEvery;
          lodash2.overSome = overSome;
          lodash2.partial = partial;
          lodash2.partialRight = partialRight;
          lodash2.partition = partition;
          lodash2.pick = pick;
          lodash2.pickBy = pickBy;
          lodash2.property = property;
          lodash2.propertyOf = propertyOf;
          lodash2.pull = pull;
          lodash2.pullAll = pullAll;
          lodash2.pullAllBy = pullAllBy;
          lodash2.pullAllWith = pullAllWith;
          lodash2.pullAt = pullAt;
          lodash2.range = range;
          lodash2.rangeRight = rangeRight;
          lodash2.rearg = rearg;
          lodash2.reject = reject;
          lodash2.remove = remove;
          lodash2.rest = rest;
          lodash2.reverse = reverse;
          lodash2.sampleSize = sampleSize;
          lodash2.set = set;
          lodash2.setWith = setWith;
          lodash2.shuffle = shuffle;
          lodash2.slice = slice;
          lodash2.sortBy = sortBy;
          lodash2.sortedUniq = sortedUniq;
          lodash2.sortedUniqBy = sortedUniqBy;
          lodash2.split = split;
          lodash2.spread = spread;
          lodash2.tail = tail;
          lodash2.take = take;
          lodash2.takeRight = takeRight;
          lodash2.takeRightWhile = takeRightWhile;
          lodash2.takeWhile = takeWhile;
          lodash2.tap = tap;
          lodash2.throttle = throttle;
          lodash2.thru = thru;
          lodash2.toArray = toArray;
          lodash2.toPairs = toPairs;
          lodash2.toPairsIn = toPairsIn;
          lodash2.toPath = toPath;
          lodash2.toPlainObject = toPlainObject;
          lodash2.transform = transform;
          lodash2.unary = unary;
          lodash2.union = union;
          lodash2.unionBy = unionBy;
          lodash2.unionWith = unionWith;
          lodash2.uniq = uniq;
          lodash2.uniqBy = uniqBy;
          lodash2.uniqWith = uniqWith;
          lodash2.unset = unset;
          lodash2.unzip = unzip;
          lodash2.unzipWith = unzipWith;
          lodash2.update = update;
          lodash2.updateWith = updateWith;
          lodash2.values = values;
          lodash2.valuesIn = valuesIn;
          lodash2.without = without;
          lodash2.words = words;
          lodash2.wrap = wrap;
          lodash2.xor = xor;
          lodash2.xorBy = xorBy;
          lodash2.xorWith = xorWith;
          lodash2.zip = zip;
          lodash2.zipObject = zipObject;
          lodash2.zipObjectDeep = zipObjectDeep;
          lodash2.zipWith = zipWith;
          lodash2.entries = toPairs;
          lodash2.entriesIn = toPairsIn;
          lodash2.extend = assignIn;
          lodash2.extendWith = assignInWith;
          mixin(lodash2, lodash2);
          lodash2.add = add;
          lodash2.attempt = attempt;
          lodash2.camelCase = camelCase;
          lodash2.capitalize = capitalize;
          lodash2.ceil = ceil;
          lodash2.clamp = clamp;
          lodash2.clone = clone;
          lodash2.cloneDeep = cloneDeep;
          lodash2.cloneDeepWith = cloneDeepWith;
          lodash2.cloneWith = cloneWith;
          lodash2.conformsTo = conformsTo;
          lodash2.deburr = deburr;
          lodash2.defaultTo = defaultTo;
          lodash2.divide = divide;
          lodash2.endsWith = endsWith;
          lodash2.eq = eq;
          lodash2.escape = escape;
          lodash2.escapeRegExp = escapeRegExp;
          lodash2.every = every;
          lodash2.find = find;
          lodash2.findIndex = findIndex;
          lodash2.findKey = findKey;
          lodash2.findLast = findLast;
          lodash2.findLastIndex = findLastIndex;
          lodash2.findLastKey = findLastKey;
          lodash2.floor = floor;
          lodash2.forEach = forEach;
          lodash2.forEachRight = forEachRight;
          lodash2.forIn = forIn;
          lodash2.forInRight = forInRight;
          lodash2.forOwn = forOwn;
          lodash2.forOwnRight = forOwnRight;
          lodash2.get = get;
          lodash2.gt = gt;
          lodash2.gte = gte;
          lodash2.has = has;
          lodash2.hasIn = hasIn;
          lodash2.head = head;
          lodash2.identity = identity;
          lodash2.includes = includes;
          lodash2.indexOf = indexOf;
          lodash2.inRange = inRange;
          lodash2.invoke = invoke;
          lodash2.isArguments = isArguments;
          lodash2.isArray = isArray;
          lodash2.isArrayBuffer = isArrayBuffer;
          lodash2.isArrayLike = isArrayLike;
          lodash2.isArrayLikeObject = isArrayLikeObject;
          lodash2.isBoolean = isBoolean;
          lodash2.isBuffer = isBuffer;
          lodash2.isDate = isDate;
          lodash2.isElement = isElement;
          lodash2.isEmpty = isEmpty;
          lodash2.isEqual = isEqual;
          lodash2.isEqualWith = isEqualWith;
          lodash2.isError = isError;
          lodash2.isFinite = isFinite2;
          lodash2.isFunction = isFunction;
          lodash2.isInteger = isInteger;
          lodash2.isLength = isLength;
          lodash2.isMap = isMap;
          lodash2.isMatch = isMatch;
          lodash2.isMatchWith = isMatchWith;
          lodash2.isNaN = isNaN2;
          lodash2.isNative = isNative;
          lodash2.isNil = isNil;
          lodash2.isNull = isNull;
          lodash2.isNumber = isNumber;
          lodash2.isObject = isObject;
          lodash2.isObjectLike = isObjectLike;
          lodash2.isPlainObject = isPlainObject;
          lodash2.isRegExp = isRegExp;
          lodash2.isSafeInteger = isSafeInteger;
          lodash2.isSet = isSet;
          lodash2.isString = isString;
          lodash2.isSymbol = isSymbol;
          lodash2.isTypedArray = isTypedArray;
          lodash2.isUndefined = isUndefined;
          lodash2.isWeakMap = isWeakMap;
          lodash2.isWeakSet = isWeakSet;
          lodash2.join = join;
          lodash2.kebabCase = kebabCase;
          lodash2.last = last;
          lodash2.lastIndexOf = lastIndexOf;
          lodash2.lowerCase = lowerCase;
          lodash2.lowerFirst = lowerFirst;
          lodash2.lt = lt;
          lodash2.lte = lte;
          lodash2.max = max;
          lodash2.maxBy = maxBy;
          lodash2.mean = mean;
          lodash2.meanBy = meanBy;
          lodash2.min = min;
          lodash2.minBy = minBy;
          lodash2.stubArray = stubArray;
          lodash2.stubFalse = stubFalse;
          lodash2.stubObject = stubObject;
          lodash2.stubString = stubString;
          lodash2.stubTrue = stubTrue;
          lodash2.multiply = multiply;
          lodash2.nth = nth;
          lodash2.noConflict = noConflict;
          lodash2.noop = noop;
          lodash2.now = now;
          lodash2.pad = pad;
          lodash2.padEnd = padEnd;
          lodash2.padStart = padStart;
          lodash2.parseInt = parseInt2;
          lodash2.random = random;
          lodash2.reduce = reduce;
          lodash2.reduceRight = reduceRight;
          lodash2.repeat = repeat;
          lodash2.replace = replace;
          lodash2.result = result;
          lodash2.round = round;
          lodash2.runInContext = runInContext2;
          lodash2.sample = sample;
          lodash2.size = size;
          lodash2.snakeCase = snakeCase;
          lodash2.some = some;
          lodash2.sortedIndex = sortedIndex;
          lodash2.sortedIndexBy = sortedIndexBy;
          lodash2.sortedIndexOf = sortedIndexOf;
          lodash2.sortedLastIndex = sortedLastIndex;
          lodash2.sortedLastIndexBy = sortedLastIndexBy;
          lodash2.sortedLastIndexOf = sortedLastIndexOf;
          lodash2.startCase = startCase;
          lodash2.startsWith = startsWith;
          lodash2.subtract = subtract;
          lodash2.sum = sum;
          lodash2.sumBy = sumBy;
          lodash2.template = template;
          lodash2.times = times;
          lodash2.toFinite = toFinite;
          lodash2.toInteger = toInteger;
          lodash2.toLength = toLength;
          lodash2.toLower = toLower;
          lodash2.toNumber = toNumber;
          lodash2.toSafeInteger = toSafeInteger;
          lodash2.toString = toString;
          lodash2.toUpper = toUpper;
          lodash2.trim = trim;
          lodash2.trimEnd = trimEnd;
          lodash2.trimStart = trimStart;
          lodash2.truncate = truncate;
          lodash2.unescape = unescape2;
          lodash2.uniqueId = uniqueId;
          lodash2.upperCase = upperCase;
          lodash2.upperFirst = upperFirst;
          lodash2.each = forEach;
          lodash2.eachRight = forEachRight;
          lodash2.first = head;
          mixin(lodash2, function() {
            var source = {};
            baseForOwn(lodash2, function(func, methodName) {
              if (!hasOwnProperty.call(lodash2.prototype, methodName)) {
                source[methodName] = func;
              }
            });
            return source;
          }(), { "chain": false });
          lodash2.VERSION = VERSION;
          arrayEach(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(methodName) {
            lodash2[methodName].placeholder = lodash2;
          });
          arrayEach(["drop", "take"], function(methodName, index) {
            LazyWrapper.prototype[methodName] = function(n) {
              n = n === undefined$1 ? 1 : nativeMax(toInteger(n), 0);
              var result2 = this.__filtered__ && !index ? new LazyWrapper(this) : this.clone();
              if (result2.__filtered__) {
                result2.__takeCount__ = nativeMin(n, result2.__takeCount__);
              } else {
                result2.__views__.push({
                  "size": nativeMin(n, MAX_ARRAY_LENGTH),
                  "type": methodName + (result2.__dir__ < 0 ? "Right" : "")
                });
              }
              return result2;
            };
            LazyWrapper.prototype[methodName + "Right"] = function(n) {
              return this.reverse()[methodName](n).reverse();
            };
          });
          arrayEach(["filter", "map", "takeWhile"], function(methodName, index) {
            var type = index + 1, isFilter = type == LAZY_FILTER_FLAG || type == LAZY_WHILE_FLAG;
            LazyWrapper.prototype[methodName] = function(iteratee2) {
              var result2 = this.clone();
              result2.__iteratees__.push({
                "iteratee": getIteratee(iteratee2, 3),
                "type": type
              });
              result2.__filtered__ = result2.__filtered__ || isFilter;
              return result2;
            };
          });
          arrayEach(["head", "last"], function(methodName, index) {
            var takeName = "take" + (index ? "Right" : "");
            LazyWrapper.prototype[methodName] = function() {
              return this[takeName](1).value()[0];
            };
          });
          arrayEach(["initial", "tail"], function(methodName, index) {
            var dropName = "drop" + (index ? "" : "Right");
            LazyWrapper.prototype[methodName] = function() {
              return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1);
            };
          });
          LazyWrapper.prototype.compact = function() {
            return this.filter(identity);
          };
          LazyWrapper.prototype.find = function(predicate) {
            return this.filter(predicate).head();
          };
          LazyWrapper.prototype.findLast = function(predicate) {
            return this.reverse().find(predicate);
          };
          LazyWrapper.prototype.invokeMap = baseRest(function(path, args) {
            if (typeof path == "function") {
              return new LazyWrapper(this);
            }
            return this.map(function(value) {
              return baseInvoke(value, path, args);
            });
          });
          LazyWrapper.prototype.reject = function(predicate) {
            return this.filter(negate(getIteratee(predicate)));
          };
          LazyWrapper.prototype.slice = function(start, end) {
            start = toInteger(start);
            var result2 = this;
            if (result2.__filtered__ && (start > 0 || end < 0)) {
              return new LazyWrapper(result2);
            }
            if (start < 0) {
              result2 = result2.takeRight(-start);
            } else if (start) {
              result2 = result2.drop(start);
            }
            if (end !== undefined$1) {
              end = toInteger(end);
              result2 = end < 0 ? result2.dropRight(-end) : result2.take(end - start);
            }
            return result2;
          };
          LazyWrapper.prototype.takeRightWhile = function(predicate) {
            return this.reverse().takeWhile(predicate).reverse();
          };
          LazyWrapper.prototype.toArray = function() {
            return this.take(MAX_ARRAY_LENGTH);
          };
          baseForOwn(LazyWrapper.prototype, function(func, methodName) {
            var checkIteratee = /^(?:filter|find|map|reject)|While$/.test(methodName), isTaker = /^(?:head|last)$/.test(methodName), lodashFunc = lodash2[isTaker ? "take" + (methodName == "last" ? "Right" : "") : methodName], retUnwrapped = isTaker || /^find/.test(methodName);
            if (!lodashFunc) {
              return;
            }
            lodash2.prototype[methodName] = function() {
              var value = this.__wrapped__, args = isTaker ? [1] : arguments, isLazy = value instanceof LazyWrapper, iteratee2 = args[0], useLazy = isLazy || isArray(value);
              var interceptor = function(value2) {
                var result3 = lodashFunc.apply(lodash2, arrayPush([value2], args));
                return isTaker && chainAll ? result3[0] : result3;
              };
              if (useLazy && checkIteratee && typeof iteratee2 == "function" && iteratee2.length != 1) {
                isLazy = useLazy = false;
              }
              var chainAll = this.__chain__, isHybrid = !!this.__actions__.length, isUnwrapped = retUnwrapped && !chainAll, onlyLazy = isLazy && !isHybrid;
              if (!retUnwrapped && useLazy) {
                value = onlyLazy ? value : new LazyWrapper(this);
                var result2 = func.apply(value, args);
                result2.__actions__.push({ "func": thru, "args": [interceptor], "thisArg": undefined$1 });
                return new LodashWrapper(result2, chainAll);
              }
              if (isUnwrapped && onlyLazy) {
                return func.apply(this, args);
              }
              result2 = this.thru(interceptor);
              return isUnwrapped ? isTaker ? result2.value()[0] : result2.value() : result2;
            };
          });
          arrayEach(["pop", "push", "shift", "sort", "splice", "unshift"], function(methodName) {
            var func = arrayProto[methodName], chainName = /^(?:push|sort|unshift)$/.test(methodName) ? "tap" : "thru", retUnwrapped = /^(?:pop|shift)$/.test(methodName);
            lodash2.prototype[methodName] = function() {
              var args = arguments;
              if (retUnwrapped && !this.__chain__) {
                var value = this.value();
                return func.apply(isArray(value) ? value : [], args);
              }
              return this[chainName](function(value2) {
                return func.apply(isArray(value2) ? value2 : [], args);
              });
            };
          });
          baseForOwn(LazyWrapper.prototype, function(func, methodName) {
            var lodashFunc = lodash2[methodName];
            if (lodashFunc) {
              var key = lodashFunc.name + "";
              if (!hasOwnProperty.call(realNames, key)) {
                realNames[key] = [];
              }
              realNames[key].push({ "name": methodName, "func": lodashFunc });
            }
          });
          realNames[createHybrid(undefined$1, WRAP_BIND_KEY_FLAG).name] = [{
            "name": "wrapper",
            "func": undefined$1
          }];
          LazyWrapper.prototype.clone = lazyClone;
          LazyWrapper.prototype.reverse = lazyReverse;
          LazyWrapper.prototype.value = lazyValue;
          lodash2.prototype.at = wrapperAt;
          lodash2.prototype.chain = wrapperChain;
          lodash2.prototype.commit = wrapperCommit;
          lodash2.prototype.next = wrapperNext;
          lodash2.prototype.plant = wrapperPlant;
          lodash2.prototype.reverse = wrapperReverse;
          lodash2.prototype.toJSON = lodash2.prototype.valueOf = lodash2.prototype.value = wrapperValue;
          lodash2.prototype.first = lodash2.prototype.head;
          if (symIterator) {
            lodash2.prototype[symIterator] = wrapperToIterator;
          }
          return lodash2;
        };
        var _ = runInContext();
        if (freeModule) {
          (freeModule.exports = _)._ = _;
          freeExports._ = _;
        } else {
          root._ = _;
        }
      }).call(commonjsGlobal);
    })(lodash, lodash.exports);
    return lodash.exports;
  }
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t(requireLodash());
    }("undefined" != typeof self ? self : commonjsGlobal, function(e) {
      return function() {
        var t = { 484: function(t2) {
          t2.exports = e;
        } }, n = {};
        function o(e2) {
          var a2 = n[e2];
          if (void 0 !== a2) return a2.exports;
          var r = n[e2] = { exports: {} };
          return t[e2](r, r.exports, o), r.exports;
        }
        o.d = function(e2, t2) {
          for (var n2 in t2) o.o(t2, n2) && !o.o(e2, n2) && Object.defineProperty(e2, n2, { enumerable: true, get: t2[n2] });
        }, o.o = function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, o.r = function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        };
        var a = {};
        return function() {
          o.r(a), o.d(a, { default: function() {
            return Zt;
          }, sdk: function() {
            return Ut;
          } });
          var e2 = o(484);
          const t2 = (e3) => {
            console.error(`Wix code SDK error: ${e3}`);
          }, n2 = (e3) => {
            console.warn(`Wix code SDK warning: ${e3}`);
          }, r = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to null.`, i = ({ propertyName: e3, compName: t3, effectName: n3, infoLink: o2 }) => `The "${e3}" function called on "${t3}" was executed without the "${n3}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, m = ({ propertyName: e3, compName: t3, infoLink: n3 }) => `The "${e3}" function called on "${t3}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n3}"')`, s = ({ propertyName: e3, compName: t3, effectName: n3, wrongProperty: o2, wrongValue: a2, infoLink: r2 }) => `The "${e3}" function called on "${t3}" was executed without the "${n3}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${r2}"')`, u = ({ propertyName: e3, compName: t3, effectName: n3, infoLink: o2 }) => `The "${e3}" function  called on "${t3}" was executed without the specified effect options because it was called with the following deprecated effect: "${n3}". Read more about effects: "${o2}"`, c = ({ propertyName: e3, compName: t3, effectName: n3, wrongValue: o2, infoLink: a2 }) => `The "${e3}" function called on "${t3}" was executed without the "${n3}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, p = ({ propertyName: e3, functionName: t3, compName: n3 }) => `The ${e3} parameter of "${n3}" that is passed to the ${t3} method cannot be set to null.`, l = ({ propertyName: e3, functionName: t3, index: n3 }) => `The ${e3} parameter of item at index ${n3} that is passed to the ${t3} method cannot be set to null or undefined.`, d = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is required for ${t3} method.`, f = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]}, are required for ${t3} method.`, y = ({ propertyName: e3, functionName: t3, index: n3 }) => `The ${e3} parameter of item at index ${n3} is required for ${t3} method.`, h = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is not allowed for ${t3} method.`, N = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]} are unknown for ${t3} method.`, v = ({ propertyName: e3, functionName: t3, index: n3 }) => `The ${e3} parameter of item at index ${n3} is not allowed for ${t3} method.`, g = ({ propertyNames: e3, functionName: t3, index: n3 }) => `The following parameters: ${[...e3]} of item at index ${n3} are unknown for ${t3} method.`, $ = ({ propertyName: e3, functionName: t3, value: n3, minimum: o2, maximum: a2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n3}". Its length must be between ${o2} and ${a2}.`, x = ({ propertyName: e3, functionName: t3, value: n3, minimum: o2, maximum: a2, index: r2 }) => `The ${e3} parameter of item at index ${r2} that is passed to the ${t3} method cannot be set to the value "${n3}". Its length must be between ${o2} and ${a2}.`, b = ({ propertyName: e3, functionName: t3, value: n3, expectedValue: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n3}". Its length must be ${o2}.`, w = ({ propertyName: e3, functionName: t3, value: n3, expectedValue: o2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value "${n3}". Its length must be ${o2}.`, I = ({ propertyName: e3, functionName: t3, value: n3, minimum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n3}" because its length is shorter than ${o2}.`, C = ({ propertyName: e3, functionName: t3, value: n3, minimum: o2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value "${n3}" because its length is shorter than ${o2}.`, T = ({ propertyName: e3, functionName: t3, value: n3, maximum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n3}" because its length exceeds ${o2}.`, O = ({ propertyName: e3, functionName: t3, value: n3, maximum: o2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value "${n3}" because its length exceeds ${o2}.`, E = ({ propertyName: e3, functionName: t3, value: n3, minimum: o2, maximum: a2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n3}". It must be between ${o2} and ${a2}.`, S = ({ propertyName: e3, functionName: t3, value: n3, minimum: o2, maximum: a2, index: r2 }) => `The ${e3} parameter of item at index ${r2} that is passed to the ${t3} method cannot be set to the value "${n3}". It must be between ${o2} and ${a2}.`, k = ({ propertyName: e3, functionName: t3, value: n3, expectedValue: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n3}". It must be ${o2}.`, V = ({ propertyName: e3, functionName: t3, value: n3, expectedValue: o2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value "${n3}". It must be ${o2}.`, L = ({ propertyName: e3, functionName: t3, value: n3, minimum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n3}. It must be larger than ${o2}.`, P = ({ propertyName: e3, functionName: t3, value: n3, minimum: o2, index: a2 }) => `The value of ${e3} parameter of item at ${a2} that is passed to the ${t3} method cannot be set to the value ${n3}. It must be larger than ${o2}.`, j = ({ propertyName: e3, functionName: t3, value: n3, maximum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n3}. It must be less than ${o2}.`, A = ({ propertyName: e3, functionName: t3, value: n3, maximum: o2, index: a2 }) => `The value of ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value ${n3}. It must be less than ${o2}.`, D = ({ propertyName: e3, functionName: t3, value: n3, expectedType: o2 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n3}. It must be of type ${o2}.`, F = ({ propertyName: e3, functionName: t3, value: n3, expectedType: o2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value ${n3}. It must be of type ${o2}.`, M = ({ propertyName: e3, functionName: t3, value: n3 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n3}. Bad format`, R = ({ functionName: e3, wrongEffects: t3, allowedEffects: n3 }) => `Passed  effects: "${t3.join('", "')}" to the ${e3} method are wrong for this element. Allowed effects are: "${n3.join('", "')}".`, H = ({ propertyName: e3, functionName: t3, value: n3, index: o2 }) => `The "${e3}" property of the item at index ${o2} that is passed to the ${t3} method cannot be set to "${n3}". Bad format`, q = ({ propertyName: e3, hint: t3 }) => `The ${e3} parameter cannot be set when ${t3}`, B = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method contains invalid characters.`;
          function W(e3) {
            return "number" == typeof e3 && !Number.isNaN(e3);
          }
          function Y(e3) {
            return Array.isArray(e3);
          }
          function X(e3) {
            return null == e3;
          }
          function G(e3, t3) {
            return t3.includes(e3);
          }
          function K(e3, t3) {
            return e3 > t3;
          }
          function J(e3, t3) {
            return e3 < t3;
          }
          const _ = ({ compName: e3, functionName: t3, propertyName: n3, index: o2 }) => W(o2) ? l({ propertyName: n3, functionName: t3, index: o2 }) : e3 ? p({ compName: e3, functionName: t3, propertyName: n3 }) : r({ functionName: t3, propertyName: n3 }), z = ({ functionName: e3, propertyName: t3, index: n3 }) => W(n3) ? y({ functionName: e3, propertyName: t3, index: n3 }) : d({ functionName: e3, propertyName: t3 }), U = ({ functionName: e3, propertyNames: t3, index: n3 }) => t3 && t3.length > 1 ? W(n3) ? g({ functionName: e3, propertyNames: t3, index: n3 }) : N({ functionName: e3, propertyNames: t3 }) : W(n3) ? v({ functionName: e3, propertyName: t3[0], index: n3 }) : h({ functionName: e3, propertyName: t3[0] }), Z = ({ functionName: e3, propertyName: t3, value: n3, maximum: o2, minimum: a2, index: r2 }) => a2 && o2 ? a2 === o2 ? W(r2) ? w({ functionName: e3, propertyName: t3, value: n3, expectedValue: a2, index: r2 }) : b({ functionName: e3, propertyName: t3, value: n3, expectedValue: a2 }) : W(r2) ? x({ functionName: e3, propertyName: t3, value: n3, maximum: o2, minimum: a2, index: r2 }) : $({ functionName: e3, propertyName: t3, value: n3, maximum: o2, minimum: a2 }) : !a2 && o2 ? W(r2) ? O({ functionName: e3, propertyName: t3, value: n3, maximum: o2, index: r2 }) : T({ functionName: e3, propertyName: t3, value: n3, maximum: o2 }) : W(r2) ? C({ functionName: e3, propertyName: t3, value: n3, minimum: a2, index: r2 }) : I({ functionName: e3, propertyName: t3, value: n3, minimum: a2 }), Q = ({ functionName: e3, propertyName: t3, value: n3, minimum: o2, maximum: a2, index: r2 }) => o2 && a2 ? o2 === a2 ? W(r2) ? V({ functionName: e3, propertyName: t3, expectedValue: o2, value: n3, index: r2 }) : k({ functionName: e3, propertyName: t3, expectedValue: o2, value: n3 }) : W(r2) ? S({ functionName: e3, propertyName: t3, value: n3, maximum: a2, minimum: o2, index: r2 }) : E({ functionName: e3, propertyName: t3, value: n3, maximum: a2, minimum: o2 }) : !o2 && a2 ? W(r2) ? A({ functionName: e3, propertyName: t3, maximum: a2, value: n3, index: r2 }) : j({ functionName: e3, propertyName: t3, maximum: a2, value: n3 }) : W(r2) ? P({ functionName: e3, propertyName: t3, value: n3, minimum: o2, index: r2 }) : L({ functionName: e3, propertyName: t3, value: n3, minimum: o2 }), ee = ({ functionName: e3, propertyName: t3, types: n3, value: o2, index: a2 }) => {
            const r2 = n3.map((e4) => "nil" === e4 ? "null" : e4).join(",");
            return W(a2) ? F({ functionName: e3, index: a2, propertyName: t3, value: o2, expectedType: r2 }) : D({ functionName: e3, propertyName: t3, value: o2, expectedType: r2 });
          }, te = ({ functionName: e3, propertyName: t3, value: n3, enum: o2, index: a2 }) => {
            const r2 = `from (${o2.join(",")})`;
            return W(a2) ? F({ functionName: e3, propertyName: t3, value: n3, expectedType: r2, index: a2 }) : D({ functionName: e3, propertyName: t3, value: n3, expectedType: r2 });
          }, ne = ({ functionName: e3, propertyName: t3, value: n3, index: o2 }) => W(o2) ? H({ functionName: e3, propertyName: t3, value: n3, index: o2 }) : M({ functionName: e3, propertyName: t3, value: n3 }), oe = Object.prototype.hasOwnProperty, ae = Object.getOwnPropertyNames, re = () => {
          };
          function ie(e3, t3, n3, o2, a2, r2) {
            if (!function(e4) {
              return "object" == typeof e4 && null !== e4 && !Y(e4);
            }(e3)) return ce.InvalidType;
            if (t3.oneOf) return 1 === t3.oneOf.map((t4) => ie(e3, t4, n3, re, a2, r2)).filter((e4) => e4 === ce.Valid).length ? ce.Valid : ce.Invalid;
            if (t3.required) {
              for (let n4 = 0; n4 < t3.required.length; n4++) if (!oe.call(e3, t3.required[n4])) return o2(z({ functionName: r2.functionName, index: r2.index, propertyName: t3.required[n4] }), { ...r2, value: e3 }), ce.Invalid;
            }
            const i2 = ae(t3.properties ?? {});
            if (false === t3.additionalProperties) {
              const t4 = ae(e3).filter((e4) => !i2.includes(e4));
              if (t4.length) {
                return o2(U({ functionName: r2.functionName, index: r2.index, propertyNames: t4 })), ce.Invalid;
              }
            }
            for (let o3 = 0; o3 < i2.length; o3++) {
              const a3 = i2[o3];
              if (oe.call(e3, a3)) {
                const o4 = t3.properties[a3], i3 = e3[a3];
                if (!n3(i3, o4, { functionName: r2.functionName, index: r2.index, propertyName: a3 })) return ce.Invalid;
              }
            }
            return ce.Valid;
          }
          function me(e3) {
            return Array.isArray(e3);
          }
          function se(e3, t3, n3, o2) {
            const { minimum: a2, maximum: r2, enum: i2 } = t3;
            return function(e4) {
              return Number.isInteger(e4);
            }(e3) ? i2 && !G(e3, i2) ? (n3(te({ value: e3, enum: i2, ...o2 }), { ...o2, value: e3 }), ce.Invalid) : W(a2) && J(e3, a2) || W(r2) && K(e3, r2) ? (n3(Q({ value: e3, minimum: a2, maximum: r2, ...o2 }), { ...o2, value: e3 }), ce.Invalid) : ce.Valid : ce.InvalidType;
          }
          function ue(e3) {
            return function(e4) {
              return e4 instanceof Date && !Number.isNaN(e4.getTime());
            }(e3) ? ce.Valid : ce.InvalidType;
          }
          const ce = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
          function pe({ reportError: e3, reportWarning: t3 }, n3, { suppressIndexErrors: o2 = false } = {}) {
            function a2(o3, a3, i2) {
              a3.warnIfNil && X(o3) && t3(_({ ...i2, compName: n3 }), { ...i2, value: o3 });
              let m2 = 0;
              for (; m2 < a3.type.length; m2++) {
                const e4 = (0, r2[a3.type[m2]])(o3, a3, i2);
                if (e4 !== ce.InvalidType) return e4 === ce.Valid;
              }
              return m2 === a3.type.length && e3(ee({ value: o3, types: a3.type, ...i2 }), { ...i2, value: o3 }), false;
            }
            const r2 = { object: (n4, o3, r3) => ie(n4, o3, a2, e3, t3, r3), array: (e4, t4, n4) => function(e5, t5, n5, o3, a3, r3 = false) {
              if (!Y(e5)) return ce.InvalidType;
              let i2 = ce.Valid;
              if (t5.items) {
                const o4 = me(t5.items) ? Math.min(e5.length, t5.items.length) : e5.length;
                for (let m2 = 0; m2 < o4; m2++) {
                  const o5 = e5[m2];
                  let s2, u2;
                  me(t5.items) ? (s2 = t5.items[m2], u2 = t5.items[m2].name) : (s2 = t5.items, u2 = t5.name), n5(o5, s2, { functionName: a3.functionName, propertyName: u2 || a3.propertyName, index: r3 ? void 0 : m2 }) || (i2 = ce.Invalid);
                }
              }
              return i2;
            }(e4, t4, a2, 0, n4, o2), number: (t4, n4, o3) => function(e4, t5, n5, o4) {
              const { minimum: a3, maximum: r3, enum: i2 } = t5;
              return W(e4) ? i2 && !G(e4, i2) ? (n5(te({ value: e4, enum: i2, ...o4 }), { ...o4, value: e4 }), ce.Invalid) : W(a3) && J(e4, a3) || W(r3) && K(e4, r3) ? (n5(Q({ value: e4, minimum: a3, maximum: r3, ...o4 }), { ...o4, value: e4 }), ce.Invalid) : ce.Valid : ce.InvalidType;
            }(t4, n4, e3, o3), integer: (t4, n4, o3) => se(t4, n4, e3, o3), string: (t4, n4, o3) => function(e4, t5, n5, o4) {
              const { minLength: a3, maxLength: r3, enum: i2, pattern: m2 } = t5;
              return /* @__PURE__ */ function(e5) {
                return "string" == typeof e5;
              }(e4) ? i2 && !G(e4, i2) ? (n5(te({ value: e4, enum: i2, ...o4 }), { ...o4, value: e4 }), ce.Invalid) : a3 && J(e4.length, a3) || r3 && K(e4.length, r3) ? (n5(Z({ value: e4, minimum: a3, maximum: r3, ...o4 }), { ...o4, value: e4 }), ce.Invalid) : m2 && !new RegExp(m2).test(e4) ? (n5(ne({ value: e4, ...o4 }), { ...o4, value: e4 }), ce.Invalid) : ce.Valid : ce.InvalidType;
            }(t4, n4, e3, o3), boolean: (e4) => function(e5) {
              return /* @__PURE__ */ function(e6) {
                return true === e6 || false === e6;
              }(e5) ? ce.Valid : ce.InvalidType;
            }(e4), date: (e4) => ue(e4), nil: (e4) => function(e5) {
              return X(e5) ? ce.Valid : ce.InvalidType;
            }(e4), function: (e4) => function(e5) {
              return /* @__PURE__ */ function(e6) {
                return "function" == typeof e6;
              }(e5) ? ce.Valid : ce.InvalidType;
            }(e4) };
            return function(e4, t4, n4) {
              return a2(e4, t4, { functionName: n4, propertyName: n4, index: void 0 });
            };
          }
          function le(e3, { suppressIndexErrors: o2 = false } = {}) {
            return pe({ reportError: t2, reportWarning: n2 }, e3, { suppressIndexErrors: o2 });
          }
          const de = "click", fe = "dblClick", ye = "mouseenter", he = "mouseleave", Ne = "change", ve = "blur", ge = "focus", $e = "imageChanged", xe = "imageExpanded", be = "onInput", we = "itemClicked", Ie = "cellSelect", Ce = "cellEdit", Te = "rowSelect", Oe = "fetchData", Ee = "dataChange", Se = "onTimeout", ke = "onVerified", Ve = "onError", Le = "onPlay", Pe = "onPause", je = "onProgress", Ae = "onEnded", De = "autoplayOff", Fe = "autoplayOn", Me = "playEnded", Re = "playProgress", He = "keyPress", qe = "keyUp", Be = "keyDown", We = "screenIn", Ye = "viewportEnter", Xe = "viewportLeave", Ge = "scroll", Ke = "validate", Je = "setCustomValidity", _e = "syncValidationData", ze = "updateValidityIndication", Ue = "message", Ze = "uploadComplete", Qe = "itemReady", et = "itemRemoved", tt = "tagClick", nt = "quickActionBarItemClicked", ot = "markerClicked", at = "mapClicked", rt = "iconMouseIn", it = "onStateChange", mt = "itemMouseIn", st = "itemMouseOut", ut = "itemMouseClick", ct = "itemMouseDblClick", pt = "onColorChange", lt = "onFontChange", dt = "onOpacityChange", ft = { [de]: "onClick", [fe]: "onDblClick", [ye]: "onMouseIn", [he]: "onMouseOut", [Ne]: "onChange", [be]: "onInput", [ve]: "onBlur", [ge]: "onFocus", [$e]: "onCurrentItemChanged", [xe]: void 0, [we]: "onItemClicked", [Ie]: "onCellSelect", [Ce]: void 0, [Te]: "onRowSelect", [Oe]: void 0, [Ee]: "onDataChange", [Se]: "onTimeout", [ke]: "onVerified", [Ve]: "onError", [Le]: "onPlay", [Pe]: "onPause", [je]: "onProgress", [Ae]: "onEnded", [De]: "onPause", [Fe]: "onPlay", [Me]: void 0, [Re]: void 0, [He]: "onKeyPress", [qe]: "onKeyUp", [Be]: "onKeyDown", [We]: void 0, [Ye]: "onViewportEnter", [Xe]: "onViewportLeave", [Ge]: void 0, [Ke]: void 0, [Je]: void 0, [_e]: void 0, [ze]: void 0, [Ue]: "onMessage", [Ze]: void 0, [Qe]: "onItemReady", [et]: "onItemRemoved", [tt]: void 0, [nt]: "onItemClicked", [ot]: "onMarkerClicked", [at]: "onMapClicked", [rt]: void 0, [it]: "onStateChange", [mt]: "onItemMouseIn", [st]: "onItemMouseOut", [ut]: "onItemClick", [ct]: "onItemDblClick", [pt]: "onColorChange", [lt]: "onFontChange", [dt]: "onOpacityChange" }, yt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, ht = (e3) => {
            const { target: t3, type: n3, context: o2 } = e3;
            return { target: t3, type: yt[n3] ?? n3, context: o2 };
          }, Nt = (e3) => {
            const { clientX: t3, clientY: n3, pageX: o2, pageY: a2, screenX: r2, screenY: i2, nativeEvent: m2 } = e3, { offsetX: s2, offsetY: u2 } = m2;
            return { clientX: t3, clientY: n3, pageX: o2, pageY: a2, screenX: r2, screenY: i2, offsetX: s2, offsetY: u2 };
          }, vt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, gt = (e3) => e3.replace(/^on/i, ""), $t = (e3) => e3.createSdkState({ listeners: [] }, "eventListeners"), xt = (e3, t3, n3, o2) => {
            const { create$w: a2, createEvent: r2, registerEvent: i2, getSdkInstance: m2, metaData: s2 } = t3;
            if (!((e4, t4, n4) => le(n4)(e4, { type: ["function"] }, t4))(n3, vt[e3] ?? e3, s2.role)) return m2();
            const [u2, c2] = $t(t3), p2 = i2(e3, (e4, t4) => {
              const i3 = r2({ type: e4.type, compId: e4.compId }), m3 = a2({ context: i3.context }), s3 = o2?.({ componentEvent: e4, eventPayload: t4 });
              n3({ ...ht(i3), ...s3 }, m3);
            }), l2 = { eventName: e3, compId: s2.compId, cb: n3, unregister: p2 };
            return c2({ listeners: [...u2.listeners, l2] }), m2();
          }, bt = (e3, t3) => {
            const n3 = ((e4) => {
              const t4 = Object.entries(vt).find(([t5, n4]) => gt(n4.toLowerCase()) === gt(e4.toLowerCase()));
              return t4?.[0] ?? e4;
            })(ft[t3] ?? t3);
            return e3.toLowerCase() === n3.toLowerCase();
          }, wt = (e3, t3, n3, o2) => xt(e3, t3, n3, ({ componentEvent: e4, eventPayload: t4 }) => ({ ...Nt(e4), ...t4 && o2?.(t4) }));
          function It(e3, t3) {
            const { modifyAriaSourceKeys: n3 } = {};
            return (t4) => {
              const o2 = {};
              for (let r2 = 0; r2 < e3.length; r2++) {
                const i2 = e3[r2](t4), m2 = Object.keys(i2);
                for (let e4 = 0; e4 < m2.length; e4++) {
                  const t5 = m2[e4], r3 = Object.getOwnPropertyDescriptor(i2, t5);
                  Object.defineProperty(o2, n3 && r3.get ? "aria" + (a2 = t5).charAt(0).toUpperCase() + a2.slice(1) : t5, r3);
                }
              }
              var a2;
              return o2;
            };
          }
          const Ct = ({ handlers: e3, metaData: t3 }) => {
            const { compId: n3, connection: o2, compType: a2, isGlobal: r2, getParent: i2, role: m2, wixCodeId: s2 } = t3, u2 = `$w.${a2}`;
            return { get id() {
              return s2 || m2;
            }, get role() {
              return m2;
            }, get connectionConfig() {
              return o2?.config;
            }, get uniqueId() {
              return n3;
            }, get parent() {
              return i2();
            }, get global() {
              return r2();
            }, get type() {
              return u2;
            }, scrollTo() {
              return new Promise((t4) => e3.scrollToComponent(n3, t4));
            }, toJSON() {
              return { id: m2, type: u2, global: r2() };
            } };
          }, Tt = (e3) => (t3) => {
            const { metaData: n3, getSdkInstance: o2, create$w: a2, createEvent: r2 } = t3, i2 = (e4, t4) => le(n3.role)(e4, { type: ["function"] }, t4);
            return { onViewportEnter: (n4) => i2(n4, "onViewportEnter") ? (e3?.("onViewportEnter", () => {
              const e4 = r2({ type: "viewportEnter" }), t4 = a2();
              n4(e4, t4);
            }), xt("onViewportEnter", t3, n4)) : o2(), onViewportLeave: (n4) => i2(n4, "onViewportLeave") ? (e3?.("onViewportLeave", () => {
              const e4 = r2({ type: "viewportLeave" }), t4 = a2();
              n4(e4, t4);
            }), xt("onViewportLeave", t3, n4)) : o2() };
          }, Ot = { duration: 1200, delay: 0 }, Et = { arc: { ...Ot, direction: "left" }, bounce: { ...Ot, direction: "topLeft", intensity: "medium" }, puff: { ...Ot }, zoom: { ...Ot }, fade: { ...Ot }, flip: { ...Ot, direction: "right" }, float: { ...Ot, direction: "right" }, fly: { ...Ot, direction: "right" }, fold: { ...Ot, direction: "left" }, glide: { ...Ot, angle: 0, distance: 0 }, roll: { ...Ot, direction: "left" }, slide: { ...Ot, direction: "left" }, spin: { ...Ot, direction: "cw", cycles: 5 }, turn: { ...Ot, direction: "right" }, ArcIn: { ...Ot, direction: "right" }, ArcOut: { ...Ot, direction: "right" }, BounceIn: { ...Ot, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Ot, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Ot, direction: "right" }, CollapseOut: { ...Ot }, Conceal: { ...Ot, direction: "right" }, Reveal: { ...Ot, direction: "left" }, FadeIn: { ...Ot }, FadeOut: { ...Ot }, FlipIn: { ...Ot, direction: "left" }, FlipOut: { ...Ot, direction: "left" }, FloatIn: { ...Ot, direction: "right" }, FloatOut: { ...Ot, direction: "right" }, FlyIn: { ...Ot, direction: "right" }, FlyOut: { ...Ot, direction: "right" }, FoldIn: { ...Ot, direction: "left" }, FoldOut: { ...Ot, direction: "left" }, GlideIn: { ...Ot, angle: 0, distance: 150 }, GlideOut: { ...Ot, angle: 0, distance: 150 }, DropIn: { ...Ot }, PopOut: { ...Ot }, SlideIn: { ...Ot, direction: "left" }, SlideOut: { ...Ot, direction: "left" }, SpinIn: { ...Ot, direction: "cw", cycles: 2 }, SpinOut: { ...Ot, direction: "cw", cycles: 2 }, TurnIn: { ...Ot, direction: "right" }, TurnOut: { ...Ot, direction: "right" } }, St = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, kt = (e3) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e3}`, Vt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Lt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Pt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, jt = { arc: { type: ["object"], properties: { duration: Vt, delay: Lt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Vt, delay: Lt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Vt, delay: Lt } }, zoom: { type: ["object"], properties: { duration: Vt, delay: Lt } }, fade: { type: ["object"], properties: { duration: Vt, delay: Lt } }, flip: { type: ["object"], properties: { duration: Vt, delay: Lt, direction: Pt } }, float: { type: ["object"], properties: { duration: Vt, delay: Lt, direction: Pt } }, fly: { type: ["object"], properties: { duration: Vt, delay: Lt, direction: Pt } }, fold: { type: ["object"], properties: { duration: Vt, delay: Lt, direction: Pt } }, glide: { type: ["object"], properties: { duration: Vt, delay: Lt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Vt, delay: Lt, direction: Pt } }, slide: { type: ["object"], properties: { duration: Vt, delay: Lt, direction: Pt } }, spin: { type: ["object"], properties: { duration: Vt, delay: Lt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Vt, delay: Lt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, At = ({ propertyName: e3, compName: t3 }) => (o2, a2) => {
            if (!o2) return false;
            if (void 0 === a2) return true;
            const r2 = (({ effectName: e4, propertyName: t4, compName: o3 }) => (a3, r3) => {
              n2(c({ propertyName: t4, compName: o3, effectName: e4, wrongValue: `${r3?.value}`, infoLink: kt(t4) }));
            })({ effectName: o2, propertyName: e3, compName: t3 });
            if (!pe({ reportError: r2, reportWarning: () => ({}) }, t3)(a2, { type: ["object"] }, e3)) return false;
            const i2 = (({ effectName: e4, propertyName: t4, compName: o3 }) => (a3, r3) => {
              n2(s({ propertyName: t4, compName: o3, effectName: e4, wrongProperty: "value", wrongValue: `the key "${r3?.propertyName}" cannot be set to the value "${r3?.value}"`, infoLink: kt(t4) }));
            })({ effectName: o2, propertyName: e3, compName: t3 });
            return !!pe({ reportError: i2, reportWarning: () => ({}) }, t3)(a2, jt[o2], e3);
          }, Dt = (e3) => 0 === Object.keys(e3).length, Ft = ({ viewportState: e3, hasPortal: t3 = false } = {}) => ({ setStyles: o2, portal: a2, metaData: r2, getSdkInstance: s2, runAnimation: c2, createSdkState: p2, styleUtils: l2, setProps: d2 }) => {
            const f2 = (({ compName: e4 }) => ({ effectName: t4, effectOptions: o3, propertyName: a3 }) => {
              const r3 = At({ propertyName: a3, compName: e4 });
              if (!t4 && !o3) return false;
              if (!t4 && o3 && !Dt(o3)) return n2(m({ propertyName: a3, compName: e4, infoLink: kt(a3) })), false;
              const s3 = "hide" === a3 ? "HIDE" : "SHOW", c3 = St[s3]?.deprecatedValues;
              return t4 && o3 && c3 && c3.find((e5) => e5 === t4) && !Dt(o3) ? (n2(u({ compName: e4, effectName: t4, propertyName: a3, infoLink: kt(a3) })), false) : !!c3.find((e5) => e5 === t4) || (t4 && !(t4 in jt) ? (n2(i({ propertyName: a3, compName: e4, effectName: t4, infoLink: kt(a3) })), false) : !!r3(t4, o3));
            })({ compName: r2.role }), [y2, h2] = p2({ hidden: r2.hiddenOnLoad, collapsed: r2.collapsedOnLoad }, "hidden-collapsed");
            return { hide: async (n3, r3) => {
              if (d2({ hidden: true }), y2.collapsed || y2.hidden) h2({ hidden: true });
              else {
                if (f2({ effectName: n3, effectOptions: r3, propertyName: "hide" })) {
                  const e4 = { animationDirection: St.HIDE.suffix, effectName: n3, effectOptions: { ...Et?.[n3] || Ot, ...r3 } };
                  await Promise.all([c2(e4), t3 ? a2.runAnimation(e4) : void 0]);
                } else o2(l2.getHiddenStyles()), t3 && a2.setStyles(l2.getHiddenStyles());
                h2({ hidden: true }), e3?.onViewportLeave?.forEach((e4) => e4());
              }
            }, show: async (n3, r3) => {
              if (d2({ hidden: false }), !y2.collapsed && y2.hidden) {
                if (f2({ effectName: n3, effectOptions: r3, propertyName: "show" })) {
                  const e4 = { animationDirection: St.SHOW.suffix, effectName: n3, effectOptions: { ...Et?.[n3] || Ot, ...r3 } };
                  await Promise.all([c2(e4), t3 ? a2.runAnimation(e4) : void 0]);
                } else o2(l2.getShownStyles()), t3 && a2.setStyles(l2.getShownStyles());
                h2({ hidden: false }), e3?.onViewportEnter?.forEach((e4) => e4());
              } else h2({ hidden: false });
            }, collapse: async () => {
              d2({ collapsed: true }), y2.collapsed || (o2(l2.getCollapsedStyles()), t3 && a2.setStyles(l2.getCollapsedStyles()), h2({ collapsed: true }), y2.hidden || e3?.onViewportLeave?.forEach((e4) => e4()));
            }, expand: async () => {
              if (d2({ collapsed: false }), y2.collapsed) {
                const n3 = { ...l2.getExpandedStyles(), visibility: y2.hidden ? "hidden" : null };
                o2(n3), t3 && a2.setStyles(n3), h2({ collapsed: false }), y2.hidden || e3?.onViewportEnter?.forEach((e4) => e4());
              }
            }, get collapsed() {
              return y2.collapsed;
            }, get hidden() {
              return Boolean(y2.hidden);
            }, get isVisible() {
              if (!r2.isRendered()) return false;
              let e4 = s2();
              for (; e4; ) {
                if (e4.hidden || e4.collapsed) return false;
                e4 = e4.parent;
              }
              return true;
            }, get isAnimatable() {
              return true;
            } };
          }, Mt = (e3) => (t3) => ((e4, t4 = false) => {
            const [n3, o2] = e4.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
            return It([Ft({ viewportState: n3, hasPortal: t4 }), Tt((e5, t5) => {
              o2({ [e5]: [...n3[e5], t5] });
            })])(e4);
          })(t3, e3), Rt = (e3, n3, o2) => {
            const a2 = n3.filter((t3) => !e3.includes(t3));
            a2.length && t2(R({ functionName: o2, wrongEffects: a2, allowedEffects: e3 }));
          }, Ht = (e3) => {
            const t3 = () => e3.effectsTriggersApi?.getEffects() || [];
            return { effects: { get effects() {
              return t3();
            }, get activeEffects() {
              return e3.effectsTriggersApi?.getActiveEffects() || [];
            }, applyEffects: (n3) => {
              Rt(t3(), n3, "applyEffects"), e3.effectsTriggersApi?.applyEffects(...n3);
            }, removeEffects: (n3) => {
              Rt(t3(), n3, "removeEffects"), e3.effectsTriggersApi?.removeEffects(...n3);
            }, toggleEffects: (n3) => {
              Rt(t3(), n3, "toggleEffects"), e3.effectsTriggersApi?.toggleEffects(...n3);
            }, removeAllEffects: () => e3.effectsTriggersApi?.removeAllEffects() } };
          }, qt = (e3) => ({ delete: () => {
            e3.setProps({ deleted: true }), e3.remove();
          }, restore: () => {
            e3.setProps({ deleted: false }), e3.restore();
          }, get deleted() {
            return !!e3.props.deleted;
          } }), Bt = (e3, t3) => "string" != typeof e3 ? (Wt(e3, t3, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e3) || (Xt(e3, t3), false), Wt = (e3, n3, o2, a2) => {
            t2(D({ propertyName: e3, functionName: n3, value: o2, expectedType: a2 }));
          }, Yt = (e3, n3) => {
            t2(d({ propertyName: e3, functionName: n3 }));
          }, Xt = (e3, n3) => {
            t2(B({ propertyName: e3, functionName: n3 }));
          }, Gt = (e3) => {
            const { setProps: n3, props: o2 } = e3;
            return { customClassList: { get value() {
              return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
            }, values() {
              return o2.customClassNames ? o2.customClassNames : [];
            }, add(...e4) {
              const t3 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
              if (e4.length) {
                for (const n4 of e4) {
                  if (!Bt(n4, "customClassList.add")) return;
                  t3.add(n4);
                }
                n3({ customClassNames: Array.from(t3) });
              } else Yt("className", "customClassList.add");
            }, remove(...e4) {
              if (!e4.length) return void Yt("className", "customClassList.remove");
              const t3 = new Set(o2.customClassNames);
              for (const n4 of e4) {
                if (!Bt(n4, "customClassList.remove")) return;
                t3.delete(n4);
              }
              n3({ customClassNames: Array.from(t3) });
            }, contains(e4) {
              if (e4) return Bt(e4, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e4) : void 0;
              Yt("className", "customClassList.contains");
            }, replace(e4, n4) {
              return e4 && n4 ? !(!Bt(n4, "customClassList.replace") || !Bt(e4, "customClassList.replace")) && (!!this.contains(e4) && (this.remove(e4), this.add(n4), true)) : (t2(f({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
            }, toggle(e4) {
              return e4 ? !!Bt(e4, "customClassList.toggle") && (this.contains(e4) ? (this.remove(e4), false) : (this.add(e4), true)) : (Yt("className", "customClassList.toggle"), false);
            } } };
          }, Kt = (e3) => ({ onMouseIn: (t3) => wt("onMouseEnter", e3, t3), onMouseOut: (t3) => wt("onMouseLeave", e3, t3), removeEventHandler: (n3, o2) => {
            const { getSdkInstance: a2 } = e3;
            return "string" != typeof n3 ? (t2(D({ propertyName: "type", functionName: "removeEventHandler", value: n3, expectedType: "string" })), a2()) : "function" != typeof o2 ? (t2(D({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), a2()) : ((e4, t3, n4) => {
              const { metaData: o3, getSdkInstance: a3 } = t3, [r2, i2] = $t(t3), m2 = r2.listeners.filter((t4) => bt(t4.eventName, e4) && t4.cb === n4 && t4.compId === o3.compId);
              for (const e5 of m2) e5.unregister();
              return i2({ listeners: r2.listeners.filter((e5) => !m2.includes(e5)) }), a3();
            })(n3, e3, o2);
          }, get rendered() {
            return e3.metaData.isRendered();
          }, toJSON() {
            return (({ role: e4, compType: t3, isGlobal: n3, isRendered: o2 }) => ({ id: e4, type: `$w.${t3}`, global: n3(), rendered: o2() }))(e3.metaData);
          } }), Jt = Tt();
          It([Ct, Jt, Kt, Ht, Gt]);
          const _t = function(t3, n3, o2) {
            return void 0 === o2 && (o2 = []), (0, e2.transform)(t3, (t4, a2, r2) => {
              const i2 = [...o2, r2.toString()];
              t4[r2] = (0, e2.isObjectLike)(a2) ? _t(a2, n3, i2) : n3(a2, i2);
            });
          }, zt = (({ useHiddenCollapsed: e3 = true, hasPortal: t3 = false } = {}) => It([Ct, Kt, Ht, qt, e3 ? Mt(t3) : Jt, Gt]))(), Ut = It([zt, (n3) => {
            let { props: o2, setProps: a2, registerEvent: r2, createSdkState: i2 } = n3;
            const [m2, s2] = i2({ componentCbs: {} });
            return r2("handleEvents", (e3, t3) => {
              if (m2.componentCbs[e3]) return m2.componentCbs[e3](...t3);
            }), { get props() {
              const n4 = (0, e2.cloneDeep)(o2.compProps);
              Object.entries(m2.componentCbs).forEach((t3) => {
                let [o3, a4] = t3;
                a4 && (0, e2.set)(n4, JSON.parse(o3), a4);
              });
              const a3 = { get(e3, t3) {
                return "object" == typeof e3[t3] && null !== e3[t3] ? new Proxy(e3[t3], a3) : e3[t3];
              }, set(e3) {
                return t2(q({ propertyName: "" + e3, hint: "You cannot set inner properties of props" })), false;
              } };
              return new Proxy(n4, a3);
            }, set props(e3) {
              const t3 = {}, n4 = _t(e3, (e4, n5) => "function" == typeof e4 ? (t3[JSON.stringify(n5)] = e4, null) : e4);
              s2({ componentCbs: t3 });
              const o3 = Object.entries(t3).reduce((e4, t4) => {
                let [n5, o4] = t4;
                return o4 && e4.push(JSON.parse(n5)), e4;
              }, []);
              a2({ compProps: { ...n4 }, events: o3 });
            } };
          }]);
          var Zt = { factory: Ut };
        }(), a;
      }();
    });
  })(ExternalComponent_bundle_min);
  var ExternalComponent_bundle_minExports = ExternalComponent_bundle_min.exports;
  const ExternalComponent = /* @__PURE__ */ getDefaultExportFromCjs(ExternalComponent_bundle_minExports);
  var HtmlComponent_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var o2 in n2) e.o(n2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: n2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { _htmlComponentSdkFactory: function() {
          return Kt;
        }, default: function() {
          return Jt;
        }, sdk: function() {
          return Ut;
        } });
        const n = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, o = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function a(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function r(e2) {
          return Array.isArray(e2);
        }
        function i(e2) {
          return null == e2;
        }
        function m(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function u(e2, t2) {
          return e2 < t2;
        }
        const c = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, l = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, p = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, d = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: o2, wrongValue: a2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${r2}"')`, f = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${o2}"`, y = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, h = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, N = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, v = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, g = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, x = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, b = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, w = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, I = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, C = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, T = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, O = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, E = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, S = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, k = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, V = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, L = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, P = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, D = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, A = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, B = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, W = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, X = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, Y = ({ propertyName: e2, functionName: t2, value: n2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, G = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, K = ({ compName: e2, functionName: t2, propertyName: n2, index: o2 }) => a(o2) ? N({ propertyName: n2, functionName: t2, index: o2 }) : e2 ? h({ compName: e2, functionName: t2, propertyName: n2 }) : c({ functionName: t2, propertyName: n2 }), _ = ({ functionName: e2, propertyName: t2, index: n2 }) => a(n2) ? $({ functionName: e2, propertyName: t2, index: n2 }) : v({ functionName: e2, propertyName: t2 }), z = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? a(n2) ? I({ functionName: e2, propertyNames: t2, index: n2 }) : b({ functionName: e2, propertyNames: t2 }) : a(n2) ? w({ functionName: e2, propertyName: t2[0], index: n2 }) : x({ functionName: e2, propertyName: t2[0] }), U = ({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2, index: i2 }) => r2 && o2 ? r2 === o2 ? a(i2) ? E({ functionName: e2, propertyName: t2, value: n2, expectedValue: r2, index: i2 }) : O({ functionName: e2, propertyName: t2, value: n2, expectedValue: r2 }) : a(i2) ? T({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2, index: i2 }) : C({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2 }) : !r2 && o2 ? a(i2) ? L({ functionName: e2, propertyName: t2, value: n2, maximum: o2, index: i2 }) : V({ functionName: e2, propertyName: t2, value: n2, maximum: o2 }) : a(i2) ? k({ functionName: e2, propertyName: t2, value: n2, minimum: r2, index: i2 }) : S({ functionName: e2, propertyName: t2, value: n2, minimum: r2 }), J = ({ functionName: e2, propertyName: t2, value: n2, minimum: o2, maximum: r2, index: i2 }) => o2 && r2 ? o2 === r2 ? a(i2) ? A({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2, index: i2 }) : D({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2 }) : a(i2) ? P({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2, index: i2 }) : j({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2 }) : !o2 && r2 ? a(i2) ? H({ functionName: e2, propertyName: t2, maximum: r2, value: n2, index: i2 }) : R({ functionName: e2, propertyName: t2, maximum: r2, value: n2 }) : a(i2) ? F({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: i2 }) : M({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), Z = ({ functionName: e2, propertyName: t2, types: n2, value: o2, index: r2 }) => {
          const i2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return a(r2) ? B({ functionName: e2, index: r2, propertyName: t2, value: o2, expectedType: i2 }) : q({ functionName: e2, propertyName: t2, value: o2, expectedType: i2 });
        }, Q = ({ functionName: e2, propertyName: t2, value: n2, enum: o2, index: r2 }) => {
          const i2 = `from (${o2.join(",")})`;
          return a(r2) ? B({ functionName: e2, propertyName: t2, value: n2, expectedType: i2, index: r2 }) : q({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, ee = ({ functionName: e2, propertyName: t2, value: n2, index: o2 }) => a(o2) ? Y({ functionName: e2, propertyName: t2, value: n2, index: o2 }) : W({ functionName: e2, propertyName: t2, value: n2 }), te = Object.prototype.hasOwnProperty, ne = Object.getOwnPropertyNames, oe = () => {
        };
        function ae(e2, t2, n2, o2, a2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !r(e3);
          }(e2)) return se.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ae(e2, t3, n2, oe, a2, i2)).filter((e3) => e3 === se.Valid).length ? se.Valid : se.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!te.call(e2, t2.required[n3])) return o2(_({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[n3] }), { ...i2, value: e2 }), se.Invalid;
          }
          const m2 = ne(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ne(e2).filter((e3) => !m2.includes(e3));
            if (t3.length) {
              return o2(z({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), se.Invalid;
            }
          }
          for (let o3 = 0; o3 < m2.length; o3++) {
            const a3 = m2[o3];
            if (te.call(e2, a3)) {
              const o4 = t2.properties[a3], r2 = e2[a3];
              if (!n2(r2, o4, { functionName: i2.functionName, index: i2.index, propertyName: a3 })) return se.Invalid;
            }
          }
          return se.Valid;
        }
        function re(e2) {
          return Array.isArray(e2);
        }
        function ie(e2, t2, n2, o2) {
          const { minimum: r2, maximum: i2, enum: c2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? c2 && !m(e2, c2) ? (n2(Q({ value: e2, enum: c2, ...o2 }), { ...o2, value: e2 }), se.Invalid) : a(r2) && u(e2, r2) || a(i2) && s(e2, i2) ? (n2(J({ value: e2, minimum: r2, maximum: i2, ...o2 }), { ...o2, value: e2 }), se.Invalid) : se.Valid : se.InvalidType;
        }
        function me(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? se.Valid : se.InvalidType;
        }
        const se = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function ue({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: o2 = false } = {}) {
          function c2(o3, a2, r2) {
            a2.warnIfNil && i(o3) && t2(K({ ...r2, compName: n2 }), { ...r2, value: o3 });
            let m2 = 0;
            for (; m2 < a2.type.length; m2++) {
              const e3 = (0, l2[a2.type[m2]])(o3, a2, r2);
              if (e3 !== se.InvalidType) return e3 === se.Valid;
            }
            return m2 === a2.type.length && e2(Z({ value: o3, types: a2.type, ...r2 }), { ...r2, value: o3 }), false;
          }
          const l2 = { object: (n3, o3, a2) => ae(n3, o3, c2, e2, t2, a2), array: (e3, t3, n3) => function(e4, t4, n4, o3, a2, i2 = false) {
            if (!r(e4)) return se.InvalidType;
            let m2 = se.Valid;
            if (t4.items) {
              const o4 = re(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let r2 = 0; r2 < o4; r2++) {
                const o5 = e4[r2];
                let s2, u2;
                re(t4.items) ? (s2 = t4.items[r2], u2 = t4.items[r2].name) : (s2 = t4.items, u2 = t4.name), n4(o5, s2, { functionName: a2.functionName, propertyName: u2 || a2.propertyName, index: i2 ? void 0 : r2 }) || (m2 = se.Invalid);
              }
            }
            return m2;
          }(e3, t3, c2, 0, n3, o2), number: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minimum: r2, maximum: i2, enum: c3 } = t4;
            return a(e3) ? c3 && !m(e3, c3) ? (n4(Q({ value: e3, enum: c3, ...o4 }), { ...o4, value: e3 }), se.Invalid) : a(r2) && u(e3, r2) || a(i2) && s(e3, i2) ? (n4(J({ value: e3, minimum: r2, maximum: i2, ...o4 }), { ...o4, value: e3 }), se.Invalid) : se.Valid : se.InvalidType;
          }(t3, n3, e2, o3), integer: (t3, n3, o3) => ie(t3, n3, e2, o3), string: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minLength: a2, maxLength: r2, enum: i2, pattern: c3 } = t4;
            return /* @__PURE__ */ function(e4) {
              return "string" == typeof e4;
            }(e3) ? i2 && !m(e3, i2) ? (n4(Q({ value: e3, enum: i2, ...o4 }), { ...o4, value: e3 }), se.Invalid) : a2 && u(e3.length, a2) || r2 && s(e3.length, r2) ? (n4(U({ value: e3, minimum: a2, maximum: r2, ...o4 }), { ...o4, value: e3 }), se.Invalid) : c3 && !new RegExp(c3).test(e3) ? (n4(ee({ value: e3, ...o4 }), { ...o4, value: e3 }), se.Invalid) : se.Valid : se.InvalidType;
          }(t3, n3, e2, o3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? se.Valid : se.InvalidType;
          }(e3), date: (e3) => me(e3), nil: (e3) => function(e4) {
            return i(e4) ? se.Valid : se.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? se.Valid : se.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return c2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function ce(e2, { suppressIndexErrors: t2 = false } = {}) {
          return ue({ reportError: n, reportWarning: o }, e2, { suppressIndexErrors: t2 });
        }
        const le = "click", pe = "dblClick", de = "mouseenter", fe = "mouseleave", ye = "change", he = "blur", Ne = "focus", ve = "imageChanged", ge = "imageExpanded", $e = "onInput", xe = "itemClicked", be = "cellSelect", we = "cellEdit", Ie = "rowSelect", Ce = "fetchData", Te = "dataChange", Oe = "onTimeout", Ee = "onVerified", Se = "onError", ke = "onPlay", Ve = "onPause", Le = "onProgress", je = "onEnded", Pe = "autoplayOff", De = "autoplayOn", Ae = "playEnded", Me = "playProgress", Fe = "keyPress", Re = "keyUp", He = "keyDown", qe = "screenIn", Be = "viewportEnter", We = "viewportLeave", Xe = "scroll", Ye = "validate", Ge = "setCustomValidity", Ke = "syncValidationData", _e = "updateValidityIndication", ze = "message", Ue = "uploadComplete", Je = "itemReady", Ze = "itemRemoved", Qe = "tagClick", et = "quickActionBarItemClicked", tt = "markerClicked", nt = "mapClicked", ot = "iconMouseIn", at = "onStateChange", rt = "itemMouseIn", it = "itemMouseOut", mt = "itemMouseClick", st = "itemMouseDblClick", ut = "onColorChange", ct = "onFontChange", lt = "onOpacityChange", pt = { [le]: "onClick", [pe]: "onDblClick", [de]: "onMouseIn", [fe]: "onMouseOut", [ye]: "onChange", [$e]: "onInput", [he]: "onBlur", [Ne]: "onFocus", [ve]: "onCurrentItemChanged", [ge]: void 0, [xe]: "onItemClicked", [be]: "onCellSelect", [we]: void 0, [Ie]: "onRowSelect", [Ce]: void 0, [Te]: "onDataChange", [Oe]: "onTimeout", [Ee]: "onVerified", [Se]: "onError", [ke]: "onPlay", [Ve]: "onPause", [Le]: "onProgress", [je]: "onEnded", [Pe]: "onPause", [De]: "onPlay", [Ae]: void 0, [Me]: void 0, [Fe]: "onKeyPress", [Re]: "onKeyUp", [He]: "onKeyDown", [qe]: void 0, [Be]: "onViewportEnter", [We]: "onViewportLeave", [Xe]: void 0, [Ye]: void 0, [Ge]: void 0, [Ke]: void 0, [_e]: void 0, [ze]: "onMessage", [Ue]: void 0, [Je]: "onItemReady", [Ze]: "onItemRemoved", [Qe]: void 0, [et]: "onItemClicked", [tt]: "onMarkerClicked", [nt]: "onMapClicked", [ot]: void 0, [at]: "onStateChange", [rt]: "onItemMouseIn", [it]: "onItemMouseOut", [mt]: "onItemClick", [st]: "onItemDblClick", [ut]: "onColorChange", [ct]: "onFontChange", [lt]: "onOpacityChange" }, dt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, ft = (e2) => {
          const { target: t2, type: n2, context: o2 } = e2;
          return { target: t2, type: dt[n2] ?? n2, context: o2 };
        }, yt = (e2) => {
          const { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: r2, screenY: i2, nativeEvent: m2 } = e2, { offsetX: s2, offsetY: u2 } = m2;
          return { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: r2, screenY: i2, offsetX: s2, offsetY: u2 };
        }, ht = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Nt = (e2) => e2.replace(/^on/i, ""), vt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), gt = (e2, t2, n2, o2) => {
          const { create$w: a2, createEvent: r2, registerEvent: i2, getSdkInstance: m2, metaData: s2 } = t2;
          if (!((e3, t3, n3) => ce(n3)(e3, { type: ["function"] }, t3))(n2, ht[e2] ?? e2, s2.role)) return m2();
          const [u2, c2] = vt(t2), l2 = i2(e2, (e3, t3) => {
            const i3 = r2({ type: e3.type, compId: e3.compId }), m3 = a2({ context: i3.context }), s3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...ft(i3), ...s3 }, m3);
          }), p2 = { eventName: e2, compId: s2.compId, cb: n2, unregister: l2 };
          return c2({ listeners: [...u2.listeners, p2] }), m2();
        }, $t = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(ht).find(([t4, n3]) => Nt(n3.toLowerCase()) === Nt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(pt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, xt = (e2, t2, n2, o2) => gt(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...yt(e3), ...t3 && o2?.(t3) }));
        function bt(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const o2 = {};
            for (let r2 = 0; r2 < e2.length; r2++) {
              const i2 = e2[r2](t3), m2 = Object.keys(i2);
              for (let e3 = 0; e3 < m2.length; e3++) {
                const t4 = m2[e3], r3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(o2, n2 && r3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, r3);
              }
            }
            var a2;
            return o2;
          };
        }
        const wt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: o2, compType: a2, isGlobal: r2, getParent: i2, role: m2, wixCodeId: s2 } = t2, u2 = `$w.${a2}`;
          return { get id() {
            return s2 || m2;
          }, get role() {
            return m2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return i2();
          }, get global() {
            return r2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: m2, type: u2, global: r2() };
          } };
        }, It = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: o2, create$w: a2, createEvent: r2 } = t2, i2 = (e3, t3) => ce(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => i2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = r2({ type: "viewportEnter" }), t3 = a2();
            n3(e3, t3);
          }), gt("onViewportEnter", t2, n3)) : o2(), onViewportLeave: (n3) => i2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = r2({ type: "viewportLeave" }), t3 = a2();
            n3(e3, t3);
          }), gt("onViewportLeave", t2, n3)) : o2() };
        }, Ct = { duration: 1200, delay: 0 }, Tt = { arc: { ...Ct, direction: "left" }, bounce: { ...Ct, direction: "topLeft", intensity: "medium" }, puff: { ...Ct }, zoom: { ...Ct }, fade: { ...Ct }, flip: { ...Ct, direction: "right" }, float: { ...Ct, direction: "right" }, fly: { ...Ct, direction: "right" }, fold: { ...Ct, direction: "left" }, glide: { ...Ct, angle: 0, distance: 0 }, roll: { ...Ct, direction: "left" }, slide: { ...Ct, direction: "left" }, spin: { ...Ct, direction: "cw", cycles: 5 }, turn: { ...Ct, direction: "right" }, ArcIn: { ...Ct, direction: "right" }, ArcOut: { ...Ct, direction: "right" }, BounceIn: { ...Ct, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Ct, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Ct, direction: "right" }, CollapseOut: { ...Ct }, Conceal: { ...Ct, direction: "right" }, Reveal: { ...Ct, direction: "left" }, FadeIn: { ...Ct }, FadeOut: { ...Ct }, FlipIn: { ...Ct, direction: "left" }, FlipOut: { ...Ct, direction: "left" }, FloatIn: { ...Ct, direction: "right" }, FloatOut: { ...Ct, direction: "right" }, FlyIn: { ...Ct, direction: "right" }, FlyOut: { ...Ct, direction: "right" }, FoldIn: { ...Ct, direction: "left" }, FoldOut: { ...Ct, direction: "left" }, GlideIn: { ...Ct, angle: 0, distance: 150 }, GlideOut: { ...Ct, angle: 0, distance: 150 }, DropIn: { ...Ct }, PopOut: { ...Ct }, SlideIn: { ...Ct, direction: "left" }, SlideOut: { ...Ct, direction: "left" }, SpinIn: { ...Ct, direction: "cw", cycles: 2 }, SpinOut: { ...Ct, direction: "cw", cycles: 2 }, TurnIn: { ...Ct, direction: "right" }, TurnOut: { ...Ct, direction: "right" } }, Ot = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Et = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, St = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, kt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Vt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Lt = { arc: { type: ["object"], properties: { duration: St, delay: kt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: St, delay: kt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: St, delay: kt } }, zoom: { type: ["object"], properties: { duration: St, delay: kt } }, fade: { type: ["object"], properties: { duration: St, delay: kt } }, flip: { type: ["object"], properties: { duration: St, delay: kt, direction: Vt } }, float: { type: ["object"], properties: { duration: St, delay: kt, direction: Vt } }, fly: { type: ["object"], properties: { duration: St, delay: kt, direction: Vt } }, fold: { type: ["object"], properties: { duration: St, delay: kt, direction: Vt } }, glide: { type: ["object"], properties: { duration: St, delay: kt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: St, delay: kt, direction: Vt } }, slide: { type: ["object"], properties: { duration: St, delay: kt, direction: Vt } }, spin: { type: ["object"], properties: { duration: St, delay: kt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: St, delay: kt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, jt = ({ propertyName: e2, compName: t2 }) => (n2, a2) => {
          if (!n2) return false;
          if (void 0 === a2) return true;
          const r2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, r3) => {
            o(y({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${r3?.value}`, infoLink: Et(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!ue({ reportError: r2, reportWarning: () => ({}) }, t2)(a2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, r3) => {
            o(d({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${r3?.propertyName}" cannot be set to the value "${r3?.value}"`, infoLink: Et(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!ue({ reportError: i2, reportWarning: () => ({}) }, t2)(a2, Lt[n2], e2);
        }, Pt = (e2) => 0 === Object.keys(e2).length, Dt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: a2, metaData: r2, getSdkInstance: i2, runAnimation: m2, createSdkState: s2, styleUtils: u2, setProps: c2 }) => {
          const d2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: a3 }) => {
            const r3 = jt({ propertyName: a3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Pt(n3)) return o(p({ propertyName: a3, compName: e3, infoLink: Et(a3) })), false;
            const i3 = "hide" === a3 ? "HIDE" : "SHOW", m3 = Ot[i3]?.deprecatedValues;
            return t3 && n3 && m3 && m3.find((e4) => e4 === t3) && !Pt(n3) ? (o(f({ compName: e3, effectName: t3, propertyName: a3, infoLink: Et(a3) })), false) : !!m3.find((e4) => e4 === t3) || (t3 && !(t3 in Lt) ? (o(l({ propertyName: a3, compName: e3, effectName: t3, infoLink: Et(a3) })), false) : !!r3(t3, n3));
          })({ compName: r2.role }), [y2, h2] = s2({ hidden: r2.hiddenOnLoad, collapsed: r2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (o2, r3) => {
            if (c2({ hidden: true }), y2.collapsed || y2.hidden) h2({ hidden: true });
            else {
              if (d2({ effectName: o2, effectOptions: r3, propertyName: "hide" })) {
                const e3 = { animationDirection: Ot.HIDE.suffix, effectName: o2, effectOptions: { ...Tt?.[o2] || Ct, ...r3 } };
                await Promise.all([m2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(u2.getHiddenStyles()), t2 && a2.setStyles(u2.getHiddenStyles());
              h2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (o2, r3) => {
            if (c2({ hidden: false }), !y2.collapsed && y2.hidden) {
              if (d2({ effectName: o2, effectOptions: r3, propertyName: "show" })) {
                const e3 = { animationDirection: Ot.SHOW.suffix, effectName: o2, effectOptions: { ...Tt?.[o2] || Ct, ...r3 } };
                await Promise.all([m2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(u2.getShownStyles()), t2 && a2.setStyles(u2.getShownStyles());
              h2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else h2({ hidden: false });
          }, collapse: async () => {
            c2({ collapsed: true }), y2.collapsed || (n2(u2.getCollapsedStyles()), t2 && a2.setStyles(u2.getCollapsedStyles()), h2({ collapsed: true }), y2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (c2({ collapsed: false }), y2.collapsed) {
              const o2 = { ...u2.getExpandedStyles(), visibility: y2.hidden ? "hidden" : null };
              n2(o2), t2 && a2.setStyles(o2), h2({ collapsed: false }), y2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return y2.collapsed;
          }, get hidden() {
            return Boolean(y2.hidden);
          }, get isVisible() {
            if (!r2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, At = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return bt([Dt({ viewportState: n2, hasPortal: t3 }), It((e4, t4) => {
            o2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), Mt = (e2, t2, o2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && n(X({ functionName: o2, wrongEffects: a2, allowedEffects: e2 }));
        }, Ft = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            Mt(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            Mt(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            Mt(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Rt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Ht = (e2, t2) => "string" != typeof e2 ? (qt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Wt(e2, t2), false), qt = (e2, t2, o2, a2) => {
          n(q({ propertyName: e2, functionName: t2, value: o2, expectedType: a2 }));
        }, Bt = (e2, t2) => {
          n(v({ propertyName: e2, functionName: t2 }));
        }, Wt = (e2, t2) => {
          n(G({ propertyName: e2, functionName: t2 }));
        }, Xt = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const n2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Ht(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else Bt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Bt("className", "customClassList.remove");
            const n2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!Ht(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return Ht(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            Bt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Ht(t3, "customClassList.replace") || !Ht(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (n(g({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Ht(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Bt("className", "customClassList.toggle"), false);
          } } };
        }, Yt = (e2) => ({ onMouseIn: (t2) => xt("onMouseEnter", e2, t2), onMouseOut: (t2) => xt("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (n(q({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof o2 ? (n(q({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), a2()) : ((e3, t3, n2) => {
            const { metaData: o3, getSdkInstance: a3 } = t3, [r2, i2] = vt(t3), m2 = r2.listeners.filter((t4) => $t(t4.eventName, e3) && t4.cb === n2 && t4.compId === o3.compId);
            for (const e4 of m2) e4.unregister();
            return i2({ listeners: r2.listeners.filter((e4) => !m2.includes(e4)) }), a3();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return (({ role: e3, compType: t2, isGlobal: n2, isRendered: o2 }) => ({ id: e3, type: `$w.${t2}`, global: n2(), rendered: o2() }))(e2.metaData);
        } }), Gt = It();
        bt([wt, Gt, Yt, Ft, Xt]);
        const Kt = (e2) => {
          const { setProps: t2, props: n2, compRef: o2, metaData: a2, getSdkInstance: r2 } = e2;
          return { get scrolling() {
            return n2.scrolling;
          }, set scrolling(e3) {
            t2({ scrolling: e3 });
          }, get src() {
            return n2.url;
          }, set src(e3) {
            t2({ url: e3 });
          }, allowFullScreen: () => (t2({ allow: "fullscreen" }), r2()), onMessage: (t3) => gt("onMessage", e2, t3, (e3) => {
            let { componentEvent: t4 } = e3;
            return t4;
          }), postMessage: (e3) => {
            return t3 = e3, n3 = "postMessage", ce(a2.role)(t3, { type: ["string", "function", "number", "boolean", "array", "object"] }, n3) ? (o2.postMessage(e3), r2()) : r2();
            var t3, n3;
          } };
        }, _t = /* @__PURE__ */ function(e2, t2, n2 = {}) {
          return (o2) => {
            const a2 = e2(o2), r2 = ce(o2.metaData.role), i2 = ce(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, m2) => {
              const s2 = Object.getOwnPropertyDescriptor(a2, m2), u2 = { enumerable: true, configurable: true };
              return s2.value ? "function" == typeof s2.value ? u2.value = (...e4) => {
                const a3 = t2.properties[m2] && t2.properties[m2].args, r3 = n2[m2];
                let u3 = true;
                return a3 && (u3 = i2(e4, { type: ["array"], items: a3 }, m2)), u3 && r3 && (u3 = r3.every((t3) => t3(e4, o2))), u3 ? s2.value(...e4) : void 0;
              } : u2.value = s2.value : (s2.get && (u2.get = () => a2[m2]), s2.set && (u2.set = (e4) => {
                const i3 = n2[m2];
                let s3 = true;
                t2.properties[m2] && (s3 = r2(e4, t2.properties[m2], m2)), s3 && i3 && (s3 = i3.every((t3) => t3(e4, o2))), s3 && (a2[m2] = e4);
              })), Object.defineProperty(e3, m2, u2), e3;
            }, {});
          };
        }(Kt, { properties: { src: { type: ["string"] }, scrolling: { type: ["string"], enum: ["yes", "no", "auto"] }, allowFullScreen: { type: ["function"] } } }), zt = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => bt([wt, Yt, Ft, Rt, e2 ? At(t2) : Gt, Xt]))(), Ut = bt([zt, _t]);
        var Jt = { factory: Ut };
        return t;
      }();
    });
  })(HtmlComponent_bundle_min);
  var HtmlComponent_bundle_minExports = HtmlComponent_bundle_min.exports;
  const HtmlComponent = /* @__PURE__ */ getDefaultExportFromCjs(HtmlComponent_bundle_minExports);
  var ImageButton_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { 6683: function(e2, t2, r2) {
          r2.d(t2, { sdk: function() {
            return No;
          } });
          const o2 = (e3) => {
            console.error(`Wix code SDK error: ${e3}`);
          }, n = (e3) => {
            console.warn(`Wix code SDK warning: ${e3}`);
          };
          function a(e3) {
            return "number" == typeof e3 && !Number.isNaN(e3);
          }
          function i(e3) {
            return "string" == typeof e3;
          }
          function s(e3) {
            return Array.isArray(e3);
          }
          function l(e3) {
            return null == e3;
          }
          function p(e3, t3) {
            return t3.includes(e3);
          }
          function u(e3, t3) {
            return e3 > t3;
          }
          function d(e3, t3) {
            return e3 < t3;
          }
          const c = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to null.`, m = ({ propertyName: e3, compName: t3, effectName: r3, infoLink: o3 }) => `The "${e3}" function called on "${t3}" was executed without the "${r3}" effect because it is an invalid effectName value. Read more about effects: "${o3}"')`, f = ({ propertyName: e3, compName: t3, infoLink: r3 }) => `The "${e3}" function called on "${t3}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r3}"')`, b = ({ propertyName: e3, compName: t3, effectName: r3, wrongProperty: o3, wrongValue: n2, infoLink: a2 }) => `The "${e3}" function called on "${t3}" was executed without the "${r3}" effect because it was called with the following invalid effectOptions ${o3}: ${n2}. Read more about the effectOptions object: "${a2}"')`, y = ({ propertyName: e3, compName: t3, effectName: r3, infoLink: o3 }) => `The "${e3}" function  called on "${t3}" was executed without the specified effect options because it was called with the following deprecated effect: "${r3}". Read more about effects: "${o3}"`, h = ({ propertyName: e3, compName: t3, effectName: r3, wrongValue: o3, infoLink: n2 }) => `The "${e3}" function called on "${t3}" was executed without the "${r3}" effect because the it was called with the following invalid effectOptions "${o3}". The effectOptions must be of type Object. Read more about the effectOptions object: "${n2}"'`, g = ({ propertyName: e3, functionName: t3, compName: r3 }) => `The ${e3} parameter of "${r3}" that is passed to the ${t3} method cannot be set to null.`, v = ({ propertyName: e3, functionName: t3, index: r3 }) => `The ${e3} parameter of item at index ${r3} that is passed to the ${t3} method cannot be set to null or undefined.`, N = ({ propertyName: e3, compName: t3, infoLink: r3 }) => ` The value of "${e3}" property of "${t3}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${r3}"`, x = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is required for ${t3} method.`, $ = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]}, are required for ${t3} method.`, w = ({ propertyName: e3, functionName: t3, index: r3 }) => `The ${e3} parameter of item at index ${r3} is required for ${t3} method.`, A = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is not allowed for ${t3} method.`, k = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]} are unknown for ${t3} method.`, C = ({ propertyName: e3, functionName: t3, index: r3 }) => `The ${e3} parameter of item at index ${r3} is not allowed for ${t3} method.`, I = ({ propertyNames: e3, functionName: t3, index: r3 }) => `The following parameters: ${[...e3]} of item at index ${r3} are unknown for ${t3} method.`, O = ({ propertyName: e3, functionName: t3, value: r3, minimum: o3, maximum: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r3}". Its length must be between ${o3} and ${n2}.`, S = ({ propertyName: e3, functionName: t3, value: r3, minimum: o3, maximum: n2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value "${r3}". Its length must be between ${o3} and ${n2}.`, T = ({ propertyName: e3, functionName: t3, value: r3, expectedValue: o3 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r3}". Its length must be ${o3}.`, j = ({ propertyName: e3, functionName: t3, value: r3, expectedValue: o3, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value "${r3}". Its length must be ${o3}.`, P = ({ propertyName: e3, functionName: t3, value: r3, minimum: o3 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r3}" because its length is shorter than ${o3}.`, L = ({ propertyName: e3, functionName: t3, value: r3, minimum: o3, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value "${r3}" because its length is shorter than ${o3}.`, E = ({ propertyName: e3, functionName: t3, value: r3, maximum: o3 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r3}" because its length exceeds ${o3}.`, R = ({ propertyName: e3, functionName: t3, value: r3, maximum: o3, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value "${r3}" because its length exceeds ${o3}.`, B = ({ propertyName: e3, functionName: t3, value: r3, minimum: o3, maximum: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r3}". It must be between ${o3} and ${n2}.`, D = ({ propertyName: e3, functionName: t3, value: r3, minimum: o3, maximum: n2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value "${r3}". It must be between ${o3} and ${n2}.`, V = ({ propertyName: e3, functionName: t3, value: r3, expectedValue: o3 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r3}". It must be ${o3}.`, F = ({ propertyName: e3, functionName: t3, value: r3, expectedValue: o3, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value "${r3}". It must be ${o3}.`, M = ({ propertyName: e3, functionName: t3, value: r3, minimum: o3 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r3}. It must be larger than ${o3}.`, q = ({ propertyName: e3, functionName: t3, value: r3, minimum: o3, index: n2 }) => `The value of ${e3} parameter of item at ${n2} that is passed to the ${t3} method cannot be set to the value ${r3}. It must be larger than ${o3}.`, H = ({ propertyName: e3, functionName: t3, value: r3, maximum: o3 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r3}. It must be less than ${o3}.`, W = ({ propertyName: e3, functionName: t3, value: r3, maximum: o3, index: n2 }) => `The value of ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value ${r3}. It must be less than ${o3}.`, _ = ({ propertyName: e3, functionName: t3, value: r3, expectedType: o3 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r3}. It must be of type ${o3}.`, G = ({ propertyName: e3, functionName: t3, value: r3, expectedType: o3, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value ${r3}. It must be of type ${o3}.`, K = ({ propertyName: e3, functionName: t3, value: r3 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r3}. Bad format`, Y = ({ functionName: e3, wrongEffects: t3, allowedEffects: r3 }) => `Passed  effects: "${t3.join('", "')}" to the ${e3} method are wrong for this element. Allowed effects are: "${r3.join('", "')}".`, U = ({ propertyName: e3, functionName: t3, value: r3, index: o3 }) => `The "${e3}" property of the item at index ${o3} that is passed to the ${t3} method cannot be set to "${r3}". Bad format`, X = ({ target: e3 }) => `The target parameter that is passed to the target method cannot be set to the value ${e3}. It must be of type from (_blank,_self).`, z = ({ rel: e3, validKeywords: t3 }) => `The rel parameter that is passed to the rel method cannot be set to the value ${e3}. It must be a space-separated list of unique keywords (${t3.join()}).`, J = ({ propertyName: e3, compName: t3, cssProperty: r3, exampleFormat: o3, infoLink: n2 }) => ` The "${e3}" property of "${t3}" was set to an invalid "${r3}" value. The value is expected in the following format:"${o3}". Read more about "${r3}" values: "${n2}"`, Z = ({ propertyName: e3, compName: t3, cssProperty: r3, exampleFormats: o3, infoLink: n2 }) => ` The "${e3}" property of "${t3}" was set to an invalid "${r3}" value. The value is expected in one of the following formats:"${o3}". Read more about "${r3}" values: "${n2}"`, Q = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method contains invalid characters.`, ee = ({ compName: e3, functionName: t3, propertyName: r3, index: o3 }) => a(o3) ? v({ propertyName: r3, functionName: t3, index: o3 }) : e3 ? g({ compName: e3, functionName: t3, propertyName: r3 }) : c({ functionName: t3, propertyName: r3 }), te = ({ functionName: e3, propertyName: t3, index: r3 }) => a(r3) ? w({ functionName: e3, propertyName: t3, index: r3 }) : x({ functionName: e3, propertyName: t3 }), re = ({ functionName: e3, propertyNames: t3, index: r3 }) => t3 && t3.length > 1 ? a(r3) ? I({ functionName: e3, propertyNames: t3, index: r3 }) : k({ functionName: e3, propertyNames: t3 }) : a(r3) ? C({ functionName: e3, propertyName: t3[0], index: r3 }) : A({ functionName: e3, propertyName: t3[0] }), oe = ({ functionName: e3, propertyName: t3, value: r3, maximum: o3, minimum: n2, index: i2 }) => n2 && o3 ? n2 === o3 ? a(i2) ? j({ functionName: e3, propertyName: t3, value: r3, expectedValue: n2, index: i2 }) : T({ functionName: e3, propertyName: t3, value: r3, expectedValue: n2 }) : a(i2) ? S({ functionName: e3, propertyName: t3, value: r3, maximum: o3, minimum: n2, index: i2 }) : O({ functionName: e3, propertyName: t3, value: r3, maximum: o3, minimum: n2 }) : !n2 && o3 ? a(i2) ? R({ functionName: e3, propertyName: t3, value: r3, maximum: o3, index: i2 }) : E({ functionName: e3, propertyName: t3, value: r3, maximum: o3 }) : a(i2) ? L({ functionName: e3, propertyName: t3, value: r3, minimum: n2, index: i2 }) : P({ functionName: e3, propertyName: t3, value: r3, minimum: n2 }), ne = ({ functionName: e3, propertyName: t3, value: r3, minimum: o3, maximum: n2, index: i2 }) => o3 && n2 ? o3 === n2 ? a(i2) ? F({ functionName: e3, propertyName: t3, expectedValue: o3, value: r3, index: i2 }) : V({ functionName: e3, propertyName: t3, expectedValue: o3, value: r3 }) : a(i2) ? D({ functionName: e3, propertyName: t3, value: r3, maximum: n2, minimum: o3, index: i2 }) : B({ functionName: e3, propertyName: t3, value: r3, maximum: n2, minimum: o3 }) : !o3 && n2 ? a(i2) ? W({ functionName: e3, propertyName: t3, maximum: n2, value: r3, index: i2 }) : H({ functionName: e3, propertyName: t3, maximum: n2, value: r3 }) : a(i2) ? q({ functionName: e3, propertyName: t3, value: r3, minimum: o3, index: i2 }) : M({ functionName: e3, propertyName: t3, value: r3, minimum: o3 }), ae = ({ functionName: e3, propertyName: t3, types: r3, value: o3, index: n2 }) => {
            const i2 = r3.map((e4) => "nil" === e4 ? "null" : e4).join(",");
            return a(n2) ? G({ functionName: e3, index: n2, propertyName: t3, value: o3, expectedType: i2 }) : _({ functionName: e3, propertyName: t3, value: o3, expectedType: i2 });
          }, ie = ({ functionName: e3, propertyName: t3, value: r3, enum: o3, index: n2 }) => {
            const i2 = `from (${o3.join(",")})`;
            return a(n2) ? G({ functionName: e3, propertyName: t3, value: r3, expectedType: i2, index: n2 }) : _({ functionName: e3, propertyName: t3, value: r3, expectedType: i2 });
          }, se = ({ functionName: e3, propertyName: t3, value: r3, index: o3 }) => a(o3) ? U({ functionName: e3, propertyName: t3, value: r3, index: o3 }) : K({ functionName: e3, propertyName: t3, value: r3 }), le = Object.prototype.hasOwnProperty, pe = Object.getOwnPropertyNames, ue = () => {
          };
          function de(e3, t3, r3, o3, n2, a2) {
            if (!function(e4) {
              return "object" == typeof e4 && null !== e4 && !s(e4);
            }(e3)) return be.InvalidType;
            if (t3.oneOf) return 1 === t3.oneOf.map((t4) => de(e3, t4, r3, ue, n2, a2)).filter((e4) => e4 === be.Valid).length ? be.Valid : be.Invalid;
            if (t3.required) {
              for (let r4 = 0; r4 < t3.required.length; r4++) if (!le.call(e3, t3.required[r4])) return o3(te({ functionName: a2.functionName, index: a2.index, propertyName: t3.required[r4] }), { ...a2, value: e3 }), be.Invalid;
            }
            const i2 = pe(t3.properties ?? {});
            if (false === t3.additionalProperties) {
              const t4 = pe(e3).filter((e4) => !i2.includes(e4));
              if (t4.length) {
                return o3(re({ functionName: a2.functionName, index: a2.index, propertyNames: t4 })), be.Invalid;
              }
            }
            for (let o4 = 0; o4 < i2.length; o4++) {
              const n3 = i2[o4];
              if (le.call(e3, n3)) {
                const o5 = t3.properties[n3], i3 = e3[n3];
                if (!r3(i3, o5, { functionName: a2.functionName, index: a2.index, propertyName: n3 })) return be.Invalid;
              }
            }
            return be.Valid;
          }
          function ce(e3) {
            return Array.isArray(e3);
          }
          function me(e3, t3, r3, o3) {
            const { minimum: n2, maximum: i2, enum: s2 } = t3;
            return function(e4) {
              return Number.isInteger(e4);
            }(e3) ? s2 && !p(e3, s2) ? (r3(ie({ value: e3, enum: s2, ...o3 }), { ...o3, value: e3 }), be.Invalid) : a(n2) && d(e3, n2) || a(i2) && u(e3, i2) ? (r3(ne({ value: e3, minimum: n2, maximum: i2, ...o3 }), { ...o3, value: e3 }), be.Invalid) : be.Valid : be.InvalidType;
          }
          function fe(e3) {
            return function(e4) {
              return e4 instanceof Date && !Number.isNaN(e4.getTime());
            }(e3) ? be.Valid : be.InvalidType;
          }
          const be = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
          function ye({ reportError: e3, reportWarning: t3 }, r3, { suppressIndexErrors: o3 = false } = {}) {
            function n2(o4, n3, a2) {
              n3.warnIfNil && l(o4) && t3(ee({ ...a2, compName: r3 }), { ...a2, value: o4 });
              let i2 = 0;
              for (; i2 < n3.type.length; i2++) {
                const e4 = (0, c2[n3.type[i2]])(o4, n3, a2);
                if (e4 !== be.InvalidType) return e4 === be.Valid;
              }
              return i2 === n3.type.length && e3(ae({ value: o4, types: n3.type, ...a2 }), { ...a2, value: o4 }), false;
            }
            const c2 = { object: (r4, o4, a2) => de(r4, o4, n2, e3, t3, a2), array: (e4, t4, r4) => function(e5, t5, r5, o4, n3, a2 = false) {
              if (!s(e5)) return be.InvalidType;
              let i2 = be.Valid;
              if (t5.items) {
                const o5 = ce(t5.items) ? Math.min(e5.length, t5.items.length) : e5.length;
                for (let s2 = 0; s2 < o5; s2++) {
                  const o6 = e5[s2];
                  let l2, p2;
                  ce(t5.items) ? (l2 = t5.items[s2], p2 = t5.items[s2].name) : (l2 = t5.items, p2 = t5.name), r5(o6, l2, { functionName: n3.functionName, propertyName: p2 || n3.propertyName, index: a2 ? void 0 : s2 }) || (i2 = be.Invalid);
                }
              }
              return i2;
            }(e4, t4, n2, 0, r4, o3), number: (t4, r4, o4) => function(e4, t5, r5, o5) {
              const { minimum: n3, maximum: i2, enum: s2 } = t5;
              return a(e4) ? s2 && !p(e4, s2) ? (r5(ie({ value: e4, enum: s2, ...o5 }), { ...o5, value: e4 }), be.Invalid) : a(n3) && d(e4, n3) || a(i2) && u(e4, i2) ? (r5(ne({ value: e4, minimum: n3, maximum: i2, ...o5 }), { ...o5, value: e4 }), be.Invalid) : be.Valid : be.InvalidType;
            }(t4, r4, e3, o4), integer: (t4, r4, o4) => me(t4, r4, e3, o4), string: (t4, r4, o4) => function(e4, t5, r5, o5) {
              const { minLength: n3, maxLength: a2, enum: s2, pattern: l2 } = t5;
              return i(e4) ? s2 && !p(e4, s2) ? (r5(ie({ value: e4, enum: s2, ...o5 }), { ...o5, value: e4 }), be.Invalid) : n3 && d(e4.length, n3) || a2 && u(e4.length, a2) ? (r5(oe({ value: e4, minimum: n3, maximum: a2, ...o5 }), { ...o5, value: e4 }), be.Invalid) : l2 && !new RegExp(l2).test(e4) ? (r5(se({ value: e4, ...o5 }), { ...o5, value: e4 }), be.Invalid) : be.Valid : be.InvalidType;
            }(t4, r4, e3, o4), boolean: (e4) => function(e5) {
              return /* @__PURE__ */ function(e6) {
                return true === e6 || false === e6;
              }(e5) ? be.Valid : be.InvalidType;
            }(e4), date: (e4) => fe(e4), nil: (e4) => function(e5) {
              return l(e5) ? be.Valid : be.InvalidType;
            }(e4), function: (e4) => function(e5) {
              return /* @__PURE__ */ function(e6) {
                return "function" == typeof e6;
              }(e5) ? be.Valid : be.InvalidType;
            }(e4) };
            return function(e4, t4, r4) {
              return n2(e4, t4, { functionName: r4, propertyName: r4, index: void 0 });
            };
          }
          function he(e3, { suppressIndexErrors: t3 = false } = {}) {
            return ye({ reportError: o2, reportWarning: n }, e3, { suppressIndexErrors: t3 });
          }
          function ge(e3, t3, r3 = {}) {
            return (o3) => {
              const n2 = e3(o3), a2 = he(o3.metaData.role), i2 = he(o3.metaData.role, { suppressIndexErrors: true });
              return Object.keys(n2).reduce((e4, s2) => {
                const l2 = Object.getOwnPropertyDescriptor(n2, s2), p2 = { enumerable: true, configurable: true };
                return l2.value ? "function" == typeof l2.value ? p2.value = (...e5) => {
                  const n3 = t3.properties[s2] && t3.properties[s2].args, a3 = r3[s2];
                  let p3 = true;
                  return n3 && (p3 = i2(e5, { type: ["array"], items: n3 }, s2)), p3 && a3 && (p3 = a3.every((t4) => t4(e5, o3))), p3 ? l2.value(...e5) : void 0;
                } : p2.value = l2.value : (l2.get && (p2.get = () => n2[s2]), l2.set && (p2.set = (e5) => {
                  const i3 = r3[s2];
                  let l3 = true;
                  t3.properties[s2] && (l3 = a2(e5, t3.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t4) => t4(e5, o3))), l3 && (n2[s2] = e5);
                })), Object.defineProperty(e4, s2, p2), e4;
              }, {});
            };
          }
          const ve = "click", Ne = "dblClick", xe = "mouseenter", $e = "mouseleave", we = "change", Ae = "blur", ke = "focus", Ce = "imageChanged", Ie = "imageExpanded", Oe = "onInput", Se = "itemClicked", Te = "cellSelect", je = "cellEdit", Pe = "rowSelect", Le = "fetchData", Ee = "dataChange", Re = "onTimeout", Be = "onVerified", De = "onError", Ve = "onPlay", Fe = "onPause", Me = "onProgress", qe = "onEnded", He = "autoplayOff", We = "autoplayOn", _e = "playEnded", Ge = "playProgress", Ke = "keyPress", Ye = "keyUp", Ue = "keyDown", Xe = "screenIn", ze = "viewportEnter", Je = "viewportLeave", Ze = "scroll", Qe = "validate", et = "setCustomValidity", tt = "syncValidationData", rt = "updateValidityIndication", ot = "message", nt = "uploadComplete", at = "itemReady", it = "itemRemoved", st = "tagClick", lt = "quickActionBarItemClicked", pt = "markerClicked", ut = "mapClicked", dt = "iconMouseIn", ct = "onStateChange", mt = "itemMouseIn", ft = "itemMouseOut", bt = "itemMouseClick", yt = "itemMouseDblClick", ht = "onColorChange", gt = "onFontChange", vt = "onOpacityChange", Nt = { [ve]: "onClick", [Ne]: "onDblClick", [xe]: "onMouseIn", [$e]: "onMouseOut", [we]: "onChange", [Oe]: "onInput", [Ae]: "onBlur", [ke]: "onFocus", [Ce]: "onCurrentItemChanged", [Ie]: void 0, [Se]: "onItemClicked", [Te]: "onCellSelect", [je]: void 0, [Pe]: "onRowSelect", [Le]: void 0, [Ee]: "onDataChange", [Re]: "onTimeout", [Be]: "onVerified", [De]: "onError", [Ve]: "onPlay", [Fe]: "onPause", [Me]: "onProgress", [qe]: "onEnded", [He]: "onPause", [We]: "onPlay", [_e]: void 0, [Ge]: void 0, [Ke]: "onKeyPress", [Ye]: "onKeyUp", [Ue]: "onKeyDown", [Xe]: void 0, [ze]: "onViewportEnter", [Je]: "onViewportLeave", [Ze]: void 0, [Qe]: void 0, [et]: void 0, [tt]: void 0, [rt]: void 0, [ot]: "onMessage", [nt]: void 0, [at]: "onItemReady", [it]: "onItemRemoved", [st]: void 0, [lt]: "onItemClicked", [pt]: "onMarkerClicked", [ut]: "onMapClicked", [dt]: void 0, [ct]: "onStateChange", [mt]: "onItemMouseIn", [ft]: "onItemMouseOut", [bt]: "onItemClick", [yt]: "onItemDblClick", [ht]: "onColorChange", [gt]: "onFontChange", [vt]: "onOpacityChange" }, xt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, $t = (e3) => {
            const { target: t3, type: r3, context: o3 } = e3;
            return { target: t3, type: xt[r3] ?? r3, context: o3 };
          }, wt = (e3) => {
            const { clientX: t3, clientY: r3, pageX: o3, pageY: n2, screenX: a2, screenY: i2, nativeEvent: s2 } = e3, { offsetX: l2, offsetY: p2 } = s2;
            return { clientX: t3, clientY: r3, pageX: o3, pageY: n2, screenX: a2, screenY: i2, offsetX: l2, offsetY: p2 };
          }, At = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, kt = (e3) => e3.replace(/^on/i, ""), Ct = (e3) => e3.createSdkState({ listeners: [] }, "eventListeners"), It = (e3, t3, r3, o3) => {
            const { create$w: n2, createEvent: a2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t3;
            if (!((e4, t4, r4) => he(r4)(e4, { type: ["function"] }, t4))(r3, At[e3] ?? e3, l2.role)) return s2();
            const [p2, u2] = Ct(t3), d2 = i2(e3, (e4, t4) => {
              const i3 = a2({ type: e4.type, compId: e4.compId }), s3 = n2({ context: i3.context }), l3 = o3?.({ componentEvent: e4, eventPayload: t4 });
              r3({ ...$t(i3), ...l3 }, s3);
            }), c2 = { eventName: e3, compId: l2.compId, cb: r3, unregister: d2 };
            return u2({ listeners: [...p2.listeners, c2] }), s2();
          }, Ot = (e3, t3) => {
            const r3 = ((e4) => {
              const t4 = Object.entries(At).find(([t5, r4]) => kt(r4.toLowerCase()) === kt(e4.toLowerCase()));
              return t4?.[0] ?? e4;
            })(Nt[t3] ?? t3);
            return e3.toLowerCase() === r3.toLowerCase();
          }, St = (e3, t3, r3, o3) => It(e3, t3, r3, ({ componentEvent: e4, eventPayload: t4 }) => ({ ...wt(e4), ...t4 && o3?.(t4) }));
          function Tt(e3, t3) {
            const { modifyAriaSourceKeys: r3 } = t3 ?? {};
            return (t4) => {
              const o3 = {};
              for (let a2 = 0; a2 < e3.length; a2++) {
                const i2 = e3[a2](t4), s2 = Object.keys(i2);
                for (let e4 = 0; e4 < s2.length; e4++) {
                  const t5 = s2[e4], a3 = Object.getOwnPropertyDescriptor(i2, t5);
                  Object.defineProperty(o3, r3 && a3.get ? "aria" + (n2 = t5).charAt(0).toUpperCase() + n2.slice(1) : t5, a3);
                }
              }
              var n2;
              return o3;
            };
          }
          const jt = ({ handlers: e3, metaData: t3 }) => {
            const { compId: r3, connection: o3, compType: n2, isGlobal: a2, getParent: i2, role: s2, wixCodeId: l2 } = t3, p2 = `$w.${n2}`;
            return { get id() {
              return l2 || s2;
            }, get role() {
              return s2;
            }, get connectionConfig() {
              return o3?.config;
            }, get uniqueId() {
              return r3;
            }, get parent() {
              return i2();
            }, get global() {
              return a2();
            }, get type() {
              return p2;
            }, scrollTo() {
              return new Promise((t4) => e3.scrollToComponent(r3, t4));
            }, toJSON() {
              return { id: s2, type: p2, global: a2() };
            } };
          }, Pt = (e3) => (t3) => {
            const { metaData: r3, getSdkInstance: o3, create$w: n2, createEvent: a2 } = t3, i2 = (e4, t4) => he(r3.role)(e4, { type: ["function"] }, t4);
            return { onViewportEnter: (r4) => i2(r4, "onViewportEnter") ? (e3?.("onViewportEnter", () => {
              const e4 = a2({ type: "viewportEnter" }), t4 = n2();
              r4(e4, t4);
            }), It("onViewportEnter", t3, r4)) : o3(), onViewportLeave: (r4) => i2(r4, "onViewportLeave") ? (e3?.("onViewportLeave", () => {
              const e4 = a2({ type: "viewportLeave" }), t4 = n2();
              r4(e4, t4);
            }), It("onViewportLeave", t3, r4)) : o3() };
          }, Lt = { duration: 1200, delay: 0 }, Et = { arc: { ...Lt, direction: "left" }, bounce: { ...Lt, direction: "topLeft", intensity: "medium" }, puff: { ...Lt }, zoom: { ...Lt }, fade: { ...Lt }, flip: { ...Lt, direction: "right" }, float: { ...Lt, direction: "right" }, fly: { ...Lt, direction: "right" }, fold: { ...Lt, direction: "left" }, glide: { ...Lt, angle: 0, distance: 0 }, roll: { ...Lt, direction: "left" }, slide: { ...Lt, direction: "left" }, spin: { ...Lt, direction: "cw", cycles: 5 }, turn: { ...Lt, direction: "right" }, ArcIn: { ...Lt, direction: "right" }, ArcOut: { ...Lt, direction: "right" }, BounceIn: { ...Lt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Lt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Lt, direction: "right" }, CollapseOut: { ...Lt }, Conceal: { ...Lt, direction: "right" }, Reveal: { ...Lt, direction: "left" }, FadeIn: { ...Lt }, FadeOut: { ...Lt }, FlipIn: { ...Lt, direction: "left" }, FlipOut: { ...Lt, direction: "left" }, FloatIn: { ...Lt, direction: "right" }, FloatOut: { ...Lt, direction: "right" }, FlyIn: { ...Lt, direction: "right" }, FlyOut: { ...Lt, direction: "right" }, FoldIn: { ...Lt, direction: "left" }, FoldOut: { ...Lt, direction: "left" }, GlideIn: { ...Lt, angle: 0, distance: 150 }, GlideOut: { ...Lt, angle: 0, distance: 150 }, DropIn: { ...Lt }, PopOut: { ...Lt }, SlideIn: { ...Lt, direction: "left" }, SlideOut: { ...Lt, direction: "left" }, SpinIn: { ...Lt, direction: "cw", cycles: 2 }, SpinOut: { ...Lt, direction: "cw", cycles: 2 }, TurnIn: { ...Lt, direction: "right" }, TurnOut: { ...Lt, direction: "right" } }, Rt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Bt = (e3) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e3}`, Dt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Vt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Ft = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Mt = { arc: { type: ["object"], properties: { duration: Dt, delay: Vt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Dt, delay: Vt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Dt, delay: Vt } }, zoom: { type: ["object"], properties: { duration: Dt, delay: Vt } }, fade: { type: ["object"], properties: { duration: Dt, delay: Vt } }, flip: { type: ["object"], properties: { duration: Dt, delay: Vt, direction: Ft } }, float: { type: ["object"], properties: { duration: Dt, delay: Vt, direction: Ft } }, fly: { type: ["object"], properties: { duration: Dt, delay: Vt, direction: Ft } }, fold: { type: ["object"], properties: { duration: Dt, delay: Vt, direction: Ft } }, glide: { type: ["object"], properties: { duration: Dt, delay: Vt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Dt, delay: Vt, direction: Ft } }, slide: { type: ["object"], properties: { duration: Dt, delay: Vt, direction: Ft } }, spin: { type: ["object"], properties: { duration: Dt, delay: Vt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Dt, delay: Vt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, qt = ({ propertyName: e3, compName: t3 }) => (r3, o3) => {
            if (!r3) return false;
            if (void 0 === o3) return true;
            const a2 = (({ effectName: e4, propertyName: t4, compName: r4 }) => (o4, a3) => {
              n(h({ propertyName: t4, compName: r4, effectName: e4, wrongValue: `${a3?.value}`, infoLink: Bt(t4) }));
            })({ effectName: r3, propertyName: e3, compName: t3 });
            if (!ye({ reportError: a2, reportWarning: () => ({}) }, t3)(o3, { type: ["object"] }, e3)) return false;
            const i2 = (({ effectName: e4, propertyName: t4, compName: r4 }) => (o4, a3) => {
              n(b({ propertyName: t4, compName: r4, effectName: e4, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: Bt(t4) }));
            })({ effectName: r3, propertyName: e3, compName: t3 });
            return !!ye({ reportError: i2, reportWarning: () => ({}) }, t3)(o3, Mt[r3], e3);
          }, Ht = (e3) => 0 === Object.keys(e3).length, Wt = ({ viewportState: e3, hasPortal: t3 = false } = {}) => ({ setStyles: r3, portal: o3, metaData: a2, getSdkInstance: i2, runAnimation: s2, createSdkState: l2, styleUtils: p2, setProps: u2 }) => {
            const d2 = (({ compName: e4 }) => ({ effectName: t4, effectOptions: r4, propertyName: o4 }) => {
              const a3 = qt({ propertyName: o4, compName: e4 });
              if (!t4 && !r4) return false;
              if (!t4 && r4 && !Ht(r4)) return n(f({ propertyName: o4, compName: e4, infoLink: Bt(o4) })), false;
              const i3 = "hide" === o4 ? "HIDE" : "SHOW", s3 = Rt[i3]?.deprecatedValues;
              return t4 && r4 && s3 && s3.find((e5) => e5 === t4) && !Ht(r4) ? (n(y({ compName: e4, effectName: t4, propertyName: o4, infoLink: Bt(o4) })), false) : !!s3.find((e5) => e5 === t4) || (t4 && !(t4 in Mt) ? (n(m({ propertyName: o4, compName: e4, effectName: t4, infoLink: Bt(o4) })), false) : !!a3(t4, r4));
            })({ compName: a2.role }), [c2, b2] = l2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
            return { hide: async (n2, a3) => {
              if (u2({ hidden: true }), c2.collapsed || c2.hidden) b2({ hidden: true });
              else {
                if (d2({ effectName: n2, effectOptions: a3, propertyName: "hide" })) {
                  const e4 = { animationDirection: Rt.HIDE.suffix, effectName: n2, effectOptions: { ...Et?.[n2] || Lt, ...a3 } };
                  await Promise.all([s2(e4), t3 ? o3.runAnimation(e4) : void 0]);
                } else r3(p2.getHiddenStyles()), t3 && o3.setStyles(p2.getHiddenStyles());
                b2({ hidden: true }), e3?.onViewportLeave?.forEach((e4) => e4());
              }
            }, show: async (n2, a3) => {
              if (u2({ hidden: false }), !c2.collapsed && c2.hidden) {
                if (d2({ effectName: n2, effectOptions: a3, propertyName: "show" })) {
                  const e4 = { animationDirection: Rt.SHOW.suffix, effectName: n2, effectOptions: { ...Et?.[n2] || Lt, ...a3 } };
                  await Promise.all([s2(e4), t3 ? o3.runAnimation(e4) : void 0]);
                } else r3(p2.getShownStyles()), t3 && o3.setStyles(p2.getShownStyles());
                b2({ hidden: false }), e3?.onViewportEnter?.forEach((e4) => e4());
              } else b2({ hidden: false });
            }, collapse: async () => {
              u2({ collapsed: true }), c2.collapsed || (r3(p2.getCollapsedStyles()), t3 && o3.setStyles(p2.getCollapsedStyles()), b2({ collapsed: true }), c2.hidden || e3?.onViewportLeave?.forEach((e4) => e4()));
            }, expand: async () => {
              if (u2({ collapsed: false }), c2.collapsed) {
                const n2 = { ...p2.getExpandedStyles(), visibility: c2.hidden ? "hidden" : null };
                r3(n2), t3 && o3.setStyles(n2), b2({ collapsed: false }), c2.hidden || e3?.onViewportEnter?.forEach((e4) => e4());
              }
            }, get collapsed() {
              return c2.collapsed;
            }, get hidden() {
              return Boolean(c2.hidden);
            }, get isVisible() {
              if (!a2.isRendered()) return false;
              let e4 = i2();
              for (; e4; ) {
                if (e4.hidden || e4.collapsed) return false;
                e4 = e4.parent;
              }
              return true;
            }, get isAnimatable() {
              return true;
            } };
          }, _t = (e3) => (t3) => ((e4, t4 = false) => {
            const [r3, o3] = e4.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
            return Tt([Wt({ viewportState: r3, hasPortal: t4 }), Pt((e5, t5) => {
              o3({ [e5]: [...r3[e5], t5] });
            })])(e4);
          })(t3, e3), Gt = (e3, t3, r3) => {
            const n2 = t3.filter((t4) => !e3.includes(t4));
            n2.length && o2(Y({ functionName: r3, wrongEffects: n2, allowedEffects: e3 }));
          }, Kt = (e3) => {
            const t3 = () => e3.effectsTriggersApi?.getEffects() || [];
            return { effects: { get effects() {
              return t3();
            }, get activeEffects() {
              return e3.effectsTriggersApi?.getActiveEffects() || [];
            }, applyEffects: (r3) => {
              Gt(t3(), r3, "applyEffects"), e3.effectsTriggersApi?.applyEffects(...r3);
            }, removeEffects: (r3) => {
              Gt(t3(), r3, "removeEffects"), e3.effectsTriggersApi?.removeEffects(...r3);
            }, toggleEffects: (r3) => {
              Gt(t3(), r3, "toggleEffects"), e3.effectsTriggersApi?.toggleEffects(...r3);
            }, removeAllEffects: () => e3.effectsTriggersApi?.removeAllEffects() } };
          }, Yt = (e3) => ({ delete: () => {
            e3.setProps({ deleted: true }), e3.remove();
          }, restore: () => {
            e3.setProps({ deleted: false }), e3.restore();
          }, get deleted() {
            return !!e3.props.deleted;
          } }), Ut = (e3, t3) => "string" != typeof e3 ? (Xt(e3, t3, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e3) || (Jt(e3, t3), false), Xt = (e3, t3, r3, n2) => {
            o2(_({ propertyName: e3, functionName: t3, value: r3, expectedType: n2 }));
          }, zt = (e3, t3) => {
            o2(x({ propertyName: e3, functionName: t3 }));
          }, Jt = (e3, t3) => {
            o2(Q({ propertyName: e3, functionName: t3 }));
          }, Zt = (e3) => {
            const { setProps: t3, props: r3 } = e3;
            return { customClassList: { get value() {
              return r3.customClassNames ? r3.customClassNames?.join(" ") : "";
            }, values() {
              return r3.customClassNames ? r3.customClassNames : [];
            }, add(...e4) {
              const o3 = r3.customClassNames ? new Set(r3.customClassNames) : /* @__PURE__ */ new Set([]);
              if (e4.length) {
                for (const t4 of e4) {
                  if (!Ut(t4, "customClassList.add")) return;
                  o3.add(t4);
                }
                t3({ customClassNames: Array.from(o3) });
              } else zt("className", "customClassList.add");
            }, remove(...e4) {
              if (!e4.length) return void zt("className", "customClassList.remove");
              const o3 = new Set(r3.customClassNames);
              for (const t4 of e4) {
                if (!Ut(t4, "customClassList.remove")) return;
                o3.delete(t4);
              }
              t3({ customClassNames: Array.from(o3) });
            }, contains(e4) {
              if (e4) return Ut(e4, "customClassList.contains") ? !!r3.customClassNames && r3.customClassNames.includes(e4) : void 0;
              zt("className", "customClassList.contains");
            }, replace(e4, t4) {
              return e4 && t4 ? !(!Ut(t4, "customClassList.replace") || !Ut(e4, "customClassList.replace")) && (!!this.contains(e4) && (this.remove(e4), this.add(t4), true)) : (o2($({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
            }, toggle(e4) {
              return e4 ? !!Ut(e4, "customClassList.toggle") && (this.contains(e4) ? (this.remove(e4), false) : (this.add(e4), true)) : (zt("className", "customClassList.toggle"), false);
            } } };
          }, Qt = ({ role: e3, compType: t3, isGlobal: r3, isRendered: o3 }) => ({ id: e3, type: `$w.${t3}`, global: r3(), rendered: o3() }), er = (e3) => ({ onMouseIn: (t3) => St("onMouseEnter", e3, t3), onMouseOut: (t3) => St("onMouseLeave", e3, t3), removeEventHandler: (t3, r3) => {
            const { getSdkInstance: n2 } = e3;
            return "string" != typeof t3 ? (o2(_({ propertyName: "type", functionName: "removeEventHandler", value: t3, expectedType: "string" })), n2()) : "function" != typeof r3 ? (o2(_({ propertyName: "handler", functionName: "removeEventHandler", value: r3, expectedType: "function" })), n2()) : ((e4, t4, r4) => {
              const { metaData: o3, getSdkInstance: n3 } = t4, [a2, i2] = Ct(t4), s2 = a2.listeners.filter((t5) => Ot(t5.eventName, e4) && t5.cb === r4 && t5.compId === o3.compId);
              for (const e5 of s2) e5.unregister();
              return i2({ listeners: a2.listeners.filter((e5) => !s2.includes(e5)) }), n3();
            })(t3, e3, r3);
          }, get rendered() {
            return e3.metaData.isRendered();
          }, toJSON() {
            return Qt(e3.metaData);
          } }), tr = Pt(), rr = (Tt([jt, tr, er, Kt, Zt]), { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" });
          function or(e3) {
            return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e3);
          }
          function nr(e3) {
            return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e3);
          }
          function ar(e3) {
            return rr[e3];
          }
          function ir(e3) {
            return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e3) || or(e3);
          }
          function sr(e3) {
            return nr(e3) || /^#(([a-f0-9]){3}){1,2}$/i.test(e3);
          }
          const lr = (e3) => parseInt(e3.repeat(2 / e3.length), 16), pr = (e3) => {
            if (!sr(e3)) return;
            const t3 = ((e4) => {
              const t4 = Math.floor((e4.length - 1) / 3);
              return e4.slice(1).match(new RegExp(`.{${t4}}`, "g"));
            })(e3), [r3, o3, n2, a2] = t3.map(lr);
            return [r3, o3, n2, void 0 !== a2 ? cr(a2 / 255) : 1];
          }, ur = (e3) => sr(e3) ? pr(e3) : ir(e3) ? ((e4) => {
            if (!ir(e4)) return;
            const t3 = e4.substring(e4.indexOf("(")).split(","), r3 = parseInt(t3[0].substring(1).trim(), 10), o3 = parseInt(t3[1].trim(), 10), n2 = parseInt(t3[2].trim(), 10), a2 = t3[3] && parseFloat(t3[3].substring(0, t3[3].length - 1).trim());
            return [r3, o3, n2, void 0 !== a2 ? a2 : 1];
          })(e3) : ar(e3) ? pr(rr[e3]) : void 0, dr = (e3) => {
            const t3 = ur(e3);
            if (t3) return t3[3];
          }, cr = (e3) => Math.round(100 * e3) / 100;
          const mr = ({ propertyName: e3, cssProperty: t3, supportAlpha: r3 }) => (n2, a2) => function(e4) {
            return sr(e4) || ir(e4) || ar(e4);
          }(n2) ? (r3 || br({ propertyName: e3, color: n2, api: a2 }), true) : (o2(Z({ propertyName: e3, cssProperty: t3, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e3.toLowerCase()}`, compName: a2.metaData.role, exampleFormats: r3 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), fr = ({ propertyName: e3, cssProperty: t3 }) => (r3, n2) => !!function(e4) {
            if (i(e4)) {
              const t4 = e4.endsWith("px"), r4 = e4.slice(0, e4.length - 2), o3 = /^\d*$/.test(r4);
              return t4 && o3 && parseInt(r4, 10);
            }
            return false;
          }(r3) || (o2(J({ propertyName: e3, cssProperty: t3, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e3.toLowerCase()}`, compName: n2.metaData.role, exampleFormat: "1px" })), false), br = ({ propertyName: e3, color: t3, api: r3 }) => {
            (nr(t3) || or(t3)) && n(N({ propertyName: e3, compName: r3.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e3.toLowerCase()}` }));
          }, yr = ({ name: e3, prefix: t3 }) => t3 ? `--${t3}-corvid-${e3}` : `--corvid-${e3}`, hr = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, gr = ["hover", "disabled"], vr = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
          function Nr(e3) {
            return e3.charAt(0).toUpperCase() + e3.slice(1);
          }
          const xr = (e3) => (t3 = { supportOpacity: true }) => {
            const { prefix: r3, supportOpacity: o3, withoutDefaultValue: n2, supportedStates: a2 = [] } = t3, i2 = (t4, r4 = e3) => {
              const a3 = mr({ propertyName: e3, cssProperty: o3 ? "rgbaColor" : "rgbColor", supportAlpha: o3 });
              return ge(({ setStyles: a4, sdkData: i3, createSdkState: s3 }) => {
                const l3 = i3?.initialSdkStyles?.[r4], p2 = dr(l3), u2 = n2 ? void 0 : l3, [d2, c2] = s3({ [r4]: u2 }, r4);
                return Object.defineProperty({ reset() {
                  c2({ [r4]: u2 }), a4({ [t4]: void 0 });
                } }, e3, { enumerable: true, set(e4) {
                  let n3 = e4;
                  if (!o3 && (nr(e4) || or(e4))) {
                    const [t5, r5, o4] = ur(e4);
                    n3 = `rgb(${t5}, ${r5}, ${o4})`;
                  }
                  if ("number" == typeof p2 && 1 !== p2) {
                    const t5 = dr(e4);
                    n3 = ((e5, t6) => {
                      const r5 = ur(e5);
                      if (r5) {
                        const [e6, o4, n4] = r5;
                        return `rgba(${e6}, ${o4}, ${n4}, ${t6})`;
                      }
                    })(n3, Number.isFinite(t5) ? cr(p2 * t5) : p2);
                  }
                  c2({ [r4]: n3 }), a4({ [t4]: n3 });
                }, get() {
                  return d2[r4];
                } });
              }, { properties: { [e3]: { type: ["string", "nil"] } } }, { [e3]: [a3] });
            }, s2 = a2.map((t4) => ge((o4) => {
              const n3 = i2(yr({ name: vr[t4][e3], prefix: r3 }), t4 + Nr(e3))(o4);
              return { [t4]: n3 };
            }, { properties: { [t4]: { type: ["object", "nil"] } } })), l2 = i2(yr({ name: hr[e3], prefix: r3 }));
            return (e4) => Object.assign(l2(e4), s2.reduce((t4, r4) => Object.assign(t4, r4(e4)), {}));
          }, $r = xr("backgroundColor"), wr = xr("borderColor"), Ar = "textColor", kr = "color", Cr = xr("fillColor"), Ir = xr("strokeColor"), Or = xr("iconColor"), Sr = "reset";
          function Tr(...e3) {
            const t3 = (r3 = Sr, (...e4) => {
              const t4 = {}, o3 = { [r3](e5) {
                if ("function" == typeof t4[e5]) return t4[e5](e5);
              } };
              return e4.forEach((e5) => {
                Object.keys(e5).filter((e6) => e6 !== r3).map((t5) => ({ key: t5, descriptor: Object.getOwnPropertyDescriptor(e5, t5) })).forEach(({ key: n2, descriptor: a2 }) => {
                  "function" == typeof e5[r3] && (t4[n2] = e5[r3]), Object.defineProperty(o3, n2, a2);
                });
              }), o3;
            });
            var r3;
            return (r4) => {
              const o3 = e3.map((e4) => e4(r4)), n2 = {};
              for (const e4 of gr) o3.some((t4) => e4 in t4) && (n2[e4] = t3(...o3.map((t4) => t4[e4] ?? {})), Object.defineProperty(n2[e4], Sr, { enumerable: false }), o3.forEach((t4) => {
                delete t4[e4];
              }));
              const a2 = t3(...o3);
              return Object.defineProperty(a2, Sr, { enumerable: false }), Object.assign(a2, n2);
            };
          }
          const jr = { BackgroundColor: $r, BorderColor: wr, BorderWidth: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r3 } = e3, o3 = yr({ name: hr.borderWidth, prefix: t3 });
            return ge(({ setStyles: e4, sdkData: t4, createSdkState: n2 }) => {
              const a2 = t4?.initialSdkStyles?.borderWidth, [i2, s2] = n2({ borderWidth: r3 ? void 0 : a2 }, "borderWidth");
              return { set borderWidth(t5) {
                s2({ borderWidth: t5 }), e4({ [o3]: t5 });
              }, get borderWidth() {
                return i2.borderWidth;
              }, reset() {
                s2({ borderWidth: a2 }), e4({ [o3]: void 0 });
              } };
            }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [fr({ propertyName: "borderWidth", cssProperty: "width" })] });
          }, ForegroundColor: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r3 } = e3, o3 = yr({ name: hr.foregroundColor, prefix: t3 });
            return ge(({ setStyles: e4, sdkData: t4, createSdkState: n2 }) => {
              const [a2, i2] = n2({ foregroundColor: r3 ? void 0 : t4?.initialSdkStyles?.foregroundColor }, "foregroundColor");
              return { set foregroundColor(t5) {
                i2({ foregroundColor: t5 }), e4({ [o3]: t5 });
              }, get foregroundColor() {
                return a2.foregroundColor;
              }, reset() {
                i2({ foregroundColor: r3 ? void 0 : t4?.initialSdkStyles?.foregroundColor }), e4({ [o3]: void 0 });
              } };
            }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [mr({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
          }, BorderRadius: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r3 } = e3, o3 = yr({ name: hr.borderRadius, prefix: t3 });
            return ge(({ setStyles: e4, sdkData: t4, createSdkState: n2 }) => {
              const a2 = t4?.initialSdkStyles?.borderRadius, [i2, s2] = n2({ borderRadius: r3 ? void 0 : a2 }, "borderRadius");
              return { set borderRadius(t5) {
                s2({ borderRadius: t5 }), e4({ [o3]: t5 });
              }, get borderRadius() {
                return i2.borderRadius;
              }, reset() {
                s2({ borderRadius: a2 }), e4({ [o3]: void 0 });
              } };
            }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [fr({ propertyName: "borderRadius", cssProperty: "radius" })] });
          }, TextColor: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r3, supportedStates: o3 = [] } = e3, n2 = (e4, t4 = Ar, o4 = kr) => ge(({ setStyles: n3, sdkData: a3, createSdkState: i3 }) => {
              const s2 = a3?.initialSdkStyles?.[o4], l2 = r3 ? void 0 : s2, [p2, u2] = i3({ [t4]: l2 }, t4);
              return { set color(r4) {
                let o5 = r4;
                if (nr(r4) || or(r4)) {
                  const [e5, t5, n4] = ur(r4);
                  o5 = `rgb(${e5}, ${t5}, ${n4})`;
                }
                u2({ [t4]: o5 }), n3({ [e4]: o5 });
              }, get color() {
                return p2[t4];
              }, reset() {
                u2({ [t4]: l2 }), n3({ [e4]: void 0 });
              } };
            }, { properties: { color: { type: ["string", "nil"] } } }, { color: [mr({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), a2 = o3.map((e4) => ge((r4) => {
              const o4 = n2(yr({ name: vr[e4].textColor, prefix: t3 }), ((e5) => e5 + Nr(Ar))(e4), ((e5) => e5 + Nr(kr))(e4))(r4);
              return { [e4]: o4 };
            }, { properties: { [e4]: { type: ["object", "nil"] } } })), i2 = n2(yr({ name: hr.textColor, prefix: t3 }));
            return (e4) => Object.assign(i2(e4), a2.reduce((t4, r4) => Object.assign(t4, r4(e4)), {}));
          }, FillColor: Cr, StrokeColor: Ir, IconColor: Or }, Pr = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} }, Lr = ge(({ setProps: e3, props: t3 }) => ({ get label() {
            return t3.ariaAttributes?.label;
          }, set label(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, label: l(r3) ? void 0 : r3 } });
          } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } });
          var Er;
          !function(e3) {
            e3.ARIA_LABEL_NOT_STRING = "aria-label must be string", e3.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e3.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
          }(Er || (Er = {}));
          const Rr = (e3) => `The parameter that is passed to the ‘${e3}’ property must be a string or ‘null’.`, Br = (e3) => Dr(e3) && ("$w.Text" === e3.type || "$w.CollapsibleText" === e3.type), Dr = (e3) => Boolean(e3.id && e3.uniqueId && e3.type), Vr = (e3, t3, r3, n2, a2) => a2 ? !!r3(a2) || (o2(n2), false) : !!t3 || (o2(ae({ value: a2, types: ["object"], propertyName: e3, functionName: `set ${e3}`, index: void 0 })), false), Fr = (e3, t3 = true) => (r3) => Vr(e3, t3, Dr, `The parameter that is passed to the ‘${e3}’ property must be a selector function of an element.`, r3), Mr = (e3, t3 = true) => (r3) => Vr(e3, t3, Br, `The parameter that is passed to the ‘${e3}’ property must be a selector function of a text element.`, r3), qr = ge(({ setProps: e3, props: t3, create$w: r3 }) => ({ get describedBy() {
            if (!t3.ariaAttributes?.describedBy) return;
            return r3()(`#${t3.ariaAttributes.describedBy}`);
          }, set describedBy(r4) {
            e3(r4 ? { ariaAttributes: { ...t3.ariaAttributes, describedBy: r4.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, describedBy: void 0 } });
          } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [Mr("describedBy")] }), Hr = ge(({ setProps: e3, props: t3, create$w: r3 }) => ({ get labelledBy() {
            if (!t3.ariaAttributes?.labelledBy) return;
            return r3()(`#${t3.ariaAttributes.labelledBy}`);
          }, set labelledBy(r4) {
            e3(r4 ? { ariaAttributes: { ...t3.ariaAttributes, labelledBy: r4.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, labelledBy: void 0 } });
          } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [Mr("labelledBy")] }), Wr = ge(({ setProps: e3, props: t3 }) => ({ get atomic() {
            return t3.ariaAttributes?.atomic;
          }, set atomic(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, atomic: l(r3) ? void 0 : String(r3) } });
          } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), _r = ge(({ setProps: e3, props: t3 }) => ({ get busy() {
            return t3.ariaAttributes?.busy;
          }, set busy(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, busy: l(r3) ? void 0 : String(r3) } });
          } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Gr = ge(({ setProps: e3, props: t3 }) => ({ get current() {
            return t3.ariaAttributes?.current;
          }, set current(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, current: l(r3) ? void 0 : String(r3) } });
          } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), Kr = ge(({ setProps: e3, props: t3 }) => ({ get expanded() {
            return t3.ariaAttributes?.expanded;
          }, set expanded(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, expanded: l(r3) ? void 0 : String(r3) } });
          } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Yr = ge(({ setProps: e3, props: t3 }) => ({ get live() {
            return t3.ariaAttributes?.live;
          }, set live(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, live: l(r3) ? void 0 : r3 } });
          } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), Ur = ge(({ setProps: e3, props: t3, create$w: r3 }) => ({ get owns() {
            if (!t3.ariaAttributes?.owns) return;
            return r3()(`#${t3.ariaAttributes.owns}`);
          }, set owns(r4) {
            e3(r4 ? { ariaAttributes: { ...t3.ariaAttributes, owns: r4.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, owns: void 0 } });
          } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [Fr("owns")] }), Xr = ge(({ setProps: e3, props: t3, create$w: r3 }) => ({ get controls() {
            if (!t3.ariaAttributes?.controls) return;
            return r3()(`#${t3.ariaAttributes.controls}`);
          }, set controls(r4) {
            e3(r4 ? { ariaAttributes: { ...t3.ariaAttributes, controls: r4.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, controls: void 0 } });
          } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [Fr("controls")] }), zr = ge(({ setProps: e3, props: t3 }) => ({ get roleDescription() {
            return t3.ariaAttributes?.roleDescription;
          }, set roleDescription(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, roleDescription: l(r3) ? void 0 : r3 } });
          } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), Jr = ge(({ setProps: e3, props: t3 }) => ({ get relevant() {
            return t3.ariaAttributes?.relevant;
          }, set relevant(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, relevant: l(r3) ? void 0 : r3 } });
          } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), Zr = ge(({ setProps: e3, props: t3, create$w: r3 }) => ({ get errorMessage() {
            if (!t3.ariaAttributes?.errorMessage) return;
            return r3()(`#${t3.ariaAttributes.errorMessage}`);
          }, set errorMessage(r4) {
            e3(r4 ? { ariaAttributes: { ...t3.ariaAttributes, errorMessage: r4.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, errorMessage: void 0 } });
          } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [Mr("errorMessage")] }), Qr = ge(({ setProps: e3, props: t3 }) => ({ get hidden() {
            return t3.ariaAttributes?.hidden;
          }, set hidden(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, hidden: l(r3) ? void 0 : String(r3) } });
          } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), eo = ge(({ setProps: e3, props: t3 }) => ({ get pressed() {
            return t3.ariaAttributes?.pressed;
          }, set pressed(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, pressed: l(r3) ? void 0 : String(r3) } });
          } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), to = ge(({ setProps: e3, props: t3 }) => ({ get haspopup() {
            return t3.ariaAttributes?.haspopup;
          }, set haspopup(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, haspopup: l(r3) ? void 0 : String(r3) } });
          } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), ro = ge(({ setProps: e3, props: t3 }) => ({ get required() {
            return t3.ariaAttributes?.required;
          }, set required(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, required: l(r3) ? void 0 : String(r3) } });
          } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), oo = ({ setProps: e3, props: t3 }) => ({ screenReader: { get prefix() {
            return t3.screenReader?.prefix;
          }, set prefix(r3) {
            null === r3 || i(r3) ? e3({ screenReader: { ...t3.screenReader, prefix: r3 } }) : o2(Rr("prefix"));
          }, get suffix() {
            return t3.screenReader?.suffix;
          }, set suffix(r3) {
            null === r3 || i(r3) ? e3({ screenReader: { ...t3.screenReader, suffix: r3 } }) : o2(Rr("suffix"));
          }, get hasHint() {
            return t3.screenReader?.hasHint;
          }, set hasHint(r3) {
            e3({ screenReader: { ...t3.screenReader, hasHint: l(r3) ? void 0 : r3 } });
          } } }), no = (ge(oo, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), ge(({ setProps: e3, props: t3 }) => ({ get role() {
            return t3.role;
          }, set role(t4) {
            e3({ role: l(t4) ? void 0 : t4 });
          } }), { properties: { role: { type: ["string"] } } })), ao = ge(({ setProps: e3, props: t3 }) => ({ get tabIndex() {
            return t3.tabIndex;
          }, set tabIndex(t4) {
            e3({ tabIndex: l(t4) ? void 0 : t4 });
          } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), io = { enableAriaLabel: Lr, enableAriaDescribedBy: qr, enableAriaLabelledBy: Hr, enableAriaAtomic: Wr, enableAriaBusy: _r, enableAriaCurrent: Gr, enableAriaExpanded: Kr, enableAriaLive: Yr, enableAriaOwns: Ur, enableAriaControls: Xr, enableAriaRoleDescription: zr, enableAriaRelevant: Jr, enableAriaErrorMessage: Zr, enableAriaHidden: Qr, enableAriaPressed: eo, enableAriaHaspopup: to, enableAriaRequired: ro }, so = { enableScreenReader: oo, enableRole: no, enableTabIndex: ao }, lo = ge(({ setProps: e3, props: t3 }) => ({ get label() {
            return t3.label || "";
          }, set label(t4) {
            e3({ label: t4 || "" });
          } }), { properties: { label: { type: ["string", "nil"], warnIfNil: true } } }), po = ge(({ setProps: e3, props: t3, platformUtils: { linkUtils: r3 } }) => ({ set link(n2) {
            ((e4, t4, r4, n3, a2) => {
              if (l(e4) || "" === e4) n3({ link: void 0 });
              else try {
                n3({ link: r4.getLinkProps(e4, t4, a2) });
              } catch (t5) {
                o2(`The link property that is passed to the link method cannot be set to the value "${e4}" as this is not a supported link type.`);
              }
            })(n2, t3.link?.target, r3, e3, t3.link?.rel);
          }, get link() {
            return ((e4, t4) => e4.link ? t4.getLink(e4.link) : "")(t3, r3);
          }, set target(r4) {
            e3({ link: { ...t3.link, target: r4 } });
          }, get target() {
            return t3.link?.target ?? "_blank";
          }, set preventLinkNavigation(t4) {
            e3({ preventLinkNavigation: t4 });
          }, get preventLinkNavigation() {
            return t3.preventLinkNavigation ?? false;
          }, set rel(r4) {
            e3({ link: { ...t3.link, rel: "" !== r4 ? r4 : void 0 } });
          }, get rel() {
            return t3.link?.rel ?? "";
          } }), { properties: { link: { type: ["string", "nil"], warnIfNil: true }, target: { type: ["string", "nil"], warnIfNil: true }, preventLinkNavigation: { type: ["boolean"] }, rel: { type: ["string"] } } }, { target: [(e3) => "_blank" === e3 || "_self" === e3 || (o2(X({ target: e3 })), !!l(e3))], rel: [(e3) => {
            const t3 = Object.values({ noreferrer: "noreferrer", noopener: "noopener", nofollow: "nofollow", sponsored: "sponsored" }), r3 = e3.split(" ");
            for (let n2 = 0; n2 < r3.length; n2 += 1) {
              const a2 = r3[n2];
              if (!t3.includes(a2) || n2 !== r3.lastIndexOf(a2)) return o2(z({ rel: e3, validKeywords: t3 })), false;
            }
            return true;
          }] });
          var uo = r2(420);
          const co = ge((e3) => {
            const { props: t3, metaData: r3 } = e3;
            return { get type() {
              return "$w.Button";
            }, toJSON() {
              return { ...Qt(r3), type: "$w.Button", label: t3.label || "" };
            } };
          }, { properties: { onClick: { type: ["function"], args: [{ type: ["function"] }] } } }), mo = ["hover", "disabled"], fo = (yo = { BackgroundColor: { supportOpacity: true, supportedStates: mo }, BorderColor: { supportOpacity: true, supportedStates: mo }, BorderWidth: true, BorderRadius: true, TextColor: { supportedStates: mo } }, ge((bo = Tr(...Object.keys(yo).filter((e3) => yo[e3]).map((e3) => {
            const t3 = "boolean" != typeof yo[e3] ? yo[e3] : Pr[e3];
            return jr[e3]({ prefix: ho?.cssVarPrefix, withoutDefaultValue: t3.withoutDefaultValue, supportOpacity: t3.supportOpacity, supportedStates: t3.supportedStates });
          })), (e3) => {
            const t3 = bo(e3);
            return t3.removeProperty = (e4) => {
              const [r3, n2] = e4.includes(".") ? e4.split(".").reverse() : [e4, void 0];
              if (!n2 && !(r3 in t3) || n2 && !(r3 in (t3[n2] ?? {}))) {
                const r4 = Object.keys(t3).filter((e5) => "removeProperty" !== e5);
                return void o2(ie({ functionName: "removeProperty", propertyName: "propertyName", value: e4, enum: r4, index: void 0 }));
              }
              const a2 = n2 ? t3[n2] : t3;
              a2[Sr]?.(r3);
            }, { get style() {
              return t3;
            } };
          }), { properties: { style: { type: ["object"] } } }));
          var bo, yo, ho;
          const go = (({ useHiddenCollapsed: e3 = true, hasPortal: t3 = false } = {}) => Tt([jt, er, Kt, Yt, e3 ? _t(t3) : tr, Zt]))(), vo = (({ enableAriaLabel: e3 = true, enableAriaDescribedBy: t3 = true, enableAriaLabelledBy: r3 = true, enableAriaAtomic: o3 = false, enableAriaBusy: n2 = false, enableAriaHidden: a2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: p2 = false, enableAriaLive: u2 = false, enableAriaOwns: d2 = false, enableAriaControls: c2 = false, enableAriaRoleDescription: m2 = false, enableAriaRelevant: f2 = false, enableRole: b2 = false, enableTabIndex: y2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: g2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
            const x2 = [], $2 = { enableAriaLabel: e3, enableAriaDescribedBy: t3, enableAriaLabelledBy: r3, enableAriaAtomic: o3, enableAriaBusy: n2, enableAriaCurrent: l2, enableAriaExpanded: p2, enableAriaLive: u2, enableAriaOwns: d2, enableAriaControls: c2, enableAriaRoleDescription: m2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: a2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, w2 = { enableScreenReader: g2, enableRole: b2, enableTabIndex: y2 };
            if (Object.values($2).some((e4) => e4)) {
              const e4 = ((e5) => {
                const t4 = [];
                return Object.entries(e5).forEach(([e6, r4]) => r4 && io[e6] && t4.push(io[e6])), (e6) => {
                  const r4 = Tt(t4, { modifyAriaSourceKeys: true })(e6);
                  return r4.ariaAttributes = Tt(t4)(e6), r4;
                };
              })($2);
              x2.push(e4);
            }
            Object.entries(w2).forEach(([e4, t4]) => t4 && so[e4] && x2.push(so[e4]));
            return { accessibility: Tt(x2)(N2) };
          })({ enableAriaLabel: true, enableAriaLabelledBy: true, enableAriaDescribedBy: true, enableAriaControls: true, enableAriaExpanded: true, enableAriaPressed: true, enableAriaOwns: true, enableAriaLive: true, enableAriaAtomic: true, enableAriaRelevant: true, enableAriaHaspopup: true, enableTabIndex: true, enableScreenReader: true }), No = Tt([go, lo, ({ setProps: e3, props: t3 }) => ({ get enabled() {
            return void 0 === t3.isDisabled || !t3.isDisabled;
          }, disable: () => (e3({ isDisabled: true }), Promise.resolve()), enable: () => (e3({ isDisabled: false }), Promise.resolve()) }), po, fo, (e3) => {
            const t3 = /* @__PURE__ */ ((e4) => ({ onClick: (t4) => St("onClick", e4, t4), onDblClick: (t4) => St("onDblClick", e4, t4) }))(e3), { setProps: r3, props: o3 } = e3;
            return { ...t3, onClick: (e4) => {
              t3.onClick(e4), o3.hasPlatformClickHandler || r3({ hasPlatformClickHandler: true });
            } };
          }, (e3) => ({ focus: () => e3.compRef.focus(), blur: () => e3.compRef.blur(), onFocus: (t3) => It("onFocus", e3, t3), onBlur: (t3) => It("onBlur", e3, t3) }), vo, co]);
          (0, uo.q)(No);
        }, 420: function(e2, t2, r2) {
          function o2(e3) {
            return { factory: e3 };
          }
          r2.d(t2, { q: function() {
            return o2;
          } });
        } }, t = {};
        function r(o2) {
          var n = t[o2];
          if (void 0 !== n) return n.exports;
          var a = t[o2] = { exports: {} };
          return e[o2](a, a.exports, r), a.exports;
        }
        r.d = function(e2, t2) {
          for (var o2 in t2) r.o(t2, o2) && !r.o(e2, o2) && Object.defineProperty(e2, o2, { enumerable: true, get: t2[o2] });
        }, r.o = function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r.r = function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        };
        var o = {};
        return function() {
          r.r(o), r.d(o, { sdk: function() {
            return t2.sdk;
          } });
          var e2 = r(420), t2 = r(6683);
          o.default = (0, e2.q)(t2.sdk);
        }(), o;
      }();
    });
  })(ImageButton_bundle_min);
  var ImageButton_bundle_minExports = ImageButton_bundle_min.exports;
  const ImageButton = /* @__PURE__ */ getDefaultExportFromCjs(ImageButton_bundle_minExports);
  var ImageX_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var i2 in n2) e.o(n2, i2) && !e.o(t2, i2) && Object.defineProperty(t2, i2, { enumerable: true, get: n2[i2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return hn;
        }, sdk: function() {
          return fn;
        } });
        const n = { IMAGE: "image", DOCUMENT: "document", VIDEO: "video", AUDIO: "audio", VECTOR: "vector" }, i = { empty_media_id: "empty_media_id", empty_poster_id: "empty_poster_id", bad_media_id: "bad_media_id", unknown_media_type: "unknown_media_type", missing_width_height: "missing_width_height", non_string_media_id: "non_string_media_id" }, o = { vector: (e2, t2) => `wix:vector://v1/${e2}/${t2}`, image: (e2, t2, n2, i2, o2) => `wix:image://v1/${e2}/${t2}#originWidth=${n2}&originHeight=${i2}${o2 ? `&watermark=${o2}` : ""}`, document: (e2, t2) => `wix:document://v1/${e2}/${t2}`, video: (e2, t2, n2, i2 = 0, o2 = 0) => `wix:video://v1/${e2}/${n2}#posterUri=${t2}&posterWidth=${i2}&posterHeight=${o2}`, audio: (e2, t2, n2) => `wix:audio://v1/${e2}/${t2}#duration=${n2}` }, r = { vector: /^wix:vector:\/\/v1\/([^\/]+)\/([^\/]*)$/, image: /^wix:image:\/\/v1\/([^\/]+)\/([^\/]*)#originWidth=([0-9]+)&originHeight=([0-9]+)(?:&watermark=([^\/]+))?$/, document: /^wix:document:\/\/v1\/([^\/]+)\/([^\/]+)$/, video: /^wix:video:\/\/v1\/([^\/]+)\/([^\/]+)#posterUri=([^\/]+)&posterWidth=([0-9]+)&posterHeight=([0-9]+)$/, audio: /^wix:audio:\/\/v1\/([^\/]+)\/([^\/]+)#duration=([0-9]+)$/, deprecated_video: /^wix:video:\/\/v1\/([^\/]+)\/([^\/]+)\/#posterUri=([^\/]+)&posterWidth=([0-9]+)&posterHeight=([0-9]+)$/, deprecated_image: /^image:\/\/v1\/([^\/]+)\/([0-9]+)_([0-9]+)\/([^\/]*)$/, deprecated_type: /^(image):/, type: /^wix:(\w+):/, splitExtension: /\.(?=[^.]+$)/, emptyTitle: /^_\./ };
        function a(e2, t2 = "", i2) {
          const [o2, a2] = i2.split(r.splitExtension), [m2, s2] = t2.split(r.splitExtension);
          let d2;
          switch (e2) {
            case n.IMAGE:
              d2 = `${m2 || "_"}.${s2 || a2}`;
              break;
            case n.DOCUMENT:
              d2 = `${m2 || o2}.${s2 || a2}`;
              break;
            case n.VIDEO:
              d2 = `${m2 || "_"}${s2 ? `.${s2}` : ""}`;
              break;
            case n.AUDIO:
            case n.VECTOR:
              d2 = `${m2 || o2}.${s2 || a2}`;
              break;
            default:
              d2 = "";
          }
          return encodeURI(d2);
        }
        function m(e2) {
          return r.emptyTitle.test(e2) ? "" : decodeURI(e2);
        }
        function s({ mediaId: e2, type: t2, title: r2, width: m2, height: s2, posterId: d2, watermark: u2, duration: c2 }) {
          switch (t2) {
            case n.IMAGE:
              return function({ mediaId: e3, title: t3, width: r3, height: m3, watermark: s3 }) {
                if (!e3) return { error: i.empty_media_id };
                if ("number" != typeof m3 || "number" != typeof r3) return { error: i.missing_width_height };
                const d3 = a(n.IMAGE, t3, e3);
                return { item: o.image(e3, d3, r3, m3, s3) };
              }({ mediaId: e2, title: r2, width: m2, height: s2, watermark: u2 });
            case n.DOCUMENT:
              return function({ mediaId: e3, title: t3 }) {
                if (!e3) return { error: i.empty_media_id };
                const r3 = a(n.DOCUMENT, t3, e3);
                return { item: o.document(e3, r3) };
              }({ mediaId: e2, title: r2 });
            case n.VECTOR:
              return function({ mediaId: e3, title: t3 }) {
                if (!e3) return { error: i.empty_media_id };
                const r3 = a(n.VECTOR, t3, e3);
                return { item: o.vector(e3, r3) };
              }({ mediaId: e2, title: r2 });
            case n.VIDEO:
              return function({ mediaId: e3, title: t3, width: r3, height: m3, posterId: s3 }) {
                if (!e3) return { error: i.empty_media_id };
                if (!s3) return { error: i.empty_poster_id };
                if (isNaN(m3 || NaN) || isNaN(r3 || NaN)) return { error: i.missing_width_height };
                const d3 = e3.replace("video/", ""), u3 = a(n.VIDEO, t3, d3);
                return { item: o.video(d3, s3, u3, r3, m3) };
              }({ mediaId: e2, title: r2, width: m2, height: s2, posterId: d2 });
            case n.AUDIO:
              return function({ mediaId: e3, title: t3, duration: r3 }) {
                if (!e3) return { error: i.empty_media_id };
                const m3 = a(n.AUDIO, t3, e3);
                return { item: o.audio(e3, m3, r3 || 0) };
              }({ mediaId: e2, title: r2, duration: c2 });
            default:
              return { error: i.unknown_media_type };
          }
        }
        function d(e2 = "") {
          if ("string" != typeof e2) return { error: i.non_string_media_id };
          const [, t2] = e2.match(r.type) || [];
          switch (t2) {
            case n.IMAGE:
              return function(e3) {
                const [, t4, o2, a2, s2, d2] = e3.match(r.image) || [], u2 = m(o2);
                if (t4) return { type: n.IMAGE, mediaId: t4, title: u2, width: parseInt(a2, 10), height: parseInt(s2, 10), watermark: d2 };
                return { error: i.bad_media_id };
              }(e2);
            case n.DOCUMENT:
              return function(e3) {
                const [, t4, o2] = e3.match(r.document) || [], a2 = m(o2);
                return t4 ? { type: n.DOCUMENT, mediaId: t4, title: a2 } : { error: i.bad_media_id };
              }(e2);
            case n.VECTOR:
              return function(e3) {
                const [, t4, o2] = e3.match(r.vector) || [], a2 = m(o2);
                return t4 ? { type: n.VECTOR, mediaId: t4, title: a2 } : { error: i.bad_media_id };
              }(e2);
            case n.VIDEO:
              return function(e3) {
                const t4 = r.deprecated_video.test(e3) ? r.deprecated_video : r.video, [, o2, a2, s2, d2, u2] = e3.match(t4) || [], c2 = m(a2);
                return o2 && s2 ? { type: n.VIDEO, mediaId: o2, posterId: s2, width: parseInt(d2, 10), height: parseInt(u2, 10), title: c2 } : { error: i.bad_media_id };
              }(e2);
            case n.AUDIO:
              return function(e3) {
                const [, t4, o2, a2] = e3.match(r.audio) || [], s2 = m(o2);
                return t4 ? { type: n.AUDIO, mediaId: t4, title: s2, duration: parseInt(a2, 10) } : { error: i.bad_media_id };
              }(e2);
            default:
              const [, t3] = e2.match(r.deprecated_type) || [];
              return t3 ? function(e3) {
                const [, t4, o2, a2, s2] = e3.match(r.deprecated_image) || [], d2 = m(s2);
                return t4 ? { type: n.IMAGE, mediaId: t4, title: d2, width: parseInt(o2, 10), height: parseInt(a2, 10) } : { error: i.bad_media_id };
              }(e2) : { error: i.unknown_media_type };
          }
        }
        const u = { externalUrl: /(^https?)|(^data)|(^blob)|(^\/\/)/, inlineSvg: /<svg[\s\S]*>[\s\S]*<\/svg>/im }, c = { [n.VECTOR]: [u.externalUrl, u.inlineSvg], [n.IMAGE]: [u.externalUrl], [n.DOCUMENT]: [], [n.VIDEO]: [], [n.AUDIO]: [u.externalUrl] };
        function l(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function p(e2) {
          return Array.isArray(e2);
        }
        function f(e2) {
          return null == e2;
        }
        function h(e2, t2) {
          return t2.includes(e2);
        }
        function y(e2, t2) {
          return e2 > t2;
        }
        function g(e2, t2) {
          return e2 < t2;
        }
        const v = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, N = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, I = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, $ = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: i2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${i2}"')`, w = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, b = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: i2, wrongValue: o2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${i2}: ${o2}. Read more about the effectOptions object: "${r2}"')`, x = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: i2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${i2}"`, k = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: i2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${i2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${o2}"'`, O = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, E = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, T = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, C = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, _ = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, S = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, D = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, V = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, L = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, j = ({ propertyName: e2, functionName: t2, value: n2, minimum: i2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${i2} and ${o2}.`, A = ({ propertyName: e2, functionName: t2, value: n2, minimum: i2, maximum: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${i2} and ${o2}.`, P = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: i2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${i2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: i2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${i2}.`, U = ({ propertyName: e2, functionName: t2, value: n2, minimum: i2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${i2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, minimum: i2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${i2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, maximum: i2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${i2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, maximum: i2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${i2}.`, W = ({ propertyName: e2, functionName: t2, value: n2, minimum: i2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${i2} and ${o2}.`, G = ({ propertyName: e2, functionName: t2, value: n2, minimum: i2, maximum: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${i2} and ${o2}.`, X = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: i2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${i2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: i2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${i2}.`, B = ({ propertyName: e2, functionName: t2, value: n2, minimum: i2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${i2}.`, K = ({ propertyName: e2, functionName: t2, value: n2, minimum: i2, index: o2 }) => `The value of ${e2} parameter of item at ${o2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${i2}.`, Y = ({ propertyName: e2, functionName: t2, value: n2, maximum: i2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${i2}.`, z = ({ propertyName: e2, functionName: t2, value: n2, maximum: i2, index: o2 }) => `The value of ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${i2}.`, J = ({ propertyName: e2, functionName: t2, value: n2, expectedType: i2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${i2}.`, Z = ({ propertyName: e2, functionName: t2, value: n2, expectedType: i2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${i2}.`, Q = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, ee = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, te = ({ propertyName: e2, functionName: t2, value: n2, index: i2 }) => `The "${e2}" property of the item at index ${i2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, ne = ({ target: e2 }) => `The target parameter that is passed to the target method cannot be set to the value ${e2}. It must be of type from (_blank,_self).`, ie = ({ rel: e2, validKeywords: t2 }) => `The rel parameter that is passed to the rel method cannot be set to the value ${e2}. It must be a space-separated list of unique keywords (${t2.join()}).`, oe = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, re = ({ compName: e2, functionName: t2, propertyName: n2, index: i2 }) => l(i2) ? E({ propertyName: n2, functionName: t2, index: i2 }) : e2 ? O({ compName: e2, functionName: t2, propertyName: n2 }) : I({ functionName: t2, propertyName: n2 }), ae = ({ functionName: e2, propertyName: t2, index: n2 }) => l(n2) ? _({ functionName: e2, propertyName: t2, index: n2 }) : T({ functionName: e2, propertyName: t2 }), me = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? l(n2) ? L({ functionName: e2, propertyNames: t2, index: n2 }) : D({ functionName: e2, propertyNames: t2 }) : l(n2) ? V({ functionName: e2, propertyName: t2[0], index: n2 }) : S({ functionName: e2, propertyName: t2[0] }), se = ({ functionName: e2, propertyName: t2, value: n2, maximum: i2, minimum: o2, index: r2 }) => o2 && i2 ? o2 === i2 ? l(r2) ? M({ functionName: e2, propertyName: t2, value: n2, expectedValue: o2, index: r2 }) : P({ functionName: e2, propertyName: t2, value: n2, expectedValue: o2 }) : l(r2) ? A({ functionName: e2, propertyName: t2, value: n2, maximum: i2, minimum: o2, index: r2 }) : j({ functionName: e2, propertyName: t2, value: n2, maximum: i2, minimum: o2 }) : !o2 && i2 ? l(r2) ? H({ functionName: e2, propertyName: t2, value: n2, maximum: i2, index: r2 }) : F({ functionName: e2, propertyName: t2, value: n2, maximum: i2 }) : l(r2) ? R({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: r2 }) : U({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), de = ({ functionName: e2, propertyName: t2, value: n2, minimum: i2, maximum: o2, index: r2 }) => i2 && o2 ? i2 === o2 ? l(r2) ? q({ functionName: e2, propertyName: t2, expectedValue: i2, value: n2, index: r2 }) : X({ functionName: e2, propertyName: t2, expectedValue: i2, value: n2 }) : l(r2) ? G({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: i2, index: r2 }) : W({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: i2 }) : !i2 && o2 ? l(r2) ? z({ functionName: e2, propertyName: t2, maximum: o2, value: n2, index: r2 }) : Y({ functionName: e2, propertyName: t2, maximum: o2, value: n2 }) : l(r2) ? K({ functionName: e2, propertyName: t2, value: n2, minimum: i2, index: r2 }) : B({ functionName: e2, propertyName: t2, value: n2, minimum: i2 }), ue = ({ functionName: e2, propertyName: t2, types: n2, value: i2, index: o2 }) => {
          const r2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return l(o2) ? Z({ functionName: e2, index: o2, propertyName: t2, value: i2, expectedType: r2 }) : J({ functionName: e2, propertyName: t2, value: i2, expectedType: r2 });
        }, ce = ({ functionName: e2, propertyName: t2, value: n2, enum: i2, index: o2 }) => {
          const r2 = `from (${i2.join(",")})`;
          return l(o2) ? Z({ functionName: e2, propertyName: t2, value: n2, expectedType: r2, index: o2 }) : J({ functionName: e2, propertyName: t2, value: n2, expectedType: r2 });
        }, le = ({ functionName: e2, propertyName: t2, value: n2, index: i2 }) => l(i2) ? te({ functionName: e2, propertyName: t2, value: n2, index: i2 }) : Q({ functionName: e2, propertyName: t2, value: n2 }), pe = Object.prototype.hasOwnProperty, fe = Object.getOwnPropertyNames, he = () => {
        };
        function ye(e2, t2, n2, i2, o2, r2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !p(e3);
          }(e2)) return Ie.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ye(e2, t3, n2, he, o2, r2)).filter((e3) => e3 === Ie.Valid).length ? Ie.Valid : Ie.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!pe.call(e2, t2.required[n3])) return i2(ae({ functionName: r2.functionName, index: r2.index, propertyName: t2.required[n3] }), { ...r2, value: e2 }), Ie.Invalid;
          }
          const a2 = fe(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = fe(e2).filter((e3) => !a2.includes(e3));
            if (t3.length) {
              return i2(me({ functionName: r2.functionName, index: r2.index, propertyNames: t3 })), Ie.Invalid;
            }
          }
          for (let i3 = 0; i3 < a2.length; i3++) {
            const o3 = a2[i3];
            if (pe.call(e2, o3)) {
              const i4 = t2.properties[o3], a3 = e2[o3];
              if (!n2(a3, i4, { functionName: r2.functionName, index: r2.index, propertyName: o3 })) return Ie.Invalid;
            }
          }
          return Ie.Valid;
        }
        function ge(e2) {
          return Array.isArray(e2);
        }
        function ve(e2, t2, n2, i2) {
          const { minimum: o2, maximum: r2, enum: a2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? a2 && !h(e2, a2) ? (n2(ce({ value: e2, enum: a2, ...i2 }), { ...i2, value: e2 }), Ie.Invalid) : l(o2) && g(e2, o2) || l(r2) && y(e2, r2) ? (n2(de({ value: e2, minimum: o2, maximum: r2, ...i2 }), { ...i2, value: e2 }), Ie.Invalid) : Ie.Valid : Ie.InvalidType;
        }
        function Ne(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? Ie.Valid : Ie.InvalidType;
        }
        const Ie = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function $e({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: i2 = false } = {}) {
          function o2(i3, o3, a2) {
            o3.warnIfNil && f(i3) && t2(re({ ...a2, compName: n2 }), { ...a2, value: i3 });
            let m2 = 0;
            for (; m2 < o3.type.length; m2++) {
              const e3 = (0, r2[o3.type[m2]])(i3, o3, a2);
              if (e3 !== Ie.InvalidType) return e3 === Ie.Valid;
            }
            return m2 === o3.type.length && e2(ue({ value: i3, types: o3.type, ...a2 }), { ...a2, value: i3 }), false;
          }
          const r2 = { object: (n3, i3, r3) => ye(n3, i3, o2, e2, t2, r3), array: (e3, t3, n3) => function(e4, t4, n4, i3, o3, r3 = false) {
            if (!p(e4)) return Ie.InvalidType;
            let a2 = Ie.Valid;
            if (t4.items) {
              const i4 = ge(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let m2 = 0; m2 < i4; m2++) {
                const i5 = e4[m2];
                let s2, d2;
                ge(t4.items) ? (s2 = t4.items[m2], d2 = t4.items[m2].name) : (s2 = t4.items, d2 = t4.name), n4(i5, s2, { functionName: o3.functionName, propertyName: d2 || o3.propertyName, index: r3 ? void 0 : m2 }) || (a2 = Ie.Invalid);
              }
            }
            return a2;
          }(e3, t3, o2, 0, n3, i2), number: (t3, n3, i3) => function(e3, t4, n4, i4) {
            const { minimum: o3, maximum: r3, enum: a2 } = t4;
            return l(e3) ? a2 && !h(e3, a2) ? (n4(ce({ value: e3, enum: a2, ...i4 }), { ...i4, value: e3 }), Ie.Invalid) : l(o3) && g(e3, o3) || l(r3) && y(e3, r3) ? (n4(de({ value: e3, minimum: o3, maximum: r3, ...i4 }), { ...i4, value: e3 }), Ie.Invalid) : Ie.Valid : Ie.InvalidType;
          }(t3, n3, e2, i3), integer: (t3, n3, i3) => ve(t3, n3, e2, i3), string: (t3, n3, i3) => function(e3, t4, n4, i4) {
            const { minLength: o3, maxLength: r3, enum: a2, pattern: m2 } = t4;
            return /* @__PURE__ */ function(e4) {
              return "string" == typeof e4;
            }(e3) ? a2 && !h(e3, a2) ? (n4(ce({ value: e3, enum: a2, ...i4 }), { ...i4, value: e3 }), Ie.Invalid) : o3 && g(e3.length, o3) || r3 && y(e3.length, r3) ? (n4(se({ value: e3, minimum: o3, maximum: r3, ...i4 }), { ...i4, value: e3 }), Ie.Invalid) : m2 && !new RegExp(m2).test(e3) ? (n4(le({ value: e3, ...i4 }), { ...i4, value: e3 }), Ie.Invalid) : Ie.Valid : Ie.InvalidType;
          }(t3, n3, e2, i3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? Ie.Valid : Ie.InvalidType;
          }(e3), date: (e3) => Ne(e3), nil: (e3) => function(e4) {
            return f(e4) ? Ie.Valid : Ie.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? Ie.Valid : Ie.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return o2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function we(e2, { suppressIndexErrors: t2 = false } = {}) {
          return $e({ reportError: v, reportWarning: N }, e2, { suppressIndexErrors: t2 });
        }
        function be(e2, t2, n2 = {}) {
          return (i2) => {
            const o2 = e2(i2), r2 = we(i2.metaData.role), a2 = we(i2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(o2).reduce((e3, m2) => {
              const s2 = Object.getOwnPropertyDescriptor(o2, m2), d2 = { enumerable: true, configurable: true };
              return s2.value ? "function" == typeof s2.value ? d2.value = (...e4) => {
                const o3 = t2.properties[m2] && t2.properties[m2].args, r3 = n2[m2];
                let d3 = true;
                return o3 && (d3 = a2(e4, { type: ["array"], items: o3 }, m2)), d3 && r3 && (d3 = r3.every((t3) => t3(e4, i2))), d3 ? s2.value(...e4) : void 0;
              } : d2.value = s2.value : (s2.get && (d2.get = () => o2[m2]), s2.set && (d2.set = (e4) => {
                const a3 = n2[m2];
                let s3 = true;
                t2.properties[m2] && (s3 = r2(e4, t2.properties[m2], m2)), s3 && a3 && (s3 = a3.every((t3) => t3(e4, i2))), s3 && (o2[m2] = e4);
              })), Object.defineProperty(e3, m2, d2), e3;
            }, {});
          };
        }
        const xe = "click", ke = "dblClick", Oe = "mouseenter", Ee = "mouseleave", Te = "change", Ce = "blur", _e = "focus", Se = "imageChanged", De = "imageExpanded", Ve = "onInput", Le = "itemClicked", je = "cellSelect", Ae = "cellEdit", Pe = "rowSelect", Me = "fetchData", Ue = "dataChange", Re = "onTimeout", Fe = "onVerified", He = "onError", We = "onPlay", Ge = "onPause", Xe = "onProgress", qe = "onEnded", Be = "autoplayOff", Ke = "autoplayOn", Ye = "playEnded", ze = "playProgress", Je = "keyPress", Ze = "keyUp", Qe = "keyDown", et = "screenIn", tt = "viewportEnter", nt = "viewportLeave", it = "scroll", ot = "validate", rt = "setCustomValidity", at = "syncValidationData", mt = "updateValidityIndication", st = "message", dt = "uploadComplete", ut = "itemReady", ct = "itemRemoved", lt = "tagClick", pt = "quickActionBarItemClicked", ft = "markerClicked", ht = "mapClicked", yt = "iconMouseIn", gt = "onStateChange", vt = "itemMouseIn", Nt = "itemMouseOut", It = "itemMouseClick", $t = "itemMouseDblClick", wt = "onColorChange", bt = "onFontChange", xt = "onOpacityChange", kt = { [xe]: "onClick", [ke]: "onDblClick", [Oe]: "onMouseIn", [Ee]: "onMouseOut", [Te]: "onChange", [Ve]: "onInput", [Ce]: "onBlur", [_e]: "onFocus", [Se]: "onCurrentItemChanged", [De]: void 0, [Le]: "onItemClicked", [je]: "onCellSelect", [Ae]: void 0, [Pe]: "onRowSelect", [Me]: void 0, [Ue]: "onDataChange", [Re]: "onTimeout", [Fe]: "onVerified", [He]: "onError", [We]: "onPlay", [Ge]: "onPause", [Xe]: "onProgress", [qe]: "onEnded", [Be]: "onPause", [Ke]: "onPlay", [Ye]: void 0, [ze]: void 0, [Je]: "onKeyPress", [Ze]: "onKeyUp", [Qe]: "onKeyDown", [et]: void 0, [tt]: "onViewportEnter", [nt]: "onViewportLeave", [it]: void 0, [ot]: void 0, [rt]: void 0, [at]: void 0, [mt]: void 0, [st]: "onMessage", [dt]: void 0, [ut]: "onItemReady", [ct]: "onItemRemoved", [lt]: void 0, [pt]: "onItemClicked", [ft]: "onMarkerClicked", [ht]: "onMapClicked", [yt]: void 0, [gt]: "onStateChange", [vt]: "onItemMouseIn", [Nt]: "onItemMouseOut", [It]: "onItemClick", [$t]: "onItemDblClick", [wt]: "onColorChange", [bt]: "onFontChange", [xt]: "onOpacityChange" }, Ot = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Et = (e2) => {
          const { target: t2, type: n2, context: i2 } = e2;
          return { target: t2, type: Ot[n2] ?? n2, context: i2 };
        }, Tt = (e2) => {
          const { clientX: t2, clientY: n2, pageX: i2, pageY: o2, screenX: r2, screenY: a2, nativeEvent: m2 } = e2, { offsetX: s2, offsetY: d2 } = m2;
          return { clientX: t2, clientY: n2, pageX: i2, pageY: o2, screenX: r2, screenY: a2, offsetX: s2, offsetY: d2 };
        }, Ct = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, _t = (e2) => e2.replace(/^on/i, ""), St = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Dt = (e2, t2, n2, i2) => {
          const { create$w: o2, createEvent: r2, registerEvent: a2, getSdkInstance: m2, metaData: s2 } = t2;
          if (!((e3, t3, n3) => we(n3)(e3, { type: ["function"] }, t3))(n2, Ct[e2] ?? e2, s2.role)) return m2();
          const [d2, u2] = St(t2), c2 = a2(e2, (e3, t3) => {
            const a3 = r2({ type: e3.type, compId: e3.compId }), m3 = o2({ context: a3.context }), s3 = i2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...Et(a3), ...s3 }, m3);
          }), l2 = { eventName: e2, compId: s2.compId, cb: n2, unregister: c2 };
          return u2({ listeners: [...d2.listeners, l2] }), m2();
        }, Vt = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(Ct).find(([t4, n3]) => _t(n3.toLowerCase()) === _t(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(kt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, Lt = (e2, t2, n2, i2) => Dt(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...Tt(e3), ...t3 && i2?.(t3) }));
        function jt(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const i2 = {};
            for (let r2 = 0; r2 < e2.length; r2++) {
              const a2 = e2[r2](t3), m2 = Object.keys(a2);
              for (let e3 = 0; e3 < m2.length; e3++) {
                const t4 = m2[e3], r3 = Object.getOwnPropertyDescriptor(a2, t4);
                Object.defineProperty(i2, n2 && r3.get ? "aria" + (o2 = t4).charAt(0).toUpperCase() + o2.slice(1) : t4, r3);
              }
            }
            var o2;
            return i2;
          };
        }
        const At = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: i2, compType: o2, isGlobal: r2, getParent: a2, role: m2, wixCodeId: s2 } = t2, d2 = `$w.${o2}`;
          return { get id() {
            return s2 || m2;
          }, get role() {
            return m2;
          }, get connectionConfig() {
            return i2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return a2();
          }, get global() {
            return r2();
          }, get type() {
            return d2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: m2, type: d2, global: r2() };
          } };
        }, Pt = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: i2, create$w: o2, createEvent: r2 } = t2, a2 = (e3, t3) => we(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => a2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = r2({ type: "viewportEnter" }), t3 = o2();
            n3(e3, t3);
          }), Dt("onViewportEnter", t2, n3)) : i2(), onViewportLeave: (n3) => a2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = r2({ type: "viewportLeave" }), t3 = o2();
            n3(e3, t3);
          }), Dt("onViewportLeave", t2, n3)) : i2() };
        }, Mt = { duration: 1200, delay: 0 }, Ut = { arc: { ...Mt, direction: "left" }, bounce: { ...Mt, direction: "topLeft", intensity: "medium" }, puff: { ...Mt }, zoom: { ...Mt }, fade: { ...Mt }, flip: { ...Mt, direction: "right" }, float: { ...Mt, direction: "right" }, fly: { ...Mt, direction: "right" }, fold: { ...Mt, direction: "left" }, glide: { ...Mt, angle: 0, distance: 0 }, roll: { ...Mt, direction: "left" }, slide: { ...Mt, direction: "left" }, spin: { ...Mt, direction: "cw", cycles: 5 }, turn: { ...Mt, direction: "right" }, ArcIn: { ...Mt, direction: "right" }, ArcOut: { ...Mt, direction: "right" }, BounceIn: { ...Mt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Mt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Mt, direction: "right" }, CollapseOut: { ...Mt }, Conceal: { ...Mt, direction: "right" }, Reveal: { ...Mt, direction: "left" }, FadeIn: { ...Mt }, FadeOut: { ...Mt }, FlipIn: { ...Mt, direction: "left" }, FlipOut: { ...Mt, direction: "left" }, FloatIn: { ...Mt, direction: "right" }, FloatOut: { ...Mt, direction: "right" }, FlyIn: { ...Mt, direction: "right" }, FlyOut: { ...Mt, direction: "right" }, FoldIn: { ...Mt, direction: "left" }, FoldOut: { ...Mt, direction: "left" }, GlideIn: { ...Mt, angle: 0, distance: 150 }, GlideOut: { ...Mt, angle: 0, distance: 150 }, DropIn: { ...Mt }, PopOut: { ...Mt }, SlideIn: { ...Mt, direction: "left" }, SlideOut: { ...Mt, direction: "left" }, SpinIn: { ...Mt, direction: "cw", cycles: 2 }, SpinOut: { ...Mt, direction: "cw", cycles: 2 }, TurnIn: { ...Mt, direction: "right" }, TurnOut: { ...Mt, direction: "right" } }, Rt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Ft = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Ht = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Wt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Gt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Xt = { arc: { type: ["object"], properties: { duration: Ht, delay: Wt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Ht, delay: Wt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Ht, delay: Wt } }, zoom: { type: ["object"], properties: { duration: Ht, delay: Wt } }, fade: { type: ["object"], properties: { duration: Ht, delay: Wt } }, flip: { type: ["object"], properties: { duration: Ht, delay: Wt, direction: Gt } }, float: { type: ["object"], properties: { duration: Ht, delay: Wt, direction: Gt } }, fly: { type: ["object"], properties: { duration: Ht, delay: Wt, direction: Gt } }, fold: { type: ["object"], properties: { duration: Ht, delay: Wt, direction: Gt } }, glide: { type: ["object"], properties: { duration: Ht, delay: Wt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Ht, delay: Wt, direction: Gt } }, slide: { type: ["object"], properties: { duration: Ht, delay: Wt, direction: Gt } }, spin: { type: ["object"], properties: { duration: Ht, delay: Wt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Ht, delay: Wt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, qt = ({ propertyName: e2, compName: t2 }) => (n2, i2) => {
          if (!n2) return false;
          if (void 0 === i2) return true;
          const o2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (i3, o3) => {
            N(k({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${o3?.value}`, infoLink: Ft(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!$e({ reportError: o2, reportWarning: () => ({}) }, t2)(i2, { type: ["object"] }, e2)) return false;
          const r2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (i3, o3) => {
            N(b({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${o3?.propertyName}" cannot be set to the value "${o3?.value}"`, infoLink: Ft(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!$e({ reportError: r2, reportWarning: () => ({}) }, t2)(i2, Xt[n2], e2);
        }, Bt = (e2) => 0 === Object.keys(e2).length, Kt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: i2, metaData: o2, getSdkInstance: r2, runAnimation: a2, createSdkState: m2, styleUtils: s2, setProps: d2 }) => {
          const u2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: i3 }) => {
            const o3 = qt({ propertyName: i3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Bt(n3)) return N(w({ propertyName: i3, compName: e3, infoLink: Ft(i3) })), false;
            const r3 = "hide" === i3 ? "HIDE" : "SHOW", a3 = Rt[r3]?.deprecatedValues;
            return t3 && n3 && a3 && a3.find((e4) => e4 === t3) && !Bt(n3) ? (N(x({ compName: e3, effectName: t3, propertyName: i3, infoLink: Ft(i3) })), false) : !!a3.find((e4) => e4 === t3) || (t3 && !(t3 in Xt) ? (N($({ propertyName: i3, compName: e3, effectName: t3, infoLink: Ft(i3) })), false) : !!o3(t3, n3));
          })({ compName: o2.role }), [c2, l2] = m2({ hidden: o2.hiddenOnLoad, collapsed: o2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (o3, r3) => {
            if (d2({ hidden: true }), c2.collapsed || c2.hidden) l2({ hidden: true });
            else {
              if (u2({ effectName: o3, effectOptions: r3, propertyName: "hide" })) {
                const e3 = { animationDirection: Rt.HIDE.suffix, effectName: o3, effectOptions: { ...Ut?.[o3] || Mt, ...r3 } };
                await Promise.all([a2(e3), t2 ? i2.runAnimation(e3) : void 0]);
              } else n2(s2.getHiddenStyles()), t2 && i2.setStyles(s2.getHiddenStyles());
              l2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (o3, r3) => {
            if (d2({ hidden: false }), !c2.collapsed && c2.hidden) {
              if (u2({ effectName: o3, effectOptions: r3, propertyName: "show" })) {
                const e3 = { animationDirection: Rt.SHOW.suffix, effectName: o3, effectOptions: { ...Ut?.[o3] || Mt, ...r3 } };
                await Promise.all([a2(e3), t2 ? i2.runAnimation(e3) : void 0]);
              } else n2(s2.getShownStyles()), t2 && i2.setStyles(s2.getShownStyles());
              l2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else l2({ hidden: false });
          }, collapse: async () => {
            d2({ collapsed: true }), c2.collapsed || (n2(s2.getCollapsedStyles()), t2 && i2.setStyles(s2.getCollapsedStyles()), l2({ collapsed: true }), c2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (d2({ collapsed: false }), c2.collapsed) {
              const o3 = { ...s2.getExpandedStyles(), visibility: c2.hidden ? "hidden" : null };
              n2(o3), t2 && i2.setStyles(o3), l2({ collapsed: false }), c2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return c2.collapsed;
          }, get hidden() {
            return Boolean(c2.hidden);
          }, get isVisible() {
            if (!o2.isRendered()) return false;
            let e3 = r2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Yt = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, i2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return jt([Kt({ viewportState: n2, hasPortal: t3 }), Pt((e4, t4) => {
            i2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), zt = (e2, t2, n2) => {
          const i2 = t2.filter((t3) => !e2.includes(t3));
          i2.length && v(ee({ functionName: n2, wrongEffects: i2, allowedEffects: e2 }));
        }, Jt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            zt(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            zt(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            zt(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Zt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Qt = (e2, t2) => "string" != typeof e2 ? (en(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (nn(e2, t2), false), en = (e2, t2, n2, i2) => {
          v(J({ propertyName: e2, functionName: t2, value: n2, expectedType: i2 }));
        }, tn = (e2, t2) => {
          v(T({ propertyName: e2, functionName: t2 }));
        }, nn = (e2, t2) => {
          v(oe({ propertyName: e2, functionName: t2 }));
        }, on = (e2) => {
          const { setProps: t2, props: n2 } = e2;
          return { customClassList: { get value() {
            return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
          }, values() {
            return n2.customClassNames ? n2.customClassNames : [];
          }, add(...e3) {
            const i2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Qt(t3, "customClassList.add")) return;
                i2.add(t3);
              }
              t2({ customClassNames: Array.from(i2) });
            } else tn("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void tn("className", "customClassList.remove");
            const i2 = new Set(n2.customClassNames);
            for (const t3 of e3) {
              if (!Qt(t3, "customClassList.remove")) return;
              i2.delete(t3);
            }
            t2({ customClassNames: Array.from(i2) });
          }, contains(e3) {
            if (e3) return Qt(e3, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e3) : void 0;
            tn("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Qt(t3, "customClassList.replace") || !Qt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (v(C({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Qt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (tn("className", "customClassList.toggle"), false);
          } } };
        }, rn = ({ role: e2, compType: t2, isGlobal: n2, isRendered: i2 }) => ({ id: e2, type: `$w.${t2}`, global: n2(), rendered: i2() }), an = (e2) => ({ onMouseIn: (t2) => Lt("onMouseEnter", e2, t2), onMouseOut: (t2) => Lt("onMouseLeave", e2, t2), removeEventHandler: (t2, n2) => {
          const { getSdkInstance: i2 } = e2;
          return "string" != typeof t2 ? (v(J({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), i2()) : "function" != typeof n2 ? (v(J({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), i2()) : ((e3, t3, n3) => {
            const { metaData: i3, getSdkInstance: o2 } = t3, [r2, a2] = St(t3), m2 = r2.listeners.filter((t4) => Vt(t4.eventName, e3) && t4.cb === n3 && t4.compId === i3.compId);
            for (const e4 of m2) e4.unregister();
            return a2({ listeners: r2.listeners.filter((e4) => !m2.includes(e4)) }), o2();
          })(t2, e2, n2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return rn(e2.metaData);
        } }), mn = Pt(), sn = (jt([At, mn, an, Jt, on]), be(({ setProps: e2, props: t2, platformUtils: { linkUtils: n2 } }) => ({ set link(i2) {
          ((e3, t3, n3, i3, o2) => {
            if (f(e3) || "" === e3) i3({ link: void 0 });
            else try {
              i3({ link: n3.getLinkProps(e3, t3, o2) });
            } catch (t4) {
              v(`The link property that is passed to the link method cannot be set to the value "${e3}" as this is not a supported link type.`);
            }
          })(i2, t2.link?.target, n2, e2, t2.link?.rel);
        }, get link() {
          return ((e3, t3) => e3.link ? t3.getLink(e3.link) : "")(t2, n2);
        }, set target(n3) {
          e2({ link: { ...t2.link, target: n3 } });
        }, get target() {
          return t2.link?.target ?? "_blank";
        }, set preventLinkNavigation(t3) {
          e2({ preventLinkNavigation: t3 });
        }, get preventLinkNavigation() {
          return t2.preventLinkNavigation ?? false;
        }, set rel(n3) {
          e2({ link: { ...t2.link, rel: "" !== n3 ? n3 : void 0 } });
        }, get rel() {
          return t2.link?.rel ?? "";
        } }), { properties: { link: { type: ["string", "nil"], warnIfNil: true }, target: { type: ["string", "nil"], warnIfNil: true }, preventLinkNavigation: { type: ["boolean"] }, rel: { type: ["string"] } } }, { target: [(e2) => "_blank" === e2 || "_self" === e2 || (v(ne({ target: e2 })), !!f(e2))], rel: [(e2) => {
          const t2 = Object.values({ noreferrer: "noreferrer", noopener: "noopener", nofollow: "nofollow", sponsored: "sponsored" }), n2 = e2.split(" ");
          for (let i2 = 0; i2 < n2.length; i2 += 1) {
            const o2 = n2[i2];
            if (!t2.includes(o2) || i2 !== n2.lastIndexOf(o2)) return v(ie({ rel: e2, validKeywords: t2 })), false;
          }
          return true;
        }] }));
        const dn = { show: "link", disable: "none" }, un = { fixedWidth: "fitWidth", fit: "fit", fill: "fill" }, cn = Object.keys(un).reduce((e2, t2) => ({ ...e2, [un[t2]]: t2 }), {}), ln = be((e2) => {
          let { setProps: t2, props: o2, metaData: r2 } = e2;
          return { get src() {
            var e3, t3;
            const n2 = function({ mediaId: e4, type: t4, title: n3, width: i2, height: o3, posterId: r3, watermark: a2, duration: m2 }) {
              return c[t4]?.some((t5) => t5.test(e4)) ? { item: e4 } : s({ mediaId: e4, type: t4, title: n3, width: i2, height: o3, posterId: r3, watermark: a2, duration: m2 });
            }({ type: "image", mediaId: o2.imageInfo.imageData.uri, title: o2.imageInfo.imageData.name, width: o2.imageInfo.imageData.width, height: o2.imageInfo.imageData.height });
            return "false" === (null == (e3 = o2.defaultSrc) ? void 0 : e3.toString()) ? n2.item : null == (t3 = o2.defaultSrc) ? void 0 : t3.toString();
          }, set src(e3) {
            const a2 = f(e3) ? "" : e3, { height: m2, width: s2, title: u2, error: l2, mediaId: p2 } = function(e4, t3) {
              if (!Object.values(n).includes(t3)) return { error: i.unknown_media_type };
              if (c[t3].some((t4) => t4.test(e4))) return { type: t3, mediaId: e4 };
              const o3 = d(e4);
              return o3.error === i.non_string_media_id ? o3 : o3.error === i.unknown_media_type || t3 !== o3.type ? { error: i.bad_media_id } : o3;
            }(a2.toString(), "image");
            if (l2) return void v('The "src" property cannot be set to "src". It must be a valid URL starting with "http://", "https://", or "wix:image://".');
            const h2 = o2.imageInfo.imageData, y2 = { ...h2, width: s2 || h2.width, height: m2 || h2.height, uri: p2 || h2.uri, name: u2 || h2.name, crop: null };
            t2({ defaultSrc: a2, imageInfo: { ...o2.imageInfo, containerId: r2.compId, imageData: y2, sourceSets: o2.imageInfo.sourceSets.map((e4) => ({ ...e4, src: void 0 })) }, aspectRatio: y2.height / y2.width, shouldUseResponsiveImages: false });
          }, get alt() {
            return o2.imageInfo.imageData.alt;
          }, set alt(e3) {
            const n2 = f(e3) ? "" : e3;
            t2({ imageInfo: { ...o2.imageInfo, containerId: r2.compId, imageData: { ...o2.imageInfo.imageData, alt: n2 } } });
          }, get clickAction() {
            return o2.showLink ? dn.show : dn.disable;
          }, set clickAction(e3) {
            t2({ showLink: dn.show === e3 });
          }, get fitMode() {
            return cn[o2.imageInfo.imageData.displayMode];
          }, set fitMode(e3) {
            const n2 = un[e3];
            t2({ imageInfo: { ...o2.imageInfo, imageData: { ...o2.imageInfo.imageData, displayMode: n2 } }, shouldUseResponsiveImages: false });
          }, get name() {
            return o2.imageInfo.imageData.name;
          }, set name(e3) {
            t2({ imageInfo: { ...o2.imageInfo, containerId: r2.compId, imageData: { ...o2.imageInfo.imageData, name: e3 } } });
          }, get type() {
            return "$w.Image";
          }, toJSON() {
            return { ...rn(r2), type: "$w.Image", alt: o2.imageInfo.imageData.alt, src: o2.defaultSrc, name: o2.imageInfo.imageData.name };
          } };
        }, { properties: { src: { type: ["string", "nil"], warnIfNil: true }, alt: { type: ["string", "nil"], warnIfNil: true }, name: { type: ["string", "nil"], warnIfNil: true }, fitMode: { type: ["string"], enum: Object.keys(un) }, clickAction: { type: ["string"], enum: Object.values(dn) } } }), pn = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => jt([At, an, Jt, Zt, e2 ? Yt(t2) : mn, on]))(), fn = jt([pn, sn, (e2) => ({ onClick: (t2) => Lt("onClick", e2, t2), onDblClick: (t2) => Lt("onDblClick", e2, t2) }), ln]);
        var hn = { factory: fn };
        return t;
      }();
    });
  })(ImageX_bundle_min);
  var ImageX_bundle_minExports = ImageX_bundle_min.exports;
  const ImageX = /* @__PURE__ */ getDefaultExportFromCjs(ImageX_bundle_minExports);
  var LottieEmbed_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { 3908: function(e2, t2) {
          var n2;
          n2 = function() {
            return function() {
              var e3 = n3;
              e3.Integer = { type: "integer" };
              var t3 = { String, Boolean, Number, Object, Array, Date };
              function n3(e4, t4) {
                return n3(e4, t4, { changing: false });
              }
              e3.validate = n3, e3.checkPropertyChange = function(e4, t4, o2) {
                return n3(e4, t4, { changing: o2 || "property" });
              };
              var n3 = e3._validate = function(e4, n4, o2) {
                o2 || (o2 = {});
                var r = o2.changing;
                function a(e5) {
                  return e5.type || t3[e5.name] == e5 && e5.name.toLowerCase();
                }
                var i = [];
                function s(e5, t4, n5, u) {
                  var p;
                  function c(e6) {
                    i.push({ property: n5, message: e6 });
                  }
                  if (n5 += n5 ? "number" == typeof u ? "[" + u + "]" : void 0 === u ? "" : "." + u : u, ("object" != typeof t4 || t4 instanceof Array) && (n5 || "function" != typeof t4) && (!t4 || !a(t4))) return "function" == typeof t4 ? e5 instanceof t4 || c("is not an instance of the class/constructor " + t4.name) : t4 && c("Invalid schema/property definition " + t4), null;
                  function l(e6, t5) {
                    if (e6) {
                      if (!("string" != typeof e6 || "any" == e6 || ("null" == e6 ? null === t5 : typeof t5 == e6) || t5 instanceof Array && "array" == e6 || t5 instanceof Date && "date" == e6 || "integer" == e6 && t5 % 1 == 0)) return [{ property: n5, message: typeof t5 + " value found, but a " + e6 + " is required" }];
                      if (e6 instanceof Array) {
                        for (var o3 = [], r2 = 0; r2 < e6.length && (o3 = l(e6[r2], t5)).length; r2++) ;
                        if (o3.length) return o3;
                      } else if ("object" == typeof e6) {
                        var a2 = i;
                        i = [], s(t5, e6, n5);
                        var m2 = i;
                        return i = a2, m2;
                      }
                    }
                    return [];
                  }
                  if (r && t4.readonly && c("is a readonly field, it can not be changed"), t4.extends && s(e5, t4.extends, n5, u), void 0 === e5) t4.required && c("is missing and it is required");
                  else if (i = i.concat(l(a(t4), e5)), t4.disallow && !l(t4.disallow, e5).length && c(" disallowed value was matched"), null !== e5) {
                    if (e5 instanceof Array) {
                      if (t4.items) {
                        var d = t4.items instanceof Array, f = t4.items;
                        for (u = 0, p = e5.length; u < p; u += 1) d && (f = t4.items[u]), o2.coerce && (e5[u] = o2.coerce(e5[u], f)), i.concat(s(e5[u], f, n5, u));
                      }
                      t4.minItems && e5.length < t4.minItems && c("There must be a minimum of " + t4.minItems + " in the array"), t4.maxItems && e5.length > t4.maxItems && c("There must be a maximum of " + t4.maxItems + " in the array");
                    } else (t4.properties || t4.additionalProperties) && i.concat(m(e5, t4.properties, n5, t4.additionalProperties));
                    if (t4.pattern && "string" == typeof e5 && !e5.match(t4.pattern) && c("does not match the regex pattern " + t4.pattern), t4.maxLength && "string" == typeof e5 && e5.length > t4.maxLength && c("may only be " + t4.maxLength + " characters long"), t4.minLength && "string" == typeof e5 && e5.length < t4.minLength && c("must be at least " + t4.minLength + " characters long"), void 0 !== typeof t4.minimum && typeof e5 == typeof t4.minimum && t4.minimum > e5 && c("must have a minimum value of " + t4.minimum), void 0 !== typeof t4.maximum && typeof e5 == typeof t4.maximum && t4.maximum < e5 && c("must have a maximum value of " + t4.maximum), t4.enum) {
                      var y, h = t4.enum;
                      p = h.length;
                      for (var v = 0; v < p; v++) if (h[v] === e5) {
                        y = 1;
                        break;
                      }
                      y || c("does not have a value in the enumeration " + h.join(", "));
                    }
                    "number" == typeof t4.maxDecimal && e5.toString().match(new RegExp("\\.[0-9]{" + (t4.maxDecimal + 1) + ",}")) && c("may only have " + t4.maxDecimal + " digits of decimal places");
                  }
                  return null;
                }
                function m(e5, t4, n5, a2) {
                  if ("object" == typeof t4) {
                    for (var m2 in ("object" != typeof e5 || e5 instanceof Array) && i.push({ property: n5, message: "an object is required" }), t4) if (t4.hasOwnProperty(m2)) {
                      var u = e5[m2];
                      if (void 0 === u && o2.existingOnly) continue;
                      var p = t4[m2];
                      void 0 === u && p.default && (u = e5[m2] = p.default), o2.coerce && m2 in e5 && (u = e5[m2] = o2.coerce(u, p)), s(u, p, n5, m2);
                    }
                  }
                  for (m2 in e5) {
                    if (e5.hasOwnProperty(m2) && ("_" != m2.charAt(0) || "_" != m2.charAt(1)) && t4 && !t4[m2] && false === a2) {
                      if (o2.filter) {
                        delete e5[m2];
                        continue;
                      }
                      i.push({ property: n5, message: typeof u + "The property " + m2 + " is not defined in the schema and the schema does not allow additional properties" });
                    }
                    var c = t4 && t4[m2] && t4[m2].requires;
                    c && !(c in e5) && i.push({ property: n5, message: "the presence of the property " + m2 + " requires that " + c + " also be present" }), u = e5[m2], !a2 || t4 && "object" == typeof t4 && m2 in t4 || (o2.coerce && (u = e5[m2] = o2.coerce(u, a2)), s(u, a2, n5, m2)), !r && u && u.$schema && (i = i.concat(s(u, u.$schema, n5, m2)));
                  }
                  return i;
                }
                return n4 && s(e4, n4, "", r || ""), !r && e4 && e4.$schema && s(e4, e4.$schema, "", ""), { valid: !i.length, errors: i };
              };
              return e3.mustBeValid = function(e4) {
                if (!e4.valid) throw new TypeError(e4.errors.map(function(e5) {
                  return "for property " + e5.property + ": " + e5.message;
                }).join(", \n"));
              }, e3;
            }();
          }.apply(t2, []), void 0 === n2 || (e2.exports = n2);
        } }, t = {};
        function n(o2) {
          var r = t[o2];
          if (void 0 !== r) return r.exports;
          var a = t[o2] = { exports: {} };
          return e[o2].call(a.exports, a, a.exports, n), a.exports;
        }
        n.d = function(e2, t2) {
          for (var o2 in t2) n.o(t2, o2) && !n.o(e2, o2) && Object.defineProperty(e2, o2, { enumerable: true, get: t2[o2] });
        }, n.o = function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, n.r = function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        };
        var o = {};
        return function() {
          n.r(o), n.d(o, { default: function() {
            return tn;
          }, sdk: function() {
            return en;
          } });
          const e2 = /^(?:(?:https?:)\/\/)(?:(?:[\u0400-\uA69F\w][\u0400-\uA69F\w-]*)?[\u0400-\uA69F\w]\.)+(?:[\u0400-\uA69Fa-z]+|\d{1,3})(?::[\d]{1,5})?(?:[/?#].*)?$/i;
          function t2(e3) {
            return "number" == typeof e3 && !Number.isNaN(e3);
          }
          function r(e3) {
            return Array.isArray(e3);
          }
          function a(e3) {
            return null == e3;
          }
          function i(e3, t3) {
            return t3.includes(e3);
          }
          function s(e3, t3) {
            return e3 > t3;
          }
          function m(e3, t3) {
            return e3 < t3;
          }
          function u(t3) {
            return e2.test(t3);
          }
          const p = (e3) => {
            console.error(`Wix code SDK error: ${e3}`);
          }, c = (e3) => {
            console.warn(`Wix code SDK warning: ${e3}`);
          }, l = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to null.`, d = ({ propertyName: e3, compName: t3, effectName: n2, infoLink: o2 }) => `The "${e3}" function called on "${t3}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, f = ({ propertyName: e3, compName: t3, infoLink: n2 }) => `The "${e3}" function called on "${t3}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, y = ({ propertyName: e3, compName: t3, effectName: n2, wrongProperty: o2, wrongValue: r2, infoLink: a2 }) => `The "${e3}" function called on "${t3}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${o2}: ${r2}. Read more about the effectOptions object: "${a2}"')`, h = ({ propertyName: e3, compName: t3, effectName: n2, infoLink: o2 }) => `The "${e3}" function  called on "${t3}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${o2}"`, v = ({ propertyName: e3, compName: t3, effectName: n2, wrongValue: o2, infoLink: r2 }) => `The "${e3}" function called on "${t3}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${r2}"'`, N = ({ propertyName: e3, functionName: t3, compName: n2 }) => `The ${e3} parameter of "${n2}" that is passed to the ${t3} method cannot be set to null.`, g = ({ propertyName: e3, functionName: t3, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to null or undefined.`, b = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is required for ${t3} method.`, $ = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]}, are required for ${t3} method.`, x = ({ propertyName: e3, functionName: t3, index: n2 }) => `The ${e3} parameter of item at index ${n2} is required for ${t3} method.`, w = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is not allowed for ${t3} method.`, I = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]} are unknown for ${t3} method.`, C = ({ propertyName: e3, functionName: t3, index: n2 }) => `The ${e3} parameter of item at index ${n2} is not allowed for ${t3} method.`, T = ({ propertyNames: e3, functionName: t3, index: n2 }) => `The following parameters: ${[...e3]} of item at index ${n2} are unknown for ${t3} method.`, O = ({ propertyName: e3, functionName: t3, value: n2, minimum: o2, maximum: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${r2}.`, E = ({ propertyName: e3, functionName: t3, value: n2, minimum: o2, maximum: r2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${r2}.`, L = ({ propertyName: e3, functionName: t3, value: n2, expectedValue: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}". Its length must be ${o2}.`, k = ({ propertyName: e3, functionName: t3, value: n2, expectedValue: o2, index: r2 }) => `The ${e3} parameter of item at index ${r2} that is passed to the ${t3} method cannot be set to the value "${n2}". Its length must be ${o2}.`, j = ({ propertyName: e3, functionName: t3, value: n2, minimum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, S = ({ propertyName: e3, functionName: t3, value: n2, minimum: o2, index: r2 }) => `The ${e3} parameter of item at index ${r2} that is passed to the ${t3} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, V = ({ propertyName: e3, functionName: t3, value: n2, maximum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, P = ({ propertyName: e3, functionName: t3, value: n2, maximum: o2, index: r2 }) => `The ${e3} parameter of item at index ${r2} that is passed to the ${t3} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, A = ({ propertyName: e3, functionName: t3, value: n2, minimum: o2, maximum: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}". It must be between ${o2} and ${r2}.`, D = ({ propertyName: e3, functionName: t3, value: n2, minimum: o2, maximum: r2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value "${n2}". It must be between ${o2} and ${r2}.`, F = ({ propertyName: e3, functionName: t3, value: n2, expectedValue: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}". It must be ${o2}.`, R = ({ propertyName: e3, functionName: t3, value: n2, expectedValue: o2, index: r2 }) => `The ${e3} parameter of item at index ${r2} that is passed to the ${t3} method cannot be set to the value "${n2}". It must be ${o2}.`, M = ({ propertyName: e3, functionName: t3, value: n2, minimum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, q = ({ propertyName: e3, functionName: t3, value: n2, minimum: o2, index: r2 }) => `The value of ${e3} parameter of item at ${r2} that is passed to the ${t3} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, B = ({ propertyName: e3, functionName: t3, value: n2, maximum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n2}. It must be less than ${o2}.`, H = ({ propertyName: e3, functionName: t3, value: n2, maximum: o2, index: r2 }) => `The value of ${e3} parameter of item at index ${r2} that is passed to the ${t3} method cannot be set to the value ${n2}. It must be less than ${o2}.`, U = ({ propertyName: e3, functionName: t3, value: n2, expectedType: o2 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n2}. It must be of type ${o2}.`, W = ({ propertyName: e3, functionName: t3, value: n2, expectedType: o2, index: r2 }) => `The ${e3} parameter of item at index ${r2} that is passed to the ${t3} method cannot be set to the value ${n2}. It must be of type ${o2}.`, X = ({ propertyName: e3, functionName: t3, value: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n2}. Bad format`, Y = ({ functionName: e3, wrongEffects: t3, allowedEffects: n2 }) => `Passed  effects: "${t3.join('", "')}" to the ${e3} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, _ = ({ propertyName: e3, functionName: t3, value: n2, index: o2 }) => `The "${e3}" property of the item at index ${o2} that is passed to the ${t3} method cannot be set to "${n2}". Bad format`, G = ({ keyName: e3, propertyName: t3, functionName: n2, wrongValue: o2, message: r2 }) => `The value of ${e3} in ${t3} parameter that is passed to the ${n2} method cannot be set to the value ${o2}. ${r2}`, J = ({ url: e3, type: t3, prefix: n2 }) => `The "src" property cannot be set to "${e3}". It must be a valid URL starting with "http://", "https://", or a valid ${t3} URL starting with ${n2}.`, K = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method contains invalid characters.`, z = ({ compName: e3, functionName: n2, propertyName: o2, index: r2 }) => t2(r2) ? g({ propertyName: o2, functionName: n2, index: r2 }) : e3 ? N({ compName: e3, functionName: n2, propertyName: o2 }) : l({ functionName: n2, propertyName: o2 }), Z = ({ functionName: e3, propertyName: n2, index: o2 }) => t2(o2) ? x({ functionName: e3, propertyName: n2, index: o2 }) : b({ functionName: e3, propertyName: n2 }), Q = ({ functionName: e3, propertyNames: n2, index: o2 }) => n2 && n2.length > 1 ? t2(o2) ? T({ functionName: e3, propertyNames: n2, index: o2 }) : I({ functionName: e3, propertyNames: n2 }) : t2(o2) ? C({ functionName: e3, propertyName: n2[0], index: o2 }) : w({ functionName: e3, propertyName: n2[0] }), ee = ({ functionName: e3, propertyName: n2, value: o2, maximum: r2, minimum: a2, index: i2 }) => a2 && r2 ? a2 === r2 ? t2(i2) ? k({ functionName: e3, propertyName: n2, value: o2, expectedValue: a2, index: i2 }) : L({ functionName: e3, propertyName: n2, value: o2, expectedValue: a2 }) : t2(i2) ? E({ functionName: e3, propertyName: n2, value: o2, maximum: r2, minimum: a2, index: i2 }) : O({ functionName: e3, propertyName: n2, value: o2, maximum: r2, minimum: a2 }) : !a2 && r2 ? t2(i2) ? P({ functionName: e3, propertyName: n2, value: o2, maximum: r2, index: i2 }) : V({ functionName: e3, propertyName: n2, value: o2, maximum: r2 }) : t2(i2) ? S({ functionName: e3, propertyName: n2, value: o2, minimum: a2, index: i2 }) : j({ functionName: e3, propertyName: n2, value: o2, minimum: a2 }), te = ({ functionName: e3, propertyName: n2, value: o2, minimum: r2, maximum: a2, index: i2 }) => r2 && a2 ? r2 === a2 ? t2(i2) ? R({ functionName: e3, propertyName: n2, expectedValue: r2, value: o2, index: i2 }) : F({ functionName: e3, propertyName: n2, expectedValue: r2, value: o2 }) : t2(i2) ? D({ functionName: e3, propertyName: n2, value: o2, maximum: a2, minimum: r2, index: i2 }) : A({ functionName: e3, propertyName: n2, value: o2, maximum: a2, minimum: r2 }) : !r2 && a2 ? t2(i2) ? H({ functionName: e3, propertyName: n2, maximum: a2, value: o2, index: i2 }) : B({ functionName: e3, propertyName: n2, maximum: a2, value: o2 }) : t2(i2) ? q({ functionName: e3, propertyName: n2, value: o2, minimum: r2, index: i2 }) : M({ functionName: e3, propertyName: n2, value: o2, minimum: r2 }), ne = ({ functionName: e3, propertyName: n2, types: o2, value: r2, index: a2 }) => {
            const i2 = o2.map((e4) => "nil" === e4 ? "null" : e4).join(",");
            return t2(a2) ? W({ functionName: e3, index: a2, propertyName: n2, value: r2, expectedType: i2 }) : U({ functionName: e3, propertyName: n2, value: r2, expectedType: i2 });
          }, oe = ({ functionName: e3, propertyName: n2, value: o2, enum: r2, index: a2 }) => {
            const i2 = `from (${r2.join(",")})`;
            return t2(a2) ? W({ functionName: e3, propertyName: n2, value: o2, expectedType: i2, index: a2 }) : U({ functionName: e3, propertyName: n2, value: o2, expectedType: i2 });
          }, re = ({ functionName: e3, propertyName: n2, value: o2, index: r2 }) => t2(r2) ? _({ functionName: e3, propertyName: n2, value: o2, index: r2 }) : X({ functionName: e3, propertyName: n2, value: o2 }), ae = Object.prototype.hasOwnProperty, ie = Object.getOwnPropertyNames, se = () => {
          };
          function me(e3, t3, n2, o2, a2, i2) {
            if (!function(e4) {
              return "object" == typeof e4 && null !== e4 && !r(e4);
            }(e3)) return le.InvalidType;
            if (t3.oneOf) return 1 === t3.oneOf.map((t4) => me(e3, t4, n2, se, a2, i2)).filter((e4) => e4 === le.Valid).length ? le.Valid : le.Invalid;
            if (t3.required) {
              for (let n3 = 0; n3 < t3.required.length; n3++) if (!ae.call(e3, t3.required[n3])) return o2(Z({ functionName: i2.functionName, index: i2.index, propertyName: t3.required[n3] }), { ...i2, value: e3 }), le.Invalid;
            }
            const s2 = ie(t3.properties ?? {});
            if (false === t3.additionalProperties) {
              const t4 = ie(e3).filter((e4) => !s2.includes(e4));
              if (t4.length) {
                return o2(Q({ functionName: i2.functionName, index: i2.index, propertyNames: t4 })), le.Invalid;
              }
            }
            for (let o3 = 0; o3 < s2.length; o3++) {
              const r2 = s2[o3];
              if (ae.call(e3, r2)) {
                const o4 = t3.properties[r2], a3 = e3[r2];
                if (!n2(a3, o4, { functionName: i2.functionName, index: i2.index, propertyName: r2 })) return le.Invalid;
              }
            }
            return le.Valid;
          }
          function ue(e3) {
            return Array.isArray(e3);
          }
          function pe(e3, n2, o2, r2) {
            const { minimum: a2, maximum: u2, enum: p2 } = n2;
            return function(e4) {
              return Number.isInteger(e4);
            }(e3) ? p2 && !i(e3, p2) ? (o2(oe({ value: e3, enum: p2, ...r2 }), { ...r2, value: e3 }), le.Invalid) : t2(a2) && m(e3, a2) || t2(u2) && s(e3, u2) ? (o2(te({ value: e3, minimum: a2, maximum: u2, ...r2 }), { ...r2, value: e3 }), le.Invalid) : le.Valid : le.InvalidType;
          }
          function ce(e3) {
            return function(e4) {
              return e4 instanceof Date && !Number.isNaN(e4.getTime());
            }(e3) ? le.Valid : le.InvalidType;
          }
          const le = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
          function de({ reportError: e3, reportWarning: n2 }, o2, { suppressIndexErrors: u2 = false } = {}) {
            function p2(t3, r2, i2) {
              r2.warnIfNil && a(t3) && n2(z({ ...i2, compName: o2 }), { ...i2, value: t3 });
              let s2 = 0;
              for (; s2 < r2.type.length; s2++) {
                const e4 = (0, c2[r2.type[s2]])(t3, r2, i2);
                if (e4 !== le.InvalidType) return e4 === le.Valid;
              }
              return s2 === r2.type.length && e3(ne({ value: t3, types: r2.type, ...i2 }), { ...i2, value: t3 }), false;
            }
            const c2 = { object: (t3, o3, r2) => me(t3, o3, p2, e3, n2, r2), array: (e4, t3, n3) => function(e5, t4, n4, o3, a2, i2 = false) {
              if (!r(e5)) return le.InvalidType;
              let s2 = le.Valid;
              if (t4.items) {
                const o4 = ue(t4.items) ? Math.min(e5.length, t4.items.length) : e5.length;
                for (let r2 = 0; r2 < o4; r2++) {
                  const o5 = e5[r2];
                  let m2, u3;
                  ue(t4.items) ? (m2 = t4.items[r2], u3 = t4.items[r2].name) : (m2 = t4.items, u3 = t4.name), n4(o5, m2, { functionName: a2.functionName, propertyName: u3 || a2.propertyName, index: i2 ? void 0 : r2 }) || (s2 = le.Invalid);
                }
              }
              return s2;
            }(e4, t3, p2, 0, n3, u2), number: (n3, o3, r2) => function(e4, n4, o4, r3) {
              const { minimum: a2, maximum: u3, enum: p3 } = n4;
              return t2(e4) ? p3 && !i(e4, p3) ? (o4(oe({ value: e4, enum: p3, ...r3 }), { ...r3, value: e4 }), le.Invalid) : t2(a2) && m(e4, a2) || t2(u3) && s(e4, u3) ? (o4(te({ value: e4, minimum: a2, maximum: u3, ...r3 }), { ...r3, value: e4 }), le.Invalid) : le.Valid : le.InvalidType;
            }(n3, o3, e3, r2), integer: (t3, n3, o3) => pe(t3, n3, e3, o3), string: (t3, n3, o3) => function(e4, t4, n4, o4) {
              const { minLength: r2, maxLength: a2, enum: u3, pattern: p3 } = t4;
              return /* @__PURE__ */ function(e5) {
                return "string" == typeof e5;
              }(e4) ? u3 && !i(e4, u3) ? (n4(oe({ value: e4, enum: u3, ...o4 }), { ...o4, value: e4 }), le.Invalid) : r2 && m(e4.length, r2) || a2 && s(e4.length, a2) ? (n4(ee({ value: e4, minimum: r2, maximum: a2, ...o4 }), { ...o4, value: e4 }), le.Invalid) : p3 && !new RegExp(p3).test(e4) ? (n4(re({ value: e4, ...o4 }), { ...o4, value: e4 }), le.Invalid) : le.Valid : le.InvalidType;
            }(t3, n3, e3, o3), boolean: (e4) => function(e5) {
              return /* @__PURE__ */ function(e6) {
                return true === e6 || false === e6;
              }(e5) ? le.Valid : le.InvalidType;
            }(e4), date: (e4) => ce(e4), nil: (e4) => function(e5) {
              return a(e5) ? le.Valid : le.InvalidType;
            }(e4), function: (e4) => function(e5) {
              return /* @__PURE__ */ function(e6) {
                return "function" == typeof e6;
              }(e5) ? le.Valid : le.InvalidType;
            }(e4) };
            return function(e4, t3, n3) {
              return p2(e4, t3, { functionName: n3, propertyName: n3, index: void 0 });
            };
          }
          function fe(e3, { suppressIndexErrors: t3 = false } = {}) {
            return de({ reportError: p, reportWarning: c }, e3, { suppressIndexErrors: t3 });
          }
          function ye(e3, t3) {
            const { modifyAriaSourceKeys: n2 } = {};
            return (t4) => {
              const o2 = {};
              for (let a2 = 0; a2 < e3.length; a2++) {
                const i2 = e3[a2](t4), s2 = Object.keys(i2);
                for (let e4 = 0; e4 < s2.length; e4++) {
                  const t5 = s2[e4], a3 = Object.getOwnPropertyDescriptor(i2, t5);
                  Object.defineProperty(o2, n2 && a3.get ? "aria" + (r2 = t5).charAt(0).toUpperCase() + r2.slice(1) : t5, a3);
                }
              }
              var r2;
              return o2;
            };
          }
          const he = "click", ve = "dblClick", Ne = "mouseenter", ge = "mouseleave", be = "change", $e = "blur", xe = "focus", we = "imageChanged", Ie = "imageExpanded", Ce = "onInput", Te = "itemClicked", Oe = "cellSelect", Ee = "cellEdit", Le = "rowSelect", ke = "fetchData", je = "dataChange", Se = "onTimeout", Ve = "onVerified", Pe = "onError", Ae = "onPlay", De = "onPause", Fe = "onProgress", Re = "onEnded", Me = "autoplayOff", qe = "autoplayOn", Be = "playEnded", He = "playProgress", Ue = "keyPress", We = "keyUp", Xe = "keyDown", Ye = "screenIn", _e = "viewportEnter", Ge = "viewportLeave", Je = "scroll", Ke = "validate", ze = "setCustomValidity", Ze = "syncValidationData", Qe = "updateValidityIndication", et = "message", tt = "uploadComplete", nt = "itemReady", ot = "itemRemoved", rt = "tagClick", at = "quickActionBarItemClicked", it = "markerClicked", st = "mapClicked", mt = "iconMouseIn", ut = "onStateChange", pt = "itemMouseIn", ct = "itemMouseOut", lt = "itemMouseClick", dt = "itemMouseDblClick", ft = "onColorChange", yt = "onFontChange", ht = "onOpacityChange", vt = { [he]: "onClick", [ve]: "onDblClick", [Ne]: "onMouseIn", [ge]: "onMouseOut", [be]: "onChange", [Ce]: "onInput", [$e]: "onBlur", [xe]: "onFocus", [we]: "onCurrentItemChanged", [Ie]: void 0, [Te]: "onItemClicked", [Oe]: "onCellSelect", [Ee]: void 0, [Le]: "onRowSelect", [ke]: void 0, [je]: "onDataChange", [Se]: "onTimeout", [Ve]: "onVerified", [Pe]: "onError", [Ae]: "onPlay", [De]: "onPause", [Fe]: "onProgress", [Re]: "onEnded", [Me]: "onPause", [qe]: "onPlay", [Be]: void 0, [He]: void 0, [Ue]: "onKeyPress", [We]: "onKeyUp", [Xe]: "onKeyDown", [Ye]: void 0, [_e]: "onViewportEnter", [Ge]: "onViewportLeave", [Je]: void 0, [Ke]: void 0, [ze]: void 0, [Ze]: void 0, [Qe]: void 0, [et]: "onMessage", [tt]: void 0, [nt]: "onItemReady", [ot]: "onItemRemoved", [rt]: void 0, [at]: "onItemClicked", [it]: "onMarkerClicked", [st]: "onMapClicked", [mt]: void 0, [ut]: "onStateChange", [pt]: "onItemMouseIn", [ct]: "onItemMouseOut", [lt]: "onItemClick", [dt]: "onItemDblClick", [ft]: "onColorChange", [yt]: "onFontChange", [ht]: "onOpacityChange" }, Nt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, gt = (e3) => {
            const { target: t3, type: n2, context: o2 } = e3;
            return { target: t3, type: Nt[n2] ?? n2, context: o2 };
          }, bt = (e3) => {
            const { clientX: t3, clientY: n2, pageX: o2, pageY: r2, screenX: a2, screenY: i2, nativeEvent: s2 } = e3, { offsetX: m2, offsetY: u2 } = s2;
            return { clientX: t3, clientY: n2, pageX: o2, pageY: r2, screenX: a2, screenY: i2, offsetX: m2, offsetY: u2 };
          }, $t = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, xt = (e3) => e3.replace(/^on/i, ""), wt = (e3) => e3.createSdkState({ listeners: [] }, "eventListeners"), It = (e3, t3, n2, o2) => {
            const { create$w: r2, createEvent: a2, registerEvent: i2, getSdkInstance: s2, metaData: m2 } = t3;
            if (!((e4, t4, n3) => fe(n3)(e4, { type: ["function"] }, t4))(n2, $t[e3] ?? e3, m2.role)) return s2();
            const [u2, p2] = wt(t3), c2 = i2(e3, (e4, t4) => {
              const i3 = a2({ type: e4.type, compId: e4.compId }), s3 = r2({ context: i3.context }), m3 = o2?.({ componentEvent: e4, eventPayload: t4 });
              n2({ ...gt(i3), ...m3 }, s3);
            }), l2 = { eventName: e3, compId: m2.compId, cb: n2, unregister: c2 };
            return p2({ listeners: [...u2.listeners, l2] }), s2();
          }, Ct = (e3, t3) => {
            const n2 = ((e4) => {
              const t4 = Object.entries($t).find(([t5, n3]) => xt(n3.toLowerCase()) === xt(e4.toLowerCase()));
              return t4?.[0] ?? e4;
            })(vt[t3] ?? t3);
            return e3.toLowerCase() === n2.toLowerCase();
          }, Tt = (e3, t3, n2, o2) => It(e3, t3, n2, ({ componentEvent: e4, eventPayload: t4 }) => ({ ...bt(e4), ...t4 && o2?.(t4) })), Ot = ({ handlers: e3, metaData: t3 }) => {
            const { compId: n2, connection: o2, compType: r2, isGlobal: a2, getParent: i2, role: s2, wixCodeId: m2 } = t3, u2 = `$w.${r2}`;
            return { get id() {
              return m2 || s2;
            }, get role() {
              return s2;
            }, get connectionConfig() {
              return o2?.config;
            }, get uniqueId() {
              return n2;
            }, get parent() {
              return i2();
            }, get global() {
              return a2();
            }, get type() {
              return u2;
            }, scrollTo() {
              return new Promise((t4) => e3.scrollToComponent(n2, t4));
            }, toJSON() {
              return { id: s2, type: u2, global: a2() };
            } };
          }, Et = (e3) => (t3) => {
            const { metaData: n2, getSdkInstance: o2, create$w: r2, createEvent: a2 } = t3, i2 = (e4, t4) => fe(n2.role)(e4, { type: ["function"] }, t4);
            return { onViewportEnter: (n3) => i2(n3, "onViewportEnter") ? (e3?.("onViewportEnter", () => {
              const e4 = a2({ type: "viewportEnter" }), t4 = r2();
              n3(e4, t4);
            }), It("onViewportEnter", t3, n3)) : o2(), onViewportLeave: (n3) => i2(n3, "onViewportLeave") ? (e3?.("onViewportLeave", () => {
              const e4 = a2({ type: "viewportLeave" }), t4 = r2();
              n3(e4, t4);
            }), It("onViewportLeave", t3, n3)) : o2() };
          }, Lt = { duration: 1200, delay: 0 }, kt = { arc: { ...Lt, direction: "left" }, bounce: { ...Lt, direction: "topLeft", intensity: "medium" }, puff: { ...Lt }, zoom: { ...Lt }, fade: { ...Lt }, flip: { ...Lt, direction: "right" }, float: { ...Lt, direction: "right" }, fly: { ...Lt, direction: "right" }, fold: { ...Lt, direction: "left" }, glide: { ...Lt, angle: 0, distance: 0 }, roll: { ...Lt, direction: "left" }, slide: { ...Lt, direction: "left" }, spin: { ...Lt, direction: "cw", cycles: 5 }, turn: { ...Lt, direction: "right" }, ArcIn: { ...Lt, direction: "right" }, ArcOut: { ...Lt, direction: "right" }, BounceIn: { ...Lt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Lt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Lt, direction: "right" }, CollapseOut: { ...Lt }, Conceal: { ...Lt, direction: "right" }, Reveal: { ...Lt, direction: "left" }, FadeIn: { ...Lt }, FadeOut: { ...Lt }, FlipIn: { ...Lt, direction: "left" }, FlipOut: { ...Lt, direction: "left" }, FloatIn: { ...Lt, direction: "right" }, FloatOut: { ...Lt, direction: "right" }, FlyIn: { ...Lt, direction: "right" }, FlyOut: { ...Lt, direction: "right" }, FoldIn: { ...Lt, direction: "left" }, FoldOut: { ...Lt, direction: "left" }, GlideIn: { ...Lt, angle: 0, distance: 150 }, GlideOut: { ...Lt, angle: 0, distance: 150 }, DropIn: { ...Lt }, PopOut: { ...Lt }, SlideIn: { ...Lt, direction: "left" }, SlideOut: { ...Lt, direction: "left" }, SpinIn: { ...Lt, direction: "cw", cycles: 2 }, SpinOut: { ...Lt, direction: "cw", cycles: 2 }, TurnIn: { ...Lt, direction: "right" }, TurnOut: { ...Lt, direction: "right" } }, jt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, St = (e3) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e3}`, Vt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Pt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, At = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Dt = { arc: { type: ["object"], properties: { duration: Vt, delay: Pt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Vt, delay: Pt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Vt, delay: Pt } }, zoom: { type: ["object"], properties: { duration: Vt, delay: Pt } }, fade: { type: ["object"], properties: { duration: Vt, delay: Pt } }, flip: { type: ["object"], properties: { duration: Vt, delay: Pt, direction: At } }, float: { type: ["object"], properties: { duration: Vt, delay: Pt, direction: At } }, fly: { type: ["object"], properties: { duration: Vt, delay: Pt, direction: At } }, fold: { type: ["object"], properties: { duration: Vt, delay: Pt, direction: At } }, glide: { type: ["object"], properties: { duration: Vt, delay: Pt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Vt, delay: Pt, direction: At } }, slide: { type: ["object"], properties: { duration: Vt, delay: Pt, direction: At } }, spin: { type: ["object"], properties: { duration: Vt, delay: Pt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Vt, delay: Pt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Ft = ({ propertyName: e3, compName: t3 }) => (n2, o2) => {
            if (!n2) return false;
            if (void 0 === o2) return true;
            const r2 = (({ effectName: e4, propertyName: t4, compName: n3 }) => (o3, r3) => {
              c(v({ propertyName: t4, compName: n3, effectName: e4, wrongValue: `${r3?.value}`, infoLink: St(t4) }));
            })({ effectName: n2, propertyName: e3, compName: t3 });
            if (!de({ reportError: r2, reportWarning: () => ({}) }, t3)(o2, { type: ["object"] }, e3)) return false;
            const a2 = (({ effectName: e4, propertyName: t4, compName: n3 }) => (o3, r3) => {
              c(y({ propertyName: t4, compName: n3, effectName: e4, wrongProperty: "value", wrongValue: `the key "${r3?.propertyName}" cannot be set to the value "${r3?.value}"`, infoLink: St(t4) }));
            })({ effectName: n2, propertyName: e3, compName: t3 });
            return !!de({ reportError: a2, reportWarning: () => ({}) }, t3)(o2, Dt[n2], e3);
          }, Rt = (e3) => 0 === Object.keys(e3).length, Mt = ({ viewportState: e3, hasPortal: t3 = false } = {}) => ({ setStyles: n2, portal: o2, metaData: r2, getSdkInstance: a2, runAnimation: i2, createSdkState: s2, styleUtils: m2, setProps: u2 }) => {
            const p2 = (({ compName: e4 }) => ({ effectName: t4, effectOptions: n3, propertyName: o3 }) => {
              const r3 = Ft({ propertyName: o3, compName: e4 });
              if (!t4 && !n3) return false;
              if (!t4 && n3 && !Rt(n3)) return c(f({ propertyName: o3, compName: e4, infoLink: St(o3) })), false;
              const a3 = "hide" === o3 ? "HIDE" : "SHOW", i3 = jt[a3]?.deprecatedValues;
              return t4 && n3 && i3 && i3.find((e5) => e5 === t4) && !Rt(n3) ? (c(h({ compName: e4, effectName: t4, propertyName: o3, infoLink: St(o3) })), false) : !!i3.find((e5) => e5 === t4) || (t4 && !(t4 in Dt) ? (c(d({ propertyName: o3, compName: e4, effectName: t4, infoLink: St(o3) })), false) : !!r3(t4, n3));
            })({ compName: r2.role }), [l2, y2] = s2({ hidden: r2.hiddenOnLoad, collapsed: r2.collapsedOnLoad }, "hidden-collapsed");
            return { hide: async (r3, a3) => {
              if (u2({ hidden: true }), l2.collapsed || l2.hidden) y2({ hidden: true });
              else {
                if (p2({ effectName: r3, effectOptions: a3, propertyName: "hide" })) {
                  const e4 = { animationDirection: jt.HIDE.suffix, effectName: r3, effectOptions: { ...kt?.[r3] || Lt, ...a3 } };
                  await Promise.all([i2(e4), t3 ? o2.runAnimation(e4) : void 0]);
                } else n2(m2.getHiddenStyles()), t3 && o2.setStyles(m2.getHiddenStyles());
                y2({ hidden: true }), e3?.onViewportLeave?.forEach((e4) => e4());
              }
            }, show: async (r3, a3) => {
              if (u2({ hidden: false }), !l2.collapsed && l2.hidden) {
                if (p2({ effectName: r3, effectOptions: a3, propertyName: "show" })) {
                  const e4 = { animationDirection: jt.SHOW.suffix, effectName: r3, effectOptions: { ...kt?.[r3] || Lt, ...a3 } };
                  await Promise.all([i2(e4), t3 ? o2.runAnimation(e4) : void 0]);
                } else n2(m2.getShownStyles()), t3 && o2.setStyles(m2.getShownStyles());
                y2({ hidden: false }), e3?.onViewportEnter?.forEach((e4) => e4());
              } else y2({ hidden: false });
            }, collapse: async () => {
              u2({ collapsed: true }), l2.collapsed || (n2(m2.getCollapsedStyles()), t3 && o2.setStyles(m2.getCollapsedStyles()), y2({ collapsed: true }), l2.hidden || e3?.onViewportLeave?.forEach((e4) => e4()));
            }, expand: async () => {
              if (u2({ collapsed: false }), l2.collapsed) {
                const r3 = { ...m2.getExpandedStyles(), visibility: l2.hidden ? "hidden" : null };
                n2(r3), t3 && o2.setStyles(r3), y2({ collapsed: false }), l2.hidden || e3?.onViewportEnter?.forEach((e4) => e4());
              }
            }, get collapsed() {
              return l2.collapsed;
            }, get hidden() {
              return Boolean(l2.hidden);
            }, get isVisible() {
              if (!r2.isRendered()) return false;
              let e4 = a2();
              for (; e4; ) {
                if (e4.hidden || e4.collapsed) return false;
                e4 = e4.parent;
              }
              return true;
            }, get isAnimatable() {
              return true;
            } };
          }, qt = (e3) => (t3) => ((e4, t4 = false) => {
            const [n2, o2] = e4.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
            return ye([Mt({ viewportState: n2, hasPortal: t4 }), Et((e5, t5) => {
              o2({ [e5]: [...n2[e5], t5] });
            })])(e4);
          })(t3, e3), Bt = (e3, t3, n2) => {
            const o2 = t3.filter((t4) => !e3.includes(t4));
            o2.length && p(Y({ functionName: n2, wrongEffects: o2, allowedEffects: e3 }));
          }, Ht = (e3) => {
            const t3 = () => e3.effectsTriggersApi?.getEffects() || [];
            return { effects: { get effects() {
              return t3();
            }, get activeEffects() {
              return e3.effectsTriggersApi?.getActiveEffects() || [];
            }, applyEffects: (n2) => {
              Bt(t3(), n2, "applyEffects"), e3.effectsTriggersApi?.applyEffects(...n2);
            }, removeEffects: (n2) => {
              Bt(t3(), n2, "removeEffects"), e3.effectsTriggersApi?.removeEffects(...n2);
            }, toggleEffects: (n2) => {
              Bt(t3(), n2, "toggleEffects"), e3.effectsTriggersApi?.toggleEffects(...n2);
            }, removeAllEffects: () => e3.effectsTriggersApi?.removeAllEffects() } };
          }, Ut = (e3) => ({ delete: () => {
            e3.setProps({ deleted: true }), e3.remove();
          }, restore: () => {
            e3.setProps({ deleted: false }), e3.restore();
          }, get deleted() {
            return !!e3.props.deleted;
          } }), Wt = (e3, t3) => "string" != typeof e3 ? (Xt(e3, t3, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e3) || (_t(e3, t3), false), Xt = (e3, t3, n2, o2) => {
            p(U({ propertyName: e3, functionName: t3, value: n2, expectedType: o2 }));
          }, Yt = (e3, t3) => {
            p(b({ propertyName: e3, functionName: t3 }));
          }, _t = (e3, t3) => {
            p(K({ propertyName: e3, functionName: t3 }));
          }, Gt = (e3) => {
            const { setProps: t3, props: n2 } = e3;
            return { customClassList: { get value() {
              return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
            }, values() {
              return n2.customClassNames ? n2.customClassNames : [];
            }, add(...e4) {
              const o2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
              if (e4.length) {
                for (const t4 of e4) {
                  if (!Wt(t4, "customClassList.add")) return;
                  o2.add(t4);
                }
                t3({ customClassNames: Array.from(o2) });
              } else Yt("className", "customClassList.add");
            }, remove(...e4) {
              if (!e4.length) return void Yt("className", "customClassList.remove");
              const o2 = new Set(n2.customClassNames);
              for (const t4 of e4) {
                if (!Wt(t4, "customClassList.remove")) return;
                o2.delete(t4);
              }
              t3({ customClassNames: Array.from(o2) });
            }, contains(e4) {
              if (e4) return Wt(e4, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e4) : void 0;
              Yt("className", "customClassList.contains");
            }, replace(e4, t4) {
              return e4 && t4 ? !(!Wt(t4, "customClassList.replace") || !Wt(e4, "customClassList.replace")) && (!!this.contains(e4) && (this.remove(e4), this.add(t4), true)) : (p($({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
            }, toggle(e4) {
              return e4 ? !!Wt(e4, "customClassList.toggle") && (this.contains(e4) ? (this.remove(e4), false) : (this.add(e4), true)) : (Yt("className", "customClassList.toggle"), false);
            } } };
          }, Jt = (e3) => ({ onMouseIn: (t3) => Tt("onMouseEnter", e3, t3), onMouseOut: (t3) => Tt("onMouseLeave", e3, t3), removeEventHandler: (t3, n2) => {
            const { getSdkInstance: o2 } = e3;
            return "string" != typeof t3 ? (p(U({ propertyName: "type", functionName: "removeEventHandler", value: t3, expectedType: "string" })), o2()) : "function" != typeof n2 ? (p(U({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), o2()) : ((e4, t4, n3) => {
              const { metaData: o3, getSdkInstance: r2 } = t4, [a2, i2] = wt(t4), s2 = a2.listeners.filter((t5) => Ct(t5.eventName, e4) && t5.cb === n3 && t5.compId === o3.compId);
              for (const e5 of s2) e5.unregister();
              return i2({ listeners: a2.listeners.filter((e5) => !s2.includes(e5)) }), r2();
            })(t3, e3, n2);
          }, get rendered() {
            return e3.metaData.isRendered();
          }, toJSON() {
            return (({ role: e4, compType: t3, isGlobal: n2, isRendered: o2 }) => ({ id: e4, type: `$w.${t3}`, global: n2(), rendered: o2() }))(e3.metaData);
          } }), Kt = Et();
          ye([Ot, Kt, Jt, Ht, Gt]);
          var zt = n(3908);
          const Zt = JSON.parse('{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"ip":{"title":"In Point","description":"In Point of the Time Ruler. Sets the initial Frame of the animation.","type":"number"},"op":{"title":"Out Point","description":"Out Point of the Time Ruler. Sets the final Frame of the animation","type":"number"},"fr":{"title":"Frame Rate","description":"Frame Rate","type":"number"},"w":{"title":"Width","description":"Composition Width","type":"number"},"ddd":{"title":"3-D","description":"Composition has 3-D layers","type":"number","$ref":"#/helpers/boolean","default":0},"h":{"title":"Height","description":"Composition Height","type":"number"},"v":{"title":"Version","description":"Bodymovin Version","type":"string"},"nm":{"title":"Name","description":"Composition name","type":"string"},"layers":{"title":"Layers","description":"List of Composition Layers","items":{"oneOf":[{"$ref":"#/layers/shape"},{"$ref":"#/layers/solid"},{"$ref":"#/layers/preComp"},{"$ref":"#/layers/image"},{"$ref":"#/layers/null"},{"$ref":"#/layers/text"}],"type":"object"},"type":"array"},"assets":{"title":"Assets","description":"source items that can be used in multiple places. Comps and Images for now.","items":{"oneOf":[{"$ref":"#/sources/image"},{"$ref":"#/sources/precomp"}],"type":"object"},"type":"array"},"chars":{"title":"Chars","description":"source chars for text layers","items":{"$ref":"#/sources/chars","type":"object"},"type":"array"}}}');
          Zt.additionalProperties = { meta: {}, markers: [] };
          const Qt = /* @__PURE__ */ function(e3, t3, n2 = {}) {
            return (o2) => {
              const r2 = e3(o2), a2 = fe(o2.metaData.role), i2 = fe(o2.metaData.role, { suppressIndexErrors: true });
              return Object.keys(r2).reduce((e4, s2) => {
                const m2 = Object.getOwnPropertyDescriptor(r2, s2), u2 = { enumerable: true, configurable: true };
                return m2.value ? "function" == typeof m2.value ? u2.value = (...e5) => {
                  const r3 = t3.properties[s2] && t3.properties[s2].args, a3 = n2[s2];
                  let u3 = true;
                  return r3 && (u3 = i2(e5, { type: ["array"], items: r3 }, s2)), u3 && a3 && (u3 = a3.every((t4) => t4(e5, o2))), u3 ? m2.value(...e5) : void 0;
                } : u2.value = m2.value : (m2.get && (u2.get = () => r2[s2]), m2.set && (u2.set = (e5) => {
                  const i3 = n2[s2];
                  let m3 = true;
                  t3.properties[s2] && (m3 = a2(e5, t3.properties[s2], s2)), m3 && i3 && (m3 = i3.every((t4) => t4(e5, o2))), m3 && (r2[s2] = e5);
                })), Object.defineProperty(e4, s2, u2), e4;
              }, {});
            };
          }((e3) => {
            let { setProps: t3, props: n2, compRef: o2 } = e3;
            return { get speed() {
              return n2.speed;
            }, set speed(e4) {
              t3({ speed: e4 });
            }, get loop() {
              return n2.loop;
            }, set loop(e4) {
              t3({ loop: e4 });
            }, get autoplay() {
              return n2.autoplay;
            }, set autoplay(e4) {
              t3({ autoplay: e4 });
            }, get src() {
              return void 0 !== n2.animationUrl ? n2.animationUrl : n2.animationJson;
            }, set src(e4) {
              switch (typeof e4) {
                case "string":
                  u(e4) ? t3({ animationUrl: e4, animationJson: void 0 }) : p(J({ url: "Animation URL", type: "json", prefix: "http | https" }));
                  break;
                case "object": {
                  const o3 = (n3 = e4, (0, zt.validate)(n3, Zt).errors);
                  0 === o3.length ? t3({ animationUrl: void 0, animationJson: e4 }) : p(G({ keyName: o3[0].property, propertyName: "src", functionName: "set src", wrongValue: "src", message: "The expected object structure should be a valid lottie animation file - https://lottiefiles.com/what-is-lottie" }));
                  break;
                }
                default:
                  p(U({ propertyName: "json", functionName: "object or string", value: e4, expectedType: "object or string" }));
              }
              var n3;
            }, get direction() {
              return n2.direction;
            }, set direction(e4) {
              t3({ direction: e4 });
            }, get alt() {
              return n2.alt;
            }, set alt(e4) {
              t3({ alt: e4 });
            }, play() {
              o2.play();
            }, stop() {
              o2.stop();
            }, pause() {
              o2.pause();
            } };
          }, { properties: { src: { type: ["string", "object"] }, speed: { minimum: 0, type: ["number"] }, loop: { type: ["boolean"] }, autoplay: { type: ["boolean"] }, direction: { type: ["string"] } } }), en = ye([(({ useHiddenCollapsed: e3 = true, hasPortal: t3 = false } = {}) => ye([Ot, Jt, Ht, Ut, e3 ? qt(t3) : Kt, Gt]))(), Qt, (e3) => ({ onClick: (t3) => Tt("onClick", e3, t3), onDblClick: (t3) => Tt("onDblClick", e3, t3) }), (e3) => ({ focus: () => e3.compRef.focus(), blur: () => e3.compRef.blur(), onFocus: (t3) => It("onFocus", e3, t3), onBlur: (t3) => It("onBlur", e3, t3) })]);
          var tn = { factory: en };
        }(), o;
      }();
    });
  })(LottieEmbed_bundle_min);
  var LottieEmbed_bundle_minExports = LottieEmbed_bundle_min.exports;
  const LottieEmbed = /* @__PURE__ */ getDefaultExportFromCjs(LottieEmbed_bundle_minExports);
  var MediaPlayer_bundle_min = { exports: {} };
  var bind;
  var hasRequiredBind;
  function requireBind() {
    if (hasRequiredBind) return bind;
    hasRequiredBind = 1;
    bind = function bind2(fn, thisArg) {
      return function wrap() {
        var args = new Array(arguments.length);
        for (var i = 0; i < args.length; i++) {
          args[i] = arguments[i];
        }
        return fn.apply(thisArg, args);
      };
    };
    return bind;
  }
  var utils;
  var hasRequiredUtils;
  function requireUtils() {
    if (hasRequiredUtils) return utils;
    hasRequiredUtils = 1;
    var bind2 = requireBind();
    var toString = Object.prototype.toString;
    function isArray(val) {
      return Array.isArray(val);
    }
    function isUndefined(val) {
      return typeof val === "undefined";
    }
    function isBuffer(val) {
      return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor) && typeof val.constructor.isBuffer === "function" && val.constructor.isBuffer(val);
    }
    function isArrayBuffer(val) {
      return toString.call(val) === "[object ArrayBuffer]";
    }
    function isFormData(val) {
      return toString.call(val) === "[object FormData]";
    }
    function isArrayBufferView(val) {
      var result;
      if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
        result = ArrayBuffer.isView(val);
      } else {
        result = val && val.buffer && isArrayBuffer(val.buffer);
      }
      return result;
    }
    function isString(val) {
      return typeof val === "string";
    }
    function isNumber(val) {
      return typeof val === "number";
    }
    function isObject(val) {
      return val !== null && typeof val === "object";
    }
    function isPlainObject(val) {
      if (toString.call(val) !== "[object Object]") {
        return false;
      }
      var prototype = Object.getPrototypeOf(val);
      return prototype === null || prototype === Object.prototype;
    }
    function isDate(val) {
      return toString.call(val) === "[object Date]";
    }
    function isFile(val) {
      return toString.call(val) === "[object File]";
    }
    function isBlob(val) {
      return toString.call(val) === "[object Blob]";
    }
    function isFunction(val) {
      return toString.call(val) === "[object Function]";
    }
    function isStream(val) {
      return isObject(val) && isFunction(val.pipe);
    }
    function isURLSearchParams(val) {
      return toString.call(val) === "[object URLSearchParams]";
    }
    function trim(str) {
      return str.trim ? str.trim() : str.replace(/^\s+|\s+$/g, "");
    }
    function isStandardBrowserEnv() {
      if (typeof navigator !== "undefined" && (navigator.product === "ReactNative" || navigator.product === "NativeScript" || navigator.product === "NS")) {
        return false;
      }
      return typeof window !== "undefined" && typeof document !== "undefined";
    }
    function forEach(obj, fn) {
      if (obj === null || typeof obj === "undefined") {
        return;
      }
      if (typeof obj !== "object") {
        obj = [obj];
      }
      if (isArray(obj)) {
        for (var i = 0, l = obj.length; i < l; i++) {
          fn.call(null, obj[i], i, obj);
        }
      } else {
        for (var key in obj) {
          if (Object.prototype.hasOwnProperty.call(obj, key)) {
            fn.call(null, obj[key], key, obj);
          }
        }
      }
    }
    function merge() {
      var result = {};
      function assignValue(val, key) {
        if (isPlainObject(result[key]) && isPlainObject(val)) {
          result[key] = merge(result[key], val);
        } else if (isPlainObject(val)) {
          result[key] = merge({}, val);
        } else if (isArray(val)) {
          result[key] = val.slice();
        } else {
          result[key] = val;
        }
      }
      for (var i = 0, l = arguments.length; i < l; i++) {
        forEach(arguments[i], assignValue);
      }
      return result;
    }
    function extend(a, b, thisArg) {
      forEach(b, function assignValue(val, key) {
        if (thisArg && typeof val === "function") {
          a[key] = bind2(val, thisArg);
        } else {
          a[key] = val;
        }
      });
      return a;
    }
    function stripBOM(content) {
      if (content.charCodeAt(0) === 65279) {
        content = content.slice(1);
      }
      return content;
    }
    utils = {
      isArray,
      isArrayBuffer,
      isBuffer,
      isFormData,
      isArrayBufferView,
      isString,
      isNumber,
      isObject,
      isPlainObject,
      isUndefined,
      isDate,
      isFile,
      isBlob,
      isFunction,
      isStream,
      isURLSearchParams,
      isStandardBrowserEnv,
      forEach,
      merge,
      extend,
      trim,
      stripBOM
    };
    return utils;
  }
  var enhanceError;
  var hasRequiredEnhanceError;
  function requireEnhanceError() {
    if (hasRequiredEnhanceError) return enhanceError;
    hasRequiredEnhanceError = 1;
    enhanceError = function enhanceError2(error, config, code, request, response) {
      error.config = config;
      if (code) {
        error.code = code;
      }
      error.request = request;
      error.response = response;
      error.isAxiosError = true;
      error.toJSON = function toJSON() {
        return {
          // Standard
          message: this.message,
          name: this.name,
          // Microsoft
          description: this.description,
          number: this.number,
          // Mozilla
          fileName: this.fileName,
          lineNumber: this.lineNumber,
          columnNumber: this.columnNumber,
          stack: this.stack,
          // Axios
          config: this.config,
          code: this.code,
          status: this.response && this.response.status ? this.response.status : null
        };
      };
      return error;
    };
    return enhanceError;
  }
  var createError;
  var hasRequiredCreateError;
  function requireCreateError() {
    if (hasRequiredCreateError) return createError;
    hasRequiredCreateError = 1;
    var enhanceError2 = requireEnhanceError();
    createError = function createError2(message, config, code, request, response) {
      var error = new Error(message);
      return enhanceError2(error, config, code, request, response);
    };
    return createError;
  }
  var settle;
  var hasRequiredSettle;
  function requireSettle() {
    if (hasRequiredSettle) return settle;
    hasRequiredSettle = 1;
    var createError2 = requireCreateError();
    settle = function settle2(resolve, reject, response) {
      var validateStatus = response.config.validateStatus;
      if (!response.status || !validateStatus || validateStatus(response.status)) {
        resolve(response);
      } else {
        reject(createError2(
          "Request failed with status code " + response.status,
          response.config,
          null,
          response.request,
          response
        ));
      }
    };
    return settle;
  }
  var cookies;
  var hasRequiredCookies;
  function requireCookies() {
    if (hasRequiredCookies) return cookies;
    hasRequiredCookies = 1;
    var utils2 = requireUtils();
    cookies = utils2.isStandardBrowserEnv() ? (
      // Standard browser envs support document.cookie
      /* @__PURE__ */ function standardBrowserEnv() {
        return {
          write: function write(name, value, expires, path, domain, secure) {
            var cookie = [];
            cookie.push(name + "=" + encodeURIComponent(value));
            if (utils2.isNumber(expires)) {
              cookie.push("expires=" + new Date(expires).toGMTString());
            }
            if (utils2.isString(path)) {
              cookie.push("path=" + path);
            }
            if (utils2.isString(domain)) {
              cookie.push("domain=" + domain);
            }
            if (secure === true) {
              cookie.push("secure");
            }
            document.cookie = cookie.join("; ");
          },
          read: function read(name) {
            var match = document.cookie.match(new RegExp("(^|;\\s*)(" + name + ")=([^;]*)"));
            return match ? decodeURIComponent(match[3]) : null;
          },
          remove: function remove(name) {
            this.write(name, "", Date.now() - 864e5);
          }
        };
      }()
    ) : (
      // Non standard browser env (web workers, react-native) lack needed support.
      /* @__PURE__ */ function nonStandardBrowserEnv() {
        return {
          write: function write() {
          },
          read: function read() {
            return null;
          },
          remove: function remove() {
          }
        };
      }()
    );
    return cookies;
  }
  var buildURL;
  var hasRequiredBuildURL;
  function requireBuildURL() {
    if (hasRequiredBuildURL) return buildURL;
    hasRequiredBuildURL = 1;
    var utils2 = requireUtils();
    function encode(val) {
      return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
    }
    buildURL = function buildURL2(url, params, paramsSerializer) {
      if (!params) {
        return url;
      }
      var serializedParams;
      if (paramsSerializer) {
        serializedParams = paramsSerializer(params);
      } else if (utils2.isURLSearchParams(params)) {
        serializedParams = params.toString();
      } else {
        var parts = [];
        utils2.forEach(params, function serialize(val, key) {
          if (val === null || typeof val === "undefined") {
            return;
          }
          if (utils2.isArray(val)) {
            key = key + "[]";
          } else {
            val = [val];
          }
          utils2.forEach(val, function parseValue(v) {
            if (utils2.isDate(v)) {
              v = v.toISOString();
            } else if (utils2.isObject(v)) {
              v = JSON.stringify(v);
            }
            parts.push(encode(key) + "=" + encode(v));
          });
        });
        serializedParams = parts.join("&");
      }
      if (serializedParams) {
        var hashmarkIndex = url.indexOf("#");
        if (hashmarkIndex !== -1) {
          url = url.slice(0, hashmarkIndex);
        }
        url += (url.indexOf("?") === -1 ? "?" : "&") + serializedParams;
      }
      return url;
    };
    return buildURL;
  }
  var isAbsoluteURL;
  var hasRequiredIsAbsoluteURL;
  function requireIsAbsoluteURL() {
    if (hasRequiredIsAbsoluteURL) return isAbsoluteURL;
    hasRequiredIsAbsoluteURL = 1;
    isAbsoluteURL = function isAbsoluteURL2(url) {
      return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
    };
    return isAbsoluteURL;
  }
  var combineURLs;
  var hasRequiredCombineURLs;
  function requireCombineURLs() {
    if (hasRequiredCombineURLs) return combineURLs;
    hasRequiredCombineURLs = 1;
    combineURLs = function combineURLs2(baseURL, relativeURL) {
      return relativeURL ? baseURL.replace(/\/+$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
    };
    return combineURLs;
  }
  var buildFullPath;
  var hasRequiredBuildFullPath;
  function requireBuildFullPath() {
    if (hasRequiredBuildFullPath) return buildFullPath;
    hasRequiredBuildFullPath = 1;
    var isAbsoluteURL2 = requireIsAbsoluteURL();
    var combineURLs2 = requireCombineURLs();
    buildFullPath = function buildFullPath2(baseURL, requestedURL) {
      if (baseURL && !isAbsoluteURL2(requestedURL)) {
        return combineURLs2(baseURL, requestedURL);
      }
      return requestedURL;
    };
    return buildFullPath;
  }
  var parseHeaders;
  var hasRequiredParseHeaders;
  function requireParseHeaders() {
    if (hasRequiredParseHeaders) return parseHeaders;
    hasRequiredParseHeaders = 1;
    var utils2 = requireUtils();
    var ignoreDuplicateOf = [
      "age",
      "authorization",
      "content-length",
      "content-type",
      "etag",
      "expires",
      "from",
      "host",
      "if-modified-since",
      "if-unmodified-since",
      "last-modified",
      "location",
      "max-forwards",
      "proxy-authorization",
      "referer",
      "retry-after",
      "user-agent"
    ];
    parseHeaders = function parseHeaders2(headers) {
      var parsed = {};
      var key;
      var val;
      var i;
      if (!headers) {
        return parsed;
      }
      utils2.forEach(headers.split("\n"), function parser(line) {
        i = line.indexOf(":");
        key = utils2.trim(line.substr(0, i)).toLowerCase();
        val = utils2.trim(line.substr(i + 1));
        if (key) {
          if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
            return;
          }
          if (key === "set-cookie") {
            parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);
          } else {
            parsed[key] = parsed[key] ? parsed[key] + ", " + val : val;
          }
        }
      });
      return parsed;
    };
    return parseHeaders;
  }
  var isURLSameOrigin;
  var hasRequiredIsURLSameOrigin;
  function requireIsURLSameOrigin() {
    if (hasRequiredIsURLSameOrigin) return isURLSameOrigin;
    hasRequiredIsURLSameOrigin = 1;
    var utils2 = requireUtils();
    isURLSameOrigin = utils2.isStandardBrowserEnv() ? (
      // Standard browser envs have full support of the APIs needed to test
      // whether the request URL is of the same origin as current location.
      function standardBrowserEnv() {
        var msie = /(msie|trident)/i.test(navigator.userAgent);
        var urlParsingNode = document.createElement("a");
        var originURL;
        function resolveURL(url) {
          var href = url;
          if (msie) {
            urlParsingNode.setAttribute("href", href);
            href = urlParsingNode.href;
          }
          urlParsingNode.setAttribute("href", href);
          return {
            href: urlParsingNode.href,
            protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, "") : "",
            host: urlParsingNode.host,
            search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, "") : "",
            hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, "") : "",
            hostname: urlParsingNode.hostname,
            port: urlParsingNode.port,
            pathname: urlParsingNode.pathname.charAt(0) === "/" ? urlParsingNode.pathname : "/" + urlParsingNode.pathname
          };
        }
        originURL = resolveURL(window.location.href);
        return function isURLSameOrigin2(requestURL) {
          var parsed = utils2.isString(requestURL) ? resolveURL(requestURL) : requestURL;
          return parsed.protocol === originURL.protocol && parsed.host === originURL.host;
        };
      }()
    ) : (
      // Non standard browser envs (web workers, react-native) lack needed support.
      /* @__PURE__ */ function nonStandardBrowserEnv() {
        return function isURLSameOrigin2() {
          return true;
        };
      }()
    );
    return isURLSameOrigin;
  }
  var transitional;
  var hasRequiredTransitional;
  function requireTransitional() {
    if (hasRequiredTransitional) return transitional;
    hasRequiredTransitional = 1;
    transitional = {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    };
    return transitional;
  }
  var Cancel_1;
  var hasRequiredCancel;
  function requireCancel() {
    if (hasRequiredCancel) return Cancel_1;
    hasRequiredCancel = 1;
    function Cancel(message) {
      this.message = message;
    }
    Cancel.prototype.toString = function toString() {
      return "Cancel" + (this.message ? ": " + this.message : "");
    };
    Cancel.prototype.__CANCEL__ = true;
    Cancel_1 = Cancel;
    return Cancel_1;
  }
  var xhr;
  var hasRequiredXhr;
  function requireXhr() {
    if (hasRequiredXhr) return xhr;
    hasRequiredXhr = 1;
    var utils2 = requireUtils();
    var settle2 = requireSettle();
    var cookies2 = requireCookies();
    var buildURL2 = requireBuildURL();
    var buildFullPath2 = requireBuildFullPath();
    var parseHeaders2 = requireParseHeaders();
    var isURLSameOrigin2 = requireIsURLSameOrigin();
    var createError2 = requireCreateError();
    var transitionalDefaults = requireTransitional();
    var Cancel = requireCancel();
    xhr = function xhrAdapter(config) {
      return new Promise(function dispatchXhrRequest(resolve, reject) {
        var requestData = config.data;
        var requestHeaders = config.headers;
        var responseType = config.responseType;
        var onCanceled;
        function done() {
          if (config.cancelToken) {
            config.cancelToken.unsubscribe(onCanceled);
          }
          if (config.signal) {
            config.signal.removeEventListener("abort", onCanceled);
          }
        }
        if (utils2.isFormData(requestData)) {
          delete requestHeaders["Content-Type"];
        }
        var request = new XMLHttpRequest();
        if (config.auth) {
          var username = config.auth.username || "";
          var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : "";
          requestHeaders.Authorization = "Basic " + btoa(username + ":" + password);
        }
        var fullPath = buildFullPath2(config.baseURL, config.url);
        request.open(config.method.toUpperCase(), buildURL2(fullPath, config.params, config.paramsSerializer), true);
        request.timeout = config.timeout;
        function onloadend() {
          if (!request) {
            return;
          }
          var responseHeaders = "getAllResponseHeaders" in request ? parseHeaders2(request.getAllResponseHeaders()) : null;
          var responseData = !responseType || responseType === "text" || responseType === "json" ? request.responseText : request.response;
          var response = {
            data: responseData,
            status: request.status,
            statusText: request.statusText,
            headers: responseHeaders,
            config,
            request
          };
          settle2(function _resolve(value) {
            resolve(value);
            done();
          }, function _reject(err) {
            reject(err);
            done();
          }, response);
          request = null;
        }
        if ("onloadend" in request) {
          request.onloadend = onloadend;
        } else {
          request.onreadystatechange = function handleLoad() {
            if (!request || request.readyState !== 4) {
              return;
            }
            if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf("file:") === 0)) {
              return;
            }
            setTimeout(onloadend);
          };
        }
        request.onabort = function handleAbort() {
          if (!request) {
            return;
          }
          reject(createError2("Request aborted", config, "ECONNABORTED", request));
          request = null;
        };
        request.onerror = function handleError() {
          reject(createError2("Network Error", config, null, request));
          request = null;
        };
        request.ontimeout = function handleTimeout() {
          var timeoutErrorMessage = config.timeout ? "timeout of " + config.timeout + "ms exceeded" : "timeout exceeded";
          var transitional2 = config.transitional || transitionalDefaults;
          if (config.timeoutErrorMessage) {
            timeoutErrorMessage = config.timeoutErrorMessage;
          }
          reject(createError2(
            timeoutErrorMessage,
            config,
            transitional2.clarifyTimeoutError ? "ETIMEDOUT" : "ECONNABORTED",
            request
          ));
          request = null;
        };
        if (utils2.isStandardBrowserEnv()) {
          var xsrfValue = (config.withCredentials || isURLSameOrigin2(fullPath)) && config.xsrfCookieName ? cookies2.read(config.xsrfCookieName) : void 0;
          if (xsrfValue) {
            requestHeaders[config.xsrfHeaderName] = xsrfValue;
          }
        }
        if ("setRequestHeader" in request) {
          utils2.forEach(requestHeaders, function setRequestHeader(val, key) {
            if (typeof requestData === "undefined" && key.toLowerCase() === "content-type") {
              delete requestHeaders[key];
            } else {
              request.setRequestHeader(key, val);
            }
          });
        }
        if (!utils2.isUndefined(config.withCredentials)) {
          request.withCredentials = !!config.withCredentials;
        }
        if (responseType && responseType !== "json") {
          request.responseType = config.responseType;
        }
        if (typeof config.onDownloadProgress === "function") {
          request.addEventListener("progress", config.onDownloadProgress);
        }
        if (typeof config.onUploadProgress === "function" && request.upload) {
          request.upload.addEventListener("progress", config.onUploadProgress);
        }
        if (config.cancelToken || config.signal) {
          onCanceled = function(cancel) {
            if (!request) {
              return;
            }
            reject(!cancel || cancel && cancel.type ? new Cancel("canceled") : cancel);
            request.abort();
            request = null;
          };
          config.cancelToken && config.cancelToken.subscribe(onCanceled);
          if (config.signal) {
            config.signal.aborted ? onCanceled() : config.signal.addEventListener("abort", onCanceled);
          }
        }
        if (!requestData) {
          requestData = null;
        }
        request.send(requestData);
      });
    };
    return xhr;
  }
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { 3653: function(e2, t2, n2) {
          e2.exports = n2(1555);
        }, 9685: function(e2, t2, n2) {
          var r2 = n2(501), o = n2(3063), i = n2(9233), a = n2(4306), s = n2(5938), c = n2(2644), u = n2(3977), d = n2(135);
          e2.exports = function(e3) {
            return new Promise(function(t3, n3) {
              var l = e3.data, p = e3.headers, m = e3.responseType;
              r2.isFormData(l) && delete p["Content-Type"];
              var f = new XMLHttpRequest();
              if (e3.auth) {
                var h = e3.auth.username || "", g = e3.auth.password ? unescape(encodeURIComponent(e3.auth.password)) : "";
                p.Authorization = "Basic " + btoa(h + ":" + g);
              }
              var y = s(e3.baseURL, e3.url);
              function v() {
                if (f) {
                  var r3 = "getAllResponseHeaders" in f ? c(f.getAllResponseHeaders()) : null, i2 = { data: m && "text" !== m && "json" !== m ? f.response : f.responseText, status: f.status, statusText: f.statusText, headers: r3, config: e3, request: f };
                  o(t3, n3, i2), f = null;
                }
              }
              if (f.open(e3.method.toUpperCase(), a(y, e3.params, e3.paramsSerializer), true), f.timeout = e3.timeout, "onloadend" in f ? f.onloadend = v : f.onreadystatechange = function() {
                f && 4 === f.readyState && (0 !== f.status || f.responseURL && 0 === f.responseURL.indexOf("file:")) && setTimeout(v);
              }, f.onabort = function() {
                f && (n3(d("Request aborted", e3, "ECONNABORTED", f)), f = null);
              }, f.onerror = function() {
                n3(d("Network Error", e3, null, f)), f = null;
              }, f.ontimeout = function() {
                var t4 = "timeout of " + e3.timeout + "ms exceeded";
                e3.timeoutErrorMessage && (t4 = e3.timeoutErrorMessage), n3(d(t4, e3, e3.transitional && e3.transitional.clarifyTimeoutError ? "ETIMEDOUT" : "ECONNABORTED", f)), f = null;
              }, r2.isStandardBrowserEnv()) {
                var N = (e3.withCredentials || u(y)) && e3.xsrfCookieName ? i.read(e3.xsrfCookieName) : void 0;
                N && (p[e3.xsrfHeaderName] = N);
              }
              "setRequestHeader" in f && r2.forEach(p, function(e4, t4) {
                void 0 === l && "content-type" === t4.toLowerCase() ? delete p[t4] : f.setRequestHeader(t4, e4);
              }), r2.isUndefined(e3.withCredentials) || (f.withCredentials = !!e3.withCredentials), m && "json" !== m && (f.responseType = e3.responseType), "function" == typeof e3.onDownloadProgress && f.addEventListener("progress", e3.onDownloadProgress), "function" == typeof e3.onUploadProgress && f.upload && f.upload.addEventListener("progress", e3.onUploadProgress), e3.cancelToken && e3.cancelToken.promise.then(function(e4) {
                f && (f.abort(), n3(e4), f = null);
              }), l || (l = null), f.send(l);
            });
          };
        }, 1555: function(e2, t2, n2) {
          var r2 = n2(501), o = n2(2958), i = n2(7303), a = n2(2445);
          function s(e3) {
            var t3 = new i(e3), n3 = o(i.prototype.request, t3);
            return r2.extend(n3, i.prototype, t3), r2.extend(n3, t3), n3;
          }
          var c = s(n2(2036));
          c.Axios = i, c.create = function(e3) {
            return s(a(c.defaults, e3));
          }, c.Cancel = n2(5930), c.CancelToken = n2(9939), c.isCancel = n2(8414), c.all = function(e3) {
            return Promise.all(e3);
          }, c.spread = n2(363), c.isAxiosError = n2(9465), e2.exports = c, e2.exports.default = c;
        }, 5930: function(e2) {
          function t2(e3) {
            this.message = e3;
          }
          t2.prototype.toString = function() {
            return "Cancel" + (this.message ? ": " + this.message : "");
          }, t2.prototype.__CANCEL__ = true, e2.exports = t2;
        }, 9939: function(e2, t2, n2) {
          var r2 = n2(5930);
          function o(e3) {
            if ("function" != typeof e3) throw new TypeError("executor must be a function.");
            var t3;
            this.promise = new Promise(function(e4) {
              t3 = e4;
            });
            var n3 = this;
            e3(function(e4) {
              n3.reason || (n3.reason = new r2(e4), t3(n3.reason));
            });
          }
          o.prototype.throwIfRequested = function() {
            if (this.reason) throw this.reason;
          }, o.source = function() {
            var e3;
            return { token: new o(function(t3) {
              e3 = t3;
            }), cancel: e3 };
          }, e2.exports = o;
        }, 8414: function(e2) {
          e2.exports = function(e3) {
            return !(!e3 || !e3.__CANCEL__);
          };
        }, 7303: function(e2, t2, n2) {
          var r2 = n2(501), o = n2(4306), i = n2(6942), a = n2(6158), s = n2(2445), c = n2(7169), u = c.validators;
          function d(e3) {
            this.defaults = e3, this.interceptors = { request: new i(), response: new i() };
          }
          d.prototype.request = function(e3) {
            "string" == typeof e3 ? (e3 = arguments[1] || {}).url = arguments[0] : e3 = e3 || {}, (e3 = s(this.defaults, e3)).method ? e3.method = e3.method.toLowerCase() : this.defaults.method ? e3.method = this.defaults.method.toLowerCase() : e3.method = "get";
            var t3 = e3.transitional;
            void 0 !== t3 && c.assertOptions(t3, { silentJSONParsing: u.transitional(u.boolean, "1.0.0"), forcedJSONParsing: u.transitional(u.boolean, "1.0.0"), clarifyTimeoutError: u.transitional(u.boolean, "1.0.0") }, false);
            var n3 = [], r3 = true;
            this.interceptors.request.forEach(function(t4) {
              "function" == typeof t4.runWhen && false === t4.runWhen(e3) || (r3 = r3 && t4.synchronous, n3.unshift(t4.fulfilled, t4.rejected));
            });
            var o2, i2 = [];
            if (this.interceptors.response.forEach(function(e4) {
              i2.push(e4.fulfilled, e4.rejected);
            }), !r3) {
              var d2 = [a, void 0];
              for (Array.prototype.unshift.apply(d2, n3), d2 = d2.concat(i2), o2 = Promise.resolve(e3); d2.length; ) o2 = o2.then(d2.shift(), d2.shift());
              return o2;
            }
            for (var l = e3; n3.length; ) {
              var p = n3.shift(), m = n3.shift();
              try {
                l = p(l);
              } catch (e4) {
                m(e4);
                break;
              }
            }
            try {
              o2 = a(l);
            } catch (e4) {
              return Promise.reject(e4);
            }
            for (; i2.length; ) o2 = o2.then(i2.shift(), i2.shift());
            return o2;
          }, d.prototype.getUri = function(e3) {
            return e3 = s(this.defaults, e3), o(e3.url, e3.params, e3.paramsSerializer).replace(/^\?/, "");
          }, r2.forEach(["delete", "get", "head", "options"], function(e3) {
            d.prototype[e3] = function(t3, n3) {
              return this.request(s(n3 || {}, { method: e3, url: t3, data: (n3 || {}).data }));
            };
          }), r2.forEach(["post", "put", "patch"], function(e3) {
            d.prototype[e3] = function(t3, n3, r3) {
              return this.request(s(r3 || {}, { method: e3, url: t3, data: n3 }));
            };
          }), e2.exports = d;
        }, 6942: function(e2, t2, n2) {
          var r2 = n2(501);
          function o() {
            this.handlers = [];
          }
          o.prototype.use = function(e3, t3, n3) {
            return this.handlers.push({ fulfilled: e3, rejected: t3, synchronous: !!n3 && n3.synchronous, runWhen: n3 ? n3.runWhen : null }), this.handlers.length - 1;
          }, o.prototype.eject = function(e3) {
            this.handlers[e3] && (this.handlers[e3] = null);
          }, o.prototype.forEach = function(e3) {
            r2.forEach(this.handlers, function(t3) {
              null !== t3 && e3(t3);
            });
          }, e2.exports = o;
        }, 5938: function(e2, t2, n2) {
          var r2 = n2(3473), o = n2(533);
          e2.exports = function(e3, t3) {
            return e3 && !r2(t3) ? o(e3, t3) : t3;
          };
        }, 135: function(e2, t2, n2) {
          var r2 = n2(7889);
          e2.exports = function(e3, t3, n3, o, i) {
            var a = new Error(e3);
            return r2(a, t3, n3, o, i);
          };
        }, 6158: function(e2, t2, n2) {
          var r2 = n2(501), o = n2(4097), i = n2(8414), a = n2(2036);
          function s(e3) {
            e3.cancelToken && e3.cancelToken.throwIfRequested();
          }
          e2.exports = function(e3) {
            return s(e3), e3.headers = e3.headers || {}, e3.data = o.call(e3, e3.data, e3.headers, e3.transformRequest), e3.headers = r2.merge(e3.headers.common || {}, e3.headers[e3.method] || {}, e3.headers), r2.forEach(["delete", "get", "head", "post", "put", "patch", "common"], function(t3) {
              delete e3.headers[t3];
            }), (e3.adapter || a.adapter)(e3).then(function(t3) {
              return s(e3), t3.data = o.call(e3, t3.data, t3.headers, e3.transformResponse), t3;
            }, function(t3) {
              return i(t3) || (s(e3), t3 && t3.response && (t3.response.data = o.call(e3, t3.response.data, t3.response.headers, e3.transformResponse))), Promise.reject(t3);
            });
          };
        }, 7889: function(e2) {
          e2.exports = function(e3, t2, n2, r2, o) {
            return e3.config = t2, n2 && (e3.code = n2), e3.request = r2, e3.response = o, e3.isAxiosError = true, e3.toJSON = function() {
              return { message: this.message, name: this.name, description: this.description, number: this.number, fileName: this.fileName, lineNumber: this.lineNumber, columnNumber: this.columnNumber, stack: this.stack, config: this.config, code: this.code };
            }, e3;
          };
        }, 2445: function(e2, t2, n2) {
          var r2 = n2(501);
          e2.exports = function(e3, t3) {
            t3 = t3 || {};
            var n3 = {}, o = ["url", "method", "data"], i = ["headers", "auth", "proxy", "params"], a = ["baseURL", "transformRequest", "transformResponse", "paramsSerializer", "timeout", "timeoutMessage", "withCredentials", "adapter", "responseType", "xsrfCookieName", "xsrfHeaderName", "onUploadProgress", "onDownloadProgress", "decompress", "maxContentLength", "maxBodyLength", "maxRedirects", "transport", "httpAgent", "httpsAgent", "cancelToken", "socketPath", "responseEncoding"], s = ["validateStatus"];
            function c(e4, t4) {
              return r2.isPlainObject(e4) && r2.isPlainObject(t4) ? r2.merge(e4, t4) : r2.isPlainObject(t4) ? r2.merge({}, t4) : r2.isArray(t4) ? t4.slice() : t4;
            }
            function u(o2) {
              r2.isUndefined(t3[o2]) ? r2.isUndefined(e3[o2]) || (n3[o2] = c(void 0, e3[o2])) : n3[o2] = c(e3[o2], t3[o2]);
            }
            r2.forEach(o, function(e4) {
              r2.isUndefined(t3[e4]) || (n3[e4] = c(void 0, t3[e4]));
            }), r2.forEach(i, u), r2.forEach(a, function(o2) {
              r2.isUndefined(t3[o2]) ? r2.isUndefined(e3[o2]) || (n3[o2] = c(void 0, e3[o2])) : n3[o2] = c(void 0, t3[o2]);
            }), r2.forEach(s, function(r3) {
              r3 in t3 ? n3[r3] = c(e3[r3], t3[r3]) : r3 in e3 && (n3[r3] = c(void 0, e3[r3]));
            });
            var d = o.concat(i).concat(a).concat(s), l = Object.keys(e3).concat(Object.keys(t3)).filter(function(e4) {
              return -1 === d.indexOf(e4);
            });
            return r2.forEach(l, u), n3;
          };
        }, 3063: function(e2, t2, n2) {
          var r2 = n2(135);
          e2.exports = function(e3, t3, n3) {
            var o = n3.config.validateStatus;
            n3.status && o && !o(n3.status) ? t3(r2("Request failed with status code " + n3.status, n3.config, null, n3.request, n3)) : e3(n3);
          };
        }, 4097: function(e2, t2, n2) {
          var r2 = n2(501), o = n2(2036);
          e2.exports = function(e3, t3, n3) {
            var i = this || o;
            return r2.forEach(n3, function(n4) {
              e3 = n4.call(i, e3, t3);
            }), e3;
          };
        }, 2036: function(e2, t2, n2) {
          var r2 = n2(3158), o = n2(501), i = n2(4799), a = n2(7889), s = { "Content-Type": "application/x-www-form-urlencoded" };
          function c(e3, t3) {
            !o.isUndefined(e3) && o.isUndefined(e3["Content-Type"]) && (e3["Content-Type"] = t3);
          }
          var u, d = { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: (("undefined" != typeof XMLHttpRequest || void 0 !== r2 && "[object process]" === Object.prototype.toString.call(r2)) && (u = n2(9685)), u), transformRequest: [function(e3, t3) {
            return i(t3, "Accept"), i(t3, "Content-Type"), o.isFormData(e3) || o.isArrayBuffer(e3) || o.isBuffer(e3) || o.isStream(e3) || o.isFile(e3) || o.isBlob(e3) ? e3 : o.isArrayBufferView(e3) ? e3.buffer : o.isURLSearchParams(e3) ? (c(t3, "application/x-www-form-urlencoded;charset=utf-8"), e3.toString()) : o.isObject(e3) || t3 && "application/json" === t3["Content-Type"] ? (c(t3, "application/json"), function(e4, t4, n3) {
              if (o.isString(e4)) try {
                return (t4 || JSON.parse)(e4), o.trim(e4);
              } catch (e5) {
                if ("SyntaxError" !== e5.name) throw e5;
              }
              return (n3 || JSON.stringify)(e4);
            }(e3)) : e3;
          }], transformResponse: [function(e3) {
            var t3 = this.transitional, n3 = t3 && t3.silentJSONParsing, r3 = t3 && t3.forcedJSONParsing, i2 = !n3 && "json" === this.responseType;
            if (i2 || r3 && o.isString(e3) && e3.length) try {
              return JSON.parse(e3);
            } catch (e4) {
              if (i2) {
                if ("SyntaxError" === e4.name) throw a(e4, this, "E_JSON_PARSE");
                throw e4;
              }
            }
            return e3;
          }], timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, validateStatus: function(e3) {
            return e3 >= 200 && e3 < 300;
          } };
          d.headers = { common: { Accept: "application/json, text/plain, */*" } }, o.forEach(["delete", "get", "head"], function(e3) {
            d.headers[e3] = {};
          }), o.forEach(["post", "put", "patch"], function(e3) {
            d.headers[e3] = o.merge(s);
          }), e2.exports = d;
        }, 2958: function(e2) {
          e2.exports = function(e3, t2) {
            return function() {
              for (var n2 = new Array(arguments.length), r2 = 0; r2 < n2.length; r2++) n2[r2] = arguments[r2];
              return e3.apply(t2, n2);
            };
          };
        }, 4306: function(e2, t2, n2) {
          var r2 = n2(501);
          function o(e3) {
            return encodeURIComponent(e3).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
          }
          e2.exports = function(e3, t3, n3) {
            if (!t3) return e3;
            var i;
            if (n3) i = n3(t3);
            else if (r2.isURLSearchParams(t3)) i = t3.toString();
            else {
              var a = [];
              r2.forEach(t3, function(e4, t4) {
                null != e4 && (r2.isArray(e4) ? t4 += "[]" : e4 = [e4], r2.forEach(e4, function(e5) {
                  r2.isDate(e5) ? e5 = e5.toISOString() : r2.isObject(e5) && (e5 = JSON.stringify(e5)), a.push(o(t4) + "=" + o(e5));
                }));
              }), i = a.join("&");
            }
            if (i) {
              var s = e3.indexOf("#");
              -1 !== s && (e3 = e3.slice(0, s)), e3 += (-1 === e3.indexOf("?") ? "?" : "&") + i;
            }
            return e3;
          };
        }, 533: function(e2) {
          e2.exports = function(e3, t2) {
            return t2 ? e3.replace(/\/+$/, "") + "/" + t2.replace(/^\/+/, "") : e3;
          };
        }, 9233: function(e2, t2, n2) {
          var r2 = n2(501);
          e2.exports = r2.isStandardBrowserEnv() ? { write: function(e3, t3, n3, o, i, a) {
            var s = [];
            s.push(e3 + "=" + encodeURIComponent(t3)), r2.isNumber(n3) && s.push("expires=" + new Date(n3).toGMTString()), r2.isString(o) && s.push("path=" + o), r2.isString(i) && s.push("domain=" + i), true === a && s.push("secure"), document.cookie = s.join("; ");
          }, read: function(e3) {
            var t3 = document.cookie.match(new RegExp("(^|;\\s*)(" + e3 + ")=([^;]*)"));
            return t3 ? decodeURIComponent(t3[3]) : null;
          }, remove: function(e3) {
            this.write(e3, "", Date.now() - 864e5);
          } } : { write: function() {
          }, read: function() {
            return null;
          }, remove: function() {
          } };
        }, 3473: function(e2) {
          e2.exports = function(e3) {
            return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e3);
          };
        }, 9465: function(e2) {
          e2.exports = function(e3) {
            return "object" == typeof e3 && true === e3.isAxiosError;
          };
        }, 3977: function(e2, t2, n2) {
          var r2 = n2(501);
          e2.exports = r2.isStandardBrowserEnv() ? function() {
            var e3, t3 = /(msie|trident)/i.test(navigator.userAgent), n3 = document.createElement("a");
            function o(e4) {
              var r3 = e4;
              return t3 && (n3.setAttribute("href", r3), r3 = n3.href), n3.setAttribute("href", r3), { href: n3.href, protocol: n3.protocol ? n3.protocol.replace(/:$/, "") : "", host: n3.host, search: n3.search ? n3.search.replace(/^\?/, "") : "", hash: n3.hash ? n3.hash.replace(/^#/, "") : "", hostname: n3.hostname, port: n3.port, pathname: "/" === n3.pathname.charAt(0) ? n3.pathname : "/" + n3.pathname };
            }
            return e3 = o(window.location.href), function(t4) {
              var n4 = r2.isString(t4) ? o(t4) : t4;
              return n4.protocol === e3.protocol && n4.host === e3.host;
            };
          }() : function() {
            return true;
          };
        }, 4799: function(e2, t2, n2) {
          var r2 = n2(501);
          e2.exports = function(e3, t3) {
            r2.forEach(e3, function(n3, r3) {
              r3 !== t3 && r3.toUpperCase() === t3.toUpperCase() && (e3[t3] = n3, delete e3[r3]);
            });
          };
        }, 2644: function(e2, t2, n2) {
          var r2 = n2(501), o = ["age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent"];
          e2.exports = function(e3) {
            var t3, n3, i, a = {};
            return e3 ? (r2.forEach(e3.split("\n"), function(e4) {
              if (i = e4.indexOf(":"), t3 = r2.trim(e4.substr(0, i)).toLowerCase(), n3 = r2.trim(e4.substr(i + 1)), t3) {
                if (a[t3] && o.indexOf(t3) >= 0) return;
                a[t3] = "set-cookie" === t3 ? (a[t3] ? a[t3] : []).concat([n3]) : a[t3] ? a[t3] + ", " + n3 : n3;
              }
            }), a) : a;
          };
        }, 363: function(e2) {
          e2.exports = function(e3) {
            return function(t2) {
              return e3.apply(null, t2);
            };
          };
        }, 7169: function(e2, t2, n2) {
          var r2 = n2(6837), o = {};
          ["object", "boolean", "number", "function", "string", "symbol"].forEach(function(e3, t3) {
            o[e3] = function(n3) {
              return typeof n3 === e3 || "a" + (t3 < 1 ? "n " : " ") + e3;
            };
          });
          var i = {}, a = r2.version.split(".");
          function s(e3, t3) {
            for (var n3 = t3 ? t3.split(".") : a, r3 = e3.split("."), o2 = 0; o2 < 3; o2++) {
              if (n3[o2] > r3[o2]) return true;
              if (n3[o2] < r3[o2]) return false;
            }
            return false;
          }
          o.transitional = function(e3, t3, n3) {
            var o2 = t3 && s(t3);
            function a2(e4, t4) {
              return "[Axios v" + r2.version + "] Transitional option '" + e4 + "'" + t4 + (n3 ? ". " + n3 : "");
            }
            return function(n4, r3, s2) {
              if (false === e3) throw new Error(a2(r3, " has been removed in " + t3));
              return o2 && !i[r3] && (i[r3] = true, console.warn(a2(r3, " has been deprecated since v" + t3 + " and will be removed in the near future"))), !e3 || e3(n4, r3, s2);
            };
          }, e2.exports = { isOlderVersion: s, assertOptions: function(e3, t3, n3) {
            if ("object" != typeof e3) throw new TypeError("options must be an object");
            for (var r3 = Object.keys(e3), o2 = r3.length; o2-- > 0; ) {
              var i2 = r3[o2], a2 = t3[i2];
              if (a2) {
                var s2 = e3[i2], c = void 0 === s2 || a2(s2, i2, e3);
                if (true !== c) throw new TypeError("option " + i2 + " must be " + c);
              } else if (true !== n3) throw Error("Unknown option " + i2);
            }
          }, validators: o };
        }, 501: function(e2, t2, n2) {
          var r2 = n2(2958), o = Object.prototype.toString;
          function i(e3) {
            return "[object Array]" === o.call(e3);
          }
          function a(e3) {
            return void 0 === e3;
          }
          function s(e3) {
            return null !== e3 && "object" == typeof e3;
          }
          function c(e3) {
            if ("[object Object]" !== o.call(e3)) return false;
            var t3 = Object.getPrototypeOf(e3);
            return null === t3 || t3 === Object.prototype;
          }
          function u(e3) {
            return "[object Function]" === o.call(e3);
          }
          function d(e3, t3) {
            if (null != e3) if ("object" != typeof e3 && (e3 = [e3]), i(e3)) for (var n3 = 0, r3 = e3.length; n3 < r3; n3++) t3.call(null, e3[n3], n3, e3);
            else for (var o2 in e3) Object.prototype.hasOwnProperty.call(e3, o2) && t3.call(null, e3[o2], o2, e3);
          }
          e2.exports = { isArray: i, isArrayBuffer: function(e3) {
            return "[object ArrayBuffer]" === o.call(e3);
          }, isBuffer: function(e3) {
            return null !== e3 && !a(e3) && null !== e3.constructor && !a(e3.constructor) && "function" == typeof e3.constructor.isBuffer && e3.constructor.isBuffer(e3);
          }, isFormData: function(e3) {
            return "undefined" != typeof FormData && e3 instanceof FormData;
          }, isArrayBufferView: function(e3) {
            return "undefined" != typeof ArrayBuffer && ArrayBuffer.isView ? ArrayBuffer.isView(e3) : e3 && e3.buffer && e3.buffer instanceof ArrayBuffer;
          }, isString: function(e3) {
            return "string" == typeof e3;
          }, isNumber: function(e3) {
            return "number" == typeof e3;
          }, isObject: s, isPlainObject: c, isUndefined: a, isDate: function(e3) {
            return "[object Date]" === o.call(e3);
          }, isFile: function(e3) {
            return "[object File]" === o.call(e3);
          }, isBlob: function(e3) {
            return "[object Blob]" === o.call(e3);
          }, isFunction: u, isStream: function(e3) {
            return s(e3) && u(e3.pipe);
          }, isURLSearchParams: function(e3) {
            return "undefined" != typeof URLSearchParams && e3 instanceof URLSearchParams;
          }, isStandardBrowserEnv: function() {
            return ("undefined" == typeof navigator || "ReactNative" !== navigator.product && "NativeScript" !== navigator.product && "NS" !== navigator.product) && ("undefined" != typeof window && "undefined" != typeof document);
          }, forEach: d, merge: function e3() {
            var t3 = {};
            function n3(n4, r4) {
              c(t3[r4]) && c(n4) ? t3[r4] = e3(t3[r4], n4) : c(n4) ? t3[r4] = e3({}, n4) : i(n4) ? t3[r4] = n4.slice() : t3[r4] = n4;
            }
            for (var r3 = 0, o2 = arguments.length; r3 < o2; r3++) d(arguments[r3], n3);
            return t3;
          }, extend: function(e3, t3, n3) {
            return d(t3, function(t4, o2) {
              e3[o2] = n3 && "function" == typeof t4 ? r2(t4, n3) : t4;
            }), e3;
          }, trim: function(e3) {
            return e3.trim ? e3.trim() : e3.replace(/^\s+|\s+$/g, "");
          }, stripBOM: function(e3) {
            return 65279 === e3.charCodeAt(0) && (e3 = e3.slice(1)), e3;
          } };
        }, 8144: function(e2, t2, n2) {
          var r2;
          e2 = n2.nmd(e2), function(o) {
            var a = (e2 && e2.exports, "object" == typeof n2.g && n2.g);
            a.global !== a && a.window;
            var s = function(e3) {
              this.message = e3;
            };
            (s.prototype = new Error()).name = "InvalidCharacterError";
            var c = function(e3) {
              throw new s(e3);
            }, u = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", d = /[\t\n\f\r ]/g, l = { encode: function(e3) {
              e3 = String(e3), /[^\0-\xFF]/.test(e3) && c("The string to be encoded contains characters outside of the Latin1 range.");
              for (var t3, n3, r3, o2, i = e3.length % 3, a2 = "", s2 = -1, d2 = e3.length - i; ++s2 < d2; ) t3 = e3.charCodeAt(s2) << 16, n3 = e3.charCodeAt(++s2) << 8, r3 = e3.charCodeAt(++s2), a2 += u.charAt((o2 = t3 + n3 + r3) >> 18 & 63) + u.charAt(o2 >> 12 & 63) + u.charAt(o2 >> 6 & 63) + u.charAt(63 & o2);
              return 2 == i ? (t3 = e3.charCodeAt(s2) << 8, n3 = e3.charCodeAt(++s2), a2 += u.charAt((o2 = t3 + n3) >> 10) + u.charAt(o2 >> 4 & 63) + u.charAt(o2 << 2 & 63) + "=") : 1 == i && (o2 = e3.charCodeAt(s2), a2 += u.charAt(o2 >> 2) + u.charAt(o2 << 4 & 63) + "=="), a2;
            }, decode: function(e3) {
              var t3 = (e3 = String(e3).replace(d, "")).length;
              t3 % 4 == 0 && (t3 = (e3 = e3.replace(/==?$/, "")).length), (t3 % 4 == 1 || /[^+a-zA-Z0-9/]/.test(e3)) && c("Invalid character: the string to be decoded is not correctly encoded.");
              for (var n3, r3, o2 = 0, i = "", a2 = -1; ++a2 < t3; ) r3 = u.indexOf(e3.charAt(a2)), n3 = o2 % 4 ? 64 * n3 + r3 : r3, o2++ % 4 && (i += String.fromCharCode(255 & n3 >> (-2 * o2 & 6)));
              return i;
            }, version: "1.0.0" };
            void 0 === (r2 = function() {
              return l;
            }.call(t2, n2, t2, e2)) || (e2.exports = r2);
          }();
        }, 3158: function(e2) {
          var t2, n2, r2 = e2.exports = {};
          function o() {
            throw new Error("setTimeout has not been defined");
          }
          function i() {
            throw new Error("clearTimeout has not been defined");
          }
          function a(e3) {
            if (t2 === setTimeout) return setTimeout(e3, 0);
            if ((t2 === o || !t2) && setTimeout) return t2 = setTimeout, setTimeout(e3, 0);
            try {
              return t2(e3, 0);
            } catch (n3) {
              try {
                return t2.call(null, e3, 0);
              } catch (n4) {
                return t2.call(this, e3, 0);
              }
            }
          }
          !function() {
            try {
              t2 = "function" == typeof setTimeout ? setTimeout : o;
            } catch (e3) {
              t2 = o;
            }
            try {
              n2 = "function" == typeof clearTimeout ? clearTimeout : i;
            } catch (e3) {
              n2 = i;
            }
          }();
          var s, c = [], u = false, d = -1;
          function l() {
            u && s && (u = false, s.length ? c = s.concat(c) : d = -1, c.length && p());
          }
          function p() {
            if (!u) {
              var e3 = a(l);
              u = true;
              for (var t3 = c.length; t3; ) {
                for (s = c, c = []; ++d < t3; ) s && s[d].run();
                d = -1, t3 = c.length;
              }
              s = null, u = false, function(e4) {
                if (n2 === clearTimeout) return clearTimeout(e4);
                if ((n2 === i || !n2) && clearTimeout) return n2 = clearTimeout, clearTimeout(e4);
                try {
                  return n2(e4);
                } catch (t4) {
                  try {
                    return n2.call(null, e4);
                  } catch (t5) {
                    return n2.call(this, e4);
                  }
                }
              }(e3);
            }
          }
          function m(e3, t3) {
            this.fun = e3, this.array = t3;
          }
          function f() {
          }
          r2.nextTick = function(e3) {
            var t3 = new Array(arguments.length - 1);
            if (arguments.length > 1) for (var n3 = 1; n3 < arguments.length; n3++) t3[n3 - 1] = arguments[n3];
            c.push(new m(e3, t3)), 1 !== c.length || u || a(p);
          }, m.prototype.run = function() {
            this.fun.apply(null, this.array);
          }, r2.title = "browser", r2.browser = true, r2.env = {}, r2.argv = [], r2.version = "", r2.versions = {}, r2.on = f, r2.addListener = f, r2.once = f, r2.off = f, r2.removeListener = f, r2.removeAllListeners = f, r2.emit = f, r2.prependListener = f, r2.prependOnceListener = f, r2.listeners = function(e3) {
            return [];
          }, r2.binding = function(e3) {
            throw new Error("process.binding is not supported");
          }, r2.cwd = function() {
            return "/";
          }, r2.chdir = function(e3) {
            throw new Error("process.chdir is not supported");
          }, r2.umask = function() {
            return 0;
          };
        }, 6837: function(e2) {
          e2.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}');
        } }, t = {};
        function n(r2) {
          var o = t[r2];
          if (void 0 !== o) return o.exports;
          var i = t[r2] = { id: r2, loaded: false, exports: {} };
          return e[r2].call(i.exports, i, i.exports, n), i.loaded = true, i.exports;
        }
        n.n = function(e2) {
          var t2 = e2 && e2.__esModule ? function() {
            return e2.default;
          } : function() {
            return e2;
          };
          return n.d(t2, { a: t2 }), t2;
        }, n.d = function(e2, t2) {
          for (var r2 in t2) n.o(t2, r2) && !n.o(e2, r2) && Object.defineProperty(e2, r2, { enumerable: true, get: t2[r2] });
        }, n.g = function() {
          if ("object" == typeof globalThis) return globalThis;
          try {
            return this || new Function("return this")();
          } catch (e2) {
            if ("object" == typeof window) return window;
          }
        }(), n.o = function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, n.r = function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        }, n.nmd = function(e2) {
          return e2.paths = [], e2.children || (e2.children = []), e2;
        };
        var r = {};
        return function() {
          n.r(r), n.d(r, { default: function() {
            return Gr;
          }, sdk: function() {
            return kr;
          } });
          const e2 = { IMAGE: "image", DOCUMENT: "document", VIDEO: "video", AUDIO: "audio", VECTOR: "vector" }, t2 = { empty_media_id: "empty_media_id", empty_poster_id: "empty_poster_id", bad_media_id: "bad_media_id", unknown_media_type: "unknown_media_type", missing_width_height: "missing_width_height", non_string_media_id: "non_string_media_id" }, o = { vector: (e3, t3) => `wix:vector://v1/${e3}/${t3}`, image: (e3, t3, n2, r2, o2) => `wix:image://v1/${e3}/${t3}#originWidth=${n2}&originHeight=${r2}${o2 ? `&watermark=${o2}` : ""}`, document: (e3, t3) => `wix:document://v1/${e3}/${t3}`, video: (e3, t3, n2, r2 = 0, o2 = 0) => `wix:video://v1/${e3}/${n2}#posterUri=${t3}&posterWidth=${r2}&posterHeight=${o2}`, audio: (e3, t3, n2) => `wix:audio://v1/${e3}/${t3}#duration=${n2}` }, i = { vector: /^wix:vector:\/\/v1\/([^\/]+)\/([^\/]*)$/, image: /^wix:image:\/\/v1\/([^\/]+)\/([^\/]*)#originWidth=([0-9]+)&originHeight=([0-9]+)(?:&watermark=([^\/]+))?$/, document: /^wix:document:\/\/v1\/([^\/]+)\/([^\/]+)$/, video: /^wix:video:\/\/v1\/([^\/]+)\/([^\/]+)#posterUri=([^\/]+)&posterWidth=([0-9]+)&posterHeight=([0-9]+)$/, audio: /^wix:audio:\/\/v1\/([^\/]+)\/([^\/]+)#duration=([0-9]+)$/, deprecated_video: /^wix:video:\/\/v1\/([^\/]+)\/([^\/]+)\/#posterUri=([^\/]+)&posterWidth=([0-9]+)&posterHeight=([0-9]+)$/, deprecated_image: /^image:\/\/v1\/([^\/]+)\/([0-9]+)_([0-9]+)\/([^\/]*)$/, deprecated_type: /^(image):/, type: /^wix:(\w+):/, splitExtension: /\.(?=[^.]+$)/, emptyTitle: /^_\./ }, a = { video: [i.video, i.deprecated_video] };
          function s(t3, n2 = "", r2) {
            const [o2, a2] = r2.split(i.splitExtension), [s2, c2] = n2.split(i.splitExtension);
            let u2;
            switch (t3) {
              case e2.IMAGE:
                u2 = `${s2 || "_"}.${c2 || a2}`;
                break;
              case e2.DOCUMENT:
                u2 = `${s2 || o2}.${c2 || a2}`;
                break;
              case e2.VIDEO:
                u2 = `${s2 || "_"}${c2 ? `.${c2}` : ""}`;
                break;
              case e2.AUDIO:
              case e2.VECTOR:
                u2 = `${s2 || o2}.${c2 || a2}`;
                break;
              default:
                u2 = "";
            }
            return encodeURI(u2);
          }
          function c(e3) {
            return i.emptyTitle.test(e3) ? "" : decodeURI(e3);
          }
          function u({ mediaId: n2, type: r2, title: i2, width: a2, height: c2, posterId: u2, watermark: d2, duration: l2 }) {
            switch (r2) {
              case e2.IMAGE:
                return function({ mediaId: n3, title: r3, width: i3, height: a3, watermark: c3 }) {
                  if (!n3) return { error: t2.empty_media_id };
                  if ("number" != typeof a3 || "number" != typeof i3) return { error: t2.missing_width_height };
                  const u3 = s(e2.IMAGE, r3, n3);
                  return { item: o.image(n3, u3, i3, a3, c3) };
                }({ mediaId: n2, title: i2, width: a2, height: c2, watermark: d2 });
              case e2.DOCUMENT:
                return function({ mediaId: n3, title: r3 }) {
                  if (!n3) return { error: t2.empty_media_id };
                  const i3 = s(e2.DOCUMENT, r3, n3);
                  return { item: o.document(n3, i3) };
                }({ mediaId: n2, title: i2 });
              case e2.VECTOR:
                return function({ mediaId: n3, title: r3 }) {
                  if (!n3) return { error: t2.empty_media_id };
                  const i3 = s(e2.VECTOR, r3, n3);
                  return { item: o.vector(n3, i3) };
                }({ mediaId: n2, title: i2 });
              case e2.VIDEO:
                return function({ mediaId: n3, title: r3, width: i3, height: a3, posterId: c3 }) {
                  if (!n3) return { error: t2.empty_media_id };
                  if (!c3) return { error: t2.empty_poster_id };
                  if (isNaN(a3 || NaN) || isNaN(i3 || NaN)) return { error: t2.missing_width_height };
                  const u3 = n3.replace("video/", ""), d3 = s(e2.VIDEO, r3, u3);
                  return { item: o.video(u3, c3, d3, i3, a3) };
                }({ mediaId: n2, title: i2, width: a2, height: c2, posterId: u2 });
              case e2.AUDIO:
                return function({ mediaId: n3, title: r3, duration: i3 }) {
                  if (!n3) return { error: t2.empty_media_id };
                  const a3 = s(e2.AUDIO, r3, n3);
                  return { item: o.audio(n3, a3, i3 || 0) };
                }({ mediaId: n2, title: i2, duration: l2 });
              default:
                return { error: t2.unknown_media_type };
            }
          }
          function d(n2 = "") {
            if ("string" != typeof n2) return { error: t2.non_string_media_id };
            const [, r2] = n2.match(i.type) || [];
            switch (r2) {
              case e2.IMAGE:
                return function(n3) {
                  const [, r4, o2, a2, s2, u2] = n3.match(i.image) || [], d2 = c(o2);
                  if (r4) return { type: e2.IMAGE, mediaId: r4, title: d2, width: parseInt(a2, 10), height: parseInt(s2, 10), watermark: u2 };
                  return { error: t2.bad_media_id };
                }(n2);
              case e2.DOCUMENT:
                return function(n3) {
                  const [, r4, o2] = n3.match(i.document) || [], a2 = c(o2);
                  return r4 ? { type: e2.DOCUMENT, mediaId: r4, title: a2 } : { error: t2.bad_media_id };
                }(n2);
              case e2.VECTOR:
                return function(n3) {
                  const [, r4, o2] = n3.match(i.vector) || [], a2 = c(o2);
                  return r4 ? { type: e2.VECTOR, mediaId: r4, title: a2 } : { error: t2.bad_media_id };
                }(n2);
              case e2.VIDEO:
                return function(n3) {
                  const r4 = i.deprecated_video.test(n3) ? i.deprecated_video : i.video, [, o2, a2, s2, u2, d2] = n3.match(r4) || [], l2 = c(a2);
                  return o2 && s2 ? { type: e2.VIDEO, mediaId: o2, posterId: s2, width: parseInt(u2, 10), height: parseInt(d2, 10), title: l2 } : { error: t2.bad_media_id };
                }(n2);
              case e2.AUDIO:
                return function(n3) {
                  const [, r4, o2, a2] = n3.match(i.audio) || [], s2 = c(o2);
                  return r4 ? { type: e2.AUDIO, mediaId: r4, title: s2, duration: parseInt(a2, 10) } : { error: t2.bad_media_id };
                }(n2);
              default:
                const [, r3] = n2.match(i.deprecated_type) || [];
                return r3 ? function(n3) {
                  const [, r4, o2, a2, s2] = n3.match(i.deprecated_image) || [], u2 = c(s2);
                  return r4 ? { type: e2.IMAGE, mediaId: r4, title: u2, width: parseInt(o2, 10), height: parseInt(a2, 10) } : { error: t2.bad_media_id };
                }(n2) : { error: t2.unknown_media_type };
            }
          }
          const l = { externalUrl: /(^https?)|(^data)|(^blob)|(^\/\/)/, inlineSvg: /<svg[\s\S]*>[\s\S]*<\/svg>/im }, p = { [e2.VECTOR]: [l.externalUrl, l.inlineSvg], [e2.IMAGE]: [l.externalUrl], [e2.DOCUMENT]: [], [e2.VIDEO]: [], [e2.AUDIO]: [l.externalUrl] };
          function m(n2, r2) {
            if (!Object.values(e2).includes(r2)) return { error: t2.unknown_media_type };
            if (p[r2].some((e3) => e3.test(n2))) return { type: r2, mediaId: n2 };
            const o2 = d(n2);
            return o2.error === t2.non_string_media_id ? o2 : o2.error === t2.unknown_media_type || r2 !== o2.type ? { error: t2.bad_media_id } : o2;
          }
          function f(e3, t3) {
            const n2 = function(e4 = "", t4) {
              const n3 = a[t4];
              return n3 && n3.some((t5) => t5.test(e4));
            }(e3, t3);
            return n2 || p[t3] && p[t3].some((t4) => t4.test(e3));
          }
          const L = { CENTER: "center", TOP: "top", TOP_LEFT: "top_left", TOP_RIGHT: "top_right", BOTTOM: "bottom", BOTTOM_LEFT: "bottom_left", BOTTOM_RIGHT: "bottom_right", LEFT: "left", RIGHT: "right" };
          function R(e3, ...t3) {
            return function(...n2) {
              const r2 = n2[n2.length - 1] || {}, o2 = [e3[0]];
              return t3.forEach(function(t4, i2) {
                const a2 = Number.isInteger(t4) ? n2[t4] : r2[t4];
                o2.push(a2, e3[i2 + 1]);
              }), o2.join("");
            };
          }
          function j() {
            if ("undefined" != typeof window && "undefined" != typeof navigator) {
              window.matchMedia && window.matchMedia("(max-width: 767px)").matches;
            }
          }
          R`,quality_auto`, R`,bl`, R`,enc_auto`, R`,enc_avif`, R`,enc_pavif`, R`,pstr`;
          const k = { [L.CENTER]: "50% 50%", [L.TOP_LEFT]: "0% 0%", [L.TOP_RIGHT]: "100% 0%", [L.TOP]: "50% 0%", [L.BOTTOM_LEFT]: "0% 100%", [L.BOTTOM_RIGHT]: "100% 100%", [L.BOTTOM]: "50% 100%", [L.RIGHT]: "100% 50%", [L.LEFT]: "0% 50%" };
          Object.entries(k).reduce((e3, [t3, n2]) => (e3[n2] = t3, e3), {});
          j();
          j();
          const G = (e3, t3) => {
            return e3[t3] || e3[n2 = t3, n2.toLowerCase().replace(/(^_+)|(_+$)/g, "").replace(/_+([^_])/g, (e4, t4) => t4.toUpperCase())];
            var n2;
          }, D = (e3) => e3.replace(/^(.*[/])/, ""), M = (e3) => e3.image.map((e4) => D(e4.url)), U = (e3, t3) => {
            if (e3.length <= t3) return e3;
            const n2 = e3.split(""), r2 = e3.length - t3 + 3, o2 = (e3.lastIndexOf(".") > e3.length - r2 - 3 ? e3.lastIndexOf(".") : e3.length - 1) - r2 - 3;
            return n2.splice(o2, r2, "..."), n2.join("");
          }, V = (e3, t3) => {
            var n2;
            const r2 = G(e3, "file_input"), o2 = G(e3, "file_output"), i2 = ((G(e3, "file_name") || G(e3, "file_url")).match(/(?:\/|^)([0-9a-fA-F_]+)(?:\/|$)/) || [])[1] ?? "";
            const a2 = U(e3.title, 100), s2 = ((e4) => {
              var t4;
              const n3 = e4.video.filter((e5) => {
                let { format: t5 } = e5;
                return "mp4" === t5;
              }), r3 = null == (t4 = e4.storyboard) ? void 0 : t4.find((e5) => {
                let { format: t5 } = e5;
                return "mp4" === t5;
              }), o3 = n3.map((e5) => {
                let { width: t5, height: n4, quality: r4, url: o4 } = e5;
                return { width: t5, height: n4, quality: r4, url: o4 };
              });
              return r3 && o3.push({ quality: "storyboard", width: r3.width, height: r3.height, url: r3.url }), o3;
            })(o2), c2 = ((e4) => G(e4, "adaptive_video").map((e5) => ({ format: e5.format, url: e5.url })))(o2), u2 = ((e4) => {
              var t4;
              const n3 = [];
              return null != (t4 = e4.tags) && t4.includes("_mp4_alpha") && n3.push("alpha"), n3.length ? n3 : null;
            })(e3), d2 = o2.image[0], l2 = { type: "Image", width: d2.width, height: d2.height, uri: D(d2.url), description: t3.path ? t3.path : void 0 };
            return { type: "WixVideo", title: a2, videoId: i2, duration: +(r2.duration / 1e3).toFixed(2), posterImageRef: l2, generatedPosters: M(o2), qualities: s2, adaptiveVideo: c2, artist: { name: e3.vendor || "", id: e3.reference || "" }, hasAudio: -1 !== G(o2.video[0], "audio_bitrate"), fps: ((null == (n2 = o2.video[0]) ? void 0 : n2.fps) ?? "").toString(), mediaFeatures: u2 || [] };
          };
          var F = n(3653), H = n.n(F), B = n(9685), q = n.n(B);
          const W = "www.wix.com", J = "http", z = "x-wix-metro-original-url", Y = "x-wix-metro-original-host", X = "x-wix-metro-original-protocol";
          var Z = n(3158);
          function K() {
            return "undefined" != typeof window;
          }
          function Q() {
            var e3;
            return void 0 !== Z && null != (null === (e3 = null == Z ? void 0 : Z.versions) || void 0 === e3 ? void 0 : e3.node);
          }
          function ee() {
            return "object" == typeof self ? self : n.g;
          }
          function te(e3) {
            const t3 = function(e4) {
              return function() {
                const e5 = function() {
                  if ("object" == typeof document) return document;
                }();
                if (e5 && e5.cookie) return decodeURIComponent(e5.cookie).split(";");
                return [];
              }().filter((t4) => e4 === t4.split("=")[0].trim())[0];
            }(e3);
            return t3 ? t3.split("=")[1] : "";
          }
          const ne = "XSRF-TOKEN", re = "x-xsrf-token";
          const oe = "x-wix-brand";
          function ie() {
            const e3 = function() {
              const e4 = ee();
              if (e4 && e4.commonConfig && "string" == typeof e4.commonConfig.brand) return e4.commonConfig.brand;
              return "";
            }();
            return { [oe]: e3 };
          }
          function ae() {
            return function() {
              const e3 = ee();
              if (e3 && e3.consentPolicyManager && "function" == typeof e3.consentPolicyManager._getConsentPolicyHeader) return e3.consentPolicyManager._getConsentPolicyHeader();
              return;
            }() || function() {
              const e3 = ee();
              if (e3 && e3.Wix && e3.Wix.Utils && "function" == typeof e3.Wix.Utils._getConsentPolicyHeader) return e3.Wix.Utils._getConsentPolicyHeader();
              return;
            }() || {};
          }
          var se = n(3158);
          function ce() {
            return void 0 !== se && null != se.versions?.node && (!!se.env.TEAMCITY_VERSION || !!se.env.BUILDKITE);
          }
          const ue = ["consentPolicy", "consentPolicyHeader"], de = "commonConfig", le = { bsi: "BSI" };
          const pe = () => {
            const e3 = function() {
              const e4 = ee(), t4 = e4?.commonConfig;
              if (!t4) return null;
              const n2 = {};
              let r2 = false;
              return Object.keys(t4).forEach((e5) => {
                const o2 = le[e5];
                o2 ? (n2[o2] = t4[e5], r2 = true) : ue.indexOf(e5) < 0 && "function" != typeof t4[e5] && (n2[e5] = t4[e5], r2 = true);
              }), r2 ? n2 : null;
            }(), t3 = e3 ? JSON.stringify(e3) : "";
            return { [de]: encodeURIComponent(t3) };
          };
          var me = n(8144), fe = n.n(me);
          const he = "x-wix-linguist";
          function ge({ lang: e3, locale: t3, isPrimaryLanguage: n2, signedInstance: r2 }) {
            if (function({ lang: e4, locale: t4, isPrimaryLanguage: n3 }) {
              return e4 && t4 && /^(true|false)$/.test(n3?.toString() || "");
            }({ lang: e3, locale: t3, isPrimaryLanguage: n2 })) {
              const o2 = function(e4) {
                try {
                  const t4 = e4?.startsWith("wixcode") ? e4?.split(".")[2] : e4?.split(".")[1];
                  if (t4) return JSON.parse(fe().decode(t4)).instanceId;
                } catch (e5) {
                }
              }(r2);
              if (void 0 !== o2) return { [he]: [e3, t3, n2?.toString(), o2].join("|") };
            }
            return {};
          }
          class ye extends Error {
            constructor(e3, t3, n2) {
              super(`WixHeadersValidationError: expected ${t3} to be ${e3} but got ${JSON.stringify(n2)}`);
            }
          }
          function ve(e3 = {}) {
            !function(e4) {
              (function(e5, t4) {
                if ("boolean" != typeof t4) throw new ye("boolean", e5, t4);
              })("opts.csrf", e4.csrf), function(e5, t4) {
                if ("string" != typeof t4) throw new ye("string", e5, t4);
              }("opts.signedInstance", e4.signedInstance);
            }(e3 = { csrf: true, signedInstance: "", ...e3 });
            const t3 = [ie(), ae(), (r2 = e3.signedInstance, { authorization: r2 }), (n2 = e3.artifactId, { "X-Wix-Client-Artifact-Id": n2 ?? (ce() ? "" : "editor-elements-library") }), pe(), ge({ signedInstance: e3.signedInstance, ...e3.multilingualOptions })];
            var n2, r2;
            return e3.csrf && t3.push(function() {
              const e4 = te(ne);
              return { [re]: e4 };
            }()), t3.filter((e4) => Object.values(e4).every((e5) => e5)).reduce((e4, t4) => ({ ...e4, ...t4 }), {});
          }
          var Ne = n(3158);
          function Ie(e3) {
            if ("string" != typeof e3) throw new TypeError(`Expected a \`string\`, got \`${typeof e3}\``);
            return /(^https?:)|(^\/\/)/.test(e3);
          }
          function be(e3, t3) {
            return t3.split(".").filter((e4) => e4).reduce((e4, t4) => e4[t4], e3);
          }
          function we(e3) {
            try {
              return new URL(e3).protocol;
            } catch (t3) {
              return Te(e3).protocol;
            }
          }
          function Ee(e3) {
            let t3;
            try {
              t3 = new URL(e3);
            } catch (n2) {
              t3 = new URL(`http:${e3}`);
            }
            try {
              return t3.host;
            } catch (t4) {
              return Te(e3).host;
            }
          }
          function Te(e3) {
            const t3 = new RegExp("^(.*:)//([A-Za-z0-9-.]+)(:[0-9]+)?(.*)$");
            try {
              const n2 = t3.exec(e3);
              return { protocol: n2[1], host: n2[2] };
            } catch (e4) {
              return { protocol: "http:", host: "" };
            }
          }
          function _e(e3, t3) {
            let n2;
            try {
              n2 = new URL(e3), n2.host = t3, n2.protocol = "http";
            } catch (r2) {
              n2 = new URL(`http://${t3}`), n2.pathname = e3;
            }
            return n2.toString();
          }
          function xe() {
            let e3;
            if (Q() && Ne.env.HTTP_CLIENT_GLOBAL_CONFIG) try {
              e3 = JSON.parse(Ne.env.HTTP_CLIENT_GLOBAL_CONFIG);
            } catch (e4) {
            }
            var t3;
            return e3 || (K() ? e3 = window._httpClientGlobalConfig : "object" == typeof self && (null === (t3 = null === self || void 0 === self ? void 0 : self.constructor) || void 0 === t3 || t3.name)), e3 || { httpMockServer: { enabled: false } };
          }
          var Oe = JSON.parse('["wix.com","editorx.com","wix-code.com","wixapps.net","wixprod.net"]');
          function $e(e3) {
            var t3;
            return (null === (t3 = null == e3 ? void 0 : e3.headers) || void 0 === t3 ? void 0 : t3["x-wix-request-id"]) || "";
          }
          function Ce(e3) {
            if (!Ie(e3)) return true;
            const t3 = `.${Ee(e3)}`;
            return !!Oe.find((e4) => t3.endsWith(`.${e4}`));
          }
          const Le = ["code", "config", "request", "response", "toJSON", "__CANCEL__"];
          class Ae extends Error {
            constructor(e3) {
              super(e3.message), this.isWixHttpError = true, Object.setPrototypeOf(this, Ae.prototype), Le.forEach((t3) => {
                this[t3] = e3[t3];
              });
            }
            get requestId() {
              return $e(this.response);
            }
          }
          const Se = ({ requestOptions: e3, urlObject: t3, headers: n2, globalConfig: r2 = { httpMockServer: { enabled: false } } }) => {
            const { url: o2, params: i2 } = e3;
            if (i2 && "object" != typeof i2) throw new Error("Search params must be an object");
            const a2 = function(e4, t4) {
              if (t4.httpMockServer.enabled) {
                return { url: _e(e4, new URL(t4.httpMockServer.mockServerUrl).host) };
              }
              return {};
            }(o2, r2);
            return Object.assign(Object.assign(Object.assign({}, e3), a2), { headers: n2 });
          }, Re = (e3, t3, n2 = { httpMockServer: { enabled: false } }, r2) => {
            const { url: o2, disableWixHeaders: i2, headers: a2 } = e3, s2 = (({ url: e4, disableWixHeaders: t4, wixHeadersOpts: n3 }) => !t4 && Ce(e4) ? ve(n3) : {})({ url: o2, disableWixHeaders: i2, wixHeadersOpts: t3 }), c2 = Pe(n2, e3, r2);
            return Object.assign(Object.assign(Object.assign({}, s2), function(e4) {
              e4 = e4 || {};
              return Object.keys(e4).reduce((t4, n3) => Object.assign(Object.assign({}, t4), { [n3.toLowerCase()]: e4[n3] }), {});
            }(a2)), c2);
          }, Pe = (e3, t3, n2) => {
            const { url: r2, params: o2 } = t3, { host: i2, protocol: a2 } = n2;
            return e3.httpMockServer.enabled ? { [z]: je(r2, o2), [Y]: Ie(r2) ? Ee(r2) : i2, [X]: Ie(r2) ? we(r2) : a2 } : {};
          };
          function je(e3, t3) {
            const { pathname: n2, searchParams: r2 } = new URL(e3, "http://unused.com");
            if (t3 = t3 || r2) {
              const e4 = function(e5) {
                return Object.entries(e5).map(([e6, t4]) => `${e6}=${encodeURIComponent(t4)}`).flat().join("&");
              }(t3) || t3.toString();
              return `${n2}${e4 ? `?${e4}` : ""}`;
            }
            return n2;
          }
          class ke {
            constructor(e3 = {}) {
              this.opts = e3, this.opts = function(e4) {
                let t3 = e4.adapter;
                t3 || (t3 = q(), Q() && (t3 = function() {
                  return requireXhr();
                }()));
                return Object.assign({ adapter: t3, isSSR: false }, e4);
              }(this.opts), this.client = H().create(this.opts), this.flags = { sanitizerPocEnabled: Ge() };
            }
            static isHttpError(e3) {
              return !!(null == e3 ? void 0 : e3.isWixHttpError);
            }
            async request(e3, t3) {
              var n2, r2;
              const o2 = (i2 = this.opts).baseURL ? Ee(i2.baseURL) : i2.isSSR ? W : "undefined" != typeof self && self.location ? self.location.host : "";
              var i2;
              const a2 = function(e4) {
                return e4.baseURL ? we(e4.baseURL) : e4.isSSR ? J : "undefined" != typeof self && self.location ? self.location.protocol : "";
              }(this.opts), s2 = { protocol: a2, host: o2 }, c2 = "function" == typeof e3 ? e3({ isSSR: this.opts.isSSR, host: o2 }) : e3, u2 = (null == t3 ? void 0 : t3.signedInstance) || await (null === (r2 = (n2 = this.opts).getAppToken) || void 0 === r2 ? void 0 : r2.call(n2)) || "", d2 = this.getHeaders(c2, u2, s2), l2 = Se({ requestOptions: c2, urlObject: s2, headers: d2, globalConfig: xe() });
              this.opts.isSSR && (l2.baseURL = this.opts.baseURL ? this.opts.baseURL : `${J}://${W}`);
              try {
                const e4 = await this.client.request(l2).catch((e5) => this.maybeFallbackRequest(e5, c2, s2, u2));
                return this.transformResponse(e4, c2);
              } catch (e4) {
                this.handleRequestError(e4, l2);
              }
            }
            async get(e3, t3) {
              const n2 = Object.assign(Object.assign({}, t3), { url: e3, method: "GET" });
              return this.request(n2);
            }
            async delete(e3, t3) {
              const n2 = Object.assign(Object.assign({}, t3), { url: e3, method: "DELETE" });
              return this.request(n2);
            }
            async head(e3, t3) {
              const n2 = Object.assign(Object.assign({}, t3), { url: e3, method: "HEAD" });
              return this.request(n2);
            }
            async options(e3, t3) {
              const n2 = Object.assign(Object.assign({}, t3), { url: e3, method: "OPTIONS" });
              return this.request(n2);
            }
            async post(e3, t3, n2) {
              const r2 = Object.assign(Object.assign({}, n2), { url: e3, data: t3, method: "POST" });
              return this.request(r2);
            }
            async put(e3, t3, n2) {
              const r2 = Object.assign(Object.assign({}, n2), { url: e3, data: t3, method: "PUT" });
              return this.request(r2);
            }
            async patch(e3, t3, n2) {
              const r2 = Object.assign(Object.assign({}, n2), { url: e3, data: t3, method: "PATCH" });
              return this.request(r2);
            }
            get CancelToken() {
              return H().CancelToken;
            }
            get isCancel() {
              return H().isCancel;
            }
            getHeaders(e3, t3, n2) {
              if ("function" == typeof this.opts.createHeaders) return this.getCustomHeaders(e3, t3, n2);
              const r2 = { signedInstance: t3, artifactId: this.opts.artifactId, csrf: false, multilingualOptions: this.opts.multilingualOptions };
              return Re(e3, r2, xe(), n2);
            }
            getCustomHeaders(e3, t3, n2) {
              const { url: r2 } = e3, o2 = t3 && Ce(r2) ? { authorization: t3 } : {}, i2 = this.opts.createHeaders(), a2 = Pe(xe(), e3, n2);
              return Object.assign(Object.assign(Object.assign({}, a2), i2), o2);
            }
            handleRequestError(e3, t3) {
              const n2 = function(...e4) {
                return new Ae(...e4);
              }(e3);
              throw async function(e4) {
                try {
                  await e4();
                } catch (e5) {
                }
              }(() => {
                var e4;
                return null === (e4 = t3.onError) || void 0 === e4 ? void 0 : e4.call(t3, n2);
              }), n2;
            }
            maybeFallbackRequest(e3, t3, n2, r2) {
              var o2, i2, a2;
              if (xe().httpMockServer.enabled && xe().httpMockServer.allowUnmocked && 404 === (null === (o2 = e3.response) || void 0 === o2 ? void 0 : o2.status) && "NO_SCENARIO_FOUND" === (null === (a2 = null === (i2 = e3.response) || void 0 === i2 ? void 0 : i2.data) || void 0 === a2 ? void 0 : a2.msg)) {
                const e4 = this.getHeaders(t3, r2, n2), o3 = Se({ requestOptions: t3, urlObject: n2, headers: e4 });
                return this.client.request(o3);
              }
              throw e3;
            }
            transformResponse(e3, t3) {
              const n2 = $e(e3), r2 = function(e4, t4, n3) {
                let r3 = function(e5, t5) {
                  try {
                    if (t5.sanitizerPocEnabled) {
                      const t6 = performance.now(), n4 = new Sanitizer();
                      if (e5.headers["content-type"].includes("application/json")) {
                        console.log("[+] JSON Response detected, sanitizing data");
                        const r4 = function(e6) {
                          try {
                            return Object.keys(e6).forEach((t7) => {
                              "string" == typeof e6[t7] ? e6[t7] = n4.sanitizeFor("span", e6[t7]).innerHTML : "object" == typeof e6[t7] && (e6[t7] = r4(e6[t7]));
                            }), e6;
                          } catch (e7) {
                            console.log(e7);
                          }
                        }, o2 = performance.now();
                        return console.log(`Time taken: ${o2 - t6} milliseconds.`), r4(e5.data);
                      }
                    }
                  } catch (e6) {
                    console.log("[+] Sanitizer API not supported: %o", e6);
                  }
                  return e5.data;
                }(e4, n3);
                t4._pickResponseBody && (r3 = be(e4.data, t4._pickResponseBody));
                if (t4._logs) {
                  const n4 = be(e4.data, t4._logs);
                  (null == n4 ? void 0 : n4.length) && n4.map((e5) => console.log(...e5));
                }
                return r3;
              }(e3, t3, this.flags);
              return Object.assign(Object.assign({}, e3), { data: r2, requestId: n2 });
            }
          }
          function Ge() {
            var e3;
            try {
              return K() && "true" === new URLSearchParams((null === (e3 = null === window || void 0 === window ? void 0 : window.location) || void 0 === e3 ? void 0 : e3.hash) || "").get("sanitizerPOC");
            } catch (e4) {
              return false;
            }
          }
          ke.CancelToken = H().CancelToken, ke.isCancel = H().isCancel;
          const De = { loop: true, preload: "auto", muted: true, isVideoEnabled: true }, Me = ({ mediaId: e3, posterId: t3, width: n2, height: r2, title: o2 }) => ({ type: "WixVideo", videoId: e3, posterImageRef: { type: "Image", uri: t3, width: n2, height: r2, title: o2 } }), Ue = async (e3) => {
            const t3 = `https://files.wix.com/site/media/files/${e3 = ((e4) => e4.replace("video/", ""))(e3)}/info`, n2 = new ke(), r2 = await n2.get(t3);
            return o2 = r2.data, i2 = {}, { mediaObject: { animatePoster: "none", autoPlay: true, playbackRate: 1, fittingType: "fill", hasBgScrollEffect: "", bgEffectName: "", isVideoDataExists: "1", alignType: "center", videoFormat: "mp4", playerType: "html5", isEditorMode: false, isViewerMode: true, videoHeight: o2.file_input.height, videoWidth: o2.file_input.width, ...V(o2, i2) }, ...De };
            var o2, i2;
          }, Ve = (e3) => {
            console.error(`Wix code SDK error: ${e3}`);
          }, Fe = (e3) => {
            console.warn(`Wix code SDK warning: ${e3}`);
          };
          function He(e3) {
            return "number" == typeof e3 && !Number.isNaN(e3);
          }
          function Be(e3) {
            return Array.isArray(e3);
          }
          function qe(e3) {
            return null == e3;
          }
          function We(e3, t3) {
            return t3.includes(e3);
          }
          function Je(e3, t3) {
            return e3 > t3;
          }
          function ze(e3, t3) {
            return e3 < t3;
          }
          const Ye = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to null.`, Xe = ({ propertyName: e3, compName: t3, effectName: n2, infoLink: r2 }) => `The "${e3}" function called on "${t3}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${r2}"')`, Ze = ({ propertyName: e3, compName: t3, infoLink: n2 }) => `The "${e3}" function called on "${t3}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, Ke = ({ propertyName: e3, compName: t3, effectName: n2, wrongProperty: r2, wrongValue: o2, infoLink: i2 }) => `The "${e3}" function called on "${t3}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${r2}: ${o2}. Read more about the effectOptions object: "${i2}"')`, Qe = ({ propertyName: e3, compName: t3, effectName: n2, infoLink: r2 }) => `The "${e3}" function  called on "${t3}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${r2}"`, et = ({ propertyName: e3, compName: t3, effectName: n2, wrongValue: r2, infoLink: o2 }) => `The "${e3}" function called on "${t3}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${r2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${o2}"'`, tt = ({ propertyName: e3, functionName: t3, compName: n2 }) => `The ${e3} parameter of "${n2}" that is passed to the ${t3} method cannot be set to null.`, nt = ({ propertyName: e3, functionName: t3, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to null or undefined.`, rt = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is required for ${t3} method.`, ot = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]}, are required for ${t3} method.`, it = ({ propertyName: e3, functionName: t3, index: n2 }) => `The ${e3} parameter of item at index ${n2} is required for ${t3} method.`, at = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is not allowed for ${t3} method.`, st = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]} are unknown for ${t3} method.`, ct = ({ propertyName: e3, functionName: t3, index: n2 }) => `The ${e3} parameter of item at index ${n2} is not allowed for ${t3} method.`, ut = ({ propertyNames: e3, functionName: t3, index: n2 }) => `The following parameters: ${[...e3]} of item at index ${n2} are unknown for ${t3} method.`, dt = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2, maximum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}". Its length must be between ${r2} and ${o2}.`, lt = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2, maximum: o2, index: i2 }) => `The ${e3} parameter of item at index ${i2} that is passed to the ${t3} method cannot be set to the value "${n2}". Its length must be between ${r2} and ${o2}.`, pt = ({ propertyName: e3, functionName: t3, value: n2, expectedValue: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}". Its length must be ${r2}.`, mt = ({ propertyName: e3, functionName: t3, value: n2, expectedValue: r2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value "${n2}". Its length must be ${r2}.`, ft = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}" because its length is shorter than ${r2}.`, ht = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value "${n2}" because its length is shorter than ${r2}.`, gt = ({ propertyName: e3, functionName: t3, value: n2, maximum: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}" because its length exceeds ${r2}.`, yt = ({ propertyName: e3, functionName: t3, value: n2, maximum: r2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value "${n2}" because its length exceeds ${r2}.`, vt = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2, maximum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}". It must be between ${r2} and ${o2}.`, Nt = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2, maximum: o2, index: i2 }) => `The ${e3} parameter of item at index ${i2} that is passed to the ${t3} method cannot be set to the value "${n2}". It must be between ${r2} and ${o2}.`, It = ({ propertyName: e3, functionName: t3, value: n2, expectedValue: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}". It must be ${r2}.`, bt = ({ propertyName: e3, functionName: t3, value: n2, expectedValue: r2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value "${n2}". It must be ${r2}.`, wt = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n2}. It must be larger than ${r2}.`, Et = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2, index: o2 }) => `The value of ${e3} parameter of item at ${o2} that is passed to the ${t3} method cannot be set to the value ${n2}. It must be larger than ${r2}.`, Tt = ({ propertyName: e3, functionName: t3, value: n2, maximum: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n2}. It must be less than ${r2}.`, _t = ({ propertyName: e3, functionName: t3, value: n2, maximum: r2, index: o2 }) => `The value of ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value ${n2}. It must be less than ${r2}.`, xt = ({ propertyName: e3, functionName: t3, value: n2, expectedType: r2 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n2}. It must be of type ${r2}.`, Ot = ({ propertyName: e3, functionName: t3, value: n2, expectedType: r2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value ${n2}. It must be of type ${r2}.`, $t = ({ propertyName: e3, functionName: t3, value: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n2}. Bad format`, Ct = ({ functionName: e3, wrongEffects: t3, allowedEffects: n2 }) => `Passed  effects: "${t3.join('", "')}" to the ${e3} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, Lt = ({ propertyName: e3, functionName: t3, value: n2, index: r2 }) => `The "${e3}" property of the item at index ${r2} that is passed to the ${t3} method cannot be set to "${n2}". Bad format`, At = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method contains invalid characters.`, St = ({ compName: e3, functionName: t3, propertyName: n2, index: r2 }) => He(r2) ? nt({ propertyName: n2, functionName: t3, index: r2 }) : e3 ? tt({ compName: e3, functionName: t3, propertyName: n2 }) : Ye({ functionName: t3, propertyName: n2 }), Rt = ({ functionName: e3, propertyName: t3, index: n2 }) => He(n2) ? it({ functionName: e3, propertyName: t3, index: n2 }) : rt({ functionName: e3, propertyName: t3 }), Pt = ({ functionName: e3, propertyNames: t3, index: n2 }) => t3 && t3.length > 1 ? He(n2) ? ut({ functionName: e3, propertyNames: t3, index: n2 }) : st({ functionName: e3, propertyNames: t3 }) : He(n2) ? ct({ functionName: e3, propertyName: t3[0], index: n2 }) : at({ functionName: e3, propertyName: t3[0] }), jt = ({ functionName: e3, propertyName: t3, value: n2, maximum: r2, minimum: o2, index: i2 }) => o2 && r2 ? o2 === r2 ? He(i2) ? mt({ functionName: e3, propertyName: t3, value: n2, expectedValue: o2, index: i2 }) : pt({ functionName: e3, propertyName: t3, value: n2, expectedValue: o2 }) : He(i2) ? lt({ functionName: e3, propertyName: t3, value: n2, maximum: r2, minimum: o2, index: i2 }) : dt({ functionName: e3, propertyName: t3, value: n2, maximum: r2, minimum: o2 }) : !o2 && r2 ? He(i2) ? yt({ functionName: e3, propertyName: t3, value: n2, maximum: r2, index: i2 }) : gt({ functionName: e3, propertyName: t3, value: n2, maximum: r2 }) : He(i2) ? ht({ functionName: e3, propertyName: t3, value: n2, minimum: o2, index: i2 }) : ft({ functionName: e3, propertyName: t3, value: n2, minimum: o2 }), kt = ({ functionName: e3, propertyName: t3, value: n2, minimum: r2, maximum: o2, index: i2 }) => r2 && o2 ? r2 === o2 ? He(i2) ? bt({ functionName: e3, propertyName: t3, expectedValue: r2, value: n2, index: i2 }) : It({ functionName: e3, propertyName: t3, expectedValue: r2, value: n2 }) : He(i2) ? Nt({ functionName: e3, propertyName: t3, value: n2, maximum: o2, minimum: r2, index: i2 }) : vt({ functionName: e3, propertyName: t3, value: n2, maximum: o2, minimum: r2 }) : !r2 && o2 ? He(i2) ? _t({ functionName: e3, propertyName: t3, maximum: o2, value: n2, index: i2 }) : Tt({ functionName: e3, propertyName: t3, maximum: o2, value: n2 }) : He(i2) ? Et({ functionName: e3, propertyName: t3, value: n2, minimum: r2, index: i2 }) : wt({ functionName: e3, propertyName: t3, value: n2, minimum: r2 }), Gt = ({ functionName: e3, propertyName: t3, types: n2, value: r2, index: o2 }) => {
            const i2 = n2.map((e4) => "nil" === e4 ? "null" : e4).join(",");
            return He(o2) ? Ot({ functionName: e3, index: o2, propertyName: t3, value: r2, expectedType: i2 }) : xt({ functionName: e3, propertyName: t3, value: r2, expectedType: i2 });
          }, Dt = ({ functionName: e3, propertyName: t3, value: n2, enum: r2, index: o2 }) => {
            const i2 = `from (${r2.join(",")})`;
            return He(o2) ? Ot({ functionName: e3, propertyName: t3, value: n2, expectedType: i2, index: o2 }) : xt({ functionName: e3, propertyName: t3, value: n2, expectedType: i2 });
          }, Mt = ({ functionName: e3, propertyName: t3, value: n2, index: r2 }) => He(r2) ? Lt({ functionName: e3, propertyName: t3, value: n2, index: r2 }) : $t({ functionName: e3, propertyName: t3, value: n2 }), Ut = Object.prototype.hasOwnProperty, Vt = Object.getOwnPropertyNames, Ft = () => {
          };
          function Ht(e3, t3, n2, r2, o2, i2) {
            if (!function(e4) {
              return "object" == typeof e4 && null !== e4 && !Be(e4);
            }(e3)) return Jt.InvalidType;
            if (t3.oneOf) return 1 === t3.oneOf.map((t4) => Ht(e3, t4, n2, Ft, o2, i2)).filter((e4) => e4 === Jt.Valid).length ? Jt.Valid : Jt.Invalid;
            if (t3.required) {
              for (let n3 = 0; n3 < t3.required.length; n3++) if (!Ut.call(e3, t3.required[n3])) return r2(Rt({ functionName: i2.functionName, index: i2.index, propertyName: t3.required[n3] }), { ...i2, value: e3 }), Jt.Invalid;
            }
            const a2 = Vt(t3.properties ?? {});
            if (false === t3.additionalProperties) {
              const t4 = Vt(e3).filter((e4) => !a2.includes(e4));
              if (t4.length) {
                return r2(Pt({ functionName: i2.functionName, index: i2.index, propertyNames: t4 })), Jt.Invalid;
              }
            }
            for (let r3 = 0; r3 < a2.length; r3++) {
              const o3 = a2[r3];
              if (Ut.call(e3, o3)) {
                const r4 = t3.properties[o3], a3 = e3[o3];
                if (!n2(a3, r4, { functionName: i2.functionName, index: i2.index, propertyName: o3 })) return Jt.Invalid;
              }
            }
            return Jt.Valid;
          }
          function Bt(e3) {
            return Array.isArray(e3);
          }
          function qt(e3, t3, n2, r2) {
            const { minimum: o2, maximum: i2, enum: a2 } = t3;
            return function(e4) {
              return Number.isInteger(e4);
            }(e3) ? a2 && !We(e3, a2) ? (n2(Dt({ value: e3, enum: a2, ...r2 }), { ...r2, value: e3 }), Jt.Invalid) : He(o2) && ze(e3, o2) || He(i2) && Je(e3, i2) ? (n2(kt({ value: e3, minimum: o2, maximum: i2, ...r2 }), { ...r2, value: e3 }), Jt.Invalid) : Jt.Valid : Jt.InvalidType;
          }
          function Wt(e3) {
            return function(e4) {
              return e4 instanceof Date && !Number.isNaN(e4.getTime());
            }(e3) ? Jt.Valid : Jt.InvalidType;
          }
          const Jt = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
          function zt({ reportError: e3, reportWarning: t3 }, n2, { suppressIndexErrors: r2 = false } = {}) {
            function o2(r3, o3, a2) {
              o3.warnIfNil && qe(r3) && t3(St({ ...a2, compName: n2 }), { ...a2, value: r3 });
              let s2 = 0;
              for (; s2 < o3.type.length; s2++) {
                const e4 = (0, i2[o3.type[s2]])(r3, o3, a2);
                if (e4 !== Jt.InvalidType) return e4 === Jt.Valid;
              }
              return s2 === o3.type.length && e3(Gt({ value: r3, types: o3.type, ...a2 }), { ...a2, value: r3 }), false;
            }
            const i2 = { object: (n3, r3, i3) => Ht(n3, r3, o2, e3, t3, i3), array: (e4, t4, n3) => function(e5, t5, n4, r3, o3, i3 = false) {
              if (!Be(e5)) return Jt.InvalidType;
              let a2 = Jt.Valid;
              if (t5.items) {
                const r4 = Bt(t5.items) ? Math.min(e5.length, t5.items.length) : e5.length;
                for (let s2 = 0; s2 < r4; s2++) {
                  const r5 = e5[s2];
                  let c2, u2;
                  Bt(t5.items) ? (c2 = t5.items[s2], u2 = t5.items[s2].name) : (c2 = t5.items, u2 = t5.name), n4(r5, c2, { functionName: o3.functionName, propertyName: u2 || o3.propertyName, index: i3 ? void 0 : s2 }) || (a2 = Jt.Invalid);
                }
              }
              return a2;
            }(e4, t4, o2, 0, n3, r2), number: (t4, n3, r3) => function(e4, t5, n4, r4) {
              const { minimum: o3, maximum: i3, enum: a2 } = t5;
              return He(e4) ? a2 && !We(e4, a2) ? (n4(Dt({ value: e4, enum: a2, ...r4 }), { ...r4, value: e4 }), Jt.Invalid) : He(o3) && ze(e4, o3) || He(i3) && Je(e4, i3) ? (n4(kt({ value: e4, minimum: o3, maximum: i3, ...r4 }), { ...r4, value: e4 }), Jt.Invalid) : Jt.Valid : Jt.InvalidType;
            }(t4, n3, e3, r3), integer: (t4, n3, r3) => qt(t4, n3, e3, r3), string: (t4, n3, r3) => function(e4, t5, n4, r4) {
              const { minLength: o3, maxLength: i3, enum: a2, pattern: s2 } = t5;
              return /* @__PURE__ */ function(e5) {
                return "string" == typeof e5;
              }(e4) ? a2 && !We(e4, a2) ? (n4(Dt({ value: e4, enum: a2, ...r4 }), { ...r4, value: e4 }), Jt.Invalid) : o3 && ze(e4.length, o3) || i3 && Je(e4.length, i3) ? (n4(jt({ value: e4, minimum: o3, maximum: i3, ...r4 }), { ...r4, value: e4 }), Jt.Invalid) : s2 && !new RegExp(s2).test(e4) ? (n4(Mt({ value: e4, ...r4 }), { ...r4, value: e4 }), Jt.Invalid) : Jt.Valid : Jt.InvalidType;
            }(t4, n3, e3, r3), boolean: (e4) => function(e5) {
              return /* @__PURE__ */ function(e6) {
                return true === e6 || false === e6;
              }(e5) ? Jt.Valid : Jt.InvalidType;
            }(e4), date: (e4) => Wt(e4), nil: (e4) => function(e5) {
              return qe(e5) ? Jt.Valid : Jt.InvalidType;
            }(e4), function: (e4) => function(e5) {
              return /* @__PURE__ */ function(e6) {
                return "function" == typeof e6;
              }(e5) ? Jt.Valid : Jt.InvalidType;
            }(e4) };
            return function(e4, t4, n3) {
              return o2(e4, t4, { functionName: n3, propertyName: n3, index: void 0 });
            };
          }
          function Yt(e3, { suppressIndexErrors: t3 = false } = {}) {
            return zt({ reportError: Ve, reportWarning: Fe }, e3, { suppressIndexErrors: t3 });
          }
          const Xt = "click", Zt = "dblClick", Kt = "mouseenter", Qt = "mouseleave", en = "change", tn = "blur", nn = "focus", rn = "imageChanged", on = "imageExpanded", an = "onInput", sn = "itemClicked", cn = "cellSelect", un = "cellEdit", dn = "rowSelect", ln = "fetchData", pn = "dataChange", mn = "onTimeout", fn = "onVerified", hn = "onError", gn = "onPlay", yn = "onPause", vn = "onProgress", Nn = "onEnded", In = "autoplayOff", bn = "autoplayOn", wn = "playEnded", En = "playProgress", Tn = "keyPress", _n = "keyUp", xn = "keyDown", On = "screenIn", $n = "viewportEnter", Cn = "viewportLeave", Ln = "scroll", An = "validate", Sn = "setCustomValidity", Rn = "syncValidationData", Pn = "updateValidityIndication", jn = "message", kn = "uploadComplete", Gn = "itemReady", Dn = "itemRemoved", Mn = "tagClick", Un = "quickActionBarItemClicked", Vn = "markerClicked", Fn = "mapClicked", Hn = "iconMouseIn", Bn = "onStateChange", qn = "itemMouseIn", Wn = "itemMouseOut", Jn = "itemMouseClick", zn = "itemMouseDblClick", Yn = "onColorChange", Xn = "onFontChange", Zn = "onOpacityChange", Kn = { [Xt]: "onClick", [Zt]: "onDblClick", [Kt]: "onMouseIn", [Qt]: "onMouseOut", [en]: "onChange", [an]: "onInput", [tn]: "onBlur", [nn]: "onFocus", [rn]: "onCurrentItemChanged", [on]: void 0, [sn]: "onItemClicked", [cn]: "onCellSelect", [un]: void 0, [dn]: "onRowSelect", [ln]: void 0, [pn]: "onDataChange", [mn]: "onTimeout", [fn]: "onVerified", [hn]: "onError", [gn]: "onPlay", [yn]: "onPause", [vn]: "onProgress", [Nn]: "onEnded", [In]: "onPause", [bn]: "onPlay", [wn]: void 0, [En]: void 0, [Tn]: "onKeyPress", [_n]: "onKeyUp", [xn]: "onKeyDown", [On]: void 0, [$n]: "onViewportEnter", [Cn]: "onViewportLeave", [Ln]: void 0, [An]: void 0, [Sn]: void 0, [Rn]: void 0, [Pn]: void 0, [jn]: "onMessage", [kn]: void 0, [Gn]: "onItemReady", [Dn]: "onItemRemoved", [Mn]: void 0, [Un]: "onItemClicked", [Vn]: "onMarkerClicked", [Fn]: "onMapClicked", [Hn]: void 0, [Bn]: "onStateChange", [qn]: "onItemMouseIn", [Wn]: "onItemMouseOut", [Jn]: "onItemClick", [zn]: "onItemDblClick", [Yn]: "onColorChange", [Xn]: "onFontChange", [Zn]: "onOpacityChange" }, Qn = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, er = (e3) => {
            const { target: t3, type: n2, context: r2 } = e3;
            return { target: t3, type: Qn[n2] ?? n2, context: r2 };
          }, tr = (e3) => {
            const { clientX: t3, clientY: n2, pageX: r2, pageY: o2, screenX: i2, screenY: a2, nativeEvent: s2 } = e3, { offsetX: c2, offsetY: u2 } = s2;
            return { clientX: t3, clientY: n2, pageX: r2, pageY: o2, screenX: i2, screenY: a2, offsetX: c2, offsetY: u2 };
          }, nr = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, rr = (e3) => e3.replace(/^on/i, ""), or = (e3) => e3.createSdkState({ listeners: [] }, "eventListeners"), ir = (e3, t3, n2, r2) => {
            const { create$w: o2, createEvent: i2, registerEvent: a2, getSdkInstance: s2, metaData: c2 } = t3;
            if (!((e4, t4, n3) => Yt(n3)(e4, { type: ["function"] }, t4))(n2, nr[e3] ?? e3, c2.role)) return s2();
            const [u2, d2] = or(t3), l2 = a2(e3, (e4, t4) => {
              const a3 = i2({ type: e4.type, compId: e4.compId }), s3 = o2({ context: a3.context }), c3 = r2?.({ componentEvent: e4, eventPayload: t4 });
              n2({ ...er(a3), ...c3 }, s3);
            }), p2 = { eventName: e3, compId: c2.compId, cb: n2, unregister: l2 };
            return d2({ listeners: [...u2.listeners, p2] }), s2();
          }, ar = (e3, t3) => {
            const n2 = ((e4) => {
              const t4 = Object.entries(nr).find(([t5, n3]) => rr(n3.toLowerCase()) === rr(e4.toLowerCase()));
              return t4?.[0] ?? e4;
            })(Kn[t3] ?? t3);
            return e3.toLowerCase() === n2.toLowerCase();
          }, sr = (e3, t3, n2, r2) => ir(e3, t3, n2, ({ componentEvent: e4, eventPayload: t4 }) => ({ ...tr(e4), ...t4 && r2?.(t4) }));
          function cr(e3, t3) {
            const { modifyAriaSourceKeys: n2 } = {};
            return (t4) => {
              const r2 = {};
              for (let i2 = 0; i2 < e3.length; i2++) {
                const a2 = e3[i2](t4), s2 = Object.keys(a2);
                for (let e4 = 0; e4 < s2.length; e4++) {
                  const t5 = s2[e4], i3 = Object.getOwnPropertyDescriptor(a2, t5);
                  Object.defineProperty(r2, n2 && i3.get ? "aria" + (o2 = t5).charAt(0).toUpperCase() + o2.slice(1) : t5, i3);
                }
              }
              var o2;
              return r2;
            };
          }
          const ur = ({ handlers: e3, metaData: t3 }) => {
            const { compId: n2, connection: r2, compType: o2, isGlobal: i2, getParent: a2, role: s2, wixCodeId: c2 } = t3, u2 = `$w.${o2}`;
            return { get id() {
              return c2 || s2;
            }, get role() {
              return s2;
            }, get connectionConfig() {
              return r2?.config;
            }, get uniqueId() {
              return n2;
            }, get parent() {
              return a2();
            }, get global() {
              return i2();
            }, get type() {
              return u2;
            }, scrollTo() {
              return new Promise((t4) => e3.scrollToComponent(n2, t4));
            }, toJSON() {
              return { id: s2, type: u2, global: i2() };
            } };
          }, dr = (e3) => (t3) => {
            const { metaData: n2, getSdkInstance: r2, create$w: o2, createEvent: i2 } = t3, a2 = (e4, t4) => Yt(n2.role)(e4, { type: ["function"] }, t4);
            return { onViewportEnter: (n3) => a2(n3, "onViewportEnter") ? (e3?.("onViewportEnter", () => {
              const e4 = i2({ type: "viewportEnter" }), t4 = o2();
              n3(e4, t4);
            }), ir("onViewportEnter", t3, n3)) : r2(), onViewportLeave: (n3) => a2(n3, "onViewportLeave") ? (e3?.("onViewportLeave", () => {
              const e4 = i2({ type: "viewportLeave" }), t4 = o2();
              n3(e4, t4);
            }), ir("onViewportLeave", t3, n3)) : r2() };
          }, lr = { duration: 1200, delay: 0 }, pr = { arc: { ...lr, direction: "left" }, bounce: { ...lr, direction: "topLeft", intensity: "medium" }, puff: { ...lr }, zoom: { ...lr }, fade: { ...lr }, flip: { ...lr, direction: "right" }, float: { ...lr, direction: "right" }, fly: { ...lr, direction: "right" }, fold: { ...lr, direction: "left" }, glide: { ...lr, angle: 0, distance: 0 }, roll: { ...lr, direction: "left" }, slide: { ...lr, direction: "left" }, spin: { ...lr, direction: "cw", cycles: 5 }, turn: { ...lr, direction: "right" }, ArcIn: { ...lr, direction: "right" }, ArcOut: { ...lr, direction: "right" }, BounceIn: { ...lr, direction: "topLeft", intensity: "medium" }, BounceOut: { ...lr, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...lr, direction: "right" }, CollapseOut: { ...lr }, Conceal: { ...lr, direction: "right" }, Reveal: { ...lr, direction: "left" }, FadeIn: { ...lr }, FadeOut: { ...lr }, FlipIn: { ...lr, direction: "left" }, FlipOut: { ...lr, direction: "left" }, FloatIn: { ...lr, direction: "right" }, FloatOut: { ...lr, direction: "right" }, FlyIn: { ...lr, direction: "right" }, FlyOut: { ...lr, direction: "right" }, FoldIn: { ...lr, direction: "left" }, FoldOut: { ...lr, direction: "left" }, GlideIn: { ...lr, angle: 0, distance: 150 }, GlideOut: { ...lr, angle: 0, distance: 150 }, DropIn: { ...lr }, PopOut: { ...lr }, SlideIn: { ...lr, direction: "left" }, SlideOut: { ...lr, direction: "left" }, SpinIn: { ...lr, direction: "cw", cycles: 2 }, SpinOut: { ...lr, direction: "cw", cycles: 2 }, TurnIn: { ...lr, direction: "right" }, TurnOut: { ...lr, direction: "right" } }, mr = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, fr = (e3) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e3}`, hr = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, gr = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, yr = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, vr = { arc: { type: ["object"], properties: { duration: hr, delay: gr, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: hr, delay: gr, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: hr, delay: gr } }, zoom: { type: ["object"], properties: { duration: hr, delay: gr } }, fade: { type: ["object"], properties: { duration: hr, delay: gr } }, flip: { type: ["object"], properties: { duration: hr, delay: gr, direction: yr } }, float: { type: ["object"], properties: { duration: hr, delay: gr, direction: yr } }, fly: { type: ["object"], properties: { duration: hr, delay: gr, direction: yr } }, fold: { type: ["object"], properties: { duration: hr, delay: gr, direction: yr } }, glide: { type: ["object"], properties: { duration: hr, delay: gr, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: hr, delay: gr, direction: yr } }, slide: { type: ["object"], properties: { duration: hr, delay: gr, direction: yr } }, spin: { type: ["object"], properties: { duration: hr, delay: gr, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: hr, delay: gr, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Nr = ({ propertyName: e3, compName: t3 }) => (n2, r2) => {
            if (!n2) return false;
            if (void 0 === r2) return true;
            const o2 = (({ effectName: e4, propertyName: t4, compName: n3 }) => (r3, o3) => {
              Fe(et({ propertyName: t4, compName: n3, effectName: e4, wrongValue: `${o3?.value}`, infoLink: fr(t4) }));
            })({ effectName: n2, propertyName: e3, compName: t3 });
            if (!zt({ reportError: o2, reportWarning: () => ({}) }, t3)(r2, { type: ["object"] }, e3)) return false;
            const i2 = (({ effectName: e4, propertyName: t4, compName: n3 }) => (r3, o3) => {
              Fe(Ke({ propertyName: t4, compName: n3, effectName: e4, wrongProperty: "value", wrongValue: `the key "${o3?.propertyName}" cannot be set to the value "${o3?.value}"`, infoLink: fr(t4) }));
            })({ effectName: n2, propertyName: e3, compName: t3 });
            return !!zt({ reportError: i2, reportWarning: () => ({}) }, t3)(r2, vr[n2], e3);
          }, Ir = (e3) => 0 === Object.keys(e3).length, br = ({ viewportState: e3, hasPortal: t3 = false } = {}) => ({ setStyles: n2, portal: r2, metaData: o2, getSdkInstance: i2, runAnimation: a2, createSdkState: s2, styleUtils: c2, setProps: u2 }) => {
            const d2 = (({ compName: e4 }) => ({ effectName: t4, effectOptions: n3, propertyName: r3 }) => {
              const o3 = Nr({ propertyName: r3, compName: e4 });
              if (!t4 && !n3) return false;
              if (!t4 && n3 && !Ir(n3)) return Fe(Ze({ propertyName: r3, compName: e4, infoLink: fr(r3) })), false;
              const i3 = "hide" === r3 ? "HIDE" : "SHOW", a3 = mr[i3]?.deprecatedValues;
              return t4 && n3 && a3 && a3.find((e5) => e5 === t4) && !Ir(n3) ? (Fe(Qe({ compName: e4, effectName: t4, propertyName: r3, infoLink: fr(r3) })), false) : !!a3.find((e5) => e5 === t4) || (t4 && !(t4 in vr) ? (Fe(Xe({ propertyName: r3, compName: e4, effectName: t4, infoLink: fr(r3) })), false) : !!o3(t4, n3));
            })({ compName: o2.role }), [l2, p2] = s2({ hidden: o2.hiddenOnLoad, collapsed: o2.collapsedOnLoad }, "hidden-collapsed");
            return { hide: async (o3, i3) => {
              if (u2({ hidden: true }), l2.collapsed || l2.hidden) p2({ hidden: true });
              else {
                if (d2({ effectName: o3, effectOptions: i3, propertyName: "hide" })) {
                  const e4 = { animationDirection: mr.HIDE.suffix, effectName: o3, effectOptions: { ...pr?.[o3] || lr, ...i3 } };
                  await Promise.all([a2(e4), t3 ? r2.runAnimation(e4) : void 0]);
                } else n2(c2.getHiddenStyles()), t3 && r2.setStyles(c2.getHiddenStyles());
                p2({ hidden: true }), e3?.onViewportLeave?.forEach((e4) => e4());
              }
            }, show: async (o3, i3) => {
              if (u2({ hidden: false }), !l2.collapsed && l2.hidden) {
                if (d2({ effectName: o3, effectOptions: i3, propertyName: "show" })) {
                  const e4 = { animationDirection: mr.SHOW.suffix, effectName: o3, effectOptions: { ...pr?.[o3] || lr, ...i3 } };
                  await Promise.all([a2(e4), t3 ? r2.runAnimation(e4) : void 0]);
                } else n2(c2.getShownStyles()), t3 && r2.setStyles(c2.getShownStyles());
                p2({ hidden: false }), e3?.onViewportEnter?.forEach((e4) => e4());
              } else p2({ hidden: false });
            }, collapse: async () => {
              u2({ collapsed: true }), l2.collapsed || (n2(c2.getCollapsedStyles()), t3 && r2.setStyles(c2.getCollapsedStyles()), p2({ collapsed: true }), l2.hidden || e3?.onViewportLeave?.forEach((e4) => e4()));
            }, expand: async () => {
              if (u2({ collapsed: false }), l2.collapsed) {
                const o3 = { ...c2.getExpandedStyles(), visibility: l2.hidden ? "hidden" : null };
                n2(o3), t3 && r2.setStyles(o3), p2({ collapsed: false }), l2.hidden || e3?.onViewportEnter?.forEach((e4) => e4());
              }
            }, get collapsed() {
              return l2.collapsed;
            }, get hidden() {
              return Boolean(l2.hidden);
            }, get isVisible() {
              if (!o2.isRendered()) return false;
              let e4 = i2();
              for (; e4; ) {
                if (e4.hidden || e4.collapsed) return false;
                e4 = e4.parent;
              }
              return true;
            }, get isAnimatable() {
              return true;
            } };
          }, wr = (e3) => (t3) => ((e4, t4 = false) => {
            const [n2, r2] = e4.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
            return cr([br({ viewportState: n2, hasPortal: t4 }), dr((e5, t5) => {
              r2({ [e5]: [...n2[e5], t5] });
            })])(e4);
          })(t3, e3), Er = (e3, t3, n2) => {
            const r2 = t3.filter((t4) => !e3.includes(t4));
            r2.length && Ve(Ct({ functionName: n2, wrongEffects: r2, allowedEffects: e3 }));
          }, Tr = (e3) => {
            const t3 = () => e3.effectsTriggersApi?.getEffects() || [];
            return { effects: { get effects() {
              return t3();
            }, get activeEffects() {
              return e3.effectsTriggersApi?.getActiveEffects() || [];
            }, applyEffects: (n2) => {
              Er(t3(), n2, "applyEffects"), e3.effectsTriggersApi?.applyEffects(...n2);
            }, removeEffects: (n2) => {
              Er(t3(), n2, "removeEffects"), e3.effectsTriggersApi?.removeEffects(...n2);
            }, toggleEffects: (n2) => {
              Er(t3(), n2, "toggleEffects"), e3.effectsTriggersApi?.toggleEffects(...n2);
            }, removeAllEffects: () => e3.effectsTriggersApi?.removeAllEffects() } };
          }, _r = (e3) => ({ delete: () => {
            e3.setProps({ deleted: true }), e3.remove();
          }, restore: () => {
            e3.setProps({ deleted: false }), e3.restore();
          }, get deleted() {
            return !!e3.props.deleted;
          } }), xr = (e3, t3) => "string" != typeof e3 ? (Or(e3, t3, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e3) || (Cr(e3, t3), false), Or = (e3, t3, n2, r2) => {
            Ve(xt({ propertyName: e3, functionName: t3, value: n2, expectedType: r2 }));
          }, $r = (e3, t3) => {
            Ve(rt({ propertyName: e3, functionName: t3 }));
          }, Cr = (e3, t3) => {
            Ve(At({ propertyName: e3, functionName: t3 }));
          }, Lr = (e3) => {
            const { setProps: t3, props: n2 } = e3;
            return { customClassList: { get value() {
              return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
            }, values() {
              return n2.customClassNames ? n2.customClassNames : [];
            }, add(...e4) {
              const r2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
              if (e4.length) {
                for (const t4 of e4) {
                  if (!xr(t4, "customClassList.add")) return;
                  r2.add(t4);
                }
                t3({ customClassNames: Array.from(r2) });
              } else $r("className", "customClassList.add");
            }, remove(...e4) {
              if (!e4.length) return void $r("className", "customClassList.remove");
              const r2 = new Set(n2.customClassNames);
              for (const t4 of e4) {
                if (!xr(t4, "customClassList.remove")) return;
                r2.delete(t4);
              }
              t3({ customClassNames: Array.from(r2) });
            }, contains(e4) {
              if (e4) return xr(e4, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e4) : void 0;
              $r("className", "customClassList.contains");
            }, replace(e4, t4) {
              return e4 && t4 ? !(!xr(t4, "customClassList.replace") || !xr(e4, "customClassList.replace")) && (!!this.contains(e4) && (this.remove(e4), this.add(t4), true)) : (Ve(ot({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
            }, toggle(e4) {
              return e4 ? !!xr(e4, "customClassList.toggle") && (this.contains(e4) ? (this.remove(e4), false) : (this.add(e4), true)) : ($r("className", "customClassList.toggle"), false);
            } } };
          }, Ar = ({ role: e3, compType: t3, isGlobal: n2, isRendered: r2 }) => ({ id: e3, type: `$w.${t3}`, global: n2(), rendered: r2() }), Sr = (e3) => ({ onMouseIn: (t3) => sr("onMouseEnter", e3, t3), onMouseOut: (t3) => sr("onMouseLeave", e3, t3), removeEventHandler: (t3, n2) => {
            const { getSdkInstance: r2 } = e3;
            return "string" != typeof t3 ? (Ve(xt({ propertyName: "type", functionName: "removeEventHandler", value: t3, expectedType: "string" })), r2()) : "function" != typeof n2 ? (Ve(xt({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), r2()) : ((e4, t4, n3) => {
              const { metaData: r3, getSdkInstance: o2 } = t4, [i2, a2] = or(t4), s2 = i2.listeners.filter((t5) => ar(t5.eventName, e4) && t5.cb === n3 && t5.compId === r3.compId);
              for (const e5 of s2) e5.unregister();
              return a2({ listeners: i2.listeners.filter((e5) => !s2.includes(e5)) }), o2();
            })(t3, e3, n2);
          }, get rendered() {
            return e3.metaData.isRendered();
          }, toJSON() {
            return Ar(e3.metaData);
          } }), Rr = dr();
          cr([ur, Rr, Sr, Tr, Lr]);
          const Pr = /* @__PURE__ */ function(e3, t3, n2 = {}) {
            return (r2) => {
              const o2 = e3(r2), i2 = Yt(r2.metaData.role), a2 = Yt(r2.metaData.role, { suppressIndexErrors: true });
              return Object.keys(o2).reduce((e4, s2) => {
                const c2 = Object.getOwnPropertyDescriptor(o2, s2), u2 = { enumerable: true, configurable: true };
                return c2.value ? "function" == typeof c2.value ? u2.value = (...e5) => {
                  const o3 = t3.properties[s2] && t3.properties[s2].args, i3 = n2[s2];
                  let u3 = true;
                  return o3 && (u3 = a2(e5, { type: ["array"], items: o3 }, s2)), u3 && i3 && (u3 = i3.every((t4) => t4(e5, r2))), u3 ? c2.value(...e5) : void 0;
                } : u2.value = c2.value : (c2.get && (u2.get = () => o2[s2]), c2.set && (u2.set = (e5) => {
                  const a3 = n2[s2];
                  let c3 = true;
                  t3.properties[s2] && (c3 = i2(e5, t3.properties[s2], s2)), c3 && a3 && (c3 = a3.every((t4) => t4(e5, r2))), c3 && (o2[s2] = e5);
                })), Object.defineProperty(e4, s2, u2), e4;
              }, {});
            };
          }((t3) => {
            const { props: n2, setProps: r2, compRef: o2, registerEvent: i2, metaData: a2, createSdkState: s2 } = t3, [c2, d2] = s2({ isMuted: n2.muted, isPlaying: false, currentTime: 0, duration: 0, volume: 100, shouldPlay: n2.autoplay && !n2.reducedMotion });
            return i2("updateState", (e3) => d2(e3)), { get isMuted() {
              return c2.isMuted;
            }, get isPlaying() {
              return c2.isPlaying;
            }, get currentTime() {
              return c2.currentTime;
            }, get duration() {
              return c2.duration;
            }, get volume() {
              return c2.volume;
            }, set volume(e3) {
              d2({ volume: e3 }), o2.setVolume(e3 / 100);
            }, get src() {
              var t4;
              const { fillLayers: r3 } = n2;
              if (null != r3 && null != (t4 = r3.video) && null != (t4 = t4.videoInfo) && t4.videoId) {
                const { videoInfo: t5 } = r3.video, n3 = function({ mediaId: e3, type: t6, title: n4, width: r4, height: o3, posterId: i3, watermark: a3, duration: s3 }) {
                  return p[t6]?.some((t7) => t7.test(e3)) ? { item: e3 } : u({ mediaId: e3, type: t6, title: n4, width: r4, height: o3, posterId: i3, watermark: a3, duration: s3 });
                }({ mediaId: t5.videoId, type: e2.VIDEO, width: t5.videoWidth, height: t5.videoHeight, posterId: r3.video.posterImageInfo.uri });
                return n3.error ? "" : n3.item || "";
              }
              return "";
            }, set src(e3) {
              var t4;
              const { fillLayers: o3 = {} } = n2, i3 = ((e4) => {
                if (f(e4, "video")) {
                  const t5 = m(e4, "video");
                  return t5.error ? null : { ...Me(t5), name: t5.title, fileName: t5.title, type: "WixVideo" };
                }
                {
                  const t5 = m(e4, "image");
                  return t5.error ? null : { ...t5, name: t5.title, type: "Image" };
                }
              })(e3);
              i3 ? (null == (t4 = o3.video) || null == (t4 = t4.videoInfo) ? void 0 : t4.videoId) !== i3.videoId && (r2(new Promise((e4) => {
                const t5 = i3.videoId;
                t5 ? Ue(t5).then((t6) => {
                  var n3, r3, a3;
                  const s3 = null == (n3 = t6.mediaObject.mediaFeatures) ? void 0 : n3.includes("alpha");
                  e4({ fillLayers: { ...o3, video: { ...o3.video, alt: "", posterImageInfo: { ...null == o3 || null == (r3 = o3.video) ? void 0 : r3.posterImageInfo, ...i3.posterImageRef }, videoInfo: { ...null == o3 || null == (a3 = o3.video) ? void 0 : a3.videoInfo, videoId: t6.mediaObject.videoId, videoWidth: t6.mediaObject.videoWidth, videoHeight: t6.mediaObject.videoHeight, qualities: t6.mediaObject.qualities.map((e5) => ({ ...e5, size: e5.width * e5.height })).filter((e5) => "storyboard" !== e5.quality).sort((e5, t7) => parseInt(e5.quality, 10) - parseInt(t7.quality, 10)), isVideoDataExists: "1", videoFormat: t6.mediaObject.videoFormat, playbackRate: t6.mediaObject.playbackRate, autoPlay: c2.shouldPlay, hasAlpha: s3 }, muted: c2.isMuted } }, hasAudio: t6.mediaObject.hasAudio, isTransparent: s3 });
                }).catch((t6) => {
                  throw e4({}), t6;
                }) : e4({});
              })), r2({ fillLayers: { ...o3, video: { ...De, muted: void 0 !== c2.isMuted ? c2.isMuted : n2.muted, alt: "", posterImageInfo: { containerId: a2.compId, ...i3.posterImageRef }, videoInfo: { containerId: a2.compId, videoId: i3.videoId, isVideoDataExists: false } } }, hasAudio: false, isTransparent: false })) : Ve('The "src" property cannot be set to "' + e3 + '". It must be a valid video URL starting with "wix:video://".');
            }, play() {
              return o2.play(true);
            }, pause() {
              return o2.pause();
            }, stop() {
              return o2.stop();
            }, togglePlay() {
              return o2.togglePlay();
            }, mute() {
              return o2.mute();
            }, unmute() {
              return o2.unmute();
            }, onPlay: (e3) => ir("onPlay", t3, e3), onPause: (e3) => ir("onPause", t3, e3), onEnded: (e3) => ir("onEnded", t3, e3), onProgress: (e3) => ir("onProgress", t3, e3), toJSON() {
              return { ...Ar(a2), ...c2 };
            } };
          }, { properties: { volume: { type: ["number"], minimum: 0, maximum: 100, warnIfNil: true }, src: { type: ["string"], warnIfNil: true } } }), jr = (({ useHiddenCollapsed: e3 = true, hasPortal: t3 = false } = {}) => cr([ur, Sr, Tr, _r, e3 ? wr(t3) : Rr, Lr]))(), kr = cr([jr, Pr]);
          var Gr = { factory: kr };
        }(), r;
      }();
    });
  })(MediaPlayer_bundle_min);
  var MediaPlayer_bundle_minExports = MediaPlayer_bundle_min.exports;
  const MediaPlayer = /* @__PURE__ */ getDefaultExportFromCjs(MediaPlayer_bundle_minExports);
  var MultiStateBox_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, r2) {
          for (var n2 in r2) e.o(r2, n2) && !e.o(t2, n2) && Object.defineProperty(t2, n2, { enumerable: true, get: r2[n2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { accessibilityPropsSDKFactory: function() {
          return Or;
        }, default: function() {
          return jr;
        }, sdk: function() {
          return Er;
        } });
        function r(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function n(e2) {
          return "string" == typeof e2;
        }
        function a(e2) {
          return Array.isArray(e2);
        }
        function o(e2) {
          return "object" == typeof e2 && null !== e2 && !a(e2);
        }
        function i(e2) {
          return null == e2;
        }
        function s(e2, t2) {
          return t2.includes(e2);
        }
        function u(e2, t2) {
          return e2 > t2;
        }
        function l(e2, t2) {
          return e2 < t2;
        }
        const p = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, c = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, m = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, d = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${n2}"')`, f = ({ propertyName: e2, compName: t2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, y = ({ propertyName: e2, compName: t2, effectName: r2, wrongProperty: n2, wrongValue: a2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${n2}: ${a2}. Read more about the effectOptions object: "${o2}"')`, b = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: n2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${n2}"`, h = ({ propertyName: e2, compName: t2, effectName: r2, wrongValue: n2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${n2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, v = ({ propertyName: e2, functionName: t2, compName: r2 }) => `The ${e2} parameter of "${r2}" that is passed to the ${t2} method cannot be set to null.`, g = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to null or undefined.`, N = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, x = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is required for ${t2} method.`, A = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, I = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, w = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is not allowed for ${t2} method.`, S = ({ propertyNames: e2, functionName: t2, index: r2 }) => `The following parameters: ${[...e2]} of item at index ${r2} are unknown for ${t2} method.`, C = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${a2}.`, T = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${a2}.`, O = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${n2}.`, E = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${n2}.`, j = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, L = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, P = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, k = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, B = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${n2} and ${a2}.`, R = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${n2} and ${a2}.`, V = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${n2}.`, D = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${n2}.`, M = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, q = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, F = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${n2}.`, H = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${n2}.`, _ = ({ propertyName: e2, functionName: t2, value: r2, expectedType: n2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${n2}.`, G = ({ propertyName: e2, functionName: t2, value: r2, expectedType: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${n2}.`, W = ({ propertyName: e2, functionName: t2, value: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format`, Y = ({ functionName: e2, wrongEffects: t2, allowedEffects: r2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, K = ({ propertyName: e2, functionName: t2, stateBoxId: r2, value: n2 }) => `The "${e2}" parameter that is passed to the "${t2}" method cannot be set to the value ${n2}. It must be a state from the "${r2}" statebox`, X = ({ propertyName: e2, functionName: t2, value: r2, index: n2 }) => `The "${e2}" property of the item at index ${n2} that is passed to the ${t2} method cannot be set to "${r2}". Bad format`, J = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, U = ({ compName: e2, functionName: t2, propertyName: n2, index: a2 }) => r(a2) ? g({ propertyName: n2, functionName: t2, index: a2 }) : e2 ? v({ compName: e2, functionName: t2, propertyName: n2 }) : m({ functionName: t2, propertyName: n2 }), z = ({ functionName: e2, propertyName: t2, index: n2 }) => r(n2) ? $({ functionName: e2, propertyName: t2, index: n2 }) : N({ functionName: e2, propertyName: t2 }), Z = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? r(n2) ? S({ functionName: e2, propertyNames: t2, index: n2 }) : I({ functionName: e2, propertyNames: t2 }) : r(n2) ? w({ functionName: e2, propertyName: t2[0], index: n2 }) : A({ functionName: e2, propertyName: t2[0] }), Q = ({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: o2, index: i2 }) => o2 && a2 ? o2 === a2 ? r(i2) ? E({ functionName: e2, propertyName: t2, value: n2, expectedValue: o2, index: i2 }) : O({ functionName: e2, propertyName: t2, value: n2, expectedValue: o2 }) : r(i2) ? T({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: o2, index: i2 }) : C({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: o2 }) : !o2 && a2 ? r(i2) ? k({ functionName: e2, propertyName: t2, value: n2, maximum: a2, index: i2 }) : P({ functionName: e2, propertyName: t2, value: n2, maximum: a2 }) : r(i2) ? L({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: i2 }) : j({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), ee = ({ functionName: e2, propertyName: t2, value: n2, minimum: a2, maximum: o2, index: i2 }) => a2 && o2 ? a2 === o2 ? r(i2) ? D({ functionName: e2, propertyName: t2, expectedValue: a2, value: n2, index: i2 }) : V({ functionName: e2, propertyName: t2, expectedValue: a2, value: n2 }) : r(i2) ? R({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2, index: i2 }) : B({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2 }) : !a2 && o2 ? r(i2) ? H({ functionName: e2, propertyName: t2, maximum: o2, value: n2, index: i2 }) : F({ functionName: e2, propertyName: t2, maximum: o2, value: n2 }) : r(i2) ? q({ functionName: e2, propertyName: t2, value: n2, minimum: a2, index: i2 }) : M({ functionName: e2, propertyName: t2, value: n2, minimum: a2 }), te = ({ functionName: e2, propertyName: t2, types: n2, value: a2, index: o2 }) => {
          const i2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return r(o2) ? G({ functionName: e2, index: o2, propertyName: t2, value: a2, expectedType: i2 }) : _({ functionName: e2, propertyName: t2, value: a2, expectedType: i2 });
        }, re = ({ functionName: e2, propertyName: t2, value: n2, enum: a2, index: o2 }) => {
          const i2 = `from (${a2.join(",")})`;
          return r(o2) ? G({ functionName: e2, propertyName: t2, value: n2, expectedType: i2, index: o2 }) : _({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, ne = ({ functionName: e2, propertyName: t2, value: n2, index: a2 }) => r(a2) ? X({ functionName: e2, propertyName: t2, value: n2, index: a2 }) : W({ functionName: e2, propertyName: t2, value: n2 }), ae = Object.prototype.hasOwnProperty, oe = Object.getOwnPropertyNames, ie = () => {
        };
        function se(e2, t2, r2, n2, a2, i2) {
          if (!o(e2)) return ce.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => se(e2, t3, r2, ie, a2, i2)).filter((e3) => e3 === ce.Valid).length ? ce.Valid : ce.Invalid;
          if (t2.required) {
            for (let r3 = 0; r3 < t2.required.length; r3++) if (!ae.call(e2, t2.required[r3])) return n2(z({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[r3] }), { ...i2, value: e2 }), ce.Invalid;
          }
          const s2 = oe(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = oe(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return n2(Z({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), ce.Invalid;
            }
          }
          for (let n3 = 0; n3 < s2.length; n3++) {
            const a3 = s2[n3];
            if (ae.call(e2, a3)) {
              const n4 = t2.properties[a3], o2 = e2[a3];
              if (!r2(o2, n4, { functionName: i2.functionName, index: i2.index, propertyName: a3 })) return ce.Invalid;
            }
          }
          return ce.Valid;
        }
        function ue(e2) {
          return Array.isArray(e2);
        }
        function le(e2, t2, n2, a2) {
          const { minimum: o2, maximum: i2, enum: p2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? p2 && !s(e2, p2) ? (n2(re({ value: e2, enum: p2, ...a2 }), { ...a2, value: e2 }), ce.Invalid) : r(o2) && l(e2, o2) || r(i2) && u(e2, i2) ? (n2(ee({ value: e2, minimum: o2, maximum: i2, ...a2 }), { ...a2, value: e2 }), ce.Invalid) : ce.Valid : ce.InvalidType;
        }
        function pe(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? ce.Valid : ce.InvalidType;
        }
        const ce = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function me({ reportError: e2, reportWarning: t2 }, o2, { suppressIndexErrors: p2 = false } = {}) {
          function c2(r2, n2, a2) {
            n2.warnIfNil && i(r2) && t2(U({ ...a2, compName: o2 }), { ...a2, value: r2 });
            let s2 = 0;
            for (; s2 < n2.type.length; s2++) {
              const e3 = (0, m2[n2.type[s2]])(r2, n2, a2);
              if (e3 !== ce.InvalidType) return e3 === ce.Valid;
            }
            return s2 === n2.type.length && e2(te({ value: r2, types: n2.type, ...a2 }), { ...a2, value: r2 }), false;
          }
          const m2 = { object: (r2, n2, a2) => se(r2, n2, c2, e2, t2, a2), array: (e3, t3, r2) => function(e4, t4, r3, n2, o3, i2 = false) {
            if (!a(e4)) return ce.InvalidType;
            let s2 = ce.Valid;
            if (t4.items) {
              const n3 = ue(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let a2 = 0; a2 < n3; a2++) {
                const n4 = e4[a2];
                let u2, l2;
                ue(t4.items) ? (u2 = t4.items[a2], l2 = t4.items[a2].name) : (u2 = t4.items, l2 = t4.name), r3(n4, u2, { functionName: o3.functionName, propertyName: l2 || o3.propertyName, index: i2 ? void 0 : a2 }) || (s2 = ce.Invalid);
              }
            }
            return s2;
          }(e3, t3, c2, 0, r2, p2), number: (t3, n2, a2) => function(e3, t4, n3, a3) {
            const { minimum: o3, maximum: i2, enum: p3 } = t4;
            return r(e3) ? p3 && !s(e3, p3) ? (n3(re({ value: e3, enum: p3, ...a3 }), { ...a3, value: e3 }), ce.Invalid) : r(o3) && l(e3, o3) || r(i2) && u(e3, i2) ? (n3(ee({ value: e3, minimum: o3, maximum: i2, ...a3 }), { ...a3, value: e3 }), ce.Invalid) : ce.Valid : ce.InvalidType;
          }(t3, n2, e2, a2), integer: (t3, r2, n2) => le(t3, r2, e2, n2), string: (t3, r2, a2) => function(e3, t4, r3, a3) {
            const { minLength: o3, maxLength: i2, enum: p3, pattern: c3 } = t4;
            return n(e3) ? p3 && !s(e3, p3) ? (r3(re({ value: e3, enum: p3, ...a3 }), { ...a3, value: e3 }), ce.Invalid) : o3 && l(e3.length, o3) || i2 && u(e3.length, i2) ? (r3(Q({ value: e3, minimum: o3, maximum: i2, ...a3 }), { ...a3, value: e3 }), ce.Invalid) : c3 && !new RegExp(c3).test(e3) ? (r3(ne({ value: e3, ...a3 }), { ...a3, value: e3 }), ce.Invalid) : ce.Valid : ce.InvalidType;
          }(t3, r2, e2, a2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? ce.Valid : ce.InvalidType;
          }(e3), date: (e3) => pe(e3), nil: (e3) => function(e4) {
            return i(e4) ? ce.Valid : ce.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? ce.Valid : ce.InvalidType;
          }(e3) };
          return function(e3, t3, r2) {
            return c2(e3, t3, { functionName: r2, propertyName: r2, index: void 0 });
          };
        }
        function de(e2, { suppressIndexErrors: t2 = false } = {}) {
          return me({ reportError: p, reportWarning: c }, e2, { suppressIndexErrors: t2 });
        }
        function fe(e2, t2, r2 = {}) {
          return (n2) => {
            const a2 = e2(n2), o2 = de(n2.metaData.role), i2 = de(n2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const u2 = Object.getOwnPropertyDescriptor(a2, s2), l2 = { enumerable: true, configurable: true };
              return u2.value ? "function" == typeof u2.value ? l2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, o3 = r2[s2];
                let l3 = true;
                return a3 && (l3 = i2(e4, { type: ["array"], items: a3 }, s2)), l3 && o3 && (l3 = o3.every((t3) => t3(e4, n2))), l3 ? u2.value(...e4) : void 0;
              } : l2.value = u2.value : (u2.get && (l2.get = () => a2[s2]), u2.set && (l2.set = (e4) => {
                const i3 = r2[s2];
                let u3 = true;
                t2.properties[s2] && (u3 = o2(e4, t2.properties[s2], s2)), u3 && i3 && (u3 = i3.every((t3) => t3(e4, n2))), u3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, l2), e3;
            }, {});
          };
        }
        const ye = "click", be = "dblClick", he = "mouseenter", ve = "mouseleave", ge = "change", Ne = "blur", xe = "focus", $e = "imageChanged", Ae = "imageExpanded", Ie = "onInput", we = "itemClicked", Se = "cellSelect", Ce = "cellEdit", Te = "rowSelect", Oe = "fetchData", Ee = "dataChange", je = "onTimeout", Le = "onVerified", Pe = "onError", ke = "onPlay", Be = "onPause", Re = "onProgress", Ve = "onEnded", De = "autoplayOff", Me = "autoplayOn", qe = "playEnded", Fe = "playProgress", He = "keyPress", _e = "keyUp", Ge = "keyDown", We = "screenIn", Ye = "viewportEnter", Ke = "viewportLeave", Xe = "scroll", Je = "validate", Ue = "setCustomValidity", ze = "syncValidationData", Ze = "updateValidityIndication", Qe = "message", et = "uploadComplete", tt = "itemReady", rt = "itemRemoved", nt = "tagClick", at = "quickActionBarItemClicked", ot = "markerClicked", it = "mapClicked", st = "iconMouseIn", ut = "onStateChange", lt = "itemMouseIn", pt = "itemMouseOut", ct = "itemMouseClick", mt = "itemMouseDblClick", dt = "onColorChange", ft = "onFontChange", yt = "onOpacityChange", bt = { [ye]: "onClick", [be]: "onDblClick", [he]: "onMouseIn", [ve]: "onMouseOut", [ge]: "onChange", [Ie]: "onInput", [Ne]: "onBlur", [xe]: "onFocus", [$e]: "onCurrentItemChanged", [Ae]: void 0, [we]: "onItemClicked", [Se]: "onCellSelect", [Ce]: void 0, [Te]: "onRowSelect", [Oe]: void 0, [Ee]: "onDataChange", [je]: "onTimeout", [Le]: "onVerified", [Pe]: "onError", [ke]: "onPlay", [Be]: "onPause", [Re]: "onProgress", [Ve]: "onEnded", [De]: "onPause", [Me]: "onPlay", [qe]: void 0, [Fe]: void 0, [He]: "onKeyPress", [_e]: "onKeyUp", [Ge]: "onKeyDown", [We]: void 0, [Ye]: "onViewportEnter", [Ke]: "onViewportLeave", [Xe]: void 0, [Je]: void 0, [Ue]: void 0, [ze]: void 0, [Ze]: void 0, [Qe]: "onMessage", [et]: void 0, [tt]: "onItemReady", [rt]: "onItemRemoved", [nt]: void 0, [at]: "onItemClicked", [ot]: "onMarkerClicked", [it]: "onMapClicked", [st]: void 0, [ut]: "onStateChange", [lt]: "onItemMouseIn", [pt]: "onItemMouseOut", [ct]: "onItemClick", [mt]: "onItemDblClick", [dt]: "onColorChange", [ft]: "onFontChange", [yt]: "onOpacityChange" }, ht = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, vt = (e2) => {
          const { target: t2, type: r2, context: n2 } = e2;
          return { target: t2, type: ht[r2] ?? r2, context: n2 };
        }, gt = (e2) => {
          const { clientX: t2, clientY: r2, pageX: n2, pageY: a2, screenX: o2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: u2, offsetY: l2 } = s2;
          return { clientX: t2, clientY: r2, pageX: n2, pageY: a2, screenX: o2, screenY: i2, offsetX: u2, offsetY: l2 };
        }, Nt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, xt = (e2) => e2.replace(/^on/i, ""), $t = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), At = (e2, t2, r2, n2) => {
          const { create$w: a2, createEvent: o2, registerEvent: i2, getSdkInstance: s2, metaData: u2 } = t2;
          if (!((e3, t3, r3) => de(r3)(e3, { type: ["function"] }, t3))(r2, Nt[e2] ?? e2, u2.role)) return s2();
          const [l2, p2] = $t(t2), c2 = i2(e2, (e3, t3) => {
            const i3 = o2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: i3.context }), u3 = n2?.({ componentEvent: e3, eventPayload: t3 });
            r2({ ...vt(i3), ...u3 }, s3);
          }), m2 = { eventName: e2, compId: u2.compId, cb: r2, unregister: c2 };
          return p2({ listeners: [...l2.listeners, m2] }), s2();
        }, It = (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = Object.entries(Nt).find(([t4, r3]) => xt(r3.toLowerCase()) === xt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(bt[t2] ?? t2);
          return e2.toLowerCase() === r2.toLowerCase();
        }, wt = (e2, t2, r2, n2) => At(e2, t2, r2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...gt(e3), ...t3 && n2?.(t3) }));
        function St(e2, t2) {
          const { modifyAriaSourceKeys: r2 } = t2 ?? {};
          return (t3) => {
            const n2 = {};
            for (let o2 = 0; o2 < e2.length; o2++) {
              const i2 = e2[o2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], o3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(n2, r2 && o3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, o3);
              }
            }
            var a2;
            return n2;
          };
        }
        const Ct = ({ handlers: e2, metaData: t2 }) => {
          const { compId: r2, connection: n2, compType: a2, isGlobal: o2, getParent: i2, role: s2, wixCodeId: u2 } = t2, l2 = `$w.${a2}`;
          return { get id() {
            return u2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return n2?.config;
          }, get uniqueId() {
            return r2;
          }, get parent() {
            return i2();
          }, get global() {
            return o2();
          }, get type() {
            return l2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(r2, t3));
          }, toJSON() {
            return { id: s2, type: l2, global: o2() };
          } };
        }, Tt = (e2) => (t2) => {
          const { metaData: r2, getSdkInstance: n2, create$w: a2, createEvent: o2 } = t2, i2 = (e3, t3) => de(r2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (r3) => i2(r3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = o2({ type: "viewportEnter" }), t3 = a2();
            r3(e3, t3);
          }), At("onViewportEnter", t2, r3)) : n2(), onViewportLeave: (r3) => i2(r3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = o2({ type: "viewportLeave" }), t3 = a2();
            r3(e3, t3);
          }), At("onViewportLeave", t2, r3)) : n2() };
        }, Ot = { duration: 1200, delay: 0 }, Et = { arc: { ...Ot, direction: "left" }, bounce: { ...Ot, direction: "topLeft", intensity: "medium" }, puff: { ...Ot }, zoom: { ...Ot }, fade: { ...Ot }, flip: { ...Ot, direction: "right" }, float: { ...Ot, direction: "right" }, fly: { ...Ot, direction: "right" }, fold: { ...Ot, direction: "left" }, glide: { ...Ot, angle: 0, distance: 0 }, roll: { ...Ot, direction: "left" }, slide: { ...Ot, direction: "left" }, spin: { ...Ot, direction: "cw", cycles: 5 }, turn: { ...Ot, direction: "right" }, ArcIn: { ...Ot, direction: "right" }, ArcOut: { ...Ot, direction: "right" }, BounceIn: { ...Ot, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Ot, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Ot, direction: "right" }, CollapseOut: { ...Ot }, Conceal: { ...Ot, direction: "right" }, Reveal: { ...Ot, direction: "left" }, FadeIn: { ...Ot }, FadeOut: { ...Ot }, FlipIn: { ...Ot, direction: "left" }, FlipOut: { ...Ot, direction: "left" }, FloatIn: { ...Ot, direction: "right" }, FloatOut: { ...Ot, direction: "right" }, FlyIn: { ...Ot, direction: "right" }, FlyOut: { ...Ot, direction: "right" }, FoldIn: { ...Ot, direction: "left" }, FoldOut: { ...Ot, direction: "left" }, GlideIn: { ...Ot, angle: 0, distance: 150 }, GlideOut: { ...Ot, angle: 0, distance: 150 }, DropIn: { ...Ot }, PopOut: { ...Ot }, SlideIn: { ...Ot, direction: "left" }, SlideOut: { ...Ot, direction: "left" }, SpinIn: { ...Ot, direction: "cw", cycles: 2 }, SpinOut: { ...Ot, direction: "cw", cycles: 2 }, TurnIn: { ...Ot, direction: "right" }, TurnOut: { ...Ot, direction: "right" } }, jt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Lt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Pt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, kt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Bt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Rt = { arc: { type: ["object"], properties: { duration: Pt, delay: kt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Pt, delay: kt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Pt, delay: kt } }, zoom: { type: ["object"], properties: { duration: Pt, delay: kt } }, fade: { type: ["object"], properties: { duration: Pt, delay: kt } }, flip: { type: ["object"], properties: { duration: Pt, delay: kt, direction: Bt } }, float: { type: ["object"], properties: { duration: Pt, delay: kt, direction: Bt } }, fly: { type: ["object"], properties: { duration: Pt, delay: kt, direction: Bt } }, fold: { type: ["object"], properties: { duration: Pt, delay: kt, direction: Bt } }, glide: { type: ["object"], properties: { duration: Pt, delay: kt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Pt, delay: kt, direction: Bt } }, slide: { type: ["object"], properties: { duration: Pt, delay: kt, direction: Bt } }, spin: { type: ["object"], properties: { duration: Pt, delay: kt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Pt, delay: kt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Vt = ({ propertyName: e2, compName: t2 }) => (r2, n2) => {
          if (!r2) return false;
          if (void 0 === n2) return true;
          const a2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (n3, a3) => {
            c(h({ propertyName: t3, compName: r3, effectName: e3, wrongValue: `${a3?.value}`, infoLink: Lt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          if (!me({ reportError: a2, reportWarning: () => ({}) }, t2)(n2, { type: ["object"] }, e2)) return false;
          const o2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (n3, a3) => {
            c(y({ propertyName: t3, compName: r3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: Lt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          return !!me({ reportError: o2, reportWarning: () => ({}) }, t2)(n2, Rt[r2], e2);
        }, Dt = (e2) => 0 === Object.keys(e2).length, Mt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: r2, portal: n2, metaData: a2, getSdkInstance: o2, runAnimation: i2, createSdkState: s2, styleUtils: u2, setProps: l2 }) => {
          const p2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: r3, propertyName: n3 }) => {
            const a3 = Vt({ propertyName: n3, compName: e3 });
            if (!t3 && !r3) return false;
            if (!t3 && r3 && !Dt(r3)) return c(f({ propertyName: n3, compName: e3, infoLink: Lt(n3) })), false;
            const o3 = "hide" === n3 ? "HIDE" : "SHOW", i3 = jt[o3]?.deprecatedValues;
            return t3 && r3 && i3 && i3.find((e4) => e4 === t3) && !Dt(r3) ? (c(b({ compName: e3, effectName: t3, propertyName: n3, infoLink: Lt(n3) })), false) : !!i3.find((e4) => e4 === t3) || (t3 && !(t3 in Rt) ? (c(d({ propertyName: n3, compName: e3, effectName: t3, infoLink: Lt(n3) })), false) : !!a3(t3, r3));
          })({ compName: a2.role }), [m2, y2] = s2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (a3, o3) => {
            if (l2({ hidden: true }), m2.collapsed || m2.hidden) y2({ hidden: true });
            else {
              if (p2({ effectName: a3, effectOptions: o3, propertyName: "hide" })) {
                const e3 = { animationDirection: jt.HIDE.suffix, effectName: a3, effectOptions: { ...Et?.[a3] || Ot, ...o3 } };
                await Promise.all([i2(e3), t2 ? n2.runAnimation(e3) : void 0]);
              } else r2(u2.getHiddenStyles()), t2 && n2.setStyles(u2.getHiddenStyles());
              y2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (a3, o3) => {
            if (l2({ hidden: false }), !m2.collapsed && m2.hidden) {
              if (p2({ effectName: a3, effectOptions: o3, propertyName: "show" })) {
                const e3 = { animationDirection: jt.SHOW.suffix, effectName: a3, effectOptions: { ...Et?.[a3] || Ot, ...o3 } };
                await Promise.all([i2(e3), t2 ? n2.runAnimation(e3) : void 0]);
              } else r2(u2.getShownStyles()), t2 && n2.setStyles(u2.getShownStyles());
              y2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else y2({ hidden: false });
          }, collapse: async () => {
            l2({ collapsed: true }), m2.collapsed || (r2(u2.getCollapsedStyles()), t2 && n2.setStyles(u2.getCollapsedStyles()), y2({ collapsed: true }), m2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (l2({ collapsed: false }), m2.collapsed) {
              const a3 = { ...u2.getExpandedStyles(), visibility: m2.hidden ? "hidden" : null };
              r2(a3), t2 && n2.setStyles(a3), y2({ collapsed: false }), m2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return m2.collapsed;
          }, get hidden() {
            return Boolean(m2.hidden);
          }, get isVisible() {
            if (!a2.isRendered()) return false;
            let e3 = o2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, qt = (e2) => (t2) => ((e3, t3 = false) => {
          const [r2, n2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return St([Mt({ viewportState: r2, hasPortal: t3 }), Tt((e4, t4) => {
            n2({ [e4]: [...r2[e4], t4] });
          })])(e3);
        })(t2, e2), Ft = (e2, t2, r2) => {
          const n2 = t2.filter((t3) => !e2.includes(t3));
          n2.length && p(Y({ functionName: r2, wrongEffects: n2, allowedEffects: e2 }));
        }, Ht = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (r2) => {
            Ft(t2(), r2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...r2);
          }, removeEffects: (r2) => {
            Ft(t2(), r2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...r2);
          }, toggleEffects: (r2) => {
            Ft(t2(), r2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...r2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, _t = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Gt = (e2, t2) => "string" != typeof e2 ? (Wt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Kt(e2, t2), false), Wt = (e2, t2, r2, n2) => {
          p(_({ propertyName: e2, functionName: t2, value: r2, expectedType: n2 }));
        }, Yt = (e2, t2) => {
          p(N({ propertyName: e2, functionName: t2 }));
        }, Kt = (e2, t2) => {
          p(J({ propertyName: e2, functionName: t2 }));
        }, Xt = (e2) => {
          const { setProps: t2, props: r2 } = e2;
          return { customClassList: { get value() {
            return r2.customClassNames ? r2.customClassNames?.join(" ") : "";
          }, values() {
            return r2.customClassNames ? r2.customClassNames : [];
          }, add(...e3) {
            const n2 = r2.customClassNames ? new Set(r2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Gt(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else Yt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Yt("className", "customClassList.remove");
            const n2 = new Set(r2.customClassNames);
            for (const t3 of e3) {
              if (!Gt(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return Gt(e3, "customClassList.contains") ? !!r2.customClassNames && r2.customClassNames.includes(e3) : void 0;
            Yt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Gt(t3, "customClassList.replace") || !Gt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (p(x({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Gt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Yt("className", "customClassList.toggle"), false);
          } } };
        }, Jt = ({ role: e2, compType: t2, isGlobal: r2, isRendered: n2 }) => ({ id: e2, type: `$w.${t2}`, global: r2(), rendered: n2() }), Ut = (e2) => ({ onMouseIn: (t2) => wt("onMouseEnter", e2, t2), onMouseOut: (t2) => wt("onMouseLeave", e2, t2), removeEventHandler: (t2, r2) => {
          const { getSdkInstance: n2 } = e2;
          return "string" != typeof t2 ? (p(_({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), n2()) : "function" != typeof r2 ? (p(_({ propertyName: "handler", functionName: "removeEventHandler", value: r2, expectedType: "function" })), n2()) : ((e3, t3, r3) => {
            const { metaData: n3, getSdkInstance: a2 } = t3, [o2, i2] = $t(t3), s2 = o2.listeners.filter((t4) => It(t4.eventName, e3) && t4.cb === r3 && t4.compId === n3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: o2.listeners.filter((e4) => !s2.includes(e4)) }), a2();
          })(t2, e2, r2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Jt(e2.metaData);
        } }), zt = Tt(), Zt = (St([Ct, zt, Ut, Ht, Xt]), fe(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: i(r2) ? void 0 : r2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } }));
        var Qt;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(Qt || (Qt = {}));
        const er = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, tr = (e2) => rr(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), rr = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), nr = (e2, t2, r2, n2, a2) => a2 ? !!r2(a2) || (p(n2), false) : !!t2 || (p(te({ value: a2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), ar = (e2, t2 = true) => (r2) => nr(e2, t2, rr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, r2), or = (e2, t2 = true) => (r2) => nr(e2, t2, tr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, r2), ir = fe(({ setProps: e2, props: t2, create$w: r2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return r2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [or("describedBy")] }), sr = fe(({ setProps: e2, props: t2, create$w: r2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return r2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [or("labelledBy")] }), ur = fe(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), lr = fe(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), pr = fe(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), cr = fe(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), mr = fe(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: i(r2) ? void 0 : r2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), dr = fe(({ setProps: e2, props: t2, create$w: r2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return r2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [ar("owns")] }), fr = fe(({ setProps: e2, props: t2, create$w: r2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return r2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [ar("controls")] }), yr = fe(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: i(r2) ? void 0 : r2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), br = fe(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: i(r2) ? void 0 : r2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), hr = fe(({ setProps: e2, props: t2, create$w: r2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return r2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [or("errorMessage")] }), vr = fe(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), gr = fe(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), Nr = fe(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), xr = fe(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), $r = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(r2) {
          null === r2 || n(r2) ? e2({ screenReader: { ...t2.screenReader, prefix: r2 } }) : p(er("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(r2) {
          null === r2 || n(r2) ? e2({ screenReader: { ...t2.screenReader, suffix: r2 } }) : p(er("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(r2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: i(r2) ? void 0 : r2 } });
        } } }), Ar = (fe($r, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), fe(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: i(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), Ir = fe(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: i(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), wr = { enableAriaLabel: Zt, enableAriaDescribedBy: ir, enableAriaLabelledBy: sr, enableAriaAtomic: ur, enableAriaBusy: lr, enableAriaCurrent: pr, enableAriaExpanded: cr, enableAriaLive: mr, enableAriaOwns: dr, enableAriaControls: fr, enableAriaRoleDescription: yr, enableAriaRelevant: br, enableAriaErrorMessage: hr, enableAriaHidden: vr, enableAriaPressed: gr, enableAriaHaspopup: Nr, enableAriaRequired: xr }, Sr = { enableScreenReader: $r, enableRole: Ar, enableTabIndex: Ir };
        const Cr = (e2) => {
          const t2 = { ...e2, get type() {
            return "$w.State";
          }, toJSON() {
            return { ...e2.toJSON(), type: t2.type };
          } };
          return t2;
        }, Tr = fe((e2) => {
          const { props: t2, getChildren: r2, metaData: a2, setProps: o2 } = e2, i2 = (e3) => {
            const { parent: t3, role: r3, id: n2 } = e3, a3 = null == t3 ? void 0 : t3.children.find((e4) => e4.role === r3);
            return (null == a3 ? void 0 : a3.uniqueId) || n2;
          }, s2 = { get currentState() {
            const e3 = s2.states, r3 = e3.find((e4) => i2(e4) === t2.selectedStateId), n2 = r3 || e3[0];
            return Cr(n2);
          }, get states() {
            return r2().map(Cr);
          }, changeState(e3) {
            const a3 = r2(), s3 = t2.selectedStateId, u2 = n(e3) ? a3.find((t3) => {
              let { role: r3 } = t3;
              return r3 === e3;
            }) : e3, l2 = u2 ? i2(u2) : null;
            return s3 === l2 ? Promise.resolve(this.currentState) : new Promise((e4) => {
              o2({ selectedStateId: l2 }), e4(u2);
            });
          }, get type() {
            return "$w.MultiStateBox";
          }, toJSON() {
            return { ...Jt(a2), type: s2.type, currentStateId: s2.currentState.id };
          } };
          return s2;
        }, { properties: { changeState: { type: ["function"], args: [{ type: ["object", "string"] }] } } }, { changeState: [(e2, t2) => {
          const [r2] = e2, a2 = o(r2), i2 = t2.getChildren();
          let s2 = -1;
          if (o(r2)) {
            if (!Object.keys(i2[0]).every((e3) => r2.hasOwnProperty(e3))) return p(te({ propertyName: "stateReference", functionName: "changeState", value: r2, types: ["state", "string"], index: void 0 })), false;
            s2 = i2.findIndex((e3) => e3.uniqueId === r2.uniqueId);
          }
          return n(r2) && (s2 = i2.findIndex((e3) => e3.role === r2)), !(s2 < 0) || (p((({ functionName: e3, propertyName: t3, stateBoxId: r3, value: n2 }) => K({ functionName: e3, propertyName: t3, stateBoxId: r3, value: n2 }))({ value: a2 ? r2.role : r2, propertyName: "stateReference", functionName: "changeState", stateBoxId: t2.metaData.role })), false);
        }] }), Or = (({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: n2 = false, enableAriaBusy: a2 = false, enableAriaHidden: o2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: u2 = false, enableAriaExpanded: l2 = false, enableAriaLive: p2 = false, enableAriaOwns: c2 = false, enableAriaControls: m2 = false, enableAriaRoleDescription: d2 = false, enableAriaRelevant: f2 = false, enableRole: y2 = false, enableTabIndex: b2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: v2 = false, enableAriaRequired: g2 = false } = {}) => (N2) => {
          const x2 = [], $2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: r2, enableAriaAtomic: n2, enableAriaBusy: a2, enableAriaCurrent: u2, enableAriaExpanded: l2, enableAriaLive: p2, enableAriaOwns: c2, enableAriaControls: m2, enableAriaRoleDescription: d2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: o2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: g2 }, A2 = { enableScreenReader: v2, enableRole: y2, enableTabIndex: b2 };
          if (Object.values($2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, r3]) => r3 && wr[e5] && t3.push(wr[e5])), (e5) => {
                const r3 = St(t3, { modifyAriaSourceKeys: true })(e5);
                return r3.ariaAttributes = St(t3)(e5), r3;
              };
            })($2);
            x2.push(e3);
          }
          Object.entries(A2).forEach(([e3, t3]) => t3 && Sr[e3] && x2.push(Sr[e3]));
          return { accessibility: St(x2)(N2) };
        })({ enableAriaLabel: true, enableAriaDescribedBy: true, enableAriaLabelledBy: true, enableAriaAtomic: true, enableAriaBusy: true, enableAriaCurrent: true, enableAriaExpanded: true, enableAriaLive: true, enableAriaOwns: true, enableAriaRelevant: true, enableRole: true, enableTabIndex: true, enableAriaErrorMessage: true }), Er = St([(({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => St([Ct, Ut, Ht, _t, e2 ? qt(t2) : zt, Xt]))(), (e2) => ({ onChange: (t2) => At("onChange", e2, t2) }), (e2) => ({ onClick: (t2) => wt("onClick", e2, t2), onDblClick: (t2) => wt("onDblClick", e2, t2) }), ({ getChildren: e2 }) => ({ get children() {
          return e2();
        } }), Tr, (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => At("onFocus", e2, t2), onBlur: (t2) => At("onBlur", e2, t2) }), Or]);
        var jr = { factory: Er };
        return t;
      }();
    });
  })(MultiStateBox_bundle_min);
  var MultiStateBox_bundle_minExports = MultiStateBox_bundle_min.exports;
  const MultiStateBox = /* @__PURE__ */ getDefaultExportFromCjs(MultiStateBox_bundle_minExports);
  var MusicPlayer_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var r2 in n2) e.o(n2, r2) && !e.o(t2, r2) && Object.defineProperty(t2, r2, { enumerable: true, get: n2[r2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return pn;
        }, sdk: function() {
          return cn;
        } });
        function n(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function r(e2) {
          return Array.isArray(e2);
        }
        function i(e2) {
          return null == e2;
        }
        function o(e2, t2) {
          return t2.includes(e2);
        }
        function a(e2, t2) {
          return e2 > t2;
        }
        function m(e2, t2) {
          return e2 < t2;
        }
        const s = { IMAGE: "image", DOCUMENT: "document", VIDEO: "video", AUDIO: "audio", VECTOR: "vector" }, u = { empty_media_id: "empty_media_id", empty_poster_id: "empty_poster_id", bad_media_id: "bad_media_id", unknown_media_type: "unknown_media_type", missing_width_height: "missing_width_height", non_string_media_id: "non_string_media_id" }, d = { vector: (e2, t2) => `wix:vector://v1/${e2}/${t2}`, image: (e2, t2, n2, r2, i2) => `wix:image://v1/${e2}/${t2}#originWidth=${n2}&originHeight=${r2}${i2 ? `&watermark=${i2}` : ""}`, document: (e2, t2) => `wix:document://v1/${e2}/${t2}`, video: (e2, t2, n2, r2 = 0, i2 = 0) => `wix:video://v1/${e2}/${n2}#posterUri=${t2}&posterWidth=${r2}&posterHeight=${i2}`, audio: (e2, t2, n2) => `wix:audio://v1/${e2}/${t2}#duration=${n2}` }, c = { vector: /^wix:vector:\/\/v1\/([^\/]+)\/([^\/]*)$/, image: /^wix:image:\/\/v1\/([^\/]+)\/([^\/]*)#originWidth=([0-9]+)&originHeight=([0-9]+)(?:&watermark=([^\/]+))?$/, document: /^wix:document:\/\/v1\/([^\/]+)\/([^\/]+)$/, video: /^wix:video:\/\/v1\/([^\/]+)\/([^\/]+)#posterUri=([^\/]+)&posterWidth=([0-9]+)&posterHeight=([0-9]+)$/, audio: /^wix:audio:\/\/v1\/([^\/]+)\/([^\/]+)#duration=([0-9]+)$/, deprecated_video: /^wix:video:\/\/v1\/([^\/]+)\/([^\/]+)\/#posterUri=([^\/]+)&posterWidth=([0-9]+)&posterHeight=([0-9]+)$/, deprecated_image: /^image:\/\/v1\/([^\/]+)\/([0-9]+)_([0-9]+)\/([^\/]*)$/, deprecated_type: /^(image):/, type: /^wix:(\w+):/, splitExtension: /\.(?=[^.]+$)/, emptyTitle: /^_\./ }, p = { vector: [c.vector], image: [c.image, c.deprecated_image], document: [c.document], video: [c.video, c.deprecated_video], audio: [c.audio] };
        function l(e2, t2 = "", n2) {
          const [r2, i2] = n2.split(c.splitExtension), [o2, a2] = t2.split(c.splitExtension);
          let m2;
          switch (e2) {
            case s.IMAGE:
              m2 = `${o2 || "_"}.${a2 || i2}`;
              break;
            case s.DOCUMENT:
              m2 = `${o2 || r2}.${a2 || i2}`;
              break;
            case s.VIDEO:
              m2 = `${o2 || "_"}${a2 ? `.${a2}` : ""}`;
              break;
            case s.AUDIO:
            case s.VECTOR:
              m2 = `${o2 || r2}.${a2 || i2}`;
              break;
            default:
              m2 = "";
          }
          return encodeURI(m2);
        }
        function f(e2) {
          return c.emptyTitle.test(e2) ? "" : decodeURI(e2);
        }
        function y({ mediaId: e2, type: t2, title: n2, width: r2, height: i2, posterId: o2, watermark: a2, duration: m2 }) {
          switch (t2) {
            case s.IMAGE:
              return function({ mediaId: e3, title: t3, width: n3, height: r3, watermark: i3 }) {
                if (!e3) return { error: u.empty_media_id };
                if ("number" != typeof r3 || "number" != typeof n3) return { error: u.missing_width_height };
                const o3 = l(s.IMAGE, t3, e3);
                return { item: d.image(e3, o3, n3, r3, i3) };
              }({ mediaId: e2, title: n2, width: r2, height: i2, watermark: a2 });
            case s.DOCUMENT:
              return function({ mediaId: e3, title: t3 }) {
                if (!e3) return { error: u.empty_media_id };
                const n3 = l(s.DOCUMENT, t3, e3);
                return { item: d.document(e3, n3) };
              }({ mediaId: e2, title: n2 });
            case s.VECTOR:
              return function({ mediaId: e3, title: t3 }) {
                if (!e3) return { error: u.empty_media_id };
                const n3 = l(s.VECTOR, t3, e3);
                return { item: d.vector(e3, n3) };
              }({ mediaId: e2, title: n2 });
            case s.VIDEO:
              return function({ mediaId: e3, title: t3, width: n3, height: r3, posterId: i3 }) {
                if (!e3) return { error: u.empty_media_id };
                if (!i3) return { error: u.empty_poster_id };
                if (isNaN(r3 || NaN) || isNaN(n3 || NaN)) return { error: u.missing_width_height };
                const o3 = e3.replace("video/", ""), a3 = l(s.VIDEO, t3, o3);
                return { item: d.video(o3, i3, a3, n3, r3) };
              }({ mediaId: e2, title: n2, width: r2, height: i2, posterId: o2 });
            case s.AUDIO:
              return function({ mediaId: e3, title: t3, duration: n3 }) {
                if (!e3) return { error: u.empty_media_id };
                const r3 = l(s.AUDIO, t3, e3);
                return { item: d.audio(e3, r3, n3 || 0) };
              }({ mediaId: e2, title: n2, duration: m2 });
            default:
              return { error: u.unknown_media_type };
          }
        }
        function h(e2 = "") {
          if ("string" != typeof e2) return { error: u.non_string_media_id };
          const [, t2] = e2.match(c.type) || [];
          switch (t2) {
            case s.IMAGE:
              return function(e3) {
                const [, t4, n2, r2, i2, o2] = e3.match(c.image) || [], a2 = f(n2);
                if (t4) return { type: s.IMAGE, mediaId: t4, title: a2, width: parseInt(r2, 10), height: parseInt(i2, 10), watermark: o2 };
                return { error: u.bad_media_id };
              }(e2);
            case s.DOCUMENT:
              return function(e3) {
                const [, t4, n2] = e3.match(c.document) || [], r2 = f(n2);
                return t4 ? { type: s.DOCUMENT, mediaId: t4, title: r2 } : { error: u.bad_media_id };
              }(e2);
            case s.VECTOR:
              return function(e3) {
                const [, t4, n2] = e3.match(c.vector) || [], r2 = f(n2);
                return t4 ? { type: s.VECTOR, mediaId: t4, title: r2 } : { error: u.bad_media_id };
              }(e2);
            case s.VIDEO:
              return function(e3) {
                const t4 = c.deprecated_video.test(e3) ? c.deprecated_video : c.video, [, n2, r2, i2, o2, a2] = e3.match(t4) || [], m2 = f(r2);
                return n2 && i2 ? { type: s.VIDEO, mediaId: n2, posterId: i2, width: parseInt(o2, 10), height: parseInt(a2, 10), title: m2 } : { error: u.bad_media_id };
              }(e2);
            case s.AUDIO:
              return function(e3) {
                const [, t4, n2, r2] = e3.match(c.audio) || [], i2 = f(n2);
                return t4 ? { type: s.AUDIO, mediaId: t4, title: i2, duration: parseInt(r2, 10) } : { error: u.bad_media_id };
              }(e2);
            default:
              const [, t3] = e2.match(c.deprecated_type) || [];
              return t3 ? function(e3) {
                const [, t4, n2, r2, i2] = e3.match(c.deprecated_image) || [], o2 = f(i2);
                return t4 ? { type: s.IMAGE, mediaId: t4, title: o2, width: parseInt(n2, 10), height: parseInt(r2, 10) } : { error: u.bad_media_id };
              }(e2) : { error: u.unknown_media_type };
          }
        }
        const N = { externalUrl: /(^https?)|(^data)|(^blob)|(^\/\/)/, inlineSvg: /<svg[\s\S]*>[\s\S]*<\/svg>/im }, v = { [s.VECTOR]: [N.externalUrl, N.inlineSvg], [s.IMAGE]: [N.externalUrl], [s.DOCUMENT]: [], [s.VIDEO]: [], [s.AUDIO]: [N.externalUrl] };
        function g(e2, t2) {
          const n2 = function(e3 = "", t3) {
            const n3 = p[t3];
            return n3 && n3.some((t4) => t4.test(e3));
          }(e2, t2);
          return n2 || v[t2] && v[t2].some((t3) => t3.test(e2));
        }
        const $ = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, I = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, w = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, x = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${r2}"')`, b = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, O = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: r2, wrongValue: i2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${r2}: ${i2}. Read more about the effectOptions object: "${o2}"')`, E = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: r2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${r2}"`, T = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: r2, infoLink: i2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${r2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${i2}"'`, C = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, k = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, _ = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, S = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, P = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, V = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, D = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, L = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, M = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, A = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: i2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${r2} and ${i2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: i2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${r2} and ${i2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${r2}.`, U = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${r2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${r2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${r2}.`, G = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${r2}.`, W = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${r2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: i2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${r2} and ${i2}.`, B = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: i2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${r2} and ${i2}.`, X = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${r2}.`, Y = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${r2}.`, K = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${r2}.`, z = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, index: i2 }) => `The value of ${e2} parameter of item at ${i2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${r2}.`, J = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${r2}.`, Z = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2, index: i2 }) => `The value of ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${r2}.`, Q = ({ propertyName: e2, functionName: t2, value: n2, expectedType: r2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${r2}.`, ee = ({ propertyName: e2, functionName: t2, value: n2, expectedType: r2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${r2}.`, te = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, ne = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, re = ({ propertyName: e2, functionName: t2, value: n2, index: r2 }) => `The "${e2}" property of the item at index ${r2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, ie = ({ url: e2, type: t2, prefix: n2 }) => `The "src" property cannot be set to "${e2}". It must be a valid URL starting with "http://", "https://", or a valid ${t2} URL starting with ${n2}.`, oe = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, ae = ({ compName: e2, functionName: t2, propertyName: r2, index: i2 }) => n(i2) ? k({ propertyName: r2, functionName: t2, index: i2 }) : e2 ? C({ compName: e2, functionName: t2, propertyName: r2 }) : w({ functionName: t2, propertyName: r2 }), me = ({ functionName: e2, propertyName: t2, index: r2 }) => n(r2) ? P({ functionName: e2, propertyName: t2, index: r2 }) : _({ functionName: e2, propertyName: t2 }), se = ({ functionName: e2, propertyNames: t2, index: r2 }) => t2 && t2.length > 1 ? n(r2) ? M({ functionName: e2, propertyNames: t2, index: r2 }) : D({ functionName: e2, propertyNames: t2 }) : n(r2) ? L({ functionName: e2, propertyName: t2[0], index: r2 }) : V({ functionName: e2, propertyName: t2[0] }), ue = ({ functionName: e2, propertyName: t2, value: r2, maximum: i2, minimum: o2, index: a2 }) => o2 && i2 ? o2 === i2 ? n(a2) ? U({ functionName: e2, propertyName: t2, value: r2, expectedValue: o2, index: a2 }) : R({ functionName: e2, propertyName: t2, value: r2, expectedValue: o2 }) : n(a2) ? j({ functionName: e2, propertyName: t2, value: r2, maximum: i2, minimum: o2, index: a2 }) : A({ functionName: e2, propertyName: t2, value: r2, maximum: i2, minimum: o2 }) : !o2 && i2 ? n(a2) ? W({ functionName: e2, propertyName: t2, value: r2, maximum: i2, index: a2 }) : G({ functionName: e2, propertyName: t2, value: r2, maximum: i2 }) : n(a2) ? H({ functionName: e2, propertyName: t2, value: r2, minimum: o2, index: a2 }) : F({ functionName: e2, propertyName: t2, value: r2, minimum: o2 }), de = ({ functionName: e2, propertyName: t2, value: r2, minimum: i2, maximum: o2, index: a2 }) => i2 && o2 ? i2 === o2 ? n(a2) ? Y({ functionName: e2, propertyName: t2, expectedValue: i2, value: r2, index: a2 }) : X({ functionName: e2, propertyName: t2, expectedValue: i2, value: r2 }) : n(a2) ? B({ functionName: e2, propertyName: t2, value: r2, maximum: o2, minimum: i2, index: a2 }) : q({ functionName: e2, propertyName: t2, value: r2, maximum: o2, minimum: i2 }) : !i2 && o2 ? n(a2) ? Z({ functionName: e2, propertyName: t2, maximum: o2, value: r2, index: a2 }) : J({ functionName: e2, propertyName: t2, maximum: o2, value: r2 }) : n(a2) ? z({ functionName: e2, propertyName: t2, value: r2, minimum: i2, index: a2 }) : K({ functionName: e2, propertyName: t2, value: r2, minimum: i2 }), ce = ({ functionName: e2, propertyName: t2, types: r2, value: i2, index: o2 }) => {
          const a2 = r2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return n(o2) ? ee({ functionName: e2, index: o2, propertyName: t2, value: i2, expectedType: a2 }) : Q({ functionName: e2, propertyName: t2, value: i2, expectedType: a2 });
        }, pe = ({ functionName: e2, propertyName: t2, value: r2, enum: i2, index: o2 }) => {
          const a2 = `from (${i2.join(",")})`;
          return n(o2) ? ee({ functionName: e2, propertyName: t2, value: r2, expectedType: a2, index: o2 }) : Q({ functionName: e2, propertyName: t2, value: r2, expectedType: a2 });
        }, le = ({ functionName: e2, propertyName: t2, value: r2, index: i2 }) => n(i2) ? re({ functionName: e2, propertyName: t2, value: r2, index: i2 }) : te({ functionName: e2, propertyName: t2, value: r2 }), fe = Object.prototype.hasOwnProperty, ye = Object.getOwnPropertyNames, he = () => {
        };
        function Ne(e2, t2, n2, i2, o2, a2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !r(e3);
          }(e2)) return Ie.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => Ne(e2, t3, n2, he, o2, a2)).filter((e3) => e3 === Ie.Valid).length ? Ie.Valid : Ie.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!fe.call(e2, t2.required[n3])) return i2(me({ functionName: a2.functionName, index: a2.index, propertyName: t2.required[n3] }), { ...a2, value: e2 }), Ie.Invalid;
          }
          const m2 = ye(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ye(e2).filter((e3) => !m2.includes(e3));
            if (t3.length) {
              return i2(se({ functionName: a2.functionName, index: a2.index, propertyNames: t3 })), Ie.Invalid;
            }
          }
          for (let r2 = 0; r2 < m2.length; r2++) {
            const i3 = m2[r2];
            if (fe.call(e2, i3)) {
              const r3 = t2.properties[i3], o3 = e2[i3];
              if (!n2(o3, r3, { functionName: a2.functionName, index: a2.index, propertyName: i3 })) return Ie.Invalid;
            }
          }
          return Ie.Valid;
        }
        function ve(e2) {
          return Array.isArray(e2);
        }
        function ge(e2, t2, r2, i2) {
          const { minimum: s2, maximum: u2, enum: d2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? d2 && !o(e2, d2) ? (r2(pe({ value: e2, enum: d2, ...i2 }), { ...i2, value: e2 }), Ie.Invalid) : n(s2) && m(e2, s2) || n(u2) && a(e2, u2) ? (r2(de({ value: e2, minimum: s2, maximum: u2, ...i2 }), { ...i2, value: e2 }), Ie.Invalid) : Ie.Valid : Ie.InvalidType;
        }
        function $e(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? Ie.Valid : Ie.InvalidType;
        }
        const Ie = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function we({ reportError: e2, reportWarning: t2 }, s2, { suppressIndexErrors: u2 = false } = {}) {
          function d2(n2, r2, o2) {
            r2.warnIfNil && i(n2) && t2(ae({ ...o2, compName: s2 }), { ...o2, value: n2 });
            let a2 = 0;
            for (; a2 < r2.type.length; a2++) {
              const e3 = (0, c2[r2.type[a2]])(n2, r2, o2);
              if (e3 !== Ie.InvalidType) return e3 === Ie.Valid;
            }
            return a2 === r2.type.length && e2(ce({ value: n2, types: r2.type, ...o2 }), { ...o2, value: n2 }), false;
          }
          const c2 = { object: (n2, r2, i2) => Ne(n2, r2, d2, e2, t2, i2), array: (e3, t3, n2) => function(e4, t4, n3, i2, o2, a2 = false) {
            if (!r(e4)) return Ie.InvalidType;
            let m2 = Ie.Valid;
            if (t4.items) {
              const r2 = ve(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let i3 = 0; i3 < r2; i3++) {
                const r3 = e4[i3];
                let s3, u3;
                ve(t4.items) ? (s3 = t4.items[i3], u3 = t4.items[i3].name) : (s3 = t4.items, u3 = t4.name), n3(r3, s3, { functionName: o2.functionName, propertyName: u3 || o2.propertyName, index: a2 ? void 0 : i3 }) || (m2 = Ie.Invalid);
              }
            }
            return m2;
          }(e3, t3, d2, 0, n2, u2), number: (t3, r2, i2) => function(e3, t4, r3, i3) {
            const { minimum: s3, maximum: u3, enum: d3 } = t4;
            return n(e3) ? d3 && !o(e3, d3) ? (r3(pe({ value: e3, enum: d3, ...i3 }), { ...i3, value: e3 }), Ie.Invalid) : n(s3) && m(e3, s3) || n(u3) && a(e3, u3) ? (r3(de({ value: e3, minimum: s3, maximum: u3, ...i3 }), { ...i3, value: e3 }), Ie.Invalid) : Ie.Valid : Ie.InvalidType;
          }(t3, r2, e2, i2), integer: (t3, n2, r2) => ge(t3, n2, e2, r2), string: (t3, n2, r2) => function(e3, t4, n3, r3) {
            const { minLength: i2, maxLength: s3, enum: u3, pattern: d3 } = t4;
            return /* @__PURE__ */ function(e4) {
              return "string" == typeof e4;
            }(e3) ? u3 && !o(e3, u3) ? (n3(pe({ value: e3, enum: u3, ...r3 }), { ...r3, value: e3 }), Ie.Invalid) : i2 && m(e3.length, i2) || s3 && a(e3.length, s3) ? (n3(ue({ value: e3, minimum: i2, maximum: s3, ...r3 }), { ...r3, value: e3 }), Ie.Invalid) : d3 && !new RegExp(d3).test(e3) ? (n3(le({ value: e3, ...r3 }), { ...r3, value: e3 }), Ie.Invalid) : Ie.Valid : Ie.InvalidType;
          }(t3, n2, e2, r2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? Ie.Valid : Ie.InvalidType;
          }(e3), date: (e3) => $e(e3), nil: (e3) => function(e4) {
            return i(e4) ? Ie.Valid : Ie.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? Ie.Valid : Ie.InvalidType;
          }(e3) };
          return function(e3, t3, n2) {
            return d2(e3, t3, { functionName: n2, propertyName: n2, index: void 0 });
          };
        }
        function xe(e2, { suppressIndexErrors: t2 = false } = {}) {
          return we({ reportError: $, reportWarning: I }, e2, { suppressIndexErrors: t2 });
        }
        const be = "click", Oe = "dblClick", Ee = "mouseenter", Te = "mouseleave", Ce = "change", ke = "blur", _e = "focus", Se = "imageChanged", Pe = "imageExpanded", Ve = "onInput", De = "itemClicked", Le = "cellSelect", Me = "cellEdit", Ae = "rowSelect", je = "fetchData", Re = "dataChange", Ue = "onTimeout", Fe = "onVerified", He = "onError", Ge = "onPlay", We = "onPause", qe = "onProgress", Be = "onEnded", Xe = "autoplayOff", Ye = "autoplayOn", Ke = "playEnded", ze = "playProgress", Je = "keyPress", Ze = "keyUp", Qe = "keyDown", et = "screenIn", tt = "viewportEnter", nt = "viewportLeave", rt = "scroll", it = "validate", ot = "setCustomValidity", at = "syncValidationData", mt = "updateValidityIndication", st = "message", ut = "uploadComplete", dt = "itemReady", ct = "itemRemoved", pt = "tagClick", lt = "quickActionBarItemClicked", ft = "markerClicked", yt = "mapClicked", ht = "iconMouseIn", Nt = "onStateChange", vt = "itemMouseIn", gt = "itemMouseOut", $t = "itemMouseClick", It = "itemMouseDblClick", wt = "onColorChange", xt = "onFontChange", bt = "onOpacityChange", Ot = { [be]: "onClick", [Oe]: "onDblClick", [Ee]: "onMouseIn", [Te]: "onMouseOut", [Ce]: "onChange", [Ve]: "onInput", [ke]: "onBlur", [_e]: "onFocus", [Se]: "onCurrentItemChanged", [Pe]: void 0, [De]: "onItemClicked", [Le]: "onCellSelect", [Me]: void 0, [Ae]: "onRowSelect", [je]: void 0, [Re]: "onDataChange", [Ue]: "onTimeout", [Fe]: "onVerified", [He]: "onError", [Ge]: "onPlay", [We]: "onPause", [qe]: "onProgress", [Be]: "onEnded", [Xe]: "onPause", [Ye]: "onPlay", [Ke]: void 0, [ze]: void 0, [Je]: "onKeyPress", [Ze]: "onKeyUp", [Qe]: "onKeyDown", [et]: void 0, [tt]: "onViewportEnter", [nt]: "onViewportLeave", [rt]: void 0, [it]: void 0, [ot]: void 0, [at]: void 0, [mt]: void 0, [st]: "onMessage", [ut]: void 0, [dt]: "onItemReady", [ct]: "onItemRemoved", [pt]: void 0, [lt]: "onItemClicked", [ft]: "onMarkerClicked", [yt]: "onMapClicked", [ht]: void 0, [Nt]: "onStateChange", [vt]: "onItemMouseIn", [gt]: "onItemMouseOut", [$t]: "onItemClick", [It]: "onItemDblClick", [wt]: "onColorChange", [xt]: "onFontChange", [bt]: "onOpacityChange" }, Et = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Tt = (e2) => {
          const { target: t2, type: n2, context: r2 } = e2;
          return { target: t2, type: Et[n2] ?? n2, context: r2 };
        }, Ct = (e2) => {
          const { clientX: t2, clientY: n2, pageX: r2, pageY: i2, screenX: o2, screenY: a2, nativeEvent: m2 } = e2, { offsetX: s2, offsetY: u2 } = m2;
          return { clientX: t2, clientY: n2, pageX: r2, pageY: i2, screenX: o2, screenY: a2, offsetX: s2, offsetY: u2 };
        }, kt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, _t = (e2) => e2.replace(/^on/i, ""), St = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Pt = (e2, t2, n2, r2) => {
          const { create$w: i2, createEvent: o2, registerEvent: a2, getSdkInstance: m2, metaData: s2 } = t2;
          if (!((e3, t3, n3) => xe(n3)(e3, { type: ["function"] }, t3))(n2, kt[e2] ?? e2, s2.role)) return m2();
          const [u2, d2] = St(t2), c2 = a2(e2, (e3, t3) => {
            const a3 = o2({ type: e3.type, compId: e3.compId }), m3 = i2({ context: a3.context }), s3 = r2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...Tt(a3), ...s3 }, m3);
          }), p2 = { eventName: e2, compId: s2.compId, cb: n2, unregister: c2 };
          return d2({ listeners: [...u2.listeners, p2] }), m2();
        }, Vt = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(kt).find(([t4, n3]) => _t(n3.toLowerCase()) === _t(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(Ot[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, Dt = (e2, t2, n2, r2) => Pt(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...Ct(e3), ...t3 && r2?.(t3) }));
        function Lt(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const r2 = {};
            for (let o2 = 0; o2 < e2.length; o2++) {
              const a2 = e2[o2](t3), m2 = Object.keys(a2);
              for (let e3 = 0; e3 < m2.length; e3++) {
                const t4 = m2[e3], o3 = Object.getOwnPropertyDescriptor(a2, t4);
                Object.defineProperty(r2, n2 && o3.get ? "aria" + (i2 = t4).charAt(0).toUpperCase() + i2.slice(1) : t4, o3);
              }
            }
            var i2;
            return r2;
          };
        }
        const Mt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: r2, compType: i2, isGlobal: o2, getParent: a2, role: m2, wixCodeId: s2 } = t2, u2 = `$w.${i2}`;
          return { get id() {
            return s2 || m2;
          }, get role() {
            return m2;
          }, get connectionConfig() {
            return r2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return a2();
          }, get global() {
            return o2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: m2, type: u2, global: o2() };
          } };
        }, At = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: r2, create$w: i2, createEvent: o2 } = t2, a2 = (e3, t3) => xe(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => a2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = o2({ type: "viewportEnter" }), t3 = i2();
            n3(e3, t3);
          }), Pt("onViewportEnter", t2, n3)) : r2(), onViewportLeave: (n3) => a2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = o2({ type: "viewportLeave" }), t3 = i2();
            n3(e3, t3);
          }), Pt("onViewportLeave", t2, n3)) : r2() };
        }, jt = { duration: 1200, delay: 0 }, Rt = { arc: { ...jt, direction: "left" }, bounce: { ...jt, direction: "topLeft", intensity: "medium" }, puff: { ...jt }, zoom: { ...jt }, fade: { ...jt }, flip: { ...jt, direction: "right" }, float: { ...jt, direction: "right" }, fly: { ...jt, direction: "right" }, fold: { ...jt, direction: "left" }, glide: { ...jt, angle: 0, distance: 0 }, roll: { ...jt, direction: "left" }, slide: { ...jt, direction: "left" }, spin: { ...jt, direction: "cw", cycles: 5 }, turn: { ...jt, direction: "right" }, ArcIn: { ...jt, direction: "right" }, ArcOut: { ...jt, direction: "right" }, BounceIn: { ...jt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...jt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...jt, direction: "right" }, CollapseOut: { ...jt }, Conceal: { ...jt, direction: "right" }, Reveal: { ...jt, direction: "left" }, FadeIn: { ...jt }, FadeOut: { ...jt }, FlipIn: { ...jt, direction: "left" }, FlipOut: { ...jt, direction: "left" }, FloatIn: { ...jt, direction: "right" }, FloatOut: { ...jt, direction: "right" }, FlyIn: { ...jt, direction: "right" }, FlyOut: { ...jt, direction: "right" }, FoldIn: { ...jt, direction: "left" }, FoldOut: { ...jt, direction: "left" }, GlideIn: { ...jt, angle: 0, distance: 150 }, GlideOut: { ...jt, angle: 0, distance: 150 }, DropIn: { ...jt }, PopOut: { ...jt }, SlideIn: { ...jt, direction: "left" }, SlideOut: { ...jt, direction: "left" }, SpinIn: { ...jt, direction: "cw", cycles: 2 }, SpinOut: { ...jt, direction: "cw", cycles: 2 }, TurnIn: { ...jt, direction: "right" }, TurnOut: { ...jt, direction: "right" } }, Ut = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Ft = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Ht = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Gt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Wt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, qt = { arc: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Ht, delay: Gt } }, zoom: { type: ["object"], properties: { duration: Ht, delay: Gt } }, fade: { type: ["object"], properties: { duration: Ht, delay: Gt } }, flip: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: Wt } }, float: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: Wt } }, fly: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: Wt } }, fold: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: Wt } }, glide: { type: ["object"], properties: { duration: Ht, delay: Gt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: Wt } }, slide: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: Wt } }, spin: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Ht, delay: Gt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Bt = ({ propertyName: e2, compName: t2 }) => (n2, r2) => {
          if (!n2) return false;
          if (void 0 === r2) return true;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (r3, i3) => {
            I(T({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${i3?.value}`, infoLink: Ft(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!we({ reportError: i2, reportWarning: () => ({}) }, t2)(r2, { type: ["object"] }, e2)) return false;
          const o2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (r3, i3) => {
            I(O({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${i3?.propertyName}" cannot be set to the value "${i3?.value}"`, infoLink: Ft(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!we({ reportError: o2, reportWarning: () => ({}) }, t2)(r2, qt[n2], e2);
        }, Xt = (e2) => 0 === Object.keys(e2).length, Yt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: r2, metaData: i2, getSdkInstance: o2, runAnimation: a2, createSdkState: m2, styleUtils: s2, setProps: u2 }) => {
          const d2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: r3 }) => {
            const i3 = Bt({ propertyName: r3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Xt(n3)) return I(b({ propertyName: r3, compName: e3, infoLink: Ft(r3) })), false;
            const o3 = "hide" === r3 ? "HIDE" : "SHOW", a3 = Ut[o3]?.deprecatedValues;
            return t3 && n3 && a3 && a3.find((e4) => e4 === t3) && !Xt(n3) ? (I(E({ compName: e3, effectName: t3, propertyName: r3, infoLink: Ft(r3) })), false) : !!a3.find((e4) => e4 === t3) || (t3 && !(t3 in qt) ? (I(x({ propertyName: r3, compName: e3, effectName: t3, infoLink: Ft(r3) })), false) : !!i3(t3, n3));
          })({ compName: i2.role }), [c2, p2] = m2({ hidden: i2.hiddenOnLoad, collapsed: i2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (i3, o3) => {
            if (u2({ hidden: true }), c2.collapsed || c2.hidden) p2({ hidden: true });
            else {
              if (d2({ effectName: i3, effectOptions: o3, propertyName: "hide" })) {
                const e3 = { animationDirection: Ut.HIDE.suffix, effectName: i3, effectOptions: { ...Rt?.[i3] || jt, ...o3 } };
                await Promise.all([a2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else n2(s2.getHiddenStyles()), t2 && r2.setStyles(s2.getHiddenStyles());
              p2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (i3, o3) => {
            if (u2({ hidden: false }), !c2.collapsed && c2.hidden) {
              if (d2({ effectName: i3, effectOptions: o3, propertyName: "show" })) {
                const e3 = { animationDirection: Ut.SHOW.suffix, effectName: i3, effectOptions: { ...Rt?.[i3] || jt, ...o3 } };
                await Promise.all([a2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else n2(s2.getShownStyles()), t2 && r2.setStyles(s2.getShownStyles());
              p2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else p2({ hidden: false });
          }, collapse: async () => {
            u2({ collapsed: true }), c2.collapsed || (n2(s2.getCollapsedStyles()), t2 && r2.setStyles(s2.getCollapsedStyles()), p2({ collapsed: true }), c2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (u2({ collapsed: false }), c2.collapsed) {
              const i3 = { ...s2.getExpandedStyles(), visibility: c2.hidden ? "hidden" : null };
              n2(i3), t2 && r2.setStyles(i3), p2({ collapsed: false }), c2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return c2.collapsed;
          }, get hidden() {
            return Boolean(c2.hidden);
          }, get isVisible() {
            if (!i2.isRendered()) return false;
            let e3 = o2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Kt = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, r2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Lt([Yt({ viewportState: n2, hasPortal: t3 }), At((e4, t4) => {
            r2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), zt = (e2, t2, n2) => {
          const r2 = t2.filter((t3) => !e2.includes(t3));
          r2.length && $(ne({ functionName: n2, wrongEffects: r2, allowedEffects: e2 }));
        }, Jt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            zt(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            zt(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            zt(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Zt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Qt = (e2, t2) => "string" != typeof e2 ? (en(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (nn(e2, t2), false), en = (e2, t2, n2, r2) => {
          $(Q({ propertyName: e2, functionName: t2, value: n2, expectedType: r2 }));
        }, tn = (e2, t2) => {
          $(_({ propertyName: e2, functionName: t2 }));
        }, nn = (e2, t2) => {
          $(oe({ propertyName: e2, functionName: t2 }));
        }, rn = (e2) => {
          const { setProps: t2, props: n2 } = e2;
          return { customClassList: { get value() {
            return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
          }, values() {
            return n2.customClassNames ? n2.customClassNames : [];
          }, add(...e3) {
            const r2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Qt(t3, "customClassList.add")) return;
                r2.add(t3);
              }
              t2({ customClassNames: Array.from(r2) });
            } else tn("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void tn("className", "customClassList.remove");
            const r2 = new Set(n2.customClassNames);
            for (const t3 of e3) {
              if (!Qt(t3, "customClassList.remove")) return;
              r2.delete(t3);
            }
            t2({ customClassNames: Array.from(r2) });
          }, contains(e3) {
            if (e3) return Qt(e3, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e3) : void 0;
            tn("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Qt(t3, "customClassList.replace") || !Qt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : ($(S({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Qt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (tn("className", "customClassList.toggle"), false);
          } } };
        }, on = ({ role: e2, compType: t2, isGlobal: n2, isRendered: r2 }) => ({ id: e2, type: `$w.${t2}`, global: n2(), rendered: r2() }), an = (e2) => ({ onMouseIn: (t2) => Dt("onMouseEnter", e2, t2), onMouseOut: (t2) => Dt("onMouseLeave", e2, t2), removeEventHandler: (t2, n2) => {
          const { getSdkInstance: r2 } = e2;
          return "string" != typeof t2 ? ($(Q({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), r2()) : "function" != typeof n2 ? ($(Q({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), r2()) : ((e3, t3, n3) => {
            const { metaData: r3, getSdkInstance: i2 } = t3, [o2, a2] = St(t3), m2 = o2.listeners.filter((t4) => Vt(t4.eventName, e3) && t4.cb === n3 && t4.compId === r3.compId);
            for (const e4 of m2) e4.unregister();
            return a2({ listeners: o2.listeners.filter((e4) => !m2.includes(e4)) }), i2();
          })(t2, e2, n2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return on(e2.metaData);
        } }), mn = At();
        Lt([Mt, mn, an, Jt, rn]);
        const sn = /(^https?)|(^data)|(^blob)|(^\/\/)/, un = /* @__PURE__ */ function(e2, t2, n2 = {}) {
          return (r2) => {
            const i2 = e2(r2), o2 = xe(r2.metaData.role), a2 = xe(r2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(i2).reduce((e3, m2) => {
              const s2 = Object.getOwnPropertyDescriptor(i2, m2), u2 = { enumerable: true, configurable: true };
              return s2.value ? "function" == typeof s2.value ? u2.value = (...e4) => {
                const i3 = t2.properties[m2] && t2.properties[m2].args, o3 = n2[m2];
                let u3 = true;
                return i3 && (u3 = a2(e4, { type: ["array"], items: i3 }, m2)), u3 && o3 && (u3 = o3.every((t3) => t3(e4, r2))), u3 ? s2.value(...e4) : void 0;
              } : u2.value = s2.value : (s2.get && (u2.get = () => i2[m2]), s2.set && (u2.set = (e4) => {
                const a3 = n2[m2];
                let s3 = true;
                t2.properties[m2] && (s3 = o2(e4, t2.properties[m2], m2)), s3 && a3 && (s3 = a3.every((t3) => t3(e4, r2))), s3 && (i2[m2] = e4);
              })), Object.defineProperty(e3, m2, u2), e3;
            }, {});
          };
        }((e2) => {
          const { setProps: t2, props: n2, sdkData: r2, compRef: o2, metaData: a2 } = e2;
          return { get artistName() {
            return n2.playlist[0].artistName;
          }, set artistName(e3) {
            t2({ playlist: [{ ...n2.playlist[0], artistName: e3 }] });
          }, get trackName() {
            return n2.playlist[0].trackName;
          }, set trackName(e3) {
            t2({ playlist: [{ ...n2.playlist[0], trackName: e3 }] });
          }, get coverImage() {
            if (n2.rawCover) return n2.rawCover;
            const { uri: e3, height: t3, width: i2, title: o3 } = (null == r2 ? void 0 : r2.coverData) || {};
            if (!e3) return "";
            if (sn.test(e3)) return e3;
            const a3 = y({ mediaId: e3, width: i2, height: t3, title: o3, type: "image" });
            return a3.error ? "" : a3.item || "";
          }, set coverImage(e3) {
            const r3 = h(e3), i2 = "mediaId" in r3 ? "https://static.wixstatic.com/media/" + r3.mediaId : e3;
            t2({ playlist: [{ ...n2.playlist[0], cover: i2 }], rawCover: e3 });
          }, get src() {
            if (n2.rawSrc) return n2.rawSrc;
            const e3 = n2.duration ? Math.round(n2.duration) : void 0, { title: t3, uri: i2 } = (null == r2 ? void 0 : r2.audioData) || {};
            if (!i2) return "";
            if (sn.test(i2)) return i2;
            const o3 = y({ mediaId: i2, duration: e3, title: t3, type: "audio" });
            return o3.error ? "" : o3.item || "";
          }, set src(e3) {
            const r3 = h(e3), i2 = "mediaId" in r3 ? "https://music.wixstatic.com/mp3/" + r3.mediaId : e3;
            t2({ playlist: [{ ...n2.playlist[0], url: i2 }], rawSrc: e3, ...r3.duration ? { duration: r3.duration } : {} });
          }, get currentTime() {
            return n2.currentTime;
          }, get duration() {
            return n2.duration;
          }, get volume() {
            return i(n2.volume) ? 100 : 100 * n2.volume;
          }, set volume(e3) {
            i(e3) || t2({ volume: e3 / 100 });
          }, get isMuted() {
            return !i(n2.muted) && n2.muted;
          }, get isPlaying() {
            return !i(n2.isPlaying) && n2.isPlaying;
          }, mute() {
            return new Promise((e3) => {
              t2({ muted: true }), e3();
            });
          }, unmute() {
            return new Promise((e3) => {
              t2({ muted: false }), e3();
            });
          }, seek(e3) {
            return o2.seek(e3);
          }, play() {
            return o2.play();
          }, pause() {
            return o2.pause();
          }, stop() {
            return o2.stop();
          }, togglePlay() {
            return o2.togglePlay();
          }, onPlay: (t3) => Pt("onPlay", e2, t3), onPause: (t3) => Pt("onPause", e2, t3), onEnded: (t3) => Pt("onEnded", e2, t3), onProgress: (t3) => Pt("onTimeUpdated", e2, t3), get type() {
            return "$w.MusicPlayer";
          }, toJSON() {
            return { ...on(a2), type: "$w.MusicPlayer", artistName: n2.playlist[0].artistName, trackName: n2.playlist[0].trackName, volume: n2.volume, isPlaying: n2.isPlaying, isMuted: n2.muted, currentTime: n2.currentTime, duration: n2.duration };
          } };
        }, { properties: { artistName: { type: ["string", "nil"], warnIfNil: true }, trackName: { type: ["string", "nil"], warnIfNil: true }, coverImage: { type: ["string", "nil"], warnIfNil: true }, src: { type: ["string", "nil"], warnIfNil: true }, currentTime: { type: ["number", "nil"], warnIfNil: true }, duration: { type: ["number", "nil"], warnIfNil: true }, volume: { type: ["number", "nil"], minimum: 0, maximum: 100, warnIfNil: true }, seek: { type: ["function"], args: [{ type: ["number"] }] } } }, { src: [(e2) => !!g(e2 = i(e2) ? "" : e2, "audio") || ($(ie({ url: e2, type: "audio", prefix: "wix:audio://" })), false)], coverImage: [(e2) => !!g(e2 = i(e2) ? "" : e2, "image") || ($(ie({ url: e2, type: "image", prefix: "wix:image://" })), false)] }), dn = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Lt([Mt, an, Jt, Zt, e2 ? Kt(t2) : mn, rn]))(), cn = Lt([dn, un]);
        var pn = { factory: cn };
        return t;
      }();
    });
  })(MusicPlayer_bundle_min);
  var MusicPlayer_bundle_minExports = MusicPlayer_bundle_min.exports;
  const MusicPlayer = /* @__PURE__ */ getDefaultExportFromCjs(MusicPlayer_bundle_minExports);
  var Pagination_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, r2) {
          for (var n2 in r2) e.o(r2, n2) && !e.o(t2, n2) && Object.defineProperty(t2, n2, { enumerable: true, get: r2[n2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { accessibilityPropsSDKFactory: function() {
          return Er;
        }, default: function() {
          return Sr;
        }, sdk: function() {
          return Or;
        } });
        const r = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, n = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function a(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function o(e2) {
          return "string" == typeof e2;
        }
        function i(e2) {
          return Array.isArray(e2);
        }
        function s(e2) {
          return null == e2;
        }
        function u(e2, t2) {
          return t2.includes(e2);
        }
        function l(e2, t2) {
          return e2 > t2;
        }
        function p(e2, t2) {
          return e2 < t2;
        }
        const c = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, m = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${n2}"')`, d = ({ propertyName: e2, compName: t2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, f = ({ propertyName: e2, compName: t2, effectName: r2, wrongProperty: n2, wrongValue: a2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${n2}: ${a2}. Read more about the effectOptions object: "${o2}"')`, y = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: n2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${n2}"`, b = ({ propertyName: e2, compName: t2, effectName: r2, wrongValue: n2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${n2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, g = ({ propertyName: e2, functionName: t2, compName: r2 }) => `The ${e2} parameter of "${r2}" that is passed to the ${t2} method cannot be set to null.`, h = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to null or undefined.`, v = ({ propertyName: e2, compName: t2, newValue: r2, changedProperty: n2 }) => `The ${e2} of ${t2} was set to ${r2}, which is less than ${t2}'s ${n2} value. ${t2} cannot have a ${n2} value which is greater than its ${e2} value. The value of ${n2} has therefore been set to ${r2}.`, N = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, x = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is required for ${t2} method.`, A = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, w = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, I = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is not allowed for ${t2} method.`, P = ({ propertyNames: e2, functionName: t2, index: r2 }) => `The following parameters: ${[...e2]} of item at index ${r2} are unknown for ${t2} method.`, T = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${a2}.`, C = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${a2}.`, E = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${n2}.`, O = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${n2}.`, S = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, L = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, j = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, k = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, D = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${n2} and ${a2}.`, V = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${n2} and ${a2}.`, R = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${n2}.`, B = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${n2}.`, M = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, F = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, q = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${n2}.`, H = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${n2}.`, U = ({ propertyName: e2, functionName: t2, value: r2, expectedType: n2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${n2}.`, _ = ({ propertyName: e2, functionName: t2, value: r2, expectedType: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${n2}.`, G = ({ propertyName: e2, functionName: t2, value: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format`, W = ({ functionName: e2, wrongEffects: t2, allowedEffects: r2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, Y = ({ propertyName: e2, functionName: t2, value: r2, index: n2 }) => `The "${e2}" property of the item at index ${n2} that is passed to the ${t2} method cannot be set to "${r2}". Bad format`, K = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, X = ({ compName: e2, functionName: t2, propertyName: r2, index: n2 }) => a(n2) ? h({ propertyName: r2, functionName: t2, index: n2 }) : e2 ? g({ compName: e2, functionName: t2, propertyName: r2 }) : c({ functionName: t2, propertyName: r2 }), z = ({ functionName: e2, propertyName: t2, index: r2 }) => a(r2) ? $({ functionName: e2, propertyName: t2, index: r2 }) : N({ functionName: e2, propertyName: t2 }), J = ({ functionName: e2, propertyNames: t2, index: r2 }) => t2 && t2.length > 1 ? a(r2) ? P({ functionName: e2, propertyNames: t2, index: r2 }) : w({ functionName: e2, propertyNames: t2 }) : a(r2) ? I({ functionName: e2, propertyName: t2[0], index: r2 }) : A({ functionName: e2, propertyName: t2[0] }), Z = ({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: o2, index: i2 }) => o2 && n2 ? o2 === n2 ? a(i2) ? O({ functionName: e2, propertyName: t2, value: r2, expectedValue: o2, index: i2 }) : E({ functionName: e2, propertyName: t2, value: r2, expectedValue: o2 }) : a(i2) ? C({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: o2, index: i2 }) : T({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: o2 }) : !o2 && n2 ? a(i2) ? k({ functionName: e2, propertyName: t2, value: r2, maximum: n2, index: i2 }) : j({ functionName: e2, propertyName: t2, value: r2, maximum: n2 }) : a(i2) ? L({ functionName: e2, propertyName: t2, value: r2, minimum: o2, index: i2 }) : S({ functionName: e2, propertyName: t2, value: r2, minimum: o2 }), Q = ({ functionName: e2, propertyName: t2, value: r2, minimum: n2, maximum: o2, index: i2 }) => n2 && o2 ? n2 === o2 ? a(i2) ? B({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2, index: i2 }) : R({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2 }) : a(i2) ? V({ functionName: e2, propertyName: t2, value: r2, maximum: o2, minimum: n2, index: i2 }) : D({ functionName: e2, propertyName: t2, value: r2, maximum: o2, minimum: n2 }) : !n2 && o2 ? a(i2) ? H({ functionName: e2, propertyName: t2, maximum: o2, value: r2, index: i2 }) : q({ functionName: e2, propertyName: t2, maximum: o2, value: r2 }) : a(i2) ? F({ functionName: e2, propertyName: t2, value: r2, minimum: n2, index: i2 }) : M({ functionName: e2, propertyName: t2, value: r2, minimum: n2 }), ee = ({ functionName: e2, propertyName: t2, types: r2, value: n2, index: o2 }) => {
          const i2 = r2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return a(o2) ? _({ functionName: e2, index: o2, propertyName: t2, value: n2, expectedType: i2 }) : U({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, te = ({ functionName: e2, propertyName: t2, value: r2, enum: n2, index: o2 }) => {
          const i2 = `from (${n2.join(",")})`;
          return a(o2) ? _({ functionName: e2, propertyName: t2, value: r2, expectedType: i2, index: o2 }) : U({ functionName: e2, propertyName: t2, value: r2, expectedType: i2 });
        }, re = ({ functionName: e2, propertyName: t2, value: r2, index: n2 }) => a(n2) ? Y({ functionName: e2, propertyName: t2, value: r2, index: n2 }) : G({ functionName: e2, propertyName: t2, value: r2 }), ne = Object.prototype.hasOwnProperty, ae = Object.getOwnPropertyNames, oe = () => {
        };
        function ie(e2, t2, r2, n2, a2, o2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !i(e3);
          }(e2)) return pe.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ie(e2, t3, r2, oe, a2, o2)).filter((e3) => e3 === pe.Valid).length ? pe.Valid : pe.Invalid;
          if (t2.required) {
            for (let r3 = 0; r3 < t2.required.length; r3++) if (!ne.call(e2, t2.required[r3])) return n2(z({ functionName: o2.functionName, index: o2.index, propertyName: t2.required[r3] }), { ...o2, value: e2 }), pe.Invalid;
          }
          const s2 = ae(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ae(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return n2(J({ functionName: o2.functionName, index: o2.index, propertyNames: t3 })), pe.Invalid;
            }
          }
          for (let n3 = 0; n3 < s2.length; n3++) {
            const a3 = s2[n3];
            if (ne.call(e2, a3)) {
              const n4 = t2.properties[a3], i2 = e2[a3];
              if (!r2(i2, n4, { functionName: o2.functionName, index: o2.index, propertyName: a3 })) return pe.Invalid;
            }
          }
          return pe.Valid;
        }
        function se(e2) {
          return Array.isArray(e2);
        }
        function ue(e2, t2, r2, n2) {
          const { minimum: o2, maximum: i2, enum: s2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? s2 && !u(e2, s2) ? (r2(te({ value: e2, enum: s2, ...n2 }), { ...n2, value: e2 }), pe.Invalid) : a(o2) && p(e2, o2) || a(i2) && l(e2, i2) ? (r2(Q({ value: e2, minimum: o2, maximum: i2, ...n2 }), { ...n2, value: e2 }), pe.Invalid) : pe.Valid : pe.InvalidType;
        }
        function le(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? pe.Valid : pe.InvalidType;
        }
        const pe = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function ce({ reportError: e2, reportWarning: t2 }, r2, { suppressIndexErrors: n2 = false } = {}) {
          function c2(n3, a2, o2) {
            a2.warnIfNil && s(n3) && t2(X({ ...o2, compName: r2 }), { ...o2, value: n3 });
            let i2 = 0;
            for (; i2 < a2.type.length; i2++) {
              const e3 = (0, m2[a2.type[i2]])(n3, a2, o2);
              if (e3 !== pe.InvalidType) return e3 === pe.Valid;
            }
            return i2 === a2.type.length && e2(ee({ value: n3, types: a2.type, ...o2 }), { ...o2, value: n3 }), false;
          }
          const m2 = { object: (r3, n3, a2) => ie(r3, n3, c2, e2, t2, a2), array: (e3, t3, r3) => function(e4, t4, r4, n3, a2, o2 = false) {
            if (!i(e4)) return pe.InvalidType;
            let s2 = pe.Valid;
            if (t4.items) {
              const n4 = se(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let i2 = 0; i2 < n4; i2++) {
                const n5 = e4[i2];
                let u2, l2;
                se(t4.items) ? (u2 = t4.items[i2], l2 = t4.items[i2].name) : (u2 = t4.items, l2 = t4.name), r4(n5, u2, { functionName: a2.functionName, propertyName: l2 || a2.propertyName, index: o2 ? void 0 : i2 }) || (s2 = pe.Invalid);
              }
            }
            return s2;
          }(e3, t3, c2, 0, r3, n2), number: (t3, r3, n3) => function(e3, t4, r4, n4) {
            const { minimum: o2, maximum: i2, enum: s2 } = t4;
            return a(e3) ? s2 && !u(e3, s2) ? (r4(te({ value: e3, enum: s2, ...n4 }), { ...n4, value: e3 }), pe.Invalid) : a(o2) && p(e3, o2) || a(i2) && l(e3, i2) ? (r4(Q({ value: e3, minimum: o2, maximum: i2, ...n4 }), { ...n4, value: e3 }), pe.Invalid) : pe.Valid : pe.InvalidType;
          }(t3, r3, e2, n3), integer: (t3, r3, n3) => ue(t3, r3, e2, n3), string: (t3, r3, n3) => function(e3, t4, r4, n4) {
            const { minLength: a2, maxLength: i2, enum: s2, pattern: c3 } = t4;
            return o(e3) ? s2 && !u(e3, s2) ? (r4(te({ value: e3, enum: s2, ...n4 }), { ...n4, value: e3 }), pe.Invalid) : a2 && p(e3.length, a2) || i2 && l(e3.length, i2) ? (r4(Z({ value: e3, minimum: a2, maximum: i2, ...n4 }), { ...n4, value: e3 }), pe.Invalid) : c3 && !new RegExp(c3).test(e3) ? (r4(re({ value: e3, ...n4 }), { ...n4, value: e3 }), pe.Invalid) : pe.Valid : pe.InvalidType;
          }(t3, r3, e2, n3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? pe.Valid : pe.InvalidType;
          }(e3), date: (e3) => le(e3), nil: (e3) => function(e4) {
            return s(e4) ? pe.Valid : pe.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? pe.Valid : pe.InvalidType;
          }(e3) };
          return function(e3, t3, r3) {
            return c2(e3, t3, { functionName: r3, propertyName: r3, index: void 0 });
          };
        }
        function me(e2, { suppressIndexErrors: t2 = false } = {}) {
          return ce({ reportError: r, reportWarning: n }, e2, { suppressIndexErrors: t2 });
        }
        function de(e2, t2, r2 = {}) {
          return (n2) => {
            const a2 = e2(n2), o2 = me(n2.metaData.role), i2 = me(n2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const u2 = Object.getOwnPropertyDescriptor(a2, s2), l2 = { enumerable: true, configurable: true };
              return u2.value ? "function" == typeof u2.value ? l2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, o3 = r2[s2];
                let l3 = true;
                return a3 && (l3 = i2(e4, { type: ["array"], items: a3 }, s2)), l3 && o3 && (l3 = o3.every((t3) => t3(e4, n2))), l3 ? u2.value(...e4) : void 0;
              } : l2.value = u2.value : (u2.get && (l2.get = () => a2[s2]), u2.set && (l2.set = (e4) => {
                const i3 = r2[s2];
                let u3 = true;
                t2.properties[s2] && (u3 = o2(e4, t2.properties[s2], s2)), u3 && i3 && (u3 = i3.every((t3) => t3(e4, n2))), u3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, l2), e3;
            }, {});
          };
        }
        const fe = "click", ye = "dblClick", be = "mouseenter", ge = "mouseleave", he = "change", ve = "blur", Ne = "focus", xe = "imageChanged", $e = "imageExpanded", Ae = "onInput", we = "itemClicked", Ie = "cellSelect", Pe = "cellEdit", Te = "rowSelect", Ce = "fetchData", Ee = "dataChange", Oe = "onTimeout", Se = "onVerified", Le = "onError", je = "onPlay", ke = "onPause", De = "onProgress", Ve = "onEnded", Re = "autoplayOff", Be = "autoplayOn", Me = "playEnded", Fe = "playProgress", qe = "keyPress", He = "keyUp", Ue = "keyDown", _e = "screenIn", Ge = "viewportEnter", We = "viewportLeave", Ye = "scroll", Ke = "validate", Xe = "setCustomValidity", ze = "syncValidationData", Je = "updateValidityIndication", Ze = "message", Qe = "uploadComplete", et = "itemReady", tt = "itemRemoved", rt = "tagClick", nt = "quickActionBarItemClicked", at = "markerClicked", ot = "mapClicked", it = "iconMouseIn", st = "onStateChange", ut = "itemMouseIn", lt = "itemMouseOut", pt = "itemMouseClick", ct = "itemMouseDblClick", mt = "onColorChange", dt = "onFontChange", ft = "onOpacityChange", yt = { [fe]: "onClick", [ye]: "onDblClick", [be]: "onMouseIn", [ge]: "onMouseOut", [he]: "onChange", [Ae]: "onInput", [ve]: "onBlur", [Ne]: "onFocus", [xe]: "onCurrentItemChanged", [$e]: void 0, [we]: "onItemClicked", [Ie]: "onCellSelect", [Pe]: void 0, [Te]: "onRowSelect", [Ce]: void 0, [Ee]: "onDataChange", [Oe]: "onTimeout", [Se]: "onVerified", [Le]: "onError", [je]: "onPlay", [ke]: "onPause", [De]: "onProgress", [Ve]: "onEnded", [Re]: "onPause", [Be]: "onPlay", [Me]: void 0, [Fe]: void 0, [qe]: "onKeyPress", [He]: "onKeyUp", [Ue]: "onKeyDown", [_e]: void 0, [Ge]: "onViewportEnter", [We]: "onViewportLeave", [Ye]: void 0, [Ke]: void 0, [Xe]: void 0, [ze]: void 0, [Je]: void 0, [Ze]: "onMessage", [Qe]: void 0, [et]: "onItemReady", [tt]: "onItemRemoved", [rt]: void 0, [nt]: "onItemClicked", [at]: "onMarkerClicked", [ot]: "onMapClicked", [it]: void 0, [st]: "onStateChange", [ut]: "onItemMouseIn", [lt]: "onItemMouseOut", [pt]: "onItemClick", [ct]: "onItemDblClick", [mt]: "onColorChange", [dt]: "onFontChange", [ft]: "onOpacityChange" }, bt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, gt = (e2) => {
          const { target: t2, type: r2, context: n2 } = e2;
          return { target: t2, type: bt[r2] ?? r2, context: n2 };
        }, ht = (e2) => {
          const { clientX: t2, clientY: r2, pageX: n2, pageY: a2, screenX: o2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: u2, offsetY: l2 } = s2;
          return { clientX: t2, clientY: r2, pageX: n2, pageY: a2, screenX: o2, screenY: i2, offsetX: u2, offsetY: l2 };
        }, vt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Nt = (e2) => e2.replace(/^on/i, ""), xt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), $t = (e2, t2, r2, n2) => {
          const { create$w: a2, createEvent: o2, registerEvent: i2, getSdkInstance: s2, metaData: u2 } = t2;
          if (!((e3, t3, r3) => me(r3)(e3, { type: ["function"] }, t3))(r2, vt[e2] ?? e2, u2.role)) return s2();
          const [l2, p2] = xt(t2), c2 = i2(e2, (e3, t3) => {
            const i3 = o2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: i3.context }), u3 = n2?.({ componentEvent: e3, eventPayload: t3 });
            r2({ ...gt(i3), ...u3 }, s3);
          }), m2 = { eventName: e2, compId: u2.compId, cb: r2, unregister: c2 };
          return p2({ listeners: [...l2.listeners, m2] }), s2();
        }, At = (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = Object.entries(vt).find(([t4, r3]) => Nt(r3.toLowerCase()) === Nt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(yt[t2] ?? t2);
          return e2.toLowerCase() === r2.toLowerCase();
        }, wt = (e2, t2, r2, n2) => $t(e2, t2, r2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...ht(e3), ...t3 && n2?.(t3) }));
        function It(e2, t2) {
          const { modifyAriaSourceKeys: r2 } = t2 ?? {};
          return (t3) => {
            const n2 = {};
            for (let o2 = 0; o2 < e2.length; o2++) {
              const i2 = e2[o2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], o3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(n2, r2 && o3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, o3);
              }
            }
            var a2;
            return n2;
          };
        }
        const Pt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: r2, connection: n2, compType: a2, isGlobal: o2, getParent: i2, role: s2, wixCodeId: u2 } = t2, l2 = `$w.${a2}`;
          return { get id() {
            return u2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return n2?.config;
          }, get uniqueId() {
            return r2;
          }, get parent() {
            return i2();
          }, get global() {
            return o2();
          }, get type() {
            return l2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(r2, t3));
          }, toJSON() {
            return { id: s2, type: l2, global: o2() };
          } };
        }, Tt = (e2) => (t2) => {
          const { metaData: r2, getSdkInstance: n2, create$w: a2, createEvent: o2 } = t2, i2 = (e3, t3) => me(r2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (r3) => i2(r3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = o2({ type: "viewportEnter" }), t3 = a2();
            r3(e3, t3);
          }), $t("onViewportEnter", t2, r3)) : n2(), onViewportLeave: (r3) => i2(r3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = o2({ type: "viewportLeave" }), t3 = a2();
            r3(e3, t3);
          }), $t("onViewportLeave", t2, r3)) : n2() };
        }, Ct = { duration: 1200, delay: 0 }, Et = { arc: { ...Ct, direction: "left" }, bounce: { ...Ct, direction: "topLeft", intensity: "medium" }, puff: { ...Ct }, zoom: { ...Ct }, fade: { ...Ct }, flip: { ...Ct, direction: "right" }, float: { ...Ct, direction: "right" }, fly: { ...Ct, direction: "right" }, fold: { ...Ct, direction: "left" }, glide: { ...Ct, angle: 0, distance: 0 }, roll: { ...Ct, direction: "left" }, slide: { ...Ct, direction: "left" }, spin: { ...Ct, direction: "cw", cycles: 5 }, turn: { ...Ct, direction: "right" }, ArcIn: { ...Ct, direction: "right" }, ArcOut: { ...Ct, direction: "right" }, BounceIn: { ...Ct, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Ct, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Ct, direction: "right" }, CollapseOut: { ...Ct }, Conceal: { ...Ct, direction: "right" }, Reveal: { ...Ct, direction: "left" }, FadeIn: { ...Ct }, FadeOut: { ...Ct }, FlipIn: { ...Ct, direction: "left" }, FlipOut: { ...Ct, direction: "left" }, FloatIn: { ...Ct, direction: "right" }, FloatOut: { ...Ct, direction: "right" }, FlyIn: { ...Ct, direction: "right" }, FlyOut: { ...Ct, direction: "right" }, FoldIn: { ...Ct, direction: "left" }, FoldOut: { ...Ct, direction: "left" }, GlideIn: { ...Ct, angle: 0, distance: 150 }, GlideOut: { ...Ct, angle: 0, distance: 150 }, DropIn: { ...Ct }, PopOut: { ...Ct }, SlideIn: { ...Ct, direction: "left" }, SlideOut: { ...Ct, direction: "left" }, SpinIn: { ...Ct, direction: "cw", cycles: 2 }, SpinOut: { ...Ct, direction: "cw", cycles: 2 }, TurnIn: { ...Ct, direction: "right" }, TurnOut: { ...Ct, direction: "right" } }, Ot = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, St = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Lt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, jt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, kt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Dt = { arc: { type: ["object"], properties: { duration: Lt, delay: jt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Lt, delay: jt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Lt, delay: jt } }, zoom: { type: ["object"], properties: { duration: Lt, delay: jt } }, fade: { type: ["object"], properties: { duration: Lt, delay: jt } }, flip: { type: ["object"], properties: { duration: Lt, delay: jt, direction: kt } }, float: { type: ["object"], properties: { duration: Lt, delay: jt, direction: kt } }, fly: { type: ["object"], properties: { duration: Lt, delay: jt, direction: kt } }, fold: { type: ["object"], properties: { duration: Lt, delay: jt, direction: kt } }, glide: { type: ["object"], properties: { duration: Lt, delay: jt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Lt, delay: jt, direction: kt } }, slide: { type: ["object"], properties: { duration: Lt, delay: jt, direction: kt } }, spin: { type: ["object"], properties: { duration: Lt, delay: jt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Lt, delay: jt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Vt = ({ propertyName: e2, compName: t2 }) => (r2, a2) => {
          if (!r2) return false;
          if (void 0 === a2) return true;
          const o2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (a3, o3) => {
            n(b({ propertyName: t3, compName: r3, effectName: e3, wrongValue: `${o3?.value}`, infoLink: St(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          if (!ce({ reportError: o2, reportWarning: () => ({}) }, t2)(a2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (a3, o3) => {
            n(f({ propertyName: t3, compName: r3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${o3?.propertyName}" cannot be set to the value "${o3?.value}"`, infoLink: St(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          return !!ce({ reportError: i2, reportWarning: () => ({}) }, t2)(a2, Dt[r2], e2);
        }, Rt = (e2) => 0 === Object.keys(e2).length, Bt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: r2, portal: a2, metaData: o2, getSdkInstance: i2, runAnimation: s2, createSdkState: u2, styleUtils: l2, setProps: p2 }) => {
          const c2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: r3, propertyName: a3 }) => {
            const o3 = Vt({ propertyName: a3, compName: e3 });
            if (!t3 && !r3) return false;
            if (!t3 && r3 && !Rt(r3)) return n(d({ propertyName: a3, compName: e3, infoLink: St(a3) })), false;
            const i3 = "hide" === a3 ? "HIDE" : "SHOW", s3 = Ot[i3]?.deprecatedValues;
            return t3 && r3 && s3 && s3.find((e4) => e4 === t3) && !Rt(r3) ? (n(y({ compName: e3, effectName: t3, propertyName: a3, infoLink: St(a3) })), false) : !!s3.find((e4) => e4 === t3) || (t3 && !(t3 in Dt) ? (n(m({ propertyName: a3, compName: e3, effectName: t3, infoLink: St(a3) })), false) : !!o3(t3, r3));
          })({ compName: o2.role }), [f2, b2] = u2({ hidden: o2.hiddenOnLoad, collapsed: o2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (n2, o3) => {
            if (p2({ hidden: true }), f2.collapsed || f2.hidden) b2({ hidden: true });
            else {
              if (c2({ effectName: n2, effectOptions: o3, propertyName: "hide" })) {
                const e3 = { animationDirection: Ot.HIDE.suffix, effectName: n2, effectOptions: { ...Et?.[n2] || Ct, ...o3 } };
                await Promise.all([s2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else r2(l2.getHiddenStyles()), t2 && a2.setStyles(l2.getHiddenStyles());
              b2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (n2, o3) => {
            if (p2({ hidden: false }), !f2.collapsed && f2.hidden) {
              if (c2({ effectName: n2, effectOptions: o3, propertyName: "show" })) {
                const e3 = { animationDirection: Ot.SHOW.suffix, effectName: n2, effectOptions: { ...Et?.[n2] || Ct, ...o3 } };
                await Promise.all([s2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else r2(l2.getShownStyles()), t2 && a2.setStyles(l2.getShownStyles());
              b2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else b2({ hidden: false });
          }, collapse: async () => {
            p2({ collapsed: true }), f2.collapsed || (r2(l2.getCollapsedStyles()), t2 && a2.setStyles(l2.getCollapsedStyles()), b2({ collapsed: true }), f2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (p2({ collapsed: false }), f2.collapsed) {
              const n2 = { ...l2.getExpandedStyles(), visibility: f2.hidden ? "hidden" : null };
              r2(n2), t2 && a2.setStyles(n2), b2({ collapsed: false }), f2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return f2.collapsed;
          }, get hidden() {
            return Boolean(f2.hidden);
          }, get isVisible() {
            if (!o2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Mt = (e2) => (t2) => ((e3, t3 = false) => {
          const [r2, n2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return It([Bt({ viewportState: r2, hasPortal: t3 }), Tt((e4, t4) => {
            n2({ [e4]: [...r2[e4], t4] });
          })])(e3);
        })(t2, e2), Ft = (e2, t2, n2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && r(W({ functionName: n2, wrongEffects: a2, allowedEffects: e2 }));
        }, qt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (r2) => {
            Ft(t2(), r2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...r2);
          }, removeEffects: (r2) => {
            Ft(t2(), r2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...r2);
          }, toggleEffects: (r2) => {
            Ft(t2(), r2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...r2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Ht = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Ut = (e2, t2) => "string" != typeof e2 ? (_t(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Wt(e2, t2), false), _t = (e2, t2, n2, a2) => {
          r(U({ propertyName: e2, functionName: t2, value: n2, expectedType: a2 }));
        }, Gt = (e2, t2) => {
          r(N({ propertyName: e2, functionName: t2 }));
        }, Wt = (e2, t2) => {
          r(K({ propertyName: e2, functionName: t2 }));
        }, Yt = (e2) => {
          const { setProps: t2, props: n2 } = e2;
          return { customClassList: { get value() {
            return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
          }, values() {
            return n2.customClassNames ? n2.customClassNames : [];
          }, add(...e3) {
            const r2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Ut(t3, "customClassList.add")) return;
                r2.add(t3);
              }
              t2({ customClassNames: Array.from(r2) });
            } else Gt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Gt("className", "customClassList.remove");
            const r2 = new Set(n2.customClassNames);
            for (const t3 of e3) {
              if (!Ut(t3, "customClassList.remove")) return;
              r2.delete(t3);
            }
            t2({ customClassNames: Array.from(r2) });
          }, contains(e3) {
            if (e3) return Ut(e3, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e3) : void 0;
            Gt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Ut(t3, "customClassList.replace") || !Ut(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (r(x({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Ut(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Gt("className", "customClassList.toggle"), false);
          } } };
        }, Kt = ({ role: e2, compType: t2, isGlobal: r2, isRendered: n2 }) => ({ id: e2, type: `$w.${t2}`, global: r2(), rendered: n2() }), Xt = (e2) => ({ onMouseIn: (t2) => wt("onMouseEnter", e2, t2), onMouseOut: (t2) => wt("onMouseLeave", e2, t2), removeEventHandler: (t2, n2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (r(U({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof n2 ? (r(U({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), a2()) : ((e3, t3, r2) => {
            const { metaData: n3, getSdkInstance: a3 } = t3, [o2, i2] = xt(t3), s2 = o2.listeners.filter((t4) => At(t4.eventName, e3) && t4.cb === r2 && t4.compId === n3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: o2.listeners.filter((e4) => !s2.includes(e4)) }), a3();
          })(t2, e2, n2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Kt(e2.metaData);
        } }), zt = Tt(), Jt = (It([Pt, zt, Xt, qt, Yt]), de(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: s(r2) ? void 0 : r2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } }));
        var Zt;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(Zt || (Zt = {}));
        const Qt = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, er = (e2) => tr(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), tr = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), rr = (e2, t2, n2, a2, o2) => o2 ? !!n2(o2) || (r(a2), false) : !!t2 || (r(ee({ value: o2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), nr = (e2, t2 = true) => (r2) => rr(e2, t2, tr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, r2), ar = (e2, t2 = true) => (r2) => rr(e2, t2, er, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, r2), or = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return r2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [ar("describedBy")] }), ir = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return r2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [ar("labelledBy")] }), sr = de(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), ur = de(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), lr = de(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), pr = de(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), cr = de(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: s(r2) ? void 0 : r2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), mr = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return r2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [nr("owns")] }), dr = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return r2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [nr("controls")] }), fr = de(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: s(r2) ? void 0 : r2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), yr = de(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: s(r2) ? void 0 : r2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), br = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return r2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [ar("errorMessage")] }), gr = de(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), hr = de(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), vr = de(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Nr = de(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), xr = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(n2) {
          null === n2 || o(n2) ? e2({ screenReader: { ...t2.screenReader, prefix: n2 } }) : r(Qt("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(n2) {
          null === n2 || o(n2) ? e2({ screenReader: { ...t2.screenReader, suffix: n2 } }) : r(Qt("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(r2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: s(r2) ? void 0 : r2 } });
        } } }), $r = (de(xr, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), de(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: s(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), Ar = de(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: s(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), wr = { enableAriaLabel: Jt, enableAriaDescribedBy: or, enableAriaLabelledBy: ir, enableAriaAtomic: sr, enableAriaBusy: ur, enableAriaCurrent: lr, enableAriaExpanded: pr, enableAriaLive: cr, enableAriaOwns: mr, enableAriaControls: dr, enableAriaRoleDescription: fr, enableAriaRelevant: yr, enableAriaErrorMessage: br, enableAriaHidden: gr, enableAriaPressed: hr, enableAriaHaspopup: vr, enableAriaRequired: Nr }, Ir = { enableScreenReader: xr, enableRole: $r, enableTabIndex: Ar };
        const Pr = { clickNumbers: "pages", inputNumbers: "input", arrowsOnly: "arrows" }, Tr = { pages: "clickNumbers", input: "inputNumbers", arrows: "arrowsOnly" }, Cr = de((e2) => {
          const { setProps: t2, props: r2, metaData: a2 } = e2, o2 = me(a2.role);
          return { get currentPage() {
            return "arrows" === r2.navigationType && n("currentPage is unavailable when in arrows mode"), r2.currentPage;
          }, set currentPage(e3) {
            o2(e3, { type: ["integer", "nil"], minimum: 1, maximum: r2.totalPages, warnIfNil: true }, "currentPage") && t2({ currentPage: s(e3) ? 1 : e3 });
          }, get totalPages() {
            return "arrows" === r2.navigationType && n("currentPage is unavailable when in arrows mode"), r2.totalPages;
          }, set totalPages(e3) {
            o2(e3, { type: ["integer"], minimum: 1 }, "totalPages") && (r2.currentPage > e3 ? (n(v({ propertyName: "totalPages", compName: a2.role, newValue: String(e3), changedProperty: "currentPage" })), t2({ totalPages: e3, currentPage: e3 })) : t2({ totalPages: e3 }));
          }, get navigationType() {
            return Tr[r2.paginationMode];
          }, set navigationType(e3) {
            const n2 = Pr[e3];
            t2({ ...r2.paginationModeProps[n2], paginationMode: n2 });
          }, get nextEnabled() {
            return ((e3) => {
              let { forceNextButtonEnabled: t3, isDisabled: r3, currentPage: n2, totalPages: a3 } = e3;
              return void 0 !== t3 ? t3 : !(r3 || n2 >= a3);
            })({ forceNextButtonEnabled: r2.forceNextButtonEnabled, isDisabled: r2.isDisabled, currentPage: r2.currentPage, totalPages: r2.totalPages });
          }, set nextEnabled(e3) {
            t2({ forceNextButtonEnabled: e3 });
          }, get previousEnabled() {
            return ((e3) => {
              let { forcePreviousButtonEnabled: t3, isDisabled: r3, currentPage: n2 } = e3;
              return void 0 !== t3 ? t3 : !(r3 || n2 <= 1);
            })({ forcePreviousButtonEnabled: r2.forcePreviousButtonEnabled, isDisabled: r2.isDisabled, currentPage: r2.currentPage });
          }, set previousEnabled(e3) {
            t2({ forcePreviousButtonEnabled: e3 });
          }, get previousPageUrl() {
            return r2.previousPageUrl;
          }, set previousPageUrl(e3) {
            t2({ previousPageUrl: null != e3 ? e3 : void 0 });
          }, get nextPageUrl() {
            return r2.nextPageUrl;
          }, set nextPageUrl(e3) {
            t2({ nextPageUrl: null != e3 ? e3 : void 0 });
          }, onNextClicked: (t3) => $t("onNextClick", e2, t3, (e3) => {
            let { componentEvent: t4 } = e3;
            return t4;
          }), onPreviousClicked: (t3) => $t("onPrevClick", e2, t3, (e3) => {
            let { componentEvent: t4 } = e3;
            return t4;
          }), toJSON() {
            const { currentPage: e3, totalPages: t3 } = r2;
            return { ...Kt(a2), currentPage: e3, totalPages: t3 };
          } };
        }, { properties: { nextEnabled: { type: ["boolean"] }, previousEnabled: { type: ["boolean"] }, navigationType: { type: ["string"], enum: ["clickNumbers", "inputNumbers", "arrowsOnly"] }, onNextClicked: { type: ["function"], args: [{ type: ["function"] }] }, onPreviousClicked: { type: ["function"], args: [{ type: ["function"] }] }, previousPageUrl: { type: ["string", "nil"], maxLength: 2048, minLength: 4 }, nextPageUrl: { type: ["string", "nil"], maxLength: 2048, minLength: 4 } } }), Er = (({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: n2 = false, enableAriaBusy: a2 = false, enableAriaHidden: o2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: u2 = false, enableAriaExpanded: l2 = false, enableAriaLive: p2 = false, enableAriaOwns: c2 = false, enableAriaControls: m2 = false, enableAriaRoleDescription: d2 = false, enableAriaRelevant: f2 = false, enableRole: y2 = false, enableTabIndex: b2 = false, enableAriaErrorMessage: g2 = false, enableScreenReader: h2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
          const x2 = [], $2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: r2, enableAriaAtomic: n2, enableAriaBusy: a2, enableAriaCurrent: u2, enableAriaExpanded: l2, enableAriaLive: p2, enableAriaOwns: c2, enableAriaControls: m2, enableAriaRoleDescription: d2, enableAriaRelevant: f2, enableAriaErrorMessage: g2, enableAriaHidden: o2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, A2 = { enableScreenReader: h2, enableRole: y2, enableTabIndex: b2 };
          if (Object.values($2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, r3]) => r3 && wr[e5] && t3.push(wr[e5])), (e5) => {
                const r3 = It(t3, { modifyAriaSourceKeys: true })(e5);
                return r3.ariaAttributes = It(t3)(e5), r3;
              };
            })($2);
            x2.push(e3);
          }
          Object.entries(A2).forEach(([e3, t3]) => t3 && Ir[e3] && x2.push(Ir[e3]));
          return { accessibility: It(x2)(N2) };
        })({ enableAriaLabel: true }), Or = It([(({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => It([Pt, Xt, qt, Ht, e2 ? Mt(t2) : zt, Yt]))(), ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), (e2) => ({ onClick: (t2) => wt("onClick", e2, t2), onDblClick: (t2) => wt("onDblClick", e2, t2) }), (e2) => ({ onChange: (t2) => $t("onChange", e2, t2) }), Cr, Er]);
        var Sr = { factory: Or };
        return t;
      }();
    });
  })(Pagination_bundle_min);
  var Pagination_bundle_minExports = Pagination_bundle_min.exports;
  const Pagination = /* @__PURE__ */ getDefaultExportFromCjs(Pagination_bundle_minExports);
  var ProGallery_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var o2 in n2) e.o(n2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: n2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return pn;
        }, sdk: function() {
          return ln;
        } });
        const n = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, o = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function r(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function i(e2) {
          return Array.isArray(e2);
        }
        function a(e2) {
          return null == e2;
        }
        function s(e2, t2) {
          return t2.includes(e2);
        }
        function m(e2, t2) {
          return e2 > t2;
        }
        function u(e2, t2) {
          return e2 < t2;
        }
        const c = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, l = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, p = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, d = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: o2, wrongValue: r2, infoLink: i2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${o2}: ${r2}. Read more about the effectOptions object: "${i2}"')`, f = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${o2}"`, h = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: o2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${r2}"'`, y = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, v = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, g = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, N = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, I = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, x = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, w = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, b = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, C = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${r2}.`, O = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: r2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${r2}.`, T = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, E = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, k = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, S = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, P = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, D = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, L = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${r2}.`, _ = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: r2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${r2}.`, V = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, A = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: r2 }) => `The value of ${e2} parameter of item at ${r2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, U = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: r2 }) => `The value of ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, G = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, K = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, W = ({ propertyName: e2, functionName: t2, value: n2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, B = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, q = ({ compName: e2, functionName: t2, propertyName: n2, index: o2 }) => r(o2) ? v({ propertyName: n2, functionName: t2, index: o2 }) : e2 ? y({ compName: e2, functionName: t2, propertyName: n2 }) : c({ functionName: t2, propertyName: n2 }), X = ({ functionName: e2, propertyName: t2, index: n2 }) => r(n2) ? $({ functionName: e2, propertyName: t2, index: n2 }) : g({ functionName: e2, propertyName: t2 }), Y = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? r(n2) ? b({ functionName: e2, propertyNames: t2, index: n2 }) : x({ functionName: e2, propertyNames: t2 }) : r(n2) ? w({ functionName: e2, propertyName: t2[0], index: n2 }) : I({ functionName: e2, propertyName: t2[0] }), z = ({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: i2, index: a2 }) => i2 && o2 ? i2 === o2 ? r(a2) ? E({ functionName: e2, propertyName: t2, value: n2, expectedValue: i2, index: a2 }) : T({ functionName: e2, propertyName: t2, value: n2, expectedValue: i2 }) : r(a2) ? O({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: i2, index: a2 }) : C({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: i2 }) : !i2 && o2 ? r(a2) ? D({ functionName: e2, propertyName: t2, value: n2, maximum: o2, index: a2 }) : P({ functionName: e2, propertyName: t2, value: n2, maximum: o2 }) : r(a2) ? S({ functionName: e2, propertyName: t2, value: n2, minimum: i2, index: a2 }) : k({ functionName: e2, propertyName: t2, value: n2, minimum: i2 }), J = ({ functionName: e2, propertyName: t2, value: n2, minimum: o2, maximum: i2, index: a2 }) => o2 && i2 ? o2 === i2 ? r(a2) ? A({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2, index: a2 }) : V({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2 }) : r(a2) ? _({ functionName: e2, propertyName: t2, value: n2, maximum: i2, minimum: o2, index: a2 }) : L({ functionName: e2, propertyName: t2, value: n2, maximum: i2, minimum: o2 }) : !o2 && i2 ? r(a2) ? U({ functionName: e2, propertyName: t2, maximum: i2, value: n2, index: a2 }) : R({ functionName: e2, propertyName: t2, maximum: i2, value: n2 }) : r(a2) ? M({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: a2 }) : j({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), Z = ({ functionName: e2, propertyName: t2, types: n2, value: o2, index: i2 }) => {
          const a2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return r(i2) ? G({ functionName: e2, index: i2, propertyName: t2, value: o2, expectedType: a2 }) : F({ functionName: e2, propertyName: t2, value: o2, expectedType: a2 });
        }, Q = ({ functionName: e2, propertyName: t2, value: n2, enum: o2, index: i2 }) => {
          const a2 = `from (${o2.join(",")})`;
          return r(i2) ? G({ functionName: e2, propertyName: t2, value: n2, expectedType: a2, index: i2 }) : F({ functionName: e2, propertyName: t2, value: n2, expectedType: a2 });
        }, ee = ({ functionName: e2, propertyName: t2, value: n2, index: o2 }) => r(o2) ? W({ functionName: e2, propertyName: t2, value: n2, index: o2 }) : H({ functionName: e2, propertyName: t2, value: n2 }), te = Object.prototype.hasOwnProperty, ne = Object.getOwnPropertyNames, oe = () => {
        };
        function re(e2, t2, n2, o2, r2, a2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !i(e3);
          }(e2)) return me.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => re(e2, t3, n2, oe, r2, a2)).filter((e3) => e3 === me.Valid).length ? me.Valid : me.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!te.call(e2, t2.required[n3])) return o2(X({ functionName: a2.functionName, index: a2.index, propertyName: t2.required[n3] }), { ...a2, value: e2 }), me.Invalid;
          }
          const s2 = ne(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ne(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return o2(Y({ functionName: a2.functionName, index: a2.index, propertyNames: t3 })), me.Invalid;
            }
          }
          for (let o3 = 0; o3 < s2.length; o3++) {
            const r3 = s2[o3];
            if (te.call(e2, r3)) {
              const o4 = t2.properties[r3], i2 = e2[r3];
              if (!n2(i2, o4, { functionName: a2.functionName, index: a2.index, propertyName: r3 })) return me.Invalid;
            }
          }
          return me.Valid;
        }
        function ie(e2) {
          return Array.isArray(e2);
        }
        function ae(e2, t2, n2, o2) {
          const { minimum: i2, maximum: a2, enum: c2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? c2 && !s(e2, c2) ? (n2(Q({ value: e2, enum: c2, ...o2 }), { ...o2, value: e2 }), me.Invalid) : r(i2) && u(e2, i2) || r(a2) && m(e2, a2) ? (n2(J({ value: e2, minimum: i2, maximum: a2, ...o2 }), { ...o2, value: e2 }), me.Invalid) : me.Valid : me.InvalidType;
        }
        function se(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? me.Valid : me.InvalidType;
        }
        const me = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function ue({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: o2 = false } = {}) {
          function c2(o3, r2, i2) {
            r2.warnIfNil && a(o3) && t2(q({ ...i2, compName: n2 }), { ...i2, value: o3 });
            let s2 = 0;
            for (; s2 < r2.type.length; s2++) {
              const e3 = (0, l2[r2.type[s2]])(o3, r2, i2);
              if (e3 !== me.InvalidType) return e3 === me.Valid;
            }
            return s2 === r2.type.length && e2(Z({ value: o3, types: r2.type, ...i2 }), { ...i2, value: o3 }), false;
          }
          const l2 = { object: (n3, o3, r2) => re(n3, o3, c2, e2, t2, r2), array: (e3, t3, n3) => function(e4, t4, n4, o3, r2, a2 = false) {
            if (!i(e4)) return me.InvalidType;
            let s2 = me.Valid;
            if (t4.items) {
              const o4 = ie(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let i2 = 0; i2 < o4; i2++) {
                const o5 = e4[i2];
                let m2, u2;
                ie(t4.items) ? (m2 = t4.items[i2], u2 = t4.items[i2].name) : (m2 = t4.items, u2 = t4.name), n4(o5, m2, { functionName: r2.functionName, propertyName: u2 || r2.propertyName, index: a2 ? void 0 : i2 }) || (s2 = me.Invalid);
              }
            }
            return s2;
          }(e3, t3, c2, 0, n3, o2), number: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minimum: i2, maximum: a2, enum: c3 } = t4;
            return r(e3) ? c3 && !s(e3, c3) ? (n4(Q({ value: e3, enum: c3, ...o4 }), { ...o4, value: e3 }), me.Invalid) : r(i2) && u(e3, i2) || r(a2) && m(e3, a2) ? (n4(J({ value: e3, minimum: i2, maximum: a2, ...o4 }), { ...o4, value: e3 }), me.Invalid) : me.Valid : me.InvalidType;
          }(t3, n3, e2, o3), integer: (t3, n3, o3) => ae(t3, n3, e2, o3), string: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minLength: r2, maxLength: i2, enum: a2, pattern: c3 } = t4;
            return /* @__PURE__ */ function(e4) {
              return "string" == typeof e4;
            }(e3) ? a2 && !s(e3, a2) ? (n4(Q({ value: e3, enum: a2, ...o4 }), { ...o4, value: e3 }), me.Invalid) : r2 && u(e3.length, r2) || i2 && m(e3.length, i2) ? (n4(z({ value: e3, minimum: r2, maximum: i2, ...o4 }), { ...o4, value: e3 }), me.Invalid) : c3 && !new RegExp(c3).test(e3) ? (n4(ee({ value: e3, ...o4 }), { ...o4, value: e3 }), me.Invalid) : me.Valid : me.InvalidType;
          }(t3, n3, e2, o3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? me.Valid : me.InvalidType;
          }(e3), date: (e3) => se(e3), nil: (e3) => function(e4) {
            return a(e4) ? me.Valid : me.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? me.Valid : me.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return c2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function ce(e2, { suppressIndexErrors: t2 = false } = {}) {
          return ue({ reportError: n, reportWarning: o }, e2, { suppressIndexErrors: t2 });
        }
        function le(e2, t2, n2 = {}) {
          return (o2) => {
            const r2 = e2(o2), i2 = ce(o2.metaData.role), a2 = ce(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(r2).reduce((e3, s2) => {
              const m2 = Object.getOwnPropertyDescriptor(r2, s2), u2 = { enumerable: true, configurable: true };
              return m2.value ? "function" == typeof m2.value ? u2.value = (...e4) => {
                const r3 = t2.properties[s2] && t2.properties[s2].args, i3 = n2[s2];
                let u3 = true;
                return r3 && (u3 = a2(e4, { type: ["array"], items: r3 }, s2)), u3 && i3 && (u3 = i3.every((t3) => t3(e4, o2))), u3 ? m2.value(...e4) : void 0;
              } : u2.value = m2.value : (m2.get && (u2.get = () => r2[s2]), m2.set && (u2.set = (e4) => {
                const a3 = n2[s2];
                let m3 = true;
                t2.properties[s2] && (m3 = i2(e4, t2.properties[s2], s2)), m3 && a3 && (m3 = a3.every((t3) => t3(e4, o2))), m3 && (r2[s2] = e4);
              })), Object.defineProperty(e3, s2, u2), e3;
            }, {});
          };
        }
        const pe = "click", de = "dblClick", fe = "mouseenter", he = "mouseleave", ye = "change", ve = "blur", ge = "focus", Ne = "imageChanged", $e = "imageExpanded", Ie = "onInput", xe = "itemClicked", we = "cellSelect", be = "cellEdit", Ce = "rowSelect", Oe = "fetchData", Te = "dataChange", Ee = "onTimeout", ke = "onVerified", Se = "onError", Pe = "onPlay", De = "onPause", Le = "onProgress", _e = "onEnded", Ve = "autoplayOff", Ae = "autoplayOn", je = "playEnded", Me = "playProgress", Re = "keyPress", Ue = "keyUp", Fe = "keyDown", Ge = "screenIn", He = "viewportEnter", Ke = "viewportLeave", We = "scroll", Be = "validate", qe = "setCustomValidity", Xe = "syncValidationData", Ye = "updateValidityIndication", ze = "message", Je = "uploadComplete", Ze = "itemReady", Qe = "itemRemoved", et = "tagClick", tt = "quickActionBarItemClicked", nt = "markerClicked", ot = "mapClicked", rt = "iconMouseIn", it = "onStateChange", at = "itemMouseIn", st = "itemMouseOut", mt = "itemMouseClick", ut = "itemMouseDblClick", ct = "onColorChange", lt = "onFontChange", pt = "onOpacityChange", dt = { [pe]: "onClick", [de]: "onDblClick", [fe]: "onMouseIn", [he]: "onMouseOut", [ye]: "onChange", [Ie]: "onInput", [ve]: "onBlur", [ge]: "onFocus", [Ne]: "onCurrentItemChanged", [$e]: void 0, [xe]: "onItemClicked", [we]: "onCellSelect", [be]: void 0, [Ce]: "onRowSelect", [Oe]: void 0, [Te]: "onDataChange", [Ee]: "onTimeout", [ke]: "onVerified", [Se]: "onError", [Pe]: "onPlay", [De]: "onPause", [Le]: "onProgress", [_e]: "onEnded", [Ve]: "onPause", [Ae]: "onPlay", [je]: void 0, [Me]: void 0, [Re]: "onKeyPress", [Ue]: "onKeyUp", [Fe]: "onKeyDown", [Ge]: void 0, [He]: "onViewportEnter", [Ke]: "onViewportLeave", [We]: void 0, [Be]: void 0, [qe]: void 0, [Xe]: void 0, [Ye]: void 0, [ze]: "onMessage", [Je]: void 0, [Ze]: "onItemReady", [Qe]: "onItemRemoved", [et]: void 0, [tt]: "onItemClicked", [nt]: "onMarkerClicked", [ot]: "onMapClicked", [rt]: void 0, [it]: "onStateChange", [at]: "onItemMouseIn", [st]: "onItemMouseOut", [mt]: "onItemClick", [ut]: "onItemDblClick", [ct]: "onColorChange", [lt]: "onFontChange", [pt]: "onOpacityChange" }, ft = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, ht = (e2) => {
          const { target: t2, type: n2, context: o2 } = e2;
          return { target: t2, type: ft[n2] ?? n2, context: o2 };
        }, yt = (e2) => {
          const { clientX: t2, clientY: n2, pageX: o2, pageY: r2, screenX: i2, screenY: a2, nativeEvent: s2 } = e2, { offsetX: m2, offsetY: u2 } = s2;
          return { clientX: t2, clientY: n2, pageX: o2, pageY: r2, screenX: i2, screenY: a2, offsetX: m2, offsetY: u2 };
        }, vt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, gt = (e2) => e2.replace(/^on/i, ""), Nt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), $t = (e2, t2, n2, o2) => {
          const { create$w: r2, createEvent: i2, registerEvent: a2, getSdkInstance: s2, metaData: m2 } = t2;
          if (!((e3, t3, n3) => ce(n3)(e3, { type: ["function"] }, t3))(n2, vt[e2] ?? e2, m2.role)) return s2();
          const [u2, c2] = Nt(t2), l2 = a2(e2, (e3, t3) => {
            const a3 = i2({ type: e3.type, compId: e3.compId }), s3 = r2({ context: a3.context }), m3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...ht(a3), ...m3 }, s3);
          }), p2 = { eventName: e2, compId: m2.compId, cb: n2, unregister: l2 };
          return c2({ listeners: [...u2.listeners, p2] }), s2();
        }, It = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(vt).find(([t4, n3]) => gt(n3.toLowerCase()) === gt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(dt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, xt = (e2, t2, n2, o2) => $t(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...yt(e3), ...t3 && o2?.(t3) }));
        function wt(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const o2 = {};
            for (let i2 = 0; i2 < e2.length; i2++) {
              const a2 = e2[i2](t3), s2 = Object.keys(a2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], i3 = Object.getOwnPropertyDescriptor(a2, t4);
                Object.defineProperty(o2, n2 && i3.get ? "aria" + (r2 = t4).charAt(0).toUpperCase() + r2.slice(1) : t4, i3);
              }
            }
            var r2;
            return o2;
          };
        }
        const bt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: o2, compType: r2, isGlobal: i2, getParent: a2, role: s2, wixCodeId: m2 } = t2, u2 = `$w.${r2}`;
          return { get id() {
            return m2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return a2();
          }, get global() {
            return i2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: s2, type: u2, global: i2() };
          } };
        }, Ct = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: o2, create$w: r2, createEvent: i2 } = t2, a2 = (e3, t3) => ce(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => a2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = i2({ type: "viewportEnter" }), t3 = r2();
            n3(e3, t3);
          }), $t("onViewportEnter", t2, n3)) : o2(), onViewportLeave: (n3) => a2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = i2({ type: "viewportLeave" }), t3 = r2();
            n3(e3, t3);
          }), $t("onViewportLeave", t2, n3)) : o2() };
        }, Ot = { duration: 1200, delay: 0 }, Tt = { arc: { ...Ot, direction: "left" }, bounce: { ...Ot, direction: "topLeft", intensity: "medium" }, puff: { ...Ot }, zoom: { ...Ot }, fade: { ...Ot }, flip: { ...Ot, direction: "right" }, float: { ...Ot, direction: "right" }, fly: { ...Ot, direction: "right" }, fold: { ...Ot, direction: "left" }, glide: { ...Ot, angle: 0, distance: 0 }, roll: { ...Ot, direction: "left" }, slide: { ...Ot, direction: "left" }, spin: { ...Ot, direction: "cw", cycles: 5 }, turn: { ...Ot, direction: "right" }, ArcIn: { ...Ot, direction: "right" }, ArcOut: { ...Ot, direction: "right" }, BounceIn: { ...Ot, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Ot, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Ot, direction: "right" }, CollapseOut: { ...Ot }, Conceal: { ...Ot, direction: "right" }, Reveal: { ...Ot, direction: "left" }, FadeIn: { ...Ot }, FadeOut: { ...Ot }, FlipIn: { ...Ot, direction: "left" }, FlipOut: { ...Ot, direction: "left" }, FloatIn: { ...Ot, direction: "right" }, FloatOut: { ...Ot, direction: "right" }, FlyIn: { ...Ot, direction: "right" }, FlyOut: { ...Ot, direction: "right" }, FoldIn: { ...Ot, direction: "left" }, FoldOut: { ...Ot, direction: "left" }, GlideIn: { ...Ot, angle: 0, distance: 150 }, GlideOut: { ...Ot, angle: 0, distance: 150 }, DropIn: { ...Ot }, PopOut: { ...Ot }, SlideIn: { ...Ot, direction: "left" }, SlideOut: { ...Ot, direction: "left" }, SpinIn: { ...Ot, direction: "cw", cycles: 2 }, SpinOut: { ...Ot, direction: "cw", cycles: 2 }, TurnIn: { ...Ot, direction: "right" }, TurnOut: { ...Ot, direction: "right" } }, Et = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, kt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, St = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Pt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Dt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Lt = { arc: { type: ["object"], properties: { duration: St, delay: Pt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: St, delay: Pt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: St, delay: Pt } }, zoom: { type: ["object"], properties: { duration: St, delay: Pt } }, fade: { type: ["object"], properties: { duration: St, delay: Pt } }, flip: { type: ["object"], properties: { duration: St, delay: Pt, direction: Dt } }, float: { type: ["object"], properties: { duration: St, delay: Pt, direction: Dt } }, fly: { type: ["object"], properties: { duration: St, delay: Pt, direction: Dt } }, fold: { type: ["object"], properties: { duration: St, delay: Pt, direction: Dt } }, glide: { type: ["object"], properties: { duration: St, delay: Pt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: St, delay: Pt, direction: Dt } }, slide: { type: ["object"], properties: { duration: St, delay: Pt, direction: Dt } }, spin: { type: ["object"], properties: { duration: St, delay: Pt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: St, delay: Pt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, _t = ({ propertyName: e2, compName: t2 }) => (n2, r2) => {
          if (!n2) return false;
          if (void 0 === r2) return true;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (r3, i3) => {
            o(h({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${i3?.value}`, infoLink: kt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!ue({ reportError: i2, reportWarning: () => ({}) }, t2)(r2, { type: ["object"] }, e2)) return false;
          const a2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (r3, i3) => {
            o(d({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${i3?.propertyName}" cannot be set to the value "${i3?.value}"`, infoLink: kt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!ue({ reportError: a2, reportWarning: () => ({}) }, t2)(r2, Lt[n2], e2);
        }, Vt = (e2) => 0 === Object.keys(e2).length, At = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: r2, metaData: i2, getSdkInstance: a2, runAnimation: s2, createSdkState: m2, styleUtils: u2, setProps: c2 }) => {
          const d2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: r3 }) => {
            const i3 = _t({ propertyName: r3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Vt(n3)) return o(p({ propertyName: r3, compName: e3, infoLink: kt(r3) })), false;
            const a3 = "hide" === r3 ? "HIDE" : "SHOW", s3 = Et[a3]?.deprecatedValues;
            return t3 && n3 && s3 && s3.find((e4) => e4 === t3) && !Vt(n3) ? (o(f({ compName: e3, effectName: t3, propertyName: r3, infoLink: kt(r3) })), false) : !!s3.find((e4) => e4 === t3) || (t3 && !(t3 in Lt) ? (o(l({ propertyName: r3, compName: e3, effectName: t3, infoLink: kt(r3) })), false) : !!i3(t3, n3));
          })({ compName: i2.role }), [h2, y2] = m2({ hidden: i2.hiddenOnLoad, collapsed: i2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (o2, i3) => {
            if (c2({ hidden: true }), h2.collapsed || h2.hidden) y2({ hidden: true });
            else {
              if (d2({ effectName: o2, effectOptions: i3, propertyName: "hide" })) {
                const e3 = { animationDirection: Et.HIDE.suffix, effectName: o2, effectOptions: { ...Tt?.[o2] || Ot, ...i3 } };
                await Promise.all([s2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else n2(u2.getHiddenStyles()), t2 && r2.setStyles(u2.getHiddenStyles());
              y2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (o2, i3) => {
            if (c2({ hidden: false }), !h2.collapsed && h2.hidden) {
              if (d2({ effectName: o2, effectOptions: i3, propertyName: "show" })) {
                const e3 = { animationDirection: Et.SHOW.suffix, effectName: o2, effectOptions: { ...Tt?.[o2] || Ot, ...i3 } };
                await Promise.all([s2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else n2(u2.getShownStyles()), t2 && r2.setStyles(u2.getShownStyles());
              y2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else y2({ hidden: false });
          }, collapse: async () => {
            c2({ collapsed: true }), h2.collapsed || (n2(u2.getCollapsedStyles()), t2 && r2.setStyles(u2.getCollapsedStyles()), y2({ collapsed: true }), h2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (c2({ collapsed: false }), h2.collapsed) {
              const o2 = { ...u2.getExpandedStyles(), visibility: h2.hidden ? "hidden" : null };
              n2(o2), t2 && r2.setStyles(o2), y2({ collapsed: false }), h2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return h2.collapsed;
          }, get hidden() {
            return Boolean(h2.hidden);
          }, get isVisible() {
            if (!i2.isRendered()) return false;
            let e3 = a2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, jt = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return wt([At({ viewportState: n2, hasPortal: t3 }), Ct((e4, t4) => {
            o2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), Mt = (e2, t2, o2) => {
          const r2 = t2.filter((t3) => !e2.includes(t3));
          r2.length && n(K({ functionName: o2, wrongEffects: r2, allowedEffects: e2 }));
        }, Rt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            Mt(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            Mt(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            Mt(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Ut = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Ft = (e2, t2) => "string" != typeof e2 ? (Gt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Kt(e2, t2), false), Gt = (e2, t2, o2, r2) => {
          n(F({ propertyName: e2, functionName: t2, value: o2, expectedType: r2 }));
        }, Ht = (e2, t2) => {
          n(g({ propertyName: e2, functionName: t2 }));
        }, Kt = (e2, t2) => {
          n(B({ propertyName: e2, functionName: t2 }));
        }, Wt = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const n2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Ft(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else Ht("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Ht("className", "customClassList.remove");
            const n2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!Ft(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return Ft(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            Ht("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Ft(t3, "customClassList.replace") || !Ft(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (n(N({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Ft(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Ht("className", "customClassList.toggle"), false);
          } } };
        }, Bt = ({ role: e2, compType: t2, isGlobal: n2, isRendered: o2 }) => ({ id: e2, type: `$w.${t2}`, global: n2(), rendered: o2() }), qt = (e2) => ({ onMouseIn: (t2) => xt("onMouseEnter", e2, t2), onMouseOut: (t2) => xt("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: r2 } = e2;
          return "string" != typeof t2 ? (n(F({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), r2()) : "function" != typeof o2 ? (n(F({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), r2()) : ((e3, t3, n2) => {
            const { metaData: o3, getSdkInstance: r3 } = t3, [i2, a2] = Nt(t3), s2 = i2.listeners.filter((t4) => It(t4.eventName, e3) && t4.cb === n2 && t4.compId === o3.compId);
            for (const e4 of s2) e4.unregister();
            return a2({ listeners: i2.listeners.filter((e4) => !s2.includes(e4)) }), r3();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Bt(e2.metaData);
        } }), Xt = Ct();
        wt([bt, Xt, qt, Rt, Wt]);
        var Yt;
        !function(e2) {
          e2.none = "disabled", e2.expand = "zoomMode", e2.link = "goToLink";
        }(Yt || (Yt = {}));
        const zt = le(({ setProps: e2, props: t2 }) => ({ get clickAction() {
          const { imageOnClickAction: e3 } = t2;
          switch (e3) {
            case "disabled":
              return "none";
            case "goToLink":
              return "link";
            default:
              return "expand";
          }
        }, set clickAction(t3) {
          const n2 = a(t3) ? Yt.none : Yt[t3];
          e2({ imageOnClickAction: n2 });
        } }), { properties: { clickAction: { warnIfNil: true, type: ["string"], enum: Object.keys(Yt) } } }), Jt = (e2) => (t2) => o(`'${t2}' is not supported for an element of type: ${e2}.`), Zt = le(({ metaData: e2 }) => {
          const t2 = e2.compType, n2 = Jt(t2);
          return { get isPlaying() {
            return n2("isPlaying"), false;
          }, play() {
            return n2("play");
          }, pause() {
            return n2("pause");
          }, onPlay() {
            return n2("onPlay");
          }, onPause() {
            return n2("onPause");
          }, next() {
            return n2("next"), Promise.reject(new Error(`next is not supported for an element of type: ${t2}.`));
          }, previous() {
            return n2("previous"), Promise.reject(new Error(`previous is not supported for an element of type: ${t2}.`));
          } };
        }, { properties: {} });
        const Qt = { IMAGE: "image", DOCUMENT: "document", VIDEO: "video", AUDIO: "audio", VECTOR: "vector" }, en = { empty_media_id: "empty_media_id", empty_poster_id: "empty_poster_id", unknown_media_type: "unknown_media_type", missing_width_height: "missing_width_height" }, tn = { vector: (e2, t2) => `wix:vector://v1/${e2}/${t2}`, image: (e2, t2, n2, o2, r2) => `wix:image://v1/${e2}/${t2}#originWidth=${n2}&originHeight=${o2}${r2 ? `&watermark=${r2}` : ""}`, document: (e2, t2) => `wix:document://v1/${e2}/${t2}`, video: (e2, t2, n2, o2 = 0, r2 = 0) => `wix:video://v1/${e2}/${n2}#posterUri=${t2}&posterWidth=${o2}&posterHeight=${r2}`, audio: (e2, t2, n2) => `wix:audio://v1/${e2}/${t2}#duration=${n2}` }, nn = { splitExtension: /\.(?=[^.]+$)/ };
        function on(e2, t2 = "", n2) {
          const [o2, r2] = n2.split(nn.splitExtension), [i2, a2] = t2.split(nn.splitExtension);
          let s2;
          switch (e2) {
            case Qt.IMAGE:
              s2 = `${i2 || "_"}.${a2 || r2}`;
              break;
            case Qt.DOCUMENT:
              s2 = `${i2 || o2}.${a2 || r2}`;
              break;
            case Qt.VIDEO:
              s2 = `${i2 || "_"}${a2 ? `.${a2}` : ""}`;
              break;
            case Qt.AUDIO:
            case Qt.VECTOR:
              s2 = `${i2 || o2}.${a2 || r2}`;
              break;
            default:
              s2 = "";
          }
          return encodeURI(s2);
        }
        function rn({ mediaId: e2, type: t2, title: n2, width: o2, height: r2, posterId: i2, watermark: a2, duration: s2 }) {
          switch (t2) {
            case Qt.IMAGE:
              return function({ mediaId: e3, title: t3, width: n3, height: o3, watermark: r3 }) {
                if (!e3) return { error: en.empty_media_id };
                if ("number" != typeof o3 || "number" != typeof n3) return { error: en.missing_width_height };
                const i3 = on(Qt.IMAGE, t3, e3);
                return { item: tn.image(e3, i3, n3, o3, r3) };
              }({ mediaId: e2, title: n2, width: o2, height: r2, watermark: a2 });
            case Qt.DOCUMENT:
              return function({ mediaId: e3, title: t3 }) {
                if (!e3) return { error: en.empty_media_id };
                const n3 = on(Qt.DOCUMENT, t3, e3);
                return { item: tn.document(e3, n3) };
              }({ mediaId: e2, title: n2 });
            case Qt.VECTOR:
              return function({ mediaId: e3, title: t3 }) {
                if (!e3) return { error: en.empty_media_id };
                const n3 = on(Qt.VECTOR, t3, e3);
                return { item: tn.vector(e3, n3) };
              }({ mediaId: e2, title: n2 });
            case Qt.VIDEO:
              return function({ mediaId: e3, title: t3, width: n3, height: o3, posterId: r3 }) {
                if (!e3) return { error: en.empty_media_id };
                if (!r3) return { error: en.empty_poster_id };
                if (isNaN(o3 || NaN) || isNaN(n3 || NaN)) return { error: en.missing_width_height };
                const i3 = e3.replace("video/", ""), a3 = on(Qt.VIDEO, t3, i3);
                return { item: tn.video(i3, r3, a3, n3, o3) };
              }({ mediaId: e2, title: n2, width: o2, height: r2, posterId: i2 });
            case Qt.AUDIO:
              return function({ mediaId: e3, title: t3, duration: n3 }) {
                if (!e3) return { error: en.empty_media_id };
                const o3 = on(Qt.AUDIO, t3, e3);
                return { item: tn.audio(e3, o3, n3 || 0) };
              }({ mediaId: e2, title: n2, duration: s2 });
            default:
              return { error: en.unknown_media_type };
          }
        }
        const an = { externalUrl: /(^https?)|(^data)|(^blob)|(^\/\/)/, inlineSvg: /<svg[\s\S]*>[\s\S]*<\/svg>/im }, sn = { [Qt.VECTOR]: [an.externalUrl, an.inlineSvg], [Qt.IMAGE]: [an.externalUrl], [Qt.DOCUMENT]: [], [Qt.VIDEO]: [], [Qt.AUDIO]: [an.externalUrl] };
        function mn(e2, t2) {
          return e2.map((e3) => {
            const { type: n2, title: o2, width: r2, height: i2, uri: a2, alt: s2, description: m2, link: u2, src: c2, internalLink: l2 } = e3, p2 = a2 || c2 ? function({ mediaId: e4, type: t3, title: n3, width: o3, height: r3, posterId: i3, watermark: a3, duration: s3 }) {
              return sn[t3]?.some((t4) => t4.test(e4)) ? { item: e4 } : rn({ mediaId: e4, type: t3, title: n3, width: o3, height: r3, posterId: i3, watermark: a3, duration: s3 });
            }({ mediaId: a2 || c2, type: n2.toLowerCase(), title: o2, width: r2, height: i2 }) : { item: "" };
            let d2;
            if (u2) {
              const e4 = !!u2.id;
              if ("AnchorLink" === u2.type) {
                if (["SCROLL_TO_TOP", "SCROLL_TO_BOTTOM"].includes(u2.anchorDataId)) d2 = "SCROLL_TO_TOP" === u2.anchorDataId ? "#top" : "#bottom";
                else {
                  const e5 = u2.anchorDataId.name ? `#${u2.anchorDataId.name.toLowerCase().replace(" ", "")}` : `#${u2.anchorDataId}`, n3 = { type: "AnchorLink", pageId: u2.pageId.id, anchorDataId: e5 };
                  d2 = t2.getLinkUrlFromDataItem(n3);
                }
              } else d2 = e4 ? t2.getLinkUrlFromDataItem(u2) : u2.href;
              l2 && (d2 = "/" === l2 ? "/home" : l2);
            }
            return { type: n2.charAt(0).toUpperCase() + n2.slice(1).toLowerCase(), ...m2 && { description: m2 }, alt: s2 || "", ...o2 && { title: o2 }, ...i2 && { height: i2 }, ...r2 && { width: r2 }, ...u2 && { link: d2 }, ...u2 && u2.target && { target: u2.target }, src: p2.item || p2.error || "" };
          });
        }
        const un = (e2, t2) => mn(e2.map((e3) => {
          const t3 = null == e3 ? void 0 : e3.image;
          return { id: null == e3 ? void 0 : e3.dataId, type: "Image", title: e3.title, width: null == t3 ? void 0 : t3.width, height: null == t3 ? void 0 : t3.height, uri: null == t3 ? void 0 : t3.uri, alt: null == t3 ? void 0 : t3.alt, description: e3.description, link: e3.link };
        }), t2), cn = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => wt([bt, qt, Rt, Ut, e2 ? jt(t2) : Xt, Wt]))(), ln = wt([cn, zt, Zt, (e2) => ({ onItemClicked(t2) {
          $t("onItemClicked", e2, t2, (t3) => {
            let { componentEvent: n2 } = t3;
            const o2 = e2.props.wixSDKItems && e2.props.wixSDKItems.length ? e2.props.wixSDKItems : e2.props.items;
            return { ...n2, item: un([o2[0]], e2.platformUtils.linkUtils)[0] };
          });
        } }), ({ metaData: e2 }) => {
          const t2 = e2.compType, n2 = Jt(t2);
          return { get currentIndex() {
            return n2("currentIndex");
          }, get currentItem() {
            return n2("currentItem");
          }, onCurrentItemChanged() {
            return n2("onCurrentItemChanged");
          } };
        }, (e2) => ({ onCurrentItemChanged(t2) {
          $t("onCurrentItemChanged", e2, t2, (t3) => {
            let { componentEvent: n2 } = t3;
            const o2 = e2.props.wixSDKItems && e2.props.wixSDKItems.length ? e2.props.wixSDKItems : e2.props.items;
            return { ...n2, item: un([o2[0]], e2.platformUtils.linkUtils)[0] };
          });
        } }), (e2) => {
          const { props: t2, metaData: n2, setProps: o2, getSdkInstance: r2 } = e2;
          return { get items() {
            return t2.wixSDKItems || [];
          }, set items(e3) {
            e3 && 0 !== e3.length || o2({ wixSDKItems: [], itemsSrc: "organizeMedia" }), o2({ wixSDKItems: e3, itemsSrc: "wixSDK" });
          }, get showNavigationButtons() {
            return !!t2.showArrows;
          }, set showNavigationButtons(e3) {
            o2({ showArrows: e3 });
          }, get galleryCapabilities() {
            return { isPlayable: false, hasCurrentItem: true, hasNavigationButtons: true, supportsAllMediaTypes: false, isAnimatable: true };
          }, get type() {
            return "$w.Gallery";
          }, set manualStyleParams(e3) {
            o2({ manualStyleParams: e3 });
          }, get manualStyleParams() {
            return t2.manualStyleParams || {};
          }, toJSON() {
            const { clickAction: e3, items: t3 } = r2();
            return { ...Bt(n2), clickAction: e3, items: t3, type: "$w.Gallery" };
          } };
        }, (e2) => {
          const { setProps: t2, props: n2, compRef: o2 } = e2;
          return { set totalItemsCount(e3) {
            t2({ totalItemsCount: e3 });
          }, get totalItemsCount() {
            return n2.totalItemsCount;
          }, addItems(e3) {
            o2.addItems(e3);
          }, onGetMoreItems(n3) {
            t2({ isExternalPagination: true }), $t("onGetMoreItems", e2, n3, (e3) => {
              let { componentEvent: t3 } = e3;
              return t3;
            });
          } };
        }, (e2) => {
          const { compRef: t2 } = e2;
          return { next() {
            t2.next();
          }, previous() {
            t2.previous();
          }, navigateNextEnabled() {
            return t2.navigateNextEnabled();
          }, navigatePreviousEnabled() {
            return t2.navigatePreviousEnabled();
          }, currentIndex() {
            return t2.currentIndex();
          }, triggerItemClick(e3, n2) {
            t2.triggerItemClick(e3, n2);
          }, navigateToIndex(e3, n2) {
            t2.navigateToIndex(e3, n2);
          } };
        }, (e2) => ({ onGalleryNavigationStart(t2) {
          $t("onGalleryNavigationStart", e2, t2, (e3) => {
            let { componentEvent: t3 } = e3;
            return t3;
          });
        } })]);
        var pn = { factory: ln };
        return t;
      }();
    });
  })(ProGallery_bundle_min);
  var ProGallery_bundle_minExports = ProGallery_bundle_min.exports;
  const ProGallery = /* @__PURE__ */ getDefaultExportFromCjs(ProGallery_bundle_minExports);
  var ProgressBar_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, o2) {
          for (var r2 in o2) e.o(o2, r2) && !e.o(t2, r2) && Object.defineProperty(t2, r2, { enumerable: true, get: o2[r2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return Mo;
        }, sdk: function() {
          return Wo;
        } });
        const o = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, r = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function n(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function a(e2) {
          return "string" == typeof e2;
        }
        function i(e2) {
          return Array.isArray(e2);
        }
        function s(e2) {
          return null == e2;
        }
        function l(e2, t2) {
          return t2.includes(e2);
        }
        function u(e2, t2) {
          return e2 > t2;
        }
        function c(e2, t2) {
          return e2 < t2;
        }
        const d = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, p = ({ propertyName: e2, compName: t2, effectName: o2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because it is an invalid effectName value. Read more about effects: "${r2}"')`, m = ({ propertyName: e2, compName: t2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${o2}"')`, f = ({ propertyName: e2, compName: t2, effectName: o2, wrongProperty: r2, wrongValue: n2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because it was called with the following invalid effectOptions ${r2}: ${n2}. Read more about the effectOptions object: "${a2}"')`, y = ({ propertyName: e2, compName: t2, effectName: o2, infoLink: r2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${o2}". Read more about effects: "${r2}"`, h = ({ propertyName: e2, compName: t2, effectName: o2, wrongValue: r2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because the it was called with the following invalid effectOptions "${r2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${n2}"'`, g = ({ propertyName: e2, functionName: t2, compName: o2 }) => `The ${e2} parameter of "${o2}" that is passed to the ${t2} method cannot be set to null.`, b = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to null or undefined.`, v = ({ propertyName: e2, compName: t2, infoLink: o2 }) => ` The value of "${e2}" property of "${t2}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${o2}"`, N = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, $ = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, x = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} is required for ${t2} method.`, w = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, C = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, k = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} is not allowed for ${t2} method.`, I = ({ propertyNames: e2, functionName: t2, index: o2 }) => `The following parameters: ${[...e2]} of item at index ${o2} are unknown for ${t2} method.`, O = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be between ${r2} and ${n2}.`, S = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be between ${r2} and ${n2}.`, T = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be ${r2}.`, P = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be ${r2}.`, E = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}" because its length is shorter than ${r2}.`, j = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}" because its length is shorter than ${r2}.`, V = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}" because its length exceeds ${r2}.`, L = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}" because its length exceeds ${r2}.`, D = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". It must be between ${r2} and ${n2}.`, F = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${o2}". It must be between ${r2} and ${n2}.`, R = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". It must be ${r2}.`, A = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}". It must be ${r2}.`, B = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be larger than ${r2}.`, W = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be at least ${r2}.`, M = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, index: n2 }) => `The value of ${e2} parameter of item at ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be larger than ${r2}.`, q = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be less than ${r2}.`, H = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2, index: n2 }) => `The value of ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be less than ${r2}.`, G = ({ propertyName: e2, functionName: t2, value: o2, expectedType: r2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be of type ${r2}.`, X = ({ propertyName: e2, functionName: t2, value: o2, expectedType: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be of type ${r2}.`, Y = ({ propertyName: e2, functionName: t2, value: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. Bad format`, K = ({ functionName: e2, wrongEffects: t2, allowedEffects: o2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${o2.join('", "')}".`, z = ({ propertyName: e2, functionName: t2, value: o2, index: r2 }) => `The "${e2}" property of the item at index ${r2} that is passed to the ${t2} method cannot be set to "${o2}". Bad format`, U = ({ propertyName: e2, compName: t2, cssProperty: o2, exampleFormat: r2, infoLink: n2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${o2}" value. The value is expected in the following format:"${r2}". Read more about "${o2}" values: "${n2}"`, _ = ({ propertyName: e2, compName: t2, cssProperty: o2, exampleFormats: r2, infoLink: n2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${o2}" value. The value is expected in one of the following formats:"${r2}". Read more about "${o2}" values: "${n2}"`, J = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, Z = ({ compName: e2, functionName: t2, propertyName: o2, index: r2 }) => n(r2) ? b({ propertyName: o2, functionName: t2, index: r2 }) : e2 ? g({ compName: e2, functionName: t2, propertyName: o2 }) : d({ functionName: t2, propertyName: o2 }), Q = ({ functionName: e2, propertyName: t2, index: o2 }) => n(o2) ? x({ functionName: e2, propertyName: t2, index: o2 }) : N({ functionName: e2, propertyName: t2 }), ee = ({ functionName: e2, propertyNames: t2, index: o2 }) => t2 && t2.length > 1 ? n(o2) ? I({ functionName: e2, propertyNames: t2, index: o2 }) : C({ functionName: e2, propertyNames: t2 }) : n(o2) ? k({ functionName: e2, propertyName: t2[0], index: o2 }) : w({ functionName: e2, propertyName: t2[0] }), te = ({ functionName: e2, propertyName: t2, value: o2, maximum: r2, minimum: a2, index: i2 }) => a2 && r2 ? a2 === r2 ? n(i2) ? P({ functionName: e2, propertyName: t2, value: o2, expectedValue: a2, index: i2 }) : T({ functionName: e2, propertyName: t2, value: o2, expectedValue: a2 }) : n(i2) ? S({ functionName: e2, propertyName: t2, value: o2, maximum: r2, minimum: a2, index: i2 }) : O({ functionName: e2, propertyName: t2, value: o2, maximum: r2, minimum: a2 }) : !a2 && r2 ? n(i2) ? L({ functionName: e2, propertyName: t2, value: o2, maximum: r2, index: i2 }) : V({ functionName: e2, propertyName: t2, value: o2, maximum: r2 }) : n(i2) ? j({ functionName: e2, propertyName: t2, value: o2, minimum: a2, index: i2 }) : E({ functionName: e2, propertyName: t2, value: o2, minimum: a2 }), oe = ({ functionName: e2, propertyName: t2, value: o2, minimum: r2, maximum: a2, index: i2 }) => r2 && a2 ? r2 === a2 ? n(i2) ? A({ functionName: e2, propertyName: t2, expectedValue: r2, value: o2, index: i2 }) : R({ functionName: e2, propertyName: t2, expectedValue: r2, value: o2 }) : n(i2) ? F({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: r2, index: i2 }) : D({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: r2 }) : !r2 && a2 ? n(i2) ? H({ functionName: e2, propertyName: t2, maximum: a2, value: o2, index: i2 }) : q({ functionName: e2, propertyName: t2, maximum: a2, value: o2 }) : n(i2) ? M({ functionName: e2, propertyName: t2, value: o2, minimum: r2, index: i2 }) : B({ functionName: e2, propertyName: t2, value: o2, minimum: r2 }), re = ({ functionName: e2, propertyName: t2, types: o2, value: r2, index: a2 }) => {
          const i2 = o2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return n(a2) ? X({ functionName: e2, index: a2, propertyName: t2, value: r2, expectedType: i2 }) : G({ functionName: e2, propertyName: t2, value: r2, expectedType: i2 });
        }, ne = ({ functionName: e2, propertyName: t2, value: o2, enum: r2, index: a2 }) => {
          const i2 = `from (${r2.join(",")})`;
          return n(a2) ? X({ functionName: e2, propertyName: t2, value: o2, expectedType: i2, index: a2 }) : G({ functionName: e2, propertyName: t2, value: o2, expectedType: i2 });
        }, ae = ({ functionName: e2, propertyName: t2, value: o2, index: r2 }) => n(r2) ? z({ functionName: e2, propertyName: t2, value: o2, index: r2 }) : Y({ functionName: e2, propertyName: t2, value: o2 }), ie = Object.prototype.hasOwnProperty, se = Object.getOwnPropertyNames, le = () => {
        };
        function ue(e2, t2, o2, r2, n2, a2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !i(e3);
          }(e2)) return me.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ue(e2, t3, o2, le, n2, a2)).filter((e3) => e3 === me.Valid).length ? me.Valid : me.Invalid;
          if (t2.required) {
            for (let o3 = 0; o3 < t2.required.length; o3++) if (!ie.call(e2, t2.required[o3])) return r2(Q({ functionName: a2.functionName, index: a2.index, propertyName: t2.required[o3] }), { ...a2, value: e2 }), me.Invalid;
          }
          const s2 = se(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = se(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return r2(ee({ functionName: a2.functionName, index: a2.index, propertyNames: t3 })), me.Invalid;
            }
          }
          for (let r3 = 0; r3 < s2.length; r3++) {
            const n3 = s2[r3];
            if (ie.call(e2, n3)) {
              const r4 = t2.properties[n3], i2 = e2[n3];
              if (!o2(i2, r4, { functionName: a2.functionName, index: a2.index, propertyName: n3 })) return me.Invalid;
            }
          }
          return me.Valid;
        }
        function ce(e2) {
          return Array.isArray(e2);
        }
        function de(e2, t2, o2, r2) {
          const { minimum: a2, maximum: i2, enum: s2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? s2 && !l(e2, s2) ? (o2(ne({ value: e2, enum: s2, ...r2 }), { ...r2, value: e2 }), me.Invalid) : n(a2) && c(e2, a2) || n(i2) && u(e2, i2) ? (o2(oe({ value: e2, minimum: a2, maximum: i2, ...r2 }), { ...r2, value: e2 }), me.Invalid) : me.Valid : me.InvalidType;
        }
        function pe(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? me.Valid : me.InvalidType;
        }
        const me = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function fe({ reportError: e2, reportWarning: t2 }, o2, { suppressIndexErrors: r2 = false } = {}) {
          function d2(r3, n2, a2) {
            n2.warnIfNil && s(r3) && t2(Z({ ...a2, compName: o2 }), { ...a2, value: r3 });
            let i2 = 0;
            for (; i2 < n2.type.length; i2++) {
              const e3 = (0, p2[n2.type[i2]])(r3, n2, a2);
              if (e3 !== me.InvalidType) return e3 === me.Valid;
            }
            return i2 === n2.type.length && e2(re({ value: r3, types: n2.type, ...a2 }), { ...a2, value: r3 }), false;
          }
          const p2 = { object: (o3, r3, n2) => ue(o3, r3, d2, e2, t2, n2), array: (e3, t3, o3) => function(e4, t4, o4, r3, n2, a2 = false) {
            if (!i(e4)) return me.InvalidType;
            let s2 = me.Valid;
            if (t4.items) {
              const r4 = ce(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let i2 = 0; i2 < r4; i2++) {
                const r5 = e4[i2];
                let l2, u2;
                ce(t4.items) ? (l2 = t4.items[i2], u2 = t4.items[i2].name) : (l2 = t4.items, u2 = t4.name), o4(r5, l2, { functionName: n2.functionName, propertyName: u2 || n2.propertyName, index: a2 ? void 0 : i2 }) || (s2 = me.Invalid);
              }
            }
            return s2;
          }(e3, t3, d2, 0, o3, r2), number: (t3, o3, r3) => function(e3, t4, o4, r4) {
            const { minimum: a2, maximum: i2, enum: s2 } = t4;
            return n(e3) ? s2 && !l(e3, s2) ? (o4(ne({ value: e3, enum: s2, ...r4 }), { ...r4, value: e3 }), me.Invalid) : n(a2) && c(e3, a2) || n(i2) && u(e3, i2) ? (o4(oe({ value: e3, minimum: a2, maximum: i2, ...r4 }), { ...r4, value: e3 }), me.Invalid) : me.Valid : me.InvalidType;
          }(t3, o3, e2, r3), integer: (t3, o3, r3) => de(t3, o3, e2, r3), string: (t3, o3, r3) => function(e3, t4, o4, r4) {
            const { minLength: n2, maxLength: i2, enum: s2, pattern: d3 } = t4;
            return a(e3) ? s2 && !l(e3, s2) ? (o4(ne({ value: e3, enum: s2, ...r4 }), { ...r4, value: e3 }), me.Invalid) : n2 && c(e3.length, n2) || i2 && u(e3.length, i2) ? (o4(te({ value: e3, minimum: n2, maximum: i2, ...r4 }), { ...r4, value: e3 }), me.Invalid) : d3 && !new RegExp(d3).test(e3) ? (o4(ae({ value: e3, ...r4 }), { ...r4, value: e3 }), me.Invalid) : me.Valid : me.InvalidType;
          }(t3, o3, e2, r3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? me.Valid : me.InvalidType;
          }(e3), date: (e3) => pe(e3), nil: (e3) => function(e4) {
            return s(e4) ? me.Valid : me.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? me.Valid : me.InvalidType;
          }(e3) };
          return function(e3, t3, o3) {
            return d2(e3, t3, { functionName: o3, propertyName: o3, index: void 0 });
          };
        }
        function ye(e2, { suppressIndexErrors: t2 = false } = {}) {
          return fe({ reportError: o, reportWarning: r }, e2, { suppressIndexErrors: t2 });
        }
        function he(e2, t2, o2 = {}) {
          return (r2) => {
            const n2 = e2(r2), a2 = ye(r2.metaData.role), i2 = ye(r2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(n2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(n2, s2), u2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? u2.value = (...e4) => {
                const n3 = t2.properties[s2] && t2.properties[s2].args, a3 = o2[s2];
                let u3 = true;
                return n3 && (u3 = i2(e4, { type: ["array"], items: n3 }, s2)), u3 && a3 && (u3 = a3.every((t3) => t3(e4, r2))), u3 ? l2.value(...e4) : void 0;
              } : u2.value = l2.value : (l2.get && (u2.get = () => n2[s2]), l2.set && (u2.set = (e4) => {
                const i3 = o2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = a2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, r2))), l3 && (n2[s2] = e4);
              })), Object.defineProperty(e3, s2, u2), e3;
            }, {});
          };
        }
        const ge = "click", be = "dblClick", ve = "mouseenter", Ne = "mouseleave", $e = "change", xe = "blur", we = "focus", Ce = "imageChanged", ke = "imageExpanded", Ie = "onInput", Oe = "itemClicked", Se = "cellSelect", Te = "cellEdit", Pe = "rowSelect", Ee = "fetchData", je = "dataChange", Ve = "onTimeout", Le = "onVerified", De = "onError", Fe = "onPlay", Re = "onPause", Ae = "onProgress", Be = "onEnded", We = "autoplayOff", Me = "autoplayOn", qe = "playEnded", He = "playProgress", Ge = "keyPress", Xe = "keyUp", Ye = "keyDown", Ke = "screenIn", ze = "viewportEnter", Ue = "viewportLeave", _e = "scroll", Je = "validate", Ze = "setCustomValidity", Qe = "syncValidationData", et = "updateValidityIndication", tt = "message", ot = "uploadComplete", rt = "itemReady", nt = "itemRemoved", at = "tagClick", it = "quickActionBarItemClicked", st = "markerClicked", lt = "mapClicked", ut = "iconMouseIn", ct = "onStateChange", dt = "itemMouseIn", pt = "itemMouseOut", mt = "itemMouseClick", ft = "itemMouseDblClick", yt = "onColorChange", ht = "onFontChange", gt = "onOpacityChange", bt = { [ge]: "onClick", [be]: "onDblClick", [ve]: "onMouseIn", [Ne]: "onMouseOut", [$e]: "onChange", [Ie]: "onInput", [xe]: "onBlur", [we]: "onFocus", [Ce]: "onCurrentItemChanged", [ke]: void 0, [Oe]: "onItemClicked", [Se]: "onCellSelect", [Te]: void 0, [Pe]: "onRowSelect", [Ee]: void 0, [je]: "onDataChange", [Ve]: "onTimeout", [Le]: "onVerified", [De]: "onError", [Fe]: "onPlay", [Re]: "onPause", [Ae]: "onProgress", [Be]: "onEnded", [We]: "onPause", [Me]: "onPlay", [qe]: void 0, [He]: void 0, [Ge]: "onKeyPress", [Xe]: "onKeyUp", [Ye]: "onKeyDown", [Ke]: void 0, [ze]: "onViewportEnter", [Ue]: "onViewportLeave", [_e]: void 0, [Je]: void 0, [Ze]: void 0, [Qe]: void 0, [et]: void 0, [tt]: "onMessage", [ot]: void 0, [rt]: "onItemReady", [nt]: "onItemRemoved", [at]: void 0, [it]: "onItemClicked", [st]: "onMarkerClicked", [lt]: "onMapClicked", [ut]: void 0, [ct]: "onStateChange", [dt]: "onItemMouseIn", [pt]: "onItemMouseOut", [mt]: "onItemClick", [ft]: "onItemDblClick", [yt]: "onColorChange", [ht]: "onFontChange", [gt]: "onOpacityChange" }, vt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Nt = (e2) => {
          const { target: t2, type: o2, context: r2 } = e2;
          return { target: t2, type: vt[o2] ?? o2, context: r2 };
        }, $t = (e2) => {
          const { clientX: t2, clientY: o2, pageX: r2, pageY: n2, screenX: a2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: u2 } = s2;
          return { clientX: t2, clientY: o2, pageX: r2, pageY: n2, screenX: a2, screenY: i2, offsetX: l2, offsetY: u2 };
        }, xt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, wt = (e2) => e2.replace(/^on/i, ""), Ct = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), kt = (e2, t2, o2, r2) => {
          const { create$w: n2, createEvent: a2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, o3) => ye(o3)(e3, { type: ["function"] }, t3))(o2, xt[e2] ?? e2, l2.role)) return s2();
          const [u2, c2] = Ct(t2), d2 = i2(e2, (e3, t3) => {
            const i3 = a2({ type: e3.type, compId: e3.compId }), s3 = n2({ context: i3.context }), l3 = r2?.({ componentEvent: e3, eventPayload: t3 });
            o2({ ...Nt(i3), ...l3 }, s3);
          }), p2 = { eventName: e2, compId: l2.compId, cb: o2, unregister: d2 };
          return c2({ listeners: [...u2.listeners, p2] }), s2();
        }, It = (e2, t2) => {
          const o2 = ((e3) => {
            const t3 = Object.entries(xt).find(([t4, o3]) => wt(o3.toLowerCase()) === wt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(bt[t2] ?? t2);
          return e2.toLowerCase() === o2.toLowerCase();
        }, Ot = (e2, t2, o2, r2) => kt(e2, t2, o2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...$t(e3), ...t3 && r2?.(t3) }));
        function St(e2, t2) {
          const { modifyAriaSourceKeys: o2 } = {};
          return (t3) => {
            const r2 = {};
            for (let a2 = 0; a2 < e2.length; a2++) {
              const i2 = e2[a2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], a3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(r2, o2 && a3.get ? "aria" + (n2 = t4).charAt(0).toUpperCase() + n2.slice(1) : t4, a3);
              }
            }
            var n2;
            return r2;
          };
        }
        const Tt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: o2, connection: r2, compType: n2, isGlobal: a2, getParent: i2, role: s2, wixCodeId: l2 } = t2, u2 = `$w.${n2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return r2?.config;
          }, get uniqueId() {
            return o2;
          }, get parent() {
            return i2();
          }, get global() {
            return a2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(o2, t3));
          }, toJSON() {
            return { id: s2, type: u2, global: a2() };
          } };
        }, Pt = (e2) => (t2) => {
          const { metaData: o2, getSdkInstance: r2, create$w: n2, createEvent: a2 } = t2, i2 = (e3, t3) => ye(o2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (o3) => i2(o3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = a2({ type: "viewportEnter" }), t3 = n2();
            o3(e3, t3);
          }), kt("onViewportEnter", t2, o3)) : r2(), onViewportLeave: (o3) => i2(o3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = a2({ type: "viewportLeave" }), t3 = n2();
            o3(e3, t3);
          }), kt("onViewportLeave", t2, o3)) : r2() };
        }, Et = { duration: 1200, delay: 0 }, jt = { arc: { ...Et, direction: "left" }, bounce: { ...Et, direction: "topLeft", intensity: "medium" }, puff: { ...Et }, zoom: { ...Et }, fade: { ...Et }, flip: { ...Et, direction: "right" }, float: { ...Et, direction: "right" }, fly: { ...Et, direction: "right" }, fold: { ...Et, direction: "left" }, glide: { ...Et, angle: 0, distance: 0 }, roll: { ...Et, direction: "left" }, slide: { ...Et, direction: "left" }, spin: { ...Et, direction: "cw", cycles: 5 }, turn: { ...Et, direction: "right" }, ArcIn: { ...Et, direction: "right" }, ArcOut: { ...Et, direction: "right" }, BounceIn: { ...Et, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Et, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Et, direction: "right" }, CollapseOut: { ...Et }, Conceal: { ...Et, direction: "right" }, Reveal: { ...Et, direction: "left" }, FadeIn: { ...Et }, FadeOut: { ...Et }, FlipIn: { ...Et, direction: "left" }, FlipOut: { ...Et, direction: "left" }, FloatIn: { ...Et, direction: "right" }, FloatOut: { ...Et, direction: "right" }, FlyIn: { ...Et, direction: "right" }, FlyOut: { ...Et, direction: "right" }, FoldIn: { ...Et, direction: "left" }, FoldOut: { ...Et, direction: "left" }, GlideIn: { ...Et, angle: 0, distance: 150 }, GlideOut: { ...Et, angle: 0, distance: 150 }, DropIn: { ...Et }, PopOut: { ...Et }, SlideIn: { ...Et, direction: "left" }, SlideOut: { ...Et, direction: "left" }, SpinIn: { ...Et, direction: "cw", cycles: 2 }, SpinOut: { ...Et, direction: "cw", cycles: 2 }, TurnIn: { ...Et, direction: "right" }, TurnOut: { ...Et, direction: "right" } }, Vt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Lt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Dt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Ft = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Rt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, At = { arc: { type: ["object"], properties: { duration: Dt, delay: Ft, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Dt, delay: Ft, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Dt, delay: Ft } }, zoom: { type: ["object"], properties: { duration: Dt, delay: Ft } }, fade: { type: ["object"], properties: { duration: Dt, delay: Ft } }, flip: { type: ["object"], properties: { duration: Dt, delay: Ft, direction: Rt } }, float: { type: ["object"], properties: { duration: Dt, delay: Ft, direction: Rt } }, fly: { type: ["object"], properties: { duration: Dt, delay: Ft, direction: Rt } }, fold: { type: ["object"], properties: { duration: Dt, delay: Ft, direction: Rt } }, glide: { type: ["object"], properties: { duration: Dt, delay: Ft, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Dt, delay: Ft, direction: Rt } }, slide: { type: ["object"], properties: { duration: Dt, delay: Ft, direction: Rt } }, spin: { type: ["object"], properties: { duration: Dt, delay: Ft, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Dt, delay: Ft, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Bt = ({ propertyName: e2, compName: t2 }) => (o2, n2) => {
          if (!o2) return false;
          if (void 0 === n2) return true;
          const a2 = (({ effectName: e3, propertyName: t3, compName: o3 }) => (n3, a3) => {
            r(h({ propertyName: t3, compName: o3, effectName: e3, wrongValue: `${a3?.value}`, infoLink: Lt(t3) }));
          })({ effectName: o2, propertyName: e2, compName: t2 });
          if (!fe({ reportError: a2, reportWarning: () => ({}) }, t2)(n2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: o3 }) => (n3, a3) => {
            r(f({ propertyName: t3, compName: o3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: Lt(t3) }));
          })({ effectName: o2, propertyName: e2, compName: t2 });
          return !!fe({ reportError: i2, reportWarning: () => ({}) }, t2)(n2, At[o2], e2);
        }, Wt = (e2) => 0 === Object.keys(e2).length, Mt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: o2, portal: n2, metaData: a2, getSdkInstance: i2, runAnimation: s2, createSdkState: l2, styleUtils: u2, setProps: c2 }) => {
          const d2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: o3, propertyName: n3 }) => {
            const a3 = Bt({ propertyName: n3, compName: e3 });
            if (!t3 && !o3) return false;
            if (!t3 && o3 && !Wt(o3)) return r(m({ propertyName: n3, compName: e3, infoLink: Lt(n3) })), false;
            const i3 = "hide" === n3 ? "HIDE" : "SHOW", s3 = Vt[i3]?.deprecatedValues;
            return t3 && o3 && s3 && s3.find((e4) => e4 === t3) && !Wt(o3) ? (r(y({ compName: e3, effectName: t3, propertyName: n3, infoLink: Lt(n3) })), false) : !!s3.find((e4) => e4 === t3) || (t3 && !(t3 in At) ? (r(p({ propertyName: n3, compName: e3, effectName: t3, infoLink: Lt(n3) })), false) : !!a3(t3, o3));
          })({ compName: a2.role }), [f2, h2] = l2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (r2, a3) => {
            if (c2({ hidden: true }), f2.collapsed || f2.hidden) h2({ hidden: true });
            else {
              if (d2({ effectName: r2, effectOptions: a3, propertyName: "hide" })) {
                const e3 = { animationDirection: Vt.HIDE.suffix, effectName: r2, effectOptions: { ...jt?.[r2] || Et, ...a3 } };
                await Promise.all([s2(e3), t2 ? n2.runAnimation(e3) : void 0]);
              } else o2(u2.getHiddenStyles()), t2 && n2.setStyles(u2.getHiddenStyles());
              h2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (r2, a3) => {
            if (c2({ hidden: false }), !f2.collapsed && f2.hidden) {
              if (d2({ effectName: r2, effectOptions: a3, propertyName: "show" })) {
                const e3 = { animationDirection: Vt.SHOW.suffix, effectName: r2, effectOptions: { ...jt?.[r2] || Et, ...a3 } };
                await Promise.all([s2(e3), t2 ? n2.runAnimation(e3) : void 0]);
              } else o2(u2.getShownStyles()), t2 && n2.setStyles(u2.getShownStyles());
              h2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else h2({ hidden: false });
          }, collapse: async () => {
            c2({ collapsed: true }), f2.collapsed || (o2(u2.getCollapsedStyles()), t2 && n2.setStyles(u2.getCollapsedStyles()), h2({ collapsed: true }), f2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (c2({ collapsed: false }), f2.collapsed) {
              const r2 = { ...u2.getExpandedStyles(), visibility: f2.hidden ? "hidden" : null };
              o2(r2), t2 && n2.setStyles(r2), h2({ collapsed: false }), f2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return f2.collapsed;
          }, get hidden() {
            return Boolean(f2.hidden);
          }, get isVisible() {
            if (!a2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, qt = (e2) => (t2) => ((e3, t3 = false) => {
          const [o2, r2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return St([Mt({ viewportState: o2, hasPortal: t3 }), Pt((e4, t4) => {
            r2({ [e4]: [...o2[e4], t4] });
          })])(e3);
        })(t2, e2), Ht = (e2, t2, r2) => {
          const n2 = t2.filter((t3) => !e2.includes(t3));
          n2.length && o(K({ functionName: r2, wrongEffects: n2, allowedEffects: e2 }));
        }, Gt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (o2) => {
            Ht(t2(), o2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...o2);
          }, removeEffects: (o2) => {
            Ht(t2(), o2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...o2);
          }, toggleEffects: (o2) => {
            Ht(t2(), o2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...o2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Xt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Yt = (e2, t2) => "string" != typeof e2 ? (Kt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Ut(e2, t2), false), Kt = (e2, t2, r2, n2) => {
          o(G({ propertyName: e2, functionName: t2, value: r2, expectedType: n2 }));
        }, zt = (e2, t2) => {
          o(N({ propertyName: e2, functionName: t2 }));
        }, Ut = (e2, t2) => {
          o(J({ propertyName: e2, functionName: t2 }));
        }, _t = (e2) => {
          const { setProps: t2, props: r2 } = e2;
          return { customClassList: { get value() {
            return r2.customClassNames ? r2.customClassNames?.join(" ") : "";
          }, values() {
            return r2.customClassNames ? r2.customClassNames : [];
          }, add(...e3) {
            const o2 = r2.customClassNames ? new Set(r2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Yt(t3, "customClassList.add")) return;
                o2.add(t3);
              }
              t2({ customClassNames: Array.from(o2) });
            } else zt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void zt("className", "customClassList.remove");
            const o2 = new Set(r2.customClassNames);
            for (const t3 of e3) {
              if (!Yt(t3, "customClassList.remove")) return;
              o2.delete(t3);
            }
            t2({ customClassNames: Array.from(o2) });
          }, contains(e3) {
            if (e3) return Yt(e3, "customClassList.contains") ? !!r2.customClassNames && r2.customClassNames.includes(e3) : void 0;
            zt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Yt(t3, "customClassList.replace") || !Yt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (o($({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Yt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (zt("className", "customClassList.toggle"), false);
          } } };
        }, Jt = ({ role: e2, compType: t2, isGlobal: o2, isRendered: r2 }) => ({ id: e2, type: `$w.${t2}`, global: o2(), rendered: r2() }), Zt = (e2) => ({ onMouseIn: (t2) => Ot("onMouseEnter", e2, t2), onMouseOut: (t2) => Ot("onMouseLeave", e2, t2), removeEventHandler: (t2, r2) => {
          const { getSdkInstance: n2 } = e2;
          return "string" != typeof t2 ? (o(G({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), n2()) : "function" != typeof r2 ? (o(G({ propertyName: "handler", functionName: "removeEventHandler", value: r2, expectedType: "function" })), n2()) : ((e3, t3, o2) => {
            const { metaData: r3, getSdkInstance: n3 } = t3, [a2, i2] = Ct(t3), s2 = a2.listeners.filter((t4) => It(t4.eventName, e3) && t4.cb === o2 && t4.compId === r3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: a2.listeners.filter((e4) => !s2.includes(e4)) }), n3();
          })(t2, e2, r2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Jt(e2.metaData);
        } }), Qt = Pt(), eo = (St([Tt, Qt, Zt, Gt, _t]), { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" });
        function to(e2) {
          return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e2);
        }
        function oo(e2) {
          return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e2);
        }
        function ro(e2) {
          return eo[e2];
        }
        function no(e2) {
          return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e2) || to(e2);
        }
        function ao(e2) {
          return oo(e2) || /^#(([a-f0-9]){3}){1,2}$/i.test(e2);
        }
        const io = (e2) => parseInt(e2.repeat(2 / e2.length), 16), so = (e2) => {
          if (!ao(e2)) return;
          const t2 = ((e3) => {
            const t3 = Math.floor((e3.length - 1) / 3);
            return e3.slice(1).match(new RegExp(`.{${t3}}`, "g"));
          })(e2), [o2, r2, n2, a2] = t2.map(io);
          return [o2, r2, n2, void 0 !== a2 ? co(a2 / 255) : 1];
        }, lo = (e2) => ao(e2) ? so(e2) : no(e2) ? ((e3) => {
          if (!no(e3)) return;
          const t2 = e3.substring(e3.indexOf("(")).split(","), o2 = parseInt(t2[0].substring(1).trim(), 10), r2 = parseInt(t2[1].trim(), 10), n2 = parseInt(t2[2].trim(), 10), a2 = t2[3] && parseFloat(t2[3].substring(0, t2[3].length - 1).trim());
          return [o2, r2, n2, void 0 !== a2 ? a2 : 1];
        })(e2) : ro(e2) ? so(eo[e2]) : void 0, uo = (e2) => {
          const t2 = lo(e2);
          if (t2) return t2[3];
        }, co = (e2) => Math.round(100 * e2) / 100;
        const po = ({ propertyName: e2, cssProperty: t2, supportAlpha: r2 }) => (n2, a2) => function(e3) {
          return ao(e3) || no(e3) || ro(e3);
        }(n2) ? (r2 || fo({ propertyName: e2, color: n2, api: a2 }), true) : (o(_({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: a2.metaData.role, exampleFormats: r2 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), mo = ({ propertyName: e2, cssProperty: t2 }) => (r2, n2) => !!function(e3) {
          if (a(e3)) {
            const t3 = e3.endsWith("px"), o2 = e3.slice(0, e3.length - 2), r3 = /^\d*$/.test(o2);
            return t3 && r3 && parseInt(o2, 10);
          }
          return false;
        }(r2) || (o(U({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: n2.metaData.role, exampleFormat: "1px" })), false), fo = ({ propertyName: e2, color: t2, api: o2 }) => {
          (oo(t2) || to(t2)) && r(v({ propertyName: e2, compName: o2.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}` }));
        }, yo = ({ name: e2, prefix: t2 }) => t2 ? `--${t2}-corvid-${e2}` : `--corvid-${e2}`, ho = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, go = ["hover", "disabled"], bo = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
        function vo(e2) {
          return e2.charAt(0).toUpperCase() + e2.slice(1);
        }
        const No = (e2) => (t2 = { supportOpacity: true }) => {
          const { prefix: o2, supportOpacity: r2, withoutDefaultValue: n2, supportedStates: a2 = [] } = t2, i2 = (t3, o3 = e2) => {
            const a3 = po({ propertyName: e2, cssProperty: r2 ? "rgbaColor" : "rgbColor", supportAlpha: r2 });
            return he(({ setStyles: a4, sdkData: i3, createSdkState: s3 }) => {
              const l3 = i3?.initialSdkStyles?.[o3], u2 = uo(l3), c2 = n2 ? void 0 : l3, [d2, p2] = s3({ [o3]: c2 }, o3);
              return Object.defineProperty({ reset() {
                p2({ [o3]: c2 }), a4({ [t3]: void 0 });
              } }, e2, { enumerable: true, set(e3) {
                let n3 = e3;
                if (!r2 && (oo(e3) || to(e3))) {
                  const [t4, o4, r3] = lo(e3);
                  n3 = `rgb(${t4}, ${o4}, ${r3})`;
                }
                if ("number" == typeof u2 && 1 !== u2) {
                  const t4 = uo(e3);
                  n3 = ((e4, t5) => {
                    const o4 = lo(e4);
                    if (o4) {
                      const [e5, r3, n4] = o4;
                      return `rgba(${e5}, ${r3}, ${n4}, ${t5})`;
                    }
                  })(n3, Number.isFinite(t4) ? co(u2 * t4) : u2);
                }
                p2({ [o3]: n3 }), a4({ [t3]: n3 });
              }, get() {
                return d2[o3];
              } });
            }, { properties: { [e2]: { type: ["string", "nil"] } } }, { [e2]: [a3] });
          }, s2 = a2.map((t3) => he((r3) => {
            const n3 = i2(yo({ name: bo[t3][e2], prefix: o2 }), t3 + vo(e2))(r3);
            return { [t3]: n3 };
          }, { properties: { [t3]: { type: ["object", "nil"] } } })), l2 = i2(yo({ name: ho[e2], prefix: o2 }));
          return (e3) => Object.assign(l2(e3), s2.reduce((t3, o3) => Object.assign(t3, o3(e3)), {}));
        }, $o = No("backgroundColor"), xo = No("borderColor"), wo = "textColor", Co = "color", ko = No("fillColor"), Io = No("strokeColor"), Oo = No("iconColor"), So = "reset";
        function To(...e2) {
          const t2 = (o2 = So, (...e3) => {
            const t3 = {}, r2 = { [o2](e4) {
              if ("function" == typeof t3[e4]) return t3[e4](e4);
            } };
            return e3.forEach((e4) => {
              Object.keys(e4).filter((e5) => e5 !== o2).map((t4) => ({ key: t4, descriptor: Object.getOwnPropertyDescriptor(e4, t4) })).forEach(({ key: n2, descriptor: a2 }) => {
                "function" == typeof e4[o2] && (t3[n2] = e4[o2]), Object.defineProperty(r2, n2, a2);
              });
            }), r2;
          });
          var o2;
          return (o3) => {
            const r2 = e2.map((e3) => e3(o3)), n2 = {};
            for (const e3 of go) r2.some((t3) => e3 in t3) && (n2[e3] = t2(...r2.map((t3) => t3[e3] ?? {})), Object.defineProperty(n2[e3], So, { enumerable: false }), r2.forEach((t3) => {
              delete t3[e3];
            }));
            const a2 = t2(...r2);
            return Object.defineProperty(a2, So, { enumerable: false }), Object.assign(a2, n2);
          };
        }
        const Po = { BackgroundColor: $o, BorderColor: xo, BorderWidth: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = yo({ name: ho.borderWidth, prefix: t2 });
          return he(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const a2 = t3?.initialSdkStyles?.borderWidth, [i2, s2] = n2({ borderWidth: o2 ? void 0 : a2 }, "borderWidth");
            return { set borderWidth(t4) {
              s2({ borderWidth: t4 }), e3({ [r2]: t4 });
            }, get borderWidth() {
              return i2.borderWidth;
            }, reset() {
              s2({ borderWidth: a2 }), e3({ [r2]: void 0 });
            } };
          }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [mo({ propertyName: "borderWidth", cssProperty: "width" })] });
        }, ForegroundColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = yo({ name: ho.foregroundColor, prefix: t2 });
          return he(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const [a2, i2] = n2({ foregroundColor: o2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }, "foregroundColor");
            return { set foregroundColor(t4) {
              i2({ foregroundColor: t4 }), e3({ [r2]: t4 });
            }, get foregroundColor() {
              return a2.foregroundColor;
            }, reset() {
              i2({ foregroundColor: o2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }), e3({ [r2]: void 0 });
            } };
          }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [po({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
        }, BorderRadius: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = yo({ name: ho.borderRadius, prefix: t2 });
          return he(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const a2 = t3?.initialSdkStyles?.borderRadius, [i2, s2] = n2({ borderRadius: o2 ? void 0 : a2 }, "borderRadius");
            return { set borderRadius(t4) {
              s2({ borderRadius: t4 }), e3({ [r2]: t4 });
            }, get borderRadius() {
              return i2.borderRadius;
            }, reset() {
              s2({ borderRadius: a2 }), e3({ [r2]: void 0 });
            } };
          }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [mo({ propertyName: "borderRadius", cssProperty: "radius" })] });
        }, TextColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2, supportedStates: r2 = [] } = e2, n2 = (e3, t3 = wo, r3 = Co) => he(({ setStyles: n3, sdkData: a3, createSdkState: i3 }) => {
            const s2 = a3?.initialSdkStyles?.[r3], l2 = o2 ? void 0 : s2, [u2, c2] = i3({ [t3]: l2 }, t3);
            return { set color(o3) {
              let r4 = o3;
              if (oo(o3) || to(o3)) {
                const [e4, t4, n4] = lo(o3);
                r4 = `rgb(${e4}, ${t4}, ${n4})`;
              }
              c2({ [t3]: r4 }), n3({ [e3]: r4 });
            }, get color() {
              return u2[t3];
            }, reset() {
              c2({ [t3]: l2 }), n3({ [e3]: void 0 });
            } };
          }, { properties: { color: { type: ["string", "nil"] } } }, { color: [po({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), a2 = r2.map((e3) => he((o3) => {
            const r3 = n2(yo({ name: bo[e3].textColor, prefix: t2 }), ((e4) => e4 + vo(wo))(e3), ((e4) => e4 + vo(Co))(e3))(o3);
            return { [e3]: r3 };
          }, { properties: { [e3]: { type: ["object", "nil"] } } })), i2 = n2(yo({ name: ho.textColor, prefix: t2 }));
          return (e3) => Object.assign(i2(e3), a2.reduce((t3, o3) => Object.assign(t3, o3(e3)), {}));
        }, FillColor: ko, StrokeColor: Io, IconColor: Oo }, Eo = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} };
        const jo = (e2) => (t2) => {
          const r2 = isFinite(t2);
          return r2 || o(re({ functionName: e2, propertyName: e2, types: ["number"], value: t2, index: void 0 })), r2;
        }, Vo = he((e2) => {
          let { setProps: t2, props: o2, metaData: r2 } = e2;
          return { get value() {
            return o2.value;
          }, set value(e3) {
            t2({ value: e3 });
          }, get targetValue() {
            var e3;
            return null != (e3 = o2.targetValue) ? e3 : 100;
          }, set targetValue(e3) {
            t2({ targetValue: e3 });
          }, get type() {
            return "$w.ProgressBar";
          }, toJSON() {
            var e3;
            return { ...Jt(r2), type: "$w.ProgressBar", value: o2.value, targetValue: null != (e3 = o2.targetValue) ? e3 : 100 };
          } };
        }, { properties: { value: { type: ["number"] }, targetValue: { type: ["number"] } } }, { value: [jo("value"), (Lo = "value", (e2) => {
          const t2 = e2 >= 0;
          return t2 || o(W({ functionName: Lo, propertyName: Lo, minimum: 0, value: e2 })), t2;
        })], targetValue: [jo("targetValue"), /* @__PURE__ */ ((e2) => (t2) => {
          const r2 = t2 > 0;
          return r2 || o(B({ functionName: e2, propertyName: e2, minimum: 0, value: t2 })), r2;
        })("targetValue")] });
        var Lo;
        const Do = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => St([Tt, Zt, Gt, Xt, e2 ? qt(t2) : Qt, _t]))(), Fo = (Ao = { BackgroundColor: true, ForegroundColor: true, BorderColor: true, BorderWidth: true, BorderRadius: true, TextColor: true }, he((Ro = To(...Object.keys(Ao).filter((e2) => Ao[e2]).map((e2) => {
          const t2 = "boolean" != typeof Ao[e2] ? Ao[e2] : Eo[e2];
          return Po[e2]({ prefix: Bo?.cssVarPrefix, withoutDefaultValue: t2.withoutDefaultValue, supportOpacity: t2.supportOpacity, supportedStates: t2.supportedStates });
        })), (e2) => {
          const t2 = Ro(e2);
          return t2.removeProperty = (e3) => {
            const [r2, n2] = e3.includes(".") ? e3.split(".").reverse() : [e3, void 0];
            if (!n2 && !(r2 in t2) || n2 && !(r2 in (t2[n2] ?? {}))) {
              const r3 = Object.keys(t2).filter((e4) => "removeProperty" !== e4);
              return void o(ne({ functionName: "removeProperty", propertyName: "propertyName", value: e3, enum: r3, index: void 0 }));
            }
            const a2 = n2 ? t2[n2] : t2;
            a2[So]?.(r2);
          }, { get style() {
            return t2;
          } };
        }), { properties: { style: { type: ["object"] } } }));
        var Ro, Ao, Bo;
        const Wo = St([Do, Fo, Vo]);
        var Mo = { factory: Wo };
        return t;
      }();
    });
  })(ProgressBar_bundle_min);
  var ProgressBar_bundle_minExports = ProgressBar_bundle_min.exports;
  const ProgressBar = /* @__PURE__ */ getDefaultExportFromCjs(ProgressBar_bundle_minExports);
  var RadioGroup_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, o2) {
          for (var r2 in o2) e.o(o2, r2) && !e.o(t2, r2) && Object.defineProperty(t2, r2, { enumerable: true, get: o2[r2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return er;
        }, sdk: function() {
          return Qo;
        } });
        function o(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function r(e2) {
          return "string" == typeof e2;
        }
        function n(e2) {
          return Array.isArray(e2);
        }
        function a(e2) {
          return null == e2;
        }
        function i(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function l(e2, t2) {
          return e2 < t2;
        }
        const d = { valueMissing: "value missing" }, u = { type: "General", validity: { badInput: false, customError: false, fileNotUploaded: false, fileTypeNotAllowed: false, fileSizeExceedsLimit: false, patternMismatch: false, rangeOverflow: false, rangeUnderflow: false, stepMismatch: false, tooLong: false, tooShort: false, typeMismatch: false, valueMissing: false, exceedsFilesLimit: false, valid: true, invalidTime: false, invalidDate: false }, validationMessage: "", htmlValidationMessageOverride: { key: "" } }, c = (e2) => !!e2.validity.customError ? e2.validationMessage : "", p = (e2, t2, o2) => ({ ...e2, validity: { ...e2.validity, [t2]: true, valid: false }, validationMessage: o2 }), m = (e2, t2, o2) => {
          const n2 = e2.validationMessage || o2 || ((e3, t3) => {
            const o3 = d[e3];
            return r(o3) ? o3 : o3(t3);
          })(t2);
          return p(e2, t2, n2);
        }, f = { validationData: u, customValidators: [() => {
        }] }, y = "validation", h = ({ createSdkState: e2 }) => {
          const [t2] = e2(f, y);
          return t2.validationData;
        }, v = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, g = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, b = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, N = ({ propertyName: e2, compName: t2, effectName: o2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because it is an invalid effectName value. Read more about effects: "${r2}"')`, w = ({ propertyName: e2, compName: t2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${o2}"')`, $ = ({ propertyName: e2, compName: t2, effectName: o2, wrongProperty: r2, wrongValue: n2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because it was called with the following invalid effectOptions ${r2}: ${n2}. Read more about the effectOptions object: "${a2}"')`, x = ({ propertyName: e2, compName: t2, effectName: o2, infoLink: r2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${o2}". Read more about effects: "${r2}"`, I = ({ propertyName: e2, compName: t2, effectName: o2, wrongValue: r2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because the it was called with the following invalid effectOptions "${r2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${n2}"'`, k = ({ propertyName: e2, functionName: t2, compName: o2 }) => `The ${e2} parameter of "${o2}" that is passed to the ${t2} method cannot be set to null.`, C = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to null or undefined.`, S = ({ propertyName: e2, wrongValue: t2, index: o2 }) => `The ${e2} parameter at index ${o2} that is passed to the options function cannot be set to ${JSON.stringify(t2)}. Options must contain either a non-null value or a non-null label.`, O = ({ propertyName: e2, compName: t2, infoLink: o2 }) => ` The value of "${e2}" property of "${t2}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${o2}"`, V = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, T = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, P = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} is required for ${t2} method.`, E = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, D = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, j = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} is not allowed for ${t2} method.`, L = ({ propertyNames: e2, functionName: t2, index: o2 }) => `The following parameters: ${[...e2]} of item at index ${o2} are unknown for ${t2} method.`, R = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be between ${r2} and ${n2}.`, A = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be between ${r2} and ${n2}.`, F = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be ${r2}.`, M = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be ${r2}.`, B = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}" because its length is shorter than ${r2}.`, q = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}" because its length is shorter than ${r2}.`, W = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}" because its length exceeds ${r2}.`, G = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}" because its length exceeds ${r2}.`, H = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". It must be between ${r2} and ${n2}.`, U = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${o2}". It must be between ${r2} and ${n2}.`, X = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". It must be ${r2}.`, Y = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}". It must be ${r2}.`, z = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be larger than ${r2}.`, K = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, index: n2 }) => `The value of ${e2} parameter of item at ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be larger than ${r2}.`, J = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be less than ${r2}.`, _ = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2, index: n2 }) => `The value of ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be less than ${r2}.`, Z = ({ propertyName: e2, functionName: t2, value: o2, expectedType: r2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be of type ${r2}.`, Q = ({ propertyName: e2, functionName: t2, value: o2, expectedType: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be of type ${r2}.`, ee = ({ propertyName: e2, functionName: t2, value: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. Bad format`, te = ({ functionName: e2, wrongEffects: t2, allowedEffects: o2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${o2.join('", "')}".`, oe = ({ propertyName: e2, functionName: t2, value: o2, index: r2 }) => `The "${e2}" property of the item at index ${r2} that is passed to the ${t2} method cannot be set to "${o2}". Bad format`, re = ({ propertyName: e2, compName: t2, cssProperty: o2, exampleFormat: r2, infoLink: n2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${o2}" value. The value is expected in the following format:"${r2}". Read more about "${o2}" values: "${n2}"`, ne = ({ propertyName: e2, compName: t2, cssProperty: o2, exampleFormats: r2, infoLink: n2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${o2}" value. The value is expected in one of the following formats:"${r2}". Read more about "${o2}" values: "${n2}"`, ae = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, ie = ({ compName: e2, functionName: t2, propertyName: r2, index: n2 }) => o(n2) ? C({ propertyName: r2, functionName: t2, index: n2 }) : e2 ? k({ compName: e2, functionName: t2, propertyName: r2 }) : b({ functionName: t2, propertyName: r2 }), se = ({ functionName: e2, propertyName: t2, index: r2 }) => o(r2) ? P({ functionName: e2, propertyName: t2, index: r2 }) : V({ functionName: e2, propertyName: t2 }), le = ({ functionName: e2, propertyNames: t2, index: r2 }) => t2 && t2.length > 1 ? o(r2) ? L({ functionName: e2, propertyNames: t2, index: r2 }) : D({ functionName: e2, propertyNames: t2 }) : o(r2) ? j({ functionName: e2, propertyName: t2[0], index: r2 }) : E({ functionName: e2, propertyName: t2[0] }), de = ({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2, index: i2 }) => a2 && n2 ? a2 === n2 ? o(i2) ? M({ functionName: e2, propertyName: t2, value: r2, expectedValue: a2, index: i2 }) : F({ functionName: e2, propertyName: t2, value: r2, expectedValue: a2 }) : o(i2) ? A({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2, index: i2 }) : R({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2 }) : !a2 && n2 ? o(i2) ? G({ functionName: e2, propertyName: t2, value: r2, maximum: n2, index: i2 }) : W({ functionName: e2, propertyName: t2, value: r2, maximum: n2 }) : o(i2) ? q({ functionName: e2, propertyName: t2, value: r2, minimum: a2, index: i2 }) : B({ functionName: e2, propertyName: t2, value: r2, minimum: a2 }), ue = ({ functionName: e2, propertyName: t2, value: r2, minimum: n2, maximum: a2, index: i2 }) => n2 && a2 ? n2 === a2 ? o(i2) ? Y({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2, index: i2 }) : X({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2 }) : o(i2) ? U({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2, index: i2 }) : H({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2 }) : !n2 && a2 ? o(i2) ? _({ functionName: e2, propertyName: t2, maximum: a2, value: r2, index: i2 }) : J({ functionName: e2, propertyName: t2, maximum: a2, value: r2 }) : o(i2) ? K({ functionName: e2, propertyName: t2, value: r2, minimum: n2, index: i2 }) : z({ functionName: e2, propertyName: t2, value: r2, minimum: n2 }), ce = ({ functionName: e2, propertyName: t2, types: r2, value: n2, index: a2 }) => {
          const i2 = r2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return o(a2) ? Q({ functionName: e2, index: a2, propertyName: t2, value: n2, expectedType: i2 }) : Z({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, pe = ({ functionName: e2, propertyName: t2, value: r2, enum: n2, index: a2 }) => {
          const i2 = `from (${n2.join(",")})`;
          return o(a2) ? Q({ functionName: e2, propertyName: t2, value: r2, expectedType: i2, index: a2 }) : Z({ functionName: e2, propertyName: t2, value: r2, expectedType: i2 });
        }, me = ({ functionName: e2, propertyName: t2, value: r2, index: n2 }) => o(n2) ? oe({ functionName: e2, propertyName: t2, value: r2, index: n2 }) : ee({ functionName: e2, propertyName: t2, value: r2 }), fe = Object.prototype.hasOwnProperty, ye = Object.getOwnPropertyNames, he = () => {
        };
        function ve(e2, t2, o2, r2, a2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !n(e3);
          }(e2)) return we.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ve(e2, t3, o2, he, a2, i2)).filter((e3) => e3 === we.Valid).length ? we.Valid : we.Invalid;
          if (t2.required) {
            for (let o3 = 0; o3 < t2.required.length; o3++) if (!fe.call(e2, t2.required[o3])) return r2(se({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[o3] }), { ...i2, value: e2 }), we.Invalid;
          }
          const s2 = ye(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ye(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return r2(le({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), we.Invalid;
            }
          }
          for (let r3 = 0; r3 < s2.length; r3++) {
            const n2 = s2[r3];
            if (fe.call(e2, n2)) {
              const r4 = t2.properties[n2], a3 = e2[n2];
              if (!o2(a3, r4, { functionName: i2.functionName, index: i2.index, propertyName: n2 })) return we.Invalid;
            }
          }
          return we.Valid;
        }
        function ge(e2) {
          return Array.isArray(e2);
        }
        function be(e2, t2, r2, n2) {
          const { minimum: a2, maximum: d2, enum: u2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? u2 && !i(e2, u2) ? (r2(pe({ value: e2, enum: u2, ...n2 }), { ...n2, value: e2 }), we.Invalid) : o(a2) && l(e2, a2) || o(d2) && s(e2, d2) ? (r2(ue({ value: e2, minimum: a2, maximum: d2, ...n2 }), { ...n2, value: e2 }), we.Invalid) : we.Valid : we.InvalidType;
        }
        function Ne(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? we.Valid : we.InvalidType;
        }
        const we = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function $e({ reportError: e2, reportWarning: t2 }, d2, { suppressIndexErrors: u2 = false } = {}) {
          function c2(o2, r2, n2) {
            r2.warnIfNil && a(o2) && t2(ie({ ...n2, compName: d2 }), { ...n2, value: o2 });
            let i2 = 0;
            for (; i2 < r2.type.length; i2++) {
              const e3 = (0, p2[r2.type[i2]])(o2, r2, n2);
              if (e3 !== we.InvalidType) return e3 === we.Valid;
            }
            return i2 === r2.type.length && e2(ce({ value: o2, types: r2.type, ...n2 }), { ...n2, value: o2 }), false;
          }
          const p2 = { object: (o2, r2, n2) => ve(o2, r2, c2, e2, t2, n2), array: (e3, t3, o2) => function(e4, t4, o3, r2, a2, i2 = false) {
            if (!n(e4)) return we.InvalidType;
            let s2 = we.Valid;
            if (t4.items) {
              const r3 = ge(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let n2 = 0; n2 < r3; n2++) {
                const r4 = e4[n2];
                let l2, d3;
                ge(t4.items) ? (l2 = t4.items[n2], d3 = t4.items[n2].name) : (l2 = t4.items, d3 = t4.name), o3(r4, l2, { functionName: a2.functionName, propertyName: d3 || a2.propertyName, index: i2 ? void 0 : n2 }) || (s2 = we.Invalid);
              }
            }
            return s2;
          }(e3, t3, c2, 0, o2, u2), number: (t3, r2, n2) => function(e3, t4, r3, n3) {
            const { minimum: a2, maximum: d3, enum: u3 } = t4;
            return o(e3) ? u3 && !i(e3, u3) ? (r3(pe({ value: e3, enum: u3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : o(a2) && l(e3, a2) || o(d3) && s(e3, d3) ? (r3(ue({ value: e3, minimum: a2, maximum: d3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : we.Valid : we.InvalidType;
          }(t3, r2, e2, n2), integer: (t3, o2, r2) => be(t3, o2, e2, r2), string: (t3, o2, n2) => function(e3, t4, o3, n3) {
            const { minLength: a2, maxLength: d3, enum: u3, pattern: c3 } = t4;
            return r(e3) ? u3 && !i(e3, u3) ? (o3(pe({ value: e3, enum: u3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : a2 && l(e3.length, a2) || d3 && s(e3.length, d3) ? (o3(de({ value: e3, minimum: a2, maximum: d3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : c3 && !new RegExp(c3).test(e3) ? (o3(me({ value: e3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : we.Valid : we.InvalidType;
          }(t3, o2, e2, n2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? we.Valid : we.InvalidType;
          }(e3), date: (e3) => Ne(e3), nil: (e3) => function(e4) {
            return a(e4) ? we.Valid : we.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? we.Valid : we.InvalidType;
          }(e3) };
          return function(e3, t3, o2) {
            return c2(e3, t3, { functionName: o2, propertyName: o2, index: void 0 });
          };
        }
        function xe(e2, { suppressIndexErrors: t2 = false } = {}) {
          return $e({ reportError: v, reportWarning: g }, e2, { suppressIndexErrors: t2 });
        }
        function Ie(e2, t2, o2 = {}) {
          return (r2) => {
            const n2 = e2(r2), a2 = xe(r2.metaData.role), i2 = xe(r2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(n2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(n2, s2), d2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? d2.value = (...e4) => {
                const n3 = t2.properties[s2] && t2.properties[s2].args, a3 = o2[s2];
                let d3 = true;
                return n3 && (d3 = i2(e4, { type: ["array"], items: n3 }, s2)), d3 && a3 && (d3 = a3.every((t3) => t3(e4, r2))), d3 ? l2.value(...e4) : void 0;
              } : d2.value = l2.value : (l2.get && (d2.get = () => n2[s2]), l2.set && (d2.set = (e4) => {
                const i3 = o2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = a2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, r2))), l3 && (n2[s2] = e4);
              })), Object.defineProperty(e3, s2, d2), e3;
            }, {});
          };
        }
        const ke = "click", Ce = "dblClick", Se = "mouseenter", Oe = "mouseleave", Ve = "change", Te = "blur", Pe = "focus", Ee = "imageChanged", De = "imageExpanded", je = "onInput", Le = "itemClicked", Re = "cellSelect", Ae = "cellEdit", Fe = "rowSelect", Me = "fetchData", Be = "dataChange", qe = "onTimeout", We = "onVerified", Ge = "onError", He = "onPlay", Ue = "onPause", Xe = "onProgress", Ye = "onEnded", ze = "autoplayOff", Ke = "autoplayOn", Je = "playEnded", _e = "playProgress", Ze = "keyPress", Qe = "keyUp", et = "keyDown", tt = "screenIn", ot = "viewportEnter", rt = "viewportLeave", nt = "scroll", at = "validate", it = "setCustomValidity", st = "syncValidationData", lt = "updateValidityIndication", dt = "message", ut = "uploadComplete", ct = "itemReady", pt = "itemRemoved", mt = "tagClick", ft = "quickActionBarItemClicked", yt = "markerClicked", ht = "mapClicked", vt = "iconMouseIn", gt = "onStateChange", bt = "itemMouseIn", Nt = "itemMouseOut", wt = "itemMouseClick", $t = "itemMouseDblClick", xt = "onColorChange", It = "onFontChange", kt = "onOpacityChange", Ct = { [ke]: "onClick", [Ce]: "onDblClick", [Se]: "onMouseIn", [Oe]: "onMouseOut", [Ve]: "onChange", [je]: "onInput", [Te]: "onBlur", [Pe]: "onFocus", [Ee]: "onCurrentItemChanged", [De]: void 0, [Le]: "onItemClicked", [Re]: "onCellSelect", [Ae]: void 0, [Fe]: "onRowSelect", [Me]: void 0, [Be]: "onDataChange", [qe]: "onTimeout", [We]: "onVerified", [Ge]: "onError", [He]: "onPlay", [Ue]: "onPause", [Xe]: "onProgress", [Ye]: "onEnded", [ze]: "onPause", [Ke]: "onPlay", [Je]: void 0, [_e]: void 0, [Ze]: "onKeyPress", [Qe]: "onKeyUp", [et]: "onKeyDown", [tt]: void 0, [ot]: "onViewportEnter", [rt]: "onViewportLeave", [nt]: void 0, [at]: void 0, [it]: void 0, [st]: void 0, [lt]: void 0, [dt]: "onMessage", [ut]: void 0, [ct]: "onItemReady", [pt]: "onItemRemoved", [mt]: void 0, [ft]: "onItemClicked", [yt]: "onMarkerClicked", [ht]: "onMapClicked", [vt]: void 0, [gt]: "onStateChange", [bt]: "onItemMouseIn", [Nt]: "onItemMouseOut", [wt]: "onItemClick", [$t]: "onItemDblClick", [xt]: "onColorChange", [It]: "onFontChange", [kt]: "onOpacityChange" }, St = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Ot = (e2) => {
          const { target: t2, type: o2, context: r2 } = e2;
          return { target: t2, type: St[o2] ?? o2, context: r2 };
        }, Vt = (e2) => {
          const { clientX: t2, clientY: o2, pageX: r2, pageY: n2, screenX: a2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: d2 } = s2;
          return { clientX: t2, clientY: o2, pageX: r2, pageY: n2, screenX: a2, screenY: i2, offsetX: l2, offsetY: d2 };
        }, Tt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Pt = (e2) => e2.replace(/^on/i, ""), Et = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Dt = (e2, t2, o2, r2) => {
          const { create$w: n2, createEvent: a2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, o3) => xe(o3)(e3, { type: ["function"] }, t3))(o2, Tt[e2] ?? e2, l2.role)) return s2();
          const [d2, u2] = Et(t2), c2 = i2(e2, (e3, t3) => {
            const i3 = a2({ type: e3.type, compId: e3.compId }), s3 = n2({ context: i3.context }), l3 = r2?.({ componentEvent: e3, eventPayload: t3 });
            o2({ ...Ot(i3), ...l3 }, s3);
          }), p2 = { eventName: e2, compId: l2.compId, cb: o2, unregister: c2 };
          return u2({ listeners: [...d2.listeners, p2] }), s2();
        }, jt = (e2, t2) => {
          const o2 = ((e3) => {
            const t3 = Object.entries(Tt).find(([t4, o3]) => Pt(o3.toLowerCase()) === Pt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(Ct[t2] ?? t2);
          return e2.toLowerCase() === o2.toLowerCase();
        }, Lt = (e2, t2, o2, r2) => Dt(e2, t2, o2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...Vt(e3), ...t3 && r2?.(t3) }));
        function Rt(e2, t2) {
          const { modifyAriaSourceKeys: o2 } = {};
          return (t3) => {
            const r2 = {};
            for (let a2 = 0; a2 < e2.length; a2++) {
              const i2 = e2[a2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], a3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(r2, o2 && a3.get ? "aria" + (n2 = t4).charAt(0).toUpperCase() + n2.slice(1) : t4, a3);
              }
            }
            var n2;
            return r2;
          };
        }
        const At = ({ handlers: e2, metaData: t2 }) => {
          const { compId: o2, connection: r2, compType: n2, isGlobal: a2, getParent: i2, role: s2, wixCodeId: l2 } = t2, d2 = `$w.${n2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return r2?.config;
          }, get uniqueId() {
            return o2;
          }, get parent() {
            return i2();
          }, get global() {
            return a2();
          }, get type() {
            return d2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(o2, t3));
          }, toJSON() {
            return { id: s2, type: d2, global: a2() };
          } };
        }, Ft = (e2) => (t2) => {
          const { metaData: o2, getSdkInstance: r2, create$w: n2, createEvent: a2 } = t2, i2 = (e3, t3) => xe(o2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (o3) => i2(o3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = a2({ type: "viewportEnter" }), t3 = n2();
            o3(e3, t3);
          }), Dt("onViewportEnter", t2, o3)) : r2(), onViewportLeave: (o3) => i2(o3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = a2({ type: "viewportLeave" }), t3 = n2();
            o3(e3, t3);
          }), Dt("onViewportLeave", t2, o3)) : r2() };
        }, Mt = { duration: 1200, delay: 0 }, Bt = { arc: { ...Mt, direction: "left" }, bounce: { ...Mt, direction: "topLeft", intensity: "medium" }, puff: { ...Mt }, zoom: { ...Mt }, fade: { ...Mt }, flip: { ...Mt, direction: "right" }, float: { ...Mt, direction: "right" }, fly: { ...Mt, direction: "right" }, fold: { ...Mt, direction: "left" }, glide: { ...Mt, angle: 0, distance: 0 }, roll: { ...Mt, direction: "left" }, slide: { ...Mt, direction: "left" }, spin: { ...Mt, direction: "cw", cycles: 5 }, turn: { ...Mt, direction: "right" }, ArcIn: { ...Mt, direction: "right" }, ArcOut: { ...Mt, direction: "right" }, BounceIn: { ...Mt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Mt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Mt, direction: "right" }, CollapseOut: { ...Mt }, Conceal: { ...Mt, direction: "right" }, Reveal: { ...Mt, direction: "left" }, FadeIn: { ...Mt }, FadeOut: { ...Mt }, FlipIn: { ...Mt, direction: "left" }, FlipOut: { ...Mt, direction: "left" }, FloatIn: { ...Mt, direction: "right" }, FloatOut: { ...Mt, direction: "right" }, FlyIn: { ...Mt, direction: "right" }, FlyOut: { ...Mt, direction: "right" }, FoldIn: { ...Mt, direction: "left" }, FoldOut: { ...Mt, direction: "left" }, GlideIn: { ...Mt, angle: 0, distance: 150 }, GlideOut: { ...Mt, angle: 0, distance: 150 }, DropIn: { ...Mt }, PopOut: { ...Mt }, SlideIn: { ...Mt, direction: "left" }, SlideOut: { ...Mt, direction: "left" }, SpinIn: { ...Mt, direction: "cw", cycles: 2 }, SpinOut: { ...Mt, direction: "cw", cycles: 2 }, TurnIn: { ...Mt, direction: "right" }, TurnOut: { ...Mt, direction: "right" } }, qt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Wt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Gt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Ht = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Ut = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Xt = { arc: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Gt, delay: Ht } }, zoom: { type: ["object"], properties: { duration: Gt, delay: Ht } }, fade: { type: ["object"], properties: { duration: Gt, delay: Ht } }, flip: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: Ut } }, float: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: Ut } }, fly: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: Ut } }, fold: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: Ut } }, glide: { type: ["object"], properties: { duration: Gt, delay: Ht, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: Ut } }, slide: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: Ut } }, spin: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Gt, delay: Ht, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Yt = ({ propertyName: e2, compName: t2 }) => (o2, r2) => {
          if (!o2) return false;
          if (void 0 === r2) return true;
          const n2 = (({ effectName: e3, propertyName: t3, compName: o3 }) => (r3, n3) => {
            g(I({ propertyName: t3, compName: o3, effectName: e3, wrongValue: `${n3?.value}`, infoLink: Wt(t3) }));
          })({ effectName: o2, propertyName: e2, compName: t2 });
          if (!$e({ reportError: n2, reportWarning: () => ({}) }, t2)(r2, { type: ["object"] }, e2)) return false;
          const a2 = (({ effectName: e3, propertyName: t3, compName: o3 }) => (r3, n3) => {
            g($({ propertyName: t3, compName: o3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${n3?.propertyName}" cannot be set to the value "${n3?.value}"`, infoLink: Wt(t3) }));
          })({ effectName: o2, propertyName: e2, compName: t2 });
          return !!$e({ reportError: a2, reportWarning: () => ({}) }, t2)(r2, Xt[o2], e2);
        }, zt = (e2) => 0 === Object.keys(e2).length, Kt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: o2, portal: r2, metaData: n2, getSdkInstance: a2, runAnimation: i2, createSdkState: s2, styleUtils: l2, setProps: d2 }) => {
          const u2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: o3, propertyName: r3 }) => {
            const n3 = Yt({ propertyName: r3, compName: e3 });
            if (!t3 && !o3) return false;
            if (!t3 && o3 && !zt(o3)) return g(w({ propertyName: r3, compName: e3, infoLink: Wt(r3) })), false;
            const a3 = "hide" === r3 ? "HIDE" : "SHOW", i3 = qt[a3]?.deprecatedValues;
            return t3 && o3 && i3 && i3.find((e4) => e4 === t3) && !zt(o3) ? (g(x({ compName: e3, effectName: t3, propertyName: r3, infoLink: Wt(r3) })), false) : !!i3.find((e4) => e4 === t3) || (t3 && !(t3 in Xt) ? (g(N({ propertyName: r3, compName: e3, effectName: t3, infoLink: Wt(r3) })), false) : !!n3(t3, o3));
          })({ compName: n2.role }), [c2, p2] = s2({ hidden: n2.hiddenOnLoad, collapsed: n2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (n3, a3) => {
            if (d2({ hidden: true }), c2.collapsed || c2.hidden) p2({ hidden: true });
            else {
              if (u2({ effectName: n3, effectOptions: a3, propertyName: "hide" })) {
                const e3 = { animationDirection: qt.HIDE.suffix, effectName: n3, effectOptions: { ...Bt?.[n3] || Mt, ...a3 } };
                await Promise.all([i2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else o2(l2.getHiddenStyles()), t2 && r2.setStyles(l2.getHiddenStyles());
              p2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (n3, a3) => {
            if (d2({ hidden: false }), !c2.collapsed && c2.hidden) {
              if (u2({ effectName: n3, effectOptions: a3, propertyName: "show" })) {
                const e3 = { animationDirection: qt.SHOW.suffix, effectName: n3, effectOptions: { ...Bt?.[n3] || Mt, ...a3 } };
                await Promise.all([i2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else o2(l2.getShownStyles()), t2 && r2.setStyles(l2.getShownStyles());
              p2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else p2({ hidden: false });
          }, collapse: async () => {
            d2({ collapsed: true }), c2.collapsed || (o2(l2.getCollapsedStyles()), t2 && r2.setStyles(l2.getCollapsedStyles()), p2({ collapsed: true }), c2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (d2({ collapsed: false }), c2.collapsed) {
              const n3 = { ...l2.getExpandedStyles(), visibility: c2.hidden ? "hidden" : null };
              o2(n3), t2 && r2.setStyles(n3), p2({ collapsed: false }), c2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return c2.collapsed;
          }, get hidden() {
            return Boolean(c2.hidden);
          }, get isVisible() {
            if (!n2.isRendered()) return false;
            let e3 = a2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Jt = (e2) => (t2) => ((e3, t3 = false) => {
          const [o2, r2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Rt([Kt({ viewportState: o2, hasPortal: t3 }), Ft((e4, t4) => {
            r2({ [e4]: [...o2[e4], t4] });
          })])(e3);
        })(t2, e2), _t = (e2, t2, o2) => {
          const r2 = t2.filter((t3) => !e2.includes(t3));
          r2.length && v(te({ functionName: o2, wrongEffects: r2, allowedEffects: e2 }));
        }, Zt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (o2) => {
            _t(t2(), o2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...o2);
          }, removeEffects: (o2) => {
            _t(t2(), o2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...o2);
          }, toggleEffects: (o2) => {
            _t(t2(), o2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...o2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Qt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), eo = (e2, t2) => "string" != typeof e2 ? (to(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (ro(e2, t2), false), to = (e2, t2, o2, r2) => {
          v(Z({ propertyName: e2, functionName: t2, value: o2, expectedType: r2 }));
        }, oo = (e2, t2) => {
          v(V({ propertyName: e2, functionName: t2 }));
        }, ro = (e2, t2) => {
          v(ae({ propertyName: e2, functionName: t2 }));
        }, no = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const r2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!eo(t3, "customClassList.add")) return;
                r2.add(t3);
              }
              t2({ customClassNames: Array.from(r2) });
            } else oo("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void oo("className", "customClassList.remove");
            const r2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!eo(t3, "customClassList.remove")) return;
              r2.delete(t3);
            }
            t2({ customClassNames: Array.from(r2) });
          }, contains(e3) {
            if (e3) return eo(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            oo("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!eo(t3, "customClassList.replace") || !eo(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (v(T({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!eo(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (oo("className", "customClassList.toggle"), false);
          } } };
        }, ao = ({ role: e2, compType: t2, isGlobal: o2, isRendered: r2 }) => ({ id: e2, type: `$w.${t2}`, global: o2(), rendered: r2() }), io = (e2) => ({ onMouseIn: (t2) => Lt("onMouseEnter", e2, t2), onMouseOut: (t2) => Lt("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: r2 } = e2;
          return "string" != typeof t2 ? (v(Z({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), r2()) : "function" != typeof o2 ? (v(Z({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), r2()) : ((e3, t3, o3) => {
            const { metaData: r3, getSdkInstance: n2 } = t3, [a2, i2] = Et(t3), s2 = a2.listeners.filter((t4) => jt(t4.eventName, e3) && t4.cb === o3 && t4.compId === r3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: a2.listeners.filter((e4) => !s2.includes(e4)) }), n2();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return ao(e2.metaData);
        } }), so = Ft(), lo = (Rt([At, so, io, Zt, no]), { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" });
        function uo(e2) {
          return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e2);
        }
        function co(e2) {
          return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e2);
        }
        function po(e2) {
          return lo[e2];
        }
        function mo(e2) {
          return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e2) || uo(e2);
        }
        function fo(e2) {
          return co(e2) || /^#(([a-f0-9]){3}){1,2}$/i.test(e2);
        }
        const yo = (e2) => parseInt(e2.repeat(2 / e2.length), 16), ho = (e2) => {
          if (!fo(e2)) return;
          const t2 = ((e3) => {
            const t3 = Math.floor((e3.length - 1) / 3);
            return e3.slice(1).match(new RegExp(`.{${t3}}`, "g"));
          })(e2), [o2, r2, n2, a2] = t2.map(yo);
          return [o2, r2, n2, void 0 !== a2 ? bo(a2 / 255) : 1];
        }, vo = (e2) => fo(e2) ? ho(e2) : mo(e2) ? ((e3) => {
          if (!mo(e3)) return;
          const t2 = e3.substring(e3.indexOf("(")).split(","), o2 = parseInt(t2[0].substring(1).trim(), 10), r2 = parseInt(t2[1].trim(), 10), n2 = parseInt(t2[2].trim(), 10), a2 = t2[3] && parseFloat(t2[3].substring(0, t2[3].length - 1).trim());
          return [o2, r2, n2, void 0 !== a2 ? a2 : 1];
        })(e2) : po(e2) ? ho(lo[e2]) : void 0, go = (e2) => {
          const t2 = vo(e2);
          if (t2) return t2[3];
        }, bo = (e2) => Math.round(100 * e2) / 100;
        const No = ({ propertyName: e2, cssProperty: t2, supportAlpha: o2 }) => (r2, n2) => function(e3) {
          return fo(e3) || mo(e3) || po(e3);
        }(r2) ? (o2 || $o({ propertyName: e2, color: r2, api: n2 }), true) : (v(ne({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: n2.metaData.role, exampleFormats: o2 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), wo = ({ propertyName: e2, cssProperty: t2 }) => (o2, n2) => !!function(e3) {
          if (r(e3)) {
            const t3 = e3.endsWith("px"), o3 = e3.slice(0, e3.length - 2), r2 = /^\d*$/.test(o3);
            return t3 && r2 && parseInt(o3, 10);
          }
          return false;
        }(o2) || (v(re({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: n2.metaData.role, exampleFormat: "1px" })), false), $o = ({ propertyName: e2, color: t2, api: o2 }) => {
          (co(t2) || uo(t2)) && g(O({ propertyName: e2, compName: o2.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}` }));
        }, xo = ({ name: e2, prefix: t2 }) => t2 ? `--${t2}-corvid-${e2}` : `--corvid-${e2}`, Io = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, ko = ["hover", "disabled"], Co = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
        function So(e2) {
          return e2.charAt(0).toUpperCase() + e2.slice(1);
        }
        const Oo = (e2) => (t2 = { supportOpacity: true }) => {
          const { prefix: o2, supportOpacity: r2, withoutDefaultValue: n2, supportedStates: a2 = [] } = t2, i2 = (t3, o3 = e2) => {
            const a3 = No({ propertyName: e2, cssProperty: r2 ? "rgbaColor" : "rgbColor", supportAlpha: r2 });
            return Ie(({ setStyles: a4, sdkData: i3, createSdkState: s3 }) => {
              const l3 = i3?.initialSdkStyles?.[o3], d2 = go(l3), u2 = n2 ? void 0 : l3, [c2, p2] = s3({ [o3]: u2 }, o3);
              return Object.defineProperty({ reset() {
                p2({ [o3]: u2 }), a4({ [t3]: void 0 });
              } }, e2, { enumerable: true, set(e3) {
                let n3 = e3;
                if (!r2 && (co(e3) || uo(e3))) {
                  const [t4, o4, r3] = vo(e3);
                  n3 = `rgb(${t4}, ${o4}, ${r3})`;
                }
                if ("number" == typeof d2 && 1 !== d2) {
                  const t4 = go(e3);
                  n3 = ((e4, t5) => {
                    const o4 = vo(e4);
                    if (o4) {
                      const [e5, r3, n4] = o4;
                      return `rgba(${e5}, ${r3}, ${n4}, ${t5})`;
                    }
                  })(n3, Number.isFinite(t4) ? bo(d2 * t4) : d2);
                }
                p2({ [o3]: n3 }), a4({ [t3]: n3 });
              }, get() {
                return c2[o3];
              } });
            }, { properties: { [e2]: { type: ["string", "nil"] } } }, { [e2]: [a3] });
          }, s2 = a2.map((t3) => Ie((r3) => {
            const n3 = i2(xo({ name: Co[t3][e2], prefix: o2 }), t3 + So(e2))(r3);
            return { [t3]: n3 };
          }, { properties: { [t3]: { type: ["object", "nil"] } } })), l2 = i2(xo({ name: Io[e2], prefix: o2 }));
          return (e3) => Object.assign(l2(e3), s2.reduce((t3, o3) => Object.assign(t3, o3(e3)), {}));
        }, Vo = Oo("backgroundColor"), To = Oo("borderColor"), Po = "textColor", Eo = "color", Do = Oo("fillColor"), jo = Oo("strokeColor"), Lo = Oo("iconColor"), Ro = "reset";
        function Ao(...e2) {
          const t2 = (o2 = Ro, (...e3) => {
            const t3 = {}, r2 = { [o2](e4) {
              if ("function" == typeof t3[e4]) return t3[e4](e4);
            } };
            return e3.forEach((e4) => {
              Object.keys(e4).filter((e5) => e5 !== o2).map((t4) => ({ key: t4, descriptor: Object.getOwnPropertyDescriptor(e4, t4) })).forEach(({ key: n2, descriptor: a2 }) => {
                "function" == typeof e4[o2] && (t3[n2] = e4[o2]), Object.defineProperty(r2, n2, a2);
              });
            }), r2;
          });
          var o2;
          return (o3) => {
            const r2 = e2.map((e3) => e3(o3)), n2 = {};
            for (const e3 of ko) r2.some((t3) => e3 in t3) && (n2[e3] = t2(...r2.map((t3) => t3[e3] ?? {})), Object.defineProperty(n2[e3], Ro, { enumerable: false }), r2.forEach((t3) => {
              delete t3[e3];
            }));
            const a2 = t2(...r2);
            return Object.defineProperty(a2, Ro, { enumerable: false }), Object.assign(a2, n2);
          };
        }
        const Fo = { BackgroundColor: Vo, BorderColor: To, BorderWidth: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = xo({ name: Io.borderWidth, prefix: t2 });
          return Ie(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const a2 = t3?.initialSdkStyles?.borderWidth, [i2, s2] = n2({ borderWidth: o2 ? void 0 : a2 }, "borderWidth");
            return { set borderWidth(t4) {
              s2({ borderWidth: t4 }), e3({ [r2]: t4 });
            }, get borderWidth() {
              return i2.borderWidth;
            }, reset() {
              s2({ borderWidth: a2 }), e3({ [r2]: void 0 });
            } };
          }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [wo({ propertyName: "borderWidth", cssProperty: "width" })] });
        }, ForegroundColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = xo({ name: Io.foregroundColor, prefix: t2 });
          return Ie(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const [a2, i2] = n2({ foregroundColor: o2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }, "foregroundColor");
            return { set foregroundColor(t4) {
              i2({ foregroundColor: t4 }), e3({ [r2]: t4 });
            }, get foregroundColor() {
              return a2.foregroundColor;
            }, reset() {
              i2({ foregroundColor: o2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }), e3({ [r2]: void 0 });
            } };
          }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [No({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
        }, BorderRadius: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = xo({ name: Io.borderRadius, prefix: t2 });
          return Ie(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const a2 = t3?.initialSdkStyles?.borderRadius, [i2, s2] = n2({ borderRadius: o2 ? void 0 : a2 }, "borderRadius");
            return { set borderRadius(t4) {
              s2({ borderRadius: t4 }), e3({ [r2]: t4 });
            }, get borderRadius() {
              return i2.borderRadius;
            }, reset() {
              s2({ borderRadius: a2 }), e3({ [r2]: void 0 });
            } };
          }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [wo({ propertyName: "borderRadius", cssProperty: "radius" })] });
        }, TextColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2, supportedStates: r2 = [] } = e2, n2 = (e3, t3 = Po, r3 = Eo) => Ie(({ setStyles: n3, sdkData: a3, createSdkState: i3 }) => {
            const s2 = a3?.initialSdkStyles?.[r3], l2 = o2 ? void 0 : s2, [d2, u2] = i3({ [t3]: l2 }, t3);
            return { set color(o3) {
              let r4 = o3;
              if (co(o3) || uo(o3)) {
                const [e4, t4, n4] = vo(o3);
                r4 = `rgb(${e4}, ${t4}, ${n4})`;
              }
              u2({ [t3]: r4 }), n3({ [e3]: r4 });
            }, get color() {
              return d2[t3];
            }, reset() {
              u2({ [t3]: l2 }), n3({ [e3]: void 0 });
            } };
          }, { properties: { color: { type: ["string", "nil"] } } }, { color: [No({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), a2 = r2.map((e3) => Ie((o3) => {
            const r3 = n2(xo({ name: Co[e3].textColor, prefix: t2 }), ((e4) => e4 + So(Po))(e3), ((e4) => e4 + So(Eo))(e3))(o3);
            return { [e3]: r3 };
          }, { properties: { [e3]: { type: ["object", "nil"] } } })), i2 = n2(xo({ name: Io.textColor, prefix: t2 }));
          return (e3) => Object.assign(i2(e3), a2.reduce((t3, o3) => Object.assign(t3, o3(e3)), {}));
        }, FillColor: Do, StrokeColor: jo, IconColor: Lo }, Mo = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} }, Bo = Ie(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.label || "";
        }, set label(t3) {
          e2({ label: t3 || "" });
        } }), { properties: { label: { type: ["string", "nil"], warnIfNil: true } } });
        const qo = /* @__PURE__ */ ((e2, t2) => {
          const o2 = [];
          return { onValidate: (e3) => o2.push(e3), validate: ({ viewerSdkAPI: r2, showValidityIndication: n2 }) => {
            const { props: a2, metaData: { isRepeaterTemplate: i2 } } = r2;
            if (i2) return;
            const s2 = e2(a2, r2);
            let l2 = s2;
            const d2 = ((e3, t3, o3) => {
              let r3 = "";
              const n3 = (e4) => {
                r3 = e4;
              }, a3 = t3.value;
              return e3 && e3(a3, n3), r3;
            })((({ createSdkState: e3 }) => {
              const [{ customValidators: t3 }] = e3(f, y);
              return (e4, o3) => {
                let r3 = false;
                const n3 = (e5) => {
                  r3 = true, o3(e5);
                };
                for (let o4 = 0; o4 < t3.length && !r3; o4++) t3[o4](e4, n3);
              };
            })(r2), a2);
            d2 && (l2 = ((e3, t3) => p(e3, "customError", t3 || ""))(s2, d2)), o2.forEach((e3) => e3({ viewerSdkAPI: r2, showValidityIndication: n2, validationDataResult: l2 }));
          } };
        })((Wo = [(e2, t2) => !e2.required || e2.value ? t2 : m(t2, "valueMissing")], (e2, t2) => Wo.reduce((o2, r2) => r2(e2, o2, t2), u)));
        var Wo;
        const Go = Ie((e2) => {
          const { setProps: t2, props: o2, metaData: r2 } = e2, n2 = { get options() {
            return o2.options ? o2.options.map((e3) => {
              let { label: t3, value: o3, isDisabled: r3 } = e3;
              return { label: t3, value: o3, isDisabled: r3 };
            }) : o2.options;
          }, set options(o3) {
            const r3 = (o3 || []).filter((e3, t3) => {
              const { value: o4, label: r4 } = e3, n3 = a(o4) && !r4 || a(r4) && !o4;
              return n3 && g((({ propertyName: e4, wrongValue: t4, index: o5 }) => S({ propertyName: e4, wrongValue: t4, index: o5 }))({ propertyName: "RadioButton", index: t3, wrongValue: e3 })), !n3;
            }).map((e3) => {
              let { label: t3, value: o4, isDisabled: r4 } = e3;
              return { label: t3, value: o4, isDisabled: r4 };
            });
            t2({ options: r3 }), qo.validate({ viewerSdkAPI: e2, showValidityIndication: false });
          }, get value() {
            return e3 = o2.value, o2.options.find((t3) => {
              let { value: o3 } = t3;
              return o3 === e3;
            }) ? o2.value : "";
            var e3;
          }, set value(r3) {
            const n3 = Xo(r3), a2 = o2.options.find((e3) => {
              let { value: t3 } = e3;
              return t3 === n3;
            }) ? n3 : "";
            t2({ value: a2 }), qo.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get selectedIndex() {
            const e3 = (o2.options || []).findIndex((e4) => {
              let { value: t3 } = e4;
              return t3 === o2.value;
            });
            return e3 < 0 ? void 0 : e3;
          }, set selectedIndex(r3) {
            a(r3) ? t2({ value: "" }) : t2({ value: o2.options[r3].value }), qo.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get disabledItemsByIndices() {
            return o2.options.reduce((e3, t3, o3) => (t3.isDisabled && e3.push(o3), e3), []);
          }, set disabledItemsByIndices(e3) {
            if (a(e3)) {
              const e4 = o2.options.map((e5) => {
                let { label: t3, value: o3 } = e5;
                return { label: t3, value: o3, isDisabled: false };
              });
              t2({ options: e4 });
            } else {
              const r3 = o2.options.map((t3, o3) => {
                let { label: r4, value: n3 } = t3;
                return { label: r4, value: n3, isDisabled: e3.findIndex((e4) => e4 === o3) >= 0 };
              });
              t2({ options: r3 });
            }
          }, get type() {
            return "$w.RadioButtonGroup";
          }, disable: () => {
            const e3 = o2.options.map((e4) => ({ ...e4, isDisabled: true })), r3 = o2.options.map((e4, t3) => t3);
            return t2({ isDisabled: true, options: e3, disabledItemsByIndices: r3 }), Promise.resolve();
          }, enable: () => {
            const e3 = o2.options.map((e4) => ({ ...e4, isDisabled: false }));
            return t2({ isDisabled: false, options: e3, disabledItemsByIndices: [] }), Promise.resolve();
          }, toJSON() {
            const { required: e3 } = o2, { value: t3, options: a2, selectedIndex: i2, disabledItemsByIndices: s2 } = n2;
            return { ...ao(r2), type: "$w.RadioButtonGroup", required: e3, value: t3, options: a2, selectedIndex: i2, disabledItemsByIndices: s2 };
          } };
          return n2;
        }, { properties: { options: { type: ["array", "nil"], name: "RadioButton", items: { type: ["object"], properties: { value: { type: ["string", "nil"], maxLength: 400, minLength: 0 }, label: { type: ["string", "nil"], maxLength: 400, minLength: 0 } } } }, selectedIndex: { type: ["integer", "nil"] }, disabledItemsByIndices: { type: ["array", "nil"], items: { type: ["integer", "nil"] } } } }, { selectedIndex: [(e2, t2) => {
          let { props: o2, metaData: r2 } = t2;
          const n2 = xe(r2.role);
          return !!a(e2) || n2(e2, { type: ["integer"], minimum: 0, maximum: o2.options.length - 1 }, "selectedIndex");
        }], disabledItemsByIndices: [(e2, t2) => {
          let { props: o2, metaData: r2 } = t2;
          const n2 = xe(r2.role);
          if (a(e2)) return true;
          return e2.findIndex((e3) => !a(e3) && !n2(e3, { type: ["integer"], minimum: 0, maximum: o2.options.length - 1 }, "disabledItemsByIndices")) < 0;
        }] }), Ho = ((e2) => {
          e2.onValidate(({ viewerSdkAPI: e3, validationDataResult: t2, showValidityIndication: o2 }) => {
            const { setProps: r2, compRef: n2 } = e3, a2 = h(e3), i2 = c(a2), s2 = c(t2), l2 = a2.htmlValidationMessageOverride.key, d2 = t2.htmlValidationMessageOverride.key;
            t2.validity.customError ? i2 !== s2 && n2.setCustomValidity({ type: "message", message: s2 }) : d2 ? (a2.validity.customError || l2 !== d2) && n2.setCustomValidity({ type: "key", key: d2 }) : i2 === s2 && l2 === d2 || n2.setCustomValidity({ type: "message", message: "" });
            const u2 = { isValid: t2.validity.valid, ...o2 && { shouldShowValidityIndication: true } };
            (({ createSdkState: e4 }, t3) => {
              const [, o3] = e4(f, y);
              o3({ validationData: t3 });
            })(e3, t2), r2(u2);
          });
          return Ie((t2) => {
            const { setProps: o2, props: r2, registerEvent: n2, metaData: { isRepeaterTemplate: a2 } } = t2;
            return a2 || (n2("validateValue", () => {
              e2.validate({ viewerSdkAPI: t2 });
            }), n2("validateValueAndShowIndication", (o3) => {
              const n3 = { ...r2, ...o3 }, a3 = { ...t2, props: n3 };
              e2.validate({ viewerSdkAPI: a3, showValidityIndication: true });
            }), n2("hideValidityIndication", () => {
              o2({ shouldShowValidityIndication: false });
            }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: false })), { get valid() {
              return h(t2).validity.valid;
            }, get validationMessage() {
              return h(t2).validationMessage;
            }, get validity() {
              return h(t2).validity;
            }, onCustomValidation(o3, r3 = true) {
              (({ createSdkState: e3 }, t3, o4 = true) => {
                const [{ customValidators: r4 }, n3] = e3(f, y);
                n3(o4 ? { customValidators: [t3] } : { customValidators: [...r4, t3] });
              })(t2, o3, r3), e2.validate({ viewerSdkAPI: t2 });
            }, updateValidityIndication() {
              o2({ shouldShowValidityIndication: true });
            }, resetValidityIndication() {
              o2({ shouldShowValidityIndication: false });
            } };
          }, { properties: { onCustomValidation: { type: ["function"], args: [{ type: ["function"] }, { type: ["boolean"] }] } } });
        })(qo), Uo = Ie(/* @__PURE__ */ ((e2) => (t2) => ({ get required() {
          return t2.props.required || false;
        }, set required(o2) {
          t2.setProps({ required: o2 }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: o2 });
        } }))(qo), { properties: { required: { type: ["boolean"] } } });
        const Xo = (Yo = [(e2) => o(e2) && isFinite(e2) ? e2.toString() : e2, (e2) => r(e2) ? e2 : ""], (e2) => Yo.reduce((e3, t2) => t2(e3), e2));
        var Yo;
        const zo = (Jo = { BackgroundColor: true, BorderColor: true, BorderWidth: true, BorderRadius: true, TextColor: true }, Ie((Ko = Ao(...Object.keys(Jo).filter((e2) => Jo[e2]).map((e2) => {
          const t2 = "boolean" != typeof Jo[e2] ? Jo[e2] : Mo[e2];
          return Fo[e2]({ prefix: _o?.cssVarPrefix, withoutDefaultValue: t2.withoutDefaultValue, supportOpacity: t2.supportOpacity, supportedStates: t2.supportedStates });
        })), (e2) => {
          const t2 = Ko(e2);
          return t2.removeProperty = (e3) => {
            const [o2, r2] = e3.includes(".") ? e3.split(".").reverse() : [e3, void 0];
            if (!r2 && !(o2 in t2) || r2 && !(o2 in (t2[r2] ?? {}))) {
              const o3 = Object.keys(t2).filter((e4) => "removeProperty" !== e4);
              return void v(pe({ functionName: "removeProperty", propertyName: "propertyName", value: e3, enum: o3, index: void 0 }));
            }
            const n2 = r2 ? t2[r2] : t2;
            n2[Ro]?.(o2);
          }, { get style() {
            return t2;
          } };
        }), { properties: { style: { type: ["object"] } } }));
        var Ko, Jo, _o;
        const Zo = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Rt([At, io, Zt, Qt, e2 ? Jt(t2) : so, no]))(), Qo = Rt([Zo, ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => Dt("onFocus", e2, t2), onBlur: (t2) => Dt("onBlur", e2, t2) }), (e2) => ({ onClick: (t2) => Lt("onClick", e2, t2), onDblClick: (t2) => Lt("onDblClick", e2, t2) }), Uo, Ho, (e2) => ({ onChange: (t2) => Dt("onChange", e2, t2) }), zo, Bo, Go]);
        var er = { factory: Qo };
        return t;
      }();
    });
  })(RadioGroup_bundle_min);
  var RadioGroup_bundle_minExports = RadioGroup_bundle_min.exports;
  const RadioGroup = /* @__PURE__ */ getDefaultExportFromCjs(RadioGroup_bundle_minExports);
  var RangeSlider_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, r2) {
          for (var n2 in r2) e.o(r2, n2) && !e.o(t2, n2) && Object.defineProperty(t2, n2, { enumerable: true, get: r2[n2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { SliderTypes: function() {
          return qr;
        }, StepValueTypes: function() {
          return Hr;
        }, default: function() {
          return Kr;
        }, leanSdk: function() {
          return Yr;
        }, sdk: function() {
          return Xr;
        } });
        const r = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, n = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, a = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, i = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${n2}"')`, o = ({ propertyName: e2, compName: t2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, s = ({ propertyName: e2, compName: t2, effectName: r2, wrongProperty: n2, wrongValue: a2, infoLink: i2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${n2}: ${a2}. Read more about the effectOptions object: "${i2}"')`, p = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: n2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${n2}"`, u = ({ propertyName: e2, compName: t2, effectName: r2, wrongValue: n2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${n2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, l = ({ propertyName: e2, functionName: t2, compName: r2 }) => `The ${e2} parameter of "${r2}" that is passed to the ${t2} method cannot be set to null.`, m = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to null or undefined.`, c = ({ propertyName: e2, wrongValue: t2, index: r2 }) => `The ${e2} parameter at index ${r2} that is passed to the options function cannot be set to ${JSON.stringify(t2)}. Options must contain either a non-null value or a non-null label.`, d = ({ propertyName: e2, wrongValue: t2, minValue: r2 }) => `The value of ${e2} property should not be set to the value ${t2}. It should be at least ${r2}.`, f = ({ propertyName: e2, wrongValue: t2, maxValue: r2 }) => `The value of ${e2} property should not be set to the value ${t2}. It should be at most ${r2}.`, y = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, b = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, h = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is required for ${t2} method.`, g = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, v = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, N = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is not allowed for ${t2} method.`, x = ({ propertyNames: e2, functionName: t2, index: r2 }) => `The following parameters: ${[...e2]} of item at index ${r2} are unknown for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${a2}.`, A = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${a2}.`, w = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${n2}.`, I = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${n2}.`, T = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, S = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, C = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, V = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, O = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${n2} and ${a2}.`, E = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${n2} and ${a2}.`, j = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${n2}.`, L = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${n2}.`, P = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, k = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, R = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${n2}.`, D = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${n2}.`, B = ({ propertyName: e2, functionName: t2, value: r2, expectedType: n2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${n2}.`, M = ({ propertyName: e2, functionName: t2, value: r2, expectedType: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${n2}.`, F = ({ propertyName: e2, functionName: t2, value: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format`, _ = ({ functionName: e2, wrongEffects: t2, allowedEffects: r2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, q = ({ propertyName: e2, functionName: t2, value: r2, index: n2 }) => `The "${e2}" property of the item at index ${n2} that is passed to the ${t2} method cannot be set to "${r2}". Bad format`, H = ({ propertyName: e2, functionName: t2, wrongValue: r2, hint: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format, must be ${n2} format.`, G = ({ propertyName: e2, hint: t2 }) => `The ${e2} parameter cannot be set when ${t2}`, W = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`;
        function Y(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function X(e2) {
          return "string" == typeof e2;
        }
        function K(e2) {
          return Array.isArray(e2);
        }
        function J(e2) {
          return null == e2;
        }
        function U(e2, t2) {
          return t2.includes(e2);
        }
        function z(e2, t2) {
          return e2 > t2;
        }
        function Z(e2, t2) {
          return e2 < t2;
        }
        const Q = ({ compName: e2, functionName: t2, propertyName: r2, index: n2 }) => Y(n2) ? m({ propertyName: r2, functionName: t2, index: n2 }) : e2 ? l({ compName: e2, functionName: t2, propertyName: r2 }) : a({ functionName: t2, propertyName: r2 }), ee = ({ functionName: e2, propertyName: t2, index: r2 }) => Y(r2) ? h({ functionName: e2, propertyName: t2, index: r2 }) : y({ functionName: e2, propertyName: t2 }), te = ({ functionName: e2, propertyNames: t2, index: r2 }) => t2 && t2.length > 1 ? Y(r2) ? x({ functionName: e2, propertyNames: t2, index: r2 }) : v({ functionName: e2, propertyNames: t2 }) : Y(r2) ? N({ functionName: e2, propertyName: t2[0], index: r2 }) : g({ functionName: e2, propertyName: t2[0] }), re = ({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2, index: i2 }) => a2 && n2 ? a2 === n2 ? Y(i2) ? I({ functionName: e2, propertyName: t2, value: r2, expectedValue: a2, index: i2 }) : w({ functionName: e2, propertyName: t2, value: r2, expectedValue: a2 }) : Y(i2) ? A({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2, index: i2 }) : $({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2 }) : !a2 && n2 ? Y(i2) ? V({ functionName: e2, propertyName: t2, value: r2, maximum: n2, index: i2 }) : C({ functionName: e2, propertyName: t2, value: r2, maximum: n2 }) : Y(i2) ? S({ functionName: e2, propertyName: t2, value: r2, minimum: a2, index: i2 }) : T({ functionName: e2, propertyName: t2, value: r2, minimum: a2 }), ne = ({ functionName: e2, propertyName: t2, value: r2, minimum: n2, maximum: a2, index: i2 }) => n2 && a2 ? n2 === a2 ? Y(i2) ? L({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2, index: i2 }) : j({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2 }) : Y(i2) ? E({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2, index: i2 }) : O({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2 }) : !n2 && a2 ? Y(i2) ? D({ functionName: e2, propertyName: t2, maximum: a2, value: r2, index: i2 }) : R({ functionName: e2, propertyName: t2, maximum: a2, value: r2 }) : Y(i2) ? k({ functionName: e2, propertyName: t2, value: r2, minimum: n2, index: i2 }) : P({ functionName: e2, propertyName: t2, value: r2, minimum: n2 }), ae = ({ functionName: e2, propertyName: t2, types: r2, value: n2, index: a2 }) => {
          const i2 = r2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return Y(a2) ? M({ functionName: e2, index: a2, propertyName: t2, value: n2, expectedType: i2 }) : B({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, ie = ({ functionName: e2, propertyName: t2, value: r2, enum: n2, index: a2 }) => {
          const i2 = `from (${n2.join(",")})`;
          return Y(a2) ? M({ functionName: e2, propertyName: t2, value: r2, expectedType: i2, index: a2 }) : B({ functionName: e2, propertyName: t2, value: r2, expectedType: i2 });
        }, oe = ({ functionName: e2, propertyName: t2, value: r2, index: n2 }) => Y(n2) ? q({ functionName: e2, propertyName: t2, value: r2, index: n2 }) : F({ functionName: e2, propertyName: t2, value: r2 }), se = Object.prototype.hasOwnProperty, pe = Object.getOwnPropertyNames, ue = () => {
        };
        function le(e2, t2, r2, n2, a2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !K(e3);
          }(e2)) return fe.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => le(e2, t3, r2, ue, a2, i2)).filter((e3) => e3 === fe.Valid).length ? fe.Valid : fe.Invalid;
          if (t2.required) {
            for (let r3 = 0; r3 < t2.required.length; r3++) if (!se.call(e2, t2.required[r3])) return n2(ee({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[r3] }), { ...i2, value: e2 }), fe.Invalid;
          }
          const o2 = pe(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = pe(e2).filter((e3) => !o2.includes(e3));
            if (t3.length) {
              return n2(te({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), fe.Invalid;
            }
          }
          for (let n3 = 0; n3 < o2.length; n3++) {
            const a3 = o2[n3];
            if (se.call(e2, a3)) {
              const n4 = t2.properties[a3], o3 = e2[a3];
              if (!r2(o3, n4, { functionName: i2.functionName, index: i2.index, propertyName: a3 })) return fe.Invalid;
            }
          }
          return fe.Valid;
        }
        function me(e2) {
          return Array.isArray(e2);
        }
        function ce(e2, t2, r2, n2) {
          const { minimum: a2, maximum: i2, enum: o2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? o2 && !U(e2, o2) ? (r2(ie({ value: e2, enum: o2, ...n2 }), { ...n2, value: e2 }), fe.Invalid) : Y(a2) && Z(e2, a2) || Y(i2) && z(e2, i2) ? (r2(ne({ value: e2, minimum: a2, maximum: i2, ...n2 }), { ...n2, value: e2 }), fe.Invalid) : fe.Valid : fe.InvalidType;
        }
        function de(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? fe.Valid : fe.InvalidType;
        }
        const fe = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function ye({ reportError: e2, reportWarning: t2 }, r2, { suppressIndexErrors: n2 = false } = {}) {
          function a2(n3, a3, o2) {
            a3.warnIfNil && J(n3) && t2(Q({ ...o2, compName: r2 }), { ...o2, value: n3 });
            let s2 = 0;
            for (; s2 < a3.type.length; s2++) {
              const e3 = (0, i2[a3.type[s2]])(n3, a3, o2);
              if (e3 !== fe.InvalidType) return e3 === fe.Valid;
            }
            return s2 === a3.type.length && e2(ae({ value: n3, types: a3.type, ...o2 }), { ...o2, value: n3 }), false;
          }
          const i2 = { object: (r3, n3, i3) => le(r3, n3, a2, e2, t2, i3), array: (e3, t3, r3) => function(e4, t4, r4, n3, a3, i3 = false) {
            if (!K(e4)) return fe.InvalidType;
            let o2 = fe.Valid;
            if (t4.items) {
              const n4 = me(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let s2 = 0; s2 < n4; s2++) {
                const n5 = e4[s2];
                let p2, u2;
                me(t4.items) ? (p2 = t4.items[s2], u2 = t4.items[s2].name) : (p2 = t4.items, u2 = t4.name), r4(n5, p2, { functionName: a3.functionName, propertyName: u2 || a3.propertyName, index: i3 ? void 0 : s2 }) || (o2 = fe.Invalid);
              }
            }
            return o2;
          }(e3, t3, a2, 0, r3, n2), number: (t3, r3, n3) => function(e3, t4, r4, n4) {
            const { minimum: a3, maximum: i3, enum: o2 } = t4;
            return Y(e3) ? o2 && !U(e3, o2) ? (r4(ie({ value: e3, enum: o2, ...n4 }), { ...n4, value: e3 }), fe.Invalid) : Y(a3) && Z(e3, a3) || Y(i3) && z(e3, i3) ? (r4(ne({ value: e3, minimum: a3, maximum: i3, ...n4 }), { ...n4, value: e3 }), fe.Invalid) : fe.Valid : fe.InvalidType;
          }(t3, r3, e2, n3), integer: (t3, r3, n3) => ce(t3, r3, e2, n3), string: (t3, r3, n3) => function(e3, t4, r4, n4) {
            const { minLength: a3, maxLength: i3, enum: o2, pattern: s2 } = t4;
            return X(e3) ? o2 && !U(e3, o2) ? (r4(ie({ value: e3, enum: o2, ...n4 }), { ...n4, value: e3 }), fe.Invalid) : a3 && Z(e3.length, a3) || i3 && z(e3.length, i3) ? (r4(re({ value: e3, minimum: a3, maximum: i3, ...n4 }), { ...n4, value: e3 }), fe.Invalid) : s2 && !new RegExp(s2).test(e3) ? (r4(oe({ value: e3, ...n4 }), { ...n4, value: e3 }), fe.Invalid) : fe.Valid : fe.InvalidType;
          }(t3, r3, e2, n3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? fe.Valid : fe.InvalidType;
          }(e3), date: (e3) => de(e3), nil: (e3) => function(e4) {
            return J(e4) ? fe.Valid : fe.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? fe.Valid : fe.InvalidType;
          }(e3) };
          return function(e3, t3, r3) {
            return a2(e3, t3, { functionName: r3, propertyName: r3, index: void 0 });
          };
        }
        function be(e2, { suppressIndexErrors: t2 = false } = {}) {
          return ye({ reportError: r, reportWarning: n }, e2, { suppressIndexErrors: t2 });
        }
        function he(e2, t2, r2 = {}) {
          return (n2) => {
            const a2 = e2(n2), i2 = be(n2.metaData.role), o2 = be(n2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const p2 = Object.getOwnPropertyDescriptor(a2, s2), u2 = { enumerable: true, configurable: true };
              return p2.value ? "function" == typeof p2.value ? u2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, i3 = r2[s2];
                let u3 = true;
                return a3 && (u3 = o2(e4, { type: ["array"], items: a3 }, s2)), u3 && i3 && (u3 = i3.every((t3) => t3(e4, n2))), u3 ? p2.value(...e4) : void 0;
              } : u2.value = p2.value : (p2.get && (u2.get = () => a2[s2]), p2.set && (u2.set = (e4) => {
                const o3 = r2[s2];
                let p3 = true;
                t2.properties[s2] && (p3 = i2(e4, t2.properties[s2], s2)), p3 && o3 && (p3 = o3.every((t3) => t3(e4, n2))), p3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, u2), e3;
            }, {});
          };
        }
        const ge = "click", ve = "dblClick", Ne = "mouseenter", xe = "mouseleave", $e = "change", Ae = "blur", we = "focus", Ie = "imageChanged", Te = "imageExpanded", Se = "onInput", Ce = "itemClicked", Ve = "cellSelect", Oe = "cellEdit", Ee = "rowSelect", je = "fetchData", Le = "dataChange", Pe = "onTimeout", ke = "onVerified", Re = "onError", De = "onPlay", Be = "onPause", Me = "onProgress", Fe = "onEnded", _e = "autoplayOff", qe = "autoplayOn", He = "playEnded", Ge = "playProgress", We = "keyPress", Ye = "keyUp", Xe = "keyDown", Ke = "screenIn", Je = "viewportEnter", Ue = "viewportLeave", ze = "scroll", Ze = "validate", Qe = "setCustomValidity", et = "syncValidationData", tt = "updateValidityIndication", rt = "message", nt = "uploadComplete", at = "itemReady", it = "itemRemoved", ot = "tagClick", st = "quickActionBarItemClicked", pt = "markerClicked", ut = "mapClicked", lt = "iconMouseIn", mt = "onStateChange", ct = "itemMouseIn", dt = "itemMouseOut", ft = "itemMouseClick", yt = "itemMouseDblClick", bt = "onColorChange", ht = "onFontChange", gt = "onOpacityChange", vt = { [ge]: "onClick", [ve]: "onDblClick", [Ne]: "onMouseIn", [xe]: "onMouseOut", [$e]: "onChange", [Se]: "onInput", [Ae]: "onBlur", [we]: "onFocus", [Ie]: "onCurrentItemChanged", [Te]: void 0, [Ce]: "onItemClicked", [Ve]: "onCellSelect", [Oe]: void 0, [Ee]: "onRowSelect", [je]: void 0, [Le]: "onDataChange", [Pe]: "onTimeout", [ke]: "onVerified", [Re]: "onError", [De]: "onPlay", [Be]: "onPause", [Me]: "onProgress", [Fe]: "onEnded", [_e]: "onPause", [qe]: "onPlay", [He]: void 0, [Ge]: void 0, [We]: "onKeyPress", [Ye]: "onKeyUp", [Xe]: "onKeyDown", [Ke]: void 0, [Je]: "onViewportEnter", [Ue]: "onViewportLeave", [ze]: void 0, [Ze]: void 0, [Qe]: void 0, [et]: void 0, [tt]: void 0, [rt]: "onMessage", [nt]: void 0, [at]: "onItemReady", [it]: "onItemRemoved", [ot]: void 0, [st]: "onItemClicked", [pt]: "onMarkerClicked", [ut]: "onMapClicked", [lt]: void 0, [mt]: "onStateChange", [ct]: "onItemMouseIn", [dt]: "onItemMouseOut", [ft]: "onItemClick", [yt]: "onItemDblClick", [bt]: "onColorChange", [ht]: "onFontChange", [gt]: "onOpacityChange" }, Nt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, xt = (e2) => {
          const { target: t2, type: r2, context: n2 } = e2;
          return { target: t2, type: Nt[r2] ?? r2, context: n2 };
        }, $t = (e2) => {
          const { clientX: t2, clientY: r2, pageX: n2, pageY: a2, screenX: i2, screenY: o2, nativeEvent: s2 } = e2, { offsetX: p2, offsetY: u2 } = s2;
          return { clientX: t2, clientY: r2, pageX: n2, pageY: a2, screenX: i2, screenY: o2, offsetX: p2, offsetY: u2 };
        }, At = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, wt = (e2) => e2.replace(/^on/i, ""), It = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Tt = (e2, t2, r2, n2) => {
          const { create$w: a2, createEvent: i2, registerEvent: o2, getSdkInstance: s2, metaData: p2 } = t2;
          if (!((e3, t3, r3) => be(r3)(e3, { type: ["function"] }, t3))(r2, At[e2] ?? e2, p2.role)) return s2();
          const [u2, l2] = It(t2), m2 = o2(e2, (e3, t3) => {
            const o3 = i2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: o3.context }), p3 = n2?.({ componentEvent: e3, eventPayload: t3 });
            r2({ ...xt(o3), ...p3 }, s3);
          }), c2 = { eventName: e2, compId: p2.compId, cb: r2, unregister: m2 };
          return l2({ listeners: [...u2.listeners, c2] }), s2();
        }, St = (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = Object.entries(At).find(([t4, r3]) => wt(r3.toLowerCase()) === wt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(vt[t2] ?? t2);
          return e2.toLowerCase() === r2.toLowerCase();
        }, Ct = (e2, t2, r2, n2) => Tt(e2, t2, r2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...$t(e3), ...t3 && n2?.(t3) }));
        function Vt(e2, t2) {
          const { modifyAriaSourceKeys: r2 } = t2 ?? {};
          return (t3) => {
            const n2 = {};
            for (let i2 = 0; i2 < e2.length; i2++) {
              const o2 = e2[i2](t3), s2 = Object.keys(o2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], i3 = Object.getOwnPropertyDescriptor(o2, t4);
                Object.defineProperty(n2, r2 && i3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, i3);
              }
            }
            var a2;
            return n2;
          };
        }
        const Ot = ({ handlers: e2, metaData: t2 }) => {
          const { compId: r2, connection: n2, compType: a2, isGlobal: i2, getParent: o2, role: s2, wixCodeId: p2 } = t2, u2 = `$w.${a2}`;
          return { get id() {
            return p2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return n2?.config;
          }, get uniqueId() {
            return r2;
          }, get parent() {
            return o2();
          }, get global() {
            return i2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(r2, t3));
          }, toJSON() {
            return { id: s2, type: u2, global: i2() };
          } };
        }, Et = (e2) => (t2) => {
          const { metaData: r2, getSdkInstance: n2, create$w: a2, createEvent: i2 } = t2, o2 = (e3, t3) => be(r2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (r3) => o2(r3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = i2({ type: "viewportEnter" }), t3 = a2();
            r3(e3, t3);
          }), Tt("onViewportEnter", t2, r3)) : n2(), onViewportLeave: (r3) => o2(r3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = i2({ type: "viewportLeave" }), t3 = a2();
            r3(e3, t3);
          }), Tt("onViewportLeave", t2, r3)) : n2() };
        }, jt = { duration: 1200, delay: 0 }, Lt = { arc: { ...jt, direction: "left" }, bounce: { ...jt, direction: "topLeft", intensity: "medium" }, puff: { ...jt }, zoom: { ...jt }, fade: { ...jt }, flip: { ...jt, direction: "right" }, float: { ...jt, direction: "right" }, fly: { ...jt, direction: "right" }, fold: { ...jt, direction: "left" }, glide: { ...jt, angle: 0, distance: 0 }, roll: { ...jt, direction: "left" }, slide: { ...jt, direction: "left" }, spin: { ...jt, direction: "cw", cycles: 5 }, turn: { ...jt, direction: "right" }, ArcIn: { ...jt, direction: "right" }, ArcOut: { ...jt, direction: "right" }, BounceIn: { ...jt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...jt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...jt, direction: "right" }, CollapseOut: { ...jt }, Conceal: { ...jt, direction: "right" }, Reveal: { ...jt, direction: "left" }, FadeIn: { ...jt }, FadeOut: { ...jt }, FlipIn: { ...jt, direction: "left" }, FlipOut: { ...jt, direction: "left" }, FloatIn: { ...jt, direction: "right" }, FloatOut: { ...jt, direction: "right" }, FlyIn: { ...jt, direction: "right" }, FlyOut: { ...jt, direction: "right" }, FoldIn: { ...jt, direction: "left" }, FoldOut: { ...jt, direction: "left" }, GlideIn: { ...jt, angle: 0, distance: 150 }, GlideOut: { ...jt, angle: 0, distance: 150 }, DropIn: { ...jt }, PopOut: { ...jt }, SlideIn: { ...jt, direction: "left" }, SlideOut: { ...jt, direction: "left" }, SpinIn: { ...jt, direction: "cw", cycles: 2 }, SpinOut: { ...jt, direction: "cw", cycles: 2 }, TurnIn: { ...jt, direction: "right" }, TurnOut: { ...jt, direction: "right" } }, Pt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, kt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Rt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Dt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Bt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Mt = { arc: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Rt, delay: Dt } }, zoom: { type: ["object"], properties: { duration: Rt, delay: Dt } }, fade: { type: ["object"], properties: { duration: Rt, delay: Dt } }, flip: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, float: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, fly: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, fold: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, glide: { type: ["object"], properties: { duration: Rt, delay: Dt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, slide: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, spin: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Ft = ({ propertyName: e2, compName: t2 }) => (r2, a2) => {
          if (!r2) return false;
          if (void 0 === a2) return true;
          const i2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (a3, i3) => {
            n(u({ propertyName: t3, compName: r3, effectName: e3, wrongValue: `${i3?.value}`, infoLink: kt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          if (!ye({ reportError: i2, reportWarning: () => ({}) }, t2)(a2, { type: ["object"] }, e2)) return false;
          const o2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (a3, i3) => {
            n(s({ propertyName: t3, compName: r3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${i3?.propertyName}" cannot be set to the value "${i3?.value}"`, infoLink: kt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          return !!ye({ reportError: o2, reportWarning: () => ({}) }, t2)(a2, Mt[r2], e2);
        }, _t = (e2) => 0 === Object.keys(e2).length, qt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: r2, portal: a2, metaData: s2, getSdkInstance: u2, runAnimation: l2, createSdkState: m2, styleUtils: c2, setProps: d2 }) => {
          const f2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: r3, propertyName: a3 }) => {
            const s3 = Ft({ propertyName: a3, compName: e3 });
            if (!t3 && !r3) return false;
            if (!t3 && r3 && !_t(r3)) return n(o({ propertyName: a3, compName: e3, infoLink: kt(a3) })), false;
            const u3 = "hide" === a3 ? "HIDE" : "SHOW", l3 = Pt[u3]?.deprecatedValues;
            return t3 && r3 && l3 && l3.find((e4) => e4 === t3) && !_t(r3) ? (n(p({ compName: e3, effectName: t3, propertyName: a3, infoLink: kt(a3) })), false) : !!l3.find((e4) => e4 === t3) || (t3 && !(t3 in Mt) ? (n(i({ propertyName: a3, compName: e3, effectName: t3, infoLink: kt(a3) })), false) : !!s3(t3, r3));
          })({ compName: s2.role }), [y2, b2] = m2({ hidden: s2.hiddenOnLoad, collapsed: s2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (n2, i2) => {
            if (d2({ hidden: true }), y2.collapsed || y2.hidden) b2({ hidden: true });
            else {
              if (f2({ effectName: n2, effectOptions: i2, propertyName: "hide" })) {
                const e3 = { animationDirection: Pt.HIDE.suffix, effectName: n2, effectOptions: { ...Lt?.[n2] || jt, ...i2 } };
                await Promise.all([l2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else r2(c2.getHiddenStyles()), t2 && a2.setStyles(c2.getHiddenStyles());
              b2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (n2, i2) => {
            if (d2({ hidden: false }), !y2.collapsed && y2.hidden) {
              if (f2({ effectName: n2, effectOptions: i2, propertyName: "show" })) {
                const e3 = { animationDirection: Pt.SHOW.suffix, effectName: n2, effectOptions: { ...Lt?.[n2] || jt, ...i2 } };
                await Promise.all([l2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else r2(c2.getShownStyles()), t2 && a2.setStyles(c2.getShownStyles());
              b2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else b2({ hidden: false });
          }, collapse: async () => {
            d2({ collapsed: true }), y2.collapsed || (r2(c2.getCollapsedStyles()), t2 && a2.setStyles(c2.getCollapsedStyles()), b2({ collapsed: true }), y2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (d2({ collapsed: false }), y2.collapsed) {
              const n2 = { ...c2.getExpandedStyles(), visibility: y2.hidden ? "hidden" : null };
              r2(n2), t2 && a2.setStyles(n2), b2({ collapsed: false }), y2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return y2.collapsed;
          }, get hidden() {
            return Boolean(y2.hidden);
          }, get isVisible() {
            if (!s2.isRendered()) return false;
            let e3 = u2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Ht = (e2) => (t2) => ((e3, t3 = false) => {
          const [r2, n2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Vt([qt({ viewportState: r2, hasPortal: t3 }), Et((e4, t4) => {
            n2({ [e4]: [...r2[e4], t4] });
          })])(e3);
        })(t2, e2), Gt = (e2, t2, n2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && r(_({ functionName: n2, wrongEffects: a2, allowedEffects: e2 }));
        }, Wt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (r2) => {
            Gt(t2(), r2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...r2);
          }, removeEffects: (r2) => {
            Gt(t2(), r2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...r2);
          }, toggleEffects: (r2) => {
            Gt(t2(), r2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...r2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Yt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Xt = (e2, t2) => "string" != typeof e2 ? (Kt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Ut(e2, t2), false), Kt = (e2, t2, n2, a2) => {
          r(B({ propertyName: e2, functionName: t2, value: n2, expectedType: a2 }));
        }, Jt = (e2, t2) => {
          r(y({ propertyName: e2, functionName: t2 }));
        }, Ut = (e2, t2) => {
          r(W({ propertyName: e2, functionName: t2 }));
        }, zt = (e2) => {
          const { setProps: t2, props: n2 } = e2;
          return { customClassList: { get value() {
            return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
          }, values() {
            return n2.customClassNames ? n2.customClassNames : [];
          }, add(...e3) {
            const r2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Xt(t3, "customClassList.add")) return;
                r2.add(t3);
              }
              t2({ customClassNames: Array.from(r2) });
            } else Jt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Jt("className", "customClassList.remove");
            const r2 = new Set(n2.customClassNames);
            for (const t3 of e3) {
              if (!Xt(t3, "customClassList.remove")) return;
              r2.delete(t3);
            }
            t2({ customClassNames: Array.from(r2) });
          }, contains(e3) {
            if (e3) return Xt(e3, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e3) : void 0;
            Jt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Xt(t3, "customClassList.replace") || !Xt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (r(b({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Xt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Jt("className", "customClassList.toggle"), false);
          } } };
        }, Zt = ({ role: e2, compType: t2, isGlobal: r2, isRendered: n2 }) => ({ id: e2, type: `$w.${t2}`, global: r2(), rendered: n2() }), Qt = (e2) => ({ onMouseIn: (t2) => Ct("onMouseEnter", e2, t2), onMouseOut: (t2) => Ct("onMouseLeave", e2, t2), removeEventHandler: (t2, n2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (r(B({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof n2 ? (r(B({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), a2()) : ((e3, t3, r2) => {
            const { metaData: n3, getSdkInstance: a3 } = t3, [i2, o2] = It(t3), s2 = i2.listeners.filter((t4) => St(t4.eventName, e3) && t4.cb === r2 && t4.compId === n3.compId);
            for (const e4 of s2) e4.unregister();
            return o2({ listeners: i2.listeners.filter((e4) => !s2.includes(e4)) }), a3();
          })(t2, e2, n2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Zt(e2.metaData);
        } }), er = Et(), tr = (Vt([Ot, er, Qt, Wt, zt]), ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) })), rr = (e2) => ({ onChange: (t2) => Tt("onChange", e2, t2) }), nr = (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => Tt("onFocus", e2, t2), onBlur: (t2) => Tt("onBlur", e2, t2) });
        const ar = (e2) => ({ onClick: (t2) => Ct("onClick", e2, t2), onDblClick: (t2) => Ct("onDblClick", e2, t2) }), ir = he(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: J(r2) ? void 0 : r2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } });
        var or;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(or || (or = {}));
        const sr = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, pr = (e2) => ur(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), ur = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), lr = (e2, t2, n2, a2, i2) => i2 ? !!n2(i2) || (r(a2), false) : !!t2 || (r(ae({ value: i2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), mr = (e2, t2 = true) => (r2) => lr(e2, t2, ur, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, r2), cr = (e2, t2 = true) => (r2) => lr(e2, t2, pr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, r2), dr = he(({ setProps: e2, props: t2, create$w: r2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return r2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [cr("describedBy")] }), fr = he(({ setProps: e2, props: t2, create$w: r2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return r2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [cr("labelledBy")] }), yr = he(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: J(r2) ? void 0 : String(r2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), br = he(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: J(r2) ? void 0 : String(r2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), hr = he(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: J(r2) ? void 0 : String(r2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), gr = he(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: J(r2) ? void 0 : String(r2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), vr = he(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: J(r2) ? void 0 : r2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), Nr = he(({ setProps: e2, props: t2, create$w: r2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return r2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [mr("owns")] }), xr = he(({ setProps: e2, props: t2, create$w: r2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return r2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [mr("controls")] }), $r = he(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: J(r2) ? void 0 : r2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), Ar = he(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: J(r2) ? void 0 : r2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), wr = he(({ setProps: e2, props: t2, create$w: r2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return r2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [cr("errorMessage")] }), Ir = he(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: J(r2) ? void 0 : String(r2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Tr = he(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: J(r2) ? void 0 : String(r2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), Sr = he(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: J(r2) ? void 0 : String(r2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Cr = he(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: J(r2) ? void 0 : String(r2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Vr = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(n2) {
          null === n2 || X(n2) ? e2({ screenReader: { ...t2.screenReader, prefix: n2 } }) : r(sr("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(n2) {
          null === n2 || X(n2) ? e2({ screenReader: { ...t2.screenReader, suffix: n2 } }) : r(sr("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(r2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: J(r2) ? void 0 : r2 } });
        } } }), Or = (he(Vr, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), he(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: J(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), Er = he(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: J(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), jr = { enableAriaLabel: ir, enableAriaDescribedBy: dr, enableAriaLabelledBy: fr, enableAriaAtomic: yr, enableAriaBusy: br, enableAriaCurrent: hr, enableAriaExpanded: gr, enableAriaLive: vr, enableAriaOwns: Nr, enableAriaControls: xr, enableAriaRoleDescription: $r, enableAriaRelevant: Ar, enableAriaErrorMessage: wr, enableAriaHidden: Ir, enableAriaPressed: Tr, enableAriaHaspopup: Sr, enableAriaRequired: Cr }, Lr = { enableScreenReader: Vr, enableRole: Or, enableTabIndex: Er }, Pr = ({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: n2 = false, enableAriaBusy: a2 = false, enableAriaHidden: i2 = false, enableAriaPressed: o2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: p2 = false, enableAriaExpanded: u2 = false, enableAriaLive: l2 = false, enableAriaOwns: m2 = false, enableAriaControls: c2 = false, enableAriaRoleDescription: d2 = false, enableAriaRelevant: f2 = false, enableRole: y2 = false, enableTabIndex: b2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: g2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
          const x2 = [], $2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: r2, enableAriaAtomic: n2, enableAriaBusy: a2, enableAriaCurrent: p2, enableAriaExpanded: u2, enableAriaLive: l2, enableAriaOwns: m2, enableAriaControls: c2, enableAriaRoleDescription: d2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: i2, enableAriaPressed: o2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, A2 = { enableScreenReader: g2, enableRole: y2, enableTabIndex: b2 };
          if (Object.values($2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, r3]) => r3 && jr[e5] && t3.push(jr[e5])), (e5) => {
                const r3 = Vt(t3, { modifyAriaSourceKeys: true })(e5);
                return r3.ariaAttributes = Vt(t3)(e5), r3;
              };
            })($2);
            x2.push(e3);
          }
          Object.entries(A2).forEach(([e3, t3]) => t3 && Lr[e3] && x2.push(Lr[e3]));
          return { accessibility: Vt(x2)(N2) };
        }, kr = (e2) => `--${((e3) => `${e3.replace(/([A-Z])/g, "-$1").toLowerCase()}`)(e2)}`;
        var Rr, Dr, Br;
        !function(e2) {
          e2.multiLingualVariable = "multiLangVar", e2.staticVariable = "staticVar", e2.cssVariable = "cssVar";
        }(Rr || (Rr = {})), function(e2) {
          e2[e2.string_length = 0] = "string_length", e2[e2.string_min = 1] = "string_min", e2[e2.string_max = 2] = "string_max", e2[e2.num_min = 3] = "num_min", e2[e2.num_max = 4] = "num_max", e2[e2.one_of = 5] = "one_of";
        }(Dr || (Dr = {})), function(e2) {
          e2.element = "element", e2.clickable = "clickable", e2.changeable = "changeable", e2.focusable = "focusable", e2.disableable = "disableable", e2.accessible = "accessible";
        }(Br || (Br = {}));
        const Mr = { [Br.clickable]: () => ar, [Br.changeable]: () => rr, [Br.focusable]: () => nr, [Br.disableable]: () => tr, [Br.element]: ({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Vt([Ot, Qt, Wt, Yt, e2 ? Ht(t2) : er, zt]), [Br.accessible]: () => Pr() }, Fr = (e2, t2) => e2 ? e2.map((e3) => t2[e3]()) : [], _r = (({ sdkMap: e2, defaultMixins: t2 }) => ({ sdkSchema: r2, validationSchema: n2, mixins: a2 }) => {
          const i2 = t2.map((t3) => e2[t3]()), o2 = Object.keys(r2);
          if (0 === o2.length) return Vt([...i2, ...Fr(a2, e2)]);
          const s2 = (e3) => "function" === r2[e3].type, p2 = o2.filter((e3) => s2(e3)), u2 = o2.filter((e3) => !s2(e3)), l2 = (e3) => {
            const { props: t3, metaData: n3, setProps: a3, setStyles: i3, createSdkState: o3 } = e3, [s3, l3] = o3({});
            const m2 = { toJSON() {
              const e4 = Object.fromEntries(u2.map((e5) => [e5, t3[e5]]));
              return { ...Zt(n3), ...e4 };
            } };
            return p2.forEach((t4) => function(t5) {
              m2[t5] = (r3) => Tt(t5, e3, r3);
            }(t4)), u2.forEach((e4) => function(e5) {
              Object.defineProperty(m2, e5, { enumerable: true, get: () => r2[e5].persistence === Rr.cssVariable ? s3[e5] : t3[e5], set: r2[e5].readonly ? void 0 : (t4) => {
                r2[e5].persistence === Rr.cssVariable ? (i3({ [kr(e5)]: `${t4} !important` }), l3({ [e5]: t4 })) : a3({ [e5]: t4 });
              } });
            }(e4)), m2;
          };
          return Vt([...i2, n2 ? he(l2, n2) : l2, ...Fr(a2, e2)]);
        })({ sdkMap: Mr, defaultMixins: [Br.element] }), qr = { Stepped: "Stepped", Continuous: "Continuous" }, Hr = { Number: "Number", Value: "Value" }, Gr = (e2, t2, r2, a2) => e2 > t2 ? (n(f({ propertyName: "value[0]", wrongValue: e2, maxValue: t2 })), false) : e2 < r2 ? (n(d({ propertyName: "value", wrongValue: e2, minValue: r2 })), false) : !(t2 > a2) || (n(f({ propertyName: "value", wrongValue: t2, maxValue: a2 })), false), Wr = (e2) => !isNaN(Number(e2)) && null !== e2, Yr = _r({ sdkSchema: { label: { type: "string" }, sliderType: { type: "string" }, stepType: { type: "string" }, step: { type: "number" }, min: { type: "number" }, max: { type: "number" }, prefix: { type: "string" }, suffix: { type: "string" } }, validationSchema: { type: ["object"], properties: { label: { maxLength: 120, type: ["string"] }, sliderType: { type: ["string"], enum: ["Continuous", "Stepped"] }, stepType: { type: ["string"], enum: ["Number", "Value"] }, step: { type: ["number"] }, min: { type: ["number"] }, max: { type: ["number"] }, value: { type: ["array", "number"] }, prefix: { maxLength: 120, type: ["string"] }, suffix: { maxLength: 120, type: ["string"] } } }, mixins: ["changeable"] }), Xr = Vt([Yr, (e2) => {
          let { setProps: t2, props: a2, metaData: i2 } = e2;
          const o2 = { get sliderType() {
            return a2.sliderType;
          }, set sliderType(e3) {
            e3 in qr ? t2({ sliderType: e3 }) : r(H({ propertyName: "sliderType", functionName: "set sliderType", wrongValue: e3.toString(), hint: "Stepped or Continuous" }));
          }, get step() {
            return a2.sliderType === qr.Stepped ? a2.step : 0.1;
          }, set step(e3) {
            a2.sliderType === qr.Continuous ? r(H({ propertyName: "step", functionName: "set step", wrongValue: e3.toString(), hint: "Continuous slider does not support setting step" })) : e3 < a2.max - a2.min ? t2({ step: e3 }) : r(R({ propertyName: "step", functionName: "set step", value: e3, maximum: a2.max - a2.min }));
          }, get stepType() {
            return a2.stepType;
          }, set stepType(e3) {
            a2.sliderType !== qr.Continuous ? void 0 !== e3 && e3 in Hr ? t2({ stepType: e3 }) : r(G({ propertyName: "stepType", hint: "slider type is set to Continuous or value must be Number or Value" })) : r(G({ propertyName: "stepType", hint: "slider type is set to Continuous" }));
          }, get min() {
            return a2.min;
          }, set min(e3) {
            e3 > a2.max && e3 > a2.minValue && n(f({ propertyName: "min", wrongValue: e3, maxValue: a2.max })), t2({ min: e3 });
          }, get max() {
            return a2.max;
          }, set max(e3) {
            e3 < a2.min && e3 < a2.maxValue && n(d({ propertyName: "max", wrongValue: e3, minValue: a2.min })), t2({ max: e3 });
          }, get value() {
            return a2.minValue === a2.maxValue ? a2.minValue : new Proxy([a2.minValue, a2.maxValue], { set: (e3, r2, n2) => "0" === r2 && Wr(n2) ? (t2({ minValue: n2 }), true) : !("1" !== r2 || !Wr(n2)) && (t2({ maxValue: n2 }), true) });
          }, set value(e3) {
            if ("number" != typeof e3) if (Array.isArray(e3) && e3.every(Wr) && 2 === e3.length) {
              const [r2, n2] = e3;
              Gr(r2, n2, a2.min, a2.max) && t2({ minValue: r2, maxValue: n2 });
            } else n(c({ propertyName: "value", wrongValue: e3, index: 0 }));
            else Gr(e3, e3, a2.min, a2.max) && t2({ minValue: e3, maxValue: e3 });
          }, get prefix() {
            return a2.sliderType === qr.Stepped ? a2.prefix : void 0;
          }, set prefix(e3) {
            a2.sliderType === qr.Stepped ? t2({ prefix: e3 }) : r(G({ propertyName: "value", hint: "slider type is set to Continuous" }));
          }, get suffix() {
            return a2.sliderType === qr.Stepped ? a2.suffix : void 0;
          }, set suffix(e3) {
            a2.sliderType === qr.Stepped ? t2({ suffix: e3 }) : r(G({ propertyName: "value", hint: "slider type is set to Continuous" }));
          }, toJSON() {
            const { sliderType: e3, stepType: t3, step: r2, min: n2, max: a3, value: s2, prefix: p2, suffix: u2 } = o2;
            return { ...Zt(i2), sliderType: e3, stepType: t3, step: r2, min: n2, max: a3, value: s2, prefix: p2, suffix: u2 };
          } };
          return o2;
        }, tr, rr, nr]);
        var Kr = { factory: Xr };
        return t;
      }();
    });
  })(RangeSlider_bundle_min);
  var RangeSlider_bundle_minExports = RangeSlider_bundle_min.exports;
  const RangeSlider = /* @__PURE__ */ getDefaultExportFromCjs(RangeSlider_bundle_minExports);
  var RatingsDisplay_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var o2 in n2) e.o(n2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: n2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return _t;
        }, sdk: function() {
          return Ut;
        } });
        const n = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, o = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function a(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function i(e2) {
          return Array.isArray(e2);
        }
        function r(e2) {
          return null == e2;
        }
        function m(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function u(e2, t2) {
          return e2 < t2;
        }
        const c = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, l = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, p = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, d = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: o2, wrongValue: a2, infoLink: i2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${i2}"')`, f = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${o2}"`, y = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, h = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, N = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, v = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, g = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, x = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, b = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, w = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, I = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, C = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, T = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, O = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, E = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, k = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, S = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, V = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, L = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, P = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, D = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, A = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, B = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, W = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, X = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, Y = ({ propertyName: e2, functionName: t2, value: n2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, G = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, K = ({ compName: e2, functionName: t2, propertyName: n2, index: o2 }) => a(o2) ? N({ propertyName: n2, functionName: t2, index: o2 }) : e2 ? h({ compName: e2, functionName: t2, propertyName: n2 }) : c({ functionName: t2, propertyName: n2 }), z = ({ functionName: e2, propertyName: t2, index: n2 }) => a(n2) ? $({ functionName: e2, propertyName: t2, index: n2 }) : v({ functionName: e2, propertyName: t2 }), U = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? a(n2) ? I({ functionName: e2, propertyNames: t2, index: n2 }) : b({ functionName: e2, propertyNames: t2 }) : a(n2) ? w({ functionName: e2, propertyName: t2[0], index: n2 }) : x({ functionName: e2, propertyName: t2[0] }), _ = ({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: i2, index: r2 }) => i2 && o2 ? i2 === o2 ? a(r2) ? E({ functionName: e2, propertyName: t2, value: n2, expectedValue: i2, index: r2 }) : O({ functionName: e2, propertyName: t2, value: n2, expectedValue: i2 }) : a(r2) ? T({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: i2, index: r2 }) : C({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: i2 }) : !i2 && o2 ? a(r2) ? L({ functionName: e2, propertyName: t2, value: n2, maximum: o2, index: r2 }) : V({ functionName: e2, propertyName: t2, value: n2, maximum: o2 }) : a(r2) ? S({ functionName: e2, propertyName: t2, value: n2, minimum: i2, index: r2 }) : k({ functionName: e2, propertyName: t2, value: n2, minimum: i2 }), J = ({ functionName: e2, propertyName: t2, value: n2, minimum: o2, maximum: i2, index: r2 }) => o2 && i2 ? o2 === i2 ? a(r2) ? R({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2, index: r2 }) : D({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2 }) : a(r2) ? j({ functionName: e2, propertyName: t2, value: n2, maximum: i2, minimum: o2, index: r2 }) : P({ functionName: e2, propertyName: t2, value: n2, maximum: i2, minimum: o2 }) : !o2 && i2 ? a(r2) ? H({ functionName: e2, propertyName: t2, maximum: i2, value: n2, index: r2 }) : F({ functionName: e2, propertyName: t2, maximum: i2, value: n2 }) : a(r2) ? M({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: r2 }) : A({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), Z = ({ functionName: e2, propertyName: t2, types: n2, value: o2, index: i2 }) => {
          const r2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return a(i2) ? B({ functionName: e2, index: i2, propertyName: t2, value: o2, expectedType: r2 }) : q({ functionName: e2, propertyName: t2, value: o2, expectedType: r2 });
        }, Q = ({ functionName: e2, propertyName: t2, value: n2, enum: o2, index: i2 }) => {
          const r2 = `from (${o2.join(",")})`;
          return a(i2) ? B({ functionName: e2, propertyName: t2, value: n2, expectedType: r2, index: i2 }) : q({ functionName: e2, propertyName: t2, value: n2, expectedType: r2 });
        }, ee = ({ functionName: e2, propertyName: t2, value: n2, index: o2 }) => a(o2) ? Y({ functionName: e2, propertyName: t2, value: n2, index: o2 }) : W({ functionName: e2, propertyName: t2, value: n2 }), te = Object.prototype.hasOwnProperty, ne = Object.getOwnPropertyNames, oe = () => {
        };
        function ae(e2, t2, n2, o2, a2, r2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !i(e3);
          }(e2)) return se.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ae(e2, t3, n2, oe, a2, r2)).filter((e3) => e3 === se.Valid).length ? se.Valid : se.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!te.call(e2, t2.required[n3])) return o2(z({ functionName: r2.functionName, index: r2.index, propertyName: t2.required[n3] }), { ...r2, value: e2 }), se.Invalid;
          }
          const m2 = ne(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ne(e2).filter((e3) => !m2.includes(e3));
            if (t3.length) {
              return o2(U({ functionName: r2.functionName, index: r2.index, propertyNames: t3 })), se.Invalid;
            }
          }
          for (let o3 = 0; o3 < m2.length; o3++) {
            const a3 = m2[o3];
            if (te.call(e2, a3)) {
              const o4 = t2.properties[a3], i2 = e2[a3];
              if (!n2(i2, o4, { functionName: r2.functionName, index: r2.index, propertyName: a3 })) return se.Invalid;
            }
          }
          return se.Valid;
        }
        function ie(e2) {
          return Array.isArray(e2);
        }
        function re(e2, t2, n2, o2) {
          const { minimum: i2, maximum: r2, enum: c2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? c2 && !m(e2, c2) ? (n2(Q({ value: e2, enum: c2, ...o2 }), { ...o2, value: e2 }), se.Invalid) : a(i2) && u(e2, i2) || a(r2) && s(e2, r2) ? (n2(J({ value: e2, minimum: i2, maximum: r2, ...o2 }), { ...o2, value: e2 }), se.Invalid) : se.Valid : se.InvalidType;
        }
        function me(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? se.Valid : se.InvalidType;
        }
        const se = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function ue({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: o2 = false } = {}) {
          function c2(o3, a2, i2) {
            a2.warnIfNil && r(o3) && t2(K({ ...i2, compName: n2 }), { ...i2, value: o3 });
            let m2 = 0;
            for (; m2 < a2.type.length; m2++) {
              const e3 = (0, l2[a2.type[m2]])(o3, a2, i2);
              if (e3 !== se.InvalidType) return e3 === se.Valid;
            }
            return m2 === a2.type.length && e2(Z({ value: o3, types: a2.type, ...i2 }), { ...i2, value: o3 }), false;
          }
          const l2 = { object: (n3, o3, a2) => ae(n3, o3, c2, e2, t2, a2), array: (e3, t3, n3) => function(e4, t4, n4, o3, a2, r2 = false) {
            if (!i(e4)) return se.InvalidType;
            let m2 = se.Valid;
            if (t4.items) {
              const o4 = ie(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let i2 = 0; i2 < o4; i2++) {
                const o5 = e4[i2];
                let s2, u2;
                ie(t4.items) ? (s2 = t4.items[i2], u2 = t4.items[i2].name) : (s2 = t4.items, u2 = t4.name), n4(o5, s2, { functionName: a2.functionName, propertyName: u2 || a2.propertyName, index: r2 ? void 0 : i2 }) || (m2 = se.Invalid);
              }
            }
            return m2;
          }(e3, t3, c2, 0, n3, o2), number: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minimum: i2, maximum: r2, enum: c3 } = t4;
            return a(e3) ? c3 && !m(e3, c3) ? (n4(Q({ value: e3, enum: c3, ...o4 }), { ...o4, value: e3 }), se.Invalid) : a(i2) && u(e3, i2) || a(r2) && s(e3, r2) ? (n4(J({ value: e3, minimum: i2, maximum: r2, ...o4 }), { ...o4, value: e3 }), se.Invalid) : se.Valid : se.InvalidType;
          }(t3, n3, e2, o3), integer: (t3, n3, o3) => re(t3, n3, e2, o3), string: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minLength: a2, maxLength: i2, enum: r2, pattern: c3 } = t4;
            return /* @__PURE__ */ function(e4) {
              return "string" == typeof e4;
            }(e3) ? r2 && !m(e3, r2) ? (n4(Q({ value: e3, enum: r2, ...o4 }), { ...o4, value: e3 }), se.Invalid) : a2 && u(e3.length, a2) || i2 && s(e3.length, i2) ? (n4(_({ value: e3, minimum: a2, maximum: i2, ...o4 }), { ...o4, value: e3 }), se.Invalid) : c3 && !new RegExp(c3).test(e3) ? (n4(ee({ value: e3, ...o4 }), { ...o4, value: e3 }), se.Invalid) : se.Valid : se.InvalidType;
          }(t3, n3, e2, o3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? se.Valid : se.InvalidType;
          }(e3), date: (e3) => me(e3), nil: (e3) => function(e4) {
            return r(e4) ? se.Valid : se.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? se.Valid : se.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return c2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function ce(e2, { suppressIndexErrors: t2 = false } = {}) {
          return ue({ reportError: n, reportWarning: o }, e2, { suppressIndexErrors: t2 });
        }
        const le = "click", pe = "dblClick", de = "mouseenter", fe = "mouseleave", ye = "change", he = "blur", Ne = "focus", ve = "imageChanged", ge = "imageExpanded", $e = "onInput", xe = "itemClicked", be = "cellSelect", we = "cellEdit", Ie = "rowSelect", Ce = "fetchData", Te = "dataChange", Oe = "onTimeout", Ee = "onVerified", ke = "onError", Se = "onPlay", Ve = "onPause", Le = "onProgress", Pe = "onEnded", je = "autoplayOff", De = "autoplayOn", Re = "playEnded", Ae = "playProgress", Me = "keyPress", Fe = "keyUp", He = "keyDown", qe = "screenIn", Be = "viewportEnter", We = "viewportLeave", Xe = "scroll", Ye = "validate", Ge = "setCustomValidity", Ke = "syncValidationData", ze = "updateValidityIndication", Ue = "message", _e = "uploadComplete", Je = "itemReady", Ze = "itemRemoved", Qe = "tagClick", et = "quickActionBarItemClicked", tt = "markerClicked", nt = "mapClicked", ot = "iconMouseIn", at = "onStateChange", it = "itemMouseIn", rt = "itemMouseOut", mt = "itemMouseClick", st = "itemMouseDblClick", ut = "onColorChange", ct = "onFontChange", lt = "onOpacityChange", pt = { [le]: "onClick", [pe]: "onDblClick", [de]: "onMouseIn", [fe]: "onMouseOut", [ye]: "onChange", [$e]: "onInput", [he]: "onBlur", [Ne]: "onFocus", [ve]: "onCurrentItemChanged", [ge]: void 0, [xe]: "onItemClicked", [be]: "onCellSelect", [we]: void 0, [Ie]: "onRowSelect", [Ce]: void 0, [Te]: "onDataChange", [Oe]: "onTimeout", [Ee]: "onVerified", [ke]: "onError", [Se]: "onPlay", [Ve]: "onPause", [Le]: "onProgress", [Pe]: "onEnded", [je]: "onPause", [De]: "onPlay", [Re]: void 0, [Ae]: void 0, [Me]: "onKeyPress", [Fe]: "onKeyUp", [He]: "onKeyDown", [qe]: void 0, [Be]: "onViewportEnter", [We]: "onViewportLeave", [Xe]: void 0, [Ye]: void 0, [Ge]: void 0, [Ke]: void 0, [ze]: void 0, [Ue]: "onMessage", [_e]: void 0, [Je]: "onItemReady", [Ze]: "onItemRemoved", [Qe]: void 0, [et]: "onItemClicked", [tt]: "onMarkerClicked", [nt]: "onMapClicked", [ot]: void 0, [at]: "onStateChange", [it]: "onItemMouseIn", [rt]: "onItemMouseOut", [mt]: "onItemClick", [st]: "onItemDblClick", [ut]: "onColorChange", [ct]: "onFontChange", [lt]: "onOpacityChange" }, dt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, ft = (e2) => {
          const { target: t2, type: n2, context: o2 } = e2;
          return { target: t2, type: dt[n2] ?? n2, context: o2 };
        }, yt = (e2) => {
          const { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: i2, screenY: r2, nativeEvent: m2 } = e2, { offsetX: s2, offsetY: u2 } = m2;
          return { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: i2, screenY: r2, offsetX: s2, offsetY: u2 };
        }, ht = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Nt = (e2) => e2.replace(/^on/i, ""), vt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), gt = (e2, t2, n2, o2) => {
          const { create$w: a2, createEvent: i2, registerEvent: r2, getSdkInstance: m2, metaData: s2 } = t2;
          if (!((e3, t3, n3) => ce(n3)(e3, { type: ["function"] }, t3))(n2, ht[e2] ?? e2, s2.role)) return m2();
          const [u2, c2] = vt(t2), l2 = r2(e2, (e3, t3) => {
            const r3 = i2({ type: e3.type, compId: e3.compId }), m3 = a2({ context: r3.context }), s3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...ft(r3), ...s3 }, m3);
          }), p2 = { eventName: e2, compId: s2.compId, cb: n2, unregister: l2 };
          return c2({ listeners: [...u2.listeners, p2] }), m2();
        }, $t = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(ht).find(([t4, n3]) => Nt(n3.toLowerCase()) === Nt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(pt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, xt = (e2, t2, n2, o2) => gt(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...yt(e3), ...t3 && o2?.(t3) }));
        function bt(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const o2 = {};
            for (let i2 = 0; i2 < e2.length; i2++) {
              const r2 = e2[i2](t3), m2 = Object.keys(r2);
              for (let e3 = 0; e3 < m2.length; e3++) {
                const t4 = m2[e3], i3 = Object.getOwnPropertyDescriptor(r2, t4);
                Object.defineProperty(o2, n2 && i3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, i3);
              }
            }
            var a2;
            return o2;
          };
        }
        const wt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: o2, compType: a2, isGlobal: i2, getParent: r2, role: m2, wixCodeId: s2 } = t2, u2 = `$w.${a2}`;
          return { get id() {
            return s2 || m2;
          }, get role() {
            return m2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return r2();
          }, get global() {
            return i2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: m2, type: u2, global: i2() };
          } };
        }, It = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: o2, create$w: a2, createEvent: i2 } = t2, r2 = (e3, t3) => ce(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => r2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = i2({ type: "viewportEnter" }), t3 = a2();
            n3(e3, t3);
          }), gt("onViewportEnter", t2, n3)) : o2(), onViewportLeave: (n3) => r2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = i2({ type: "viewportLeave" }), t3 = a2();
            n3(e3, t3);
          }), gt("onViewportLeave", t2, n3)) : o2() };
        }, Ct = { duration: 1200, delay: 0 }, Tt = { arc: { ...Ct, direction: "left" }, bounce: { ...Ct, direction: "topLeft", intensity: "medium" }, puff: { ...Ct }, zoom: { ...Ct }, fade: { ...Ct }, flip: { ...Ct, direction: "right" }, float: { ...Ct, direction: "right" }, fly: { ...Ct, direction: "right" }, fold: { ...Ct, direction: "left" }, glide: { ...Ct, angle: 0, distance: 0 }, roll: { ...Ct, direction: "left" }, slide: { ...Ct, direction: "left" }, spin: { ...Ct, direction: "cw", cycles: 5 }, turn: { ...Ct, direction: "right" }, ArcIn: { ...Ct, direction: "right" }, ArcOut: { ...Ct, direction: "right" }, BounceIn: { ...Ct, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Ct, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Ct, direction: "right" }, CollapseOut: { ...Ct }, Conceal: { ...Ct, direction: "right" }, Reveal: { ...Ct, direction: "left" }, FadeIn: { ...Ct }, FadeOut: { ...Ct }, FlipIn: { ...Ct, direction: "left" }, FlipOut: { ...Ct, direction: "left" }, FloatIn: { ...Ct, direction: "right" }, FloatOut: { ...Ct, direction: "right" }, FlyIn: { ...Ct, direction: "right" }, FlyOut: { ...Ct, direction: "right" }, FoldIn: { ...Ct, direction: "left" }, FoldOut: { ...Ct, direction: "left" }, GlideIn: { ...Ct, angle: 0, distance: 150 }, GlideOut: { ...Ct, angle: 0, distance: 150 }, DropIn: { ...Ct }, PopOut: { ...Ct }, SlideIn: { ...Ct, direction: "left" }, SlideOut: { ...Ct, direction: "left" }, SpinIn: { ...Ct, direction: "cw", cycles: 2 }, SpinOut: { ...Ct, direction: "cw", cycles: 2 }, TurnIn: { ...Ct, direction: "right" }, TurnOut: { ...Ct, direction: "right" } }, Ot = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Et = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, kt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, St = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Vt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Lt = { arc: { type: ["object"], properties: { duration: kt, delay: St, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: kt, delay: St, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: kt, delay: St } }, zoom: { type: ["object"], properties: { duration: kt, delay: St } }, fade: { type: ["object"], properties: { duration: kt, delay: St } }, flip: { type: ["object"], properties: { duration: kt, delay: St, direction: Vt } }, float: { type: ["object"], properties: { duration: kt, delay: St, direction: Vt } }, fly: { type: ["object"], properties: { duration: kt, delay: St, direction: Vt } }, fold: { type: ["object"], properties: { duration: kt, delay: St, direction: Vt } }, glide: { type: ["object"], properties: { duration: kt, delay: St, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: kt, delay: St, direction: Vt } }, slide: { type: ["object"], properties: { duration: kt, delay: St, direction: Vt } }, spin: { type: ["object"], properties: { duration: kt, delay: St, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: kt, delay: St, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Pt = ({ propertyName: e2, compName: t2 }) => (n2, a2) => {
          if (!n2) return false;
          if (void 0 === a2) return true;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, i3) => {
            o(y({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${i3?.value}`, infoLink: Et(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!ue({ reportError: i2, reportWarning: () => ({}) }, t2)(a2, { type: ["object"] }, e2)) return false;
          const r2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, i3) => {
            o(d({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${i3?.propertyName}" cannot be set to the value "${i3?.value}"`, infoLink: Et(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!ue({ reportError: r2, reportWarning: () => ({}) }, t2)(a2, Lt[n2], e2);
        }, jt = (e2) => 0 === Object.keys(e2).length, Dt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: a2, metaData: i2, getSdkInstance: r2, runAnimation: m2, createSdkState: s2, styleUtils: u2, setProps: c2 }) => {
          const d2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: a3 }) => {
            const i3 = Pt({ propertyName: a3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !jt(n3)) return o(p({ propertyName: a3, compName: e3, infoLink: Et(a3) })), false;
            const r3 = "hide" === a3 ? "HIDE" : "SHOW", m3 = Ot[r3]?.deprecatedValues;
            return t3 && n3 && m3 && m3.find((e4) => e4 === t3) && !jt(n3) ? (o(f({ compName: e3, effectName: t3, propertyName: a3, infoLink: Et(a3) })), false) : !!m3.find((e4) => e4 === t3) || (t3 && !(t3 in Lt) ? (o(l({ propertyName: a3, compName: e3, effectName: t3, infoLink: Et(a3) })), false) : !!i3(t3, n3));
          })({ compName: i2.role }), [y2, h2] = s2({ hidden: i2.hiddenOnLoad, collapsed: i2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (o2, i3) => {
            if (c2({ hidden: true }), y2.collapsed || y2.hidden) h2({ hidden: true });
            else {
              if (d2({ effectName: o2, effectOptions: i3, propertyName: "hide" })) {
                const e3 = { animationDirection: Ot.HIDE.suffix, effectName: o2, effectOptions: { ...Tt?.[o2] || Ct, ...i3 } };
                await Promise.all([m2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(u2.getHiddenStyles()), t2 && a2.setStyles(u2.getHiddenStyles());
              h2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (o2, i3) => {
            if (c2({ hidden: false }), !y2.collapsed && y2.hidden) {
              if (d2({ effectName: o2, effectOptions: i3, propertyName: "show" })) {
                const e3 = { animationDirection: Ot.SHOW.suffix, effectName: o2, effectOptions: { ...Tt?.[o2] || Ct, ...i3 } };
                await Promise.all([m2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(u2.getShownStyles()), t2 && a2.setStyles(u2.getShownStyles());
              h2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else h2({ hidden: false });
          }, collapse: async () => {
            c2({ collapsed: true }), y2.collapsed || (n2(u2.getCollapsedStyles()), t2 && a2.setStyles(u2.getCollapsedStyles()), h2({ collapsed: true }), y2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (c2({ collapsed: false }), y2.collapsed) {
              const o2 = { ...u2.getExpandedStyles(), visibility: y2.hidden ? "hidden" : null };
              n2(o2), t2 && a2.setStyles(o2), h2({ collapsed: false }), y2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return y2.collapsed;
          }, get hidden() {
            return Boolean(y2.hidden);
          }, get isVisible() {
            if (!i2.isRendered()) return false;
            let e3 = r2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Rt = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return bt([Dt({ viewportState: n2, hasPortal: t3 }), It((e4, t4) => {
            o2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), At = (e2, t2, o2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && n(X({ functionName: o2, wrongEffects: a2, allowedEffects: e2 }));
        }, Mt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            At(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            At(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            At(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Ft = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Ht = (e2, t2) => "string" != typeof e2 ? (qt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Wt(e2, t2), false), qt = (e2, t2, o2, a2) => {
          n(q({ propertyName: e2, functionName: t2, value: o2, expectedType: a2 }));
        }, Bt = (e2, t2) => {
          n(v({ propertyName: e2, functionName: t2 }));
        }, Wt = (e2, t2) => {
          n(G({ propertyName: e2, functionName: t2 }));
        }, Xt = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const n2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Ht(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else Bt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Bt("className", "customClassList.remove");
            const n2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!Ht(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return Ht(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            Bt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Ht(t3, "customClassList.replace") || !Ht(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (n(g({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Ht(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Bt("className", "customClassList.toggle"), false);
          } } };
        }, Yt = (e2) => ({ onMouseIn: (t2) => xt("onMouseEnter", e2, t2), onMouseOut: (t2) => xt("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (n(q({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof o2 ? (n(q({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), a2()) : ((e3, t3, n2) => {
            const { metaData: o3, getSdkInstance: a3 } = t3, [i2, r2] = vt(t3), m2 = i2.listeners.filter((t4) => $t(t4.eventName, e3) && t4.cb === n2 && t4.compId === o3.compId);
            for (const e4 of m2) e4.unregister();
            return r2({ listeners: i2.listeners.filter((e4) => !m2.includes(e4)) }), a3();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return (({ role: e3, compType: t2, isGlobal: n2, isRendered: o2 }) => ({ id: e3, type: `$w.${t2}`, global: n2(), rendered: o2() }))(e2.metaData);
        } }), Gt = It();
        bt([wt, Gt, Yt, Mt, Xt]);
        const Kt = (e2) => {
          let t2 = (e2 + "e").split("e");
          return t2 = (Math.round(+(t2[0] + "e" + (+t2[1] + 1))) + "e").split("e"), +(t2[0] + "e" + (+t2[1] - 1));
        }, zt = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => bt([wt, Yt, Mt, Ft, e2 ? Rt(t2) : Gt, Xt]))(), Ut = bt([zt, (e2) => ({ onClick: (t2) => xt("onClick", e2, t2), onDblClick: (t2) => xt("onDblClick", e2, t2) }), (e2) => {
          let { setProps: t2, props: n2, metaData: o2 } = e2;
          return { get rating() {
            return n2.rating;
          }, set rating(e3) {
            !((e4, t3) => ce(o2.role)(t3, { type: ["number", "nil"], warnIfNil: true, minimum: 1, maximum: 5 }, e4))("rating", e3) || r(e3) ? t2({ rating: null }) : t2({ rating: Kt(e3) });
          }, get numRatings() {
            return n2.numRatings;
          }, set numRatings(e3) {
            !((e4, t3) => ce(o2.role)(t3, { type: ["integer", "nil"], warnIfNil: true, minimum: 0 }, e4))("numRatings", e3) || r(e3) ? t2({ numRatings: 0 }) : t2({ numRatings: e3 });
          }, get type() {
            return "$w.RatingsDisplay";
          } };
        }]);
        var _t = { factory: Ut };
        return t;
      }();
    });
  })(RatingsDisplay_bundle_min);
  var RatingsDisplay_bundle_minExports = RatingsDisplay_bundle_min.exports;
  const RatingsDisplay = /* @__PURE__ */ getDefaultExportFromCjs(RatingsDisplay_bundle_minExports);
  var RatingsInput_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var o2 in n2) e.o(n2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: n2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return cn;
        }, sdk: function() {
          return un;
        } });
        function n(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function o(e2) {
          return "string" == typeof e2;
        }
        function a(e2) {
          return Array.isArray(e2);
        }
        function i(e2) {
          return null == e2;
        }
        function r(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function l(e2, t2) {
          return e2 < t2;
        }
        const m = { valueMissing: "value missing" }, u = { type: "General", validity: { badInput: false, customError: false, fileNotUploaded: false, fileTypeNotAllowed: false, fileSizeExceedsLimit: false, patternMismatch: false, rangeOverflow: false, rangeUnderflow: false, stepMismatch: false, tooLong: false, tooShort: false, typeMismatch: false, valueMissing: false, exceedsFilesLimit: false, valid: true, invalidTime: false, invalidDate: false }, validationMessage: "", htmlValidationMessageOverride: { key: "" } }, c = (e2) => !!e2.validity.customError ? e2.validationMessage : "", d = (e2, t2, n2) => ({ ...e2, validity: { ...e2.validity, [t2]: true, valid: false }, validationMessage: n2 }), p = (e2, t2, n2) => {
          const a2 = e2.validationMessage || n2 || ((e3, t3) => {
            const n3 = m[e3];
            return o(n3) ? n3 : n3(t3);
          })(t2);
          return d(e2, t2, a2);
        }, f = { validationData: u, customValidators: [() => {
        }] }, y = "validation", h = ({ createSdkState: e2 }) => {
          const [t2] = e2(f, y);
          return t2.validationData;
        }, v = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, N = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, g = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, $ = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, b = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, x = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: o2, wrongValue: a2, infoLink: i2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${i2}"')`, I = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${o2}"`, w = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, C = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, S = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, T = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, V = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, O = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, k = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, E = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, P = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, L = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, j = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, D = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, A = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, B = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, W = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, U = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, X = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, Y = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, G = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, z = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, K = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, _ = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, J = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, Z = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, Q = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, ee = ({ propertyName: e2, functionName: t2, value: n2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, te = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, ne = ({ compName: e2, functionName: t2, propertyName: o2, index: a2 }) => n(a2) ? S({ propertyName: o2, functionName: t2, index: a2 }) : e2 ? C({ compName: e2, functionName: t2, propertyName: o2 }) : g({ functionName: t2, propertyName: o2 }), oe = ({ functionName: e2, propertyName: t2, index: o2 }) => n(o2) ? O({ functionName: e2, propertyName: t2, index: o2 }) : T({ functionName: e2, propertyName: t2 }), ae = ({ functionName: e2, propertyNames: t2, index: o2 }) => t2 && t2.length > 1 ? n(o2) ? L({ functionName: e2, propertyNames: t2, index: o2 }) : E({ functionName: e2, propertyNames: t2 }) : n(o2) ? P({ functionName: e2, propertyName: t2[0], index: o2 }) : k({ functionName: e2, propertyName: t2[0] }), ie = ({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: i2, index: r2 }) => i2 && a2 ? i2 === a2 ? n(r2) ? A({ functionName: e2, propertyName: t2, value: o2, expectedValue: i2, index: r2 }) : M({ functionName: e2, propertyName: t2, value: o2, expectedValue: i2 }) : n(r2) ? D({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: i2, index: r2 }) : j({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: i2 }) : !i2 && a2 ? n(r2) ? H({ functionName: e2, propertyName: t2, value: o2, maximum: a2, index: r2 }) : q({ functionName: e2, propertyName: t2, value: o2, maximum: a2 }) : n(r2) ? F({ functionName: e2, propertyName: t2, value: o2, minimum: i2, index: r2 }) : R({ functionName: e2, propertyName: t2, value: o2, minimum: i2 }), re = ({ functionName: e2, propertyName: t2, value: o2, minimum: a2, maximum: i2, index: r2 }) => a2 && i2 ? a2 === i2 ? n(r2) ? X({ functionName: e2, propertyName: t2, expectedValue: a2, value: o2, index: r2 }) : U({ functionName: e2, propertyName: t2, expectedValue: a2, value: o2 }) : n(r2) ? W({ functionName: e2, propertyName: t2, value: o2, maximum: i2, minimum: a2, index: r2 }) : B({ functionName: e2, propertyName: t2, value: o2, maximum: i2, minimum: a2 }) : !a2 && i2 ? n(r2) ? K({ functionName: e2, propertyName: t2, maximum: i2, value: o2, index: r2 }) : z({ functionName: e2, propertyName: t2, maximum: i2, value: o2 }) : n(r2) ? G({ functionName: e2, propertyName: t2, value: o2, minimum: a2, index: r2 }) : Y({ functionName: e2, propertyName: t2, value: o2, minimum: a2 }), se = ({ functionName: e2, propertyName: t2, types: o2, value: a2, index: i2 }) => {
          const r2 = o2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return n(i2) ? J({ functionName: e2, index: i2, propertyName: t2, value: a2, expectedType: r2 }) : _({ functionName: e2, propertyName: t2, value: a2, expectedType: r2 });
        }, le = ({ functionName: e2, propertyName: t2, value: o2, enum: a2, index: i2 }) => {
          const r2 = `from (${a2.join(",")})`;
          return n(i2) ? J({ functionName: e2, propertyName: t2, value: o2, expectedType: r2, index: i2 }) : _({ functionName: e2, propertyName: t2, value: o2, expectedType: r2 });
        }, me = ({ functionName: e2, propertyName: t2, value: o2, index: a2 }) => n(a2) ? ee({ functionName: e2, propertyName: t2, value: o2, index: a2 }) : Z({ functionName: e2, propertyName: t2, value: o2 }), ue = Object.prototype.hasOwnProperty, ce = Object.getOwnPropertyNames, de = () => {
        };
        function pe(e2, t2, n2, o2, i2, r2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !a(e3);
          }(e2)) return ve.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => pe(e2, t3, n2, de, i2, r2)).filter((e3) => e3 === ve.Valid).length ? ve.Valid : ve.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!ue.call(e2, t2.required[n3])) return o2(oe({ functionName: r2.functionName, index: r2.index, propertyName: t2.required[n3] }), { ...r2, value: e2 }), ve.Invalid;
          }
          const s2 = ce(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ce(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return o2(ae({ functionName: r2.functionName, index: r2.index, propertyNames: t3 })), ve.Invalid;
            }
          }
          for (let o3 = 0; o3 < s2.length; o3++) {
            const a2 = s2[o3];
            if (ue.call(e2, a2)) {
              const o4 = t2.properties[a2], i3 = e2[a2];
              if (!n2(i3, o4, { functionName: r2.functionName, index: r2.index, propertyName: a2 })) return ve.Invalid;
            }
          }
          return ve.Valid;
        }
        function fe(e2) {
          return Array.isArray(e2);
        }
        function ye(e2, t2, o2, a2) {
          const { minimum: i2, maximum: m2, enum: u2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? u2 && !r(e2, u2) ? (o2(le({ value: e2, enum: u2, ...a2 }), { ...a2, value: e2 }), ve.Invalid) : n(i2) && l(e2, i2) || n(m2) && s(e2, m2) ? (o2(re({ value: e2, minimum: i2, maximum: m2, ...a2 }), { ...a2, value: e2 }), ve.Invalid) : ve.Valid : ve.InvalidType;
        }
        function he(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? ve.Valid : ve.InvalidType;
        }
        const ve = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function Ne({ reportError: e2, reportWarning: t2 }, m2, { suppressIndexErrors: u2 = false } = {}) {
          function c2(n2, o2, a2) {
            o2.warnIfNil && i(n2) && t2(ne({ ...a2, compName: m2 }), { ...a2, value: n2 });
            let r2 = 0;
            for (; r2 < o2.type.length; r2++) {
              const e3 = (0, d2[o2.type[r2]])(n2, o2, a2);
              if (e3 !== ve.InvalidType) return e3 === ve.Valid;
            }
            return r2 === o2.type.length && e2(se({ value: n2, types: o2.type, ...a2 }), { ...a2, value: n2 }), false;
          }
          const d2 = { object: (n2, o2, a2) => pe(n2, o2, c2, e2, t2, a2), array: (e3, t3, n2) => function(e4, t4, n3, o2, i2, r2 = false) {
            if (!a(e4)) return ve.InvalidType;
            let s2 = ve.Valid;
            if (t4.items) {
              const o3 = fe(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let a2 = 0; a2 < o3; a2++) {
                const o4 = e4[a2];
                let l2, m3;
                fe(t4.items) ? (l2 = t4.items[a2], m3 = t4.items[a2].name) : (l2 = t4.items, m3 = t4.name), n3(o4, l2, { functionName: i2.functionName, propertyName: m3 || i2.propertyName, index: r2 ? void 0 : a2 }) || (s2 = ve.Invalid);
              }
            }
            return s2;
          }(e3, t3, c2, 0, n2, u2), number: (t3, o2, a2) => function(e3, t4, o3, a3) {
            const { minimum: i2, maximum: m3, enum: u3 } = t4;
            return n(e3) ? u3 && !r(e3, u3) ? (o3(le({ value: e3, enum: u3, ...a3 }), { ...a3, value: e3 }), ve.Invalid) : n(i2) && l(e3, i2) || n(m3) && s(e3, m3) ? (o3(re({ value: e3, minimum: i2, maximum: m3, ...a3 }), { ...a3, value: e3 }), ve.Invalid) : ve.Valid : ve.InvalidType;
          }(t3, o2, e2, a2), integer: (t3, n2, o2) => ye(t3, n2, e2, o2), string: (t3, n2, a2) => function(e3, t4, n3, a3) {
            const { minLength: i2, maxLength: m3, enum: u3, pattern: c3 } = t4;
            return o(e3) ? u3 && !r(e3, u3) ? (n3(le({ value: e3, enum: u3, ...a3 }), { ...a3, value: e3 }), ve.Invalid) : i2 && l(e3.length, i2) || m3 && s(e3.length, m3) ? (n3(ie({ value: e3, minimum: i2, maximum: m3, ...a3 }), { ...a3, value: e3 }), ve.Invalid) : c3 && !new RegExp(c3).test(e3) ? (n3(me({ value: e3, ...a3 }), { ...a3, value: e3 }), ve.Invalid) : ve.Valid : ve.InvalidType;
          }(t3, n2, e2, a2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? ve.Valid : ve.InvalidType;
          }(e3), date: (e3) => he(e3), nil: (e3) => function(e4) {
            return i(e4) ? ve.Valid : ve.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? ve.Valid : ve.InvalidType;
          }(e3) };
          return function(e3, t3, n2) {
            return c2(e3, t3, { functionName: n2, propertyName: n2, index: void 0 });
          };
        }
        function ge(e2, { suppressIndexErrors: t2 = false } = {}) {
          return Ne({ reportError: v, reportWarning: N }, e2, { suppressIndexErrors: t2 });
        }
        function $e(e2, t2, n2 = {}) {
          return (o2) => {
            const a2 = e2(o2), i2 = ge(o2.metaData.role), r2 = ge(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(a2, s2), m2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? m2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, i3 = n2[s2];
                let m3 = true;
                return a3 && (m3 = r2(e4, { type: ["array"], items: a3 }, s2)), m3 && i3 && (m3 = i3.every((t3) => t3(e4, o2))), m3 ? l2.value(...e4) : void 0;
              } : m2.value = l2.value : (l2.get && (m2.get = () => a2[s2]), l2.set && (m2.set = (e4) => {
                const r3 = n2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = i2(e4, t2.properties[s2], s2)), l3 && r3 && (l3 = r3.every((t3) => t3(e4, o2))), l3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, m2), e3;
            }, {});
          };
        }
        const be = "click", xe = "dblClick", Ie = "mouseenter", we = "mouseleave", Ce = "change", Se = "blur", Te = "focus", Ve = "imageChanged", Oe = "imageExpanded", ke = "onInput", Ee = "itemClicked", Pe = "cellSelect", Le = "cellEdit", je = "rowSelect", De = "fetchData", Me = "dataChange", Ae = "onTimeout", Re = "onVerified", Fe = "onError", qe = "onPlay", He = "onPause", Be = "onProgress", We = "onEnded", Ue = "autoplayOff", Xe = "autoplayOn", Ye = "playEnded", Ge = "playProgress", ze = "keyPress", Ke = "keyUp", _e = "keyDown", Je = "screenIn", Ze = "viewportEnter", Qe = "viewportLeave", et = "scroll", tt = "validate", nt = "setCustomValidity", ot = "syncValidationData", at = "updateValidityIndication", it = "message", rt = "uploadComplete", st = "itemReady", lt = "itemRemoved", mt = "tagClick", ut = "quickActionBarItemClicked", ct = "markerClicked", dt = "mapClicked", pt = "iconMouseIn", ft = "onStateChange", yt = "itemMouseIn", ht = "itemMouseOut", vt = "itemMouseClick", Nt = "itemMouseDblClick", gt = "onColorChange", $t = "onFontChange", bt = "onOpacityChange", xt = { [be]: "onClick", [xe]: "onDblClick", [Ie]: "onMouseIn", [we]: "onMouseOut", [Ce]: "onChange", [ke]: "onInput", [Se]: "onBlur", [Te]: "onFocus", [Ve]: "onCurrentItemChanged", [Oe]: void 0, [Ee]: "onItemClicked", [Pe]: "onCellSelect", [Le]: void 0, [je]: "onRowSelect", [De]: void 0, [Me]: "onDataChange", [Ae]: "onTimeout", [Re]: "onVerified", [Fe]: "onError", [qe]: "onPlay", [He]: "onPause", [Be]: "onProgress", [We]: "onEnded", [Ue]: "onPause", [Xe]: "onPlay", [Ye]: void 0, [Ge]: void 0, [ze]: "onKeyPress", [Ke]: "onKeyUp", [_e]: "onKeyDown", [Je]: void 0, [Ze]: "onViewportEnter", [Qe]: "onViewportLeave", [et]: void 0, [tt]: void 0, [nt]: void 0, [ot]: void 0, [at]: void 0, [it]: "onMessage", [rt]: void 0, [st]: "onItemReady", [lt]: "onItemRemoved", [mt]: void 0, [ut]: "onItemClicked", [ct]: "onMarkerClicked", [dt]: "onMapClicked", [pt]: void 0, [ft]: "onStateChange", [yt]: "onItemMouseIn", [ht]: "onItemMouseOut", [vt]: "onItemClick", [Nt]: "onItemDblClick", [gt]: "onColorChange", [$t]: "onFontChange", [bt]: "onOpacityChange" }, It = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, wt = (e2) => {
          const { target: t2, type: n2, context: o2 } = e2;
          return { target: t2, type: It[n2] ?? n2, context: o2 };
        }, Ct = (e2) => {
          const { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: i2, screenY: r2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: m2 } = s2;
          return { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: i2, screenY: r2, offsetX: l2, offsetY: m2 };
        }, St = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Tt = (e2) => e2.replace(/^on/i, ""), Vt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Ot = (e2, t2, n2, o2) => {
          const { create$w: a2, createEvent: i2, registerEvent: r2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, n3) => ge(n3)(e3, { type: ["function"] }, t3))(n2, St[e2] ?? e2, l2.role)) return s2();
          const [m2, u2] = Vt(t2), c2 = r2(e2, (e3, t3) => {
            const r3 = i2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: r3.context }), l3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...wt(r3), ...l3 }, s3);
          }), d2 = { eventName: e2, compId: l2.compId, cb: n2, unregister: c2 };
          return u2({ listeners: [...m2.listeners, d2] }), s2();
        }, kt = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(St).find(([t4, n3]) => Tt(n3.toLowerCase()) === Tt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(xt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, Et = (e2, t2, n2, o2) => Ot(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...Ct(e3), ...t3 && o2?.(t3) }));
        function Pt(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const o2 = {};
            for (let i2 = 0; i2 < e2.length; i2++) {
              const r2 = e2[i2](t3), s2 = Object.keys(r2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], i3 = Object.getOwnPropertyDescriptor(r2, t4);
                Object.defineProperty(o2, n2 && i3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, i3);
              }
            }
            var a2;
            return o2;
          };
        }
        const Lt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: o2, compType: a2, isGlobal: i2, getParent: r2, role: s2, wixCodeId: l2 } = t2, m2 = `$w.${a2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return r2();
          }, get global() {
            return i2();
          }, get type() {
            return m2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: s2, type: m2, global: i2() };
          } };
        }, jt = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: o2, create$w: a2, createEvent: i2 } = t2, r2 = (e3, t3) => ge(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => r2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = i2({ type: "viewportEnter" }), t3 = a2();
            n3(e3, t3);
          }), Ot("onViewportEnter", t2, n3)) : o2(), onViewportLeave: (n3) => r2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = i2({ type: "viewportLeave" }), t3 = a2();
            n3(e3, t3);
          }), Ot("onViewportLeave", t2, n3)) : o2() };
        }, Dt = { duration: 1200, delay: 0 }, Mt = { arc: { ...Dt, direction: "left" }, bounce: { ...Dt, direction: "topLeft", intensity: "medium" }, puff: { ...Dt }, zoom: { ...Dt }, fade: { ...Dt }, flip: { ...Dt, direction: "right" }, float: { ...Dt, direction: "right" }, fly: { ...Dt, direction: "right" }, fold: { ...Dt, direction: "left" }, glide: { ...Dt, angle: 0, distance: 0 }, roll: { ...Dt, direction: "left" }, slide: { ...Dt, direction: "left" }, spin: { ...Dt, direction: "cw", cycles: 5 }, turn: { ...Dt, direction: "right" }, ArcIn: { ...Dt, direction: "right" }, ArcOut: { ...Dt, direction: "right" }, BounceIn: { ...Dt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Dt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Dt, direction: "right" }, CollapseOut: { ...Dt }, Conceal: { ...Dt, direction: "right" }, Reveal: { ...Dt, direction: "left" }, FadeIn: { ...Dt }, FadeOut: { ...Dt }, FlipIn: { ...Dt, direction: "left" }, FlipOut: { ...Dt, direction: "left" }, FloatIn: { ...Dt, direction: "right" }, FloatOut: { ...Dt, direction: "right" }, FlyIn: { ...Dt, direction: "right" }, FlyOut: { ...Dt, direction: "right" }, FoldIn: { ...Dt, direction: "left" }, FoldOut: { ...Dt, direction: "left" }, GlideIn: { ...Dt, angle: 0, distance: 150 }, GlideOut: { ...Dt, angle: 0, distance: 150 }, DropIn: { ...Dt }, PopOut: { ...Dt }, SlideIn: { ...Dt, direction: "left" }, SlideOut: { ...Dt, direction: "left" }, SpinIn: { ...Dt, direction: "cw", cycles: 2 }, SpinOut: { ...Dt, direction: "cw", cycles: 2 }, TurnIn: { ...Dt, direction: "right" }, TurnOut: { ...Dt, direction: "right" } }, At = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Rt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Ft = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, qt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Ht = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Bt = { arc: { type: ["object"], properties: { duration: Ft, delay: qt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Ft, delay: qt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Ft, delay: qt } }, zoom: { type: ["object"], properties: { duration: Ft, delay: qt } }, fade: { type: ["object"], properties: { duration: Ft, delay: qt } }, flip: { type: ["object"], properties: { duration: Ft, delay: qt, direction: Ht } }, float: { type: ["object"], properties: { duration: Ft, delay: qt, direction: Ht } }, fly: { type: ["object"], properties: { duration: Ft, delay: qt, direction: Ht } }, fold: { type: ["object"], properties: { duration: Ft, delay: qt, direction: Ht } }, glide: { type: ["object"], properties: { duration: Ft, delay: qt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Ft, delay: qt, direction: Ht } }, slide: { type: ["object"], properties: { duration: Ft, delay: qt, direction: Ht } }, spin: { type: ["object"], properties: { duration: Ft, delay: qt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Ft, delay: qt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Wt = ({ propertyName: e2, compName: t2 }) => (n2, o2) => {
          if (!n2) return false;
          if (void 0 === o2) return true;
          const a2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (o3, a3) => {
            N(w({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${a3?.value}`, infoLink: Rt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!Ne({ reportError: a2, reportWarning: () => ({}) }, t2)(o2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (o3, a3) => {
            N(x({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: Rt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!Ne({ reportError: i2, reportWarning: () => ({}) }, t2)(o2, Bt[n2], e2);
        }, Ut = (e2) => 0 === Object.keys(e2).length, Xt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: o2, metaData: a2, getSdkInstance: i2, runAnimation: r2, createSdkState: s2, styleUtils: l2, setProps: m2 }) => {
          const u2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: o3 }) => {
            const a3 = Wt({ propertyName: o3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Ut(n3)) return N(b({ propertyName: o3, compName: e3, infoLink: Rt(o3) })), false;
            const i3 = "hide" === o3 ? "HIDE" : "SHOW", r3 = At[i3]?.deprecatedValues;
            return t3 && n3 && r3 && r3.find((e4) => e4 === t3) && !Ut(n3) ? (N(I({ compName: e3, effectName: t3, propertyName: o3, infoLink: Rt(o3) })), false) : !!r3.find((e4) => e4 === t3) || (t3 && !(t3 in Bt) ? (N($({ propertyName: o3, compName: e3, effectName: t3, infoLink: Rt(o3) })), false) : !!a3(t3, n3));
          })({ compName: a2.role }), [c2, d2] = s2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (a3, i3) => {
            if (m2({ hidden: true }), c2.collapsed || c2.hidden) d2({ hidden: true });
            else {
              if (u2({ effectName: a3, effectOptions: i3, propertyName: "hide" })) {
                const e3 = { animationDirection: At.HIDE.suffix, effectName: a3, effectOptions: { ...Mt?.[a3] || Dt, ...i3 } };
                await Promise.all([r2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else n2(l2.getHiddenStyles()), t2 && o2.setStyles(l2.getHiddenStyles());
              d2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (a3, i3) => {
            if (m2({ hidden: false }), !c2.collapsed && c2.hidden) {
              if (u2({ effectName: a3, effectOptions: i3, propertyName: "show" })) {
                const e3 = { animationDirection: At.SHOW.suffix, effectName: a3, effectOptions: { ...Mt?.[a3] || Dt, ...i3 } };
                await Promise.all([r2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else n2(l2.getShownStyles()), t2 && o2.setStyles(l2.getShownStyles());
              d2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else d2({ hidden: false });
          }, collapse: async () => {
            m2({ collapsed: true }), c2.collapsed || (n2(l2.getCollapsedStyles()), t2 && o2.setStyles(l2.getCollapsedStyles()), d2({ collapsed: true }), c2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (m2({ collapsed: false }), c2.collapsed) {
              const a3 = { ...l2.getExpandedStyles(), visibility: c2.hidden ? "hidden" : null };
              n2(a3), t2 && o2.setStyles(a3), d2({ collapsed: false }), c2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return c2.collapsed;
          }, get hidden() {
            return Boolean(c2.hidden);
          }, get isVisible() {
            if (!a2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Yt = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Pt([Xt({ viewportState: n2, hasPortal: t3 }), jt((e4, t4) => {
            o2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), Gt = (e2, t2, n2) => {
          const o2 = t2.filter((t3) => !e2.includes(t3));
          o2.length && v(Q({ functionName: n2, wrongEffects: o2, allowedEffects: e2 }));
        }, zt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            Gt(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            Gt(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            Gt(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Kt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), _t = (e2, t2) => "string" != typeof e2 ? (Jt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Qt(e2, t2), false), Jt = (e2, t2, n2, o2) => {
          v(_({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }));
        }, Zt = (e2, t2) => {
          v(T({ propertyName: e2, functionName: t2 }));
        }, Qt = (e2, t2) => {
          v(te({ propertyName: e2, functionName: t2 }));
        }, en = (e2) => {
          const { setProps: t2, props: n2 } = e2;
          return { customClassList: { get value() {
            return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
          }, values() {
            return n2.customClassNames ? n2.customClassNames : [];
          }, add(...e3) {
            const o2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!_t(t3, "customClassList.add")) return;
                o2.add(t3);
              }
              t2({ customClassNames: Array.from(o2) });
            } else Zt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Zt("className", "customClassList.remove");
            const o2 = new Set(n2.customClassNames);
            for (const t3 of e3) {
              if (!_t(t3, "customClassList.remove")) return;
              o2.delete(t3);
            }
            t2({ customClassNames: Array.from(o2) });
          }, contains(e3) {
            if (e3) return _t(e3, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e3) : void 0;
            Zt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!_t(t3, "customClassList.replace") || !_t(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (v(V({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!_t(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Zt("className", "customClassList.toggle"), false);
          } } };
        }, tn = (e2) => ({ onMouseIn: (t2) => Et("onMouseEnter", e2, t2), onMouseOut: (t2) => Et("onMouseLeave", e2, t2), removeEventHandler: (t2, n2) => {
          const { getSdkInstance: o2 } = e2;
          return "string" != typeof t2 ? (v(_({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), o2()) : "function" != typeof n2 ? (v(_({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), o2()) : ((e3, t3, n3) => {
            const { metaData: o3, getSdkInstance: a2 } = t3, [i2, r2] = Vt(t3), s2 = i2.listeners.filter((t4) => kt(t4.eventName, e3) && t4.cb === n3 && t4.compId === o3.compId);
            for (const e4 of s2) e4.unregister();
            return r2({ listeners: i2.listeners.filter((e4) => !s2.includes(e4)) }), a2();
          })(t2, e2, n2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return (({ role: e3, compType: t2, isGlobal: n2, isRendered: o2 }) => ({ id: e3, type: `$w.${t2}`, global: n2(), rendered: o2() }))(e2.metaData);
        } }), nn = jt();
        Pt([Lt, nn, tn, zt, en]);
        const on = /* @__PURE__ */ ((e2, t2) => {
          const n2 = [];
          return { onValidate: (e3) => n2.push(e3), validate: ({ viewerSdkAPI: o2, showValidityIndication: a2 }) => {
            const { props: i2, metaData: { isRepeaterTemplate: r2 } } = o2;
            if (r2) return;
            const s2 = e2(i2, o2);
            let l2 = s2;
            const m2 = ((e3, t3, n3) => {
              let o3 = "";
              const a3 = (e4) => {
                o3 = e4;
              }, i3 = t3.value;
              return e3 && e3(i3, a3), o3;
            })((({ createSdkState: e3 }) => {
              const [{ customValidators: t3 }] = e3(f, y);
              return (e4, n3) => {
                let o3 = false;
                const a3 = (e5) => {
                  o3 = true, n3(e5);
                };
                for (let n4 = 0; n4 < t3.length && !o3; n4++) t3[n4](e4, a3);
              };
            })(o2), i2);
            m2 && (l2 = ((e3, t3) => d(e3, "customError", t3 || ""))(s2, m2)), n2.forEach((e3) => e3({ viewerSdkAPI: o2, showValidityIndication: a2, validationDataResult: l2 }));
          } };
        })((an = [(e2, t2) => !e2.required || e2.value ? t2 : p(t2, "valueMissing")], (e2, t2) => an.reduce((n2, o2) => o2(e2, n2, t2), u)));
        var an;
        const rn = $e(/* @__PURE__ */ ((e2) => (t2) => ({ get required() {
          return t2.props.required || false;
        }, set required(n2) {
          t2.setProps({ required: n2 }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: n2 });
        } }))(on), { properties: { required: { type: ["boolean"] } } });
        const sn = ((e2) => {
          e2.onValidate(({ viewerSdkAPI: e3, validationDataResult: t2, showValidityIndication: n2 }) => {
            const { setProps: o2, compRef: a2 } = e3, i2 = h(e3), r2 = c(i2), s2 = c(t2), l2 = i2.htmlValidationMessageOverride.key, m2 = t2.htmlValidationMessageOverride.key;
            t2.validity.customError ? r2 !== s2 && a2.setCustomValidity({ type: "message", message: s2 }) : m2 ? (i2.validity.customError || l2 !== m2) && a2.setCustomValidity({ type: "key", key: m2 }) : r2 === s2 && l2 === m2 || a2.setCustomValidity({ type: "message", message: "" });
            const u2 = { isValid: t2.validity.valid, ...n2 && { shouldShowValidityIndication: true } };
            (({ createSdkState: e4 }, t3) => {
              const [, n3] = e4(f, y);
              n3({ validationData: t3 });
            })(e3, t2), o2(u2);
          });
          return $e((t2) => {
            const { setProps: n2, props: o2, registerEvent: a2, metaData: { isRepeaterTemplate: i2 } } = t2;
            return i2 || (a2("validateValue", () => {
              e2.validate({ viewerSdkAPI: t2 });
            }), a2("validateValueAndShowIndication", (n3) => {
              const a3 = { ...o2, ...n3 }, i3 = { ...t2, props: a3 };
              e2.validate({ viewerSdkAPI: i3, showValidityIndication: true });
            }), a2("hideValidityIndication", () => {
              n2({ shouldShowValidityIndication: false });
            }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: false })), { get valid() {
              return h(t2).validity.valid;
            }, get validationMessage() {
              return h(t2).validationMessage;
            }, get validity() {
              return h(t2).validity;
            }, onCustomValidation(n3, o3 = true) {
              (({ createSdkState: e3 }, t3, n4 = true) => {
                const [{ customValidators: o4 }, a3] = e3(f, y);
                a3(n4 ? { customValidators: [t3] } : { customValidators: [...o4, t3] });
              })(t2, n3, o3), e2.validate({ viewerSdkAPI: t2 });
            }, updateValidityIndication() {
              n2({ shouldShowValidityIndication: true });
            }, resetValidityIndication() {
              n2({ shouldShowValidityIndication: false });
            } };
          }, { properties: { onCustomValidation: { type: ["function"], args: [{ type: ["function"] }, { type: ["boolean"] }] } } });
        })(on), ln = $e((e2) => {
          const { setProps: t2, props: n2 } = e2;
          return { get value() {
            return n2.value;
          }, get type() {
            return "$w.RatingsInput";
          }, set value(n3) {
            t2({ value: n3 || null }), on.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, onIconMouseIn: (t3) => Ot("iconMouseIn", e2, t3, (e3) => {
            let { componentEvent: t4 } = e3;
            return t4;
          }) };
        }, { properties: { value: { type: ["integer", "nil"], maximum: 5, minimum: 1 } } }), mn = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Pt([Lt, tn, zt, Kt, e2 ? Yt(t2) : nn, en]))(), un = Pt([mn, rn, sn, ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => Ot("onFocus", e2, t2), onBlur: (t2) => Ot("onBlur", e2, t2) }), (e2) => ({ onChange: (t2) => Ot("onChange", e2, t2) }), (e2) => ({ onClick: (t2) => Et("onClick", e2, t2), onDblClick: (t2) => Et("onDblClick", e2, t2) }), ln]);
        var cn = { factory: un };
        return t;
      }();
    });
  })(RatingsInput_bundle_min);
  var RatingsInput_bundle_minExports = RatingsInput_bundle_min.exports;
  const RatingsInput = /* @__PURE__ */ getDefaultExportFromCjs(RatingsInput_bundle_minExports);
  var RichTextBox_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var o2 in n2) e.o(n2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: n2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return xn;
        }, sdk: function() {
          return gn;
        } });
        function n(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function o(e2) {
          return "string" == typeof e2;
        }
        function a(e2) {
          return Array.isArray(e2);
        }
        function i(e2) {
          return null == e2;
        }
        function r(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function l(e2, t2) {
          return e2 < t2;
        }
        const m = { valueMissing: "value missing" }, u = { type: "General", validity: { badInput: false, customError: false, fileNotUploaded: false, fileTypeNotAllowed: false, fileSizeExceedsLimit: false, patternMismatch: false, rangeOverflow: false, rangeUnderflow: false, stepMismatch: false, tooLong: false, tooShort: false, typeMismatch: false, valueMissing: false, exceedsFilesLimit: false, valid: true, invalidTime: false, invalidDate: false }, validationMessage: "", htmlValidationMessageOverride: { key: "" } }, c = (e2) => !!e2.validity.customError ? e2.validationMessage : "", d = (e2, t2, n2) => ({ ...e2, validity: { ...e2.validity, [t2]: true, valid: false }, validationMessage: n2 }), p = (e2, t2, n2) => {
          const a2 = e2.validationMessage || n2 || ((e3, t3) => {
            const n3 = m[e3];
            return o(n3) ? n3 : n3(t3);
          })(t2);
          return d(e2, t2, a2);
        }, f = { validationData: u, customValidators: [() => {
        }] }, y = "validation", h = ({ createSdkState: e2 }) => {
          const [t2] = e2(f, y);
          return t2.validationData;
        }, v = (e2) => n(e2) && isFinite(e2) ? e2.toString() : e2, N = (e2) => o(e2) ? e2 : "", g = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, x = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, $ = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, b = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, w = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, I = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: o2, wrongValue: a2, infoLink: i2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${i2}"')`, T = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${o2}"`, C = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, O = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, S = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, V = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, k = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, E = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, P = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, L = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, j = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, D = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, A = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, B = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, K = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, W = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, U = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, X = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, Y = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, G = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, z = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, _ = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, J = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, Z = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, Q = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, ee = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, te = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, ne = ({ propertyName: e2, functionName: t2, value: n2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, oe = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, ae = ({ compName: e2, functionName: t2, propertyName: o2, index: a2 }) => n(a2) ? S({ propertyName: o2, functionName: t2, index: a2 }) : e2 ? O({ compName: e2, functionName: t2, propertyName: o2 }) : $({ functionName: t2, propertyName: o2 }), ie = ({ functionName: e2, propertyName: t2, index: o2 }) => n(o2) ? E({ functionName: e2, propertyName: t2, index: o2 }) : V({ functionName: e2, propertyName: t2 }), re = ({ functionName: e2, propertyNames: t2, index: o2 }) => t2 && t2.length > 1 ? n(o2) ? D({ functionName: e2, propertyNames: t2, index: o2 }) : L({ functionName: e2, propertyNames: t2 }) : n(o2) ? j({ functionName: e2, propertyName: t2[0], index: o2 }) : P({ functionName: e2, propertyName: t2[0] }), se = ({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: i2, index: r2 }) => i2 && a2 ? i2 === a2 ? n(r2) ? F({ functionName: e2, propertyName: t2, value: o2, expectedValue: i2, index: r2 }) : R({ functionName: e2, propertyName: t2, value: o2, expectedValue: i2 }) : n(r2) ? M({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: i2, index: r2 }) : A({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: i2 }) : !i2 && a2 ? n(r2) ? H({ functionName: e2, propertyName: t2, value: o2, maximum: a2, index: r2 }) : K({ functionName: e2, propertyName: t2, value: o2, maximum: a2 }) : n(r2) ? B({ functionName: e2, propertyName: t2, value: o2, minimum: i2, index: r2 }) : q({ functionName: e2, propertyName: t2, value: o2, minimum: i2 }), le = ({ functionName: e2, propertyName: t2, value: o2, minimum: a2, maximum: i2, index: r2 }) => a2 && i2 ? a2 === i2 ? n(r2) ? Y({ functionName: e2, propertyName: t2, expectedValue: a2, value: o2, index: r2 }) : X({ functionName: e2, propertyName: t2, expectedValue: a2, value: o2 }) : n(r2) ? U({ functionName: e2, propertyName: t2, value: o2, maximum: i2, minimum: a2, index: r2 }) : W({ functionName: e2, propertyName: t2, value: o2, maximum: i2, minimum: a2 }) : !a2 && i2 ? n(r2) ? J({ functionName: e2, propertyName: t2, maximum: i2, value: o2, index: r2 }) : _({ functionName: e2, propertyName: t2, maximum: i2, value: o2 }) : n(r2) ? z({ functionName: e2, propertyName: t2, value: o2, minimum: a2, index: r2 }) : G({ functionName: e2, propertyName: t2, value: o2, minimum: a2 }), me = ({ functionName: e2, propertyName: t2, types: o2, value: a2, index: i2 }) => {
          const r2 = o2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return n(i2) ? Q({ functionName: e2, index: i2, propertyName: t2, value: a2, expectedType: r2 }) : Z({ functionName: e2, propertyName: t2, value: a2, expectedType: r2 });
        }, ue = ({ functionName: e2, propertyName: t2, value: o2, enum: a2, index: i2 }) => {
          const r2 = `from (${a2.join(",")})`;
          return n(i2) ? Q({ functionName: e2, propertyName: t2, value: o2, expectedType: r2, index: i2 }) : Z({ functionName: e2, propertyName: t2, value: o2, expectedType: r2 });
        }, ce = ({ functionName: e2, propertyName: t2, value: o2, index: a2 }) => n(a2) ? ne({ functionName: e2, propertyName: t2, value: o2, index: a2 }) : ee({ functionName: e2, propertyName: t2, value: o2 }), de = Object.prototype.hasOwnProperty, pe = Object.getOwnPropertyNames, fe = () => {
        };
        function ye(e2, t2, n2, o2, i2, r2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !a(e3);
          }(e2)) return ge.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ye(e2, t3, n2, fe, i2, r2)).filter((e3) => e3 === ge.Valid).length ? ge.Valid : ge.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!de.call(e2, t2.required[n3])) return o2(ie({ functionName: r2.functionName, index: r2.index, propertyName: t2.required[n3] }), { ...r2, value: e2 }), ge.Invalid;
          }
          const s2 = pe(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = pe(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return o2(re({ functionName: r2.functionName, index: r2.index, propertyNames: t3 })), ge.Invalid;
            }
          }
          for (let o3 = 0; o3 < s2.length; o3++) {
            const a2 = s2[o3];
            if (de.call(e2, a2)) {
              const o4 = t2.properties[a2], i3 = e2[a2];
              if (!n2(i3, o4, { functionName: r2.functionName, index: r2.index, propertyName: a2 })) return ge.Invalid;
            }
          }
          return ge.Valid;
        }
        function he(e2) {
          return Array.isArray(e2);
        }
        function ve(e2, t2, o2, a2) {
          const { minimum: i2, maximum: m2, enum: u2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? u2 && !r(e2, u2) ? (o2(ue({ value: e2, enum: u2, ...a2 }), { ...a2, value: e2 }), ge.Invalid) : n(i2) && l(e2, i2) || n(m2) && s(e2, m2) ? (o2(le({ value: e2, minimum: i2, maximum: m2, ...a2 }), { ...a2, value: e2 }), ge.Invalid) : ge.Valid : ge.InvalidType;
        }
        function Ne(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? ge.Valid : ge.InvalidType;
        }
        const ge = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function xe({ reportError: e2, reportWarning: t2 }, m2, { suppressIndexErrors: u2 = false } = {}) {
          function c2(n2, o2, a2) {
            o2.warnIfNil && i(n2) && t2(ae({ ...a2, compName: m2 }), { ...a2, value: n2 });
            let r2 = 0;
            for (; r2 < o2.type.length; r2++) {
              const e3 = (0, d2[o2.type[r2]])(n2, o2, a2);
              if (e3 !== ge.InvalidType) return e3 === ge.Valid;
            }
            return r2 === o2.type.length && e2(me({ value: n2, types: o2.type, ...a2 }), { ...a2, value: n2 }), false;
          }
          const d2 = { object: (n2, o2, a2) => ye(n2, o2, c2, e2, t2, a2), array: (e3, t3, n2) => function(e4, t4, n3, o2, i2, r2 = false) {
            if (!a(e4)) return ge.InvalidType;
            let s2 = ge.Valid;
            if (t4.items) {
              const o3 = he(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let a2 = 0; a2 < o3; a2++) {
                const o4 = e4[a2];
                let l2, m3;
                he(t4.items) ? (l2 = t4.items[a2], m3 = t4.items[a2].name) : (l2 = t4.items, m3 = t4.name), n3(o4, l2, { functionName: i2.functionName, propertyName: m3 || i2.propertyName, index: r2 ? void 0 : a2 }) || (s2 = ge.Invalid);
              }
            }
            return s2;
          }(e3, t3, c2, 0, n2, u2), number: (t3, o2, a2) => function(e3, t4, o3, a3) {
            const { minimum: i2, maximum: m3, enum: u3 } = t4;
            return n(e3) ? u3 && !r(e3, u3) ? (o3(ue({ value: e3, enum: u3, ...a3 }), { ...a3, value: e3 }), ge.Invalid) : n(i2) && l(e3, i2) || n(m3) && s(e3, m3) ? (o3(le({ value: e3, minimum: i2, maximum: m3, ...a3 }), { ...a3, value: e3 }), ge.Invalid) : ge.Valid : ge.InvalidType;
          }(t3, o2, e2, a2), integer: (t3, n2, o2) => ve(t3, n2, e2, o2), string: (t3, n2, a2) => function(e3, t4, n3, a3) {
            const { minLength: i2, maxLength: m3, enum: u3, pattern: c3 } = t4;
            return o(e3) ? u3 && !r(e3, u3) ? (n3(ue({ value: e3, enum: u3, ...a3 }), { ...a3, value: e3 }), ge.Invalid) : i2 && l(e3.length, i2) || m3 && s(e3.length, m3) ? (n3(se({ value: e3, minimum: i2, maximum: m3, ...a3 }), { ...a3, value: e3 }), ge.Invalid) : c3 && !new RegExp(c3).test(e3) ? (n3(ce({ value: e3, ...a3 }), { ...a3, value: e3 }), ge.Invalid) : ge.Valid : ge.InvalidType;
          }(t3, n2, e2, a2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? ge.Valid : ge.InvalidType;
          }(e3), date: (e3) => Ne(e3), nil: (e3) => function(e4) {
            return i(e4) ? ge.Valid : ge.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? ge.Valid : ge.InvalidType;
          }(e3) };
          return function(e3, t3, n2) {
            return c2(e3, t3, { functionName: n2, propertyName: n2, index: void 0 });
          };
        }
        function $e(e2, { suppressIndexErrors: t2 = false } = {}) {
          return xe({ reportError: g, reportWarning: x }, e2, { suppressIndexErrors: t2 });
        }
        function be(e2, t2, n2 = {}) {
          return (o2) => {
            const a2 = e2(o2), i2 = $e(o2.metaData.role), r2 = $e(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(a2, s2), m2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? m2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, i3 = n2[s2];
                let m3 = true;
                return a3 && (m3 = r2(e4, { type: ["array"], items: a3 }, s2)), m3 && i3 && (m3 = i3.every((t3) => t3(e4, o2))), m3 ? l2.value(...e4) : void 0;
              } : m2.value = l2.value : (l2.get && (m2.get = () => a2[s2]), l2.set && (m2.set = (e4) => {
                const r3 = n2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = i2(e4, t2.properties[s2], s2)), l3 && r3 && (l3 = r3.every((t3) => t3(e4, o2))), l3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, m2), e3;
            }, {});
          };
        }
        function we(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const o2 = {};
            for (let i2 = 0; i2 < e2.length; i2++) {
              const r2 = e2[i2](t3), s2 = Object.keys(r2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], i3 = Object.getOwnPropertyDescriptor(r2, t4);
                Object.defineProperty(o2, n2 && i3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, i3);
              }
            }
            var a2;
            return o2;
          };
        }
        const Ie = "click", Te = "dblClick", Ce = "mouseenter", Oe = "mouseleave", Se = "change", Ve = "blur", ke = "focus", Ee = "imageChanged", Pe = "imageExpanded", Le = "onInput", je = "itemClicked", De = "cellSelect", Ae = "cellEdit", Me = "rowSelect", Re = "fetchData", Fe = "dataChange", qe = "onTimeout", Be = "onVerified", Ke = "onError", He = "onPlay", We = "onPause", Ue = "onProgress", Xe = "onEnded", Ye = "autoplayOff", Ge = "autoplayOn", ze = "playEnded", _e = "playProgress", Je = "keyPress", Ze = "keyUp", Qe = "keyDown", et = "screenIn", tt = "viewportEnter", nt = "viewportLeave", ot = "scroll", at = "validate", it = "setCustomValidity", rt = "syncValidationData", st = "updateValidityIndication", lt = "message", mt = "uploadComplete", ut = "itemReady", ct = "itemRemoved", dt = "tagClick", pt = "quickActionBarItemClicked", ft = "markerClicked", yt = "mapClicked", ht = "iconMouseIn", vt = "onStateChange", Nt = "itemMouseIn", gt = "itemMouseOut", xt = "itemMouseClick", $t = "itemMouseDblClick", bt = "onColorChange", wt = "onFontChange", It = "onOpacityChange", Tt = { [Ie]: "onClick", [Te]: "onDblClick", [Ce]: "onMouseIn", [Oe]: "onMouseOut", [Se]: "onChange", [Le]: "onInput", [Ve]: "onBlur", [ke]: "onFocus", [Ee]: "onCurrentItemChanged", [Pe]: void 0, [je]: "onItemClicked", [De]: "onCellSelect", [Ae]: void 0, [Me]: "onRowSelect", [Re]: void 0, [Fe]: "onDataChange", [qe]: "onTimeout", [Be]: "onVerified", [Ke]: "onError", [He]: "onPlay", [We]: "onPause", [Ue]: "onProgress", [Xe]: "onEnded", [Ye]: "onPause", [Ge]: "onPlay", [ze]: void 0, [_e]: void 0, [Je]: "onKeyPress", [Ze]: "onKeyUp", [Qe]: "onKeyDown", [et]: void 0, [tt]: "onViewportEnter", [nt]: "onViewportLeave", [ot]: void 0, [at]: void 0, [it]: void 0, [rt]: void 0, [st]: void 0, [lt]: "onMessage", [mt]: void 0, [ut]: "onItemReady", [ct]: "onItemRemoved", [dt]: void 0, [pt]: "onItemClicked", [ft]: "onMarkerClicked", [yt]: "onMapClicked", [ht]: void 0, [vt]: "onStateChange", [Nt]: "onItemMouseIn", [gt]: "onItemMouseOut", [xt]: "onItemClick", [$t]: "onItemDblClick", [bt]: "onColorChange", [wt]: "onFontChange", [It]: "onOpacityChange" }, Ct = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Ot = (e2) => {
          const { target: t2, type: n2, context: o2 } = e2;
          return { target: t2, type: Ct[n2] ?? n2, context: o2 };
        }, St = (e2) => {
          const { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: i2, screenY: r2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: m2 } = s2;
          return { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: i2, screenY: r2, offsetX: l2, offsetY: m2 };
        }, Vt = (e2) => {
          const { altKey: t2, ctrlKey: n2, key: o2, metaKey: a2, shiftKey: i2 } = e2;
          return { key: o2, altKey: t2, ctrlKey: n2, metaKey: a2, shiftKey: i2 };
        }, kt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Et = (e2) => e2.replace(/^on/i, ""), Pt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Lt = (e2, t2, n2, o2) => {
          const { create$w: a2, createEvent: i2, registerEvent: r2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, n3) => $e(n3)(e3, { type: ["function"] }, t3))(n2, kt[e2] ?? e2, l2.role)) return s2();
          const [m2, u2] = Pt(t2), c2 = r2(e2, (e3, t3) => {
            const r3 = i2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: r3.context }), l3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...Ot(r3), ...l3 }, s3);
          }), d2 = { eventName: e2, compId: l2.compId, cb: n2, unregister: c2 };
          return u2({ listeners: [...m2.listeners, d2] }), s2();
        }, jt = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(kt).find(([t4, n3]) => Et(n3.toLowerCase()) === Et(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(Tt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, Dt = (e2, t2, n2, o2) => Lt(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...St(e3), ...t3 && o2?.(t3) })), At = (e2) => ({ onChange: (t2) => Lt("onChange", e2, t2) }), Mt = (e2, t2, n2) => (o2) => {
          const { setProps: a2, props: i2, metaData: r2 } = o2, s2 = $e(r2.role);
          return { get value() {
            return i2.value;
          }, set value(i3) {
            const r3 = e2(i3, o2);
            s2(r3, t2, "value") && (a2({ value: r3 }), n2.validate({ viewerSdkAPI: o2, showValidityIndication: true }));
          } };
        }, Rt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: o2, compType: a2, isGlobal: i2, getParent: r2, role: s2, wixCodeId: l2 } = t2, m2 = `$w.${a2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return r2();
          }, get global() {
            return i2();
          }, get type() {
            return m2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: s2, type: m2, global: i2() };
          } };
        }, Ft = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: o2, create$w: a2, createEvent: i2 } = t2, r2 = (e3, t3) => $e(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => r2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = i2({ type: "viewportEnter" }), t3 = a2();
            n3(e3, t3);
          }), Lt("onViewportEnter", t2, n3)) : o2(), onViewportLeave: (n3) => r2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = i2({ type: "viewportLeave" }), t3 = a2();
            n3(e3, t3);
          }), Lt("onViewportLeave", t2, n3)) : o2() };
        }, qt = { duration: 1200, delay: 0 }, Bt = { arc: { ...qt, direction: "left" }, bounce: { ...qt, direction: "topLeft", intensity: "medium" }, puff: { ...qt }, zoom: { ...qt }, fade: { ...qt }, flip: { ...qt, direction: "right" }, float: { ...qt, direction: "right" }, fly: { ...qt, direction: "right" }, fold: { ...qt, direction: "left" }, glide: { ...qt, angle: 0, distance: 0 }, roll: { ...qt, direction: "left" }, slide: { ...qt, direction: "left" }, spin: { ...qt, direction: "cw", cycles: 5 }, turn: { ...qt, direction: "right" }, ArcIn: { ...qt, direction: "right" }, ArcOut: { ...qt, direction: "right" }, BounceIn: { ...qt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...qt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...qt, direction: "right" }, CollapseOut: { ...qt }, Conceal: { ...qt, direction: "right" }, Reveal: { ...qt, direction: "left" }, FadeIn: { ...qt }, FadeOut: { ...qt }, FlipIn: { ...qt, direction: "left" }, FlipOut: { ...qt, direction: "left" }, FloatIn: { ...qt, direction: "right" }, FloatOut: { ...qt, direction: "right" }, FlyIn: { ...qt, direction: "right" }, FlyOut: { ...qt, direction: "right" }, FoldIn: { ...qt, direction: "left" }, FoldOut: { ...qt, direction: "left" }, GlideIn: { ...qt, angle: 0, distance: 150 }, GlideOut: { ...qt, angle: 0, distance: 150 }, DropIn: { ...qt }, PopOut: { ...qt }, SlideIn: { ...qt, direction: "left" }, SlideOut: { ...qt, direction: "left" }, SpinIn: { ...qt, direction: "cw", cycles: 2 }, SpinOut: { ...qt, direction: "cw", cycles: 2 }, TurnIn: { ...qt, direction: "right" }, TurnOut: { ...qt, direction: "right" } }, Kt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Ht = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Wt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Ut = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Xt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Yt = { arc: { type: ["object"], properties: { duration: Wt, delay: Ut, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Wt, delay: Ut, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Wt, delay: Ut } }, zoom: { type: ["object"], properties: { duration: Wt, delay: Ut } }, fade: { type: ["object"], properties: { duration: Wt, delay: Ut } }, flip: { type: ["object"], properties: { duration: Wt, delay: Ut, direction: Xt } }, float: { type: ["object"], properties: { duration: Wt, delay: Ut, direction: Xt } }, fly: { type: ["object"], properties: { duration: Wt, delay: Ut, direction: Xt } }, fold: { type: ["object"], properties: { duration: Wt, delay: Ut, direction: Xt } }, glide: { type: ["object"], properties: { duration: Wt, delay: Ut, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Wt, delay: Ut, direction: Xt } }, slide: { type: ["object"], properties: { duration: Wt, delay: Ut, direction: Xt } }, spin: { type: ["object"], properties: { duration: Wt, delay: Ut, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Wt, delay: Ut, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Gt = ({ propertyName: e2, compName: t2 }) => (n2, o2) => {
          if (!n2) return false;
          if (void 0 === o2) return true;
          const a2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (o3, a3) => {
            x(C({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${a3?.value}`, infoLink: Ht(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!xe({ reportError: a2, reportWarning: () => ({}) }, t2)(o2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (o3, a3) => {
            x(I({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: Ht(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!xe({ reportError: i2, reportWarning: () => ({}) }, t2)(o2, Yt[n2], e2);
        }, zt = (e2) => 0 === Object.keys(e2).length, _t = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: o2, metaData: a2, getSdkInstance: i2, runAnimation: r2, createSdkState: s2, styleUtils: l2, setProps: m2 }) => {
          const u2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: o3 }) => {
            const a3 = Gt({ propertyName: o3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !zt(n3)) return x(w({ propertyName: o3, compName: e3, infoLink: Ht(o3) })), false;
            const i3 = "hide" === o3 ? "HIDE" : "SHOW", r3 = Kt[i3]?.deprecatedValues;
            return t3 && n3 && r3 && r3.find((e4) => e4 === t3) && !zt(n3) ? (x(T({ compName: e3, effectName: t3, propertyName: o3, infoLink: Ht(o3) })), false) : !!r3.find((e4) => e4 === t3) || (t3 && !(t3 in Yt) ? (x(b({ propertyName: o3, compName: e3, effectName: t3, infoLink: Ht(o3) })), false) : !!a3(t3, n3));
          })({ compName: a2.role }), [c2, d2] = s2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (a3, i3) => {
            if (m2({ hidden: true }), c2.collapsed || c2.hidden) d2({ hidden: true });
            else {
              if (u2({ effectName: a3, effectOptions: i3, propertyName: "hide" })) {
                const e3 = { animationDirection: Kt.HIDE.suffix, effectName: a3, effectOptions: { ...Bt?.[a3] || qt, ...i3 } };
                await Promise.all([r2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else n2(l2.getHiddenStyles()), t2 && o2.setStyles(l2.getHiddenStyles());
              d2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (a3, i3) => {
            if (m2({ hidden: false }), !c2.collapsed && c2.hidden) {
              if (u2({ effectName: a3, effectOptions: i3, propertyName: "show" })) {
                const e3 = { animationDirection: Kt.SHOW.suffix, effectName: a3, effectOptions: { ...Bt?.[a3] || qt, ...i3 } };
                await Promise.all([r2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else n2(l2.getShownStyles()), t2 && o2.setStyles(l2.getShownStyles());
              d2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else d2({ hidden: false });
          }, collapse: async () => {
            m2({ collapsed: true }), c2.collapsed || (n2(l2.getCollapsedStyles()), t2 && o2.setStyles(l2.getCollapsedStyles()), d2({ collapsed: true }), c2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (m2({ collapsed: false }), c2.collapsed) {
              const a3 = { ...l2.getExpandedStyles(), visibility: c2.hidden ? "hidden" : null };
              n2(a3), t2 && o2.setStyles(a3), d2({ collapsed: false }), c2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return c2.collapsed;
          }, get hidden() {
            return Boolean(c2.hidden);
          }, get isVisible() {
            if (!a2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Jt = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return we([_t({ viewportState: n2, hasPortal: t3 }), Ft((e4, t4) => {
            o2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), Zt = (e2, t2, n2) => {
          const o2 = t2.filter((t3) => !e2.includes(t3));
          o2.length && g(te({ functionName: n2, wrongEffects: o2, allowedEffects: e2 }));
        }, Qt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            Zt(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            Zt(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            Zt(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, en = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), tn = (e2, t2) => "string" != typeof e2 ? (nn(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (an(e2, t2), false), nn = (e2, t2, n2, o2) => {
          g(Z({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }));
        }, on = (e2, t2) => {
          g(V({ propertyName: e2, functionName: t2 }));
        }, an = (e2, t2) => {
          g(oe({ propertyName: e2, functionName: t2 }));
        }, rn = (e2) => {
          const { setProps: t2, props: n2 } = e2;
          return { customClassList: { get value() {
            return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
          }, values() {
            return n2.customClassNames ? n2.customClassNames : [];
          }, add(...e3) {
            const o2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!tn(t3, "customClassList.add")) return;
                o2.add(t3);
              }
              t2({ customClassNames: Array.from(o2) });
            } else on("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void on("className", "customClassList.remove");
            const o2 = new Set(n2.customClassNames);
            for (const t3 of e3) {
              if (!tn(t3, "customClassList.remove")) return;
              o2.delete(t3);
            }
            t2({ customClassNames: Array.from(o2) });
          }, contains(e3) {
            if (e3) return tn(e3, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e3) : void 0;
            on("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!tn(t3, "customClassList.replace") || !tn(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (g(k({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!tn(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (on("className", "customClassList.toggle"), false);
          } } };
        }, sn = ({ role: e2, compType: t2, isGlobal: n2, isRendered: o2 }) => ({ id: e2, type: `$w.${t2}`, global: n2(), rendered: o2() }), ln = (e2) => ({ onMouseIn: (t2) => Dt("onMouseEnter", e2, t2), onMouseOut: (t2) => Dt("onMouseLeave", e2, t2), removeEventHandler: (t2, n2) => {
          const { getSdkInstance: o2 } = e2;
          return "string" != typeof t2 ? (g(Z({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), o2()) : "function" != typeof n2 ? (g(Z({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), o2()) : ((e3, t3, n3) => {
            const { metaData: o3, getSdkInstance: a2 } = t3, [i2, r2] = Pt(t3), s2 = i2.listeners.filter((t4) => jt(t4.eventName, e3) && t4.cb === n3 && t4.compId === o3.compId);
            for (const e4 of s2) e4.unregister();
            return r2({ listeners: i2.listeners.filter((e4) => !s2.includes(e4)) }), a2();
          })(t2, e2, n2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return sn(e2.metaData);
        } }), mn = Ft(), un = (we([Rt, mn, ln, Qt, rn]), be(({ setProps: e2, props: t2 }) => ({ get readOnly() {
          return t2.readOnly || false;
        }, set readOnly(t3) {
          e2({ readOnly: t3 });
        } }), { properties: { readOnly: { type: ["boolean"] } } })), cn = be((e2) => ({ get placeholder() {
          return e2.props.placeholder || "";
        }, set placeholder(t2) {
          const n2 = t2 || "";
          e2.setProps({ placeholder: n2 });
        }, get maxLength() {
          return e2.props.maxLength;
        }, set maxLength(t2) {
          const n2 = null == t2 ? null : t2;
          e2.setProps({ maxLength: n2 });
        }, onKeyPress: (t2) => ((e3, t3, n2, o2) => Lt(e3, t3, n2, ({ componentEvent: e4, eventPayload: t4 }) => ({ ...Vt(e4), ...t4 && o2?.(t4) })))("onKeyPress", e2, t2), onInput: (t2) => Lt("onInput", e2, t2) }), { properties: { placeholder: { type: ["string", "nil"], warnIfNil: true }, maxLength: { type: ["integer", "nil"], warnIfNil: true, minimum: 0 } } });
        const dn = /* @__PURE__ */ ((e2, t2) => {
          const n2 = [];
          return { onValidate: (e3) => n2.push(e3), validate: ({ viewerSdkAPI: o2, showValidityIndication: a2 }) => {
            const { props: i2, metaData: { isRepeaterTemplate: r2 } } = o2;
            if (r2) return;
            const s2 = e2(i2, o2);
            let l2 = s2;
            const m2 = ((e3, t3, n3) => {
              let o3 = "";
              const a3 = (e4) => {
                o3 = e4;
              }, i3 = t3.value;
              return e3 && e3(i3, a3), o3;
            })((({ createSdkState: e3 }) => {
              const [{ customValidators: t3 }] = e3(f, y);
              return (e4, n3) => {
                let o3 = false;
                const a3 = (e5) => {
                  o3 = true, n3(e5);
                };
                for (let n4 = 0; n4 < t3.length && !o3; n4++) t3[n4](e4, a3);
              };
            })(o2), i2);
            m2 && (l2 = ((e3, t3) => d(e3, "customError", t3 || ""))(s2, m2)), n2.forEach((e3) => e3({ viewerSdkAPI: o2, showValidityIndication: a2, validationDataResult: l2 }));
          } };
        })((pn = [(e2, t2) => !e2.required || e2.value ? t2 : p(t2, "valueMissing")], (e2, t2) => pn.reduce((n2, o2) => o2(e2, n2, t2), u)));
        var pn;
        const fn = ((e2) => {
          e2.onValidate(({ viewerSdkAPI: e3, validationDataResult: t2, showValidityIndication: n2 }) => {
            const { setProps: o2, compRef: a2 } = e3, i2 = h(e3), r2 = c(i2), s2 = c(t2), l2 = i2.htmlValidationMessageOverride.key, m2 = t2.htmlValidationMessageOverride.key;
            t2.validity.customError ? r2 !== s2 && a2.setCustomValidity({ type: "message", message: s2 }) : m2 ? (i2.validity.customError || l2 !== m2) && a2.setCustomValidity({ type: "key", key: m2 }) : r2 === s2 && l2 === m2 || a2.setCustomValidity({ type: "message", message: "" });
            const u2 = { isValid: t2.validity.valid, ...n2 && { shouldShowValidityIndication: true } };
            (({ createSdkState: e4 }, t3) => {
              const [, n3] = e4(f, y);
              n3({ validationData: t3 });
            })(e3, t2), o2(u2);
          });
          return be((t2) => {
            const { setProps: n2, props: o2, registerEvent: a2, metaData: { isRepeaterTemplate: i2 } } = t2;
            return i2 || (a2("validateValue", () => {
              e2.validate({ viewerSdkAPI: t2 });
            }), a2("validateValueAndShowIndication", (n3) => {
              const a3 = { ...o2, ...n3 }, i3 = { ...t2, props: a3 };
              e2.validate({ viewerSdkAPI: i3, showValidityIndication: true });
            }), a2("hideValidityIndication", () => {
              n2({ shouldShowValidityIndication: false });
            }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: false })), { get valid() {
              return h(t2).validity.valid;
            }, get validationMessage() {
              return h(t2).validationMessage;
            }, get validity() {
              return h(t2).validity;
            }, onCustomValidation(n3, o3 = true) {
              (({ createSdkState: e3 }, t3, n4 = true) => {
                const [{ customValidators: o4 }, a3] = e3(f, y);
                a3(n4 ? { customValidators: [t3] } : { customValidators: [...o4, t3] });
              })(t2, n3, o3), e2.validate({ viewerSdkAPI: t2 });
            }, updateValidityIndication() {
              n2({ shouldShowValidityIndication: true });
            }, resetValidityIndication() {
              n2({ shouldShowValidityIndication: false });
            } };
          }, { properties: { onCustomValidation: { type: ["function"], args: [{ type: ["function"] }, { type: ["boolean"] }] } } });
        })(dn), yn = ((e2, t2, n2) => we([At, be(Mt(e2, t2, n2), { properties: {} })]))((e2, t2) => ((e3) => {
          let { maxLength: t3 } = e3;
          const n2 = [v, N];
          return t3 && n2.push(/* @__PURE__ */ ((e4) => (t4) => e4 ? t4.substr(0, e4) : t4)(t3)), /* @__PURE__ */ ((e4) => (t4) => e4.reduce((e5, t5) => t5(e5), t4))(n2);
        })(t2.props)(e2), { type: ["string"] }, dn), hn = be(/* @__PURE__ */ ((e2) => (t2) => ({ get required() {
          return t2.props.required || false;
        }, set required(n2) {
          t2.setProps({ required: n2 }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: n2 });
        } }))(dn), { properties: { required: { type: ["boolean"] } } });
        const vn = be((e2) => {
          let { props: t2, metaData: n2 } = e2;
          return { toJSON() {
            const { required: e3, readOnly: o2, value: a2 } = t2;
            return { ...sn(n2), required: e3, readOnly: o2, value: a2 };
          } };
        }, { properties: {} }), Nn = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => we([Rt, ln, Qt, en, e2 ? Jt(t2) : mn, rn]))(), gn = we([Nn, At, (e2) => ({ onClick: (t2) => Dt("onClick", e2, t2), onDblClick: (t2) => Dt("onDblClick", e2, t2) }), ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => Lt("onFocus", e2, t2), onBlur: (t2) => Lt("onBlur", e2, t2) }), un, hn, cn, fn, yn, vn]);
        var xn = { factory: gn };
        return t;
      }();
    });
  })(RichTextBox_bundle_min);
  var RichTextBox_bundle_minExports = RichTextBox_bundle_min.exports;
  const RichTextBox = /* @__PURE__ */ getDefaultExportFromCjs(RichTextBox_bundle_minExports);
  var SelectableContainer_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var r2 in n2) e.o(n2, r2) && !e.o(t2, r2) && Object.defineProperty(t2, r2, { enumerable: true, get: n2[r2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return Yn;
        }, sdk: function() {
          return Wn;
        } });
        const n = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, r = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function a(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function o(e2) {
          return "string" == typeof e2;
        }
        function i(e2) {
          return Array.isArray(e2);
        }
        function s(e2) {
          return null == e2;
        }
        function l(e2, t2) {
          return t2.includes(e2);
        }
        function u(e2, t2) {
          return e2 > t2;
        }
        function p(e2, t2) {
          return e2 < t2;
        }
        const c = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, m = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${r2}"')`, d = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, f = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: r2, wrongValue: a2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${r2}: ${a2}. Read more about the effectOptions object: "${o2}"')`, b = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: r2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${r2}"`, y = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: r2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${r2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, h = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, g = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, v = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, N = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, x = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, A = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, w = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, I = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, T = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${r2} and ${a2}.`, S = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: a2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${r2} and ${a2}.`, C = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${r2}.`, E = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${r2}.`, O = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${r2}.`, L = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${r2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${r2}.`, P = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${r2}.`, k = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${r2} and ${a2}.`, V = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: a2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${r2} and ${a2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${r2}.`, D = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${r2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${r2}.`, B = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${r2}.`, _ = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${r2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${r2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, expectedType: r2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${r2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, expectedType: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${r2}.`, G = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, W = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, Y = ({ propertyName: e2, functionName: t2, value: n2, index: r2 }) => `The "${e2}" property of the item at index ${r2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, X = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, K = ({ compName: e2, functionName: t2, propertyName: n2, index: r2 }) => a(r2) ? g({ propertyName: n2, functionName: t2, index: r2 }) : e2 ? h({ compName: e2, functionName: t2, propertyName: n2 }) : c({ functionName: t2, propertyName: n2 }), U = ({ functionName: e2, propertyName: t2, index: n2 }) => a(n2) ? x({ functionName: e2, propertyName: t2, index: n2 }) : v({ functionName: e2, propertyName: t2 }), z = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? a(n2) ? I({ functionName: e2, propertyNames: t2, index: n2 }) : A({ functionName: e2, propertyNames: t2 }) : a(n2) ? w({ functionName: e2, propertyName: t2[0], index: n2 }) : $({ functionName: e2, propertyName: t2[0] }), J = ({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2, index: i2 }) => o2 && r2 ? o2 === r2 ? a(i2) ? E({ functionName: e2, propertyName: t2, value: n2, expectedValue: o2, index: i2 }) : C({ functionName: e2, propertyName: t2, value: n2, expectedValue: o2 }) : a(i2) ? S({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2, index: i2 }) : T({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2 }) : !o2 && r2 ? a(i2) ? P({ functionName: e2, propertyName: t2, value: n2, maximum: r2, index: i2 }) : j({ functionName: e2, propertyName: t2, value: n2, maximum: r2 }) : a(i2) ? L({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: i2 }) : O({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), Z = ({ functionName: e2, propertyName: t2, value: n2, minimum: r2, maximum: o2, index: i2 }) => r2 && o2 ? r2 === o2 ? a(i2) ? D({ functionName: e2, propertyName: t2, expectedValue: r2, value: n2, index: i2 }) : R({ functionName: e2, propertyName: t2, expectedValue: r2, value: n2 }) : a(i2) ? V({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2, index: i2 }) : k({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2 }) : !r2 && o2 ? a(i2) ? F({ functionName: e2, propertyName: t2, maximum: o2, value: n2, index: i2 }) : _({ functionName: e2, propertyName: t2, maximum: o2, value: n2 }) : a(i2) ? B({ functionName: e2, propertyName: t2, value: n2, minimum: r2, index: i2 }) : M({ functionName: e2, propertyName: t2, value: n2, minimum: r2 }), Q = ({ functionName: e2, propertyName: t2, types: n2, value: r2, index: o2 }) => {
          const i2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return a(o2) ? q({ functionName: e2, index: o2, propertyName: t2, value: r2, expectedType: i2 }) : H({ functionName: e2, propertyName: t2, value: r2, expectedType: i2 });
        }, ee = ({ functionName: e2, propertyName: t2, value: n2, enum: r2, index: o2 }) => {
          const i2 = `from (${r2.join(",")})`;
          return a(o2) ? q({ functionName: e2, propertyName: t2, value: n2, expectedType: i2, index: o2 }) : H({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, te = ({ functionName: e2, propertyName: t2, value: n2, index: r2 }) => a(r2) ? Y({ functionName: e2, propertyName: t2, value: n2, index: r2 }) : G({ functionName: e2, propertyName: t2, value: n2 }), ne = Object.prototype.hasOwnProperty, re = Object.getOwnPropertyNames, ae = () => {
        };
        function oe(e2, t2, n2, r2, a2, o2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !i(e3);
          }(e2)) return ue.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => oe(e2, t3, n2, ae, a2, o2)).filter((e3) => e3 === ue.Valid).length ? ue.Valid : ue.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!ne.call(e2, t2.required[n3])) return r2(U({ functionName: o2.functionName, index: o2.index, propertyName: t2.required[n3] }), { ...o2, value: e2 }), ue.Invalid;
          }
          const s2 = re(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = re(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return r2(z({ functionName: o2.functionName, index: o2.index, propertyNames: t3 })), ue.Invalid;
            }
          }
          for (let r3 = 0; r3 < s2.length; r3++) {
            const a3 = s2[r3];
            if (ne.call(e2, a3)) {
              const r4 = t2.properties[a3], i2 = e2[a3];
              if (!n2(i2, r4, { functionName: o2.functionName, index: o2.index, propertyName: a3 })) return ue.Invalid;
            }
          }
          return ue.Valid;
        }
        function ie(e2) {
          return Array.isArray(e2);
        }
        function se(e2, t2, n2, r2) {
          const { minimum: o2, maximum: i2, enum: s2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? s2 && !l(e2, s2) ? (n2(ee({ value: e2, enum: s2, ...r2 }), { ...r2, value: e2 }), ue.Invalid) : a(o2) && p(e2, o2) || a(i2) && u(e2, i2) ? (n2(Z({ value: e2, minimum: o2, maximum: i2, ...r2 }), { ...r2, value: e2 }), ue.Invalid) : ue.Valid : ue.InvalidType;
        }
        function le(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? ue.Valid : ue.InvalidType;
        }
        const ue = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function pe({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: r2 = false } = {}) {
          function c2(r3, a2, o2) {
            a2.warnIfNil && s(r3) && t2(K({ ...o2, compName: n2 }), { ...o2, value: r3 });
            let i2 = 0;
            for (; i2 < a2.type.length; i2++) {
              const e3 = (0, m2[a2.type[i2]])(r3, a2, o2);
              if (e3 !== ue.InvalidType) return e3 === ue.Valid;
            }
            return i2 === a2.type.length && e2(Q({ value: r3, types: a2.type, ...o2 }), { ...o2, value: r3 }), false;
          }
          const m2 = { object: (n3, r3, a2) => oe(n3, r3, c2, e2, t2, a2), array: (e3, t3, n3) => function(e4, t4, n4, r3, a2, o2 = false) {
            if (!i(e4)) return ue.InvalidType;
            let s2 = ue.Valid;
            if (t4.items) {
              const r4 = ie(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let i2 = 0; i2 < r4; i2++) {
                const r5 = e4[i2];
                let l2, u2;
                ie(t4.items) ? (l2 = t4.items[i2], u2 = t4.items[i2].name) : (l2 = t4.items, u2 = t4.name), n4(r5, l2, { functionName: a2.functionName, propertyName: u2 || a2.propertyName, index: o2 ? void 0 : i2 }) || (s2 = ue.Invalid);
              }
            }
            return s2;
          }(e3, t3, c2, 0, n3, r2), number: (t3, n3, r3) => function(e3, t4, n4, r4) {
            const { minimum: o2, maximum: i2, enum: s2 } = t4;
            return a(e3) ? s2 && !l(e3, s2) ? (n4(ee({ value: e3, enum: s2, ...r4 }), { ...r4, value: e3 }), ue.Invalid) : a(o2) && p(e3, o2) || a(i2) && u(e3, i2) ? (n4(Z({ value: e3, minimum: o2, maximum: i2, ...r4 }), { ...r4, value: e3 }), ue.Invalid) : ue.Valid : ue.InvalidType;
          }(t3, n3, e2, r3), integer: (t3, n3, r3) => se(t3, n3, e2, r3), string: (t3, n3, r3) => function(e3, t4, n4, r4) {
            const { minLength: a2, maxLength: i2, enum: s2, pattern: c3 } = t4;
            return o(e3) ? s2 && !l(e3, s2) ? (n4(ee({ value: e3, enum: s2, ...r4 }), { ...r4, value: e3 }), ue.Invalid) : a2 && p(e3.length, a2) || i2 && u(e3.length, i2) ? (n4(J({ value: e3, minimum: a2, maximum: i2, ...r4 }), { ...r4, value: e3 }), ue.Invalid) : c3 && !new RegExp(c3).test(e3) ? (n4(te({ value: e3, ...r4 }), { ...r4, value: e3 }), ue.Invalid) : ue.Valid : ue.InvalidType;
          }(t3, n3, e2, r3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? ue.Valid : ue.InvalidType;
          }(e3), date: (e3) => le(e3), nil: (e3) => function(e4) {
            return s(e4) ? ue.Valid : ue.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? ue.Valid : ue.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return c2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function ce(e2, { suppressIndexErrors: t2 = false } = {}) {
          return pe({ reportError: n, reportWarning: r }, e2, { suppressIndexErrors: t2 });
        }
        function me(e2, t2, n2 = {}) {
          return (r2) => {
            const a2 = e2(r2), o2 = ce(r2.metaData.role), i2 = ce(r2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(a2, s2), u2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? u2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, o3 = n2[s2];
                let u3 = true;
                return a3 && (u3 = i2(e4, { type: ["array"], items: a3 }, s2)), u3 && o3 && (u3 = o3.every((t3) => t3(e4, r2))), u3 ? l2.value(...e4) : void 0;
              } : u2.value = l2.value : (l2.get && (u2.get = () => a2[s2]), l2.set && (u2.set = (e4) => {
                const i3 = n2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = o2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, r2))), l3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, u2), e3;
            }, {});
          };
        }
        const de = "click", fe = "dblClick", be = "mouseenter", ye = "mouseleave", he = "change", ge = "blur", ve = "focus", Ne = "imageChanged", xe = "imageExpanded", $e = "onInput", Ae = "itemClicked", we = "cellSelect", Ie = "cellEdit", Te = "rowSelect", Se = "fetchData", Ce = "dataChange", Ee = "onTimeout", Oe = "onVerified", Le = "onError", je = "onPlay", Pe = "onPause", ke = "onProgress", Ve = "onEnded", Re = "autoplayOff", De = "autoplayOn", Me = "playEnded", Be = "playProgress", _e = "keyPress", Fe = "keyUp", He = "keyDown", qe = "screenIn", Ge = "viewportEnter", We = "viewportLeave", Ye = "scroll", Xe = "validate", Ke = "setCustomValidity", Ue = "syncValidationData", ze = "updateValidityIndication", Je = "message", Ze = "uploadComplete", Qe = "itemReady", et = "itemRemoved", tt = "tagClick", nt = "quickActionBarItemClicked", rt = "markerClicked", at = "mapClicked", ot = "iconMouseIn", it = "onStateChange", st = "itemMouseIn", lt = "itemMouseOut", ut = "itemMouseClick", pt = "itemMouseDblClick", ct = "onColorChange", mt = "onFontChange", dt = "onOpacityChange", ft = { [de]: "onClick", [fe]: "onDblClick", [be]: "onMouseIn", [ye]: "onMouseOut", [he]: "onChange", [$e]: "onInput", [ge]: "onBlur", [ve]: "onFocus", [Ne]: "onCurrentItemChanged", [xe]: void 0, [Ae]: "onItemClicked", [we]: "onCellSelect", [Ie]: void 0, [Te]: "onRowSelect", [Se]: void 0, [Ce]: "onDataChange", [Ee]: "onTimeout", [Oe]: "onVerified", [Le]: "onError", [je]: "onPlay", [Pe]: "onPause", [ke]: "onProgress", [Ve]: "onEnded", [Re]: "onPause", [De]: "onPlay", [Me]: void 0, [Be]: void 0, [_e]: "onKeyPress", [Fe]: "onKeyUp", [He]: "onKeyDown", [qe]: void 0, [Ge]: "onViewportEnter", [We]: "onViewportLeave", [Ye]: void 0, [Xe]: void 0, [Ke]: void 0, [Ue]: void 0, [ze]: void 0, [Je]: "onMessage", [Ze]: void 0, [Qe]: "onItemReady", [et]: "onItemRemoved", [tt]: void 0, [nt]: "onItemClicked", [rt]: "onMarkerClicked", [at]: "onMapClicked", [ot]: void 0, [it]: "onStateChange", [st]: "onItemMouseIn", [lt]: "onItemMouseOut", [ut]: "onItemClick", [pt]: "onItemDblClick", [ct]: "onColorChange", [mt]: "onFontChange", [dt]: "onOpacityChange" }, bt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, yt = (e2) => {
          const { target: t2, type: n2, context: r2 } = e2;
          return { target: t2, type: bt[n2] ?? n2, context: r2 };
        }, ht = (e2) => {
          const { clientX: t2, clientY: n2, pageX: r2, pageY: a2, screenX: o2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: u2 } = s2;
          return { clientX: t2, clientY: n2, pageX: r2, pageY: a2, screenX: o2, screenY: i2, offsetX: l2, offsetY: u2 };
        }, gt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, vt = (e2) => e2.replace(/^on/i, ""), Nt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), xt = (e2, t2, n2, r2) => {
          const { create$w: a2, createEvent: o2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, n3) => ce(n3)(e3, { type: ["function"] }, t3))(n2, gt[e2] ?? e2, l2.role)) return s2();
          const [u2, p2] = Nt(t2), c2 = i2(e2, (e3, t3) => {
            const i3 = o2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: i3.context }), l3 = r2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...yt(i3), ...l3 }, s3);
          }), m2 = { eventName: e2, compId: l2.compId, cb: n2, unregister: c2 };
          return p2({ listeners: [...u2.listeners, m2] }), s2();
        }, $t = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(gt).find(([t4, n3]) => vt(n3.toLowerCase()) === vt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(ft[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, At = (e2, t2, n2, r2) => xt(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...ht(e3), ...t3 && r2?.(t3) }));
        function wt(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = t2 ?? {};
          return (t3) => {
            const r2 = {};
            for (let o2 = 0; o2 < e2.length; o2++) {
              const i2 = e2[o2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], o3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(r2, n2 && o3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, o3);
              }
            }
            var a2;
            return r2;
          };
        }
        var It;
        !function(e2) {
          e2.element = "element", e2.clickable = "clickable", e2.changeable = "changeable", e2.focusable = "focusable", e2.disableable = "disableable", e2.accessible = "accessible";
        }(It || (It = {}));
        const Tt = (e2) => ({ onClick: (t2) => At("onClick", e2, t2), onDblClick: (t2) => At("onDblClick", e2, t2) }), St = (e2) => ({ onChange: (t2) => xt("onChange", e2, t2) }), Ct = (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => xt("onFocus", e2, t2), onBlur: (t2) => xt("onBlur", e2, t2) }), Et = ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), Ot = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: r2, compType: a2, isGlobal: o2, getParent: i2, role: s2, wixCodeId: l2 } = t2, u2 = `$w.${a2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return r2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return i2();
          }, get global() {
            return o2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: s2, type: u2, global: o2() };
          } };
        }, Lt = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: r2, create$w: a2, createEvent: o2 } = t2, i2 = (e3, t3) => ce(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => i2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = o2({ type: "viewportEnter" }), t3 = a2();
            n3(e3, t3);
          }), xt("onViewportEnter", t2, n3)) : r2(), onViewportLeave: (n3) => i2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = o2({ type: "viewportLeave" }), t3 = a2();
            n3(e3, t3);
          }), xt("onViewportLeave", t2, n3)) : r2() };
        }, jt = { duration: 1200, delay: 0 }, Pt = { arc: { ...jt, direction: "left" }, bounce: { ...jt, direction: "topLeft", intensity: "medium" }, puff: { ...jt }, zoom: { ...jt }, fade: { ...jt }, flip: { ...jt, direction: "right" }, float: { ...jt, direction: "right" }, fly: { ...jt, direction: "right" }, fold: { ...jt, direction: "left" }, glide: { ...jt, angle: 0, distance: 0 }, roll: { ...jt, direction: "left" }, slide: { ...jt, direction: "left" }, spin: { ...jt, direction: "cw", cycles: 5 }, turn: { ...jt, direction: "right" }, ArcIn: { ...jt, direction: "right" }, ArcOut: { ...jt, direction: "right" }, BounceIn: { ...jt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...jt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...jt, direction: "right" }, CollapseOut: { ...jt }, Conceal: { ...jt, direction: "right" }, Reveal: { ...jt, direction: "left" }, FadeIn: { ...jt }, FadeOut: { ...jt }, FlipIn: { ...jt, direction: "left" }, FlipOut: { ...jt, direction: "left" }, FloatIn: { ...jt, direction: "right" }, FloatOut: { ...jt, direction: "right" }, FlyIn: { ...jt, direction: "right" }, FlyOut: { ...jt, direction: "right" }, FoldIn: { ...jt, direction: "left" }, FoldOut: { ...jt, direction: "left" }, GlideIn: { ...jt, angle: 0, distance: 150 }, GlideOut: { ...jt, angle: 0, distance: 150 }, DropIn: { ...jt }, PopOut: { ...jt }, SlideIn: { ...jt, direction: "left" }, SlideOut: { ...jt, direction: "left" }, SpinIn: { ...jt, direction: "cw", cycles: 2 }, SpinOut: { ...jt, direction: "cw", cycles: 2 }, TurnIn: { ...jt, direction: "right" }, TurnOut: { ...jt, direction: "right" } }, kt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Vt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Rt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Dt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Mt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Bt = { arc: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Rt, delay: Dt } }, zoom: { type: ["object"], properties: { duration: Rt, delay: Dt } }, fade: { type: ["object"], properties: { duration: Rt, delay: Dt } }, flip: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Mt } }, float: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Mt } }, fly: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Mt } }, fold: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Mt } }, glide: { type: ["object"], properties: { duration: Rt, delay: Dt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Mt } }, slide: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Mt } }, spin: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, _t = ({ propertyName: e2, compName: t2 }) => (n2, a2) => {
          if (!n2) return false;
          if (void 0 === a2) return true;
          const o2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, o3) => {
            r(y({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${o3?.value}`, infoLink: Vt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!pe({ reportError: o2, reportWarning: () => ({}) }, t2)(a2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, o3) => {
            r(f({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${o3?.propertyName}" cannot be set to the value "${o3?.value}"`, infoLink: Vt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!pe({ reportError: i2, reportWarning: () => ({}) }, t2)(a2, Bt[n2], e2);
        }, Ft = (e2) => 0 === Object.keys(e2).length, Ht = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: a2, metaData: o2, getSdkInstance: i2, runAnimation: s2, createSdkState: l2, styleUtils: u2, setProps: p2 }) => {
          const c2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: a3 }) => {
            const o3 = _t({ propertyName: a3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Ft(n3)) return r(d({ propertyName: a3, compName: e3, infoLink: Vt(a3) })), false;
            const i3 = "hide" === a3 ? "HIDE" : "SHOW", s3 = kt[i3]?.deprecatedValues;
            return t3 && n3 && s3 && s3.find((e4) => e4 === t3) && !Ft(n3) ? (r(b({ compName: e3, effectName: t3, propertyName: a3, infoLink: Vt(a3) })), false) : !!s3.find((e4) => e4 === t3) || (t3 && !(t3 in Bt) ? (r(m({ propertyName: a3, compName: e3, effectName: t3, infoLink: Vt(a3) })), false) : !!o3(t3, n3));
          })({ compName: o2.role }), [f2, y2] = l2({ hidden: o2.hiddenOnLoad, collapsed: o2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (r2, o3) => {
            if (p2({ hidden: true }), f2.collapsed || f2.hidden) y2({ hidden: true });
            else {
              if (c2({ effectName: r2, effectOptions: o3, propertyName: "hide" })) {
                const e3 = { animationDirection: kt.HIDE.suffix, effectName: r2, effectOptions: { ...Pt?.[r2] || jt, ...o3 } };
                await Promise.all([s2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(u2.getHiddenStyles()), t2 && a2.setStyles(u2.getHiddenStyles());
              y2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (r2, o3) => {
            if (p2({ hidden: false }), !f2.collapsed && f2.hidden) {
              if (c2({ effectName: r2, effectOptions: o3, propertyName: "show" })) {
                const e3 = { animationDirection: kt.SHOW.suffix, effectName: r2, effectOptions: { ...Pt?.[r2] || jt, ...o3 } };
                await Promise.all([s2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(u2.getShownStyles()), t2 && a2.setStyles(u2.getShownStyles());
              y2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else y2({ hidden: false });
          }, collapse: async () => {
            p2({ collapsed: true }), f2.collapsed || (n2(u2.getCollapsedStyles()), t2 && a2.setStyles(u2.getCollapsedStyles()), y2({ collapsed: true }), f2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (p2({ collapsed: false }), f2.collapsed) {
              const r2 = { ...u2.getExpandedStyles(), visibility: f2.hidden ? "hidden" : null };
              n2(r2), t2 && a2.setStyles(r2), y2({ collapsed: false }), f2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return f2.collapsed;
          }, get hidden() {
            return Boolean(f2.hidden);
          }, get isVisible() {
            if (!o2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, qt = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, r2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return wt([Ht({ viewportState: n2, hasPortal: t3 }), Lt((e4, t4) => {
            r2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), Gt = (e2, t2, r2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && n(W({ functionName: r2, wrongEffects: a2, allowedEffects: e2 }));
        }, Wt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            Gt(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            Gt(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            Gt(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Yt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Xt = (e2, t2) => "string" != typeof e2 ? (Kt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (zt(e2, t2), false), Kt = (e2, t2, r2, a2) => {
          n(H({ propertyName: e2, functionName: t2, value: r2, expectedType: a2 }));
        }, Ut = (e2, t2) => {
          n(v({ propertyName: e2, functionName: t2 }));
        }, zt = (e2, t2) => {
          n(X({ propertyName: e2, functionName: t2 }));
        }, Jt = (e2) => {
          const { setProps: t2, props: r2 } = e2;
          return { customClassList: { get value() {
            return r2.customClassNames ? r2.customClassNames?.join(" ") : "";
          }, values() {
            return r2.customClassNames ? r2.customClassNames : [];
          }, add(...e3) {
            const n2 = r2.customClassNames ? new Set(r2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Xt(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else Ut("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Ut("className", "customClassList.remove");
            const n2 = new Set(r2.customClassNames);
            for (const t3 of e3) {
              if (!Xt(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return Xt(e3, "customClassList.contains") ? !!r2.customClassNames && r2.customClassNames.includes(e3) : void 0;
            Ut("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Xt(t3, "customClassList.replace") || !Xt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (n(N({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Xt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Ut("className", "customClassList.toggle"), false);
          } } };
        }, Zt = ({ role: e2, compType: t2, isGlobal: n2, isRendered: r2 }) => ({ id: e2, type: `$w.${t2}`, global: n2(), rendered: r2() }), Qt = (e2) => ({ onMouseIn: (t2) => At("onMouseEnter", e2, t2), onMouseOut: (t2) => At("onMouseLeave", e2, t2), removeEventHandler: (t2, r2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (n(H({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof r2 ? (n(H({ propertyName: "handler", functionName: "removeEventHandler", value: r2, expectedType: "function" })), a2()) : ((e3, t3, n2) => {
            const { metaData: r3, getSdkInstance: a3 } = t3, [o2, i2] = Nt(t3), s2 = o2.listeners.filter((t4) => $t(t4.eventName, e3) && t4.cb === n2 && t4.compId === r3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: o2.listeners.filter((e4) => !s2.includes(e4)) }), a3();
          })(t2, e2, r2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Zt(e2.metaData);
        } }), en = Lt(), tn = (wt([Ot, en, Qt, Wt, Jt]), me(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: s(n2) ? void 0 : n2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } }));
        var nn;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(nn || (nn = {}));
        const rn = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, an = (e2) => on(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), on = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), sn = (e2, t2, r2, a2, o2) => o2 ? !!r2(o2) || (n(a2), false) : !!t2 || (n(Q({ value: o2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), ln = (e2, t2 = true) => (n2) => sn(e2, t2, on, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, n2), un = (e2, t2 = true) => (n2) => sn(e2, t2, an, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, n2), pn = me(({ setProps: e2, props: t2, create$w: n2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return n2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [un("describedBy")] }), cn = me(({ setProps: e2, props: t2, create$w: n2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return n2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [un("labelledBy")] }), mn = me(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), dn = me(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), fn = me(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), bn = me(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), yn = me(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: s(n2) ? void 0 : n2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), hn = me(({ setProps: e2, props: t2, create$w: n2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return n2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [ln("owns")] }), gn = me(({ setProps: e2, props: t2, create$w: n2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return n2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [ln("controls")] }), vn = me(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: s(n2) ? void 0 : n2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), Nn = me(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: s(n2) ? void 0 : n2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), xn = me(({ setProps: e2, props: t2, create$w: n2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return n2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [un("errorMessage")] }), $n = me(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), An = me(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), wn = me(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), In = me(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Tn = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(r2) {
          null === r2 || o(r2) ? e2({ screenReader: { ...t2.screenReader, prefix: r2 } }) : n(rn("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(r2) {
          null === r2 || o(r2) ? e2({ screenReader: { ...t2.screenReader, suffix: r2 } }) : n(rn("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(n2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: s(n2) ? void 0 : n2 } });
        } } }), Sn = (me(Tn, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), me(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: s(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), Cn = me(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: s(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), En = { enableAriaLabel: tn, enableAriaDescribedBy: pn, enableAriaLabelledBy: cn, enableAriaAtomic: mn, enableAriaBusy: dn, enableAriaCurrent: fn, enableAriaExpanded: bn, enableAriaLive: yn, enableAriaOwns: hn, enableAriaControls: gn, enableAriaRoleDescription: vn, enableAriaRelevant: Nn, enableAriaErrorMessage: xn, enableAriaHidden: $n, enableAriaPressed: An, enableAriaHaspopup: wn, enableAriaRequired: In }, On = { enableScreenReader: Tn, enableRole: Sn, enableTabIndex: Cn }, Ln = ({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: n2 = true, enableAriaAtomic: r2 = false, enableAriaBusy: a2 = false, enableAriaHidden: o2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: u2 = false, enableAriaLive: p2 = false, enableAriaOwns: c2 = false, enableAriaControls: m2 = false, enableAriaRoleDescription: d2 = false, enableAriaRelevant: f2 = false, enableRole: b2 = false, enableTabIndex: y2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: g2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
          const x2 = [], $2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: n2, enableAriaAtomic: r2, enableAriaBusy: a2, enableAriaCurrent: l2, enableAriaExpanded: u2, enableAriaLive: p2, enableAriaOwns: c2, enableAriaControls: m2, enableAriaRoleDescription: d2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: o2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, A2 = { enableScreenReader: g2, enableRole: b2, enableTabIndex: y2 };
          if (Object.values($2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, n3]) => n3 && En[e5] && t3.push(En[e5])), (e5) => {
                const n3 = wt(t3, { modifyAriaSourceKeys: true })(e5);
                return n3.ariaAttributes = wt(t3)(e5), n3;
              };
            })($2);
            x2.push(e3);
          }
          Object.entries(A2).forEach(([e3, t3]) => t3 && On[e3] && x2.push(On[e3]));
          return { accessibility: wt(x2)(N2) };
        }, jn = (e2) => `--${((e3) => `${e3.replace(/([A-Z])/g, "-$1").toLowerCase()}`)(e2)}`;
        var Pn, kn;
        !function(e2) {
          e2.multiLingualVariable = "multiLangVar", e2.staticVariable = "staticVar", e2.cssVariable = "cssVar";
        }(Pn || (Pn = {})), function(e2) {
          e2[e2.string_length = 0] = "string_length", e2[e2.string_min = 1] = "string_min", e2[e2.string_max = 2] = "string_max", e2[e2.num_min = 3] = "num_min", e2[e2.num_max = 4] = "num_max", e2[e2.one_of = 5] = "one_of";
        }(kn || (kn = {}));
        const Vn = { [It.clickable]: () => Tt, [It.changeable]: () => St, [It.focusable]: () => Ct, [It.disableable]: () => Et, [It.element]: ({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => wt([Ot, Qt, Wt, Yt, e2 ? qt(t2) : en, Jt]), [It.accessible]: () => Ln() }, Rn = (e2, t2) => e2 ? e2.map((e3) => t2[e3]()) : [], Dn = (({ sdkMap: e2, defaultMixins: t2 }) => ({ sdkSchema: n2, validationSchema: r2, mixins: a2 }) => {
          const o2 = t2.map((t3) => e2[t3]()), i2 = Object.keys(n2);
          if (0 === i2.length) return wt([...o2, ...Rn(a2, e2)]);
          const s2 = (e3) => "function" === n2[e3].type, l2 = i2.filter((e3) => s2(e3)), u2 = i2.filter((e3) => !s2(e3)), p2 = (e3) => {
            const { props: t3, metaData: r3, setProps: a3, setStyles: o3, createSdkState: i3 } = e3, [s3, p3] = i3({});
            const c2 = { toJSON() {
              const e4 = Object.fromEntries(u2.map((e5) => [e5, t3[e5]]));
              return { ...Zt(r3), ...e4 };
            } };
            return l2.forEach((t4) => function(t5) {
              c2[t5] = (n3) => xt(t5, e3, n3);
            }(t4)), u2.forEach((e4) => function(e5) {
              Object.defineProperty(c2, e5, { enumerable: true, get: () => n2[e5].persistence === Pn.cssVariable ? s3[e5] : t3[e5], set: n2[e5].readonly ? void 0 : (t4) => {
                n2[e5].persistence === Pn.cssVariable ? (o3({ [jn(e5)]: `${t4} !important` }), p3({ [e5]: t4 })) : a3({ [e5]: t4 });
              } });
            }(e4)), c2;
          };
          return wt([...o2, r2 ? me(p2, r2) : p2, ...Rn(a2, e2)]);
        })({ sdkMap: Vn, defaultMixins: [It.element] });
        var Mn = function(e2, t2) {
          return void 0 === t2 && (t2 = "_"), (n2, r2) => {
            const a2 = r2.reduce((r3, a3) => (r3[a3] = "" + e2 + t2 + n2 + t2 + a3, r3), {});
            return { [n2]: a2 };
          };
        };
        const Bn = "wixui_SelectableContainer", _n = Mn(Bn), Fn = Mn("StylablePanel"), Hn = Mn(Bn), qn = Mn(Bn), Gn = (_n("layout", ["controlTitle", "visible", "hidden"]), Fn("design", ["State_Dropdown_Regular", "State_Dropdown_Hover", "Fills_Tab_Title", "Borders_Tab_Title", "Corners_Tab_Title", "Shadows_Tab_Title"]).design, _n("design", ["selectedState"]).design, Hn("manage", ["panelTitle", "chooseState", "defaultState", "selectedState"]), qn("gfpp", ["mainActions_manageLabel", "mainActions_layoutLabel"]), "--corvid-input-display");
        const Wn = wt([Dn({ sdkSchema: { selected: { type: "boolean" }, inputType: { type: "string" }, inputLabel: { type: "string" } }, validationSchema: { type: ["object"], properties: { selected: { type: ["boolean"] }, inputType: { type: ["string"], enum: ["radio", "checkbox"] }, inputLabel: { maxLength: 120, minLength: 1, type: ["string"] } } }, mixins: [It.focusable] }), (e2) => ({ onSelect: (t2) => xt("onSelect", e2, t2, (e3) => {
          let { componentEvent: t3 } = e3;
          return t3;
        }), onMouseEnter: (t2) => xt("onMouseEnter", e2, t2, (e3) => {
          let { componentEvent: t3 } = e3;
          return t3;
        }), onMouseLeave: (t2) => xt("onMouseLeave", e2, t2, (e3) => {
          let { componentEvent: t3 } = e3;
          return t3;
        }) }), me((e2) => {
          const { createSdkState: t2, setStyles: n2 } = e2, [r2, a2] = t2({ inputVisible: void 0 }, "SelectableContainer");
          return { get inputVisible() {
            return r2.inputVisible;
          }, set inputVisible(e3) {
            a2({ inputVisible: e3 }), n2({ [Gn]: e3 ? "inline-flex" : "none" });
          } };
        }, { properties: { inputVisible: { type: ["boolean"] } } })]);
        var Yn = { factory: Wn };
        return t;
      }();
    });
  })(SelectableContainer_bundle_min);
  var SelectableContainer_bundle_minExports = SelectableContainer_bundle_min.exports;
  const SelectableContainer = /* @__PURE__ */ getDefaultExportFromCjs(SelectableContainer_bundle_minExports);
  var SelectionTagsList_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, o2) {
          for (var r2 in o2) e.o(o2, r2) && !e.o(t2, r2) && Object.defineProperty(t2, r2, { enumerable: true, get: o2[r2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return er;
        }, sdk: function() {
          return Qo;
        } });
        function o(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function r(e2) {
          return "string" == typeof e2;
        }
        function n(e2) {
          return Array.isArray(e2);
        }
        function a(e2) {
          return null == e2;
        }
        function i(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function l(e2, t2) {
          return e2 < t2;
        }
        const d = { valueMissing: "value missing" }, c = { type: "General", validity: { badInput: false, customError: false, fileNotUploaded: false, fileTypeNotAllowed: false, fileSizeExceedsLimit: false, patternMismatch: false, rangeOverflow: false, rangeUnderflow: false, stepMismatch: false, tooLong: false, tooShort: false, typeMismatch: false, valueMissing: false, exceedsFilesLimit: false, valid: true, invalidTime: false, invalidDate: false }, validationMessage: "", htmlValidationMessageOverride: { key: "" } }, u = (e2) => !!e2.validity.customError ? e2.validationMessage : "", p = (e2, t2, o2) => ({ ...e2, validity: { ...e2.validity, [t2]: true, valid: false }, validationMessage: o2 }), m = (e2, t2, o2) => {
          const n2 = e2.validationMessage || o2 || ((e3, t3) => {
            const o3 = d[e3];
            return r(o3) ? o3 : o3(t3);
          })(t2);
          return p(e2, t2, n2);
        }, f = { validationData: c, customValidators: [() => {
        }] }, y = "validation", h = ({ createSdkState: e2 }) => {
          const [t2] = e2(f, y);
          return t2.validationData;
        }, g = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, v = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, b = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, N = ({ propertyName: e2, compName: t2, effectName: o2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because it is an invalid effectName value. Read more about effects: "${r2}"')`, w = ({ propertyName: e2, compName: t2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${o2}"')`, $ = ({ propertyName: e2, compName: t2, effectName: o2, wrongProperty: r2, wrongValue: n2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because it was called with the following invalid effectOptions ${r2}: ${n2}. Read more about the effectOptions object: "${a2}"')`, x = ({ propertyName: e2, compName: t2, effectName: o2, infoLink: r2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${o2}". Read more about effects: "${r2}"`, k = ({ propertyName: e2, compName: t2, effectName: o2, wrongValue: r2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because the it was called with the following invalid effectOptions "${r2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${n2}"'`, C = ({ propertyName: e2, functionName: t2, compName: o2 }) => `The ${e2} parameter of "${o2}" that is passed to the ${t2} method cannot be set to null.`, I = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to null or undefined.`, S = ({ propertyName: e2, wrongValue: t2, index: o2 }) => `The ${e2} parameter at index ${o2} that is passed to the options function cannot be set to ${JSON.stringify(t2)}. Options must contain either a non-null value or a non-null label.`, O = ({ propertyName: e2, compName: t2, infoLink: o2 }) => ` The value of "${e2}" property of "${t2}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${o2}"`, T = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, V = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, E = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} is required for ${t2} method.`, P = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, j = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, L = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} is not allowed for ${t2} method.`, D = ({ propertyNames: e2, functionName: t2, index: o2 }) => `The following parameters: ${[...e2]} of item at index ${o2} are unknown for ${t2} method.`, A = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be between ${r2} and ${n2}.`, R = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be between ${r2} and ${n2}.`, M = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be ${r2}.`, F = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be ${r2}.`, W = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}" because its length is shorter than ${r2}.`, q = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}" because its length is shorter than ${r2}.`, B = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}" because its length exceeds ${r2}.`, H = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}" because its length exceeds ${r2}.`, U = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". It must be between ${r2} and ${n2}.`, G = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${o2}". It must be between ${r2} and ${n2}.`, X = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". It must be ${r2}.`, Y = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}". It must be ${r2}.`, z = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be larger than ${r2}.`, K = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, index: n2 }) => `The value of ${e2} parameter of item at ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be larger than ${r2}.`, _ = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be less than ${r2}.`, J = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2, index: n2 }) => `The value of ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be less than ${r2}.`, Z = ({ propertyName: e2, functionName: t2, value: o2, expectedType: r2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be of type ${r2}.`, Q = ({ propertyName: e2, functionName: t2, value: o2, expectedType: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be of type ${r2}.`, ee = ({ propertyName: e2, functionName: t2, value: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. Bad format`, te = ({ functionName: e2, wrongEffects: t2, allowedEffects: o2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${o2.join('", "')}".`, oe = ({ propertyName: e2, functionName: t2, value: o2, index: r2 }) => `The "${e2}" property of the item at index ${r2} that is passed to the ${t2} method cannot be set to "${o2}". Bad format`, re = ({ propertyName: e2, compName: t2, cssProperty: o2, exampleFormat: r2, infoLink: n2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${o2}" value. The value is expected in the following format:"${r2}". Read more about "${o2}" values: "${n2}"`, ne = ({ propertyName: e2, compName: t2, cssProperty: o2, exampleFormats: r2, infoLink: n2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${o2}" value. The value is expected in one of the following formats:"${r2}". Read more about "${o2}" values: "${n2}"`, ae = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, ie = ({ compName: e2, functionName: t2, propertyName: r2, index: n2 }) => o(n2) ? I({ propertyName: r2, functionName: t2, index: n2 }) : e2 ? C({ compName: e2, functionName: t2, propertyName: r2 }) : b({ functionName: t2, propertyName: r2 }), se = ({ functionName: e2, propertyName: t2, index: r2 }) => o(r2) ? E({ functionName: e2, propertyName: t2, index: r2 }) : T({ functionName: e2, propertyName: t2 }), le = ({ functionName: e2, propertyNames: t2, index: r2 }) => t2 && t2.length > 1 ? o(r2) ? D({ functionName: e2, propertyNames: t2, index: r2 }) : j({ functionName: e2, propertyNames: t2 }) : o(r2) ? L({ functionName: e2, propertyName: t2[0], index: r2 }) : P({ functionName: e2, propertyName: t2[0] }), de = ({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2, index: i2 }) => a2 && n2 ? a2 === n2 ? o(i2) ? F({ functionName: e2, propertyName: t2, value: r2, expectedValue: a2, index: i2 }) : M({ functionName: e2, propertyName: t2, value: r2, expectedValue: a2 }) : o(i2) ? R({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2, index: i2 }) : A({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2 }) : !a2 && n2 ? o(i2) ? H({ functionName: e2, propertyName: t2, value: r2, maximum: n2, index: i2 }) : B({ functionName: e2, propertyName: t2, value: r2, maximum: n2 }) : o(i2) ? q({ functionName: e2, propertyName: t2, value: r2, minimum: a2, index: i2 }) : W({ functionName: e2, propertyName: t2, value: r2, minimum: a2 }), ce = ({ functionName: e2, propertyName: t2, value: r2, minimum: n2, maximum: a2, index: i2 }) => n2 && a2 ? n2 === a2 ? o(i2) ? Y({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2, index: i2 }) : X({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2 }) : o(i2) ? G({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2, index: i2 }) : U({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2 }) : !n2 && a2 ? o(i2) ? J({ functionName: e2, propertyName: t2, maximum: a2, value: r2, index: i2 }) : _({ functionName: e2, propertyName: t2, maximum: a2, value: r2 }) : o(i2) ? K({ functionName: e2, propertyName: t2, value: r2, minimum: n2, index: i2 }) : z({ functionName: e2, propertyName: t2, value: r2, minimum: n2 }), ue = ({ functionName: e2, propertyName: t2, types: r2, value: n2, index: a2 }) => {
          const i2 = r2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return o(a2) ? Q({ functionName: e2, index: a2, propertyName: t2, value: n2, expectedType: i2 }) : Z({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, pe = ({ functionName: e2, propertyName: t2, value: r2, enum: n2, index: a2 }) => {
          const i2 = `from (${n2.join(",")})`;
          return o(a2) ? Q({ functionName: e2, propertyName: t2, value: r2, expectedType: i2, index: a2 }) : Z({ functionName: e2, propertyName: t2, value: r2, expectedType: i2 });
        }, me = ({ functionName: e2, propertyName: t2, value: r2, index: n2 }) => o(n2) ? oe({ functionName: e2, propertyName: t2, value: r2, index: n2 }) : ee({ functionName: e2, propertyName: t2, value: r2 }), fe = Object.prototype.hasOwnProperty, ye = Object.getOwnPropertyNames, he = () => {
        };
        function ge(e2, t2, o2, r2, a2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !n(e3);
          }(e2)) return we.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ge(e2, t3, o2, he, a2, i2)).filter((e3) => e3 === we.Valid).length ? we.Valid : we.Invalid;
          if (t2.required) {
            for (let o3 = 0; o3 < t2.required.length; o3++) if (!fe.call(e2, t2.required[o3])) return r2(se({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[o3] }), { ...i2, value: e2 }), we.Invalid;
          }
          const s2 = ye(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ye(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return r2(le({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), we.Invalid;
            }
          }
          for (let r3 = 0; r3 < s2.length; r3++) {
            const n2 = s2[r3];
            if (fe.call(e2, n2)) {
              const r4 = t2.properties[n2], a3 = e2[n2];
              if (!o2(a3, r4, { functionName: i2.functionName, index: i2.index, propertyName: n2 })) return we.Invalid;
            }
          }
          return we.Valid;
        }
        function ve(e2) {
          return Array.isArray(e2);
        }
        function be(e2, t2, r2, n2) {
          const { minimum: a2, maximum: d2, enum: c2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? c2 && !i(e2, c2) ? (r2(pe({ value: e2, enum: c2, ...n2 }), { ...n2, value: e2 }), we.Invalid) : o(a2) && l(e2, a2) || o(d2) && s(e2, d2) ? (r2(ce({ value: e2, minimum: a2, maximum: d2, ...n2 }), { ...n2, value: e2 }), we.Invalid) : we.Valid : we.InvalidType;
        }
        function Ne(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? we.Valid : we.InvalidType;
        }
        const we = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function $e({ reportError: e2, reportWarning: t2 }, d2, { suppressIndexErrors: c2 = false } = {}) {
          function u2(o2, r2, n2) {
            r2.warnIfNil && a(o2) && t2(ie({ ...n2, compName: d2 }), { ...n2, value: o2 });
            let i2 = 0;
            for (; i2 < r2.type.length; i2++) {
              const e3 = (0, p2[r2.type[i2]])(o2, r2, n2);
              if (e3 !== we.InvalidType) return e3 === we.Valid;
            }
            return i2 === r2.type.length && e2(ue({ value: o2, types: r2.type, ...n2 }), { ...n2, value: o2 }), false;
          }
          const p2 = { object: (o2, r2, n2) => ge(o2, r2, u2, e2, t2, n2), array: (e3, t3, o2) => function(e4, t4, o3, r2, a2, i2 = false) {
            if (!n(e4)) return we.InvalidType;
            let s2 = we.Valid;
            if (t4.items) {
              const r3 = ve(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let n2 = 0; n2 < r3; n2++) {
                const r4 = e4[n2];
                let l2, d3;
                ve(t4.items) ? (l2 = t4.items[n2], d3 = t4.items[n2].name) : (l2 = t4.items, d3 = t4.name), o3(r4, l2, { functionName: a2.functionName, propertyName: d3 || a2.propertyName, index: i2 ? void 0 : n2 }) || (s2 = we.Invalid);
              }
            }
            return s2;
          }(e3, t3, u2, 0, o2, c2), number: (t3, r2, n2) => function(e3, t4, r3, n3) {
            const { minimum: a2, maximum: d3, enum: c3 } = t4;
            return o(e3) ? c3 && !i(e3, c3) ? (r3(pe({ value: e3, enum: c3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : o(a2) && l(e3, a2) || o(d3) && s(e3, d3) ? (r3(ce({ value: e3, minimum: a2, maximum: d3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : we.Valid : we.InvalidType;
          }(t3, r2, e2, n2), integer: (t3, o2, r2) => be(t3, o2, e2, r2), string: (t3, o2, n2) => function(e3, t4, o3, n3) {
            const { minLength: a2, maxLength: d3, enum: c3, pattern: u3 } = t4;
            return r(e3) ? c3 && !i(e3, c3) ? (o3(pe({ value: e3, enum: c3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : a2 && l(e3.length, a2) || d3 && s(e3.length, d3) ? (o3(de({ value: e3, minimum: a2, maximum: d3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : u3 && !new RegExp(u3).test(e3) ? (o3(me({ value: e3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : we.Valid : we.InvalidType;
          }(t3, o2, e2, n2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? we.Valid : we.InvalidType;
          }(e3), date: (e3) => Ne(e3), nil: (e3) => function(e4) {
            return a(e4) ? we.Valid : we.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? we.Valid : we.InvalidType;
          }(e3) };
          return function(e3, t3, o2) {
            return u2(e3, t3, { functionName: o2, propertyName: o2, index: void 0 });
          };
        }
        function xe(e2, { suppressIndexErrors: t2 = false } = {}) {
          return $e({ reportError: g, reportWarning: v }, e2, { suppressIndexErrors: t2 });
        }
        function ke(e2, t2, o2 = {}) {
          return (r2) => {
            const n2 = e2(r2), a2 = xe(r2.metaData.role), i2 = xe(r2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(n2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(n2, s2), d2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? d2.value = (...e4) => {
                const n3 = t2.properties[s2] && t2.properties[s2].args, a3 = o2[s2];
                let d3 = true;
                return n3 && (d3 = i2(e4, { type: ["array"], items: n3 }, s2)), d3 && a3 && (d3 = a3.every((t3) => t3(e4, r2))), d3 ? l2.value(...e4) : void 0;
              } : d2.value = l2.value : (l2.get && (d2.get = () => n2[s2]), l2.set && (d2.set = (e4) => {
                const i3 = o2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = a2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, r2))), l3 && (n2[s2] = e4);
              })), Object.defineProperty(e3, s2, d2), e3;
            }, {});
          };
        }
        const Ce = "click", Ie = "dblClick", Se = "mouseenter", Oe = "mouseleave", Te = "change", Ve = "blur", Ee = "focus", Pe = "imageChanged", je = "imageExpanded", Le = "onInput", De = "itemClicked", Ae = "cellSelect", Re = "cellEdit", Me = "rowSelect", Fe = "fetchData", We = "dataChange", qe = "onTimeout", Be = "onVerified", He = "onError", Ue = "onPlay", Ge = "onPause", Xe = "onProgress", Ye = "onEnded", ze = "autoplayOff", Ke = "autoplayOn", _e = "playEnded", Je = "playProgress", Ze = "keyPress", Qe = "keyUp", et = "keyDown", tt = "screenIn", ot = "viewportEnter", rt = "viewportLeave", nt = "scroll", at = "validate", it = "setCustomValidity", st = "syncValidationData", lt = "updateValidityIndication", dt = "message", ct = "uploadComplete", ut = "itemReady", pt = "itemRemoved", mt = "tagClick", ft = "quickActionBarItemClicked", yt = "markerClicked", ht = "mapClicked", gt = "iconMouseIn", vt = "onStateChange", bt = "itemMouseIn", Nt = "itemMouseOut", wt = "itemMouseClick", $t = "itemMouseDblClick", xt = "onColorChange", kt = "onFontChange", Ct = "onOpacityChange", It = { [Ce]: "onClick", [Ie]: "onDblClick", [Se]: "onMouseIn", [Oe]: "onMouseOut", [Te]: "onChange", [Le]: "onInput", [Ve]: "onBlur", [Ee]: "onFocus", [Pe]: "onCurrentItemChanged", [je]: void 0, [De]: "onItemClicked", [Ae]: "onCellSelect", [Re]: void 0, [Me]: "onRowSelect", [Fe]: void 0, [We]: "onDataChange", [qe]: "onTimeout", [Be]: "onVerified", [He]: "onError", [Ue]: "onPlay", [Ge]: "onPause", [Xe]: "onProgress", [Ye]: "onEnded", [ze]: "onPause", [Ke]: "onPlay", [_e]: void 0, [Je]: void 0, [Ze]: "onKeyPress", [Qe]: "onKeyUp", [et]: "onKeyDown", [tt]: void 0, [ot]: "onViewportEnter", [rt]: "onViewportLeave", [nt]: void 0, [at]: void 0, [it]: void 0, [st]: void 0, [lt]: void 0, [dt]: "onMessage", [ct]: void 0, [ut]: "onItemReady", [pt]: "onItemRemoved", [mt]: void 0, [ft]: "onItemClicked", [yt]: "onMarkerClicked", [ht]: "onMapClicked", [gt]: void 0, [vt]: "onStateChange", [bt]: "onItemMouseIn", [Nt]: "onItemMouseOut", [wt]: "onItemClick", [$t]: "onItemDblClick", [xt]: "onColorChange", [kt]: "onFontChange", [Ct]: "onOpacityChange" }, St = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Ot = (e2) => {
          const { target: t2, type: o2, context: r2 } = e2;
          return { target: t2, type: St[o2] ?? o2, context: r2 };
        }, Tt = (e2) => {
          const { clientX: t2, clientY: o2, pageX: r2, pageY: n2, screenX: a2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: d2 } = s2;
          return { clientX: t2, clientY: o2, pageX: r2, pageY: n2, screenX: a2, screenY: i2, offsetX: l2, offsetY: d2 };
        }, Vt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Et = (e2) => e2.replace(/^on/i, ""), Pt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), jt = (e2, t2, o2, r2) => {
          const { create$w: n2, createEvent: a2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, o3) => xe(o3)(e3, { type: ["function"] }, t3))(o2, Vt[e2] ?? e2, l2.role)) return s2();
          const [d2, c2] = Pt(t2), u2 = i2(e2, (e3, t3) => {
            const i3 = a2({ type: e3.type, compId: e3.compId }), s3 = n2({ context: i3.context }), l3 = r2?.({ componentEvent: e3, eventPayload: t3 });
            o2({ ...Ot(i3), ...l3 }, s3);
          }), p2 = { eventName: e2, compId: l2.compId, cb: o2, unregister: u2 };
          return c2({ listeners: [...d2.listeners, p2] }), s2();
        }, Lt = (e2, t2) => {
          const o2 = ((e3) => {
            const t3 = Object.entries(Vt).find(([t4, o3]) => Et(o3.toLowerCase()) === Et(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(It[t2] ?? t2);
          return e2.toLowerCase() === o2.toLowerCase();
        }, Dt = (e2, t2, o2, r2) => jt(e2, t2, o2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...Tt(e3), ...t3 && r2?.(t3) }));
        function At(e2, t2) {
          const { modifyAriaSourceKeys: o2 } = {};
          return (t3) => {
            const r2 = {};
            for (let a2 = 0; a2 < e2.length; a2++) {
              const i2 = e2[a2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], a3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(r2, o2 && a3.get ? "aria" + (n2 = t4).charAt(0).toUpperCase() + n2.slice(1) : t4, a3);
              }
            }
            var n2;
            return r2;
          };
        }
        const Rt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: o2, connection: r2, compType: n2, isGlobal: a2, getParent: i2, role: s2, wixCodeId: l2 } = t2, d2 = `$w.${n2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return r2?.config;
          }, get uniqueId() {
            return o2;
          }, get parent() {
            return i2();
          }, get global() {
            return a2();
          }, get type() {
            return d2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(o2, t3));
          }, toJSON() {
            return { id: s2, type: d2, global: a2() };
          } };
        }, Mt = (e2) => (t2) => {
          const { metaData: o2, getSdkInstance: r2, create$w: n2, createEvent: a2 } = t2, i2 = (e3, t3) => xe(o2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (o3) => i2(o3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = a2({ type: "viewportEnter" }), t3 = n2();
            o3(e3, t3);
          }), jt("onViewportEnter", t2, o3)) : r2(), onViewportLeave: (o3) => i2(o3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = a2({ type: "viewportLeave" }), t3 = n2();
            o3(e3, t3);
          }), jt("onViewportLeave", t2, o3)) : r2() };
        }, Ft = { duration: 1200, delay: 0 }, Wt = { arc: { ...Ft, direction: "left" }, bounce: { ...Ft, direction: "topLeft", intensity: "medium" }, puff: { ...Ft }, zoom: { ...Ft }, fade: { ...Ft }, flip: { ...Ft, direction: "right" }, float: { ...Ft, direction: "right" }, fly: { ...Ft, direction: "right" }, fold: { ...Ft, direction: "left" }, glide: { ...Ft, angle: 0, distance: 0 }, roll: { ...Ft, direction: "left" }, slide: { ...Ft, direction: "left" }, spin: { ...Ft, direction: "cw", cycles: 5 }, turn: { ...Ft, direction: "right" }, ArcIn: { ...Ft, direction: "right" }, ArcOut: { ...Ft, direction: "right" }, BounceIn: { ...Ft, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Ft, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Ft, direction: "right" }, CollapseOut: { ...Ft }, Conceal: { ...Ft, direction: "right" }, Reveal: { ...Ft, direction: "left" }, FadeIn: { ...Ft }, FadeOut: { ...Ft }, FlipIn: { ...Ft, direction: "left" }, FlipOut: { ...Ft, direction: "left" }, FloatIn: { ...Ft, direction: "right" }, FloatOut: { ...Ft, direction: "right" }, FlyIn: { ...Ft, direction: "right" }, FlyOut: { ...Ft, direction: "right" }, FoldIn: { ...Ft, direction: "left" }, FoldOut: { ...Ft, direction: "left" }, GlideIn: { ...Ft, angle: 0, distance: 150 }, GlideOut: { ...Ft, angle: 0, distance: 150 }, DropIn: { ...Ft }, PopOut: { ...Ft }, SlideIn: { ...Ft, direction: "left" }, SlideOut: { ...Ft, direction: "left" }, SpinIn: { ...Ft, direction: "cw", cycles: 2 }, SpinOut: { ...Ft, direction: "cw", cycles: 2 }, TurnIn: { ...Ft, direction: "right" }, TurnOut: { ...Ft, direction: "right" } }, qt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Bt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Ht = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Ut = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Gt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Xt = { arc: { type: ["object"], properties: { duration: Ht, delay: Ut, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Ht, delay: Ut, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Ht, delay: Ut } }, zoom: { type: ["object"], properties: { duration: Ht, delay: Ut } }, fade: { type: ["object"], properties: { duration: Ht, delay: Ut } }, flip: { type: ["object"], properties: { duration: Ht, delay: Ut, direction: Gt } }, float: { type: ["object"], properties: { duration: Ht, delay: Ut, direction: Gt } }, fly: { type: ["object"], properties: { duration: Ht, delay: Ut, direction: Gt } }, fold: { type: ["object"], properties: { duration: Ht, delay: Ut, direction: Gt } }, glide: { type: ["object"], properties: { duration: Ht, delay: Ut, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Ht, delay: Ut, direction: Gt } }, slide: { type: ["object"], properties: { duration: Ht, delay: Ut, direction: Gt } }, spin: { type: ["object"], properties: { duration: Ht, delay: Ut, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Ht, delay: Ut, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Yt = ({ propertyName: e2, compName: t2 }) => (o2, r2) => {
          if (!o2) return false;
          if (void 0 === r2) return true;
          const n2 = (({ effectName: e3, propertyName: t3, compName: o3 }) => (r3, n3) => {
            v(k({ propertyName: t3, compName: o3, effectName: e3, wrongValue: `${n3?.value}`, infoLink: Bt(t3) }));
          })({ effectName: o2, propertyName: e2, compName: t2 });
          if (!$e({ reportError: n2, reportWarning: () => ({}) }, t2)(r2, { type: ["object"] }, e2)) return false;
          const a2 = (({ effectName: e3, propertyName: t3, compName: o3 }) => (r3, n3) => {
            v($({ propertyName: t3, compName: o3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${n3?.propertyName}" cannot be set to the value "${n3?.value}"`, infoLink: Bt(t3) }));
          })({ effectName: o2, propertyName: e2, compName: t2 });
          return !!$e({ reportError: a2, reportWarning: () => ({}) }, t2)(r2, Xt[o2], e2);
        }, zt = (e2) => 0 === Object.keys(e2).length, Kt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: o2, portal: r2, metaData: n2, getSdkInstance: a2, runAnimation: i2, createSdkState: s2, styleUtils: l2, setProps: d2 }) => {
          const c2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: o3, propertyName: r3 }) => {
            const n3 = Yt({ propertyName: r3, compName: e3 });
            if (!t3 && !o3) return false;
            if (!t3 && o3 && !zt(o3)) return v(w({ propertyName: r3, compName: e3, infoLink: Bt(r3) })), false;
            const a3 = "hide" === r3 ? "HIDE" : "SHOW", i3 = qt[a3]?.deprecatedValues;
            return t3 && o3 && i3 && i3.find((e4) => e4 === t3) && !zt(o3) ? (v(x({ compName: e3, effectName: t3, propertyName: r3, infoLink: Bt(r3) })), false) : !!i3.find((e4) => e4 === t3) || (t3 && !(t3 in Xt) ? (v(N({ propertyName: r3, compName: e3, effectName: t3, infoLink: Bt(r3) })), false) : !!n3(t3, o3));
          })({ compName: n2.role }), [u2, p2] = s2({ hidden: n2.hiddenOnLoad, collapsed: n2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (n3, a3) => {
            if (d2({ hidden: true }), u2.collapsed || u2.hidden) p2({ hidden: true });
            else {
              if (c2({ effectName: n3, effectOptions: a3, propertyName: "hide" })) {
                const e3 = { animationDirection: qt.HIDE.suffix, effectName: n3, effectOptions: { ...Wt?.[n3] || Ft, ...a3 } };
                await Promise.all([i2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else o2(l2.getHiddenStyles()), t2 && r2.setStyles(l2.getHiddenStyles());
              p2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (n3, a3) => {
            if (d2({ hidden: false }), !u2.collapsed && u2.hidden) {
              if (c2({ effectName: n3, effectOptions: a3, propertyName: "show" })) {
                const e3 = { animationDirection: qt.SHOW.suffix, effectName: n3, effectOptions: { ...Wt?.[n3] || Ft, ...a3 } };
                await Promise.all([i2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else o2(l2.getShownStyles()), t2 && r2.setStyles(l2.getShownStyles());
              p2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else p2({ hidden: false });
          }, collapse: async () => {
            d2({ collapsed: true }), u2.collapsed || (o2(l2.getCollapsedStyles()), t2 && r2.setStyles(l2.getCollapsedStyles()), p2({ collapsed: true }), u2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (d2({ collapsed: false }), u2.collapsed) {
              const n3 = { ...l2.getExpandedStyles(), visibility: u2.hidden ? "hidden" : null };
              o2(n3), t2 && r2.setStyles(n3), p2({ collapsed: false }), u2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return u2.collapsed;
          }, get hidden() {
            return Boolean(u2.hidden);
          }, get isVisible() {
            if (!n2.isRendered()) return false;
            let e3 = a2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, _t = (e2) => (t2) => ((e3, t3 = false) => {
          const [o2, r2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return At([Kt({ viewportState: o2, hasPortal: t3 }), Mt((e4, t4) => {
            r2({ [e4]: [...o2[e4], t4] });
          })])(e3);
        })(t2, e2), Jt = (e2, t2, o2) => {
          const r2 = t2.filter((t3) => !e2.includes(t3));
          r2.length && g(te({ functionName: o2, wrongEffects: r2, allowedEffects: e2 }));
        }, Zt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (o2) => {
            Jt(t2(), o2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...o2);
          }, removeEffects: (o2) => {
            Jt(t2(), o2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...o2);
          }, toggleEffects: (o2) => {
            Jt(t2(), o2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...o2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Qt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), eo = (e2, t2) => "string" != typeof e2 ? (to(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (ro(e2, t2), false), to = (e2, t2, o2, r2) => {
          g(Z({ propertyName: e2, functionName: t2, value: o2, expectedType: r2 }));
        }, oo = (e2, t2) => {
          g(T({ propertyName: e2, functionName: t2 }));
        }, ro = (e2, t2) => {
          g(ae({ propertyName: e2, functionName: t2 }));
        }, no = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const r2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!eo(t3, "customClassList.add")) return;
                r2.add(t3);
              }
              t2({ customClassNames: Array.from(r2) });
            } else oo("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void oo("className", "customClassList.remove");
            const r2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!eo(t3, "customClassList.remove")) return;
              r2.delete(t3);
            }
            t2({ customClassNames: Array.from(r2) });
          }, contains(e3) {
            if (e3) return eo(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            oo("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!eo(t3, "customClassList.replace") || !eo(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (g(V({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!eo(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (oo("className", "customClassList.toggle"), false);
          } } };
        }, ao = ({ role: e2, compType: t2, isGlobal: o2, isRendered: r2 }) => ({ id: e2, type: `$w.${t2}`, global: o2(), rendered: r2() }), io = (e2) => ({ onMouseIn: (t2) => Dt("onMouseEnter", e2, t2), onMouseOut: (t2) => Dt("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: r2 } = e2;
          return "string" != typeof t2 ? (g(Z({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), r2()) : "function" != typeof o2 ? (g(Z({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), r2()) : ((e3, t3, o3) => {
            const { metaData: r3, getSdkInstance: n2 } = t3, [a2, i2] = Pt(t3), s2 = a2.listeners.filter((t4) => Lt(t4.eventName, e3) && t4.cb === o3 && t4.compId === r3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: a2.listeners.filter((e4) => !s2.includes(e4)) }), n2();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return ao(e2.metaData);
        } }), so = Mt(), lo = (At([Rt, so, io, Zt, no]), { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" });
        function co(e2) {
          return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e2);
        }
        function uo(e2) {
          return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e2);
        }
        function po(e2) {
          return lo[e2];
        }
        function mo(e2) {
          return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e2) || co(e2);
        }
        function fo(e2) {
          return uo(e2) || /^#(([a-f0-9]){3}){1,2}$/i.test(e2);
        }
        const yo = (e2) => parseInt(e2.repeat(2 / e2.length), 16), ho = (e2) => {
          if (!fo(e2)) return;
          const t2 = ((e3) => {
            const t3 = Math.floor((e3.length - 1) / 3);
            return e3.slice(1).match(new RegExp(`.{${t3}}`, "g"));
          })(e2), [o2, r2, n2, a2] = t2.map(yo);
          return [o2, r2, n2, void 0 !== a2 ? bo(a2 / 255) : 1];
        }, go = (e2) => fo(e2) ? ho(e2) : mo(e2) ? ((e3) => {
          if (!mo(e3)) return;
          const t2 = e3.substring(e3.indexOf("(")).split(","), o2 = parseInt(t2[0].substring(1).trim(), 10), r2 = parseInt(t2[1].trim(), 10), n2 = parseInt(t2[2].trim(), 10), a2 = t2[3] && parseFloat(t2[3].substring(0, t2[3].length - 1).trim());
          return [o2, r2, n2, void 0 !== a2 ? a2 : 1];
        })(e2) : po(e2) ? ho(lo[e2]) : void 0, vo = (e2) => {
          const t2 = go(e2);
          if (t2) return t2[3];
        }, bo = (e2) => Math.round(100 * e2) / 100;
        const No = ({ propertyName: e2, cssProperty: t2, supportAlpha: o2 }) => (r2, n2) => function(e3) {
          return fo(e3) || mo(e3) || po(e3);
        }(r2) ? (o2 || $o({ propertyName: e2, color: r2, api: n2 }), true) : (g(ne({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: n2.metaData.role, exampleFormats: o2 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), wo = ({ propertyName: e2, cssProperty: t2 }) => (o2, n2) => !!function(e3) {
          if (r(e3)) {
            const t3 = e3.endsWith("px"), o3 = e3.slice(0, e3.length - 2), r2 = /^\d*$/.test(o3);
            return t3 && r2 && parseInt(o3, 10);
          }
          return false;
        }(o2) || (g(re({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: n2.metaData.role, exampleFormat: "1px" })), false), $o = ({ propertyName: e2, color: t2, api: o2 }) => {
          (uo(t2) || co(t2)) && v(O({ propertyName: e2, compName: o2.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}` }));
        }, xo = ({ name: e2, prefix: t2 }) => t2 ? `--${t2}-corvid-${e2}` : `--corvid-${e2}`, ko = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, Co = ["hover", "disabled"], Io = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
        function So(e2) {
          return e2.charAt(0).toUpperCase() + e2.slice(1);
        }
        const Oo = (e2) => (t2 = { supportOpacity: true }) => {
          const { prefix: o2, supportOpacity: r2, withoutDefaultValue: n2, supportedStates: a2 = [] } = t2, i2 = (t3, o3 = e2) => {
            const a3 = No({ propertyName: e2, cssProperty: r2 ? "rgbaColor" : "rgbColor", supportAlpha: r2 });
            return ke(({ setStyles: a4, sdkData: i3, createSdkState: s3 }) => {
              const l3 = i3?.initialSdkStyles?.[o3], d2 = vo(l3), c2 = n2 ? void 0 : l3, [u2, p2] = s3({ [o3]: c2 }, o3);
              return Object.defineProperty({ reset() {
                p2({ [o3]: c2 }), a4({ [t3]: void 0 });
              } }, e2, { enumerable: true, set(e3) {
                let n3 = e3;
                if (!r2 && (uo(e3) || co(e3))) {
                  const [t4, o4, r3] = go(e3);
                  n3 = `rgb(${t4}, ${o4}, ${r3})`;
                }
                if ("number" == typeof d2 && 1 !== d2) {
                  const t4 = vo(e3);
                  n3 = ((e4, t5) => {
                    const o4 = go(e4);
                    if (o4) {
                      const [e5, r3, n4] = o4;
                      return `rgba(${e5}, ${r3}, ${n4}, ${t5})`;
                    }
                  })(n3, Number.isFinite(t4) ? bo(d2 * t4) : d2);
                }
                p2({ [o3]: n3 }), a4({ [t3]: n3 });
              }, get() {
                return u2[o3];
              } });
            }, { properties: { [e2]: { type: ["string", "nil"] } } }, { [e2]: [a3] });
          }, s2 = a2.map((t3) => ke((r3) => {
            const n3 = i2(xo({ name: Io[t3][e2], prefix: o2 }), t3 + So(e2))(r3);
            return { [t3]: n3 };
          }, { properties: { [t3]: { type: ["object", "nil"] } } })), l2 = i2(xo({ name: ko[e2], prefix: o2 }));
          return (e3) => Object.assign(l2(e3), s2.reduce((t3, o3) => Object.assign(t3, o3(e3)), {}));
        }, To = Oo("backgroundColor"), Vo = Oo("borderColor"), Eo = "textColor", Po = "color", jo = Oo("fillColor"), Lo = Oo("strokeColor"), Do = Oo("iconColor"), Ao = "reset";
        function Ro(...e2) {
          const t2 = (o2 = Ao, (...e3) => {
            const t3 = {}, r2 = { [o2](e4) {
              if ("function" == typeof t3[e4]) return t3[e4](e4);
            } };
            return e3.forEach((e4) => {
              Object.keys(e4).filter((e5) => e5 !== o2).map((t4) => ({ key: t4, descriptor: Object.getOwnPropertyDescriptor(e4, t4) })).forEach(({ key: n2, descriptor: a2 }) => {
                "function" == typeof e4[o2] && (t3[n2] = e4[o2]), Object.defineProperty(r2, n2, a2);
              });
            }), r2;
          });
          var o2;
          return (o3) => {
            const r2 = e2.map((e3) => e3(o3)), n2 = {};
            for (const e3 of Co) r2.some((t3) => e3 in t3) && (n2[e3] = t2(...r2.map((t3) => t3[e3] ?? {})), Object.defineProperty(n2[e3], Ao, { enumerable: false }), r2.forEach((t3) => {
              delete t3[e3];
            }));
            const a2 = t2(...r2);
            return Object.defineProperty(a2, Ao, { enumerable: false }), Object.assign(a2, n2);
          };
        }
        const Mo = { BackgroundColor: To, BorderColor: Vo, BorderWidth: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = xo({ name: ko.borderWidth, prefix: t2 });
          return ke(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const a2 = t3?.initialSdkStyles?.borderWidth, [i2, s2] = n2({ borderWidth: o2 ? void 0 : a2 }, "borderWidth");
            return { set borderWidth(t4) {
              s2({ borderWidth: t4 }), e3({ [r2]: t4 });
            }, get borderWidth() {
              return i2.borderWidth;
            }, reset() {
              s2({ borderWidth: a2 }), e3({ [r2]: void 0 });
            } };
          }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [wo({ propertyName: "borderWidth", cssProperty: "width" })] });
        }, ForegroundColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = xo({ name: ko.foregroundColor, prefix: t2 });
          return ke(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const [a2, i2] = n2({ foregroundColor: o2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }, "foregroundColor");
            return { set foregroundColor(t4) {
              i2({ foregroundColor: t4 }), e3({ [r2]: t4 });
            }, get foregroundColor() {
              return a2.foregroundColor;
            }, reset() {
              i2({ foregroundColor: o2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }), e3({ [r2]: void 0 });
            } };
          }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [No({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
        }, BorderRadius: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = xo({ name: ko.borderRadius, prefix: t2 });
          return ke(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const a2 = t3?.initialSdkStyles?.borderRadius, [i2, s2] = n2({ borderRadius: o2 ? void 0 : a2 }, "borderRadius");
            return { set borderRadius(t4) {
              s2({ borderRadius: t4 }), e3({ [r2]: t4 });
            }, get borderRadius() {
              return i2.borderRadius;
            }, reset() {
              s2({ borderRadius: a2 }), e3({ [r2]: void 0 });
            } };
          }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [wo({ propertyName: "borderRadius", cssProperty: "radius" })] });
        }, TextColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2, supportedStates: r2 = [] } = e2, n2 = (e3, t3 = Eo, r3 = Po) => ke(({ setStyles: n3, sdkData: a3, createSdkState: i3 }) => {
            const s2 = a3?.initialSdkStyles?.[r3], l2 = o2 ? void 0 : s2, [d2, c2] = i3({ [t3]: l2 }, t3);
            return { set color(o3) {
              let r4 = o3;
              if (uo(o3) || co(o3)) {
                const [e4, t4, n4] = go(o3);
                r4 = `rgb(${e4}, ${t4}, ${n4})`;
              }
              c2({ [t3]: r4 }), n3({ [e3]: r4 });
            }, get color() {
              return d2[t3];
            }, reset() {
              c2({ [t3]: l2 }), n3({ [e3]: void 0 });
            } };
          }, { properties: { color: { type: ["string", "nil"] } } }, { color: [No({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), a2 = r2.map((e3) => ke((o3) => {
            const r3 = n2(xo({ name: Io[e3].textColor, prefix: t2 }), ((e4) => e4 + So(Eo))(e3), ((e4) => e4 + So(Po))(e3))(o3);
            return { [e3]: r3 };
          }, { properties: { [e3]: { type: ["object", "nil"] } } })), i2 = n2(xo({ name: ko.textColor, prefix: t2 }));
          return (e3) => Object.assign(i2(e3), a2.reduce((t3, o3) => Object.assign(t3, o3(e3)), {}));
        }, FillColor: jo, StrokeColor: Lo, IconColor: Do }, Fo = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} };
        const Wo = { selectedIndices: [(e2, t2) => {
          let { props: o2, metaData: r2 } = t2;
          const n2 = xe(r2.compId);
          return !!a(e2) || n2(e2, { type: ["array"], items: { type: ["integer"], minimum: 0, maximum: o2.options.length - 1 } }, "selectedIndices");
        }] }, qo = /* @__PURE__ */ ((e2, t2) => {
          const o2 = [];
          return { onValidate: (e3) => o2.push(e3), validate: ({ viewerSdkAPI: r2, showValidityIndication: n2 }) => {
            const { props: a2, metaData: { isRepeaterTemplate: i2 } } = r2;
            if (i2) return;
            const s2 = e2(a2, r2);
            let l2 = s2;
            const d2 = ((e3, t3, o3) => {
              let r3 = "";
              const n3 = (e4) => {
                r3 = e4;
              }, a3 = t3.value;
              return e3 && e3(a3, n3), r3;
            })((({ createSdkState: e3 }) => {
              const [{ customValidators: t3 }] = e3(f, y);
              return (e4, o3) => {
                let r3 = false;
                const n3 = (e5) => {
                  r3 = true, o3(e5);
                };
                for (let o4 = 0; o4 < t3.length && !r3; o4++) t3[o4](e4, n3);
              };
            })(r2), a2);
            d2 && (l2 = ((e3, t3) => p(e3, "customError", t3 || ""))(s2, d2)), o2.forEach((e3) => e3({ viewerSdkAPI: r2, showValidityIndication: n2, validationDataResult: l2 }));
          } };
        })((Bo = [(e2, t2) => !e2.required || e2.value.length ? t2 : m(t2, "valueMissing")], (e2, t2) => Bo.reduce((o2, r2) => r2(e2, o2, t2), c)));
        var Bo;
        const Ho = (e2) => e2.filter((t2, o2) => !(a(t2.value) && a(t2.label)) || (v((({ propertyName: e3, wrongValue: t3, index: o3 }) => S({ propertyName: e3, wrongValue: t3, index: o3 }))({ propertyName: "SelectionTags.Option", index: o2, wrongValue: e2[o2] })), false)), Uo = (e2, t2) => {
          const o2 = e2.map((e3) => e3.value);
          return t2.filter((e3) => o2.includes(e3));
        }, Go = ke((e2) => {
          const { setProps: t2, props: o2, platformUtils: { linkUtils: r2 }, metaData: n2, getSdkInstance: i2 } = e2, s2 = () => {
            qo.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, l2 = (e3) => {
            const { options: r3 } = o2;
            a(e3) && (e3 = []), t2({ value: Uo(r3, e3) });
          };
          return { get value() {
            const { options: e3, value: t3 } = o2;
            return Uo(e3, t3);
          }, set value(e3) {
            l2(e3), s2();
          }, get selectedIndices() {
            const { value: e3, options: t3 } = o2;
            return e3.map((e4) => t3.findIndex((t4) => t4.value === e4));
          }, set selectedIndices(e3) {
            const { options: t3 } = o2;
            a(e3) && (e3 = []);
            const r3 = e3.map((e4) => t3[e4].value).filter(Boolean);
            l2(r3), s2();
          }, get options() {
            return o2.options.map((e3) => {
              let { link: t3, rel: o3, value: r3, label: n3 } = e3;
              return { ...t3 && { link: t3 }, ...o3 && { rel: o3 }, ...r3 && { value: r3 }, ...n3 && { label: n3 } };
            });
          }, set options(e3) {
            const o3 = (e4) => {
              const t3 = r2.getLinkProps(e4, "_blank");
              return r2.getLink(t3);
            }, n3 = Ho(e3).map((e4) => {
              let { link: t3, rel: r3, value: n4, label: a3 } = e4;
              return { ...t3 && { link: o3(t3) }, ...r3 && { rel: r3 }, value: n4, label: a3 };
            });
            t2({ options: n3 });
            const { value: a2 } = i2();
            l2(Uo(n3, a2)), s2();
          }, get type() {
            return "$w.SelectionTags";
          }, toJSON() {
            const { value: e3, options: t3, selectedIndices: o3 } = i2();
            return { ...ao(n2), value: e3, options: t3, selectedIndices: o3 };
          } };
        }, { properties: { value: { type: ["array", "nil"], items: { type: ["string"] } }, selectedIndices: { type: ["array", "nil"], items: { type: ["integer"] } }, options: { type: ["array"], name: "SelectionTags.Option", items: { type: ["object"], properties: { value: { type: ["string", "nil"] }, label: { type: ["string", "nil"] }, link: { type: ["string", "nil"] }, rel: { type: ["string", "nil"] } } } } } }, Wo), Xo = ((e2) => {
          e2.onValidate(({ viewerSdkAPI: e3, validationDataResult: t2, showValidityIndication: o2 }) => {
            const { setProps: r2, compRef: n2 } = e3, a2 = h(e3), i2 = u(a2), s2 = u(t2), l2 = a2.htmlValidationMessageOverride.key, d2 = t2.htmlValidationMessageOverride.key;
            t2.validity.customError ? i2 !== s2 && n2.setCustomValidity({ type: "message", message: s2 }) : d2 ? (a2.validity.customError || l2 !== d2) && n2.setCustomValidity({ type: "key", key: d2 }) : i2 === s2 && l2 === d2 || n2.setCustomValidity({ type: "message", message: "" });
            const c2 = { isValid: t2.validity.valid, ...o2 && { shouldShowValidityIndication: true } };
            (({ createSdkState: e4 }, t3) => {
              const [, o3] = e4(f, y);
              o3({ validationData: t3 });
            })(e3, t2), r2(c2);
          });
          return ke((t2) => {
            const { setProps: o2, props: r2, registerEvent: n2, metaData: { isRepeaterTemplate: a2 } } = t2;
            return a2 || (n2("validateValue", () => {
              e2.validate({ viewerSdkAPI: t2 });
            }), n2("validateValueAndShowIndication", (o3) => {
              const n3 = { ...r2, ...o3 }, a3 = { ...t2, props: n3 };
              e2.validate({ viewerSdkAPI: a3, showValidityIndication: true });
            }), n2("hideValidityIndication", () => {
              o2({ shouldShowValidityIndication: false });
            }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: false })), { get valid() {
              return h(t2).validity.valid;
            }, get validationMessage() {
              return h(t2).validationMessage;
            }, get validity() {
              return h(t2).validity;
            }, onCustomValidation(o3, r3 = true) {
              (({ createSdkState: e3 }, t3, o4 = true) => {
                const [{ customValidators: r4 }, n3] = e3(f, y);
                n3(o4 ? { customValidators: [t3] } : { customValidators: [...r4, t3] });
              })(t2, o3, r3), e2.validate({ viewerSdkAPI: t2 });
            }, updateValidityIndication() {
              o2({ shouldShowValidityIndication: true });
            }, resetValidityIndication() {
              o2({ shouldShowValidityIndication: false });
            } };
          }, { properties: { onCustomValidation: { type: ["function"], args: [{ type: ["function"] }, { type: ["boolean"] }] } } });
        })(qo), Yo = ke(/* @__PURE__ */ ((e2) => (t2) => ({ get required() {
          return t2.props.required || false;
        }, set required(o2) {
          t2.setProps({ required: o2 }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: o2 });
        } }))(qo), { properties: { required: { type: ["boolean"] } } });
        const zo = (_o = { BackgroundColor: true, BorderColor: true, BorderWidth: true, BorderRadius: true, TextColor: true }, ke((Ko = Ro(...Object.keys(_o).filter((e2) => _o[e2]).map((e2) => {
          const t2 = "boolean" != typeof _o[e2] ? _o[e2] : Fo[e2];
          return Mo[e2]({ prefix: Jo?.cssVarPrefix, withoutDefaultValue: t2.withoutDefaultValue, supportOpacity: t2.supportOpacity, supportedStates: t2.supportedStates });
        })), (e2) => {
          const t2 = Ko(e2);
          return t2.removeProperty = (e3) => {
            const [o2, r2] = e3.includes(".") ? e3.split(".").reverse() : [e3, void 0];
            if (!r2 && !(o2 in t2) || r2 && !(o2 in (t2[r2] ?? {}))) {
              const o3 = Object.keys(t2).filter((e4) => "removeProperty" !== e4);
              return void g(pe({ functionName: "removeProperty", propertyName: "propertyName", value: e3, enum: o3, index: void 0 }));
            }
            const n2 = r2 ? t2[r2] : t2;
            n2[Ao]?.(o2);
          }, { get style() {
            return t2;
          } };
        }), { properties: { style: { type: ["object"] } } }));
        var Ko, _o, Jo;
        const Zo = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => At([Rt, io, Zt, Qt, e2 ? _t(t2) : so, no]))(), Qo = At([Zo, zo, (e2) => ({ onChange: (t2) => jt("onChange", e2, t2) }), ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), (e2) => ({ onClick: (t2) => Dt("onClick", e2, t2), onDblClick: (t2) => Dt("onDblClick", e2, t2) }), Yo, Xo, Go]);
        var er = { factory: Qo };
        return t;
      }();
    });
  })(SelectionTagsList_bundle_min);
  var SelectionTagsList_bundle_minExports = SelectionTagsList_bundle_min.exports;
  const SelectionTagsList = /* @__PURE__ */ getDefaultExportFromCjs(SelectionTagsList_bundle_minExports);
  var ShareButtons_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var r2 in n2) e.o(n2, r2) && !e.o(t2, r2) && Object.defineProperty(t2, r2, { enumerable: true, get: n2[r2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return zn;
        }, leanSdk: function() {
          return Wn;
        }, sdk: function() {
          return Yn;
        } });
        const n = /(http|ftp|https):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&amp;:/~+#-]*[\w@?^=%&amp;/~+#-])?/, r = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, a = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, o = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, i = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${r2}"')`, s = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, l = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: r2, wrongValue: a2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${r2}: ${a2}. Read more about the effectOptions object: "${o2}"')`, u = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: r2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${r2}"`, p = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: r2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${r2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, c = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, m = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, d = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, f = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, b = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, y = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, h = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, g = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, v = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, N = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${r2} and ${a2}.`, x = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: a2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${r2} and ${a2}.`, $ = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${r2}.`, A = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${r2}.`, w = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${r2}.`, _ = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${r2}.`, I = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${r2}.`, T = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${r2}.`, S = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${r2} and ${a2}.`, C = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: a2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${r2} and ${a2}.`, O = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${r2}.`, E = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${r2}.`, L = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${r2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${r2}.`, P = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${r2}.`, k = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${r2}.`, V = ({ propertyName: e2, functionName: t2, value: n2, expectedType: r2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${r2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, expectedType: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${r2}.`, B = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, D = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, M = ({ propertyName: e2, functionName: t2, value: n2, index: r2 }) => `The "${e2}" property of the item at index ${r2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, F = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`;
        function H(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = t2 ?? {};
          return (t3) => {
            const r2 = {};
            for (let o2 = 0; o2 < e2.length; o2++) {
              const i2 = e2[o2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], o3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(r2, n2 && o3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, o3);
              }
            }
            var a2;
            return r2;
          };
        }
        function q(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function G(e2) {
          return "string" == typeof e2;
        }
        function W(e2) {
          return Array.isArray(e2);
        }
        function Y(e2) {
          return null == e2;
        }
        function z(e2, t2) {
          return t2.includes(e2);
        }
        function X(e2, t2) {
          return e2 > t2;
        }
        function K(e2, t2) {
          return e2 < t2;
        }
        const U = ({ compName: e2, functionName: t2, propertyName: n2, index: r2 }) => q(r2) ? m({ propertyName: n2, functionName: t2, index: r2 }) : e2 ? c({ compName: e2, functionName: t2, propertyName: n2 }) : o({ functionName: t2, propertyName: n2 }), J = ({ functionName: e2, propertyName: t2, index: n2 }) => q(n2) ? b({ functionName: e2, propertyName: t2, index: n2 }) : d({ functionName: e2, propertyName: t2 }), Z = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? q(n2) ? v({ functionName: e2, propertyNames: t2, index: n2 }) : h({ functionName: e2, propertyNames: t2 }) : q(n2) ? g({ functionName: e2, propertyName: t2[0], index: n2 }) : y({ functionName: e2, propertyName: t2[0] }), Q = ({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: a2, index: o2 }) => a2 && r2 ? a2 === r2 ? q(o2) ? A({ functionName: e2, propertyName: t2, value: n2, expectedValue: a2, index: o2 }) : $({ functionName: e2, propertyName: t2, value: n2, expectedValue: a2 }) : q(o2) ? x({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: a2, index: o2 }) : N({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: a2 }) : !a2 && r2 ? q(o2) ? T({ functionName: e2, propertyName: t2, value: n2, maximum: r2, index: o2 }) : I({ functionName: e2, propertyName: t2, value: n2, maximum: r2 }) : q(o2) ? _({ functionName: e2, propertyName: t2, value: n2, minimum: a2, index: o2 }) : w({ functionName: e2, propertyName: t2, value: n2, minimum: a2 }), ee = ({ functionName: e2, propertyName: t2, value: n2, minimum: r2, maximum: a2, index: o2 }) => r2 && a2 ? r2 === a2 ? q(o2) ? E({ functionName: e2, propertyName: t2, expectedValue: r2, value: n2, index: o2 }) : O({ functionName: e2, propertyName: t2, expectedValue: r2, value: n2 }) : q(o2) ? C({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: r2, index: o2 }) : S({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: r2 }) : !r2 && a2 ? q(o2) ? k({ functionName: e2, propertyName: t2, maximum: a2, value: n2, index: o2 }) : P({ functionName: e2, propertyName: t2, maximum: a2, value: n2 }) : q(o2) ? j({ functionName: e2, propertyName: t2, value: n2, minimum: r2, index: o2 }) : L({ functionName: e2, propertyName: t2, value: n2, minimum: r2 }), te = ({ functionName: e2, propertyName: t2, types: n2, value: r2, index: a2 }) => {
          const o2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return q(a2) ? R({ functionName: e2, index: a2, propertyName: t2, value: r2, expectedType: o2 }) : V({ functionName: e2, propertyName: t2, value: r2, expectedType: o2 });
        }, ne = ({ functionName: e2, propertyName: t2, value: n2, enum: r2, index: a2 }) => {
          const o2 = `from (${r2.join(",")})`;
          return q(a2) ? R({ functionName: e2, propertyName: t2, value: n2, expectedType: o2, index: a2 }) : V({ functionName: e2, propertyName: t2, value: n2, expectedType: o2 });
        }, re = ({ functionName: e2, propertyName: t2, value: n2, index: r2 }) => q(r2) ? M({ functionName: e2, propertyName: t2, value: n2, index: r2 }) : B({ functionName: e2, propertyName: t2, value: n2 }), ae = Object.prototype.hasOwnProperty, oe = Object.getOwnPropertyNames, ie = () => {
        };
        function se(e2, t2, n2, r2, a2, o2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !W(e3);
          }(e2)) return ce.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => se(e2, t3, n2, ie, a2, o2)).filter((e3) => e3 === ce.Valid).length ? ce.Valid : ce.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!ae.call(e2, t2.required[n3])) return r2(J({ functionName: o2.functionName, index: o2.index, propertyName: t2.required[n3] }), { ...o2, value: e2 }), ce.Invalid;
          }
          const i2 = oe(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = oe(e2).filter((e3) => !i2.includes(e3));
            if (t3.length) {
              return r2(Z({ functionName: o2.functionName, index: o2.index, propertyNames: t3 })), ce.Invalid;
            }
          }
          for (let r3 = 0; r3 < i2.length; r3++) {
            const a3 = i2[r3];
            if (ae.call(e2, a3)) {
              const r4 = t2.properties[a3], i3 = e2[a3];
              if (!n2(i3, r4, { functionName: o2.functionName, index: o2.index, propertyName: a3 })) return ce.Invalid;
            }
          }
          return ce.Valid;
        }
        function le(e2) {
          return Array.isArray(e2);
        }
        function ue(e2, t2, n2, r2) {
          const { minimum: a2, maximum: o2, enum: i2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? i2 && !z(e2, i2) ? (n2(ne({ value: e2, enum: i2, ...r2 }), { ...r2, value: e2 }), ce.Invalid) : q(a2) && K(e2, a2) || q(o2) && X(e2, o2) ? (n2(ee({ value: e2, minimum: a2, maximum: o2, ...r2 }), { ...r2, value: e2 }), ce.Invalid) : ce.Valid : ce.InvalidType;
        }
        function pe(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? ce.Valid : ce.InvalidType;
        }
        const ce = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function me({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: r2 = false } = {}) {
          function a2(r3, a3, i2) {
            a3.warnIfNil && Y(r3) && t2(U({ ...i2, compName: n2 }), { ...i2, value: r3 });
            let s2 = 0;
            for (; s2 < a3.type.length; s2++) {
              const e3 = (0, o2[a3.type[s2]])(r3, a3, i2);
              if (e3 !== ce.InvalidType) return e3 === ce.Valid;
            }
            return s2 === a3.type.length && e2(te({ value: r3, types: a3.type, ...i2 }), { ...i2, value: r3 }), false;
          }
          const o2 = { object: (n3, r3, o3) => se(n3, r3, a2, e2, t2, o3), array: (e3, t3, n3) => function(e4, t4, n4, r3, a3, o3 = false) {
            if (!W(e4)) return ce.InvalidType;
            let i2 = ce.Valid;
            if (t4.items) {
              const r4 = le(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let s2 = 0; s2 < r4; s2++) {
                const r5 = e4[s2];
                let l2, u2;
                le(t4.items) ? (l2 = t4.items[s2], u2 = t4.items[s2].name) : (l2 = t4.items, u2 = t4.name), n4(r5, l2, { functionName: a3.functionName, propertyName: u2 || a3.propertyName, index: o3 ? void 0 : s2 }) || (i2 = ce.Invalid);
              }
            }
            return i2;
          }(e3, t3, a2, 0, n3, r2), number: (t3, n3, r3) => function(e3, t4, n4, r4) {
            const { minimum: a3, maximum: o3, enum: i2 } = t4;
            return q(e3) ? i2 && !z(e3, i2) ? (n4(ne({ value: e3, enum: i2, ...r4 }), { ...r4, value: e3 }), ce.Invalid) : q(a3) && K(e3, a3) || q(o3) && X(e3, o3) ? (n4(ee({ value: e3, minimum: a3, maximum: o3, ...r4 }), { ...r4, value: e3 }), ce.Invalid) : ce.Valid : ce.InvalidType;
          }(t3, n3, e2, r3), integer: (t3, n3, r3) => ue(t3, n3, e2, r3), string: (t3, n3, r3) => function(e3, t4, n4, r4) {
            const { minLength: a3, maxLength: o3, enum: i2, pattern: s2 } = t4;
            return G(e3) ? i2 && !z(e3, i2) ? (n4(ne({ value: e3, enum: i2, ...r4 }), { ...r4, value: e3 }), ce.Invalid) : a3 && K(e3.length, a3) || o3 && X(e3.length, o3) ? (n4(Q({ value: e3, minimum: a3, maximum: o3, ...r4 }), { ...r4, value: e3 }), ce.Invalid) : s2 && !new RegExp(s2).test(e3) ? (n4(re({ value: e3, ...r4 }), { ...r4, value: e3 }), ce.Invalid) : ce.Valid : ce.InvalidType;
          }(t3, n3, e2, r3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? ce.Valid : ce.InvalidType;
          }(e3), date: (e3) => pe(e3), nil: (e3) => function(e4) {
            return Y(e4) ? ce.Valid : ce.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? ce.Valid : ce.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return a2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function de(e2, { suppressIndexErrors: t2 = false } = {}) {
          return me({ reportError: r, reportWarning: a }, e2, { suppressIndexErrors: t2 });
        }
        function fe(e2, t2, n2 = {}) {
          return (r2) => {
            const a2 = e2(r2), o2 = de(r2.metaData.role), i2 = de(r2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(a2, s2), u2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? u2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, o3 = n2[s2];
                let u3 = true;
                return a3 && (u3 = i2(e4, { type: ["array"], items: a3 }, s2)), u3 && o3 && (u3 = o3.every((t3) => t3(e4, r2))), u3 ? l2.value(...e4) : void 0;
              } : u2.value = l2.value : (l2.get && (u2.get = () => a2[s2]), l2.set && (u2.set = (e4) => {
                const i3 = n2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = o2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, r2))), l3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, u2), e3;
            }, {});
          };
        }
        const be = "click", ye = "dblClick", he = "mouseenter", ge = "mouseleave", ve = "change", Ne = "blur", xe = "focus", $e = "imageChanged", Ae = "imageExpanded", we = "onInput", _e = "itemClicked", Ie = "cellSelect", Te = "cellEdit", Se = "rowSelect", Ce = "fetchData", Oe = "dataChange", Ee = "onTimeout", Le = "onVerified", je = "onError", Pe = "onPlay", ke = "onPause", Ve = "onProgress", Re = "onEnded", Be = "autoplayOff", De = "autoplayOn", Me = "playEnded", Fe = "playProgress", He = "keyPress", qe = "keyUp", Ge = "keyDown", We = "screenIn", Ye = "viewportEnter", ze = "viewportLeave", Xe = "scroll", Ke = "validate", Ue = "setCustomValidity", Je = "syncValidationData", Ze = "updateValidityIndication", Qe = "message", et = "uploadComplete", tt = "itemReady", nt = "itemRemoved", rt = "tagClick", at = "quickActionBarItemClicked", ot = "markerClicked", it = "mapClicked", st = "iconMouseIn", lt = "onStateChange", ut = "itemMouseIn", pt = "itemMouseOut", ct = "itemMouseClick", mt = "itemMouseDblClick", dt = "onColorChange", ft = "onFontChange", bt = "onOpacityChange", yt = { [be]: "onClick", [ye]: "onDblClick", [he]: "onMouseIn", [ge]: "onMouseOut", [ve]: "onChange", [we]: "onInput", [Ne]: "onBlur", [xe]: "onFocus", [$e]: "onCurrentItemChanged", [Ae]: void 0, [_e]: "onItemClicked", [Ie]: "onCellSelect", [Te]: void 0, [Se]: "onRowSelect", [Ce]: void 0, [Oe]: "onDataChange", [Ee]: "onTimeout", [Le]: "onVerified", [je]: "onError", [Pe]: "onPlay", [ke]: "onPause", [Ve]: "onProgress", [Re]: "onEnded", [Be]: "onPause", [De]: "onPlay", [Me]: void 0, [Fe]: void 0, [He]: "onKeyPress", [qe]: "onKeyUp", [Ge]: "onKeyDown", [We]: void 0, [Ye]: "onViewportEnter", [ze]: "onViewportLeave", [Xe]: void 0, [Ke]: void 0, [Ue]: void 0, [Je]: void 0, [Ze]: void 0, [Qe]: "onMessage", [et]: void 0, [tt]: "onItemReady", [nt]: "onItemRemoved", [rt]: void 0, [at]: "onItemClicked", [ot]: "onMarkerClicked", [it]: "onMapClicked", [st]: void 0, [lt]: "onStateChange", [ut]: "onItemMouseIn", [pt]: "onItemMouseOut", [ct]: "onItemClick", [mt]: "onItemDblClick", [dt]: "onColorChange", [ft]: "onFontChange", [bt]: "onOpacityChange" }, ht = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, gt = (e2) => {
          const { target: t2, type: n2, context: r2 } = e2;
          return { target: t2, type: ht[n2] ?? n2, context: r2 };
        }, vt = (e2) => {
          const { clientX: t2, clientY: n2, pageX: r2, pageY: a2, screenX: o2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: u2 } = s2;
          return { clientX: t2, clientY: n2, pageX: r2, pageY: a2, screenX: o2, screenY: i2, offsetX: l2, offsetY: u2 };
        }, Nt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, xt = (e2) => e2.replace(/^on/i, ""), $t = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), At = (e2, t2, n2, r2) => {
          const { create$w: a2, createEvent: o2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, n3) => de(n3)(e3, { type: ["function"] }, t3))(n2, Nt[e2] ?? e2, l2.role)) return s2();
          const [u2, p2] = $t(t2), c2 = i2(e2, (e3, t3) => {
            const i3 = o2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: i3.context }), l3 = r2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...gt(i3), ...l3 }, s3);
          }), m2 = { eventName: e2, compId: l2.compId, cb: n2, unregister: c2 };
          return p2({ listeners: [...u2.listeners, m2] }), s2();
        }, wt = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(Nt).find(([t4, n3]) => xt(n3.toLowerCase()) === xt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(yt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, _t = (e2, t2, n2, r2) => At(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...vt(e3), ...t3 && r2?.(t3) })), It = (e2) => ({ onChange: (t2) => At("onChange", e2, t2) });
        const Tt = (e2) => ({ onClick: (t2) => _t("onClick", e2, t2), onDblClick: (t2) => _t("onDblClick", e2, t2) }), St = (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => At("onFocus", e2, t2), onBlur: (t2) => At("onBlur", e2, t2) }), Ct = ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), Ot = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: r2, compType: a2, isGlobal: o2, getParent: i2, role: s2, wixCodeId: l2 } = t2, u2 = `$w.${a2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return r2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return i2();
          }, get global() {
            return o2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: s2, type: u2, global: o2() };
          } };
        }, Et = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: r2, create$w: a2, createEvent: o2 } = t2, i2 = (e3, t3) => de(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => i2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = o2({ type: "viewportEnter" }), t3 = a2();
            n3(e3, t3);
          }), At("onViewportEnter", t2, n3)) : r2(), onViewportLeave: (n3) => i2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = o2({ type: "viewportLeave" }), t3 = a2();
            n3(e3, t3);
          }), At("onViewportLeave", t2, n3)) : r2() };
        }, Lt = { duration: 1200, delay: 0 }, jt = { arc: { ...Lt, direction: "left" }, bounce: { ...Lt, direction: "topLeft", intensity: "medium" }, puff: { ...Lt }, zoom: { ...Lt }, fade: { ...Lt }, flip: { ...Lt, direction: "right" }, float: { ...Lt, direction: "right" }, fly: { ...Lt, direction: "right" }, fold: { ...Lt, direction: "left" }, glide: { ...Lt, angle: 0, distance: 0 }, roll: { ...Lt, direction: "left" }, slide: { ...Lt, direction: "left" }, spin: { ...Lt, direction: "cw", cycles: 5 }, turn: { ...Lt, direction: "right" }, ArcIn: { ...Lt, direction: "right" }, ArcOut: { ...Lt, direction: "right" }, BounceIn: { ...Lt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Lt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Lt, direction: "right" }, CollapseOut: { ...Lt }, Conceal: { ...Lt, direction: "right" }, Reveal: { ...Lt, direction: "left" }, FadeIn: { ...Lt }, FadeOut: { ...Lt }, FlipIn: { ...Lt, direction: "left" }, FlipOut: { ...Lt, direction: "left" }, FloatIn: { ...Lt, direction: "right" }, FloatOut: { ...Lt, direction: "right" }, FlyIn: { ...Lt, direction: "right" }, FlyOut: { ...Lt, direction: "right" }, FoldIn: { ...Lt, direction: "left" }, FoldOut: { ...Lt, direction: "left" }, GlideIn: { ...Lt, angle: 0, distance: 150 }, GlideOut: { ...Lt, angle: 0, distance: 150 }, DropIn: { ...Lt }, PopOut: { ...Lt }, SlideIn: { ...Lt, direction: "left" }, SlideOut: { ...Lt, direction: "left" }, SpinIn: { ...Lt, direction: "cw", cycles: 2 }, SpinOut: { ...Lt, direction: "cw", cycles: 2 }, TurnIn: { ...Lt, direction: "right" }, TurnOut: { ...Lt, direction: "right" } }, Pt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, kt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Vt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Rt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Bt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Dt = { arc: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Vt, delay: Rt } }, zoom: { type: ["object"], properties: { duration: Vt, delay: Rt } }, fade: { type: ["object"], properties: { duration: Vt, delay: Rt } }, flip: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Bt } }, float: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Bt } }, fly: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Bt } }, fold: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Bt } }, glide: { type: ["object"], properties: { duration: Vt, delay: Rt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Bt } }, slide: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Bt } }, spin: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Mt = ({ propertyName: e2, compName: t2 }) => (n2, r2) => {
          if (!n2) return false;
          if (void 0 === r2) return true;
          const o2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (r3, o3) => {
            a(p({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${o3?.value}`, infoLink: kt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!me({ reportError: o2, reportWarning: () => ({}) }, t2)(r2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (r3, o3) => {
            a(l({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${o3?.propertyName}" cannot be set to the value "${o3?.value}"`, infoLink: kt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!me({ reportError: i2, reportWarning: () => ({}) }, t2)(r2, Dt[n2], e2);
        }, Ft = (e2) => 0 === Object.keys(e2).length, Ht = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: r2, metaData: o2, getSdkInstance: l2, runAnimation: p2, createSdkState: c2, styleUtils: m2, setProps: d2 }) => {
          const f2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: r3 }) => {
            const o3 = Mt({ propertyName: r3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Ft(n3)) return a(s({ propertyName: r3, compName: e3, infoLink: kt(r3) })), false;
            const l3 = "hide" === r3 ? "HIDE" : "SHOW", p3 = Pt[l3]?.deprecatedValues;
            return t3 && n3 && p3 && p3.find((e4) => e4 === t3) && !Ft(n3) ? (a(u({ compName: e3, effectName: t3, propertyName: r3, infoLink: kt(r3) })), false) : !!p3.find((e4) => e4 === t3) || (t3 && !(t3 in Dt) ? (a(i({ propertyName: r3, compName: e3, effectName: t3, infoLink: kt(r3) })), false) : !!o3(t3, n3));
          })({ compName: o2.role }), [b2, y2] = c2({ hidden: o2.hiddenOnLoad, collapsed: o2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (a2, o3) => {
            if (d2({ hidden: true }), b2.collapsed || b2.hidden) y2({ hidden: true });
            else {
              if (f2({ effectName: a2, effectOptions: o3, propertyName: "hide" })) {
                const e3 = { animationDirection: Pt.HIDE.suffix, effectName: a2, effectOptions: { ...jt?.[a2] || Lt, ...o3 } };
                await Promise.all([p2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else n2(m2.getHiddenStyles()), t2 && r2.setStyles(m2.getHiddenStyles());
              y2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (a2, o3) => {
            if (d2({ hidden: false }), !b2.collapsed && b2.hidden) {
              if (f2({ effectName: a2, effectOptions: o3, propertyName: "show" })) {
                const e3 = { animationDirection: Pt.SHOW.suffix, effectName: a2, effectOptions: { ...jt?.[a2] || Lt, ...o3 } };
                await Promise.all([p2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else n2(m2.getShownStyles()), t2 && r2.setStyles(m2.getShownStyles());
              y2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else y2({ hidden: false });
          }, collapse: async () => {
            d2({ collapsed: true }), b2.collapsed || (n2(m2.getCollapsedStyles()), t2 && r2.setStyles(m2.getCollapsedStyles()), y2({ collapsed: true }), b2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (d2({ collapsed: false }), b2.collapsed) {
              const a2 = { ...m2.getExpandedStyles(), visibility: b2.hidden ? "hidden" : null };
              n2(a2), t2 && r2.setStyles(a2), y2({ collapsed: false }), b2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return b2.collapsed;
          }, get hidden() {
            return Boolean(b2.hidden);
          }, get isVisible() {
            if (!o2.isRendered()) return false;
            let e3 = l2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, qt = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, r2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return H([Ht({ viewportState: n2, hasPortal: t3 }), Et((e4, t4) => {
            r2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), Gt = (e2, t2, n2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && r(D({ functionName: n2, wrongEffects: a2, allowedEffects: e2 }));
        }, Wt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            Gt(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            Gt(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            Gt(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Yt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), zt = (e2, t2) => "string" != typeof e2 ? (Xt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Ut(e2, t2), false), Xt = (e2, t2, n2, a2) => {
          r(V({ propertyName: e2, functionName: t2, value: n2, expectedType: a2 }));
        }, Kt = (e2, t2) => {
          r(d({ propertyName: e2, functionName: t2 }));
        }, Ut = (e2, t2) => {
          r(F({ propertyName: e2, functionName: t2 }));
        }, Jt = (e2) => {
          const { setProps: t2, props: n2 } = e2;
          return { customClassList: { get value() {
            return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
          }, values() {
            return n2.customClassNames ? n2.customClassNames : [];
          }, add(...e3) {
            const r2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!zt(t3, "customClassList.add")) return;
                r2.add(t3);
              }
              t2({ customClassNames: Array.from(r2) });
            } else Kt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Kt("className", "customClassList.remove");
            const r2 = new Set(n2.customClassNames);
            for (const t3 of e3) {
              if (!zt(t3, "customClassList.remove")) return;
              r2.delete(t3);
            }
            t2({ customClassNames: Array.from(r2) });
          }, contains(e3) {
            if (e3) return zt(e3, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e3) : void 0;
            Kt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!zt(t3, "customClassList.replace") || !zt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (r(f({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!zt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Kt("className", "customClassList.toggle"), false);
          } } };
        }, Zt = ({ role: e2, compType: t2, isGlobal: n2, isRendered: r2 }) => ({ id: e2, type: `$w.${t2}`, global: n2(), rendered: r2() }), Qt = (e2) => ({ onMouseIn: (t2) => _t("onMouseEnter", e2, t2), onMouseOut: (t2) => _t("onMouseLeave", e2, t2), removeEventHandler: (t2, n2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (r(V({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof n2 ? (r(V({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), a2()) : ((e3, t3, n3) => {
            const { metaData: r2, getSdkInstance: a3 } = t3, [o2, i2] = $t(t3), s2 = o2.listeners.filter((t4) => wt(t4.eventName, e3) && t4.cb === n3 && t4.compId === r2.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: o2.listeners.filter((e4) => !s2.includes(e4)) }), a3();
          })(t2, e2, n2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Zt(e2.metaData);
        } }), en = Et(), tn = (H([Ot, en, Qt, Wt, Jt]), fe(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: Y(n2) ? void 0 : n2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } }));
        var nn;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(nn || (nn = {}));
        const rn = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, an = (e2) => on(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), on = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), sn = (e2, t2, n2, a2, o2) => o2 ? !!n2(o2) || (r(a2), false) : !!t2 || (r(te({ value: o2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), ln = (e2, t2 = true) => (n2) => sn(e2, t2, on, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, n2), un = (e2, t2 = true) => (n2) => sn(e2, t2, an, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, n2), pn = fe(({ setProps: e2, props: t2, create$w: n2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return n2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [un("describedBy")] }), cn = fe(({ setProps: e2, props: t2, create$w: n2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return n2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [un("labelledBy")] }), mn = fe(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: Y(n2) ? void 0 : String(n2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), dn = fe(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: Y(n2) ? void 0 : String(n2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), fn = fe(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: Y(n2) ? void 0 : String(n2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), bn = fe(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: Y(n2) ? void 0 : String(n2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), yn = fe(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: Y(n2) ? void 0 : n2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), hn = fe(({ setProps: e2, props: t2, create$w: n2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return n2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [ln("owns")] }), gn = fe(({ setProps: e2, props: t2, create$w: n2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return n2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [ln("controls")] }), vn = fe(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: Y(n2) ? void 0 : n2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), Nn = fe(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: Y(n2) ? void 0 : n2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), xn = fe(({ setProps: e2, props: t2, create$w: n2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return n2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [un("errorMessage")] }), $n = fe(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: Y(n2) ? void 0 : String(n2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), An = fe(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: Y(n2) ? void 0 : String(n2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), wn = fe(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: Y(n2) ? void 0 : String(n2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), _n = fe(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: Y(n2) ? void 0 : String(n2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), In = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(n2) {
          null === n2 || G(n2) ? e2({ screenReader: { ...t2.screenReader, prefix: n2 } }) : r(rn("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(n2) {
          null === n2 || G(n2) ? e2({ screenReader: { ...t2.screenReader, suffix: n2 } }) : r(rn("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(n2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: Y(n2) ? void 0 : n2 } });
        } } }), Tn = (fe(In, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), fe(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: Y(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), Sn = fe(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: Y(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), Cn = { enableAriaLabel: tn, enableAriaDescribedBy: pn, enableAriaLabelledBy: cn, enableAriaAtomic: mn, enableAriaBusy: dn, enableAriaCurrent: fn, enableAriaExpanded: bn, enableAriaLive: yn, enableAriaOwns: hn, enableAriaControls: gn, enableAriaRoleDescription: vn, enableAriaRelevant: Nn, enableAriaErrorMessage: xn, enableAriaHidden: $n, enableAriaPressed: An, enableAriaHaspopup: wn, enableAriaRequired: _n }, On = { enableScreenReader: In, enableRole: Tn, enableTabIndex: Sn }, En = ({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: n2 = true, enableAriaAtomic: r2 = false, enableAriaBusy: a2 = false, enableAriaHidden: o2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: u2 = false, enableAriaLive: p2 = false, enableAriaOwns: c2 = false, enableAriaControls: m2 = false, enableAriaRoleDescription: d2 = false, enableAriaRelevant: f2 = false, enableRole: b2 = false, enableTabIndex: y2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: g2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
          const x2 = [], $2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: n2, enableAriaAtomic: r2, enableAriaBusy: a2, enableAriaCurrent: l2, enableAriaExpanded: u2, enableAriaLive: p2, enableAriaOwns: c2, enableAriaControls: m2, enableAriaRoleDescription: d2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: o2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, A2 = { enableScreenReader: g2, enableRole: b2, enableTabIndex: y2 };
          if (Object.values($2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, n3]) => n3 && Cn[e5] && t3.push(Cn[e5])), (e5) => {
                const n3 = H(t3, { modifyAriaSourceKeys: true })(e5);
                return n3.ariaAttributes = H(t3)(e5), n3;
              };
            })($2);
            x2.push(e3);
          }
          Object.entries(A2).forEach(([e3, t3]) => t3 && On[e3] && x2.push(On[e3]));
          return { accessibility: H(x2)(N2) };
        }, Ln = (e2) => `--${((e3) => `${e3.replace(/([A-Z])/g, "-$1").toLowerCase()}`)(e2)}`;
        var jn, Pn, kn;
        !function(e2) {
          e2.multiLingualVariable = "multiLangVar", e2.staticVariable = "staticVar", e2.cssVariable = "cssVar";
        }(jn || (jn = {})), function(e2) {
          e2[e2.string_length = 0] = "string_length", e2[e2.string_min = 1] = "string_min", e2[e2.string_max = 2] = "string_max", e2[e2.num_min = 3] = "num_min", e2[e2.num_max = 4] = "num_max", e2[e2.one_of = 5] = "one_of";
        }(Pn || (Pn = {})), function(e2) {
          e2.element = "element", e2.clickable = "clickable", e2.changeable = "changeable", e2.focusable = "focusable", e2.disableable = "disableable", e2.accessible = "accessible";
        }(kn || (kn = {}));
        const Vn = { [kn.clickable]: () => Tt, [kn.changeable]: () => It, [kn.focusable]: () => St, [kn.disableable]: () => Ct, [kn.element]: ({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => H([Ot, Qt, Wt, Yt, e2 ? qt(t2) : en, Jt]), [kn.accessible]: () => En() }, Rn = (e2, t2) => e2 ? e2.map((e3) => t2[e3]()) : [], Bn = (({ sdkMap: e2, defaultMixins: t2 }) => ({ sdkSchema: n2, validationSchema: r2, mixins: a2 }) => {
          const o2 = t2.map((t3) => e2[t3]()), i2 = Object.keys(n2);
          if (0 === i2.length) return H([...o2, ...Rn(a2, e2)]);
          const s2 = (e3) => "function" === n2[e3].type, l2 = i2.filter((e3) => s2(e3)), u2 = i2.filter((e3) => !s2(e3)), p2 = (e3) => {
            const { props: t3, metaData: r3, setProps: a3, setStyles: o3, createSdkState: i3 } = e3, [s3, p3] = i3({});
            const c2 = { toJSON() {
              const e4 = Object.fromEntries(u2.map((e5) => [e5, t3[e5]]));
              return { ...Zt(r3), ...e4 };
            } };
            return l2.forEach((t4) => function(t5) {
              c2[t5] = (n3) => At(t5, e3, n3);
            }(t4)), u2.forEach((e4) => function(e5) {
              Object.defineProperty(c2, e5, { enumerable: true, get: () => n2[e5].persistence === jn.cssVariable ? s3[e5] : t3[e5], set: n2[e5].readonly ? void 0 : (t4) => {
                n2[e5].persistence === jn.cssVariable ? (o3({ [Ln(e5)]: `${t4} !important` }), p3({ [e5]: t4 })) : a3({ [e5]: t4 });
              } });
            }(e4)), c2;
          };
          return H([...o2, r2 ? fe(p2, r2) : p2, ...Rn(a2, e2)]);
        })({ sdkMap: Vn, defaultMixins: [kn.element] });
        var Dn = function(e2, t2) {
          return void 0 === t2 && (t2 = "_"), (n2, r2) => {
            const a2 = r2.reduce((r3, a3) => (r3[a3] = "" + e2 + t2 + n2 + t2 + a3, r3), {});
            return { [n2]: a2 };
          };
        };
        const Mn = "wixui_ShareButtons", Fn = Dn(Mn), Hn = Dn("StylablePanel"), qn = { ...Fn("component", ["label"]), ...Fn("gfpp", ["manage", "settings"]), ...Fn("manage", ["copy_link_default_text"]), ...Fn("layout", ["panel_header", "arrangement_title", "horizontal_thumbnail_label", "vertical_thumbnail_label", "horizontal_thumbnail_tooltip", "vertical_thumbnail_tooltip", "buttons_show_title", "icon_position_title", "show_heading_title", "spacing_section_divider", "spacing_heading_buttons_title", "spacing_icon_text_title", "spacing_buttons_title", "spacing_rows", "icon_left_tooltip", "icon_right_tooltip", "icon_above_tooltip", "icon_below_tooltip", "buttons_show_dropdown_text_icon", "buttons_show_dropdown_text", "buttons_show_dropdown_icon", "buttons_show_dropdown_nothing", "direction_label", "direction_LTR", "direction_RTL", "direction_tooltip", "alignment_title", "alignment_left_tooltip", "alignment_right_tooltip", "alignment_center_tooltip"]), ...Fn("settings", ["empty_state_title", "empty_state_body", "panel_header", "share_page_title", "homepage_label", "current_label"]), ...Hn("Design", ["Fills_Tab_Title", "Borders_Tab_Title", "Corners_Tab_Title", "Shadows_Tab_Title", "Text_Tab_Title", "Layout_Tab_Title", "Icon_Tab_Title", "State_Dropdown_Regular", "State_Dropdown_Hover"]) };
        qn.layout.horizontal_thumbnail_label, qn.layout.horizontal_thumbnail_tooltip, qn.layout.vertical_thumbnail_label, qn.layout.vertical_thumbnail_tooltip, qn.layout.icon_left_tooltip, qn.layout.icon_right_tooltip, qn.layout.icon_above_tooltip, qn.layout.icon_below_tooltip, qn.layout.alignment_left_tooltip, qn.layout.alignment_center_tooltip, qn.layout.alignment_right_tooltip, qn.layout.direction_LTR, qn.layout.direction_RTL;
        let Gn = function(e2) {
          return e2.home = "home", e2.current = "current", e2;
        }({});
        const Wn = Bn({ sdkSchema: { pageToShare: { type: "string" } }, validationSchema: { type: ["object"], properties: { pageToShare: { type: ["string"] } } }, mixins: ["changeable"] }), Yn = H([Wn, (e2) => {
          let { setProps: t2, props: a2 } = e2;
          return { get pageToShare() {
            return a2.pageToShare;
          }, set pageToShare(e3) {
            Object.values(Gn).includes(e3) || ((e4) => n.test(e4))(e3) ? t2({ pageToShare: e3 }) : r(V({ propertyName: "pageToShare", functionName: "pageToShare", value: e3, expectedType: '"home", "current" or a valid URL' }));
          } };
        }, It]);
        var zn = { factory: Wn };
        return t;
      }();
    });
  })(ShareButtons_bundle_min);
  var ShareButtons_bundle_minExports = ShareButtons_bundle_min.exports;
  const ShareButtons = /* @__PURE__ */ getDefaultExportFromCjs(ShareButtons_bundle_minExports);
  var SignatureInput_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, o2) {
          for (var r2 in o2) e.o(o2, r2) && !e.o(t2, r2) && Object.defineProperty(t2, r2, { enumerable: true, get: o2[r2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return Jo;
        }, sdk: function() {
          return _o;
        } });
        function o(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function r(e2) {
          return "string" == typeof e2;
        }
        function n(e2) {
          return Array.isArray(e2);
        }
        function a(e2) {
          return null == e2;
        }
        function i(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function l(e2, t2) {
          return e2 < t2;
        }
        const d = { valueMissing: "value missing" }, c = { type: "General", validity: { badInput: false, customError: false, fileNotUploaded: false, fileTypeNotAllowed: false, fileSizeExceedsLimit: false, patternMismatch: false, rangeOverflow: false, rangeUnderflow: false, stepMismatch: false, tooLong: false, tooShort: false, typeMismatch: false, valueMissing: false, exceedsFilesLimit: false, valid: true, invalidTime: false, invalidDate: false }, validationMessage: "", htmlValidationMessageOverride: { key: "" } }, u = (e2) => !!e2.validity.customError ? e2.validationMessage : "", p = (e2, t2, o2) => ({ ...e2, validity: { ...e2.validity, [t2]: true, valid: false }, validationMessage: o2 }), m = (e2, t2, o2) => {
          const n2 = e2.validationMessage || o2 || ((e3, t3) => {
            const o3 = d[e3];
            return r(o3) ? o3 : o3(t3);
          })(t2);
          return p(e2, t2, n2);
        }, f = { validationData: c, customValidators: [() => {
        }] }, y = "validation", h = ({ createSdkState: e2 }) => {
          const [t2] = e2(f, y);
          return t2.validationData;
        }, g = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, v = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, b = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, N = ({ propertyName: e2, compName: t2, effectName: o2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because it is an invalid effectName value. Read more about effects: "${r2}"')`, w = ({ propertyName: e2, compName: t2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${o2}"')`, $ = ({ propertyName: e2, compName: t2, effectName: o2, wrongProperty: r2, wrongValue: n2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because it was called with the following invalid effectOptions ${r2}: ${n2}. Read more about the effectOptions object: "${a2}"')`, x = ({ propertyName: e2, compName: t2, effectName: o2, infoLink: r2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${o2}". Read more about effects: "${r2}"`, k = ({ propertyName: e2, compName: t2, effectName: o2, wrongValue: r2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${o2}" effect because the it was called with the following invalid effectOptions "${r2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${n2}"'`, C = ({ propertyName: e2, functionName: t2, compName: o2 }) => `The ${e2} parameter of "${o2}" that is passed to the ${t2} method cannot be set to null.`, I = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to null or undefined.`, S = ({ propertyName: e2, compName: t2, infoLink: o2 }) => ` The value of "${e2}" property of "${t2}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${o2}"`, O = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, T = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, V = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} is required for ${t2} method.`, E = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, P = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, j = ({ propertyName: e2, functionName: t2, index: o2 }) => `The ${e2} parameter of item at index ${o2} is not allowed for ${t2} method.`, L = ({ propertyNames: e2, functionName: t2, index: o2 }) => `The following parameters: ${[...e2]} of item at index ${o2} are unknown for ${t2} method.`, D = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be between ${r2} and ${n2}.`, R = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be between ${r2} and ${n2}.`, A = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be ${r2}.`, F = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}". Its length must be ${r2}.`, M = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}" because its length is shorter than ${r2}.`, q = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}" because its length is shorter than ${r2}.`, W = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}" because its length exceeds ${r2}.`, B = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}" because its length exceeds ${r2}.`, H = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". It must be between ${r2} and ${n2}.`, G = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${o2}". It must be between ${r2} and ${n2}.`, U = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${o2}". It must be ${r2}.`, X = ({ propertyName: e2, functionName: t2, value: o2, expectedValue: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${o2}". It must be ${r2}.`, Y = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be larger than ${r2}.`, z = ({ propertyName: e2, functionName: t2, value: o2, minimum: r2, index: n2 }) => `The value of ${e2} parameter of item at ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be larger than ${r2}.`, K = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be less than ${r2}.`, _ = ({ propertyName: e2, functionName: t2, value: o2, maximum: r2, index: n2 }) => `The value of ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be less than ${r2}.`, J = ({ propertyName: e2, functionName: t2, value: o2, expectedType: r2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. It must be of type ${r2}.`, Z = ({ propertyName: e2, functionName: t2, value: o2, expectedType: r2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value ${o2}. It must be of type ${r2}.`, Q = ({ propertyName: e2, functionName: t2, value: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${o2}. Bad format`, ee = ({ functionName: e2, wrongEffects: t2, allowedEffects: o2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${o2.join('", "')}".`, te = ({ propertyName: e2, functionName: t2, value: o2, index: r2 }) => `The "${e2}" property of the item at index ${r2} that is passed to the ${t2} method cannot be set to "${o2}". Bad format`, oe = ({ propertyName: e2, compName: t2, cssProperty: o2, exampleFormat: r2, infoLink: n2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${o2}" value. The value is expected in the following format:"${r2}". Read more about "${o2}" values: "${n2}"`, re = ({ propertyName: e2, compName: t2, cssProperty: o2, exampleFormats: r2, infoLink: n2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${o2}" value. The value is expected in one of the following formats:"${r2}". Read more about "${o2}" values: "${n2}"`, ne = ({ propertyName: e2, compType: t2 }) => `Cannot set property ${e2} of ${t2} which has only a getter.`, ae = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, ie = ({ compName: e2, functionName: t2, propertyName: r2, index: n2 }) => o(n2) ? I({ propertyName: r2, functionName: t2, index: n2 }) : e2 ? C({ compName: e2, functionName: t2, propertyName: r2 }) : b({ functionName: t2, propertyName: r2 }), se = ({ functionName: e2, propertyName: t2, index: r2 }) => o(r2) ? V({ functionName: e2, propertyName: t2, index: r2 }) : O({ functionName: e2, propertyName: t2 }), le = ({ functionName: e2, propertyNames: t2, index: r2 }) => t2 && t2.length > 1 ? o(r2) ? L({ functionName: e2, propertyNames: t2, index: r2 }) : P({ functionName: e2, propertyNames: t2 }) : o(r2) ? j({ functionName: e2, propertyName: t2[0], index: r2 }) : E({ functionName: e2, propertyName: t2[0] }), de = ({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2, index: i2 }) => a2 && n2 ? a2 === n2 ? o(i2) ? F({ functionName: e2, propertyName: t2, value: r2, expectedValue: a2, index: i2 }) : A({ functionName: e2, propertyName: t2, value: r2, expectedValue: a2 }) : o(i2) ? R({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2, index: i2 }) : D({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2 }) : !a2 && n2 ? o(i2) ? B({ functionName: e2, propertyName: t2, value: r2, maximum: n2, index: i2 }) : W({ functionName: e2, propertyName: t2, value: r2, maximum: n2 }) : o(i2) ? q({ functionName: e2, propertyName: t2, value: r2, minimum: a2, index: i2 }) : M({ functionName: e2, propertyName: t2, value: r2, minimum: a2 }), ce = ({ functionName: e2, propertyName: t2, value: r2, minimum: n2, maximum: a2, index: i2 }) => n2 && a2 ? n2 === a2 ? o(i2) ? X({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2, index: i2 }) : U({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2 }) : o(i2) ? G({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2, index: i2 }) : H({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2 }) : !n2 && a2 ? o(i2) ? _({ functionName: e2, propertyName: t2, maximum: a2, value: r2, index: i2 }) : K({ functionName: e2, propertyName: t2, maximum: a2, value: r2 }) : o(i2) ? z({ functionName: e2, propertyName: t2, value: r2, minimum: n2, index: i2 }) : Y({ functionName: e2, propertyName: t2, value: r2, minimum: n2 }), ue = ({ functionName: e2, propertyName: t2, types: r2, value: n2, index: a2 }) => {
          const i2 = r2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return o(a2) ? Z({ functionName: e2, index: a2, propertyName: t2, value: n2, expectedType: i2 }) : J({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, pe = ({ functionName: e2, propertyName: t2, value: r2, enum: n2, index: a2 }) => {
          const i2 = `from (${n2.join(",")})`;
          return o(a2) ? Z({ functionName: e2, propertyName: t2, value: r2, expectedType: i2, index: a2 }) : J({ functionName: e2, propertyName: t2, value: r2, expectedType: i2 });
        }, me = ({ functionName: e2, propertyName: t2, value: r2, index: n2 }) => o(n2) ? te({ functionName: e2, propertyName: t2, value: r2, index: n2 }) : Q({ functionName: e2, propertyName: t2, value: r2 }), fe = Object.prototype.hasOwnProperty, ye = Object.getOwnPropertyNames, he = () => {
        };
        function ge(e2, t2, o2, r2, a2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !n(e3);
          }(e2)) return we.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ge(e2, t3, o2, he, a2, i2)).filter((e3) => e3 === we.Valid).length ? we.Valid : we.Invalid;
          if (t2.required) {
            for (let o3 = 0; o3 < t2.required.length; o3++) if (!fe.call(e2, t2.required[o3])) return r2(se({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[o3] }), { ...i2, value: e2 }), we.Invalid;
          }
          const s2 = ye(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ye(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return r2(le({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), we.Invalid;
            }
          }
          for (let r3 = 0; r3 < s2.length; r3++) {
            const n2 = s2[r3];
            if (fe.call(e2, n2)) {
              const r4 = t2.properties[n2], a3 = e2[n2];
              if (!o2(a3, r4, { functionName: i2.functionName, index: i2.index, propertyName: n2 })) return we.Invalid;
            }
          }
          return we.Valid;
        }
        function ve(e2) {
          return Array.isArray(e2);
        }
        function be(e2, t2, r2, n2) {
          const { minimum: a2, maximum: d2, enum: c2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? c2 && !i(e2, c2) ? (r2(pe({ value: e2, enum: c2, ...n2 }), { ...n2, value: e2 }), we.Invalid) : o(a2) && l(e2, a2) || o(d2) && s(e2, d2) ? (r2(ce({ value: e2, minimum: a2, maximum: d2, ...n2 }), { ...n2, value: e2 }), we.Invalid) : we.Valid : we.InvalidType;
        }
        function Ne(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? we.Valid : we.InvalidType;
        }
        const we = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function $e({ reportError: e2, reportWarning: t2 }, d2, { suppressIndexErrors: c2 = false } = {}) {
          function u2(o2, r2, n2) {
            r2.warnIfNil && a(o2) && t2(ie({ ...n2, compName: d2 }), { ...n2, value: o2 });
            let i2 = 0;
            for (; i2 < r2.type.length; i2++) {
              const e3 = (0, p2[r2.type[i2]])(o2, r2, n2);
              if (e3 !== we.InvalidType) return e3 === we.Valid;
            }
            return i2 === r2.type.length && e2(ue({ value: o2, types: r2.type, ...n2 }), { ...n2, value: o2 }), false;
          }
          const p2 = { object: (o2, r2, n2) => ge(o2, r2, u2, e2, t2, n2), array: (e3, t3, o2) => function(e4, t4, o3, r2, a2, i2 = false) {
            if (!n(e4)) return we.InvalidType;
            let s2 = we.Valid;
            if (t4.items) {
              const r3 = ve(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let n2 = 0; n2 < r3; n2++) {
                const r4 = e4[n2];
                let l2, d3;
                ve(t4.items) ? (l2 = t4.items[n2], d3 = t4.items[n2].name) : (l2 = t4.items, d3 = t4.name), o3(r4, l2, { functionName: a2.functionName, propertyName: d3 || a2.propertyName, index: i2 ? void 0 : n2 }) || (s2 = we.Invalid);
              }
            }
            return s2;
          }(e3, t3, u2, 0, o2, c2), number: (t3, r2, n2) => function(e3, t4, r3, n3) {
            const { minimum: a2, maximum: d3, enum: c3 } = t4;
            return o(e3) ? c3 && !i(e3, c3) ? (r3(pe({ value: e3, enum: c3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : o(a2) && l(e3, a2) || o(d3) && s(e3, d3) ? (r3(ce({ value: e3, minimum: a2, maximum: d3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : we.Valid : we.InvalidType;
          }(t3, r2, e2, n2), integer: (t3, o2, r2) => be(t3, o2, e2, r2), string: (t3, o2, n2) => function(e3, t4, o3, n3) {
            const { minLength: a2, maxLength: d3, enum: c3, pattern: u3 } = t4;
            return r(e3) ? c3 && !i(e3, c3) ? (o3(pe({ value: e3, enum: c3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : a2 && l(e3.length, a2) || d3 && s(e3.length, d3) ? (o3(de({ value: e3, minimum: a2, maximum: d3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : u3 && !new RegExp(u3).test(e3) ? (o3(me({ value: e3, ...n3 }), { ...n3, value: e3 }), we.Invalid) : we.Valid : we.InvalidType;
          }(t3, o2, e2, n2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? we.Valid : we.InvalidType;
          }(e3), date: (e3) => Ne(e3), nil: (e3) => function(e4) {
            return a(e4) ? we.Valid : we.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? we.Valid : we.InvalidType;
          }(e3) };
          return function(e3, t3, o2) {
            return u2(e3, t3, { functionName: o2, propertyName: o2, index: void 0 });
          };
        }
        function xe(e2, { suppressIndexErrors: t2 = false } = {}) {
          return $e({ reportError: g, reportWarning: v }, e2, { suppressIndexErrors: t2 });
        }
        function ke(e2, t2, o2 = {}) {
          return (r2) => {
            const n2 = e2(r2), a2 = xe(r2.metaData.role), i2 = xe(r2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(n2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(n2, s2), d2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? d2.value = (...e4) => {
                const n3 = t2.properties[s2] && t2.properties[s2].args, a3 = o2[s2];
                let d3 = true;
                return n3 && (d3 = i2(e4, { type: ["array"], items: n3 }, s2)), d3 && a3 && (d3 = a3.every((t3) => t3(e4, r2))), d3 ? l2.value(...e4) : void 0;
              } : d2.value = l2.value : (l2.get && (d2.get = () => n2[s2]), l2.set && (d2.set = (e4) => {
                const i3 = o2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = a2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, r2))), l3 && (n2[s2] = e4);
              })), Object.defineProperty(e3, s2, d2), e3;
            }, {});
          };
        }
        const Ce = { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" };
        function Ie(e2) {
          return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e2);
        }
        function Se(e2) {
          return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e2);
        }
        function Oe(e2) {
          return Ce[e2];
        }
        function Te(e2) {
          return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e2) || Ie(e2);
        }
        function Ve(e2) {
          return Se(e2) || /^#(([a-f0-9]){3}){1,2}$/i.test(e2);
        }
        const Ee = (e2) => parseInt(e2.repeat(2 / e2.length), 16), Pe = (e2) => {
          if (!Ve(e2)) return;
          const t2 = ((e3) => {
            const t3 = Math.floor((e3.length - 1) / 3);
            return e3.slice(1).match(new RegExp(`.{${t3}}`, "g"));
          })(e2), [o2, r2, n2, a2] = t2.map(Ee);
          return [o2, r2, n2, void 0 !== a2 ? De(a2 / 255) : 1];
        }, je = (e2) => Ve(e2) ? Pe(e2) : Te(e2) ? ((e3) => {
          if (!Te(e3)) return;
          const t2 = e3.substring(e3.indexOf("(")).split(","), o2 = parseInt(t2[0].substring(1).trim(), 10), r2 = parseInt(t2[1].trim(), 10), n2 = parseInt(t2[2].trim(), 10), a2 = t2[3] && parseFloat(t2[3].substring(0, t2[3].length - 1).trim());
          return [o2, r2, n2, void 0 !== a2 ? a2 : 1];
        })(e2) : Oe(e2) ? Pe(Ce[e2]) : void 0, Le = (e2) => {
          const t2 = je(e2);
          if (t2) return t2[3];
        }, De = (e2) => Math.round(100 * e2) / 100;
        const Re = ({ propertyName: e2, cssProperty: t2, supportAlpha: o2 }) => (r2, n2) => function(e3) {
          return Ve(e3) || Te(e3) || Oe(e3);
        }(r2) ? (o2 || Fe({ propertyName: e2, color: r2, api: n2 }), true) : (g(re({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: n2.metaData.role, exampleFormats: o2 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), Ae = ({ propertyName: e2, cssProperty: t2 }) => (o2, n2) => !!function(e3) {
          if (r(e3)) {
            const t3 = e3.endsWith("px"), o3 = e3.slice(0, e3.length - 2), r2 = /^\d*$/.test(o3);
            return t3 && r2 && parseInt(o3, 10);
          }
          return false;
        }(o2) || (g(oe({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: n2.metaData.role, exampleFormat: "1px" })), false), Fe = ({ propertyName: e2, color: t2, api: o2 }) => {
          (Se(t2) || Ie(t2)) && v(S({ propertyName: e2, compName: o2.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}` }));
        }, Me = ({ name: e2, prefix: t2 }) => t2 ? `--${t2}-corvid-${e2}` : `--corvid-${e2}`, qe = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, We = ["hover", "disabled"], Be = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
        function He(e2) {
          return e2.charAt(0).toUpperCase() + e2.slice(1);
        }
        const Ge = (e2) => (t2 = { supportOpacity: true }) => {
          const { prefix: o2, supportOpacity: r2, withoutDefaultValue: n2, supportedStates: a2 = [] } = t2, i2 = (t3, o3 = e2) => {
            const a3 = Re({ propertyName: e2, cssProperty: r2 ? "rgbaColor" : "rgbColor", supportAlpha: r2 });
            return ke(({ setStyles: a4, sdkData: i3, createSdkState: s3 }) => {
              const l3 = i3?.initialSdkStyles?.[o3], d2 = Le(l3), c2 = n2 ? void 0 : l3, [u2, p2] = s3({ [o3]: c2 }, o3);
              return Object.defineProperty({ reset() {
                p2({ [o3]: c2 }), a4({ [t3]: void 0 });
              } }, e2, { enumerable: true, set(e3) {
                let n3 = e3;
                if (!r2 && (Se(e3) || Ie(e3))) {
                  const [t4, o4, r3] = je(e3);
                  n3 = `rgb(${t4}, ${o4}, ${r3})`;
                }
                if ("number" == typeof d2 && 1 !== d2) {
                  const t4 = Le(e3);
                  n3 = ((e4, t5) => {
                    const o4 = je(e4);
                    if (o4) {
                      const [e5, r3, n4] = o4;
                      return `rgba(${e5}, ${r3}, ${n4}, ${t5})`;
                    }
                  })(n3, Number.isFinite(t4) ? De(d2 * t4) : d2);
                }
                p2({ [o3]: n3 }), a4({ [t3]: n3 });
              }, get() {
                return u2[o3];
              } });
            }, { properties: { [e2]: { type: ["string", "nil"] } } }, { [e2]: [a3] });
          }, s2 = a2.map((t3) => ke((r3) => {
            const n3 = i2(Me({ name: Be[t3][e2], prefix: o2 }), t3 + He(e2))(r3);
            return { [t3]: n3 };
          }, { properties: { [t3]: { type: ["object", "nil"] } } })), l2 = i2(Me({ name: qe[e2], prefix: o2 }));
          return (e3) => Object.assign(l2(e3), s2.reduce((t3, o3) => Object.assign(t3, o3(e3)), {}));
        }, Ue = Ge("backgroundColor"), Xe = Ge("borderColor"), Ye = "textColor", ze = "color", Ke = Ge("fillColor"), _e = Ge("strokeColor"), Je = Ge("iconColor"), Ze = "reset";
        function Qe(...e2) {
          const t2 = (o2 = Ze, (...e3) => {
            const t3 = {}, r2 = { [o2](e4) {
              if ("function" == typeof t3[e4]) return t3[e4](e4);
            } };
            return e3.forEach((e4) => {
              Object.keys(e4).filter((e5) => e5 !== o2).map((t4) => ({ key: t4, descriptor: Object.getOwnPropertyDescriptor(e4, t4) })).forEach(({ key: n2, descriptor: a2 }) => {
                "function" == typeof e4[o2] && (t3[n2] = e4[o2]), Object.defineProperty(r2, n2, a2);
              });
            }), r2;
          });
          var o2;
          return (o3) => {
            const r2 = e2.map((e3) => e3(o3)), n2 = {};
            for (const e3 of We) r2.some((t3) => e3 in t3) && (n2[e3] = t2(...r2.map((t3) => t3[e3] ?? {})), Object.defineProperty(n2[e3], Ze, { enumerable: false }), r2.forEach((t3) => {
              delete t3[e3];
            }));
            const a2 = t2(...r2);
            return Object.defineProperty(a2, Ze, { enumerable: false }), Object.assign(a2, n2);
          };
        }
        const et = { BackgroundColor: Ue, BorderColor: Xe, BorderWidth: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = Me({ name: qe.borderWidth, prefix: t2 });
          return ke(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const a2 = t3?.initialSdkStyles?.borderWidth, [i2, s2] = n2({ borderWidth: o2 ? void 0 : a2 }, "borderWidth");
            return { set borderWidth(t4) {
              s2({ borderWidth: t4 }), e3({ [r2]: t4 });
            }, get borderWidth() {
              return i2.borderWidth;
            }, reset() {
              s2({ borderWidth: a2 }), e3({ [r2]: void 0 });
            } };
          }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [Ae({ propertyName: "borderWidth", cssProperty: "width" })] });
        }, ForegroundColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = Me({ name: qe.foregroundColor, prefix: t2 });
          return ke(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const [a2, i2] = n2({ foregroundColor: o2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }, "foregroundColor");
            return { set foregroundColor(t4) {
              i2({ foregroundColor: t4 }), e3({ [r2]: t4 });
            }, get foregroundColor() {
              return a2.foregroundColor;
            }, reset() {
              i2({ foregroundColor: o2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }), e3({ [r2]: void 0 });
            } };
          }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [Re({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
        }, BorderRadius: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2 } = e2, r2 = Me({ name: qe.borderRadius, prefix: t2 });
          return ke(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const a2 = t3?.initialSdkStyles?.borderRadius, [i2, s2] = n2({ borderRadius: o2 ? void 0 : a2 }, "borderRadius");
            return { set borderRadius(t4) {
              s2({ borderRadius: t4 }), e3({ [r2]: t4 });
            }, get borderRadius() {
              return i2.borderRadius;
            }, reset() {
              s2({ borderRadius: a2 }), e3({ [r2]: void 0 });
            } };
          }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [Ae({ propertyName: "borderRadius", cssProperty: "radius" })] });
        }, TextColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: o2, supportedStates: r2 = [] } = e2, n2 = (e3, t3 = Ye, r3 = ze) => ke(({ setStyles: n3, sdkData: a3, createSdkState: i3 }) => {
            const s2 = a3?.initialSdkStyles?.[r3], l2 = o2 ? void 0 : s2, [d2, c2] = i3({ [t3]: l2 }, t3);
            return { set color(o3) {
              let r4 = o3;
              if (Se(o3) || Ie(o3)) {
                const [e4, t4, n4] = je(o3);
                r4 = `rgb(${e4}, ${t4}, ${n4})`;
              }
              c2({ [t3]: r4 }), n3({ [e3]: r4 });
            }, get color() {
              return d2[t3];
            }, reset() {
              c2({ [t3]: l2 }), n3({ [e3]: void 0 });
            } };
          }, { properties: { color: { type: ["string", "nil"] } } }, { color: [Re({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), a2 = r2.map((e3) => ke((o3) => {
            const r3 = n2(Me({ name: Be[e3].textColor, prefix: t2 }), ((e4) => e4 + He(Ye))(e3), ((e4) => e4 + He(ze))(e3))(o3);
            return { [e3]: r3 };
          }, { properties: { [e3]: { type: ["object", "nil"] } } })), i2 = n2(Me({ name: qe.textColor, prefix: t2 }));
          return (e3) => Object.assign(i2(e3), a2.reduce((t3, o3) => Object.assign(t3, o3(e3)), {}));
        }, FillColor: Ke, StrokeColor: _e, IconColor: Je }, tt = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} }, ot = "click", rt = "dblClick", nt = "mouseenter", at = "mouseleave", it = "change", st = "blur", lt = "focus", dt = "imageChanged", ct = "imageExpanded", ut = "onInput", pt = "itemClicked", mt = "cellSelect", ft = "cellEdit", yt = "rowSelect", ht = "fetchData", gt = "dataChange", vt = "onTimeout", bt = "onVerified", Nt = "onError", wt = "onPlay", $t = "onPause", xt = "onProgress", kt = "onEnded", Ct = "autoplayOff", It = "autoplayOn", St = "playEnded", Ot = "playProgress", Tt = "keyPress", Vt = "keyUp", Et = "keyDown", Pt = "screenIn", jt = "viewportEnter", Lt = "viewportLeave", Dt = "scroll", Rt = "validate", At = "setCustomValidity", Ft = "syncValidationData", Mt = "updateValidityIndication", qt = "message", Wt = "uploadComplete", Bt = "itemReady", Ht = "itemRemoved", Gt = "tagClick", Ut = "quickActionBarItemClicked", Xt = "markerClicked", Yt = "mapClicked", zt = "iconMouseIn", Kt = "onStateChange", _t = "itemMouseIn", Jt = "itemMouseOut", Zt = "itemMouseClick", Qt = "itemMouseDblClick", eo = "onColorChange", to = "onFontChange", oo = "onOpacityChange", ro = { [ot]: "onClick", [rt]: "onDblClick", [nt]: "onMouseIn", [at]: "onMouseOut", [it]: "onChange", [ut]: "onInput", [st]: "onBlur", [lt]: "onFocus", [dt]: "onCurrentItemChanged", [ct]: void 0, [pt]: "onItemClicked", [mt]: "onCellSelect", [ft]: void 0, [yt]: "onRowSelect", [ht]: void 0, [gt]: "onDataChange", [vt]: "onTimeout", [bt]: "onVerified", [Nt]: "onError", [wt]: "onPlay", [$t]: "onPause", [xt]: "onProgress", [kt]: "onEnded", [Ct]: "onPause", [It]: "onPlay", [St]: void 0, [Ot]: void 0, [Tt]: "onKeyPress", [Vt]: "onKeyUp", [Et]: "onKeyDown", [Pt]: void 0, [jt]: "onViewportEnter", [Lt]: "onViewportLeave", [Dt]: void 0, [Rt]: void 0, [At]: void 0, [Ft]: void 0, [Mt]: void 0, [qt]: "onMessage", [Wt]: void 0, [Bt]: "onItemReady", [Ht]: "onItemRemoved", [Gt]: void 0, [Ut]: "onItemClicked", [Xt]: "onMarkerClicked", [Yt]: "onMapClicked", [zt]: void 0, [Kt]: "onStateChange", [_t]: "onItemMouseIn", [Jt]: "onItemMouseOut", [Zt]: "onItemClick", [Qt]: "onItemDblClick", [eo]: "onColorChange", [to]: "onFontChange", [oo]: "onOpacityChange" }, no = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, ao = (e2) => {
          const { target: t2, type: o2, context: r2 } = e2;
          return { target: t2, type: no[o2] ?? o2, context: r2 };
        }, io = (e2) => {
          const { clientX: t2, clientY: o2, pageX: r2, pageY: n2, screenX: a2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: d2 } = s2;
          return { clientX: t2, clientY: o2, pageX: r2, pageY: n2, screenX: a2, screenY: i2, offsetX: l2, offsetY: d2 };
        }, so = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, lo = (e2) => e2.replace(/^on/i, ""), co = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), uo = (e2, t2, o2, r2) => {
          const { create$w: n2, createEvent: a2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, o3) => xe(o3)(e3, { type: ["function"] }, t3))(o2, so[e2] ?? e2, l2.role)) return s2();
          const [d2, c2] = co(t2), u2 = i2(e2, (e3, t3) => {
            const i3 = a2({ type: e3.type, compId: e3.compId }), s3 = n2({ context: i3.context }), l3 = r2?.({ componentEvent: e3, eventPayload: t3 });
            o2({ ...ao(i3), ...l3 }, s3);
          }), p2 = { eventName: e2, compId: l2.compId, cb: o2, unregister: u2 };
          return c2({ listeners: [...d2.listeners, p2] }), s2();
        }, po = (e2, t2) => {
          const o2 = ((e3) => {
            const t3 = Object.entries(so).find(([t4, o3]) => lo(o3.toLowerCase()) === lo(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(ro[t2] ?? t2);
          return e2.toLowerCase() === o2.toLowerCase();
        }, mo = (e2, t2, o2, r2) => uo(e2, t2, o2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...io(e3), ...t3 && r2?.(t3) }));
        function fo(e2, t2) {
          const { modifyAriaSourceKeys: o2 } = {};
          return (t3) => {
            const r2 = {};
            for (let a2 = 0; a2 < e2.length; a2++) {
              const i2 = e2[a2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], a3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(r2, o2 && a3.get ? "aria" + (n2 = t4).charAt(0).toUpperCase() + n2.slice(1) : t4, a3);
              }
            }
            var n2;
            return r2;
          };
        }
        const yo = ({ handlers: e2, metaData: t2 }) => {
          const { compId: o2, connection: r2, compType: n2, isGlobal: a2, getParent: i2, role: s2, wixCodeId: l2 } = t2, d2 = `$w.${n2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return r2?.config;
          }, get uniqueId() {
            return o2;
          }, get parent() {
            return i2();
          }, get global() {
            return a2();
          }, get type() {
            return d2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(o2, t3));
          }, toJSON() {
            return { id: s2, type: d2, global: a2() };
          } };
        }, ho = (e2) => (t2) => {
          const { metaData: o2, getSdkInstance: r2, create$w: n2, createEvent: a2 } = t2, i2 = (e3, t3) => xe(o2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (o3) => i2(o3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = a2({ type: "viewportEnter" }), t3 = n2();
            o3(e3, t3);
          }), uo("onViewportEnter", t2, o3)) : r2(), onViewportLeave: (o3) => i2(o3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = a2({ type: "viewportLeave" }), t3 = n2();
            o3(e3, t3);
          }), uo("onViewportLeave", t2, o3)) : r2() };
        }, go = { duration: 1200, delay: 0 }, vo = { arc: { ...go, direction: "left" }, bounce: { ...go, direction: "topLeft", intensity: "medium" }, puff: { ...go }, zoom: { ...go }, fade: { ...go }, flip: { ...go, direction: "right" }, float: { ...go, direction: "right" }, fly: { ...go, direction: "right" }, fold: { ...go, direction: "left" }, glide: { ...go, angle: 0, distance: 0 }, roll: { ...go, direction: "left" }, slide: { ...go, direction: "left" }, spin: { ...go, direction: "cw", cycles: 5 }, turn: { ...go, direction: "right" }, ArcIn: { ...go, direction: "right" }, ArcOut: { ...go, direction: "right" }, BounceIn: { ...go, direction: "topLeft", intensity: "medium" }, BounceOut: { ...go, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...go, direction: "right" }, CollapseOut: { ...go }, Conceal: { ...go, direction: "right" }, Reveal: { ...go, direction: "left" }, FadeIn: { ...go }, FadeOut: { ...go }, FlipIn: { ...go, direction: "left" }, FlipOut: { ...go, direction: "left" }, FloatIn: { ...go, direction: "right" }, FloatOut: { ...go, direction: "right" }, FlyIn: { ...go, direction: "right" }, FlyOut: { ...go, direction: "right" }, FoldIn: { ...go, direction: "left" }, FoldOut: { ...go, direction: "left" }, GlideIn: { ...go, angle: 0, distance: 150 }, GlideOut: { ...go, angle: 0, distance: 150 }, DropIn: { ...go }, PopOut: { ...go }, SlideIn: { ...go, direction: "left" }, SlideOut: { ...go, direction: "left" }, SpinIn: { ...go, direction: "cw", cycles: 2 }, SpinOut: { ...go, direction: "cw", cycles: 2 }, TurnIn: { ...go, direction: "right" }, TurnOut: { ...go, direction: "right" } }, bo = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, No = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, wo = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, $o = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, xo = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, ko = { arc: { type: ["object"], properties: { duration: wo, delay: $o, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: wo, delay: $o, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: wo, delay: $o } }, zoom: { type: ["object"], properties: { duration: wo, delay: $o } }, fade: { type: ["object"], properties: { duration: wo, delay: $o } }, flip: { type: ["object"], properties: { duration: wo, delay: $o, direction: xo } }, float: { type: ["object"], properties: { duration: wo, delay: $o, direction: xo } }, fly: { type: ["object"], properties: { duration: wo, delay: $o, direction: xo } }, fold: { type: ["object"], properties: { duration: wo, delay: $o, direction: xo } }, glide: { type: ["object"], properties: { duration: wo, delay: $o, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: wo, delay: $o, direction: xo } }, slide: { type: ["object"], properties: { duration: wo, delay: $o, direction: xo } }, spin: { type: ["object"], properties: { duration: wo, delay: $o, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: wo, delay: $o, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Co = ({ propertyName: e2, compName: t2 }) => (o2, r2) => {
          if (!o2) return false;
          if (void 0 === r2) return true;
          const n2 = (({ effectName: e3, propertyName: t3, compName: o3 }) => (r3, n3) => {
            v(k({ propertyName: t3, compName: o3, effectName: e3, wrongValue: `${n3?.value}`, infoLink: No(t3) }));
          })({ effectName: o2, propertyName: e2, compName: t2 });
          if (!$e({ reportError: n2, reportWarning: () => ({}) }, t2)(r2, { type: ["object"] }, e2)) return false;
          const a2 = (({ effectName: e3, propertyName: t3, compName: o3 }) => (r3, n3) => {
            v($({ propertyName: t3, compName: o3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${n3?.propertyName}" cannot be set to the value "${n3?.value}"`, infoLink: No(t3) }));
          })({ effectName: o2, propertyName: e2, compName: t2 });
          return !!$e({ reportError: a2, reportWarning: () => ({}) }, t2)(r2, ko[o2], e2);
        }, Io = (e2) => 0 === Object.keys(e2).length, So = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: o2, portal: r2, metaData: n2, getSdkInstance: a2, runAnimation: i2, createSdkState: s2, styleUtils: l2, setProps: d2 }) => {
          const c2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: o3, propertyName: r3 }) => {
            const n3 = Co({ propertyName: r3, compName: e3 });
            if (!t3 && !o3) return false;
            if (!t3 && o3 && !Io(o3)) return v(w({ propertyName: r3, compName: e3, infoLink: No(r3) })), false;
            const a3 = "hide" === r3 ? "HIDE" : "SHOW", i3 = bo[a3]?.deprecatedValues;
            return t3 && o3 && i3 && i3.find((e4) => e4 === t3) && !Io(o3) ? (v(x({ compName: e3, effectName: t3, propertyName: r3, infoLink: No(r3) })), false) : !!i3.find((e4) => e4 === t3) || (t3 && !(t3 in ko) ? (v(N({ propertyName: r3, compName: e3, effectName: t3, infoLink: No(r3) })), false) : !!n3(t3, o3));
          })({ compName: n2.role }), [u2, p2] = s2({ hidden: n2.hiddenOnLoad, collapsed: n2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (n3, a3) => {
            if (d2({ hidden: true }), u2.collapsed || u2.hidden) p2({ hidden: true });
            else {
              if (c2({ effectName: n3, effectOptions: a3, propertyName: "hide" })) {
                const e3 = { animationDirection: bo.HIDE.suffix, effectName: n3, effectOptions: { ...vo?.[n3] || go, ...a3 } };
                await Promise.all([i2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else o2(l2.getHiddenStyles()), t2 && r2.setStyles(l2.getHiddenStyles());
              p2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (n3, a3) => {
            if (d2({ hidden: false }), !u2.collapsed && u2.hidden) {
              if (c2({ effectName: n3, effectOptions: a3, propertyName: "show" })) {
                const e3 = { animationDirection: bo.SHOW.suffix, effectName: n3, effectOptions: { ...vo?.[n3] || go, ...a3 } };
                await Promise.all([i2(e3), t2 ? r2.runAnimation(e3) : void 0]);
              } else o2(l2.getShownStyles()), t2 && r2.setStyles(l2.getShownStyles());
              p2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else p2({ hidden: false });
          }, collapse: async () => {
            d2({ collapsed: true }), u2.collapsed || (o2(l2.getCollapsedStyles()), t2 && r2.setStyles(l2.getCollapsedStyles()), p2({ collapsed: true }), u2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (d2({ collapsed: false }), u2.collapsed) {
              const n3 = { ...l2.getExpandedStyles(), visibility: u2.hidden ? "hidden" : null };
              o2(n3), t2 && r2.setStyles(n3), p2({ collapsed: false }), u2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return u2.collapsed;
          }, get hidden() {
            return Boolean(u2.hidden);
          }, get isVisible() {
            if (!n2.isRendered()) return false;
            let e3 = a2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Oo = (e2) => (t2) => ((e3, t3 = false) => {
          const [o2, r2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return fo([So({ viewportState: o2, hasPortal: t3 }), ho((e4, t4) => {
            r2({ [e4]: [...o2[e4], t4] });
          })])(e3);
        })(t2, e2), To = (e2, t2, o2) => {
          const r2 = t2.filter((t3) => !e2.includes(t3));
          r2.length && g(ee({ functionName: o2, wrongEffects: r2, allowedEffects: e2 }));
        }, Vo = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (o2) => {
            To(t2(), o2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...o2);
          }, removeEffects: (o2) => {
            To(t2(), o2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...o2);
          }, toggleEffects: (o2) => {
            To(t2(), o2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...o2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Eo = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Po = (e2, t2) => "string" != typeof e2 ? (jo(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Do(e2, t2), false), jo = (e2, t2, o2, r2) => {
          g(J({ propertyName: e2, functionName: t2, value: o2, expectedType: r2 }));
        }, Lo = (e2, t2) => {
          g(O({ propertyName: e2, functionName: t2 }));
        }, Do = (e2, t2) => {
          g(ae({ propertyName: e2, functionName: t2 }));
        }, Ro = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const r2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Po(t3, "customClassList.add")) return;
                r2.add(t3);
              }
              t2({ customClassNames: Array.from(r2) });
            } else Lo("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Lo("className", "customClassList.remove");
            const r2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!Po(t3, "customClassList.remove")) return;
              r2.delete(t3);
            }
            t2({ customClassNames: Array.from(r2) });
          }, contains(e3) {
            if (e3) return Po(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            Lo("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Po(t3, "customClassList.replace") || !Po(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (g(T({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Po(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Lo("className", "customClassList.toggle"), false);
          } } };
        }, Ao = ({ role: e2, compType: t2, isGlobal: o2, isRendered: r2 }) => ({ id: e2, type: `$w.${t2}`, global: o2(), rendered: r2() }), Fo = (e2) => ({ onMouseIn: (t2) => mo("onMouseEnter", e2, t2), onMouseOut: (t2) => mo("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: r2 } = e2;
          return "string" != typeof t2 ? (g(J({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), r2()) : "function" != typeof o2 ? (g(J({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), r2()) : ((e3, t3, o3) => {
            const { metaData: r3, getSdkInstance: n2 } = t3, [a2, i2] = co(t3), s2 = a2.listeners.filter((t4) => po(t4.eventName, e3) && t4.cb === o3 && t4.compId === r3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: a2.listeners.filter((e4) => !s2.includes(e4)) }), n2();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Ao(e2.metaData);
        } }), Mo = ho(), qo = (fo([yo, Mo, Fo, Vo, Ro]), ke(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.label || "";
        }, set label(t3) {
          e2({ label: t3 || "" });
        } }), { properties: { label: { type: ["string", "nil"], warnIfNil: true } } }));
        const Wo = /* @__PURE__ */ ((e2, t2) => {
          const o2 = [];
          return { onValidate: (e3) => o2.push(e3), validate: ({ viewerSdkAPI: r2, showValidityIndication: n2 }) => {
            const { props: a2, metaData: { isRepeaterTemplate: i2 } } = r2;
            if (i2) return;
            const s2 = e2(a2, r2);
            let l2 = s2;
            const d2 = ((e3, t3, o3) => {
              let r3 = "";
              const n3 = (e4) => {
                r3 = e4;
              }, a3 = t3.value;
              return e3 && e3(a3, n3), r3;
            })((({ createSdkState: e3 }) => {
              const [{ customValidators: t3 }] = e3(f, y);
              return (e4, o3) => {
                let r3 = false;
                const n3 = (e5) => {
                  r3 = true, o3(e5);
                };
                for (let o4 = 0; o4 < t3.length && !r3; o4++) t3[o4](e4, n3);
              };
            })(r2), a2);
            d2 && (l2 = ((e3, t3) => p(e3, "customError", t3 || ""))(s2, d2)), o2.forEach((e3) => e3({ viewerSdkAPI: r2, showValidityIndication: n2, validationDataResult: l2 }));
          } };
        })((Bo = [(e2, t2) => !e2.required || e2.value ? t2 : m(t2, "valueMissing")], (e2, t2) => Bo.reduce((o2, r2) => r2(e2, o2, t2), c)));
        var Bo;
        const Ho = ((e2) => {
          e2.onValidate(({ viewerSdkAPI: e3, validationDataResult: t2, showValidityIndication: o2 }) => {
            const { setProps: r2, compRef: n2 } = e3, a2 = h(e3), i2 = u(a2), s2 = u(t2), l2 = a2.htmlValidationMessageOverride.key, d2 = t2.htmlValidationMessageOverride.key;
            t2.validity.customError ? i2 !== s2 && n2.setCustomValidity({ type: "message", message: s2 }) : d2 ? (a2.validity.customError || l2 !== d2) && n2.setCustomValidity({ type: "key", key: d2 }) : i2 === s2 && l2 === d2 || n2.setCustomValidity({ type: "message", message: "" });
            const c2 = { isValid: t2.validity.valid, ...o2 && { shouldShowValidityIndication: true } };
            (({ createSdkState: e4 }, t3) => {
              const [, o3] = e4(f, y);
              o3({ validationData: t3 });
            })(e3, t2), r2(c2);
          });
          return ke((t2) => {
            const { setProps: o2, props: r2, registerEvent: n2, metaData: { isRepeaterTemplate: a2 } } = t2;
            return a2 || (n2("validateValue", () => {
              e2.validate({ viewerSdkAPI: t2 });
            }), n2("validateValueAndShowIndication", (o3) => {
              const n3 = { ...r2, ...o3 }, a3 = { ...t2, props: n3 };
              e2.validate({ viewerSdkAPI: a3, showValidityIndication: true });
            }), n2("hideValidityIndication", () => {
              o2({ shouldShowValidityIndication: false });
            }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: false })), { get valid() {
              return h(t2).validity.valid;
            }, get validationMessage() {
              return h(t2).validationMessage;
            }, get validity() {
              return h(t2).validity;
            }, onCustomValidation(o3, r3 = true) {
              (({ createSdkState: e3 }, t3, o4 = true) => {
                const [{ customValidators: r4 }, n3] = e3(f, y);
                n3(o4 ? { customValidators: [t3] } : { customValidators: [...r4, t3] });
              })(t2, o3, r3), e2.validate({ viewerSdkAPI: t2 });
            }, updateValidityIndication() {
              o2({ shouldShowValidityIndication: true });
            }, resetValidityIndication() {
              o2({ shouldShowValidityIndication: false });
            } };
          }, { properties: { onCustomValidation: { type: ["function"], args: [{ type: ["function"] }, { type: ["boolean"] }] } } });
        })(Wo), Go = ke(/* @__PURE__ */ ((e2) => (t2) => ({ get required() {
          return t2.props.required || false;
        }, set required(o2) {
          t2.setProps({ required: o2 }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: o2 });
        } }))(Wo), { properties: { required: { type: ["boolean"] } } });
        const Uo = (Yo = { BackgroundColor: true, BorderColor: true, BorderWidth: true }, ke((Xo = Qe(...Object.keys(Yo).filter((e2) => Yo[e2]).map((e2) => {
          const t2 = "boolean" != typeof Yo[e2] ? Yo[e2] : tt[e2];
          return et[e2]({ prefix: zo?.cssVarPrefix, withoutDefaultValue: t2.withoutDefaultValue, supportOpacity: t2.supportOpacity, supportedStates: t2.supportedStates });
        })), (e2) => {
          const t2 = Xo(e2);
          return t2.removeProperty = (e3) => {
            const [o2, r2] = e3.includes(".") ? e3.split(".").reverse() : [e3, void 0];
            if (!r2 && !(o2 in t2) || r2 && !(o2 in (t2[r2] ?? {}))) {
              const o3 = Object.keys(t2).filter((e4) => "removeProperty" !== e4);
              return void g(pe({ functionName: "removeProperty", propertyName: "propertyName", value: e3, enum: o3, index: void 0 }));
            }
            const n2 = r2 ? t2[r2] : t2;
            n2[Ze]?.(o2);
          }, { get style() {
            return t2;
          } };
        }), { properties: { style: { type: ["object"] } } }));
        var Xo, Yo, zo;
        const Ko = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => fo([yo, Fo, Vo, Eo, e2 ? Oo(t2) : Mo, Ro]))(), _o = fo([Ko, ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => uo("onFocus", e2, t2), onBlur: (t2) => uo("onBlur", e2, t2) }), Go, Uo, Ho, (e2) => ({ onChange: (t2) => uo("onChange", e2, t2) }), qo, (e2) => {
          const { props: t2, compRef: o2, metaData: r2, setProps: n2 } = e2;
          return { get value() {
            return t2.value || "";
          }, set value(e3) {
            g((({ propertyName: e4, compType: t3 }) => ne({ propertyName: e4, compType: t3 }))({ compType: "SignatureInput", propertyName: "value" }));
          }, clear() {
            t2.value ? o2.clear() : n2({ shouldShowValidityIndication: false });
          }, toJSON() {
            const { required: e3, value: o3 } = t2;
            return { ...Ao(r2), value: o3, required: e3 };
          } };
        }]);
        var Jo = { factory: _o };
        return t;
      }();
    });
  })(SignatureInput_bundle_min);
  var SignatureInput_bundle_minExports = SignatureInput_bundle_min.exports;
  const SignatureInput = /* @__PURE__ */ getDefaultExportFromCjs(SignatureInput_bundle_minExports);
  var SingleTab_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var o2 in n2) e.o(n2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: n2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return Ut;
        }, sdk: function() {
          return zt;
        } });
        const n = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, o = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function a(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function r(e2) {
          return Array.isArray(e2);
        }
        function i(e2) {
          return null == e2;
        }
        function m(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function u(e2, t2) {
          return e2 < t2;
        }
        const c = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, l = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, p = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, d = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: o2, wrongValue: a2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${r2}"')`, f = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${o2}"`, y = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, h = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, N = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, v = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, g = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, b = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, x = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, w = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, I = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, C = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, T = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, O = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, E = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, S = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, k = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, L = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, V = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, P = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, D = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, A = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, B = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, W = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, X = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, Y = ({ propertyName: e2, functionName: t2, value: n2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, G = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, K = ({ compName: e2, functionName: t2, propertyName: n2, index: o2 }) => a(o2) ? N({ propertyName: n2, functionName: t2, index: o2 }) : e2 ? h({ compName: e2, functionName: t2, propertyName: n2 }) : c({ functionName: t2, propertyName: n2 }), _ = ({ functionName: e2, propertyName: t2, index: n2 }) => a(n2) ? $({ functionName: e2, propertyName: t2, index: n2 }) : v({ functionName: e2, propertyName: t2 }), z = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? a(n2) ? I({ functionName: e2, propertyNames: t2, index: n2 }) : x({ functionName: e2, propertyNames: t2 }) : a(n2) ? w({ functionName: e2, propertyName: t2[0], index: n2 }) : b({ functionName: e2, propertyName: t2[0] }), U = ({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2, index: i2 }) => r2 && o2 ? r2 === o2 ? a(i2) ? E({ functionName: e2, propertyName: t2, value: n2, expectedValue: r2, index: i2 }) : O({ functionName: e2, propertyName: t2, value: n2, expectedValue: r2 }) : a(i2) ? T({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2, index: i2 }) : C({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2 }) : !r2 && o2 ? a(i2) ? V({ functionName: e2, propertyName: t2, value: n2, maximum: o2, index: i2 }) : L({ functionName: e2, propertyName: t2, value: n2, maximum: o2 }) : a(i2) ? k({ functionName: e2, propertyName: t2, value: n2, minimum: r2, index: i2 }) : S({ functionName: e2, propertyName: t2, value: n2, minimum: r2 }), J = ({ functionName: e2, propertyName: t2, value: n2, minimum: o2, maximum: r2, index: i2 }) => o2 && r2 ? o2 === r2 ? a(i2) ? A({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2, index: i2 }) : D({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2 }) : a(i2) ? P({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2, index: i2 }) : j({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2 }) : !o2 && r2 ? a(i2) ? H({ functionName: e2, propertyName: t2, maximum: r2, value: n2, index: i2 }) : R({ functionName: e2, propertyName: t2, maximum: r2, value: n2 }) : a(i2) ? M({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: i2 }) : F({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), Z = ({ functionName: e2, propertyName: t2, types: n2, value: o2, index: r2 }) => {
          const i2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return a(r2) ? q({ functionName: e2, index: r2, propertyName: t2, value: o2, expectedType: i2 }) : B({ functionName: e2, propertyName: t2, value: o2, expectedType: i2 });
        }, Q = ({ functionName: e2, propertyName: t2, value: n2, enum: o2, index: r2 }) => {
          const i2 = `from (${o2.join(",")})`;
          return a(r2) ? q({ functionName: e2, propertyName: t2, value: n2, expectedType: i2, index: r2 }) : B({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, ee = ({ functionName: e2, propertyName: t2, value: n2, index: o2 }) => a(o2) ? Y({ functionName: e2, propertyName: t2, value: n2, index: o2 }) : W({ functionName: e2, propertyName: t2, value: n2 }), te = Object.prototype.hasOwnProperty, ne = Object.getOwnPropertyNames, oe = () => {
        };
        function ae(e2, t2, n2, o2, a2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !r(e3);
          }(e2)) return se.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ae(e2, t3, n2, oe, a2, i2)).filter((e3) => e3 === se.Valid).length ? se.Valid : se.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!te.call(e2, t2.required[n3])) return o2(_({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[n3] }), { ...i2, value: e2 }), se.Invalid;
          }
          const m2 = ne(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ne(e2).filter((e3) => !m2.includes(e3));
            if (t3.length) {
              return o2(z({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), se.Invalid;
            }
          }
          for (let o3 = 0; o3 < m2.length; o3++) {
            const a3 = m2[o3];
            if (te.call(e2, a3)) {
              const o4 = t2.properties[a3], r2 = e2[a3];
              if (!n2(r2, o4, { functionName: i2.functionName, index: i2.index, propertyName: a3 })) return se.Invalid;
            }
          }
          return se.Valid;
        }
        function re(e2) {
          return Array.isArray(e2);
        }
        function ie(e2, t2, n2, o2) {
          const { minimum: r2, maximum: i2, enum: c2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? c2 && !m(e2, c2) ? (n2(Q({ value: e2, enum: c2, ...o2 }), { ...o2, value: e2 }), se.Invalid) : a(r2) && u(e2, r2) || a(i2) && s(e2, i2) ? (n2(J({ value: e2, minimum: r2, maximum: i2, ...o2 }), { ...o2, value: e2 }), se.Invalid) : se.Valid : se.InvalidType;
        }
        function me(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? se.Valid : se.InvalidType;
        }
        const se = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function ue({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: o2 = false } = {}) {
          function c2(o3, a2, r2) {
            a2.warnIfNil && i(o3) && t2(K({ ...r2, compName: n2 }), { ...r2, value: o3 });
            let m2 = 0;
            for (; m2 < a2.type.length; m2++) {
              const e3 = (0, l2[a2.type[m2]])(o3, a2, r2);
              if (e3 !== se.InvalidType) return e3 === se.Valid;
            }
            return m2 === a2.type.length && e2(Z({ value: o3, types: a2.type, ...r2 }), { ...r2, value: o3 }), false;
          }
          const l2 = { object: (n3, o3, a2) => ae(n3, o3, c2, e2, t2, a2), array: (e3, t3, n3) => function(e4, t4, n4, o3, a2, i2 = false) {
            if (!r(e4)) return se.InvalidType;
            let m2 = se.Valid;
            if (t4.items) {
              const o4 = re(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let r2 = 0; r2 < o4; r2++) {
                const o5 = e4[r2];
                let s2, u2;
                re(t4.items) ? (s2 = t4.items[r2], u2 = t4.items[r2].name) : (s2 = t4.items, u2 = t4.name), n4(o5, s2, { functionName: a2.functionName, propertyName: u2 || a2.propertyName, index: i2 ? void 0 : r2 }) || (m2 = se.Invalid);
              }
            }
            return m2;
          }(e3, t3, c2, 0, n3, o2), number: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minimum: r2, maximum: i2, enum: c3 } = t4;
            return a(e3) ? c3 && !m(e3, c3) ? (n4(Q({ value: e3, enum: c3, ...o4 }), { ...o4, value: e3 }), se.Invalid) : a(r2) && u(e3, r2) || a(i2) && s(e3, i2) ? (n4(J({ value: e3, minimum: r2, maximum: i2, ...o4 }), { ...o4, value: e3 }), se.Invalid) : se.Valid : se.InvalidType;
          }(t3, n3, e2, o3), integer: (t3, n3, o3) => ie(t3, n3, e2, o3), string: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minLength: a2, maxLength: r2, enum: i2, pattern: c3 } = t4;
            return /* @__PURE__ */ function(e4) {
              return "string" == typeof e4;
            }(e3) ? i2 && !m(e3, i2) ? (n4(Q({ value: e3, enum: i2, ...o4 }), { ...o4, value: e3 }), se.Invalid) : a2 && u(e3.length, a2) || r2 && s(e3.length, r2) ? (n4(U({ value: e3, minimum: a2, maximum: r2, ...o4 }), { ...o4, value: e3 }), se.Invalid) : c3 && !new RegExp(c3).test(e3) ? (n4(ee({ value: e3, ...o4 }), { ...o4, value: e3 }), se.Invalid) : se.Valid : se.InvalidType;
          }(t3, n3, e2, o3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? se.Valid : se.InvalidType;
          }(e3), date: (e3) => me(e3), nil: (e3) => function(e4) {
            return i(e4) ? se.Valid : se.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? se.Valid : se.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return c2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function ce(e2, { suppressIndexErrors: t2 = false } = {}) {
          return ue({ reportError: n, reportWarning: o }, e2, { suppressIndexErrors: t2 });
        }
        const le = "click", pe = "dblClick", de = "mouseenter", fe = "mouseleave", ye = "change", he = "blur", Ne = "focus", ve = "imageChanged", ge = "imageExpanded", $e = "onInput", be = "itemClicked", xe = "cellSelect", we = "cellEdit", Ie = "rowSelect", Ce = "fetchData", Te = "dataChange", Oe = "onTimeout", Ee = "onVerified", Se = "onError", ke = "onPlay", Le = "onPause", Ve = "onProgress", je = "onEnded", Pe = "autoplayOff", De = "autoplayOn", Ae = "playEnded", Fe = "playProgress", Me = "keyPress", Re = "keyUp", He = "keyDown", Be = "screenIn", qe = "viewportEnter", We = "viewportLeave", Xe = "scroll", Ye = "validate", Ge = "setCustomValidity", Ke = "syncValidationData", _e = "updateValidityIndication", ze = "message", Ue = "uploadComplete", Je = "itemReady", Ze = "itemRemoved", Qe = "tagClick", et = "quickActionBarItemClicked", tt = "markerClicked", nt = "mapClicked", ot = "iconMouseIn", at = "onStateChange", rt = "itemMouseIn", it = "itemMouseOut", mt = "itemMouseClick", st = "itemMouseDblClick", ut = "onColorChange", ct = "onFontChange", lt = "onOpacityChange", pt = { [le]: "onClick", [pe]: "onDblClick", [de]: "onMouseIn", [fe]: "onMouseOut", [ye]: "onChange", [$e]: "onInput", [he]: "onBlur", [Ne]: "onFocus", [ve]: "onCurrentItemChanged", [ge]: void 0, [be]: "onItemClicked", [xe]: "onCellSelect", [we]: void 0, [Ie]: "onRowSelect", [Ce]: void 0, [Te]: "onDataChange", [Oe]: "onTimeout", [Ee]: "onVerified", [Se]: "onError", [ke]: "onPlay", [Le]: "onPause", [Ve]: "onProgress", [je]: "onEnded", [Pe]: "onPause", [De]: "onPlay", [Ae]: void 0, [Fe]: void 0, [Me]: "onKeyPress", [Re]: "onKeyUp", [He]: "onKeyDown", [Be]: void 0, [qe]: "onViewportEnter", [We]: "onViewportLeave", [Xe]: void 0, [Ye]: void 0, [Ge]: void 0, [Ke]: void 0, [_e]: void 0, [ze]: "onMessage", [Ue]: void 0, [Je]: "onItemReady", [Ze]: "onItemRemoved", [Qe]: void 0, [et]: "onItemClicked", [tt]: "onMarkerClicked", [nt]: "onMapClicked", [ot]: void 0, [at]: "onStateChange", [rt]: "onItemMouseIn", [it]: "onItemMouseOut", [mt]: "onItemClick", [st]: "onItemDblClick", [ut]: "onColorChange", [ct]: "onFontChange", [lt]: "onOpacityChange" }, dt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, ft = (e2) => {
          const { target: t2, type: n2, context: o2 } = e2;
          return { target: t2, type: dt[n2] ?? n2, context: o2 };
        }, yt = (e2) => {
          const { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: r2, screenY: i2, nativeEvent: m2 } = e2, { offsetX: s2, offsetY: u2 } = m2;
          return { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: r2, screenY: i2, offsetX: s2, offsetY: u2 };
        }, ht = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Nt = (e2) => e2.replace(/^on/i, ""), vt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), gt = (e2, t2, n2, o2) => {
          const { create$w: a2, createEvent: r2, registerEvent: i2, getSdkInstance: m2, metaData: s2 } = t2;
          if (!((e3, t3, n3) => ce(n3)(e3, { type: ["function"] }, t3))(n2, ht[e2] ?? e2, s2.role)) return m2();
          const [u2, c2] = vt(t2), l2 = i2(e2, (e3, t3) => {
            const i3 = r2({ type: e3.type, compId: e3.compId }), m3 = a2({ context: i3.context }), s3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...ft(i3), ...s3 }, m3);
          }), p2 = { eventName: e2, compId: s2.compId, cb: n2, unregister: l2 };
          return c2({ listeners: [...u2.listeners, p2] }), m2();
        }, $t = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(ht).find(([t4, n3]) => Nt(n3.toLowerCase()) === Nt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(pt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, bt = (e2, t2, n2, o2) => gt(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...yt(e3), ...t3 && o2?.(t3) }));
        function xt(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const o2 = {};
            for (let r2 = 0; r2 < e2.length; r2++) {
              const i2 = e2[r2](t3), m2 = Object.keys(i2);
              for (let e3 = 0; e3 < m2.length; e3++) {
                const t4 = m2[e3], r3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(o2, n2 && r3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, r3);
              }
            }
            var a2;
            return o2;
          };
        }
        const wt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: o2, compType: a2, isGlobal: r2, getParent: i2, role: m2, wixCodeId: s2 } = t2, u2 = `$w.${a2}`;
          return { get id() {
            return s2 || m2;
          }, get role() {
            return m2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return i2();
          }, get global() {
            return r2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: m2, type: u2, global: r2() };
          } };
        }, It = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: o2, create$w: a2, createEvent: r2 } = t2, i2 = (e3, t3) => ce(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => i2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = r2({ type: "viewportEnter" }), t3 = a2();
            n3(e3, t3);
          }), gt("onViewportEnter", t2, n3)) : o2(), onViewportLeave: (n3) => i2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = r2({ type: "viewportLeave" }), t3 = a2();
            n3(e3, t3);
          }), gt("onViewportLeave", t2, n3)) : o2() };
        }, Ct = { duration: 1200, delay: 0 }, Tt = { arc: { ...Ct, direction: "left" }, bounce: { ...Ct, direction: "topLeft", intensity: "medium" }, puff: { ...Ct }, zoom: { ...Ct }, fade: { ...Ct }, flip: { ...Ct, direction: "right" }, float: { ...Ct, direction: "right" }, fly: { ...Ct, direction: "right" }, fold: { ...Ct, direction: "left" }, glide: { ...Ct, angle: 0, distance: 0 }, roll: { ...Ct, direction: "left" }, slide: { ...Ct, direction: "left" }, spin: { ...Ct, direction: "cw", cycles: 5 }, turn: { ...Ct, direction: "right" }, ArcIn: { ...Ct, direction: "right" }, ArcOut: { ...Ct, direction: "right" }, BounceIn: { ...Ct, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Ct, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Ct, direction: "right" }, CollapseOut: { ...Ct }, Conceal: { ...Ct, direction: "right" }, Reveal: { ...Ct, direction: "left" }, FadeIn: { ...Ct }, FadeOut: { ...Ct }, FlipIn: { ...Ct, direction: "left" }, FlipOut: { ...Ct, direction: "left" }, FloatIn: { ...Ct, direction: "right" }, FloatOut: { ...Ct, direction: "right" }, FlyIn: { ...Ct, direction: "right" }, FlyOut: { ...Ct, direction: "right" }, FoldIn: { ...Ct, direction: "left" }, FoldOut: { ...Ct, direction: "left" }, GlideIn: { ...Ct, angle: 0, distance: 150 }, GlideOut: { ...Ct, angle: 0, distance: 150 }, DropIn: { ...Ct }, PopOut: { ...Ct }, SlideIn: { ...Ct, direction: "left" }, SlideOut: { ...Ct, direction: "left" }, SpinIn: { ...Ct, direction: "cw", cycles: 2 }, SpinOut: { ...Ct, direction: "cw", cycles: 2 }, TurnIn: { ...Ct, direction: "right" }, TurnOut: { ...Ct, direction: "right" } }, Ot = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Et = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, St = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, kt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Lt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Vt = { arc: { type: ["object"], properties: { duration: St, delay: kt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: St, delay: kt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: St, delay: kt } }, zoom: { type: ["object"], properties: { duration: St, delay: kt } }, fade: { type: ["object"], properties: { duration: St, delay: kt } }, flip: { type: ["object"], properties: { duration: St, delay: kt, direction: Lt } }, float: { type: ["object"], properties: { duration: St, delay: kt, direction: Lt } }, fly: { type: ["object"], properties: { duration: St, delay: kt, direction: Lt } }, fold: { type: ["object"], properties: { duration: St, delay: kt, direction: Lt } }, glide: { type: ["object"], properties: { duration: St, delay: kt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: St, delay: kt, direction: Lt } }, slide: { type: ["object"], properties: { duration: St, delay: kt, direction: Lt } }, spin: { type: ["object"], properties: { duration: St, delay: kt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: St, delay: kt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, jt = ({ propertyName: e2, compName: t2 }) => (n2, a2) => {
          if (!n2) return false;
          if (void 0 === a2) return true;
          const r2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, r3) => {
            o(y({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${r3?.value}`, infoLink: Et(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!ue({ reportError: r2, reportWarning: () => ({}) }, t2)(a2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, r3) => {
            o(d({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${r3?.propertyName}" cannot be set to the value "${r3?.value}"`, infoLink: Et(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!ue({ reportError: i2, reportWarning: () => ({}) }, t2)(a2, Vt[n2], e2);
        }, Pt = (e2) => 0 === Object.keys(e2).length, Dt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: a2, metaData: r2, getSdkInstance: i2, runAnimation: m2, createSdkState: s2, styleUtils: u2, setProps: c2 }) => {
          const d2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: a3 }) => {
            const r3 = jt({ propertyName: a3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Pt(n3)) return o(p({ propertyName: a3, compName: e3, infoLink: Et(a3) })), false;
            const i3 = "hide" === a3 ? "HIDE" : "SHOW", m3 = Ot[i3]?.deprecatedValues;
            return t3 && n3 && m3 && m3.find((e4) => e4 === t3) && !Pt(n3) ? (o(f({ compName: e3, effectName: t3, propertyName: a3, infoLink: Et(a3) })), false) : !!m3.find((e4) => e4 === t3) || (t3 && !(t3 in Vt) ? (o(l({ propertyName: a3, compName: e3, effectName: t3, infoLink: Et(a3) })), false) : !!r3(t3, n3));
          })({ compName: r2.role }), [y2, h2] = s2({ hidden: r2.hiddenOnLoad, collapsed: r2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (o2, r3) => {
            if (c2({ hidden: true }), y2.collapsed || y2.hidden) h2({ hidden: true });
            else {
              if (d2({ effectName: o2, effectOptions: r3, propertyName: "hide" })) {
                const e3 = { animationDirection: Ot.HIDE.suffix, effectName: o2, effectOptions: { ...Tt?.[o2] || Ct, ...r3 } };
                await Promise.all([m2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(u2.getHiddenStyles()), t2 && a2.setStyles(u2.getHiddenStyles());
              h2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (o2, r3) => {
            if (c2({ hidden: false }), !y2.collapsed && y2.hidden) {
              if (d2({ effectName: o2, effectOptions: r3, propertyName: "show" })) {
                const e3 = { animationDirection: Ot.SHOW.suffix, effectName: o2, effectOptions: { ...Tt?.[o2] || Ct, ...r3 } };
                await Promise.all([m2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(u2.getShownStyles()), t2 && a2.setStyles(u2.getShownStyles());
              h2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else h2({ hidden: false });
          }, collapse: async () => {
            c2({ collapsed: true }), y2.collapsed || (n2(u2.getCollapsedStyles()), t2 && a2.setStyles(u2.getCollapsedStyles()), h2({ collapsed: true }), y2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (c2({ collapsed: false }), y2.collapsed) {
              const o2 = { ...u2.getExpandedStyles(), visibility: y2.hidden ? "hidden" : null };
              n2(o2), t2 && a2.setStyles(o2), h2({ collapsed: false }), y2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return y2.collapsed;
          }, get hidden() {
            return Boolean(y2.hidden);
          }, get isVisible() {
            if (!r2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, At = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return xt([Dt({ viewportState: n2, hasPortal: t3 }), It((e4, t4) => {
            o2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), Ft = (e2, t2, o2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && n(X({ functionName: o2, wrongEffects: a2, allowedEffects: e2 }));
        }, Mt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            Ft(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            Ft(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            Ft(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Rt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Ht = (e2, t2) => "string" != typeof e2 ? (Bt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Wt(e2, t2), false), Bt = (e2, t2, o2, a2) => {
          n(B({ propertyName: e2, functionName: t2, value: o2, expectedType: a2 }));
        }, qt = (e2, t2) => {
          n(v({ propertyName: e2, functionName: t2 }));
        }, Wt = (e2, t2) => {
          n(G({ propertyName: e2, functionName: t2 }));
        }, Xt = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const n2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Ht(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else qt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void qt("className", "customClassList.remove");
            const n2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!Ht(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return Ht(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            qt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Ht(t3, "customClassList.replace") || !Ht(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (n(g({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Ht(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (qt("className", "customClassList.toggle"), false);
          } } };
        }, Yt = ({ role: e2, compType: t2, isGlobal: n2, isRendered: o2 }) => ({ id: e2, type: `$w.${t2}`, global: n2(), rendered: o2() }), Gt = (e2) => ({ onMouseIn: (t2) => bt("onMouseEnter", e2, t2), onMouseOut: (t2) => bt("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (n(B({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof o2 ? (n(B({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), a2()) : ((e3, t3, n2) => {
            const { metaData: o3, getSdkInstance: a3 } = t3, [r2, i2] = vt(t3), m2 = r2.listeners.filter((t4) => $t(t4.eventName, e3) && t4.cb === n2 && t4.compId === o3.compId);
            for (const e4 of m2) e4.unregister();
            return i2({ listeners: r2.listeners.filter((e4) => !m2.includes(e4)) }), a3();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Yt(e2.metaData);
        } }), Kt = It();
        xt([wt, Kt, Gt, Mt, Xt]);
        const _t = /* @__PURE__ */ function(e2, t2, n2 = {}) {
          return (o2) => {
            const a2 = e2(o2), r2 = ce(o2.metaData.role), i2 = ce(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, m2) => {
              const s2 = Object.getOwnPropertyDescriptor(a2, m2), u2 = { enumerable: true, configurable: true };
              return s2.value ? "function" == typeof s2.value ? u2.value = (...e4) => {
                const a3 = t2.properties[m2] && t2.properties[m2].args, r3 = n2[m2];
                let u3 = true;
                return a3 && (u3 = i2(e4, { type: ["array"], items: a3 }, m2)), u3 && r3 && (u3 = r3.every((t3) => t3(e4, o2))), u3 ? s2.value(...e4) : void 0;
              } : u2.value = s2.value : (s2.get && (u2.get = () => a2[m2]), s2.set && (u2.set = (e4) => {
                const i3 = n2[m2];
                let s3 = true;
                t2.properties[m2] && (s3 = r2(e4, t2.properties[m2], m2)), s3 && i3 && (s3 = i3.every((t3) => t3(e4, o2))), s3 && (a2[m2] = e4);
              })), Object.defineProperty(e3, m2, u2), e3;
            }, {});
          };
        }((e2) => {
          let { props: t2, setProps: n2, metaData: o2 } = e2;
          return { get label() {
            return t2.label;
          }, set label(e3) {
            const { compId: t3, getParent: a2 } = o2, r2 = a2();
            n2({ label: e3 }), r2._setTabLabel(t3, e3);
          }, toJSON() {
            const { label: e3 } = t2;
            return { ...Yt(o2), label: e3 };
          } };
        }, { properties: { label: { type: ["string"], maxLength: 120 } } }), zt = xt([(({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => xt([wt, Gt, Mt, Rt, e2 ? At(t2) : Kt, Xt]))(), (e2) => ({ onChange: (t2) => gt("onChange", e2, t2) }), (e2) => ({ onClick: (t2) => bt("onClick", e2, t2), onDblClick: (t2) => bt("onDblClick", e2, t2) }), ({ getChildren: e2 }) => ({ get children() {
          return e2();
        } }), (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => gt("onFocus", e2, t2), onBlur: (t2) => gt("onBlur", e2, t2) }), _t]);
        var Ut = { factory: zt };
        return t;
      }();
    });
  })(SingleTab_bundle_min);
  var SingleTab_bundle_minExports = SingleTab_bundle_min.exports;
  const SingleTab = /* @__PURE__ */ getDefaultExportFromCjs(SingleTab_bundle_minExports);
  var SiteButton_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { 420: function(e2, t2, r2) {
          function o2(e3) {
            return { factory: e3 };
          }
          r2.d(t2, { q: function() {
            return o2;
          } });
        } }, t = {};
        function r(o2) {
          var n = t[o2];
          if (void 0 !== n) return n.exports;
          var a = t[o2] = { exports: {} };
          return e[o2](a, a.exports, r), a.exports;
        }
        r.d = function(e2, t2) {
          for (var o2 in t2) r.o(t2, o2) && !r.o(e2, o2) && Object.defineProperty(e2, o2, { enumerable: true, get: t2[o2] });
        }, r.o = function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r.r = function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        };
        var o = {};
        return function() {
          r.r(o), r.d(o, { accessibilityPropsSDKFactory: function() {
            return go;
          }, default: function() {
            return No;
          }, sdk: function() {
            return vo;
          }, stylePropsSDKFactory: function() {
            return mo;
          } });
          const e2 = (e3) => {
            console.error(`Wix code SDK error: ${e3}`);
          }, t2 = (e3) => {
            console.warn(`Wix code SDK warning: ${e3}`);
          };
          function n(e3) {
            return "number" == typeof e3 && !Number.isNaN(e3);
          }
          function a(e3) {
            return "string" == typeof e3;
          }
          function i(e3) {
            return Array.isArray(e3);
          }
          function s(e3) {
            return null == e3;
          }
          function l(e3, t3) {
            return t3.includes(e3);
          }
          function p(e3, t3) {
            return e3 > t3;
          }
          function u(e3, t3) {
            return e3 < t3;
          }
          const d = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to null.`, c = ({ propertyName: e3, compName: t3, effectName: r2, infoLink: o2 }) => `The "${e3}" function called on "${t3}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, m = ({ propertyName: e3, compName: t3, infoLink: r2 }) => `The "${e3}" function called on "${t3}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, f = ({ propertyName: e3, compName: t3, effectName: r2, wrongProperty: o2, wrongValue: n2, infoLink: a2 }) => `The "${e3}" function called on "${t3}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${o2}: ${n2}. Read more about the effectOptions object: "${a2}"')`, b = ({ propertyName: e3, compName: t3, effectName: r2, infoLink: o2 }) => `The "${e3}" function  called on "${t3}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${o2}"`, y = ({ propertyName: e3, compName: t3, effectName: r2, wrongValue: o2, infoLink: n2 }) => `The "${e3}" function called on "${t3}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${n2}"'`, h = ({ propertyName: e3, functionName: t3, compName: r2 }) => `The ${e3} parameter of "${r2}" that is passed to the ${t3} method cannot be set to null.`, g = ({ propertyName: e3, functionName: t3, index: r2 }) => `The ${e3} parameter of item at index ${r2} that is passed to the ${t3} method cannot be set to null or undefined.`, v = ({ propertyName: e3, compName: t3, infoLink: r2 }) => ` The value of "${e3}" property of "${t3}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${r2}"`, N = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is required for ${t3} method.`, x = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]}, are required for ${t3} method.`, $ = ({ propertyName: e3, functionName: t3, index: r2 }) => `The ${e3} parameter of item at index ${r2} is required for ${t3} method.`, w = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is not allowed for ${t3} method.`, A = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]} are unknown for ${t3} method.`, k = ({ propertyName: e3, functionName: t3, index: r2 }) => `The ${e3} parameter of item at index ${r2} is not allowed for ${t3} method.`, C = ({ propertyNames: e3, functionName: t3, index: r2 }) => `The following parameters: ${[...e3]} of item at index ${r2} are unknown for ${t3} method.`, I = ({ propertyName: e3, functionName: t3, value: r2, minimum: o2, maximum: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r2}". Its length must be between ${o2} and ${n2}.`, S = ({ propertyName: e3, functionName: t3, value: r2, minimum: o2, maximum: n2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value "${r2}". Its length must be between ${o2} and ${n2}.`, O = ({ propertyName: e3, functionName: t3, value: r2, expectedValue: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r2}". Its length must be ${o2}.`, T = ({ propertyName: e3, functionName: t3, value: r2, expectedValue: o2, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value "${r2}". Its length must be ${o2}.`, j = ({ propertyName: e3, functionName: t3, value: r2, minimum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r2}" because its length is shorter than ${o2}.`, P = ({ propertyName: e3, functionName: t3, value: r2, minimum: o2, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value "${r2}" because its length is shorter than ${o2}.`, L = ({ propertyName: e3, functionName: t3, value: r2, maximum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r2}" because its length exceeds ${o2}.`, E = ({ propertyName: e3, functionName: t3, value: r2, maximum: o2, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value "${r2}" because its length exceeds ${o2}.`, R = ({ propertyName: e3, functionName: t3, value: r2, minimum: o2, maximum: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r2}". It must be between ${o2} and ${n2}.`, B = ({ propertyName: e3, functionName: t3, value: r2, minimum: o2, maximum: n2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value "${r2}". It must be between ${o2} and ${n2}.`, D = ({ propertyName: e3, functionName: t3, value: r2, expectedValue: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r2}". It must be ${o2}.`, V = ({ propertyName: e3, functionName: t3, value: r2, expectedValue: o2, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value "${r2}". It must be ${o2}.`, F = ({ propertyName: e3, functionName: t3, value: r2, minimum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r2}. It must be larger than ${o2}.`, M = ({ propertyName: e3, functionName: t3, value: r2, minimum: o2, index: n2 }) => `The value of ${e3} parameter of item at ${n2} that is passed to the ${t3} method cannot be set to the value ${r2}. It must be larger than ${o2}.`, q = ({ propertyName: e3, functionName: t3, value: r2, maximum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r2}. It must be less than ${o2}.`, H = ({ propertyName: e3, functionName: t3, value: r2, maximum: o2, index: n2 }) => `The value of ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value ${r2}. It must be less than ${o2}.`, W = ({ propertyName: e3, functionName: t3, value: r2, expectedType: o2 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r2}. It must be of type ${o2}.`, _ = ({ propertyName: e3, functionName: t3, value: r2, expectedType: o2, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value ${r2}. It must be of type ${o2}.`, G = ({ propertyName: e3, functionName: t3, value: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r2}. Bad format`, K = ({ functionName: e3, wrongEffects: t3, allowedEffects: r2 }) => `Passed  effects: "${t3.join('", "')}" to the ${e3} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, Y = ({ propertyName: e3, functionName: t3, value: r2, index: o2 }) => `The "${e3}" property of the item at index ${o2} that is passed to the ${t3} method cannot be set to "${r2}". Bad format`, U = ({ target: e3 }) => `The target parameter that is passed to the target method cannot be set to the value ${e3}. It must be of type from (_blank,_self).`, X = ({ rel: e3, validKeywords: t3 }) => `The rel parameter that is passed to the rel method cannot be set to the value ${e3}. It must be a space-separated list of unique keywords (${t3.join()}).`, z = ({ propertyName: e3, compName: t3, cssProperty: r2, exampleFormat: o2, infoLink: n2 }) => ` The "${e3}" property of "${t3}" was set to an invalid "${r2}" value. The value is expected in the following format:"${o2}". Read more about "${r2}" values: "${n2}"`, J = ({ propertyName: e3, compName: t3, cssProperty: r2, exampleFormats: o2, infoLink: n2 }) => ` The "${e3}" property of "${t3}" was set to an invalid "${r2}" value. The value is expected in one of the following formats:"${o2}". Read more about "${r2}" values: "${n2}"`, Z = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method contains invalid characters.`, Q = ({ compName: e3, functionName: t3, propertyName: r2, index: o2 }) => n(o2) ? g({ propertyName: r2, functionName: t3, index: o2 }) : e3 ? h({ compName: e3, functionName: t3, propertyName: r2 }) : d({ functionName: t3, propertyName: r2 }), ee = ({ functionName: e3, propertyName: t3, index: r2 }) => n(r2) ? $({ functionName: e3, propertyName: t3, index: r2 }) : N({ functionName: e3, propertyName: t3 }), te = ({ functionName: e3, propertyNames: t3, index: r2 }) => t3 && t3.length > 1 ? n(r2) ? C({ functionName: e3, propertyNames: t3, index: r2 }) : A({ functionName: e3, propertyNames: t3 }) : n(r2) ? k({ functionName: e3, propertyName: t3[0], index: r2 }) : w({ functionName: e3, propertyName: t3[0] }), re = ({ functionName: e3, propertyName: t3, value: r2, maximum: o2, minimum: a2, index: i2 }) => a2 && o2 ? a2 === o2 ? n(i2) ? T({ functionName: e3, propertyName: t3, value: r2, expectedValue: a2, index: i2 }) : O({ functionName: e3, propertyName: t3, value: r2, expectedValue: a2 }) : n(i2) ? S({ functionName: e3, propertyName: t3, value: r2, maximum: o2, minimum: a2, index: i2 }) : I({ functionName: e3, propertyName: t3, value: r2, maximum: o2, minimum: a2 }) : !a2 && o2 ? n(i2) ? E({ functionName: e3, propertyName: t3, value: r2, maximum: o2, index: i2 }) : L({ functionName: e3, propertyName: t3, value: r2, maximum: o2 }) : n(i2) ? P({ functionName: e3, propertyName: t3, value: r2, minimum: a2, index: i2 }) : j({ functionName: e3, propertyName: t3, value: r2, minimum: a2 }), oe = ({ functionName: e3, propertyName: t3, value: r2, minimum: o2, maximum: a2, index: i2 }) => o2 && a2 ? o2 === a2 ? n(i2) ? V({ functionName: e3, propertyName: t3, expectedValue: o2, value: r2, index: i2 }) : D({ functionName: e3, propertyName: t3, expectedValue: o2, value: r2 }) : n(i2) ? B({ functionName: e3, propertyName: t3, value: r2, maximum: a2, minimum: o2, index: i2 }) : R({ functionName: e3, propertyName: t3, value: r2, maximum: a2, minimum: o2 }) : !o2 && a2 ? n(i2) ? H({ functionName: e3, propertyName: t3, maximum: a2, value: r2, index: i2 }) : q({ functionName: e3, propertyName: t3, maximum: a2, value: r2 }) : n(i2) ? M({ functionName: e3, propertyName: t3, value: r2, minimum: o2, index: i2 }) : F({ functionName: e3, propertyName: t3, value: r2, minimum: o2 }), ne = ({ functionName: e3, propertyName: t3, types: r2, value: o2, index: a2 }) => {
            const i2 = r2.map((e4) => "nil" === e4 ? "null" : e4).join(",");
            return n(a2) ? _({ functionName: e3, index: a2, propertyName: t3, value: o2, expectedType: i2 }) : W({ functionName: e3, propertyName: t3, value: o2, expectedType: i2 });
          }, ae = ({ functionName: e3, propertyName: t3, value: r2, enum: o2, index: a2 }) => {
            const i2 = `from (${o2.join(",")})`;
            return n(a2) ? _({ functionName: e3, propertyName: t3, value: r2, expectedType: i2, index: a2 }) : W({ functionName: e3, propertyName: t3, value: r2, expectedType: i2 });
          }, ie = ({ functionName: e3, propertyName: t3, value: r2, index: o2 }) => n(o2) ? Y({ functionName: e3, propertyName: t3, value: r2, index: o2 }) : G({ functionName: e3, propertyName: t3, value: r2 }), se = Object.prototype.hasOwnProperty, le = Object.getOwnPropertyNames, pe = () => {
          };
          function ue(e3, t3, r2, o2, n2, a2) {
            if (!function(e4) {
              return "object" == typeof e4 && null !== e4 && !i(e4);
            }(e3)) return fe.InvalidType;
            if (t3.oneOf) return 1 === t3.oneOf.map((t4) => ue(e3, t4, r2, pe, n2, a2)).filter((e4) => e4 === fe.Valid).length ? fe.Valid : fe.Invalid;
            if (t3.required) {
              for (let r3 = 0; r3 < t3.required.length; r3++) if (!se.call(e3, t3.required[r3])) return o2(ee({ functionName: a2.functionName, index: a2.index, propertyName: t3.required[r3] }), { ...a2, value: e3 }), fe.Invalid;
            }
            const s2 = le(t3.properties ?? {});
            if (false === t3.additionalProperties) {
              const t4 = le(e3).filter((e4) => !s2.includes(e4));
              if (t4.length) {
                return o2(te({ functionName: a2.functionName, index: a2.index, propertyNames: t4 })), fe.Invalid;
              }
            }
            for (let o3 = 0; o3 < s2.length; o3++) {
              const n3 = s2[o3];
              if (se.call(e3, n3)) {
                const o4 = t3.properties[n3], i2 = e3[n3];
                if (!r2(i2, o4, { functionName: a2.functionName, index: a2.index, propertyName: n3 })) return fe.Invalid;
              }
            }
            return fe.Valid;
          }
          function de(e3) {
            return Array.isArray(e3);
          }
          function ce(e3, t3, r2, o2) {
            const { minimum: a2, maximum: i2, enum: s2 } = t3;
            return function(e4) {
              return Number.isInteger(e4);
            }(e3) ? s2 && !l(e3, s2) ? (r2(ae({ value: e3, enum: s2, ...o2 }), { ...o2, value: e3 }), fe.Invalid) : n(a2) && u(e3, a2) || n(i2) && p(e3, i2) ? (r2(oe({ value: e3, minimum: a2, maximum: i2, ...o2 }), { ...o2, value: e3 }), fe.Invalid) : fe.Valid : fe.InvalidType;
          }
          function me(e3) {
            return function(e4) {
              return e4 instanceof Date && !Number.isNaN(e4.getTime());
            }(e3) ? fe.Valid : fe.InvalidType;
          }
          const fe = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
          function be({ reportError: e3, reportWarning: t3 }, r2, { suppressIndexErrors: o2 = false } = {}) {
            function d2(o3, n2, a2) {
              n2.warnIfNil && s(o3) && t3(Q({ ...a2, compName: r2 }), { ...a2, value: o3 });
              let i2 = 0;
              for (; i2 < n2.type.length; i2++) {
                const e4 = (0, c2[n2.type[i2]])(o3, n2, a2);
                if (e4 !== fe.InvalidType) return e4 === fe.Valid;
              }
              return i2 === n2.type.length && e3(ne({ value: o3, types: n2.type, ...a2 }), { ...a2, value: o3 }), false;
            }
            const c2 = { object: (r3, o3, n2) => ue(r3, o3, d2, e3, t3, n2), array: (e4, t4, r3) => function(e5, t5, r4, o3, n2, a2 = false) {
              if (!i(e5)) return fe.InvalidType;
              let s2 = fe.Valid;
              if (t5.items) {
                const o4 = de(t5.items) ? Math.min(e5.length, t5.items.length) : e5.length;
                for (let i2 = 0; i2 < o4; i2++) {
                  const o5 = e5[i2];
                  let l2, p2;
                  de(t5.items) ? (l2 = t5.items[i2], p2 = t5.items[i2].name) : (l2 = t5.items, p2 = t5.name), r4(o5, l2, { functionName: n2.functionName, propertyName: p2 || n2.propertyName, index: a2 ? void 0 : i2 }) || (s2 = fe.Invalid);
                }
              }
              return s2;
            }(e4, t4, d2, 0, r3, o2), number: (t4, r3, o3) => function(e4, t5, r4, o4) {
              const { minimum: a2, maximum: i2, enum: s2 } = t5;
              return n(e4) ? s2 && !l(e4, s2) ? (r4(ae({ value: e4, enum: s2, ...o4 }), { ...o4, value: e4 }), fe.Invalid) : n(a2) && u(e4, a2) || n(i2) && p(e4, i2) ? (r4(oe({ value: e4, minimum: a2, maximum: i2, ...o4 }), { ...o4, value: e4 }), fe.Invalid) : fe.Valid : fe.InvalidType;
            }(t4, r3, e3, o3), integer: (t4, r3, o3) => ce(t4, r3, e3, o3), string: (t4, r3, o3) => function(e4, t5, r4, o4) {
              const { minLength: n2, maxLength: i2, enum: s2, pattern: d3 } = t5;
              return a(e4) ? s2 && !l(e4, s2) ? (r4(ae({ value: e4, enum: s2, ...o4 }), { ...o4, value: e4 }), fe.Invalid) : n2 && u(e4.length, n2) || i2 && p(e4.length, i2) ? (r4(re({ value: e4, minimum: n2, maximum: i2, ...o4 }), { ...o4, value: e4 }), fe.Invalid) : d3 && !new RegExp(d3).test(e4) ? (r4(ie({ value: e4, ...o4 }), { ...o4, value: e4 }), fe.Invalid) : fe.Valid : fe.InvalidType;
            }(t4, r3, e3, o3), boolean: (e4) => function(e5) {
              return /* @__PURE__ */ function(e6) {
                return true === e6 || false === e6;
              }(e5) ? fe.Valid : fe.InvalidType;
            }(e4), date: (e4) => me(e4), nil: (e4) => function(e5) {
              return s(e5) ? fe.Valid : fe.InvalidType;
            }(e4), function: (e4) => function(e5) {
              return /* @__PURE__ */ function(e6) {
                return "function" == typeof e6;
              }(e5) ? fe.Valid : fe.InvalidType;
            }(e4) };
            return function(e4, t4, r3) {
              return d2(e4, t4, { functionName: r3, propertyName: r3, index: void 0 });
            };
          }
          function ye(r2, { suppressIndexErrors: o2 = false } = {}) {
            return be({ reportError: e2, reportWarning: t2 }, r2, { suppressIndexErrors: o2 });
          }
          function he(e3, t3, r2 = {}) {
            return (o2) => {
              const n2 = e3(o2), a2 = ye(o2.metaData.role), i2 = ye(o2.metaData.role, { suppressIndexErrors: true });
              return Object.keys(n2).reduce((e4, s2) => {
                const l2 = Object.getOwnPropertyDescriptor(n2, s2), p2 = { enumerable: true, configurable: true };
                return l2.value ? "function" == typeof l2.value ? p2.value = (...e5) => {
                  const n3 = t3.properties[s2] && t3.properties[s2].args, a3 = r2[s2];
                  let p3 = true;
                  return n3 && (p3 = i2(e5, { type: ["array"], items: n3 }, s2)), p3 && a3 && (p3 = a3.every((t4) => t4(e5, o2))), p3 ? l2.value(...e5) : void 0;
                } : p2.value = l2.value : (l2.get && (p2.get = () => n2[s2]), l2.set && (p2.set = (e5) => {
                  const i3 = r2[s2];
                  let l3 = true;
                  t3.properties[s2] && (l3 = a2(e5, t3.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t4) => t4(e5, o2))), l3 && (n2[s2] = e5);
                })), Object.defineProperty(e4, s2, p2), e4;
              }, {});
            };
          }
          const ge = "click", ve = "dblClick", Ne = "mouseenter", xe = "mouseleave", $e = "change", we = "blur", Ae = "focus", ke = "imageChanged", Ce = "imageExpanded", Ie = "onInput", Se = "itemClicked", Oe = "cellSelect", Te = "cellEdit", je = "rowSelect", Pe = "fetchData", Le = "dataChange", Ee = "onTimeout", Re = "onVerified", Be = "onError", De = "onPlay", Ve = "onPause", Fe = "onProgress", Me = "onEnded", qe = "autoplayOff", He = "autoplayOn", We = "playEnded", _e = "playProgress", Ge = "keyPress", Ke = "keyUp", Ye = "keyDown", Ue = "screenIn", Xe = "viewportEnter", ze = "viewportLeave", Je = "scroll", Ze = "validate", Qe = "setCustomValidity", et = "syncValidationData", tt = "updateValidityIndication", rt = "message", ot = "uploadComplete", nt = "itemReady", at = "itemRemoved", it = "tagClick", st = "quickActionBarItemClicked", lt = "markerClicked", pt = "mapClicked", ut = "iconMouseIn", dt = "onStateChange", ct = "itemMouseIn", mt = "itemMouseOut", ft = "itemMouseClick", bt = "itemMouseDblClick", yt = "onColorChange", ht = "onFontChange", gt = "onOpacityChange", vt = { [ge]: "onClick", [ve]: "onDblClick", [Ne]: "onMouseIn", [xe]: "onMouseOut", [$e]: "onChange", [Ie]: "onInput", [we]: "onBlur", [Ae]: "onFocus", [ke]: "onCurrentItemChanged", [Ce]: void 0, [Se]: "onItemClicked", [Oe]: "onCellSelect", [Te]: void 0, [je]: "onRowSelect", [Pe]: void 0, [Le]: "onDataChange", [Ee]: "onTimeout", [Re]: "onVerified", [Be]: "onError", [De]: "onPlay", [Ve]: "onPause", [Fe]: "onProgress", [Me]: "onEnded", [qe]: "onPause", [He]: "onPlay", [We]: void 0, [_e]: void 0, [Ge]: "onKeyPress", [Ke]: "onKeyUp", [Ye]: "onKeyDown", [Ue]: void 0, [Xe]: "onViewportEnter", [ze]: "onViewportLeave", [Je]: void 0, [Ze]: void 0, [Qe]: void 0, [et]: void 0, [tt]: void 0, [rt]: "onMessage", [ot]: void 0, [nt]: "onItemReady", [at]: "onItemRemoved", [it]: void 0, [st]: "onItemClicked", [lt]: "onMarkerClicked", [pt]: "onMapClicked", [ut]: void 0, [dt]: "onStateChange", [ct]: "onItemMouseIn", [mt]: "onItemMouseOut", [ft]: "onItemClick", [bt]: "onItemDblClick", [yt]: "onColorChange", [ht]: "onFontChange", [gt]: "onOpacityChange" }, Nt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, xt = (e3) => {
            const { target: t3, type: r2, context: o2 } = e3;
            return { target: t3, type: Nt[r2] ?? r2, context: o2 };
          }, $t = (e3) => {
            const { clientX: t3, clientY: r2, pageX: o2, pageY: n2, screenX: a2, screenY: i2, nativeEvent: s2 } = e3, { offsetX: l2, offsetY: p2 } = s2;
            return { clientX: t3, clientY: r2, pageX: o2, pageY: n2, screenX: a2, screenY: i2, offsetX: l2, offsetY: p2 };
          }, wt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, At = (e3) => e3.replace(/^on/i, ""), kt = (e3) => e3.createSdkState({ listeners: [] }, "eventListeners"), Ct = (e3, t3, r2, o2) => {
            const { create$w: n2, createEvent: a2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t3;
            if (!((e4, t4, r3) => ye(r3)(e4, { type: ["function"] }, t4))(r2, wt[e3] ?? e3, l2.role)) return s2();
            const [p2, u2] = kt(t3), d2 = i2(e3, (e4, t4) => {
              const i3 = a2({ type: e4.type, compId: e4.compId }), s3 = n2({ context: i3.context }), l3 = o2?.({ componentEvent: e4, eventPayload: t4 });
              r2({ ...xt(i3), ...l3 }, s3);
            }), c2 = { eventName: e3, compId: l2.compId, cb: r2, unregister: d2 };
            return u2({ listeners: [...p2.listeners, c2] }), s2();
          }, It = (e3, t3) => {
            const r2 = ((e4) => {
              const t4 = Object.entries(wt).find(([t5, r3]) => At(r3.toLowerCase()) === At(e4.toLowerCase()));
              return t4?.[0] ?? e4;
            })(vt[t3] ?? t3);
            return e3.toLowerCase() === r2.toLowerCase();
          }, St = (e3, t3, r2, o2) => Ct(e3, t3, r2, ({ componentEvent: e4, eventPayload: t4 }) => ({ ...$t(e4), ...t4 && o2?.(t4) }));
          function Ot(e3, t3) {
            const { modifyAriaSourceKeys: r2 } = t3 ?? {};
            return (t4) => {
              const o2 = {};
              for (let a2 = 0; a2 < e3.length; a2++) {
                const i2 = e3[a2](t4), s2 = Object.keys(i2);
                for (let e4 = 0; e4 < s2.length; e4++) {
                  const t5 = s2[e4], a3 = Object.getOwnPropertyDescriptor(i2, t5);
                  Object.defineProperty(o2, r2 && a3.get ? "aria" + (n2 = t5).charAt(0).toUpperCase() + n2.slice(1) : t5, a3);
                }
              }
              var n2;
              return o2;
            };
          }
          const Tt = ({ handlers: e3, metaData: t3 }) => {
            const { compId: r2, connection: o2, compType: n2, isGlobal: a2, getParent: i2, role: s2, wixCodeId: l2 } = t3, p2 = `$w.${n2}`;
            return { get id() {
              return l2 || s2;
            }, get role() {
              return s2;
            }, get connectionConfig() {
              return o2?.config;
            }, get uniqueId() {
              return r2;
            }, get parent() {
              return i2();
            }, get global() {
              return a2();
            }, get type() {
              return p2;
            }, scrollTo() {
              return new Promise((t4) => e3.scrollToComponent(r2, t4));
            }, toJSON() {
              return { id: s2, type: p2, global: a2() };
            } };
          }, jt = (e3) => (t3) => {
            const { metaData: r2, getSdkInstance: o2, create$w: n2, createEvent: a2 } = t3, i2 = (e4, t4) => ye(r2.role)(e4, { type: ["function"] }, t4);
            return { onViewportEnter: (r3) => i2(r3, "onViewportEnter") ? (e3?.("onViewportEnter", () => {
              const e4 = a2({ type: "viewportEnter" }), t4 = n2();
              r3(e4, t4);
            }), Ct("onViewportEnter", t3, r3)) : o2(), onViewportLeave: (r3) => i2(r3, "onViewportLeave") ? (e3?.("onViewportLeave", () => {
              const e4 = a2({ type: "viewportLeave" }), t4 = n2();
              r3(e4, t4);
            }), Ct("onViewportLeave", t3, r3)) : o2() };
          }, Pt = { duration: 1200, delay: 0 }, Lt = { arc: { ...Pt, direction: "left" }, bounce: { ...Pt, direction: "topLeft", intensity: "medium" }, puff: { ...Pt }, zoom: { ...Pt }, fade: { ...Pt }, flip: { ...Pt, direction: "right" }, float: { ...Pt, direction: "right" }, fly: { ...Pt, direction: "right" }, fold: { ...Pt, direction: "left" }, glide: { ...Pt, angle: 0, distance: 0 }, roll: { ...Pt, direction: "left" }, slide: { ...Pt, direction: "left" }, spin: { ...Pt, direction: "cw", cycles: 5 }, turn: { ...Pt, direction: "right" }, ArcIn: { ...Pt, direction: "right" }, ArcOut: { ...Pt, direction: "right" }, BounceIn: { ...Pt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Pt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Pt, direction: "right" }, CollapseOut: { ...Pt }, Conceal: { ...Pt, direction: "right" }, Reveal: { ...Pt, direction: "left" }, FadeIn: { ...Pt }, FadeOut: { ...Pt }, FlipIn: { ...Pt, direction: "left" }, FlipOut: { ...Pt, direction: "left" }, FloatIn: { ...Pt, direction: "right" }, FloatOut: { ...Pt, direction: "right" }, FlyIn: { ...Pt, direction: "right" }, FlyOut: { ...Pt, direction: "right" }, FoldIn: { ...Pt, direction: "left" }, FoldOut: { ...Pt, direction: "left" }, GlideIn: { ...Pt, angle: 0, distance: 150 }, GlideOut: { ...Pt, angle: 0, distance: 150 }, DropIn: { ...Pt }, PopOut: { ...Pt }, SlideIn: { ...Pt, direction: "left" }, SlideOut: { ...Pt, direction: "left" }, SpinIn: { ...Pt, direction: "cw", cycles: 2 }, SpinOut: { ...Pt, direction: "cw", cycles: 2 }, TurnIn: { ...Pt, direction: "right" }, TurnOut: { ...Pt, direction: "right" } }, Et = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Rt = (e3) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e3}`, Bt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Dt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Vt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Ft = { arc: { type: ["object"], properties: { duration: Bt, delay: Dt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Bt, delay: Dt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Bt, delay: Dt } }, zoom: { type: ["object"], properties: { duration: Bt, delay: Dt } }, fade: { type: ["object"], properties: { duration: Bt, delay: Dt } }, flip: { type: ["object"], properties: { duration: Bt, delay: Dt, direction: Vt } }, float: { type: ["object"], properties: { duration: Bt, delay: Dt, direction: Vt } }, fly: { type: ["object"], properties: { duration: Bt, delay: Dt, direction: Vt } }, fold: { type: ["object"], properties: { duration: Bt, delay: Dt, direction: Vt } }, glide: { type: ["object"], properties: { duration: Bt, delay: Dt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Bt, delay: Dt, direction: Vt } }, slide: { type: ["object"], properties: { duration: Bt, delay: Dt, direction: Vt } }, spin: { type: ["object"], properties: { duration: Bt, delay: Dt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Bt, delay: Dt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Mt = ({ propertyName: e3, compName: r2 }) => (o2, n2) => {
            if (!o2) return false;
            if (void 0 === n2) return true;
            const a2 = (({ effectName: e4, propertyName: r3, compName: o3 }) => (n3, a3) => {
              t2(y({ propertyName: r3, compName: o3, effectName: e4, wrongValue: `${a3?.value}`, infoLink: Rt(r3) }));
            })({ effectName: o2, propertyName: e3, compName: r2 });
            if (!be({ reportError: a2, reportWarning: () => ({}) }, r2)(n2, { type: ["object"] }, e3)) return false;
            const i2 = (({ effectName: e4, propertyName: r3, compName: o3 }) => (n3, a3) => {
              t2(f({ propertyName: r3, compName: o3, effectName: e4, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: Rt(r3) }));
            })({ effectName: o2, propertyName: e3, compName: r2 });
            return !!be({ reportError: i2, reportWarning: () => ({}) }, r2)(n2, Ft[o2], e3);
          }, qt = (e3) => 0 === Object.keys(e3).length, Ht = ({ viewportState: e3, hasPortal: r2 = false } = {}) => ({ setStyles: o2, portal: n2, metaData: a2, getSdkInstance: i2, runAnimation: s2, createSdkState: l2, styleUtils: p2, setProps: u2 }) => {
            const d2 = (({ compName: e4 }) => ({ effectName: r3, effectOptions: o3, propertyName: n3 }) => {
              const a3 = Mt({ propertyName: n3, compName: e4 });
              if (!r3 && !o3) return false;
              if (!r3 && o3 && !qt(o3)) return t2(m({ propertyName: n3, compName: e4, infoLink: Rt(n3) })), false;
              const i3 = "hide" === n3 ? "HIDE" : "SHOW", s3 = Et[i3]?.deprecatedValues;
              return r3 && o3 && s3 && s3.find((e5) => e5 === r3) && !qt(o3) ? (t2(b({ compName: e4, effectName: r3, propertyName: n3, infoLink: Rt(n3) })), false) : !!s3.find((e5) => e5 === r3) || (r3 && !(r3 in Ft) ? (t2(c({ propertyName: n3, compName: e4, effectName: r3, infoLink: Rt(n3) })), false) : !!a3(r3, o3));
            })({ compName: a2.role }), [f2, y2] = l2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
            return { hide: async (t3, a3) => {
              if (u2({ hidden: true }), f2.collapsed || f2.hidden) y2({ hidden: true });
              else {
                if (d2({ effectName: t3, effectOptions: a3, propertyName: "hide" })) {
                  const e4 = { animationDirection: Et.HIDE.suffix, effectName: t3, effectOptions: { ...Lt?.[t3] || Pt, ...a3 } };
                  await Promise.all([s2(e4), r2 ? n2.runAnimation(e4) : void 0]);
                } else o2(p2.getHiddenStyles()), r2 && n2.setStyles(p2.getHiddenStyles());
                y2({ hidden: true }), e3?.onViewportLeave?.forEach((e4) => e4());
              }
            }, show: async (t3, a3) => {
              if (u2({ hidden: false }), !f2.collapsed && f2.hidden) {
                if (d2({ effectName: t3, effectOptions: a3, propertyName: "show" })) {
                  const e4 = { animationDirection: Et.SHOW.suffix, effectName: t3, effectOptions: { ...Lt?.[t3] || Pt, ...a3 } };
                  await Promise.all([s2(e4), r2 ? n2.runAnimation(e4) : void 0]);
                } else o2(p2.getShownStyles()), r2 && n2.setStyles(p2.getShownStyles());
                y2({ hidden: false }), e3?.onViewportEnter?.forEach((e4) => e4());
              } else y2({ hidden: false });
            }, collapse: async () => {
              u2({ collapsed: true }), f2.collapsed || (o2(p2.getCollapsedStyles()), r2 && n2.setStyles(p2.getCollapsedStyles()), y2({ collapsed: true }), f2.hidden || e3?.onViewportLeave?.forEach((e4) => e4()));
            }, expand: async () => {
              if (u2({ collapsed: false }), f2.collapsed) {
                const t3 = { ...p2.getExpandedStyles(), visibility: f2.hidden ? "hidden" : null };
                o2(t3), r2 && n2.setStyles(t3), y2({ collapsed: false }), f2.hidden || e3?.onViewportEnter?.forEach((e4) => e4());
              }
            }, get collapsed() {
              return f2.collapsed;
            }, get hidden() {
              return Boolean(f2.hidden);
            }, get isVisible() {
              if (!a2.isRendered()) return false;
              let e4 = i2();
              for (; e4; ) {
                if (e4.hidden || e4.collapsed) return false;
                e4 = e4.parent;
              }
              return true;
            }, get isAnimatable() {
              return true;
            } };
          }, Wt = (e3) => (t3) => ((e4, t4 = false) => {
            const [r2, o2] = e4.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
            return Ot([Ht({ viewportState: r2, hasPortal: t4 }), jt((e5, t5) => {
              o2({ [e5]: [...r2[e5], t5] });
            })])(e4);
          })(t3, e3), _t = (t3, r2, o2) => {
            const n2 = r2.filter((e3) => !t3.includes(e3));
            n2.length && e2(K({ functionName: o2, wrongEffects: n2, allowedEffects: t3 }));
          }, Gt = (e3) => {
            const t3 = () => e3.effectsTriggersApi?.getEffects() || [];
            return { effects: { get effects() {
              return t3();
            }, get activeEffects() {
              return e3.effectsTriggersApi?.getActiveEffects() || [];
            }, applyEffects: (r2) => {
              _t(t3(), r2, "applyEffects"), e3.effectsTriggersApi?.applyEffects(...r2);
            }, removeEffects: (r2) => {
              _t(t3(), r2, "removeEffects"), e3.effectsTriggersApi?.removeEffects(...r2);
            }, toggleEffects: (r2) => {
              _t(t3(), r2, "toggleEffects"), e3.effectsTriggersApi?.toggleEffects(...r2);
            }, removeAllEffects: () => e3.effectsTriggersApi?.removeAllEffects() } };
          }, Kt = (e3) => ({ delete: () => {
            e3.setProps({ deleted: true }), e3.remove();
          }, restore: () => {
            e3.setProps({ deleted: false }), e3.restore();
          }, get deleted() {
            return !!e3.props.deleted;
          } }), Yt = (e3, t3) => "string" != typeof e3 ? (Ut(e3, t3, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e3) || (zt(e3, t3), false), Ut = (t3, r2, o2, n2) => {
            e2(W({ propertyName: t3, functionName: r2, value: o2, expectedType: n2 }));
          }, Xt = (t3, r2) => {
            e2(N({ propertyName: t3, functionName: r2 }));
          }, zt = (t3, r2) => {
            e2(Z({ propertyName: t3, functionName: r2 }));
          }, Jt = (t3) => {
            const { setProps: r2, props: o2 } = t3;
            return { customClassList: { get value() {
              return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
            }, values() {
              return o2.customClassNames ? o2.customClassNames : [];
            }, add(...e3) {
              const t4 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
              if (e3.length) {
                for (const r3 of e3) {
                  if (!Yt(r3, "customClassList.add")) return;
                  t4.add(r3);
                }
                r2({ customClassNames: Array.from(t4) });
              } else Xt("className", "customClassList.add");
            }, remove(...e3) {
              if (!e3.length) return void Xt("className", "customClassList.remove");
              const t4 = new Set(o2.customClassNames);
              for (const r3 of e3) {
                if (!Yt(r3, "customClassList.remove")) return;
                t4.delete(r3);
              }
              r2({ customClassNames: Array.from(t4) });
            }, contains(e3) {
              if (e3) return Yt(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
              Xt("className", "customClassList.contains");
            }, replace(t4, r3) {
              return t4 && r3 ? !(!Yt(r3, "customClassList.replace") || !Yt(t4, "customClassList.replace")) && (!!this.contains(t4) && (this.remove(t4), this.add(r3), true)) : (e2(x({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
            }, toggle(e3) {
              return e3 ? !!Yt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Xt("className", "customClassList.toggle"), false);
            } } };
          }, Zt = ({ role: e3, compType: t3, isGlobal: r2, isRendered: o2 }) => ({ id: e3, type: `$w.${t3}`, global: r2(), rendered: o2() }), Qt = (t3) => ({ onMouseIn: (e3) => St("onMouseEnter", t3, e3), onMouseOut: (e3) => St("onMouseLeave", t3, e3), removeEventHandler: (r2, o2) => {
            const { getSdkInstance: n2 } = t3;
            return "string" != typeof r2 ? (e2(W({ propertyName: "type", functionName: "removeEventHandler", value: r2, expectedType: "string" })), n2()) : "function" != typeof o2 ? (e2(W({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), n2()) : ((e3, t4, r3) => {
              const { metaData: o3, getSdkInstance: n3 } = t4, [a2, i2] = kt(t4), s2 = a2.listeners.filter((t5) => It(t5.eventName, e3) && t5.cb === r3 && t5.compId === o3.compId);
              for (const e4 of s2) e4.unregister();
              return i2({ listeners: a2.listeners.filter((e4) => !s2.includes(e4)) }), n3();
            })(r2, t3, o2);
          }, get rendered() {
            return t3.metaData.isRendered();
          }, toJSON() {
            return Zt(t3.metaData);
          } }), er = jt(), tr = (Ot([Tt, er, Qt, Gt, Jt]), { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" });
          function rr(e3) {
            return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e3);
          }
          function or(e3) {
            return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e3);
          }
          function nr(e3) {
            return tr[e3];
          }
          function ar(e3) {
            return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e3) || rr(e3);
          }
          function ir(e3) {
            return or(e3) || /^#(([a-f0-9]){3}){1,2}$/i.test(e3);
          }
          const sr = (e3) => parseInt(e3.repeat(2 / e3.length), 16), lr = (e3) => {
            if (!ir(e3)) return;
            const t3 = ((e4) => {
              const t4 = Math.floor((e4.length - 1) / 3);
              return e4.slice(1).match(new RegExp(`.{${t4}}`, "g"));
            })(e3), [r2, o2, n2, a2] = t3.map(sr);
            return [r2, o2, n2, void 0 !== a2 ? dr(a2 / 255) : 1];
          }, pr = (e3) => ir(e3) ? lr(e3) : ar(e3) ? ((e4) => {
            if (!ar(e4)) return;
            const t3 = e4.substring(e4.indexOf("(")).split(","), r2 = parseInt(t3[0].substring(1).trim(), 10), o2 = parseInt(t3[1].trim(), 10), n2 = parseInt(t3[2].trim(), 10), a2 = t3[3] && parseFloat(t3[3].substring(0, t3[3].length - 1).trim());
            return [r2, o2, n2, void 0 !== a2 ? a2 : 1];
          })(e3) : nr(e3) ? lr(tr[e3]) : void 0, ur = (e3) => {
            const t3 = pr(e3);
            if (t3) return t3[3];
          }, dr = (e3) => Math.round(100 * e3) / 100;
          const cr = ({ propertyName: t3, cssProperty: r2, supportAlpha: o2 }) => (n2, a2) => function(e3) {
            return ir(e3) || ar(e3) || nr(e3);
          }(n2) ? (o2 || fr({ propertyName: t3, color: n2, api: a2 }), true) : (e2(J({ propertyName: t3, cssProperty: r2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${t3.toLowerCase()}`, compName: a2.metaData.role, exampleFormats: o2 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), mr = ({ propertyName: t3, cssProperty: r2 }) => (o2, n2) => !!function(e3) {
            if (a(e3)) {
              const t4 = e3.endsWith("px"), r3 = e3.slice(0, e3.length - 2), o3 = /^\d*$/.test(r3);
              return t4 && o3 && parseInt(r3, 10);
            }
            return false;
          }(o2) || (e2(z({ propertyName: t3, cssProperty: r2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${t3.toLowerCase()}`, compName: n2.metaData.role, exampleFormat: "1px" })), false), fr = ({ propertyName: e3, color: r2, api: o2 }) => {
            (or(r2) || rr(r2)) && t2(v({ propertyName: e3, compName: o2.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e3.toLowerCase()}` }));
          }, br = ({ name: e3, prefix: t3 }) => t3 ? `--${t3}-corvid-${e3}` : `--corvid-${e3}`, yr = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, hr = ["hover", "disabled"], gr = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
          function vr(e3) {
            return e3.charAt(0).toUpperCase() + e3.slice(1);
          }
          const Nr = (e3) => (t3 = { supportOpacity: true }) => {
            const { prefix: r2, supportOpacity: o2, withoutDefaultValue: n2, supportedStates: a2 = [] } = t3, i2 = (t4, r3 = e3) => {
              const a3 = cr({ propertyName: e3, cssProperty: o2 ? "rgbaColor" : "rgbColor", supportAlpha: o2 });
              return he(({ setStyles: a4, sdkData: i3, createSdkState: s3 }) => {
                const l3 = i3?.initialSdkStyles?.[r3], p2 = ur(l3), u2 = n2 ? void 0 : l3, [d2, c2] = s3({ [r3]: u2 }, r3);
                return Object.defineProperty({ reset() {
                  c2({ [r3]: u2 }), a4({ [t4]: void 0 });
                } }, e3, { enumerable: true, set(e4) {
                  let n3 = e4;
                  if (!o2 && (or(e4) || rr(e4))) {
                    const [t5, r4, o3] = pr(e4);
                    n3 = `rgb(${t5}, ${r4}, ${o3})`;
                  }
                  if ("number" == typeof p2 && 1 !== p2) {
                    const t5 = ur(e4);
                    n3 = ((e5, t6) => {
                      const r4 = pr(e5);
                      if (r4) {
                        const [e6, o3, n4] = r4;
                        return `rgba(${e6}, ${o3}, ${n4}, ${t6})`;
                      }
                    })(n3, Number.isFinite(t5) ? dr(p2 * t5) : p2);
                  }
                  c2({ [r3]: n3 }), a4({ [t4]: n3 });
                }, get() {
                  return d2[r3];
                } });
              }, { properties: { [e3]: { type: ["string", "nil"] } } }, { [e3]: [a3] });
            }, s2 = a2.map((t4) => he((o3) => {
              const n3 = i2(br({ name: gr[t4][e3], prefix: r2 }), t4 + vr(e3))(o3);
              return { [t4]: n3 };
            }, { properties: { [t4]: { type: ["object", "nil"] } } })), l2 = i2(br({ name: yr[e3], prefix: r2 }));
            return (e4) => Object.assign(l2(e4), s2.reduce((t4, r3) => Object.assign(t4, r3(e4)), {}));
          }, xr = Nr("backgroundColor"), $r = Nr("borderColor"), wr = "textColor", Ar = "color", kr = Nr("fillColor"), Cr = Nr("strokeColor"), Ir = Nr("iconColor"), Sr = "reset";
          function Or(...e3) {
            const t3 = (r2 = Sr, (...e4) => {
              const t4 = {}, o2 = { [r2](e5) {
                if ("function" == typeof t4[e5]) return t4[e5](e5);
              } };
              return e4.forEach((e5) => {
                Object.keys(e5).filter((e6) => e6 !== r2).map((t5) => ({ key: t5, descriptor: Object.getOwnPropertyDescriptor(e5, t5) })).forEach(({ key: n2, descriptor: a2 }) => {
                  "function" == typeof e5[r2] && (t4[n2] = e5[r2]), Object.defineProperty(o2, n2, a2);
                });
              }), o2;
            });
            var r2;
            return (r3) => {
              const o2 = e3.map((e4) => e4(r3)), n2 = {};
              for (const e4 of hr) o2.some((t4) => e4 in t4) && (n2[e4] = t3(...o2.map((t4) => t4[e4] ?? {})), Object.defineProperty(n2[e4], Sr, { enumerable: false }), o2.forEach((t4) => {
                delete t4[e4];
              }));
              const a2 = t3(...o2);
              return Object.defineProperty(a2, Sr, { enumerable: false }), Object.assign(a2, n2);
            };
          }
          const Tr = { BackgroundColor: xr, BorderColor: $r, BorderWidth: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r2 } = e3, o2 = br({ name: yr.borderWidth, prefix: t3 });
            return he(({ setStyles: e4, sdkData: t4, createSdkState: n2 }) => {
              const a2 = t4?.initialSdkStyles?.borderWidth, [i2, s2] = n2({ borderWidth: r2 ? void 0 : a2 }, "borderWidth");
              return { set borderWidth(t5) {
                s2({ borderWidth: t5 }), e4({ [o2]: t5 });
              }, get borderWidth() {
                return i2.borderWidth;
              }, reset() {
                s2({ borderWidth: a2 }), e4({ [o2]: void 0 });
              } };
            }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [mr({ propertyName: "borderWidth", cssProperty: "width" })] });
          }, ForegroundColor: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r2 } = e3, o2 = br({ name: yr.foregroundColor, prefix: t3 });
            return he(({ setStyles: e4, sdkData: t4, createSdkState: n2 }) => {
              const [a2, i2] = n2({ foregroundColor: r2 ? void 0 : t4?.initialSdkStyles?.foregroundColor }, "foregroundColor");
              return { set foregroundColor(t5) {
                i2({ foregroundColor: t5 }), e4({ [o2]: t5 });
              }, get foregroundColor() {
                return a2.foregroundColor;
              }, reset() {
                i2({ foregroundColor: r2 ? void 0 : t4?.initialSdkStyles?.foregroundColor }), e4({ [o2]: void 0 });
              } };
            }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [cr({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
          }, BorderRadius: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r2 } = e3, o2 = br({ name: yr.borderRadius, prefix: t3 });
            return he(({ setStyles: e4, sdkData: t4, createSdkState: n2 }) => {
              const a2 = t4?.initialSdkStyles?.borderRadius, [i2, s2] = n2({ borderRadius: r2 ? void 0 : a2 }, "borderRadius");
              return { set borderRadius(t5) {
                s2({ borderRadius: t5 }), e4({ [o2]: t5 });
              }, get borderRadius() {
                return i2.borderRadius;
              }, reset() {
                s2({ borderRadius: a2 }), e4({ [o2]: void 0 });
              } };
            }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [mr({ propertyName: "borderRadius", cssProperty: "radius" })] });
          }, TextColor: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r2, supportedStates: o2 = [] } = e3, n2 = (e4, t4 = wr, o3 = Ar) => he(({ setStyles: n3, sdkData: a3, createSdkState: i3 }) => {
              const s2 = a3?.initialSdkStyles?.[o3], l2 = r2 ? void 0 : s2, [p2, u2] = i3({ [t4]: l2 }, t4);
              return { set color(r3) {
                let o4 = r3;
                if (or(r3) || rr(r3)) {
                  const [e5, t5, n4] = pr(r3);
                  o4 = `rgb(${e5}, ${t5}, ${n4})`;
                }
                u2({ [t4]: o4 }), n3({ [e4]: o4 });
              }, get color() {
                return p2[t4];
              }, reset() {
                u2({ [t4]: l2 }), n3({ [e4]: void 0 });
              } };
            }, { properties: { color: { type: ["string", "nil"] } } }, { color: [cr({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), a2 = o2.map((e4) => he((r3) => {
              const o3 = n2(br({ name: gr[e4].textColor, prefix: t3 }), ((e5) => e5 + vr(wr))(e4), ((e5) => e5 + vr(Ar))(e4))(r3);
              return { [e4]: o3 };
            }, { properties: { [e4]: { type: ["object", "nil"] } } })), i2 = n2(br({ name: yr.textColor, prefix: t3 }));
            return (e4) => Object.assign(i2(e4), a2.reduce((t4, r3) => Object.assign(t4, r3(e4)), {}));
          }, FillColor: kr, StrokeColor: Cr, IconColor: Ir }, jr = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} }, Pr = he(({ setProps: e3, props: t3 }) => ({ get label() {
            return t3.ariaAttributes?.label;
          }, set label(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, label: s(r2) ? void 0 : r2 } });
          } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } });
          var Lr;
          !function(e3) {
            e3.ARIA_LABEL_NOT_STRING = "aria-label must be string", e3.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e3.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
          }(Lr || (Lr = {}));
          const Er = (e3) => `The parameter that is passed to the ‘${e3}’ property must be a string or ‘null’.`, Rr = (e3) => Br(e3) && ("$w.Text" === e3.type || "$w.CollapsibleText" === e3.type), Br = (e3) => Boolean(e3.id && e3.uniqueId && e3.type), Dr = (t3, r2, o2, n2, a2) => a2 ? !!o2(a2) || (e2(n2), false) : !!r2 || (e2(ne({ value: a2, types: ["object"], propertyName: t3, functionName: `set ${t3}`, index: void 0 })), false), Vr = (e3, t3 = true) => (r2) => Dr(e3, t3, Br, `The parameter that is passed to the ‘${e3}’ property must be a selector function of an element.`, r2), Fr = (e3, t3 = true) => (r2) => Dr(e3, t3, Rr, `The parameter that is passed to the ‘${e3}’ property must be a selector function of a text element.`, r2), Mr = he(({ setProps: e3, props: t3, create$w: r2 }) => ({ get describedBy() {
            if (!t3.ariaAttributes?.describedBy) return;
            return r2()(`#${t3.ariaAttributes.describedBy}`);
          }, set describedBy(r3) {
            e3(r3 ? { ariaAttributes: { ...t3.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, describedBy: void 0 } });
          } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [Fr("describedBy")] }), qr = he(({ setProps: e3, props: t3, create$w: r2 }) => ({ get labelledBy() {
            if (!t3.ariaAttributes?.labelledBy) return;
            return r2()(`#${t3.ariaAttributes.labelledBy}`);
          }, set labelledBy(r3) {
            e3(r3 ? { ariaAttributes: { ...t3.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, labelledBy: void 0 } });
          } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [Fr("labelledBy")] }), Hr = he(({ setProps: e3, props: t3 }) => ({ get atomic() {
            return t3.ariaAttributes?.atomic;
          }, set atomic(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, atomic: s(r2) ? void 0 : String(r2) } });
          } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Wr = he(({ setProps: e3, props: t3 }) => ({ get busy() {
            return t3.ariaAttributes?.busy;
          }, set busy(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, busy: s(r2) ? void 0 : String(r2) } });
          } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), _r = he(({ setProps: e3, props: t3 }) => ({ get current() {
            return t3.ariaAttributes?.current;
          }, set current(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, current: s(r2) ? void 0 : String(r2) } });
          } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), Gr = he(({ setProps: e3, props: t3 }) => ({ get expanded() {
            return t3.ariaAttributes?.expanded;
          }, set expanded(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, expanded: s(r2) ? void 0 : String(r2) } });
          } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Kr = he(({ setProps: e3, props: t3 }) => ({ get live() {
            return t3.ariaAttributes?.live;
          }, set live(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, live: s(r2) ? void 0 : r2 } });
          } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), Yr = he(({ setProps: e3, props: t3, create$w: r2 }) => ({ get owns() {
            if (!t3.ariaAttributes?.owns) return;
            return r2()(`#${t3.ariaAttributes.owns}`);
          }, set owns(r3) {
            e3(r3 ? { ariaAttributes: { ...t3.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, owns: void 0 } });
          } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [Vr("owns")] }), Ur = he(({ setProps: e3, props: t3, create$w: r2 }) => ({ get controls() {
            if (!t3.ariaAttributes?.controls) return;
            return r2()(`#${t3.ariaAttributes.controls}`);
          }, set controls(r3) {
            e3(r3 ? { ariaAttributes: { ...t3.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, controls: void 0 } });
          } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [Vr("controls")] }), Xr = he(({ setProps: e3, props: t3 }) => ({ get roleDescription() {
            return t3.ariaAttributes?.roleDescription;
          }, set roleDescription(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, roleDescription: s(r2) ? void 0 : r2 } });
          } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), zr = he(({ setProps: e3, props: t3 }) => ({ get relevant() {
            return t3.ariaAttributes?.relevant;
          }, set relevant(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, relevant: s(r2) ? void 0 : r2 } });
          } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), Jr = he(({ setProps: e3, props: t3, create$w: r2 }) => ({ get errorMessage() {
            if (!t3.ariaAttributes?.errorMessage) return;
            return r2()(`#${t3.ariaAttributes.errorMessage}`);
          }, set errorMessage(r3) {
            e3(r3 ? { ariaAttributes: { ...t3.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, errorMessage: void 0 } });
          } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [Fr("errorMessage")] }), Zr = he(({ setProps: e3, props: t3 }) => ({ get hidden() {
            return t3.ariaAttributes?.hidden;
          }, set hidden(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, hidden: s(r2) ? void 0 : String(r2) } });
          } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Qr = he(({ setProps: e3, props: t3 }) => ({ get pressed() {
            return t3.ariaAttributes?.pressed;
          }, set pressed(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, pressed: s(r2) ? void 0 : String(r2) } });
          } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), eo = he(({ setProps: e3, props: t3 }) => ({ get haspopup() {
            return t3.ariaAttributes?.haspopup;
          }, set haspopup(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, haspopup: s(r2) ? void 0 : String(r2) } });
          } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), to = he(({ setProps: e3, props: t3 }) => ({ get required() {
            return t3.ariaAttributes?.required;
          }, set required(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, required: s(r2) ? void 0 : String(r2) } });
          } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), ro = ({ setProps: t3, props: r2 }) => ({ screenReader: { get prefix() {
            return r2.screenReader?.prefix;
          }, set prefix(o2) {
            null === o2 || a(o2) ? t3({ screenReader: { ...r2.screenReader, prefix: o2 } }) : e2(Er("prefix"));
          }, get suffix() {
            return r2.screenReader?.suffix;
          }, set suffix(o2) {
            null === o2 || a(o2) ? t3({ screenReader: { ...r2.screenReader, suffix: o2 } }) : e2(Er("suffix"));
          }, get hasHint() {
            return r2.screenReader?.hasHint;
          }, set hasHint(e3) {
            t3({ screenReader: { ...r2.screenReader, hasHint: s(e3) ? void 0 : e3 } });
          } } }), oo = (he(ro, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), he(({ setProps: e3, props: t3 }) => ({ get role() {
            return t3.role;
          }, set role(t4) {
            e3({ role: s(t4) ? void 0 : t4 });
          } }), { properties: { role: { type: ["string"] } } })), no = he(({ setProps: e3, props: t3 }) => ({ get tabIndex() {
            return t3.tabIndex;
          }, set tabIndex(t4) {
            e3({ tabIndex: s(t4) ? void 0 : t4 });
          } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), ao = { enableAriaLabel: Pr, enableAriaDescribedBy: Mr, enableAriaLabelledBy: qr, enableAriaAtomic: Hr, enableAriaBusy: Wr, enableAriaCurrent: _r, enableAriaExpanded: Gr, enableAriaLive: Kr, enableAriaOwns: Yr, enableAriaControls: Ur, enableAriaRoleDescription: Xr, enableAriaRelevant: zr, enableAriaErrorMessage: Jr, enableAriaHidden: Zr, enableAriaPressed: Qr, enableAriaHaspopup: eo, enableAriaRequired: to }, io = { enableScreenReader: ro, enableRole: oo, enableTabIndex: no }, so = he(({ setProps: e3, props: t3 }) => ({ get label() {
            return t3.label || "";
          }, set label(t4) {
            e3({ label: t4 || "" });
          } }), { properties: { label: { type: ["string", "nil"], warnIfNil: true } } }), lo = he(({ setProps: t3, props: r2, platformUtils: { linkUtils: o2 } }) => ({ set link(n2) {
            ((t4, r3, o3, n3, a2) => {
              if (s(t4) || "" === t4) n3({ link: void 0 });
              else try {
                n3({ link: o3.getLinkProps(t4, r3, a2) });
              } catch (r4) {
                e2(`The link property that is passed to the link method cannot be set to the value "${t4}" as this is not a supported link type.`);
              }
            })(n2, r2.link?.target, o2, t3, r2.link?.rel);
          }, get link() {
            return ((e3, t4) => e3.link ? t4.getLink(e3.link) : "")(r2, o2);
          }, set target(e3) {
            t3({ link: { ...r2.link, target: e3 } });
          }, get target() {
            return r2.link?.target ?? "_blank";
          }, set preventLinkNavigation(e3) {
            t3({ preventLinkNavigation: e3 });
          }, get preventLinkNavigation() {
            return r2.preventLinkNavigation ?? false;
          }, set rel(e3) {
            t3({ link: { ...r2.link, rel: "" !== e3 ? e3 : void 0 } });
          }, get rel() {
            return r2.link?.rel ?? "";
          } }), { properties: { link: { type: ["string", "nil"], warnIfNil: true }, target: { type: ["string", "nil"], warnIfNil: true }, preventLinkNavigation: { type: ["boolean"] }, rel: { type: ["string"] } } }, { target: [(t3) => "_blank" === t3 || "_self" === t3 || (e2(U({ target: t3 })), !!s(t3))], rel: [(t3) => {
            const r2 = Object.values({ noreferrer: "noreferrer", noopener: "noopener", nofollow: "nofollow", sponsored: "sponsored" }), o2 = t3.split(" ");
            for (let n2 = 0; n2 < o2.length; n2 += 1) {
              const a2 = o2[n2];
              if (!r2.includes(a2) || n2 !== o2.lastIndexOf(a2)) return e2(X({ rel: t3, validKeywords: r2 })), false;
            }
            return true;
          }] });
          var po = r(420);
          const uo = he((e3) => {
            const { props: t3, metaData: r2 } = e3;
            return { get type() {
              return "$w.Button";
            }, toJSON() {
              return { ...Zt(r2), type: "$w.Button", label: t3.label || "" };
            } };
          }, { properties: { onClick: { type: ["function"], args: [{ type: ["function"] }] } } }), co = ["hover", "disabled"], mo = (bo = { BackgroundColor: { supportOpacity: true, supportedStates: co }, BorderColor: { supportOpacity: true, supportedStates: co }, BorderWidth: true, BorderRadius: true, TextColor: { supportedStates: co } }, he((fo = Or(...Object.keys(bo).filter((e3) => bo[e3]).map((e3) => {
            const t3 = "boolean" != typeof bo[e3] ? bo[e3] : jr[e3];
            return Tr[e3]({ prefix: yo?.cssVarPrefix, withoutDefaultValue: t3.withoutDefaultValue, supportOpacity: t3.supportOpacity, supportedStates: t3.supportedStates });
          })), (t3) => {
            const r2 = fo(t3);
            return r2.removeProperty = (t4) => {
              const [o2, n2] = t4.includes(".") ? t4.split(".").reverse() : [t4, void 0];
              if (!n2 && !(o2 in r2) || n2 && !(o2 in (r2[n2] ?? {}))) {
                const o3 = Object.keys(r2).filter((e3) => "removeProperty" !== e3);
                return void e2(ae({ functionName: "removeProperty", propertyName: "propertyName", value: t4, enum: o3, index: void 0 }));
              }
              const a2 = n2 ? r2[n2] : r2;
              a2[Sr]?.(o2);
            }, { get style() {
              return r2;
            } };
          }), { properties: { style: { type: ["object"] } } }));
          var fo, bo, yo;
          const ho = (({ useHiddenCollapsed: e3 = true, hasPortal: t3 = false } = {}) => Ot([Tt, Qt, Gt, Kt, e3 ? Wt(t3) : er, Jt]))(), go = (({ enableAriaLabel: e3 = true, enableAriaDescribedBy: t3 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: o2 = false, enableAriaBusy: n2 = false, enableAriaHidden: a2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: p2 = false, enableAriaLive: u2 = false, enableAriaOwns: d2 = false, enableAriaControls: c2 = false, enableAriaRoleDescription: m2 = false, enableAriaRelevant: f2 = false, enableRole: b2 = false, enableTabIndex: y2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: g2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
            const x2 = [], $2 = { enableAriaLabel: e3, enableAriaDescribedBy: t3, enableAriaLabelledBy: r2, enableAriaAtomic: o2, enableAriaBusy: n2, enableAriaCurrent: l2, enableAriaExpanded: p2, enableAriaLive: u2, enableAriaOwns: d2, enableAriaControls: c2, enableAriaRoleDescription: m2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: a2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, w2 = { enableScreenReader: g2, enableRole: b2, enableTabIndex: y2 };
            if (Object.values($2).some((e4) => e4)) {
              const e4 = ((e5) => {
                const t4 = [];
                return Object.entries(e5).forEach(([e6, r3]) => r3 && ao[e6] && t4.push(ao[e6])), (e6) => {
                  const r3 = Ot(t4, { modifyAriaSourceKeys: true })(e6);
                  return r3.ariaAttributes = Ot(t4)(e6), r3;
                };
              })($2);
              x2.push(e4);
            }
            Object.entries(w2).forEach(([e4, t4]) => t4 && io[e4] && x2.push(io[e4]));
            return { accessibility: Ot(x2)(N2) };
          })({ enableAriaLabel: true, enableAriaLabelledBy: true, enableAriaDescribedBy: true, enableAriaControls: true, enableAriaExpanded: true, enableAriaPressed: true, enableAriaOwns: true, enableAriaLive: true, enableAriaAtomic: true, enableAriaRelevant: true, enableAriaHaspopup: true, enableTabIndex: true, enableScreenReader: true }), vo = Ot([ho, so, ({ setProps: e3, props: t3 }) => ({ get enabled() {
            return void 0 === t3.isDisabled || !t3.isDisabled;
          }, disable: () => (e3({ isDisabled: true }), Promise.resolve()), enable: () => (e3({ isDisabled: false }), Promise.resolve()) }), lo, mo, (e3) => {
            const t3 = /* @__PURE__ */ ((e4) => ({ onClick: (t4) => St("onClick", e4, t4), onDblClick: (t4) => St("onDblClick", e4, t4) }))(e3), { setProps: r2, props: o2 } = e3;
            return { ...t3, onClick: (e4) => {
              t3.onClick(e4), o2.hasPlatformClickHandler || r2({ hasPlatformClickHandler: true });
            } };
          }, (e3) => ({ focus: () => e3.compRef.focus(), blur: () => e3.compRef.blur(), onFocus: (t3) => Ct("onFocus", e3, t3), onBlur: (t3) => Ct("onBlur", e3, t3) }), go, uo]);
          var No = (0, po.q)(vo);
        }(), o;
      }();
    });
  })(SiteButton_bundle_min);
  var SiteButton_bundle_minExports = SiteButton_bundle_min.exports;
  const SiteButton = /* @__PURE__ */ getDefaultExportFromCjs(SiteButton_bundle_minExports);
  var Slider_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var o2 in n2) e.o(n2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: n2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return on;
        }, sdk: function() {
          return nn;
        } });
        const n = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, o = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, a = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, r = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, i = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, s = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: o2, wrongValue: a2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${r2}"')`, m = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${o2}"`, u = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, p = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, l = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, c = ({ propertyName: e2, wrongValue: t2, minValue: n2 }) => `The value of ${e2} property should not be set to the value ${t2}. It should be at least ${n2}.`, d = ({ propertyName: e2, wrongValue: t2, maxValue: n2 }) => `The value of ${e2} property should not be set to the value ${t2}. It should be at most ${n2}.`, f = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, y = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, h = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, N = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, v = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, g = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, $ = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, b = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, x = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, w = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, I = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, T = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, C = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, O = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, E = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, S = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, k = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, V = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, L = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, P = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, D = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, A = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, R = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, H = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, B = ({ propertyName: e2, functionName: t2, value: n2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, q = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`;
        function W(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function X(e2) {
          return Array.isArray(e2);
        }
        function Y(e2) {
          return null == e2;
        }
        function G(e2, t2) {
          return t2.includes(e2);
        }
        function K(e2, t2) {
          return e2 > t2;
        }
        function z(e2, t2) {
          return e2 < t2;
        }
        const U = ({ compName: e2, functionName: t2, propertyName: n2, index: o2 }) => W(o2) ? l({ propertyName: n2, functionName: t2, index: o2 }) : e2 ? p({ compName: e2, functionName: t2, propertyName: n2 }) : a({ functionName: t2, propertyName: n2 }), _ = ({ functionName: e2, propertyName: t2, index: n2 }) => W(n2) ? h({ functionName: e2, propertyName: t2, index: n2 }) : f({ functionName: e2, propertyName: t2 }), J = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? W(n2) ? $({ functionName: e2, propertyNames: t2, index: n2 }) : v({ functionName: e2, propertyNames: t2 }) : W(n2) ? g({ functionName: e2, propertyName: t2[0], index: n2 }) : N({ functionName: e2, propertyName: t2[0] }), Z = ({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2, index: r2 }) => a2 && o2 ? a2 === o2 ? W(r2) ? I({ functionName: e2, propertyName: t2, value: n2, expectedValue: a2, index: r2 }) : w({ functionName: e2, propertyName: t2, value: n2, expectedValue: a2 }) : W(r2) ? x({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2, index: r2 }) : b({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2 }) : !a2 && o2 ? W(r2) ? E({ functionName: e2, propertyName: t2, value: n2, maximum: o2, index: r2 }) : O({ functionName: e2, propertyName: t2, value: n2, maximum: o2 }) : W(r2) ? C({ functionName: e2, propertyName: t2, value: n2, minimum: a2, index: r2 }) : T({ functionName: e2, propertyName: t2, value: n2, minimum: a2 }), Q = ({ functionName: e2, propertyName: t2, value: n2, minimum: o2, maximum: a2, index: r2 }) => o2 && a2 ? o2 === a2 ? W(r2) ? L({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2, index: r2 }) : V({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2 }) : W(r2) ? k({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: o2, index: r2 }) : S({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: o2 }) : !o2 && a2 ? W(r2) ? A({ functionName: e2, propertyName: t2, maximum: a2, value: n2, index: r2 }) : D({ functionName: e2, propertyName: t2, maximum: a2, value: n2 }) : W(r2) ? j({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: r2 }) : P({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), ee = ({ functionName: e2, propertyName: t2, types: n2, value: o2, index: a2 }) => {
          const r2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return W(a2) ? M({ functionName: e2, index: a2, propertyName: t2, value: o2, expectedType: r2 }) : F({ functionName: e2, propertyName: t2, value: o2, expectedType: r2 });
        }, te = ({ functionName: e2, propertyName: t2, value: n2, enum: o2, index: a2 }) => {
          const r2 = `from (${o2.join(",")})`;
          return W(a2) ? M({ functionName: e2, propertyName: t2, value: n2, expectedType: r2, index: a2 }) : F({ functionName: e2, propertyName: t2, value: n2, expectedType: r2 });
        }, ne = ({ functionName: e2, propertyName: t2, value: n2, index: o2 }) => W(o2) ? B({ functionName: e2, propertyName: t2, value: n2, index: o2 }) : R({ functionName: e2, propertyName: t2, value: n2 }), oe = Object.prototype.hasOwnProperty, ae = Object.getOwnPropertyNames, re = () => {
        };
        function ie(e2, t2, n2, o2, a2, r2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !X(e3);
          }(e2)) return pe.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ie(e2, t3, n2, re, a2, r2)).filter((e3) => e3 === pe.Valid).length ? pe.Valid : pe.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!oe.call(e2, t2.required[n3])) return o2(_({ functionName: r2.functionName, index: r2.index, propertyName: t2.required[n3] }), { ...r2, value: e2 }), pe.Invalid;
          }
          const i2 = ae(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ae(e2).filter((e3) => !i2.includes(e3));
            if (t3.length) {
              return o2(J({ functionName: r2.functionName, index: r2.index, propertyNames: t3 })), pe.Invalid;
            }
          }
          for (let o3 = 0; o3 < i2.length; o3++) {
            const a3 = i2[o3];
            if (oe.call(e2, a3)) {
              const o4 = t2.properties[a3], i3 = e2[a3];
              if (!n2(i3, o4, { functionName: r2.functionName, index: r2.index, propertyName: a3 })) return pe.Invalid;
            }
          }
          return pe.Valid;
        }
        function se(e2) {
          return Array.isArray(e2);
        }
        function me(e2, t2, n2, o2) {
          const { minimum: a2, maximum: r2, enum: i2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? i2 && !G(e2, i2) ? (n2(te({ value: e2, enum: i2, ...o2 }), { ...o2, value: e2 }), pe.Invalid) : W(a2) && z(e2, a2) || W(r2) && K(e2, r2) ? (n2(Q({ value: e2, minimum: a2, maximum: r2, ...o2 }), { ...o2, value: e2 }), pe.Invalid) : pe.Valid : pe.InvalidType;
        }
        function ue(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? pe.Valid : pe.InvalidType;
        }
        const pe = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function le({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: o2 = false } = {}) {
          function a2(o3, a3, i2) {
            a3.warnIfNil && Y(o3) && t2(U({ ...i2, compName: n2 }), { ...i2, value: o3 });
            let s2 = 0;
            for (; s2 < a3.type.length; s2++) {
              const e3 = (0, r2[a3.type[s2]])(o3, a3, i2);
              if (e3 !== pe.InvalidType) return e3 === pe.Valid;
            }
            return s2 === a3.type.length && e2(ee({ value: o3, types: a3.type, ...i2 }), { ...i2, value: o3 }), false;
          }
          const r2 = { object: (n3, o3, r3) => ie(n3, o3, a2, e2, t2, r3), array: (e3, t3, n3) => function(e4, t4, n4, o3, a3, r3 = false) {
            if (!X(e4)) return pe.InvalidType;
            let i2 = pe.Valid;
            if (t4.items) {
              const o4 = se(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let s2 = 0; s2 < o4; s2++) {
                const o5 = e4[s2];
                let m2, u2;
                se(t4.items) ? (m2 = t4.items[s2], u2 = t4.items[s2].name) : (m2 = t4.items, u2 = t4.name), n4(o5, m2, { functionName: a3.functionName, propertyName: u2 || a3.propertyName, index: r3 ? void 0 : s2 }) || (i2 = pe.Invalid);
              }
            }
            return i2;
          }(e3, t3, a2, 0, n3, o2), number: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minimum: a3, maximum: r3, enum: i2 } = t4;
            return W(e3) ? i2 && !G(e3, i2) ? (n4(te({ value: e3, enum: i2, ...o4 }), { ...o4, value: e3 }), pe.Invalid) : W(a3) && z(e3, a3) || W(r3) && K(e3, r3) ? (n4(Q({ value: e3, minimum: a3, maximum: r3, ...o4 }), { ...o4, value: e3 }), pe.Invalid) : pe.Valid : pe.InvalidType;
          }(t3, n3, e2, o3), integer: (t3, n3, o3) => me(t3, n3, e2, o3), string: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minLength: a3, maxLength: r3, enum: i2, pattern: s2 } = t4;
            return /* @__PURE__ */ function(e4) {
              return "string" == typeof e4;
            }(e3) ? i2 && !G(e3, i2) ? (n4(te({ value: e3, enum: i2, ...o4 }), { ...o4, value: e3 }), pe.Invalid) : a3 && z(e3.length, a3) || r3 && K(e3.length, r3) ? (n4(Z({ value: e3, minimum: a3, maximum: r3, ...o4 }), { ...o4, value: e3 }), pe.Invalid) : s2 && !new RegExp(s2).test(e3) ? (n4(ne({ value: e3, ...o4 }), { ...o4, value: e3 }), pe.Invalid) : pe.Valid : pe.InvalidType;
          }(t3, n3, e2, o3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? pe.Valid : pe.InvalidType;
          }(e3), date: (e3) => ue(e3), nil: (e3) => function(e4) {
            return Y(e4) ? pe.Valid : pe.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? pe.Valid : pe.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return a2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function ce(e2, { suppressIndexErrors: t2 = false } = {}) {
          return le({ reportError: n, reportWarning: o }, e2, { suppressIndexErrors: t2 });
        }
        function de(e2, t2, n2 = {}) {
          return (o2) => {
            const a2 = e2(o2), r2 = ce(o2.metaData.role), i2 = ce(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const m2 = Object.getOwnPropertyDescriptor(a2, s2), u2 = { enumerable: true, configurable: true };
              return m2.value ? "function" == typeof m2.value ? u2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, r3 = n2[s2];
                let u3 = true;
                return a3 && (u3 = i2(e4, { type: ["array"], items: a3 }, s2)), u3 && r3 && (u3 = r3.every((t3) => t3(e4, o2))), u3 ? m2.value(...e4) : void 0;
              } : u2.value = m2.value : (m2.get && (u2.get = () => a2[s2]), m2.set && (u2.set = (e4) => {
                const i3 = n2[s2];
                let m3 = true;
                t2.properties[s2] && (m3 = r2(e4, t2.properties[s2], s2)), m3 && i3 && (m3 = i3.every((t3) => t3(e4, o2))), m3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, u2), e3;
            }, {});
          };
        }
        const fe = "click", ye = "dblClick", he = "mouseenter", Ne = "mouseleave", ve = "change", ge = "blur", $e = "focus", be = "imageChanged", xe = "imageExpanded", we = "onInput", Ie = "itemClicked", Te = "cellSelect", Ce = "cellEdit", Oe = "rowSelect", Ee = "fetchData", Se = "dataChange", ke = "onTimeout", Ve = "onVerified", Le = "onError", Pe = "onPlay", je = "onPause", De = "onProgress", Ae = "onEnded", Fe = "autoplayOff", Me = "autoplayOn", Re = "playEnded", He = "playProgress", Be = "keyPress", qe = "keyUp", We = "keyDown", Xe = "screenIn", Ye = "viewportEnter", Ge = "viewportLeave", Ke = "scroll", ze = "validate", Ue = "setCustomValidity", _e = "syncValidationData", Je = "updateValidityIndication", Ze = "message", Qe = "uploadComplete", et = "itemReady", tt = "itemRemoved", nt = "tagClick", ot = "quickActionBarItemClicked", at = "markerClicked", rt = "mapClicked", it = "iconMouseIn", st = "onStateChange", mt = "itemMouseIn", ut = "itemMouseOut", pt = "itemMouseClick", lt = "itemMouseDblClick", ct = "onColorChange", dt = "onFontChange", ft = "onOpacityChange", yt = { [fe]: "onClick", [ye]: "onDblClick", [he]: "onMouseIn", [Ne]: "onMouseOut", [ve]: "onChange", [we]: "onInput", [ge]: "onBlur", [$e]: "onFocus", [be]: "onCurrentItemChanged", [xe]: void 0, [Ie]: "onItemClicked", [Te]: "onCellSelect", [Ce]: void 0, [Oe]: "onRowSelect", [Ee]: void 0, [Se]: "onDataChange", [ke]: "onTimeout", [Ve]: "onVerified", [Le]: "onError", [Pe]: "onPlay", [je]: "onPause", [De]: "onProgress", [Ae]: "onEnded", [Fe]: "onPause", [Me]: "onPlay", [Re]: void 0, [He]: void 0, [Be]: "onKeyPress", [qe]: "onKeyUp", [We]: "onKeyDown", [Xe]: void 0, [Ye]: "onViewportEnter", [Ge]: "onViewportLeave", [Ke]: void 0, [ze]: void 0, [Ue]: void 0, [_e]: void 0, [Je]: void 0, [Ze]: "onMessage", [Qe]: void 0, [et]: "onItemReady", [tt]: "onItemRemoved", [nt]: void 0, [ot]: "onItemClicked", [at]: "onMarkerClicked", [rt]: "onMapClicked", [it]: void 0, [st]: "onStateChange", [mt]: "onItemMouseIn", [ut]: "onItemMouseOut", [pt]: "onItemClick", [lt]: "onItemDblClick", [ct]: "onColorChange", [dt]: "onFontChange", [ft]: "onOpacityChange" }, ht = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Nt = (e2) => {
          const { target: t2, type: n2, context: o2 } = e2;
          return { target: t2, type: ht[n2] ?? n2, context: o2 };
        }, vt = (e2) => {
          const { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: r2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: m2, offsetY: u2 } = s2;
          return { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: r2, screenY: i2, offsetX: m2, offsetY: u2 };
        }, gt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, $t = (e2) => e2.replace(/^on/i, ""), bt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), xt = (e2, t2, n2, o2) => {
          const { create$w: a2, createEvent: r2, registerEvent: i2, getSdkInstance: s2, metaData: m2 } = t2;
          if (!((e3, t3, n3) => ce(n3)(e3, { type: ["function"] }, t3))(n2, gt[e2] ?? e2, m2.role)) return s2();
          const [u2, p2] = bt(t2), l2 = i2(e2, (e3, t3) => {
            const i3 = r2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: i3.context }), m3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...Nt(i3), ...m3 }, s3);
          }), c2 = { eventName: e2, compId: m2.compId, cb: n2, unregister: l2 };
          return p2({ listeners: [...u2.listeners, c2] }), s2();
        }, wt = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(gt).find(([t4, n3]) => $t(n3.toLowerCase()) === $t(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(yt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, It = (e2, t2, n2, o2) => xt(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...vt(e3), ...t3 && o2?.(t3) }));
        function Tt(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const o2 = {};
            for (let r2 = 0; r2 < e2.length; r2++) {
              const i2 = e2[r2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], r3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(o2, n2 && r3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, r3);
              }
            }
            var a2;
            return o2;
          };
        }
        const Ct = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: o2, compType: a2, isGlobal: r2, getParent: i2, role: s2, wixCodeId: m2 } = t2, u2 = `$w.${a2}`;
          return { get id() {
            return m2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return i2();
          }, get global() {
            return r2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: s2, type: u2, global: r2() };
          } };
        }, Ot = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: o2, create$w: a2, createEvent: r2 } = t2, i2 = (e3, t3) => ce(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => i2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = r2({ type: "viewportEnter" }), t3 = a2();
            n3(e3, t3);
          }), xt("onViewportEnter", t2, n3)) : o2(), onViewportLeave: (n3) => i2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = r2({ type: "viewportLeave" }), t3 = a2();
            n3(e3, t3);
          }), xt("onViewportLeave", t2, n3)) : o2() };
        }, Et = { duration: 1200, delay: 0 }, St = { arc: { ...Et, direction: "left" }, bounce: { ...Et, direction: "topLeft", intensity: "medium" }, puff: { ...Et }, zoom: { ...Et }, fade: { ...Et }, flip: { ...Et, direction: "right" }, float: { ...Et, direction: "right" }, fly: { ...Et, direction: "right" }, fold: { ...Et, direction: "left" }, glide: { ...Et, angle: 0, distance: 0 }, roll: { ...Et, direction: "left" }, slide: { ...Et, direction: "left" }, spin: { ...Et, direction: "cw", cycles: 5 }, turn: { ...Et, direction: "right" }, ArcIn: { ...Et, direction: "right" }, ArcOut: { ...Et, direction: "right" }, BounceIn: { ...Et, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Et, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Et, direction: "right" }, CollapseOut: { ...Et }, Conceal: { ...Et, direction: "right" }, Reveal: { ...Et, direction: "left" }, FadeIn: { ...Et }, FadeOut: { ...Et }, FlipIn: { ...Et, direction: "left" }, FlipOut: { ...Et, direction: "left" }, FloatIn: { ...Et, direction: "right" }, FloatOut: { ...Et, direction: "right" }, FlyIn: { ...Et, direction: "right" }, FlyOut: { ...Et, direction: "right" }, FoldIn: { ...Et, direction: "left" }, FoldOut: { ...Et, direction: "left" }, GlideIn: { ...Et, angle: 0, distance: 150 }, GlideOut: { ...Et, angle: 0, distance: 150 }, DropIn: { ...Et }, PopOut: { ...Et }, SlideIn: { ...Et, direction: "left" }, SlideOut: { ...Et, direction: "left" }, SpinIn: { ...Et, direction: "cw", cycles: 2 }, SpinOut: { ...Et, direction: "cw", cycles: 2 }, TurnIn: { ...Et, direction: "right" }, TurnOut: { ...Et, direction: "right" } }, kt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Vt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Lt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Pt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, jt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Dt = { arc: { type: ["object"], properties: { duration: Lt, delay: Pt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Lt, delay: Pt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Lt, delay: Pt } }, zoom: { type: ["object"], properties: { duration: Lt, delay: Pt } }, fade: { type: ["object"], properties: { duration: Lt, delay: Pt } }, flip: { type: ["object"], properties: { duration: Lt, delay: Pt, direction: jt } }, float: { type: ["object"], properties: { duration: Lt, delay: Pt, direction: jt } }, fly: { type: ["object"], properties: { duration: Lt, delay: Pt, direction: jt } }, fold: { type: ["object"], properties: { duration: Lt, delay: Pt, direction: jt } }, glide: { type: ["object"], properties: { duration: Lt, delay: Pt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Lt, delay: Pt, direction: jt } }, slide: { type: ["object"], properties: { duration: Lt, delay: Pt, direction: jt } }, spin: { type: ["object"], properties: { duration: Lt, delay: Pt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Lt, delay: Pt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, At = ({ propertyName: e2, compName: t2 }) => (n2, a2) => {
          if (!n2) return false;
          if (void 0 === a2) return true;
          const r2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, r3) => {
            o(u({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${r3?.value}`, infoLink: Vt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!le({ reportError: r2, reportWarning: () => ({}) }, t2)(a2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, r3) => {
            o(s({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${r3?.propertyName}" cannot be set to the value "${r3?.value}"`, infoLink: Vt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!le({ reportError: i2, reportWarning: () => ({}) }, t2)(a2, Dt[n2], e2);
        }, Ft = (e2) => 0 === Object.keys(e2).length, Mt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: a2, metaData: s2, getSdkInstance: u2, runAnimation: p2, createSdkState: l2, styleUtils: c2, setProps: d2 }) => {
          const f2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: a3 }) => {
            const s3 = At({ propertyName: a3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Ft(n3)) return o(i({ propertyName: a3, compName: e3, infoLink: Vt(a3) })), false;
            const u3 = "hide" === a3 ? "HIDE" : "SHOW", p3 = kt[u3]?.deprecatedValues;
            return t3 && n3 && p3 && p3.find((e4) => e4 === t3) && !Ft(n3) ? (o(m({ compName: e3, effectName: t3, propertyName: a3, infoLink: Vt(a3) })), false) : !!p3.find((e4) => e4 === t3) || (t3 && !(t3 in Dt) ? (o(r({ propertyName: a3, compName: e3, effectName: t3, infoLink: Vt(a3) })), false) : !!s3(t3, n3));
          })({ compName: s2.role }), [y2, h2] = l2({ hidden: s2.hiddenOnLoad, collapsed: s2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (o2, r2) => {
            if (d2({ hidden: true }), y2.collapsed || y2.hidden) h2({ hidden: true });
            else {
              if (f2({ effectName: o2, effectOptions: r2, propertyName: "hide" })) {
                const e3 = { animationDirection: kt.HIDE.suffix, effectName: o2, effectOptions: { ...St?.[o2] || Et, ...r2 } };
                await Promise.all([p2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(c2.getHiddenStyles()), t2 && a2.setStyles(c2.getHiddenStyles());
              h2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (o2, r2) => {
            if (d2({ hidden: false }), !y2.collapsed && y2.hidden) {
              if (f2({ effectName: o2, effectOptions: r2, propertyName: "show" })) {
                const e3 = { animationDirection: kt.SHOW.suffix, effectName: o2, effectOptions: { ...St?.[o2] || Et, ...r2 } };
                await Promise.all([p2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(c2.getShownStyles()), t2 && a2.setStyles(c2.getShownStyles());
              h2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else h2({ hidden: false });
          }, collapse: async () => {
            d2({ collapsed: true }), y2.collapsed || (n2(c2.getCollapsedStyles()), t2 && a2.setStyles(c2.getCollapsedStyles()), h2({ collapsed: true }), y2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (d2({ collapsed: false }), y2.collapsed) {
              const o2 = { ...c2.getExpandedStyles(), visibility: y2.hidden ? "hidden" : null };
              n2(o2), t2 && a2.setStyles(o2), h2({ collapsed: false }), y2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return y2.collapsed;
          }, get hidden() {
            return Boolean(y2.hidden);
          }, get isVisible() {
            if (!s2.isRendered()) return false;
            let e3 = u2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Rt = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Tt([Mt({ viewportState: n2, hasPortal: t3 }), Ot((e4, t4) => {
            o2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), Ht = (e2, t2, o2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && n(H({ functionName: o2, wrongEffects: a2, allowedEffects: e2 }));
        }, Bt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            Ht(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            Ht(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            Ht(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, qt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Wt = (e2, t2) => "string" != typeof e2 ? (Xt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Gt(e2, t2), false), Xt = (e2, t2, o2, a2) => {
          n(F({ propertyName: e2, functionName: t2, value: o2, expectedType: a2 }));
        }, Yt = (e2, t2) => {
          n(f({ propertyName: e2, functionName: t2 }));
        }, Gt = (e2, t2) => {
          n(q({ propertyName: e2, functionName: t2 }));
        }, Kt = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const n2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Wt(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else Yt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Yt("className", "customClassList.remove");
            const n2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!Wt(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return Wt(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            Yt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Wt(t3, "customClassList.replace") || !Wt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (n(y({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Wt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Yt("className", "customClassList.toggle"), false);
          } } };
        }, zt = ({ role: e2, compType: t2, isGlobal: n2, isRendered: o2 }) => ({ id: e2, type: `$w.${t2}`, global: n2(), rendered: o2() }), Ut = (e2) => ({ onMouseIn: (t2) => It("onMouseEnter", e2, t2), onMouseOut: (t2) => It("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (n(F({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof o2 ? (n(F({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), a2()) : ((e3, t3, n2) => {
            const { metaData: o3, getSdkInstance: a3 } = t3, [r2, i2] = bt(t3), s2 = r2.listeners.filter((t4) => wt(t4.eventName, e3) && t4.cb === n2 && t4.compId === o3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: r2.listeners.filter((e4) => !s2.includes(e4)) }), a3();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return zt(e2.metaData);
        } }), _t = Ot(), Jt = (Tt([Ct, _t, Ut, Bt, Kt]), (e2) => ({ onChange: (t2) => xt("onChange", e2, t2) })), Zt = (e2, t2, n2) => (o2) => {
          const { setProps: a2, props: r2, metaData: i2 } = o2, s2 = ce(i2.role);
          return { get value() {
            return r2.value;
          }, set value(r3) {
            const i3 = e2(r3, o2);
            s2(i3, t2, "value") && (a2({ value: i3 }), n2.validate({ viewerSdkAPI: o2, showValidityIndication: true }));
          } };
        };
        const Qt = de((e2) => {
          let { setProps: t2, props: n2, metaData: a2 } = e2;
          const r2 = { get min() {
            return n2.min;
          }, set min(e3) {
            e3 > n2.max && o(d({ propertyName: "min", wrongValue: e3, maxValue: n2.max })), t2({ min: e3 });
          }, get max() {
            return n2.max;
          }, set max(e3) {
            e3 < n2.min && o(c({ propertyName: "max", wrongValue: e3, minValue: n2.min })), t2({ max: e3 });
          }, get step() {
            return n2.step || 0.1;
          }, set step(e3) {
            t2({ step: e3 });
          }, get stepType() {
            return n2.stepType;
          }, set stepType(e3) {
            t2({ stepType: e3 });
          }, toJSON() {
            const { min: e3, max: t3, stepType: o2, step: i2 } = r2;
            return { ...zt(a2), min: e3, max: t3, stepType: o2, step: i2, value: n2.value };
          } };
          return r2;
        }, { properties: { min: { type: ["number"] }, max: { type: ["number"] }, step: { type: ["number", "nil"] }, stepType: { type: ["string"], enum: ["value", "count"] } } }), en = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Tt([Ct, Ut, Bt, qt, e2 ? Rt(t2) : _t, Kt]))(), tn = Tt([Jt, de(Zt((e2) => e2, { type: ["number"] }, { onValidate: (e2) => {
        }, validate: (e2) => {
        } }), { properties: {} })]);
        const nn = Tt([en, ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => xt("onFocus", e2, t2), onBlur: (t2) => xt("onBlur", e2, t2) }), Jt, tn, (e2) => ({ onClick: (t2) => It("onClick", e2, t2), onDblClick: (t2) => It("onDblClick", e2, t2) }), Qt]);
        var on = { factory: nn };
        return t;
      }();
    });
  })(Slider_bundle_min);
  var Slider_bundle_minExports = Slider_bundle_min.exports;
  const Slider = /* @__PURE__ */ getDefaultExportFromCjs(Slider_bundle_minExports);
  var SlotsPlaceholder_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var o2 in n2) e.o(n2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: n2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return Qt;
        }, sdk: function() {
          return Zt;
        } });
        const n = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, o = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function a(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function r(e2) {
          return Array.isArray(e2);
        }
        function i(e2) {
          return null == e2;
        }
        function s(e2, t2) {
          return t2.includes(e2);
        }
        function m(e2, t2) {
          return e2 > t2;
        }
        function l(e2, t2) {
          return e2 < t2;
        }
        const u = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, c = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, p = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, d = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: o2, wrongValue: a2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${r2}"')`, f = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${o2}"`, y = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, h = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, N = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, v = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, g = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, x = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, b = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, w = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, I = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, C = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, T = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, O = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, E = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, S = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, P = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, k = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, V = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, L = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, D = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, A = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, U = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, B = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, W = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, X = ({ propertyName: e2, functionName: t2, value: n2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, Y = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, G = ({ compName: e2, functionName: t2, propertyName: n2, index: o2 }) => a(o2) ? N({ propertyName: n2, functionName: t2, index: o2 }) : e2 ? h({ compName: e2, functionName: t2, propertyName: n2 }) : u({ functionName: t2, propertyName: n2 }), K = ({ functionName: e2, propertyName: t2, index: n2 }) => a(n2) ? $({ functionName: e2, propertyName: t2, index: n2 }) : v({ functionName: e2, propertyName: t2 }), _ = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? a(n2) ? I({ functionName: e2, propertyNames: t2, index: n2 }) : b({ functionName: e2, propertyNames: t2 }) : a(n2) ? w({ functionName: e2, propertyName: t2[0], index: n2 }) : x({ functionName: e2, propertyName: t2[0] }), z = ({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2, index: i2 }) => r2 && o2 ? r2 === o2 ? a(i2) ? E({ functionName: e2, propertyName: t2, value: n2, expectedValue: r2, index: i2 }) : O({ functionName: e2, propertyName: t2, value: n2, expectedValue: r2 }) : a(i2) ? T({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2, index: i2 }) : C({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2 }) : !r2 && o2 ? a(i2) ? V({ functionName: e2, propertyName: t2, value: n2, maximum: o2, index: i2 }) : k({ functionName: e2, propertyName: t2, value: n2, maximum: o2 }) : a(i2) ? P({ functionName: e2, propertyName: t2, value: n2, minimum: r2, index: i2 }) : S({ functionName: e2, propertyName: t2, value: n2, minimum: r2 }), J = ({ functionName: e2, propertyName: t2, value: n2, minimum: o2, maximum: r2, index: i2 }) => o2 && r2 ? o2 === r2 ? a(i2) ? A({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2, index: i2 }) : D({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2 }) : a(i2) ? j({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2, index: i2 }) : L({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2 }) : !o2 && r2 ? a(i2) ? H({ functionName: e2, propertyName: t2, maximum: r2, value: n2, index: i2 }) : R({ functionName: e2, propertyName: t2, maximum: r2, value: n2 }) : a(i2) ? F({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: i2 }) : M({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), Z = ({ functionName: e2, propertyName: t2, types: n2, value: o2, index: r2 }) => {
          const i2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return a(r2) ? q({ functionName: e2, index: r2, propertyName: t2, value: o2, expectedType: i2 }) : U({ functionName: e2, propertyName: t2, value: o2, expectedType: i2 });
        }, Q = ({ functionName: e2, propertyName: t2, value: n2, enum: o2, index: r2 }) => {
          const i2 = `from (${o2.join(",")})`;
          return a(r2) ? q({ functionName: e2, propertyName: t2, value: n2, expectedType: i2, index: r2 }) : U({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, ee = ({ functionName: e2, propertyName: t2, value: n2, index: o2 }) => a(o2) ? X({ functionName: e2, propertyName: t2, value: n2, index: o2 }) : B({ functionName: e2, propertyName: t2, value: n2 }), te = Object.prototype.hasOwnProperty, ne = Object.getOwnPropertyNames, oe = () => {
        };
        function ae(e2, t2, n2, o2, a2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !r(e3);
          }(e2)) return me.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ae(e2, t3, n2, oe, a2, i2)).filter((e3) => e3 === me.Valid).length ? me.Valid : me.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!te.call(e2, t2.required[n3])) return o2(K({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[n3] }), { ...i2, value: e2 }), me.Invalid;
          }
          const s2 = ne(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ne(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return o2(_({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), me.Invalid;
            }
          }
          for (let o3 = 0; o3 < s2.length; o3++) {
            const a3 = s2[o3];
            if (te.call(e2, a3)) {
              const o4 = t2.properties[a3], r2 = e2[a3];
              if (!n2(r2, o4, { functionName: i2.functionName, index: i2.index, propertyName: a3 })) return me.Invalid;
            }
          }
          return me.Valid;
        }
        function re(e2) {
          return Array.isArray(e2);
        }
        function ie(e2, t2, n2, o2) {
          const { minimum: r2, maximum: i2, enum: u2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? u2 && !s(e2, u2) ? (n2(Q({ value: e2, enum: u2, ...o2 }), { ...o2, value: e2 }), me.Invalid) : a(r2) && l(e2, r2) || a(i2) && m(e2, i2) ? (n2(J({ value: e2, minimum: r2, maximum: i2, ...o2 }), { ...o2, value: e2 }), me.Invalid) : me.Valid : me.InvalidType;
        }
        function se(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? me.Valid : me.InvalidType;
        }
        const me = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function le({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: o2 = false } = {}) {
          function u2(o3, a2, r2) {
            a2.warnIfNil && i(o3) && t2(G({ ...r2, compName: n2 }), { ...r2, value: o3 });
            let s2 = 0;
            for (; s2 < a2.type.length; s2++) {
              const e3 = (0, c2[a2.type[s2]])(o3, a2, r2);
              if (e3 !== me.InvalidType) return e3 === me.Valid;
            }
            return s2 === a2.type.length && e2(Z({ value: o3, types: a2.type, ...r2 }), { ...r2, value: o3 }), false;
          }
          const c2 = { object: (n3, o3, a2) => ae(n3, o3, u2, e2, t2, a2), array: (e3, t3, n3) => function(e4, t4, n4, o3, a2, i2 = false) {
            if (!r(e4)) return me.InvalidType;
            let s2 = me.Valid;
            if (t4.items) {
              const o4 = re(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let r2 = 0; r2 < o4; r2++) {
                const o5 = e4[r2];
                let m2, l2;
                re(t4.items) ? (m2 = t4.items[r2], l2 = t4.items[r2].name) : (m2 = t4.items, l2 = t4.name), n4(o5, m2, { functionName: a2.functionName, propertyName: l2 || a2.propertyName, index: i2 ? void 0 : r2 }) || (s2 = me.Invalid);
              }
            }
            return s2;
          }(e3, t3, u2, 0, n3, o2), number: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minimum: r2, maximum: i2, enum: u3 } = t4;
            return a(e3) ? u3 && !s(e3, u3) ? (n4(Q({ value: e3, enum: u3, ...o4 }), { ...o4, value: e3 }), me.Invalid) : a(r2) && l(e3, r2) || a(i2) && m(e3, i2) ? (n4(J({ value: e3, minimum: r2, maximum: i2, ...o4 }), { ...o4, value: e3 }), me.Invalid) : me.Valid : me.InvalidType;
          }(t3, n3, e2, o3), integer: (t3, n3, o3) => ie(t3, n3, e2, o3), string: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minLength: a2, maxLength: r2, enum: i2, pattern: u3 } = t4;
            return /* @__PURE__ */ function(e4) {
              return "string" == typeof e4;
            }(e3) ? i2 && !s(e3, i2) ? (n4(Q({ value: e3, enum: i2, ...o4 }), { ...o4, value: e3 }), me.Invalid) : a2 && l(e3.length, a2) || r2 && m(e3.length, r2) ? (n4(z({ value: e3, minimum: a2, maximum: r2, ...o4 }), { ...o4, value: e3 }), me.Invalid) : u3 && !new RegExp(u3).test(e3) ? (n4(ee({ value: e3, ...o4 }), { ...o4, value: e3 }), me.Invalid) : me.Valid : me.InvalidType;
          }(t3, n3, e2, o3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? me.Valid : me.InvalidType;
          }(e3), date: (e3) => se(e3), nil: (e3) => function(e4) {
            return i(e4) ? me.Valid : me.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? me.Valid : me.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return u2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function ue(e2, { suppressIndexErrors: t2 = false } = {}) {
          return le({ reportError: n, reportWarning: o }, e2, { suppressIndexErrors: t2 });
        }
        const ce = "click", pe = "dblClick", de = "mouseenter", fe = "mouseleave", ye = "change", he = "blur", Ne = "focus", ve = "imageChanged", ge = "imageExpanded", $e = "onInput", xe = "itemClicked", be = "cellSelect", we = "cellEdit", Ie = "rowSelect", Ce = "fetchData", Te = "dataChange", Oe = "onTimeout", Ee = "onVerified", Se = "onError", Pe = "onPlay", ke = "onPause", Ve = "onProgress", Le = "onEnded", je = "autoplayOff", De = "autoplayOn", Ae = "playEnded", Me = "playProgress", Fe = "keyPress", Re = "keyUp", He = "keyDown", Ue = "screenIn", qe = "viewportEnter", Be = "viewportLeave", We = "scroll", Xe = "validate", Ye = "setCustomValidity", Ge = "syncValidationData", Ke = "updateValidityIndication", _e = "message", ze = "uploadComplete", Je = "itemReady", Ze = "itemRemoved", Qe = "tagClick", et = "quickActionBarItemClicked", tt = "markerClicked", nt = "mapClicked", ot = "iconMouseIn", at = "onStateChange", rt = "itemMouseIn", it = "itemMouseOut", st = "itemMouseClick", mt = "itemMouseDblClick", lt = "onColorChange", ut = "onFontChange", ct = "onOpacityChange", pt = { [ce]: "onClick", [pe]: "onDblClick", [de]: "onMouseIn", [fe]: "onMouseOut", [ye]: "onChange", [$e]: "onInput", [he]: "onBlur", [Ne]: "onFocus", [ve]: "onCurrentItemChanged", [ge]: void 0, [xe]: "onItemClicked", [be]: "onCellSelect", [we]: void 0, [Ie]: "onRowSelect", [Ce]: void 0, [Te]: "onDataChange", [Oe]: "onTimeout", [Ee]: "onVerified", [Se]: "onError", [Pe]: "onPlay", [ke]: "onPause", [Ve]: "onProgress", [Le]: "onEnded", [je]: "onPause", [De]: "onPlay", [Ae]: void 0, [Me]: void 0, [Fe]: "onKeyPress", [Re]: "onKeyUp", [He]: "onKeyDown", [Ue]: void 0, [qe]: "onViewportEnter", [Be]: "onViewportLeave", [We]: void 0, [Xe]: void 0, [Ye]: void 0, [Ge]: void 0, [Ke]: void 0, [_e]: "onMessage", [ze]: void 0, [Je]: "onItemReady", [Ze]: "onItemRemoved", [Qe]: void 0, [et]: "onItemClicked", [tt]: "onMarkerClicked", [nt]: "onMapClicked", [ot]: void 0, [at]: "onStateChange", [rt]: "onItemMouseIn", [it]: "onItemMouseOut", [st]: "onItemClick", [mt]: "onItemDblClick", [lt]: "onColorChange", [ut]: "onFontChange", [ct]: "onOpacityChange" }, dt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, ft = (e2) => {
          const { target: t2, type: n2, context: o2 } = e2;
          return { target: t2, type: dt[n2] ?? n2, context: o2 };
        }, yt = (e2) => {
          const { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: r2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: m2, offsetY: l2 } = s2;
          return { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: r2, screenY: i2, offsetX: m2, offsetY: l2 };
        }, ht = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Nt = (e2) => e2.replace(/^on/i, ""), vt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), gt = (e2, t2, n2, o2) => {
          const { create$w: a2, createEvent: r2, registerEvent: i2, getSdkInstance: s2, metaData: m2 } = t2;
          if (!((e3, t3, n3) => ue(n3)(e3, { type: ["function"] }, t3))(n2, ht[e2] ?? e2, m2.role)) return s2();
          const [l2, u2] = vt(t2), c2 = i2(e2, (e3, t3) => {
            const i3 = r2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: i3.context }), m3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...ft(i3), ...m3 }, s3);
          }), p2 = { eventName: e2, compId: m2.compId, cb: n2, unregister: c2 };
          return u2({ listeners: [...l2.listeners, p2] }), s2();
        }, $t = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(ht).find(([t4, n3]) => Nt(n3.toLowerCase()) === Nt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(pt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, xt = (e2, t2, n2, o2) => gt(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...yt(e3), ...t3 && o2?.(t3) }));
        function bt(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const o2 = {};
            for (let r2 = 0; r2 < e2.length; r2++) {
              const i2 = e2[r2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], r3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(o2, n2 && r3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, r3);
              }
            }
            var a2;
            return o2;
          };
        }
        const wt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: o2, compType: a2, isGlobal: r2, getParent: i2, role: s2, wixCodeId: m2 } = t2, l2 = `$w.${a2}`;
          return { get id() {
            return m2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return i2();
          }, get global() {
            return r2();
          }, get type() {
            return l2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: s2, type: l2, global: r2() };
          } };
        }, It = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: o2, create$w: a2, createEvent: r2 } = t2, i2 = (e3, t3) => ue(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => i2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = r2({ type: "viewportEnter" }), t3 = a2();
            n3(e3, t3);
          }), gt("onViewportEnter", t2, n3)) : o2(), onViewportLeave: (n3) => i2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = r2({ type: "viewportLeave" }), t3 = a2();
            n3(e3, t3);
          }), gt("onViewportLeave", t2, n3)) : o2() };
        }, Ct = { duration: 1200, delay: 0 }, Tt = { arc: { ...Ct, direction: "left" }, bounce: { ...Ct, direction: "topLeft", intensity: "medium" }, puff: { ...Ct }, zoom: { ...Ct }, fade: { ...Ct }, flip: { ...Ct, direction: "right" }, float: { ...Ct, direction: "right" }, fly: { ...Ct, direction: "right" }, fold: { ...Ct, direction: "left" }, glide: { ...Ct, angle: 0, distance: 0 }, roll: { ...Ct, direction: "left" }, slide: { ...Ct, direction: "left" }, spin: { ...Ct, direction: "cw", cycles: 5 }, turn: { ...Ct, direction: "right" }, ArcIn: { ...Ct, direction: "right" }, ArcOut: { ...Ct, direction: "right" }, BounceIn: { ...Ct, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Ct, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Ct, direction: "right" }, CollapseOut: { ...Ct }, Conceal: { ...Ct, direction: "right" }, Reveal: { ...Ct, direction: "left" }, FadeIn: { ...Ct }, FadeOut: { ...Ct }, FlipIn: { ...Ct, direction: "left" }, FlipOut: { ...Ct, direction: "left" }, FloatIn: { ...Ct, direction: "right" }, FloatOut: { ...Ct, direction: "right" }, FlyIn: { ...Ct, direction: "right" }, FlyOut: { ...Ct, direction: "right" }, FoldIn: { ...Ct, direction: "left" }, FoldOut: { ...Ct, direction: "left" }, GlideIn: { ...Ct, angle: 0, distance: 150 }, GlideOut: { ...Ct, angle: 0, distance: 150 }, DropIn: { ...Ct }, PopOut: { ...Ct }, SlideIn: { ...Ct, direction: "left" }, SlideOut: { ...Ct, direction: "left" }, SpinIn: { ...Ct, direction: "cw", cycles: 2 }, SpinOut: { ...Ct, direction: "cw", cycles: 2 }, TurnIn: { ...Ct, direction: "right" }, TurnOut: { ...Ct, direction: "right" } }, Ot = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Et = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, St = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Pt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, kt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Vt = { arc: { type: ["object"], properties: { duration: St, delay: Pt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: St, delay: Pt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: St, delay: Pt } }, zoom: { type: ["object"], properties: { duration: St, delay: Pt } }, fade: { type: ["object"], properties: { duration: St, delay: Pt } }, flip: { type: ["object"], properties: { duration: St, delay: Pt, direction: kt } }, float: { type: ["object"], properties: { duration: St, delay: Pt, direction: kt } }, fly: { type: ["object"], properties: { duration: St, delay: Pt, direction: kt } }, fold: { type: ["object"], properties: { duration: St, delay: Pt, direction: kt } }, glide: { type: ["object"], properties: { duration: St, delay: Pt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: St, delay: Pt, direction: kt } }, slide: { type: ["object"], properties: { duration: St, delay: Pt, direction: kt } }, spin: { type: ["object"], properties: { duration: St, delay: Pt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: St, delay: Pt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Lt = ({ propertyName: e2, compName: t2 }) => (n2, a2) => {
          if (!n2) return false;
          if (void 0 === a2) return true;
          const r2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, r3) => {
            o(y({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${r3?.value}`, infoLink: Et(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!le({ reportError: r2, reportWarning: () => ({}) }, t2)(a2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, r3) => {
            o(d({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${r3?.propertyName}" cannot be set to the value "${r3?.value}"`, infoLink: Et(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!le({ reportError: i2, reportWarning: () => ({}) }, t2)(a2, Vt[n2], e2);
        }, jt = (e2) => 0 === Object.keys(e2).length, Dt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: a2, metaData: r2, getSdkInstance: i2, runAnimation: s2, createSdkState: m2, styleUtils: l2, setProps: u2 }) => {
          const d2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: a3 }) => {
            const r3 = Lt({ propertyName: a3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !jt(n3)) return o(p({ propertyName: a3, compName: e3, infoLink: Et(a3) })), false;
            const i3 = "hide" === a3 ? "HIDE" : "SHOW", s3 = Ot[i3]?.deprecatedValues;
            return t3 && n3 && s3 && s3.find((e4) => e4 === t3) && !jt(n3) ? (o(f({ compName: e3, effectName: t3, propertyName: a3, infoLink: Et(a3) })), false) : !!s3.find((e4) => e4 === t3) || (t3 && !(t3 in Vt) ? (o(c({ propertyName: a3, compName: e3, effectName: t3, infoLink: Et(a3) })), false) : !!r3(t3, n3));
          })({ compName: r2.role }), [y2, h2] = m2({ hidden: r2.hiddenOnLoad, collapsed: r2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (o2, r3) => {
            if (u2({ hidden: true }), y2.collapsed || y2.hidden) h2({ hidden: true });
            else {
              if (d2({ effectName: o2, effectOptions: r3, propertyName: "hide" })) {
                const e3 = { animationDirection: Ot.HIDE.suffix, effectName: o2, effectOptions: { ...Tt?.[o2] || Ct, ...r3 } };
                await Promise.all([s2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(l2.getHiddenStyles()), t2 && a2.setStyles(l2.getHiddenStyles());
              h2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (o2, r3) => {
            if (u2({ hidden: false }), !y2.collapsed && y2.hidden) {
              if (d2({ effectName: o2, effectOptions: r3, propertyName: "show" })) {
                const e3 = { animationDirection: Ot.SHOW.suffix, effectName: o2, effectOptions: { ...Tt?.[o2] || Ct, ...r3 } };
                await Promise.all([s2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(l2.getShownStyles()), t2 && a2.setStyles(l2.getShownStyles());
              h2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else h2({ hidden: false });
          }, collapse: async () => {
            u2({ collapsed: true }), y2.collapsed || (n2(l2.getCollapsedStyles()), t2 && a2.setStyles(l2.getCollapsedStyles()), h2({ collapsed: true }), y2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (u2({ collapsed: false }), y2.collapsed) {
              const o2 = { ...l2.getExpandedStyles(), visibility: y2.hidden ? "hidden" : null };
              n2(o2), t2 && a2.setStyles(o2), h2({ collapsed: false }), y2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return y2.collapsed;
          }, get hidden() {
            return Boolean(y2.hidden);
          }, get isVisible() {
            if (!r2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, At = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return bt([Dt({ viewportState: n2, hasPortal: t3 }), It((e4, t4) => {
            o2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), Mt = (e2, t2, o2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && n(W({ functionName: o2, wrongEffects: a2, allowedEffects: e2 }));
        }, Ft = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            Mt(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            Mt(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            Mt(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Rt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Ht = (e2, t2) => "string" != typeof e2 ? (Ut(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Bt(e2, t2), false), Ut = (e2, t2, o2, a2) => {
          n(U({ propertyName: e2, functionName: t2, value: o2, expectedType: a2 }));
        }, qt = (e2, t2) => {
          n(v({ propertyName: e2, functionName: t2 }));
        }, Bt = (e2, t2) => {
          n(Y({ propertyName: e2, functionName: t2 }));
        }, Wt = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const n2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Ht(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else qt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void qt("className", "customClassList.remove");
            const n2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!Ht(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return Ht(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            qt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Ht(t3, "customClassList.replace") || !Ht(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (n(g({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Ht(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (qt("className", "customClassList.toggle"), false);
          } } };
        }, Xt = (e2) => ({ onMouseIn: (t2) => xt("onMouseEnter", e2, t2), onMouseOut: (t2) => xt("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (n(U({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof o2 ? (n(U({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), a2()) : ((e3, t3, n2) => {
            const { metaData: o3, getSdkInstance: a3 } = t3, [r2, i2] = vt(t3), s2 = r2.listeners.filter((t4) => $t(t4.eventName, e3) && t4.cb === n2 && t4.compId === o3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: r2.listeners.filter((e4) => !s2.includes(e4)) }), a3();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return (({ role: e3, compType: t2, isGlobal: n2, isRendered: o2 }) => ({ id: e3, type: `$w.${t2}`, global: n2(), rendered: o2() }))(e2.metaData);
        } }), Yt = It();
        bt([wt, Yt, Xt, Ft, Wt]);
        function Gt() {
          return Kt();
        }
        function Kt(e2) {
          return void 0 === e2 && (e2 = {}), new Proxy(e2, { set: (e3, t2, n2) => (t2 in e3 && (e3[t2] = n2), true), get: (e3, t2) => "isMethodSupported" === t2 ? (t3) => t3 in e3 : t2 in e3 ? e3[t2] : Gt });
        }
        function _t() {
          return zt();
        }
        function zt(e2, t2) {
          return void 0 === e2 && (e2 = {}), void 0 === t2 && (t2 = { useDirectProps: false, useUnidirectionalPolyfill: false }), new Proxy(e2, { set: (e3, n2, o2) => ("function" != typeof o2 ? (e3.setAttribute(n2.split(/(?=[A-Z])/).join("-").toLowerCase(), function(e4) {
            return "object" == typeof e4 && null !== e4 ? JSON.stringify(e4) : e4;
          }(o2)), t2.useDirectProps && e3.setDirectProp(n2, o2)) : t2.useDirectProps && e3.setDirectMethod(n2, o2), e3[n2] = o2, true), get: (e3, n2) => "isMethodSupported" === n2 ? () => t2.useUnidirectionalPolyfill : n2 in e3 ? e3[n2] : t2.useUnidirectionalPolyfill ? (o2) => {
            "function" == typeof o2 && t2.useDirectProps && (console.warn("Passing callbacks to plugin methods will be deprecated soon. Instead assign method directly, like: slot." + n2 + "(...args);"), e3.setDirectMethod(n2, o2));
          } : _t });
        }
        const Jt = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => bt([wt, Xt, Ft, Rt, e2 ? At(t2) : Yt, Wt]))(), Zt = bt([Jt, (e2) => {
          let { platformUtils: t2, getSlot: n2 } = e2;
          const o2 = t2.essentials.experiments.get("specs.thunderbolt.customElementSetDirectProps") || t2.essentials.experiments.get("specs.thunderbolt.customElementSetDirectProps_loggedIn"), a2 = t2.essentials.experiments.get("specs.thunderbolt.customElementPluginUnidirectionalPolyfill") || t2.essentials.experiments.get("specs.thunderbolt.customElementPluginUnidirectionalPolyfill_loggedIn"), r2 = n2("slot"), i2 = null == r2 ? void 0 : r2.type;
          return { get slot() {
            return "$w.CustomElementComponent" === i2 ? zt(r2, { useDirectProps: o2, useUnidirectionalPolyfill: a2 }) : Kt(r2);
          } };
        }]);
        var Qt = { factory: Zt };
        return t;
      }();
    });
  })(SlotsPlaceholder_bundle_min);
  var SlotsPlaceholder_bundle_minExports = SlotsPlaceholder_bundle_min.exports;
  const SlotsPlaceholder = /* @__PURE__ */ getDefaultExportFromCjs(SlotsPlaceholder_bundle_minExports);
  var StylableButton_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, r2) {
          for (var o2 in r2) e.o(r2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: r2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { accessibilityPropsSDKFactory: function() {
          return Ro;
        }, default: function() {
          return Do;
        }, sdk: function() {
          return Bo;
        }, stylableButtonSDKFactory: function() {
          return Eo;
        }, stylePropsSDKFactory: function() {
          return Oo;
        }, supportedStyleStates: function() {
          return So;
        } });
        const r = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, o = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, n = /^(?:(?:https?:)\/\/)(?:(?:[\u0400-\uA69F\w][\u0400-\uA69F\w-]*)?[\u0400-\uA69F\w]\.)+(?:[\u0400-\uA69Fa-z]+|\d{1,3})(?::[\d]{1,5})?(?:[/?#].*)?$/i, a = /^wix:vector:\/\/v1\/svgshape\.v[12]/, i = /^wix:vector:\/\/v1\/[0-9|a-z|_]+.svg/;
        function s(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function l(e2) {
          return "string" == typeof e2;
        }
        function u(e2) {
          return Array.isArray(e2);
        }
        function p(e2) {
          return null == e2;
        }
        function c(e2, t2) {
          return t2.includes(e2);
        }
        function d(e2, t2) {
          return e2 > t2;
        }
        function m(e2, t2) {
          return e2 < t2;
        }
        function f(e2) {
          return e2.includes("<svg");
        }
        function b(e2) {
          return a.test(e2);
        }
        function y(e2) {
          return Boolean(e2 && (t2 = e2, i.test(t2) || function(e3) {
            return n.test(e3);
          }(e2) || f(e2) || b(e2)));
          var t2;
        }
        const g = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, h = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, v = ({ propertyName: e2, compName: t2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, N = ({ propertyName: e2, compName: t2, effectName: r2, wrongProperty: o2, wrongValue: n2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${o2}: ${n2}. Read more about the effectOptions object: "${a2}"')`, w = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${o2}"`, x = ({ propertyName: e2, compName: t2, effectName: r2, wrongValue: o2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${n2}"'`, $ = ({ propertyName: e2, functionName: t2, compName: r2 }) => `The ${e2} parameter of "${r2}" that is passed to the ${t2} method cannot be set to null.`, A = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to null or undefined.`, k = ({ propertyName: e2, compName: t2, infoLink: r2 }) => ` The value of "${e2}" property of "${t2}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${r2}"`, C = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, I = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, S = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is required for ${t2} method.`, O = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, T = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, j = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is not allowed for ${t2} method.`, P = ({ propertyNames: e2, functionName: t2, index: r2 }) => `The following parameters: ${[...e2]} of item at index ${r2} are unknown for ${t2} method.`, L = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${o2} and ${n2}.`, E = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${o2} and ${n2}.`, R = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${o2}.`, B = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${o2}.`, D = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${o2}.`, V = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${o2} and ${n2}.`, W = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${o2} and ${n2}.`, H = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${o2}.`, _ = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${o2}.`, G = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${o2}.`, K = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, index: n2 }) => `The value of ${e2} parameter of item at ${n2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${o2}.`, U = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${o2}.`, z = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2, index: n2 }) => `The value of ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${o2}.`, X = ({ propertyName: e2, functionName: t2, value: r2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${o2}.`, Y = ({ propertyName: e2, functionName: t2, value: r2, expectedType: o2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${o2}.`, J = ({ propertyName: e2, functionName: t2, value: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format`, Z = ({ functionName: e2, wrongEffects: t2, allowedEffects: r2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, Q = ({ propertyName: e2, functionName: t2, value: r2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${r2}". Bad format`, ee = ({ propertyName: e2, value: t2 }) => `The "${e2}" property cannot be set to "${t2}". It must be a valid SVG XML string or an SVG source starting with "http://", "https://", or "wix:vector://v1/".`, te = ({ target: e2 }) => `The target parameter that is passed to the target method cannot be set to the value ${e2}. It must be of type from (_blank,_self).`, re = ({ rel: e2, validKeywords: t2 }) => `The rel parameter that is passed to the rel method cannot be set to the value ${e2}. It must be a space-separated list of unique keywords (${t2.join()}).`, oe = ({ propertyName: e2, compName: t2, cssProperty: r2, exampleFormat: o2, infoLink: n2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${r2}" value. The value is expected in the following format:"${o2}". Read more about "${r2}" values: "${n2}"`, ne = ({ propertyName: e2, compName: t2, cssProperty: r2, exampleFormats: o2, infoLink: n2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${r2}" value. The value is expected in one of the following formats:"${o2}". Read more about "${r2}" values: "${n2}"`, ae = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, ie = ({ compName: e2, functionName: t2, propertyName: r2, index: o2 }) => s(o2) ? A({ propertyName: r2, functionName: t2, index: o2 }) : e2 ? $({ compName: e2, functionName: t2, propertyName: r2 }) : g({ functionName: t2, propertyName: r2 }), se = ({ functionName: e2, propertyName: t2, index: r2 }) => s(r2) ? S({ functionName: e2, propertyName: t2, index: r2 }) : C({ functionName: e2, propertyName: t2 }), le = ({ functionName: e2, propertyNames: t2, index: r2 }) => t2 && t2.length > 1 ? s(r2) ? P({ functionName: e2, propertyNames: t2, index: r2 }) : T({ functionName: e2, propertyNames: t2 }) : s(r2) ? j({ functionName: e2, propertyName: t2[0], index: r2 }) : O({ functionName: e2, propertyName: t2[0] }), ue = ({ functionName: e2, propertyName: t2, value: r2, maximum: o2, minimum: n2, index: a2 }) => n2 && o2 ? n2 === o2 ? s(a2) ? B({ functionName: e2, propertyName: t2, value: r2, expectedValue: n2, index: a2 }) : R({ functionName: e2, propertyName: t2, value: r2, expectedValue: n2 }) : s(a2) ? E({ functionName: e2, propertyName: t2, value: r2, maximum: o2, minimum: n2, index: a2 }) : L({ functionName: e2, propertyName: t2, value: r2, maximum: o2, minimum: n2 }) : !n2 && o2 ? s(a2) ? M({ functionName: e2, propertyName: t2, value: r2, maximum: o2, index: a2 }) : F({ functionName: e2, propertyName: t2, value: r2, maximum: o2 }) : s(a2) ? V({ functionName: e2, propertyName: t2, value: r2, minimum: n2, index: a2 }) : D({ functionName: e2, propertyName: t2, value: r2, minimum: n2 }), pe = ({ functionName: e2, propertyName: t2, value: r2, minimum: o2, maximum: n2, index: a2 }) => o2 && n2 ? o2 === n2 ? s(a2) ? _({ functionName: e2, propertyName: t2, expectedValue: o2, value: r2, index: a2 }) : H({ functionName: e2, propertyName: t2, expectedValue: o2, value: r2 }) : s(a2) ? W({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: o2, index: a2 }) : q({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: o2 }) : !o2 && n2 ? s(a2) ? z({ functionName: e2, propertyName: t2, maximum: n2, value: r2, index: a2 }) : U({ functionName: e2, propertyName: t2, maximum: n2, value: r2 }) : s(a2) ? K({ functionName: e2, propertyName: t2, value: r2, minimum: o2, index: a2 }) : G({ functionName: e2, propertyName: t2, value: r2, minimum: o2 }), ce = ({ functionName: e2, propertyName: t2, types: r2, value: o2, index: n2 }) => {
          const a2 = r2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return s(n2) ? Y({ functionName: e2, index: n2, propertyName: t2, value: o2, expectedType: a2 }) : X({ functionName: e2, propertyName: t2, value: o2, expectedType: a2 });
        }, de = ({ functionName: e2, propertyName: t2, value: r2, enum: o2, index: n2 }) => {
          const a2 = `from (${o2.join(",")})`;
          return s(n2) ? Y({ functionName: e2, propertyName: t2, value: r2, expectedType: a2, index: n2 }) : X({ functionName: e2, propertyName: t2, value: r2, expectedType: a2 });
        }, me = ({ functionName: e2, propertyName: t2, value: r2, index: o2 }) => s(o2) ? Q({ functionName: e2, propertyName: t2, value: r2, index: o2 }) : J({ functionName: e2, propertyName: t2, value: r2 }), fe = Object.prototype.hasOwnProperty, be = Object.getOwnPropertyNames, ye = () => {
        };
        function ge(e2, t2, r2, o2, n2, a2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !u(e3);
          }(e2)) return we.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ge(e2, t3, r2, ye, n2, a2)).filter((e3) => e3 === we.Valid).length ? we.Valid : we.Invalid;
          if (t2.required) {
            for (let r3 = 0; r3 < t2.required.length; r3++) if (!fe.call(e2, t2.required[r3])) return o2(se({ functionName: a2.functionName, index: a2.index, propertyName: t2.required[r3] }), { ...a2, value: e2 }), we.Invalid;
          }
          const i2 = be(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = be(e2).filter((e3) => !i2.includes(e3));
            if (t3.length) {
              return o2(le({ functionName: a2.functionName, index: a2.index, propertyNames: t3 })), we.Invalid;
            }
          }
          for (let o3 = 0; o3 < i2.length; o3++) {
            const n3 = i2[o3];
            if (fe.call(e2, n3)) {
              const o4 = t2.properties[n3], i3 = e2[n3];
              if (!r2(i3, o4, { functionName: a2.functionName, index: a2.index, propertyName: n3 })) return we.Invalid;
            }
          }
          return we.Valid;
        }
        function he(e2) {
          return Array.isArray(e2);
        }
        function ve(e2, t2, r2, o2) {
          const { minimum: n2, maximum: a2, enum: i2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? i2 && !c(e2, i2) ? (r2(de({ value: e2, enum: i2, ...o2 }), { ...o2, value: e2 }), we.Invalid) : s(n2) && m(e2, n2) || s(a2) && d(e2, a2) ? (r2(pe({ value: e2, minimum: n2, maximum: a2, ...o2 }), { ...o2, value: e2 }), we.Invalid) : we.Valid : we.InvalidType;
        }
        function Ne(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? we.Valid : we.InvalidType;
        }
        const we = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function xe({ reportError: e2, reportWarning: t2 }, r2, { suppressIndexErrors: o2 = false } = {}) {
          function n2(o3, n3, i2) {
            n3.warnIfNil && p(o3) && t2(ie({ ...i2, compName: r2 }), { ...i2, value: o3 });
            let s2 = 0;
            for (; s2 < n3.type.length; s2++) {
              const e3 = (0, a2[n3.type[s2]])(o3, n3, i2);
              if (e3 !== we.InvalidType) return e3 === we.Valid;
            }
            return s2 === n3.type.length && e2(ce({ value: o3, types: n3.type, ...i2 }), { ...i2, value: o3 }), false;
          }
          const a2 = { object: (r3, o3, a3) => ge(r3, o3, n2, e2, t2, a3), array: (e3, t3, r3) => function(e4, t4, r4, o3, n3, a3 = false) {
            if (!u(e4)) return we.InvalidType;
            let i2 = we.Valid;
            if (t4.items) {
              const o4 = he(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let s2 = 0; s2 < o4; s2++) {
                const o5 = e4[s2];
                let l2, u2;
                he(t4.items) ? (l2 = t4.items[s2], u2 = t4.items[s2].name) : (l2 = t4.items, u2 = t4.name), r4(o5, l2, { functionName: n3.functionName, propertyName: u2 || n3.propertyName, index: a3 ? void 0 : s2 }) || (i2 = we.Invalid);
              }
            }
            return i2;
          }(e3, t3, n2, 0, r3, o2), number: (t3, r3, o3) => function(e3, t4, r4, o4) {
            const { minimum: n3, maximum: a3, enum: i2 } = t4;
            return s(e3) ? i2 && !c(e3, i2) ? (r4(de({ value: e3, enum: i2, ...o4 }), { ...o4, value: e3 }), we.Invalid) : s(n3) && m(e3, n3) || s(a3) && d(e3, a3) ? (r4(pe({ value: e3, minimum: n3, maximum: a3, ...o4 }), { ...o4, value: e3 }), we.Invalid) : we.Valid : we.InvalidType;
          }(t3, r3, e2, o3), integer: (t3, r3, o3) => ve(t3, r3, e2, o3), string: (t3, r3, o3) => function(e3, t4, r4, o4) {
            const { minLength: n3, maxLength: a3, enum: i2, pattern: s2 } = t4;
            return l(e3) ? i2 && !c(e3, i2) ? (r4(de({ value: e3, enum: i2, ...o4 }), { ...o4, value: e3 }), we.Invalid) : n3 && m(e3.length, n3) || a3 && d(e3.length, a3) ? (r4(ue({ value: e3, minimum: n3, maximum: a3, ...o4 }), { ...o4, value: e3 }), we.Invalid) : s2 && !new RegExp(s2).test(e3) ? (r4(me({ value: e3, ...o4 }), { ...o4, value: e3 }), we.Invalid) : we.Valid : we.InvalidType;
          }(t3, r3, e2, o3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? we.Valid : we.InvalidType;
          }(e3), date: (e3) => Ne(e3), nil: (e3) => function(e4) {
            return p(e4) ? we.Valid : we.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? we.Valid : we.InvalidType;
          }(e3) };
          return function(e3, t3, r3) {
            return n2(e3, t3, { functionName: r3, propertyName: r3, index: void 0 });
          };
        }
        function $e(e2, { suppressIndexErrors: t2 = false } = {}) {
          return xe({ reportError: r, reportWarning: o }, e2, { suppressIndexErrors: t2 });
        }
        function Ae(e2, t2, r2 = {}) {
          return (o2) => {
            const n2 = e2(o2), a2 = $e(o2.metaData.role), i2 = $e(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(n2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(n2, s2), u2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? u2.value = (...e4) => {
                const n3 = t2.properties[s2] && t2.properties[s2].args, a3 = r2[s2];
                let u3 = true;
                return n3 && (u3 = i2(e4, { type: ["array"], items: n3 }, s2)), u3 && a3 && (u3 = a3.every((t3) => t3(e4, o2))), u3 ? l2.value(...e4) : void 0;
              } : u2.value = l2.value : (l2.get && (u2.get = () => n2[s2]), l2.set && (u2.set = (e4) => {
                const i3 = r2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = a2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, o2))), l3 && (n2[s2] = e4);
              })), Object.defineProperty(e3, s2, u2), e3;
            }, {});
          };
        }
        const ke = { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" };
        function Ce(e2) {
          return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e2);
        }
        function Ie(e2) {
          return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e2);
        }
        function Se(e2) {
          return ke[e2];
        }
        function Oe(e2) {
          return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e2) || Ce(e2);
        }
        function Te(e2) {
          return Ie(e2) || /^#(([a-f0-9]){3}){1,2}$/i.test(e2);
        }
        const je = (e2) => parseInt(e2.repeat(2 / e2.length), 16), Pe = (e2) => {
          if (!Te(e2)) return;
          const t2 = ((e3) => {
            const t3 = Math.floor((e3.length - 1) / 3);
            return e3.slice(1).match(new RegExp(`.{${t3}}`, "g"));
          })(e2), [r2, o2, n2, a2] = t2.map(je);
          return [r2, o2, n2, void 0 !== a2 ? Re(a2 / 255) : 1];
        }, Le = (e2) => Te(e2) ? Pe(e2) : Oe(e2) ? ((e3) => {
          if (!Oe(e3)) return;
          const t2 = e3.substring(e3.indexOf("(")).split(","), r2 = parseInt(t2[0].substring(1).trim(), 10), o2 = parseInt(t2[1].trim(), 10), n2 = parseInt(t2[2].trim(), 10), a2 = t2[3] && parseFloat(t2[3].substring(0, t2[3].length - 1).trim());
          return [r2, o2, n2, void 0 !== a2 ? a2 : 1];
        })(e2) : Se(e2) ? Pe(ke[e2]) : void 0, Ee = (e2) => {
          const t2 = Le(e2);
          if (t2) return t2[3];
        }, Re = (e2) => Math.round(100 * e2) / 100;
        const Be = ({ propertyName: e2, cssProperty: t2, supportAlpha: o2 }) => (n2, a2) => function(e3) {
          return Te(e3) || Oe(e3) || Se(e3);
        }(n2) ? (o2 || Ve({ propertyName: e2, color: n2, api: a2 }), true) : (r(ne({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: a2.metaData.role, exampleFormats: o2 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), De = ({ propertyName: e2, cssProperty: t2 }) => (o2, n2) => !!function(e3) {
          if (l(e3)) {
            const t3 = e3.endsWith("px"), r2 = e3.slice(0, e3.length - 2), o3 = /^\d*$/.test(r2);
            return t3 && o3 && parseInt(r2, 10);
          }
          return false;
        }(o2) || (r(oe({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: n2.metaData.role, exampleFormat: "1px" })), false), Ve = ({ propertyName: e2, color: t2, api: r2 }) => {
          (Ie(t2) || Ce(t2)) && o(k({ propertyName: e2, compName: r2.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}` }));
        }, Fe = ({ name: e2, prefix: t2 }) => t2 ? `--${t2}-corvid-${e2}` : `--corvid-${e2}`, Me = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, qe = ["hover", "disabled"], We = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
        function He(e2) {
          return e2.charAt(0).toUpperCase() + e2.slice(1);
        }
        const _e = (e2) => (t2 = { supportOpacity: true }) => {
          const { prefix: r2, supportOpacity: o2, withoutDefaultValue: n2, supportedStates: a2 = [] } = t2, i2 = (t3, r3 = e2) => {
            const a3 = Be({ propertyName: e2, cssProperty: o2 ? "rgbaColor" : "rgbColor", supportAlpha: o2 });
            return Ae(({ setStyles: a4, sdkData: i3, createSdkState: s3 }) => {
              const l3 = i3?.initialSdkStyles?.[r3], u2 = Ee(l3), p2 = n2 ? void 0 : l3, [c2, d2] = s3({ [r3]: p2 }, r3);
              return Object.defineProperty({ reset() {
                d2({ [r3]: p2 }), a4({ [t3]: void 0 });
              } }, e2, { enumerable: true, set(e3) {
                let n3 = e3;
                if (!o2 && (Ie(e3) || Ce(e3))) {
                  const [t4, r4, o3] = Le(e3);
                  n3 = `rgb(${t4}, ${r4}, ${o3})`;
                }
                if ("number" == typeof u2 && 1 !== u2) {
                  const t4 = Ee(e3);
                  n3 = ((e4, t5) => {
                    const r4 = Le(e4);
                    if (r4) {
                      const [e5, o3, n4] = r4;
                      return `rgba(${e5}, ${o3}, ${n4}, ${t5})`;
                    }
                  })(n3, Number.isFinite(t4) ? Re(u2 * t4) : u2);
                }
                d2({ [r3]: n3 }), a4({ [t3]: n3 });
              }, get() {
                return c2[r3];
              } });
            }, { properties: { [e2]: { type: ["string", "nil"] } } }, { [e2]: [a3] });
          }, s2 = a2.map((t3) => Ae((o3) => {
            const n3 = i2(Fe({ name: We[t3][e2], prefix: r2 }), t3 + He(e2))(o3);
            return { [t3]: n3 };
          }, { properties: { [t3]: { type: ["object", "nil"] } } })), l2 = i2(Fe({ name: Me[e2], prefix: r2 }));
          return (e3) => Object.assign(l2(e3), s2.reduce((t3, r3) => Object.assign(t3, r3(e3)), {}));
        }, Ge = _e("backgroundColor"), Ke = _e("borderColor"), Ue = "textColor", ze = "color", Xe = _e("fillColor"), Ye = _e("strokeColor"), Je = _e("iconColor"), Ze = "reset";
        function Qe(...e2) {
          const t2 = (r2 = Ze, (...e3) => {
            const t3 = {}, o2 = { [r2](e4) {
              if ("function" == typeof t3[e4]) return t3[e4](e4);
            } };
            return e3.forEach((e4) => {
              Object.keys(e4).filter((e5) => e5 !== r2).map((t4) => ({ key: t4, descriptor: Object.getOwnPropertyDescriptor(e4, t4) })).forEach(({ key: n2, descriptor: a2 }) => {
                "function" == typeof e4[r2] && (t3[n2] = e4[r2]), Object.defineProperty(o2, n2, a2);
              });
            }), o2;
          });
          var r2;
          return (r3) => {
            const o2 = e2.map((e3) => e3(r3)), n2 = {};
            for (const e3 of qe) o2.some((t3) => e3 in t3) && (n2[e3] = t2(...o2.map((t3) => t3[e3] ?? {})), Object.defineProperty(n2[e3], Ze, { enumerable: false }), o2.forEach((t3) => {
              delete t3[e3];
            }));
            const a2 = t2(...o2);
            return Object.defineProperty(a2, Ze, { enumerable: false }), Object.assign(a2, n2);
          };
        }
        const et = { BackgroundColor: Ge, BorderColor: Ke, BorderWidth: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = Fe({ name: Me.borderWidth, prefix: t2 });
          return Ae(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const a2 = t3?.initialSdkStyles?.borderWidth, [i2, s2] = n2({ borderWidth: r2 ? void 0 : a2 }, "borderWidth");
            return { set borderWidth(t4) {
              s2({ borderWidth: t4 }), e3({ [o2]: t4 });
            }, get borderWidth() {
              return i2.borderWidth;
            }, reset() {
              s2({ borderWidth: a2 }), e3({ [o2]: void 0 });
            } };
          }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [De({ propertyName: "borderWidth", cssProperty: "width" })] });
        }, ForegroundColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = Fe({ name: Me.foregroundColor, prefix: t2 });
          return Ae(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const [a2, i2] = n2({ foregroundColor: r2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }, "foregroundColor");
            return { set foregroundColor(t4) {
              i2({ foregroundColor: t4 }), e3({ [o2]: t4 });
            }, get foregroundColor() {
              return a2.foregroundColor;
            }, reset() {
              i2({ foregroundColor: r2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }), e3({ [o2]: void 0 });
            } };
          }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [Be({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
        }, BorderRadius: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = Fe({ name: Me.borderRadius, prefix: t2 });
          return Ae(({ setStyles: e3, sdkData: t3, createSdkState: n2 }) => {
            const a2 = t3?.initialSdkStyles?.borderRadius, [i2, s2] = n2({ borderRadius: r2 ? void 0 : a2 }, "borderRadius");
            return { set borderRadius(t4) {
              s2({ borderRadius: t4 }), e3({ [o2]: t4 });
            }, get borderRadius() {
              return i2.borderRadius;
            }, reset() {
              s2({ borderRadius: a2 }), e3({ [o2]: void 0 });
            } };
          }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [De({ propertyName: "borderRadius", cssProperty: "radius" })] });
        }, TextColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2, supportedStates: o2 = [] } = e2, n2 = (e3, t3 = Ue, o3 = ze) => Ae(({ setStyles: n3, sdkData: a3, createSdkState: i3 }) => {
            const s2 = a3?.initialSdkStyles?.[o3], l2 = r2 ? void 0 : s2, [u2, p2] = i3({ [t3]: l2 }, t3);
            return { set color(r3) {
              let o4 = r3;
              if (Ie(r3) || Ce(r3)) {
                const [e4, t4, n4] = Le(r3);
                o4 = `rgb(${e4}, ${t4}, ${n4})`;
              }
              p2({ [t3]: o4 }), n3({ [e3]: o4 });
            }, get color() {
              return u2[t3];
            }, reset() {
              p2({ [t3]: l2 }), n3({ [e3]: void 0 });
            } };
          }, { properties: { color: { type: ["string", "nil"] } } }, { color: [Be({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), a2 = o2.map((e3) => Ae((r3) => {
            const o3 = n2(Fe({ name: We[e3].textColor, prefix: t2 }), ((e4) => e4 + He(Ue))(e3), ((e4) => e4 + He(ze))(e3))(r3);
            return { [e3]: o3 };
          }, { properties: { [e3]: { type: ["object", "nil"] } } })), i2 = n2(Fe({ name: Me.textColor, prefix: t2 }));
          return (e3) => Object.assign(i2(e3), a2.reduce((t3, r3) => Object.assign(t3, r3(e3)), {}));
        }, FillColor: Xe, StrokeColor: Ye, IconColor: Je }, tt = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} }, rt = "<svg data-failed />", ot = "inline", nt = "wixMedia", at = /^wix:vector:\/\/v1\//, it = /^wix:vector:\/\/v1\/[0-9|a-z|_]+.svg/, st = (e2, t2) => {
          const r2 = ((e3, t3) => {
            const r3 = new RegExp(`${t3}=("|')?([-\\w\\s,]+)\\1`);
            return e3.match(r3);
          })(e2, t2);
          return r2 ? r2[2] : null;
        }, lt = (e2, t2) => {
          if (b(e2)) return ((e3, t3) => {
            const [r3] = e3.replace(at, "").split("/"), o2 = ((e4) => {
              const [, t4, r4, o3] = e4.replace(/^.*\//, "").split("."), n2 = "v1" === t4 ? 1 : 2;
              return r4.replace(/svg_/i, "") + (1 === n2 ? `_svgshape.v1.${o3}` : "") + ".svg";
            })(r3);
            return { type: nt, data: `${t3}/${o2}` };
          })(e2, t2);
          const r2 = ((e3) => {
            const [t3] = it.exec(e3) || [];
            return t3;
          })(e2);
          if (r2) {
            const e3 = r2.replace(at, "");
            return { type: nt, data: `${t2}${e3}` };
          }
          return f(e2) ? { type: ot, data: e2 } : { type: "url", data: e2 };
        }, ut = async (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = st(e3, "width"), r3 = st(e3, "height");
            return st(e3, "viewBox") || t3 && r3;
          })(e2) ? e2 : e2.replace("<svg", '<svg width="300" height="150"');
          try {
            const { svg: e3 } = await t2(r2);
            return e3 || rt;
          } catch (e3) {
            return rt;
          }
        }, pt = async (e2, t2, r2) => {
          const { type: o2, data: n2 } = lt(e2, t2);
          if (o2 === ot) return ut(n2, r2);
          let a2 = await (async (e3) => {
            try {
              const t3 = await fetch(e3);
              if (t3.ok) return t3.text();
            } catch {
            }
            return rt;
          })(n2);
          return ct(a2) || o2 === nt || (a2 = await ut(a2, r2)), a2;
        }, ct = (e2) => e2 === rt, dt = Ae(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.label || "";
        }, set label(t3) {
          e2({ label: t3 || "" });
        } }), { properties: { label: { type: ["string", "nil"], warnIfNil: true } } }), mt = "click", ft = "dblClick", bt = "mouseenter", yt = "mouseleave", gt = "change", ht = "blur", vt = "focus", Nt = "imageChanged", wt = "imageExpanded", xt = "onInput", $t = "itemClicked", At = "cellSelect", kt = "cellEdit", Ct = "rowSelect", It = "fetchData", St = "dataChange", Ot = "onTimeout", Tt = "onVerified", jt = "onError", Pt = "onPlay", Lt = "onPause", Et = "onProgress", Rt = "onEnded", Bt = "autoplayOff", Dt = "autoplayOn", Vt = "playEnded", Ft = "playProgress", Mt = "keyPress", qt = "keyUp", Wt = "keyDown", Ht = "screenIn", _t = "viewportEnter", Gt = "viewportLeave", Kt = "scroll", Ut = "validate", zt = "setCustomValidity", Xt = "syncValidationData", Yt = "updateValidityIndication", Jt = "message", Zt = "uploadComplete", Qt = "itemReady", er = "itemRemoved", tr = "tagClick", rr = "quickActionBarItemClicked", or = "markerClicked", nr = "mapClicked", ar = "iconMouseIn", ir = "onStateChange", sr = "itemMouseIn", lr = "itemMouseOut", ur = "itemMouseClick", pr = "itemMouseDblClick", cr = "onColorChange", dr = "onFontChange", mr = "onOpacityChange", fr = { [mt]: "onClick", [ft]: "onDblClick", [bt]: "onMouseIn", [yt]: "onMouseOut", [gt]: "onChange", [xt]: "onInput", [ht]: "onBlur", [vt]: "onFocus", [Nt]: "onCurrentItemChanged", [wt]: void 0, [$t]: "onItemClicked", [At]: "onCellSelect", [kt]: void 0, [Ct]: "onRowSelect", [It]: void 0, [St]: "onDataChange", [Ot]: "onTimeout", [Tt]: "onVerified", [jt]: "onError", [Pt]: "onPlay", [Lt]: "onPause", [Et]: "onProgress", [Rt]: "onEnded", [Bt]: "onPause", [Dt]: "onPlay", [Vt]: void 0, [Ft]: void 0, [Mt]: "onKeyPress", [qt]: "onKeyUp", [Wt]: "onKeyDown", [Ht]: void 0, [_t]: "onViewportEnter", [Gt]: "onViewportLeave", [Kt]: void 0, [Ut]: void 0, [zt]: void 0, [Xt]: void 0, [Yt]: void 0, [Jt]: "onMessage", [Zt]: void 0, [Qt]: "onItemReady", [er]: "onItemRemoved", [tr]: void 0, [rr]: "onItemClicked", [or]: "onMarkerClicked", [nr]: "onMapClicked", [ar]: void 0, [ir]: "onStateChange", [sr]: "onItemMouseIn", [lr]: "onItemMouseOut", [ur]: "onItemClick", [pr]: "onItemDblClick", [cr]: "onColorChange", [dr]: "onFontChange", [mr]: "onOpacityChange" }, br = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, yr = (e2) => {
          const { target: t2, type: r2, context: o2 } = e2;
          return { target: t2, type: br[r2] ?? r2, context: o2 };
        }, gr = (e2) => {
          const { clientX: t2, clientY: r2, pageX: o2, pageY: n2, screenX: a2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: u2 } = s2;
          return { clientX: t2, clientY: r2, pageX: o2, pageY: n2, screenX: a2, screenY: i2, offsetX: l2, offsetY: u2 };
        }, hr = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, vr = (e2) => e2.replace(/^on/i, ""), Nr = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), wr = (e2, t2, r2, o2) => {
          const { create$w: n2, createEvent: a2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, r3) => $e(r3)(e3, { type: ["function"] }, t3))(r2, hr[e2] ?? e2, l2.role)) return s2();
          const [u2, p2] = Nr(t2), c2 = i2(e2, (e3, t3) => {
            const i3 = a2({ type: e3.type, compId: e3.compId }), s3 = n2({ context: i3.context }), l3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            r2({ ...yr(i3), ...l3 }, s3);
          }), d2 = { eventName: e2, compId: l2.compId, cb: r2, unregister: c2 };
          return p2({ listeners: [...u2.listeners, d2] }), s2();
        }, xr = (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = Object.entries(hr).find(([t4, r3]) => vr(r3.toLowerCase()) === vr(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(fr[t2] ?? t2);
          return e2.toLowerCase() === r2.toLowerCase();
        }, $r = (e2, t2, r2, o2) => wr(e2, t2, r2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...gr(e3), ...t3 && o2?.(t3) }));
        function Ar(e2, t2) {
          const { modifyAriaSourceKeys: r2 } = t2 ?? {};
          return (t3) => {
            const o2 = {};
            for (let a2 = 0; a2 < e2.length; a2++) {
              const i2 = e2[a2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], a3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(o2, r2 && a3.get ? "aria" + (n2 = t4).charAt(0).toUpperCase() + n2.slice(1) : t4, a3);
              }
            }
            var n2;
            return o2;
          };
        }
        const kr = ({ handlers: e2, metaData: t2 }) => {
          const { compId: r2, connection: o2, compType: n2, isGlobal: a2, getParent: i2, role: s2, wixCodeId: l2 } = t2, u2 = `$w.${n2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return r2;
          }, get parent() {
            return i2();
          }, get global() {
            return a2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(r2, t3));
          }, toJSON() {
            return { id: s2, type: u2, global: a2() };
          } };
        }, Cr = (e2) => (t2) => {
          const { metaData: r2, getSdkInstance: o2, create$w: n2, createEvent: a2 } = t2, i2 = (e3, t3) => $e(r2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (r3) => i2(r3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = a2({ type: "viewportEnter" }), t3 = n2();
            r3(e3, t3);
          }), wr("onViewportEnter", t2, r3)) : o2(), onViewportLeave: (r3) => i2(r3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = a2({ type: "viewportLeave" }), t3 = n2();
            r3(e3, t3);
          }), wr("onViewportLeave", t2, r3)) : o2() };
        }, Ir = { duration: 1200, delay: 0 }, Sr = { arc: { ...Ir, direction: "left" }, bounce: { ...Ir, direction: "topLeft", intensity: "medium" }, puff: { ...Ir }, zoom: { ...Ir }, fade: { ...Ir }, flip: { ...Ir, direction: "right" }, float: { ...Ir, direction: "right" }, fly: { ...Ir, direction: "right" }, fold: { ...Ir, direction: "left" }, glide: { ...Ir, angle: 0, distance: 0 }, roll: { ...Ir, direction: "left" }, slide: { ...Ir, direction: "left" }, spin: { ...Ir, direction: "cw", cycles: 5 }, turn: { ...Ir, direction: "right" }, ArcIn: { ...Ir, direction: "right" }, ArcOut: { ...Ir, direction: "right" }, BounceIn: { ...Ir, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Ir, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Ir, direction: "right" }, CollapseOut: { ...Ir }, Conceal: { ...Ir, direction: "right" }, Reveal: { ...Ir, direction: "left" }, FadeIn: { ...Ir }, FadeOut: { ...Ir }, FlipIn: { ...Ir, direction: "left" }, FlipOut: { ...Ir, direction: "left" }, FloatIn: { ...Ir, direction: "right" }, FloatOut: { ...Ir, direction: "right" }, FlyIn: { ...Ir, direction: "right" }, FlyOut: { ...Ir, direction: "right" }, FoldIn: { ...Ir, direction: "left" }, FoldOut: { ...Ir, direction: "left" }, GlideIn: { ...Ir, angle: 0, distance: 150 }, GlideOut: { ...Ir, angle: 0, distance: 150 }, DropIn: { ...Ir }, PopOut: { ...Ir }, SlideIn: { ...Ir, direction: "left" }, SlideOut: { ...Ir, direction: "left" }, SpinIn: { ...Ir, direction: "cw", cycles: 2 }, SpinOut: { ...Ir, direction: "cw", cycles: 2 }, TurnIn: { ...Ir, direction: "right" }, TurnOut: { ...Ir, direction: "right" } }, Or = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Tr = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, jr = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Pr = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Lr = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Er = { arc: { type: ["object"], properties: { duration: jr, delay: Pr, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: jr, delay: Pr, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: jr, delay: Pr } }, zoom: { type: ["object"], properties: { duration: jr, delay: Pr } }, fade: { type: ["object"], properties: { duration: jr, delay: Pr } }, flip: { type: ["object"], properties: { duration: jr, delay: Pr, direction: Lr } }, float: { type: ["object"], properties: { duration: jr, delay: Pr, direction: Lr } }, fly: { type: ["object"], properties: { duration: jr, delay: Pr, direction: Lr } }, fold: { type: ["object"], properties: { duration: jr, delay: Pr, direction: Lr } }, glide: { type: ["object"], properties: { duration: jr, delay: Pr, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: jr, delay: Pr, direction: Lr } }, slide: { type: ["object"], properties: { duration: jr, delay: Pr, direction: Lr } }, spin: { type: ["object"], properties: { duration: jr, delay: Pr, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: jr, delay: Pr, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Rr = ({ propertyName: e2, compName: t2 }) => (r2, n2) => {
          if (!r2) return false;
          if (void 0 === n2) return true;
          const a2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (n3, a3) => {
            o(x({ propertyName: t3, compName: r3, effectName: e3, wrongValue: `${a3?.value}`, infoLink: Tr(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          if (!xe({ reportError: a2, reportWarning: () => ({}) }, t2)(n2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (n3, a3) => {
            o(N({ propertyName: t3, compName: r3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: Tr(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          return !!xe({ reportError: i2, reportWarning: () => ({}) }, t2)(n2, Er[r2], e2);
        }, Br = (e2) => 0 === Object.keys(e2).length, Dr = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: r2, portal: n2, metaData: a2, getSdkInstance: i2, runAnimation: s2, createSdkState: l2, styleUtils: u2, setProps: p2 }) => {
          const c2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: r3, propertyName: n3 }) => {
            const a3 = Rr({ propertyName: n3, compName: e3 });
            if (!t3 && !r3) return false;
            if (!t3 && r3 && !Br(r3)) return o(v({ propertyName: n3, compName: e3, infoLink: Tr(n3) })), false;
            const i3 = "hide" === n3 ? "HIDE" : "SHOW", s3 = Or[i3]?.deprecatedValues;
            return t3 && r3 && s3 && s3.find((e4) => e4 === t3) && !Br(r3) ? (o(w({ compName: e3, effectName: t3, propertyName: n3, infoLink: Tr(n3) })), false) : !!s3.find((e4) => e4 === t3) || (t3 && !(t3 in Er) ? (o(h({ propertyName: n3, compName: e3, effectName: t3, infoLink: Tr(n3) })), false) : !!a3(t3, r3));
          })({ compName: a2.role }), [d2, m2] = l2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (o2, a3) => {
            if (p2({ hidden: true }), d2.collapsed || d2.hidden) m2({ hidden: true });
            else {
              if (c2({ effectName: o2, effectOptions: a3, propertyName: "hide" })) {
                const e3 = { animationDirection: Or.HIDE.suffix, effectName: o2, effectOptions: { ...Sr?.[o2] || Ir, ...a3 } };
                await Promise.all([s2(e3), t2 ? n2.runAnimation(e3) : void 0]);
              } else r2(u2.getHiddenStyles()), t2 && n2.setStyles(u2.getHiddenStyles());
              m2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (o2, a3) => {
            if (p2({ hidden: false }), !d2.collapsed && d2.hidden) {
              if (c2({ effectName: o2, effectOptions: a3, propertyName: "show" })) {
                const e3 = { animationDirection: Or.SHOW.suffix, effectName: o2, effectOptions: { ...Sr?.[o2] || Ir, ...a3 } };
                await Promise.all([s2(e3), t2 ? n2.runAnimation(e3) : void 0]);
              } else r2(u2.getShownStyles()), t2 && n2.setStyles(u2.getShownStyles());
              m2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else m2({ hidden: false });
          }, collapse: async () => {
            p2({ collapsed: true }), d2.collapsed || (r2(u2.getCollapsedStyles()), t2 && n2.setStyles(u2.getCollapsedStyles()), m2({ collapsed: true }), d2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (p2({ collapsed: false }), d2.collapsed) {
              const o2 = { ...u2.getExpandedStyles(), visibility: d2.hidden ? "hidden" : null };
              r2(o2), t2 && n2.setStyles(o2), m2({ collapsed: false }), d2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return d2.collapsed;
          }, get hidden() {
            return Boolean(d2.hidden);
          }, get isVisible() {
            if (!a2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Vr = (e2) => (t2) => ((e3, t3 = false) => {
          const [r2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Ar([Dr({ viewportState: r2, hasPortal: t3 }), Cr((e4, t4) => {
            o2({ [e4]: [...r2[e4], t4] });
          })])(e3);
        })(t2, e2), Fr = (e2, t2, o2) => {
          const n2 = t2.filter((t3) => !e2.includes(t3));
          n2.length && r(Z({ functionName: o2, wrongEffects: n2, allowedEffects: e2 }));
        }, Mr = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (r2) => {
            Fr(t2(), r2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...r2);
          }, removeEffects: (r2) => {
            Fr(t2(), r2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...r2);
          }, toggleEffects: (r2) => {
            Fr(t2(), r2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...r2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, qr = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Wr = (e2, t2) => "string" != typeof e2 ? (Hr(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Gr(e2, t2), false), Hr = (e2, t2, o2, n2) => {
          r(X({ propertyName: e2, functionName: t2, value: o2, expectedType: n2 }));
        }, _r = (e2, t2) => {
          r(C({ propertyName: e2, functionName: t2 }));
        }, Gr = (e2, t2) => {
          r(ae({ propertyName: e2, functionName: t2 }));
        }, Kr = (e2) => {
          const { setProps: t2, props: o2 } = e2;
          return { customClassList: { get value() {
            return o2.customClassNames ? o2.customClassNames?.join(" ") : "";
          }, values() {
            return o2.customClassNames ? o2.customClassNames : [];
          }, add(...e3) {
            const r2 = o2.customClassNames ? new Set(o2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Wr(t3, "customClassList.add")) return;
                r2.add(t3);
              }
              t2({ customClassNames: Array.from(r2) });
            } else _r("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void _r("className", "customClassList.remove");
            const r2 = new Set(o2.customClassNames);
            for (const t3 of e3) {
              if (!Wr(t3, "customClassList.remove")) return;
              r2.delete(t3);
            }
            t2({ customClassNames: Array.from(r2) });
          }, contains(e3) {
            if (e3) return Wr(e3, "customClassList.contains") ? !!o2.customClassNames && o2.customClassNames.includes(e3) : void 0;
            _r("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Wr(t3, "customClassList.replace") || !Wr(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (r(I({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Wr(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (_r("className", "customClassList.toggle"), false);
          } } };
        }, Ur = ({ role: e2, compType: t2, isGlobal: r2, isRendered: o2 }) => ({ id: e2, type: `$w.${t2}`, global: r2(), rendered: o2() }), zr = (e2) => ({ onMouseIn: (t2) => $r("onMouseEnter", e2, t2), onMouseOut: (t2) => $r("onMouseLeave", e2, t2), removeEventHandler: (t2, o2) => {
          const { getSdkInstance: n2 } = e2;
          return "string" != typeof t2 ? (r(X({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), n2()) : "function" != typeof o2 ? (r(X({ propertyName: "handler", functionName: "removeEventHandler", value: o2, expectedType: "function" })), n2()) : ((e3, t3, r2) => {
            const { metaData: o3, getSdkInstance: n3 } = t3, [a2, i2] = Nr(t3), s2 = a2.listeners.filter((t4) => xr(t4.eventName, e3) && t4.cb === r2 && t4.compId === o3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: a2.listeners.filter((e4) => !s2.includes(e4)) }), n3();
          })(t2, e2, o2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Ur(e2.metaData);
        } }), Xr = Cr(), Yr = (Ar([kr, Xr, zr, Mr, Kr]), Ae(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: p(r2) ? void 0 : r2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } }));
        var Jr;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(Jr || (Jr = {}));
        const Zr = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, Qr = (e2) => eo(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), eo = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), to = (e2, t2, o2, n2, a2) => a2 ? !!o2(a2) || (r(n2), false) : !!t2 || (r(ce({ value: a2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), ro = (e2, t2 = true) => (r2) => to(e2, t2, eo, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, r2), oo = (e2, t2 = true) => (r2) => to(e2, t2, Qr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, r2), no = Ae(({ setProps: e2, props: t2, create$w: r2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return r2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [oo("describedBy")] }), ao = Ae(({ setProps: e2, props: t2, create$w: r2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return r2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [oo("labelledBy")] }), io = Ae(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: p(r2) ? void 0 : String(r2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), so = Ae(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: p(r2) ? void 0 : String(r2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), lo = Ae(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: p(r2) ? void 0 : String(r2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), uo = Ae(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: p(r2) ? void 0 : String(r2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), po = Ae(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: p(r2) ? void 0 : r2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), co = Ae(({ setProps: e2, props: t2, create$w: r2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return r2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [ro("owns")] }), mo = Ae(({ setProps: e2, props: t2, create$w: r2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return r2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [ro("controls")] }), fo = Ae(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: p(r2) ? void 0 : r2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), bo = Ae(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: p(r2) ? void 0 : r2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), yo = Ae(({ setProps: e2, props: t2, create$w: r2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return r2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [oo("errorMessage")] }), go = Ae(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: p(r2) ? void 0 : String(r2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), ho = Ae(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: p(r2) ? void 0 : String(r2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), vo = Ae(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: p(r2) ? void 0 : String(r2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), No = Ae(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: p(r2) ? void 0 : String(r2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), wo = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(o2) {
          null === o2 || l(o2) ? e2({ screenReader: { ...t2.screenReader, prefix: o2 } }) : r(Zr("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(o2) {
          null === o2 || l(o2) ? e2({ screenReader: { ...t2.screenReader, suffix: o2 } }) : r(Zr("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(r2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: p(r2) ? void 0 : r2 } });
        } } }), xo = (Ae(wo, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), Ae(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: p(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), $o = Ae(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: p(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), Ao = { enableAriaLabel: Yr, enableAriaDescribedBy: no, enableAriaLabelledBy: ao, enableAriaAtomic: io, enableAriaBusy: so, enableAriaCurrent: lo, enableAriaExpanded: uo, enableAriaLive: po, enableAriaOwns: co, enableAriaControls: mo, enableAriaRoleDescription: fo, enableAriaRelevant: bo, enableAriaErrorMessage: yo, enableAriaHidden: go, enableAriaPressed: ho, enableAriaHaspopup: vo, enableAriaRequired: No }, ko = { enableScreenReader: wo, enableRole: xo, enableTabIndex: $o }, Co = Ae(({ setProps: e2, props: t2, platformUtils: { linkUtils: o2 } }) => ({ set link(n2) {
          ((e3, t3, o3, n3, a2) => {
            if (p(e3) || "" === e3) n3({ link: void 0 });
            else try {
              n3({ link: o3.getLinkProps(e3, t3, a2) });
            } catch (t4) {
              r(`The link property that is passed to the link method cannot be set to the value "${e3}" as this is not a supported link type.`);
            }
          })(n2, t2.link?.target, o2, e2, t2.link?.rel);
        }, get link() {
          return ((e3, t3) => e3.link ? t3.getLink(e3.link) : "")(t2, o2);
        }, set target(r2) {
          e2({ link: { ...t2.link, target: r2 } });
        }, get target() {
          return t2.link?.target ?? "_blank";
        }, set preventLinkNavigation(t3) {
          e2({ preventLinkNavigation: t3 });
        }, get preventLinkNavigation() {
          return t2.preventLinkNavigation ?? false;
        }, set rel(r2) {
          e2({ link: { ...t2.link, rel: "" !== r2 ? r2 : void 0 } });
        }, get rel() {
          return t2.link?.rel ?? "";
        } }), { properties: { link: { type: ["string", "nil"], warnIfNil: true }, target: { type: ["string", "nil"], warnIfNil: true }, preventLinkNavigation: { type: ["boolean"] }, rel: { type: ["string"] } } }, { target: [(e2) => "_blank" === e2 || "_self" === e2 || (r(te({ target: e2 })), !!p(e2))], rel: [(e2) => {
          const t2 = Object.values({ noreferrer: "noreferrer", noopener: "noopener", nofollow: "nofollow", sponsored: "sponsored" }), o2 = e2.split(" ");
          for (let n2 = 0; n2 < o2.length; n2 += 1) {
            const a2 = o2[n2];
            if (!t2.includes(a2) || n2 !== o2.lastIndexOf(a2)) return r(re({ rel: e2, validKeywords: t2 })), false;
          }
          return true;
        }] });
        let Io = function(e2) {
          return e2.HOVER = "hover", e2;
        }({});
        const So = ["hover", "disabled"], Oo = (jo = { BackgroundColor: { withoutDefaultValue: true, supportOpacity: true, supportedStates: So }, BorderColor: { withoutDefaultValue: true, supportOpacity: false, supportedStates: So }, BorderRadius: { withoutDefaultValue: true }, BorderWidth: { withoutDefaultValue: true }, TextColor: { withoutDefaultValue: true, supportedStates: So }, IconColor: { withoutDefaultValue: true, supportedStates: So } }, Ae((To = Qe(...Object.keys(jo).filter((e2) => jo[e2]).map((e2) => {
          const t2 = "boolean" != typeof jo[e2] ? jo[e2] : tt[e2];
          return et[e2]({ prefix: Po?.cssVarPrefix, withoutDefaultValue: t2.withoutDefaultValue, supportOpacity: t2.supportOpacity, supportedStates: t2.supportedStates });
        })), (e2) => {
          const t2 = To(e2);
          return t2.removeProperty = (e3) => {
            const [o2, n2] = e3.includes(".") ? e3.split(".").reverse() : [e3, void 0];
            if (!n2 && !(o2 in t2) || n2 && !(o2 in (t2[n2] ?? {}))) {
              const o3 = Object.keys(t2).filter((e4) => "removeProperty" !== e4);
              return void r(de({ functionName: "removeProperty", propertyName: "propertyName", value: e3, enum: o3, index: void 0 }));
            }
            const a2 = n2 ? t2[n2] : t2;
            a2[Ze]?.(o2);
          }, { get style() {
            return t2;
          } };
        }), { properties: { style: { type: ["object"] } } }));
        var To, jo, Po;
        const Lo = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Ar([kr, zr, Mr, qr, e2 ? Vr(t2) : Xr, Kr]))(), Eo = Ae((e2) => {
          const t2 = dt(e2), r2 = Oo(e2), { props: o2, setProps: n2, sdkData: a2, createSdkState: i2, handlers: s2, compRef: l2 } = e2, [u2, p2] = i2({}), c2 = { backgroundColor: "hasBackgroundColor", borderWidth: "hasBorderWidth", borderRadius: "hasBorderRadius", borderColor: "hasBorderColor", iconColor: "hasIconColor", color: "hasColor" }, d2 = (t3, o3) => (n3) => {
            o3 && !n3[o3] && (n3[o3] = {});
            const a3 = o3 ? r2.style[o3] : r2.style, i3 = o3 ? n3[o3] : n3;
            return Object.defineProperty(i3, t3, { enumerable: true, get() {
              return a3[t3];
            }, set(r3) {
              var n4;
              a3[t3] = r3;
              const i4 = c2[t3];
              e2.setProps({ corvid: { ...e2.props.corvid, ...o3 ? { [o3]: { ...null == (n4 = e2.props.corvid) ? void 0 : n4[o3], [i4]: true } } : { [i4]: true } } });
            } }), n3;
          };
          return { get label() {
            return t2.label;
          }, set label(e3) {
            t2.label = e3;
          }, get style() {
            return [d2("backgroundColor"), d2("borderColor"), d2("borderRadius"), d2("borderWidth"), d2("iconColor"), d2("color"), ...So.flatMap((e3) => [d2("backgroundColor", e3), d2("borderColor", e3), d2("iconColor", e3), d2("color", e3)])].reduce((e3, t3) => t3(e3), { removeProperty(t3) {
              var o3;
              const [n3, a3] = t3.split(".").reverse(), i3 = c2[n3];
              if (!i3) return;
              const s3 = { ...e2.props.corvid, ...a3 ? { [a3]: { ...null == (o3 = e2.props.corvid) ? void 0 : o3[a3], [i3]: false } } : { [i3]: false } };
              r2.style.removeProperty(t3), e2.setProps({ corvid: s3 });
            } });
          }, get icon() {
            return u2.iconMediaUrl || `wix:vector://v1/${a2.svgId}/${(e3 = "") ? encodeURIComponent(e3) : ""}`;
            var e3;
          }, set icon(e3) {
            p2({ iconMediaUrl: e3 }), n2(e3 ? (async (e4, t3, r3, o3) => ({ corvid: { ...r3, iconSvgString: await pt(e4, t3, o3) } }))(e3, a2.mediaSvgUrl, o2.corvid, s2.sanitizeSVG) : { corvid: { ...o2.corvid, iconSvgString: null } });
          }, get iconCollapsed() {
            var e3;
            return !(null == (e3 = o2.corvid) || !e3.iconCollapsed);
          }, set iconCollapsed(e3) {
            n2({ corvid: { ...o2.corvid, iconCollapsed: e3 } });
          }, collapseIcon() {
            n2({ corvid: { ...o2.corvid, iconCollapsed: true } });
          }, expandIcon() {
            n2({ corvid: { ...o2.corvid, iconCollapsed: false } });
          }, get iconAnimationTriggers() {
            var e3;
            return (null == (e3 = o2.corvid) ? void 0 : e3.iconAnimationTriggers) || [];
          }, set iconAnimationTriggers(e3) {
            e3.length > 1 && (e3.length = 1), n2({ corvid: { ...o2.corvid, iconAnimationTriggers: e3 } });
          }, animateIconForward() {
            null == l2.animateIconForward || l2.animateIconForward();
          }, animateIconBackward() {
            null == l2.animateIconBackward || l2.animateIconBackward();
          }, get type() {
            return "$w.Button";
          }, toJSON() {
            const { label: o3 } = t2, { style: n3 } = r2;
            return { ...Ur(e2.metaData), label: o3, style: { ...n3 }, type: "$w.Button" };
          } };
        }, { properties: { icon: { type: ["string", "nil"] }, iconAnimationTriggers: { type: ["array"], items: { type: ["string"], enum: [Io.HOVER] }, name: "iconAnimationTrigger" } } }, { icon: [(e2) => {
          if (e2) {
            y(e2) || r(((e3) => ee({ propertyName: "src", value: e3 }))(e2));
          }
          return true;
        }] }), Ro = (({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: o2 = false, enableAriaBusy: n2 = false, enableAriaHidden: a2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: u2 = false, enableAriaLive: p2 = false, enableAriaOwns: c2 = false, enableAriaControls: d2 = false, enableAriaRoleDescription: m2 = false, enableAriaRelevant: f2 = false, enableRole: b2 = false, enableTabIndex: y2 = false, enableAriaErrorMessage: g2 = false, enableScreenReader: h2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
          const w2 = [], x2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: r2, enableAriaAtomic: o2, enableAriaBusy: n2, enableAriaCurrent: l2, enableAriaExpanded: u2, enableAriaLive: p2, enableAriaOwns: c2, enableAriaControls: d2, enableAriaRoleDescription: m2, enableAriaRelevant: f2, enableAriaErrorMessage: g2, enableAriaHidden: a2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, $2 = { enableScreenReader: h2, enableRole: b2, enableTabIndex: y2 };
          if (Object.values(x2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, r3]) => r3 && Ao[e5] && t3.push(Ao[e5])), (e5) => {
                const r3 = Ar(t3, { modifyAriaSourceKeys: true })(e5);
                return r3.ariaAttributes = Ar(t3)(e5), r3;
              };
            })(x2);
            w2.push(e3);
          }
          Object.entries($2).forEach(([e3, t3]) => t3 && ko[e3] && w2.push(ko[e3]));
          return { accessibility: Ar(w2)(N2) };
        })({ enableAriaLabel: true, enableAriaLabelledBy: true, enableAriaDescribedBy: true, enableAriaControls: true, enableAriaExpanded: true, enableAriaPressed: true, enableAriaOwns: true, enableAriaLive: true, enableAriaAtomic: true, enableAriaRelevant: true, enableAriaHaspopup: true, enableTabIndex: true, enableScreenReader: true }), Bo = Ar([Lo, (e2) => ({ onClick: (t2) => $r("onClick", e2, t2), onDblClick: (t2) => $r("onDblClick", e2, t2) }), (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => wr("onFocus", e2, t2), onBlur: (t2) => wr("onBlur", e2, t2) }), ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), Co, Ro, Eo]);
        var Do = { factory: Bo };
        return t;
      }();
    });
  })(StylableButton_bundle_min);
  var StylableButton_bundle_minExports = StylableButton_bundle_min.exports;
  const StylableButton = /* @__PURE__ */ getDefaultExportFromCjs(StylableButton_bundle_minExports);
  var StylableHorizontalMenu_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, r2) {
          for (var n2 in r2) e.o(r2, n2) && !e.o(t2, n2) && Object.defineProperty(t2, n2, { enumerable: true, get: r2[n2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return tn;
        }, sdk: function() {
          return en;
        } });
        const r = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, n = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function a(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function i(e2) {
          return "string" == typeof e2;
        }
        function o(e2) {
          return e2 instanceof Date && !Number.isNaN(e2.getTime());
        }
        function s(e2) {
          return Array.isArray(e2);
        }
        function l(e2) {
          return "object" == typeof e2 && null !== e2 && !s(e2);
        }
        function u(e2) {
          return null == e2;
        }
        function p(e2, t2) {
          return t2.includes(e2);
        }
        function m(e2, t2) {
          return e2 > t2;
        }
        function c(e2, t2) {
          return e2 < t2;
        }
        const d = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, f = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${n2}"')`, b = ({ propertyName: e2, compName: t2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, y = ({ propertyName: e2, compName: t2, effectName: r2, wrongProperty: n2, wrongValue: a2, infoLink: i2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${n2}: ${a2}. Read more about the effectOptions object: "${i2}"')`, h = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: n2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${n2}"`, g = ({ propertyName: e2, compName: t2, effectName: r2, wrongValue: n2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${n2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, v = ({ propertyName: e2, functionName: t2, compName: r2 }) => `The ${e2} parameter of "${r2}" that is passed to the ${t2} method cannot be set to null.`, N = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to null or undefined.`, x = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, $ = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, I = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is required for ${t2} method.`, A = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, w = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, T = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is not allowed for ${t2} method.`, k = ({ propertyNames: e2, functionName: t2, index: r2 }) => `The following parameters: ${[...e2]} of item at index ${r2} are unknown for ${t2} method.`, E = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${a2}.`, C = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${a2}.`, O = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${n2}.`, L = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${n2}.`, S = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, j = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, P = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, V = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, M = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${n2} and ${a2}.`, R = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${n2} and ${a2}.`, D = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${n2}.`, B = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${n2}.`, H = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, q = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, F = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${n2}.`, _ = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${n2}.`, z = ({ propertyName: e2, functionName: t2, value: r2, expectedType: n2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${n2}.`, U = ({ propertyName: e2, functionName: t2, value: r2, expectedType: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${n2}.`, G = ({ propertyName: e2, functionName: t2, value: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format`, W = ({ functionName: e2, wrongEffects: t2, allowedEffects: r2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, Y = ({ propertyName: e2, functionName: t2, value: r2, index: n2 }) => `The "${e2}" property of the item at index ${n2} that is passed to the ${t2} method cannot be set to "${r2}". Bad format`, K = ({ target: e2, label: t2, index: r2 }) => `The target parameter of the item with the label ${t2} nested under the item at index ${r2} that is passed to the target method cannot be set to the value ${e2}. It must be of type from (_blank, _self).`, X = ({ id: e2, label: t2, index: r2 }) => `The id parameter of the item with the label ${t2} nested under the item at index ${r2} that is passed to the id method cannot be set to the value ${e2}. It must consist of letters, numbers, or dashes.`, Z = ({ id: e2 }) => `The menuItems parameter that is passed to the menuItems method cannot be set to the given value, as the id value ${e2} already exists. Each menu item id must be unique.`, J = ({ labelValue: e2, maxLevels: t2 }) => `The menuItems parameter with the label "${e2}" that is passed to the menuItems method cannot be nested at this level. Menus can be ${t2} levels deep.`, Q = ({ functionName: e2, wrongValue: t2, index: r2 }) => `The link property of item at index ${r2} that is passed to the ${e2} method cannot be set to the value "${t2}" as this is not a supported link type.`, ee = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, te = ({ compName: e2, functionName: t2, propertyName: r2, index: n2 }) => a(n2) ? N({ propertyName: r2, functionName: t2, index: n2 }) : e2 ? v({ compName: e2, functionName: t2, propertyName: r2 }) : d({ functionName: t2, propertyName: r2 }), re = ({ functionName: e2, propertyName: t2, index: r2 }) => a(r2) ? I({ functionName: e2, propertyName: t2, index: r2 }) : x({ functionName: e2, propertyName: t2 }), ne = ({ functionName: e2, propertyNames: t2, index: r2 }) => t2 && t2.length > 1 ? a(r2) ? k({ functionName: e2, propertyNames: t2, index: r2 }) : w({ functionName: e2, propertyNames: t2 }) : a(r2) ? T({ functionName: e2, propertyName: t2[0], index: r2 }) : A({ functionName: e2, propertyName: t2[0] }), ae = ({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: i2, index: o2 }) => i2 && n2 ? i2 === n2 ? a(o2) ? L({ functionName: e2, propertyName: t2, value: r2, expectedValue: i2, index: o2 }) : O({ functionName: e2, propertyName: t2, value: r2, expectedValue: i2 }) : a(o2) ? C({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: i2, index: o2 }) : E({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: i2 }) : !i2 && n2 ? a(o2) ? V({ functionName: e2, propertyName: t2, value: r2, maximum: n2, index: o2 }) : P({ functionName: e2, propertyName: t2, value: r2, maximum: n2 }) : a(o2) ? j({ functionName: e2, propertyName: t2, value: r2, minimum: i2, index: o2 }) : S({ functionName: e2, propertyName: t2, value: r2, minimum: i2 }), ie = ({ functionName: e2, propertyName: t2, value: r2, minimum: n2, maximum: i2, index: o2 }) => n2 && i2 ? n2 === i2 ? a(o2) ? B({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2, index: o2 }) : D({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2 }) : a(o2) ? R({ functionName: e2, propertyName: t2, value: r2, maximum: i2, minimum: n2, index: o2 }) : M({ functionName: e2, propertyName: t2, value: r2, maximum: i2, minimum: n2 }) : !n2 && i2 ? a(o2) ? _({ functionName: e2, propertyName: t2, maximum: i2, value: r2, index: o2 }) : F({ functionName: e2, propertyName: t2, maximum: i2, value: r2 }) : a(o2) ? q({ functionName: e2, propertyName: t2, value: r2, minimum: n2, index: o2 }) : H({ functionName: e2, propertyName: t2, value: r2, minimum: n2 }), oe = ({ functionName: e2, propertyName: t2, types: r2, value: n2, index: i2 }) => {
          const o2 = r2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return a(i2) ? U({ functionName: e2, index: i2, propertyName: t2, value: n2, expectedType: o2 }) : z({ functionName: e2, propertyName: t2, value: n2, expectedType: o2 });
        }, se = ({ functionName: e2, propertyName: t2, value: r2, enum: n2, index: i2 }) => {
          const o2 = `from (${n2.join(",")})`;
          return a(i2) ? U({ functionName: e2, propertyName: t2, value: r2, expectedType: o2, index: i2 }) : z({ functionName: e2, propertyName: t2, value: r2, expectedType: o2 });
        }, le = ({ functionName: e2, propertyName: t2, value: r2, index: n2 }) => a(n2) ? Y({ functionName: e2, propertyName: t2, value: r2, index: n2 }) : G({ functionName: e2, propertyName: t2, value: r2 }), ue = Object.prototype.hasOwnProperty, pe = Object.getOwnPropertyNames, me = () => {
        };
        function ce(e2, t2, r2, n2, a2, i2) {
          if (!l(e2)) return be.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ce(e2, t3, r2, me, a2, i2)).filter((e3) => e3 === be.Valid).length ? be.Valid : be.Invalid;
          if (t2.required) {
            for (let r3 = 0; r3 < t2.required.length; r3++) if (!ue.call(e2, t2.required[r3])) return n2(re({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[r3] }), { ...i2, value: e2 }), be.Invalid;
          }
          const o2 = pe(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = pe(e2).filter((e3) => !o2.includes(e3));
            if (t3.length) {
              return n2(ne({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), be.Invalid;
            }
          }
          for (let n3 = 0; n3 < o2.length; n3++) {
            const a3 = o2[n3];
            if (ue.call(e2, a3)) {
              const n4 = t2.properties[a3], o3 = e2[a3];
              if (!r2(o3, n4, { functionName: i2.functionName, index: i2.index, propertyName: a3 })) return be.Invalid;
            }
          }
          return be.Valid;
        }
        function de(e2) {
          return Array.isArray(e2);
        }
        function fe(e2, t2, r2, n2) {
          const { minimum: i2, maximum: o2, enum: s2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? s2 && !p(e2, s2) ? (r2(se({ value: e2, enum: s2, ...n2 }), { ...n2, value: e2 }), be.Invalid) : a(i2) && c(e2, i2) || a(o2) && m(e2, o2) ? (r2(ie({ value: e2, minimum: i2, maximum: o2, ...n2 }), { ...n2, value: e2 }), be.Invalid) : be.Valid : be.InvalidType;
        }
        const be = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function ye({ reportError: e2, reportWarning: t2 }, r2, { suppressIndexErrors: n2 = false } = {}) {
          function l2(n3, a2, i2) {
            a2.warnIfNil && u(n3) && t2(te({ ...i2, compName: r2 }), { ...i2, value: n3 });
            let o2 = 0;
            for (; o2 < a2.type.length; o2++) {
              const e3 = (0, d2[a2.type[o2]])(n3, a2, i2);
              if (e3 !== be.InvalidType) return e3 === be.Valid;
            }
            return o2 === a2.type.length && e2(oe({ value: n3, types: a2.type, ...i2 }), { ...i2, value: n3 }), false;
          }
          const d2 = { object: (r3, n3, a2) => ce(r3, n3, l2, e2, t2, a2), array: (e3, t3, r3) => function(e4, t4, r4, n3, a2, i2 = false) {
            if (!s(e4)) return be.InvalidType;
            let o2 = be.Valid;
            if (t4.items) {
              const n4 = de(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let s2 = 0; s2 < n4; s2++) {
                const n5 = e4[s2];
                let l3, u2;
                de(t4.items) ? (l3 = t4.items[s2], u2 = t4.items[s2].name) : (l3 = t4.items, u2 = t4.name), r4(n5, l3, { functionName: a2.functionName, propertyName: u2 || a2.propertyName, index: i2 ? void 0 : s2 }) || (o2 = be.Invalid);
              }
            }
            return o2;
          }(e3, t3, l2, 0, r3, n2), number: (t3, r3, n3) => function(e3, t4, r4, n4) {
            const { minimum: i2, maximum: o2, enum: s2 } = t4;
            return a(e3) ? s2 && !p(e3, s2) ? (r4(se({ value: e3, enum: s2, ...n4 }), { ...n4, value: e3 }), be.Invalid) : a(i2) && c(e3, i2) || a(o2) && m(e3, o2) ? (r4(ie({ value: e3, minimum: i2, maximum: o2, ...n4 }), { ...n4, value: e3 }), be.Invalid) : be.Valid : be.InvalidType;
          }(t3, r3, e2, n3), integer: (t3, r3, n3) => fe(t3, r3, e2, n3), string: (t3, r3, n3) => function(e3, t4, r4, n4) {
            const { minLength: a2, maxLength: o2, enum: s2, pattern: l3 } = t4;
            return i(e3) ? s2 && !p(e3, s2) ? (r4(se({ value: e3, enum: s2, ...n4 }), { ...n4, value: e3 }), be.Invalid) : a2 && c(e3.length, a2) || o2 && m(e3.length, o2) ? (r4(ae({ value: e3, minimum: a2, maximum: o2, ...n4 }), { ...n4, value: e3 }), be.Invalid) : l3 && !new RegExp(l3).test(e3) ? (r4(le({ value: e3, ...n4 }), { ...n4, value: e3 }), be.Invalid) : be.Valid : be.InvalidType;
          }(t3, r3, e2, n3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? be.Valid : be.InvalidType;
          }(e3), date: (e3) => function(e4) {
            return o(e4) ? be.Valid : be.InvalidType;
          }(e3), nil: (e3) => function(e4) {
            return u(e4) ? be.Valid : be.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? be.Valid : be.InvalidType;
          }(e3) };
          return function(e3, t3, r3) {
            return l2(e3, t3, { functionName: r3, propertyName: r3, index: void 0 });
          };
        }
        function he(e2, { suppressIndexErrors: t2 = false } = {}) {
          return ye({ reportError: r, reportWarning: n }, e2, { suppressIndexErrors: t2 });
        }
        function ge(e2, t2, r2 = {}) {
          return (n2) => {
            const a2 = e2(n2), i2 = he(n2.metaData.role), o2 = he(n2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(a2, s2), u2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? u2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, i3 = r2[s2];
                let u3 = true;
                return a3 && (u3 = o2(e4, { type: ["array"], items: a3 }, s2)), u3 && i3 && (u3 = i3.every((t3) => t3(e4, n2))), u3 ? l2.value(...e4) : void 0;
              } : u2.value = l2.value : (l2.get && (u2.get = () => a2[s2]), l2.set && (u2.set = (e4) => {
                const o3 = r2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = i2(e4, t2.properties[s2], s2)), l3 && o3 && (l3 = o3.every((t3) => t3(e4, n2))), l3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, u2), e3;
            }, {});
          };
        }
        const ve = "click", Ne = "dblClick", xe = "mouseenter", $e = "mouseleave", Ie = "change", Ae = "blur", we = "focus", Te = "imageChanged", ke = "imageExpanded", Ee = "onInput", Ce = "itemClicked", Oe = "cellSelect", Le = "cellEdit", Se = "rowSelect", je = "fetchData", Pe = "dataChange", Ve = "onTimeout", Me = "onVerified", Re = "onError", De = "onPlay", Be = "onPause", He = "onProgress", qe = "onEnded", Fe = "autoplayOff", _e = "autoplayOn", ze = "playEnded", Ue = "playProgress", Ge = "keyPress", We = "keyUp", Ye = "keyDown", Ke = "screenIn", Xe = "viewportEnter", Ze = "viewportLeave", Je = "scroll", Qe = "validate", et = "setCustomValidity", tt = "syncValidationData", rt = "updateValidityIndication", nt = "message", at = "uploadComplete", it = "itemReady", ot = "itemRemoved", st = "tagClick", lt = "quickActionBarItemClicked", ut = "markerClicked", pt = "mapClicked", mt = "iconMouseIn", ct = "onStateChange", dt = "itemMouseIn", ft = "itemMouseOut", bt = "itemMouseClick", yt = "itemMouseDblClick", ht = "onColorChange", gt = "onFontChange", vt = "onOpacityChange", Nt = { [ve]: "onClick", [Ne]: "onDblClick", [xe]: "onMouseIn", [$e]: "onMouseOut", [Ie]: "onChange", [Ee]: "onInput", [Ae]: "onBlur", [we]: "onFocus", [Te]: "onCurrentItemChanged", [ke]: void 0, [Ce]: "onItemClicked", [Oe]: "onCellSelect", [Le]: void 0, [Se]: "onRowSelect", [je]: void 0, [Pe]: "onDataChange", [Ve]: "onTimeout", [Me]: "onVerified", [Re]: "onError", [De]: "onPlay", [Be]: "onPause", [He]: "onProgress", [qe]: "onEnded", [Fe]: "onPause", [_e]: "onPlay", [ze]: void 0, [Ue]: void 0, [Ge]: "onKeyPress", [We]: "onKeyUp", [Ye]: "onKeyDown", [Ke]: void 0, [Xe]: "onViewportEnter", [Ze]: "onViewportLeave", [Je]: void 0, [Qe]: void 0, [et]: void 0, [tt]: void 0, [rt]: void 0, [nt]: "onMessage", [at]: void 0, [it]: "onItemReady", [ot]: "onItemRemoved", [st]: void 0, [lt]: "onItemClicked", [ut]: "onMarkerClicked", [pt]: "onMapClicked", [mt]: void 0, [ct]: "onStateChange", [dt]: "onItemMouseIn", [ft]: "onItemMouseOut", [bt]: "onItemClick", [yt]: "onItemDblClick", [ht]: "onColorChange", [gt]: "onFontChange", [vt]: "onOpacityChange" }, xt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, $t = (e2) => {
          const { target: t2, type: r2, context: n2 } = e2;
          return { target: t2, type: xt[r2] ?? r2, context: n2 };
        }, It = (e2) => {
          const { clientX: t2, clientY: r2, pageX: n2, pageY: a2, screenX: i2, screenY: o2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: u2 } = s2;
          return { clientX: t2, clientY: r2, pageX: n2, pageY: a2, screenX: i2, screenY: o2, offsetX: l2, offsetY: u2 };
        }, At = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, wt = (e2) => e2.replace(/^on/i, ""), Tt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), kt = (e2, t2, r2, n2) => {
          const { create$w: a2, createEvent: i2, registerEvent: o2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, r3) => he(r3)(e3, { type: ["function"] }, t3))(r2, At[e2] ?? e2, l2.role)) return s2();
          const [u2, p2] = Tt(t2), m2 = o2(e2, (e3, t3) => {
            const o3 = i2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: o3.context }), l3 = n2?.({ componentEvent: e3, eventPayload: t3 });
            r2({ ...$t(o3), ...l3 }, s3);
          }), c2 = { eventName: e2, compId: l2.compId, cb: r2, unregister: m2 };
          return p2({ listeners: [...u2.listeners, c2] }), s2();
        }, Et = (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = Object.entries(At).find(([t4, r3]) => wt(r3.toLowerCase()) === wt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(Nt[t2] ?? t2);
          return e2.toLowerCase() === r2.toLowerCase();
        }, Ct = (e2, t2, r2, n2) => kt(e2, t2, r2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...It(e3), ...t3 && n2?.(t3) }));
        function Ot(e2, t2) {
          const { modifyAriaSourceKeys: r2 } = t2 ?? {};
          return (t3) => {
            const n2 = {};
            for (let i2 = 0; i2 < e2.length; i2++) {
              const o2 = e2[i2](t3), s2 = Object.keys(o2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], i3 = Object.getOwnPropertyDescriptor(o2, t4);
                Object.defineProperty(n2, r2 && i3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, i3);
              }
            }
            var a2;
            return n2;
          };
        }
        const Lt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: r2, connection: n2, compType: a2, isGlobal: i2, getParent: o2, role: s2, wixCodeId: l2 } = t2, u2 = `$w.${a2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return n2?.config;
          }, get uniqueId() {
            return r2;
          }, get parent() {
            return o2();
          }, get global() {
            return i2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(r2, t3));
          }, toJSON() {
            return { id: s2, type: u2, global: i2() };
          } };
        }, St = (e2) => (t2) => {
          const { metaData: r2, getSdkInstance: n2, create$w: a2, createEvent: i2 } = t2, o2 = (e3, t3) => he(r2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (r3) => o2(r3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = i2({ type: "viewportEnter" }), t3 = a2();
            r3(e3, t3);
          }), kt("onViewportEnter", t2, r3)) : n2(), onViewportLeave: (r3) => o2(r3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = i2({ type: "viewportLeave" }), t3 = a2();
            r3(e3, t3);
          }), kt("onViewportLeave", t2, r3)) : n2() };
        }, jt = { duration: 1200, delay: 0 }, Pt = { arc: { ...jt, direction: "left" }, bounce: { ...jt, direction: "topLeft", intensity: "medium" }, puff: { ...jt }, zoom: { ...jt }, fade: { ...jt }, flip: { ...jt, direction: "right" }, float: { ...jt, direction: "right" }, fly: { ...jt, direction: "right" }, fold: { ...jt, direction: "left" }, glide: { ...jt, angle: 0, distance: 0 }, roll: { ...jt, direction: "left" }, slide: { ...jt, direction: "left" }, spin: { ...jt, direction: "cw", cycles: 5 }, turn: { ...jt, direction: "right" }, ArcIn: { ...jt, direction: "right" }, ArcOut: { ...jt, direction: "right" }, BounceIn: { ...jt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...jt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...jt, direction: "right" }, CollapseOut: { ...jt }, Conceal: { ...jt, direction: "right" }, Reveal: { ...jt, direction: "left" }, FadeIn: { ...jt }, FadeOut: { ...jt }, FlipIn: { ...jt, direction: "left" }, FlipOut: { ...jt, direction: "left" }, FloatIn: { ...jt, direction: "right" }, FloatOut: { ...jt, direction: "right" }, FlyIn: { ...jt, direction: "right" }, FlyOut: { ...jt, direction: "right" }, FoldIn: { ...jt, direction: "left" }, FoldOut: { ...jt, direction: "left" }, GlideIn: { ...jt, angle: 0, distance: 150 }, GlideOut: { ...jt, angle: 0, distance: 150 }, DropIn: { ...jt }, PopOut: { ...jt }, SlideIn: { ...jt, direction: "left" }, SlideOut: { ...jt, direction: "left" }, SpinIn: { ...jt, direction: "cw", cycles: 2 }, SpinOut: { ...jt, direction: "cw", cycles: 2 }, TurnIn: { ...jt, direction: "right" }, TurnOut: { ...jt, direction: "right" } }, Vt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Mt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Rt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Dt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Bt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Ht = { arc: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Rt, delay: Dt } }, zoom: { type: ["object"], properties: { duration: Rt, delay: Dt } }, fade: { type: ["object"], properties: { duration: Rt, delay: Dt } }, flip: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, float: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, fly: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, fold: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, glide: { type: ["object"], properties: { duration: Rt, delay: Dt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, slide: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: Bt } }, spin: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Rt, delay: Dt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, qt = ({ propertyName: e2, compName: t2 }) => (r2, a2) => {
          if (!r2) return false;
          if (void 0 === a2) return true;
          const i2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (a3, i3) => {
            n(g({ propertyName: t3, compName: r3, effectName: e3, wrongValue: `${i3?.value}`, infoLink: Mt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          if (!ye({ reportError: i2, reportWarning: () => ({}) }, t2)(a2, { type: ["object"] }, e2)) return false;
          const o2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (a3, i3) => {
            n(y({ propertyName: t3, compName: r3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${i3?.propertyName}" cannot be set to the value "${i3?.value}"`, infoLink: Mt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          return !!ye({ reportError: o2, reportWarning: () => ({}) }, t2)(a2, Ht[r2], e2);
        }, Ft = (e2) => 0 === Object.keys(e2).length, _t = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: r2, portal: a2, metaData: i2, getSdkInstance: o2, runAnimation: s2, createSdkState: l2, styleUtils: u2, setProps: p2 }) => {
          const m2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: r3, propertyName: a3 }) => {
            const i3 = qt({ propertyName: a3, compName: e3 });
            if (!t3 && !r3) return false;
            if (!t3 && r3 && !Ft(r3)) return n(b({ propertyName: a3, compName: e3, infoLink: Mt(a3) })), false;
            const o3 = "hide" === a3 ? "HIDE" : "SHOW", s3 = Vt[o3]?.deprecatedValues;
            return t3 && r3 && s3 && s3.find((e4) => e4 === t3) && !Ft(r3) ? (n(h({ compName: e3, effectName: t3, propertyName: a3, infoLink: Mt(a3) })), false) : !!s3.find((e4) => e4 === t3) || (t3 && !(t3 in Ht) ? (n(f({ propertyName: a3, compName: e3, effectName: t3, infoLink: Mt(a3) })), false) : !!i3(t3, r3));
          })({ compName: i2.role }), [c2, d2] = l2({ hidden: i2.hiddenOnLoad, collapsed: i2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (n2, i3) => {
            if (p2({ hidden: true }), c2.collapsed || c2.hidden) d2({ hidden: true });
            else {
              if (m2({ effectName: n2, effectOptions: i3, propertyName: "hide" })) {
                const e3 = { animationDirection: Vt.HIDE.suffix, effectName: n2, effectOptions: { ...Pt?.[n2] || jt, ...i3 } };
                await Promise.all([s2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else r2(u2.getHiddenStyles()), t2 && a2.setStyles(u2.getHiddenStyles());
              d2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (n2, i3) => {
            if (p2({ hidden: false }), !c2.collapsed && c2.hidden) {
              if (m2({ effectName: n2, effectOptions: i3, propertyName: "show" })) {
                const e3 = { animationDirection: Vt.SHOW.suffix, effectName: n2, effectOptions: { ...Pt?.[n2] || jt, ...i3 } };
                await Promise.all([s2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else r2(u2.getShownStyles()), t2 && a2.setStyles(u2.getShownStyles());
              d2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else d2({ hidden: false });
          }, collapse: async () => {
            p2({ collapsed: true }), c2.collapsed || (r2(u2.getCollapsedStyles()), t2 && a2.setStyles(u2.getCollapsedStyles()), d2({ collapsed: true }), c2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (p2({ collapsed: false }), c2.collapsed) {
              const n2 = { ...u2.getExpandedStyles(), visibility: c2.hidden ? "hidden" : null };
              r2(n2), t2 && a2.setStyles(n2), d2({ collapsed: false }), c2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return c2.collapsed;
          }, get hidden() {
            return Boolean(c2.hidden);
          }, get isVisible() {
            if (!i2.isRendered()) return false;
            let e3 = o2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, zt = (e2) => (t2) => ((e3, t3 = false) => {
          const [r2, n2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Ot([_t({ viewportState: r2, hasPortal: t3 }), St((e4, t4) => {
            n2({ [e4]: [...r2[e4], t4] });
          })])(e3);
        })(t2, e2), Ut = (e2, t2, n2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && r(W({ functionName: n2, wrongEffects: a2, allowedEffects: e2 }));
        }, Gt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (r2) => {
            Ut(t2(), r2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...r2);
          }, removeEffects: (r2) => {
            Ut(t2(), r2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...r2);
          }, toggleEffects: (r2) => {
            Ut(t2(), r2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...r2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Wt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Yt = (e2, t2) => "string" != typeof e2 ? (Kt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Zt(e2, t2), false), Kt = (e2, t2, n2, a2) => {
          r(z({ propertyName: e2, functionName: t2, value: n2, expectedType: a2 }));
        }, Xt = (e2, t2) => {
          r(x({ propertyName: e2, functionName: t2 }));
        }, Zt = (e2, t2) => {
          r(ee({ propertyName: e2, functionName: t2 }));
        }, Jt = (e2) => {
          const { setProps: t2, props: n2 } = e2;
          return { customClassList: { get value() {
            return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
          }, values() {
            return n2.customClassNames ? n2.customClassNames : [];
          }, add(...e3) {
            const r2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Yt(t3, "customClassList.add")) return;
                r2.add(t3);
              }
              t2({ customClassNames: Array.from(r2) });
            } else Xt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Xt("className", "customClassList.remove");
            const r2 = new Set(n2.customClassNames);
            for (const t3 of e3) {
              if (!Yt(t3, "customClassList.remove")) return;
              r2.delete(t3);
            }
            t2({ customClassNames: Array.from(r2) });
          }, contains(e3) {
            if (e3) return Yt(e3, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e3) : void 0;
            Xt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Yt(t3, "customClassList.replace") || !Yt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (r($({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Yt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Xt("className", "customClassList.toggle"), false);
          } } };
        }, Qt = (e2) => ({ onMouseIn: (t2) => Ct("onMouseEnter", e2, t2), onMouseOut: (t2) => Ct("onMouseLeave", e2, t2), removeEventHandler: (t2, n2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (r(z({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof n2 ? (r(z({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), a2()) : ((e3, t3, r2) => {
            const { metaData: n3, getSdkInstance: a3 } = t3, [i2, o2] = Tt(t3), s2 = i2.listeners.filter((t4) => Et(t4.eventName, e3) && t4.cb === r2 && t4.compId === n3.compId);
            for (const e4 of s2) e4.unregister();
            return o2({ listeners: i2.listeners.filter((e4) => !s2.includes(e4)) }), a3();
          })(t2, e2, n2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return (({ role: e3, compType: t2, isGlobal: r2, isRendered: n2 }) => ({ id: e3, type: `$w.${t2}`, global: r2(), rendered: n2() }))(e2.metaData);
        } }), er = St(), tr = (Ot([Lt, er, Qt, Gt, Jt]), /^(http|https):\/\/(.*)/), rr = /^\/([^ ?#]*)[?]?(.*)/, nr = ({ link: e2, target: t2, linkUtils: r2 }) => {
          if (!u(e2)) {
            const a2 = t2 || (n2 = e2, tr.test(n2) ? "_blank" : "_self");
            return r2.getLinkProps(e2, a2);
          }
          var n2;
          return {};
        }, ar = ({ link: e2, label: t2, pageList: r2 }) => {
          return u(t2) ? !u(e2) && (n2 = e2, rr.test(n2)) ? ((e3, t3) => {
            const r3 = e3.slice(1);
            if (t3.hasOwnProperty(r3)) return t3[r3]?.title;
          })(e2, r2) : void 0 : t2;
          var n2;
        };
        class ir extends Error {
          constructor(e2) {
            const t2 = te(e2);
            super(t2), this.name = "NilAssignmentError", this.message = t2;
          }
        }
        class or extends Error {
          constructor(e2) {
            const t2 = (({ functionName: e3, wrongValue: t3, index: r2 }) => Q({ functionName: e3, wrongValue: t3, index: r2 }))(e2);
            super(t2), this.name = "UnsupportedLinkTypeError", this.message = t2;
          }
        }
        class sr extends ir {
          constructor(e2) {
            super({ functionName: "menuItems", propertyName: "label", index: e2 }), this.name = "InvalidLabelError";
          }
        }
        class lr extends Error {
          constructor({ index: e2, label: t2, id: r2 }) {
            super(X({ index: e2, label: t2, id: r2 })), this.name = "InvalidIdPatternError";
          }
        }
        class ur extends Error {
          constructor({ id: e2 }) {
            super(Z({ id: e2 })), this.name = "NonUniqueIdError";
          }
        }
        class pr extends Error {
          constructor({ index: e2, label: t2, target: r2 }) {
            super(K({ index: e2, label: t2, target: r2 })), this.name = "InvalidTargetError";
          }
        }
        class mr extends Error {
          constructor(e2, t2) {
            super(J({ labelValue: t2, maxLevels: e2 })), this.name = "InvalidMenuDepth";
          }
        }
        class cr extends or {
          constructor(e2, t2) {
            super({ functionName: "menuItems", propertyName: "link", wrongValue: e2, index: t2 });
          }
        }
        const dr = (e2) => Object.entries(e2).reduce((e3, [t2, r2]) => {
          if (u(r2)) return e3;
          if (!o(r2)) {
            if (l(r2)) return { ...e3, [t2]: dr(r2) };
            if (s(r2)) return { ...e3, [t2]: r2.map(dr) };
          }
          return { ...e3, [t2]: r2 };
        }, {}), fr = (e2) => dr({ label: e2.label, link: e2.link?.href, selected: e2.selected, target: e2.link?.target, id: e2._id, menuItems: e2.items?.map(fr) }), br = (e2) => dr({ label: e2.label || "", link: { href: e2.link, target: e2.target }, isVisible: true, isVisibleMobile: true, selected: e2.selected, _id: e2.id, items: e2.menuItems?.map(br) }), yr = { type: ["object"], properties: { link: { type: ["string", "nil"] }, label: { type: ["string", "nil"], minLength: 1, maxLength: 40 }, target: { type: ["string", "nil"] }, selected: { type: ["boolean", "nil"] }, menuItems: { type: ["array", "nil"] }, id: { type: ["string", "nil"] } } }, hr = (e2) => {
          if (!e2) return true;
          const t2 = (e3, r2) => e3?.every(({ target: e4, link: n2 = "", label: a2 = n2, menuItems: i2 }, o2) => {
            if (null != e4 && "_blank" !== e4 && "_self" !== e4) throw new pr({ index: void 0 === r2 ? o2 : r2, label: a2, target: e4 });
            return t2(i2, o2);
          }) ?? true;
          try {
            return t2(e2);
          } catch (e3) {
            return r(e3.message), false;
          }
        }, gr = /^[a-zA-Z\d-]*$/, vr = (e2, t2) => {
          e2?.every(({ id: e3, link: r2 = "", label: n2 = r2, menuItems: a2 }, i2) => {
            if (e3 && !gr.test(e3)) throw new lr({ index: void 0 === t2 ? i2 : t2, label: n2, id: e3 });
            return vr(a2, i2);
          });
        }, Nr = (e2) => e2.reduce((e3, t2) => [...e3, ...i(t2.id) ? [t2.id] : [], ...t2.menuItems ? Nr(t2.menuItems) : []], []), xr = (e2) => e2.find((t2, r2) => r2 !== e2.lastIndexOf(t2)), $r = (e2) => {
          try {
            ((e3) => {
              const t2 = Nr(e3 || []), r2 = xr(t2);
              if (void 0 !== r2) throw new ur({ id: r2 });
            })(e2), vr(e2);
          } catch (e3) {
            return r(e3.message), false;
          }
          return true;
        }, Ir = (e2) => {
          const { setProps: t2, props: n2, platformUtils: { linkUtils: a2 }, sdkData: { pageList: i2 } = {} } = e2;
          i2 || r("Page list is not passed into sdkData. Provide it in component mapper to use menuItems SDK properly.");
          const o2 = (e3, t3) => {
            const r2 = {};
            try {
              const t4 = nr({ linkUtils: a2, link: e3.link, target: e3.target || "_self" });
              t4.href && (r2.link = t4.href, r2.target = t4.target || "_self");
            } catch (r3) {
              throw new cr(e3.link || "", t3);
            }
            const n3 = ar({ label: e3.label, link: e3.link, pageList: i2 });
            if (u(n3)) throw new sr(t3);
            return u(e3.id) || (r2.id = e3.id), r2.label = n3, u(e3.selected) || (r2.selected = e3.selected), { ...r2, menuItems: (l2 = e3.menuItems, s(l2) ? l2.map(o2) : []) };
            var l2;
          };
          return { get menuItems() {
            const e3 = n2.items?.map(fr) ?? [];
            return e3?.map(o2) ?? [];
          }, set menuItems(e3) {
            try {
              t2({ items: e3?.map(o2).map(br) ?? [] });
            } catch (e4) {
              r(e4.message);
            }
          }, onItemMouseIn: (t3) => Ct("onItemMouseIn", e2, t3, (e3) => ({ item: fr(e3), type: "itemMouseIn" })), onItemMouseOut: (t3) => Ct("onItemMouseOut", e2, t3, (e3) => ({ item: fr(e3), type: "itemMouseOut" })), onItemClick: (t3) => Ct("onItemClick", e2, t3, (e3) => ({ item: fr(e3), type: "itemMouseClick" })), onItemDblClick: (t3) => Ct("onItemDblClick", e2, t3, (e3) => ({ item: fr(e3), type: "itemMouseDblClick" })) };
        };
        const Ar = ge(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: u(r2) ? void 0 : r2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } });
        var wr;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(wr || (wr = {}));
        const Tr = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, kr = (e2) => Er(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), Er = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), Cr = (e2, t2, n2, a2, i2) => i2 ? !!n2(i2) || (r(a2), false) : !!t2 || (r(oe({ value: i2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), Or = (e2, t2 = true) => (r2) => Cr(e2, t2, Er, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, r2), Lr = (e2, t2 = true) => (r2) => Cr(e2, t2, kr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, r2), Sr = ge(({ setProps: e2, props: t2, create$w: r2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return r2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [Lr("describedBy")] }), jr = ge(({ setProps: e2, props: t2, create$w: r2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return r2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [Lr("labelledBy")] }), Pr = ge(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Vr = ge(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Mr = ge(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), Rr = ge(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Dr = ge(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: u(r2) ? void 0 : r2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), Br = ge(({ setProps: e2, props: t2, create$w: r2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return r2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [Or("owns")] }), Hr = ge(({ setProps: e2, props: t2, create$w: r2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return r2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [Or("controls")] }), qr = ge(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: u(r2) ? void 0 : r2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), Fr = ge(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: u(r2) ? void 0 : r2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), _r = ge(({ setProps: e2, props: t2, create$w: r2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return r2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [Lr("errorMessage")] }), zr = ge(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Ur = ge(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), Gr = ge(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Wr = ge(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Yr = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(n2) {
          null === n2 || i(n2) ? e2({ screenReader: { ...t2.screenReader, prefix: n2 } }) : r(Tr("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(n2) {
          null === n2 || i(n2) ? e2({ screenReader: { ...t2.screenReader, suffix: n2 } }) : r(Tr("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(r2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: u(r2) ? void 0 : r2 } });
        } } }), Kr = (ge(Yr, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), ge(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: u(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), Xr = ge(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: u(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), Zr = { enableAriaLabel: Ar, enableAriaDescribedBy: Sr, enableAriaLabelledBy: jr, enableAriaAtomic: Pr, enableAriaBusy: Vr, enableAriaCurrent: Mr, enableAriaExpanded: Rr, enableAriaLive: Dr, enableAriaOwns: Br, enableAriaControls: Hr, enableAriaRoleDescription: qr, enableAriaRelevant: Fr, enableAriaErrorMessage: _r, enableAriaHidden: zr, enableAriaPressed: Ur, enableAriaHaspopup: Gr, enableAriaRequired: Wr }, Jr = { enableScreenReader: Yr, enableRole: Kr, enableTabIndex: Xr };
        const Qr = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Ot([Lt, Qt, Gt, Wt, e2 ? zt(t2) : er, Jt]))(), en = Ot([Qr, (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => kt("onFocus", e2, t2), onBlur: (t2) => kt("onBlur", e2, t2) }), function(e2) {
          const { sdkData: { isSubSubEnabled: t2 = false } = {} } = e2, n2 = t2 ? 2 : 1;
          return ge(Ir, { properties: { ...new Array(n2 + 1).fill(null).reduce((e3) => ({ menuItems: { type: ["array", "nil"], items: { ...yr, properties: { ...yr.properties, ...e3 } } } }), { menuItems: yr.properties.menuItems }) } }, { menuItems: [(a2 = n2, (e3) => {
            if (!e3) return true;
            const t3 = ({ currentLevel: e4, items: r2 }) => !r2 || 0 === r2.length || !(e4 < 0) && r2.every(({ menuItems: r3, label: n3, link: i2 }) => {
              if (void 0 === r3) return true;
              const o2 = t3({ items: r3, currentLevel: e4 - 1 });
              if (!o2) throw new mr(a2 + 1, n3 || i2 || "");
              return o2;
            });
            return e3.every(({ menuItems: e4, label: n3, link: i2 }) => {
              try {
                if (false === t3({ items: e4, currentLevel: a2 - 1 })) throw new mr(a2 + 1, n3 || i2 || "");
              } catch (e5) {
                return r(e5.message), false;
              }
              return true;
            });
          }), hr, $r] })(e2);
          var a2;
        }, (({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: n2 = false, enableAriaBusy: a2 = false, enableAriaHidden: i2 = false, enableAriaPressed: o2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: u2 = false, enableAriaLive: p2 = false, enableAriaOwns: m2 = false, enableAriaControls: c2 = false, enableAriaRoleDescription: d2 = false, enableAriaRelevant: f2 = false, enableRole: b2 = false, enableTabIndex: y2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: g2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
          const x2 = [], $2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: r2, enableAriaAtomic: n2, enableAriaBusy: a2, enableAriaCurrent: l2, enableAriaExpanded: u2, enableAriaLive: p2, enableAriaOwns: m2, enableAriaControls: c2, enableAriaRoleDescription: d2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: i2, enableAriaPressed: o2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, I2 = { enableScreenReader: g2, enableRole: b2, enableTabIndex: y2 };
          if (Object.values($2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, r3]) => r3 && Zr[e5] && t3.push(Zr[e5])), (e5) => {
                const r3 = Ot(t3, { modifyAriaSourceKeys: true })(e5);
                return r3.ariaAttributes = Ot(t3)(e5), r3;
              };
            })($2);
            x2.push(e3);
          }
          Object.entries(I2).forEach(([e3, t3]) => t3 && Jr[e3] && x2.push(Jr[e3]));
          return { accessibility: Ot(x2)(N2) };
        })({ enableAriaLabel: true, enableAriaLive: true, enableAriaLabelledBy: false, enableAriaDescribedBy: false, enableRole: true, enableScreenReader: true })]);
        var tn = { factory: en };
        return t;
      }();
    });
  })(StylableHorizontalMenu_bundle_min);
  var StylableHorizontalMenu_bundle_minExports = StylableHorizontalMenu_bundle_min.exports;
  const StylableHorizontalMenu = /* @__PURE__ */ getDefaultExportFromCjs(StylableHorizontalMenu_bundle_minExports);
  var Tabs_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, r2) {
          for (var n2 in r2) e.o(r2, n2) && !e.o(t2, n2) && Object.defineProperty(t2, n2, { enumerable: true, get: r2[n2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { accessibilityPropsSDKFactory: function() {
          return Vr;
        }, default: function() {
          return Br;
        }, sdk: function() {
          return Dr;
        } });
        function r(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function n(e2) {
          return "string" == typeof e2;
        }
        function a(e2) {
          return Array.isArray(e2);
        }
        function o(e2) {
          return "object" == typeof e2 && null !== e2 && !a(e2);
        }
        function i(e2) {
          return null == e2;
        }
        function s(e2, t2) {
          return t2.includes(e2);
        }
        function u(e2, t2) {
          return e2 > t2;
        }
        function p(e2, t2) {
          return e2 < t2;
        }
        const l = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, c = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, m = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, d = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${n2}"')`, f = ({ propertyName: e2, compName: t2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, b = ({ propertyName: e2, compName: t2, effectName: r2, wrongProperty: n2, wrongValue: a2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${n2}: ${a2}. Read more about the effectOptions object: "${o2}"')`, y = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: n2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${n2}"`, h = ({ propertyName: e2, compName: t2, effectName: r2, wrongValue: n2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${n2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, v = ({ propertyName: e2, functionName: t2, compName: r2 }) => `The ${e2} parameter of "${r2}" that is passed to the ${t2} method cannot be set to null.`, g = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to null or undefined.`, N = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, $ = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, x = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is required for ${t2} method.`, A = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, I = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, w = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is not allowed for ${t2} method.`, T = ({ propertyNames: e2, functionName: t2, index: r2 }) => `The following parameters: ${[...e2]} of item at index ${r2} are unknown for ${t2} method.`, C = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${a2}.`, O = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${a2}.`, E = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${n2}.`, S = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${n2}.`, L = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, j = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, P = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, k = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, R = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${n2} and ${a2}.`, V = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${n2} and ${a2}.`, D = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${n2}.`, B = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${n2}.`, M = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, q = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, F = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${n2}.`, H = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${n2}.`, _ = ({ propertyName: e2, functionName: t2, value: r2, expectedType: n2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${n2}.`, G = ({ propertyName: e2, functionName: t2, value: r2, expectedType: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${n2}.`, W = ({ propertyName: e2, functionName: t2, value: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format`, Y = ({ functionName: e2, wrongEffects: t2, allowedEffects: r2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, K = ({ propertyName: e2, functionName: t2, value: r2, index: n2 }) => `The "${e2}" property of the item at index ${n2} that is passed to the ${t2} method cannot be set to "${r2}". Bad format`, X = ({ propertyName: e2, functionName: t2, value: r2 }) => `The ${e2} parameter with value ${r2} that is passed to the ${t2} method is not found.`, J = ({ propertyName: e2, functionName: t2, value: r2, arrayLength: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Its length must be at least ${n2}.`, U = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, z = ({ compName: e2, functionName: t2, propertyName: n2, index: a2 }) => r(a2) ? g({ propertyName: n2, functionName: t2, index: a2 }) : e2 ? v({ compName: e2, functionName: t2, propertyName: n2 }) : m({ functionName: t2, propertyName: n2 }), Z = ({ functionName: e2, propertyName: t2, index: n2 }) => r(n2) ? x({ functionName: e2, propertyName: t2, index: n2 }) : N({ functionName: e2, propertyName: t2 }), Q = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? r(n2) ? T({ functionName: e2, propertyNames: t2, index: n2 }) : I({ functionName: e2, propertyNames: t2 }) : r(n2) ? w({ functionName: e2, propertyName: t2[0], index: n2 }) : A({ functionName: e2, propertyName: t2[0] }), ee = ({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: o2, index: i2 }) => o2 && a2 ? o2 === a2 ? r(i2) ? S({ functionName: e2, propertyName: t2, value: n2, expectedValue: o2, index: i2 }) : E({ functionName: e2, propertyName: t2, value: n2, expectedValue: o2 }) : r(i2) ? O({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: o2, index: i2 }) : C({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: o2 }) : !o2 && a2 ? r(i2) ? k({ functionName: e2, propertyName: t2, value: n2, maximum: a2, index: i2 }) : P({ functionName: e2, propertyName: t2, value: n2, maximum: a2 }) : r(i2) ? j({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: i2 }) : L({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), te = ({ functionName: e2, propertyName: t2, value: n2, minimum: a2, maximum: o2, index: i2 }) => a2 && o2 ? a2 === o2 ? r(i2) ? B({ functionName: e2, propertyName: t2, expectedValue: a2, value: n2, index: i2 }) : D({ functionName: e2, propertyName: t2, expectedValue: a2, value: n2 }) : r(i2) ? V({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2, index: i2 }) : R({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2 }) : !a2 && o2 ? r(i2) ? H({ functionName: e2, propertyName: t2, maximum: o2, value: n2, index: i2 }) : F({ functionName: e2, propertyName: t2, maximum: o2, value: n2 }) : r(i2) ? q({ functionName: e2, propertyName: t2, value: n2, minimum: a2, index: i2 }) : M({ functionName: e2, propertyName: t2, value: n2, minimum: a2 }), re = ({ functionName: e2, propertyName: t2, types: n2, value: a2, index: o2 }) => {
          const i2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return r(o2) ? G({ functionName: e2, index: o2, propertyName: t2, value: a2, expectedType: i2 }) : _({ functionName: e2, propertyName: t2, value: a2, expectedType: i2 });
        }, ne = ({ functionName: e2, propertyName: t2, value: n2, enum: a2, index: o2 }) => {
          const i2 = `from (${a2.join(",")})`;
          return r(o2) ? G({ functionName: e2, propertyName: t2, value: n2, expectedType: i2, index: o2 }) : _({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, ae = ({ functionName: e2, propertyName: t2, value: n2, index: a2 }) => r(a2) ? K({ functionName: e2, propertyName: t2, value: n2, index: a2 }) : W({ functionName: e2, propertyName: t2, value: n2 }), oe = ({ functionName: e2, propertyName: t2, value: r2 }) => X({ propertyName: t2, functionName: e2, value: r2 }), ie = Object.prototype.hasOwnProperty, se = Object.getOwnPropertyNames, ue = () => {
        };
        function pe(e2, t2, r2, n2, a2, i2) {
          if (!o(e2)) return de.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => pe(e2, t3, r2, ue, a2, i2)).filter((e3) => e3 === de.Valid).length ? de.Valid : de.Invalid;
          if (t2.required) {
            for (let r3 = 0; r3 < t2.required.length; r3++) if (!ie.call(e2, t2.required[r3])) return n2(Z({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[r3] }), { ...i2, value: e2 }), de.Invalid;
          }
          const s2 = se(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = se(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return n2(Q({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), de.Invalid;
            }
          }
          for (let n3 = 0; n3 < s2.length; n3++) {
            const a3 = s2[n3];
            if (ie.call(e2, a3)) {
              const n4 = t2.properties[a3], o2 = e2[a3];
              if (!r2(o2, n4, { functionName: i2.functionName, index: i2.index, propertyName: a3 })) return de.Invalid;
            }
          }
          return de.Valid;
        }
        function le(e2) {
          return Array.isArray(e2);
        }
        function ce(e2, t2, n2, a2) {
          const { minimum: o2, maximum: i2, enum: l2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? l2 && !s(e2, l2) ? (n2(ne({ value: e2, enum: l2, ...a2 }), { ...a2, value: e2 }), de.Invalid) : r(o2) && p(e2, o2) || r(i2) && u(e2, i2) ? (n2(te({ value: e2, minimum: o2, maximum: i2, ...a2 }), { ...a2, value: e2 }), de.Invalid) : de.Valid : de.InvalidType;
        }
        function me(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? de.Valid : de.InvalidType;
        }
        const de = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function fe({ reportError: e2, reportWarning: t2 }, o2, { suppressIndexErrors: l2 = false } = {}) {
          function c2(r2, n2, a2) {
            n2.warnIfNil && i(r2) && t2(z({ ...a2, compName: o2 }), { ...a2, value: r2 });
            let s2 = 0;
            for (; s2 < n2.type.length; s2++) {
              const e3 = (0, m2[n2.type[s2]])(r2, n2, a2);
              if (e3 !== de.InvalidType) return e3 === de.Valid;
            }
            return s2 === n2.type.length && e2(re({ value: r2, types: n2.type, ...a2 }), { ...a2, value: r2 }), false;
          }
          const m2 = { object: (r2, n2, a2) => pe(r2, n2, c2, e2, t2, a2), array: (e3, t3, r2) => function(e4, t4, r3, n2, o3, i2 = false) {
            if (!a(e4)) return de.InvalidType;
            let s2 = de.Valid;
            if (t4.items) {
              const n3 = le(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let a2 = 0; a2 < n3; a2++) {
                const n4 = e4[a2];
                let u2, p2;
                le(t4.items) ? (u2 = t4.items[a2], p2 = t4.items[a2].name) : (u2 = t4.items, p2 = t4.name), r3(n4, u2, { functionName: o3.functionName, propertyName: p2 || o3.propertyName, index: i2 ? void 0 : a2 }) || (s2 = de.Invalid);
              }
            }
            return s2;
          }(e3, t3, c2, 0, r2, l2), number: (t3, n2, a2) => function(e3, t4, n3, a3) {
            const { minimum: o3, maximum: i2, enum: l3 } = t4;
            return r(e3) ? l3 && !s(e3, l3) ? (n3(ne({ value: e3, enum: l3, ...a3 }), { ...a3, value: e3 }), de.Invalid) : r(o3) && p(e3, o3) || r(i2) && u(e3, i2) ? (n3(te({ value: e3, minimum: o3, maximum: i2, ...a3 }), { ...a3, value: e3 }), de.Invalid) : de.Valid : de.InvalidType;
          }(t3, n2, e2, a2), integer: (t3, r2, n2) => ce(t3, r2, e2, n2), string: (t3, r2, a2) => function(e3, t4, r3, a3) {
            const { minLength: o3, maxLength: i2, enum: l3, pattern: c3 } = t4;
            return n(e3) ? l3 && !s(e3, l3) ? (r3(ne({ value: e3, enum: l3, ...a3 }), { ...a3, value: e3 }), de.Invalid) : o3 && p(e3.length, o3) || i2 && u(e3.length, i2) ? (r3(ee({ value: e3, minimum: o3, maximum: i2, ...a3 }), { ...a3, value: e3 }), de.Invalid) : c3 && !new RegExp(c3).test(e3) ? (r3(ae({ value: e3, ...a3 }), { ...a3, value: e3 }), de.Invalid) : de.Valid : de.InvalidType;
          }(t3, r2, e2, a2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? de.Valid : de.InvalidType;
          }(e3), date: (e3) => me(e3), nil: (e3) => function(e4) {
            return i(e4) ? de.Valid : de.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? de.Valid : de.InvalidType;
          }(e3) };
          return function(e3, t3, r2) {
            return c2(e3, t3, { functionName: r2, propertyName: r2, index: void 0 });
          };
        }
        function be(e2, { suppressIndexErrors: t2 = false } = {}) {
          return fe({ reportError: l, reportWarning: c }, e2, { suppressIndexErrors: t2 });
        }
        function ye(e2, t2, r2 = {}) {
          return (n2) => {
            const a2 = e2(n2), o2 = be(n2.metaData.role), i2 = be(n2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const u2 = Object.getOwnPropertyDescriptor(a2, s2), p2 = { enumerable: true, configurable: true };
              return u2.value ? "function" == typeof u2.value ? p2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, o3 = r2[s2];
                let p3 = true;
                return a3 && (p3 = i2(e4, { type: ["array"], items: a3 }, s2)), p3 && o3 && (p3 = o3.every((t3) => t3(e4, n2))), p3 ? u2.value(...e4) : void 0;
              } : p2.value = u2.value : (u2.get && (p2.get = () => a2[s2]), u2.set && (p2.set = (e4) => {
                const i3 = r2[s2];
                let u3 = true;
                t2.properties[s2] && (u3 = o2(e4, t2.properties[s2], s2)), u3 && i3 && (u3 = i3.every((t3) => t3(e4, n2))), u3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, p2), e3;
            }, {});
          };
        }
        const he = "click", ve = "dblClick", ge = "mouseenter", Ne = "mouseleave", $e = "change", xe = "blur", Ae = "focus", Ie = "imageChanged", we = "imageExpanded", Te = "onInput", Ce = "itemClicked", Oe = "cellSelect", Ee = "cellEdit", Se = "rowSelect", Le = "fetchData", je = "dataChange", Pe = "onTimeout", ke = "onVerified", Re = "onError", Ve = "onPlay", De = "onPause", Be = "onProgress", Me = "onEnded", qe = "autoplayOff", Fe = "autoplayOn", He = "playEnded", _e = "playProgress", Ge = "keyPress", We = "keyUp", Ye = "keyDown", Ke = "screenIn", Xe = "viewportEnter", Je = "viewportLeave", Ue = "scroll", ze = "validate", Ze = "setCustomValidity", Qe = "syncValidationData", et = "updateValidityIndication", tt = "message", rt = "uploadComplete", nt = "itemReady", at = "itemRemoved", ot = "tagClick", it = "quickActionBarItemClicked", st = "markerClicked", ut = "mapClicked", pt = "iconMouseIn", lt = "onStateChange", ct = "itemMouseIn", mt = "itemMouseOut", dt = "itemMouseClick", ft = "itemMouseDblClick", bt = "onColorChange", yt = "onFontChange", ht = "onOpacityChange", vt = { [he]: "onClick", [ve]: "onDblClick", [ge]: "onMouseIn", [Ne]: "onMouseOut", [$e]: "onChange", [Te]: "onInput", [xe]: "onBlur", [Ae]: "onFocus", [Ie]: "onCurrentItemChanged", [we]: void 0, [Ce]: "onItemClicked", [Oe]: "onCellSelect", [Ee]: void 0, [Se]: "onRowSelect", [Le]: void 0, [je]: "onDataChange", [Pe]: "onTimeout", [ke]: "onVerified", [Re]: "onError", [Ve]: "onPlay", [De]: "onPause", [Be]: "onProgress", [Me]: "onEnded", [qe]: "onPause", [Fe]: "onPlay", [He]: void 0, [_e]: void 0, [Ge]: "onKeyPress", [We]: "onKeyUp", [Ye]: "onKeyDown", [Ke]: void 0, [Xe]: "onViewportEnter", [Je]: "onViewportLeave", [Ue]: void 0, [ze]: void 0, [Ze]: void 0, [Qe]: void 0, [et]: void 0, [tt]: "onMessage", [rt]: void 0, [nt]: "onItemReady", [at]: "onItemRemoved", [ot]: void 0, [it]: "onItemClicked", [st]: "onMarkerClicked", [ut]: "onMapClicked", [pt]: void 0, [lt]: "onStateChange", [ct]: "onItemMouseIn", [mt]: "onItemMouseOut", [dt]: "onItemClick", [ft]: "onItemDblClick", [bt]: "onColorChange", [yt]: "onFontChange", [ht]: "onOpacityChange" }, gt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Nt = (e2) => {
          const { target: t2, type: r2, context: n2 } = e2;
          return { target: t2, type: gt[r2] ?? r2, context: n2 };
        }, $t = (e2) => {
          const { clientX: t2, clientY: r2, pageX: n2, pageY: a2, screenX: o2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: u2, offsetY: p2 } = s2;
          return { clientX: t2, clientY: r2, pageX: n2, pageY: a2, screenX: o2, screenY: i2, offsetX: u2, offsetY: p2 };
        }, xt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, At = (e2) => e2.replace(/^on/i, ""), It = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), wt = (e2, t2, r2, n2) => {
          const { create$w: a2, createEvent: o2, registerEvent: i2, getSdkInstance: s2, metaData: u2 } = t2;
          if (!((e3, t3, r3) => be(r3)(e3, { type: ["function"] }, t3))(r2, xt[e2] ?? e2, u2.role)) return s2();
          const [p2, l2] = It(t2), c2 = i2(e2, (e3, t3) => {
            const i3 = o2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: i3.context }), u3 = n2?.({ componentEvent: e3, eventPayload: t3 });
            r2({ ...Nt(i3), ...u3 }, s3);
          }), m2 = { eventName: e2, compId: u2.compId, cb: r2, unregister: c2 };
          return l2({ listeners: [...p2.listeners, m2] }), s2();
        }, Tt = (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = Object.entries(xt).find(([t4, r3]) => At(r3.toLowerCase()) === At(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(vt[t2] ?? t2);
          return e2.toLowerCase() === r2.toLowerCase();
        }, Ct = (e2, t2, r2, n2) => wt(e2, t2, r2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...$t(e3), ...t3 && n2?.(t3) }));
        function Ot(e2, t2) {
          const { modifyAriaSourceKeys: r2 } = t2 ?? {};
          return (t3) => {
            const n2 = {};
            for (let o2 = 0; o2 < e2.length; o2++) {
              const i2 = e2[o2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], o3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(n2, r2 && o3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, o3);
              }
            }
            var a2;
            return n2;
          };
        }
        const Et = ({ handlers: e2, metaData: t2 }) => {
          const { compId: r2, connection: n2, compType: a2, isGlobal: o2, getParent: i2, role: s2, wixCodeId: u2 } = t2, p2 = `$w.${a2}`;
          return { get id() {
            return u2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return n2?.config;
          }, get uniqueId() {
            return r2;
          }, get parent() {
            return i2();
          }, get global() {
            return o2();
          }, get type() {
            return p2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(r2, t3));
          }, toJSON() {
            return { id: s2, type: p2, global: o2() };
          } };
        }, St = (e2) => (t2) => {
          const { metaData: r2, getSdkInstance: n2, create$w: a2, createEvent: o2 } = t2, i2 = (e3, t3) => be(r2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (r3) => i2(r3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = o2({ type: "viewportEnter" }), t3 = a2();
            r3(e3, t3);
          }), wt("onViewportEnter", t2, r3)) : n2(), onViewportLeave: (r3) => i2(r3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = o2({ type: "viewportLeave" }), t3 = a2();
            r3(e3, t3);
          }), wt("onViewportLeave", t2, r3)) : n2() };
        }, Lt = { duration: 1200, delay: 0 }, jt = { arc: { ...Lt, direction: "left" }, bounce: { ...Lt, direction: "topLeft", intensity: "medium" }, puff: { ...Lt }, zoom: { ...Lt }, fade: { ...Lt }, flip: { ...Lt, direction: "right" }, float: { ...Lt, direction: "right" }, fly: { ...Lt, direction: "right" }, fold: { ...Lt, direction: "left" }, glide: { ...Lt, angle: 0, distance: 0 }, roll: { ...Lt, direction: "left" }, slide: { ...Lt, direction: "left" }, spin: { ...Lt, direction: "cw", cycles: 5 }, turn: { ...Lt, direction: "right" }, ArcIn: { ...Lt, direction: "right" }, ArcOut: { ...Lt, direction: "right" }, BounceIn: { ...Lt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Lt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Lt, direction: "right" }, CollapseOut: { ...Lt }, Conceal: { ...Lt, direction: "right" }, Reveal: { ...Lt, direction: "left" }, FadeIn: { ...Lt }, FadeOut: { ...Lt }, FlipIn: { ...Lt, direction: "left" }, FlipOut: { ...Lt, direction: "left" }, FloatIn: { ...Lt, direction: "right" }, FloatOut: { ...Lt, direction: "right" }, FlyIn: { ...Lt, direction: "right" }, FlyOut: { ...Lt, direction: "right" }, FoldIn: { ...Lt, direction: "left" }, FoldOut: { ...Lt, direction: "left" }, GlideIn: { ...Lt, angle: 0, distance: 150 }, GlideOut: { ...Lt, angle: 0, distance: 150 }, DropIn: { ...Lt }, PopOut: { ...Lt }, SlideIn: { ...Lt, direction: "left" }, SlideOut: { ...Lt, direction: "left" }, SpinIn: { ...Lt, direction: "cw", cycles: 2 }, SpinOut: { ...Lt, direction: "cw", cycles: 2 }, TurnIn: { ...Lt, direction: "right" }, TurnOut: { ...Lt, direction: "right" } }, Pt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, kt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Rt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Vt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Dt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Bt = { arc: { type: ["object"], properties: { duration: Rt, delay: Vt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Rt, delay: Vt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Rt, delay: Vt } }, zoom: { type: ["object"], properties: { duration: Rt, delay: Vt } }, fade: { type: ["object"], properties: { duration: Rt, delay: Vt } }, flip: { type: ["object"], properties: { duration: Rt, delay: Vt, direction: Dt } }, float: { type: ["object"], properties: { duration: Rt, delay: Vt, direction: Dt } }, fly: { type: ["object"], properties: { duration: Rt, delay: Vt, direction: Dt } }, fold: { type: ["object"], properties: { duration: Rt, delay: Vt, direction: Dt } }, glide: { type: ["object"], properties: { duration: Rt, delay: Vt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Rt, delay: Vt, direction: Dt } }, slide: { type: ["object"], properties: { duration: Rt, delay: Vt, direction: Dt } }, spin: { type: ["object"], properties: { duration: Rt, delay: Vt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Rt, delay: Vt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Mt = ({ propertyName: e2, compName: t2 }) => (r2, n2) => {
          if (!r2) return false;
          if (void 0 === n2) return true;
          const a2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (n3, a3) => {
            c(h({ propertyName: t3, compName: r3, effectName: e3, wrongValue: `${a3?.value}`, infoLink: kt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          if (!fe({ reportError: a2, reportWarning: () => ({}) }, t2)(n2, { type: ["object"] }, e2)) return false;
          const o2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (n3, a3) => {
            c(b({ propertyName: t3, compName: r3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: kt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          return !!fe({ reportError: o2, reportWarning: () => ({}) }, t2)(n2, Bt[r2], e2);
        }, qt = (e2) => 0 === Object.keys(e2).length, Ft = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: r2, portal: n2, metaData: a2, getSdkInstance: o2, runAnimation: i2, createSdkState: s2, styleUtils: u2, setProps: p2 }) => {
          const l2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: r3, propertyName: n3 }) => {
            const a3 = Mt({ propertyName: n3, compName: e3 });
            if (!t3 && !r3) return false;
            if (!t3 && r3 && !qt(r3)) return c(f({ propertyName: n3, compName: e3, infoLink: kt(n3) })), false;
            const o3 = "hide" === n3 ? "HIDE" : "SHOW", i3 = Pt[o3]?.deprecatedValues;
            return t3 && r3 && i3 && i3.find((e4) => e4 === t3) && !qt(r3) ? (c(y({ compName: e3, effectName: t3, propertyName: n3, infoLink: kt(n3) })), false) : !!i3.find((e4) => e4 === t3) || (t3 && !(t3 in Bt) ? (c(d({ propertyName: n3, compName: e3, effectName: t3, infoLink: kt(n3) })), false) : !!a3(t3, r3));
          })({ compName: a2.role }), [m2, b2] = s2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (a3, o3) => {
            if (p2({ hidden: true }), m2.collapsed || m2.hidden) b2({ hidden: true });
            else {
              if (l2({ effectName: a3, effectOptions: o3, propertyName: "hide" })) {
                const e3 = { animationDirection: Pt.HIDE.suffix, effectName: a3, effectOptions: { ...jt?.[a3] || Lt, ...o3 } };
                await Promise.all([i2(e3), t2 ? n2.runAnimation(e3) : void 0]);
              } else r2(u2.getHiddenStyles()), t2 && n2.setStyles(u2.getHiddenStyles());
              b2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (a3, o3) => {
            if (p2({ hidden: false }), !m2.collapsed && m2.hidden) {
              if (l2({ effectName: a3, effectOptions: o3, propertyName: "show" })) {
                const e3 = { animationDirection: Pt.SHOW.suffix, effectName: a3, effectOptions: { ...jt?.[a3] || Lt, ...o3 } };
                await Promise.all([i2(e3), t2 ? n2.runAnimation(e3) : void 0]);
              } else r2(u2.getShownStyles()), t2 && n2.setStyles(u2.getShownStyles());
              b2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else b2({ hidden: false });
          }, collapse: async () => {
            p2({ collapsed: true }), m2.collapsed || (r2(u2.getCollapsedStyles()), t2 && n2.setStyles(u2.getCollapsedStyles()), b2({ collapsed: true }), m2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (p2({ collapsed: false }), m2.collapsed) {
              const a3 = { ...u2.getExpandedStyles(), visibility: m2.hidden ? "hidden" : null };
              r2(a3), t2 && n2.setStyles(a3), b2({ collapsed: false }), m2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return m2.collapsed;
          }, get hidden() {
            return Boolean(m2.hidden);
          }, get isVisible() {
            if (!a2.isRendered()) return false;
            let e3 = o2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Ht = (e2) => (t2) => ((e3, t3 = false) => {
          const [r2, n2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Ot([Ft({ viewportState: r2, hasPortal: t3 }), St((e4, t4) => {
            n2({ [e4]: [...r2[e4], t4] });
          })])(e3);
        })(t2, e2), _t = (e2, t2, r2) => {
          const n2 = t2.filter((t3) => !e2.includes(t3));
          n2.length && l(Y({ functionName: r2, wrongEffects: n2, allowedEffects: e2 }));
        }, Gt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (r2) => {
            _t(t2(), r2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...r2);
          }, removeEffects: (r2) => {
            _t(t2(), r2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...r2);
          }, toggleEffects: (r2) => {
            _t(t2(), r2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...r2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Wt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Yt = (e2, t2) => "string" != typeof e2 ? (Kt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Jt(e2, t2), false), Kt = (e2, t2, r2, n2) => {
          l(_({ propertyName: e2, functionName: t2, value: r2, expectedType: n2 }));
        }, Xt = (e2, t2) => {
          l(N({ propertyName: e2, functionName: t2 }));
        }, Jt = (e2, t2) => {
          l(U({ propertyName: e2, functionName: t2 }));
        }, Ut = (e2) => {
          const { setProps: t2, props: r2 } = e2;
          return { customClassList: { get value() {
            return r2.customClassNames ? r2.customClassNames?.join(" ") : "";
          }, values() {
            return r2.customClassNames ? r2.customClassNames : [];
          }, add(...e3) {
            const n2 = r2.customClassNames ? new Set(r2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Yt(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else Xt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Xt("className", "customClassList.remove");
            const n2 = new Set(r2.customClassNames);
            for (const t3 of e3) {
              if (!Yt(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return Yt(e3, "customClassList.contains") ? !!r2.customClassNames && r2.customClassNames.includes(e3) : void 0;
            Xt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Yt(t3, "customClassList.replace") || !Yt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (l($({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Yt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Xt("className", "customClassList.toggle"), false);
          } } };
        }, zt = ({ role: e2, compType: t2, isGlobal: r2, isRendered: n2 }) => ({ id: e2, type: `$w.${t2}`, global: r2(), rendered: n2() }), Zt = (e2) => ({ onMouseIn: (t2) => Ct("onMouseEnter", e2, t2), onMouseOut: (t2) => Ct("onMouseLeave", e2, t2), removeEventHandler: (t2, r2) => {
          const { getSdkInstance: n2 } = e2;
          return "string" != typeof t2 ? (l(_({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), n2()) : "function" != typeof r2 ? (l(_({ propertyName: "handler", functionName: "removeEventHandler", value: r2, expectedType: "function" })), n2()) : ((e3, t3, r3) => {
            const { metaData: n3, getSdkInstance: a2 } = t3, [o2, i2] = It(t3), s2 = o2.listeners.filter((t4) => Tt(t4.eventName, e3) && t4.cb === r3 && t4.compId === n3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: o2.listeners.filter((e4) => !s2.includes(e4)) }), a2();
          })(t2, e2, r2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return zt(e2.metaData);
        } }), Qt = St(), er = (Ot([Et, Qt, Zt, Gt, Ut]), ye(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: i(r2) ? void 0 : r2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } }));
        var tr;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(tr || (tr = {}));
        const rr = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, nr = (e2) => ar(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), ar = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), or = (e2, t2, r2, n2, a2) => a2 ? !!r2(a2) || (l(n2), false) : !!t2 || (l(re({ value: a2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), ir = (e2, t2 = true) => (r2) => or(e2, t2, ar, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, r2), sr = (e2, t2 = true) => (r2) => or(e2, t2, nr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, r2), ur = ye(({ setProps: e2, props: t2, create$w: r2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return r2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [sr("describedBy")] }), pr = ye(({ setProps: e2, props: t2, create$w: r2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return r2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [sr("labelledBy")] }), lr = ye(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), cr = ye(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), mr = ye(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), dr = ye(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), fr = ye(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: i(r2) ? void 0 : r2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), br = ye(({ setProps: e2, props: t2, create$w: r2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return r2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [ir("owns")] }), yr = ye(({ setProps: e2, props: t2, create$w: r2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return r2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [ir("controls")] }), hr = ye(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: i(r2) ? void 0 : r2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), vr = ye(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: i(r2) ? void 0 : r2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), gr = ye(({ setProps: e2, props: t2, create$w: r2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return r2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [sr("errorMessage")] }), Nr = ye(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), $r = ye(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), xr = ye(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Ar = ye(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: i(r2) ? void 0 : String(r2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Ir = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(r2) {
          null === r2 || n(r2) ? e2({ screenReader: { ...t2.screenReader, prefix: r2 } }) : l(rr("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(r2) {
          null === r2 || n(r2) ? e2({ screenReader: { ...t2.screenReader, suffix: r2 } }) : l(rr("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(r2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: i(r2) ? void 0 : r2 } });
        } } }), wr = (ye(Ir, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), ye(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: i(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), Tr = ye(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: i(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), Cr = { enableAriaLabel: er, enableAriaDescribedBy: ur, enableAriaLabelledBy: pr, enableAriaAtomic: lr, enableAriaBusy: cr, enableAriaCurrent: mr, enableAriaExpanded: dr, enableAriaLive: fr, enableAriaOwns: br, enableAriaControls: yr, enableAriaRoleDescription: hr, enableAriaRelevant: vr, enableAriaErrorMessage: gr, enableAriaHidden: Nr, enableAriaPressed: $r, enableAriaHaspopup: xr, enableAriaRequired: Ar }, Or = { enableScreenReader: Ir, enableRole: wr, enableTabIndex: Tr };
        const Er = "tabReferences";
        const Sr = (e2, t2) => {
          const r2 = n(t2) ? t2 : t2.id;
          return e2.some((e3) => {
            let { id: t3 } = e3;
            return t3 === r2;
          });
        }, Lr = (e2) => JSON.stringify(o(e2) && e2.hasOwnProperty("toJSON") ? e2.toJSON() : e2), jr = { orderTabs: [(Pr = "orderTabs", (e2, t2) => {
          const [r2] = e2, { getChildren: n2 } = t2, a2 = n2();
          if (i(r2)) return l(z({ compName: "Tabs", propertyName: Er, functionName: Pr })), false;
          if (a2.length !== r2.length) return l((({ functionName: e3, propertyName: t3, value: r3, arrayLength: n3 }) => J({ propertyName: t3, functionName: e3, value: r3, arrayLength: n3 }))({ propertyName: Er, functionName: Pr, value: "[" + r2.map(Lr).join(", ") + "]", arrayLength: a2.length })), false;
          for (const e3 of r2) if (!Sr(a2, e3)) return l(oe({ propertyName: Er, functionName: Pr, value: Lr(e3) })), false;
          return true;
        })], changeTab: [/* @__PURE__ */ ((e2) => (t2, r2) => {
          const [n2] = t2, { getChildren: a2 } = r2, o2 = a2(), i2 = Sr(o2, n2);
          return i2 || l(oe({ propertyName: "tabReference", functionName: e2, value: Lr(n2) })), i2;
        })("changeTab")] };
        var Pr;
        const kr = (e2) => {
          const t2 = {};
          for (const r2 of e2) t2[r2.id] = r2;
          return t2;
        }, Rr = ye((e2) => {
          const { props: t2, setProps: r2, getChildren: a2, metaData: o2 } = e2, i2 = { _setTabLabel(e3, n2) {
            const { tabItems: a3 } = t2, o3 = [...a3], i3 = a3.findIndex((t3) => t3.id === e3);
            o3[i3] = { ...o3[i3], label: n2 }, r2({ tabItems: o3 });
          }, get tabs() {
            const { tabItems: e3 } = t2, r3 = a2();
            return e3.map((e4) => r3.find((t3) => t3.uniqueId === e4.id));
          }, get currentTab() {
            var e3;
            const { tabItems: r3, currentTabId: n2 } = t2, a3 = null == (e3 = r3.find((e4) => {
              let { tabId: t3 } = e4;
              return t3 === n2;
            })) ? void 0 : e3.id;
            return this.tabs.find((e4) => e4.uniqueId === a3);
          }, get defaultTab() {
            var e3;
            const { tabItems: r3, defaultTabId: n2 } = t2, a3 = null == (e3 = r3.find((e4) => {
              let { tabId: t3 } = e4;
              return t3 === n2;
            })) ? void 0 : e3.id;
            return this.tabs.find((e4) => e4.uniqueId === a3);
          }, orderTabs(e3) {
            const { tabItems: o3 } = t2, i3 = a2(), s2 = kr(i3), u2 = e3.map((e4) => {
              const t3 = n(e4) ? s2[e4] : e4;
              return o3.find((e5) => e5.id === t3.uniqueId);
            });
            return r2({ tabItems: u2 }), Promise.resolve();
          }, changeTab(e3) {
            var o3;
            const i3 = a2(), { tabItems: s2, currentTabId: u2 } = t2, p2 = kr(i3), l2 = n(e3) ? p2[e3] : e3, c2 = null == (o3 = s2.find((e4) => {
              let { id: t3 } = e4;
              return t3 === l2.uniqueId;
            })) ? void 0 : o3.tabId;
            return c2 !== u2 && r2({ currentTabId: c2 }), Promise.resolve(l2);
          }, onTabItemClicked: (t3) => wt("onTabItemClicked", e2, t3, (e3) => {
            let { componentEvent: { tabId: t4, ...r3 } } = e3;
            const { tabs: n2 } = i2;
            return { ...r3, tabId: n2.find((e4) => e4.uniqueId === t4).id };
          }), toJSON() {
            const { tabs: e3, currentTab: t3, defaultTab: r3 } = i2;
            return { ...zt(o2), tabs: e3, currentTab: t3, defaultTab: r3 };
          } };
          return i2;
        }, { properties: { orderTabs: { type: ["function"], args: [{ type: ["array"], items: { type: ["object", "string"] } }] }, changeTab: { type: ["function"], args: [{ type: ["object", "string"] }] } } }, jr), Vr = (({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: n2 = false, enableAriaBusy: a2 = false, enableAriaHidden: o2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: u2 = false, enableAriaExpanded: p2 = false, enableAriaLive: l2 = false, enableAriaOwns: c2 = false, enableAriaControls: m2 = false, enableAriaRoleDescription: d2 = false, enableAriaRelevant: f2 = false, enableRole: b2 = false, enableTabIndex: y2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: v2 = false, enableAriaRequired: g2 = false } = {}) => (N2) => {
          const $2 = [], x2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: r2, enableAriaAtomic: n2, enableAriaBusy: a2, enableAriaCurrent: u2, enableAriaExpanded: p2, enableAriaLive: l2, enableAriaOwns: c2, enableAriaControls: m2, enableAriaRoleDescription: d2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: o2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: g2 }, A2 = { enableScreenReader: v2, enableRole: b2, enableTabIndex: y2 };
          if (Object.values(x2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, r3]) => r3 && Cr[e5] && t3.push(Cr[e5])), (e5) => {
                const r3 = Ot(t3, { modifyAriaSourceKeys: true })(e5);
                return r3.ariaAttributes = Ot(t3)(e5), r3;
              };
            })(x2);
            $2.push(e3);
          }
          Object.entries(A2).forEach(([e3, t3]) => t3 && Or[e3] && $2.push(Or[e3]));
          return { accessibility: Ot($2)(N2) };
        })({ enableAriaLabel: true, enableAriaDescribedBy: false, enableAriaLabelledBy: true, enableTabIndex: true }), Dr = Ot([(({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Ot([Et, Zt, Gt, Wt, e2 ? Ht(t2) : Qt, Ut]))(), (e2) => ({ onChange: (t2) => wt("onChange", e2, t2) }), (e2) => ({ onClick: (t2) => Ct("onClick", e2, t2), onDblClick: (t2) => Ct("onDblClick", e2, t2) }), ({ getChildren: e2 }) => ({ get children() {
          return e2();
        } }), (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => wt("onFocus", e2, t2), onBlur: (t2) => wt("onBlur", e2, t2) }), Vr, Rr]);
        var Br = { factory: Dr };
        return t;
      }();
    });
  })(Tabs_bundle_min);
  var Tabs_bundle_minExports = Tabs_bundle_min.exports;
  const Tabs = /* @__PURE__ */ getDefaultExportFromCjs(Tabs_bundle_minExports);
  var TextAreaInput_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, r2) {
          for (var o2 in r2) e.o(r2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: r2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { accessibilityPropsSDKFactory: function() {
          return Lo;
        }, default: function() {
          return Ro;
        }, sdk: function() {
          return Vo;
        } });
        function r(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function o(e2) {
          return "string" == typeof e2;
        }
        function a(e2) {
          return Array.isArray(e2);
        }
        function n(e2) {
          return null == e2;
        }
        function i(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function l(e2, t2) {
          return e2 < t2;
        }
        const p = { valueMissing: "value missing" }, d = { type: "General", validity: { badInput: false, customError: false, fileNotUploaded: false, fileTypeNotAllowed: false, fileSizeExceedsLimit: false, patternMismatch: false, rangeOverflow: false, rangeUnderflow: false, stepMismatch: false, tooLong: false, tooShort: false, typeMismatch: false, valueMissing: false, exceedsFilesLimit: false, valid: true, invalidTime: false, invalidDate: false }, validationMessage: "", htmlValidationMessageOverride: { key: "" } }, u = (e2) => !!e2.validity.customError ? e2.validationMessage : "", c = (e2, t2, r2) => ({ ...e2, validity: { ...e2.validity, [t2]: true, valid: false }, validationMessage: r2 }), m = (e2, t2, r2) => {
          const a2 = e2.validationMessage || r2 || ((e3, t3) => {
            const r3 = p[e3];
            return o(r3) ? r3 : r3(t3);
          })(t2);
          return c(e2, t2, a2);
        }, f = { validationData: d, customValidators: [() => {
        }] }, y = "validation", b = ({ createSdkState: e2 }) => {
          const [t2] = e2(f, y);
          return t2.validationData;
        }, h = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, g = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, v = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, N = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, x = ({ propertyName: e2, compName: t2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, w = ({ propertyName: e2, compName: t2, effectName: r2, wrongProperty: o2, wrongValue: a2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${n2}"')`, $ = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${o2}"`, A = ({ propertyName: e2, compName: t2, effectName: r2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, I = ({ propertyName: e2, functionName: t2, compName: r2 }) => `The ${e2} parameter of "${r2}" that is passed to the ${t2} method cannot be set to null.`, C = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to null or undefined.`, k = ({ propertyName: e2, compName: t2, infoLink: r2 }) => ` The value of "${e2}" property of "${t2}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${r2}"`, S = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, O = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, T = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is required for ${t2} method.`, P = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, j = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, E = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is not allowed for ${t2} method.`, L = ({ propertyNames: e2, functionName: t2, index: r2 }) => `The following parameters: ${[...e2]} of item at index ${r2} are unknown for ${t2} method.`, V = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${o2} and ${a2}.`, R = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${o2} and ${a2}.`, D = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${o2}.`, B = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${o2}.`, W = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${o2} and ${a2}.`, K = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${o2} and ${a2}.`, G = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${o2}.`, U = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${o2}.`, _ = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${o2}.`, Y = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${o2}.`, X = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${o2}.`, z = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${o2}.`, J = ({ propertyName: e2, functionName: t2, value: r2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${o2}.`, Z = ({ propertyName: e2, functionName: t2, value: r2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${o2}.`, Q = ({ propertyName: e2, functionName: t2, value: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format`, ee = ({ functionName: e2, wrongEffects: t2, allowedEffects: r2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, te = ({ propertyName: e2, functionName: t2, value: r2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${r2}". Bad format`, re = ({ propertyName: e2, compName: t2, cssProperty: r2, exampleFormat: o2, infoLink: a2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${r2}" value. The value is expected in the following format:"${o2}". Read more about "${r2}" values: "${a2}"`, oe = ({ propertyName: e2, compName: t2, cssProperty: r2, exampleFormats: o2, infoLink: a2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${r2}" value. The value is expected in one of the following formats:"${o2}". Read more about "${r2}" values: "${a2}"`, ae = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, ne = ({ compName: e2, functionName: t2, propertyName: o2, index: a2 }) => r(a2) ? C({ propertyName: o2, functionName: t2, index: a2 }) : e2 ? I({ compName: e2, functionName: t2, propertyName: o2 }) : v({ functionName: t2, propertyName: o2 }), ie = ({ functionName: e2, propertyName: t2, index: o2 }) => r(o2) ? T({ functionName: e2, propertyName: t2, index: o2 }) : S({ functionName: e2, propertyName: t2 }), se = ({ functionName: e2, propertyNames: t2, index: o2 }) => t2 && t2.length > 1 ? r(o2) ? L({ functionName: e2, propertyNames: t2, index: o2 }) : j({ functionName: e2, propertyNames: t2 }) : r(o2) ? E({ functionName: e2, propertyName: t2[0], index: o2 }) : P({ functionName: e2, propertyName: t2[0] }), le = ({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: n2, index: i2 }) => n2 && a2 ? n2 === a2 ? r(i2) ? B({ functionName: e2, propertyName: t2, value: o2, expectedValue: n2, index: i2 }) : D({ functionName: e2, propertyName: t2, value: o2, expectedValue: n2 }) : r(i2) ? R({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: n2, index: i2 }) : V({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: n2 }) : !n2 && a2 ? r(i2) ? W({ functionName: e2, propertyName: t2, value: o2, maximum: a2, index: i2 }) : q({ functionName: e2, propertyName: t2, value: o2, maximum: a2 }) : r(i2) ? F({ functionName: e2, propertyName: t2, value: o2, minimum: n2, index: i2 }) : M({ functionName: e2, propertyName: t2, value: o2, minimum: n2 }), pe = ({ functionName: e2, propertyName: t2, value: o2, minimum: a2, maximum: n2, index: i2 }) => a2 && n2 ? a2 === n2 ? r(i2) ? U({ functionName: e2, propertyName: t2, expectedValue: a2, value: o2, index: i2 }) : G({ functionName: e2, propertyName: t2, expectedValue: a2, value: o2 }) : r(i2) ? K({ functionName: e2, propertyName: t2, value: o2, maximum: n2, minimum: a2, index: i2 }) : H({ functionName: e2, propertyName: t2, value: o2, maximum: n2, minimum: a2 }) : !a2 && n2 ? r(i2) ? z({ functionName: e2, propertyName: t2, maximum: n2, value: o2, index: i2 }) : X({ functionName: e2, propertyName: t2, maximum: n2, value: o2 }) : r(i2) ? Y({ functionName: e2, propertyName: t2, value: o2, minimum: a2, index: i2 }) : _({ functionName: e2, propertyName: t2, value: o2, minimum: a2 }), de = ({ functionName: e2, propertyName: t2, types: o2, value: a2, index: n2 }) => {
          const i2 = o2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return r(n2) ? Z({ functionName: e2, index: n2, propertyName: t2, value: a2, expectedType: i2 }) : J({ functionName: e2, propertyName: t2, value: a2, expectedType: i2 });
        }, ue = ({ functionName: e2, propertyName: t2, value: o2, enum: a2, index: n2 }) => {
          const i2 = `from (${a2.join(",")})`;
          return r(n2) ? Z({ functionName: e2, propertyName: t2, value: o2, expectedType: i2, index: n2 }) : J({ functionName: e2, propertyName: t2, value: o2, expectedType: i2 });
        }, ce = ({ functionName: e2, propertyName: t2, value: o2, index: a2 }) => r(a2) ? te({ functionName: e2, propertyName: t2, value: o2, index: a2 }) : Q({ functionName: e2, propertyName: t2, value: o2 }), me = Object.prototype.hasOwnProperty, fe = Object.getOwnPropertyNames, ye = () => {
        };
        function be(e2, t2, r2, o2, n2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !a(e3);
          }(e2)) return Ne.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => be(e2, t3, r2, ye, n2, i2)).filter((e3) => e3 === Ne.Valid).length ? Ne.Valid : Ne.Invalid;
          if (t2.required) {
            for (let r3 = 0; r3 < t2.required.length; r3++) if (!me.call(e2, t2.required[r3])) return o2(ie({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[r3] }), { ...i2, value: e2 }), Ne.Invalid;
          }
          const s2 = fe(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = fe(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return o2(se({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), Ne.Invalid;
            }
          }
          for (let o3 = 0; o3 < s2.length; o3++) {
            const a2 = s2[o3];
            if (me.call(e2, a2)) {
              const o4 = t2.properties[a2], n3 = e2[a2];
              if (!r2(n3, o4, { functionName: i2.functionName, index: i2.index, propertyName: a2 })) return Ne.Invalid;
            }
          }
          return Ne.Valid;
        }
        function he(e2) {
          return Array.isArray(e2);
        }
        function ge(e2, t2, o2, a2) {
          const { minimum: n2, maximum: p2, enum: d2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? d2 && !i(e2, d2) ? (o2(ue({ value: e2, enum: d2, ...a2 }), { ...a2, value: e2 }), Ne.Invalid) : r(n2) && l(e2, n2) || r(p2) && s(e2, p2) ? (o2(pe({ value: e2, minimum: n2, maximum: p2, ...a2 }), { ...a2, value: e2 }), Ne.Invalid) : Ne.Valid : Ne.InvalidType;
        }
        function ve(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? Ne.Valid : Ne.InvalidType;
        }
        const Ne = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function xe({ reportError: e2, reportWarning: t2 }, p2, { suppressIndexErrors: d2 = false } = {}) {
          function u2(r2, o2, a2) {
            o2.warnIfNil && n(r2) && t2(ne({ ...a2, compName: p2 }), { ...a2, value: r2 });
            let i2 = 0;
            for (; i2 < o2.type.length; i2++) {
              const e3 = (0, c2[o2.type[i2]])(r2, o2, a2);
              if (e3 !== Ne.InvalidType) return e3 === Ne.Valid;
            }
            return i2 === o2.type.length && e2(de({ value: r2, types: o2.type, ...a2 }), { ...a2, value: r2 }), false;
          }
          const c2 = { object: (r2, o2, a2) => be(r2, o2, u2, e2, t2, a2), array: (e3, t3, r2) => function(e4, t4, r3, o2, n2, i2 = false) {
            if (!a(e4)) return Ne.InvalidType;
            let s2 = Ne.Valid;
            if (t4.items) {
              const o3 = he(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let a2 = 0; a2 < o3; a2++) {
                const o4 = e4[a2];
                let l2, p3;
                he(t4.items) ? (l2 = t4.items[a2], p3 = t4.items[a2].name) : (l2 = t4.items, p3 = t4.name), r3(o4, l2, { functionName: n2.functionName, propertyName: p3 || n2.propertyName, index: i2 ? void 0 : a2 }) || (s2 = Ne.Invalid);
              }
            }
            return s2;
          }(e3, t3, u2, 0, r2, d2), number: (t3, o2, a2) => function(e3, t4, o3, a3) {
            const { minimum: n2, maximum: p3, enum: d3 } = t4;
            return r(e3) ? d3 && !i(e3, d3) ? (o3(ue({ value: e3, enum: d3, ...a3 }), { ...a3, value: e3 }), Ne.Invalid) : r(n2) && l(e3, n2) || r(p3) && s(e3, p3) ? (o3(pe({ value: e3, minimum: n2, maximum: p3, ...a3 }), { ...a3, value: e3 }), Ne.Invalid) : Ne.Valid : Ne.InvalidType;
          }(t3, o2, e2, a2), integer: (t3, r2, o2) => ge(t3, r2, e2, o2), string: (t3, r2, a2) => function(e3, t4, r3, a3) {
            const { minLength: n2, maxLength: p3, enum: d3, pattern: u3 } = t4;
            return o(e3) ? d3 && !i(e3, d3) ? (r3(ue({ value: e3, enum: d3, ...a3 }), { ...a3, value: e3 }), Ne.Invalid) : n2 && l(e3.length, n2) || p3 && s(e3.length, p3) ? (r3(le({ value: e3, minimum: n2, maximum: p3, ...a3 }), { ...a3, value: e3 }), Ne.Invalid) : u3 && !new RegExp(u3).test(e3) ? (r3(ce({ value: e3, ...a3 }), { ...a3, value: e3 }), Ne.Invalid) : Ne.Valid : Ne.InvalidType;
          }(t3, r2, e2, a2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? Ne.Valid : Ne.InvalidType;
          }(e3), date: (e3) => ve(e3), nil: (e3) => function(e4) {
            return n(e4) ? Ne.Valid : Ne.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? Ne.Valid : Ne.InvalidType;
          }(e3) };
          return function(e3, t3, r2) {
            return u2(e3, t3, { functionName: r2, propertyName: r2, index: void 0 });
          };
        }
        function we(e2, { suppressIndexErrors: t2 = false } = {}) {
          return xe({ reportError: h, reportWarning: g }, e2, { suppressIndexErrors: t2 });
        }
        function $e(e2, t2, r2 = {}) {
          return (o2) => {
            const a2 = e2(o2), n2 = we(o2.metaData.role), i2 = we(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(a2, s2), p2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? p2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, n3 = r2[s2];
                let p3 = true;
                return a3 && (p3 = i2(e4, { type: ["array"], items: a3 }, s2)), p3 && n3 && (p3 = n3.every((t3) => t3(e4, o2))), p3 ? l2.value(...e4) : void 0;
              } : p2.value = l2.value : (l2.get && (p2.get = () => a2[s2]), l2.set && (p2.set = (e4) => {
                const i3 = r2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = n2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, o2))), l3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, p2), e3;
            }, {});
          };
        }
        const Ae = "click", Ie = "dblClick", Ce = "mouseenter", ke = "mouseleave", Se = "change", Oe = "blur", Te = "focus", Pe = "imageChanged", je = "imageExpanded", Ee = "onInput", Le = "itemClicked", Ve = "cellSelect", Re = "cellEdit", De = "rowSelect", Be = "fetchData", Me = "dataChange", Fe = "onTimeout", qe = "onVerified", We = "onError", He = "onPlay", Ke = "onPause", Ge = "onProgress", Ue = "onEnded", _e = "autoplayOff", Ye = "autoplayOn", Xe = "playEnded", ze = "playProgress", Je = "keyPress", Ze = "keyUp", Qe = "keyDown", et = "screenIn", tt = "viewportEnter", rt = "viewportLeave", ot = "scroll", at = "validate", nt = "setCustomValidity", it = "syncValidationData", st = "updateValidityIndication", lt = "message", pt = "uploadComplete", dt = "itemReady", ut = "itemRemoved", ct = "tagClick", mt = "quickActionBarItemClicked", ft = "markerClicked", yt = "mapClicked", bt = "iconMouseIn", ht = "onStateChange", gt = "itemMouseIn", vt = "itemMouseOut", Nt = "itemMouseClick", xt = "itemMouseDblClick", wt = "onColorChange", $t = "onFontChange", At = "onOpacityChange", It = { [Ae]: "onClick", [Ie]: "onDblClick", [Ce]: "onMouseIn", [ke]: "onMouseOut", [Se]: "onChange", [Ee]: "onInput", [Oe]: "onBlur", [Te]: "onFocus", [Pe]: "onCurrentItemChanged", [je]: void 0, [Le]: "onItemClicked", [Ve]: "onCellSelect", [Re]: void 0, [De]: "onRowSelect", [Be]: void 0, [Me]: "onDataChange", [Fe]: "onTimeout", [qe]: "onVerified", [We]: "onError", [He]: "onPlay", [Ke]: "onPause", [Ge]: "onProgress", [Ue]: "onEnded", [_e]: "onPause", [Ye]: "onPlay", [Xe]: void 0, [ze]: void 0, [Je]: "onKeyPress", [Ze]: "onKeyUp", [Qe]: "onKeyDown", [et]: void 0, [tt]: "onViewportEnter", [rt]: "onViewportLeave", [ot]: void 0, [at]: void 0, [nt]: void 0, [it]: void 0, [st]: void 0, [lt]: "onMessage", [pt]: void 0, [dt]: "onItemReady", [ut]: "onItemRemoved", [ct]: void 0, [mt]: "onItemClicked", [ft]: "onMarkerClicked", [yt]: "onMapClicked", [bt]: void 0, [ht]: "onStateChange", [gt]: "onItemMouseIn", [vt]: "onItemMouseOut", [Nt]: "onItemClick", [xt]: "onItemDblClick", [wt]: "onColorChange", [$t]: "onFontChange", [At]: "onOpacityChange" }, Ct = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, kt = (e2) => {
          const { target: t2, type: r2, context: o2 } = e2;
          return { target: t2, type: Ct[r2] ?? r2, context: o2 };
        }, St = (e2) => {
          const { clientX: t2, clientY: r2, pageX: o2, pageY: a2, screenX: n2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: p2 } = s2;
          return { clientX: t2, clientY: r2, pageX: o2, pageY: a2, screenX: n2, screenY: i2, offsetX: l2, offsetY: p2 };
        }, Ot = (e2) => {
          const { altKey: t2, ctrlKey: r2, key: o2, metaKey: a2, shiftKey: n2 } = e2;
          return { key: o2, altKey: t2, ctrlKey: r2, metaKey: a2, shiftKey: n2 };
        }, Tt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Pt = (e2) => e2.replace(/^on/i, ""), jt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Et = (e2, t2, r2, o2) => {
          const { create$w: a2, createEvent: n2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, r3) => we(r3)(e3, { type: ["function"] }, t3))(r2, Tt[e2] ?? e2, l2.role)) return s2();
          const [p2, d2] = jt(t2), u2 = i2(e2, (e3, t3) => {
            const i3 = n2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: i3.context }), l3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            r2({ ...kt(i3), ...l3 }, s3);
          }), c2 = { eventName: e2, compId: l2.compId, cb: r2, unregister: u2 };
          return d2({ listeners: [...p2.listeners, c2] }), s2();
        }, Lt = (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = Object.entries(Tt).find(([t4, r3]) => Pt(r3.toLowerCase()) === Pt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(It[t2] ?? t2);
          return e2.toLowerCase() === r2.toLowerCase();
        }, Vt = (e2, t2, r2, o2) => Et(e2, t2, r2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...St(e3), ...t3 && o2?.(t3) }));
        function Rt(e2, t2) {
          const { modifyAriaSourceKeys: r2 } = t2 ?? {};
          return (t3) => {
            const o2 = {};
            for (let n2 = 0; n2 < e2.length; n2++) {
              const i2 = e2[n2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], n3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(o2, r2 && n3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, n3);
              }
            }
            var a2;
            return o2;
          };
        }
        const Dt = ({ handlers: e2, metaData: t2 }) => {
          const { compId: r2, connection: o2, compType: a2, isGlobal: n2, getParent: i2, role: s2, wixCodeId: l2 } = t2, p2 = `$w.${a2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return r2;
          }, get parent() {
            return i2();
          }, get global() {
            return n2();
          }, get type() {
            return p2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(r2, t3));
          }, toJSON() {
            return { id: s2, type: p2, global: n2() };
          } };
        }, Bt = (e2) => (t2) => {
          const { metaData: r2, getSdkInstance: o2, create$w: a2, createEvent: n2 } = t2, i2 = (e3, t3) => we(r2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (r3) => i2(r3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = n2({ type: "viewportEnter" }), t3 = a2();
            r3(e3, t3);
          }), Et("onViewportEnter", t2, r3)) : o2(), onViewportLeave: (r3) => i2(r3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = n2({ type: "viewportLeave" }), t3 = a2();
            r3(e3, t3);
          }), Et("onViewportLeave", t2, r3)) : o2() };
        }, Mt = { duration: 1200, delay: 0 }, Ft = { arc: { ...Mt, direction: "left" }, bounce: { ...Mt, direction: "topLeft", intensity: "medium" }, puff: { ...Mt }, zoom: { ...Mt }, fade: { ...Mt }, flip: { ...Mt, direction: "right" }, float: { ...Mt, direction: "right" }, fly: { ...Mt, direction: "right" }, fold: { ...Mt, direction: "left" }, glide: { ...Mt, angle: 0, distance: 0 }, roll: { ...Mt, direction: "left" }, slide: { ...Mt, direction: "left" }, spin: { ...Mt, direction: "cw", cycles: 5 }, turn: { ...Mt, direction: "right" }, ArcIn: { ...Mt, direction: "right" }, ArcOut: { ...Mt, direction: "right" }, BounceIn: { ...Mt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Mt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Mt, direction: "right" }, CollapseOut: { ...Mt }, Conceal: { ...Mt, direction: "right" }, Reveal: { ...Mt, direction: "left" }, FadeIn: { ...Mt }, FadeOut: { ...Mt }, FlipIn: { ...Mt, direction: "left" }, FlipOut: { ...Mt, direction: "left" }, FloatIn: { ...Mt, direction: "right" }, FloatOut: { ...Mt, direction: "right" }, FlyIn: { ...Mt, direction: "right" }, FlyOut: { ...Mt, direction: "right" }, FoldIn: { ...Mt, direction: "left" }, FoldOut: { ...Mt, direction: "left" }, GlideIn: { ...Mt, angle: 0, distance: 150 }, GlideOut: { ...Mt, angle: 0, distance: 150 }, DropIn: { ...Mt }, PopOut: { ...Mt }, SlideIn: { ...Mt, direction: "left" }, SlideOut: { ...Mt, direction: "left" }, SpinIn: { ...Mt, direction: "cw", cycles: 2 }, SpinOut: { ...Mt, direction: "cw", cycles: 2 }, TurnIn: { ...Mt, direction: "right" }, TurnOut: { ...Mt, direction: "right" } }, qt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Wt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Ht = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Kt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Gt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Ut = { arc: { type: ["object"], properties: { duration: Ht, delay: Kt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Ht, delay: Kt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Ht, delay: Kt } }, zoom: { type: ["object"], properties: { duration: Ht, delay: Kt } }, fade: { type: ["object"], properties: { duration: Ht, delay: Kt } }, flip: { type: ["object"], properties: { duration: Ht, delay: Kt, direction: Gt } }, float: { type: ["object"], properties: { duration: Ht, delay: Kt, direction: Gt } }, fly: { type: ["object"], properties: { duration: Ht, delay: Kt, direction: Gt } }, fold: { type: ["object"], properties: { duration: Ht, delay: Kt, direction: Gt } }, glide: { type: ["object"], properties: { duration: Ht, delay: Kt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Ht, delay: Kt, direction: Gt } }, slide: { type: ["object"], properties: { duration: Ht, delay: Kt, direction: Gt } }, spin: { type: ["object"], properties: { duration: Ht, delay: Kt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Ht, delay: Kt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, _t = ({ propertyName: e2, compName: t2 }) => (r2, o2) => {
          if (!r2) return false;
          if (void 0 === o2) return true;
          const a2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (o3, a3) => {
            g(A({ propertyName: t3, compName: r3, effectName: e3, wrongValue: `${a3?.value}`, infoLink: Wt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          if (!xe({ reportError: a2, reportWarning: () => ({}) }, t2)(o2, { type: ["object"] }, e2)) return false;
          const n2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (o3, a3) => {
            g(w({ propertyName: t3, compName: r3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: Wt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          return !!xe({ reportError: n2, reportWarning: () => ({}) }, t2)(o2, Ut[r2], e2);
        }, Yt = (e2) => 0 === Object.keys(e2).length, Xt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: r2, portal: o2, metaData: a2, getSdkInstance: n2, runAnimation: i2, createSdkState: s2, styleUtils: l2, setProps: p2 }) => {
          const d2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: r3, propertyName: o3 }) => {
            const a3 = _t({ propertyName: o3, compName: e3 });
            if (!t3 && !r3) return false;
            if (!t3 && r3 && !Yt(r3)) return g(x({ propertyName: o3, compName: e3, infoLink: Wt(o3) })), false;
            const n3 = "hide" === o3 ? "HIDE" : "SHOW", i3 = qt[n3]?.deprecatedValues;
            return t3 && r3 && i3 && i3.find((e4) => e4 === t3) && !Yt(r3) ? (g($({ compName: e3, effectName: t3, propertyName: o3, infoLink: Wt(o3) })), false) : !!i3.find((e4) => e4 === t3) || (t3 && !(t3 in Ut) ? (g(N({ propertyName: o3, compName: e3, effectName: t3, infoLink: Wt(o3) })), false) : !!a3(t3, r3));
          })({ compName: a2.role }), [u2, c2] = s2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (a3, n3) => {
            if (p2({ hidden: true }), u2.collapsed || u2.hidden) c2({ hidden: true });
            else {
              if (d2({ effectName: a3, effectOptions: n3, propertyName: "hide" })) {
                const e3 = { animationDirection: qt.HIDE.suffix, effectName: a3, effectOptions: { ...Ft?.[a3] || Mt, ...n3 } };
                await Promise.all([i2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else r2(l2.getHiddenStyles()), t2 && o2.setStyles(l2.getHiddenStyles());
              c2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (a3, n3) => {
            if (p2({ hidden: false }), !u2.collapsed && u2.hidden) {
              if (d2({ effectName: a3, effectOptions: n3, propertyName: "show" })) {
                const e3 = { animationDirection: qt.SHOW.suffix, effectName: a3, effectOptions: { ...Ft?.[a3] || Mt, ...n3 } };
                await Promise.all([i2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else r2(l2.getShownStyles()), t2 && o2.setStyles(l2.getShownStyles());
              c2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else c2({ hidden: false });
          }, collapse: async () => {
            p2({ collapsed: true }), u2.collapsed || (r2(l2.getCollapsedStyles()), t2 && o2.setStyles(l2.getCollapsedStyles()), c2({ collapsed: true }), u2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (p2({ collapsed: false }), u2.collapsed) {
              const a3 = { ...l2.getExpandedStyles(), visibility: u2.hidden ? "hidden" : null };
              r2(a3), t2 && o2.setStyles(a3), c2({ collapsed: false }), u2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return u2.collapsed;
          }, get hidden() {
            return Boolean(u2.hidden);
          }, get isVisible() {
            if (!a2.isRendered()) return false;
            let e3 = n2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, zt = (e2) => (t2) => ((e3, t3 = false) => {
          const [r2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Rt([Xt({ viewportState: r2, hasPortal: t3 }), Bt((e4, t4) => {
            o2({ [e4]: [...r2[e4], t4] });
          })])(e3);
        })(t2, e2), Jt = (e2, t2, r2) => {
          const o2 = t2.filter((t3) => !e2.includes(t3));
          o2.length && h(ee({ functionName: r2, wrongEffects: o2, allowedEffects: e2 }));
        }, Zt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (r2) => {
            Jt(t2(), r2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...r2);
          }, removeEffects: (r2) => {
            Jt(t2(), r2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...r2);
          }, toggleEffects: (r2) => {
            Jt(t2(), r2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...r2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Qt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), er = (e2, t2) => "string" != typeof e2 ? (tr(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (or(e2, t2), false), tr = (e2, t2, r2, o2) => {
          h(J({ propertyName: e2, functionName: t2, value: r2, expectedType: o2 }));
        }, rr = (e2, t2) => {
          h(S({ propertyName: e2, functionName: t2 }));
        }, or = (e2, t2) => {
          h(ae({ propertyName: e2, functionName: t2 }));
        }, ar = (e2) => {
          const { setProps: t2, props: r2 } = e2;
          return { customClassList: { get value() {
            return r2.customClassNames ? r2.customClassNames?.join(" ") : "";
          }, values() {
            return r2.customClassNames ? r2.customClassNames : [];
          }, add(...e3) {
            const o2 = r2.customClassNames ? new Set(r2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!er(t3, "customClassList.add")) return;
                o2.add(t3);
              }
              t2({ customClassNames: Array.from(o2) });
            } else rr("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void rr("className", "customClassList.remove");
            const o2 = new Set(r2.customClassNames);
            for (const t3 of e3) {
              if (!er(t3, "customClassList.remove")) return;
              o2.delete(t3);
            }
            t2({ customClassNames: Array.from(o2) });
          }, contains(e3) {
            if (e3) return er(e3, "customClassList.contains") ? !!r2.customClassNames && r2.customClassNames.includes(e3) : void 0;
            rr("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!er(t3, "customClassList.replace") || !er(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (h(O({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!er(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (rr("className", "customClassList.toggle"), false);
          } } };
        }, nr = ({ role: e2, compType: t2, isGlobal: r2, isRendered: o2 }) => ({ id: e2, type: `$w.${t2}`, global: r2(), rendered: o2() }), ir = (e2) => ({ onMouseIn: (t2) => Vt("onMouseEnter", e2, t2), onMouseOut: (t2) => Vt("onMouseLeave", e2, t2), removeEventHandler: (t2, r2) => {
          const { getSdkInstance: o2 } = e2;
          return "string" != typeof t2 ? (h(J({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), o2()) : "function" != typeof r2 ? (h(J({ propertyName: "handler", functionName: "removeEventHandler", value: r2, expectedType: "function" })), o2()) : ((e3, t3, r3) => {
            const { metaData: o3, getSdkInstance: a2 } = t3, [n2, i2] = jt(t3), s2 = n2.listeners.filter((t4) => Lt(t4.eventName, e3) && t4.cb === r3 && t4.compId === o3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: n2.listeners.filter((e4) => !s2.includes(e4)) }), a2();
          })(t2, e2, r2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return nr(e2.metaData);
        } }), sr = Bt(), lr = (Rt([Dt, sr, ir, Zt, ar]), (e2) => r(e2) && isFinite(e2) ? e2.toString() : e2), pr = (e2) => o(e2) ? e2 : "", dr = (e2) => (t2) => e2 ? t2.substr(0, e2) : t2, ur = (e2) => ({ onChange: (t2) => Et("onChange", e2, t2) }), cr = (e2, t2, r2) => (o2) => {
          const { setProps: a2, props: n2, metaData: i2 } = o2, s2 = we(i2.role);
          return { get value() {
            return n2.value;
          }, set value(n3) {
            const i3 = e2(n3, o2);
            s2(i3, t2, "value") && (a2({ value: i3 }), r2.validate({ viewerSdkAPI: o2, showValidityIndication: true }));
          } };
        }, mr = { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" };
        function fr(e2) {
          return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e2);
        }
        function yr(e2) {
          return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e2);
        }
        function br(e2) {
          return mr[e2];
        }
        function hr(e2) {
          return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e2) || fr(e2);
        }
        function gr(e2) {
          return yr(e2) || /^#(([a-f0-9]){3}){1,2}$/i.test(e2);
        }
        const vr = (e2) => parseInt(e2.repeat(2 / e2.length), 16), Nr = (e2) => {
          if (!gr(e2)) return;
          const t2 = ((e3) => {
            const t3 = Math.floor((e3.length - 1) / 3);
            return e3.slice(1).match(new RegExp(`.{${t3}}`, "g"));
          })(e2), [r2, o2, a2, n2] = t2.map(vr);
          return [r2, o2, a2, void 0 !== n2 ? $r(n2 / 255) : 1];
        }, xr = (e2) => gr(e2) ? Nr(e2) : hr(e2) ? ((e3) => {
          if (!hr(e3)) return;
          const t2 = e3.substring(e3.indexOf("(")).split(","), r2 = parseInt(t2[0].substring(1).trim(), 10), o2 = parseInt(t2[1].trim(), 10), a2 = parseInt(t2[2].trim(), 10), n2 = t2[3] && parseFloat(t2[3].substring(0, t2[3].length - 1).trim());
          return [r2, o2, a2, void 0 !== n2 ? n2 : 1];
        })(e2) : br(e2) ? Nr(mr[e2]) : void 0, wr = (e2) => {
          const t2 = xr(e2);
          if (t2) return t2[3];
        }, $r = (e2) => Math.round(100 * e2) / 100;
        const Ar = ({ propertyName: e2, cssProperty: t2, supportAlpha: r2 }) => (o2, a2) => function(e3) {
          return gr(e3) || hr(e3) || br(e3);
        }(o2) ? (r2 || Cr({ propertyName: e2, color: o2, api: a2 }), true) : (h(oe({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: a2.metaData.role, exampleFormats: r2 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), Ir = ({ propertyName: e2, cssProperty: t2 }) => (r2, a2) => !!function(e3) {
          if (o(e3)) {
            const t3 = e3.endsWith("px"), r3 = e3.slice(0, e3.length - 2), o2 = /^\d*$/.test(r3);
            return t3 && o2 && parseInt(r3, 10);
          }
          return false;
        }(r2) || (h(re({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: a2.metaData.role, exampleFormat: "1px" })), false), Cr = ({ propertyName: e2, color: t2, api: r2 }) => {
          (yr(t2) || fr(t2)) && g(k({ propertyName: e2, compName: r2.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}` }));
        }, kr = ({ name: e2, prefix: t2 }) => t2 ? `--${t2}-corvid-${e2}` : `--corvid-${e2}`, Sr = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, Or = ["hover", "disabled"], Tr = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
        function Pr(e2) {
          return e2.charAt(0).toUpperCase() + e2.slice(1);
        }
        const jr = (e2) => (t2 = { supportOpacity: true }) => {
          const { prefix: r2, supportOpacity: o2, withoutDefaultValue: a2, supportedStates: n2 = [] } = t2, i2 = (t3, r3 = e2) => {
            const n3 = Ar({ propertyName: e2, cssProperty: o2 ? "rgbaColor" : "rgbColor", supportAlpha: o2 });
            return $e(({ setStyles: n4, sdkData: i3, createSdkState: s3 }) => {
              const l3 = i3?.initialSdkStyles?.[r3], p2 = wr(l3), d2 = a2 ? void 0 : l3, [u2, c2] = s3({ [r3]: d2 }, r3);
              return Object.defineProperty({ reset() {
                c2({ [r3]: d2 }), n4({ [t3]: void 0 });
              } }, e2, { enumerable: true, set(e3) {
                let a3 = e3;
                if (!o2 && (yr(e3) || fr(e3))) {
                  const [t4, r4, o3] = xr(e3);
                  a3 = `rgb(${t4}, ${r4}, ${o3})`;
                }
                if ("number" == typeof p2 && 1 !== p2) {
                  const t4 = wr(e3);
                  a3 = ((e4, t5) => {
                    const r4 = xr(e4);
                    if (r4) {
                      const [e5, o3, a4] = r4;
                      return `rgba(${e5}, ${o3}, ${a4}, ${t5})`;
                    }
                  })(a3, Number.isFinite(t4) ? $r(p2 * t4) : p2);
                }
                c2({ [r3]: a3 }), n4({ [t3]: a3 });
              }, get() {
                return u2[r3];
              } });
            }, { properties: { [e2]: { type: ["string", "nil"] } } }, { [e2]: [n3] });
          }, s2 = n2.map((t3) => $e((o3) => {
            const a3 = i2(kr({ name: Tr[t3][e2], prefix: r2 }), t3 + Pr(e2))(o3);
            return { [t3]: a3 };
          }, { properties: { [t3]: { type: ["object", "nil"] } } })), l2 = i2(kr({ name: Sr[e2], prefix: r2 }));
          return (e3) => Object.assign(l2(e3), s2.reduce((t3, r3) => Object.assign(t3, r3(e3)), {}));
        }, Er = jr("backgroundColor"), Lr = jr("borderColor"), Vr = "textColor", Rr = "color", Dr = jr("fillColor"), Br = jr("strokeColor"), Mr = jr("iconColor"), Fr = "reset";
        function qr(...e2) {
          const t2 = (r2 = Fr, (...e3) => {
            const t3 = {}, o2 = { [r2](e4) {
              if ("function" == typeof t3[e4]) return t3[e4](e4);
            } };
            return e3.forEach((e4) => {
              Object.keys(e4).filter((e5) => e5 !== r2).map((t4) => ({ key: t4, descriptor: Object.getOwnPropertyDescriptor(e4, t4) })).forEach(({ key: a2, descriptor: n2 }) => {
                "function" == typeof e4[r2] && (t3[a2] = e4[r2]), Object.defineProperty(o2, a2, n2);
              });
            }), o2;
          });
          var r2;
          return (r3) => {
            const o2 = e2.map((e3) => e3(r3)), a2 = {};
            for (const e3 of Or) o2.some((t3) => e3 in t3) && (a2[e3] = t2(...o2.map((t3) => t3[e3] ?? {})), Object.defineProperty(a2[e3], Fr, { enumerable: false }), o2.forEach((t3) => {
              delete t3[e3];
            }));
            const n2 = t2(...o2);
            return Object.defineProperty(n2, Fr, { enumerable: false }), Object.assign(n2, a2);
          };
        }
        const Wr = { BackgroundColor: Er, BorderColor: Lr, BorderWidth: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = kr({ name: Sr.borderWidth, prefix: t2 });
          return $e(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const n2 = t3?.initialSdkStyles?.borderWidth, [i2, s2] = a2({ borderWidth: r2 ? void 0 : n2 }, "borderWidth");
            return { set borderWidth(t4) {
              s2({ borderWidth: t4 }), e3({ [o2]: t4 });
            }, get borderWidth() {
              return i2.borderWidth;
            }, reset() {
              s2({ borderWidth: n2 }), e3({ [o2]: void 0 });
            } };
          }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [Ir({ propertyName: "borderWidth", cssProperty: "width" })] });
        }, ForegroundColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = kr({ name: Sr.foregroundColor, prefix: t2 });
          return $e(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const [n2, i2] = a2({ foregroundColor: r2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }, "foregroundColor");
            return { set foregroundColor(t4) {
              i2({ foregroundColor: t4 }), e3({ [o2]: t4 });
            }, get foregroundColor() {
              return n2.foregroundColor;
            }, reset() {
              i2({ foregroundColor: r2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }), e3({ [o2]: void 0 });
            } };
          }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [Ar({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
        }, BorderRadius: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = kr({ name: Sr.borderRadius, prefix: t2 });
          return $e(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const n2 = t3?.initialSdkStyles?.borderRadius, [i2, s2] = a2({ borderRadius: r2 ? void 0 : n2 }, "borderRadius");
            return { set borderRadius(t4) {
              s2({ borderRadius: t4 }), e3({ [o2]: t4 });
            }, get borderRadius() {
              return i2.borderRadius;
            }, reset() {
              s2({ borderRadius: n2 }), e3({ [o2]: void 0 });
            } };
          }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [Ir({ propertyName: "borderRadius", cssProperty: "radius" })] });
        }, TextColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2, supportedStates: o2 = [] } = e2, a2 = (e3, t3 = Vr, o3 = Rr) => $e(({ setStyles: a3, sdkData: n3, createSdkState: i3 }) => {
            const s2 = n3?.initialSdkStyles?.[o3], l2 = r2 ? void 0 : s2, [p2, d2] = i3({ [t3]: l2 }, t3);
            return { set color(r3) {
              let o4 = r3;
              if (yr(r3) || fr(r3)) {
                const [e4, t4, a4] = xr(r3);
                o4 = `rgb(${e4}, ${t4}, ${a4})`;
              }
              d2({ [t3]: o4 }), a3({ [e3]: o4 });
            }, get color() {
              return p2[t3];
            }, reset() {
              d2({ [t3]: l2 }), a3({ [e3]: void 0 });
            } };
          }, { properties: { color: { type: ["string", "nil"] } } }, { color: [Ar({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), n2 = o2.map((e3) => $e((r3) => {
            const o3 = a2(kr({ name: Tr[e3].textColor, prefix: t2 }), ((e4) => e4 + Pr(Vr))(e3), ((e4) => e4 + Pr(Rr))(e3))(r3);
            return { [e3]: o3 };
          }, { properties: { [e3]: { type: ["object", "nil"] } } })), i2 = a2(kr({ name: Sr.textColor, prefix: t2 }));
          return (e3) => Object.assign(i2(e3), n2.reduce((t3, r3) => Object.assign(t3, r3(e3)), {}));
        }, FillColor: Dr, StrokeColor: Br, IconColor: Mr }, Hr = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} }, Kr = $e(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: n(r2) ? void 0 : r2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } });
        var Gr;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(Gr || (Gr = {}));
        const Ur = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, _r = (e2) => Yr(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), Yr = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), Xr = (e2, t2, r2, o2, a2) => a2 ? !!r2(a2) || (h(o2), false) : !!t2 || (h(de({ value: a2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), zr = (e2, t2 = true) => (r2) => Xr(e2, t2, Yr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, r2), Jr = (e2, t2 = true) => (r2) => Xr(e2, t2, _r, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, r2), Zr = $e(({ setProps: e2, props: t2, create$w: r2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return r2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [Jr("describedBy")] }), Qr = $e(({ setProps: e2, props: t2, create$w: r2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return r2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [Jr("labelledBy")] }), eo = $e(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), to = $e(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), ro = $e(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), oo = $e(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), ao = $e(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: n(r2) ? void 0 : r2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), no = $e(({ setProps: e2, props: t2, create$w: r2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return r2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [zr("owns")] }), io = $e(({ setProps: e2, props: t2, create$w: r2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return r2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [zr("controls")] }), so = $e(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: n(r2) ? void 0 : r2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), lo = $e(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: n(r2) ? void 0 : r2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), po = $e(({ setProps: e2, props: t2, create$w: r2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return r2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [Jr("errorMessage")] }), uo = $e(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), co = $e(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), mo = $e(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), fo = $e(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: n(r2) ? void 0 : String(r2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), yo = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(r2) {
          null === r2 || o(r2) ? e2({ screenReader: { ...t2.screenReader, prefix: r2 } }) : h(Ur("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(r2) {
          null === r2 || o(r2) ? e2({ screenReader: { ...t2.screenReader, suffix: r2 } }) : h(Ur("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(r2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: n(r2) ? void 0 : r2 } });
        } } }), bo = ($e(yo, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), $e(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: n(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), ho = $e(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: n(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), go = { enableAriaLabel: Kr, enableAriaDescribedBy: Zr, enableAriaLabelledBy: Qr, enableAriaAtomic: eo, enableAriaBusy: to, enableAriaCurrent: ro, enableAriaExpanded: oo, enableAriaLive: ao, enableAriaOwns: no, enableAriaControls: io, enableAriaRoleDescription: so, enableAriaRelevant: lo, enableAriaErrorMessage: po, enableAriaHidden: uo, enableAriaPressed: co, enableAriaHaspopup: mo, enableAriaRequired: fo }, vo = { enableScreenReader: yo, enableRole: bo, enableTabIndex: ho }, No = $e(({ setProps: e2, props: t2 }) => ({ get readOnly() {
          return t2.readOnly || false;
        }, set readOnly(t3) {
          e2({ readOnly: t3 });
        } }), { properties: { readOnly: { type: ["boolean"] } } }), xo = $e((e2) => ({ get placeholder() {
          return e2.props.placeholder || "";
        }, set placeholder(t2) {
          const r2 = t2 || "";
          e2.setProps({ placeholder: r2 });
        }, get maxLength() {
          return e2.props.maxLength;
        }, set maxLength(t2) {
          const r2 = null == t2 ? null : t2;
          e2.setProps({ maxLength: r2 });
        }, onKeyPress: (t2) => ((e3, t3, r2, o2) => Et(e3, t3, r2, ({ componentEvent: e4, eventPayload: t4 }) => ({ ...Ot(e4), ...t4 && o2?.(t4) })))("onKeyPress", e2, t2), onInput: (t2) => Et("onInput", e2, t2) }), { properties: { placeholder: { type: ["string", "nil"], warnIfNil: true }, maxLength: { type: ["integer", "nil"], warnIfNil: true, minimum: 0 } } }), wo = $e(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.label || "";
        }, set label(t3) {
          e2({ label: t3 || "" });
        } }), { properties: { label: { type: ["string", "nil"], warnIfNil: true } } });
        const $o = /* @__PURE__ */ ((e2, t2) => {
          const r2 = [];
          return { onValidate: (e3) => r2.push(e3), validate: ({ viewerSdkAPI: o2, showValidityIndication: a2 }) => {
            const { props: n2, metaData: { isRepeaterTemplate: i2 } } = o2;
            if (i2) return;
            const s2 = e2(n2, o2);
            let l2 = s2;
            const p2 = ((e3, t3, r3) => {
              let o3 = "";
              const a3 = (e4) => {
                o3 = e4;
              }, n3 = t3.value;
              return e3 && e3(n3, a3), o3;
            })((({ createSdkState: e3 }) => {
              const [{ customValidators: t3 }] = e3(f, y);
              return (e4, r3) => {
                let o3 = false;
                const a3 = (e5) => {
                  o3 = true, r3(e5);
                };
                for (let r4 = 0; r4 < t3.length && !o3; r4++) t3[r4](e4, a3);
              };
            })(o2), n2);
            p2 && (l2 = ((e3, t3) => c(e3, "customError", t3 || ""))(s2, p2)), r2.forEach((e3) => e3({ viewerSdkAPI: o2, showValidityIndication: a2, validationDataResult: l2 }));
          } };
        })((Ao = [(e2, t2) => !e2.required || e2.value ? t2 : m(t2, "valueMissing")], (e2, t2) => Ao.reduce((r2, o2) => o2(e2, r2, t2), d)));
        var Ao;
        const Io = $e(/* @__PURE__ */ ((e2) => (t2) => ({ get required() {
          return t2.props.required || false;
        }, set required(r2) {
          t2.setProps({ required: r2 }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: r2 });
        } }))($o), { properties: { required: { type: ["boolean"] } } });
        const Co = ((e2) => {
          e2.onValidate(({ viewerSdkAPI: e3, validationDataResult: t2, showValidityIndication: r2 }) => {
            const { setProps: o2, compRef: a2 } = e3, n2 = b(e3), i2 = u(n2), s2 = u(t2), l2 = n2.htmlValidationMessageOverride.key, p2 = t2.htmlValidationMessageOverride.key;
            t2.validity.customError ? i2 !== s2 && a2.setCustomValidity({ type: "message", message: s2 }) : p2 ? (n2.validity.customError || l2 !== p2) && a2.setCustomValidity({ type: "key", key: p2 }) : i2 === s2 && l2 === p2 || a2.setCustomValidity({ type: "message", message: "" });
            const d2 = { isValid: t2.validity.valid, ...r2 && { shouldShowValidityIndication: true } };
            (({ createSdkState: e4 }, t3) => {
              const [, r3] = e4(f, y);
              r3({ validationData: t3 });
            })(e3, t2), o2(d2);
          });
          return $e((t2) => {
            const { setProps: r2, props: o2, registerEvent: a2, metaData: { isRepeaterTemplate: n2 } } = t2;
            return n2 || (a2("validateValue", () => {
              e2.validate({ viewerSdkAPI: t2 });
            }), a2("validateValueAndShowIndication", (r3) => {
              const a3 = { ...o2, ...r3 }, n3 = { ...t2, props: a3 };
              e2.validate({ viewerSdkAPI: n3, showValidityIndication: true });
            }), a2("hideValidityIndication", () => {
              r2({ shouldShowValidityIndication: false });
            }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: false })), { get valid() {
              return b(t2).validity.valid;
            }, get validationMessage() {
              return b(t2).validationMessage;
            }, get validity() {
              return b(t2).validity;
            }, onCustomValidation(r3, o3 = true) {
              (({ createSdkState: e3 }, t3, r4 = true) => {
                const [{ customValidators: o4 }, a3] = e3(f, y);
                a3(r4 ? { customValidators: [t3] } : { customValidators: [...o4, t3] });
              })(t2, r3, o3), e2.validate({ viewerSdkAPI: t2 });
            }, updateValidityIndication() {
              r2({ shouldShowValidityIndication: true });
            }, resetValidityIndication() {
              r2({ shouldShowValidityIndication: false });
            } };
          }, { properties: { onCustomValidation: { type: ["function"], args: [{ type: ["function"] }, { type: ["boolean"] }] } } });
        })($o), ko = $e((e2) => {
          let { props: t2, metaData: r2, createSdkState: o2 } = e2;
          const [a2, n2] = o2({ wrap: "soft" });
          return { get wrap() {
            return a2.wrap;
          }, set wrap(e3) {
            n2({ wrap: e3 });
          }, get type() {
            return "$w.TextBox";
          }, toJSON() {
            const { readOnly: e3, required: o3, value: n3 } = t2;
            return { ...nr(r2), readOnly: e3, required: o3, value: n3, wrap: a2.wrap, type: "$w.TextBox" };
          } };
        }, { properties: { wrap: { type: ["string"], enum: ["soft", "hard"] } } }), So = ((e2, t2, r2) => Rt([ur, $e(cr(e2, t2, r2), { properties: {} })]))((e2, t2) => ((e3) => {
          let { maxLength: t3 } = e3;
          return r2 = [lr, pr, dr(t3)], (e4) => r2.reduce((e5, t4) => t4(e5), e4);
          var r2;
        })(t2.props)(e2), { type: ["string"] }, $o), Oo = (Po = { BackgroundColor: true, BorderColor: true, BorderWidth: true, BorderRadius: true, TextColor: true }, $e((To = qr(...Object.keys(Po).filter((e2) => Po[e2]).map((e2) => {
          const t2 = "boolean" != typeof Po[e2] ? Po[e2] : Hr[e2];
          return Wr[e2]({ prefix: jo?.cssVarPrefix, withoutDefaultValue: t2.withoutDefaultValue, supportOpacity: t2.supportOpacity, supportedStates: t2.supportedStates });
        })), (e2) => {
          const t2 = To(e2);
          return t2.removeProperty = (e3) => {
            const [r2, o2] = e3.includes(".") ? e3.split(".").reverse() : [e3, void 0];
            if (!o2 && !(r2 in t2) || o2 && !(r2 in (t2[o2] ?? {}))) {
              const r3 = Object.keys(t2).filter((e4) => "removeProperty" !== e4);
              return void h(ue({ functionName: "removeProperty", propertyName: "propertyName", value: e3, enum: r3, index: void 0 }));
            }
            const a2 = o2 ? t2[o2] : t2;
            a2[Fr]?.(r2);
          }, { get style() {
            return t2;
          } };
        }), { properties: { style: { type: ["object"] } } }));
        var To, Po, jo;
        const Eo = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Rt([Dt, ir, Zt, Qt, e2 ? zt(t2) : sr, ar]))(), Lo = (({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: o2 = false, enableAriaBusy: a2 = false, enableAriaHidden: n2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: p2 = false, enableAriaLive: d2 = false, enableAriaOwns: u2 = false, enableAriaControls: c2 = false, enableAriaRoleDescription: m2 = false, enableAriaRelevant: f2 = false, enableRole: y2 = false, enableTabIndex: b2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: g2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
          const x2 = [], w2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: r2, enableAriaAtomic: o2, enableAriaBusy: a2, enableAriaCurrent: l2, enableAriaExpanded: p2, enableAriaLive: d2, enableAriaOwns: u2, enableAriaControls: c2, enableAriaRoleDescription: m2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: n2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, $2 = { enableScreenReader: g2, enableRole: y2, enableTabIndex: b2 };
          if (Object.values(w2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, r3]) => r3 && go[e5] && t3.push(go[e5])), (e5) => {
                const r3 = Rt(t3, { modifyAriaSourceKeys: true })(e5);
                return r3.ariaAttributes = Rt(t3)(e5), r3;
              };
            })(w2);
            x2.push(e3);
          }
          Object.entries($2).forEach(([e3, t3]) => t3 && vo[e3] && x2.push(vo[e3]));
          return { accessibility: Rt(x2)(N2) };
        })({ enableAriaLabel: true, enableAriaLabelledBy: true, enableAriaDescribedBy: true, enableAriaControls: true, enableAriaOwns: true, enableAriaLive: true, enableAriaAtomic: true, enableAriaRelevant: true, enableAriaHaspopup: true, enableAriaErrorMessage: true, enableTabIndex: true }), Vo = Rt([Eo, Io, Co, No, xo, (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => Et("onFocus", e2, t2), onBlur: (t2) => Et("onBlur", e2, t2) }), So, ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), (e2) => ({ onClick: (t2) => Vt("onClick", e2, t2), onDblClick: (t2) => Vt("onDblClick", e2, t2) }), Oo, wo, Lo, ko, (e2) => ({ onKeyUp: (t2) => Et("onKeyUp", e2, t2) }), (e2) => ({ onKeyDown: (t2) => Et("onKeyDown", e2, t2) })]);
        var Ro = { factory: Vo };
        return t;
      }();
    });
  })(TextAreaInput_bundle_min);
  var TextAreaInput_bundle_minExports = TextAreaInput_bundle_min.exports;
  const TextAreaInput = /* @__PURE__ */ getDefaultExportFromCjs(TextAreaInput_bundle_minExports);
  var TextInput_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, r2) {
          for (var o2 in r2) e.o(r2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: r2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { accessibilityPropsSDKFactory: function() {
          return Go;
        }, default: function() {
          return Yo;
        }, sdk: function() {
          return Xo;
        } });
        const r = /^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;
        function o(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function a(e2) {
          return "string" == typeof e2;
        }
        function n(e2) {
          return Array.isArray(e2);
        }
        function i(e2) {
          return Number.isInteger(e2);
        }
        function s(e2) {
          return null == e2;
        }
        function l(e2, t2) {
          return t2.includes(e2);
        }
        function p(e2, t2) {
          return e2 > t2;
        }
        function d(e2, t2) {
          return e2 < t2;
        }
        const u = { valueMissing: "value missing", patternMismatch: "pattern mismatch", rangeOverflow: "range overflow", rangeUnderflow: "range underflow", stepMismatch: "step mismatch", typeMismatch: "type mismatch", fileNotUploaded: "file not uploaded", fileTypeNotAllowed: (e2) => `${e2} files are not supported.`, fileSizeExceedsLimit: (e2) => `This file is too big. Select a smaller file (${e2} max).`, tooLong: "too long", tooShort: "too short", exceedsFilesLimit: "number of files selected exceeds the limit", invalidTime: "invalid time", invalidDate: "invalid date" }, c = { type: "General", validity: { badInput: false, customError: false, fileNotUploaded: false, fileTypeNotAllowed: false, fileSizeExceedsLimit: false, patternMismatch: false, rangeOverflow: false, rangeUnderflow: false, stepMismatch: false, tooLong: false, tooShort: false, typeMismatch: false, valueMissing: false, exceedsFilesLimit: false, valid: true, invalidTime: false, invalidDate: false }, validationMessage: "", htmlValidationMessageOverride: { key: "" } }, m = (e2) => !!e2.validity.customError ? e2.validationMessage : "", f = (e2, t2, r2) => ({ ...e2, validity: { ...e2.validity, [t2]: true, valid: false }, validationMessage: r2 }), y = (e2, t2, r2) => {
          const o2 = e2.validationMessage || r2 || ((e3, t3) => {
            const r3 = u[e3];
            return a(r3) ? r3 : r3(t3);
          })(t2);
          return f(e2, t2, o2);
        }, b = (e2, t2, r2) => {
          const o2 = e2.htmlValidationMessageOverride.key ? e2.htmlValidationMessageOverride : r2;
          return { ...y(e2, t2), htmlValidationMessageOverride: o2 };
        }, h = (e2) => (t2, r2) => e2.reduce((e3, o2) => o2(t2, e3, r2), c), g = { validationData: c, customValidators: [() => {
        }] }, v = "validation", N = ({ createSdkState: e2 }) => {
          const [t2] = e2(g, v);
          return t2.validationData;
        }, x = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, w = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, $ = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, A = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, I = ({ propertyName: e2, compName: t2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, k = ({ propertyName: e2, compName: t2, effectName: r2, wrongProperty: o2, wrongValue: a2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${n2}"')`, C = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${o2}"`, S = ({ propertyName: e2, compName: t2, effectName: r2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, O = ({ propertyName: e2, functionName: t2, compName: r2 }) => `The ${e2} parameter of "${r2}" that is passed to the ${t2} method cannot be set to null.`, T = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to null or undefined.`, P = ({ propertyName: e2, compName: t2, infoLink: r2 }) => ` The value of "${e2}" property of "${t2}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${r2}"`, E = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, j = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, L = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is required for ${t2} method.`, V = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, R = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, D = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is not allowed for ${t2} method.`, M = ({ propertyNames: e2, functionName: t2, index: r2 }) => `The following parameters: ${[...e2]} of item at index ${r2} are unknown for ${t2} method.`, B = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${o2} and ${a2}.`, F = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${o2} and ${a2}.`, q = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${o2}.`, _ = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${o2}.`, W = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${o2}.`, K = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${o2}.`, U = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${o2}.`, z = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${o2} and ${a2}.`, G = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, maximum: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${o2} and ${a2}.`, X = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${o2}.`, Y = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${o2}.`, Z = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${o2}.`, J = ({ propertyName: e2, functionName: t2, value: r2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${o2}.`, Q = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${o2}.`, ee = ({ propertyName: e2, functionName: t2, value: r2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${o2}.`, te = ({ propertyName: e2, functionName: t2, value: r2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${o2}.`, re = ({ propertyName: e2, functionName: t2, value: r2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${o2}.`, oe = ({ propertyName: e2, functionName: t2, value: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format`, ae = ({ functionName: e2, wrongEffects: t2, allowedEffects: r2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, ne = ({ propertyName: e2, functionName: t2, value: r2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${r2}". Bad format`, ie = ({ propertyName: e2, compName: t2, cssProperty: r2, exampleFormat: o2, infoLink: a2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${r2}" value. The value is expected in the following format:"${o2}". Read more about "${r2}" values: "${a2}"`, se = ({ propertyName: e2, compName: t2, cssProperty: r2, exampleFormats: o2, infoLink: a2 }) => ` The "${e2}" property of "${t2}" was set to an invalid "${r2}" value. The value is expected in one of the following formats:"${o2}". Read more about "${r2}" values: "${a2}"`, le = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, pe = ({ compName: e2, functionName: t2, propertyName: r2, index: a2 }) => o(a2) ? T({ propertyName: r2, functionName: t2, index: a2 }) : e2 ? O({ compName: e2, functionName: t2, propertyName: r2 }) : $({ functionName: t2, propertyName: r2 }), de = ({ functionName: e2, propertyName: t2, index: r2 }) => o(r2) ? L({ functionName: e2, propertyName: t2, index: r2 }) : E({ functionName: e2, propertyName: t2 }), ue = ({ functionName: e2, propertyNames: t2, index: r2 }) => t2 && t2.length > 1 ? o(r2) ? M({ functionName: e2, propertyNames: t2, index: r2 }) : R({ functionName: e2, propertyNames: t2 }) : o(r2) ? D({ functionName: e2, propertyName: t2[0], index: r2 }) : V({ functionName: e2, propertyName: t2[0] }), ce = ({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2, index: i2 }) => n2 && a2 ? n2 === a2 ? o(i2) ? H({ functionName: e2, propertyName: t2, value: r2, expectedValue: n2, index: i2 }) : q({ functionName: e2, propertyName: t2, value: r2, expectedValue: n2 }) : o(i2) ? F({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2, index: i2 }) : B({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2 }) : !n2 && a2 ? o(i2) ? U({ functionName: e2, propertyName: t2, value: r2, maximum: a2, index: i2 }) : K({ functionName: e2, propertyName: t2, value: r2, maximum: a2 }) : o(i2) ? W({ functionName: e2, propertyName: t2, value: r2, minimum: n2, index: i2 }) : _({ functionName: e2, propertyName: t2, value: r2, minimum: n2 }), me = ({ functionName: e2, propertyName: t2, value: r2, minimum: a2, maximum: n2, index: i2 }) => a2 && n2 ? a2 === n2 ? o(i2) ? Y({ functionName: e2, propertyName: t2, expectedValue: a2, value: r2, index: i2 }) : X({ functionName: e2, propertyName: t2, expectedValue: a2, value: r2 }) : o(i2) ? G({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2, index: i2 }) : z({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2 }) : !a2 && n2 ? o(i2) ? ee({ functionName: e2, propertyName: t2, maximum: n2, value: r2, index: i2 }) : Q({ functionName: e2, propertyName: t2, maximum: n2, value: r2 }) : o(i2) ? J({ functionName: e2, propertyName: t2, value: r2, minimum: a2, index: i2 }) : Z({ functionName: e2, propertyName: t2, value: r2, minimum: a2 }), fe = ({ functionName: e2, propertyName: t2, types: r2, value: a2, index: n2 }) => {
          const i2 = r2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return o(n2) ? re({ functionName: e2, index: n2, propertyName: t2, value: a2, expectedType: i2 }) : te({ functionName: e2, propertyName: t2, value: a2, expectedType: i2 });
        }, ye = ({ functionName: e2, propertyName: t2, value: r2, enum: a2, index: n2 }) => {
          const i2 = `from (${a2.join(",")})`;
          return o(n2) ? re({ functionName: e2, propertyName: t2, value: r2, expectedType: i2, index: n2 }) : te({ functionName: e2, propertyName: t2, value: r2, expectedType: i2 });
        }, be = ({ functionName: e2, propertyName: t2, value: r2, index: a2 }) => o(a2) ? ne({ functionName: e2, propertyName: t2, value: r2, index: a2 }) : oe({ functionName: e2, propertyName: t2, value: r2 }), he = Object.prototype.hasOwnProperty, ge = Object.getOwnPropertyNames, ve = () => {
        };
        function Ne(e2, t2, r2, o2, a2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !n(e3);
          }(e2)) return $e.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => Ne(e2, t3, r2, ve, a2, i2)).filter((e3) => e3 === $e.Valid).length ? $e.Valid : $e.Invalid;
          if (t2.required) {
            for (let r3 = 0; r3 < t2.required.length; r3++) if (!he.call(e2, t2.required[r3])) return o2(de({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[r3] }), { ...i2, value: e2 }), $e.Invalid;
          }
          const s2 = ge(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ge(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return o2(ue({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), $e.Invalid;
            }
          }
          for (let o3 = 0; o3 < s2.length; o3++) {
            const a3 = s2[o3];
            if (he.call(e2, a3)) {
              const o4 = t2.properties[a3], n2 = e2[a3];
              if (!r2(n2, o4, { functionName: i2.functionName, index: i2.index, propertyName: a3 })) return $e.Invalid;
            }
          }
          return $e.Valid;
        }
        function xe(e2) {
          return Array.isArray(e2);
        }
        function we(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? $e.Valid : $e.InvalidType;
        }
        const $e = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function Ae({ reportError: e2, reportWarning: t2 }, r2, { suppressIndexErrors: u2 = false } = {}) {
          function c2(o2, a2, n2) {
            a2.warnIfNil && s(o2) && t2(pe({ ...n2, compName: r2 }), { ...n2, value: o2 });
            let i2 = 0;
            for (; i2 < a2.type.length; i2++) {
              const e3 = (0, m2[a2.type[i2]])(o2, a2, n2);
              if (e3 !== $e.InvalidType) return e3 === $e.Valid;
            }
            return i2 === a2.type.length && e2(fe({ value: o2, types: a2.type, ...n2 }), { ...n2, value: o2 }), false;
          }
          const m2 = { object: (r3, o2, a2) => Ne(r3, o2, c2, e2, t2, a2), array: (e3, t3, r3) => function(e4, t4, r4, o2, a2, i2 = false) {
            if (!n(e4)) return $e.InvalidType;
            let s2 = $e.Valid;
            if (t4.items) {
              const o3 = xe(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let n2 = 0; n2 < o3; n2++) {
                const o4 = e4[n2];
                let l2, p2;
                xe(t4.items) ? (l2 = t4.items[n2], p2 = t4.items[n2].name) : (l2 = t4.items, p2 = t4.name), r4(o4, l2, { functionName: a2.functionName, propertyName: p2 || a2.propertyName, index: i2 ? void 0 : n2 }) || (s2 = $e.Invalid);
              }
            }
            return s2;
          }(e3, t3, c2, 0, r3, u2), number: (t3, r3, a2) => function(e3, t4, r4, a3) {
            const { minimum: n2, maximum: i2, enum: s2 } = t4;
            return o(e3) ? s2 && !l(e3, s2) ? (r4(ye({ value: e3, enum: s2, ...a3 }), { ...a3, value: e3 }), $e.Invalid) : o(n2) && d(e3, n2) || o(i2) && p(e3, i2) ? (r4(me({ value: e3, minimum: n2, maximum: i2, ...a3 }), { ...a3, value: e3 }), $e.Invalid) : $e.Valid : $e.InvalidType;
          }(t3, r3, e2, a2), integer: (t3, r3, a2) => function(e3, t4, r4, a3) {
            const { minimum: n2, maximum: s2, enum: u3 } = t4;
            return i(e3) ? u3 && !l(e3, u3) ? (r4(ye({ value: e3, enum: u3, ...a3 }), { ...a3, value: e3 }), $e.Invalid) : o(n2) && d(e3, n2) || o(s2) && p(e3, s2) ? (r4(me({ value: e3, minimum: n2, maximum: s2, ...a3 }), { ...a3, value: e3 }), $e.Invalid) : $e.Valid : $e.InvalidType;
          }(t3, r3, e2, a2), string: (t3, r3, o2) => function(e3, t4, r4, o3) {
            const { minLength: n2, maxLength: i2, enum: s2, pattern: u3 } = t4;
            return a(e3) ? s2 && !l(e3, s2) ? (r4(ye({ value: e3, enum: s2, ...o3 }), { ...o3, value: e3 }), $e.Invalid) : n2 && d(e3.length, n2) || i2 && p(e3.length, i2) ? (r4(ce({ value: e3, minimum: n2, maximum: i2, ...o3 }), { ...o3, value: e3 }), $e.Invalid) : u3 && !new RegExp(u3).test(e3) ? (r4(be({ value: e3, ...o3 }), { ...o3, value: e3 }), $e.Invalid) : $e.Valid : $e.InvalidType;
          }(t3, r3, e2, o2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? $e.Valid : $e.InvalidType;
          }(e3), date: (e3) => we(e3), nil: (e3) => function(e4) {
            return s(e4) ? $e.Valid : $e.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? $e.Valid : $e.InvalidType;
          }(e3) };
          return function(e3, t3, r3) {
            return c2(e3, t3, { functionName: r3, propertyName: r3, index: void 0 });
          };
        }
        function Ie(e2, { suppressIndexErrors: t2 = false } = {}) {
          return Ae({ reportError: x, reportWarning: w }, e2, { suppressIndexErrors: t2 });
        }
        function ke(e2, t2, r2 = {}) {
          return (o2) => {
            const a2 = e2(o2), n2 = Ie(o2.metaData.role), i2 = Ie(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(a2, s2), p2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? p2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, n3 = r2[s2];
                let p3 = true;
                return a3 && (p3 = i2(e4, { type: ["array"], items: a3 }, s2)), p3 && n3 && (p3 = n3.every((t3) => t3(e4, o2))), p3 ? l2.value(...e4) : void 0;
              } : p2.value = l2.value : (l2.get && (p2.get = () => a2[s2]), l2.set && (p2.set = (e4) => {
                const i3 = r2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = n2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, o2))), l3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, p2), e3;
            }, {});
          };
        }
        function Ce(e2, t2) {
          const { modifyAriaSourceKeys: r2 } = t2 ?? {};
          return (t3) => {
            const o2 = {};
            for (let n2 = 0; n2 < e2.length; n2++) {
              const i2 = e2[n2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], n3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(o2, r2 && n3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, n3);
              }
            }
            var a2;
            return o2;
          };
        }
        const Se = "click", Oe = "dblClick", Te = "mouseenter", Pe = "mouseleave", Ee = "change", je = "blur", Le = "focus", Ve = "imageChanged", Re = "imageExpanded", De = "onInput", Me = "itemClicked", Be = "cellSelect", Fe = "cellEdit", qe = "rowSelect", He = "fetchData", _e = "dataChange", We = "onTimeout", Ke = "onVerified", Ue = "onError", ze = "onPlay", Ge = "onPause", Xe = "onProgress", Ye = "onEnded", Ze = "autoplayOff", Je = "autoplayOn", Qe = "playEnded", et = "playProgress", tt = "keyPress", rt = "keyUp", ot = "keyDown", at = "screenIn", nt = "viewportEnter", it = "viewportLeave", st = "scroll", lt = "validate", pt = "setCustomValidity", dt = "syncValidationData", ut = "updateValidityIndication", ct = "message", mt = "uploadComplete", ft = "itemReady", yt = "itemRemoved", bt = "tagClick", ht = "quickActionBarItemClicked", gt = "markerClicked", vt = "mapClicked", Nt = "iconMouseIn", xt = "onStateChange", wt = "itemMouseIn", $t = "itemMouseOut", At = "itemMouseClick", It = "itemMouseDblClick", kt = "onColorChange", Ct = "onFontChange", St = "onOpacityChange", Ot = { [Se]: "onClick", [Oe]: "onDblClick", [Te]: "onMouseIn", [Pe]: "onMouseOut", [Ee]: "onChange", [De]: "onInput", [je]: "onBlur", [Le]: "onFocus", [Ve]: "onCurrentItemChanged", [Re]: void 0, [Me]: "onItemClicked", [Be]: "onCellSelect", [Fe]: void 0, [qe]: "onRowSelect", [He]: void 0, [_e]: "onDataChange", [We]: "onTimeout", [Ke]: "onVerified", [Ue]: "onError", [ze]: "onPlay", [Ge]: "onPause", [Xe]: "onProgress", [Ye]: "onEnded", [Ze]: "onPause", [Je]: "onPlay", [Qe]: void 0, [et]: void 0, [tt]: "onKeyPress", [rt]: "onKeyUp", [ot]: "onKeyDown", [at]: void 0, [nt]: "onViewportEnter", [it]: "onViewportLeave", [st]: void 0, [lt]: void 0, [pt]: void 0, [dt]: void 0, [ut]: void 0, [ct]: "onMessage", [mt]: void 0, [ft]: "onItemReady", [yt]: "onItemRemoved", [bt]: void 0, [ht]: "onItemClicked", [gt]: "onMarkerClicked", [vt]: "onMapClicked", [Nt]: void 0, [xt]: "onStateChange", [wt]: "onItemMouseIn", [$t]: "onItemMouseOut", [At]: "onItemClick", [It]: "onItemDblClick", [kt]: "onColorChange", [Ct]: "onFontChange", [St]: "onOpacityChange" }, Tt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Pt = (e2) => {
          const { target: t2, type: r2, context: o2 } = e2;
          return { target: t2, type: Tt[r2] ?? r2, context: o2 };
        }, Et = (e2) => {
          const { clientX: t2, clientY: r2, pageX: o2, pageY: a2, screenX: n2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: p2 } = s2;
          return { clientX: t2, clientY: r2, pageX: o2, pageY: a2, screenX: n2, screenY: i2, offsetX: l2, offsetY: p2 };
        }, jt = (e2) => {
          const { altKey: t2, ctrlKey: r2, key: o2, metaKey: a2, shiftKey: n2 } = e2;
          return { key: o2, altKey: t2, ctrlKey: r2, metaKey: a2, shiftKey: n2 };
        }, Lt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Vt = (e2) => e2.replace(/^on/i, ""), Rt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Dt = (e2, t2, r2, o2) => {
          const { create$w: a2, createEvent: n2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, r3) => Ie(r3)(e3, { type: ["function"] }, t3))(r2, Lt[e2] ?? e2, l2.role)) return s2();
          const [p2, d2] = Rt(t2), u2 = i2(e2, (e3, t3) => {
            const i3 = n2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: i3.context }), l3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            r2({ ...Pt(i3), ...l3 }, s3);
          }), c2 = { eventName: e2, compId: l2.compId, cb: r2, unregister: u2 };
          return d2({ listeners: [...p2.listeners, c2] }), s2();
        }, Mt = (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = Object.entries(Lt).find(([t4, r3]) => Vt(r3.toLowerCase()) === Vt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(Ot[t2] ?? t2);
          return e2.toLowerCase() === r2.toLowerCase();
        }, Bt = (e2, t2, r2, o2) => Dt(e2, t2, r2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...Et(e3), ...t3 && o2?.(t3) })), Ft = (e2) => ({ onChange: (t2) => Dt("onChange", e2, t2) }), qt = (e2, t2, r2) => (o2) => {
          const { setProps: a2, props: n2, metaData: i2 } = o2, s2 = Ie(i2.role);
          return { get value() {
            return n2.value;
          }, set value(n3) {
            const i3 = e2(n3, o2);
            s2(i3, t2, "value") && (a2({ value: i3 }), r2.validate({ viewerSdkAPI: o2, showValidityIndication: true }));
          } };
        }, Ht = { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" };
        function _t(e2) {
          return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e2);
        }
        function Wt(e2) {
          return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e2);
        }
        function Kt(e2) {
          return Ht[e2];
        }
        function Ut(e2) {
          return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e2) || _t(e2);
        }
        function zt(e2) {
          return Wt(e2) || /^#(([a-f0-9]){3}){1,2}$/i.test(e2);
        }
        const Gt = (e2) => parseInt(e2.repeat(2 / e2.length), 16), Xt = (e2) => {
          if (!zt(e2)) return;
          const t2 = ((e3) => {
            const t3 = Math.floor((e3.length - 1) / 3);
            return e3.slice(1).match(new RegExp(`.{${t3}}`, "g"));
          })(e2), [r2, o2, a2, n2] = t2.map(Gt);
          return [r2, o2, a2, void 0 !== n2 ? Jt(n2 / 255) : 1];
        }, Yt = (e2) => zt(e2) ? Xt(e2) : Ut(e2) ? ((e3) => {
          if (!Ut(e3)) return;
          const t2 = e3.substring(e3.indexOf("(")).split(","), r2 = parseInt(t2[0].substring(1).trim(), 10), o2 = parseInt(t2[1].trim(), 10), a2 = parseInt(t2[2].trim(), 10), n2 = t2[3] && parseFloat(t2[3].substring(0, t2[3].length - 1).trim());
          return [r2, o2, a2, void 0 !== n2 ? n2 : 1];
        })(e2) : Kt(e2) ? Xt(Ht[e2]) : void 0, Zt = (e2) => {
          const t2 = Yt(e2);
          if (t2) return t2[3];
        }, Jt = (e2) => Math.round(100 * e2) / 100;
        const Qt = ({ propertyName: e2, cssProperty: t2, supportAlpha: r2 }) => (o2, a2) => function(e3) {
          return zt(e3) || Ut(e3) || Kt(e3);
        }(o2) ? (r2 || tr({ propertyName: e2, color: o2, api: a2 }), true) : (x(se({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: a2.metaData.role, exampleFormats: r2 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), er = ({ propertyName: e2, cssProperty: t2 }) => (r2, o2) => !!function(e3) {
          if (a(e3)) {
            const t3 = e3.endsWith("px"), r3 = e3.slice(0, e3.length - 2), o3 = /^\d*$/.test(r3);
            return t3 && o3 && parseInt(r3, 10);
          }
          return false;
        }(r2) || (x(ie({ propertyName: e2, cssProperty: t2, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}`, compName: o2.metaData.role, exampleFormat: "1px" })), false), tr = ({ propertyName: e2, color: t2, api: r2 }) => {
          (Wt(t2) || _t(t2)) && w(P({ propertyName: e2, compName: r2.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e2.toLowerCase()}` }));
        }, rr = ({ name: e2, prefix: t2 }) => t2 ? `--${t2}-corvid-${e2}` : `--corvid-${e2}`, or = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, ar = ["hover", "disabled"], nr = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
        function ir(e2) {
          return e2.charAt(0).toUpperCase() + e2.slice(1);
        }
        const sr = (e2) => (t2 = { supportOpacity: true }) => {
          const { prefix: r2, supportOpacity: o2, withoutDefaultValue: a2, supportedStates: n2 = [] } = t2, i2 = (t3, r3 = e2) => {
            const n3 = Qt({ propertyName: e2, cssProperty: o2 ? "rgbaColor" : "rgbColor", supportAlpha: o2 });
            return ke(({ setStyles: n4, sdkData: i3, createSdkState: s3 }) => {
              const l3 = i3?.initialSdkStyles?.[r3], p2 = Zt(l3), d2 = a2 ? void 0 : l3, [u2, c2] = s3({ [r3]: d2 }, r3);
              return Object.defineProperty({ reset() {
                c2({ [r3]: d2 }), n4({ [t3]: void 0 });
              } }, e2, { enumerable: true, set(e3) {
                let a3 = e3;
                if (!o2 && (Wt(e3) || _t(e3))) {
                  const [t4, r4, o3] = Yt(e3);
                  a3 = `rgb(${t4}, ${r4}, ${o3})`;
                }
                if ("number" == typeof p2 && 1 !== p2) {
                  const t4 = Zt(e3);
                  a3 = ((e4, t5) => {
                    const r4 = Yt(e4);
                    if (r4) {
                      const [e5, o3, a4] = r4;
                      return `rgba(${e5}, ${o3}, ${a4}, ${t5})`;
                    }
                  })(a3, Number.isFinite(t4) ? Jt(p2 * t4) : p2);
                }
                c2({ [r3]: a3 }), n4({ [t3]: a3 });
              }, get() {
                return u2[r3];
              } });
            }, { properties: { [e2]: { type: ["string", "nil"] } } }, { [e2]: [n3] });
          }, s2 = n2.map((t3) => ke((o3) => {
            const a3 = i2(rr({ name: nr[t3][e2], prefix: r2 }), t3 + ir(e2))(o3);
            return { [t3]: a3 };
          }, { properties: { [t3]: { type: ["object", "nil"] } } })), l2 = i2(rr({ name: or[e2], prefix: r2 }));
          return (e3) => Object.assign(l2(e3), s2.reduce((t3, r3) => Object.assign(t3, r3(e3)), {}));
        }, lr = sr("backgroundColor"), pr = sr("borderColor"), dr = "textColor", ur = "color", cr = sr("fillColor"), mr = sr("strokeColor"), fr = sr("iconColor"), yr = "reset";
        function br(...e2) {
          const t2 = (r2 = yr, (...e3) => {
            const t3 = {}, o2 = { [r2](e4) {
              if ("function" == typeof t3[e4]) return t3[e4](e4);
            } };
            return e3.forEach((e4) => {
              Object.keys(e4).filter((e5) => e5 !== r2).map((t4) => ({ key: t4, descriptor: Object.getOwnPropertyDescriptor(e4, t4) })).forEach(({ key: a2, descriptor: n2 }) => {
                "function" == typeof e4[r2] && (t3[a2] = e4[r2]), Object.defineProperty(o2, a2, n2);
              });
            }), o2;
          });
          var r2;
          return (r3) => {
            const o2 = e2.map((e3) => e3(r3)), a2 = {};
            for (const e3 of ar) o2.some((t3) => e3 in t3) && (a2[e3] = t2(...o2.map((t3) => t3[e3] ?? {})), Object.defineProperty(a2[e3], yr, { enumerable: false }), o2.forEach((t3) => {
              delete t3[e3];
            }));
            const n2 = t2(...o2);
            return Object.defineProperty(n2, yr, { enumerable: false }), Object.assign(n2, a2);
          };
        }
        const hr = { BackgroundColor: lr, BorderColor: pr, BorderWidth: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = rr({ name: or.borderWidth, prefix: t2 });
          return ke(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const n2 = t3?.initialSdkStyles?.borderWidth, [i2, s2] = a2({ borderWidth: r2 ? void 0 : n2 }, "borderWidth");
            return { set borderWidth(t4) {
              s2({ borderWidth: t4 }), e3({ [o2]: t4 });
            }, get borderWidth() {
              return i2.borderWidth;
            }, reset() {
              s2({ borderWidth: n2 }), e3({ [o2]: void 0 });
            } };
          }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [er({ propertyName: "borderWidth", cssProperty: "width" })] });
        }, ForegroundColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = rr({ name: or.foregroundColor, prefix: t2 });
          return ke(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const [n2, i2] = a2({ foregroundColor: r2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }, "foregroundColor");
            return { set foregroundColor(t4) {
              i2({ foregroundColor: t4 }), e3({ [o2]: t4 });
            }, get foregroundColor() {
              return n2.foregroundColor;
            }, reset() {
              i2({ foregroundColor: r2 ? void 0 : t3?.initialSdkStyles?.foregroundColor }), e3({ [o2]: void 0 });
            } };
          }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [Qt({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
        }, BorderRadius: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2 } = e2, o2 = rr({ name: or.borderRadius, prefix: t2 });
          return ke(({ setStyles: e3, sdkData: t3, createSdkState: a2 }) => {
            const n2 = t3?.initialSdkStyles?.borderRadius, [i2, s2] = a2({ borderRadius: r2 ? void 0 : n2 }, "borderRadius");
            return { set borderRadius(t4) {
              s2({ borderRadius: t4 }), e3({ [o2]: t4 });
            }, get borderRadius() {
              return i2.borderRadius;
            }, reset() {
              s2({ borderRadius: n2 }), e3({ [o2]: void 0 });
            } };
          }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [er({ propertyName: "borderRadius", cssProperty: "radius" })] });
        }, TextColor: (e2 = {}) => {
          const { prefix: t2, withoutDefaultValue: r2, supportedStates: o2 = [] } = e2, a2 = (e3, t3 = dr, o3 = ur) => ke(({ setStyles: a3, sdkData: n3, createSdkState: i3 }) => {
            const s2 = n3?.initialSdkStyles?.[o3], l2 = r2 ? void 0 : s2, [p2, d2] = i3({ [t3]: l2 }, t3);
            return { set color(r3) {
              let o4 = r3;
              if (Wt(r3) || _t(r3)) {
                const [e4, t4, a4] = Yt(r3);
                o4 = `rgb(${e4}, ${t4}, ${a4})`;
              }
              d2({ [t3]: o4 }), a3({ [e3]: o4 });
            }, get color() {
              return p2[t3];
            }, reset() {
              d2({ [t3]: l2 }), a3({ [e3]: void 0 });
            } };
          }, { properties: { color: { type: ["string", "nil"] } } }, { color: [Qt({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), n2 = o2.map((e3) => ke((r3) => {
            const o3 = a2(rr({ name: nr[e3].textColor, prefix: t2 }), ((e4) => e4 + ir(dr))(e3), ((e4) => e4 + ir(ur))(e3))(r3);
            return { [e3]: o3 };
          }, { properties: { [e3]: { type: ["object", "nil"] } } })), i2 = a2(rr({ name: or.textColor, prefix: t2 }));
          return (e3) => Object.assign(i2(e3), n2.reduce((t3, r3) => Object.assign(t3, r3(e3)), {}));
        }, FillColor: cr, StrokeColor: mr, IconColor: fr }, gr = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} }, vr = ({ handlers: e2, metaData: t2 }) => {
          const { compId: r2, connection: o2, compType: a2, isGlobal: n2, getParent: i2, role: s2, wixCodeId: l2 } = t2, p2 = `$w.${a2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return r2;
          }, get parent() {
            return i2();
          }, get global() {
            return n2();
          }, get type() {
            return p2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(r2, t3));
          }, toJSON() {
            return { id: s2, type: p2, global: n2() };
          } };
        }, Nr = (e2) => (t2) => {
          const { metaData: r2, getSdkInstance: o2, create$w: a2, createEvent: n2 } = t2, i2 = (e3, t3) => Ie(r2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (r3) => i2(r3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = n2({ type: "viewportEnter" }), t3 = a2();
            r3(e3, t3);
          }), Dt("onViewportEnter", t2, r3)) : o2(), onViewportLeave: (r3) => i2(r3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = n2({ type: "viewportLeave" }), t3 = a2();
            r3(e3, t3);
          }), Dt("onViewportLeave", t2, r3)) : o2() };
        }, xr = { duration: 1200, delay: 0 }, wr = { arc: { ...xr, direction: "left" }, bounce: { ...xr, direction: "topLeft", intensity: "medium" }, puff: { ...xr }, zoom: { ...xr }, fade: { ...xr }, flip: { ...xr, direction: "right" }, float: { ...xr, direction: "right" }, fly: { ...xr, direction: "right" }, fold: { ...xr, direction: "left" }, glide: { ...xr, angle: 0, distance: 0 }, roll: { ...xr, direction: "left" }, slide: { ...xr, direction: "left" }, spin: { ...xr, direction: "cw", cycles: 5 }, turn: { ...xr, direction: "right" }, ArcIn: { ...xr, direction: "right" }, ArcOut: { ...xr, direction: "right" }, BounceIn: { ...xr, direction: "topLeft", intensity: "medium" }, BounceOut: { ...xr, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...xr, direction: "right" }, CollapseOut: { ...xr }, Conceal: { ...xr, direction: "right" }, Reveal: { ...xr, direction: "left" }, FadeIn: { ...xr }, FadeOut: { ...xr }, FlipIn: { ...xr, direction: "left" }, FlipOut: { ...xr, direction: "left" }, FloatIn: { ...xr, direction: "right" }, FloatOut: { ...xr, direction: "right" }, FlyIn: { ...xr, direction: "right" }, FlyOut: { ...xr, direction: "right" }, FoldIn: { ...xr, direction: "left" }, FoldOut: { ...xr, direction: "left" }, GlideIn: { ...xr, angle: 0, distance: 150 }, GlideOut: { ...xr, angle: 0, distance: 150 }, DropIn: { ...xr }, PopOut: { ...xr }, SlideIn: { ...xr, direction: "left" }, SlideOut: { ...xr, direction: "left" }, SpinIn: { ...xr, direction: "cw", cycles: 2 }, SpinOut: { ...xr, direction: "cw", cycles: 2 }, TurnIn: { ...xr, direction: "right" }, TurnOut: { ...xr, direction: "right" } }, $r = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Ar = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Ir = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, kr = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Cr = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Sr = { arc: { type: ["object"], properties: { duration: Ir, delay: kr, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Ir, delay: kr, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Ir, delay: kr } }, zoom: { type: ["object"], properties: { duration: Ir, delay: kr } }, fade: { type: ["object"], properties: { duration: Ir, delay: kr } }, flip: { type: ["object"], properties: { duration: Ir, delay: kr, direction: Cr } }, float: { type: ["object"], properties: { duration: Ir, delay: kr, direction: Cr } }, fly: { type: ["object"], properties: { duration: Ir, delay: kr, direction: Cr } }, fold: { type: ["object"], properties: { duration: Ir, delay: kr, direction: Cr } }, glide: { type: ["object"], properties: { duration: Ir, delay: kr, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Ir, delay: kr, direction: Cr } }, slide: { type: ["object"], properties: { duration: Ir, delay: kr, direction: Cr } }, spin: { type: ["object"], properties: { duration: Ir, delay: kr, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Ir, delay: kr, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Or = ({ propertyName: e2, compName: t2 }) => (r2, o2) => {
          if (!r2) return false;
          if (void 0 === o2) return true;
          const a2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (o3, a3) => {
            w(S({ propertyName: t3, compName: r3, effectName: e3, wrongValue: `${a3?.value}`, infoLink: Ar(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          if (!Ae({ reportError: a2, reportWarning: () => ({}) }, t2)(o2, { type: ["object"] }, e2)) return false;
          const n2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (o3, a3) => {
            w(k({ propertyName: t3, compName: r3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: Ar(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          return !!Ae({ reportError: n2, reportWarning: () => ({}) }, t2)(o2, Sr[r2], e2);
        }, Tr = (e2) => 0 === Object.keys(e2).length, Pr = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: r2, portal: o2, metaData: a2, getSdkInstance: n2, runAnimation: i2, createSdkState: s2, styleUtils: l2, setProps: p2 }) => {
          const d2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: r3, propertyName: o3 }) => {
            const a3 = Or({ propertyName: o3, compName: e3 });
            if (!t3 && !r3) return false;
            if (!t3 && r3 && !Tr(r3)) return w(I({ propertyName: o3, compName: e3, infoLink: Ar(o3) })), false;
            const n3 = "hide" === o3 ? "HIDE" : "SHOW", i3 = $r[n3]?.deprecatedValues;
            return t3 && r3 && i3 && i3.find((e4) => e4 === t3) && !Tr(r3) ? (w(C({ compName: e3, effectName: t3, propertyName: o3, infoLink: Ar(o3) })), false) : !!i3.find((e4) => e4 === t3) || (t3 && !(t3 in Sr) ? (w(A({ propertyName: o3, compName: e3, effectName: t3, infoLink: Ar(o3) })), false) : !!a3(t3, r3));
          })({ compName: a2.role }), [u2, c2] = s2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (a3, n3) => {
            if (p2({ hidden: true }), u2.collapsed || u2.hidden) c2({ hidden: true });
            else {
              if (d2({ effectName: a3, effectOptions: n3, propertyName: "hide" })) {
                const e3 = { animationDirection: $r.HIDE.suffix, effectName: a3, effectOptions: { ...wr?.[a3] || xr, ...n3 } };
                await Promise.all([i2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else r2(l2.getHiddenStyles()), t2 && o2.setStyles(l2.getHiddenStyles());
              c2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (a3, n3) => {
            if (p2({ hidden: false }), !u2.collapsed && u2.hidden) {
              if (d2({ effectName: a3, effectOptions: n3, propertyName: "show" })) {
                const e3 = { animationDirection: $r.SHOW.suffix, effectName: a3, effectOptions: { ...wr?.[a3] || xr, ...n3 } };
                await Promise.all([i2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else r2(l2.getShownStyles()), t2 && o2.setStyles(l2.getShownStyles());
              c2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else c2({ hidden: false });
          }, collapse: async () => {
            p2({ collapsed: true }), u2.collapsed || (r2(l2.getCollapsedStyles()), t2 && o2.setStyles(l2.getCollapsedStyles()), c2({ collapsed: true }), u2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (p2({ collapsed: false }), u2.collapsed) {
              const a3 = { ...l2.getExpandedStyles(), visibility: u2.hidden ? "hidden" : null };
              r2(a3), t2 && o2.setStyles(a3), c2({ collapsed: false }), u2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return u2.collapsed;
          }, get hidden() {
            return Boolean(u2.hidden);
          }, get isVisible() {
            if (!a2.isRendered()) return false;
            let e3 = n2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Er = (e2) => (t2) => ((e3, t3 = false) => {
          const [r2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Ce([Pr({ viewportState: r2, hasPortal: t3 }), Nr((e4, t4) => {
            o2({ [e4]: [...r2[e4], t4] });
          })])(e3);
        })(t2, e2), jr = (e2, t2, r2) => {
          const o2 = t2.filter((t3) => !e2.includes(t3));
          o2.length && x(ae({ functionName: r2, wrongEffects: o2, allowedEffects: e2 }));
        }, Lr = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (r2) => {
            jr(t2(), r2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...r2);
          }, removeEffects: (r2) => {
            jr(t2(), r2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...r2);
          }, toggleEffects: (r2) => {
            jr(t2(), r2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...r2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Vr = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Rr = (e2, t2) => "string" != typeof e2 ? (Dr(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Br(e2, t2), false), Dr = (e2, t2, r2, o2) => {
          x(te({ propertyName: e2, functionName: t2, value: r2, expectedType: o2 }));
        }, Mr = (e2, t2) => {
          x(E({ propertyName: e2, functionName: t2 }));
        }, Br = (e2, t2) => {
          x(le({ propertyName: e2, functionName: t2 }));
        }, Fr = (e2) => {
          const { setProps: t2, props: r2 } = e2;
          return { customClassList: { get value() {
            return r2.customClassNames ? r2.customClassNames?.join(" ") : "";
          }, values() {
            return r2.customClassNames ? r2.customClassNames : [];
          }, add(...e3) {
            const o2 = r2.customClassNames ? new Set(r2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Rr(t3, "customClassList.add")) return;
                o2.add(t3);
              }
              t2({ customClassNames: Array.from(o2) });
            } else Mr("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Mr("className", "customClassList.remove");
            const o2 = new Set(r2.customClassNames);
            for (const t3 of e3) {
              if (!Rr(t3, "customClassList.remove")) return;
              o2.delete(t3);
            }
            t2({ customClassNames: Array.from(o2) });
          }, contains(e3) {
            if (e3) return Rr(e3, "customClassList.contains") ? !!r2.customClassNames && r2.customClassNames.includes(e3) : void 0;
            Mr("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Rr(t3, "customClassList.replace") || !Rr(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (x(j({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Rr(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Mr("className", "customClassList.toggle"), false);
          } } };
        }, qr = ({ role: e2, compType: t2, isGlobal: r2, isRendered: o2 }) => ({ id: e2, type: `$w.${t2}`, global: r2(), rendered: o2() }), Hr = (e2) => ({ onMouseIn: (t2) => Bt("onMouseEnter", e2, t2), onMouseOut: (t2) => Bt("onMouseLeave", e2, t2), removeEventHandler: (t2, r2) => {
          const { getSdkInstance: o2 } = e2;
          return "string" != typeof t2 ? (x(te({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), o2()) : "function" != typeof r2 ? (x(te({ propertyName: "handler", functionName: "removeEventHandler", value: r2, expectedType: "function" })), o2()) : ((e3, t3, r3) => {
            const { metaData: o3, getSdkInstance: a2 } = t3, [n2, i2] = Rt(t3), s2 = n2.listeners.filter((t4) => Mt(t4.eventName, e3) && t4.cb === r3 && t4.compId === o3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: n2.listeners.filter((e4) => !s2.includes(e4)) }), a2();
          })(t2, e2, r2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return qr(e2.metaData);
        } }), _r = Nr(), Wr = (Ce([vr, _r, Hr, Lr, Fr]), /(\r\n|\n|\r)/gm), Kr = /^-?(\d+|\d+\.\d+|\.\d+)([eE][-+]?\d+)?$/, Ur = (e2) => o(e2) && isFinite(e2) ? e2.toString() : e2, zr = (e2) => a(e2) ? e2 : "", Gr = (e2) => e2.replace(Wr, ""), Xr = (e2) => (t2) => e2 ? t2.substr(0, e2) : t2, Yr = (e2) => e2.trim(), Zr = (e2) => Kr.test(e2) ? e2 : "", Jr = (e2) => (t2) => {
          if (!t2 || !t2.length || !e2) return t2;
          const r2 = Number((Math.log(1 / e2) / Math.log(10)).toFixed());
          return Number(t2).toFixed(r2);
        }, Qr = (e2) => (t2) => e2.reduce((e3, t3) => t3(e3), t2), eo = ke(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: s(r2) ? void 0 : r2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } });
        var to;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(to || (to = {}));
        const ro = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, oo = (e2) => ao(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), ao = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), no = (e2, t2, r2, o2, a2) => a2 ? !!r2(a2) || (x(o2), false) : !!t2 || (x(fe({ value: a2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), io = (e2, t2 = true) => (r2) => no(e2, t2, ao, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, r2), so = (e2, t2 = true) => (r2) => no(e2, t2, oo, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, r2), lo = ke(({ setProps: e2, props: t2, create$w: r2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return r2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [so("describedBy")] }), po = ke(({ setProps: e2, props: t2, create$w: r2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return r2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [so("labelledBy")] }), uo = ke(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), co = ke(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), mo = ke(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), fo = ke(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), yo = ke(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: s(r2) ? void 0 : r2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), bo = ke(({ setProps: e2, props: t2, create$w: r2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return r2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [io("owns")] }), ho = ke(({ setProps: e2, props: t2, create$w: r2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return r2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [io("controls")] }), go = ke(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: s(r2) ? void 0 : r2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), vo = ke(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: s(r2) ? void 0 : r2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), No = ke(({ setProps: e2, props: t2, create$w: r2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return r2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [so("errorMessage")] }), xo = ke(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), wo = ke(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), $o = ke(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Ao = ke(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Io = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(r2) {
          null === r2 || a(r2) ? e2({ screenReader: { ...t2.screenReader, prefix: r2 } }) : x(ro("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(r2) {
          null === r2 || a(r2) ? e2({ screenReader: { ...t2.screenReader, suffix: r2 } }) : x(ro("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(r2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: s(r2) ? void 0 : r2 } });
        } } }), ko = (ke(Io, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), ke(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: s(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), Co = ke(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: s(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), So = { enableAriaLabel: eo, enableAriaDescribedBy: lo, enableAriaLabelledBy: po, enableAriaAtomic: uo, enableAriaBusy: co, enableAriaCurrent: mo, enableAriaExpanded: fo, enableAriaLive: yo, enableAriaOwns: bo, enableAriaControls: ho, enableAriaRoleDescription: go, enableAriaRelevant: vo, enableAriaErrorMessage: No, enableAriaHidden: xo, enableAriaPressed: wo, enableAriaHaspopup: $o, enableAriaRequired: Ao }, Oo = { enableScreenReader: Io, enableRole: ko, enableTabIndex: Co }, To = ke((e2) => ({ get placeholder() {
          return e2.props.placeholder || "";
        }, set placeholder(t2) {
          const r2 = t2 || "";
          e2.setProps({ placeholder: r2 });
        }, get maxLength() {
          return e2.props.maxLength;
        }, set maxLength(t2) {
          const r2 = null == t2 ? null : t2;
          e2.setProps({ maxLength: r2 });
        }, onKeyPress: (t2) => ((e3, t3, r2, o2) => Dt(e3, t3, r2, ({ componentEvent: e4, eventPayload: t4 }) => ({ ...jt(e4), ...t4 && o2?.(t4) })))("onKeyPress", e2, t2), onInput: (t2) => Dt("onInput", e2, t2) }), { properties: { placeholder: { type: ["string", "nil"], warnIfNil: true }, maxLength: { type: ["integer", "nil"], warnIfNil: true, minimum: 0 } } }), Po = ke(({ setProps: e2, props: t2 }) => ({ get readOnly() {
          return t2.readOnly || false;
        }, set readOnly(t3) {
          e2({ readOnly: t3 });
        } }), { properties: { readOnly: { type: ["boolean"] } } }), Eo = ke(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.label || "";
        }, set label(t3) {
          e2({ label: t3 || "" });
        } }), { properties: { label: { type: ["string", "nil"], warnIfNil: true } } });
        const jo = (e2, t2) => !(e2.required || false) || e2.value ? t2 : y(t2, "valueMissing"), Lo = (e2, t2) => {
          const { pattern: r2, value: o2 } = e2;
          if (!r2 || !o2) return t2;
          let a2;
          try {
            a2 = new RegExp(`^(?:${r2})$`);
          } catch (e3) {
            return w(`invalid regex pattern '${r2}'`), t2;
          }
          return a2.test(o2) ? t2 : y(t2, "patternMismatch");
        }, Vo = /(http|ftp|https):\/\/[\w-]+(\.[\w-]+)+([\w.,@?^=%&amp;:/~+#-]*[\w@?^=%&amp;/~+#-])?/, Ro = { text: h([jo, Lo]), password: h([jo, Lo]), number: h([jo, (e2, t2) => {
          const { min: r2, value: o2 } = e2;
          return r2 && isFinite(r2) && o2 ? Number(o2) >= r2 ? t2 : y(t2, "rangeUnderflow") : t2;
        }, (e2, t2) => {
          const { max: r2, value: o2 } = e2;
          return r2 && isFinite(r2) && o2 ? Number(o2) <= r2 ? t2 : y(t2, "rangeOverflow") : t2;
        }, (e2, t2) => {
          const { value: r2 } = e2, o2 = e2.step && e2.step > 0 ? e2.step : 1;
          return r2 ? ((e3, t3) => {
            const r3 = Number((Math.log(1 / t3) / Math.log(10)).toFixed()), o3 = e3.toFixed(r3);
            return e3 === Number(o3);
          })(Number(r2), o2) ? t2 : y(t2, "stepMismatch") : t2;
        }]), email: h([jo, (e2, t2) => {
          const { value: o2 } = e2;
          return o2 ? function(e3) {
            return r.test(e3);
          }(o2) ? t2 : y(t2, "typeMismatch") : t2;
        }, Lo]), url: h([jo, (e2, t2) => {
          const { value: r2 } = e2;
          return r2 ? ((e3) => Vo.test(e3))(r2) ? t2 : y(t2, "typeMismatch") : t2;
        }, Lo]), tel: h([jo, Lo, (e2, t2) => {
          const { value: r2, phoneFormat: o2, pattern: a2 } = e2;
          if (!r2) return t2;
          if ("^[+]?([(][0-9]{1,3}[)][-]?)?([0-9][-]?){3,16}[0-9]$" === a2 && !new RegExp(a2).test(r2)) return b(t2, "patternMismatch", { key: "PHONE_FORMAT_DEFAULT_VALIDATION_ERROR" });
          if ("^([(][0-9]{1,3}[)][-]?)?([0-9][-]?){3,16}[0-9]$" === a2 && !new RegExp(a2).test(r2)) return b(t2, "patternMismatch", { key: "PHONE_FORMAT_COMPLEX_PHONE_DEFAULT_VALIDATION_ERROR" });
          const n2 = o2 ? o2.replace(/-/g, "").length : 0;
          if (!o2 || o2 && r2.length === n2) return t2;
          let i2;
          return i2 = r2.length < n2 ? "tooShort" : "tooLong", b(t2, i2, { key: "PHONE_FORMAT_LENGTH_VALIDATION_ERROR" });
        }]), search: h([jo, Lo]) }, Do = /* @__PURE__ */ ((e2, t2) => {
          const r2 = [];
          return { onValidate: (e3) => r2.push(e3), validate: ({ viewerSdkAPI: o2, showValidityIndication: a2 }) => {
            const { props: n2, metaData: { isRepeaterTemplate: i2 } } = o2;
            if (i2) return;
            const s2 = e2(n2, o2);
            let l2 = s2;
            const p2 = ((e3, t3, r3) => {
              let o3 = "";
              const a3 = (e4) => {
                o3 = e4;
              }, n3 = t3.value;
              return e3 && e3(n3, a3), o3;
            })((({ createSdkState: e3 }) => {
              const [{ customValidators: t3 }] = e3(g, v);
              return (e4, r3) => {
                let o3 = false;
                const a3 = (e5) => {
                  o3 = true, r3(e5);
                };
                for (let r4 = 0; r4 < t3.length && !o3; r4++) t3[r4](e4, a3);
              };
            })(o2), n2);
            p2 && (l2 = ((e3, t3) => f(e3, "customError", t3 || ""))(s2, p2)), r2.forEach((e3) => e3({ viewerSdkAPI: o2, showValidityIndication: a2, validationDataResult: l2 }));
          } };
        })((e2, t2) => Ro[e2.inputType](e2, t2)), Mo = ((e2) => {
          e2.onValidate(({ viewerSdkAPI: e3, validationDataResult: t2, showValidityIndication: r2 }) => {
            const { setProps: o2, compRef: a2 } = e3, n2 = N(e3), i2 = m(n2), s2 = m(t2), l2 = n2.htmlValidationMessageOverride.key, p2 = t2.htmlValidationMessageOverride.key;
            t2.validity.customError ? i2 !== s2 && a2.setCustomValidity({ type: "message", message: s2 }) : p2 ? (n2.validity.customError || l2 !== p2) && a2.setCustomValidity({ type: "key", key: p2 }) : i2 === s2 && l2 === p2 || a2.setCustomValidity({ type: "message", message: "" });
            const d2 = { isValid: t2.validity.valid, ...r2 && { shouldShowValidityIndication: true } };
            (({ createSdkState: e4 }, t3) => {
              const [, r3] = e4(g, v);
              r3({ validationData: t3 });
            })(e3, t2), o2(d2);
          });
          return ke((t2) => {
            const { setProps: r2, props: o2, registerEvent: a2, metaData: { isRepeaterTemplate: n2 } } = t2;
            return n2 || (a2("validateValue", () => {
              e2.validate({ viewerSdkAPI: t2 });
            }), a2("validateValueAndShowIndication", (r3) => {
              const a3 = { ...o2, ...r3 }, n3 = { ...t2, props: a3 };
              e2.validate({ viewerSdkAPI: n3, showValidityIndication: true });
            }), a2("hideValidityIndication", () => {
              r2({ shouldShowValidityIndication: false });
            }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: false })), { get valid() {
              return N(t2).validity.valid;
            }, get validationMessage() {
              return N(t2).validationMessage;
            }, get validity() {
              return N(t2).validity;
            }, onCustomValidation(r3, o3 = true) {
              (({ createSdkState: e3 }, t3, r4 = true) => {
                const [{ customValidators: o4 }, a3] = e3(g, v);
                a3(r4 ? { customValidators: [t3] } : { customValidators: [...o4, t3] });
              })(t2, r3, o3), e2.validate({ viewerSdkAPI: t2 });
            }, updateValidityIndication() {
              r2({ shouldShowValidityIndication: true });
            }, resetValidityIndication() {
              r2({ shouldShowValidityIndication: false });
            } };
          }, { properties: { onCustomValidation: { type: ["function"], args: [{ type: ["function"] }, { type: ["boolean"] }] } } });
        })(Do), Bo = ke(/* @__PURE__ */ ((e2) => (t2) => ({ get required() {
          return t2.props.required || false;
        }, set required(r2) {
          t2.setProps({ required: r2 }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: r2 });
        } }))(Do), { properties: { required: { type: ["boolean"] } } });
        const Fo = ((e2, t2, r2) => Ce([Ft, ke(qt(e2, t2, r2), { properties: {} })]))((e2, t2) => Uo(t2.props)(e2), { type: ["string"] }, Do), qo = (_o = { BackgroundColor: true, BorderColor: true, BorderWidth: true, BorderRadius: true, TextColor: true }, ke((Ho = br(...Object.keys(_o).filter((e2) => _o[e2]).map((e2) => {
          const t2 = "boolean" != typeof _o[e2] ? _o[e2] : gr[e2];
          return hr[e2]({ prefix: Wo?.cssVarPrefix, withoutDefaultValue: t2.withoutDefaultValue, supportOpacity: t2.supportOpacity, supportedStates: t2.supportedStates });
        })), (e2) => {
          const t2 = Ho(e2);
          return t2.removeProperty = (e3) => {
            const [r2, o2] = e3.includes(".") ? e3.split(".").reverse() : [e3, void 0];
            if (!o2 && !(r2 in t2) || o2 && !(r2 in (t2[o2] ?? {}))) {
              const r3 = Object.keys(t2).filter((e4) => "removeProperty" !== e4);
              return void x(ye({ functionName: "removeProperty", propertyName: "propertyName", value: e3, enum: r3, index: void 0 }));
            }
            const a2 = o2 ? t2[o2] : t2;
            a2[yr]?.(r2);
          }, { get style() {
            return t2;
          } };
        }), { properties: { style: { type: ["object"] } } }));
        var Ho, _o, Wo;
        const Ko = ke((e2) => {
          const { setProps: t2, props: r2, metaData: o2 } = e2;
          return { get max() {
            return r2.max;
          }, set max(r3) {
            null == r3 && t2({ max: null }), t2({ max: r3 }), Do.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get min() {
            return r2.min;
          }, set min(r3) {
            null == r3 && t2({ min: null }), t2({ min: r3 }), Do.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get inputType() {
            return r2.inputType;
          }, set inputType(r3) {
            t2({ inputType: r3 }), Do.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get prefix() {
            return r2.prefix || "";
          }, set prefix(e3) {
            t2({ prefix: e3 || "" });
          }, get numberSpinnerHidden() {
            return void 0 !== r2.numberSpinnerHidden && r2.numberSpinnerHidden;
          }, hideNumberSpinner() {
            return t2({ numberSpinnerHidden: true }), Promise.resolve();
          }, showNumberSpinner() {
            return t2({ numberSpinnerHidden: false }), Promise.resolve();
          }, toJSON() {
            const { readOnly: e3, required: t3, value: a2, max: n2, min: i2, inputType: s2, isValid: l2, prefix: p2 } = r2;
            return { ...qr(o2), readOnly: e3, required: t3, value: a2, max: n2, min: i2, inputType: s2, prefix: p2, valid: l2 };
          } };
        }, { properties: { min: { type: ["integer", "nil"] }, max: { type: ["integer", "nil"] }, inputType: { type: ["string"], enum: ["text", "email", "number", "password", "tel", "url"] }, prefix: { type: ["string", "nil"], warnIfNil: true } } }, { max: [(e2, t2) => !(!s(e2) && i(t2.props.min) && !Ie(t2.metaData.role)(e2, { type: ["integer"], minimum: t2.props.min }, "max"))], min: [(e2, t2) => !(!s(e2) && i(t2.props.max) && !Ie(t2.metaData.role)(e2, { type: ["integer"], maximum: t2.props.max }, "min"))] }), Uo = (e2) => {
          let { inputType: t2, maxLength: r2, step: o2 } = e2;
          return { text: Qr([Ur, zr, Gr, Xr(r2)]), password: Qr([Ur, zr, Gr, Xr(r2)]), number: Qr([Ur, zr, Zr, Jr(o2)]), email: Qr([Ur, zr, Gr, Yr]), url: Qr([Ur, zr, Gr, Yr]), tel: Qr([Ur, zr, Gr]), search: Qr([Ur, zr, Gr, Xr(r2)]) }[t2];
        }, zo = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Ce([vr, Hr, Lr, Vr, e2 ? Er(t2) : _r, Fr]))(), Go = (({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: o2 = false, enableAriaBusy: a2 = false, enableAriaHidden: n2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: p2 = false, enableAriaLive: d2 = false, enableAriaOwns: u2 = false, enableAriaControls: c2 = false, enableAriaRoleDescription: m2 = false, enableAriaRelevant: f2 = false, enableRole: y2 = false, enableTabIndex: b2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: g2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
          const x2 = [], w2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: r2, enableAriaAtomic: o2, enableAriaBusy: a2, enableAriaCurrent: l2, enableAriaExpanded: p2, enableAriaLive: d2, enableAriaOwns: u2, enableAriaControls: c2, enableAriaRoleDescription: m2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: n2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, $2 = { enableScreenReader: g2, enableRole: y2, enableTabIndex: b2 };
          if (Object.values(w2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, r3]) => r3 && So[e5] && t3.push(So[e5])), (e5) => {
                const r3 = Ce(t3, { modifyAriaSourceKeys: true })(e5);
                return r3.ariaAttributes = Ce(t3)(e5), r3;
              };
            })(w2);
            x2.push(e3);
          }
          Object.entries($2).forEach(([e3, t3]) => t3 && Oo[e3] && x2.push(Oo[e3]));
          return { accessibility: Ce(x2)(N2) };
        })({ enableAriaLabel: true, enableAriaLabelledBy: true, enableAriaDescribedBy: true, enableAriaExpanded: true, enableAriaOwns: true, enableAriaLive: true, enableAriaAtomic: true, enableAriaRelevant: true, enableAriaBusy: true, enableAriaHaspopup: true, enableAriaErrorMessage: true, enableTabIndex: true }), Xo = Ce([zo, ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), To, (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => Dt("onFocus", e2, t2), onBlur: (t2) => Dt("onBlur", e2, t2) }), Po, (e2) => ({ onClick: (t2) => Bt("onClick", e2, t2), onDblClick: (t2) => Bt("onDblClick", e2, t2) }), qo, Bo, Fo, Mo, Go, Eo, Ko, (e2) => ({ onKeyUp: (t2) => Dt("onKeyUp", e2, t2) }), (e2) => ({ onKeyDown: (t2) => Dt("onKeyDown", e2, t2) }), (e2) => ({ onHydrationComplete: (t2) => Dt("onHydrationComplete", e2, t2) })]);
        var Yo = { factory: Xo };
        return t;
      }();
    });
  })(TextInput_bundle_min);
  var TextInput_bundle_minExports = TextInput_bundle_min.exports;
  const TextInput = /* @__PURE__ */ getDefaultExportFromCjs(TextInput_bundle_minExports);
  var TimePicker_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var o2 in n2) e.o(n2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: n2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return wn;
        }, sdk: function() {
          return $n;
        } });
        function n(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function o(e2) {
          return "string" == typeof e2;
        }
        function a(e2) {
          return Array.isArray(e2);
        }
        function i(e2) {
          return null == e2;
        }
        function r(e2, t2) {
          return t2.includes(e2);
        }
        function s(e2, t2) {
          return e2 > t2;
        }
        function m(e2, t2) {
          return e2 < t2;
        }
        const l = { valueMissing: "value missing", patternMismatch: "pattern mismatch", rangeOverflow: "range overflow", rangeUnderflow: "range underflow", stepMismatch: "step mismatch", typeMismatch: "type mismatch", fileNotUploaded: "file not uploaded", fileTypeNotAllowed: (e2) => `${e2} files are not supported.`, fileSizeExceedsLimit: (e2) => `This file is too big. Select a smaller file (${e2} max).`, tooLong: "too long", tooShort: "too short", exceedsFilesLimit: "number of files selected exceeds the limit", invalidTime: "invalid time", invalidDate: "invalid date" }, u = { type: "General", validity: { badInput: false, customError: false, fileNotUploaded: false, fileTypeNotAllowed: false, fileSizeExceedsLimit: false, patternMismatch: false, rangeOverflow: false, rangeUnderflow: false, stepMismatch: false, tooLong: false, tooShort: false, typeMismatch: false, valueMissing: false, exceedsFilesLimit: false, valid: true, invalidTime: false, invalidDate: false }, validationMessage: "", htmlValidationMessageOverride: { key: "" } }, d = (e2) => !!e2.validity.customError ? e2.validationMessage : "", c = (e2, t2, n2) => ({ ...e2, validity: { ...e2.validity, [t2]: true, valid: false }, validationMessage: n2 }), p = (e2, t2, n2) => {
          const a2 = e2.validationMessage || n2 || ((e3, t3) => {
            const n3 = l[e3];
            return o(n3) ? n3 : n3(t3);
          })(t2);
          return c(e2, t2, a2);
        }, f = { validationData: u, customValidators: [() => {
        }] }, y = "validation", h = ({ createSdkState: e2 }) => {
          const [t2] = e2(f, y);
          return t2.validationData;
        }, v = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, N = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        }, g = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, b = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, $ = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, w = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: o2, wrongValue: a2, infoLink: i2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${i2}"')`, x = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${o2}"`, I = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, T = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, V = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, S = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, O = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, k = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, C = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, E = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, P = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, L = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, M = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, A = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, D = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, B = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, W = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, U = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, X = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, Y = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, G = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, K = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, _ = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, z = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, J = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, Z = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, Q = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, ee = ({ propertyName: e2, functionName: t2, value: n2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, te = ({ propertyName: e2, functionName: t2, wrongValue: n2, hint: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format, must be ${o2} format.`, ne = ({ keyName: e2, propertyName: t2, functionName: n2, wrongValue: o2, message: a2 }) => `The value of ${e2} in ${t2} parameter that is passed to the ${n2} method cannot be set to the value ${o2}. ${a2}`, oe = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, ae = ({ compName: e2, functionName: t2, propertyName: o2, index: a2 }) => n(a2) ? V({ propertyName: o2, functionName: t2, index: a2 }) : e2 ? T({ compName: e2, functionName: t2, propertyName: o2 }) : g({ functionName: t2, propertyName: o2 }), ie = ({ functionName: e2, propertyName: t2, index: o2 }) => n(o2) ? k({ functionName: e2, propertyName: t2, index: o2 }) : S({ functionName: e2, propertyName: t2 }), re = ({ functionName: e2, propertyNames: t2, index: o2 }) => t2 && t2.length > 1 ? n(o2) ? L({ functionName: e2, propertyNames: t2, index: o2 }) : E({ functionName: e2, propertyNames: t2 }) : n(o2) ? P({ functionName: e2, propertyName: t2[0], index: o2 }) : C({ functionName: e2, propertyName: t2[0] }), se = ({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: i2, index: r2 }) => i2 && a2 ? i2 === a2 ? n(r2) ? D({ functionName: e2, propertyName: t2, value: o2, expectedValue: i2, index: r2 }) : j({ functionName: e2, propertyName: t2, value: o2, expectedValue: i2 }) : n(r2) ? A({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: i2, index: r2 }) : M({ functionName: e2, propertyName: t2, value: o2, maximum: a2, minimum: i2 }) : !i2 && a2 ? n(r2) ? q({ functionName: e2, propertyName: t2, value: o2, maximum: a2, index: r2 }) : H({ functionName: e2, propertyName: t2, value: o2, maximum: a2 }) : n(r2) ? R({ functionName: e2, propertyName: t2, value: o2, minimum: i2, index: r2 }) : F({ functionName: e2, propertyName: t2, value: o2, minimum: i2 }), me = ({ functionName: e2, propertyName: t2, value: o2, minimum: a2, maximum: i2, index: r2 }) => a2 && i2 ? a2 === i2 ? n(r2) ? X({ functionName: e2, propertyName: t2, expectedValue: a2, value: o2, index: r2 }) : U({ functionName: e2, propertyName: t2, expectedValue: a2, value: o2 }) : n(r2) ? W({ functionName: e2, propertyName: t2, value: o2, maximum: i2, minimum: a2, index: r2 }) : B({ functionName: e2, propertyName: t2, value: o2, maximum: i2, minimum: a2 }) : !a2 && i2 ? n(r2) ? _({ functionName: e2, propertyName: t2, maximum: i2, value: o2, index: r2 }) : K({ functionName: e2, propertyName: t2, maximum: i2, value: o2 }) : n(r2) ? G({ functionName: e2, propertyName: t2, value: o2, minimum: a2, index: r2 }) : Y({ functionName: e2, propertyName: t2, value: o2, minimum: a2 }), le = ({ functionName: e2, propertyName: t2, types: o2, value: a2, index: i2 }) => {
          const r2 = o2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return n(i2) ? J({ functionName: e2, index: i2, propertyName: t2, value: a2, expectedType: r2 }) : z({ functionName: e2, propertyName: t2, value: a2, expectedType: r2 });
        }, ue = ({ functionName: e2, propertyName: t2, value: o2, enum: a2, index: i2 }) => {
          const r2 = `from (${a2.join(",")})`;
          return n(i2) ? J({ functionName: e2, propertyName: t2, value: o2, expectedType: r2, index: i2 }) : z({ functionName: e2, propertyName: t2, value: o2, expectedType: r2 });
        }, de = ({ functionName: e2, propertyName: t2, value: o2, index: a2 }) => n(a2) ? ee({ functionName: e2, propertyName: t2, value: o2, index: a2 }) : Z({ functionName: e2, propertyName: t2, value: o2 }), ce = Object.prototype.hasOwnProperty, pe = Object.getOwnPropertyNames, fe = () => {
        };
        function ye(e2, t2, n2, o2, i2, r2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !a(e3);
          }(e2)) return ge.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ye(e2, t3, n2, fe, i2, r2)).filter((e3) => e3 === ge.Valid).length ? ge.Valid : ge.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!ce.call(e2, t2.required[n3])) return o2(ie({ functionName: r2.functionName, index: r2.index, propertyName: t2.required[n3] }), { ...r2, value: e2 }), ge.Invalid;
          }
          const s2 = pe(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = pe(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return o2(re({ functionName: r2.functionName, index: r2.index, propertyNames: t3 })), ge.Invalid;
            }
          }
          for (let o3 = 0; o3 < s2.length; o3++) {
            const a2 = s2[o3];
            if (ce.call(e2, a2)) {
              const o4 = t2.properties[a2], i3 = e2[a2];
              if (!n2(i3, o4, { functionName: r2.functionName, index: r2.index, propertyName: a2 })) return ge.Invalid;
            }
          }
          return ge.Valid;
        }
        function he(e2) {
          return Array.isArray(e2);
        }
        function ve(e2, t2, o2, a2) {
          const { minimum: i2, maximum: l2, enum: u2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? u2 && !r(e2, u2) ? (o2(ue({ value: e2, enum: u2, ...a2 }), { ...a2, value: e2 }), ge.Invalid) : n(i2) && m(e2, i2) || n(l2) && s(e2, l2) ? (o2(me({ value: e2, minimum: i2, maximum: l2, ...a2 }), { ...a2, value: e2 }), ge.Invalid) : ge.Valid : ge.InvalidType;
        }
        function Ne(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? ge.Valid : ge.InvalidType;
        }
        const ge = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function be({ reportError: e2, reportWarning: t2 }, l2, { suppressIndexErrors: u2 = false } = {}) {
          function d2(n2, o2, a2) {
            o2.warnIfNil && i(n2) && t2(ae({ ...a2, compName: l2 }), { ...a2, value: n2 });
            let r2 = 0;
            for (; r2 < o2.type.length; r2++) {
              const e3 = (0, c2[o2.type[r2]])(n2, o2, a2);
              if (e3 !== ge.InvalidType) return e3 === ge.Valid;
            }
            return r2 === o2.type.length && e2(le({ value: n2, types: o2.type, ...a2 }), { ...a2, value: n2 }), false;
          }
          const c2 = { object: (n2, o2, a2) => ye(n2, o2, d2, e2, t2, a2), array: (e3, t3, n2) => function(e4, t4, n3, o2, i2, r2 = false) {
            if (!a(e4)) return ge.InvalidType;
            let s2 = ge.Valid;
            if (t4.items) {
              const o3 = he(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let a2 = 0; a2 < o3; a2++) {
                const o4 = e4[a2];
                let m2, l3;
                he(t4.items) ? (m2 = t4.items[a2], l3 = t4.items[a2].name) : (m2 = t4.items, l3 = t4.name), n3(o4, m2, { functionName: i2.functionName, propertyName: l3 || i2.propertyName, index: r2 ? void 0 : a2 }) || (s2 = ge.Invalid);
              }
            }
            return s2;
          }(e3, t3, d2, 0, n2, u2), number: (t3, o2, a2) => function(e3, t4, o3, a3) {
            const { minimum: i2, maximum: l3, enum: u3 } = t4;
            return n(e3) ? u3 && !r(e3, u3) ? (o3(ue({ value: e3, enum: u3, ...a3 }), { ...a3, value: e3 }), ge.Invalid) : n(i2) && m(e3, i2) || n(l3) && s(e3, l3) ? (o3(me({ value: e3, minimum: i2, maximum: l3, ...a3 }), { ...a3, value: e3 }), ge.Invalid) : ge.Valid : ge.InvalidType;
          }(t3, o2, e2, a2), integer: (t3, n2, o2) => ve(t3, n2, e2, o2), string: (t3, n2, a2) => function(e3, t4, n3, a3) {
            const { minLength: i2, maxLength: l3, enum: u3, pattern: d3 } = t4;
            return o(e3) ? u3 && !r(e3, u3) ? (n3(ue({ value: e3, enum: u3, ...a3 }), { ...a3, value: e3 }), ge.Invalid) : i2 && m(e3.length, i2) || l3 && s(e3.length, l3) ? (n3(se({ value: e3, minimum: i2, maximum: l3, ...a3 }), { ...a3, value: e3 }), ge.Invalid) : d3 && !new RegExp(d3).test(e3) ? (n3(de({ value: e3, ...a3 }), { ...a3, value: e3 }), ge.Invalid) : ge.Valid : ge.InvalidType;
          }(t3, n2, e2, a2), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? ge.Valid : ge.InvalidType;
          }(e3), date: (e3) => Ne(e3), nil: (e3) => function(e4) {
            return i(e4) ? ge.Valid : ge.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? ge.Valid : ge.InvalidType;
          }(e3) };
          return function(e3, t3, n2) {
            return d2(e3, t3, { functionName: n2, propertyName: n2, index: void 0 });
          };
        }
        function $e(e2, { suppressIndexErrors: t2 = false } = {}) {
          return be({ reportError: v, reportWarning: N }, e2, { suppressIndexErrors: t2 });
        }
        function we(e2, t2, n2 = {}) {
          return (o2) => {
            const a2 = e2(o2), i2 = $e(o2.metaData.role), r2 = $e(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const m2 = Object.getOwnPropertyDescriptor(a2, s2), l2 = { enumerable: true, configurable: true };
              return m2.value ? "function" == typeof m2.value ? l2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, i3 = n2[s2];
                let l3 = true;
                return a3 && (l3 = r2(e4, { type: ["array"], items: a3 }, s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, o2))), l3 ? m2.value(...e4) : void 0;
              } : l2.value = m2.value : (m2.get && (l2.get = () => a2[s2]), m2.set && (l2.set = (e4) => {
                const r3 = n2[s2];
                let m3 = true;
                t2.properties[s2] && (m3 = i2(e4, t2.properties[s2], s2)), m3 && r3 && (m3 = r3.every((t3) => t3(e4, o2))), m3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, l2), e3;
            }, {});
          };
        }
        const xe = "click", Ie = "dblClick", Te = "mouseenter", Ve = "mouseleave", Se = "change", Oe = "blur", ke = "focus", Ce = "imageChanged", Ee = "imageExpanded", Pe = "onInput", Le = "itemClicked", Me = "cellSelect", Ae = "cellEdit", je = "rowSelect", De = "fetchData", Fe = "dataChange", Re = "onTimeout", He = "onVerified", qe = "onError", Be = "onPlay", We = "onPause", Ue = "onProgress", Xe = "onEnded", Ye = "autoplayOff", Ge = "autoplayOn", Ke = "playEnded", _e = "playProgress", ze = "keyPress", Je = "keyUp", Ze = "keyDown", Qe = "screenIn", et = "viewportEnter", tt = "viewportLeave", nt = "scroll", ot = "validate", at = "setCustomValidity", it = "syncValidationData", rt = "updateValidityIndication", st = "message", mt = "uploadComplete", lt = "itemReady", ut = "itemRemoved", dt = "tagClick", ct = "quickActionBarItemClicked", pt = "markerClicked", ft = "mapClicked", yt = "iconMouseIn", ht = "onStateChange", vt = "itemMouseIn", Nt = "itemMouseOut", gt = "itemMouseClick", bt = "itemMouseDblClick", $t = "onColorChange", wt = "onFontChange", xt = "onOpacityChange", It = { [xe]: "onClick", [Ie]: "onDblClick", [Te]: "onMouseIn", [Ve]: "onMouseOut", [Se]: "onChange", [Pe]: "onInput", [Oe]: "onBlur", [ke]: "onFocus", [Ce]: "onCurrentItemChanged", [Ee]: void 0, [Le]: "onItemClicked", [Me]: "onCellSelect", [Ae]: void 0, [je]: "onRowSelect", [De]: void 0, [Fe]: "onDataChange", [Re]: "onTimeout", [He]: "onVerified", [qe]: "onError", [Be]: "onPlay", [We]: "onPause", [Ue]: "onProgress", [Xe]: "onEnded", [Ye]: "onPause", [Ge]: "onPlay", [Ke]: void 0, [_e]: void 0, [ze]: "onKeyPress", [Je]: "onKeyUp", [Ze]: "onKeyDown", [Qe]: void 0, [et]: "onViewportEnter", [tt]: "onViewportLeave", [nt]: void 0, [ot]: void 0, [at]: void 0, [it]: void 0, [rt]: void 0, [st]: "onMessage", [mt]: void 0, [lt]: "onItemReady", [ut]: "onItemRemoved", [dt]: void 0, [ct]: "onItemClicked", [pt]: "onMarkerClicked", [ft]: "onMapClicked", [yt]: void 0, [ht]: "onStateChange", [vt]: "onItemMouseIn", [Nt]: "onItemMouseOut", [gt]: "onItemClick", [bt]: "onItemDblClick", [$t]: "onColorChange", [wt]: "onFontChange", [xt]: "onOpacityChange" }, Tt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Vt = (e2) => {
          const { target: t2, type: n2, context: o2 } = e2;
          return { target: t2, type: Tt[n2] ?? n2, context: o2 };
        }, St = (e2) => {
          const { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: i2, screenY: r2, nativeEvent: s2 } = e2, { offsetX: m2, offsetY: l2 } = s2;
          return { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: i2, screenY: r2, offsetX: m2, offsetY: l2 };
        }, Ot = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, kt = (e2) => e2.replace(/^on/i, ""), Ct = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), Et = (e2, t2, n2, o2) => {
          const { create$w: a2, createEvent: i2, registerEvent: r2, getSdkInstance: s2, metaData: m2 } = t2;
          if (!((e3, t3, n3) => $e(n3)(e3, { type: ["function"] }, t3))(n2, Ot[e2] ?? e2, m2.role)) return s2();
          const [l2, u2] = Ct(t2), d2 = r2(e2, (e3, t3) => {
            const r3 = i2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: r3.context }), m3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...Vt(r3), ...m3 }, s3);
          }), c2 = { eventName: e2, compId: m2.compId, cb: n2, unregister: d2 };
          return u2({ listeners: [...l2.listeners, c2] }), s2();
        }, Pt = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(Ot).find(([t4, n3]) => kt(n3.toLowerCase()) === kt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(It[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, Lt = (e2, t2, n2, o2) => Et(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...St(e3), ...t3 && o2?.(t3) }));
        function Mt(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const o2 = {};
            for (let i2 = 0; i2 < e2.length; i2++) {
              const r2 = e2[i2](t3), s2 = Object.keys(r2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], i3 = Object.getOwnPropertyDescriptor(r2, t4);
                Object.defineProperty(o2, n2 && i3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, i3);
              }
            }
            var a2;
            return o2;
          };
        }
        const At = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: o2, compType: a2, isGlobal: i2, getParent: r2, role: s2, wixCodeId: m2 } = t2, l2 = `$w.${a2}`;
          return { get id() {
            return m2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return r2();
          }, get global() {
            return i2();
          }, get type() {
            return l2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: s2, type: l2, global: i2() };
          } };
        }, jt = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: o2, create$w: a2, createEvent: i2 } = t2, r2 = (e3, t3) => $e(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => r2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = i2({ type: "viewportEnter" }), t3 = a2();
            n3(e3, t3);
          }), Et("onViewportEnter", t2, n3)) : o2(), onViewportLeave: (n3) => r2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = i2({ type: "viewportLeave" }), t3 = a2();
            n3(e3, t3);
          }), Et("onViewportLeave", t2, n3)) : o2() };
        }, Dt = { duration: 1200, delay: 0 }, Ft = { arc: { ...Dt, direction: "left" }, bounce: { ...Dt, direction: "topLeft", intensity: "medium" }, puff: { ...Dt }, zoom: { ...Dt }, fade: { ...Dt }, flip: { ...Dt, direction: "right" }, float: { ...Dt, direction: "right" }, fly: { ...Dt, direction: "right" }, fold: { ...Dt, direction: "left" }, glide: { ...Dt, angle: 0, distance: 0 }, roll: { ...Dt, direction: "left" }, slide: { ...Dt, direction: "left" }, spin: { ...Dt, direction: "cw", cycles: 5 }, turn: { ...Dt, direction: "right" }, ArcIn: { ...Dt, direction: "right" }, ArcOut: { ...Dt, direction: "right" }, BounceIn: { ...Dt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Dt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Dt, direction: "right" }, CollapseOut: { ...Dt }, Conceal: { ...Dt, direction: "right" }, Reveal: { ...Dt, direction: "left" }, FadeIn: { ...Dt }, FadeOut: { ...Dt }, FlipIn: { ...Dt, direction: "left" }, FlipOut: { ...Dt, direction: "left" }, FloatIn: { ...Dt, direction: "right" }, FloatOut: { ...Dt, direction: "right" }, FlyIn: { ...Dt, direction: "right" }, FlyOut: { ...Dt, direction: "right" }, FoldIn: { ...Dt, direction: "left" }, FoldOut: { ...Dt, direction: "left" }, GlideIn: { ...Dt, angle: 0, distance: 150 }, GlideOut: { ...Dt, angle: 0, distance: 150 }, DropIn: { ...Dt }, PopOut: { ...Dt }, SlideIn: { ...Dt, direction: "left" }, SlideOut: { ...Dt, direction: "left" }, SpinIn: { ...Dt, direction: "cw", cycles: 2 }, SpinOut: { ...Dt, direction: "cw", cycles: 2 }, TurnIn: { ...Dt, direction: "right" }, TurnOut: { ...Dt, direction: "right" } }, Rt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Ht = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, qt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Bt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Wt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Ut = { arc: { type: ["object"], properties: { duration: qt, delay: Bt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: qt, delay: Bt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: qt, delay: Bt } }, zoom: { type: ["object"], properties: { duration: qt, delay: Bt } }, fade: { type: ["object"], properties: { duration: qt, delay: Bt } }, flip: { type: ["object"], properties: { duration: qt, delay: Bt, direction: Wt } }, float: { type: ["object"], properties: { duration: qt, delay: Bt, direction: Wt } }, fly: { type: ["object"], properties: { duration: qt, delay: Bt, direction: Wt } }, fold: { type: ["object"], properties: { duration: qt, delay: Bt, direction: Wt } }, glide: { type: ["object"], properties: { duration: qt, delay: Bt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: qt, delay: Bt, direction: Wt } }, slide: { type: ["object"], properties: { duration: qt, delay: Bt, direction: Wt } }, spin: { type: ["object"], properties: { duration: qt, delay: Bt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: qt, delay: Bt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Xt = ({ propertyName: e2, compName: t2 }) => (n2, o2) => {
          if (!n2) return false;
          if (void 0 === o2) return true;
          const a2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (o3, a3) => {
            N(I({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${a3?.value}`, infoLink: Ht(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!be({ reportError: a2, reportWarning: () => ({}) }, t2)(o2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (o3, a3) => {
            N(w({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${a3?.propertyName}" cannot be set to the value "${a3?.value}"`, infoLink: Ht(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!be({ reportError: i2, reportWarning: () => ({}) }, t2)(o2, Ut[n2], e2);
        }, Yt = (e2) => 0 === Object.keys(e2).length, Gt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: o2, metaData: a2, getSdkInstance: i2, runAnimation: r2, createSdkState: s2, styleUtils: m2, setProps: l2 }) => {
          const u2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: o3 }) => {
            const a3 = Xt({ propertyName: o3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Yt(n3)) return N($({ propertyName: o3, compName: e3, infoLink: Ht(o3) })), false;
            const i3 = "hide" === o3 ? "HIDE" : "SHOW", r3 = Rt[i3]?.deprecatedValues;
            return t3 && n3 && r3 && r3.find((e4) => e4 === t3) && !Yt(n3) ? (N(x({ compName: e3, effectName: t3, propertyName: o3, infoLink: Ht(o3) })), false) : !!r3.find((e4) => e4 === t3) || (t3 && !(t3 in Ut) ? (N(b({ propertyName: o3, compName: e3, effectName: t3, infoLink: Ht(o3) })), false) : !!a3(t3, n3));
          })({ compName: a2.role }), [d2, c2] = s2({ hidden: a2.hiddenOnLoad, collapsed: a2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (a3, i3) => {
            if (l2({ hidden: true }), d2.collapsed || d2.hidden) c2({ hidden: true });
            else {
              if (u2({ effectName: a3, effectOptions: i3, propertyName: "hide" })) {
                const e3 = { animationDirection: Rt.HIDE.suffix, effectName: a3, effectOptions: { ...Ft?.[a3] || Dt, ...i3 } };
                await Promise.all([r2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else n2(m2.getHiddenStyles()), t2 && o2.setStyles(m2.getHiddenStyles());
              c2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (a3, i3) => {
            if (l2({ hidden: false }), !d2.collapsed && d2.hidden) {
              if (u2({ effectName: a3, effectOptions: i3, propertyName: "show" })) {
                const e3 = { animationDirection: Rt.SHOW.suffix, effectName: a3, effectOptions: { ...Ft?.[a3] || Dt, ...i3 } };
                await Promise.all([r2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else n2(m2.getShownStyles()), t2 && o2.setStyles(m2.getShownStyles());
              c2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else c2({ hidden: false });
          }, collapse: async () => {
            l2({ collapsed: true }), d2.collapsed || (n2(m2.getCollapsedStyles()), t2 && o2.setStyles(m2.getCollapsedStyles()), c2({ collapsed: true }), d2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (l2({ collapsed: false }), d2.collapsed) {
              const a3 = { ...m2.getExpandedStyles(), visibility: d2.hidden ? "hidden" : null };
              n2(a3), t2 && o2.setStyles(a3), c2({ collapsed: false }), d2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return d2.collapsed;
          }, get hidden() {
            return Boolean(d2.hidden);
          }, get isVisible() {
            if (!a2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Kt = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, o2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Mt([Gt({ viewportState: n2, hasPortal: t3 }), jt((e4, t4) => {
            o2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), _t = (e2, t2, n2) => {
          const o2 = t2.filter((t3) => !e2.includes(t3));
          o2.length && v(Q({ functionName: n2, wrongEffects: o2, allowedEffects: e2 }));
        }, zt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            _t(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            _t(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            _t(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Jt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Zt = (e2, t2) => "string" != typeof e2 ? (Qt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (tn(e2, t2), false), Qt = (e2, t2, n2, o2) => {
          v(z({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }));
        }, en = (e2, t2) => {
          v(S({ propertyName: e2, functionName: t2 }));
        }, tn = (e2, t2) => {
          v(oe({ propertyName: e2, functionName: t2 }));
        }, nn = (e2) => {
          const { setProps: t2, props: n2 } = e2;
          return { customClassList: { get value() {
            return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
          }, values() {
            return n2.customClassNames ? n2.customClassNames : [];
          }, add(...e3) {
            const o2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Zt(t3, "customClassList.add")) return;
                o2.add(t3);
              }
              t2({ customClassNames: Array.from(o2) });
            } else en("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void en("className", "customClassList.remove");
            const o2 = new Set(n2.customClassNames);
            for (const t3 of e3) {
              if (!Zt(t3, "customClassList.remove")) return;
              o2.delete(t3);
            }
            t2({ customClassNames: Array.from(o2) });
          }, contains(e3) {
            if (e3) return Zt(e3, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e3) : void 0;
            en("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Zt(t3, "customClassList.replace") || !Zt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (v(O({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Zt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (en("className", "customClassList.toggle"), false);
          } } };
        }, on = ({ role: e2, compType: t2, isGlobal: n2, isRendered: o2 }) => ({ id: e2, type: `$w.${t2}`, global: n2(), rendered: o2() }), an = (e2) => ({ onMouseIn: (t2) => Lt("onMouseEnter", e2, t2), onMouseOut: (t2) => Lt("onMouseLeave", e2, t2), removeEventHandler: (t2, n2) => {
          const { getSdkInstance: o2 } = e2;
          return "string" != typeof t2 ? (v(z({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), o2()) : "function" != typeof n2 ? (v(z({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), o2()) : ((e3, t3, n3) => {
            const { metaData: o3, getSdkInstance: a2 } = t3, [i2, r2] = Ct(t3), s2 = i2.listeners.filter((t4) => Pt(t4.eventName, e3) && t4.cb === n3 && t4.compId === o3.compId);
            for (const e4 of s2) e4.unregister();
            return r2({ listeners: i2.listeners.filter((e4) => !s2.includes(e4)) }), a2();
          })(t2, e2, n2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return on(e2.metaData);
        } }), rn = jt(), sn = (Mt([At, rn, an, zt, nn]), we(({ setProps: e2, props: t2 }) => ({ get readOnly() {
          return t2.readOnly || false;
        }, set readOnly(t3) {
          e2({ readOnly: t3 });
        } }), { properties: { readOnly: { type: ["boolean"] } } })), mn = we(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.label || "";
        }, set label(t3) {
          e2({ label: t3 || "" });
        } }), { properties: { label: { type: ["string", "nil"], warnIfNil: true } } });
        const ln = ":00.000", un = (e2) => e2 ? e2.substr(0, 5) : e2, dn = /^([0-1][0-9]|2[0-3]):([0-5][0-9])(:([0-5][0-9])(\.[0-9]{3})?)?$/, cn = /^(24):(00)(:([0-5][0-9])(\.[0-9]{3})?)?$/, pn = (e2) => e2 ? "" + e2.substr(0, 5) + ln : e2, fn = /* @__PURE__ */ ((e2, t2) => {
          const n2 = [];
          return { onValidate: (e3) => n2.push(e3), validate: ({ viewerSdkAPI: o2, showValidityIndication: a2 }) => {
            const { props: i2, metaData: { isRepeaterTemplate: r2 } } = o2;
            if (r2) return;
            const s2 = e2(i2, o2);
            let m2 = s2;
            const l2 = ((e3, t3, n3) => {
              let o3 = "";
              const a3 = (e4) => {
                o3 = e4;
              }, i3 = t3.value;
              return e3 && e3(i3, a3), o3;
            })((({ createSdkState: e3 }) => {
              const [{ customValidators: t3 }] = e3(f, y);
              return (e4, n3) => {
                let o3 = false;
                const a3 = (e5) => {
                  o3 = true, n3(e5);
                };
                for (let n4 = 0; n4 < t3.length && !o3; n4++) t3[n4](e4, a3);
              };
            })(o2), i2);
            l2 && (m2 = ((e3, t3) => c(e3, "customError", t3 || ""))(s2, l2)), n2.forEach((e3) => e3({ viewerSdkAPI: o2, showValidityIndication: a2, validationDataResult: m2 }));
          } };
        })((yn = [(e2, t2) => !e2.required || e2.value ? t2 : p(t2, "valueMissing"), (e2, t2) => {
          const { value: n2, enabledTimes: o2 } = e2;
          if (!n2) return t2;
          let a2;
          return ((e3) => {
            let { time: t3, enabledTimes: n3 = [] } = e3;
            return 0 !== n3.length && !n3.some((e4) => {
              let { startTime: n4, endTime: o3 } = e4;
              const a3 = un(n4) || "", i2 = un(o3) || "";
              return t3 >= a3 && t3 < i2;
            });
          })({ enabledTimes: o2, time: n2 }) && (a2 = ((e3, t3, n3) => {
            const o3 = e3.htmlValidationMessageOverride.key ? e3.htmlValidationMessageOverride : n3;
            return { ...p(e3, t3), htmlValidationMessageOverride: o3 };
          })(t2, "invalidTime", { key: "TIME_PICKER_INVALID_TIME" })), a2 || t2;
        }], (e2, t2) => yn.reduce((n2, o2) => o2(e2, n2, t2), u)));
        var yn;
        const hn = ((e2) => {
          e2.onValidate(({ viewerSdkAPI: e3, validationDataResult: t2, showValidityIndication: n2 }) => {
            const { setProps: o2, compRef: a2 } = e3, i2 = h(e3), r2 = d(i2), s2 = d(t2), m2 = i2.htmlValidationMessageOverride.key, l2 = t2.htmlValidationMessageOverride.key;
            t2.validity.customError ? r2 !== s2 && a2.setCustomValidity({ type: "message", message: s2 }) : l2 ? (i2.validity.customError || m2 !== l2) && a2.setCustomValidity({ type: "key", key: l2 }) : r2 === s2 && m2 === l2 || a2.setCustomValidity({ type: "message", message: "" });
            const u2 = { isValid: t2.validity.valid, ...n2 && { shouldShowValidityIndication: true } };
            (({ createSdkState: e4 }, t3) => {
              const [, n3] = e4(f, y);
              n3({ validationData: t3 });
            })(e3, t2), o2(u2);
          });
          return we((t2) => {
            const { setProps: n2, props: o2, registerEvent: a2, metaData: { isRepeaterTemplate: i2 } } = t2;
            return i2 || (a2("validateValue", () => {
              e2.validate({ viewerSdkAPI: t2 });
            }), a2("validateValueAndShowIndication", (n3) => {
              const a3 = { ...o2, ...n3 }, i3 = { ...t2, props: a3 };
              e2.validate({ viewerSdkAPI: i3, showValidityIndication: true });
            }), a2("hideValidityIndication", () => {
              n2({ shouldShowValidityIndication: false });
            }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: false })), { get valid() {
              return h(t2).validity.valid;
            }, get validationMessage() {
              return h(t2).validationMessage;
            }, get validity() {
              return h(t2).validity;
            }, onCustomValidation(n3, o3 = true) {
              (({ createSdkState: e3 }, t3, n4 = true) => {
                const [{ customValidators: o4 }, a3] = e3(f, y);
                a3(n4 ? { customValidators: [t3] } : { customValidators: [...o4, t3] });
              })(t2, n3, o3), e2.validate({ viewerSdkAPI: t2 });
            }, updateValidityIndication() {
              n2({ shouldShowValidityIndication: true });
            }, resetValidityIndication() {
              n2({ shouldShowValidityIndication: false });
            } };
          }, { properties: { onCustomValidation: { type: ["function"], args: [{ type: ["function"] }, { type: ["boolean"] }] } } });
        })(fn), vn = we(/* @__PURE__ */ ((e2) => (t2) => ({ get required() {
          return t2.props.required || false;
        }, set required(n2) {
          t2.setProps({ required: n2 }), e2.validate({ viewerSdkAPI: t2, showValidityIndication: n2 });
        } }))(fn), { properties: { required: { type: ["boolean"] } } });
        const Nn = function(e2, t2, n2) {
          void 0 === t2 && (t2 = "value"), void 0 === n2 && (n2 = "value");
          const o2 = !!(a2 = e2) && (dn.test(a2) || cn.test(a2));
          var a2;
          return o2 || v((({ propertyName: e3, functionName: t3, wrongValue: n3, hint: o3 }) => te({ propertyName: e3, functionName: t3, wrongValue: n3, hint: o3 }))({ propertyName: t2, functionName: n2, wrongValue: e2, hint: "HH:MM, HH:MM:SS, or HH:MM:SS.mmm" })), o2;
        }, gn = we((e2) => {
          const { props: t2, setProps: n2, metaData: o2 } = e2, a2 = { get value() {
            if ("current" === t2.initialTime && !t2.value) {
              return "" + new Date(Date.now()).toTimeString().substr(0, 5) + ln;
            }
            return t2.value;
          }, set value(t3) {
            const o3 = (a3 = t3) ? "" + a3 + ln.substr(a3.length - 5) : a3;
            var a3;
            n2({ value: o3 }), fn.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, get step() {
            return t2.step;
          }, set step(e3) {
            n2({ step: e3 });
          }, get useAmPmFormat() {
            return t2.useAmPmFormat;
          }, set useAmPmFormat(e3) {
            n2({ useAmPmFormat: e3 });
          }, get enabledTimes() {
            return t2.enabledTimes;
          }, set enabledTimes(t3) {
            t3.forEach((e3) => {
              e3.startTime = pn(e3.startTime) || e3.startTime, e3.endTime = pn(e3.endTime) || e3.endTime;
            }), n2({ enabledTimes: t3 }), fn.validate({ viewerSdkAPI: e2, showValidityIndication: true });
          }, toJSON() {
            const { value: e3 } = a2;
            return { ...on(o2), value: e3 };
          } };
          return a2;
        }, { properties: { value: { type: ["string", "nil"] }, step: { type: ["integer"], minimum: 1, maximum: 60 }, useAmPmFormat: { type: ["boolean"] }, enabledTimes: { type: ["array"], properties: { startTime: { type: ["string"] }, endTime: { type: ["string"] } }, required: ["startTime", "endTime"] } } }, { value: [(e2) => !e2 || Nn(e2)], enabledTimes: [(e2) => {
          let t2 = true;
          return e2.forEach((e3) => {
            t2 = Nn(e3.startTime, "enabledTimes", "enabledTimes"), t2 = Nn(e3.endTime, "enabledTimes", "enabledTimes");
          }), t2;
        }, (e2) => {
          let t2 = true;
          return e2.forEach((e3) => {
            e3.startTime > e3.endTime && (t2 = false, v((({ keyName: e4, propertyName: t3, functionName: n2, wrongValue: o2, message: a2 }) => ne({ keyName: e4, propertyName: t3, functionName: n2, wrongValue: o2, message: a2 }))({ keyName: "startTime", propertyName: "enabledTimes", functionName: "enabledTimes", wrongValue: e3.startTime, message: "Bad format, startTime must be before endTime" })));
          }), t2;
        }] }), bn = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Mt([At, an, zt, Jt, e2 ? Kt(t2) : rn, nn]))(), $n = Mt([bn, ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => Et("onFocus", e2, t2), onBlur: (t2) => Et("onBlur", e2, t2) }), sn, vn, hn, (e2) => ({ onChange: (t2) => Et("onChange", e2, t2) }), mn, gn]);
        var wn = { factory: $n };
        return t;
      }();
    });
  })(TimePicker_bundle_min);
  var TimePicker_bundle_minExports = TimePicker_bundle_min.exports;
  const TimePicker = /* @__PURE__ */ getDefaultExportFromCjs(TimePicker_bundle_minExports);
  var ToggleSwitch_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var o2 in n2) e.o(n2, o2) && !e.o(t2, o2) && Object.defineProperty(t2, o2, { enumerable: true, get: n2[o2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return nn;
        }, sdk: function() {
          return tn;
        } });
        function n(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = {};
          return (t3) => {
            const o2 = {};
            for (let r2 = 0; r2 < e2.length; r2++) {
              const i2 = e2[r2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], r3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(o2, n2 && r3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, r3);
              }
            }
            var a2;
            return o2;
          };
        }
        const o = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, a = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function r(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function i(e2) {
          return "string" == typeof e2;
        }
        function s(e2) {
          return Array.isArray(e2);
        }
        function m(e2) {
          return null == e2;
        }
        function c(e2, t2) {
          return t2.includes(e2);
        }
        function u(e2, t2) {
          return e2 > t2;
        }
        function l(e2, t2) {
          return e2 < t2;
        }
        const p = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, d = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, f = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, y = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: o2, wrongValue: a2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${o2}: ${a2}. Read more about the effectOptions object: "${r2}"')`, h = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: o2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${o2}"`, N = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: o2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, v = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, g = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, $ = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, b = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, x = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, w = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, I = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, C = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, T = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, O = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, k = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${o2} and ${a2}.`, S = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, E = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${o2}.`, V = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, L = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${o2}.`, P = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${o2}.`, D = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, A = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, maximum: a2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${o2} and ${a2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${o2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, minimum: o2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${o2}.`, B = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, maximum: o2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${o2}.`, W = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, X = ({ propertyName: e2, functionName: t2, value: n2, expectedType: o2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${o2}.`, Y = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, G = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, K = ({ propertyName: e2, functionName: t2, value: n2, index: o2 }) => `The "${e2}" property of the item at index ${o2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, z = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, U = ({ compName: e2, functionName: t2, propertyName: n2, index: o2 }) => r(o2) ? g({ propertyName: n2, functionName: t2, index: o2 }) : e2 ? v({ compName: e2, functionName: t2, propertyName: n2 }) : p({ functionName: t2, propertyName: n2 }), _ = ({ functionName: e2, propertyName: t2, index: n2 }) => r(n2) ? x({ functionName: e2, propertyName: t2, index: n2 }) : $({ functionName: e2, propertyName: t2 }), J = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? r(n2) ? T({ functionName: e2, propertyNames: t2, index: n2 }) : I({ functionName: e2, propertyNames: t2 }) : r(n2) ? C({ functionName: e2, propertyName: t2[0], index: n2 }) : w({ functionName: e2, propertyName: t2[0] }), Z = ({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2, index: i2 }) => a2 && o2 ? a2 === o2 ? r(i2) ? E({ functionName: e2, propertyName: t2, value: n2, expectedValue: a2, index: i2 }) : S({ functionName: e2, propertyName: t2, value: n2, expectedValue: a2 }) : r(i2) ? k({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2, index: i2 }) : O({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: a2 }) : !a2 && o2 ? r(i2) ? j({ functionName: e2, propertyName: t2, value: n2, maximum: o2, index: i2 }) : P({ functionName: e2, propertyName: t2, value: n2, maximum: o2 }) : r(i2) ? L({ functionName: e2, propertyName: t2, value: n2, minimum: a2, index: i2 }) : V({ functionName: e2, propertyName: t2, value: n2, minimum: a2 }), Q = ({ functionName: e2, propertyName: t2, value: n2, minimum: o2, maximum: a2, index: i2 }) => o2 && a2 ? o2 === a2 ? r(i2) ? M({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2, index: i2 }) : F({ functionName: e2, propertyName: t2, expectedValue: o2, value: n2 }) : r(i2) ? A({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: o2, index: i2 }) : D({ functionName: e2, propertyName: t2, value: n2, maximum: a2, minimum: o2 }) : !o2 && a2 ? r(i2) ? q({ functionName: e2, propertyName: t2, maximum: a2, value: n2, index: i2 }) : B({ functionName: e2, propertyName: t2, maximum: a2, value: n2 }) : r(i2) ? H({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: i2 }) : R({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), ee = ({ functionName: e2, propertyName: t2, types: n2, value: o2, index: a2 }) => {
          const i2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return r(a2) ? X({ functionName: e2, index: a2, propertyName: t2, value: o2, expectedType: i2 }) : W({ functionName: e2, propertyName: t2, value: o2, expectedType: i2 });
        }, te = ({ functionName: e2, propertyName: t2, value: n2, enum: o2, index: a2 }) => {
          const i2 = `from (${o2.join(",")})`;
          return r(a2) ? X({ functionName: e2, propertyName: t2, value: n2, expectedType: i2, index: a2 }) : W({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, ne = ({ functionName: e2, propertyName: t2, value: n2, index: o2 }) => r(o2) ? K({ functionName: e2, propertyName: t2, value: n2, index: o2 }) : Y({ functionName: e2, propertyName: t2, value: n2 }), oe = Object.prototype.hasOwnProperty, ae = Object.getOwnPropertyNames, re = () => {
        };
        function ie(e2, t2, n2, o2, a2, r2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !s(e3);
          }(e2)) return ue.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ie(e2, t3, n2, re, a2, r2)).filter((e3) => e3 === ue.Valid).length ? ue.Valid : ue.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!oe.call(e2, t2.required[n3])) return o2(_({ functionName: r2.functionName, index: r2.index, propertyName: t2.required[n3] }), { ...r2, value: e2 }), ue.Invalid;
          }
          const i2 = ae(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ae(e2).filter((e3) => !i2.includes(e3));
            if (t3.length) {
              return o2(J({ functionName: r2.functionName, index: r2.index, propertyNames: t3 })), ue.Invalid;
            }
          }
          for (let o3 = 0; o3 < i2.length; o3++) {
            const a3 = i2[o3];
            if (oe.call(e2, a3)) {
              const o4 = t2.properties[a3], i3 = e2[a3];
              if (!n2(i3, o4, { functionName: r2.functionName, index: r2.index, propertyName: a3 })) return ue.Invalid;
            }
          }
          return ue.Valid;
        }
        function se(e2) {
          return Array.isArray(e2);
        }
        function me(e2, t2, n2, o2) {
          const { minimum: a2, maximum: i2, enum: s2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? s2 && !c(e2, s2) ? (n2(te({ value: e2, enum: s2, ...o2 }), { ...o2, value: e2 }), ue.Invalid) : r(a2) && l(e2, a2) || r(i2) && u(e2, i2) ? (n2(Q({ value: e2, minimum: a2, maximum: i2, ...o2 }), { ...o2, value: e2 }), ue.Invalid) : ue.Valid : ue.InvalidType;
        }
        function ce(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? ue.Valid : ue.InvalidType;
        }
        const ue = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function le({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: o2 = false } = {}) {
          function a2(o3, a3, r2) {
            a3.warnIfNil && m(o3) && t2(U({ ...r2, compName: n2 }), { ...r2, value: o3 });
            let i2 = 0;
            for (; i2 < a3.type.length; i2++) {
              const e3 = (0, p2[a3.type[i2]])(o3, a3, r2);
              if (e3 !== ue.InvalidType) return e3 === ue.Valid;
            }
            return i2 === a3.type.length && e2(ee({ value: o3, types: a3.type, ...r2 }), { ...r2, value: o3 }), false;
          }
          const p2 = { object: (n3, o3, r2) => ie(n3, o3, a2, e2, t2, r2), array: (e3, t3, n3) => function(e4, t4, n4, o3, a3, r2 = false) {
            if (!s(e4)) return ue.InvalidType;
            let i2 = ue.Valid;
            if (t4.items) {
              const o4 = se(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let s2 = 0; s2 < o4; s2++) {
                const o5 = e4[s2];
                let m2, c2;
                se(t4.items) ? (m2 = t4.items[s2], c2 = t4.items[s2].name) : (m2 = t4.items, c2 = t4.name), n4(o5, m2, { functionName: a3.functionName, propertyName: c2 || a3.propertyName, index: r2 ? void 0 : s2 }) || (i2 = ue.Invalid);
              }
            }
            return i2;
          }(e3, t3, a2, 0, n3, o2), number: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minimum: a3, maximum: i2, enum: s2 } = t4;
            return r(e3) ? s2 && !c(e3, s2) ? (n4(te({ value: e3, enum: s2, ...o4 }), { ...o4, value: e3 }), ue.Invalid) : r(a3) && l(e3, a3) || r(i2) && u(e3, i2) ? (n4(Q({ value: e3, minimum: a3, maximum: i2, ...o4 }), { ...o4, value: e3 }), ue.Invalid) : ue.Valid : ue.InvalidType;
          }(t3, n3, e2, o3), integer: (t3, n3, o3) => me(t3, n3, e2, o3), string: (t3, n3, o3) => function(e3, t4, n4, o4) {
            const { minLength: a3, maxLength: r2, enum: s2, pattern: m2 } = t4;
            return i(e3) ? s2 && !c(e3, s2) ? (n4(te({ value: e3, enum: s2, ...o4 }), { ...o4, value: e3 }), ue.Invalid) : a3 && l(e3.length, a3) || r2 && u(e3.length, r2) ? (n4(Z({ value: e3, minimum: a3, maximum: r2, ...o4 }), { ...o4, value: e3 }), ue.Invalid) : m2 && !new RegExp(m2).test(e3) ? (n4(ne({ value: e3, ...o4 }), { ...o4, value: e3 }), ue.Invalid) : ue.Valid : ue.InvalidType;
          }(t3, n3, e2, o3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? ue.Valid : ue.InvalidType;
          }(e3), date: (e3) => ce(e3), nil: (e3) => function(e4) {
            return m(e4) ? ue.Valid : ue.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? ue.Valid : ue.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return a2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function pe(e2, { suppressIndexErrors: t2 = false } = {}) {
          return le({ reportError: o, reportWarning: a }, e2, { suppressIndexErrors: t2 });
        }
        function de(e2, t2, n2 = {}) {
          return (o2) => {
            const a2 = e2(o2), r2 = pe(o2.metaData.role), i2 = pe(o2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const m2 = Object.getOwnPropertyDescriptor(a2, s2), c2 = { enumerable: true, configurable: true };
              return m2.value ? "function" == typeof m2.value ? c2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, r3 = n2[s2];
                let c3 = true;
                return a3 && (c3 = i2(e4, { type: ["array"], items: a3 }, s2)), c3 && r3 && (c3 = r3.every((t3) => t3(e4, o2))), c3 ? m2.value(...e4) : void 0;
              } : c2.value = m2.value : (m2.get && (c2.get = () => a2[s2]), m2.set && (c2.set = (e4) => {
                const i3 = n2[s2];
                let m3 = true;
                t2.properties[s2] && (m3 = r2(e4, t2.properties[s2], s2)), m3 && i3 && (m3 = i3.every((t3) => t3(e4, o2))), m3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, c2), e3;
            }, {});
          };
        }
        const fe = "click", ye = "dblClick", he = "mouseenter", Ne = "mouseleave", ve = "change", ge = "blur", $e = "focus", be = "imageChanged", xe = "imageExpanded", we = "onInput", Ie = "itemClicked", Ce = "cellSelect", Te = "cellEdit", Oe = "rowSelect", ke = "fetchData", Se = "dataChange", Ee = "onTimeout", Ve = "onVerified", Le = "onError", Pe = "onPlay", je = "onPause", De = "onProgress", Ae = "onEnded", Fe = "autoplayOff", Me = "autoplayOn", Re = "playEnded", He = "playProgress", Be = "keyPress", qe = "keyUp", We = "keyDown", Xe = "screenIn", Ye = "viewportEnter", Ge = "viewportLeave", Ke = "scroll", ze = "validate", Ue = "setCustomValidity", _e = "syncValidationData", Je = "updateValidityIndication", Ze = "message", Qe = "uploadComplete", et = "itemReady", tt = "itemRemoved", nt = "tagClick", ot = "quickActionBarItemClicked", at = "markerClicked", rt = "mapClicked", it = "iconMouseIn", st = "onStateChange", mt = "itemMouseIn", ct = "itemMouseOut", ut = "itemMouseClick", lt = "itemMouseDblClick", pt = "onColorChange", dt = "onFontChange", ft = "onOpacityChange", yt = { [fe]: "onClick", [ye]: "onDblClick", [he]: "onMouseIn", [Ne]: "onMouseOut", [ve]: "onChange", [we]: "onInput", [ge]: "onBlur", [$e]: "onFocus", [be]: "onCurrentItemChanged", [xe]: void 0, [Ie]: "onItemClicked", [Ce]: "onCellSelect", [Te]: void 0, [Oe]: "onRowSelect", [ke]: void 0, [Se]: "onDataChange", [Ee]: "onTimeout", [Ve]: "onVerified", [Le]: "onError", [Pe]: "onPlay", [je]: "onPause", [De]: "onProgress", [Ae]: "onEnded", [Fe]: "onPause", [Me]: "onPlay", [Re]: void 0, [He]: void 0, [Be]: "onKeyPress", [qe]: "onKeyUp", [We]: "onKeyDown", [Xe]: void 0, [Ye]: "onViewportEnter", [Ge]: "onViewportLeave", [Ke]: void 0, [ze]: void 0, [Ue]: void 0, [_e]: void 0, [Je]: void 0, [Ze]: "onMessage", [Qe]: void 0, [et]: "onItemReady", [tt]: "onItemRemoved", [nt]: void 0, [ot]: "onItemClicked", [at]: "onMarkerClicked", [rt]: "onMapClicked", [it]: void 0, [st]: "onStateChange", [mt]: "onItemMouseIn", [ct]: "onItemMouseOut", [ut]: "onItemClick", [lt]: "onItemDblClick", [pt]: "onColorChange", [dt]: "onFontChange", [ft]: "onOpacityChange" }, ht = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Nt = (e2) => {
          const { target: t2, type: n2, context: o2 } = e2;
          return { target: t2, type: ht[n2] ?? n2, context: o2 };
        }, vt = (e2) => {
          const { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: r2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: m2, offsetY: c2 } = s2;
          return { clientX: t2, clientY: n2, pageX: o2, pageY: a2, screenX: r2, screenY: i2, offsetX: m2, offsetY: c2 };
        }, gt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, $t = (e2) => e2.replace(/^on/i, ""), bt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), xt = (e2, t2, n2, o2) => {
          const { create$w: a2, createEvent: r2, registerEvent: i2, getSdkInstance: s2, metaData: m2 } = t2;
          if (!((e3, t3, n3) => pe(n3)(e3, { type: ["function"] }, t3))(n2, gt[e2] ?? e2, m2.role)) return s2();
          const [c2, u2] = bt(t2), l2 = i2(e2, (e3, t3) => {
            const i3 = r2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: i3.context }), m3 = o2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...Nt(i3), ...m3 }, s3);
          }), p2 = { eventName: e2, compId: m2.compId, cb: n2, unregister: l2 };
          return u2({ listeners: [...c2.listeners, p2] }), s2();
        }, wt = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(gt).find(([t4, n3]) => $t(n3.toLowerCase()) === $t(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(yt[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, It = (e2, t2, n2, o2) => xt(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...vt(e3), ...t3 && o2?.(t3) })), Ct = (e2) => ({ onChange: (t2) => xt("onChange", e2, t2) }), Tt = (e2, t2, n2) => (o2) => {
          const { setProps: a2, props: r2, metaData: i2 } = o2, s2 = pe(i2.role);
          return { get value() {
            return r2.value;
          }, set value(r3) {
            const i3 = e2(r3, o2);
            s2(i3, t2, "value") && (a2({ value: i3 }), n2.validate({ viewerSdkAPI: o2, showValidityIndication: true }));
          } };
        }, Ot = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: o2, compType: a2, isGlobal: r2, getParent: i2, role: s2, wixCodeId: m2 } = t2, c2 = `$w.${a2}`;
          return { get id() {
            return m2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return o2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return i2();
          }, get global() {
            return r2();
          }, get type() {
            return c2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: s2, type: c2, global: r2() };
          } };
        }, kt = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: o2, create$w: a2, createEvent: r2 } = t2, i2 = (e3, t3) => pe(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => i2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = r2({ type: "viewportEnter" }), t3 = a2();
            n3(e3, t3);
          }), xt("onViewportEnter", t2, n3)) : o2(), onViewportLeave: (n3) => i2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = r2({ type: "viewportLeave" }), t3 = a2();
            n3(e3, t3);
          }), xt("onViewportLeave", t2, n3)) : o2() };
        }, St = { duration: 1200, delay: 0 }, Et = { arc: { ...St, direction: "left" }, bounce: { ...St, direction: "topLeft", intensity: "medium" }, puff: { ...St }, zoom: { ...St }, fade: { ...St }, flip: { ...St, direction: "right" }, float: { ...St, direction: "right" }, fly: { ...St, direction: "right" }, fold: { ...St, direction: "left" }, glide: { ...St, angle: 0, distance: 0 }, roll: { ...St, direction: "left" }, slide: { ...St, direction: "left" }, spin: { ...St, direction: "cw", cycles: 5 }, turn: { ...St, direction: "right" }, ArcIn: { ...St, direction: "right" }, ArcOut: { ...St, direction: "right" }, BounceIn: { ...St, direction: "topLeft", intensity: "medium" }, BounceOut: { ...St, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...St, direction: "right" }, CollapseOut: { ...St }, Conceal: { ...St, direction: "right" }, Reveal: { ...St, direction: "left" }, FadeIn: { ...St }, FadeOut: { ...St }, FlipIn: { ...St, direction: "left" }, FlipOut: { ...St, direction: "left" }, FloatIn: { ...St, direction: "right" }, FloatOut: { ...St, direction: "right" }, FlyIn: { ...St, direction: "right" }, FlyOut: { ...St, direction: "right" }, FoldIn: { ...St, direction: "left" }, FoldOut: { ...St, direction: "left" }, GlideIn: { ...St, angle: 0, distance: 150 }, GlideOut: { ...St, angle: 0, distance: 150 }, DropIn: { ...St }, PopOut: { ...St }, SlideIn: { ...St, direction: "left" }, SlideOut: { ...St, direction: "left" }, SpinIn: { ...St, direction: "cw", cycles: 2 }, SpinOut: { ...St, direction: "cw", cycles: 2 }, TurnIn: { ...St, direction: "right" }, TurnOut: { ...St, direction: "right" } }, Vt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, Lt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Pt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, jt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Dt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, At = { arc: { type: ["object"], properties: { duration: Pt, delay: jt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Pt, delay: jt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Pt, delay: jt } }, zoom: { type: ["object"], properties: { duration: Pt, delay: jt } }, fade: { type: ["object"], properties: { duration: Pt, delay: jt } }, flip: { type: ["object"], properties: { duration: Pt, delay: jt, direction: Dt } }, float: { type: ["object"], properties: { duration: Pt, delay: jt, direction: Dt } }, fly: { type: ["object"], properties: { duration: Pt, delay: jt, direction: Dt } }, fold: { type: ["object"], properties: { duration: Pt, delay: jt, direction: Dt } }, glide: { type: ["object"], properties: { duration: Pt, delay: jt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Pt, delay: jt, direction: Dt } }, slide: { type: ["object"], properties: { duration: Pt, delay: jt, direction: Dt } }, spin: { type: ["object"], properties: { duration: Pt, delay: jt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Pt, delay: jt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Ft = ({ propertyName: e2, compName: t2 }) => (n2, o2) => {
          if (!n2) return false;
          if (void 0 === o2) return true;
          const r2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (o3, r3) => {
            a(N({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${r3?.value}`, infoLink: Lt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!le({ reportError: r2, reportWarning: () => ({}) }, t2)(o2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (o3, r3) => {
            a(y({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${r3?.propertyName}" cannot be set to the value "${r3?.value}"`, infoLink: Lt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!le({ reportError: i2, reportWarning: () => ({}) }, t2)(o2, At[n2], e2);
        }, Mt = (e2) => 0 === Object.keys(e2).length, Rt = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: o2, metaData: r2, getSdkInstance: i2, runAnimation: s2, createSdkState: m2, styleUtils: c2, setProps: u2 }) => {
          const l2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: o3 }) => {
            const r3 = Ft({ propertyName: o3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Mt(n3)) return a(f({ propertyName: o3, compName: e3, infoLink: Lt(o3) })), false;
            const i3 = "hide" === o3 ? "HIDE" : "SHOW", s3 = Vt[i3]?.deprecatedValues;
            return t3 && n3 && s3 && s3.find((e4) => e4 === t3) && !Mt(n3) ? (a(h({ compName: e3, effectName: t3, propertyName: o3, infoLink: Lt(o3) })), false) : !!s3.find((e4) => e4 === t3) || (t3 && !(t3 in At) ? (a(d({ propertyName: o3, compName: e3, effectName: t3, infoLink: Lt(o3) })), false) : !!r3(t3, n3));
          })({ compName: r2.role }), [p2, y2] = m2({ hidden: r2.hiddenOnLoad, collapsed: r2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (a2, r3) => {
            if (u2({ hidden: true }), p2.collapsed || p2.hidden) y2({ hidden: true });
            else {
              if (l2({ effectName: a2, effectOptions: r3, propertyName: "hide" })) {
                const e3 = { animationDirection: Vt.HIDE.suffix, effectName: a2, effectOptions: { ...Et?.[a2] || St, ...r3 } };
                await Promise.all([s2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else n2(c2.getHiddenStyles()), t2 && o2.setStyles(c2.getHiddenStyles());
              y2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (a2, r3) => {
            if (u2({ hidden: false }), !p2.collapsed && p2.hidden) {
              if (l2({ effectName: a2, effectOptions: r3, propertyName: "show" })) {
                const e3 = { animationDirection: Vt.SHOW.suffix, effectName: a2, effectOptions: { ...Et?.[a2] || St, ...r3 } };
                await Promise.all([s2(e3), t2 ? o2.runAnimation(e3) : void 0]);
              } else n2(c2.getShownStyles()), t2 && o2.setStyles(c2.getShownStyles());
              y2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else y2({ hidden: false });
          }, collapse: async () => {
            u2({ collapsed: true }), p2.collapsed || (n2(c2.getCollapsedStyles()), t2 && o2.setStyles(c2.getCollapsedStyles()), y2({ collapsed: true }), p2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (u2({ collapsed: false }), p2.collapsed) {
              const a2 = { ...c2.getExpandedStyles(), visibility: p2.hidden ? "hidden" : null };
              n2(a2), t2 && o2.setStyles(a2), y2({ collapsed: false }), p2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return p2.collapsed;
          }, get hidden() {
            return Boolean(p2.hidden);
          }, get isVisible() {
            if (!r2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, Ht = (e2) => (t2) => ((e3, t3 = false) => {
          const [o2, a2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return n([Rt({ viewportState: o2, hasPortal: t3 }), kt((e4, t4) => {
            a2({ [e4]: [...o2[e4], t4] });
          })])(e3);
        })(t2, e2), Bt = (e2, t2, n2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && o(G({ functionName: n2, wrongEffects: a2, allowedEffects: e2 }));
        }, qt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            Bt(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            Bt(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            Bt(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Wt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Xt = (e2, t2) => "string" != typeof e2 ? (Yt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Kt(e2, t2), false), Yt = (e2, t2, n2, a2) => {
          o(W({ propertyName: e2, functionName: t2, value: n2, expectedType: a2 }));
        }, Gt = (e2, t2) => {
          o($({ propertyName: e2, functionName: t2 }));
        }, Kt = (e2, t2) => {
          o(z({ propertyName: e2, functionName: t2 }));
        }, zt = (e2) => {
          const { setProps: t2, props: n2 } = e2;
          return { customClassList: { get value() {
            return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
          }, values() {
            return n2.customClassNames ? n2.customClassNames : [];
          }, add(...e3) {
            const o2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Xt(t3, "customClassList.add")) return;
                o2.add(t3);
              }
              t2({ customClassNames: Array.from(o2) });
            } else Gt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Gt("className", "customClassList.remove");
            const o2 = new Set(n2.customClassNames);
            for (const t3 of e3) {
              if (!Xt(t3, "customClassList.remove")) return;
              o2.delete(t3);
            }
            t2({ customClassNames: Array.from(o2) });
          }, contains(e3) {
            if (e3) return Xt(e3, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e3) : void 0;
            Gt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Xt(t3, "customClassList.replace") || !Xt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (o(b({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Xt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Gt("className", "customClassList.toggle"), false);
          } } };
        }, Ut = ({ role: e2, compType: t2, isGlobal: n2, isRendered: o2 }) => ({ id: e2, type: `$w.${t2}`, global: n2(), rendered: o2() }), _t = (e2) => ({ onMouseIn: (t2) => It("onMouseEnter", e2, t2), onMouseOut: (t2) => It("onMouseLeave", e2, t2), removeEventHandler: (t2, n2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (o(W({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof n2 ? (o(W({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), a2()) : ((e3, t3, n3) => {
            const { metaData: o2, getSdkInstance: a3 } = t3, [r2, i2] = bt(t3), s2 = r2.listeners.filter((t4) => wt(t4.eventName, e3) && t4.cb === n3 && t4.compId === o2.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: r2.listeners.filter((e4) => !s2.includes(e4)) }), a3();
          })(t2, e2, n2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Ut(e2.metaData);
        } }), Jt = kt();
        n([Ot, Jt, _t, qt, zt]);
        const Zt = n([Ct, de(Tt((e2, t2) => (pe(t2.metaData.role)(e2, { type: ["string", "nil"], warnIfNil: true }, "value"), i(e2) || null === e2 ? e2 : t2.props.value), { type: ["string", "nil"] }, { onValidate: (e2) => {
        }, validate: (e2) => {
        } }), { properties: {} })]);
        const Qt = ((e2) => de(/* @__PURE__ */ ((e3) => (t2) => {
          const { props: n2, setProps: o2 } = t2;
          return { get checked() {
            return n2.checked || false;
          }, set checked(n3) {
            o2({ checked: n3 || false });
          } };
        })(), { properties: { checked: { type: ["boolean", "nil"] } } }))(), en = (({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => n([Ot, _t, qt, Wt, e2 ? Ht(t2) : Jt, zt]))(), tn = n([en, ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => xt("onFocus", e2, t2), onBlur: (t2) => xt("onBlur", e2, t2) }), (e2) => ({ onClick: (t2) => It("onClick", e2, t2), onDblClick: (t2) => It("onDblClick", e2, t2) }), Qt, Zt, (e2) => {
          let { props: t2, metaData: n2 } = e2;
          return { get type() {
            return "$w.Switch";
          }, toJSON() {
            const { checked: e3, value: o2 } = t2;
            return { ...Ut(n2), checked: e3, value: o2, type: "$w.Switch" };
          } };
        }]);
        var nn = { factory: tn };
        return t;
      }();
    });
  })(ToggleSwitch_bundle_min);
  var ToggleSwitch_bundle_minExports = ToggleSwitch_bundle_min.exports;
  const ToggleSwitch = /* @__PURE__ */ getDefaultExportFromCjs(ToggleSwitch_bundle_minExports);
  var VectorImage_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { 8457: function(e2, t2, r2) {
          function n2(e3) {
            return /^(\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*(\d*(?:\.\d+)?)$/.test(e3);
          }
          r2.d(t2, { $k: function() {
            return n2;
          } });
        }, 1935: function(e2, t2, r2) {
          r2.d(t2, { gradientConstants: function() {
            return n2;
          } });
          const n2 = { TYPES: { GRADIENT_LINEAR: "GradientLinear", GRADIENT_ELLIPSE: "GradientEllipse", GRADIENT_CIRCLE: "GradientCircle", GRADIENT_CONIC: "GradientConic" }, CSS_FUNC: { RADIAL_GRADIENT: "radial-gradient", CONIC_GRADIENT: "conic-gradient", LINEAR_GRADIENT: "linear-gradient" }, REPEATING: "repeating", DEG: "deg", AT_CENTER: "at center", CIRCLE: "circle", ELLIPSE: "ellipse", FROM: "from", PERCENTAGE: "percentage", RGBA: "rgba" };
        }, 7328: function(e2, t2, r2) {
          r2.r(t2), r2.d(t2, { generate: function() {
            return N;
          }, validate: function() {
            return A;
          } });
          var n2 = r2(1935), o = r2(7064), a = r2(8457), i = r2(2989), l = {};
          for (var s in i) ["default", "generate", "validate"].indexOf(s) < 0 && (l[s] = function(e3) {
            return i[e3];
          }.bind(0, s));
          r2.d(t2, l);
          const { GRADIENT_LINEAR: u, GRADIENT_CONIC: c, GRADIENT_CIRCLE: p } = n2.gradientConstants.TYPES, { RADIAL_GRADIENT: d, CONIC_GRADIENT: f, LINEAR_GRADIENT: h } = n2.gradientConstants.CSS_FUNC, { REPEATING: m, DEG: g, AT_CENTER: y, CIRCLE: b, ELLIPSE: v, FROM: k, PERCENTAGE: w } = n2.gradientConstants, $ = "(", x = ")";
          function N(e3, t3) {
            return void 0 === e3 && (e3 = []), void 0 === t3 && (t3 = {}), Array.isArray(e3) || (e3 = "GradientMesh" === e3.type ? e3.gradients : [e3]), e3.map((e4) => function(e5, t4) {
              const r3 = e5.repeat ? `${m}-` : "", n3 = function(e6) {
                if (e6.type === u) return function(e7) {
                  let { angle: t5 = 0 } = e7;
                  const r4 = _(t5, ", ");
                  return `${h}${$}${r4}`;
                }(e6);
                if (e6.type === c) return function(e7) {
                  let { angle: t5 = 0, position: r4, type: n4 } = e7;
                  const o2 = I(r4, n4), a2 = _(t5);
                  return `${f}${$}${k} ${a2}${r4 ? " " : ", "}${o2}`;
                }(e6);
                return function(e7) {
                  let { size: t5, position: r4, type: n4 } = e7;
                  const o2 = function(e8) {
                    if (!e8) return "";
                    if ("keyword" in e8) return `${e8.keyword} `;
                    if ("width" in e8 && "height" in e8) {
                      return `${S(e8.width)} ${S(e8.height)} `;
                    }
                    if ("value" in e8 && "type" in e8) return `${e8.value}${e8.type === w ? "%" : e8.type} `;
                    return "";
                  }(t5), a2 = I(r4, n4);
                  return `${d}${$}${n4 === p ? b : v} ${o2}${a2}`;
                }(e6);
              }(e5), i2 = function(e6, t5) {
                void 0 === e6 && (e6 = []);
                return e6.map((e7) => function(e8, t6) {
                  let { color: r4, opacity: n4, size: i3 } = e8, { alpha: l2 = 1, resolveColor: s2 } = t6, u2 = "", c2 = "";
                  if (r4) if (s2 && (r4 = s2(r4)), (0, o.vq)(r4)) n4 ?? (n4 = 1), u2 = n4 * l2 < 1 ? (0, o.rW)(r4, n4 * l2) : r4;
                  else if ((0, a.$k)(r4)) {
                    const [e9, t7] = (0, o.Eg)(r4);
                    n4 ?? (n4 = t7), u2 = (0, o.rW)(e9, n4 * l2);
                  } else u2 = r4;
                  if (i3) {
                    const { type: e9, value: t7 } = i3;
                    c2 = `${t7}${e9 === w ? "%" : e9}`;
                  }
                  if (r4 && i3) return `${u2} ${c2}`;
                  if (r4) return u2;
                  return c2;
                }(e7, t5)).join(", ");
              }(e5.colorStops, t4);
              return `${r3}${n3}${i2}${x}`;
            }(e4, t3)).join(", ");
          }
          function A(e3) {
            return !(!e3 || "object" != typeof e3) && (Array.isArray(e3) ? e3.every(C) : "gradients" in e3 && Array.isArray(e3.gradients) ? e3.gradients.every(C) : C(e3));
          }
          function C(e3) {
            const t3 = Object.values(n2.gradientConstants.TYPES);
            return e3 && t3.includes(e3.type) && e3.colorStops && e3.colorStops.length > 0;
          }
          function S(e3) {
            let { type: t3, value: r3 } = e3;
            return `${r3}${t3 === w ? "%" : t3}`;
          }
          function _(e3, t3) {
            return void 0 === t3 && (t3 = ""), `${e3}${g}${t3}`;
          }
          function I(e3, t3) {
            if (!e3) return t3 === c ? "" : `${y}, `;
            return `at ${S(e3.x)} ${S(e3.y)}, `;
          }
        }, 2989: function() {
        }, 5781: function(e2, t2, r2) {
          Object.defineProperty(t2, "__esModule", { value: true }), t2.rgbToHexString = t2.generateGradient = t2.isValidColor = t2.extractRGBA = t2.getColorFromCssStyle = t2.isHexValue = t2.isRgbValues = t2.isThemeColor = t2.isGreyscale = t2.formatColor = t2.getColorClass = t2.getColorAlpha = t2.getHexColor = t2.getSplitRgbValuesStringWithoutAlpha = t2.getSplitRgbValuesString = t2.getFromColorMap = t2.splitColor = t2.getRGBAColorString = t2.extractThemeColor = t2.brighten = t2.isColor = void 0;
          const n2 = r2(2712).__importDefault(r2(660)), o = r2(7328);
          t2.isColor = (e3) => !!e3 && /(^#([a-f\d]{3}){1,2}$)|(^rgba?\(\d+(,\d+){2,3}(\.\d+)?\)$)/i.test(e3.replace(/\s/g, ""));
          const a = (e3) => !!e3 && /^\d+(,\d+){2,3}(\.\d+)?$/.test(e3.replace(/\s/g, ""));
          t2.isRgbValues = a;
          const i = (e3) => !!e3 && /(^#([a-f\d]{3}){1,2}$)/i.test(e3.replace(/\s/g, ""));
          t2.isHexValue = i;
          const l = (e3) => `#${e3.map((e4) => {
            const t3 = e4.toString(16);
            return 1 === t3.length ? `0${t3}` : t3;
          }).join("")}`;
          t2.rgbToHexString = l;
          const s = (e3) => (0, t2.isColor)(e3) ? (0, n2.default)(e3) : a(e3) ? (0, n2.default)(`rgba(${e3})`) : "transparent" === e3 ? n2.default.rgb(0, 0, 0, 0) : null, u = (e3) => /^color_\d+$/.test(e3);
          t2.isThemeColor = u;
          t2.brighten = (e3, t3 = 1) => {
            const r3 = s(e3);
            if (!r3) return null;
            const n3 = r3.hsv();
            return n3.value(n3.value() * t3).rgb().string();
          };
          t2.getRGBAColorString = (e3, t3 = 1) => {
            try {
              return "none" === t3 ? (0, n2.default)(d(e3)).string() : (0, n2.default)(d(e3)).alpha(t3).string();
            } catch (t4) {
              return e3;
            }
          };
          t2.splitColor = (e3) => (0, n2.default)(e3).array().join(",");
          t2.getSplitRgbValuesString = (e3) => {
            const t3 = s(e3);
            return t3 ? t3.rgb().array().join(",") : null;
          };
          t2.getSplitRgbValuesStringWithoutAlpha = (e3) => {
            const t3 = s(e3);
            if (!t3) return null;
            const { r: r3, g: n3, b: o2 } = t3.object();
            return `${r3},${n3},${o2}`;
          };
          t2.getColorAlpha = (e3) => {
            const t3 = s(e3);
            return t3 ? t3.alpha() : null;
          };
          const c = (e3) => e3.replace(new RegExp("[\\[\\]{}]", "g"), "");
          t2.extractThemeColor = c;
          const p = (e3, t3 = []) => {
            const [, r3] = c(e3).split("_"), n3 = parseInt(r3, 10);
            return isNaN(n3) ? e3 : t3[n3];
          };
          t2.getFromColorMap = p;
          t2.isGreyscale = (e3) => e3.red() === e3.green() && e3.red() === e3.blue() && 255 !== e3.red();
          t2.getHexColor = (e3) => {
            const t3 = s(e3);
            return t3 && t3.hex().toString();
          };
          t2.getColorClass = (e3) => {
            const t3 = /(color_\d+)/.exec(e3);
            return t3 && t3[1];
          };
          const d = (e3) => (0, t2.isColor)(e3) || void 0 === e3 ? e3 : (0, t2.isColor)(`rgba(${e3})`) ? `rgba(${e3})` : (0, t2.isColor)(`rgb(${e3})`) ? `rgb(${e3})` : e3.replace(";", ""), f = (e3, t3) => {
            const r3 = d(e3), o2 = new n2.default(r3).alpha(Number(t3)), a2 = o2.rgb().toString().replace(/ /g, "");
            return 1 !== Number(t3) ? a2 : a2.replace(/^rgb/, "rgba").replace(")", `,${o2.alpha()})`);
          };
          t2.formatColor = f;
          t2.getColorFromCssStyle = (e3) => {
            const { red: t3, green: r3, blue: o2, alpha: a2 } = e3, i2 = new n2.default(l([t3, r3, o2]));
            return f(i2.toString(), a2);
          };
          t2.extractRGBA = (e3) => {
            const t3 = e3.match(/rgba\([^)]+\)/);
            return t3 && t3[0] ? t3[0] : "";
          };
          t2.isValidColor = (e3) => (0, t2.isColor)(e3) || a(e3) || i(e3) || u(e3);
          t2.generateGradient = (e3, t3, r3) => (0, o.generate)(e3, { alpha: t3, resolveColor: (e4) => p(e4, r3) });
        }, 3554: function(e2, t2) {
          Object.defineProperty(t2, "__esModule", { value: true }), t2.compIdToCssSelector = t2.isDefaultCompId = t2.getDefaultCompId = t2.getHoverCompId = t2.HOVER_DATA_MODE = t2.DEFAULT_DATA_MODE = t2.HOVER_SUFFIX = t2.MODES_TYPE = void 0, t2.MODES_TYPE = { hover: "HOVER", default: "DEFAULT" }, t2.HOVER_SUFFIX = ":hover", t2.DEFAULT_DATA_MODE = "[data-mode=default]", t2.HOVER_DATA_MODE = "[data-mode=hover]";
          t2.getHoverCompId = (e3) => `${e3}${t2.HOVER_SUFFIX}`;
          t2.getDefaultCompId = (e3) => e3 ? e3.replace(t2.HOVER_SUFFIX, "") : e3;
          t2.isDefaultCompId = (e3) => !e3.endsWith(t2.HOVER_SUFFIX);
          t2.compIdToCssSelector = (e3, r2) => {
            const n2 = (0, t2.getDefaultCompId)(e3), o = r2 ? "#<%= compId %>" : `#${e3}`;
            return e3.endsWith(t2.HOVER_SUFFIX) ? `${t2.HOVER_DATA_MODE} #${n2}` : o;
          };
        }, 5412: function(e2, t2, r2) {
          t2.zv = t2.yb = void 0;
          const n2 = r2(2712), o = r2(5781), a = r2(5264);
          const i = r2(5609);
          Object.defineProperty(t2, "zv", { enumerable: true, get: function() {
            return i.parseSvgString;
          } });
          const l = n2.__importDefault(r2(660)), s = r2(3554), u = /(viewBox=")([^"]*)(")/i, c = /(preserveAspectRatio=")([^"]*)(")/i, p = /(?:<svg[^>]*)\s(width="[^"]*")/i, d = /(?:<svg[^>]*)\s(height="[^"]*")/i, f = /(<svg[^>]*)(>)/, h = /fill="(.*?)"/gi, y = { TINT: "tint", COLOR: "color", UGC: "ugc" };
          function k(e3, t3) {
            const r3 = (0, l.default)(t3);
            return e3.replace(h, (e4, t4) => {
              if ("none" === t4 || t4.startsWith("url(#")) return `fill="${t4}"`;
              const n3 = (0, l.default)(t4);
              if ((0, o.isGreyscale)(n3)) {
                const e5 = 1 - (255 - n3.red()) / 255, t5 = Math.floor(r3.red() + (255 - r3.red()) * e5), o2 = Math.floor(r3.green() + (255 - r3.green()) * e5), a2 = Math.floor(r3.blue() + (255 - r3.blue()) * e5);
                return `fill="${(0, l.default)({ r: t5, g: o2, b: a2 }).hex().toString()}"`;
              }
              return `fill="${t4}"`;
            });
          }
          function w(e3, t3) {
            if (e3) {
              const r3 = e3.match(p), n3 = e3.match(d);
              if (r3 && r3.length > 1 && (e3 = e3.replace(r3[1], 'width="100%"')), n3 && n3.length > 1 && (e3 = e3.replace(n3[1], 'height="100%"')), t3) ;
            }
            return e3;
          }
          function $(e3, t3) {
            const r3 = t3 ? 'role="img"' : function(e4 = false) {
              const t4 = { role: "presentation", "aria-hidden": "true" };
              return e4 ? Object.entries(t4).map(([e5, t5]) => `${e5}=${t5}`).join(" ") : t4;
            }(true);
            let n3 = e3.replace(f, `$1 ${r3}$2`);
            var o2;
            return "string" == typeof t3 && (n3 = n3.replace(f, `$1 aria-label="${o2 = t3, o2.replace(/&/g, "&amp;").replace(/>/g, "&gt;").replace(/</g, "&lt;").replace(/"/g, "&quot;")}"$2`)), n3;
          }
          function x(e3, t3, r3, n3, o2) {
            return (0, a.getShadow)(e3, { ...t3, color: n3, mergeGraphic: o2 }).replace(/<filter /, `<filter ${function(e4, t4) {
              const { blurRadius: r4, x: n4, y: o3 } = t4, a2 = 6 * r4;
              let i2 = `x="${Math.min(0, n4) - a2 / 2}" y="${Math.min(0, o3) - a2 / 2}"`;
              null != e4 && (i2 += ` width="${e4.width + a2 + Math.abs(n4)}" height="${e4.height + a2 + Math.abs(o3)}"`);
              return i2;
            }(r3, t3)} filterUnits="userSpaceOnUse" `);
          }
          function N(e3, t3, r3 = {}) {
            if (e3) {
              const { svgType: n3, viewBox: o2, bbox: a2 } = t3, { preserveViewBox: i2, displayMode: l2, aspectRatio: s2 } = r3, p2 = s2 || ("stretch" === l2 ? "none" : "xMidYMid meet");
              let d2 = e3.match(f)?.[0];
              if (!d2) return e3;
              e3 = c.test(d2) ? e3.replace(d2, d2.replace(c, `$1${p2}$3`)) : e3.replace(/<svg/, `<svg preserveAspectRatio="${p2}"`), u.test(d2) || (n3 === y.UGC && o2 && (e3 = e3.replace(/<svg/, `<svg viewBox="${o2}"`)), n3 !== y.UGC && a2 && (e3 = e3.replace(/<svg/, `<svg viewBox="${a2}"`))), n3 !== y.UGC && !i2 && a2 && (d2 = e3.match(f)[0], e3 = e3.replace(d2, d2.replace(u, `$1${a2}$3`)));
            }
            return e3;
          }
          function C(e3, t3) {
            return e3 && t3 ? e3.replace(/(<svg[^>]*>)/, `$1<defs><style>${t3}</style></defs>`) : e3;
          }
          t2.yb = (e3, { altText: t3, compId: r3, svgInfo: n3, properties: a2, layout: i2, shadow: l2, isResponsive: u2, colorsMap: c2, overrideColors: p2 }) => {
            const d2 = (f2 = p2 || {}, Object.keys(f2).reduce((e4, t4) => {
              const r4 = f2[t4];
              return ((0, o.isColor)(r4) || (0, o.isThemeColor)(r4)) && (e4[t4] = r4), e4;
            }, {}));
            var f2;
            const h2 = function(e4) {
              return N(e4, n3, a2);
            }(function(e4) {
              const t4 = d2 && d2.color1 || "#242323", r4 = (0, o.getFromColorMap)(t4, c2);
              return n3.svgType === y.TINT ? k(e4, r4) : e4;
            }($(e3, t3)));
            return function(e4) {
              if (n3.svgType === y.COLOR && Object.keys(d2).length > 0) {
                return C(e4, Object.entries(d2).map(([e5, t4]) => {
                  const n4 = (0, o.getFromColorMap)(t4, c2), a3 = e5.replace("color", "");
                  return `${(0, s.compIdToCssSelector)(r3, true)} svg [data-color="${a3}"] {fill: ${n4};}`;
                }).join("\n"));
              }
              return e4;
            }(u2 ? h2 : function(e4) {
              return function({ compId: e5, svgString: t4, layout: r4, colorsMap: n4, shadow: a3, shadowOnly: i3 = false }) {
                if (a3 && a3.color) {
                  const l3 = `${e5}-shadow`;
                  return `
          <svg height="100%" width="100%">
              <defs>${x(l3, a3, r4, (0, o.getFromColorMap)(a3.color, n4), !i3)}</defs>
              <g filter="url(#${l3})">
                  ${w(t4)}
              </g>
          </svg>
      `;
                }
                return t4;
              }({ compId: r3, svgString: e4, layout: u2 ? null : i2, colorsMap: c2, shadow: l2 });
            }(h2));
          };
        }, 5264: function(e2, t2, r2) {
          Object.defineProperty(t2, "__esModule", { value: true }), t2.isFilterExists = t2.getProperties = t2.getShadow = t2.getFilter = void 0;
          const n2 = r2(7102), o = r2(5600);
          t2.getFilter = function(e3, t3, r3, a) {
            const i = o.filterPresets[t3] || [];
            return (0, n2.interpolate)(e3, i, r3 || {}, a);
          }, t2.getShadow = function(e3, t3) {
            return (0, n2.interpolate)(e3, [{ key: "shadow", value: t3 }], {});
          }, t2.getProperties = function(e3, t3) {
            const r3 = o.filterPresets[e3] || [];
            return (0, n2.getProperties)(r3, t3 || {});
          }, t2.isFilterExists = function(e3) {
            return e3 in o.filterPresets;
          };
        }, 860: function(e2, t2) {
          function r2(e3) {
            const [, t3, r3, n2] = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e3);
            return { r: parseInt(t3, 16), g: parseInt(r3, 16), b: parseInt(n2, 16) };
          }
          Object.defineProperty(t2, "__esModule", { value: true }), t2.getLumaMatrix = t2.getAlpha = t2.getTint = t2.getBrightness = t2.getSepia = t2.getContrast = t2.getColor = t2.hex2RgbNorm = t2.hexToRgb = t2.getDoutone = void 0, t2.getSepia = function(e3) {
            return `${0.393 + 0.607 * (1 - e3)} ${0.769 - 0.769 * (1 - e3)} ${0.189 - 0.189 * (1 - e3)} 0 0
     ${0.349 - 0.349 * (1 - e3)} ${0.686 + 0.314 * (1 - e3)} ${0.168 - 0.168 * (1 - e3)} 0 0
     ${0.272 - 0.272 * (1 - e3)} ${0.534 - 0.534 * (1 - e3)} ${0.131 + 0.869 * (1 - e3)} 0 0
     0 0 0 1 0`;
          }, t2.getContrast = function(e3) {
            return `<feFuncR type="linear" slope="${e3}" intercept="${Math.round(100 * (-0.5 * e3 + 0.5)) / 100}"/>
<feFuncG type="linear" slope="${e3}" intercept="${Math.round(100 * (-0.5 * e3 + 0.5)) / 100}"/>
<feFuncB type="linear" slope="${e3}" intercept="${Math.round(100 * (-0.5 * e3 + 0.5)) / 100}"/>`;
          }, t2.getBrightness = function(e3) {
            return `<feFuncR type="linear" slope="${e3}" /><feFuncG type="linear" slope="${e3}" /><feFuncB type="linear" slope="${e3}" />`;
          }, t2.getTint = function(e3) {
            return `${1 - e3.r} 0 0 0 ${e3.r} ${1 - e3.g} 0 0 0 ${e3.g} ${1 - e3.b} 0 0 0 ${e3.b} 0 0 0 1 0`;
          }, t2.getLumaMatrix = function(e3, t3) {
            return `${e3.r} 0 0 0 ${t3.r}
     ${e3.g} 1 0 0 ${t3.g}
     ${e3.b} 0 1 0 ${t3.b}
     0 0 0 1 0`;
          }, t2.getColor = function(e3, t3 = 1) {
            return `0 0 0 0 ${e3.r}
0 0 0 0 ${e3.g}
0 0 0 0 ${e3.b}
0 0 0 ${t3} 0`;
          }, t2.getDoutone = function(e3, t3) {
            const r3 = e3.r - t3.r, n2 = e3.g - t3.g, o = e3.b - t3.b;
            return `${r3} 0 0 0 ${t3.r} ${n2} 0 0 0 ${t3.g} ${o} 0 0 0 ${t3.b} 0 0 0 1 0`;
          }, t2.getAlpha = function(e3) {
            return `<feFuncA type="linear" slope="${e3}" />`;
          }, t2.hexToRgb = r2, t2.hex2RgbNorm = function(e3) {
            const { r: t3, g: n2, b: o } = r2(e3);
            return { r: t3 / 255, g: n2 / 255, b: o / 255 };
          };
        }, 7102: function(e2, t2, r2) {
          Object.defineProperty(t2, "__esModule", { value: true }), t2.getProperties = t2.interpolate = void 0;
          const n2 = r2(860);
          function o(e3, t3) {
            return t3 || 0 === t3 ? `${e3}="${t3}"` : "";
          }
          function a({ id: e3, content: t3, attrs: r3 = {} }) {
            return `<filter id="${e3}" color-interpolation-filters="sRGB" ${function(e4) {
              return Object.keys(e4).map((t4) => o(t4, e4[t4])).join(" ");
            }(r3)}>
    <feComponentTransfer result="srcRGB"/>
    ${t3}
    <feComponentTransfer/>
</filter>`;
          }
          function i({ value: e3, inAttr: t3, result: r3 }) {
            return `<feColorMatrix type="saturate" values="${e3}" ${t3 ? `in="${t3}"` : ""}${r3 ? `result="${r3}"` : ""}/>`;
          }
          function l({ value: e3, inAttr: t3, result: r3 }) {
            const o2 = "string" == typeof e3 ? e3 : e3.color, a2 = "object" == typeof e3 && void 0 !== e3.opacity ? e3.opacity : 1;
            return `<feColorMatrix type="matrix" values="${(0, n2.getColor)((0, n2.hex2RgbNorm)(o2), a2)}" ${t3 ? `in="${t3}"` : ""}${r3 ? `result="${r3}"` : ""}/>`;
          }
          function s({ value: e3, inAttr: t3 }) {
            return `<feGaussianBlur stdDeviation="${e3}" ${t3 ? `in="${t3}"` : ""}/>`;
          }
          function u({ value: e3, inAttr: t3, result: r3 }) {
            return `<feOffset dx="${e3.x}" dy="${e3.y}" ${t3 ? `in="${t3}"` : ""}${r3 ? `result="${r3}"` : ""}/>`;
          }
          const c = { blur: s, saturation: i, contrast: function({ value: e3 }) {
            return `<feComponentTransfer>${(0, n2.getContrast)(e3)}</feComponentTransfer>`;
          }, brightness: function({ value: e3, result: t3 }) {
            return `<feComponentTransfer ${o("result", t3)}>${(0, n2.getBrightness)(e3)}</feComponentTransfer>`;
          }, sepia: function({ value: e3 }) {
            return `<feColorMatrix type="matrix" values="${(0, n2.getSepia)(e3)}"/>`;
          }, hue: function({ value: e3 }) {
            return `<feColorMatrix type="hueRotate" values="${e3}"/>`;
          }, alpha: function({ value: e3, inAttr: t3, result: r3 }) {
            return `<feComponentTransfer ${o("in", t3)} ${o("result", r3)}>${(0, n2.getAlpha)(e3)}</feComponentTransfer>`;
          } }, p = { blend: function({ value: e3, inAttr: t3, in2Attr: r3, result: n3 }) {
            return `<feBlend mode="${e3}" in="${t3}" in2="${r3}" ${o("result", n3)}/>`;
          }, color: l, composite: function({ value: e3, inAttr: t3, in2Attr: r3, result: n3 }) {
            return `<feComposite operator="${e3}" in="${t3}" in2="${r3}" ${o("result", n3)}/>`;
          }, tint: function({ value: e3 }) {
            return `<feColorMatrix type="matrix" values="${(0, n2.getTint)((0, n2.hex2RgbNorm)(e3))}"/>`;
          } }, d = { duotone: function({ value: { dark: e3, light: t3 }, inAttr: r3, result: o2 }) {
            return `${i({ value: 0 })}
<feColorMatrix type="matrix" values="${(0, n2.getDoutone)((0, n2.hex2RgbNorm)(t3), (0, n2.hex2RgbNorm)(e3))}" ${r3 ? `in="${r3}"` : ""}${o2 ? `result="${o2}"` : ""}/>`;
          }, shadow: function({ value: { blurRadius: e3, mergeGraphic: t3, ...r3 } }) {
            return `${s({ value: e3, inAttr: "SourceAlpha" })}
${u({ value: r3 })}
${l({ value: r3 })}
${t3 ? '<feMerge>\n    <feMergeNode/>\n    <feMergeNode in="SourceGraphic"/>\n</feMerge>' : ""}`;
          }, color: l, offset: u };
          function f(e3, t3, r3) {
            return "duotone" === e3 ? { light: "duotoneLight" in r3 && r3.duotoneLight || t3.light, dark: "duotoneDark" in r3 && r3.duotoneDark || t3.dark } : e3 in r3 ? r3[e3] : t3;
          }
          t2.interpolate = function(e3, t3, r3, i2) {
            return a({ id: e3, content: t3.map((e4) => {
              const { key: t4, value: a2 } = e4, i3 = f(t4, a2, r3), l2 = { ...e4, value: i3 };
              return "number" == typeof i3 ? c[t4](l2) : "string" == typeof i3 ? p[t4](l2) : "luma" === t4 ? function({ value: { dark: e5, light: t5 }, result: r4 }) {
                return `<feColorMatrix type="matrix" values="${(0, n2.getLumaMatrix)(t5, e5)}" ${r4 ? `result="${r4}"` : ""}/>`;
              }(l2) : "identity" === t4 ? function({ inAttr: e5 }) {
                return `<feColorMatrix ${o("in", e5)}/>`;
              }(l2) : d[t4](l2);
            }).join("\n"), attrs: i2 });
          }, t2.getProperties = function(e3, t3) {
            return e3.map((e4) => {
              const { key: r3, value: n3 } = e4;
              return { [r3]: f(r3, n3, t3) };
            });
          };
        }, 5609: function(e2, t2) {
          Object.defineProperty(t2, "__esModule", { value: true }), t2.SVG_TYPES = t2.getAll = t2.elementsRegexes = t2.attributesRegexes = t2.parseSvgString = void 0;
          const r2 = { SHAPE: "shape", TINT: "tint", COLOR: "color", UGC: "ugc" };
          t2.SVG_TYPES = r2;
          const n2 = { fill: /fill="(.*?)"/g, "data-color": /data-color="(.*?)"/g, "data-type": /data-type="(.*?)"/g, "data-bbox": /data-bbox="(.*?)"/g, width: /width="(.*?)"/g, height: /height="(.*?)"/g, viewBox: /viewBox="(.*?)"/g };
          t2.attributesRegexes = n2;
          const o = { svg: /(<svg(.*?)>)/g, path: /(<path(.*?)>)/g };
          t2.elementsRegexes = o;
          const a = (e3) => {
            const t3 = e3.split(" ");
            return { x: t3[0], y: t3[1], width: t3[2], height: t3[3] };
          }, i = (e3, t3, r3) => {
            const n3 = t3.exec(e3);
            return n3 ? [n3[1], ...i(e3, t3, r3)] : r3 ? [r3] : [];
          };
          t2.getAll = i;
          const l = (e3, t3) => {
            if (e3 === r2.UGC) {
              const [e4] = i(t3, n2.width), [r3] = i(t3, n2.height);
              if (e4 && r3) return `0 0 ${e4} ${r3}`;
            }
            return "";
          };
          t2.parseSvgString = (e3) => {
            const [t3] = i(e3, o.svg), s = i(e3, o.path), [u] = i(t3, n2["data-type"], r2.SHAPE), [c] = i(t3, n2.viewBox).concat([l(u, t3)]), [p] = i(t3, n2["data-bbox"]);
            var d;
            return { content: e3, info: { ...(d = s, d.reduce((e4, t4) => {
              const [r3] = i(t4, n2["data-color"]), [o2] = i(t4, n2.fill);
              return e4[`color${r3}`] = o2, e4;
            }, {})), svgType: u, viewBox: c, bbox: p || "" }, boxBoundaries: p ? a(p) : {} };
          };
        }, 5600: function(e2, t2) {
          Object.defineProperty(t2, "__esModule", { value: true }), t2.filterPresets = void 0, t2.filterPresets = { normal: [{ key: "identity", inAttr: "SourceGraphic" }], ink: [{ key: "sepia", value: 0.3 }, { key: "contrast", value: 1.5 }, { key: "brightness", value: 1.1 }, { key: "saturation", value: 0 }], kennedy: [{ key: "saturation", value: 0 }, { key: "contrast", value: 1.1 }, { key: "brightness", value: 0.9 }], feathered: [{ key: "saturation", value: 0.2 }, { key: "contrast", value: 0.85 }, { key: "brightness", value: 0.9 }, { key: "tint", value: "#171212" }], blur: [{ key: "blur", value: 2 }], whistler: [{ key: "color", value: "#ffffff", inAttr: "SourceGraphic", result: "color" }, { key: "alpha", value: 0.4, inAttr: "color", result: "flood_alpha" }, { key: "blur", value: 1.8, inAttr: "srcRGB" }, { key: "alpha", value: 0.6, result: "blur_alpha" }, { key: "blend", value: "normal", inAttr: "blur_alpha", in2Attr: "srcRGB", result: "source_blur" }, { key: "blend", value: "overlay", inAttr: "flood_alpha", in2Attr: "source_blur" }, { key: "brightness", value: 1.1 }, { key: "contrast", value: 0.9 }, { key: "saturation", value: 0.6 }], "3d": [{ key: "color", value: "#00ffff", inAttr: "srcRGB", result: "color1" }, { key: "blend", value: "lighten", inAttr: "color1", in2Attr: "srcRGB", result: "image_color1" }, { key: "offset", value: { x: -3, y: 0 }, inAttr: "image_color1", result: "image_color1_offset" }, { key: "color", value: "#ff0000", inAttr: "srcRGB", result: "color2" }, { key: "blend", value: "lighten", inAttr: "color2", in2Attr: "srcRGB", result: "image_color2" }, { key: "offset", value: { x: 3, y: 0 }, inAttr: "image_color2", result: "image_color2_offset" }, { key: "blend", value: "darken", inAttr: "image_color1_offset", in2Attr: "image_color2_offset" }], blueray: [{ key: "saturation", value: 0, result: "grayscale" }, { key: "color", value: "#1b00ff", inAttr: "SourceGraphic", result: "color" }, { key: "blend", value: "multiply", inAttr: "color", in2Attr: "grayscale" }], lighten: [{ key: "color", value: "#ffffff", inAttr: "srcRGB", result: "color" }, { key: "alpha", value: 0.46, inAttr: "color", result: "color_alpha" }, { key: "composite", value: "over", inAttr: "color_alpha", in2Attr: "srcRGB" }], darken: [{ key: "brightness", value: 0.4, result: "brightness" }, { key: "blend", value: "darken", inAttr: "brightness", in2Attr: "SourceGraphic" }], pinkrinse: [{ key: "saturation", value: 0, result: "grayscale" }, { key: "color", value: "#9a1a77", inAttr: "SourceGraphic", result: "color" }, { key: "blend", value: "multiply", inAttr: "grayscale", in2Attr: "color" }], redrum: [{ key: "contrast", value: 0.75 }, { key: "brightness", value: 1.2 }, { key: "saturation", value: 0, result: "grayscale" }, { key: "color", value: "#f26552", inAttr: "SourceGraphic", result: "color" }, { key: "blend", value: "multiply", inAttr: "grayscale", in2Attr: "color" }], greenwash: [{ key: "saturation", value: 0, result: "grayscale" }, { key: "color", value: "#1c9784", inAttr: "SourceGraphic", result: "color" }, { key: "blend", value: "multiply", inAttr: "color", in2Attr: "grayscale" }], yellowstreak: [{ key: "contrast", value: 2 }, { key: "brightness", value: 1.1 }, { key: "saturation", value: 0, result: "grayscale" }, { key: "color", value: "#ffd200", result: "color" }, { key: "blend", value: "multiply", inAttr: "grayscale", in2Attr: "color" }], neonsky: [{ key: "contrast", value: 0.8 }, { key: "duotone", value: { dark: "#800033", light: "#fff200" } }, { key: "luma", value: { dark: { r: 0, g: -0.1, b: 0 }, light: { r: 1.2, g: 0, b: 0 } } }], seaweed: [{ key: "duotone", value: { dark: "#0b00e9", light: "#00d980" } }], soledad: [{ key: "brightness", value: 1.1 }, { key: "contrast", value: 0.9 }, { key: "saturation", value: 0.8, result: "saturation" }, { key: "color", value: "#fce8d3", inAttr: "SourceGraphic", result: "color1" }, { key: "alpha", value: 0.15, inAttr: "color1", result: "color_alpha" }, { key: "blend", value: "multiply", inAttr: "color_alpha", in2Attr: "saturation", result: "source" }, { key: "color", value: "#fc9f1a", inAttr: "SourceGraphic", result: "color2" }, { key: "alpha", value: 0.23, inAttr: "color2", result: "color_alpha2" }, { key: "blend", value: "multiply", inAttr: "color_alpha2", in2Attr: "source" }], sangria: [{ key: "brightness", value: 0.95 }, { key: "contrast", value: 1.35 }, { key: "saturation", value: 0.5, result: "saturation" }, { key: "color", value: "#c712e2", inAttr: "SourceGraphic", result: "color" }, { key: "alpha", value: 0.08, inAttr: "color", result: "color_alpha" }, { key: "blend", value: "multiply", inAttr: "color_alpha", in2Attr: "saturation", result: "source" }], malibu: [{ key: "contrast", value: 0.8 }, { key: "duotone", value: { dark: "#0045d6", light: "#ffdbc0" } }], candyfloss: [{ key: "contrast", value: 0.8 }, { key: "duotone", value: { dark: "#ff0000", light: "#ff9bff" } }], elmo: [{ key: "contrast", value: 0.8 }, { key: "duotone", value: { dark: "#ff0000", light: "#cadccc" } }], unicorn: [{ key: "contrast", value: 0.8 }, { key: "duotone", value: { dark: "#409ca5", light: "#dfb1bd" } }], kerouac: [{ key: "duotone", value: { dark: "#37312e", light: "#b5a8a2" } }], koolaid: [{ key: "duotone", value: { dark: "#5f00ad", light: "#fdcec1" } }], hydra: [{ key: "duotone", value: { dark: "#f72b3e", light: "#ffeced" } }], pixie: [{ key: "duotone", value: { dark: "#85d3de", light: "#ffe1d5" } }], nightrain: [{ key: "duotone", value: { dark: "#2f3c6d", light: "#8e96b5" } }], bauhaus: [{ key: "duotone", value: { dark: "#002787", light: "#e8e8e8" } }], neptune: [{ key: "duotone", value: { dark: "#0a7eff", light: "#e5defa" } }], orca: [{ key: "saturation", value: 0.2 }, { key: "contrast", value: 0.85 }, { key: "brightness", value: 0.9 }, { key: "tint", value: "#2b524c" }], manhattan: [{ key: "saturation", value: 0.2 }, { key: "contrast", value: 0.85 }, { key: "brightness", value: 0.9 }, { key: "tint", value: "#211c0f" }], goldie: [{ key: "saturation", value: 0.2 }, { key: "contrast", value: 0.85 }, { key: "brightness", value: 0.9 }, { key: "tint", value: "#a6966e" }], flamingo: [{ key: "saturation", value: 0.2 }, { key: "contrast", value: 0.85 }, { key: "brightness", value: 0.9 }, { key: "tint", value: "#ff4283" }], faded: [{ key: "saturation", value: 0.2 }, { key: "contrast", value: 0.85 }, { key: "brightness", value: 0.9 }, { key: "tint", value: "#dcdddc" }], gotham: [{ key: "brightness", value: 0.95 }, { key: "contrast", value: 1.35 }, { key: "saturation", value: 0.5, result: "saturation" }, { key: "color", value: "#93676f", inAttr: "SourceGraphic", result: "color" }, { key: "alpha", value: 0.08, inAttr: "color", result: "color_alpha" }, { key: "blend", value: "multiply", inAttr: "color_alpha", in2Attr: "saturation", result: "source" }], hulk: [{ key: "contrast", value: 0.75 }, { key: "brightness", value: 1.2 }, { key: "saturation", value: 0, result: "grayscale" }, { key: "color", value: "#b5c900", inAttr: "SourceGraphic", result: "color" }, { key: "blend", value: "multiply", inAttr: "grayscale", in2Attr: "color" }], midnight: [{ key: "contrast", value: 0.75 }, { key: "brightness", value: 1.2 }, { key: "saturation", value: 0, result: "grayscale" }, { key: "color", value: "#00254b", inAttr: "SourceGraphic", result: "color" }, { key: "blend", value: "multiply", inAttr: "grayscale", in2Attr: "color" }], lucille: [{ key: "contrast", value: 0.75 }, { key: "brightness", value: 1.2 }, { key: "saturation", value: 0, result: "grayscale" }, { key: "color", value: "#d60000", inAttr: "SourceGraphic", result: "color" }, { key: "blend", value: "multiply", inAttr: "grayscale", in2Attr: "color" }], organic: [{ key: "contrast", value: 0.75 }, { key: "brightness", value: 1.2 }, { key: "saturation", value: 0, result: "grayscale" }, { key: "color", value: "#debda5", inAttr: "SourceGraphic", result: "color" }, { key: "blend", value: "multiply", inAttr: "grayscale", in2Attr: "color" }], grayscale: [{ key: "brightness", value: 1 }, { key: "contrast", value: 1 }, { key: "duotone", value: { dark: "#000000", light: "#ffffff" } }], tvDuotone: [{ key: "brightness", value: 0.9 }, { key: "contrast", value: 1.5 }, { key: "duotone", value: { dark: "@color_23", light: "@color_18" } }], tvMonotoneDark: [{ key: "brightness", value: 1.2 }, { key: "contrast", value: 1 }, { key: "duotone", value: { dark: "#000000", light: "@color_8" } }], tvMonotoneLight: [{ key: "brightness", value: 1 }, { key: "contrast", value: 1 }, { key: "duotone", value: { dark: "@color_8", light: "#ffffff" } }], tvHue: [{ key: "hue", value: -60 }, { key: "saturation", value: 1 }] };
        }, 660: function(e2, t2, r2) {
          var n2 = r2(3203), o = r2(7635), a = [].slice, i = ["keyword", "gray", "hex"], l = {};
          Object.keys(o).forEach(function(e3) {
            l[a.call(o[e3].labels).sort().join("")] = e3;
          });
          var s = {};
          function u(e3, t3) {
            if (!(this instanceof u)) return new u(e3, t3);
            if (t3 && t3 in i && (t3 = null), t3 && !(t3 in o)) throw new Error("Unknown model: " + t3);
            var r3, c2;
            if (null == e3) this.model = "rgb", this.color = [0, 0, 0], this.valpha = 1;
            else if (e3 instanceof u) this.model = e3.model, this.color = e3.color.slice(), this.valpha = e3.valpha;
            else if ("string" == typeof e3) {
              var p2 = n2.get(e3);
              if (null === p2) throw new Error("Unable to parse color from string: " + e3);
              this.model = p2.model, c2 = o[this.model].channels, this.color = p2.value.slice(0, c2), this.valpha = "number" == typeof p2.value[c2] ? p2.value[c2] : 1;
            } else if (e3.length) {
              this.model = t3 || "rgb", c2 = o[this.model].channels;
              var f = a.call(e3, 0, c2);
              this.color = d(f, c2), this.valpha = "number" == typeof e3[c2] ? e3[c2] : 1;
            } else if ("number" == typeof e3) e3 &= 16777215, this.model = "rgb", this.color = [e3 >> 16 & 255, e3 >> 8 & 255, 255 & e3], this.valpha = 1;
            else {
              this.valpha = 1;
              var h = Object.keys(e3);
              "alpha" in e3 && (h.splice(h.indexOf("alpha"), 1), this.valpha = "number" == typeof e3.alpha ? e3.alpha : 0);
              var m = h.sort().join("");
              if (!(m in l)) throw new Error("Unable to parse color from object: " + JSON.stringify(e3));
              this.model = l[m];
              var g = o[this.model].labels, y = [];
              for (r3 = 0; r3 < g.length; r3++) y.push(e3[g[r3]]);
              this.color = d(y);
            }
            if (s[this.model]) for (c2 = o[this.model].channels, r3 = 0; r3 < c2; r3++) {
              var b = s[this.model][r3];
              b && (this.color[r3] = b(this.color[r3]));
            }
            this.valpha = Math.max(0, Math.min(1, this.valpha)), Object.freeze && Object.freeze(this);
          }
          function c(e3, t3, r3) {
            return (e3 = Array.isArray(e3) ? e3 : [e3]).forEach(function(e4) {
              (s[e4] || (s[e4] = []))[t3] = r3;
            }), e3 = e3[0], function(n3) {
              var o2;
              return arguments.length ? (r3 && (n3 = r3(n3)), (o2 = this[e3]()).color[t3] = n3, o2) : (o2 = this[e3]().color[t3], r3 && (o2 = r3(o2)), o2);
            };
          }
          function p(e3) {
            return function(t3) {
              return Math.max(0, Math.min(e3, t3));
            };
          }
          function d(e3, t3) {
            for (var r3 = 0; r3 < t3; r3++) "number" != typeof e3[r3] && (e3[r3] = 0);
            return e3;
          }
          u.prototype = { toString: function() {
            return this.string();
          }, toJSON: function() {
            return this[this.model]();
          }, string: function(e3) {
            var t3 = this.model in n2.to ? this : this.rgb(), r3 = 1 === (t3 = t3.round("number" == typeof e3 ? e3 : 1)).valpha ? t3.color : t3.color.concat(this.valpha);
            return n2.to[t3.model](r3);
          }, percentString: function(e3) {
            var t3 = this.rgb().round("number" == typeof e3 ? e3 : 1), r3 = 1 === t3.valpha ? t3.color : t3.color.concat(this.valpha);
            return n2.to.rgb.percent(r3);
          }, array: function() {
            return 1 === this.valpha ? this.color.slice() : this.color.concat(this.valpha);
          }, object: function() {
            for (var e3 = {}, t3 = o[this.model].channels, r3 = o[this.model].labels, n3 = 0; n3 < t3; n3++) e3[r3[n3]] = this.color[n3];
            return 1 !== this.valpha && (e3.alpha = this.valpha), e3;
          }, unitArray: function() {
            var e3 = this.rgb().color;
            return e3[0] /= 255, e3[1] /= 255, e3[2] /= 255, 1 !== this.valpha && e3.push(this.valpha), e3;
          }, unitObject: function() {
            var e3 = this.rgb().object();
            return e3.r /= 255, e3.g /= 255, e3.b /= 255, 1 !== this.valpha && (e3.alpha = this.valpha), e3;
          }, round: function(e3) {
            return e3 = Math.max(e3 || 0, 0), new u(this.color.map(/* @__PURE__ */ function(e4) {
              return function(t3) {
                return function(e5, t4) {
                  return Number(e5.toFixed(t4));
                }(t3, e4);
              };
            }(e3)).concat(this.valpha), this.model);
          }, alpha: function(e3) {
            return arguments.length ? new u(this.color.concat(Math.max(0, Math.min(1, e3))), this.model) : this.valpha;
          }, red: c("rgb", 0, p(255)), green: c("rgb", 1, p(255)), blue: c("rgb", 2, p(255)), hue: c(["hsl", "hsv", "hsl", "hwb", "hcg"], 0, function(e3) {
            return (e3 % 360 + 360) % 360;
          }), saturationl: c("hsl", 1, p(100)), lightness: c("hsl", 2, p(100)), saturationv: c("hsv", 1, p(100)), value: c("hsv", 2, p(100)), chroma: c("hcg", 1, p(100)), gray: c("hcg", 2, p(100)), white: c("hwb", 1, p(100)), wblack: c("hwb", 2, p(100)), cyan: c("cmyk", 0, p(100)), magenta: c("cmyk", 1, p(100)), yellow: c("cmyk", 2, p(100)), black: c("cmyk", 3, p(100)), x: c("xyz", 0, p(100)), y: c("xyz", 1, p(100)), z: c("xyz", 2, p(100)), l: c("lab", 0, p(100)), a: c("lab", 1), b: c("lab", 2), keyword: function(e3) {
            return arguments.length ? new u(e3) : o[this.model].keyword(this.color);
          }, hex: function(e3) {
            return arguments.length ? new u(e3) : n2.to.hex(this.rgb().round().color);
          }, rgbNumber: function() {
            var e3 = this.rgb().color;
            return (255 & e3[0]) << 16 | (255 & e3[1]) << 8 | 255 & e3[2];
          }, luminosity: function() {
            for (var e3 = this.rgb().color, t3 = [], r3 = 0; r3 < e3.length; r3++) {
              var n3 = e3[r3] / 255;
              t3[r3] = n3 <= 0.03928 ? n3 / 12.92 : Math.pow((n3 + 0.055) / 1.055, 2.4);
            }
            return 0.2126 * t3[0] + 0.7152 * t3[1] + 0.0722 * t3[2];
          }, contrast: function(e3) {
            var t3 = this.luminosity(), r3 = e3.luminosity();
            return t3 > r3 ? (t3 + 0.05) / (r3 + 0.05) : (r3 + 0.05) / (t3 + 0.05);
          }, level: function(e3) {
            var t3 = this.contrast(e3);
            return t3 >= 7.1 ? "AAA" : t3 >= 4.5 ? "AA" : "";
          }, isDark: function() {
            var e3 = this.rgb().color;
            return (299 * e3[0] + 587 * e3[1] + 114 * e3[2]) / 1e3 < 128;
          }, isLight: function() {
            return !this.isDark();
          }, negate: function() {
            for (var e3 = this.rgb(), t3 = 0; t3 < 3; t3++) e3.color[t3] = 255 - e3.color[t3];
            return e3;
          }, lighten: function(e3) {
            var t3 = this.hsl();
            return t3.color[2] += t3.color[2] * e3, t3;
          }, darken: function(e3) {
            var t3 = this.hsl();
            return t3.color[2] -= t3.color[2] * e3, t3;
          }, saturate: function(e3) {
            var t3 = this.hsl();
            return t3.color[1] += t3.color[1] * e3, t3;
          }, desaturate: function(e3) {
            var t3 = this.hsl();
            return t3.color[1] -= t3.color[1] * e3, t3;
          }, whiten: function(e3) {
            var t3 = this.hwb();
            return t3.color[1] += t3.color[1] * e3, t3;
          }, blacken: function(e3) {
            var t3 = this.hwb();
            return t3.color[2] += t3.color[2] * e3, t3;
          }, grayscale: function() {
            var e3 = this.rgb().color, t3 = 0.3 * e3[0] + 0.59 * e3[1] + 0.11 * e3[2];
            return u.rgb(t3, t3, t3);
          }, fade: function(e3) {
            return this.alpha(this.valpha - this.valpha * e3);
          }, opaquer: function(e3) {
            return this.alpha(this.valpha + this.valpha * e3);
          }, rotate: function(e3) {
            var t3 = this.hsl(), r3 = t3.color[0];
            return r3 = (r3 = (r3 + e3) % 360) < 0 ? 360 + r3 : r3, t3.color[0] = r3, t3;
          }, mix: function(e3, t3) {
            if (!e3 || !e3.rgb) throw new Error('Argument to "mix" was not a Color instance, but rather an instance of ' + typeof e3);
            var r3 = e3.rgb(), n3 = this.rgb(), o2 = void 0 === t3 ? 0.5 : t3, a2 = 2 * o2 - 1, i2 = r3.alpha() - n3.alpha(), l2 = ((a2 * i2 == -1 ? a2 : (a2 + i2) / (1 + a2 * i2)) + 1) / 2, s2 = 1 - l2;
            return u.rgb(l2 * r3.red() + s2 * n3.red(), l2 * r3.green() + s2 * n3.green(), l2 * r3.blue() + s2 * n3.blue(), r3.alpha() * o2 + n3.alpha() * (1 - o2));
          } }, Object.keys(o).forEach(function(e3) {
            if (-1 === i.indexOf(e3)) {
              var t3 = o[e3].channels;
              u.prototype[e3] = function() {
                if (this.model === e3) return new u(this);
                if (arguments.length) return new u(arguments, e3);
                var r3, n3 = "number" == typeof arguments[t3] ? t3 : this.valpha;
                return new u((r3 = o[this.model][e3].raw(this.color), Array.isArray(r3) ? r3 : [r3]).concat(n3), e3);
              }, u[e3] = function(r3) {
                return "number" == typeof r3 && (r3 = d(a.call(arguments), t3)), new u(r3, e3);
              };
            }
          }), e2.exports = u;
        }, 7064: function(e2, t2, r2) {
          function n2(e3) {
            return /^#(?:[0-9a-fA-F]{3}){1,2}$/i.test(e3);
          }
          function o(e3, t3) {
            void 0 === t3 && (t3 = 1);
            const r3 = 4 === e3.length, n3 = r3 ? /[0-9a-f]/gi : /[0-9a-f]{2}/gi, o2 = e3.match(n3);
            if (!o2) return "rgba(0,0,0,100)";
            const [a2, i, l, s = 255] = o2.map((e4) => parseInt(e4.repeat(r3 ? 2 : 1), 16));
            return `rgba(${a2},${i},${l},${s / 255 * t3})`;
          }
          function a(e3) {
            const [t3, r3, n3, o2] = e3.split(/,\s*/);
            return [`#${((1 << 24) + (+t3 << 16) + (+r3 << 8) + +n3).toString(16).slice(1).toUpperCase()}`, +o2];
          }
          r2.d(t2, { Eg: function() {
            return a;
          }, rW: function() {
            return o;
          }, vq: function() {
            return n2;
          } });
        }, 5349: function(e2, t2, r2) {
          var n2 = r2(7294), o = {};
          for (var a in n2) n2.hasOwnProperty(a) && (o[n2[a]] = a);
          var i = e2.exports = { rgb: { channels: 3, labels: "rgb" }, hsl: { channels: 3, labels: "hsl" }, hsv: { channels: 3, labels: "hsv" }, hwb: { channels: 3, labels: "hwb" }, cmyk: { channels: 4, labels: "cmyk" }, xyz: { channels: 3, labels: "xyz" }, lab: { channels: 3, labels: "lab" }, lch: { channels: 3, labels: "lch" }, hex: { channels: 1, labels: ["hex"] }, keyword: { channels: 1, labels: ["keyword"] }, ansi16: { channels: 1, labels: ["ansi16"] }, ansi256: { channels: 1, labels: ["ansi256"] }, hcg: { channels: 3, labels: ["h", "c", "g"] }, apple: { channels: 3, labels: ["r16", "g16", "b16"] }, gray: { channels: 1, labels: ["gray"] } };
          for (var l in i) if (i.hasOwnProperty(l)) {
            if (!("channels" in i[l])) throw new Error("missing channels property: " + l);
            if (!("labels" in i[l])) throw new Error("missing channel labels property: " + l);
            if (i[l].labels.length !== i[l].channels) throw new Error("channel and label counts mismatch: " + l);
            var s = i[l].channels, u = i[l].labels;
            delete i[l].channels, delete i[l].labels, Object.defineProperty(i[l], "channels", { value: s }), Object.defineProperty(i[l], "labels", { value: u });
          }
          i.rgb.hsl = function(e3) {
            var t3, r3, n3 = e3[0] / 255, o2 = e3[1] / 255, a2 = e3[2] / 255, i2 = Math.min(n3, o2, a2), l2 = Math.max(n3, o2, a2), s2 = l2 - i2;
            return l2 === i2 ? t3 = 0 : n3 === l2 ? t3 = (o2 - a2) / s2 : o2 === l2 ? t3 = 2 + (a2 - n3) / s2 : a2 === l2 && (t3 = 4 + (n3 - o2) / s2), (t3 = Math.min(60 * t3, 360)) < 0 && (t3 += 360), r3 = (i2 + l2) / 2, [t3, 100 * (l2 === i2 ? 0 : r3 <= 0.5 ? s2 / (l2 + i2) : s2 / (2 - l2 - i2)), 100 * r3];
          }, i.rgb.hsv = function(e3) {
            var t3, r3, n3, o2, a2, i2 = e3[0] / 255, l2 = e3[1] / 255, s2 = e3[2] / 255, u2 = Math.max(i2, l2, s2), c = u2 - Math.min(i2, l2, s2), p = function(e4) {
              return (u2 - e4) / 6 / c + 0.5;
            };
            return 0 === c ? o2 = a2 = 0 : (a2 = c / u2, t3 = p(i2), r3 = p(l2), n3 = p(s2), i2 === u2 ? o2 = n3 - r3 : l2 === u2 ? o2 = 1 / 3 + t3 - n3 : s2 === u2 && (o2 = 2 / 3 + r3 - t3), o2 < 0 ? o2 += 1 : o2 > 1 && (o2 -= 1)), [360 * o2, 100 * a2, 100 * u2];
          }, i.rgb.hwb = function(e3) {
            var t3 = e3[0], r3 = e3[1], n3 = e3[2];
            return [i.rgb.hsl(e3)[0], 100 * (1 / 255 * Math.min(t3, Math.min(r3, n3))), 100 * (n3 = 1 - 1 / 255 * Math.max(t3, Math.max(r3, n3)))];
          }, i.rgb.cmyk = function(e3) {
            var t3, r3 = e3[0] / 255, n3 = e3[1] / 255, o2 = e3[2] / 255;
            return [100 * ((1 - r3 - (t3 = Math.min(1 - r3, 1 - n3, 1 - o2))) / (1 - t3) || 0), 100 * ((1 - n3 - t3) / (1 - t3) || 0), 100 * ((1 - o2 - t3) / (1 - t3) || 0), 100 * t3];
          }, i.rgb.keyword = function(e3) {
            var t3 = o[e3];
            if (t3) return t3;
            var r3, a2, i2, l2 = 1 / 0;
            for (var s2 in n2) if (n2.hasOwnProperty(s2)) {
              var u2 = n2[s2], c = (a2 = e3, i2 = u2, Math.pow(a2[0] - i2[0], 2) + Math.pow(a2[1] - i2[1], 2) + Math.pow(a2[2] - i2[2], 2));
              c < l2 && (l2 = c, r3 = s2);
            }
            return r3;
          }, i.keyword.rgb = function(e3) {
            return n2[e3];
          }, i.rgb.xyz = function(e3) {
            var t3 = e3[0] / 255, r3 = e3[1] / 255, n3 = e3[2] / 255;
            return [100 * (0.4124 * (t3 = t3 > 0.04045 ? Math.pow((t3 + 0.055) / 1.055, 2.4) : t3 / 12.92) + 0.3576 * (r3 = r3 > 0.04045 ? Math.pow((r3 + 0.055) / 1.055, 2.4) : r3 / 12.92) + 0.1805 * (n3 = n3 > 0.04045 ? Math.pow((n3 + 0.055) / 1.055, 2.4) : n3 / 12.92)), 100 * (0.2126 * t3 + 0.7152 * r3 + 0.0722 * n3), 100 * (0.0193 * t3 + 0.1192 * r3 + 0.9505 * n3)];
          }, i.rgb.lab = function(e3) {
            var t3 = i.rgb.xyz(e3), r3 = t3[0], n3 = t3[1], o2 = t3[2];
            return n3 /= 100, o2 /= 108.883, r3 = (r3 /= 95.047) > 8856e-6 ? Math.pow(r3, 1 / 3) : 7.787 * r3 + 16 / 116, [116 * (n3 = n3 > 8856e-6 ? Math.pow(n3, 1 / 3) : 7.787 * n3 + 16 / 116) - 16, 500 * (r3 - n3), 200 * (n3 - (o2 = o2 > 8856e-6 ? Math.pow(o2, 1 / 3) : 7.787 * o2 + 16 / 116))];
          }, i.hsl.rgb = function(e3) {
            var t3, r3, n3, o2, a2, i2 = e3[0] / 360, l2 = e3[1] / 100, s2 = e3[2] / 100;
            if (0 === l2) return [a2 = 255 * s2, a2, a2];
            t3 = 2 * s2 - (r3 = s2 < 0.5 ? s2 * (1 + l2) : s2 + l2 - s2 * l2), o2 = [0, 0, 0];
            for (var u2 = 0; u2 < 3; u2++) (n3 = i2 + 1 / 3 * -(u2 - 1)) < 0 && n3++, n3 > 1 && n3--, a2 = 6 * n3 < 1 ? t3 + 6 * (r3 - t3) * n3 : 2 * n3 < 1 ? r3 : 3 * n3 < 2 ? t3 + (r3 - t3) * (2 / 3 - n3) * 6 : t3, o2[u2] = 255 * a2;
            return o2;
          }, i.hsl.hsv = function(e3) {
            var t3 = e3[0], r3 = e3[1] / 100, n3 = e3[2] / 100, o2 = r3, a2 = Math.max(n3, 0.01);
            return r3 *= (n3 *= 2) <= 1 ? n3 : 2 - n3, o2 *= a2 <= 1 ? a2 : 2 - a2, [t3, 100 * (0 === n3 ? 2 * o2 / (a2 + o2) : 2 * r3 / (n3 + r3)), 100 * ((n3 + r3) / 2)];
          }, i.hsv.rgb = function(e3) {
            var t3 = e3[0] / 60, r3 = e3[1] / 100, n3 = e3[2] / 100, o2 = Math.floor(t3) % 6, a2 = t3 - Math.floor(t3), i2 = 255 * n3 * (1 - r3), l2 = 255 * n3 * (1 - r3 * a2), s2 = 255 * n3 * (1 - r3 * (1 - a2));
            switch (n3 *= 255, o2) {
              case 0:
                return [n3, s2, i2];
              case 1:
                return [l2, n3, i2];
              case 2:
                return [i2, n3, s2];
              case 3:
                return [i2, l2, n3];
              case 4:
                return [s2, i2, n3];
              case 5:
                return [n3, i2, l2];
            }
          }, i.hsv.hsl = function(e3) {
            var t3, r3, n3, o2 = e3[0], a2 = e3[1] / 100, i2 = e3[2] / 100, l2 = Math.max(i2, 0.01);
            return n3 = (2 - a2) * i2, r3 = a2 * l2, [o2, 100 * (r3 = (r3 /= (t3 = (2 - a2) * l2) <= 1 ? t3 : 2 - t3) || 0), 100 * (n3 /= 2)];
          }, i.hwb.rgb = function(e3) {
            var t3, r3, n3, o2, a2, i2, l2, s2 = e3[0] / 360, u2 = e3[1] / 100, c = e3[2] / 100, p = u2 + c;
            switch (p > 1 && (u2 /= p, c /= p), n3 = 6 * s2 - (t3 = Math.floor(6 * s2)), 1 & t3 && (n3 = 1 - n3), o2 = u2 + n3 * ((r3 = 1 - c) - u2), t3) {
              default:
              case 6:
              case 0:
                a2 = r3, i2 = o2, l2 = u2;
                break;
              case 1:
                a2 = o2, i2 = r3, l2 = u2;
                break;
              case 2:
                a2 = u2, i2 = r3, l2 = o2;
                break;
              case 3:
                a2 = u2, i2 = o2, l2 = r3;
                break;
              case 4:
                a2 = o2, i2 = u2, l2 = r3;
                break;
              case 5:
                a2 = r3, i2 = u2, l2 = o2;
            }
            return [255 * a2, 255 * i2, 255 * l2];
          }, i.cmyk.rgb = function(e3) {
            var t3 = e3[0] / 100, r3 = e3[1] / 100, n3 = e3[2] / 100, o2 = e3[3] / 100;
            return [255 * (1 - Math.min(1, t3 * (1 - o2) + o2)), 255 * (1 - Math.min(1, r3 * (1 - o2) + o2)), 255 * (1 - Math.min(1, n3 * (1 - o2) + o2))];
          }, i.xyz.rgb = function(e3) {
            var t3, r3, n3, o2 = e3[0] / 100, a2 = e3[1] / 100, i2 = e3[2] / 100;
            return r3 = -0.9689 * o2 + 1.8758 * a2 + 0.0415 * i2, n3 = 0.0557 * o2 + -0.204 * a2 + 1.057 * i2, t3 = (t3 = 3.2406 * o2 + -1.5372 * a2 + -0.4986 * i2) > 31308e-7 ? 1.055 * Math.pow(t3, 1 / 2.4) - 0.055 : 12.92 * t3, r3 = r3 > 31308e-7 ? 1.055 * Math.pow(r3, 1 / 2.4) - 0.055 : 12.92 * r3, n3 = n3 > 31308e-7 ? 1.055 * Math.pow(n3, 1 / 2.4) - 0.055 : 12.92 * n3, [255 * (t3 = Math.min(Math.max(0, t3), 1)), 255 * (r3 = Math.min(Math.max(0, r3), 1)), 255 * (n3 = Math.min(Math.max(0, n3), 1))];
          }, i.xyz.lab = function(e3) {
            var t3 = e3[0], r3 = e3[1], n3 = e3[2];
            return r3 /= 100, n3 /= 108.883, t3 = (t3 /= 95.047) > 8856e-6 ? Math.pow(t3, 1 / 3) : 7.787 * t3 + 16 / 116, [116 * (r3 = r3 > 8856e-6 ? Math.pow(r3, 1 / 3) : 7.787 * r3 + 16 / 116) - 16, 500 * (t3 - r3), 200 * (r3 - (n3 = n3 > 8856e-6 ? Math.pow(n3, 1 / 3) : 7.787 * n3 + 16 / 116))];
          }, i.lab.xyz = function(e3) {
            var t3, r3, n3, o2 = e3[0];
            t3 = e3[1] / 500 + (r3 = (o2 + 16) / 116), n3 = r3 - e3[2] / 200;
            var a2 = Math.pow(r3, 3), i2 = Math.pow(t3, 3), l2 = Math.pow(n3, 3);
            return r3 = a2 > 8856e-6 ? a2 : (r3 - 16 / 116) / 7.787, t3 = i2 > 8856e-6 ? i2 : (t3 - 16 / 116) / 7.787, n3 = l2 > 8856e-6 ? l2 : (n3 - 16 / 116) / 7.787, [t3 *= 95.047, r3 *= 100, n3 *= 108.883];
          }, i.lab.lch = function(e3) {
            var t3, r3 = e3[0], n3 = e3[1], o2 = e3[2];
            return (t3 = 360 * Math.atan2(o2, n3) / 2 / Math.PI) < 0 && (t3 += 360), [r3, Math.sqrt(n3 * n3 + o2 * o2), t3];
          }, i.lch.lab = function(e3) {
            var t3, r3 = e3[0], n3 = e3[1];
            return t3 = e3[2] / 360 * 2 * Math.PI, [r3, n3 * Math.cos(t3), n3 * Math.sin(t3)];
          }, i.rgb.ansi16 = function(e3) {
            var t3 = e3[0], r3 = e3[1], n3 = e3[2], o2 = 1 in arguments ? arguments[1] : i.rgb.hsv(e3)[2];
            if (0 === (o2 = Math.round(o2 / 50))) return 30;
            var a2 = 30 + (Math.round(n3 / 255) << 2 | Math.round(r3 / 255) << 1 | Math.round(t3 / 255));
            return 2 === o2 && (a2 += 60), a2;
          }, i.hsv.ansi16 = function(e3) {
            return i.rgb.ansi16(i.hsv.rgb(e3), e3[2]);
          }, i.rgb.ansi256 = function(e3) {
            var t3 = e3[0], r3 = e3[1], n3 = e3[2];
            return t3 === r3 && r3 === n3 ? t3 < 8 ? 16 : t3 > 248 ? 231 : Math.round((t3 - 8) / 247 * 24) + 232 : 16 + 36 * Math.round(t3 / 255 * 5) + 6 * Math.round(r3 / 255 * 5) + Math.round(n3 / 255 * 5);
          }, i.ansi16.rgb = function(e3) {
            var t3 = e3 % 10;
            if (0 === t3 || 7 === t3) return e3 > 50 && (t3 += 3.5), [t3 = t3 / 10.5 * 255, t3, t3];
            var r3 = 0.5 * (1 + ~~(e3 > 50));
            return [(1 & t3) * r3 * 255, (t3 >> 1 & 1) * r3 * 255, (t3 >> 2 & 1) * r3 * 255];
          }, i.ansi256.rgb = function(e3) {
            if (e3 >= 232) {
              var t3 = 10 * (e3 - 232) + 8;
              return [t3, t3, t3];
            }
            var r3;
            return e3 -= 16, [Math.floor(e3 / 36) / 5 * 255, Math.floor((r3 = e3 % 36) / 6) / 5 * 255, r3 % 6 / 5 * 255];
          }, i.rgb.hex = function(e3) {
            var t3 = (((255 & Math.round(e3[0])) << 16) + ((255 & Math.round(e3[1])) << 8) + (255 & Math.round(e3[2]))).toString(16).toUpperCase();
            return "000000".substring(t3.length) + t3;
          }, i.hex.rgb = function(e3) {
            var t3 = e3.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);
            if (!t3) return [0, 0, 0];
            var r3 = t3[0];
            3 === t3[0].length && (r3 = r3.split("").map(function(e4) {
              return e4 + e4;
            }).join(""));
            var n3 = parseInt(r3, 16);
            return [n3 >> 16 & 255, n3 >> 8 & 255, 255 & n3];
          }, i.rgb.hcg = function(e3) {
            var t3, r3 = e3[0] / 255, n3 = e3[1] / 255, o2 = e3[2] / 255, a2 = Math.max(Math.max(r3, n3), o2), i2 = Math.min(Math.min(r3, n3), o2), l2 = a2 - i2;
            return t3 = l2 <= 0 ? 0 : a2 === r3 ? (n3 - o2) / l2 % 6 : a2 === n3 ? 2 + (o2 - r3) / l2 : 4 + (r3 - n3) / l2 + 4, t3 /= 6, [360 * (t3 %= 1), 100 * l2, 100 * (l2 < 1 ? i2 / (1 - l2) : 0)];
          }, i.hsl.hcg = function(e3) {
            var t3 = e3[1] / 100, r3 = e3[2] / 100, n3 = 1, o2 = 0;
            return (n3 = r3 < 0.5 ? 2 * t3 * r3 : 2 * t3 * (1 - r3)) < 1 && (o2 = (r3 - 0.5 * n3) / (1 - n3)), [e3[0], 100 * n3, 100 * o2];
          }, i.hsv.hcg = function(e3) {
            var t3 = e3[1] / 100, r3 = e3[2] / 100, n3 = t3 * r3, o2 = 0;
            return n3 < 1 && (o2 = (r3 - n3) / (1 - n3)), [e3[0], 100 * n3, 100 * o2];
          }, i.hcg.rgb = function(e3) {
            var t3 = e3[0] / 360, r3 = e3[1] / 100, n3 = e3[2] / 100;
            if (0 === r3) return [255 * n3, 255 * n3, 255 * n3];
            var o2, a2 = [0, 0, 0], i2 = t3 % 1 * 6, l2 = i2 % 1, s2 = 1 - l2;
            switch (Math.floor(i2)) {
              case 0:
                a2[0] = 1, a2[1] = l2, a2[2] = 0;
                break;
              case 1:
                a2[0] = s2, a2[1] = 1, a2[2] = 0;
                break;
              case 2:
                a2[0] = 0, a2[1] = 1, a2[2] = l2;
                break;
              case 3:
                a2[0] = 0, a2[1] = s2, a2[2] = 1;
                break;
              case 4:
                a2[0] = l2, a2[1] = 0, a2[2] = 1;
                break;
              default:
                a2[0] = 1, a2[1] = 0, a2[2] = s2;
            }
            return o2 = (1 - r3) * n3, [255 * (r3 * a2[0] + o2), 255 * (r3 * a2[1] + o2), 255 * (r3 * a2[2] + o2)];
          }, i.hcg.hsv = function(e3) {
            var t3 = e3[1] / 100, r3 = t3 + e3[2] / 100 * (1 - t3), n3 = 0;
            return r3 > 0 && (n3 = t3 / r3), [e3[0], 100 * n3, 100 * r3];
          }, i.hcg.hsl = function(e3) {
            var t3 = e3[1] / 100, r3 = e3[2] / 100 * (1 - t3) + 0.5 * t3, n3 = 0;
            return r3 > 0 && r3 < 0.5 ? n3 = t3 / (2 * r3) : r3 >= 0.5 && r3 < 1 && (n3 = t3 / (2 * (1 - r3))), [e3[0], 100 * n3, 100 * r3];
          }, i.hcg.hwb = function(e3) {
            var t3 = e3[1] / 100, r3 = t3 + e3[2] / 100 * (1 - t3);
            return [e3[0], 100 * (r3 - t3), 100 * (1 - r3)];
          }, i.hwb.hcg = function(e3) {
            var t3 = e3[1] / 100, r3 = 1 - e3[2] / 100, n3 = r3 - t3, o2 = 0;
            return n3 < 1 && (o2 = (r3 - n3) / (1 - n3)), [e3[0], 100 * n3, 100 * o2];
          }, i.apple.rgb = function(e3) {
            return [e3[0] / 65535 * 255, e3[1] / 65535 * 255, e3[2] / 65535 * 255];
          }, i.rgb.apple = function(e3) {
            return [e3[0] / 255 * 65535, e3[1] / 255 * 65535, e3[2] / 255 * 65535];
          }, i.gray.rgb = function(e3) {
            return [e3[0] / 100 * 255, e3[0] / 100 * 255, e3[0] / 100 * 255];
          }, i.gray.hsl = i.gray.hsv = function(e3) {
            return [0, 0, e3[0]];
          }, i.gray.hwb = function(e3) {
            return [0, 100, e3[0]];
          }, i.gray.cmyk = function(e3) {
            return [0, 0, 0, e3[0]];
          }, i.gray.lab = function(e3) {
            return [e3[0], 0, 0];
          }, i.gray.hex = function(e3) {
            var t3 = 255 & Math.round(e3[0] / 100 * 255), r3 = ((t3 << 16) + (t3 << 8) + t3).toString(16).toUpperCase();
            return "000000".substring(r3.length) + r3;
          }, i.rgb.gray = function(e3) {
            return [(e3[0] + e3[1] + e3[2]) / 3 / 255 * 100];
          };
        }, 7635: function(e2, t2, r2) {
          var n2 = r2(5349), o = r2(5636), a = {};
          Object.keys(n2).forEach(function(e3) {
            a[e3] = {}, Object.defineProperty(a[e3], "channels", { value: n2[e3].channels }), Object.defineProperty(a[e3], "labels", { value: n2[e3].labels });
            var t3 = o(e3);
            Object.keys(t3).forEach(function(r3) {
              var n3 = t3[r3];
              a[e3][r3] = function(e4) {
                var t4 = function(t5) {
                  if (null == t5) return t5;
                  arguments.length > 1 && (t5 = Array.prototype.slice.call(arguments));
                  var r4 = e4(t5);
                  if ("object" == typeof r4) for (var n4 = r4.length, o2 = 0; o2 < n4; o2++) r4[o2] = Math.round(r4[o2]);
                  return r4;
                };
                return "conversion" in e4 && (t4.conversion = e4.conversion), t4;
              }(n3), a[e3][r3].raw = function(e4) {
                var t4 = function(t5) {
                  return null == t5 ? t5 : (arguments.length > 1 && (t5 = Array.prototype.slice.call(arguments)), e4(t5));
                };
                return "conversion" in e4 && (t4.conversion = e4.conversion), t4;
              }(n3);
            });
          }), e2.exports = a;
        }, 7294: function(e2) {
          e2.exports = { aliceblue: [240, 248, 255], antiquewhite: [250, 235, 215], aqua: [0, 255, 255], aquamarine: [127, 255, 212], azure: [240, 255, 255], beige: [245, 245, 220], bisque: [255, 228, 196], black: [0, 0, 0], blanchedalmond: [255, 235, 205], blue: [0, 0, 255], blueviolet: [138, 43, 226], brown: [165, 42, 42], burlywood: [222, 184, 135], cadetblue: [95, 158, 160], chartreuse: [127, 255, 0], chocolate: [210, 105, 30], coral: [255, 127, 80], cornflowerblue: [100, 149, 237], cornsilk: [255, 248, 220], crimson: [220, 20, 60], cyan: [0, 255, 255], darkblue: [0, 0, 139], darkcyan: [0, 139, 139], darkgoldenrod: [184, 134, 11], darkgray: [169, 169, 169], darkgreen: [0, 100, 0], darkgrey: [169, 169, 169], darkkhaki: [189, 183, 107], darkmagenta: [139, 0, 139], darkolivegreen: [85, 107, 47], darkorange: [255, 140, 0], darkorchid: [153, 50, 204], darkred: [139, 0, 0], darksalmon: [233, 150, 122], darkseagreen: [143, 188, 143], darkslateblue: [72, 61, 139], darkslategray: [47, 79, 79], darkslategrey: [47, 79, 79], darkturquoise: [0, 206, 209], darkviolet: [148, 0, 211], deeppink: [255, 20, 147], deepskyblue: [0, 191, 255], dimgray: [105, 105, 105], dimgrey: [105, 105, 105], dodgerblue: [30, 144, 255], firebrick: [178, 34, 34], floralwhite: [255, 250, 240], forestgreen: [34, 139, 34], fuchsia: [255, 0, 255], gainsboro: [220, 220, 220], ghostwhite: [248, 248, 255], gold: [255, 215, 0], goldenrod: [218, 165, 32], gray: [128, 128, 128], green: [0, 128, 0], greenyellow: [173, 255, 47], grey: [128, 128, 128], honeydew: [240, 255, 240], hotpink: [255, 105, 180], indianred: [205, 92, 92], indigo: [75, 0, 130], ivory: [255, 255, 240], khaki: [240, 230, 140], lavender: [230, 230, 250], lavenderblush: [255, 240, 245], lawngreen: [124, 252, 0], lemonchiffon: [255, 250, 205], lightblue: [173, 216, 230], lightcoral: [240, 128, 128], lightcyan: [224, 255, 255], lightgoldenrodyellow: [250, 250, 210], lightgray: [211, 211, 211], lightgreen: [144, 238, 144], lightgrey: [211, 211, 211], lightpink: [255, 182, 193], lightsalmon: [255, 160, 122], lightseagreen: [32, 178, 170], lightskyblue: [135, 206, 250], lightslategray: [119, 136, 153], lightslategrey: [119, 136, 153], lightsteelblue: [176, 196, 222], lightyellow: [255, 255, 224], lime: [0, 255, 0], limegreen: [50, 205, 50], linen: [250, 240, 230], magenta: [255, 0, 255], maroon: [128, 0, 0], mediumaquamarine: [102, 205, 170], mediumblue: [0, 0, 205], mediumorchid: [186, 85, 211], mediumpurple: [147, 112, 219], mediumseagreen: [60, 179, 113], mediumslateblue: [123, 104, 238], mediumspringgreen: [0, 250, 154], mediumturquoise: [72, 209, 204], mediumvioletred: [199, 21, 133], midnightblue: [25, 25, 112], mintcream: [245, 255, 250], mistyrose: [255, 228, 225], moccasin: [255, 228, 181], navajowhite: [255, 222, 173], navy: [0, 0, 128], oldlace: [253, 245, 230], olive: [128, 128, 0], olivedrab: [107, 142, 35], orange: [255, 165, 0], orangered: [255, 69, 0], orchid: [218, 112, 214], palegoldenrod: [238, 232, 170], palegreen: [152, 251, 152], paleturquoise: [175, 238, 238], palevioletred: [219, 112, 147], papayawhip: [255, 239, 213], peachpuff: [255, 218, 185], peru: [205, 133, 63], pink: [255, 192, 203], plum: [221, 160, 221], powderblue: [176, 224, 230], purple: [128, 0, 128], rebeccapurple: [102, 51, 153], red: [255, 0, 0], rosybrown: [188, 143, 143], royalblue: [65, 105, 225], saddlebrown: [139, 69, 19], salmon: [250, 128, 114], sandybrown: [244, 164, 96], seagreen: [46, 139, 87], seashell: [255, 245, 238], sienna: [160, 82, 45], silver: [192, 192, 192], skyblue: [135, 206, 235], slateblue: [106, 90, 205], slategray: [112, 128, 144], slategrey: [112, 128, 144], snow: [255, 250, 250], springgreen: [0, 255, 127], steelblue: [70, 130, 180], tan: [210, 180, 140], teal: [0, 128, 128], thistle: [216, 191, 216], tomato: [255, 99, 71], turquoise: [64, 224, 208], violet: [238, 130, 238], wheat: [245, 222, 179], white: [255, 255, 255], whitesmoke: [245, 245, 245], yellow: [255, 255, 0], yellowgreen: [154, 205, 50] };
        }, 5636: function(e2, t2, r2) {
          var n2 = r2(5349);
          function o(e3) {
            var t3 = function() {
              for (var e4 = {}, t4 = Object.keys(n2), r4 = t4.length, o3 = 0; o3 < r4; o3++) e4[t4[o3]] = { distance: -1, parent: null };
              return e4;
            }(), r3 = [e3];
            for (t3[e3].distance = 0; r3.length; ) for (var o2 = r3.pop(), a2 = Object.keys(n2[o2]), i2 = a2.length, l = 0; l < i2; l++) {
              var s = a2[l], u = t3[s];
              -1 === u.distance && (u.distance = t3[o2].distance + 1, u.parent = o2, r3.unshift(s));
            }
            return t3;
          }
          function a(e3, t3) {
            return function(r3) {
              return t3(e3(r3));
            };
          }
          function i(e3, t3) {
            for (var r3 = [t3[e3].parent, e3], o2 = n2[t3[e3].parent][e3], i2 = t3[e3].parent; t3[i2].parent; ) r3.unshift(t3[i2].parent), o2 = a(n2[t3[i2].parent][i2], o2), i2 = t3[i2].parent;
            return o2.conversion = r3, o2;
          }
          e2.exports = function(e3) {
            for (var t3 = o(e3), r3 = {}, n3 = Object.keys(t3), a2 = n3.length, l = 0; l < a2; l++) {
              var s = n3[l];
              null !== t3[s].parent && (r3[s] = i(s, t3));
            }
            return r3;
          };
        }, 2319: function(e2) {
          e2.exports = { aliceblue: [240, 248, 255], antiquewhite: [250, 235, 215], aqua: [0, 255, 255], aquamarine: [127, 255, 212], azure: [240, 255, 255], beige: [245, 245, 220], bisque: [255, 228, 196], black: [0, 0, 0], blanchedalmond: [255, 235, 205], blue: [0, 0, 255], blueviolet: [138, 43, 226], brown: [165, 42, 42], burlywood: [222, 184, 135], cadetblue: [95, 158, 160], chartreuse: [127, 255, 0], chocolate: [210, 105, 30], coral: [255, 127, 80], cornflowerblue: [100, 149, 237], cornsilk: [255, 248, 220], crimson: [220, 20, 60], cyan: [0, 255, 255], darkblue: [0, 0, 139], darkcyan: [0, 139, 139], darkgoldenrod: [184, 134, 11], darkgray: [169, 169, 169], darkgreen: [0, 100, 0], darkgrey: [169, 169, 169], darkkhaki: [189, 183, 107], darkmagenta: [139, 0, 139], darkolivegreen: [85, 107, 47], darkorange: [255, 140, 0], darkorchid: [153, 50, 204], darkred: [139, 0, 0], darksalmon: [233, 150, 122], darkseagreen: [143, 188, 143], darkslateblue: [72, 61, 139], darkslategray: [47, 79, 79], darkslategrey: [47, 79, 79], darkturquoise: [0, 206, 209], darkviolet: [148, 0, 211], deeppink: [255, 20, 147], deepskyblue: [0, 191, 255], dimgray: [105, 105, 105], dimgrey: [105, 105, 105], dodgerblue: [30, 144, 255], firebrick: [178, 34, 34], floralwhite: [255, 250, 240], forestgreen: [34, 139, 34], fuchsia: [255, 0, 255], gainsboro: [220, 220, 220], ghostwhite: [248, 248, 255], gold: [255, 215, 0], goldenrod: [218, 165, 32], gray: [128, 128, 128], green: [0, 128, 0], greenyellow: [173, 255, 47], grey: [128, 128, 128], honeydew: [240, 255, 240], hotpink: [255, 105, 180], indianred: [205, 92, 92], indigo: [75, 0, 130], ivory: [255, 255, 240], khaki: [240, 230, 140], lavender: [230, 230, 250], lavenderblush: [255, 240, 245], lawngreen: [124, 252, 0], lemonchiffon: [255, 250, 205], lightblue: [173, 216, 230], lightcoral: [240, 128, 128], lightcyan: [224, 255, 255], lightgoldenrodyellow: [250, 250, 210], lightgray: [211, 211, 211], lightgreen: [144, 238, 144], lightgrey: [211, 211, 211], lightpink: [255, 182, 193], lightsalmon: [255, 160, 122], lightseagreen: [32, 178, 170], lightskyblue: [135, 206, 250], lightslategray: [119, 136, 153], lightslategrey: [119, 136, 153], lightsteelblue: [176, 196, 222], lightyellow: [255, 255, 224], lime: [0, 255, 0], limegreen: [50, 205, 50], linen: [250, 240, 230], magenta: [255, 0, 255], maroon: [128, 0, 0], mediumaquamarine: [102, 205, 170], mediumblue: [0, 0, 205], mediumorchid: [186, 85, 211], mediumpurple: [147, 112, 219], mediumseagreen: [60, 179, 113], mediumslateblue: [123, 104, 238], mediumspringgreen: [0, 250, 154], mediumturquoise: [72, 209, 204], mediumvioletred: [199, 21, 133], midnightblue: [25, 25, 112], mintcream: [245, 255, 250], mistyrose: [255, 228, 225], moccasin: [255, 228, 181], navajowhite: [255, 222, 173], navy: [0, 0, 128], oldlace: [253, 245, 230], olive: [128, 128, 0], olivedrab: [107, 142, 35], orange: [255, 165, 0], orangered: [255, 69, 0], orchid: [218, 112, 214], palegoldenrod: [238, 232, 170], palegreen: [152, 251, 152], paleturquoise: [175, 238, 238], palevioletred: [219, 112, 147], papayawhip: [255, 239, 213], peachpuff: [255, 218, 185], peru: [205, 133, 63], pink: [255, 192, 203], plum: [221, 160, 221], powderblue: [176, 224, 230], purple: [128, 0, 128], rebeccapurple: [102, 51, 153], red: [255, 0, 0], rosybrown: [188, 143, 143], royalblue: [65, 105, 225], saddlebrown: [139, 69, 19], salmon: [250, 128, 114], sandybrown: [244, 164, 96], seagreen: [46, 139, 87], seashell: [255, 245, 238], sienna: [160, 82, 45], silver: [192, 192, 192], skyblue: [135, 206, 235], slateblue: [106, 90, 205], slategray: [112, 128, 144], slategrey: [112, 128, 144], snow: [255, 250, 250], springgreen: [0, 255, 127], steelblue: [70, 130, 180], tan: [210, 180, 140], teal: [0, 128, 128], thistle: [216, 191, 216], tomato: [255, 99, 71], turquoise: [64, 224, 208], violet: [238, 130, 238], wheat: [245, 222, 179], white: [255, 255, 255], whitesmoke: [245, 245, 245], yellow: [255, 255, 0], yellowgreen: [154, 205, 50] };
        }, 3203: function(e2, t2, r2) {
          var n2 = r2(2319), o = r2(9429), a = Object.hasOwnProperty, i = /* @__PURE__ */ Object.create(null);
          for (var l in n2) a.call(n2, l) && (i[n2[l]] = l);
          var s = e2.exports = { to: {}, get: {} };
          function u(e3, t3, r3) {
            return Math.min(Math.max(t3, e3), r3);
          }
          function c(e3) {
            var t3 = Math.round(e3).toString(16).toUpperCase();
            return t3.length < 2 ? "0" + t3 : t3;
          }
          s.get = function(e3) {
            var t3, r3;
            switch (e3.substring(0, 3).toLowerCase()) {
              case "hsl":
                t3 = s.get.hsl(e3), r3 = "hsl";
                break;
              case "hwb":
                t3 = s.get.hwb(e3), r3 = "hwb";
                break;
              default:
                t3 = s.get.rgb(e3), r3 = "rgb";
            }
            return t3 ? { model: r3, value: t3 } : null;
          }, s.get.rgb = function(e3) {
            if (!e3) return null;
            var t3, r3, o2, i2 = [0, 0, 0, 1];
            if (t3 = e3.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)) {
              for (o2 = t3[2], t3 = t3[1], r3 = 0; r3 < 3; r3++) {
                var l2 = 2 * r3;
                i2[r3] = parseInt(t3.slice(l2, l2 + 2), 16);
              }
              o2 && (i2[3] = parseInt(o2, 16) / 255);
            } else if (t3 = e3.match(/^#([a-f0-9]{3,4})$/i)) {
              for (o2 = (t3 = t3[1])[3], r3 = 0; r3 < 3; r3++) i2[r3] = parseInt(t3[r3] + t3[r3], 16);
              o2 && (i2[3] = parseInt(o2 + o2, 16) / 255);
            } else if (t3 = e3.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)) {
              for (r3 = 0; r3 < 3; r3++) i2[r3] = parseInt(t3[r3 + 1], 0);
              t3[4] && (t3[5] ? i2[3] = 0.01 * parseFloat(t3[4]) : i2[3] = parseFloat(t3[4]));
            } else {
              if (!(t3 = e3.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/))) return (t3 = e3.match(/^(\w+)$/)) ? "transparent" === t3[1] ? [0, 0, 0, 0] : a.call(n2, t3[1]) ? ((i2 = n2[t3[1]])[3] = 1, i2) : null : null;
              for (r3 = 0; r3 < 3; r3++) i2[r3] = Math.round(2.55 * parseFloat(t3[r3 + 1]));
              t3[4] && (t3[5] ? i2[3] = 0.01 * parseFloat(t3[4]) : i2[3] = parseFloat(t3[4]));
            }
            for (r3 = 0; r3 < 3; r3++) i2[r3] = u(i2[r3], 0, 255);
            return i2[3] = u(i2[3], 0, 1), i2;
          }, s.get.hsl = function(e3) {
            if (!e3) return null;
            var t3 = e3.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);
            if (t3) {
              var r3 = parseFloat(t3[4]);
              return [(parseFloat(t3[1]) % 360 + 360) % 360, u(parseFloat(t3[2]), 0, 100), u(parseFloat(t3[3]), 0, 100), u(isNaN(r3) ? 1 : r3, 0, 1)];
            }
            return null;
          }, s.get.hwb = function(e3) {
            if (!e3) return null;
            var t3 = e3.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);
            if (t3) {
              var r3 = parseFloat(t3[4]);
              return [(parseFloat(t3[1]) % 360 + 360) % 360, u(parseFloat(t3[2]), 0, 100), u(parseFloat(t3[3]), 0, 100), u(isNaN(r3) ? 1 : r3, 0, 1)];
            }
            return null;
          }, s.to.hex = function() {
            var e3 = o(arguments);
            return "#" + c(e3[0]) + c(e3[1]) + c(e3[2]) + (e3[3] < 1 ? c(Math.round(255 * e3[3])) : "");
          }, s.to.rgb = function() {
            var e3 = o(arguments);
            return e3.length < 4 || 1 === e3[3] ? "rgb(" + Math.round(e3[0]) + ", " + Math.round(e3[1]) + ", " + Math.round(e3[2]) + ")" : "rgba(" + Math.round(e3[0]) + ", " + Math.round(e3[1]) + ", " + Math.round(e3[2]) + ", " + e3[3] + ")";
          }, s.to.rgb.percent = function() {
            var e3 = o(arguments), t3 = Math.round(e3[0] / 255 * 100), r3 = Math.round(e3[1] / 255 * 100), n3 = Math.round(e3[2] / 255 * 100);
            return e3.length < 4 || 1 === e3[3] ? "rgb(" + t3 + "%, " + r3 + "%, " + n3 + "%)" : "rgba(" + t3 + "%, " + r3 + "%, " + n3 + "%, " + e3[3] + ")";
          }, s.to.hsl = function() {
            var e3 = o(arguments);
            return e3.length < 4 || 1 === e3[3] ? "hsl(" + e3[0] + ", " + e3[1] + "%, " + e3[2] + "%)" : "hsla(" + e3[0] + ", " + e3[1] + "%, " + e3[2] + "%, " + e3[3] + ")";
          }, s.to.hwb = function() {
            var e3 = o(arguments), t3 = "";
            return e3.length >= 4 && 1 !== e3[3] && (t3 = ", " + e3[3]), "hwb(" + e3[0] + ", " + e3[1] + "%, " + e3[2] + "%" + t3 + ")";
          }, s.to.keyword = function(e3) {
            return i[e3.slice(0, 3)];
          };
        }, 9429: function(e2, t2, r2) {
          var n2 = r2(5631), o = Array.prototype.concat, a = Array.prototype.slice, i = e2.exports = function(e3) {
            for (var t3 = [], r3 = 0, i2 = e3.length; r3 < i2; r3++) {
              var l = e3[r3];
              n2(l) ? t3 = o.call(t3, a.call(l)) : t3.push(l);
            }
            return t3;
          };
          i.wrap = function(e3) {
            return function() {
              return e3(i(arguments));
            };
          };
        }, 5631: function(e2) {
          e2.exports = function(e3) {
            return !(!e3 || "string" == typeof e3) && (e3 instanceof Array || Array.isArray(e3) || e3.length >= 0 && (e3.splice instanceof Function || Object.getOwnPropertyDescriptor(e3, e3.length - 1) && "String" !== e3.constructor.name));
          };
        }, 2712: function(e2, t2, r2) {
          r2.r(t2), r2.d(t2, { __addDisposableResource: function() {
            return j;
          }, __assign: function() {
            return a;
          }, __asyncDelegator: function() {
            return A;
          }, __asyncGenerator: function() {
            return N;
          }, __asyncValues: function() {
            return C;
          }, __await: function() {
            return x;
          }, __awaiter: function() {
            return h;
          }, __classPrivateFieldGet: function() {
            return E;
          }, __classPrivateFieldIn: function() {
            return M;
          }, __classPrivateFieldSet: function() {
            return T;
          }, __createBinding: function() {
            return g;
          }, __decorate: function() {
            return l;
          }, __disposeResources: function() {
            return R;
          }, __esDecorate: function() {
            return u;
          }, __exportStar: function() {
            return y;
          }, __extends: function() {
            return o;
          }, __generator: function() {
            return m;
          }, __importDefault: function() {
            return O;
          }, __importStar: function() {
            return I;
          }, __makeTemplateObject: function() {
            return S;
          }, __metadata: function() {
            return f;
          }, __param: function() {
            return s;
          }, __propKey: function() {
            return p;
          }, __read: function() {
            return v;
          }, __rest: function() {
            return i;
          }, __runInitializers: function() {
            return c;
          }, __setFunctionName: function() {
            return d;
          }, __spread: function() {
            return k;
          }, __spreadArray: function() {
            return $;
          }, __spreadArrays: function() {
            return w;
          }, __values: function() {
            return b;
          } });
          var n2 = function(e3, t3) {
            return n2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e4, t4) {
              e4.__proto__ = t4;
            } || function(e4, t4) {
              for (var r3 in t4) Object.prototype.hasOwnProperty.call(t4, r3) && (e4[r3] = t4[r3]);
            }, n2(e3, t3);
          };
          function o(e3, t3) {
            if ("function" != typeof t3 && null !== t3) throw new TypeError("Class extends value " + String(t3) + " is not a constructor or null");
            function r3() {
              this.constructor = e3;
            }
            n2(e3, t3), e3.prototype = null === t3 ? Object.create(t3) : (r3.prototype = t3.prototype, new r3());
          }
          var a = function() {
            return a = Object.assign || function(e3) {
              for (var t3, r3 = 1, n3 = arguments.length; r3 < n3; r3++) for (var o2 in t3 = arguments[r3]) Object.prototype.hasOwnProperty.call(t3, o2) && (e3[o2] = t3[o2]);
              return e3;
            }, a.apply(this, arguments);
          };
          function i(e3, t3) {
            var r3 = {};
            for (var n3 in e3) Object.prototype.hasOwnProperty.call(e3, n3) && t3.indexOf(n3) < 0 && (r3[n3] = e3[n3]);
            if (null != e3 && "function" == typeof Object.getOwnPropertySymbols) {
              var o2 = 0;
              for (n3 = Object.getOwnPropertySymbols(e3); o2 < n3.length; o2++) t3.indexOf(n3[o2]) < 0 && Object.prototype.propertyIsEnumerable.call(e3, n3[o2]) && (r3[n3[o2]] = e3[n3[o2]]);
            }
            return r3;
          }
          function l(e3, t3, r3, n3) {
            var o2, a2 = arguments.length, i2 = a2 < 3 ? t3 : null === n3 ? n3 = Object.getOwnPropertyDescriptor(t3, r3) : n3;
            if ("object" == typeof Reflect && "function" == typeof Reflect.decorate) i2 = Reflect.decorate(e3, t3, r3, n3);
            else for (var l2 = e3.length - 1; l2 >= 0; l2--) (o2 = e3[l2]) && (i2 = (a2 < 3 ? o2(i2) : a2 > 3 ? o2(t3, r3, i2) : o2(t3, r3)) || i2);
            return a2 > 3 && i2 && Object.defineProperty(t3, r3, i2), i2;
          }
          function s(e3, t3) {
            return function(r3, n3) {
              t3(r3, n3, e3);
            };
          }
          function u(e3, t3, r3, n3, o2, a2) {
            function i2(e4) {
              if (void 0 !== e4 && "function" != typeof e4) throw new TypeError("Function expected");
              return e4;
            }
            for (var l2, s2 = n3.kind, u2 = "getter" === s2 ? "get" : "setter" === s2 ? "set" : "value", c2 = !t3 && e3 ? n3.static ? e3 : e3.prototype : null, p2 = t3 || (c2 ? Object.getOwnPropertyDescriptor(c2, n3.name) : {}), d2 = false, f2 = r3.length - 1; f2 >= 0; f2--) {
              var h2 = {};
              for (var m2 in n3) h2[m2] = "access" === m2 ? {} : n3[m2];
              for (var m2 in n3.access) h2.access[m2] = n3.access[m2];
              h2.addInitializer = function(e4) {
                if (d2) throw new TypeError("Cannot add initializers after decoration has completed");
                a2.push(i2(e4 || null));
              };
              var g2 = (0, r3[f2])("accessor" === s2 ? { get: p2.get, set: p2.set } : p2[u2], h2);
              if ("accessor" === s2) {
                if (void 0 === g2) continue;
                if (null === g2 || "object" != typeof g2) throw new TypeError("Object expected");
                (l2 = i2(g2.get)) && (p2.get = l2), (l2 = i2(g2.set)) && (p2.set = l2), (l2 = i2(g2.init)) && o2.unshift(l2);
              } else (l2 = i2(g2)) && ("field" === s2 ? o2.unshift(l2) : p2[u2] = l2);
            }
            c2 && Object.defineProperty(c2, n3.name, p2), d2 = true;
          }
          function c(e3, t3, r3) {
            for (var n3 = arguments.length > 2, o2 = 0; o2 < t3.length; o2++) r3 = n3 ? t3[o2].call(e3, r3) : t3[o2].call(e3);
            return n3 ? r3 : void 0;
          }
          function p(e3) {
            return "symbol" == typeof e3 ? e3 : "".concat(e3);
          }
          function d(e3, t3, r3) {
            return "symbol" == typeof t3 && (t3 = t3.description ? "[".concat(t3.description, "]") : ""), Object.defineProperty(e3, "name", { configurable: true, value: r3 ? "".concat(r3, " ", t3) : t3 });
          }
          function f(e3, t3) {
            if ("object" == typeof Reflect && "function" == typeof Reflect.metadata) return Reflect.metadata(e3, t3);
          }
          function h(e3, t3, r3, n3) {
            return new (r3 || (r3 = Promise))(function(o2, a2) {
              function i2(e4) {
                try {
                  s2(n3.next(e4));
                } catch (e5) {
                  a2(e5);
                }
              }
              function l2(e4) {
                try {
                  s2(n3.throw(e4));
                } catch (e5) {
                  a2(e5);
                }
              }
              function s2(e4) {
                var t4;
                e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r3 ? t4 : new r3(function(e5) {
                  e5(t4);
                })).then(i2, l2);
              }
              s2((n3 = n3.apply(e3, t3 || [])).next());
            });
          }
          function m(e3, t3) {
            var r3, n3, o2, a2, i2 = { label: 0, sent: function() {
              if (1 & o2[0]) throw o2[1];
              return o2[1];
            }, trys: [], ops: [] };
            return a2 = { next: l2(0), throw: l2(1), return: l2(2) }, "function" == typeof Symbol && (a2[Symbol.iterator] = function() {
              return this;
            }), a2;
            function l2(l3) {
              return function(s2) {
                return function(l4) {
                  if (r3) throw new TypeError("Generator is already executing.");
                  for (; a2 && (a2 = 0, l4[0] && (i2 = 0)), i2; ) try {
                    if (r3 = 1, n3 && (o2 = 2 & l4[0] ? n3.return : l4[0] ? n3.throw || ((o2 = n3.return) && o2.call(n3), 0) : n3.next) && !(o2 = o2.call(n3, l4[1])).done) return o2;
                    switch (n3 = 0, o2 && (l4 = [2 & l4[0], o2.value]), l4[0]) {
                      case 0:
                      case 1:
                        o2 = l4;
                        break;
                      case 4:
                        return i2.label++, { value: l4[1], done: false };
                      case 5:
                        i2.label++, n3 = l4[1], l4 = [0];
                        continue;
                      case 7:
                        l4 = i2.ops.pop(), i2.trys.pop();
                        continue;
                      default:
                        if (!(o2 = i2.trys, (o2 = o2.length > 0 && o2[o2.length - 1]) || 6 !== l4[0] && 2 !== l4[0])) {
                          i2 = 0;
                          continue;
                        }
                        if (3 === l4[0] && (!o2 || l4[1] > o2[0] && l4[1] < o2[3])) {
                          i2.label = l4[1];
                          break;
                        }
                        if (6 === l4[0] && i2.label < o2[1]) {
                          i2.label = o2[1], o2 = l4;
                          break;
                        }
                        if (o2 && i2.label < o2[2]) {
                          i2.label = o2[2], i2.ops.push(l4);
                          break;
                        }
                        o2[2] && i2.ops.pop(), i2.trys.pop();
                        continue;
                    }
                    l4 = t3.call(e3, i2);
                  } catch (e4) {
                    l4 = [6, e4], n3 = 0;
                  } finally {
                    r3 = o2 = 0;
                  }
                  if (5 & l4[0]) throw l4[1];
                  return { value: l4[0] ? l4[1] : void 0, done: true };
                }([l3, s2]);
              };
            }
          }
          var g = Object.create ? function(e3, t3, r3, n3) {
            void 0 === n3 && (n3 = r3);
            var o2 = Object.getOwnPropertyDescriptor(t3, r3);
            o2 && !("get" in o2 ? !t3.__esModule : o2.writable || o2.configurable) || (o2 = { enumerable: true, get: function() {
              return t3[r3];
            } }), Object.defineProperty(e3, n3, o2);
          } : function(e3, t3, r3, n3) {
            void 0 === n3 && (n3 = r3), e3[n3] = t3[r3];
          };
          function y(e3, t3) {
            for (var r3 in e3) "default" === r3 || Object.prototype.hasOwnProperty.call(t3, r3) || g(t3, e3, r3);
          }
          function b(e3) {
            var t3 = "function" == typeof Symbol && Symbol.iterator, r3 = t3 && e3[t3], n3 = 0;
            if (r3) return r3.call(e3);
            if (e3 && "number" == typeof e3.length) return { next: function() {
              return e3 && n3 >= e3.length && (e3 = void 0), { value: e3 && e3[n3++], done: !e3 };
            } };
            throw new TypeError(t3 ? "Object is not iterable." : "Symbol.iterator is not defined.");
          }
          function v(e3, t3) {
            var r3 = "function" == typeof Symbol && e3[Symbol.iterator];
            if (!r3) return e3;
            var n3, o2, a2 = r3.call(e3), i2 = [];
            try {
              for (; (void 0 === t3 || t3-- > 0) && !(n3 = a2.next()).done; ) i2.push(n3.value);
            } catch (e4) {
              o2 = { error: e4 };
            } finally {
              try {
                n3 && !n3.done && (r3 = a2.return) && r3.call(a2);
              } finally {
                if (o2) throw o2.error;
              }
            }
            return i2;
          }
          function k() {
            for (var e3 = [], t3 = 0; t3 < arguments.length; t3++) e3 = e3.concat(v(arguments[t3]));
            return e3;
          }
          function w() {
            for (var e3 = 0, t3 = 0, r3 = arguments.length; t3 < r3; t3++) e3 += arguments[t3].length;
            var n3 = Array(e3), o2 = 0;
            for (t3 = 0; t3 < r3; t3++) for (var a2 = arguments[t3], i2 = 0, l2 = a2.length; i2 < l2; i2++, o2++) n3[o2] = a2[i2];
            return n3;
          }
          function $(e3, t3, r3) {
            if (r3 || 2 === arguments.length) for (var n3, o2 = 0, a2 = t3.length; o2 < a2; o2++) !n3 && o2 in t3 || (n3 || (n3 = Array.prototype.slice.call(t3, 0, o2)), n3[o2] = t3[o2]);
            return e3.concat(n3 || Array.prototype.slice.call(t3));
          }
          function x(e3) {
            return this instanceof x ? (this.v = e3, this) : new x(e3);
          }
          function N(e3, t3, r3) {
            if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
            var n3, o2 = r3.apply(e3, t3 || []), a2 = [];
            return n3 = {}, i2("next"), i2("throw"), i2("return"), n3[Symbol.asyncIterator] = function() {
              return this;
            }, n3;
            function i2(e4) {
              o2[e4] && (n3[e4] = function(t4) {
                return new Promise(function(r4, n4) {
                  a2.push([e4, t4, r4, n4]) > 1 || l2(e4, t4);
                });
              });
            }
            function l2(e4, t4) {
              try {
                (r4 = o2[e4](t4)).value instanceof x ? Promise.resolve(r4.value.v).then(s2, u2) : c2(a2[0][2], r4);
              } catch (e5) {
                c2(a2[0][3], e5);
              }
              var r4;
            }
            function s2(e4) {
              l2("next", e4);
            }
            function u2(e4) {
              l2("throw", e4);
            }
            function c2(e4, t4) {
              e4(t4), a2.shift(), a2.length && l2(a2[0][0], a2[0][1]);
            }
          }
          function A(e3) {
            var t3, r3;
            return t3 = {}, n3("next"), n3("throw", function(e4) {
              throw e4;
            }), n3("return"), t3[Symbol.iterator] = function() {
              return this;
            }, t3;
            function n3(n4, o2) {
              t3[n4] = e3[n4] ? function(t4) {
                return (r3 = !r3) ? { value: x(e3[n4](t4)), done: false } : o2 ? o2(t4) : t4;
              } : o2;
            }
          }
          function C(e3) {
            if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
            var t3, r3 = e3[Symbol.asyncIterator];
            return r3 ? r3.call(e3) : (e3 = b(e3), t3 = {}, n3("next"), n3("throw"), n3("return"), t3[Symbol.asyncIterator] = function() {
              return this;
            }, t3);
            function n3(r4) {
              t3[r4] = e3[r4] && function(t4) {
                return new Promise(function(n4, o2) {
                  (function(e4, t5, r5, n5) {
                    Promise.resolve(n5).then(function(t6) {
                      e4({ value: t6, done: r5 });
                    }, t5);
                  })(n4, o2, (t4 = e3[r4](t4)).done, t4.value);
                });
              };
            }
          }
          function S(e3, t3) {
            return Object.defineProperty ? Object.defineProperty(e3, "raw", { value: t3 }) : e3.raw = t3, e3;
          }
          var _ = Object.create ? function(e3, t3) {
            Object.defineProperty(e3, "default", { enumerable: true, value: t3 });
          } : function(e3, t3) {
            e3.default = t3;
          };
          function I(e3) {
            if (e3 && e3.__esModule) return e3;
            var t3 = {};
            if (null != e3) for (var r3 in e3) "default" !== r3 && Object.prototype.hasOwnProperty.call(e3, r3) && g(t3, e3, r3);
            return _(t3, e3), t3;
          }
          function O(e3) {
            return e3 && e3.__esModule ? e3 : { default: e3 };
          }
          function E(e3, t3, r3, n3) {
            if ("a" === r3 && !n3) throw new TypeError("Private accessor was defined without a getter");
            if ("function" == typeof t3 ? e3 !== t3 || !n3 : !t3.has(e3)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
            return "m" === r3 ? n3 : "a" === r3 ? n3.call(e3) : n3 ? n3.value : t3.get(e3);
          }
          function T(e3, t3, r3, n3, o2) {
            if ("m" === n3) throw new TypeError("Private method is not writable");
            if ("a" === n3 && !o2) throw new TypeError("Private accessor was defined without a setter");
            if ("function" == typeof t3 ? e3 !== t3 || !o2 : !t3.has(e3)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
            return "a" === n3 ? o2.call(e3, r3) : o2 ? o2.value = r3 : t3.set(e3, r3), r3;
          }
          function M(e3, t3) {
            if (null === t3 || "object" != typeof t3 && "function" != typeof t3) throw new TypeError("Cannot use 'in' operator on non-object");
            return "function" == typeof e3 ? t3 === e3 : e3.has(t3);
          }
          function j(e3, t3, r3) {
            if (null != t3) {
              if ("object" != typeof t3 && "function" != typeof t3) throw new TypeError("Object expected.");
              var n3;
              if (r3) {
                if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");
                n3 = t3[Symbol.asyncDispose];
              }
              if (void 0 === n3) {
                if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");
                n3 = t3[Symbol.dispose];
              }
              if ("function" != typeof n3) throw new TypeError("Object not disposable.");
              e3.stack.push({ value: t3, dispose: n3, async: r3 });
            } else r3 && e3.stack.push({ async: true });
            return t3;
          }
          var P = "function" == typeof SuppressedError ? SuppressedError : function(e3, t3, r3) {
            var n3 = new Error(r3);
            return n3.name = "SuppressedError", n3.error = e3, n3.suppressed = t3, n3;
          };
          function R(e3) {
            function t3(t4) {
              e3.error = e3.hasError ? new P(t4, e3.error, "An error was suppressed during disposal.") : t4, e3.hasError = true;
            }
            return function r3() {
              for (; e3.stack.length; ) {
                var n3 = e3.stack.pop();
                try {
                  var o2 = n3.dispose && n3.dispose.call(n3.value);
                  if (n3.async) return Promise.resolve(o2).then(r3, function(e4) {
                    return t3(e4), r3();
                  });
                } catch (e4) {
                  t3(e4);
                }
              }
              if (e3.hasError) throw e3.error;
            }();
          }
          t2.default = { __extends: o, __assign: a, __rest: i, __decorate: l, __param: s, __metadata: f, __awaiter: h, __generator: m, __createBinding: g, __exportStar: y, __values: b, __read: v, __spread: k, __spreadArrays: w, __spreadArray: $, __await: x, __asyncGenerator: N, __asyncDelegator: A, __asyncValues: C, __makeTemplateObject: S, __importStar: I, __importDefault: O, __classPrivateFieldGet: E, __classPrivateFieldSet: T, __classPrivateFieldIn: M, __addDisposableResource: j, __disposeResources: R };
        } }, t = {};
        function r(n2) {
          var o = t[n2];
          if (void 0 !== o) return o.exports;
          var a = t[n2] = { exports: {} };
          return e[n2](a, a.exports, r), a.exports;
        }
        r.n = function(e2) {
          var t2 = e2 && e2.__esModule ? function() {
            return e2.default;
          } : function() {
            return e2;
          };
          return r.d(t2, { a: t2 }), t2;
        }, r.d = function(e2, t2) {
          for (var n2 in t2) r.o(t2, n2) && !r.o(e2, n2) && Object.defineProperty(e2, n2, { enumerable: true, get: t2[n2] });
        }, r.o = function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r.r = function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        };
        var n = {};
        return function() {
          r.r(n), r.d(n, { accessibilityPropsSDKFactory: function() {
            return On;
          }, default: function() {
            return Rn;
          }, sdk: function() {
            return Pn;
          }, stylePropsSDKFactory: function() {
            return En;
          } });
          var e2 = r(5412);
          const t2 = /^(?:(?:https?:)\/\/)(?:(?:[\u0400-\uA69F\w][\u0400-\uA69F\w-]*)?[\u0400-\uA69F\w]\.)+(?:[\u0400-\uA69Fa-z]+|\d{1,3})(?::[\d]{1,5})?(?:[/?#].*)?$/i, o = /^wix:vector:\/\/v1\/svgshape\.v[12]/, a = /^wix:vector:\/\/v1\/[0-9|a-z|_]+.svg/;
          function i(e3) {
            return "number" == typeof e3 && !Number.isNaN(e3);
          }
          function l(e3) {
            return "string" == typeof e3;
          }
          function s(e3) {
            return Array.isArray(e3);
          }
          function u(e3) {
            return null == e3;
          }
          function c(e3, t3) {
            return t3.includes(e3);
          }
          function p(e3, t3) {
            return e3 > t3;
          }
          function d(e3, t3) {
            return e3 < t3;
          }
          function f(e3) {
            return e3.includes("<svg");
          }
          function h(e3) {
            return o.test(e3);
          }
          function m(e3) {
            return Boolean(e3 && (r2 = e3, a.test(r2) || function(e4) {
              return t2.test(e4);
            }(e3) || f(e3) || h(e3)));
            var r2;
          }
          const g = "<svg data-failed />", y = "inline", b = "wixMedia", v = "url", k = /^wix:vector:\/\/v1\//, w = /^wix:vector:\/\/v1\/[0-9|a-z|_]+.svg/, $ = (e3, t3) => {
            const r2 = ((e4, t4) => {
              const r3 = new RegExp(`${t4}=("|')?([-\\w\\s,]+)\\1`);
              return e4.match(r3);
            })(e3, t3);
            return r2 ? r2[2] : null;
          }, x = (e3, t3) => {
            if (h(e3)) return ((e4, t4) => {
              const [r3] = e4.replace(k, "").split("/"), n2 = ((e5) => {
                const [, t5, r4, n3] = e5.replace(/^.*\//, "").split("."), o2 = "v1" === t5 ? 1 : 2;
                return r4.replace(/svg_/i, "") + (1 === o2 ? `_svgshape.v1.${n3}` : "") + ".svg";
              })(r3);
              return { type: b, data: `${t4}/${n2}` };
            })(e3, t3);
            const r2 = ((e4) => {
              const [t4] = w.exec(e4) || [];
              return t4;
            })(e3);
            if (r2) {
              const e4 = r2.replace(k, "");
              return { type: b, data: `${t3}${e4}` };
            }
            return f(e3) ? { type: y, data: e3 } : { type: v, data: e3 };
          }, N = async (e3, t3) => {
            const r2 = ((e4) => {
              const t4 = $(e4, "width"), r3 = $(e4, "height");
              return $(e4, "viewBox") || t4 && r3;
            })(e3) ? e3 : e3.replace("<svg", '<svg width="300" height="150"');
            try {
              const { svg: e4 } = await t3(r2);
              return e4 || g;
            } catch (e4) {
              return g;
            }
          }, A = async (e3, t3, r2) => {
            const { type: n2, data: o2 } = x(e3, t3);
            if (n2 === y) return N(o2, r2);
            let a2 = await (async (e4) => {
              try {
                const t4 = await fetch(e4);
                if (t4.ok) return t4.text();
              } catch {
              }
              return g;
            })(o2);
            return C(a2) || n2 === b || (a2 = await N(a2, r2)), a2;
          }, C = (e3) => e3 === g, S = (e3) => {
            console.error(`Wix code SDK error: ${e3}`);
          }, _ = (e3) => {
            console.warn(`Wix code SDK warning: ${e3}`);
          }, I = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to null.`, O = ({ propertyName: e3, compName: t3, effectName: r2, infoLink: n2 }) => `The "${e3}" function called on "${t3}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${n2}"')`, E = ({ propertyName: e3, compName: t3, infoLink: r2 }) => `The "${e3}" function called on "${t3}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, T = ({ propertyName: e3, compName: t3, effectName: r2, wrongProperty: n2, wrongValue: o2, infoLink: a2 }) => `The "${e3}" function called on "${t3}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${n2}: ${o2}. Read more about the effectOptions object: "${a2}"')`, M = ({ propertyName: e3, compName: t3, effectName: r2, infoLink: n2 }) => `The "${e3}" function  called on "${t3}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${n2}"`, j = ({ propertyName: e3, compName: t3, effectName: r2, wrongValue: n2, infoLink: o2 }) => `The "${e3}" function called on "${t3}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${n2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${o2}"'`, P = ({ propertyName: e3, functionName: t3, compName: r2 }) => `The ${e3} parameter of "${r2}" that is passed to the ${t3} method cannot be set to null.`, R = ({ propertyName: e3, functionName: t3, index: r2 }) => `The ${e3} parameter of item at index ${r2} that is passed to the ${t3} method cannot be set to null or undefined.`, D = ({ propertyName: e3, compName: t3, infoLink: r2 }) => ` The value of "${e3}" property of "${t3}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${r2}"`, L = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is required for ${t3} method.`, F = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]}, are required for ${t3} method.`, G = ({ propertyName: e3, functionName: t3, index: r2 }) => `The ${e3} parameter of item at index ${r2} is required for ${t3} method.`, V = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is not allowed for ${t3} method.`, B = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]} are unknown for ${t3} method.`, q = ({ propertyName: e3, functionName: t3, index: r2 }) => `The ${e3} parameter of item at index ${r2} is not allowed for ${t3} method.`, H = ({ propertyNames: e3, functionName: t3, index: r2 }) => `The following parameters: ${[...e3]} of item at index ${r2} are unknown for ${t3} method.`, U = ({ propertyName: e3, functionName: t3, value: r2, minimum: n2, maximum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${o2}.`, z = ({ propertyName: e3, functionName: t3, value: r2, minimum: n2, maximum: o2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${o2}.`, W = ({ propertyName: e3, functionName: t3, value: r2, expectedValue: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r2}". Its length must be ${n2}.`, Y = ({ propertyName: e3, functionName: t3, value: r2, expectedValue: n2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value "${r2}". Its length must be ${n2}.`, X = ({ propertyName: e3, functionName: t3, value: r2, minimum: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, K = ({ propertyName: e3, functionName: t3, value: r2, minimum: n2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, J = ({ propertyName: e3, functionName: t3, value: r2, maximum: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, Z = ({ propertyName: e3, functionName: t3, value: r2, maximum: n2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, Q = ({ propertyName: e3, functionName: t3, value: r2, minimum: n2, maximum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r2}". It must be between ${n2} and ${o2}.`, ee = ({ propertyName: e3, functionName: t3, value: r2, minimum: n2, maximum: o2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value "${r2}". It must be between ${n2} and ${o2}.`, te = ({ propertyName: e3, functionName: t3, value: r2, expectedValue: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r2}". It must be ${n2}.`, re = ({ propertyName: e3, functionName: t3, value: r2, expectedValue: n2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value "${r2}". It must be ${n2}.`, ne = ({ propertyName: e3, functionName: t3, value: r2, minimum: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, oe = ({ propertyName: e3, functionName: t3, value: r2, minimum: n2, index: o2 }) => `The value of ${e3} parameter of item at ${o2} that is passed to the ${t3} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, ae = ({ propertyName: e3, functionName: t3, value: r2, maximum: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r2}. It must be less than ${n2}.`, ie = ({ propertyName: e3, functionName: t3, value: r2, maximum: n2, index: o2 }) => `The value of ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value ${r2}. It must be less than ${n2}.`, le = ({ propertyName: e3, functionName: t3, value: r2, expectedType: n2 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r2}. It must be of type ${n2}.`, se = ({ propertyName: e3, functionName: t3, value: r2, expectedType: n2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value ${r2}. It must be of type ${n2}.`, ue = ({ propertyName: e3, functionName: t3, value: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r2}. Bad format`, ce = ({ functionName: e3, wrongEffects: t3, allowedEffects: r2 }) => `Passed  effects: "${t3.join('", "')}" to the ${e3} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, pe = ({ propertyName: e3, functionName: t3, value: r2, index: n2 }) => `The "${e3}" property of the item at index ${n2} that is passed to the ${t3} method cannot be set to "${r2}". Bad format`, de = ({ propertyName: e3, value: t3 }) => `The "${e3}" property cannot be set to "${t3}". It must be a valid SVG XML string or an SVG source starting with "http://", "https://", or "wix:vector://v1/".`, fe = ({ target: e3 }) => `The target parameter that is passed to the target method cannot be set to the value ${e3}. It must be of type from (_blank,_self).`, he = ({ rel: e3, validKeywords: t3 }) => `The rel parameter that is passed to the rel method cannot be set to the value ${e3}. It must be a space-separated list of unique keywords (${t3.join()}).`, me = ({ propertyName: e3, compName: t3, cssProperty: r2, exampleFormat: n2, infoLink: o2 }) => ` The "${e3}" property of "${t3}" was set to an invalid "${r2}" value. The value is expected in the following format:"${n2}". Read more about "${r2}" values: "${o2}"`, ge = ({ propertyName: e3, compName: t3, cssProperty: r2, exampleFormats: n2, infoLink: o2 }) => ` The "${e3}" property of "${t3}" was set to an invalid "${r2}" value. The value is expected in one of the following formats:"${n2}". Read more about "${r2}" values: "${o2}"`, ye = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method contains invalid characters.`, be = ({ compName: e3, functionName: t3, propertyName: r2, index: n2 }) => i(n2) ? R({ propertyName: r2, functionName: t3, index: n2 }) : e3 ? P({ compName: e3, functionName: t3, propertyName: r2 }) : I({ functionName: t3, propertyName: r2 }), ve = ({ functionName: e3, propertyName: t3, index: r2 }) => i(r2) ? G({ functionName: e3, propertyName: t3, index: r2 }) : L({ functionName: e3, propertyName: t3 }), ke = ({ functionName: e3, propertyNames: t3, index: r2 }) => t3 && t3.length > 1 ? i(r2) ? H({ functionName: e3, propertyNames: t3, index: r2 }) : B({ functionName: e3, propertyNames: t3 }) : i(r2) ? q({ functionName: e3, propertyName: t3[0], index: r2 }) : V({ functionName: e3, propertyName: t3[0] }), we = ({ functionName: e3, propertyName: t3, value: r2, maximum: n2, minimum: o2, index: a2 }) => o2 && n2 ? o2 === n2 ? i(a2) ? Y({ functionName: e3, propertyName: t3, value: r2, expectedValue: o2, index: a2 }) : W({ functionName: e3, propertyName: t3, value: r2, expectedValue: o2 }) : i(a2) ? z({ functionName: e3, propertyName: t3, value: r2, maximum: n2, minimum: o2, index: a2 }) : U({ functionName: e3, propertyName: t3, value: r2, maximum: n2, minimum: o2 }) : !o2 && n2 ? i(a2) ? Z({ functionName: e3, propertyName: t3, value: r2, maximum: n2, index: a2 }) : J({ functionName: e3, propertyName: t3, value: r2, maximum: n2 }) : i(a2) ? K({ functionName: e3, propertyName: t3, value: r2, minimum: o2, index: a2 }) : X({ functionName: e3, propertyName: t3, value: r2, minimum: o2 }), $e = ({ functionName: e3, propertyName: t3, value: r2, minimum: n2, maximum: o2, index: a2 }) => n2 && o2 ? n2 === o2 ? i(a2) ? re({ functionName: e3, propertyName: t3, expectedValue: n2, value: r2, index: a2 }) : te({ functionName: e3, propertyName: t3, expectedValue: n2, value: r2 }) : i(a2) ? ee({ functionName: e3, propertyName: t3, value: r2, maximum: o2, minimum: n2, index: a2 }) : Q({ functionName: e3, propertyName: t3, value: r2, maximum: o2, minimum: n2 }) : !n2 && o2 ? i(a2) ? ie({ functionName: e3, propertyName: t3, maximum: o2, value: r2, index: a2 }) : ae({ functionName: e3, propertyName: t3, maximum: o2, value: r2 }) : i(a2) ? oe({ functionName: e3, propertyName: t3, value: r2, minimum: n2, index: a2 }) : ne({ functionName: e3, propertyName: t3, value: r2, minimum: n2 }), xe = ({ functionName: e3, propertyName: t3, types: r2, value: n2, index: o2 }) => {
            const a2 = r2.map((e4) => "nil" === e4 ? "null" : e4).join(",");
            return i(o2) ? se({ functionName: e3, index: o2, propertyName: t3, value: n2, expectedType: a2 }) : le({ functionName: e3, propertyName: t3, value: n2, expectedType: a2 });
          }, Ne = ({ functionName: e3, propertyName: t3, value: r2, enum: n2, index: o2 }) => {
            const a2 = `from (${n2.join(",")})`;
            return i(o2) ? se({ functionName: e3, propertyName: t3, value: r2, expectedType: a2, index: o2 }) : le({ functionName: e3, propertyName: t3, value: r2, expectedType: a2 });
          }, Ae = ({ functionName: e3, propertyName: t3, value: r2, index: n2 }) => i(n2) ? pe({ functionName: e3, propertyName: t3, value: r2, index: n2 }) : ue({ functionName: e3, propertyName: t3, value: r2 }), Ce = Object.prototype.hasOwnProperty, Se = Object.getOwnPropertyNames, _e = () => {
          };
          function Ie(e3, t3, r2, n2, o2, a2) {
            if (!function(e4) {
              return "object" == typeof e4 && null !== e4 && !s(e4);
            }(e3)) return Me.InvalidType;
            if (t3.oneOf) return 1 === t3.oneOf.map((t4) => Ie(e3, t4, r2, _e, o2, a2)).filter((e4) => e4 === Me.Valid).length ? Me.Valid : Me.Invalid;
            if (t3.required) {
              for (let r3 = 0; r3 < t3.required.length; r3++) if (!Ce.call(e3, t3.required[r3])) return n2(ve({ functionName: a2.functionName, index: a2.index, propertyName: t3.required[r3] }), { ...a2, value: e3 }), Me.Invalid;
            }
            const i2 = Se(t3.properties ?? {});
            if (false === t3.additionalProperties) {
              const t4 = Se(e3).filter((e4) => !i2.includes(e4));
              if (t4.length) {
                return n2(ke({ functionName: a2.functionName, index: a2.index, propertyNames: t4 })), Me.Invalid;
              }
            }
            for (let n3 = 0; n3 < i2.length; n3++) {
              const o3 = i2[n3];
              if (Ce.call(e3, o3)) {
                const n4 = t3.properties[o3], i3 = e3[o3];
                if (!r2(i3, n4, { functionName: a2.functionName, index: a2.index, propertyName: o3 })) return Me.Invalid;
              }
            }
            return Me.Valid;
          }
          function Oe(e3) {
            return Array.isArray(e3);
          }
          function Ee(e3, t3, r2, n2) {
            const { minimum: o2, maximum: a2, enum: l2 } = t3;
            return function(e4) {
              return Number.isInteger(e4);
            }(e3) ? l2 && !c(e3, l2) ? (r2(Ne({ value: e3, enum: l2, ...n2 }), { ...n2, value: e3 }), Me.Invalid) : i(o2) && d(e3, o2) || i(a2) && p(e3, a2) ? (r2($e({ value: e3, minimum: o2, maximum: a2, ...n2 }), { ...n2, value: e3 }), Me.Invalid) : Me.Valid : Me.InvalidType;
          }
          function Te(e3) {
            return function(e4) {
              return e4 instanceof Date && !Number.isNaN(e4.getTime());
            }(e3) ? Me.Valid : Me.InvalidType;
          }
          const Me = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
          function je({ reportError: e3, reportWarning: t3 }, r2, { suppressIndexErrors: n2 = false } = {}) {
            function o2(n3, o3, i2) {
              o3.warnIfNil && u(n3) && t3(be({ ...i2, compName: r2 }), { ...i2, value: n3 });
              let l2 = 0;
              for (; l2 < o3.type.length; l2++) {
                const e4 = (0, a2[o3.type[l2]])(n3, o3, i2);
                if (e4 !== Me.InvalidType) return e4 === Me.Valid;
              }
              return l2 === o3.type.length && e3(xe({ value: n3, types: o3.type, ...i2 }), { ...i2, value: n3 }), false;
            }
            const a2 = { object: (r3, n3, a3) => Ie(r3, n3, o2, e3, t3, a3), array: (e4, t4, r3) => function(e5, t5, r4, n3, o3, a3 = false) {
              if (!s(e5)) return Me.InvalidType;
              let i2 = Me.Valid;
              if (t5.items) {
                const n4 = Oe(t5.items) ? Math.min(e5.length, t5.items.length) : e5.length;
                for (let l2 = 0; l2 < n4; l2++) {
                  const n5 = e5[l2];
                  let s2, u2;
                  Oe(t5.items) ? (s2 = t5.items[l2], u2 = t5.items[l2].name) : (s2 = t5.items, u2 = t5.name), r4(n5, s2, { functionName: o3.functionName, propertyName: u2 || o3.propertyName, index: a3 ? void 0 : l2 }) || (i2 = Me.Invalid);
                }
              }
              return i2;
            }(e4, t4, o2, 0, r3, n2), number: (t4, r3, n3) => function(e4, t5, r4, n4) {
              const { minimum: o3, maximum: a3, enum: l2 } = t5;
              return i(e4) ? l2 && !c(e4, l2) ? (r4(Ne({ value: e4, enum: l2, ...n4 }), { ...n4, value: e4 }), Me.Invalid) : i(o3) && d(e4, o3) || i(a3) && p(e4, a3) ? (r4($e({ value: e4, minimum: o3, maximum: a3, ...n4 }), { ...n4, value: e4 }), Me.Invalid) : Me.Valid : Me.InvalidType;
            }(t4, r3, e3, n3), integer: (t4, r3, n3) => Ee(t4, r3, e3, n3), string: (t4, r3, n3) => function(e4, t5, r4, n4) {
              const { minLength: o3, maxLength: a3, enum: i2, pattern: s2 } = t5;
              return l(e4) ? i2 && !c(e4, i2) ? (r4(Ne({ value: e4, enum: i2, ...n4 }), { ...n4, value: e4 }), Me.Invalid) : o3 && d(e4.length, o3) || a3 && p(e4.length, a3) ? (r4(we({ value: e4, minimum: o3, maximum: a3, ...n4 }), { ...n4, value: e4 }), Me.Invalid) : s2 && !new RegExp(s2).test(e4) ? (r4(Ae({ value: e4, ...n4 }), { ...n4, value: e4 }), Me.Invalid) : Me.Valid : Me.InvalidType;
            }(t4, r3, e3, n3), boolean: (e4) => function(e5) {
              return /* @__PURE__ */ function(e6) {
                return true === e6 || false === e6;
              }(e5) ? Me.Valid : Me.InvalidType;
            }(e4), date: (e4) => Te(e4), nil: (e4) => function(e5) {
              return u(e5) ? Me.Valid : Me.InvalidType;
            }(e4), function: (e4) => function(e5) {
              return /* @__PURE__ */ function(e6) {
                return "function" == typeof e6;
              }(e5) ? Me.Valid : Me.InvalidType;
            }(e4) };
            return function(e4, t4, r3) {
              return o2(e4, t4, { functionName: r3, propertyName: r3, index: void 0 });
            };
          }
          function Pe(e3, { suppressIndexErrors: t3 = false } = {}) {
            return je({ reportError: S, reportWarning: _ }, e3, { suppressIndexErrors: t3 });
          }
          function Re(e3, t3, r2 = {}) {
            return (n2) => {
              const o2 = e3(n2), a2 = Pe(n2.metaData.role), i2 = Pe(n2.metaData.role, { suppressIndexErrors: true });
              return Object.keys(o2).reduce((e4, l2) => {
                const s2 = Object.getOwnPropertyDescriptor(o2, l2), u2 = { enumerable: true, configurable: true };
                return s2.value ? "function" == typeof s2.value ? u2.value = (...e5) => {
                  const o3 = t3.properties[l2] && t3.properties[l2].args, a3 = r2[l2];
                  let u3 = true;
                  return o3 && (u3 = i2(e5, { type: ["array"], items: o3 }, l2)), u3 && a3 && (u3 = a3.every((t4) => t4(e5, n2))), u3 ? s2.value(...e5) : void 0;
                } : u2.value = s2.value : (s2.get && (u2.get = () => o2[l2]), s2.set && (u2.set = (e5) => {
                  const i3 = r2[l2];
                  let s3 = true;
                  t3.properties[l2] && (s3 = a2(e5, t3.properties[l2], l2)), s3 && i3 && (s3 = i3.every((t4) => t4(e5, n2))), s3 && (o2[l2] = e5);
                })), Object.defineProperty(e4, l2, u2), e4;
              }, {});
            };
          }
          const De = "click", Le = "dblClick", Fe = "mouseenter", Ge = "mouseleave", Ve = "change", Be = "blur", qe = "focus", He = "imageChanged", Ue = "imageExpanded", ze = "onInput", We = "itemClicked", Ye = "cellSelect", Xe = "cellEdit", Ke = "rowSelect", Je = "fetchData", Ze = "dataChange", Qe = "onTimeout", et = "onVerified", tt = "onError", rt = "onPlay", nt = "onPause", ot = "onProgress", at = "onEnded", it = "autoplayOff", lt = "autoplayOn", st = "playEnded", ut = "playProgress", ct = "keyPress", pt = "keyUp", dt = "keyDown", ft = "screenIn", ht = "viewportEnter", mt = "viewportLeave", gt = "scroll", yt = "validate", bt = "setCustomValidity", vt = "syncValidationData", kt = "updateValidityIndication", wt = "message", $t = "uploadComplete", xt = "itemReady", Nt = "itemRemoved", At = "tagClick", Ct = "quickActionBarItemClicked", St = "markerClicked", _t = "mapClicked", It = "iconMouseIn", Ot = "onStateChange", Et = "itemMouseIn", Tt = "itemMouseOut", Mt = "itemMouseClick", jt = "itemMouseDblClick", Pt = "onColorChange", Rt = "onFontChange", Dt = "onOpacityChange", Lt = { [De]: "onClick", [Le]: "onDblClick", [Fe]: "onMouseIn", [Ge]: "onMouseOut", [Ve]: "onChange", [ze]: "onInput", [Be]: "onBlur", [qe]: "onFocus", [He]: "onCurrentItemChanged", [Ue]: void 0, [We]: "onItemClicked", [Ye]: "onCellSelect", [Xe]: void 0, [Ke]: "onRowSelect", [Je]: void 0, [Ze]: "onDataChange", [Qe]: "onTimeout", [et]: "onVerified", [tt]: "onError", [rt]: "onPlay", [nt]: "onPause", [ot]: "onProgress", [at]: "onEnded", [it]: "onPause", [lt]: "onPlay", [st]: void 0, [ut]: void 0, [ct]: "onKeyPress", [pt]: "onKeyUp", [dt]: "onKeyDown", [ft]: void 0, [ht]: "onViewportEnter", [mt]: "onViewportLeave", [gt]: void 0, [yt]: void 0, [bt]: void 0, [vt]: void 0, [kt]: void 0, [wt]: "onMessage", [$t]: void 0, [xt]: "onItemReady", [Nt]: "onItemRemoved", [At]: void 0, [Ct]: "onItemClicked", [St]: "onMarkerClicked", [_t]: "onMapClicked", [It]: void 0, [Ot]: "onStateChange", [Et]: "onItemMouseIn", [Tt]: "onItemMouseOut", [Mt]: "onItemClick", [jt]: "onItemDblClick", [Pt]: "onColorChange", [Rt]: "onFontChange", [Dt]: "onOpacityChange" }, Ft = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Gt = (e3) => {
            const { target: t3, type: r2, context: n2 } = e3;
            return { target: t3, type: Ft[r2] ?? r2, context: n2 };
          }, Vt = (e3) => {
            const { clientX: t3, clientY: r2, pageX: n2, pageY: o2, screenX: a2, screenY: i2, nativeEvent: l2 } = e3, { offsetX: s2, offsetY: u2 } = l2;
            return { clientX: t3, clientY: r2, pageX: n2, pageY: o2, screenX: a2, screenY: i2, offsetX: s2, offsetY: u2 };
          }, Bt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, qt = (e3) => e3.replace(/^on/i, ""), Ht = (e3) => e3.createSdkState({ listeners: [] }, "eventListeners"), Ut = (e3, t3, r2, n2) => {
            const { create$w: o2, createEvent: a2, registerEvent: i2, getSdkInstance: l2, metaData: s2 } = t3;
            if (!((e4, t4, r3) => Pe(r3)(e4, { type: ["function"] }, t4))(r2, Bt[e3] ?? e3, s2.role)) return l2();
            const [u2, c2] = Ht(t3), p2 = i2(e3, (e4, t4) => {
              const i3 = a2({ type: e4.type, compId: e4.compId }), l3 = o2({ context: i3.context }), s3 = n2?.({ componentEvent: e4, eventPayload: t4 });
              r2({ ...Gt(i3), ...s3 }, l3);
            }), d2 = { eventName: e3, compId: s2.compId, cb: r2, unregister: p2 };
            return c2({ listeners: [...u2.listeners, d2] }), l2();
          }, zt = (e3, t3) => {
            const r2 = ((e4) => {
              const t4 = Object.entries(Bt).find(([t5, r3]) => qt(r3.toLowerCase()) === qt(e4.toLowerCase()));
              return t4?.[0] ?? e4;
            })(Lt[t3] ?? t3);
            return e3.toLowerCase() === r2.toLowerCase();
          }, Wt = (e3, t3, r2, n2) => Ut(e3, t3, r2, ({ componentEvent: e4, eventPayload: t4 }) => ({ ...Vt(e4), ...t4 && n2?.(t4) }));
          function Yt(e3, t3) {
            const { modifyAriaSourceKeys: r2 } = t3 ?? {};
            return (t4) => {
              const n2 = {};
              for (let a2 = 0; a2 < e3.length; a2++) {
                const i2 = e3[a2](t4), l2 = Object.keys(i2);
                for (let e4 = 0; e4 < l2.length; e4++) {
                  const t5 = l2[e4], a3 = Object.getOwnPropertyDescriptor(i2, t5);
                  Object.defineProperty(n2, r2 && a3.get ? "aria" + (o2 = t5).charAt(0).toUpperCase() + o2.slice(1) : t5, a3);
                }
              }
              var o2;
              return n2;
            };
          }
          const Xt = ({ handlers: e3, metaData: t3 }) => {
            const { compId: r2, connection: n2, compType: o2, isGlobal: a2, getParent: i2, role: l2, wixCodeId: s2 } = t3, u2 = `$w.${o2}`;
            return { get id() {
              return s2 || l2;
            }, get role() {
              return l2;
            }, get connectionConfig() {
              return n2?.config;
            }, get uniqueId() {
              return r2;
            }, get parent() {
              return i2();
            }, get global() {
              return a2();
            }, get type() {
              return u2;
            }, scrollTo() {
              return new Promise((t4) => e3.scrollToComponent(r2, t4));
            }, toJSON() {
              return { id: l2, type: u2, global: a2() };
            } };
          }, Kt = (e3) => (t3) => {
            const { metaData: r2, getSdkInstance: n2, create$w: o2, createEvent: a2 } = t3, i2 = (e4, t4) => Pe(r2.role)(e4, { type: ["function"] }, t4);
            return { onViewportEnter: (r3) => i2(r3, "onViewportEnter") ? (e3?.("onViewportEnter", () => {
              const e4 = a2({ type: "viewportEnter" }), t4 = o2();
              r3(e4, t4);
            }), Ut("onViewportEnter", t3, r3)) : n2(), onViewportLeave: (r3) => i2(r3, "onViewportLeave") ? (e3?.("onViewportLeave", () => {
              const e4 = a2({ type: "viewportLeave" }), t4 = o2();
              r3(e4, t4);
            }), Ut("onViewportLeave", t3, r3)) : n2() };
          }, Jt = { duration: 1200, delay: 0 }, Zt = { arc: { ...Jt, direction: "left" }, bounce: { ...Jt, direction: "topLeft", intensity: "medium" }, puff: { ...Jt }, zoom: { ...Jt }, fade: { ...Jt }, flip: { ...Jt, direction: "right" }, float: { ...Jt, direction: "right" }, fly: { ...Jt, direction: "right" }, fold: { ...Jt, direction: "left" }, glide: { ...Jt, angle: 0, distance: 0 }, roll: { ...Jt, direction: "left" }, slide: { ...Jt, direction: "left" }, spin: { ...Jt, direction: "cw", cycles: 5 }, turn: { ...Jt, direction: "right" }, ArcIn: { ...Jt, direction: "right" }, ArcOut: { ...Jt, direction: "right" }, BounceIn: { ...Jt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Jt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Jt, direction: "right" }, CollapseOut: { ...Jt }, Conceal: { ...Jt, direction: "right" }, Reveal: { ...Jt, direction: "left" }, FadeIn: { ...Jt }, FadeOut: { ...Jt }, FlipIn: { ...Jt, direction: "left" }, FlipOut: { ...Jt, direction: "left" }, FloatIn: { ...Jt, direction: "right" }, FloatOut: { ...Jt, direction: "right" }, FlyIn: { ...Jt, direction: "right" }, FlyOut: { ...Jt, direction: "right" }, FoldIn: { ...Jt, direction: "left" }, FoldOut: { ...Jt, direction: "left" }, GlideIn: { ...Jt, angle: 0, distance: 150 }, GlideOut: { ...Jt, angle: 0, distance: 150 }, DropIn: { ...Jt }, PopOut: { ...Jt }, SlideIn: { ...Jt, direction: "left" }, SlideOut: { ...Jt, direction: "left" }, SpinIn: { ...Jt, direction: "cw", cycles: 2 }, SpinOut: { ...Jt, direction: "cw", cycles: 2 }, TurnIn: { ...Jt, direction: "right" }, TurnOut: { ...Jt, direction: "right" } }, Qt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, er = (e3) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e3}`, tr = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, rr = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, nr = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, or = { arc: { type: ["object"], properties: { duration: tr, delay: rr, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: tr, delay: rr, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: tr, delay: rr } }, zoom: { type: ["object"], properties: { duration: tr, delay: rr } }, fade: { type: ["object"], properties: { duration: tr, delay: rr } }, flip: { type: ["object"], properties: { duration: tr, delay: rr, direction: nr } }, float: { type: ["object"], properties: { duration: tr, delay: rr, direction: nr } }, fly: { type: ["object"], properties: { duration: tr, delay: rr, direction: nr } }, fold: { type: ["object"], properties: { duration: tr, delay: rr, direction: nr } }, glide: { type: ["object"], properties: { duration: tr, delay: rr, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: tr, delay: rr, direction: nr } }, slide: { type: ["object"], properties: { duration: tr, delay: rr, direction: nr } }, spin: { type: ["object"], properties: { duration: tr, delay: rr, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: tr, delay: rr, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, ar = ({ propertyName: e3, compName: t3 }) => (r2, n2) => {
            if (!r2) return false;
            if (void 0 === n2) return true;
            const o2 = (({ effectName: e4, propertyName: t4, compName: r3 }) => (n3, o3) => {
              _(j({ propertyName: t4, compName: r3, effectName: e4, wrongValue: `${o3?.value}`, infoLink: er(t4) }));
            })({ effectName: r2, propertyName: e3, compName: t3 });
            if (!je({ reportError: o2, reportWarning: () => ({}) }, t3)(n2, { type: ["object"] }, e3)) return false;
            const a2 = (({ effectName: e4, propertyName: t4, compName: r3 }) => (n3, o3) => {
              _(T({ propertyName: t4, compName: r3, effectName: e4, wrongProperty: "value", wrongValue: `the key "${o3?.propertyName}" cannot be set to the value "${o3?.value}"`, infoLink: er(t4) }));
            })({ effectName: r2, propertyName: e3, compName: t3 });
            return !!je({ reportError: a2, reportWarning: () => ({}) }, t3)(n2, or[r2], e3);
          }, ir = (e3) => 0 === Object.keys(e3).length, lr = ({ viewportState: e3, hasPortal: t3 = false } = {}) => ({ setStyles: r2, portal: n2, metaData: o2, getSdkInstance: a2, runAnimation: i2, createSdkState: l2, styleUtils: s2, setProps: u2 }) => {
            const c2 = (({ compName: e4 }) => ({ effectName: t4, effectOptions: r3, propertyName: n3 }) => {
              const o3 = ar({ propertyName: n3, compName: e4 });
              if (!t4 && !r3) return false;
              if (!t4 && r3 && !ir(r3)) return _(E({ propertyName: n3, compName: e4, infoLink: er(n3) })), false;
              const a3 = "hide" === n3 ? "HIDE" : "SHOW", i3 = Qt[a3]?.deprecatedValues;
              return t4 && r3 && i3 && i3.find((e5) => e5 === t4) && !ir(r3) ? (_(M({ compName: e4, effectName: t4, propertyName: n3, infoLink: er(n3) })), false) : !!i3.find((e5) => e5 === t4) || (t4 && !(t4 in or) ? (_(O({ propertyName: n3, compName: e4, effectName: t4, infoLink: er(n3) })), false) : !!o3(t4, r3));
            })({ compName: o2.role }), [p2, d2] = l2({ hidden: o2.hiddenOnLoad, collapsed: o2.collapsedOnLoad }, "hidden-collapsed");
            return { hide: async (o3, a3) => {
              if (u2({ hidden: true }), p2.collapsed || p2.hidden) d2({ hidden: true });
              else {
                if (c2({ effectName: o3, effectOptions: a3, propertyName: "hide" })) {
                  const e4 = { animationDirection: Qt.HIDE.suffix, effectName: o3, effectOptions: { ...Zt?.[o3] || Jt, ...a3 } };
                  await Promise.all([i2(e4), t3 ? n2.runAnimation(e4) : void 0]);
                } else r2(s2.getHiddenStyles()), t3 && n2.setStyles(s2.getHiddenStyles());
                d2({ hidden: true }), e3?.onViewportLeave?.forEach((e4) => e4());
              }
            }, show: async (o3, a3) => {
              if (u2({ hidden: false }), !p2.collapsed && p2.hidden) {
                if (c2({ effectName: o3, effectOptions: a3, propertyName: "show" })) {
                  const e4 = { animationDirection: Qt.SHOW.suffix, effectName: o3, effectOptions: { ...Zt?.[o3] || Jt, ...a3 } };
                  await Promise.all([i2(e4), t3 ? n2.runAnimation(e4) : void 0]);
                } else r2(s2.getShownStyles()), t3 && n2.setStyles(s2.getShownStyles());
                d2({ hidden: false }), e3?.onViewportEnter?.forEach((e4) => e4());
              } else d2({ hidden: false });
            }, collapse: async () => {
              u2({ collapsed: true }), p2.collapsed || (r2(s2.getCollapsedStyles()), t3 && n2.setStyles(s2.getCollapsedStyles()), d2({ collapsed: true }), p2.hidden || e3?.onViewportLeave?.forEach((e4) => e4()));
            }, expand: async () => {
              if (u2({ collapsed: false }), p2.collapsed) {
                const o3 = { ...s2.getExpandedStyles(), visibility: p2.hidden ? "hidden" : null };
                r2(o3), t3 && n2.setStyles(o3), d2({ collapsed: false }), p2.hidden || e3?.onViewportEnter?.forEach((e4) => e4());
              }
            }, get collapsed() {
              return p2.collapsed;
            }, get hidden() {
              return Boolean(p2.hidden);
            }, get isVisible() {
              if (!o2.isRendered()) return false;
              let e4 = a2();
              for (; e4; ) {
                if (e4.hidden || e4.collapsed) return false;
                e4 = e4.parent;
              }
              return true;
            }, get isAnimatable() {
              return true;
            } };
          }, sr = (e3) => (t3) => ((e4, t4 = false) => {
            const [r2, n2] = e4.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
            return Yt([lr({ viewportState: r2, hasPortal: t4 }), Kt((e5, t5) => {
              n2({ [e5]: [...r2[e5], t5] });
            })])(e4);
          })(t3, e3), ur = (e3, t3, r2) => {
            const n2 = t3.filter((t4) => !e3.includes(t4));
            n2.length && S(ce({ functionName: r2, wrongEffects: n2, allowedEffects: e3 }));
          }, cr = (e3) => {
            const t3 = () => e3.effectsTriggersApi?.getEffects() || [];
            return { effects: { get effects() {
              return t3();
            }, get activeEffects() {
              return e3.effectsTriggersApi?.getActiveEffects() || [];
            }, applyEffects: (r2) => {
              ur(t3(), r2, "applyEffects"), e3.effectsTriggersApi?.applyEffects(...r2);
            }, removeEffects: (r2) => {
              ur(t3(), r2, "removeEffects"), e3.effectsTriggersApi?.removeEffects(...r2);
            }, toggleEffects: (r2) => {
              ur(t3(), r2, "toggleEffects"), e3.effectsTriggersApi?.toggleEffects(...r2);
            }, removeAllEffects: () => e3.effectsTriggersApi?.removeAllEffects() } };
          }, pr = (e3) => ({ delete: () => {
            e3.setProps({ deleted: true }), e3.remove();
          }, restore: () => {
            e3.setProps({ deleted: false }), e3.restore();
          }, get deleted() {
            return !!e3.props.deleted;
          } }), dr = (e3, t3) => "string" != typeof e3 ? (fr(e3, t3, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e3) || (mr(e3, t3), false), fr = (e3, t3, r2, n2) => {
            S(le({ propertyName: e3, functionName: t3, value: r2, expectedType: n2 }));
          }, hr = (e3, t3) => {
            S(L({ propertyName: e3, functionName: t3 }));
          }, mr = (e3, t3) => {
            S(ye({ propertyName: e3, functionName: t3 }));
          }, gr = (e3) => {
            const { setProps: t3, props: r2 } = e3;
            return { customClassList: { get value() {
              return r2.customClassNames ? r2.customClassNames?.join(" ") : "";
            }, values() {
              return r2.customClassNames ? r2.customClassNames : [];
            }, add(...e4) {
              const n2 = r2.customClassNames ? new Set(r2.customClassNames) : /* @__PURE__ */ new Set([]);
              if (e4.length) {
                for (const t4 of e4) {
                  if (!dr(t4, "customClassList.add")) return;
                  n2.add(t4);
                }
                t3({ customClassNames: Array.from(n2) });
              } else hr("className", "customClassList.add");
            }, remove(...e4) {
              if (!e4.length) return void hr("className", "customClassList.remove");
              const n2 = new Set(r2.customClassNames);
              for (const t4 of e4) {
                if (!dr(t4, "customClassList.remove")) return;
                n2.delete(t4);
              }
              t3({ customClassNames: Array.from(n2) });
            }, contains(e4) {
              if (e4) return dr(e4, "customClassList.contains") ? !!r2.customClassNames && r2.customClassNames.includes(e4) : void 0;
              hr("className", "customClassList.contains");
            }, replace(e4, t4) {
              return e4 && t4 ? !(!dr(t4, "customClassList.replace") || !dr(e4, "customClassList.replace")) && (!!this.contains(e4) && (this.remove(e4), this.add(t4), true)) : (S(F({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
            }, toggle(e4) {
              return e4 ? !!dr(e4, "customClassList.toggle") && (this.contains(e4) ? (this.remove(e4), false) : (this.add(e4), true)) : (hr("className", "customClassList.toggle"), false);
            } } };
          }, yr = ({ role: e3, compType: t3, isGlobal: r2, isRendered: n2 }) => ({ id: e3, type: `$w.${t3}`, global: r2(), rendered: n2() }), br = (e3) => ({ onMouseIn: (t3) => Wt("onMouseEnter", e3, t3), onMouseOut: (t3) => Wt("onMouseLeave", e3, t3), removeEventHandler: (t3, r2) => {
            const { getSdkInstance: n2 } = e3;
            return "string" != typeof t3 ? (S(le({ propertyName: "type", functionName: "removeEventHandler", value: t3, expectedType: "string" })), n2()) : "function" != typeof r2 ? (S(le({ propertyName: "handler", functionName: "removeEventHandler", value: r2, expectedType: "function" })), n2()) : ((e4, t4, r3) => {
              const { metaData: n3, getSdkInstance: o2 } = t4, [a2, i2] = Ht(t4), l2 = a2.listeners.filter((t5) => zt(t5.eventName, e4) && t5.cb === r3 && t5.compId === n3.compId);
              for (const e5 of l2) e5.unregister();
              return i2({ listeners: a2.listeners.filter((e5) => !l2.includes(e5)) }), o2();
            })(t3, e3, r2);
          }, get rendered() {
            return e3.metaData.isRendered();
          }, toJSON() {
            return yr(e3.metaData);
          } }), vr = Kt(), kr = (Yt([Xt, vr, br, cr, gr]), Re(({ setProps: e3, props: t3 }) => ({ get label() {
            return t3.ariaAttributes?.label;
          }, set label(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, label: u(r2) ? void 0 : r2 } });
          } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } }));
          var wr;
          !function(e3) {
            e3.ARIA_LABEL_NOT_STRING = "aria-label must be string", e3.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e3.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
          }(wr || (wr = {}));
          const $r = (e3) => `The parameter that is passed to the ‘${e3}’ property must be a string or ‘null’.`, xr = (e3) => Nr(e3) && ("$w.Text" === e3.type || "$w.CollapsibleText" === e3.type), Nr = (e3) => Boolean(e3.id && e3.uniqueId && e3.type), Ar = (e3, t3, r2, n2, o2) => o2 ? !!r2(o2) || (S(n2), false) : !!t3 || (S(xe({ value: o2, types: ["object"], propertyName: e3, functionName: `set ${e3}`, index: void 0 })), false), Cr = (e3, t3 = true) => (r2) => Ar(e3, t3, Nr, `The parameter that is passed to the ‘${e3}’ property must be a selector function of an element.`, r2), Sr = (e3, t3 = true) => (r2) => Ar(e3, t3, xr, `The parameter that is passed to the ‘${e3}’ property must be a selector function of a text element.`, r2), _r = Re(({ setProps: e3, props: t3, create$w: r2 }) => ({ get describedBy() {
            if (!t3.ariaAttributes?.describedBy) return;
            return r2()(`#${t3.ariaAttributes.describedBy}`);
          }, set describedBy(r3) {
            e3(r3 ? { ariaAttributes: { ...t3.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, describedBy: void 0 } });
          } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [Sr("describedBy")] }), Ir = Re(({ setProps: e3, props: t3, create$w: r2 }) => ({ get labelledBy() {
            if (!t3.ariaAttributes?.labelledBy) return;
            return r2()(`#${t3.ariaAttributes.labelledBy}`);
          }, set labelledBy(r3) {
            e3(r3 ? { ariaAttributes: { ...t3.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, labelledBy: void 0 } });
          } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [Sr("labelledBy")] }), Or = Re(({ setProps: e3, props: t3 }) => ({ get atomic() {
            return t3.ariaAttributes?.atomic;
          }, set atomic(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, atomic: u(r2) ? void 0 : String(r2) } });
          } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Er = Re(({ setProps: e3, props: t3 }) => ({ get busy() {
            return t3.ariaAttributes?.busy;
          }, set busy(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, busy: u(r2) ? void 0 : String(r2) } });
          } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Tr = Re(({ setProps: e3, props: t3 }) => ({ get current() {
            return t3.ariaAttributes?.current;
          }, set current(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, current: u(r2) ? void 0 : String(r2) } });
          } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), Mr = Re(({ setProps: e3, props: t3 }) => ({ get expanded() {
            return t3.ariaAttributes?.expanded;
          }, set expanded(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, expanded: u(r2) ? void 0 : String(r2) } });
          } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), jr = Re(({ setProps: e3, props: t3 }) => ({ get live() {
            return t3.ariaAttributes?.live;
          }, set live(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, live: u(r2) ? void 0 : r2 } });
          } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), Pr = Re(({ setProps: e3, props: t3, create$w: r2 }) => ({ get owns() {
            if (!t3.ariaAttributes?.owns) return;
            return r2()(`#${t3.ariaAttributes.owns}`);
          }, set owns(r3) {
            e3(r3 ? { ariaAttributes: { ...t3.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, owns: void 0 } });
          } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [Cr("owns")] }), Rr = Re(({ setProps: e3, props: t3, create$w: r2 }) => ({ get controls() {
            if (!t3.ariaAttributes?.controls) return;
            return r2()(`#${t3.ariaAttributes.controls}`);
          }, set controls(r3) {
            e3(r3 ? { ariaAttributes: { ...t3.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, controls: void 0 } });
          } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [Cr("controls")] }), Dr = Re(({ setProps: e3, props: t3 }) => ({ get roleDescription() {
            return t3.ariaAttributes?.roleDescription;
          }, set roleDescription(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, roleDescription: u(r2) ? void 0 : r2 } });
          } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), Lr = Re(({ setProps: e3, props: t3 }) => ({ get relevant() {
            return t3.ariaAttributes?.relevant;
          }, set relevant(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, relevant: u(r2) ? void 0 : r2 } });
          } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), Fr = Re(({ setProps: e3, props: t3, create$w: r2 }) => ({ get errorMessage() {
            if (!t3.ariaAttributes?.errorMessage) return;
            return r2()(`#${t3.ariaAttributes.errorMessage}`);
          }, set errorMessage(r3) {
            e3(r3 ? { ariaAttributes: { ...t3.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, errorMessage: void 0 } });
          } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [Sr("errorMessage")] }), Gr = Re(({ setProps: e3, props: t3 }) => ({ get hidden() {
            return t3.ariaAttributes?.hidden;
          }, set hidden(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, hidden: u(r2) ? void 0 : String(r2) } });
          } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Vr = Re(({ setProps: e3, props: t3 }) => ({ get pressed() {
            return t3.ariaAttributes?.pressed;
          }, set pressed(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, pressed: u(r2) ? void 0 : String(r2) } });
          } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), Br = Re(({ setProps: e3, props: t3 }) => ({ get haspopup() {
            return t3.ariaAttributes?.haspopup;
          }, set haspopup(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, haspopup: u(r2) ? void 0 : String(r2) } });
          } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), qr = Re(({ setProps: e3, props: t3 }) => ({ get required() {
            return t3.ariaAttributes?.required;
          }, set required(r2) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, required: u(r2) ? void 0 : String(r2) } });
          } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Hr = ({ setProps: e3, props: t3 }) => ({ screenReader: { get prefix() {
            return t3.screenReader?.prefix;
          }, set prefix(r2) {
            null === r2 || l(r2) ? e3({ screenReader: { ...t3.screenReader, prefix: r2 } }) : S($r("prefix"));
          }, get suffix() {
            return t3.screenReader?.suffix;
          }, set suffix(r2) {
            null === r2 || l(r2) ? e3({ screenReader: { ...t3.screenReader, suffix: r2 } }) : S($r("suffix"));
          }, get hasHint() {
            return t3.screenReader?.hasHint;
          }, set hasHint(r2) {
            e3({ screenReader: { ...t3.screenReader, hasHint: u(r2) ? void 0 : r2 } });
          } } }), Ur = (Re(Hr, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), Re(({ setProps: e3, props: t3 }) => ({ get role() {
            return t3.role;
          }, set role(t4) {
            e3({ role: u(t4) ? void 0 : t4 });
          } }), { properties: { role: { type: ["string"] } } })), zr = Re(({ setProps: e3, props: t3 }) => ({ get tabIndex() {
            return t3.tabIndex;
          }, set tabIndex(t4) {
            e3({ tabIndex: u(t4) ? void 0 : t4 });
          } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), Wr = { enableAriaLabel: kr, enableAriaDescribedBy: _r, enableAriaLabelledBy: Ir, enableAriaAtomic: Or, enableAriaBusy: Er, enableAriaCurrent: Tr, enableAriaExpanded: Mr, enableAriaLive: jr, enableAriaOwns: Pr, enableAriaControls: Rr, enableAriaRoleDescription: Dr, enableAriaRelevant: Lr, enableAriaErrorMessage: Fr, enableAriaHidden: Gr, enableAriaPressed: Vr, enableAriaHaspopup: Br, enableAriaRequired: qr }, Yr = { enableScreenReader: Hr, enableRole: Ur, enableTabIndex: zr }, Xr = { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" };
          function Kr(e3) {
            return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e3);
          }
          function Jr(e3) {
            return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e3);
          }
          function Zr(e3) {
            return Xr[e3];
          }
          function Qr(e3) {
            return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e3) || Kr(e3);
          }
          function en(e3) {
            return Jr(e3) || /^#(([a-f0-9]){3}){1,2}$/i.test(e3);
          }
          const tn = (e3) => parseInt(e3.repeat(2 / e3.length), 16), rn = (e3) => {
            if (!en(e3)) return;
            const t3 = ((e4) => {
              const t4 = Math.floor((e4.length - 1) / 3);
              return e4.slice(1).match(new RegExp(`.{${t4}}`, "g"));
            })(e3), [r2, n2, o2, a2] = t3.map(tn);
            return [r2, n2, o2, void 0 !== a2 ? an(a2 / 255) : 1];
          }, nn = (e3) => en(e3) ? rn(e3) : Qr(e3) ? ((e4) => {
            if (!Qr(e4)) return;
            const t3 = e4.substring(e4.indexOf("(")).split(","), r2 = parseInt(t3[0].substring(1).trim(), 10), n2 = parseInt(t3[1].trim(), 10), o2 = parseInt(t3[2].trim(), 10), a2 = t3[3] && parseFloat(t3[3].substring(0, t3[3].length - 1).trim());
            return [r2, n2, o2, void 0 !== a2 ? a2 : 1];
          })(e3) : Zr(e3) ? rn(Xr[e3]) : void 0, on = (e3) => {
            const t3 = nn(e3);
            if (t3) return t3[3];
          }, an = (e3) => Math.round(100 * e3) / 100;
          const ln = ({ propertyName: e3, cssProperty: t3, supportAlpha: r2 }) => (n2, o2) => function(e4) {
            return en(e4) || Qr(e4) || Zr(e4);
          }(n2) ? (r2 || un({ propertyName: e3, color: n2, api: o2 }), true) : (S(ge({ propertyName: e3, cssProperty: t3, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e3.toLowerCase()}`, compName: o2.metaData.role, exampleFormats: r2 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), sn = ({ propertyName: e3, cssProperty: t3 }) => (r2, n2) => !!function(e4) {
            if (l(e4)) {
              const t4 = e4.endsWith("px"), r3 = e4.slice(0, e4.length - 2), n3 = /^\d*$/.test(r3);
              return t4 && n3 && parseInt(r3, 10);
            }
            return false;
          }(r2) || (S(me({ propertyName: e3, cssProperty: t3, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e3.toLowerCase()}`, compName: n2.metaData.role, exampleFormat: "1px" })), false), un = ({ propertyName: e3, color: t3, api: r2 }) => {
            (Jr(t3) || Kr(t3)) && _(D({ propertyName: e3, compName: r2.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e3.toLowerCase()}` }));
          }, cn = ({ name: e3, prefix: t3 }) => t3 ? `--${t3}-corvid-${e3}` : `--corvid-${e3}`, pn = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, dn = ["hover", "disabled"], fn = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
          function hn(e3) {
            return e3.charAt(0).toUpperCase() + e3.slice(1);
          }
          const mn = (e3) => (t3 = { supportOpacity: true }) => {
            const { prefix: r2, supportOpacity: n2, withoutDefaultValue: o2, supportedStates: a2 = [] } = t3, i2 = (t4, r3 = e3) => {
              const a3 = ln({ propertyName: e3, cssProperty: n2 ? "rgbaColor" : "rgbColor", supportAlpha: n2 });
              return Re(({ setStyles: a4, sdkData: i3, createSdkState: l3 }) => {
                const s3 = i3?.initialSdkStyles?.[r3], u2 = on(s3), c2 = o2 ? void 0 : s3, [p2, d2] = l3({ [r3]: c2 }, r3);
                return Object.defineProperty({ reset() {
                  d2({ [r3]: c2 }), a4({ [t4]: void 0 });
                } }, e3, { enumerable: true, set(e4) {
                  let o3 = e4;
                  if (!n2 && (Jr(e4) || Kr(e4))) {
                    const [t5, r4, n3] = nn(e4);
                    o3 = `rgb(${t5}, ${r4}, ${n3})`;
                  }
                  if ("number" == typeof u2 && 1 !== u2) {
                    const t5 = on(e4);
                    o3 = ((e5, t6) => {
                      const r4 = nn(e5);
                      if (r4) {
                        const [e6, n3, o4] = r4;
                        return `rgba(${e6}, ${n3}, ${o4}, ${t6})`;
                      }
                    })(o3, Number.isFinite(t5) ? an(u2 * t5) : u2);
                  }
                  d2({ [r3]: o3 }), a4({ [t4]: o3 });
                }, get() {
                  return p2[r3];
                } });
              }, { properties: { [e3]: { type: ["string", "nil"] } } }, { [e3]: [a3] });
            }, l2 = a2.map((t4) => Re((n3) => {
              const o3 = i2(cn({ name: fn[t4][e3], prefix: r2 }), t4 + hn(e3))(n3);
              return { [t4]: o3 };
            }, { properties: { [t4]: { type: ["object", "nil"] } } })), s2 = i2(cn({ name: pn[e3], prefix: r2 }));
            return (e4) => Object.assign(s2(e4), l2.reduce((t4, r3) => Object.assign(t4, r3(e4)), {}));
          }, gn = mn("backgroundColor"), yn = mn("borderColor"), bn = "textColor", vn = "color", kn = mn("fillColor"), wn = mn("strokeColor"), $n = mn("iconColor"), xn = "reset";
          function Nn(...e3) {
            const t3 = (r2 = xn, (...e4) => {
              const t4 = {}, n2 = { [r2](e5) {
                if ("function" == typeof t4[e5]) return t4[e5](e5);
              } };
              return e4.forEach((e5) => {
                Object.keys(e5).filter((e6) => e6 !== r2).map((t5) => ({ key: t5, descriptor: Object.getOwnPropertyDescriptor(e5, t5) })).forEach(({ key: o2, descriptor: a2 }) => {
                  "function" == typeof e5[r2] && (t4[o2] = e5[r2]), Object.defineProperty(n2, o2, a2);
                });
              }), n2;
            });
            var r2;
            return (r3) => {
              const n2 = e3.map((e4) => e4(r3)), o2 = {};
              for (const e4 of dn) n2.some((t4) => e4 in t4) && (o2[e4] = t3(...n2.map((t4) => t4[e4] ?? {})), Object.defineProperty(o2[e4], xn, { enumerable: false }), n2.forEach((t4) => {
                delete t4[e4];
              }));
              const a2 = t3(...n2);
              return Object.defineProperty(a2, xn, { enumerable: false }), Object.assign(a2, o2);
            };
          }
          const An = { BackgroundColor: gn, BorderColor: yn, BorderWidth: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r2 } = e3, n2 = cn({ name: pn.borderWidth, prefix: t3 });
            return Re(({ setStyles: e4, sdkData: t4, createSdkState: o2 }) => {
              const a2 = t4?.initialSdkStyles?.borderWidth, [i2, l2] = o2({ borderWidth: r2 ? void 0 : a2 }, "borderWidth");
              return { set borderWidth(t5) {
                l2({ borderWidth: t5 }), e4({ [n2]: t5 });
              }, get borderWidth() {
                return i2.borderWidth;
              }, reset() {
                l2({ borderWidth: a2 }), e4({ [n2]: void 0 });
              } };
            }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [sn({ propertyName: "borderWidth", cssProperty: "width" })] });
          }, ForegroundColor: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r2 } = e3, n2 = cn({ name: pn.foregroundColor, prefix: t3 });
            return Re(({ setStyles: e4, sdkData: t4, createSdkState: o2 }) => {
              const [a2, i2] = o2({ foregroundColor: r2 ? void 0 : t4?.initialSdkStyles?.foregroundColor }, "foregroundColor");
              return { set foregroundColor(t5) {
                i2({ foregroundColor: t5 }), e4({ [n2]: t5 });
              }, get foregroundColor() {
                return a2.foregroundColor;
              }, reset() {
                i2({ foregroundColor: r2 ? void 0 : t4?.initialSdkStyles?.foregroundColor }), e4({ [n2]: void 0 });
              } };
            }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [ln({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
          }, BorderRadius: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r2 } = e3, n2 = cn({ name: pn.borderRadius, prefix: t3 });
            return Re(({ setStyles: e4, sdkData: t4, createSdkState: o2 }) => {
              const a2 = t4?.initialSdkStyles?.borderRadius, [i2, l2] = o2({ borderRadius: r2 ? void 0 : a2 }, "borderRadius");
              return { set borderRadius(t5) {
                l2({ borderRadius: t5 }), e4({ [n2]: t5 });
              }, get borderRadius() {
                return i2.borderRadius;
              }, reset() {
                l2({ borderRadius: a2 }), e4({ [n2]: void 0 });
              } };
            }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [sn({ propertyName: "borderRadius", cssProperty: "radius" })] });
          }, TextColor: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r2, supportedStates: n2 = [] } = e3, o2 = (e4, t4 = bn, n3 = vn) => Re(({ setStyles: o3, sdkData: a3, createSdkState: i3 }) => {
              const l2 = a3?.initialSdkStyles?.[n3], s2 = r2 ? void 0 : l2, [u2, c2] = i3({ [t4]: s2 }, t4);
              return { set color(r3) {
                let n4 = r3;
                if (Jr(r3) || Kr(r3)) {
                  const [e5, t5, o4] = nn(r3);
                  n4 = `rgb(${e5}, ${t5}, ${o4})`;
                }
                c2({ [t4]: n4 }), o3({ [e4]: n4 });
              }, get color() {
                return u2[t4];
              }, reset() {
                c2({ [t4]: s2 }), o3({ [e4]: void 0 });
              } };
            }, { properties: { color: { type: ["string", "nil"] } } }, { color: [ln({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), a2 = n2.map((e4) => Re((r3) => {
              const n3 = o2(cn({ name: fn[e4].textColor, prefix: t3 }), ((e5) => e5 + hn(bn))(e4), ((e5) => e5 + hn(vn))(e4))(r3);
              return { [e4]: n3 };
            }, { properties: { [e4]: { type: ["object", "nil"] } } })), i2 = o2(cn({ name: pn.textColor, prefix: t3 }));
            return (e4) => Object.assign(i2(e4), a2.reduce((t4, r3) => Object.assign(t4, r3(e4)), {}));
          }, FillColor: kn, StrokeColor: wn, IconColor: $n }, Cn = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} }, Sn = Re(({ setProps: e3, props: t3, platformUtils: { linkUtils: r2 } }) => ({ set link(n2) {
            ((e4, t4, r3, n3, o2) => {
              if (u(e4) || "" === e4) n3({ link: void 0 });
              else try {
                n3({ link: r3.getLinkProps(e4, t4, o2) });
              } catch (t5) {
                S(`The link property that is passed to the link method cannot be set to the value "${e4}" as this is not a supported link type.`);
              }
            })(n2, t3.link?.target, r2, e3, t3.link?.rel);
          }, get link() {
            return ((e4, t4) => e4.link ? t4.getLink(e4.link) : "")(t3, r2);
          }, set target(r3) {
            e3({ link: { ...t3.link, target: r3 } });
          }, get target() {
            return t3.link?.target ?? "_blank";
          }, set preventLinkNavigation(t4) {
            e3({ preventLinkNavigation: t4 });
          }, get preventLinkNavigation() {
            return t3.preventLinkNavigation ?? false;
          }, set rel(r3) {
            e3({ link: { ...t3.link, rel: "" !== r3 ? r3 : void 0 } });
          }, get rel() {
            return t3.link?.rel ?? "";
          } }), { properties: { link: { type: ["string", "nil"], warnIfNil: true }, target: { type: ["string", "nil"], warnIfNil: true }, preventLinkNavigation: { type: ["boolean"] }, rel: { type: ["string"] } } }, { target: [(e3) => "_blank" === e3 || "_self" === e3 || (S(fe({ target: e3 })), !!u(e3))], rel: [(e3) => {
            const t3 = Object.values({ noreferrer: "noreferrer", noopener: "noopener", nofollow: "nofollow", sponsored: "sponsored" }), r2 = e3.split(" ");
            for (let n2 = 0; n2 < r2.length; n2 += 1) {
              const o2 = r2[n2];
              if (!t3.includes(o2) || n2 !== r2.lastIndexOf(o2)) return S(he({ rel: e3, validKeywords: t3 })), false;
            }
            return true;
          }] });
          const _n = (t3, r2) => {
            const { info: n2 } = e2.zv(t3);
            return e2.yb(t3, { ...r2, svgInfo: n2 });
          }, In = Re((t3) => {
            let { setProps: r2, setStyles: n2, sdkData: o2, metaData: a2, createSdkState: i2, handlers: l2 } = t3;
            const [s2, u2] = i2({});
            return { get src() {
              return s2.userSrc || (e3 = o2.svgId, t4 = o2.altText, `wix:vector://v1/${e3}/${t4 ? encodeURIComponent(t4) : ""}`);
              var e3, t4;
            }, set src(t4) {
              u2({ userSrc: t4 });
              const { type: a3 } = x(t4, o2.mediaSvgUrl), i3 = [y, v].includes(a3);
              n2(/* @__PURE__ */ ((e3) => e3 ? { "--stroke-width": "unset", "--stroke": "unset" } : {})(i3)), r2(A(t4, o2.mediaSvgUrl, l2.sanitizeSVG).then((t5) => ((t6, r3, n3, o3) => {
                if (t6 === y) return { svgContent: r3, shouldScaleStroke: n3 };
                if (C(r3)) return { svgContent: r3, shouldScaleStroke: n3 };
                const { info: a4 } = e2.zv(r3);
                return { svgContent: _n(r3, o3), shouldScaleStroke: n3 || "ugc" === a4.svgType };
              })(a3, t5, i3, o2)));
            }, toJSON() {
              const { src: e3 } = this;
              return { ...yr(a2), src: e3 };
            } };
          }, { properties: { src: { type: ["string"] } } }, { src: [(e3) => (m(e3) || S(((e4) => de({ propertyName: "src", value: e4 }))(e3)), true)] }), On = (({ enableAriaLabel: e3 = true, enableAriaDescribedBy: t3 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: n2 = false, enableAriaBusy: o2 = false, enableAriaHidden: a2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: l2 = false, enableAriaCurrent: s2 = false, enableAriaExpanded: u2 = false, enableAriaLive: c2 = false, enableAriaOwns: p2 = false, enableAriaControls: d2 = false, enableAriaRoleDescription: f2 = false, enableAriaRelevant: h2 = false, enableRole: m2 = false, enableTabIndex: g2 = false, enableAriaErrorMessage: y2 = false, enableScreenReader: b2 = false, enableAriaRequired: v2 = false } = {}) => (k2) => {
            const w2 = [], $2 = { enableAriaLabel: e3, enableAriaDescribedBy: t3, enableAriaLabelledBy: r2, enableAriaAtomic: n2, enableAriaBusy: o2, enableAriaCurrent: s2, enableAriaExpanded: u2, enableAriaLive: c2, enableAriaOwns: p2, enableAriaControls: d2, enableAriaRoleDescription: f2, enableAriaRelevant: h2, enableAriaErrorMessage: y2, enableAriaHidden: a2, enableAriaPressed: i2, enableAriaHaspopup: l2, enableAriaRequired: v2 }, x2 = { enableScreenReader: b2, enableRole: m2, enableTabIndex: g2 };
            if (Object.values($2).some((e4) => e4)) {
              const e4 = ((e5) => {
                const t4 = [];
                return Object.entries(e5).forEach(([e6, r3]) => r3 && Wr[e6] && t4.push(Wr[e6])), (e6) => {
                  const r3 = Yt(t4, { modifyAriaSourceKeys: true })(e6);
                  return r3.ariaAttributes = Yt(t4)(e6), r3;
                };
              })($2);
              w2.push(e4);
            }
            Object.entries(x2).forEach(([e4, t4]) => t4 && Yr[e4] && w2.push(Yr[e4]));
            return { accessibility: Yt(w2)(k2) };
          })({ enableAriaLabel: true }), En = (Mn = { FillColor: true, StrokeColor: true }, Re((Tn = Nn(...Object.keys(Mn).filter((e3) => Mn[e3]).map((e3) => {
            const t3 = "boolean" != typeof Mn[e3] ? Mn[e3] : Cn[e3];
            return An[e3]({ prefix: jn?.cssVarPrefix, withoutDefaultValue: t3.withoutDefaultValue, supportOpacity: t3.supportOpacity, supportedStates: t3.supportedStates });
          })), (e3) => {
            const t3 = Tn(e3);
            return t3.removeProperty = (e4) => {
              const [r2, n2] = e4.includes(".") ? e4.split(".").reverse() : [e4, void 0];
              if (!n2 && !(r2 in t3) || n2 && !(r2 in (t3[n2] ?? {}))) {
                const r3 = Object.keys(t3).filter((e5) => "removeProperty" !== e5);
                return void S(Ne({ functionName: "removeProperty", propertyName: "propertyName", value: e4, enum: r3, index: void 0 }));
              }
              const o2 = n2 ? t3[n2] : t3;
              o2[xn]?.(r2);
            }, { get style() {
              return t3;
            } };
          }), { properties: { style: { type: ["object"] } } }));
          var Tn, Mn, jn;
          const Pn = Yt([(({ useHiddenCollapsed: e3 = true, hasPortal: t3 = false } = {}) => Yt([Xt, br, cr, pr, e3 ? sr(t3) : vr, gr]))(), (e3) => {
            const t3 = /* @__PURE__ */ ((e4) => ({ onClick: (t4) => Wt("onClick", e4, t4), onDblClick: (t4) => Wt("onDblClick", e4, t4) }))(e3), { setProps: r2, props: n2 } = e3;
            return { ...t3, onClick: (e4) => {
              t3.onClick(e4), n2.hasPlatformClickHandler || r2({ hasPlatformClickHandler: true });
            } };
          }, Sn, In, On, En]);
          var Rn = { factory: Pn };
        }(), n;
      }();
    });
  })(VectorImage_bundle_min);
  var VectorImage_bundle_minExports = VectorImage_bundle_min.exports;
  const VectorImage = /* @__PURE__ */ getDefaultExportFromCjs(VectorImage_bundle_minExports);
  var VideoPlayer_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { 3653: function(e2, t2, n2) {
          e2.exports = n2(1555);
        }, 9685: function(e2, t2, n2) {
          var r2 = n2(501), o = n2(3063), i = n2(9233), a = n2(4306), s = n2(5938), c = n2(2644), u = n2(3977), l = n2(135);
          e2.exports = function(e3) {
            return new Promise(function(t3, n3) {
              var d = e3.data, p = e3.headers, f = e3.responseType;
              r2.isFormData(d) && delete p["Content-Type"];
              var m = new XMLHttpRequest();
              if (e3.auth) {
                var h = e3.auth.username || "", g = e3.auth.password ? unescape(encodeURIComponent(e3.auth.password)) : "";
                p.Authorization = "Basic " + btoa(h + ":" + g);
              }
              var y = s(e3.baseURL, e3.url);
              function v() {
                if (m) {
                  var r3 = "getAllResponseHeaders" in m ? c(m.getAllResponseHeaders()) : null, i2 = { data: f && "text" !== f && "json" !== f ? m.response : m.responseText, status: m.status, statusText: m.statusText, headers: r3, config: e3, request: m };
                  o(t3, n3, i2), m = null;
                }
              }
              if (m.open(e3.method.toUpperCase(), a(y, e3.params, e3.paramsSerializer), true), m.timeout = e3.timeout, "onloadend" in m ? m.onloadend = v : m.onreadystatechange = function() {
                m && 4 === m.readyState && (0 !== m.status || m.responseURL && 0 === m.responseURL.indexOf("file:")) && setTimeout(v);
              }, m.onabort = function() {
                m && (n3(l("Request aborted", e3, "ECONNABORTED", m)), m = null);
              }, m.onerror = function() {
                n3(l("Network Error", e3, null, m)), m = null;
              }, m.ontimeout = function() {
                var t4 = "timeout of " + e3.timeout + "ms exceeded";
                e3.timeoutErrorMessage && (t4 = e3.timeoutErrorMessage), n3(l(t4, e3, e3.transitional && e3.transitional.clarifyTimeoutError ? "ETIMEDOUT" : "ECONNABORTED", m)), m = null;
              }, r2.isStandardBrowserEnv()) {
                var N = (e3.withCredentials || u(y)) && e3.xsrfCookieName ? i.read(e3.xsrfCookieName) : void 0;
                N && (p[e3.xsrfHeaderName] = N);
              }
              "setRequestHeader" in m && r2.forEach(p, function(e4, t4) {
                void 0 === d && "content-type" === t4.toLowerCase() ? delete p[t4] : m.setRequestHeader(t4, e4);
              }), r2.isUndefined(e3.withCredentials) || (m.withCredentials = !!e3.withCredentials), f && "json" !== f && (m.responseType = e3.responseType), "function" == typeof e3.onDownloadProgress && m.addEventListener("progress", e3.onDownloadProgress), "function" == typeof e3.onUploadProgress && m.upload && m.upload.addEventListener("progress", e3.onUploadProgress), e3.cancelToken && e3.cancelToken.promise.then(function(e4) {
                m && (m.abort(), n3(e4), m = null);
              }), d || (d = null), m.send(d);
            });
          };
        }, 1555: function(e2, t2, n2) {
          var r2 = n2(501), o = n2(2958), i = n2(7303), a = n2(2445);
          function s(e3) {
            var t3 = new i(e3), n3 = o(i.prototype.request, t3);
            return r2.extend(n3, i.prototype, t3), r2.extend(n3, t3), n3;
          }
          var c = s(n2(2036));
          c.Axios = i, c.create = function(e3) {
            return s(a(c.defaults, e3));
          }, c.Cancel = n2(5930), c.CancelToken = n2(9939), c.isCancel = n2(8414), c.all = function(e3) {
            return Promise.all(e3);
          }, c.spread = n2(363), c.isAxiosError = n2(9465), e2.exports = c, e2.exports.default = c;
        }, 5930: function(e2) {
          function t2(e3) {
            this.message = e3;
          }
          t2.prototype.toString = function() {
            return "Cancel" + (this.message ? ": " + this.message : "");
          }, t2.prototype.__CANCEL__ = true, e2.exports = t2;
        }, 9939: function(e2, t2, n2) {
          var r2 = n2(5930);
          function o(e3) {
            if ("function" != typeof e3) throw new TypeError("executor must be a function.");
            var t3;
            this.promise = new Promise(function(e4) {
              t3 = e4;
            });
            var n3 = this;
            e3(function(e4) {
              n3.reason || (n3.reason = new r2(e4), t3(n3.reason));
            });
          }
          o.prototype.throwIfRequested = function() {
            if (this.reason) throw this.reason;
          }, o.source = function() {
            var e3;
            return { token: new o(function(t3) {
              e3 = t3;
            }), cancel: e3 };
          }, e2.exports = o;
        }, 8414: function(e2) {
          e2.exports = function(e3) {
            return !(!e3 || !e3.__CANCEL__);
          };
        }, 7303: function(e2, t2, n2) {
          var r2 = n2(501), o = n2(4306), i = n2(6942), a = n2(6158), s = n2(2445), c = n2(7169), u = c.validators;
          function l(e3) {
            this.defaults = e3, this.interceptors = { request: new i(), response: new i() };
          }
          l.prototype.request = function(e3) {
            "string" == typeof e3 ? (e3 = arguments[1] || {}).url = arguments[0] : e3 = e3 || {}, (e3 = s(this.defaults, e3)).method ? e3.method = e3.method.toLowerCase() : this.defaults.method ? e3.method = this.defaults.method.toLowerCase() : e3.method = "get";
            var t3 = e3.transitional;
            void 0 !== t3 && c.assertOptions(t3, { silentJSONParsing: u.transitional(u.boolean, "1.0.0"), forcedJSONParsing: u.transitional(u.boolean, "1.0.0"), clarifyTimeoutError: u.transitional(u.boolean, "1.0.0") }, false);
            var n3 = [], r3 = true;
            this.interceptors.request.forEach(function(t4) {
              "function" == typeof t4.runWhen && false === t4.runWhen(e3) || (r3 = r3 && t4.synchronous, n3.unshift(t4.fulfilled, t4.rejected));
            });
            var o2, i2 = [];
            if (this.interceptors.response.forEach(function(e4) {
              i2.push(e4.fulfilled, e4.rejected);
            }), !r3) {
              var l2 = [a, void 0];
              for (Array.prototype.unshift.apply(l2, n3), l2 = l2.concat(i2), o2 = Promise.resolve(e3); l2.length; ) o2 = o2.then(l2.shift(), l2.shift());
              return o2;
            }
            for (var d = e3; n3.length; ) {
              var p = n3.shift(), f = n3.shift();
              try {
                d = p(d);
              } catch (e4) {
                f(e4);
                break;
              }
            }
            try {
              o2 = a(d);
            } catch (e4) {
              return Promise.reject(e4);
            }
            for (; i2.length; ) o2 = o2.then(i2.shift(), i2.shift());
            return o2;
          }, l.prototype.getUri = function(e3) {
            return e3 = s(this.defaults, e3), o(e3.url, e3.params, e3.paramsSerializer).replace(/^\?/, "");
          }, r2.forEach(["delete", "get", "head", "options"], function(e3) {
            l.prototype[e3] = function(t3, n3) {
              return this.request(s(n3 || {}, { method: e3, url: t3, data: (n3 || {}).data }));
            };
          }), r2.forEach(["post", "put", "patch"], function(e3) {
            l.prototype[e3] = function(t3, n3, r3) {
              return this.request(s(r3 || {}, { method: e3, url: t3, data: n3 }));
            };
          }), e2.exports = l;
        }, 6942: function(e2, t2, n2) {
          var r2 = n2(501);
          function o() {
            this.handlers = [];
          }
          o.prototype.use = function(e3, t3, n3) {
            return this.handlers.push({ fulfilled: e3, rejected: t3, synchronous: !!n3 && n3.synchronous, runWhen: n3 ? n3.runWhen : null }), this.handlers.length - 1;
          }, o.prototype.eject = function(e3) {
            this.handlers[e3] && (this.handlers[e3] = null);
          }, o.prototype.forEach = function(e3) {
            r2.forEach(this.handlers, function(t3) {
              null !== t3 && e3(t3);
            });
          }, e2.exports = o;
        }, 5938: function(e2, t2, n2) {
          var r2 = n2(3473), o = n2(533);
          e2.exports = function(e3, t3) {
            return e3 && !r2(t3) ? o(e3, t3) : t3;
          };
        }, 135: function(e2, t2, n2) {
          var r2 = n2(7889);
          e2.exports = function(e3, t3, n3, o, i) {
            var a = new Error(e3);
            return r2(a, t3, n3, o, i);
          };
        }, 6158: function(e2, t2, n2) {
          var r2 = n2(501), o = n2(4097), i = n2(8414), a = n2(2036);
          function s(e3) {
            e3.cancelToken && e3.cancelToken.throwIfRequested();
          }
          e2.exports = function(e3) {
            return s(e3), e3.headers = e3.headers || {}, e3.data = o.call(e3, e3.data, e3.headers, e3.transformRequest), e3.headers = r2.merge(e3.headers.common || {}, e3.headers[e3.method] || {}, e3.headers), r2.forEach(["delete", "get", "head", "post", "put", "patch", "common"], function(t3) {
              delete e3.headers[t3];
            }), (e3.adapter || a.adapter)(e3).then(function(t3) {
              return s(e3), t3.data = o.call(e3, t3.data, t3.headers, e3.transformResponse), t3;
            }, function(t3) {
              return i(t3) || (s(e3), t3 && t3.response && (t3.response.data = o.call(e3, t3.response.data, t3.response.headers, e3.transformResponse))), Promise.reject(t3);
            });
          };
        }, 7889: function(e2) {
          e2.exports = function(e3, t2, n2, r2, o) {
            return e3.config = t2, n2 && (e3.code = n2), e3.request = r2, e3.response = o, e3.isAxiosError = true, e3.toJSON = function() {
              return { message: this.message, name: this.name, description: this.description, number: this.number, fileName: this.fileName, lineNumber: this.lineNumber, columnNumber: this.columnNumber, stack: this.stack, config: this.config, code: this.code };
            }, e3;
          };
        }, 2445: function(e2, t2, n2) {
          var r2 = n2(501);
          e2.exports = function(e3, t3) {
            t3 = t3 || {};
            var n3 = {}, o = ["url", "method", "data"], i = ["headers", "auth", "proxy", "params"], a = ["baseURL", "transformRequest", "transformResponse", "paramsSerializer", "timeout", "timeoutMessage", "withCredentials", "adapter", "responseType", "xsrfCookieName", "xsrfHeaderName", "onUploadProgress", "onDownloadProgress", "decompress", "maxContentLength", "maxBodyLength", "maxRedirects", "transport", "httpAgent", "httpsAgent", "cancelToken", "socketPath", "responseEncoding"], s = ["validateStatus"];
            function c(e4, t4) {
              return r2.isPlainObject(e4) && r2.isPlainObject(t4) ? r2.merge(e4, t4) : r2.isPlainObject(t4) ? r2.merge({}, t4) : r2.isArray(t4) ? t4.slice() : t4;
            }
            function u(o2) {
              r2.isUndefined(t3[o2]) ? r2.isUndefined(e3[o2]) || (n3[o2] = c(void 0, e3[o2])) : n3[o2] = c(e3[o2], t3[o2]);
            }
            r2.forEach(o, function(e4) {
              r2.isUndefined(t3[e4]) || (n3[e4] = c(void 0, t3[e4]));
            }), r2.forEach(i, u), r2.forEach(a, function(o2) {
              r2.isUndefined(t3[o2]) ? r2.isUndefined(e3[o2]) || (n3[o2] = c(void 0, e3[o2])) : n3[o2] = c(void 0, t3[o2]);
            }), r2.forEach(s, function(r3) {
              r3 in t3 ? n3[r3] = c(e3[r3], t3[r3]) : r3 in e3 && (n3[r3] = c(void 0, e3[r3]));
            });
            var l = o.concat(i).concat(a).concat(s), d = Object.keys(e3).concat(Object.keys(t3)).filter(function(e4) {
              return -1 === l.indexOf(e4);
            });
            return r2.forEach(d, u), n3;
          };
        }, 3063: function(e2, t2, n2) {
          var r2 = n2(135);
          e2.exports = function(e3, t3, n3) {
            var o = n3.config.validateStatus;
            n3.status && o && !o(n3.status) ? t3(r2("Request failed with status code " + n3.status, n3.config, null, n3.request, n3)) : e3(n3);
          };
        }, 4097: function(e2, t2, n2) {
          var r2 = n2(501), o = n2(2036);
          e2.exports = function(e3, t3, n3) {
            var i = this || o;
            return r2.forEach(n3, function(n4) {
              e3 = n4.call(i, e3, t3);
            }), e3;
          };
        }, 2036: function(e2, t2, n2) {
          var r2 = n2(3158), o = n2(501), i = n2(4799), a = n2(7889), s = { "Content-Type": "application/x-www-form-urlencoded" };
          function c(e3, t3) {
            !o.isUndefined(e3) && o.isUndefined(e3["Content-Type"]) && (e3["Content-Type"] = t3);
          }
          var u, l = { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: (("undefined" != typeof XMLHttpRequest || void 0 !== r2 && "[object process]" === Object.prototype.toString.call(r2)) && (u = n2(9685)), u), transformRequest: [function(e3, t3) {
            return i(t3, "Accept"), i(t3, "Content-Type"), o.isFormData(e3) || o.isArrayBuffer(e3) || o.isBuffer(e3) || o.isStream(e3) || o.isFile(e3) || o.isBlob(e3) ? e3 : o.isArrayBufferView(e3) ? e3.buffer : o.isURLSearchParams(e3) ? (c(t3, "application/x-www-form-urlencoded;charset=utf-8"), e3.toString()) : o.isObject(e3) || t3 && "application/json" === t3["Content-Type"] ? (c(t3, "application/json"), function(e4, t4, n3) {
              if (o.isString(e4)) try {
                return (t4 || JSON.parse)(e4), o.trim(e4);
              } catch (e5) {
                if ("SyntaxError" !== e5.name) throw e5;
              }
              return (n3 || JSON.stringify)(e4);
            }(e3)) : e3;
          }], transformResponse: [function(e3) {
            var t3 = this.transitional, n3 = t3 && t3.silentJSONParsing, r3 = t3 && t3.forcedJSONParsing, i2 = !n3 && "json" === this.responseType;
            if (i2 || r3 && o.isString(e3) && e3.length) try {
              return JSON.parse(e3);
            } catch (e4) {
              if (i2) {
                if ("SyntaxError" === e4.name) throw a(e4, this, "E_JSON_PARSE");
                throw e4;
              }
            }
            return e3;
          }], timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, validateStatus: function(e3) {
            return e3 >= 200 && e3 < 300;
          } };
          l.headers = { common: { Accept: "application/json, text/plain, */*" } }, o.forEach(["delete", "get", "head"], function(e3) {
            l.headers[e3] = {};
          }), o.forEach(["post", "put", "patch"], function(e3) {
            l.headers[e3] = o.merge(s);
          }), e2.exports = l;
        }, 2958: function(e2) {
          e2.exports = function(e3, t2) {
            return function() {
              for (var n2 = new Array(arguments.length), r2 = 0; r2 < n2.length; r2++) n2[r2] = arguments[r2];
              return e3.apply(t2, n2);
            };
          };
        }, 4306: function(e2, t2, n2) {
          var r2 = n2(501);
          function o(e3) {
            return encodeURIComponent(e3).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
          }
          e2.exports = function(e3, t3, n3) {
            if (!t3) return e3;
            var i;
            if (n3) i = n3(t3);
            else if (r2.isURLSearchParams(t3)) i = t3.toString();
            else {
              var a = [];
              r2.forEach(t3, function(e4, t4) {
                null != e4 && (r2.isArray(e4) ? t4 += "[]" : e4 = [e4], r2.forEach(e4, function(e5) {
                  r2.isDate(e5) ? e5 = e5.toISOString() : r2.isObject(e5) && (e5 = JSON.stringify(e5)), a.push(o(t4) + "=" + o(e5));
                }));
              }), i = a.join("&");
            }
            if (i) {
              var s = e3.indexOf("#");
              -1 !== s && (e3 = e3.slice(0, s)), e3 += (-1 === e3.indexOf("?") ? "?" : "&") + i;
            }
            return e3;
          };
        }, 533: function(e2) {
          e2.exports = function(e3, t2) {
            return t2 ? e3.replace(/\/+$/, "") + "/" + t2.replace(/^\/+/, "") : e3;
          };
        }, 9233: function(e2, t2, n2) {
          var r2 = n2(501);
          e2.exports = r2.isStandardBrowserEnv() ? { write: function(e3, t3, n3, o, i, a) {
            var s = [];
            s.push(e3 + "=" + encodeURIComponent(t3)), r2.isNumber(n3) && s.push("expires=" + new Date(n3).toGMTString()), r2.isString(o) && s.push("path=" + o), r2.isString(i) && s.push("domain=" + i), true === a && s.push("secure"), document.cookie = s.join("; ");
          }, read: function(e3) {
            var t3 = document.cookie.match(new RegExp("(^|;\\s*)(" + e3 + ")=([^;]*)"));
            return t3 ? decodeURIComponent(t3[3]) : null;
          }, remove: function(e3) {
            this.write(e3, "", Date.now() - 864e5);
          } } : { write: function() {
          }, read: function() {
            return null;
          }, remove: function() {
          } };
        }, 3473: function(e2) {
          e2.exports = function(e3) {
            return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e3);
          };
        }, 9465: function(e2) {
          e2.exports = function(e3) {
            return "object" == typeof e3 && true === e3.isAxiosError;
          };
        }, 3977: function(e2, t2, n2) {
          var r2 = n2(501);
          e2.exports = r2.isStandardBrowserEnv() ? function() {
            var e3, t3 = /(msie|trident)/i.test(navigator.userAgent), n3 = document.createElement("a");
            function o(e4) {
              var r3 = e4;
              return t3 && (n3.setAttribute("href", r3), r3 = n3.href), n3.setAttribute("href", r3), { href: n3.href, protocol: n3.protocol ? n3.protocol.replace(/:$/, "") : "", host: n3.host, search: n3.search ? n3.search.replace(/^\?/, "") : "", hash: n3.hash ? n3.hash.replace(/^#/, "") : "", hostname: n3.hostname, port: n3.port, pathname: "/" === n3.pathname.charAt(0) ? n3.pathname : "/" + n3.pathname };
            }
            return e3 = o(window.location.href), function(t4) {
              var n4 = r2.isString(t4) ? o(t4) : t4;
              return n4.protocol === e3.protocol && n4.host === e3.host;
            };
          }() : function() {
            return true;
          };
        }, 4799: function(e2, t2, n2) {
          var r2 = n2(501);
          e2.exports = function(e3, t3) {
            r2.forEach(e3, function(n3, r3) {
              r3 !== t3 && r3.toUpperCase() === t3.toUpperCase() && (e3[t3] = n3, delete e3[r3]);
            });
          };
        }, 2644: function(e2, t2, n2) {
          var r2 = n2(501), o = ["age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent"];
          e2.exports = function(e3) {
            var t3, n3, i, a = {};
            return e3 ? (r2.forEach(e3.split("\n"), function(e4) {
              if (i = e4.indexOf(":"), t3 = r2.trim(e4.substr(0, i)).toLowerCase(), n3 = r2.trim(e4.substr(i + 1)), t3) {
                if (a[t3] && o.indexOf(t3) >= 0) return;
                a[t3] = "set-cookie" === t3 ? (a[t3] ? a[t3] : []).concat([n3]) : a[t3] ? a[t3] + ", " + n3 : n3;
              }
            }), a) : a;
          };
        }, 363: function(e2) {
          e2.exports = function(e3) {
            return function(t2) {
              return e3.apply(null, t2);
            };
          };
        }, 7169: function(e2, t2, n2) {
          var r2 = n2(6837), o = {};
          ["object", "boolean", "number", "function", "string", "symbol"].forEach(function(e3, t3) {
            o[e3] = function(n3) {
              return typeof n3 === e3 || "a" + (t3 < 1 ? "n " : " ") + e3;
            };
          });
          var i = {}, a = r2.version.split(".");
          function s(e3, t3) {
            for (var n3 = t3 ? t3.split(".") : a, r3 = e3.split("."), o2 = 0; o2 < 3; o2++) {
              if (n3[o2] > r3[o2]) return true;
              if (n3[o2] < r3[o2]) return false;
            }
            return false;
          }
          o.transitional = function(e3, t3, n3) {
            var o2 = t3 && s(t3);
            function a2(e4, t4) {
              return "[Axios v" + r2.version + "] Transitional option '" + e4 + "'" + t4 + (n3 ? ". " + n3 : "");
            }
            return function(n4, r3, s2) {
              if (false === e3) throw new Error(a2(r3, " has been removed in " + t3));
              return o2 && !i[r3] && (i[r3] = true, console.warn(a2(r3, " has been deprecated since v" + t3 + " and will be removed in the near future"))), !e3 || e3(n4, r3, s2);
            };
          }, e2.exports = { isOlderVersion: s, assertOptions: function(e3, t3, n3) {
            if ("object" != typeof e3) throw new TypeError("options must be an object");
            for (var r3 = Object.keys(e3), o2 = r3.length; o2-- > 0; ) {
              var i2 = r3[o2], a2 = t3[i2];
              if (a2) {
                var s2 = e3[i2], c = void 0 === s2 || a2(s2, i2, e3);
                if (true !== c) throw new TypeError("option " + i2 + " must be " + c);
              } else if (true !== n3) throw Error("Unknown option " + i2);
            }
          }, validators: o };
        }, 501: function(e2, t2, n2) {
          var r2 = n2(2958), o = Object.prototype.toString;
          function i(e3) {
            return "[object Array]" === o.call(e3);
          }
          function a(e3) {
            return void 0 === e3;
          }
          function s(e3) {
            return null !== e3 && "object" == typeof e3;
          }
          function c(e3) {
            if ("[object Object]" !== o.call(e3)) return false;
            var t3 = Object.getPrototypeOf(e3);
            return null === t3 || t3 === Object.prototype;
          }
          function u(e3) {
            return "[object Function]" === o.call(e3);
          }
          function l(e3, t3) {
            if (null != e3) if ("object" != typeof e3 && (e3 = [e3]), i(e3)) for (var n3 = 0, r3 = e3.length; n3 < r3; n3++) t3.call(null, e3[n3], n3, e3);
            else for (var o2 in e3) Object.prototype.hasOwnProperty.call(e3, o2) && t3.call(null, e3[o2], o2, e3);
          }
          e2.exports = { isArray: i, isArrayBuffer: function(e3) {
            return "[object ArrayBuffer]" === o.call(e3);
          }, isBuffer: function(e3) {
            return null !== e3 && !a(e3) && null !== e3.constructor && !a(e3.constructor) && "function" == typeof e3.constructor.isBuffer && e3.constructor.isBuffer(e3);
          }, isFormData: function(e3) {
            return "undefined" != typeof FormData && e3 instanceof FormData;
          }, isArrayBufferView: function(e3) {
            return "undefined" != typeof ArrayBuffer && ArrayBuffer.isView ? ArrayBuffer.isView(e3) : e3 && e3.buffer && e3.buffer instanceof ArrayBuffer;
          }, isString: function(e3) {
            return "string" == typeof e3;
          }, isNumber: function(e3) {
            return "number" == typeof e3;
          }, isObject: s, isPlainObject: c, isUndefined: a, isDate: function(e3) {
            return "[object Date]" === o.call(e3);
          }, isFile: function(e3) {
            return "[object File]" === o.call(e3);
          }, isBlob: function(e3) {
            return "[object Blob]" === o.call(e3);
          }, isFunction: u, isStream: function(e3) {
            return s(e3) && u(e3.pipe);
          }, isURLSearchParams: function(e3) {
            return "undefined" != typeof URLSearchParams && e3 instanceof URLSearchParams;
          }, isStandardBrowserEnv: function() {
            return ("undefined" == typeof navigator || "ReactNative" !== navigator.product && "NativeScript" !== navigator.product && "NS" !== navigator.product) && ("undefined" != typeof window && "undefined" != typeof document);
          }, forEach: l, merge: function e3() {
            var t3 = {};
            function n3(n4, r4) {
              c(t3[r4]) && c(n4) ? t3[r4] = e3(t3[r4], n4) : c(n4) ? t3[r4] = e3({}, n4) : i(n4) ? t3[r4] = n4.slice() : t3[r4] = n4;
            }
            for (var r3 = 0, o2 = arguments.length; r3 < o2; r3++) l(arguments[r3], n3);
            return t3;
          }, extend: function(e3, t3, n3) {
            return l(t3, function(t4, o2) {
              e3[o2] = n3 && "function" == typeof t4 ? r2(t4, n3) : t4;
            }), e3;
          }, trim: function(e3) {
            return e3.trim ? e3.trim() : e3.replace(/^\s+|\s+$/g, "");
          }, stripBOM: function(e3) {
            return 65279 === e3.charCodeAt(0) && (e3 = e3.slice(1)), e3;
          } };
        }, 8144: function(e2, t2, n2) {
          var r2;
          e2 = n2.nmd(e2), function(o) {
            var a = (e2 && e2.exports, "object" == typeof n2.g && n2.g);
            a.global !== a && a.window;
            var s = function(e3) {
              this.message = e3;
            };
            (s.prototype = new Error()).name = "InvalidCharacterError";
            var c = function(e3) {
              throw new s(e3);
            }, u = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", l = /[\t\n\f\r ]/g, d = { encode: function(e3) {
              e3 = String(e3), /[^\0-\xFF]/.test(e3) && c("The string to be encoded contains characters outside of the Latin1 range.");
              for (var t3, n3, r3, o2, i = e3.length % 3, a2 = "", s2 = -1, l2 = e3.length - i; ++s2 < l2; ) t3 = e3.charCodeAt(s2) << 16, n3 = e3.charCodeAt(++s2) << 8, r3 = e3.charCodeAt(++s2), a2 += u.charAt((o2 = t3 + n3 + r3) >> 18 & 63) + u.charAt(o2 >> 12 & 63) + u.charAt(o2 >> 6 & 63) + u.charAt(63 & o2);
              return 2 == i ? (t3 = e3.charCodeAt(s2) << 8, n3 = e3.charCodeAt(++s2), a2 += u.charAt((o2 = t3 + n3) >> 10) + u.charAt(o2 >> 4 & 63) + u.charAt(o2 << 2 & 63) + "=") : 1 == i && (o2 = e3.charCodeAt(s2), a2 += u.charAt(o2 >> 2) + u.charAt(o2 << 4 & 63) + "=="), a2;
            }, decode: function(e3) {
              var t3 = (e3 = String(e3).replace(l, "")).length;
              t3 % 4 == 0 && (t3 = (e3 = e3.replace(/==?$/, "")).length), (t3 % 4 == 1 || /[^+a-zA-Z0-9/]/.test(e3)) && c("Invalid character: the string to be decoded is not correctly encoded.");
              for (var n3, r3, o2 = 0, i = "", a2 = -1; ++a2 < t3; ) r3 = u.indexOf(e3.charAt(a2)), n3 = o2 % 4 ? 64 * n3 + r3 : r3, o2++ % 4 && (i += String.fromCharCode(255 & n3 >> (-2 * o2 & 6)));
              return i;
            }, version: "1.0.0" };
            void 0 === (r2 = function() {
              return d;
            }.call(t2, n2, t2, e2)) || (e2.exports = r2);
          }();
        }, 3158: function(e2) {
          var t2, n2, r2 = e2.exports = {};
          function o() {
            throw new Error("setTimeout has not been defined");
          }
          function i() {
            throw new Error("clearTimeout has not been defined");
          }
          function a(e3) {
            if (t2 === setTimeout) return setTimeout(e3, 0);
            if ((t2 === o || !t2) && setTimeout) return t2 = setTimeout, setTimeout(e3, 0);
            try {
              return t2(e3, 0);
            } catch (n3) {
              try {
                return t2.call(null, e3, 0);
              } catch (n4) {
                return t2.call(this, e3, 0);
              }
            }
          }
          !function() {
            try {
              t2 = "function" == typeof setTimeout ? setTimeout : o;
            } catch (e3) {
              t2 = o;
            }
            try {
              n2 = "function" == typeof clearTimeout ? clearTimeout : i;
            } catch (e3) {
              n2 = i;
            }
          }();
          var s, c = [], u = false, l = -1;
          function d() {
            u && s && (u = false, s.length ? c = s.concat(c) : l = -1, c.length && p());
          }
          function p() {
            if (!u) {
              var e3 = a(d);
              u = true;
              for (var t3 = c.length; t3; ) {
                for (s = c, c = []; ++l < t3; ) s && s[l].run();
                l = -1, t3 = c.length;
              }
              s = null, u = false, function(e4) {
                if (n2 === clearTimeout) return clearTimeout(e4);
                if ((n2 === i || !n2) && clearTimeout) return n2 = clearTimeout, clearTimeout(e4);
                try {
                  return n2(e4);
                } catch (t4) {
                  try {
                    return n2.call(null, e4);
                  } catch (t5) {
                    return n2.call(this, e4);
                  }
                }
              }(e3);
            }
          }
          function f(e3, t3) {
            this.fun = e3, this.array = t3;
          }
          function m() {
          }
          r2.nextTick = function(e3) {
            var t3 = new Array(arguments.length - 1);
            if (arguments.length > 1) for (var n3 = 1; n3 < arguments.length; n3++) t3[n3 - 1] = arguments[n3];
            c.push(new f(e3, t3)), 1 !== c.length || u || a(p);
          }, f.prototype.run = function() {
            this.fun.apply(null, this.array);
          }, r2.title = "browser", r2.browser = true, r2.env = {}, r2.argv = [], r2.version = "", r2.versions = {}, r2.on = m, r2.addListener = m, r2.once = m, r2.off = m, r2.removeListener = m, r2.removeAllListeners = m, r2.emit = m, r2.prependListener = m, r2.prependOnceListener = m, r2.listeners = function(e3) {
            return [];
          }, r2.binding = function(e3) {
            throw new Error("process.binding is not supported");
          }, r2.cwd = function() {
            return "/";
          }, r2.chdir = function(e3) {
            throw new Error("process.chdir is not supported");
          }, r2.umask = function() {
            return 0;
          };
        }, 6837: function(e2) {
          e2.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}');
        } }, t = {};
        function n(r2) {
          var o = t[r2];
          if (void 0 !== o) return o.exports;
          var i = t[r2] = { id: r2, loaded: false, exports: {} };
          return e[r2].call(i.exports, i, i.exports, n), i.loaded = true, i.exports;
        }
        n.n = function(e2) {
          var t2 = e2 && e2.__esModule ? function() {
            return e2.default;
          } : function() {
            return e2;
          };
          return n.d(t2, { a: t2 }), t2;
        }, n.d = function(e2, t2) {
          for (var r2 in t2) n.o(t2, r2) && !n.o(e2, r2) && Object.defineProperty(e2, r2, { enumerable: true, get: t2[r2] });
        }, n.g = function() {
          if ("object" == typeof globalThis) return globalThis;
          try {
            return this || new Function("return this")();
          } catch (e2) {
            if ("object" == typeof window) return window;
          }
        }(), n.o = function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, n.r = function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        }, n.nmd = function(e2) {
          return e2.paths = [], e2.children || (e2.children = []), e2;
        };
        var r = {};
        return function() {
          n.r(r), n.d(r, { default: function() {
            return Vr;
          }, sdk: function() {
            return Ur;
          } });
          const e2 = { IMAGE: "image", DOCUMENT: "document", VIDEO: "video", AUDIO: "audio", VECTOR: "vector" }, t2 = { empty_media_id: "empty_media_id", empty_poster_id: "empty_poster_id", bad_media_id: "bad_media_id", unknown_media_type: "unknown_media_type", missing_width_height: "missing_width_height", non_string_media_id: "non_string_media_id" }, o = { vector: (e3, t3) => `wix:vector://v1/${e3}/${t3}`, image: (e3, t3, n2, r2, o2) => `wix:image://v1/${e3}/${t3}#originWidth=${n2}&originHeight=${r2}${o2 ? `&watermark=${o2}` : ""}`, document: (e3, t3) => `wix:document://v1/${e3}/${t3}`, video: (e3, t3, n2, r2 = 0, o2 = 0) => `wix:video://v1/${e3}/${n2}#posterUri=${t3}&posterWidth=${r2}&posterHeight=${o2}`, audio: (e3, t3, n2) => `wix:audio://v1/${e3}/${t3}#duration=${n2}` }, i = { vector: /^wix:vector:\/\/v1\/([^\/]+)\/([^\/]*)$/, image: /^wix:image:\/\/v1\/([^\/]+)\/([^\/]*)#originWidth=([0-9]+)&originHeight=([0-9]+)(?:&watermark=([^\/]+))?$/, document: /^wix:document:\/\/v1\/([^\/]+)\/([^\/]+)$/, video: /^wix:video:\/\/v1\/([^\/]+)\/([^\/]+)#posterUri=([^\/]+)&posterWidth=([0-9]+)&posterHeight=([0-9]+)$/, audio: /^wix:audio:\/\/v1\/([^\/]+)\/([^\/]+)#duration=([0-9]+)$/, deprecated_video: /^wix:video:\/\/v1\/([^\/]+)\/([^\/]+)\/#posterUri=([^\/]+)&posterWidth=([0-9]+)&posterHeight=([0-9]+)$/, deprecated_image: /^image:\/\/v1\/([^\/]+)\/([0-9]+)_([0-9]+)\/([^\/]*)$/, deprecated_type: /^(image):/, type: /^wix:(\w+):/, splitExtension: /\.(?=[^.]+$)/, emptyTitle: /^_\./ }, a = { vector: [i.vector], image: [i.image, i.deprecated_image], document: [i.document], video: [i.video, i.deprecated_video], audio: [i.audio] };
          function s(t3, n2 = "", r2) {
            const [o2, a2] = r2.split(i.splitExtension), [s2, c2] = n2.split(i.splitExtension);
            let u2;
            switch (t3) {
              case e2.IMAGE:
                u2 = `${s2 || "_"}.${c2 || a2}`;
                break;
              case e2.DOCUMENT:
                u2 = `${s2 || o2}.${c2 || a2}`;
                break;
              case e2.VIDEO:
                u2 = `${s2 || "_"}${c2 ? `.${c2}` : ""}`;
                break;
              case e2.AUDIO:
              case e2.VECTOR:
                u2 = `${s2 || o2}.${c2 || a2}`;
                break;
              default:
                u2 = "";
            }
            return encodeURI(u2);
          }
          function c(e3) {
            return i.emptyTitle.test(e3) ? "" : decodeURI(e3);
          }
          function u({ mediaId: n2, type: r2, title: i2, width: a2, height: c2, posterId: u2, watermark: l2, duration: d2 }) {
            switch (r2) {
              case e2.IMAGE:
                return function({ mediaId: n3, title: r3, width: i3, height: a3, watermark: c3 }) {
                  if (!n3) return { error: t2.empty_media_id };
                  if ("number" != typeof a3 || "number" != typeof i3) return { error: t2.missing_width_height };
                  const u3 = s(e2.IMAGE, r3, n3);
                  return { item: o.image(n3, u3, i3, a3, c3) };
                }({ mediaId: n2, title: i2, width: a2, height: c2, watermark: l2 });
              case e2.DOCUMENT:
                return function({ mediaId: n3, title: r3 }) {
                  if (!n3) return { error: t2.empty_media_id };
                  const i3 = s(e2.DOCUMENT, r3, n3);
                  return { item: o.document(n3, i3) };
                }({ mediaId: n2, title: i2 });
              case e2.VECTOR:
                return function({ mediaId: n3, title: r3 }) {
                  if (!n3) return { error: t2.empty_media_id };
                  const i3 = s(e2.VECTOR, r3, n3);
                  return { item: o.vector(n3, i3) };
                }({ mediaId: n2, title: i2 });
              case e2.VIDEO:
                return function({ mediaId: n3, title: r3, width: i3, height: a3, posterId: c3 }) {
                  if (!n3) return { error: t2.empty_media_id };
                  if (!c3) return { error: t2.empty_poster_id };
                  if (isNaN(a3 || NaN) || isNaN(i3 || NaN)) return { error: t2.missing_width_height };
                  const u3 = n3.replace("video/", ""), l3 = s(e2.VIDEO, r3, u3);
                  return { item: o.video(u3, c3, l3, i3, a3) };
                }({ mediaId: n2, title: i2, width: a2, height: c2, posterId: u2 });
              case e2.AUDIO:
                return function({ mediaId: n3, title: r3, duration: i3 }) {
                  if (!n3) return { error: t2.empty_media_id };
                  const a3 = s(e2.AUDIO, r3, n3);
                  return { item: o.audio(n3, a3, i3 || 0) };
                }({ mediaId: n2, title: i2, duration: d2 });
              default:
                return { error: t2.unknown_media_type };
            }
          }
          function l(n2 = "") {
            if ("string" != typeof n2) return { error: t2.non_string_media_id };
            const [, r2] = n2.match(i.type) || [];
            switch (r2) {
              case e2.IMAGE:
                return function(n3) {
                  const [, r4, o2, a2, s2, u2] = n3.match(i.image) || [], l2 = c(o2);
                  if (r4) return { type: e2.IMAGE, mediaId: r4, title: l2, width: parseInt(a2, 10), height: parseInt(s2, 10), watermark: u2 };
                  return { error: t2.bad_media_id };
                }(n2);
              case e2.DOCUMENT:
                return function(n3) {
                  const [, r4, o2] = n3.match(i.document) || [], a2 = c(o2);
                  return r4 ? { type: e2.DOCUMENT, mediaId: r4, title: a2 } : { error: t2.bad_media_id };
                }(n2);
              case e2.VECTOR:
                return function(n3) {
                  const [, r4, o2] = n3.match(i.vector) || [], a2 = c(o2);
                  return r4 ? { type: e2.VECTOR, mediaId: r4, title: a2 } : { error: t2.bad_media_id };
                }(n2);
              case e2.VIDEO:
                return function(n3) {
                  const r4 = i.deprecated_video.test(n3) ? i.deprecated_video : i.video, [, o2, a2, s2, u2, l2] = n3.match(r4) || [], d2 = c(a2);
                  return o2 && s2 ? { type: e2.VIDEO, mediaId: o2, posterId: s2, width: parseInt(u2, 10), height: parseInt(l2, 10), title: d2 } : { error: t2.bad_media_id };
                }(n2);
              case e2.AUDIO:
                return function(n3) {
                  const [, r4, o2, a2] = n3.match(i.audio) || [], s2 = c(o2);
                  return r4 ? { type: e2.AUDIO, mediaId: r4, title: s2, duration: parseInt(a2, 10) } : { error: t2.bad_media_id };
                }(n2);
              default:
                const [, r3] = n2.match(i.deprecated_type) || [];
                return r3 ? function(n3) {
                  const [, r4, o2, a2, s2] = n3.match(i.deprecated_image) || [], u2 = c(s2);
                  return r4 ? { type: e2.IMAGE, mediaId: r4, title: u2, width: parseInt(o2, 10), height: parseInt(a2, 10) } : { error: t2.bad_media_id };
                }(n2) : { error: t2.unknown_media_type };
            }
          }
          function d(e3 = "", t3) {
            const n2 = a[t3];
            return n2 && n2.some((t4) => t4.test(e3));
          }
          function p(e3) {
            return "number" == typeof e3 && !Number.isNaN(e3);
          }
          function f(e3) {
            return Array.isArray(e3);
          }
          function m(e3) {
            return null == e3;
          }
          function h(e3, t3) {
            return t3.includes(e3);
          }
          function g(e3, t3) {
            return e3 > t3;
          }
          function y(e3, t3) {
            return e3 < t3;
          }
          const v = { externalUrl: /(^https?)|(^data)|(^blob)|(^\/\/)/, inlineSvg: /<svg[\s\S]*>[\s\S]*<\/svg>/im }, N = { [e2.VECTOR]: [v.externalUrl, v.inlineSvg], [e2.IMAGE]: [v.externalUrl], [e2.DOCUMENT]: [], [e2.VIDEO]: [], [e2.AUDIO]: [v.externalUrl] };
          function b(n2, r2) {
            if (!Object.values(e2).includes(r2)) return { error: t2.unknown_media_type };
            if (N[r2].some((e3) => e3.test(n2))) return { type: r2, mediaId: n2 };
            const o2 = l(n2);
            return o2.error === t2.non_string_media_id ? o2 : o2.error === t2.unknown_media_type || r2 !== o2.type ? { error: t2.bad_media_id } : o2;
          }
          function w(e3, t3) {
            return d(e3, t3) || N[t3] && N[t3].some((t4) => t4.test(e3));
          }
          const G = { CENTER: "center", TOP: "top", TOP_LEFT: "top_left", TOP_RIGHT: "top_right", BOTTOM: "bottom", BOTTOM_LEFT: "bottom_left", BOTTOM_RIGHT: "bottom_right", LEFT: "left", RIGHT: "right" };
          function U(e3, ...t3) {
            return function(...n2) {
              const r2 = n2[n2.length - 1] || {}, o2 = [e3[0]];
              return t3.forEach(function(t4, i2) {
                const a2 = Number.isInteger(t4) ? n2[t4] : r2[t4];
                o2.push(a2, e3[i2 + 1]);
              }), o2.join("");
            };
          }
          function F() {
            if ("undefined" != typeof window && "undefined" != typeof navigator) {
              window.matchMedia && window.matchMedia("(max-width: 767px)").matches;
            }
          }
          U`,quality_auto`, U`,bl`, U`,enc_auto`, U`,enc_avif`, U`,enc_pavif`, U`,pstr`;
          const B = { [G.CENTER]: "50% 50%", [G.TOP_LEFT]: "0% 0%", [G.TOP_RIGHT]: "100% 0%", [G.TOP]: "50% 0%", [G.BOTTOM_LEFT]: "0% 100%", [G.BOTTOM_RIGHT]: "100% 100%", [G.BOTTOM]: "50% 100%", [G.RIGHT]: "100% 50%", [G.LEFT]: "0% 50%" };
          Object.entries(B).reduce((e3, [t3, n2]) => (e3[n2] = t3, e3), {});
          F();
          F();
          const H = (e3, t3) => {
            return e3[t3] || e3[n2 = t3, n2.toLowerCase().replace(/(^_+)|(_+$)/g, "").replace(/_+([^_])/g, (e4, t4) => t4.toUpperCase())];
            var n2;
          }, q = (e3) => e3.replace(/^(.*[/])/, ""), W = (e3) => e3.image.map((e4) => q(e4.url)), z = (e3, t3) => {
            if (e3.length <= t3) return e3;
            const n2 = e3.split(""), r2 = e3.length - t3 + 3, o2 = (e3.lastIndexOf(".") > e3.length - r2 - 3 ? e3.lastIndexOf(".") : e3.length - 1) - r2 - 3;
            return n2.splice(o2, r2, "..."), n2.join("");
          }, J = (e3) => (e3.match(/(?:\/|^)([0-9a-fA-F_]+)(?:\/|$)/) || [])[1] ?? "", Y = (e3, t3) => {
            var n2;
            const r2 = H(e3, "file_input"), o2 = H(e3, "file_output"), i2 = J(H(e3, "file_name") || H(e3, "file_url")), a2 = z(e3.title, 100), s2 = ((e4) => {
              var t4;
              const n3 = e4.video.filter((e5) => {
                let { format: t5 } = e5;
                return "mp4" === t5;
              }), r3 = null == (t4 = e4.storyboard) ? void 0 : t4.find((e5) => {
                let { format: t5 } = e5;
                return "mp4" === t5;
              }), o3 = n3.map((e5) => {
                let { width: t5, height: n4, quality: r4, url: o4 } = e5;
                return { width: t5, height: n4, quality: r4, url: o4 };
              });
              return r3 && o3.push({ quality: "storyboard", width: r3.width, height: r3.height, url: r3.url }), o3;
            })(o2), c2 = ((e4) => H(e4, "adaptive_video").map((e5) => ({ format: e5.format, url: e5.url })))(o2), u2 = ((e4) => {
              var t4;
              const n3 = [];
              return null != (t4 = e4.tags) && t4.includes("_mp4_alpha") && n3.push("alpha"), n3.length ? n3 : null;
            })(e3), l2 = o2.image[0], d2 = { type: "Image", width: l2.width, height: l2.height, uri: q(l2.url), description: t3.path ? t3.path : void 0 };
            return { type: "WixVideo", title: a2, videoId: i2, duration: +(r2.duration / 1e3).toFixed(2), posterImageRef: d2, generatedPosters: W(o2), qualities: s2, adaptiveVideo: c2, artist: { name: e3.vendor || "", id: e3.reference || "" }, hasAudio: -1 !== H(o2.video[0], "audio_bitrate"), fps: ((null == (n2 = o2.video[0]) ? void 0 : n2.fps) ?? "").toString(), mediaFeatures: u2 || [] };
          };
          var X = n(3653), Z = n.n(X), K = n(9685), Q = n.n(K);
          const ee = "www.wix.com", te = "http", ne = "x-wix-metro-original-url", re = "x-wix-metro-original-host", oe = "x-wix-metro-original-protocol";
          var ie = n(3158);
          function ae() {
            return "undefined" != typeof window;
          }
          function se() {
            var e3;
            return void 0 !== ie && null != (null === (e3 = null == ie ? void 0 : ie.versions) || void 0 === e3 ? void 0 : e3.node);
          }
          function ce() {
            return "object" == typeof self ? self : n.g;
          }
          function ue(e3) {
            const t3 = function(e4) {
              return function() {
                const e5 = function() {
                  if ("object" == typeof document) return document;
                }();
                if (e5 && e5.cookie) return decodeURIComponent(e5.cookie).split(";");
                return [];
              }().filter((t4) => e4 === t4.split("=")[0].trim())[0];
            }(e3);
            return t3 ? t3.split("=")[1] : "";
          }
          const le = "XSRF-TOKEN", de = "x-xsrf-token";
          const pe = "x-wix-brand";
          function fe() {
            const e3 = function() {
              const e4 = ce();
              if (e4 && e4.commonConfig && "string" == typeof e4.commonConfig.brand) return e4.commonConfig.brand;
              return "";
            }();
            return { [pe]: e3 };
          }
          function me() {
            return function() {
              const e3 = ce();
              if (e3 && e3.consentPolicyManager && "function" == typeof e3.consentPolicyManager._getConsentPolicyHeader) return e3.consentPolicyManager._getConsentPolicyHeader();
              return;
            }() || function() {
              const e3 = ce();
              if (e3 && e3.Wix && e3.Wix.Utils && "function" == typeof e3.Wix.Utils._getConsentPolicyHeader) return e3.Wix.Utils._getConsentPolicyHeader();
              return;
            }() || {};
          }
          var he = n(3158);
          function ge() {
            return void 0 !== he && null != he.versions?.node && (!!he.env.TEAMCITY_VERSION || !!he.env.BUILDKITE);
          }
          const ye = ["consentPolicy", "consentPolicyHeader"], ve = "commonConfig", Ne = { bsi: "BSI" };
          const be = () => {
            const e3 = function() {
              const e4 = ce(), t4 = e4?.commonConfig;
              if (!t4) return null;
              const n2 = {};
              let r2 = false;
              return Object.keys(t4).forEach((e5) => {
                const o2 = Ne[e5];
                o2 ? (n2[o2] = t4[e5], r2 = true) : ye.indexOf(e5) < 0 && "function" != typeof t4[e5] && (n2[e5] = t4[e5], r2 = true);
              }), r2 ? n2 : null;
            }(), t3 = e3 ? JSON.stringify(e3) : "";
            return { [ve]: encodeURIComponent(t3) };
          };
          var we = n(8144), Ie = n.n(we);
          const Ee = "x-wix-linguist";
          function Te({ lang: e3, locale: t3, isPrimaryLanguage: n2, signedInstance: r2 }) {
            if (function({ lang: e4, locale: t4, isPrimaryLanguage: n3 }) {
              return e4 && t4 && /^(true|false)$/.test(n3?.toString() || "");
            }({ lang: e3, locale: t3, isPrimaryLanguage: n2 })) {
              const o2 = function(e4) {
                try {
                  const t4 = e4?.startsWith("wixcode") ? e4?.split(".")[2] : e4?.split(".")[1];
                  if (t4) return JSON.parse(Ie().decode(t4)).instanceId;
                } catch (e5) {
                }
              }(r2);
              if (void 0 !== o2) return { [Ee]: [e3, t3, n2?.toString(), o2].join("|") };
            }
            return {};
          }
          class _e extends Error {
            constructor(e3, t3, n2) {
              super(`WixHeadersValidationError: expected ${t3} to be ${e3} but got ${JSON.stringify(n2)}`);
            }
          }
          function xe(e3 = {}) {
            !function(e4) {
              (function(e5, t4) {
                if ("boolean" != typeof t4) throw new _e("boolean", e5, t4);
              })("opts.csrf", e4.csrf), function(e5, t4) {
                if ("string" != typeof t4) throw new _e("string", e5, t4);
              }("opts.signedInstance", e4.signedInstance);
            }(e3 = { csrf: true, signedInstance: "", ...e3 });
            const t3 = [fe(), me(), (r2 = e3.signedInstance, { authorization: r2 }), (n2 = e3.artifactId, { "X-Wix-Client-Artifact-Id": n2 ?? (ge() ? "" : "editor-elements-library") }), be(), Te({ signedInstance: e3.signedInstance, ...e3.multilingualOptions })];
            var n2, r2;
            return e3.csrf && t3.push(function() {
              const e4 = ue(le);
              return { [de]: e4 };
            }()), t3.filter((e4) => Object.values(e4).every((e5) => e5)).reduce((e4, t4) => ({ ...e4, ...t4 }), {});
          }
          var Oe = n(3158);
          function Ce(e3) {
            if ("string" != typeof e3) throw new TypeError(`Expected a \`string\`, got \`${typeof e3}\``);
            return /(^https?:)|(^\/\/)/.test(e3);
          }
          function $e(e3, t3) {
            return t3.split(".").filter((e4) => e4).reduce((e4, t4) => e4[t4], e3);
          }
          function Le(e3) {
            try {
              return new URL(e3).protocol;
            } catch (t3) {
              return Se(e3).protocol;
            }
          }
          function Ae(e3) {
            let t3;
            try {
              t3 = new URL(e3);
            } catch (n2) {
              t3 = new URL(`http:${e3}`);
            }
            try {
              return t3.host;
            } catch (t4) {
              return Se(e3).host;
            }
          }
          function Se(e3) {
            const t3 = new RegExp("^(.*:)//([A-Za-z0-9-.]+)(:[0-9]+)?(.*)$");
            try {
              const n2 = t3.exec(e3);
              return { protocol: n2[1], host: n2[2] };
            } catch (e4) {
              return { protocol: "http:", host: "" };
            }
          }
          function Re(e3, t3) {
            let n2;
            try {
              n2 = new URL(e3), n2.host = t3, n2.protocol = "http";
            } catch (r2) {
              n2 = new URL(`http://${t3}`), n2.pathname = e3;
            }
            return n2.toString();
          }
          function Pe() {
            let e3;
            if (se() && Oe.env.HTTP_CLIENT_GLOBAL_CONFIG) try {
              e3 = JSON.parse(Oe.env.HTTP_CLIENT_GLOBAL_CONFIG);
            } catch (e4) {
            }
            var t3;
            return e3 || (ae() ? e3 = window._httpClientGlobalConfig : "object" == typeof self && (null === (t3 = null === self || void 0 === self ? void 0 : self.constructor) || void 0 === t3 || t3.name)), e3 || { httpMockServer: { enabled: false } };
          }
          var je = JSON.parse('["wix.com","editorx.com","wix-code.com","wixapps.net","wixprod.net"]');
          function ke(e3) {
            var t3;
            return (null === (t3 = null == e3 ? void 0 : e3.headers) || void 0 === t3 ? void 0 : t3["x-wix-request-id"]) || "";
          }
          function Ge(e3) {
            if (!Ce(e3)) return true;
            const t3 = `.${Ae(e3)}`;
            return !!je.find((e4) => t3.endsWith(`.${e4}`));
          }
          const De = ["code", "config", "request", "response", "toJSON", "__CANCEL__"];
          class Me extends Error {
            constructor(e3) {
              super(e3.message), this.isWixHttpError = true, Object.setPrototypeOf(this, Me.prototype), De.forEach((t3) => {
                this[t3] = e3[t3];
              });
            }
            get requestId() {
              return ke(this.response);
            }
          }
          const Ue = ({ requestOptions: e3, urlObject: t3, headers: n2, globalConfig: r2 = { httpMockServer: { enabled: false } } }) => {
            const { url: o2, params: i2 } = e3;
            if (i2 && "object" != typeof i2) throw new Error("Search params must be an object");
            const a2 = function(e4, t4) {
              if (t4.httpMockServer.enabled) {
                return { url: Re(e4, new URL(t4.httpMockServer.mockServerUrl).host) };
              }
              return {};
            }(o2, r2);
            return Object.assign(Object.assign(Object.assign({}, e3), a2), { headers: n2 });
          }, Ve = (e3, t3, n2 = { httpMockServer: { enabled: false } }, r2) => {
            const { url: o2, disableWixHeaders: i2, headers: a2 } = e3, s2 = (({ url: e4, disableWixHeaders: t4, wixHeadersOpts: n3 }) => !t4 && Ge(e4) ? xe(n3) : {})({ url: o2, disableWixHeaders: i2, wixHeadersOpts: t3 }), c2 = Fe(n2, e3, r2);
            return Object.assign(Object.assign(Object.assign({}, s2), function(e4) {
              e4 = e4 || {};
              return Object.keys(e4).reduce((t4, n3) => Object.assign(Object.assign({}, t4), { [n3.toLowerCase()]: e4[n3] }), {});
            }(a2)), c2);
          }, Fe = (e3, t3, n2) => {
            const { url: r2, params: o2 } = t3, { host: i2, protocol: a2 } = n2;
            return e3.httpMockServer.enabled ? { [ne]: Be(r2, o2), [re]: Ce(r2) ? Ae(r2) : i2, [oe]: Ce(r2) ? Le(r2) : a2 } : {};
          };
          function Be(e3, t3) {
            const { pathname: n2, searchParams: r2 } = new URL(e3, "http://unused.com");
            if (t3 = t3 || r2) {
              const e4 = function(e5) {
                return Object.entries(e5).map(([e6, t4]) => `${e6}=${encodeURIComponent(t4)}`).flat().join("&");
              }(t3) || t3.toString();
              return `${n2}${e4 ? `?${e4}` : ""}`;
            }
            return n2;
          }
          class He {
            constructor(e3 = {}) {
              this.opts = e3, this.opts = function(e4) {
                let t3 = e4.adapter;
                t3 || (t3 = Q(), se() && (t3 = function() {
                  return requireXhr();
                }()));
                return Object.assign({ adapter: t3, isSSR: false }, e4);
              }(this.opts), this.client = Z().create(this.opts), this.flags = { sanitizerPocEnabled: qe() };
            }
            static isHttpError(e3) {
              return !!(null == e3 ? void 0 : e3.isWixHttpError);
            }
            async request(e3, t3) {
              var n2, r2;
              const o2 = (i2 = this.opts).baseURL ? Ae(i2.baseURL) : i2.isSSR ? ee : "undefined" != typeof self && self.location ? self.location.host : "";
              var i2;
              const a2 = function(e4) {
                return e4.baseURL ? Le(e4.baseURL) : e4.isSSR ? te : "undefined" != typeof self && self.location ? self.location.protocol : "";
              }(this.opts), s2 = { protocol: a2, host: o2 }, c2 = "function" == typeof e3 ? e3({ isSSR: this.opts.isSSR, host: o2 }) : e3, u2 = (null == t3 ? void 0 : t3.signedInstance) || await (null === (r2 = (n2 = this.opts).getAppToken) || void 0 === r2 ? void 0 : r2.call(n2)) || "", l2 = this.getHeaders(c2, u2, s2), d2 = Ue({ requestOptions: c2, urlObject: s2, headers: l2, globalConfig: Pe() });
              this.opts.isSSR && (d2.baseURL = this.opts.baseURL ? this.opts.baseURL : `${te}://${ee}`);
              try {
                const e4 = await this.client.request(d2).catch((e5) => this.maybeFallbackRequest(e5, c2, s2, u2));
                return this.transformResponse(e4, c2);
              } catch (e4) {
                this.handleRequestError(e4, d2);
              }
            }
            async get(e3, t3) {
              const n2 = Object.assign(Object.assign({}, t3), { url: e3, method: "GET" });
              return this.request(n2);
            }
            async delete(e3, t3) {
              const n2 = Object.assign(Object.assign({}, t3), { url: e3, method: "DELETE" });
              return this.request(n2);
            }
            async head(e3, t3) {
              const n2 = Object.assign(Object.assign({}, t3), { url: e3, method: "HEAD" });
              return this.request(n2);
            }
            async options(e3, t3) {
              const n2 = Object.assign(Object.assign({}, t3), { url: e3, method: "OPTIONS" });
              return this.request(n2);
            }
            async post(e3, t3, n2) {
              const r2 = Object.assign(Object.assign({}, n2), { url: e3, data: t3, method: "POST" });
              return this.request(r2);
            }
            async put(e3, t3, n2) {
              const r2 = Object.assign(Object.assign({}, n2), { url: e3, data: t3, method: "PUT" });
              return this.request(r2);
            }
            async patch(e3, t3, n2) {
              const r2 = Object.assign(Object.assign({}, n2), { url: e3, data: t3, method: "PATCH" });
              return this.request(r2);
            }
            get CancelToken() {
              return Z().CancelToken;
            }
            get isCancel() {
              return Z().isCancel;
            }
            getHeaders(e3, t3, n2) {
              if ("function" == typeof this.opts.createHeaders) return this.getCustomHeaders(e3, t3, n2);
              const r2 = { signedInstance: t3, artifactId: this.opts.artifactId, csrf: false, multilingualOptions: this.opts.multilingualOptions };
              return Ve(e3, r2, Pe(), n2);
            }
            getCustomHeaders(e3, t3, n2) {
              const { url: r2 } = e3, o2 = t3 && Ge(r2) ? { authorization: t3 } : {}, i2 = this.opts.createHeaders(), a2 = Fe(Pe(), e3, n2);
              return Object.assign(Object.assign(Object.assign({}, a2), i2), o2);
            }
            handleRequestError(e3, t3) {
              const n2 = function(...e4) {
                return new Me(...e4);
              }(e3);
              throw async function(e4) {
                try {
                  await e4();
                } catch (e5) {
                }
              }(() => {
                var e4;
                return null === (e4 = t3.onError) || void 0 === e4 ? void 0 : e4.call(t3, n2);
              }), n2;
            }
            maybeFallbackRequest(e3, t3, n2, r2) {
              var o2, i2, a2;
              if (Pe().httpMockServer.enabled && Pe().httpMockServer.allowUnmocked && 404 === (null === (o2 = e3.response) || void 0 === o2 ? void 0 : o2.status) && "NO_SCENARIO_FOUND" === (null === (a2 = null === (i2 = e3.response) || void 0 === i2 ? void 0 : i2.data) || void 0 === a2 ? void 0 : a2.msg)) {
                const e4 = this.getHeaders(t3, r2, n2), o3 = Ue({ requestOptions: t3, urlObject: n2, headers: e4 });
                return this.client.request(o3);
              }
              throw e3;
            }
            transformResponse(e3, t3) {
              const n2 = ke(e3), r2 = function(e4, t4, n3) {
                let r3 = function(e5, t5) {
                  try {
                    if (t5.sanitizerPocEnabled) {
                      const t6 = performance.now(), n4 = new Sanitizer();
                      if (e5.headers["content-type"].includes("application/json")) {
                        console.log("[+] JSON Response detected, sanitizing data");
                        const r4 = function(e6) {
                          try {
                            return Object.keys(e6).forEach((t7) => {
                              "string" == typeof e6[t7] ? e6[t7] = n4.sanitizeFor("span", e6[t7]).innerHTML : "object" == typeof e6[t7] && (e6[t7] = r4(e6[t7]));
                            }), e6;
                          } catch (e7) {
                            console.log(e7);
                          }
                        }, o2 = performance.now();
                        return console.log(`Time taken: ${o2 - t6} milliseconds.`), r4(e5.data);
                      }
                    }
                  } catch (e6) {
                    console.log("[+] Sanitizer API not supported: %o", e6);
                  }
                  return e5.data;
                }(e4, n3);
                t4._pickResponseBody && (r3 = $e(e4.data, t4._pickResponseBody));
                if (t4._logs) {
                  const n4 = $e(e4.data, t4._logs);
                  (null == n4 ? void 0 : n4.length) && n4.map((e5) => console.log(...e5));
                }
                return r3;
              }(e3, t3, this.flags);
              return Object.assign(Object.assign({}, e3), { data: r2, requestId: n2 });
            }
          }
          function qe() {
            var e3;
            try {
              return ae() && "true" === new URLSearchParams((null === (e3 = null === window || void 0 === window ? void 0 : window.location) || void 0 === e3 ? void 0 : e3.hash) || "").get("sanitizerPOC");
            } catch (e4) {
              return false;
            }
          }
          He.CancelToken = Z().CancelToken, He.isCancel = Z().isCancel;
          const We = { loop: true, preload: "auto", muted: true, isVideoEnabled: true }, ze = ({ mediaId: e3, posterId: t3, width: n2, height: r2, title: o2 }) => ({ type: "WixVideo", videoId: e3, posterImageRef: { type: "Image", uri: t3, width: n2, height: r2, title: o2 } }), Je = (e3) => {
            if (w(e3, "video")) {
              const t3 = b(e3, "video");
              return t3.error ? null : { ...ze(t3), name: t3.title, fileName: t3.title, type: "WixVideo" };
            }
            {
              const t3 = b(e3, "image");
              return t3.error ? null : { ...t3, name: t3.title, type: "Image" };
            }
          }, Ye = async (e3) => {
            const t3 = `https://files.wix.com/site/media/files/${e3 = ((e4) => e4.replace("video/", ""))(e3)}/info`, n2 = new He(), r2 = await n2.get(t3);
            return o2 = r2.data, i2 = {}, { mediaObject: { animatePoster: "none", autoPlay: true, playbackRate: 1, fittingType: "fill", hasBgScrollEffect: "", bgEffectName: "", isVideoDataExists: "1", alignType: "center", videoFormat: "mp4", playerType: "html5", isEditorMode: false, isViewerMode: true, videoHeight: o2.file_input.height, videoWidth: o2.file_input.width, ...Y(o2, i2) }, ...We };
            var o2, i2;
          }, Xe = (e3) => {
            console.error(`Wix code SDK error: ${e3}`);
          }, Ze = (e3) => {
            console.warn(`Wix code SDK warning: ${e3}`);
          }, Ke = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to null.`, Qe = ({ propertyName: e3, compName: t3, effectName: n2, infoLink: r2 }) => `The "${e3}" function called on "${t3}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${r2}"')`, et = ({ propertyName: e3, compName: t3, infoLink: n2 }) => `The "${e3}" function called on "${t3}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, tt = ({ propertyName: e3, compName: t3, effectName: n2, wrongProperty: r2, wrongValue: o2, infoLink: i2 }) => `The "${e3}" function called on "${t3}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${r2}: ${o2}. Read more about the effectOptions object: "${i2}"')`, nt = ({ propertyName: e3, compName: t3, effectName: n2, infoLink: r2 }) => `The "${e3}" function  called on "${t3}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${r2}"`, rt = ({ propertyName: e3, compName: t3, effectName: n2, wrongValue: r2, infoLink: o2 }) => `The "${e3}" function called on "${t3}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${r2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${o2}"'`, ot = ({ propertyName: e3, functionName: t3, compName: n2 }) => `The ${e3} parameter of "${n2}" that is passed to the ${t3} method cannot be set to null.`, it = ({ propertyName: e3, functionName: t3, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to null or undefined.`, at = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is required for ${t3} method.`, st = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]}, are required for ${t3} method.`, ct = ({ propertyName: e3, functionName: t3, index: n2 }) => `The ${e3} parameter of item at index ${n2} is required for ${t3} method.`, ut = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is not allowed for ${t3} method.`, lt = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]} are unknown for ${t3} method.`, dt = ({ propertyName: e3, functionName: t3, index: n2 }) => `The ${e3} parameter of item at index ${n2} is not allowed for ${t3} method.`, pt = ({ propertyNames: e3, functionName: t3, index: n2 }) => `The following parameters: ${[...e3]} of item at index ${n2} are unknown for ${t3} method.`, ft = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2, maximum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}". Its length must be between ${r2} and ${o2}.`, mt = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2, maximum: o2, index: i2 }) => `The ${e3} parameter of item at index ${i2} that is passed to the ${t3} method cannot be set to the value "${n2}". Its length must be between ${r2} and ${o2}.`, ht = ({ propertyName: e3, functionName: t3, value: n2, expectedValue: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}". Its length must be ${r2}.`, gt = ({ propertyName: e3, functionName: t3, value: n2, expectedValue: r2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value "${n2}". Its length must be ${r2}.`, yt = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}" because its length is shorter than ${r2}.`, vt = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value "${n2}" because its length is shorter than ${r2}.`, Nt = ({ propertyName: e3, functionName: t3, value: n2, maximum: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}" because its length exceeds ${r2}.`, bt = ({ propertyName: e3, functionName: t3, value: n2, maximum: r2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value "${n2}" because its length exceeds ${r2}.`, wt = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2, maximum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}". It must be between ${r2} and ${o2}.`, It = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2, maximum: o2, index: i2 }) => `The ${e3} parameter of item at index ${i2} that is passed to the ${t3} method cannot be set to the value "${n2}". It must be between ${r2} and ${o2}.`, Et = ({ propertyName: e3, functionName: t3, value: n2, expectedValue: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${n2}". It must be ${r2}.`, Tt = ({ propertyName: e3, functionName: t3, value: n2, expectedValue: r2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value "${n2}". It must be ${r2}.`, _t = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n2}. It must be larger than ${r2}.`, xt = ({ propertyName: e3, functionName: t3, value: n2, minimum: r2, index: o2 }) => `The value of ${e3} parameter of item at ${o2} that is passed to the ${t3} method cannot be set to the value ${n2}. It must be larger than ${r2}.`, Ot = ({ propertyName: e3, functionName: t3, value: n2, maximum: r2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n2}. It must be less than ${r2}.`, Ct = ({ propertyName: e3, functionName: t3, value: n2, maximum: r2, index: o2 }) => `The value of ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value ${n2}. It must be less than ${r2}.`, $t = ({ propertyName: e3, functionName: t3, value: n2, expectedType: r2 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n2}. It must be of type ${r2}.`, Lt = ({ propertyName: e3, functionName: t3, value: n2, expectedType: r2, index: o2 }) => `The ${e3} parameter of item at index ${o2} that is passed to the ${t3} method cannot be set to the value ${n2}. It must be of type ${r2}.`, At = ({ propertyName: e3, functionName: t3, value: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${n2}. Bad format`, St = ({ functionName: e3, wrongEffects: t3, allowedEffects: n2 }) => `Passed  effects: "${t3.join('", "')}" to the ${e3} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, Rt = ({ propertyName: e3, functionName: t3, value: n2, index: r2 }) => `The "${e3}" property of the item at index ${r2} that is passed to the ${t3} method cannot be set to "${n2}". Bad format`, Pt = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method contains invalid characters.`, jt = ({ compName: e3, functionName: t3, propertyName: n2, index: r2 }) => p(r2) ? it({ propertyName: n2, functionName: t3, index: r2 }) : e3 ? ot({ compName: e3, functionName: t3, propertyName: n2 }) : Ke({ functionName: t3, propertyName: n2 }), kt = ({ functionName: e3, propertyName: t3, index: n2 }) => p(n2) ? ct({ functionName: e3, propertyName: t3, index: n2 }) : at({ functionName: e3, propertyName: t3 }), Gt = ({ functionName: e3, propertyNames: t3, index: n2 }) => t3 && t3.length > 1 ? p(n2) ? pt({ functionName: e3, propertyNames: t3, index: n2 }) : lt({ functionName: e3, propertyNames: t3 }) : p(n2) ? dt({ functionName: e3, propertyName: t3[0], index: n2 }) : ut({ functionName: e3, propertyName: t3[0] }), Dt = ({ functionName: e3, propertyName: t3, value: n2, maximum: r2, minimum: o2, index: i2 }) => o2 && r2 ? o2 === r2 ? p(i2) ? gt({ functionName: e3, propertyName: t3, value: n2, expectedValue: o2, index: i2 }) : ht({ functionName: e3, propertyName: t3, value: n2, expectedValue: o2 }) : p(i2) ? mt({ functionName: e3, propertyName: t3, value: n2, maximum: r2, minimum: o2, index: i2 }) : ft({ functionName: e3, propertyName: t3, value: n2, maximum: r2, minimum: o2 }) : !o2 && r2 ? p(i2) ? bt({ functionName: e3, propertyName: t3, value: n2, maximum: r2, index: i2 }) : Nt({ functionName: e3, propertyName: t3, value: n2, maximum: r2 }) : p(i2) ? vt({ functionName: e3, propertyName: t3, value: n2, minimum: o2, index: i2 }) : yt({ functionName: e3, propertyName: t3, value: n2, minimum: o2 }), Mt = ({ functionName: e3, propertyName: t3, value: n2, minimum: r2, maximum: o2, index: i2 }) => r2 && o2 ? r2 === o2 ? p(i2) ? Tt({ functionName: e3, propertyName: t3, expectedValue: r2, value: n2, index: i2 }) : Et({ functionName: e3, propertyName: t3, expectedValue: r2, value: n2 }) : p(i2) ? It({ functionName: e3, propertyName: t3, value: n2, maximum: o2, minimum: r2, index: i2 }) : wt({ functionName: e3, propertyName: t3, value: n2, maximum: o2, minimum: r2 }) : !r2 && o2 ? p(i2) ? Ct({ functionName: e3, propertyName: t3, maximum: o2, value: n2, index: i2 }) : Ot({ functionName: e3, propertyName: t3, maximum: o2, value: n2 }) : p(i2) ? xt({ functionName: e3, propertyName: t3, value: n2, minimum: r2, index: i2 }) : _t({ functionName: e3, propertyName: t3, value: n2, minimum: r2 }), Ut = ({ functionName: e3, propertyName: t3, types: n2, value: r2, index: o2 }) => {
            const i2 = n2.map((e4) => "nil" === e4 ? "null" : e4).join(",");
            return p(o2) ? Lt({ functionName: e3, index: o2, propertyName: t3, value: r2, expectedType: i2 }) : $t({ functionName: e3, propertyName: t3, value: r2, expectedType: i2 });
          }, Vt = ({ functionName: e3, propertyName: t3, value: n2, enum: r2, index: o2 }) => {
            const i2 = `from (${r2.join(",")})`;
            return p(o2) ? Lt({ functionName: e3, propertyName: t3, value: n2, expectedType: i2, index: o2 }) : $t({ functionName: e3, propertyName: t3, value: n2, expectedType: i2 });
          }, Ft = ({ functionName: e3, propertyName: t3, value: n2, index: r2 }) => p(r2) ? Rt({ functionName: e3, propertyName: t3, value: n2, index: r2 }) : At({ functionName: e3, propertyName: t3, value: n2 }), Bt = Object.prototype.hasOwnProperty, Ht = Object.getOwnPropertyNames, qt = () => {
          };
          function Wt(e3, t3, n2, r2, o2, i2) {
            if (!function(e4) {
              return "object" == typeof e4 && null !== e4 && !f(e4);
            }(e3)) return Xt.InvalidType;
            if (t3.oneOf) return 1 === t3.oneOf.map((t4) => Wt(e3, t4, n2, qt, o2, i2)).filter((e4) => e4 === Xt.Valid).length ? Xt.Valid : Xt.Invalid;
            if (t3.required) {
              for (let n3 = 0; n3 < t3.required.length; n3++) if (!Bt.call(e3, t3.required[n3])) return r2(kt({ functionName: i2.functionName, index: i2.index, propertyName: t3.required[n3] }), { ...i2, value: e3 }), Xt.Invalid;
            }
            const a2 = Ht(t3.properties ?? {});
            if (false === t3.additionalProperties) {
              const t4 = Ht(e3).filter((e4) => !a2.includes(e4));
              if (t4.length) {
                return r2(Gt({ functionName: i2.functionName, index: i2.index, propertyNames: t4 })), Xt.Invalid;
              }
            }
            for (let r3 = 0; r3 < a2.length; r3++) {
              const o3 = a2[r3];
              if (Bt.call(e3, o3)) {
                const r4 = t3.properties[o3], a3 = e3[o3];
                if (!n2(a3, r4, { functionName: i2.functionName, index: i2.index, propertyName: o3 })) return Xt.Invalid;
              }
            }
            return Xt.Valid;
          }
          function zt(e3) {
            return Array.isArray(e3);
          }
          function Jt(e3, t3, n2, r2) {
            const { minimum: o2, maximum: i2, enum: a2 } = t3;
            return function(e4) {
              return Number.isInteger(e4);
            }(e3) ? a2 && !h(e3, a2) ? (n2(Vt({ value: e3, enum: a2, ...r2 }), { ...r2, value: e3 }), Xt.Invalid) : p(o2) && y(e3, o2) || p(i2) && g(e3, i2) ? (n2(Mt({ value: e3, minimum: o2, maximum: i2, ...r2 }), { ...r2, value: e3 }), Xt.Invalid) : Xt.Valid : Xt.InvalidType;
          }
          function Yt(e3) {
            return function(e4) {
              return e4 instanceof Date && !Number.isNaN(e4.getTime());
            }(e3) ? Xt.Valid : Xt.InvalidType;
          }
          const Xt = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
          function Zt({ reportError: e3, reportWarning: t3 }, n2, { suppressIndexErrors: r2 = false } = {}) {
            function o2(r3, o3, a2) {
              o3.warnIfNil && m(r3) && t3(jt({ ...a2, compName: n2 }), { ...a2, value: r3 });
              let s2 = 0;
              for (; s2 < o3.type.length; s2++) {
                const e4 = (0, i2[o3.type[s2]])(r3, o3, a2);
                if (e4 !== Xt.InvalidType) return e4 === Xt.Valid;
              }
              return s2 === o3.type.length && e3(Ut({ value: r3, types: o3.type, ...a2 }), { ...a2, value: r3 }), false;
            }
            const i2 = { object: (n3, r3, i3) => Wt(n3, r3, o2, e3, t3, i3), array: (e4, t4, n3) => function(e5, t5, n4, r3, o3, i3 = false) {
              if (!f(e5)) return Xt.InvalidType;
              let a2 = Xt.Valid;
              if (t5.items) {
                const r4 = zt(t5.items) ? Math.min(e5.length, t5.items.length) : e5.length;
                for (let s2 = 0; s2 < r4; s2++) {
                  const r5 = e5[s2];
                  let c2, u2;
                  zt(t5.items) ? (c2 = t5.items[s2], u2 = t5.items[s2].name) : (c2 = t5.items, u2 = t5.name), n4(r5, c2, { functionName: o3.functionName, propertyName: u2 || o3.propertyName, index: i3 ? void 0 : s2 }) || (a2 = Xt.Invalid);
                }
              }
              return a2;
            }(e4, t4, o2, 0, n3, r2), number: (t4, n3, r3) => function(e4, t5, n4, r4) {
              const { minimum: o3, maximum: i3, enum: a2 } = t5;
              return p(e4) ? a2 && !h(e4, a2) ? (n4(Vt({ value: e4, enum: a2, ...r4 }), { ...r4, value: e4 }), Xt.Invalid) : p(o3) && y(e4, o3) || p(i3) && g(e4, i3) ? (n4(Mt({ value: e4, minimum: o3, maximum: i3, ...r4 }), { ...r4, value: e4 }), Xt.Invalid) : Xt.Valid : Xt.InvalidType;
            }(t4, n3, e3, r3), integer: (t4, n3, r3) => Jt(t4, n3, e3, r3), string: (t4, n3, r3) => function(e4, t5, n4, r4) {
              const { minLength: o3, maxLength: i3, enum: a2, pattern: s2 } = t5;
              return /* @__PURE__ */ function(e5) {
                return "string" == typeof e5;
              }(e4) ? a2 && !h(e4, a2) ? (n4(Vt({ value: e4, enum: a2, ...r4 }), { ...r4, value: e4 }), Xt.Invalid) : o3 && y(e4.length, o3) || i3 && g(e4.length, i3) ? (n4(Dt({ value: e4, minimum: o3, maximum: i3, ...r4 }), { ...r4, value: e4 }), Xt.Invalid) : s2 && !new RegExp(s2).test(e4) ? (n4(Ft({ value: e4, ...r4 }), { ...r4, value: e4 }), Xt.Invalid) : Xt.Valid : Xt.InvalidType;
            }(t4, n3, e3, r3), boolean: (e4) => function(e5) {
              return /* @__PURE__ */ function(e6) {
                return true === e6 || false === e6;
              }(e5) ? Xt.Valid : Xt.InvalidType;
            }(e4), date: (e4) => Yt(e4), nil: (e4) => function(e5) {
              return m(e5) ? Xt.Valid : Xt.InvalidType;
            }(e4), function: (e4) => function(e5) {
              return /* @__PURE__ */ function(e6) {
                return "function" == typeof e6;
              }(e5) ? Xt.Valid : Xt.InvalidType;
            }(e4) };
            return function(e4, t4, n3) {
              return o2(e4, t4, { functionName: n3, propertyName: n3, index: void 0 });
            };
          }
          function Kt(e3, { suppressIndexErrors: t3 = false } = {}) {
            return Zt({ reportError: Xe, reportWarning: Ze }, e3, { suppressIndexErrors: t3 });
          }
          const Qt = "click", en = "dblClick", tn = "mouseenter", nn = "mouseleave", rn = "change", on = "blur", an = "focus", sn = "imageChanged", cn = "imageExpanded", un = "onInput", ln = "itemClicked", dn = "cellSelect", pn = "cellEdit", fn = "rowSelect", mn = "fetchData", hn = "dataChange", gn = "onTimeout", yn = "onVerified", vn = "onError", Nn = "onPlay", bn = "onPause", wn = "onProgress", In = "onEnded", En = "autoplayOff", Tn = "autoplayOn", _n = "playEnded", xn = "playProgress", On = "keyPress", Cn = "keyUp", $n = "keyDown", Ln = "screenIn", An = "viewportEnter", Sn = "viewportLeave", Rn = "scroll", Pn = "validate", jn = "setCustomValidity", kn = "syncValidationData", Gn = "updateValidityIndication", Dn = "message", Mn = "uploadComplete", Un = "itemReady", Vn = "itemRemoved", Fn = "tagClick", Bn = "quickActionBarItemClicked", Hn = "markerClicked", qn = "mapClicked", Wn = "iconMouseIn", zn = "onStateChange", Jn = "itemMouseIn", Yn = "itemMouseOut", Xn = "itemMouseClick", Zn = "itemMouseDblClick", Kn = "onColorChange", Qn = "onFontChange", er = "onOpacityChange", tr = { [Qt]: "onClick", [en]: "onDblClick", [tn]: "onMouseIn", [nn]: "onMouseOut", [rn]: "onChange", [un]: "onInput", [on]: "onBlur", [an]: "onFocus", [sn]: "onCurrentItemChanged", [cn]: void 0, [ln]: "onItemClicked", [dn]: "onCellSelect", [pn]: void 0, [fn]: "onRowSelect", [mn]: void 0, [hn]: "onDataChange", [gn]: "onTimeout", [yn]: "onVerified", [vn]: "onError", [Nn]: "onPlay", [bn]: "onPause", [wn]: "onProgress", [In]: "onEnded", [En]: "onPause", [Tn]: "onPlay", [_n]: void 0, [xn]: void 0, [On]: "onKeyPress", [Cn]: "onKeyUp", [$n]: "onKeyDown", [Ln]: void 0, [An]: "onViewportEnter", [Sn]: "onViewportLeave", [Rn]: void 0, [Pn]: void 0, [jn]: void 0, [kn]: void 0, [Gn]: void 0, [Dn]: "onMessage", [Mn]: void 0, [Un]: "onItemReady", [Vn]: "onItemRemoved", [Fn]: void 0, [Bn]: "onItemClicked", [Hn]: "onMarkerClicked", [qn]: "onMapClicked", [Wn]: void 0, [zn]: "onStateChange", [Jn]: "onItemMouseIn", [Yn]: "onItemMouseOut", [Xn]: "onItemClick", [Zn]: "onItemDblClick", [Kn]: "onColorChange", [Qn]: "onFontChange", [er]: "onOpacityChange" }, nr = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, rr = (e3) => {
            const { target: t3, type: n2, context: r2 } = e3;
            return { target: t3, type: nr[n2] ?? n2, context: r2 };
          }, or = (e3) => {
            const { clientX: t3, clientY: n2, pageX: r2, pageY: o2, screenX: i2, screenY: a2, nativeEvent: s2 } = e3, { offsetX: c2, offsetY: u2 } = s2;
            return { clientX: t3, clientY: n2, pageX: r2, pageY: o2, screenX: i2, screenY: a2, offsetX: c2, offsetY: u2 };
          }, ir = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, ar = (e3) => e3.replace(/^on/i, ""), sr = (e3) => e3.createSdkState({ listeners: [] }, "eventListeners"), cr = (e3, t3, n2, r2) => {
            const { create$w: o2, createEvent: i2, registerEvent: a2, getSdkInstance: s2, metaData: c2 } = t3;
            if (!((e4, t4, n3) => Kt(n3)(e4, { type: ["function"] }, t4))(n2, ir[e3] ?? e3, c2.role)) return s2();
            const [u2, l2] = sr(t3), d2 = a2(e3, (e4, t4) => {
              const a3 = i2({ type: e4.type, compId: e4.compId }), s3 = o2({ context: a3.context }), c3 = r2?.({ componentEvent: e4, eventPayload: t4 });
              n2({ ...rr(a3), ...c3 }, s3);
            }), p2 = { eventName: e3, compId: c2.compId, cb: n2, unregister: d2 };
            return l2({ listeners: [...u2.listeners, p2] }), s2();
          }, ur = (e3, t3) => {
            const n2 = ((e4) => {
              const t4 = Object.entries(ir).find(([t5, n3]) => ar(n3.toLowerCase()) === ar(e4.toLowerCase()));
              return t4?.[0] ?? e4;
            })(tr[t3] ?? t3);
            return e3.toLowerCase() === n2.toLowerCase();
          }, lr = (e3, t3, n2, r2) => cr(e3, t3, n2, ({ componentEvent: e4, eventPayload: t4 }) => ({ ...or(e4), ...t4 && r2?.(t4) }));
          function dr(e3, t3) {
            const { modifyAriaSourceKeys: n2 } = {};
            return (t4) => {
              const r2 = {};
              for (let i2 = 0; i2 < e3.length; i2++) {
                const a2 = e3[i2](t4), s2 = Object.keys(a2);
                for (let e4 = 0; e4 < s2.length; e4++) {
                  const t5 = s2[e4], i3 = Object.getOwnPropertyDescriptor(a2, t5);
                  Object.defineProperty(r2, n2 && i3.get ? "aria" + (o2 = t5).charAt(0).toUpperCase() + o2.slice(1) : t5, i3);
                }
              }
              var o2;
              return r2;
            };
          }
          const pr = ({ handlers: e3, metaData: t3 }) => {
            const { compId: n2, connection: r2, compType: o2, isGlobal: i2, getParent: a2, role: s2, wixCodeId: c2 } = t3, u2 = `$w.${o2}`;
            return { get id() {
              return c2 || s2;
            }, get role() {
              return s2;
            }, get connectionConfig() {
              return r2?.config;
            }, get uniqueId() {
              return n2;
            }, get parent() {
              return a2();
            }, get global() {
              return i2();
            }, get type() {
              return u2;
            }, scrollTo() {
              return new Promise((t4) => e3.scrollToComponent(n2, t4));
            }, toJSON() {
              return { id: s2, type: u2, global: i2() };
            } };
          }, fr = (e3) => (t3) => {
            const { metaData: n2, getSdkInstance: r2, create$w: o2, createEvent: i2 } = t3, a2 = (e4, t4) => Kt(n2.role)(e4, { type: ["function"] }, t4);
            return { onViewportEnter: (n3) => a2(n3, "onViewportEnter") ? (e3?.("onViewportEnter", () => {
              const e4 = i2({ type: "viewportEnter" }), t4 = o2();
              n3(e4, t4);
            }), cr("onViewportEnter", t3, n3)) : r2(), onViewportLeave: (n3) => a2(n3, "onViewportLeave") ? (e3?.("onViewportLeave", () => {
              const e4 = i2({ type: "viewportLeave" }), t4 = o2();
              n3(e4, t4);
            }), cr("onViewportLeave", t3, n3)) : r2() };
          }, mr = { duration: 1200, delay: 0 }, hr = { arc: { ...mr, direction: "left" }, bounce: { ...mr, direction: "topLeft", intensity: "medium" }, puff: { ...mr }, zoom: { ...mr }, fade: { ...mr }, flip: { ...mr, direction: "right" }, float: { ...mr, direction: "right" }, fly: { ...mr, direction: "right" }, fold: { ...mr, direction: "left" }, glide: { ...mr, angle: 0, distance: 0 }, roll: { ...mr, direction: "left" }, slide: { ...mr, direction: "left" }, spin: { ...mr, direction: "cw", cycles: 5 }, turn: { ...mr, direction: "right" }, ArcIn: { ...mr, direction: "right" }, ArcOut: { ...mr, direction: "right" }, BounceIn: { ...mr, direction: "topLeft", intensity: "medium" }, BounceOut: { ...mr, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...mr, direction: "right" }, CollapseOut: { ...mr }, Conceal: { ...mr, direction: "right" }, Reveal: { ...mr, direction: "left" }, FadeIn: { ...mr }, FadeOut: { ...mr }, FlipIn: { ...mr, direction: "left" }, FlipOut: { ...mr, direction: "left" }, FloatIn: { ...mr, direction: "right" }, FloatOut: { ...mr, direction: "right" }, FlyIn: { ...mr, direction: "right" }, FlyOut: { ...mr, direction: "right" }, FoldIn: { ...mr, direction: "left" }, FoldOut: { ...mr, direction: "left" }, GlideIn: { ...mr, angle: 0, distance: 150 }, GlideOut: { ...mr, angle: 0, distance: 150 }, DropIn: { ...mr }, PopOut: { ...mr }, SlideIn: { ...mr, direction: "left" }, SlideOut: { ...mr, direction: "left" }, SpinIn: { ...mr, direction: "cw", cycles: 2 }, SpinOut: { ...mr, direction: "cw", cycles: 2 }, TurnIn: { ...mr, direction: "right" }, TurnOut: { ...mr, direction: "right" } }, gr = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, yr = (e3) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e3}`, vr = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Nr = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, br = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, wr = { arc: { type: ["object"], properties: { duration: vr, delay: Nr, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: vr, delay: Nr, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: vr, delay: Nr } }, zoom: { type: ["object"], properties: { duration: vr, delay: Nr } }, fade: { type: ["object"], properties: { duration: vr, delay: Nr } }, flip: { type: ["object"], properties: { duration: vr, delay: Nr, direction: br } }, float: { type: ["object"], properties: { duration: vr, delay: Nr, direction: br } }, fly: { type: ["object"], properties: { duration: vr, delay: Nr, direction: br } }, fold: { type: ["object"], properties: { duration: vr, delay: Nr, direction: br } }, glide: { type: ["object"], properties: { duration: vr, delay: Nr, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: vr, delay: Nr, direction: br } }, slide: { type: ["object"], properties: { duration: vr, delay: Nr, direction: br } }, spin: { type: ["object"], properties: { duration: vr, delay: Nr, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: vr, delay: Nr, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Ir = ({ propertyName: e3, compName: t3 }) => (n2, r2) => {
            if (!n2) return false;
            if (void 0 === r2) return true;
            const o2 = (({ effectName: e4, propertyName: t4, compName: n3 }) => (r3, o3) => {
              Ze(rt({ propertyName: t4, compName: n3, effectName: e4, wrongValue: `${o3?.value}`, infoLink: yr(t4) }));
            })({ effectName: n2, propertyName: e3, compName: t3 });
            if (!Zt({ reportError: o2, reportWarning: () => ({}) }, t3)(r2, { type: ["object"] }, e3)) return false;
            const i2 = (({ effectName: e4, propertyName: t4, compName: n3 }) => (r3, o3) => {
              Ze(tt({ propertyName: t4, compName: n3, effectName: e4, wrongProperty: "value", wrongValue: `the key "${o3?.propertyName}" cannot be set to the value "${o3?.value}"`, infoLink: yr(t4) }));
            })({ effectName: n2, propertyName: e3, compName: t3 });
            return !!Zt({ reportError: i2, reportWarning: () => ({}) }, t3)(r2, wr[n2], e3);
          }, Er = (e3) => 0 === Object.keys(e3).length, Tr = ({ viewportState: e3, hasPortal: t3 = false } = {}) => ({ setStyles: n2, portal: r2, metaData: o2, getSdkInstance: i2, runAnimation: a2, createSdkState: s2, styleUtils: c2, setProps: u2 }) => {
            const l2 = (({ compName: e4 }) => ({ effectName: t4, effectOptions: n3, propertyName: r3 }) => {
              const o3 = Ir({ propertyName: r3, compName: e4 });
              if (!t4 && !n3) return false;
              if (!t4 && n3 && !Er(n3)) return Ze(et({ propertyName: r3, compName: e4, infoLink: yr(r3) })), false;
              const i3 = "hide" === r3 ? "HIDE" : "SHOW", a3 = gr[i3]?.deprecatedValues;
              return t4 && n3 && a3 && a3.find((e5) => e5 === t4) && !Er(n3) ? (Ze(nt({ compName: e4, effectName: t4, propertyName: r3, infoLink: yr(r3) })), false) : !!a3.find((e5) => e5 === t4) || (t4 && !(t4 in wr) ? (Ze(Qe({ propertyName: r3, compName: e4, effectName: t4, infoLink: yr(r3) })), false) : !!o3(t4, n3));
            })({ compName: o2.role }), [d2, p2] = s2({ hidden: o2.hiddenOnLoad, collapsed: o2.collapsedOnLoad }, "hidden-collapsed");
            return { hide: async (o3, i3) => {
              if (u2({ hidden: true }), d2.collapsed || d2.hidden) p2({ hidden: true });
              else {
                if (l2({ effectName: o3, effectOptions: i3, propertyName: "hide" })) {
                  const e4 = { animationDirection: gr.HIDE.suffix, effectName: o3, effectOptions: { ...hr?.[o3] || mr, ...i3 } };
                  await Promise.all([a2(e4), t3 ? r2.runAnimation(e4) : void 0]);
                } else n2(c2.getHiddenStyles()), t3 && r2.setStyles(c2.getHiddenStyles());
                p2({ hidden: true }), e3?.onViewportLeave?.forEach((e4) => e4());
              }
            }, show: async (o3, i3) => {
              if (u2({ hidden: false }), !d2.collapsed && d2.hidden) {
                if (l2({ effectName: o3, effectOptions: i3, propertyName: "show" })) {
                  const e4 = { animationDirection: gr.SHOW.suffix, effectName: o3, effectOptions: { ...hr?.[o3] || mr, ...i3 } };
                  await Promise.all([a2(e4), t3 ? r2.runAnimation(e4) : void 0]);
                } else n2(c2.getShownStyles()), t3 && r2.setStyles(c2.getShownStyles());
                p2({ hidden: false }), e3?.onViewportEnter?.forEach((e4) => e4());
              } else p2({ hidden: false });
            }, collapse: async () => {
              u2({ collapsed: true }), d2.collapsed || (n2(c2.getCollapsedStyles()), t3 && r2.setStyles(c2.getCollapsedStyles()), p2({ collapsed: true }), d2.hidden || e3?.onViewportLeave?.forEach((e4) => e4()));
            }, expand: async () => {
              if (u2({ collapsed: false }), d2.collapsed) {
                const o3 = { ...c2.getExpandedStyles(), visibility: d2.hidden ? "hidden" : null };
                n2(o3), t3 && r2.setStyles(o3), p2({ collapsed: false }), d2.hidden || e3?.onViewportEnter?.forEach((e4) => e4());
              }
            }, get collapsed() {
              return d2.collapsed;
            }, get hidden() {
              return Boolean(d2.hidden);
            }, get isVisible() {
              if (!o2.isRendered()) return false;
              let e4 = i2();
              for (; e4; ) {
                if (e4.hidden || e4.collapsed) return false;
                e4 = e4.parent;
              }
              return true;
            }, get isAnimatable() {
              return true;
            } };
          }, _r = (e3) => (t3) => ((e4, t4 = false) => {
            const [n2, r2] = e4.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
            return dr([Tr({ viewportState: n2, hasPortal: t4 }), fr((e5, t5) => {
              r2({ [e5]: [...n2[e5], t5] });
            })])(e4);
          })(t3, e3), xr = (e3, t3, n2) => {
            const r2 = t3.filter((t4) => !e3.includes(t4));
            r2.length && Xe(St({ functionName: n2, wrongEffects: r2, allowedEffects: e3 }));
          }, Or = (e3) => {
            const t3 = () => e3.effectsTriggersApi?.getEffects() || [];
            return { effects: { get effects() {
              return t3();
            }, get activeEffects() {
              return e3.effectsTriggersApi?.getActiveEffects() || [];
            }, applyEffects: (n2) => {
              xr(t3(), n2, "applyEffects"), e3.effectsTriggersApi?.applyEffects(...n2);
            }, removeEffects: (n2) => {
              xr(t3(), n2, "removeEffects"), e3.effectsTriggersApi?.removeEffects(...n2);
            }, toggleEffects: (n2) => {
              xr(t3(), n2, "toggleEffects"), e3.effectsTriggersApi?.toggleEffects(...n2);
            }, removeAllEffects: () => e3.effectsTriggersApi?.removeAllEffects() } };
          }, Cr = (e3) => ({ delete: () => {
            e3.setProps({ deleted: true }), e3.remove();
          }, restore: () => {
            e3.setProps({ deleted: false }), e3.restore();
          }, get deleted() {
            return !!e3.props.deleted;
          } }), $r = (e3, t3) => "string" != typeof e3 ? (Lr(e3, t3, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e3) || (Sr(e3, t3), false), Lr = (e3, t3, n2, r2) => {
            Xe($t({ propertyName: e3, functionName: t3, value: n2, expectedType: r2 }));
          }, Ar = (e3, t3) => {
            Xe(at({ propertyName: e3, functionName: t3 }));
          }, Sr = (e3, t3) => {
            Xe(Pt({ propertyName: e3, functionName: t3 }));
          }, Rr = (e3) => {
            const { setProps: t3, props: n2 } = e3;
            return { customClassList: { get value() {
              return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
            }, values() {
              return n2.customClassNames ? n2.customClassNames : [];
            }, add(...e4) {
              const r2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
              if (e4.length) {
                for (const t4 of e4) {
                  if (!$r(t4, "customClassList.add")) return;
                  r2.add(t4);
                }
                t3({ customClassNames: Array.from(r2) });
              } else Ar("className", "customClassList.add");
            }, remove(...e4) {
              if (!e4.length) return void Ar("className", "customClassList.remove");
              const r2 = new Set(n2.customClassNames);
              for (const t4 of e4) {
                if (!$r(t4, "customClassList.remove")) return;
                r2.delete(t4);
              }
              t3({ customClassNames: Array.from(r2) });
            }, contains(e4) {
              if (e4) return $r(e4, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e4) : void 0;
              Ar("className", "customClassList.contains");
            }, replace(e4, t4) {
              return e4 && t4 ? !(!$r(t4, "customClassList.replace") || !$r(e4, "customClassList.replace")) && (!!this.contains(e4) && (this.remove(e4), this.add(t4), true)) : (Xe(st({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
            }, toggle(e4) {
              return e4 ? !!$r(e4, "customClassList.toggle") && (this.contains(e4) ? (this.remove(e4), false) : (this.add(e4), true)) : (Ar("className", "customClassList.toggle"), false);
            } } };
          }, Pr = ({ role: e3, compType: t3, isGlobal: n2, isRendered: r2 }) => ({ id: e3, type: `$w.${t3}`, global: n2(), rendered: r2() }), jr = (e3) => ({ onMouseIn: (t3) => lr("onMouseEnter", e3, t3), onMouseOut: (t3) => lr("onMouseLeave", e3, t3), removeEventHandler: (t3, n2) => {
            const { getSdkInstance: r2 } = e3;
            return "string" != typeof t3 ? (Xe($t({ propertyName: "type", functionName: "removeEventHandler", value: t3, expectedType: "string" })), r2()) : "function" != typeof n2 ? (Xe($t({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), r2()) : ((e4, t4, n3) => {
              const { metaData: r3, getSdkInstance: o2 } = t4, [i2, a2] = sr(t4), s2 = i2.listeners.filter((t5) => ur(t5.eventName, e4) && t5.cb === n3 && t5.compId === r3.compId);
              for (const e5 of s2) e5.unregister();
              return a2({ listeners: i2.listeners.filter((e5) => !s2.includes(e5)) }), o2();
            })(t3, e3, n2);
          }, get rendered() {
            return e3.metaData.isRendered();
          }, toJSON() {
            return Pr(e3.metaData);
          } }), kr = fr();
          dr([pr, kr, jr, Or, Rr]);
          var Gr = function(e3) {
            return e3.WIX_VIDEO = "video", e3.EXTERNAL_LINK = "image", e3;
          }(Gr || {});
          const Dr = /* @__PURE__ */ function(e3, t3, n2 = {}) {
            return (r2) => {
              const o2 = e3(r2), i2 = Kt(r2.metaData.role), a2 = Kt(r2.metaData.role, { suppressIndexErrors: true });
              return Object.keys(o2).reduce((e4, s2) => {
                const c2 = Object.getOwnPropertyDescriptor(o2, s2), u2 = { enumerable: true, configurable: true };
                return c2.value ? "function" == typeof c2.value ? u2.value = (...e5) => {
                  const o3 = t3.properties[s2] && t3.properties[s2].args, i3 = n2[s2];
                  let u3 = true;
                  return o3 && (u3 = a2(e5, { type: ["array"], items: o3 }, s2)), u3 && i3 && (u3 = i3.every((t4) => t4(e5, r2))), u3 ? c2.value(...e5) : void 0;
                } : u2.value = c2.value : (c2.get && (u2.get = () => o2[s2]), c2.set && (u2.set = (e5) => {
                  const a3 = n2[s2];
                  let c3 = true;
                  t3.properties[s2] && (c3 = i2(e5, t3.properties[s2], s2)), c3 && a3 && (c3 = a3.every((t4) => t4(e5, r2))), c3 && (o2[s2] = e5);
                })), Object.defineProperty(e4, s2, u2), e4;
              }, {});
            };
          }((e3) => {
            const { setProps: t3, props: n2, createSdkState: r2, compRef: o2, metaData: i2, registerEvent: a2 } = e3, [s2, c2] = r2({ src: "", currentTime: 0, volume: n2.volume || 0, duration: n2.duration, isMuted: Boolean(n2.isMuted), isPlaying: Boolean(n2.isPlaying), isInitialized: false }), l2 = (e4, t4) => {
              e4 !== n2.src && (s2.isInitialized && o2.resetPlayerRef(), c2({ duration: void 0, isMuted: Boolean(n2.isMuted), isPlaying: Boolean(n2.isPlaying), isInitialized: false, src: e4 }), t4({ src: e4 }));
            }, p2 = (e4) => {
              const { src: t4, width: n3, height: r3, uri: o3, title: i3 } = e4;
              return u({ mediaId: J(t4), width: n3, height: r3, title: i3, posterId: o3, type: "video" }).item || t4;
            };
            return a2("onStateUpdated", (e4) => c2(e4.state)), a2("onPlayerInitialized", () => c2({ isInitialized: true })), { get title() {
              return n2.playableConfig.title || "";
            }, set title(e4) {
              t3({ playableConfig: { ...n2.playableConfig, title: e4 } });
            }, get isMuted() {
              return Boolean(s2.isMuted);
            }, get isPlaying() {
              return Boolean(s2.isPlaying);
            }, get description() {
              return n2.playableConfig.description || "";
            }, set description(e4) {
              t3({ playableConfig: { ...n2.playableConfig, description: e4 } });
            }, get currentTime() {
              return s2.currentTime || 0;
            }, get duration() {
              return s2.duration || 0;
            }, get volume() {
              return s2.volume;
            }, set volume(e4) {
              o2.setVolume(e4), c2({ volume: e4 });
            }, get src() {
              let e4 = n2.src;
              if (Array.isArray(n2.src) && (e4 = n2.src[0]), n2.playableConfig.poster) {
                const { width: t4, height: r3, uri: o3 } = n2.playableConfig.poster;
                if (!s2.src) return p2({ src: e4, width: t4, height: r3, uri: o3 });
              }
              return s2.src || e4;
            }, set src(e4) {
              const r3 = m(e4) ? "" : e4;
              if (w(r3, Gr.WIX_VIDEO)) {
                const o3 = Je(e4);
                if (!o3) return;
                if (o3.posterImageRef) {
                  const { width: e5, height: t4, uri: n3 } = o3.posterImageRef, i3 = o3.name;
                  c2({ src: p2({ src: r3, width: e5, height: t4, uri: n3, title: i3 }) });
                }
                if ("WixVideo" === o3.type) {
                  const e5 = n2.playableConfig;
                  t3(new Promise((t4) => {
                    const r4 = o3.videoId;
                    if (!r4) return c2({ src: n2.src }), void t4({});
                    Ye(r4).then((r5) => {
                      var o4, i3;
                      let a3 = { ...n2 };
                      (null == (o4 = e5.poster) ? void 0 : o4.uri) !== (null == (i3 = n2.playableConfig) || null == (i3 = i3.poster) ? void 0 : i3.uri) || (a3.playableConfig = { ...a3.playableConfig, poster: { ...a3.playableConfig.poster, ...r5.mediaObject.posterImageRef } }), l2("https://video.wixstatic.com/" + r5.mediaObject.qualities[0].url, (e6) => {
                        a3 = { ...a3, ...e6 };
                      }), t4(a3);
                    }).catch((e6) => {
                      throw t4({}), e6;
                    });
                  }));
                }
              } else w(r3, Gr.EXTERNAL_LINK) ? (t3({ playableConfig: { title: n2.playableConfig.title } }), l2(e4, t3)) : Xe('The "src" property cannot be set to "' + e4 + '". It must be a valid URL starting with "http://", "https://", or a valid video URL starting with "wix:video://".');
            }, get poster() {
              const { width: e4, height: t4, uri: r3 } = n2.playableConfig.poster, { title: o3 } = n2.playableConfig;
              return u({ mediaId: r3, width: e4, height: t4, title: o3, type: "image" }).item || "";
            }, set poster(e4) {
              var r3, o3;
              let i3 = null != (r3 = n2.playableConfig) && r3.poster ? null == (o3 = n2.playableConfig) ? void 0 : o3.poster : {};
              var a3;
              d(e4, "image") && (i3 = Je(e4), e4 = (null == (a3 = i3) ? void 0 : a3.mediaId) || e4);
              t3({ playableConfig: { ...n2.playableConfig, ...i3 ? { title: i3.title } : {}, poster: { ...i3, uri: e4 } } });
            }, play() {
              return o2.play();
            }, pause() {
              return o2.pause();
            }, stop() {
              return o2.stop();
            }, togglePlay() {
              return o2.togglePlay();
            }, mute() {
              return c2({ isMuted: true }), o2.mute();
            }, unmute() {
              return c2({ isMuted: false }), o2.unmute();
            }, seek(e4) {
              return o2.seek(e4);
            }, onPlay: (t4) => cr("onPlay", e3, t4), onPause: (t4) => cr("onPause", e3, t4), onEnded: (t4) => cr("onEnded", e3, t4), onProgress: (t4) => cr("onProgress", e3, t4), toJSON() {
              return { ...Pr(i2), title: n2.playableConfig.title || "", isPlaying: Boolean(n2.isPlaying), currentTime: s2.currentTime || 0, duration: n2.duration || 0, volume: s2.volume || 0, isMuted: Boolean(s2.isMuted) };
            } };
          }, { properties: { title: { type: ["string", "nil"], warnIfNil: true }, description: { type: ["string", "nil"], warnIfNil: true }, volume: { type: ["number", "nil"], minimum: 0, maximum: 100, warnIfNil: true }, poster: { type: ["string", "nil"], warnIfNil: true }, src: { type: ["string", "nil"], warnIfNil: true } } }), Mr = (({ useHiddenCollapsed: e3 = true, hasPortal: t3 = false } = {}) => dr([pr, jr, Or, Cr, e3 ? _r(t3) : kr, Rr]))(), Ur = dr([Mr, Dr]);
          var Vr = { factory: Ur };
        }(), r;
      }();
    });
  })(VideoPlayer_bundle_min);
  var VideoPlayer_bundle_minExports = VideoPlayer_bundle_min.exports;
  const VideoPlayer = /* @__PURE__ */ getDefaultExportFromCjs(VideoPlayer_bundle_minExports);
  var WRichText_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t(requireLodash());
    }("undefined" != typeof self ? self : commonjsGlobal, function(e) {
      return function() {
        var t = { 5998: function(e2, t2, r2) {
          var o2 = r2(7027), n2 = o2.OPEN_TAG_START, a = o2.TAG_END, i = o2.SELF_CLOSING, s = o2.CLOSING_TAG_START, l = o2.HTML_END, c = o2.SPACE, u = r2(9726), p = new Set(u), d = /* @__PURE__ */ new Set([n2, a, i, s]);
          function f(e3, t3, r3, o3) {
            var n3 = o3 || r3;
            return e3.slice(t3 + 1, n3).toLowerCase();
          }
          function m(e3, t3, r3, o3) {
            var n3 = o3 || r3;
            return e3.slice(n3 + 1, r3);
          }
          function g(e3, t3, r3, o3, a2, i2) {
            var s2 = f(e3, r3, o3, a2);
            if (t3 === n2) {
              var l2 = m(e3, 0, o3, a2);
              p.has(s2) ? i2.onSelfClosingTag && i2.onSelfClosingTag({ tagName: s2, props: l2 }) : i2.onOpenTag && i2.onOpenTag({ tagName: s2, props: l2 });
            } else i2.onClosingTag && i2.onClosingTag({ tagName: s2, props: "" });
          }
          function b(e3, t3) {
            var r3 = void 0;
            switch (e3[t3]) {
              case "<":
                if ("/" === e3[t3 + 1]) {
                  r3 = s, t3++;
                  break;
                }
                r3 = n2;
                break;
              case ">":
                r3 = a;
                break;
              case "/":
                if (">" === e3[t3 + 1]) {
                  r3 = i, t3++;
                  break;
                }
              case " ":
                r3 = c;
                break;
              default:
                r3 = e3[t3];
            }
            return t3 === e3.length && (r3 = l), r3;
          }
          e2.exports = { parseFragment: function(e3) {
            for (var t3 = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {}, r3 = void 0, o3 = void 0, u2 = void 0, p2 = void 0, h = void 0, y = void 0, v = e3.length, x = 0; x <= v; ) {
              switch (x = u2 = (o3 = x) + (r3 = b(e3, x)).length - 1, r3) {
                case n2:
                case s:
                  var w = e3.slice(h + 1, o3);
                  w && t3.onText && t3.onText(w), y = null;
                  break;
                case a:
                  g(e3, p2, h, x, y, t3);
                  break;
                case i:
                  if (!t3.onSelfClosingTag) break;
                  t3.onSelfClosingTag({ tagName: f(e3, h, o3, y), props: m(e3, 0, o3, y) });
                  break;
                case c:
                  y || p2 !== n2 && p2 !== s || (y = x);
                  break;
                case l:
                  if (!t3.onText) break;
                  if (!p2) return void t3.onText(e3);
                  h !== v - 1 && t3.onText(e3.slice(h + 1, v));
              }
              d.has(r3) && (p2 = r3, h = u2, o3), x++;
            }
          } };
        }, 9726: function(e2) {
          e2.exports = ["area", "base", "br", "col", "embed", "hr", "img", "input", "link", "meta", "param", "source", "track", "wbr"];
        }, 7027: function(e2) {
          e2.exports = { HTML_END: "HTML_END", OPEN_TAG_START: "<", TAG_END: ">", SELF_CLOSING: "/>", CLOSING_TAG_START: "</", SPACE: " " };
        }, 6119: function(e2) {
          var t2 = /^<([-A-Za-z0-9_?:]+)((?:\s+(?:x:)?[-A-Za-z0-9_]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/, r2 = /^<\/([-A-Za-z0-9_?:]+)[^>]*>/, o2 = /((?:x:)?[-A-Za-z0-9_]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))?/g, n2 = p("area,base,basefont,br,col,frame,hr,img,input,isindex,link,meta,param,embed"), a = p("address,applet,blockquote,button,center,dd,del,dir,div,dl,dt,fieldset,form,frameset,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,p,pre,script,table,tbody,td,tfoot,th,thead,tr,ul"), i = p("a,abbr,acronym,applet,b,basefont,bdo,big,br,button,cite,code,del,dfn,em,font,i,iframe,img,input,ins,kbd,label,map,object,q,s,samp,script,select,small,span,strike,strong,sub,sup,textarea,tt,u,var"), s = p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr"), l = p("checked,compact,declare,defer,disabled,ismap,multiple,nohref,noresize,noshade,nowrap,readonly,selected"), c = p("script,style");
          function u(e3, t3) {
            return t3 = t3.replace(/<!--(.*?)-->/g, "$1").replace(/<!\[CDATA\[(.*?)]]>/g, "$1"), this.chars && this.chars(t3), "";
          }
          function p(e3) {
            for (var t3 = {}, r3 = e3.split(","), o3 = 0; o3 < r3.length; o3++) t3[r3[o3]] = true;
            return t3;
          }
          e2.exports = function(e3, p2) {
            var d, f, m, g = e3, b = [];
            for (b.last = function() {
              return this[this.length - 1];
            }; e3; ) {
              if (f = true, b.last() && c[b.last()]) e3 = e3.replace(new RegExp("(.*)</" + b.last() + "[^>]*>", "i"), u.bind(p2)), v("", b.last());
              else if (0 === e3.indexOf("<!--") ? (d = e3.indexOf("-->")) >= 0 && (p2.comment && p2.comment(e3.substring(4, d)), e3 = e3.substring(d + 3), f = false) : 0 === e3.indexOf("</") ? (m = e3.match(r2)) && (e3 = e3.substring(m[0].length), m[0].replace(r2, v), f = false) : 0 === e3.indexOf("<") && (m = e3.match(t2)) && (e3 = e3.substring(m[0].length), m[0].replace(t2, y), f = false), f) {
                var h = (d = e3.indexOf("<")) < 0 ? e3 : e3.substring(0, d);
                e3 = d < 0 ? "" : e3.substring(d), p2.chars && p2.chars(h);
              }
              if (e3 === g) throw "Parse Error: " + e3;
              g = e3;
            }
            function y(e4, t3, r3, c2) {
              if (t3 = t3.toLowerCase(), a[t3]) for (; b.last() && i[b.last()]; ) v("", b.last());
              if (s[t3] && b.last() === t3 && v("", t3), (c2 = n2[t3] || !!c2) || b.push(t3), p2.start) {
                var u2 = [];
                r3.replace(o2, function(e5, t4) {
                  for (var r4 = null, o3 = 2; o3 < 5; o3++) if (null === r4 && arguments[o3]) {
                    r4 = arguments[o3];
                    break;
                  }
                  null === r4 && l[t4] && (r4 = t4), null === r4 && (r4 = ""), u2.push({ name: t4, value: r4, escaped: r4.replace(/(^|[^\\])"/g, '$1\\"') });
                }), p2.start && p2.start(t3, u2, c2, e4);
              }
            }
            function v(e4, t3) {
              var r3;
              if (t3) for (r3 = b.length - 1; r3 >= 0 && b[r3] !== t3; r3--) ;
              else r3 = 0;
              if (r3 >= 0) {
                for (var o3 = b.length - 1; o3 >= r3; o3--) p2.end && p2.end(b[o3]);
                b.length = r3;
              }
            }
            v();
          };
        }, 8637: function(e2, t2, r2) {
          var o2 = r2(484), n2 = r2(6119);
          e2.exports = { transformHTMLString: function(e3, t3) {
            var r3 = "", a = "";
            return n2(e3, { start: function(e4, n3, i) {
              var s = { tag: e4, attributes: n3, selfClosing: i };
              a = i ? "" : e4, t3.start && (s = t3.start(e4, n3, i)), s && (r3 += "<" + s.tag + function(e5) {
                return o2.reduce(e5, function(e6, t4) {
                  return e6 + " " + t4.name + '="' + t4.escaped + '"';
                }, "");
              }(s.attributes) + (s.selfClosing ? "/>" : ">"));
            }, end: function(e4) {
              t3.end && (e4 = t3.end(e4)), a = "", e4 && (r3 += "</" + e4 + ">");
            }, chars: function(e4) {
              t3.chars && (e4 = t3.chars(e4, a)), r3 += e4;
            }, comment: function(e4) {
              t3.comment && (e4 = t3.comment(e4)), e4 && (r3 += "<!--" + e4 + "-->");
            } }), r3;
          } };
        }, 1681: function(e2, t2, r2) {
          var o2 = r2(1365).FilterCSS, n2 = r2(1365).getDefaultWhiteList, a = r2(923);
          function i() {
            return { a: ["target", "href", "title"], abbr: ["title"], address: [], area: ["shape", "coords", "href", "alt"], article: [], aside: [], audio: ["autoplay", "controls", "crossorigin", "loop", "muted", "preload", "src"], b: [], bdi: ["dir"], bdo: ["dir"], big: [], blockquote: ["cite"], br: [], caption: [], center: [], cite: [], code: [], col: ["align", "valign", "span", "width"], colgroup: ["align", "valign", "span", "width"], dd: [], del: ["datetime"], details: ["open"], div: [], dl: [], dt: [], em: [], figcaption: [], figure: [], font: ["color", "size", "face"], footer: [], h1: [], h2: [], h3: [], h4: [], h5: [], h6: [], header: [], hr: [], i: [], img: ["src", "alt", "title", "width", "height"], ins: ["datetime"], li: [], mark: [], nav: [], ol: [], p: [], pre: [], s: [], section: [], small: [], span: [], sub: [], summary: [], sup: [], strong: [], strike: [], table: ["width", "border", "align", "valign"], tbody: ["align", "valign"], td: ["width", "rowspan", "colspan", "align", "valign"], tfoot: ["align", "valign"], th: ["width", "rowspan", "colspan", "align", "valign"], thead: ["align", "valign"], tr: ["rowspan", "align", "valign"], tt: [], u: [], ul: [], video: ["autoplay", "controls", "crossorigin", "loop", "muted", "playsinline", "poster", "preload", "src", "height", "width"] };
          }
          var s = new o2();
          function l(e3) {
            return e3.replace(c, "&lt;").replace(u, "&gt;");
          }
          var c = /</g, u = />/g, p = /"/g, d = /&quot;/g, f = /&#([a-zA-Z0-9]*);?/gim, m = /&colon;?/gim, g = /&newline;?/gim, b = /((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi, h = /e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi, y = /u\s*r\s*l\s*\(.*/gi;
          function v(e3) {
            return e3.replace(p, "&quot;");
          }
          function x(e3) {
            return e3.replace(d, '"');
          }
          function w(e3) {
            return e3.replace(f, function(e4, t3) {
              return "x" === t3[0] || "X" === t3[0] ? String.fromCharCode(parseInt(t3.substr(1), 16)) : String.fromCharCode(parseInt(t3, 10));
            });
          }
          function N(e3) {
            return e3.replace(m, ":").replace(g, " ");
          }
          function A(e3) {
            for (var t3 = "", r3 = 0, o3 = e3.length; r3 < o3; r3++) t3 += e3.charCodeAt(r3) < 32 ? " " : e3.charAt(r3);
            return a.trim(t3);
          }
          function k(e3) {
            return e3 = A(e3 = N(e3 = w(e3 = x(e3))));
          }
          function $(e3) {
            return e3 = l(e3 = v(e3));
          }
          t2.whiteList = { a: ["target", "href", "title"], abbr: ["title"], address: [], area: ["shape", "coords", "href", "alt"], article: [], aside: [], audio: ["autoplay", "controls", "crossorigin", "loop", "muted", "preload", "src"], b: [], bdi: ["dir"], bdo: ["dir"], big: [], blockquote: ["cite"], br: [], caption: [], center: [], cite: [], code: [], col: ["align", "valign", "span", "width"], colgroup: ["align", "valign", "span", "width"], dd: [], del: ["datetime"], details: ["open"], div: [], dl: [], dt: [], em: [], figcaption: [], figure: [], font: ["color", "size", "face"], footer: [], h1: [], h2: [], h3: [], h4: [], h5: [], h6: [], header: [], hr: [], i: [], img: ["src", "alt", "title", "width", "height"], ins: ["datetime"], li: [], mark: [], nav: [], ol: [], p: [], pre: [], s: [], section: [], small: [], span: [], sub: [], summary: [], sup: [], strong: [], strike: [], table: ["width", "border", "align", "valign"], tbody: ["align", "valign"], td: ["width", "rowspan", "colspan", "align", "valign"], tfoot: ["align", "valign"], th: ["width", "rowspan", "colspan", "align", "valign"], thead: ["align", "valign"], tr: ["rowspan", "align", "valign"], tt: [], u: [], ul: [], video: ["autoplay", "controls", "crossorigin", "loop", "muted", "playsinline", "poster", "preload", "src", "height", "width"] }, t2.getDefaultWhiteList = i, t2.onTag = function(e3, t3, r3) {
          }, t2.onIgnoreTag = function(e3, t3, r3) {
          }, t2.onTagAttr = function(e3, t3, r3) {
          }, t2.onIgnoreTagAttr = function(e3, t3, r3) {
          }, t2.safeAttrValue = function(e3, t3, r3, o3) {
            if (r3 = k(r3), "href" === t3 || "src" === t3) {
              if ("#" === (r3 = a.trim(r3))) return "#";
              if ("http://" !== r3.substr(0, 7) && "https://" !== r3.substr(0, 8) && "mailto:" !== r3.substr(0, 7) && "tel:" !== r3.substr(0, 4) && "data:image/" !== r3.substr(0, 11) && "ftp://" !== r3.substr(0, 6) && "./" !== r3.substr(0, 2) && "../" !== r3.substr(0, 3) && "#" !== r3[0] && "/" !== r3[0]) return "";
            } else if ("background" === t3) {
              if (b.lastIndex = 0, b.test(r3)) return "";
            } else if ("style" === t3) {
              if (h.lastIndex = 0, h.test(r3)) return "";
              if (y.lastIndex = 0, y.test(r3) && (b.lastIndex = 0, b.test(r3))) return "";
              false !== o3 && (r3 = (o3 = o3 || s).process(r3));
            }
            return r3 = $(r3);
          }, t2.escapeHtml = l, t2.escapeQuote = v, t2.unescapeQuote = x, t2.escapeHtmlEntities = w, t2.escapeDangerHtml5Entities = N, t2.clearNonPrintableCharacter = A, t2.friendlyAttrValue = k, t2.escapeAttrValue = $, t2.onIgnoreTagStripAll = function() {
            return "";
          }, t2.StripTagBody = function(e3, t3) {
            "function" != typeof t3 && (t3 = function() {
            });
            var r3 = !Array.isArray(e3), o3 = [], n3 = false;
            return { onIgnoreTag: function(i2, s2, l2) {
              if (function(t4) {
                return !!r3 || -1 !== a.indexOf(e3, t4);
              }(i2)) {
                if (l2.isClosing) {
                  var c2 = "[/removed]", u2 = l2.position + 10;
                  return o3.push([false !== n3 ? n3 : l2.position, u2]), n3 = false, c2;
                }
                return n3 || (n3 = l2.position), "[removed]";
              }
              return t3(i2, s2, l2);
            }, remove: function(e4) {
              var t4 = "", r4 = 0;
              return a.forEach(o3, function(o4) {
                t4 += e4.slice(r4, o4[0]), r4 = o4[1];
              }), t4 += e4.slice(r4);
            } };
          }, t2.stripCommentTag = function(e3) {
            for (var t3 = "", r3 = 0; r3 < e3.length; ) {
              var o3 = e3.indexOf("<!--", r3);
              if (-1 === o3) {
                t3 += e3.slice(r3);
                break;
              }
              t3 += e3.slice(r3, o3);
              var n3 = e3.indexOf("-->", o3);
              if (-1 === n3) break;
              r3 = n3 + 3;
            }
            return t3;
          }, t2.stripBlankChar = function(e3) {
            var t3 = e3.split("");
            return (t3 = t3.filter(function(e4) {
              var t4 = e4.charCodeAt(0);
              return 127 !== t4 && (!(t4 <= 31) || (10 === t4 || 13 === t4));
            })).join("");
          }, t2.cssFilter = s, t2.getDefaultCSSWhiteList = n2;
        }, 7800: function(e2, t2, r2) {
          var o2 = r2(1681), n2 = r2(2971), a = r2(3327);
          function i(e3, t3) {
            return new a(t3).process(e3);
          }
          (t2 = e2.exports = i).filterXSS = i, t2.FilterXSS = a, function() {
            for (var e3 in o2) t2[e3] = o2[e3];
            for (var r3 in n2) t2[r3] = n2[r3];
          }(), "undefined" != typeof window && (window.filterXSS = e2.exports), "undefined" != typeof self && "undefined" != typeof DedicatedWorkerGlobalScope && self instanceof DedicatedWorkerGlobalScope && (self.filterXSS = e2.exports);
        }, 2971: function(e2, t2, r2) {
          var o2 = r2(923);
          function n2(e3) {
            var t3, r3 = o2.spaceIndex(e3);
            return t3 = -1 === r3 ? e3.slice(1, -1) : e3.slice(1, r3 + 1), "/" === (t3 = o2.trim(t3).toLowerCase()).slice(0, 1) && (t3 = t3.slice(1)), "/" === t3.slice(-1) && (t3 = t3.slice(0, -1)), t3;
          }
          function a(e3) {
            return "</" === e3.slice(0, 2);
          }
          var i = /[^a-zA-Z0-9\\_:.-]/gim;
          function s(e3, t3) {
            for (; t3 < e3.length; t3++) {
              var r3 = e3[t3];
              if (" " !== r3) return "=" === r3 ? t3 : -1;
            }
          }
          function l(e3, t3) {
            for (; t3 < e3.length; t3++) {
              var r3 = e3[t3];
              if (" " !== r3) return "'" === r3 || '"' === r3 ? t3 : -1;
            }
          }
          function c(e3, t3) {
            for (; t3 > 0; t3--) {
              var r3 = e3[t3];
              if (" " !== r3) return "=" === r3 ? t3 : -1;
            }
          }
          function u(e3) {
            return function(e4) {
              return '"' === e4[0] && '"' === e4[e4.length - 1] || "'" === e4[0] && "'" === e4[e4.length - 1];
            }(e3) ? e3.substr(1, e3.length - 2) : e3;
          }
          t2.parseTag = function(e3, t3, r3) {
            var o3 = "", i2 = 0, s2 = false, l2 = false, c2 = 0, u2 = e3.length, p = "", d = "";
            e: for (c2 = 0; c2 < u2; c2++) {
              var f = e3.charAt(c2);
              if (false === s2) {
                if ("<" === f) {
                  s2 = c2;
                  continue;
                }
              } else if (false === l2) {
                if ("<" === f) {
                  o3 += r3(e3.slice(i2, c2)), s2 = c2, i2 = c2;
                  continue;
                }
                if (">" === f || c2 === u2 - 1) {
                  o3 += r3(e3.slice(i2, s2)), p = n2(d = e3.slice(s2, c2 + 1)), o3 += t3(s2, o3.length, p, d, a(d)), i2 = c2 + 1, s2 = false;
                  continue;
                }
                if ('"' === f || "'" === f) for (var m = 1, g = e3.charAt(c2 - m); "" === g.trim() || "=" === g; ) {
                  if ("=" === g) {
                    l2 = f;
                    continue e;
                  }
                  g = e3.charAt(c2 - ++m);
                }
              } else if (f === l2) {
                l2 = false;
                continue;
              }
            }
            return i2 < u2 && (o3 += r3(e3.substr(i2))), o3;
          }, t2.parseAttr = function(e3, t3) {
            var r3 = 0, n3 = 0, a2 = [], p = false, d = e3.length;
            function f(e4, r4) {
              if (!((e4 = (e4 = o2.trim(e4)).replace(i, "").toLowerCase()).length < 1)) {
                var n4 = t3(e4, r4 || "");
                n4 && a2.push(n4);
              }
            }
            for (var m = 0; m < d; m++) {
              var g, b = e3.charAt(m);
              if (false !== p || "=" !== b) if (false === p || m !== n3) if (/\s|\n|\t/.test(b)) {
                if (e3 = e3.replace(/\s|\n|\t/g, " "), false === p) {
                  if (-1 === (g = s(e3, m))) {
                    f(o2.trim(e3.slice(r3, m))), p = false, r3 = m + 1;
                    continue;
                  }
                  m = g - 1;
                  continue;
                }
                if (-1 === (g = c(e3, m - 1))) {
                  f(p, u(o2.trim(e3.slice(r3, m)))), p = false, r3 = m + 1;
                  continue;
                }
              } else ;
              else {
                if (-1 === (g = e3.indexOf(b, m + 1))) break;
                f(p, o2.trim(e3.slice(n3 + 1, g))), p = false, r3 = (m = g) + 1;
              }
              else p = e3.slice(r3, m), r3 = m + 1, n3 = '"' === e3.charAt(r3) || "'" === e3.charAt(r3) ? r3 : l(e3, m + 1);
            }
            return r3 < e3.length && (false === p ? f(e3.slice(r3)) : f(p, u(o2.trim(e3.slice(r3))))), o2.trim(a2.join(" "));
          };
        }, 923: function(e2) {
          e2.exports = { indexOf: function(e3, t2) {
            var r2, o2;
            if (Array.prototype.indexOf) return e3.indexOf(t2);
            for (r2 = 0, o2 = e3.length; r2 < o2; r2++) if (e3[r2] === t2) return r2;
            return -1;
          }, forEach: function(e3, t2, r2) {
            var o2, n2;
            if (Array.prototype.forEach) return e3.forEach(t2, r2);
            for (o2 = 0, n2 = e3.length; o2 < n2; o2++) t2.call(r2, e3[o2], o2, e3);
          }, trim: function(e3) {
            return String.prototype.trim ? e3.trim() : e3.replace(/(^\s*)|(\s*$)/g, "");
          }, spaceIndex: function(e3) {
            var t2 = /\s|\n|\t/.exec(e3);
            return t2 ? t2.index : -1;
          } };
        }, 3327: function(e2, t2, r2) {
          var o2 = r2(1365).FilterCSS, n2 = r2(1681), a = r2(2971), i = a.parseTag, s = a.parseAttr, l = r2(923);
          function c(e3) {
            return null == e3;
          }
          function u(e3) {
            (e3 = function(e4) {
              var t3 = {};
              for (var r3 in e4) t3[r3] = e4[r3];
              return t3;
            }(e3 || {})).stripIgnoreTag && (e3.onIgnoreTag && console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'), e3.onIgnoreTag = n2.onIgnoreTagStripAll), e3.whiteList || e3.allowList ? e3.whiteList = function(e4) {
              var t3 = {};
              for (var r3 in e4) Array.isArray(e4[r3]) ? t3[r3.toLowerCase()] = e4[r3].map(function(e5) {
                return e5.toLowerCase();
              }) : t3[r3.toLowerCase()] = e4[r3];
              return t3;
            }(e3.whiteList || e3.allowList) : e3.whiteList = n2.whiteList, e3.onTag = e3.onTag || n2.onTag, e3.onTagAttr = e3.onTagAttr || n2.onTagAttr, e3.onIgnoreTag = e3.onIgnoreTag || n2.onIgnoreTag, e3.onIgnoreTagAttr = e3.onIgnoreTagAttr || n2.onIgnoreTagAttr, e3.safeAttrValue = e3.safeAttrValue || n2.safeAttrValue, e3.escapeHtml = e3.escapeHtml || n2.escapeHtml, this.options = e3, false === e3.css ? this.cssFilter = false : (e3.css = e3.css || {}, this.cssFilter = new o2(e3.css));
          }
          u.prototype.process = function(e3) {
            if (!(e3 = (e3 = e3 || "").toString())) return "";
            var t3 = this.options, r3 = t3.whiteList, o3 = t3.onTag, a2 = t3.onIgnoreTag, u2 = t3.onTagAttr, p = t3.onIgnoreTagAttr, d = t3.safeAttrValue, f = t3.escapeHtml, m = this.cssFilter;
            t3.stripBlankChar && (e3 = n2.stripBlankChar(e3)), t3.allowCommentTag || (e3 = n2.stripCommentTag(e3));
            var g = false;
            t3.stripIgnoreTagBody && (g = n2.StripTagBody(t3.stripIgnoreTagBody, a2), a2 = g.onIgnoreTag);
            var b = i(e3, function(e4, t4, n3, i2, g2) {
              var b2 = { sourcePosition: e4, position: t4, isClosing: g2, isWhite: Object.prototype.hasOwnProperty.call(r3, n3) }, h = o3(n3, i2, b2);
              if (!c(h)) return h;
              if (b2.isWhite) {
                if (b2.isClosing) return "</" + n3 + ">";
                var y = function(e5) {
                  var t5 = l.spaceIndex(e5);
                  if (-1 === t5) return { html: "", closing: "/" === e5[e5.length - 2] };
                  var r4 = "/" === (e5 = l.trim(e5.slice(t5 + 1, -1)))[e5.length - 1];
                  return r4 && (e5 = l.trim(e5.slice(0, -1))), { html: e5, closing: r4 };
                }(i2), v = r3[n3], x = s(y.html, function(e5, t5) {
                  var r4 = -1 !== l.indexOf(v, e5), o4 = u2(n3, e5, t5, r4);
                  return c(o4) ? r4 ? (t5 = d(n3, e5, t5, m)) ? e5 + '="' + t5 + '"' : e5 : c(o4 = p(n3, e5, t5, r4)) ? void 0 : o4 : o4;
                });
                return i2 = "<" + n3, x && (i2 += " " + x), y.closing && (i2 += " /"), i2 += ">";
              }
              return c(h = a2(n3, i2, b2)) ? f(i2) : h;
            }, f);
            return g && (b = g.remove(b)), b;
          }, e2.exports = u;
        }, 4408: function(e2, t2, r2) {
          var o2 = r2(5204), n2 = r2(8096);
          r2(5352);
          function a(e3) {
            return null == e3;
          }
          function i(e3) {
            (e3 = function(e4) {
              var t3 = {};
              for (var r3 in e4) t3[r3] = e4[r3];
              return t3;
            }(e3 || {})).whiteList = e3.whiteList || o2.whiteList, e3.onAttr = e3.onAttr || o2.onAttr, e3.onIgnoreAttr = e3.onIgnoreAttr || o2.onIgnoreAttr, e3.safeAttrValue = e3.safeAttrValue || o2.safeAttrValue, this.options = e3;
          }
          i.prototype.process = function(e3) {
            if (!(e3 = (e3 = e3 || "").toString())) return "";
            var t3 = this.options, r3 = t3.whiteList, o3 = t3.onAttr, i2 = t3.onIgnoreAttr, s = t3.safeAttrValue;
            return n2(e3, function(e4, t4, n3, l, c) {
              var u = r3[n3], p = false;
              if (true === u ? p = u : "function" == typeof u ? p = u(l) : u instanceof RegExp && (p = u.test(l)), true !== p && (p = false), l = s(n3, l)) {
                var d, f = { position: t4, sourcePosition: e4, source: c, isWhite: p };
                return p ? a(d = o3(n3, l, f)) ? n3 + ":" + l : d : a(d = i2(n3, l, f)) ? void 0 : d;
              }
            });
          }, e2.exports = i;
        }, 5204: function(e2, t2) {
          function r2() {
            var e3 = { "align-content": false, "align-items": false, "align-self": false, "alignment-adjust": false, "alignment-baseline": false, all: false, "anchor-point": false, animation: false, "animation-delay": false, "animation-direction": false, "animation-duration": false, "animation-fill-mode": false, "animation-iteration-count": false, "animation-name": false, "animation-play-state": false, "animation-timing-function": false, azimuth: false, "backface-visibility": false, background: true, "background-attachment": true, "background-clip": true, "background-color": true, "background-image": true, "background-origin": true, "background-position": true, "background-repeat": true, "background-size": true, "baseline-shift": false, binding: false, bleed: false, "bookmark-label": false, "bookmark-level": false, "bookmark-state": false, border: true, "border-bottom": true, "border-bottom-color": true, "border-bottom-left-radius": true, "border-bottom-right-radius": true, "border-bottom-style": true, "border-bottom-width": true, "border-collapse": true, "border-color": true, "border-image": true, "border-image-outset": true, "border-image-repeat": true, "border-image-slice": true, "border-image-source": true, "border-image-width": true, "border-left": true, "border-left-color": true, "border-left-style": true, "border-left-width": true, "border-radius": true, "border-right": true, "border-right-color": true, "border-right-style": true, "border-right-width": true, "border-spacing": true, "border-style": true, "border-top": true, "border-top-color": true, "border-top-left-radius": true, "border-top-right-radius": true, "border-top-style": true, "border-top-width": true, "border-width": true, bottom: false, "box-decoration-break": true, "box-shadow": true, "box-sizing": true, "box-snap": true, "box-suppress": true, "break-after": true, "break-before": true, "break-inside": true, "caption-side": false, chains: false, clear: true, clip: false, "clip-path": false, "clip-rule": false, color: true, "color-interpolation-filters": true, "column-count": false, "column-fill": false, "column-gap": false, "column-rule": false, "column-rule-color": false, "column-rule-style": false, "column-rule-width": false, "column-span": false, "column-width": false, columns: false, contain: false, content: false, "counter-increment": false, "counter-reset": false, "counter-set": false, crop: false, cue: false, "cue-after": false, "cue-before": false, cursor: false, direction: false, display: true, "display-inside": true, "display-list": true, "display-outside": true, "dominant-baseline": false, elevation: false, "empty-cells": false, filter: false, flex: false, "flex-basis": false, "flex-direction": false, "flex-flow": false, "flex-grow": false, "flex-shrink": false, "flex-wrap": false, float: false, "float-offset": false, "flood-color": false, "flood-opacity": false, "flow-from": false, "flow-into": false, font: true, "font-family": true, "font-feature-settings": true, "font-kerning": true, "font-language-override": true, "font-size": true, "font-size-adjust": true, "font-stretch": true, "font-style": true, "font-synthesis": true, "font-variant": true, "font-variant-alternates": true, "font-variant-caps": true, "font-variant-east-asian": true, "font-variant-ligatures": true, "font-variant-numeric": true, "font-variant-position": true, "font-weight": true, grid: false, "grid-area": false, "grid-auto-columns": false, "grid-auto-flow": false, "grid-auto-rows": false, "grid-column": false, "grid-column-end": false, "grid-column-start": false, "grid-row": false, "grid-row-end": false, "grid-row-start": false, "grid-template": false, "grid-template-areas": false, "grid-template-columns": false, "grid-template-rows": false, "hanging-punctuation": false, height: true, hyphens: false, icon: false, "image-orientation": false, "image-resolution": false, "ime-mode": false, "initial-letters": false, "inline-box-align": false, "justify-content": false, "justify-items": false, "justify-self": false, left: false, "letter-spacing": true, "lighting-color": true, "line-box-contain": false, "line-break": false, "line-grid": false, "line-height": false, "line-snap": false, "line-stacking": false, "line-stacking-ruby": false, "line-stacking-shift": false, "line-stacking-strategy": false, "list-style": true, "list-style-image": true, "list-style-position": true, "list-style-type": true, margin: true, "margin-bottom": true, "margin-left": true, "margin-right": true, "margin-top": true, "marker-offset": false, "marker-side": false, marks: false, mask: false, "mask-box": false, "mask-box-outset": false, "mask-box-repeat": false, "mask-box-slice": false, "mask-box-source": false, "mask-box-width": false, "mask-clip": false, "mask-image": false, "mask-origin": false, "mask-position": false, "mask-repeat": false, "mask-size": false, "mask-source-type": false, "mask-type": false, "max-height": true, "max-lines": false, "max-width": true, "min-height": true, "min-width": true, "move-to": false, "nav-down": false, "nav-index": false, "nav-left": false, "nav-right": false, "nav-up": false, "object-fit": false, "object-position": false, opacity: false, order: false, orphans: false, outline: false, "outline-color": false, "outline-offset": false, "outline-style": false, "outline-width": false, overflow: false, "overflow-wrap": false, "overflow-x": false, "overflow-y": false, padding: true, "padding-bottom": true, "padding-left": true, "padding-right": true, "padding-top": true, page: false, "page-break-after": false, "page-break-before": false, "page-break-inside": false, "page-policy": false, pause: false, "pause-after": false, "pause-before": false, perspective: false, "perspective-origin": false, pitch: false, "pitch-range": false, "play-during": false, position: false, "presentation-level": false, quotes: false, "region-fragment": false, resize: false, rest: false, "rest-after": false, "rest-before": false, richness: false, right: false, rotation: false, "rotation-point": false, "ruby-align": false, "ruby-merge": false, "ruby-position": false, "shape-image-threshold": false, "shape-outside": false, "shape-margin": false, size: false, speak: false, "speak-as": false, "speak-header": false, "speak-numeral": false, "speak-punctuation": false, "speech-rate": false, stress: false, "string-set": false, "tab-size": false, "table-layout": false, "text-align": true, "text-align-last": true, "text-combine-upright": true, "text-decoration": true, "text-decoration-color": true, "text-decoration-line": true, "text-decoration-skip": true, "text-decoration-style": true, "text-emphasis": true, "text-emphasis-color": true, "text-emphasis-position": true, "text-emphasis-style": true, "text-height": true, "text-indent": true, "text-justify": true, "text-orientation": true, "text-overflow": true, "text-shadow": true, "text-space-collapse": true, "text-transform": true, "text-underline-position": true, "text-wrap": true, top: false, transform: false, "transform-origin": false, "transform-style": false, transition: false, "transition-delay": false, "transition-duration": false, "transition-property": false, "transition-timing-function": false, "unicode-bidi": false, "vertical-align": false, visibility: false, "voice-balance": false, "voice-duration": false, "voice-family": false, "voice-pitch": false, "voice-range": false, "voice-rate": false, "voice-stress": false, "voice-volume": false, volume: false, "white-space": false, widows: false, width: true, "will-change": false, "word-break": true, "word-spacing": true, "word-wrap": true, "wrap-flow": false, "wrap-through": false, "writing-mode": false, "z-index": false };
            return e3;
          }
          var o2 = /javascript\s*\:/gim;
          t2.whiteList = r2(), t2.getDefaultWhiteList = r2, t2.onAttr = function(e3, t3, r3) {
          }, t2.onIgnoreAttr = function(e3, t3, r3) {
          }, t2.safeAttrValue = function(e3, t3) {
            return o2.test(t3) ? "" : t3;
          };
        }, 1365: function(e2, t2, r2) {
          var o2 = r2(5204), n2 = r2(4408);
          for (var a in (t2 = e2.exports = function(e3, t3) {
            return new n2(t3).process(e3);
          }).FilterCSS = n2, o2) t2[a] = o2[a];
          "undefined" != typeof window && (window.filterCSS = e2.exports);
        }, 8096: function(e2, t2, r2) {
          var o2 = r2(5352);
          e2.exports = function(e3, t3) {
            ";" !== (e3 = o2.trimRight(e3))[e3.length - 1] && (e3 += ";");
            var r3 = e3.length, n2 = false, a = 0, i = 0, s = "";
            function l() {
              if (!n2) {
                var r4 = o2.trim(e3.slice(a, i)), l2 = r4.indexOf(":");
                if (-1 !== l2) {
                  var c2 = o2.trim(r4.slice(0, l2)), u2 = o2.trim(r4.slice(l2 + 1));
                  if (c2) {
                    var p = t3(a, s.length, c2, u2, r4);
                    p && (s += p + "; ");
                  }
                }
              }
              a = i + 1;
            }
            for (; i < r3; i++) {
              var c = e3[i];
              if ("/" === c && "*" === e3[i + 1]) {
                var u = e3.indexOf("*/", i + 2);
                if (-1 === u) break;
                a = (i = u + 1) + 1, n2 = false;
              } else "(" === c ? n2 = true : ")" === c ? n2 = false : ";" === c ? n2 || l() : "\n" === c && l();
            }
            return o2.trim(s);
          };
        }, 5352: function(e2) {
          e2.exports = { indexOf: function(e3, t2) {
            var r2, o2;
            if (Array.prototype.indexOf) return e3.indexOf(t2);
            for (r2 = 0, o2 = e3.length; r2 < o2; r2++) if (e3[r2] === t2) return r2;
            return -1;
          }, forEach: function(e3, t2, r2) {
            var o2, n2;
            if (Array.prototype.forEach) return e3.forEach(t2, r2);
            for (o2 = 0, n2 = e3.length; o2 < n2; o2++) t2.call(r2, e3[o2], o2, e3);
          }, trim: function(e3) {
            return String.prototype.trim ? e3.trim() : e3.replace(/(^\s*)|(\s*$)/g, "");
          }, trimRight: function(e3) {
            return String.prototype.trimRight ? e3.trimRight() : e3.replace(/(\s*$)/g, "");
          } };
        }, 484: function(t2) {
          t2.exports = e;
        } }, r = {};
        function o(e2) {
          var n2 = r[e2];
          if (void 0 !== n2) return n2.exports;
          var a = r[e2] = { exports: {} };
          return t[e2](a, a.exports, o), a.exports;
        }
        o.n = function(e2) {
          var t2 = e2 && e2.__esModule ? function() {
            return e2.default;
          } : function() {
            return e2;
          };
          return o.d(t2, { a: t2 }), t2;
        }, o.d = function(e2, t2) {
          for (var r2 in t2) o.o(t2, r2) && !o.o(e2, r2) && Object.defineProperty(e2, r2, { enumerable: true, get: t2[r2] });
        }, o.o = function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, o.r = function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        };
        var n = {};
        return function() {
          o.r(n), o.d(n, { _wRichTextSdkFactory: function() {
            return gn;
          }, accessibilityPropsSDKFactory: function() {
            return yn;
          }, default: function() {
            return xn;
          }, mapStylePropertyNameToCorvidPropertyName: function() {
            return mn;
          }, sdk: function() {
            return vn;
          } });
          function e2(e3) {
            return "number" == typeof e3 && !Number.isNaN(e3);
          }
          function t2(e3) {
            return "string" == typeof e3;
          }
          function r2(e3) {
            return Array.isArray(e3);
          }
          function a(e3) {
            return null == e3;
          }
          function i(e3, t3) {
            return t3.includes(e3);
          }
          function s(e3, t3) {
            return e3 > t3;
          }
          function l(e3, t3) {
            return e3 < t3;
          }
          const c = (e3) => {
            console.error(`Wix code SDK error: ${e3}`);
          }, u = (e3) => {
            console.warn(`Wix code SDK warning: ${e3}`);
          }, p = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to null.`, d = ({ propertyName: e3, compName: t3, effectName: r3, infoLink: o2 }) => `The "${e3}" function called on "${t3}" was executed without the "${r3}" effect because it is an invalid effectName value. Read more about effects: "${o2}"')`, f = ({ propertyName: e3, compName: t3, infoLink: r3 }) => `The "${e3}" function called on "${t3}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r3}"')`, m = ({ propertyName: e3, compName: t3, effectName: r3, wrongProperty: o2, wrongValue: n2, infoLink: a2 }) => `The "${e3}" function called on "${t3}" was executed without the "${r3}" effect because it was called with the following invalid effectOptions ${o2}: ${n2}. Read more about the effectOptions object: "${a2}"')`, g = ({ propertyName: e3, compName: t3, effectName: r3, infoLink: o2 }) => `The "${e3}" function  called on "${t3}" was executed without the specified effect options because it was called with the following deprecated effect: "${r3}". Read more about effects: "${o2}"`, b = ({ propertyName: e3, compName: t3, effectName: r3, wrongValue: o2, infoLink: n2 }) => `The "${e3}" function called on "${t3}" was executed without the "${r3}" effect because the it was called with the following invalid effectOptions "${o2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${n2}"'`, h = ({ propertyName: e3, functionName: t3, compName: r3 }) => `The ${e3} parameter of "${r3}" that is passed to the ${t3} method cannot be set to null.`, y = ({ propertyName: e3, functionName: t3, index: r3 }) => `The ${e3} parameter of item at index ${r3} that is passed to the ${t3} method cannot be set to null or undefined.`, v = ({ propertyName: e3, compName: t3, infoLink: r3 }) => ` The value of "${e3}" property of "${t3}" expects an rgbColor value, but was set to an rgbaColor value. The color value has been set, but the alpha opacity information has been ignored. Read more about rgbColor values: "${r3}"`, x = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is required for ${t3} method.`, w = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]}, are required for ${t3} method.`, N = ({ propertyName: e3, functionName: t3, index: r3 }) => `The ${e3} parameter of item at index ${r3} is required for ${t3} method.`, A = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter is not allowed for ${t3} method.`, k = ({ propertyNames: e3, functionName: t3 }) => `The following parameters: ${[...e3]} are unknown for ${t3} method.`, $ = ({ propertyName: e3, functionName: t3, index: r3 }) => `The ${e3} parameter of item at index ${r3} is not allowed for ${t3} method.`, C = ({ propertyNames: e3, functionName: t3, index: r3 }) => `The following parameters: ${[...e3]} of item at index ${r3} are unknown for ${t3} method.`, T = ({ propertyName: e3, functionName: t3, value: r3, minimum: o2, maximum: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r3}". Its length must be between ${o2} and ${n2}.`, I = ({ propertyName: e3, functionName: t3, value: r3, minimum: o2, maximum: n2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value "${r3}". Its length must be between ${o2} and ${n2}.`, S = ({ propertyName: e3, functionName: t3, value: r3, expectedValue: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r3}". Its length must be ${o2}.`, O = ({ propertyName: e3, functionName: t3, value: r3, expectedValue: o2, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value "${r3}". Its length must be ${o2}.`, L = ({ propertyName: e3, functionName: t3, value: r3, minimum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r3}" because its length is shorter than ${o2}.`, j = ({ propertyName: e3, functionName: t3, value: r3, minimum: o2, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value "${r3}" because its length is shorter than ${o2}.`, E = ({ propertyName: e3, functionName: t3, value: r3, maximum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r3}" because its length exceeds ${o2}.`, P = ({ propertyName: e3, functionName: t3, value: r3, maximum: o2, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value "${r3}" because its length exceeds ${o2}.`, R = ({ propertyName: e3, functionName: t3, value: r3, minimum: o2, maximum: n2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r3}". It must be between ${o2} and ${n2}.`, D = ({ propertyName: e3, functionName: t3, value: r3, minimum: o2, maximum: n2, index: a2 }) => `The ${e3} parameter of item at index ${a2} that is passed to the ${t3} method cannot be set to the value "${r3}". It must be between ${o2} and ${n2}.`, V = ({ propertyName: e3, functionName: t3, value: r3, expectedValue: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value "${r3}". It must be ${o2}.`, B = ({ propertyName: e3, functionName: t3, value: r3, expectedValue: o2, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value "${r3}". It must be ${o2}.`, F = ({ propertyName: e3, functionName: t3, value: r3, minimum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r3}. It must be larger than ${o2}.`, _ = ({ propertyName: e3, functionName: t3, value: r3, minimum: o2, index: n2 }) => `The value of ${e3} parameter of item at ${n2} that is passed to the ${t3} method cannot be set to the value ${r3}. It must be larger than ${o2}.`, q = ({ propertyName: e3, functionName: t3, value: r3, maximum: o2 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r3}. It must be less than ${o2}.`, M = ({ propertyName: e3, functionName: t3, value: r3, maximum: o2, index: n2 }) => `The value of ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value ${r3}. It must be less than ${o2}.`, W = ({ propertyName: e3, functionName: t3, value: r3, expectedType: o2 }) => `The ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r3}. It must be of type ${o2}.`, H = ({ propertyName: e3, functionName: t3, value: r3, expectedType: o2, index: n2 }) => `The ${e3} parameter of item at index ${n2} that is passed to the ${t3} method cannot be set to the value ${r3}. It must be of type ${o2}.`, z = ({ propertyName: e3, functionName: t3, value: r3 }) => `The value of ${e3} parameter that is passed to the ${t3} method cannot be set to the value ${r3}. Bad format`, G = ({ functionName: e3, wrongEffects: t3, allowedEffects: r3 }) => `Passed  effects: "${t3.join('", "')}" to the ${e3} method are wrong for this element. Allowed effects are: "${r3.join('", "')}".`, X = ({ propertyName: e3, functionName: t3, value: r3, index: o2 }) => `The "${e3}" property of the item at index ${o2} that is passed to the ${t3} method cannot be set to "${r3}". Bad format`, Z = ({ propertyName: e3, compName: t3, cssProperty: r3, exampleFormat: o2, infoLink: n2 }) => ` The "${e3}" property of "${t3}" was set to an invalid "${r3}" value. The value is expected in the following format:"${o2}". Read more about "${r3}" values: "${n2}"`, K = ({ propertyName: e3, compName: t3, cssProperty: r3, exampleFormats: o2, infoLink: n2 }) => ` The "${e3}" property of "${t3}" was set to an invalid "${r3}" value. The value is expected in one of the following formats:"${o2}". Read more about "${r3}" values: "${n2}"`, U = ({ propertyName: e3, functionName: t3 }) => `The ${e3} parameter that is passed to the ${t3} method contains invalid characters.`, Y = ({ compName: t3, functionName: r3, propertyName: o2, index: n2 }) => e2(n2) ? y({ propertyName: o2, functionName: r3, index: n2 }) : t3 ? h({ compName: t3, functionName: r3, propertyName: o2 }) : p({ functionName: r3, propertyName: o2 }), J = ({ functionName: t3, propertyName: r3, index: o2 }) => e2(o2) ? N({ functionName: t3, propertyName: r3, index: o2 }) : x({ functionName: t3, propertyName: r3 }), Q = ({ functionName: t3, propertyNames: r3, index: o2 }) => r3 && r3.length > 1 ? e2(o2) ? C({ functionName: t3, propertyNames: r3, index: o2 }) : k({ functionName: t3, propertyNames: r3 }) : e2(o2) ? $({ functionName: t3, propertyName: r3[0], index: o2 }) : A({ functionName: t3, propertyName: r3[0] }), ee = ({ functionName: t3, propertyName: r3, value: o2, maximum: n2, minimum: a2, index: i2 }) => a2 && n2 ? a2 === n2 ? e2(i2) ? O({ functionName: t3, propertyName: r3, value: o2, expectedValue: a2, index: i2 }) : S({ functionName: t3, propertyName: r3, value: o2, expectedValue: a2 }) : e2(i2) ? I({ functionName: t3, propertyName: r3, value: o2, maximum: n2, minimum: a2, index: i2 }) : T({ functionName: t3, propertyName: r3, value: o2, maximum: n2, minimum: a2 }) : !a2 && n2 ? e2(i2) ? P({ functionName: t3, propertyName: r3, value: o2, maximum: n2, index: i2 }) : E({ functionName: t3, propertyName: r3, value: o2, maximum: n2 }) : e2(i2) ? j({ functionName: t3, propertyName: r3, value: o2, minimum: a2, index: i2 }) : L({ functionName: t3, propertyName: r3, value: o2, minimum: a2 }), te = ({ functionName: t3, propertyName: r3, value: o2, minimum: n2, maximum: a2, index: i2 }) => n2 && a2 ? n2 === a2 ? e2(i2) ? B({ functionName: t3, propertyName: r3, expectedValue: n2, value: o2, index: i2 }) : V({ functionName: t3, propertyName: r3, expectedValue: n2, value: o2 }) : e2(i2) ? D({ functionName: t3, propertyName: r3, value: o2, maximum: a2, minimum: n2, index: i2 }) : R({ functionName: t3, propertyName: r3, value: o2, maximum: a2, minimum: n2 }) : !n2 && a2 ? e2(i2) ? M({ functionName: t3, propertyName: r3, maximum: a2, value: o2, index: i2 }) : q({ functionName: t3, propertyName: r3, maximum: a2, value: o2 }) : e2(i2) ? _({ functionName: t3, propertyName: r3, value: o2, minimum: n2, index: i2 }) : F({ functionName: t3, propertyName: r3, value: o2, minimum: n2 }), re = ({ functionName: t3, propertyName: r3, types: o2, value: n2, index: a2 }) => {
            const i2 = o2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
            return e2(a2) ? H({ functionName: t3, index: a2, propertyName: r3, value: n2, expectedType: i2 }) : W({ functionName: t3, propertyName: r3, value: n2, expectedType: i2 });
          }, oe = ({ functionName: t3, propertyName: r3, value: o2, enum: n2, index: a2 }) => {
            const i2 = `from (${n2.join(",")})`;
            return e2(a2) ? H({ functionName: t3, propertyName: r3, value: o2, expectedType: i2, index: a2 }) : W({ functionName: t3, propertyName: r3, value: o2, expectedType: i2 });
          }, ne = ({ functionName: t3, propertyName: r3, value: o2, index: n2 }) => e2(n2) ? X({ functionName: t3, propertyName: r3, value: o2, index: n2 }) : z({ functionName: t3, propertyName: r3, value: o2 }), ae = Object.prototype.hasOwnProperty, ie = Object.getOwnPropertyNames, se = () => {
          };
          function le(e3, t3, o2, n2, a2, i2) {
            if (!function(e4) {
              return "object" == typeof e4 && null !== e4 && !r2(e4);
            }(e3)) return de.InvalidType;
            if (t3.oneOf) return 1 === t3.oneOf.map((t4) => le(e3, t4, o2, se, a2, i2)).filter((e4) => e4 === de.Valid).length ? de.Valid : de.Invalid;
            if (t3.required) {
              for (let r3 = 0; r3 < t3.required.length; r3++) if (!ae.call(e3, t3.required[r3])) return n2(J({ functionName: i2.functionName, index: i2.index, propertyName: t3.required[r3] }), { ...i2, value: e3 }), de.Invalid;
            }
            const s2 = ie(t3.properties ?? {});
            if (false === t3.additionalProperties) {
              const t4 = ie(e3).filter((e4) => !s2.includes(e4));
              if (t4.length) {
                return n2(Q({ functionName: i2.functionName, index: i2.index, propertyNames: t4 })), de.Invalid;
              }
            }
            for (let r3 = 0; r3 < s2.length; r3++) {
              const n3 = s2[r3];
              if (ae.call(e3, n3)) {
                const r4 = t3.properties[n3], a3 = e3[n3];
                if (!o2(a3, r4, { functionName: i2.functionName, index: i2.index, propertyName: n3 })) return de.Invalid;
              }
            }
            return de.Valid;
          }
          function ce(e3) {
            return Array.isArray(e3);
          }
          function ue(t3, r3, o2, n2) {
            const { minimum: a2, maximum: c2, enum: u2 } = r3;
            return function(e3) {
              return Number.isInteger(e3);
            }(t3) ? u2 && !i(t3, u2) ? (o2(oe({ value: t3, enum: u2, ...n2 }), { ...n2, value: t3 }), de.Invalid) : e2(a2) && l(t3, a2) || e2(c2) && s(t3, c2) ? (o2(te({ value: t3, minimum: a2, maximum: c2, ...n2 }), { ...n2, value: t3 }), de.Invalid) : de.Valid : de.InvalidType;
          }
          function pe(e3) {
            return function(e4) {
              return e4 instanceof Date && !Number.isNaN(e4.getTime());
            }(e3) ? de.Valid : de.InvalidType;
          }
          const de = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
          function fe({ reportError: o2, reportWarning: n2 }, c2, { suppressIndexErrors: u2 = false } = {}) {
            function p2(e3, t3, r3) {
              t3.warnIfNil && a(e3) && n2(Y({ ...r3, compName: c2 }), { ...r3, value: e3 });
              let i2 = 0;
              for (; i2 < t3.type.length; i2++) {
                const o3 = (0, d2[t3.type[i2]])(e3, t3, r3);
                if (o3 !== de.InvalidType) return o3 === de.Valid;
              }
              return i2 === t3.type.length && o2(re({ value: e3, types: t3.type, ...r3 }), { ...r3, value: e3 }), false;
            }
            const d2 = { object: (e3, t3, r3) => le(e3, t3, p2, o2, n2, r3), array: (e3, t3, o3) => function(e4, t4, o4, n3, a2, i2 = false) {
              if (!r2(e4)) return de.InvalidType;
              let s2 = de.Valid;
              if (t4.items) {
                const r3 = ce(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
                for (let n4 = 0; n4 < r3; n4++) {
                  const r4 = e4[n4];
                  let l2, c3;
                  ce(t4.items) ? (l2 = t4.items[n4], c3 = t4.items[n4].name) : (l2 = t4.items, c3 = t4.name), o4(r4, l2, { functionName: a2.functionName, propertyName: c3 || a2.propertyName, index: i2 ? void 0 : n4 }) || (s2 = de.Invalid);
                }
              }
              return s2;
            }(e3, t3, p2, 0, o3, u2), number: (t3, r3, n3) => function(t4, r4, o3, n4) {
              const { minimum: a2, maximum: c3, enum: u3 } = r4;
              return e2(t4) ? u3 && !i(t4, u3) ? (o3(oe({ value: t4, enum: u3, ...n4 }), { ...n4, value: t4 }), de.Invalid) : e2(a2) && l(t4, a2) || e2(c3) && s(t4, c3) ? (o3(te({ value: t4, minimum: a2, maximum: c3, ...n4 }), { ...n4, value: t4 }), de.Invalid) : de.Valid : de.InvalidType;
            }(t3, r3, o2, n3), integer: (e3, t3, r3) => ue(e3, t3, o2, r3), string: (e3, r3, n3) => function(e4, r4, o3, n4) {
              const { minLength: a2, maxLength: c3, enum: u3, pattern: p3 } = r4;
              return t2(e4) ? u3 && !i(e4, u3) ? (o3(oe({ value: e4, enum: u3, ...n4 }), { ...n4, value: e4 }), de.Invalid) : a2 && l(e4.length, a2) || c3 && s(e4.length, c3) ? (o3(ee({ value: e4, minimum: a2, maximum: c3, ...n4 }), { ...n4, value: e4 }), de.Invalid) : p3 && !new RegExp(p3).test(e4) ? (o3(ne({ value: e4, ...n4 }), { ...n4, value: e4 }), de.Invalid) : de.Valid : de.InvalidType;
            }(e3, r3, o2, n3), boolean: (e3) => function(e4) {
              return /* @__PURE__ */ function(e5) {
                return true === e5 || false === e5;
              }(e4) ? de.Valid : de.InvalidType;
            }(e3), date: (e3) => pe(e3), nil: (e3) => function(e4) {
              return a(e4) ? de.Valid : de.InvalidType;
            }(e3), function: (e3) => function(e4) {
              return /* @__PURE__ */ function(e5) {
                return "function" == typeof e5;
              }(e4) ? de.Valid : de.InvalidType;
            }(e3) };
            return function(e3, t3, r3) {
              return p2(e3, t3, { functionName: r3, propertyName: r3, index: void 0 });
            };
          }
          function me(e3, { suppressIndexErrors: t3 = false } = {}) {
            return fe({ reportError: c, reportWarning: u }, e3, { suppressIndexErrors: t3 });
          }
          function ge(e3, t3, r3 = {}) {
            return (o2) => {
              const n2 = e3(o2), a2 = me(o2.metaData.role), i2 = me(o2.metaData.role, { suppressIndexErrors: true });
              return Object.keys(n2).reduce((e4, s2) => {
                const l2 = Object.getOwnPropertyDescriptor(n2, s2), c2 = { enumerable: true, configurable: true };
                return l2.value ? "function" == typeof l2.value ? c2.value = (...e5) => {
                  const n3 = t3.properties[s2] && t3.properties[s2].args, a3 = r3[s2];
                  let c3 = true;
                  return n3 && (c3 = i2(e5, { type: ["array"], items: n3 }, s2)), c3 && a3 && (c3 = a3.every((t4) => t4(e5, o2))), c3 ? l2.value(...e5) : void 0;
                } : c2.value = l2.value : (l2.get && (c2.get = () => n2[s2]), l2.set && (c2.set = (e5) => {
                  const i3 = r3[s2];
                  let l3 = true;
                  t3.properties[s2] && (l3 = a2(e5, t3.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t4) => t4(e5, o2))), l3 && (n2[s2] = e5);
                })), Object.defineProperty(e4, s2, c2), e4;
              }, {});
            };
          }
          const be = { black: "#000000", silver: "#c0c0c0", gray: "#808080", white: "#ffffff", maroon: "#800000", red: "#ff0000", purple: "#800080", fuchsia: "#ff00ff", green: "#008000", lime: "#00ff00", olive: "#808000", yellow: "#ffff00", navy: "#000080", blue: "#0000ff", teal: "#008080", aqua: "#00ffff", orange: "#ffa500", aliceblue: "#f0f8ff", antiquewhite: "#faebd7", aquamarine: "#7fffd4", azure: "#f0ffff", beige: "#f5f5dc", bisque: "#ffe4c4", blanchedalmond: "#ffebcd", blueviolet: "#8a2be2", brown: "#a52a2a", burlywood: "#deb887", cadetblue: "#5f9ea0", chartreuse: "#7fff00", chocolate: "#d2691e", coral: "#ff7f50", cornflowerblue: "#6495ed", cornsilk: "#fff8dc", crimson: "#dc143c", cyan: "#00ffff", darkblue: "#00008b", darkcyan: "#008b8b", darkgoldenrod: "#b8860b", darkgray: "#a9a9a9", darkgreen: "#006400", darkgrey: "#a9a9a9", darkkhaki: "#bdb76b", darkmagenta: "#8b008b", darkolivegreen: "#556b2f", darkorange: "#ff8c00", darkorchid: "#9932cc", darkred: "#8b0000", darksalmon: "#e9967a", darkseagreen: "#8fbc8f", darkslateblue: "#483d8b", darkslategray: "#2f4f4f", darkslategrey: "#2f4f4f", darkturquoise: "#00ced1", darkviolet: "#9400d3", deeppink: "#ff1493", deepskyblue: "#00bfff", dimgray: "#696969", dimgrey: "#696969", dodgerblue: "#1e90ff", firebrick: "#b22222", floralwhite: "#fffaf0", forestgreen: "#228b22", gainsboro: "#dcdcdc", ghostwhite: "#f8f8ff", gold: "#ffd700", goldenrod: "#daa520", greenyellow: "#adff2f", grey: "#808080", honeydew: "#f0fff0", hotpink: "#ff69b4", indianred: "#cd5c5c", indigo: "#4b0082", ivory: "#fffff0", khaki: "#f0e68c", lavender: "#e6e6fa", lavenderblush: "#fff0f5", lawngreen: "#7cfc00", lemonchiffon: "#fffacd", lightblue: "#add8e6", lightcoral: "#f08080", lightcyan: "#e0ffff", lightgoldenrodyellow: "#fafad2", lightgray: "#d3d3d3", lightgreen: "#90ee90", lightgrey: "#d3d3d3", lightpink: "#ffb6c1", lightsalmon: "#ffa07a", lightseagreen: "#20b2aa", lightskyblue: "#87cefa", lightslategray: "#778899", lightslategrey: "#778899", lightsteelblue: "#b0c4de", lightyellow: "#ffffe0", limegreen: "#32cd32", linen: "#faf0e6", magenta: "#ff00ff", mediumaquamarine: "#66cdaa", mediumblue: "#0000cd", mediumorchid: "#ba55d3", mediumpurple: "#9370db", mediumseagreen: "#3cb371", mediumslateblue: "#7b68ee", mediumspringgreen: "#00fa9a", mediumturquoise: "#48d1cc", mediumvioletred: "#c71585", midnightblue: "#191970", mintcream: "#f5fffa", mistyrose: "#ffe4e1", moccasin: "#ffe4b5", navajowhite: "#ffdead", oldlace: "#fdf5e6", olivedrab: "#6b8e23", orangered: "#ff4500", orchid: "#da70d6", palegoldenrod: "#eee8aa", palegreen: "#98fb98", paleturquoise: "#afeeee", palevioletred: "#db7093", papayawhip: "#ffefd5", peachpuff: "#ffdab9", peru: "#cd853f", pink: "#ffc0cb", plum: "#dda0dd", powderblue: "#b0e0e6", rosybrown: "#bc8f8f", royalblue: "#4169e1", saddlebrown: "#8b4513", salmon: "#fa8072", sandybrown: "#f4a460", seagreen: "#2e8b57", seashell: "#fff5ee", sienna: "#a0522d", skyblue: "#87ceeb", slateblue: "#6a5acd", slategray: "#708090", slategrey: "#708090", snow: "#fffafa", springgreen: "#00ff7f", steelblue: "#4682b4", tan: "#d2b48c", thistle: "#d8bfd8", tomato: "#ff6347", turquoise: "#40e0d0", violet: "#ee82ee", wheat: "#f5deb3", whitesmoke: "#f5f5f5", yellowgreen: "#9acd32", rebeccapurple: "#663399" };
          function he(e3) {
            return /\b([R][G][B][A][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*,\s*((0\.[0-9]*)|(1\.0)|(1)|(0)))?[)])/i.test(e3);
          }
          function ye(e3) {
            return /^#([a-f0-9]{8}|[a-f0-9]{4})\b$/gi.test(e3);
          }
          function ve(e3) {
            return be[e3];
          }
          function xe(e3) {
            return /\b([R][G][B][(]\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])\s*,\s*([01]?[0-9]?[0-9]|2[0-4][0-9]|25[0-5])(\s*)[)])/i.test(e3) || he(e3);
          }
          function we(e3) {
            return ye(e3) || /^#(([a-f0-9]){3}){1,2}$/i.test(e3);
          }
          const Ne = (e3) => parseInt(e3.repeat(2 / e3.length), 16), Ae = (e3) => {
            if (!we(e3)) return;
            const t3 = ((e4) => {
              const t4 = Math.floor((e4.length - 1) / 3);
              return e4.slice(1).match(new RegExp(`.{${t4}}`, "g"));
            })(e3), [r3, o2, n2, a2] = t3.map(Ne);
            return [r3, o2, n2, void 0 !== a2 ? Ce(a2 / 255) : 1];
          }, ke = (e3) => we(e3) ? Ae(e3) : xe(e3) ? ((e4) => {
            if (!xe(e4)) return;
            const t3 = e4.substring(e4.indexOf("(")).split(","), r3 = parseInt(t3[0].substring(1).trim(), 10), o2 = parseInt(t3[1].trim(), 10), n2 = parseInt(t3[2].trim(), 10), a2 = t3[3] && parseFloat(t3[3].substring(0, t3[3].length - 1).trim());
            return [r3, o2, n2, void 0 !== a2 ? a2 : 1];
          })(e3) : ve(e3) ? Ae(be[e3]) : void 0, $e = (e3) => {
            const t3 = ke(e3);
            if (t3) return t3[3];
          }, Ce = (e3) => Math.round(100 * e3) / 100;
          const Te = ({ propertyName: e3, cssProperty: t3, supportAlpha: r3 }) => (o2, n2) => function(e4) {
            return we(e4) || xe(e4) || ve(e4);
          }(o2) ? (r3 || Se({ propertyName: e3, color: o2, api: n2 }), true) : (c(K({ propertyName: e3, cssProperty: t3, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e3.toLowerCase()}`, compName: n2.metaData.role, exampleFormats: r3 ? '"red", "#FF0000", "#FF000000", "rgb(225, 0, 0)" or "rgba(225, 0, 0, 0)"' : '"red", "#FF0000", or "rgb(225, 0, 0)"' })), false), Ie = ({ propertyName: e3, cssProperty: r3 }) => (o2, n2) => !!function(e4) {
            if (t2(e4)) {
              const t3 = e4.endsWith("px"), r4 = e4.slice(0, e4.length - 2), o3 = /^\d*$/.test(r4);
              return t3 && o3 && parseInt(r4, 10);
            }
            return false;
          }(o2) || (c(Z({ propertyName: e3, cssProperty: r3, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e3.toLowerCase()}`, compName: n2.metaData.role, exampleFormat: "1px" })), false), Se = ({ propertyName: e3, color: t3, api: r3 }) => {
            (ye(t3) || he(t3)) && u(v({ propertyName: e3, compName: r3.metaData.role, infoLink: `https://www.wix.com/corvid/new-reference/$w/style/${e3.toLowerCase()}` }));
          }, Oe = ({ name: e3, prefix: t3 }) => t3 ? `--${t3}-corvid-${e3}` : `--corvid-${e3}`, Le = { backgroundColor: "background-color", borderColor: "border-color", borderRadius: "border-radius", borderWidth: "border-width", foregroundColor: "foreground-color", textColor: "color", fillColor: "fill-color", strokeColor: "stroke-color", iconColor: "icon-color" }, je = ["hover", "disabled"], Ee = { hover: { textColor: "hover-color", borderColor: "hover-border-color", backgroundColor: "hover-background-color", iconColor: "hover-icon-color" }, disabled: { textColor: "disabled-color", borderColor: "disabled-border-color", backgroundColor: "disabled-background-color", iconColor: "disabled-icon-color" } };
          function Pe(e3) {
            return e3.charAt(0).toUpperCase() + e3.slice(1);
          }
          const Re = (e3) => (t3 = { supportOpacity: true }) => {
            const { prefix: r3, supportOpacity: o2, withoutDefaultValue: n2, supportedStates: a2 = [] } = t3, i2 = (t4, r4 = e3) => {
              const a3 = Te({ propertyName: e3, cssProperty: o2 ? "rgbaColor" : "rgbColor", supportAlpha: o2 });
              return ge(({ setStyles: a4, sdkData: i3, createSdkState: s3 }) => {
                const l3 = i3?.initialSdkStyles?.[r4], c2 = $e(l3), u2 = n2 ? void 0 : l3, [p2, d2] = s3({ [r4]: u2 }, r4);
                return Object.defineProperty({ reset() {
                  d2({ [r4]: u2 }), a4({ [t4]: void 0 });
                } }, e3, { enumerable: true, set(e4) {
                  let n3 = e4;
                  if (!o2 && (ye(e4) || he(e4))) {
                    const [t5, r5, o3] = ke(e4);
                    n3 = `rgb(${t5}, ${r5}, ${o3})`;
                  }
                  if ("number" == typeof c2 && 1 !== c2) {
                    const t5 = $e(e4);
                    n3 = ((e5, t6) => {
                      const r5 = ke(e5);
                      if (r5) {
                        const [e6, o3, n4] = r5;
                        return `rgba(${e6}, ${o3}, ${n4}, ${t6})`;
                      }
                    })(n3, Number.isFinite(t5) ? Ce(c2 * t5) : c2);
                  }
                  d2({ [r4]: n3 }), a4({ [t4]: n3 });
                }, get() {
                  return p2[r4];
                } });
              }, { properties: { [e3]: { type: ["string", "nil"] } } }, { [e3]: [a3] });
            }, s2 = a2.map((t4) => ge((o3) => {
              const n3 = i2(Oe({ name: Ee[t4][e3], prefix: r3 }), t4 + Pe(e3))(o3);
              return { [t4]: n3 };
            }, { properties: { [t4]: { type: ["object", "nil"] } } })), l2 = i2(Oe({ name: Le[e3], prefix: r3 }));
            return (e4) => Object.assign(l2(e4), s2.reduce((t4, r4) => Object.assign(t4, r4(e4)), {}));
          }, De = Re("backgroundColor"), Ve = Re("borderColor"), Be = "textColor", Fe = "color", _e = Re("fillColor"), qe = Re("strokeColor"), Me = Re("iconColor"), We = "reset";
          function He(...e3) {
            const t3 = (r3 = We, (...e4) => {
              const t4 = {}, o2 = { [r3](e5) {
                if ("function" == typeof t4[e5]) return t4[e5](e5);
              } };
              return e4.forEach((e5) => {
                Object.keys(e5).filter((e6) => e6 !== r3).map((t5) => ({ key: t5, descriptor: Object.getOwnPropertyDescriptor(e5, t5) })).forEach(({ key: n2, descriptor: a2 }) => {
                  "function" == typeof e5[r3] && (t4[n2] = e5[r3]), Object.defineProperty(o2, n2, a2);
                });
              }), o2;
            });
            var r3;
            return (r4) => {
              const o2 = e3.map((e4) => e4(r4)), n2 = {};
              for (const e4 of je) o2.some((t4) => e4 in t4) && (n2[e4] = t3(...o2.map((t4) => t4[e4] ?? {})), Object.defineProperty(n2[e4], We, { enumerable: false }), o2.forEach((t4) => {
                delete t4[e4];
              }));
              const a2 = t3(...o2);
              return Object.defineProperty(a2, We, { enumerable: false }), Object.assign(a2, n2);
            };
          }
          const ze = { BackgroundColor: De, BorderColor: Ve, BorderWidth: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r3 } = e3, o2 = Oe({ name: Le.borderWidth, prefix: t3 });
            return ge(({ setStyles: e4, sdkData: t4, createSdkState: n2 }) => {
              const a2 = t4?.initialSdkStyles?.borderWidth, [i2, s2] = n2({ borderWidth: r3 ? void 0 : a2 }, "borderWidth");
              return { set borderWidth(t5) {
                s2({ borderWidth: t5 }), e4({ [o2]: t5 });
              }, get borderWidth() {
                return i2.borderWidth;
              }, reset() {
                s2({ borderWidth: a2 }), e4({ [o2]: void 0 });
              } };
            }, { properties: { borderWidth: { type: ["string", "nil"] } } }, { borderWidth: [Ie({ propertyName: "borderWidth", cssProperty: "width" })] });
          }, ForegroundColor: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r3 } = e3, o2 = Oe({ name: Le.foregroundColor, prefix: t3 });
            return ge(({ setStyles: e4, sdkData: t4, createSdkState: n2 }) => {
              const [a2, i2] = n2({ foregroundColor: r3 ? void 0 : t4?.initialSdkStyles?.foregroundColor }, "foregroundColor");
              return { set foregroundColor(t5) {
                i2({ foregroundColor: t5 }), e4({ [o2]: t5 });
              }, get foregroundColor() {
                return a2.foregroundColor;
              }, reset() {
                i2({ foregroundColor: r3 ? void 0 : t4?.initialSdkStyles?.foregroundColor }), e4({ [o2]: void 0 });
              } };
            }, { properties: { foregroundColor: { type: ["string", "nil"] } } }, { foregroundColor: [Te({ propertyName: "foregroundColor", cssProperty: "rgbaColor", supportAlpha: true })] });
          }, BorderRadius: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r3 } = e3, o2 = Oe({ name: Le.borderRadius, prefix: t3 });
            return ge(({ setStyles: e4, sdkData: t4, createSdkState: n2 }) => {
              const a2 = t4?.initialSdkStyles?.borderRadius, [i2, s2] = n2({ borderRadius: r3 ? void 0 : a2 }, "borderRadius");
              return { set borderRadius(t5) {
                s2({ borderRadius: t5 }), e4({ [o2]: t5 });
              }, get borderRadius() {
                return i2.borderRadius;
              }, reset() {
                s2({ borderRadius: a2 }), e4({ [o2]: void 0 });
              } };
            }, { properties: { borderRadius: { type: ["string", "nil"] } } }, { borderRadius: [Ie({ propertyName: "borderRadius", cssProperty: "radius" })] });
          }, TextColor: (e3 = {}) => {
            const { prefix: t3, withoutDefaultValue: r3, supportedStates: o2 = [] } = e3, n2 = (e4, t4 = Be, o3 = Fe) => ge(({ setStyles: n3, sdkData: a3, createSdkState: i3 }) => {
              const s2 = a3?.initialSdkStyles?.[o3], l2 = r3 ? void 0 : s2, [c2, u2] = i3({ [t4]: l2 }, t4);
              return { set color(r4) {
                let o4 = r4;
                if (ye(r4) || he(r4)) {
                  const [e5, t5, n4] = ke(r4);
                  o4 = `rgb(${e5}, ${t5}, ${n4})`;
                }
                u2({ [t4]: o4 }), n3({ [e4]: o4 });
              }, get color() {
                return c2[t4];
              }, reset() {
                u2({ [t4]: l2 }), n3({ [e4]: void 0 });
              } };
            }, { properties: { color: { type: ["string", "nil"] } } }, { color: [Te({ propertyName: "color", cssProperty: "rgbColor", supportAlpha: false })] }), a2 = o2.map((e4) => ge((r4) => {
              const o3 = n2(Oe({ name: Ee[e4].textColor, prefix: t3 }), ((e5) => e5 + Pe(Be))(e4), ((e5) => e5 + Pe(Fe))(e4))(r4);
              return { [e4]: o3 };
            }, { properties: { [e4]: { type: ["object", "nil"] } } })), i2 = n2(Oe({ name: Le.textColor, prefix: t3 }));
            return (e4) => Object.assign(i2(e4), a2.reduce((t4, r4) => Object.assign(t4, r4(e4)), {}));
          }, FillColor: _e, StrokeColor: qe, IconColor: Me }, Ge = { BackgroundColor: { supportOpacity: true }, BorderColor: { supportOpacity: true }, BorderWidth: {}, ForegroundColor: { supportOpacity: true }, BorderRadius: {}, TextColor: {}, FillColor: { supportOpacity: true }, StrokeColor: { supportOpacity: true }, IconColor: {} }, Xe = "click", Ze = "dblClick", Ke = "mouseenter", Ue = "mouseleave", Ye = "change", Je = "blur", Qe = "focus", et = "imageChanged", tt = "imageExpanded", rt = "onInput", ot = "itemClicked", nt = "cellSelect", at = "cellEdit", it = "rowSelect", st = "fetchData", lt = "dataChange", ct = "onTimeout", ut = "onVerified", pt = "onError", dt = "onPlay", ft = "onPause", mt = "onProgress", gt = "onEnded", bt = "autoplayOff", ht = "autoplayOn", yt = "playEnded", vt = "playProgress", xt = "keyPress", wt = "keyUp", Nt = "keyDown", At = "screenIn", kt = "viewportEnter", $t = "viewportLeave", Ct = "scroll", Tt = "validate", It = "setCustomValidity", St = "syncValidationData", Ot = "updateValidityIndication", Lt = "message", jt = "uploadComplete", Et = "itemReady", Pt = "itemRemoved", Rt = "tagClick", Dt = "quickActionBarItemClicked", Vt = "markerClicked", Bt = "mapClicked", Ft = "iconMouseIn", _t = "onStateChange", qt = "itemMouseIn", Mt = "itemMouseOut", Wt = "itemMouseClick", Ht = "itemMouseDblClick", zt = "onColorChange", Gt = "onFontChange", Xt = "onOpacityChange", Zt = { [Xe]: "onClick", [Ze]: "onDblClick", [Ke]: "onMouseIn", [Ue]: "onMouseOut", [Ye]: "onChange", [rt]: "onInput", [Je]: "onBlur", [Qe]: "onFocus", [et]: "onCurrentItemChanged", [tt]: void 0, [ot]: "onItemClicked", [nt]: "onCellSelect", [at]: void 0, [it]: "onRowSelect", [st]: void 0, [lt]: "onDataChange", [ct]: "onTimeout", [ut]: "onVerified", [pt]: "onError", [dt]: "onPlay", [ft]: "onPause", [mt]: "onProgress", [gt]: "onEnded", [bt]: "onPause", [ht]: "onPlay", [yt]: void 0, [vt]: void 0, [xt]: "onKeyPress", [wt]: "onKeyUp", [Nt]: "onKeyDown", [At]: void 0, [kt]: "onViewportEnter", [$t]: "onViewportLeave", [Ct]: void 0, [Tt]: void 0, [It]: void 0, [St]: void 0, [Ot]: void 0, [Lt]: "onMessage", [jt]: void 0, [Et]: "onItemReady", [Pt]: "onItemRemoved", [Rt]: void 0, [Dt]: "onItemClicked", [Vt]: "onMarkerClicked", [Bt]: "onMapClicked", [Ft]: void 0, [_t]: "onStateChange", [qt]: "onItemMouseIn", [Mt]: "onItemMouseOut", [Wt]: "onItemClick", [Ht]: "onItemDblClick", [zt]: "onColorChange", [Gt]: "onFontChange", [Xt]: "onOpacityChange" }, Kt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, Ut = (e3) => {
            const { target: t3, type: r3, context: o2 } = e3;
            return { target: t3, type: Kt[r3] ?? r3, context: o2 };
          }, Yt = (e3) => {
            const { clientX: t3, clientY: r3, pageX: o2, pageY: n2, screenX: a2, screenY: i2, nativeEvent: s2 } = e3, { offsetX: l2, offsetY: c2 } = s2;
            return { clientX: t3, clientY: r3, pageX: o2, pageY: n2, screenX: a2, screenY: i2, offsetX: l2, offsetY: c2 };
          }, Jt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Qt = (e3) => e3.replace(/^on/i, ""), er = (e3) => e3.createSdkState({ listeners: [] }, "eventListeners"), tr = (e3, t3, r3, o2) => {
            const { create$w: n2, createEvent: a2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t3;
            if (!((e4, t4, r4) => me(r4)(e4, { type: ["function"] }, t4))(r3, Jt[e3] ?? e3, l2.role)) return s2();
            const [c2, u2] = er(t3), p2 = i2(e3, (e4, t4) => {
              const i3 = a2({ type: e4.type, compId: e4.compId }), s3 = n2({ context: i3.context }), l3 = o2?.({ componentEvent: e4, eventPayload: t4 });
              r3({ ...Ut(i3), ...l3 }, s3);
            }), d2 = { eventName: e3, compId: l2.compId, cb: r3, unregister: p2 };
            return u2({ listeners: [...c2.listeners, d2] }), s2();
          }, rr = (e3, t3) => {
            const r3 = ((e4) => {
              const t4 = Object.entries(Jt).find(([t5, r4]) => Qt(r4.toLowerCase()) === Qt(e4.toLowerCase()));
              return t4?.[0] ?? e4;
            })(Zt[t3] ?? t3);
            return e3.toLowerCase() === r3.toLowerCase();
          }, or = (e3, t3, r3, o2) => tr(e3, t3, r3, ({ componentEvent: e4, eventPayload: t4 }) => ({ ...Yt(e4), ...t4 && o2?.(t4) }));
          function nr(e3, t3) {
            const { modifyAriaSourceKeys: r3 } = t3 ?? {};
            return (t4) => {
              const o2 = {};
              for (let a2 = 0; a2 < e3.length; a2++) {
                const i2 = e3[a2](t4), s2 = Object.keys(i2);
                for (let e4 = 0; e4 < s2.length; e4++) {
                  const t5 = s2[e4], a3 = Object.getOwnPropertyDescriptor(i2, t5);
                  Object.defineProperty(o2, r3 && a3.get ? "aria" + (n2 = t5).charAt(0).toUpperCase() + n2.slice(1) : t5, a3);
                }
              }
              var n2;
              return o2;
            };
          }
          const ar = ({ handlers: e3, metaData: t3 }) => {
            const { compId: r3, connection: o2, compType: n2, isGlobal: a2, getParent: i2, role: s2, wixCodeId: l2 } = t3, c2 = `$w.${n2}`;
            return { get id() {
              return l2 || s2;
            }, get role() {
              return s2;
            }, get connectionConfig() {
              return o2?.config;
            }, get uniqueId() {
              return r3;
            }, get parent() {
              return i2();
            }, get global() {
              return a2();
            }, get type() {
              return c2;
            }, scrollTo() {
              return new Promise((t4) => e3.scrollToComponent(r3, t4));
            }, toJSON() {
              return { id: s2, type: c2, global: a2() };
            } };
          }, ir = (e3) => (t3) => {
            const { metaData: r3, getSdkInstance: o2, create$w: n2, createEvent: a2 } = t3, i2 = (e4, t4) => me(r3.role)(e4, { type: ["function"] }, t4);
            return { onViewportEnter: (r4) => i2(r4, "onViewportEnter") ? (e3?.("onViewportEnter", () => {
              const e4 = a2({ type: "viewportEnter" }), t4 = n2();
              r4(e4, t4);
            }), tr("onViewportEnter", t3, r4)) : o2(), onViewportLeave: (r4) => i2(r4, "onViewportLeave") ? (e3?.("onViewportLeave", () => {
              const e4 = a2({ type: "viewportLeave" }), t4 = n2();
              r4(e4, t4);
            }), tr("onViewportLeave", t3, r4)) : o2() };
          }, sr = { duration: 1200, delay: 0 }, lr = { arc: { ...sr, direction: "left" }, bounce: { ...sr, direction: "topLeft", intensity: "medium" }, puff: { ...sr }, zoom: { ...sr }, fade: { ...sr }, flip: { ...sr, direction: "right" }, float: { ...sr, direction: "right" }, fly: { ...sr, direction: "right" }, fold: { ...sr, direction: "left" }, glide: { ...sr, angle: 0, distance: 0 }, roll: { ...sr, direction: "left" }, slide: { ...sr, direction: "left" }, spin: { ...sr, direction: "cw", cycles: 5 }, turn: { ...sr, direction: "right" }, ArcIn: { ...sr, direction: "right" }, ArcOut: { ...sr, direction: "right" }, BounceIn: { ...sr, direction: "topLeft", intensity: "medium" }, BounceOut: { ...sr, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...sr, direction: "right" }, CollapseOut: { ...sr }, Conceal: { ...sr, direction: "right" }, Reveal: { ...sr, direction: "left" }, FadeIn: { ...sr }, FadeOut: { ...sr }, FlipIn: { ...sr, direction: "left" }, FlipOut: { ...sr, direction: "left" }, FloatIn: { ...sr, direction: "right" }, FloatOut: { ...sr, direction: "right" }, FlyIn: { ...sr, direction: "right" }, FlyOut: { ...sr, direction: "right" }, FoldIn: { ...sr, direction: "left" }, FoldOut: { ...sr, direction: "left" }, GlideIn: { ...sr, angle: 0, distance: 150 }, GlideOut: { ...sr, angle: 0, distance: 150 }, DropIn: { ...sr }, PopOut: { ...sr }, SlideIn: { ...sr, direction: "left" }, SlideOut: { ...sr, direction: "left" }, SpinIn: { ...sr, direction: "cw", cycles: 2 }, SpinOut: { ...sr, direction: "cw", cycles: 2 }, TurnIn: { ...sr, direction: "right" }, TurnOut: { ...sr, direction: "right" } }, cr = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, ur = (e3) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e3}`, pr = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, dr = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, fr = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, mr = { arc: { type: ["object"], properties: { duration: pr, delay: dr, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: pr, delay: dr, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: pr, delay: dr } }, zoom: { type: ["object"], properties: { duration: pr, delay: dr } }, fade: { type: ["object"], properties: { duration: pr, delay: dr } }, flip: { type: ["object"], properties: { duration: pr, delay: dr, direction: fr } }, float: { type: ["object"], properties: { duration: pr, delay: dr, direction: fr } }, fly: { type: ["object"], properties: { duration: pr, delay: dr, direction: fr } }, fold: { type: ["object"], properties: { duration: pr, delay: dr, direction: fr } }, glide: { type: ["object"], properties: { duration: pr, delay: dr, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: pr, delay: dr, direction: fr } }, slide: { type: ["object"], properties: { duration: pr, delay: dr, direction: fr } }, spin: { type: ["object"], properties: { duration: pr, delay: dr, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: pr, delay: dr, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, gr = ({ propertyName: e3, compName: t3 }) => (r3, o2) => {
            if (!r3) return false;
            if (void 0 === o2) return true;
            const n2 = (({ effectName: e4, propertyName: t4, compName: r4 }) => (o3, n3) => {
              u(b({ propertyName: t4, compName: r4, effectName: e4, wrongValue: `${n3?.value}`, infoLink: ur(t4) }));
            })({ effectName: r3, propertyName: e3, compName: t3 });
            if (!fe({ reportError: n2, reportWarning: () => ({}) }, t3)(o2, { type: ["object"] }, e3)) return false;
            const a2 = (({ effectName: e4, propertyName: t4, compName: r4 }) => (o3, n3) => {
              u(m({ propertyName: t4, compName: r4, effectName: e4, wrongProperty: "value", wrongValue: `the key "${n3?.propertyName}" cannot be set to the value "${n3?.value}"`, infoLink: ur(t4) }));
            })({ effectName: r3, propertyName: e3, compName: t3 });
            return !!fe({ reportError: a2, reportWarning: () => ({}) }, t3)(o2, mr[r3], e3);
          }, br = (e3) => 0 === Object.keys(e3).length, hr = ({ viewportState: e3, hasPortal: t3 = false } = {}) => ({ setStyles: r3, portal: o2, metaData: n2, getSdkInstance: a2, runAnimation: i2, createSdkState: s2, styleUtils: l2, setProps: c2 }) => {
            const p2 = (({ compName: e4 }) => ({ effectName: t4, effectOptions: r4, propertyName: o3 }) => {
              const n3 = gr({ propertyName: o3, compName: e4 });
              if (!t4 && !r4) return false;
              if (!t4 && r4 && !br(r4)) return u(f({ propertyName: o3, compName: e4, infoLink: ur(o3) })), false;
              const a3 = "hide" === o3 ? "HIDE" : "SHOW", i3 = cr[a3]?.deprecatedValues;
              return t4 && r4 && i3 && i3.find((e5) => e5 === t4) && !br(r4) ? (u(g({ compName: e4, effectName: t4, propertyName: o3, infoLink: ur(o3) })), false) : !!i3.find((e5) => e5 === t4) || (t4 && !(t4 in mr) ? (u(d({ propertyName: o3, compName: e4, effectName: t4, infoLink: ur(o3) })), false) : !!n3(t4, r4));
            })({ compName: n2.role }), [m2, b2] = s2({ hidden: n2.hiddenOnLoad, collapsed: n2.collapsedOnLoad }, "hidden-collapsed");
            return { hide: async (n3, a3) => {
              if (c2({ hidden: true }), m2.collapsed || m2.hidden) b2({ hidden: true });
              else {
                if (p2({ effectName: n3, effectOptions: a3, propertyName: "hide" })) {
                  const e4 = { animationDirection: cr.HIDE.suffix, effectName: n3, effectOptions: { ...lr?.[n3] || sr, ...a3 } };
                  await Promise.all([i2(e4), t3 ? o2.runAnimation(e4) : void 0]);
                } else r3(l2.getHiddenStyles()), t3 && o2.setStyles(l2.getHiddenStyles());
                b2({ hidden: true }), e3?.onViewportLeave?.forEach((e4) => e4());
              }
            }, show: async (n3, a3) => {
              if (c2({ hidden: false }), !m2.collapsed && m2.hidden) {
                if (p2({ effectName: n3, effectOptions: a3, propertyName: "show" })) {
                  const e4 = { animationDirection: cr.SHOW.suffix, effectName: n3, effectOptions: { ...lr?.[n3] || sr, ...a3 } };
                  await Promise.all([i2(e4), t3 ? o2.runAnimation(e4) : void 0]);
                } else r3(l2.getShownStyles()), t3 && o2.setStyles(l2.getShownStyles());
                b2({ hidden: false }), e3?.onViewportEnter?.forEach((e4) => e4());
              } else b2({ hidden: false });
            }, collapse: async () => {
              c2({ collapsed: true }), m2.collapsed || (r3(l2.getCollapsedStyles()), t3 && o2.setStyles(l2.getCollapsedStyles()), b2({ collapsed: true }), m2.hidden || e3?.onViewportLeave?.forEach((e4) => e4()));
            }, expand: async () => {
              if (c2({ collapsed: false }), m2.collapsed) {
                const n3 = { ...l2.getExpandedStyles(), visibility: m2.hidden ? "hidden" : null };
                r3(n3), t3 && o2.setStyles(n3), b2({ collapsed: false }), m2.hidden || e3?.onViewportEnter?.forEach((e4) => e4());
              }
            }, get collapsed() {
              return m2.collapsed;
            }, get hidden() {
              return Boolean(m2.hidden);
            }, get isVisible() {
              if (!n2.isRendered()) return false;
              let e4 = a2();
              for (; e4; ) {
                if (e4.hidden || e4.collapsed) return false;
                e4 = e4.parent;
              }
              return true;
            }, get isAnimatable() {
              return true;
            } };
          }, yr = (e3) => (t3) => ((e4, t4 = false) => {
            const [r3, o2] = e4.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
            return nr([hr({ viewportState: r3, hasPortal: t4 }), ir((e5, t5) => {
              o2({ [e5]: [...r3[e5], t5] });
            })])(e4);
          })(t3, e3), vr = (e3, t3, r3) => {
            const o2 = t3.filter((t4) => !e3.includes(t4));
            o2.length && c(G({ functionName: r3, wrongEffects: o2, allowedEffects: e3 }));
          }, xr = (e3) => {
            const t3 = () => e3.effectsTriggersApi?.getEffects() || [];
            return { effects: { get effects() {
              return t3();
            }, get activeEffects() {
              return e3.effectsTriggersApi?.getActiveEffects() || [];
            }, applyEffects: (r3) => {
              vr(t3(), r3, "applyEffects"), e3.effectsTriggersApi?.applyEffects(...r3);
            }, removeEffects: (r3) => {
              vr(t3(), r3, "removeEffects"), e3.effectsTriggersApi?.removeEffects(...r3);
            }, toggleEffects: (r3) => {
              vr(t3(), r3, "toggleEffects"), e3.effectsTriggersApi?.toggleEffects(...r3);
            }, removeAllEffects: () => e3.effectsTriggersApi?.removeAllEffects() } };
          }, wr = (e3) => ({ delete: () => {
            e3.setProps({ deleted: true }), e3.remove();
          }, restore: () => {
            e3.setProps({ deleted: false }), e3.restore();
          }, get deleted() {
            return !!e3.props.deleted;
          } }), Nr = (e3, t3) => "string" != typeof e3 ? (Ar(e3, t3, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e3) || ($r(e3, t3), false), Ar = (e3, t3, r3, o2) => {
            c(W({ propertyName: e3, functionName: t3, value: r3, expectedType: o2 }));
          }, kr = (e3, t3) => {
            c(x({ propertyName: e3, functionName: t3 }));
          }, $r = (e3, t3) => {
            c(U({ propertyName: e3, functionName: t3 }));
          }, Cr = (e3) => {
            const { setProps: t3, props: r3 } = e3;
            return { customClassList: { get value() {
              return r3.customClassNames ? r3.customClassNames?.join(" ") : "";
            }, values() {
              return r3.customClassNames ? r3.customClassNames : [];
            }, add(...e4) {
              const o2 = r3.customClassNames ? new Set(r3.customClassNames) : /* @__PURE__ */ new Set([]);
              if (e4.length) {
                for (const t4 of e4) {
                  if (!Nr(t4, "customClassList.add")) return;
                  o2.add(t4);
                }
                t3({ customClassNames: Array.from(o2) });
              } else kr("className", "customClassList.add");
            }, remove(...e4) {
              if (!e4.length) return void kr("className", "customClassList.remove");
              const o2 = new Set(r3.customClassNames);
              for (const t4 of e4) {
                if (!Nr(t4, "customClassList.remove")) return;
                o2.delete(t4);
              }
              t3({ customClassNames: Array.from(o2) });
            }, contains(e4) {
              if (e4) return Nr(e4, "customClassList.contains") ? !!r3.customClassNames && r3.customClassNames.includes(e4) : void 0;
              kr("className", "customClassList.contains");
            }, replace(e4, t4) {
              return e4 && t4 ? !(!Nr(t4, "customClassList.replace") || !Nr(e4, "customClassList.replace")) && (!!this.contains(e4) && (this.remove(e4), this.add(t4), true)) : (c(w({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
            }, toggle(e4) {
              return e4 ? !!Nr(e4, "customClassList.toggle") && (this.contains(e4) ? (this.remove(e4), false) : (this.add(e4), true)) : (kr("className", "customClassList.toggle"), false);
            } } };
          }, Tr = ({ role: e3, compType: t3, isGlobal: r3, isRendered: o2 }) => ({ id: e3, type: `$w.${t3}`, global: r3(), rendered: o2() }), Ir = (e3) => ({ onMouseIn: (t3) => or("onMouseEnter", e3, t3), onMouseOut: (t3) => or("onMouseLeave", e3, t3), removeEventHandler: (t3, r3) => {
            const { getSdkInstance: o2 } = e3;
            return "string" != typeof t3 ? (c(W({ propertyName: "type", functionName: "removeEventHandler", value: t3, expectedType: "string" })), o2()) : "function" != typeof r3 ? (c(W({ propertyName: "handler", functionName: "removeEventHandler", value: r3, expectedType: "function" })), o2()) : ((e4, t4, r4) => {
              const { metaData: o3, getSdkInstance: n2 } = t4, [a2, i2] = er(t4), s2 = a2.listeners.filter((t5) => rr(t5.eventName, e4) && t5.cb === r4 && t5.compId === o3.compId);
              for (const e5 of s2) e5.unregister();
              return i2({ listeners: a2.listeners.filter((e5) => !s2.includes(e5)) }), n2();
            })(t3, e3, r3);
          }, get rendered() {
            return e3.metaData.isRendered();
          }, toJSON() {
            return Tr(e3.metaData);
          } }), Sr = ir(), Or = (nr([ar, Sr, Ir, xr, Cr]), ge(({ setProps: e3, props: t3 }) => ({ get label() {
            return t3.ariaAttributes?.label;
          }, set label(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, label: a(r3) ? void 0 : r3 } });
          } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } }));
          var Lr;
          !function(e3) {
            e3.ARIA_LABEL_NOT_STRING = "aria-label must be string", e3.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e3.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
          }(Lr || (Lr = {}));
          const jr = (e3) => `The parameter that is passed to the ‘${e3}’ property must be a string or ‘null’.`, Er = (e3) => Pr(e3) && ("$w.Text" === e3.type || "$w.CollapsibleText" === e3.type), Pr = (e3) => Boolean(e3.id && e3.uniqueId && e3.type), Rr = (e3, t3, r3, o2, n2) => n2 ? !!r3(n2) || (c(o2), false) : !!t3 || (c(re({ value: n2, types: ["object"], propertyName: e3, functionName: `set ${e3}`, index: void 0 })), false), Dr = (e3, t3 = true) => (r3) => Rr(e3, t3, Pr, `The parameter that is passed to the ‘${e3}’ property must be a selector function of an element.`, r3), Vr = (e3, t3 = true) => (r3) => Rr(e3, t3, Er, `The parameter that is passed to the ‘${e3}’ property must be a selector function of a text element.`, r3), Br = ge(({ setProps: e3, props: t3, create$w: r3 }) => ({ get describedBy() {
            if (!t3.ariaAttributes?.describedBy) return;
            return r3()(`#${t3.ariaAttributes.describedBy}`);
          }, set describedBy(r4) {
            e3(r4 ? { ariaAttributes: { ...t3.ariaAttributes, describedBy: r4.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, describedBy: void 0 } });
          } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [Vr("describedBy")] }), Fr = ge(({ setProps: e3, props: t3, create$w: r3 }) => ({ get labelledBy() {
            if (!t3.ariaAttributes?.labelledBy) return;
            return r3()(`#${t3.ariaAttributes.labelledBy}`);
          }, set labelledBy(r4) {
            e3(r4 ? { ariaAttributes: { ...t3.ariaAttributes, labelledBy: r4.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, labelledBy: void 0 } });
          } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [Vr("labelledBy")] }), _r = ge(({ setProps: e3, props: t3 }) => ({ get atomic() {
            return t3.ariaAttributes?.atomic;
          }, set atomic(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, atomic: a(r3) ? void 0 : String(r3) } });
          } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), qr = ge(({ setProps: e3, props: t3 }) => ({ get busy() {
            return t3.ariaAttributes?.busy;
          }, set busy(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, busy: a(r3) ? void 0 : String(r3) } });
          } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Mr = ge(({ setProps: e3, props: t3 }) => ({ get current() {
            return t3.ariaAttributes?.current;
          }, set current(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, current: a(r3) ? void 0 : String(r3) } });
          } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), Wr = ge(({ setProps: e3, props: t3 }) => ({ get expanded() {
            return t3.ariaAttributes?.expanded;
          }, set expanded(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, expanded: a(r3) ? void 0 : String(r3) } });
          } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Hr = ge(({ setProps: e3, props: t3 }) => ({ get live() {
            return t3.ariaAttributes?.live;
          }, set live(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, live: a(r3) ? void 0 : r3 } });
          } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), zr = ge(({ setProps: e3, props: t3, create$w: r3 }) => ({ get owns() {
            if (!t3.ariaAttributes?.owns) return;
            return r3()(`#${t3.ariaAttributes.owns}`);
          }, set owns(r4) {
            e3(r4 ? { ariaAttributes: { ...t3.ariaAttributes, owns: r4.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, owns: void 0 } });
          } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [Dr("owns")] }), Gr = ge(({ setProps: e3, props: t3, create$w: r3 }) => ({ get controls() {
            if (!t3.ariaAttributes?.controls) return;
            return r3()(`#${t3.ariaAttributes.controls}`);
          }, set controls(r4) {
            e3(r4 ? { ariaAttributes: { ...t3.ariaAttributes, controls: r4.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, controls: void 0 } });
          } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [Dr("controls")] }), Xr = ge(({ setProps: e3, props: t3 }) => ({ get roleDescription() {
            return t3.ariaAttributes?.roleDescription;
          }, set roleDescription(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, roleDescription: a(r3) ? void 0 : r3 } });
          } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), Zr = ge(({ setProps: e3, props: t3 }) => ({ get relevant() {
            return t3.ariaAttributes?.relevant;
          }, set relevant(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, relevant: a(r3) ? void 0 : r3 } });
          } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), Kr = ge(({ setProps: e3, props: t3, create$w: r3 }) => ({ get errorMessage() {
            if (!t3.ariaAttributes?.errorMessage) return;
            return r3()(`#${t3.ariaAttributes.errorMessage}`);
          }, set errorMessage(r4) {
            e3(r4 ? { ariaAttributes: { ...t3.ariaAttributes, errorMessage: r4.uniqueId } } : { ariaAttributes: { ...t3.ariaAttributes, errorMessage: void 0 } });
          } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [Vr("errorMessage")] }), Ur = ge(({ setProps: e3, props: t3 }) => ({ get hidden() {
            return t3.ariaAttributes?.hidden;
          }, set hidden(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, hidden: a(r3) ? void 0 : String(r3) } });
          } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), Yr = ge(({ setProps: e3, props: t3 }) => ({ get pressed() {
            return t3.ariaAttributes?.pressed;
          }, set pressed(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, pressed: a(r3) ? void 0 : String(r3) } });
          } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), Jr = ge(({ setProps: e3, props: t3 }) => ({ get haspopup() {
            return t3.ariaAttributes?.haspopup;
          }, set haspopup(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, haspopup: a(r3) ? void 0 : String(r3) } });
          } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Qr = ge(({ setProps: e3, props: t3 }) => ({ get required() {
            return t3.ariaAttributes?.required;
          }, set required(r3) {
            e3({ ariaAttributes: { ...t3.ariaAttributes, required: a(r3) ? void 0 : String(r3) } });
          } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), eo = ({ setProps: e3, props: r3 }) => ({ screenReader: { get prefix() {
            return r3.screenReader?.prefix;
          }, set prefix(o2) {
            null === o2 || t2(o2) ? e3({ screenReader: { ...r3.screenReader, prefix: o2 } }) : c(jr("prefix"));
          }, get suffix() {
            return r3.screenReader?.suffix;
          }, set suffix(o2) {
            null === o2 || t2(o2) ? e3({ screenReader: { ...r3.screenReader, suffix: o2 } }) : c(jr("suffix"));
          }, get hasHint() {
            return r3.screenReader?.hasHint;
          }, set hasHint(t3) {
            e3({ screenReader: { ...r3.screenReader, hasHint: a(t3) ? void 0 : t3 } });
          } } }), to = (ge(eo, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), ge(({ setProps: e3, props: t3 }) => ({ get role() {
            return t3.role;
          }, set role(t4) {
            e3({ role: a(t4) ? void 0 : t4 });
          } }), { properties: { role: { type: ["string"] } } })), ro = ge(({ setProps: e3, props: t3 }) => ({ get tabIndex() {
            return t3.tabIndex;
          }, set tabIndex(t4) {
            e3({ tabIndex: a(t4) ? void 0 : t4 });
          } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), oo = { enableAriaLabel: Or, enableAriaDescribedBy: Br, enableAriaLabelledBy: Fr, enableAriaAtomic: _r, enableAriaBusy: qr, enableAriaCurrent: Mr, enableAriaExpanded: Wr, enableAriaLive: Hr, enableAriaOwns: zr, enableAriaControls: Gr, enableAriaRoleDescription: Xr, enableAriaRelevant: Zr, enableAriaErrorMessage: Kr, enableAriaHidden: Ur, enableAriaPressed: Yr, enableAriaHaspopup: Jr, enableAriaRequired: Qr }, no = { enableScreenReader: eo, enableRole: to, enableTabIndex: ro };
          var ao = o(7800), io = o.n(ao);
          const so = ["data", "aria"], lo = ["style", "class", "dir", "wix-comp", "role", "tabindex", "focus", "start"], co = ["href", "dataquery", "id", "rel", "target"], uo = ["color", "background-color", "font-size", "font-family", "font-style", "text-decoration", "writing-mode", "text-orientation", "line-height", "text-shadow", "direction", "position", "z-index", "top", "left", "overflow", "overflow-x", "overflow-y"];
          const po = function() {
            const e3 = { ...ao.whiteList, strike: [], hatul: [], wline: [], object: [] };
            return e3.a && e3.a.push(...co), Object.keys(e3).forEach((t3) => {
              e3[t3] || (e3[t3] = []), e3[t3].push(...lo);
            }), e3;
          }(), fo = uo.reduce((e3, t3) => (e3[t3] = true, e3), {});
          function mo(e3) {
            return io()(e3, { whiteList: po, stripIgnoreTagBody: ["script", "style"], stripBlankChar: true, css: { whiteList: { ...(0, ao.getDefaultCSSWhiteList)(), ...fo } }, safeAttrValue: function(e4, t3, r3, o2) {
              const n2 = function(e5, t4, r4, o3) {
                return "a" === e5 && "href" === t4 && r4.startsWith("wix:document") ? r4 : (0, ao.safeAttrValue)(e5, t4, r4, o3);
              }(e4, t3, r3, o2);
              return n2 || "";
            }, onIgnoreTagAttr(e4, t3, r3) {
              return so.some((e5) => t3.startsWith(e5)) ? `${t3}="${r3}"` : "";
            }, onIgnoreTag() {
              return "";
            } });
          }
          const go = "$w.Text";
          function bo() {
            for (var e3 = arguments.length, t3 = new Array(e3), r3 = 0; r3 < e3; r3++) t3[r3] = arguments[r3];
            return (e4) => t3.reduce((e5, t4) => t4(e5), e4);
          }
          var ho = o(5998), yo = o.n(ho);
          const vo = { p: "font_8", h1: "font_0", h2: "font_2", h3: "font_3", h4: "font_4", h5: "font_5", h6: "font_6", ol: "font_8", ul: "font_8" }, xo = /<(ol|ul|h[1-6]|p)(.*?)>/g, wo = /(class\s*=['"][^'"]*?)\bfont_([79])\b/;
          function No(e3) {
            return void 0 === e3 && (e3 = ""), e3.replace(xo, function(e4, t3, r3) {
              void 0 === r3 && (r3 = "");
              const o2 = new RegExp(`(class\\s*=['"].*?)` + vo[t3]);
              return o2.test(r3) ? e4 = e4.replace(o2, "$1") : "p" === t3 && wo.test(r3) && (e4 = e4.replace(wo, (e5, t4, r4) => t4 + ("7" === r4 ? "p1" : "p3"))), e4.replace(/class\s*=(['"])\s*\1/, "").replace(/class\s*=(['"])\s*(.*?)\s*\1/, (e5, t4, r4) => "class=" + t4 + r4 + t4).replace(/(.+)\s{2,}/g, "$1 ").replace(/\s+>/, ">");
            });
          }
          const Ao = /<(ol|ul|h[1-6]|p)(.*?)>/g, ko = /class\s*?=\s*["'](.*?)['"]/, $o = /(class\s*?=\s*["'])(.*?)(['"])/;
          function Co(e3, t3, r3) {
            if (!e3 || t3 === r3) return e3;
            const o2 = ((e4) => {
              const t4 = [];
              return yo().parseFragment(e4, { onOpenTag: (e5) => {
                let { tagName: r4 } = e5;
                t4.push(r4);
              }, onClosingTag: (e5) => {
                let { tagName: r4 } = e5;
                t4.push("/" + r4);
              } }), t4;
            })(e3);
            if (0 === o2.length || o2[0] !== t3 || o2[o2.length - 1] !== "/" + t3 || !((e4, t4) => {
              const r4 = e4.filter((e5) => e5 === t4 || e5 === "/" + t4);
              r4.shift(), r4.pop();
              let o3 = 0;
              for (const e5 of r4) if (o3 += e5 === t4 ? 1 : -1, o3 < 0) return false;
              return true;
            })(o2, t3)) return e3;
            const n2 = new RegExp("<" + t3);
            return e3.substring(0, e3.lastIndexOf("</" + t3)).concat("</" + r3 + ">").replace(n2, "<" + r3);
          }
          const To = (e3) => e3.replace(/<span class="wixGuard">([^<]*)<\/span>/g, function(e4, t3) {
            return void 0 === t3 && (t3 = ""), "&#8203;" === t3.trim() ? "" : t3;
          });
          var Io = { ldquo: "“", lsquo: "‘", rsquo: "’", laquo: "«", raquo: "»", lsaquo: "‹", rsaquo: "›", lt: "<", gt: ">", amp: "&", bull: "•", deg: "°", hellip: "…", trade: "™", copy: "©", reg: "®", mdash: "—", ndash: "–", nbsp: " ", emsp: " ", ensp: " ", sup2: "²", sup3: "³", frac14: "¼", frac12: "½", frac34: "¾" };
          const So = Object.keys(Io).sort((e3, t3) => t3.length - e3.length);
          var Oo = new RegExp("&(" + So.join("|") + ");|&#([0-9]+);|&#[xX]([a-fA-F0-9]+);", "g"), Lo = { 0: "�", 128: "€", 130: "‚", 131: "ƒ", 132: "„", 133: "…", 134: "†", 135: "‡", 136: "ˆ", 137: "‰", 138: "Š", 139: "‹", 140: "Œ", 142: "Ž", 145: "‘", 146: "’", 147: "“", 148: "”", 149: "•", 150: "–", 151: "—", 152: "˜", 153: "™", 154: "š", 155: "›", 156: "œ", 158: "ž", 159: "Ÿ" };
          function jo(e3) {
            let t3 = "";
            return e3 in Lo ? Lo[e3] : (e3 > 65535 && (e3 -= 65536, t3 += String.fromCharCode(e3 >>> 10 & 1023 | 55296), e3 = 56320 | 1023 & e3), t3 + String.fromCharCode(e3));
          }
          const Eo = (e3) => {
            if (!e3) return e3;
            if (self.he) return self.he.decode(e3);
            return function(e4) {
              const t3 = [];
              let r3 = [], o2 = false;
              for (const n2 of e4) o2 && ";" !== n2 && r3.push(n2), "&" === n2 && (o2 = true), ";" === n2 && (t3.push(r3.join("")), o2 = false, r3 = []);
              return t3;
            }(e3).every((e4) => e4 in Io || "#" === e4[0]) ? e3.replace(Oo, (e4, t3, r3, o2) => t3 ? Io[t3] : r3 ? jo(parseInt(r3, 10)) : o2 ? jo(parseInt(o2, 16)) : e4) : (self.importScripts("https://static.parastorage.com/unpkg/he@1.2.0/he.js"), Eo(e3));
          };
          function Po(e3, t3) {
            const r3 = [];
            let o2 = false;
            return yo().parseFragment(e3, { onText: () => {
              o2 = true;
            }, onOpenTag: (e4) => {
              "span" === e4.tagName && 'class="wixGuard"' === e4.props && (o2 = true), o2 || r3.push(e4);
            }, onClosingTag: () => {
              o2 || r3.pop();
            } }), function(e4, t4) {
              let r4 = "", o3 = "";
              for (const { tagName: t5, props: n2 } of e4) r4 += n2 ? "<" + t5 + " " + n2 + ">" : "<" + t5 + ">", o3 = "</" + t5 + ">" + o3;
              return r4 + t4 + o3;
            }(r3, t3);
          }
          const Ro = "span", Do = 'data-attr-richtext-marker="true"';
          function Vo(e3) {
            return "<" + Ro + " " + Do + ">" + e3 + "</" + Ro + ">";
          }
          function Bo(e3, t3) {
            const r3 = _o(e3);
            return r3.withMarker ? "" + r3.before + Vo(t3) + r3.after : e3;
          }
          function Fo(e3) {
            return _o(e3).marker;
          }
          function _o(e3) {
            let t3 = false, r3 = false;
            const o2 = { before: "", marker: "", after: "", withMarker: false }, n2 = [];
            return yo().parseFragment(e3, { onText: (e4) => {
              t3 ? o2.marker += e4 : r3 ? o2.after += e4 : o2.before += e4;
            }, onOpenTag: (e4) => {
              const a2 = function(e5) {
                const t4 = e5.props ? " " + e5.props : "";
                return "<" + e5.tagName + t4 + ">";
              }(e4);
              t3 && (n2.push(e4.tagName), o2.marker += a2), r3 || e4.tagName !== Ro || e4.props !== Do || (o2.withMarker = true, t3 = true), t3 || (r3 ? o2.after += a2 : o2.before += a2);
            }, onClosingTag: (e4) => {
              const a2 = "</" + e4.tagName + ">";
              t3 ? 0 === n2.length && e4.tagName === Ro ? (r3 = true, t3 = false) : (o2.marker += a2, n2.pop()) : r3 ? o2.after += a2 : o2.before += a2;
            } }), o2;
          }
          const qo = /(?:<a.*?href=(["']))(.*?)(?:\1)/i, Mo = /<a(.*?((target=["']([^"]+)["']).*?)?)>/i, Wo = /<a.*?>/gi, Ho = (e3, t3, r3) => {
            const o2 = qo.exec(e3);
            if (o2) {
              const n2 = o2[0], a2 = o2[2], i2 = t3(a2), s2 = n2.replace(a2, r3(i2));
              return function(e4, t4) {
                void 0 === t4 && (t4 = "_blank");
                const r4 = Mo.exec(e4);
                if (r4) {
                  const [o3, n3, a3, i3, s3] = r4;
                  if ("_blank" === s3 || "_self" === s3) return e4;
                  let l2;
                  return i3 ? (l2 = n3.replace(i3, 'target="' + t4 + '"'), l2 = o3.replace(n3, l2)) : l2 = o3.replace(n3, n3 + ' target="' + t4 + '"'), e4.replace(o3, l2);
                }
                return e4;
              }(e3.replace(n2, s2), i2.target);
            }
            return e3;
          }, zo = function(e3, t3, r3) {
            void 0 === r3 && (r3 = (e4) => e4.href || "");
            const o2 = [];
            let n2;
            do {
              if (n2 = Wo.exec(e3), n2) {
                const [e4] = n2, a2 = Ho(e4, t3, r3);
                o2.push([e4, a2]);
              }
            } while (n2);
            return o2.reduce((e4, t4) => {
              let [r4, o3] = t4;
              return e4.replace(r4, o3);
            }, e3);
          }, Go = { "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }, Xo = /[&<>"']/g, Zo = RegExp(Xo.source);
          const Ko = { "&amp;": "&", "&lt;": "<", "&gt;": ">", "&quot;": '"', "&#39;": "'" }, Uo = /&(?:amp|lt|gt|quot|#(0+)?39);/g, Yo = RegExp(Uo.source);
          const Jo = /(?:<object.*?>)?<a data-auto-recognition="true".*?>(.*?)<\/a>(?:<\/object>)?/g, Qo = (e3) => e3.replace(Jo, (e4, t3) => t3), en = "wixui-", tn = (e3, ...t3) => {
            const r3 = [];
            return r3.push(`${en}${e3}`), t3.forEach((e4) => {
              e4 && (r3.push(`${en}${e4}`), r3.push(e4));
            }), r3.join(" ");
          };
          var rn = o(8637);
          var on = { text: "rich-text__text" };
          const nn = (e3) => {
            const t3 = tn(on.text);
            try {
              return (0, rn.transformHTMLString)(e3, { start: function(e4, r3) {
                const o2 = r3.find((e5) => "class" === e5.name);
                o2 ? (o2.value += " " + t3, o2.escaped += " " + t3) : r3.push({ name: "class", value: t3, escaped: t3 });
                for (var n2 = arguments.length, a2 = new Array(n2 > 2 ? n2 - 2 : 0), i2 = 2; i2 < n2; i2++) a2[i2 - 2] = arguments[i2];
                return { tag: e4, attributes: r3, ...a2 };
              } });
            } catch (t4) {
              return console.log("Failed to inject semanticClass of " + on.text, t4), e3;
            }
          }, an = new RegExp("</(h[1-6]|p)[^>]*>", "mg"), sn = new RegExp("</([-A-Za-z0-9_?:]+)[^>]*>", "mg"), ln = new RegExp(`<([-A-Za-z0-9_?:]+)((?:\\s+(?:x:)?[-A-Za-z0-9_]+(?:\\s*=\\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\\s]+))?)*)\\s*(/?)>`, "mg"), cn = (e3) => a(e3) ? "" : e3, un = (dn = { TextColor: true }, ge((pn = He(...Object.keys(dn).filter((e3) => dn[e3]).map((e3) => {
            const t3 = "boolean" != typeof dn[e3] ? dn[e3] : Ge[e3];
            return ze[e3]({ prefix: fn?.cssVarPrefix, withoutDefaultValue: t3.withoutDefaultValue, supportOpacity: t3.supportOpacity, supportedStates: t3.supportedStates });
          })), (e3) => {
            const t3 = pn(e3);
            return t3.removeProperty = (e4) => {
              const [r3, o2] = e4.includes(".") ? e4.split(".").reverse() : [e4, void 0];
              if (!o2 && !(r3 in t3) || o2 && !(r3 in (t3[o2] ?? {}))) {
                const r4 = Object.keys(t3).filter((e5) => "removeProperty" !== e5);
                return void c(oe({ functionName: "removeProperty", propertyName: "propertyName", value: e4, enum: r4, index: void 0 }));
              }
              const n2 = o2 ? t3[o2] : t3;
              n2[We]?.(r3);
            }, { get style() {
              return t3;
            } };
          }), { properties: { style: { type: ["object"] } } }));
          var pn, dn, fn;
          const mn = { color: "hasColor" }, gn = (e3) => {
            const t3 = un(e3), { setProps: r3, props: o2, platformUtils: { linkUtils: n2 }, metaData: a2, sdkData: i2, createSdkState: s2 } = e3, [l2, c2] = s2(i2), u2 = (e4) => {
              if (!l2.linkPropsByHref || !l2.linkPropsByHref[e4]) {
                const t4 = n2.getLinkProps(e4);
                c2({ linkPropsByHref: { ...l2.linkPropsByHref || {}, [e4]: t4 } });
              }
              return l2.linkPropsByHref[e4];
            }, p2 = (e4) => zo(e4, u2), d2 = (e4) => zo(e4, u2, n2.getLink), f2 = () => bo(To, Qo, No, d2)(o2.html), m2 = (e4, t4, r4) => {
              const o3 = [cn, (e5) => function(e6, t5) {
                void 0 === e6 && (e6 = "");
                let { addDefaultClasses: r5 } = void 0 === t5 ? {} : t5;
                return e6 ? e6.replace(Ao, (e7, t6, o4) => {
                  const n3 = o4.match(ko);
                  if (!n3) return r5 ? "<" + t6 + o4 + ' class="' + vo[t6] + '">' : "<" + t6 + o4 + ">";
                  const a3 = n3[1];
                  return /(^|\s)font_[0-9]($|\s)/.test(a3) ? e7 : "p" === t6 && /\bp[13]\b/i.test(a3) ? e7.replace(/(.*?\bclass\s*?=.*?)\bp([13])\b(.*)/, (e8, t7, r6, o5) => t7 + ("1" === r6 ? "font_7" : "font_9") + o5) : "<" + t6 + o4.replace($o, (e8, r6, o5, n4) => "" + r6 + vo[t6] + " " + o5 + n4) + ">";
                }) : e6;
              }(e5, t4), p2, n2.getImpliedLinks, mo];
              return r4 && o3.push(nn), bo(...o3)(e4);
            }, g2 = () => {
              return o2.html ? Eo((e4 = Qo(To(o2.html)).replace(/\n/g, "").replace(/<br>/g, "\n").replace(/<br><\/br>/g, "\n").replace(/<br\s*\/?>/g, "\n").replace(an, "\n").replace(sn, "").replace(ln, "").trim()) && Yo.test(e4) ? e4.replace(Uo, (e5) => Ko[e5] || "'") : e4 || "") : "";
              var e4;
            }, b2 = () => bo(cn, Fo)(o2.html);
            return { get type() {
              return go;
            }, get html() {
              return f2();
            }, set html(e4) {
              r3({ html: m2(e4, { addDefaultClasses: true }, i2.shouldAttachSemanticClassNames) });
            }, get text() {
              return g2();
            }, set text(e4) {
              const t4 = e4 ? (a3 = e4, a3 && Zo.test(a3) ? a3.replace(Xo, (e5) => Go[e5]) : a3 || "").replace(/\n/g, "<br>") : '<span class="wixGuard">&#8203;</span>';
              var a3;
              const i3 = n2.getImpliedLinks(Po(Qo(o2.html), t4), { parseEscaped: true });
              r3({ html: i3 });
            }, get richText() {
              return b2();
            }, set richText(e4) {
              const t4 = Co(o2.html, "p", "div");
              if (t4.includes(Do)) r3({ html: Bo(t4, m2(e4)) });
              else {
                const o3 = Vo(m2(e4));
                r3({ html: Po(t4, o3) });
              }
            }, get style() {
              return { get color() {
                return t3.style.color;
              }, set color(e4) {
                t3.style.color = e4, r3({ corvid: { ...o2.corvid, hasColor: Boolean(t3.style.color) } });
              }, removeProperty(r4) {
                const o3 = mn[r4];
                o3 && (t3.style.removeProperty(r4), e3.setProps({ corvid: { ...e3.props.corvid, [o3]: false } }));
              } };
            }, toJSON() {
              return { ...Tr(a2), type: go, html: f2(), text: g2(), richText: b2() };
            } };
          }, bn = ge(gn, { properties: { html: { type: ["string", "nil"], warnIfNil: true }, text: { type: ["string", "nil"], warnIfNil: true } } }), hn = (({ useHiddenCollapsed: e3 = true, hasPortal: t3 = false } = {}) => nr([ar, Ir, xr, wr, e3 ? yr(t3) : Sr, Cr]))(), yn = (({ enableAriaLabel: e3 = true, enableAriaDescribedBy: t3 = true, enableAriaLabelledBy: r3 = true, enableAriaAtomic: o2 = false, enableAriaBusy: n2 = false, enableAriaHidden: a2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: c2 = false, enableAriaLive: u2 = false, enableAriaOwns: p2 = false, enableAriaControls: d2 = false, enableAriaRoleDescription: f2 = false, enableAriaRelevant: m2 = false, enableRole: g2 = false, enableTabIndex: b2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: y2 = false, enableAriaRequired: v2 = false } = {}) => (x2) => {
            const w2 = [], N2 = { enableAriaLabel: e3, enableAriaDescribedBy: t3, enableAriaLabelledBy: r3, enableAriaAtomic: o2, enableAriaBusy: n2, enableAriaCurrent: l2, enableAriaExpanded: c2, enableAriaLive: u2, enableAriaOwns: p2, enableAriaControls: d2, enableAriaRoleDescription: f2, enableAriaRelevant: m2, enableAriaErrorMessage: h2, enableAriaHidden: a2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, A2 = { enableScreenReader: y2, enableRole: g2, enableTabIndex: b2 };
            if (Object.values(N2).some((e4) => e4)) {
              const e4 = ((e5) => {
                const t4 = [];
                return Object.entries(e5).forEach(([e6, r4]) => r4 && oo[e6] && t4.push(oo[e6])), (e6) => {
                  const r4 = nr(t4, { modifyAriaSourceKeys: true })(e6);
                  return r4.ariaAttributes = nr(t4)(e6), r4;
                };
              })(N2);
              w2.push(e4);
            }
            Object.entries(A2).forEach(([e4, t4]) => t4 && no[e4] && w2.push(no[e4]));
            return { accessibility: nr(w2)(x2) };
          })({ enableRole: true, enableAriaHidden: true, enableAriaLabel: true, enableAriaLabelledBy: true, enableAriaDescribedBy: true, enableAriaRoleDescription: true, enableAriaLive: true, enableAriaAtomic: true, enableAriaRelevant: true, enableAriaBusy: true, enableTabIndex: true, enableScreenReader: true }), vn = nr([hn, (e3) => ({ onClick: (t3) => or("onClick", e3, t3), onDblClick: (t3) => or("onDblClick", e3, t3) }), yn, bn, (e3) => ({ focus: () => e3.compRef.focus(), blur: () => e3.compRef.blur(), onFocus: (t3) => tr("onFocus", e3, t3), onBlur: (t3) => tr("onBlur", e3, t3) }), (e3) => ({ onKeyUp: (t3) => tr("onKeyUp", e3, t3) })]);
          var xn = { factory: vn };
        }(), n;
      }();
    });
  })(WRichText_bundle_min);
  var WRichText_bundle_minExports = WRichText_bundle_min.exports;
  const WRichText = /* @__PURE__ */ getDefaultExportFromCjs(WRichText_bundle_minExports);
  var WutAvatar_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, r2) {
          for (var n2 in r2) e.o(r2, n2) && !e.o(t2, n2) && Object.defineProperty(t2, n2, { enumerable: true, get: r2[n2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return Br;
        }, sdk: function() {
          return Dr;
        } });
        function r(e2, t2) {
          const { modifyAriaSourceKeys: r2 } = t2 ?? {};
          return (t3) => {
            const n2 = {};
            for (let i2 = 0; i2 < e2.length; i2++) {
              const o2 = e2[i2](t3), s2 = Object.keys(o2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], i3 = Object.getOwnPropertyDescriptor(o2, t4);
                Object.defineProperty(n2, r2 && i3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, i3);
              }
            }
            var a2;
            return n2;
          };
        }
        const n = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, a = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function i(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function o(e2) {
          return "string" == typeof e2;
        }
        function s(e2) {
          return Array.isArray(e2);
        }
        function u(e2) {
          return null == e2;
        }
        function l(e2, t2) {
          return t2.includes(e2);
        }
        function p(e2, t2) {
          return e2 > t2;
        }
        function c(e2, t2) {
          return e2 < t2;
        }
        const m = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, d = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${n2}"')`, f = ({ propertyName: e2, compName: t2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, y = ({ propertyName: e2, compName: t2, effectName: r2, wrongProperty: n2, wrongValue: a2, infoLink: i2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${n2}: ${a2}. Read more about the effectOptions object: "${i2}"')`, b = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: n2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${n2}"`, h = ({ propertyName: e2, compName: t2, effectName: r2, wrongValue: n2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${n2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, g = ({ propertyName: e2, functionName: t2, compName: r2 }) => `The ${e2} parameter of "${r2}" that is passed to the ${t2} method cannot be set to null.`, v = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to null or undefined.`, N = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, x = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is required for ${t2} method.`, A = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, w = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, I = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is not allowed for ${t2} method.`, C = ({ propertyNames: e2, functionName: t2, index: r2 }) => `The following parameters: ${[...e2]} of item at index ${r2} are unknown for ${t2} method.`, T = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${a2}.`, O = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${a2}.`, S = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${n2}.`, E = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${n2}.`, j = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, L = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, P = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, k = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, V = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${n2} and ${a2}.`, R = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${n2} and ${a2}.`, D = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${n2}.`, B = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${n2}.`, M = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, F = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, _ = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${n2}.`, q = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${n2}.`, H = ({ propertyName: e2, functionName: t2, value: r2, expectedType: n2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${n2}.`, W = ({ propertyName: e2, functionName: t2, value: r2, expectedType: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${n2}.`, z = ({ propertyName: e2, functionName: t2, value: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format`, G = ({ functionName: e2, wrongEffects: t2, allowedEffects: r2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, Y = ({ propertyName: e2, functionName: t2, value: r2, index: n2 }) => `The "${e2}" property of the item at index ${n2} that is passed to the ${t2} method cannot be set to "${r2}". Bad format`, X = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, K = ({ compName: e2, functionName: t2, propertyName: r2, index: n2 }) => i(n2) ? v({ propertyName: r2, functionName: t2, index: n2 }) : e2 ? g({ compName: e2, functionName: t2, propertyName: r2 }) : m({ functionName: t2, propertyName: r2 }), U = ({ functionName: e2, propertyName: t2, index: r2 }) => i(r2) ? $({ functionName: e2, propertyName: t2, index: r2 }) : N({ functionName: e2, propertyName: t2 }), J = ({ functionName: e2, propertyNames: t2, index: r2 }) => t2 && t2.length > 1 ? i(r2) ? C({ functionName: e2, propertyNames: t2, index: r2 }) : w({ functionName: e2, propertyNames: t2 }) : i(r2) ? I({ functionName: e2, propertyName: t2[0], index: r2 }) : A({ functionName: e2, propertyName: t2[0] }), Z = ({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2, index: o2 }) => a2 && n2 ? a2 === n2 ? i(o2) ? E({ functionName: e2, propertyName: t2, value: r2, expectedValue: a2, index: o2 }) : S({ functionName: e2, propertyName: t2, value: r2, expectedValue: a2 }) : i(o2) ? O({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2, index: o2 }) : T({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2 }) : !a2 && n2 ? i(o2) ? k({ functionName: e2, propertyName: t2, value: r2, maximum: n2, index: o2 }) : P({ functionName: e2, propertyName: t2, value: r2, maximum: n2 }) : i(o2) ? L({ functionName: e2, propertyName: t2, value: r2, minimum: a2, index: o2 }) : j({ functionName: e2, propertyName: t2, value: r2, minimum: a2 }), Q = ({ functionName: e2, propertyName: t2, value: r2, minimum: n2, maximum: a2, index: o2 }) => n2 && a2 ? n2 === a2 ? i(o2) ? B({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2, index: o2 }) : D({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2 }) : i(o2) ? R({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2, index: o2 }) : V({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2 }) : !n2 && a2 ? i(o2) ? q({ functionName: e2, propertyName: t2, maximum: a2, value: r2, index: o2 }) : _({ functionName: e2, propertyName: t2, maximum: a2, value: r2 }) : i(o2) ? F({ functionName: e2, propertyName: t2, value: r2, minimum: n2, index: o2 }) : M({ functionName: e2, propertyName: t2, value: r2, minimum: n2 }), ee = ({ functionName: e2, propertyName: t2, types: r2, value: n2, index: a2 }) => {
          const o2 = r2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return i(a2) ? W({ functionName: e2, index: a2, propertyName: t2, value: n2, expectedType: o2 }) : H({ functionName: e2, propertyName: t2, value: n2, expectedType: o2 });
        }, te = ({ functionName: e2, propertyName: t2, value: r2, enum: n2, index: a2 }) => {
          const o2 = `from (${n2.join(",")})`;
          return i(a2) ? W({ functionName: e2, propertyName: t2, value: r2, expectedType: o2, index: a2 }) : H({ functionName: e2, propertyName: t2, value: r2, expectedType: o2 });
        }, re = ({ functionName: e2, propertyName: t2, value: r2, index: n2 }) => i(n2) ? Y({ functionName: e2, propertyName: t2, value: r2, index: n2 }) : z({ functionName: e2, propertyName: t2, value: r2 }), ne = Object.prototype.hasOwnProperty, ae = Object.getOwnPropertyNames, ie = () => {
        };
        function oe(e2, t2, r2, n2, a2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !s(e3);
          }(e2)) return pe.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => oe(e2, t3, r2, ie, a2, i2)).filter((e3) => e3 === pe.Valid).length ? pe.Valid : pe.Invalid;
          if (t2.required) {
            for (let r3 = 0; r3 < t2.required.length; r3++) if (!ne.call(e2, t2.required[r3])) return n2(U({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[r3] }), { ...i2, value: e2 }), pe.Invalid;
          }
          const o2 = ae(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ae(e2).filter((e3) => !o2.includes(e3));
            if (t3.length) {
              return n2(J({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), pe.Invalid;
            }
          }
          for (let n3 = 0; n3 < o2.length; n3++) {
            const a3 = o2[n3];
            if (ne.call(e2, a3)) {
              const n4 = t2.properties[a3], o3 = e2[a3];
              if (!r2(o3, n4, { functionName: i2.functionName, index: i2.index, propertyName: a3 })) return pe.Invalid;
            }
          }
          return pe.Valid;
        }
        function se(e2) {
          return Array.isArray(e2);
        }
        function ue(e2, t2, r2, n2) {
          const { minimum: a2, maximum: o2, enum: s2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? s2 && !l(e2, s2) ? (r2(te({ value: e2, enum: s2, ...n2 }), { ...n2, value: e2 }), pe.Invalid) : i(a2) && c(e2, a2) || i(o2) && p(e2, o2) ? (r2(Q({ value: e2, minimum: a2, maximum: o2, ...n2 }), { ...n2, value: e2 }), pe.Invalid) : pe.Valid : pe.InvalidType;
        }
        function le(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? pe.Valid : pe.InvalidType;
        }
        const pe = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function ce({ reportError: e2, reportWarning: t2 }, r2, { suppressIndexErrors: n2 = false } = {}) {
          function a2(n3, a3, i2) {
            a3.warnIfNil && u(n3) && t2(K({ ...i2, compName: r2 }), { ...i2, value: n3 });
            let o2 = 0;
            for (; o2 < a3.type.length; o2++) {
              const e3 = (0, m2[a3.type[o2]])(n3, a3, i2);
              if (e3 !== pe.InvalidType) return e3 === pe.Valid;
            }
            return o2 === a3.type.length && e2(ee({ value: n3, types: a3.type, ...i2 }), { ...i2, value: n3 }), false;
          }
          const m2 = { object: (r3, n3, i2) => oe(r3, n3, a2, e2, t2, i2), array: (e3, t3, r3) => function(e4, t4, r4, n3, a3, i2 = false) {
            if (!s(e4)) return pe.InvalidType;
            let o2 = pe.Valid;
            if (t4.items) {
              const n4 = se(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let s2 = 0; s2 < n4; s2++) {
                const n5 = e4[s2];
                let u2, l2;
                se(t4.items) ? (u2 = t4.items[s2], l2 = t4.items[s2].name) : (u2 = t4.items, l2 = t4.name), r4(n5, u2, { functionName: a3.functionName, propertyName: l2 || a3.propertyName, index: i2 ? void 0 : s2 }) || (o2 = pe.Invalid);
              }
            }
            return o2;
          }(e3, t3, a2, 0, r3, n2), number: (t3, r3, n3) => function(e3, t4, r4, n4) {
            const { minimum: a3, maximum: o2, enum: s2 } = t4;
            return i(e3) ? s2 && !l(e3, s2) ? (r4(te({ value: e3, enum: s2, ...n4 }), { ...n4, value: e3 }), pe.Invalid) : i(a3) && c(e3, a3) || i(o2) && p(e3, o2) ? (r4(Q({ value: e3, minimum: a3, maximum: o2, ...n4 }), { ...n4, value: e3 }), pe.Invalid) : pe.Valid : pe.InvalidType;
          }(t3, r3, e2, n3), integer: (t3, r3, n3) => ue(t3, r3, e2, n3), string: (t3, r3, n3) => function(e3, t4, r4, n4) {
            const { minLength: a3, maxLength: i2, enum: s2, pattern: u2 } = t4;
            return o(e3) ? s2 && !l(e3, s2) ? (r4(te({ value: e3, enum: s2, ...n4 }), { ...n4, value: e3 }), pe.Invalid) : a3 && c(e3.length, a3) || i2 && p(e3.length, i2) ? (r4(Z({ value: e3, minimum: a3, maximum: i2, ...n4 }), { ...n4, value: e3 }), pe.Invalid) : u2 && !new RegExp(u2).test(e3) ? (r4(re({ value: e3, ...n4 }), { ...n4, value: e3 }), pe.Invalid) : pe.Valid : pe.InvalidType;
          }(t3, r3, e2, n3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? pe.Valid : pe.InvalidType;
          }(e3), date: (e3) => le(e3), nil: (e3) => function(e4) {
            return u(e4) ? pe.Valid : pe.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? pe.Valid : pe.InvalidType;
          }(e3) };
          return function(e3, t3, r3) {
            return a2(e3, t3, { functionName: r3, propertyName: r3, index: void 0 });
          };
        }
        function me(e2, { suppressIndexErrors: t2 = false } = {}) {
          return ce({ reportError: n, reportWarning: a }, e2, { suppressIndexErrors: t2 });
        }
        function de(e2, t2, r2 = {}) {
          return (n2) => {
            const a2 = e2(n2), i2 = me(n2.metaData.role), o2 = me(n2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const u2 = Object.getOwnPropertyDescriptor(a2, s2), l2 = { enumerable: true, configurable: true };
              return u2.value ? "function" == typeof u2.value ? l2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, i3 = r2[s2];
                let l3 = true;
                return a3 && (l3 = o2(e4, { type: ["array"], items: a3 }, s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, n2))), l3 ? u2.value(...e4) : void 0;
              } : l2.value = u2.value : (u2.get && (l2.get = () => a2[s2]), u2.set && (l2.set = (e4) => {
                const o3 = r2[s2];
                let u3 = true;
                t2.properties[s2] && (u3 = i2(e4, t2.properties[s2], s2)), u3 && o3 && (u3 = o3.every((t3) => t3(e4, n2))), u3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, l2), e3;
            }, {});
          };
        }
        const fe = "click", ye = "dblClick", be = "mouseenter", he = "mouseleave", ge = "change", ve = "blur", Ne = "focus", xe = "imageChanged", $e = "imageExpanded", Ae = "onInput", we = "itemClicked", Ie = "cellSelect", Ce = "cellEdit", Te = "rowSelect", Oe = "fetchData", Se = "dataChange", Ee = "onTimeout", je = "onVerified", Le = "onError", Pe = "onPlay", ke = "onPause", Ve = "onProgress", Re = "onEnded", De = "autoplayOff", Be = "autoplayOn", Me = "playEnded", Fe = "playProgress", _e = "keyPress", qe = "keyUp", He = "keyDown", We = "screenIn", ze = "viewportEnter", Ge = "viewportLeave", Ye = "scroll", Xe = "validate", Ke = "setCustomValidity", Ue = "syncValidationData", Je = "updateValidityIndication", Ze = "message", Qe = "uploadComplete", et = "itemReady", tt = "itemRemoved", rt = "tagClick", nt = "quickActionBarItemClicked", at = "markerClicked", it = "mapClicked", ot = "iconMouseIn", st = "onStateChange", ut = "itemMouseIn", lt = "itemMouseOut", pt = "itemMouseClick", ct = "itemMouseDblClick", mt = "onColorChange", dt = "onFontChange", ft = "onOpacityChange", yt = { [fe]: "onClick", [ye]: "onDblClick", [be]: "onMouseIn", [he]: "onMouseOut", [ge]: "onChange", [Ae]: "onInput", [ve]: "onBlur", [Ne]: "onFocus", [xe]: "onCurrentItemChanged", [$e]: void 0, [we]: "onItemClicked", [Ie]: "onCellSelect", [Ce]: void 0, [Te]: "onRowSelect", [Oe]: void 0, [Se]: "onDataChange", [Ee]: "onTimeout", [je]: "onVerified", [Le]: "onError", [Pe]: "onPlay", [ke]: "onPause", [Ve]: "onProgress", [Re]: "onEnded", [De]: "onPause", [Be]: "onPlay", [Me]: void 0, [Fe]: void 0, [_e]: "onKeyPress", [qe]: "onKeyUp", [He]: "onKeyDown", [We]: void 0, [ze]: "onViewportEnter", [Ge]: "onViewportLeave", [Ye]: void 0, [Xe]: void 0, [Ke]: void 0, [Ue]: void 0, [Je]: void 0, [Ze]: "onMessage", [Qe]: void 0, [et]: "onItemReady", [tt]: "onItemRemoved", [rt]: void 0, [nt]: "onItemClicked", [at]: "onMarkerClicked", [it]: "onMapClicked", [ot]: void 0, [st]: "onStateChange", [ut]: "onItemMouseIn", [lt]: "onItemMouseOut", [pt]: "onItemClick", [ct]: "onItemDblClick", [mt]: "onColorChange", [dt]: "onFontChange", [ft]: "onOpacityChange" }, bt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, ht = (e2) => {
          const { target: t2, type: r2, context: n2 } = e2;
          return { target: t2, type: bt[r2] ?? r2, context: n2 };
        }, gt = (e2) => {
          const { clientX: t2, clientY: r2, pageX: n2, pageY: a2, screenX: i2, screenY: o2, nativeEvent: s2 } = e2, { offsetX: u2, offsetY: l2 } = s2;
          return { clientX: t2, clientY: r2, pageX: n2, pageY: a2, screenX: i2, screenY: o2, offsetX: u2, offsetY: l2 };
        }, vt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Nt = (e2) => e2.replace(/^on/i, ""), xt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), $t = (e2, t2, r2, n2) => {
          const { create$w: a2, createEvent: i2, registerEvent: o2, getSdkInstance: s2, metaData: u2 } = t2;
          if (!((e3, t3, r3) => me(r3)(e3, { type: ["function"] }, t3))(r2, vt[e2] ?? e2, u2.role)) return s2();
          const [l2, p2] = xt(t2), c2 = o2(e2, (e3, t3) => {
            const o3 = i2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: o3.context }), u3 = n2?.({ componentEvent: e3, eventPayload: t3 });
            r2({ ...ht(o3), ...u3 }, s3);
          }), m2 = { eventName: e2, compId: u2.compId, cb: r2, unregister: c2 };
          return p2({ listeners: [...l2.listeners, m2] }), s2();
        }, At = (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = Object.entries(vt).find(([t4, r3]) => Nt(r3.toLowerCase()) === Nt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(yt[t2] ?? t2);
          return e2.toLowerCase() === r2.toLowerCase();
        }, wt = (e2, t2, r2, n2) => $t(e2, t2, r2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...gt(e3), ...t3 && n2?.(t3) })), It = (e2) => ({ onClick: (t2) => wt("onClick", e2, t2), onDblClick: (t2) => wt("onDblClick", e2, t2) }), Ct = (e2) => ({ onChange: (t2) => $t("onChange", e2, t2) }), Tt = (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => $t("onFocus", e2, t2), onBlur: (t2) => $t("onBlur", e2, t2) }), Ot = ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), St = ({ handlers: e2, metaData: t2 }) => {
          const { compId: r2, connection: n2, compType: a2, isGlobal: i2, getParent: o2, role: s2, wixCodeId: u2 } = t2, l2 = `$w.${a2}`;
          return { get id() {
            return u2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return n2?.config;
          }, get uniqueId() {
            return r2;
          }, get parent() {
            return o2();
          }, get global() {
            return i2();
          }, get type() {
            return l2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(r2, t3));
          }, toJSON() {
            return { id: s2, type: l2, global: i2() };
          } };
        }, Et = (e2) => (t2) => {
          const { metaData: r2, getSdkInstance: n2, create$w: a2, createEvent: i2 } = t2, o2 = (e3, t3) => me(r2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (r3) => o2(r3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = i2({ type: "viewportEnter" }), t3 = a2();
            r3(e3, t3);
          }), $t("onViewportEnter", t2, r3)) : n2(), onViewportLeave: (r3) => o2(r3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = i2({ type: "viewportLeave" }), t3 = a2();
            r3(e3, t3);
          }), $t("onViewportLeave", t2, r3)) : n2() };
        }, jt = { duration: 1200, delay: 0 }, Lt = { arc: { ...jt, direction: "left" }, bounce: { ...jt, direction: "topLeft", intensity: "medium" }, puff: { ...jt }, zoom: { ...jt }, fade: { ...jt }, flip: { ...jt, direction: "right" }, float: { ...jt, direction: "right" }, fly: { ...jt, direction: "right" }, fold: { ...jt, direction: "left" }, glide: { ...jt, angle: 0, distance: 0 }, roll: { ...jt, direction: "left" }, slide: { ...jt, direction: "left" }, spin: { ...jt, direction: "cw", cycles: 5 }, turn: { ...jt, direction: "right" }, ArcIn: { ...jt, direction: "right" }, ArcOut: { ...jt, direction: "right" }, BounceIn: { ...jt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...jt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...jt, direction: "right" }, CollapseOut: { ...jt }, Conceal: { ...jt, direction: "right" }, Reveal: { ...jt, direction: "left" }, FadeIn: { ...jt }, FadeOut: { ...jt }, FlipIn: { ...jt, direction: "left" }, FlipOut: { ...jt, direction: "left" }, FloatIn: { ...jt, direction: "right" }, FloatOut: { ...jt, direction: "right" }, FlyIn: { ...jt, direction: "right" }, FlyOut: { ...jt, direction: "right" }, FoldIn: { ...jt, direction: "left" }, FoldOut: { ...jt, direction: "left" }, GlideIn: { ...jt, angle: 0, distance: 150 }, GlideOut: { ...jt, angle: 0, distance: 150 }, DropIn: { ...jt }, PopOut: { ...jt }, SlideIn: { ...jt, direction: "left" }, SlideOut: { ...jt, direction: "left" }, SpinIn: { ...jt, direction: "cw", cycles: 2 }, SpinOut: { ...jt, direction: "cw", cycles: 2 }, TurnIn: { ...jt, direction: "right" }, TurnOut: { ...jt, direction: "right" } }, Pt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, kt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Vt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Rt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Dt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Bt = { arc: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Vt, delay: Rt } }, zoom: { type: ["object"], properties: { duration: Vt, delay: Rt } }, fade: { type: ["object"], properties: { duration: Vt, delay: Rt } }, flip: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, float: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, fly: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, fold: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, glide: { type: ["object"], properties: { duration: Vt, delay: Rt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, slide: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, spin: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Mt = ({ propertyName: e2, compName: t2 }) => (r2, n2) => {
          if (!r2) return false;
          if (void 0 === n2) return true;
          const i2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (n3, i3) => {
            a(h({ propertyName: t3, compName: r3, effectName: e3, wrongValue: `${i3?.value}`, infoLink: kt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          if (!ce({ reportError: i2, reportWarning: () => ({}) }, t2)(n2, { type: ["object"] }, e2)) return false;
          const o2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (n3, i3) => {
            a(y({ propertyName: t3, compName: r3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${i3?.propertyName}" cannot be set to the value "${i3?.value}"`, infoLink: kt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          return !!ce({ reportError: o2, reportWarning: () => ({}) }, t2)(n2, Bt[r2], e2);
        }, Ft = (e2) => 0 === Object.keys(e2).length, _t = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: r2, portal: n2, metaData: i2, getSdkInstance: o2, runAnimation: s2, createSdkState: u2, styleUtils: l2, setProps: p2 }) => {
          const c2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: r3, propertyName: n3 }) => {
            const i3 = Mt({ propertyName: n3, compName: e3 });
            if (!t3 && !r3) return false;
            if (!t3 && r3 && !Ft(r3)) return a(f({ propertyName: n3, compName: e3, infoLink: kt(n3) })), false;
            const o3 = "hide" === n3 ? "HIDE" : "SHOW", s3 = Pt[o3]?.deprecatedValues;
            return t3 && r3 && s3 && s3.find((e4) => e4 === t3) && !Ft(r3) ? (a(b({ compName: e3, effectName: t3, propertyName: n3, infoLink: kt(n3) })), false) : !!s3.find((e4) => e4 === t3) || (t3 && !(t3 in Bt) ? (a(d({ propertyName: n3, compName: e3, effectName: t3, infoLink: kt(n3) })), false) : !!i3(t3, r3));
          })({ compName: i2.role }), [m2, y2] = u2({ hidden: i2.hiddenOnLoad, collapsed: i2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (a2, i3) => {
            if (p2({ hidden: true }), m2.collapsed || m2.hidden) y2({ hidden: true });
            else {
              if (c2({ effectName: a2, effectOptions: i3, propertyName: "hide" })) {
                const e3 = { animationDirection: Pt.HIDE.suffix, effectName: a2, effectOptions: { ...Lt?.[a2] || jt, ...i3 } };
                await Promise.all([s2(e3), t2 ? n2.runAnimation(e3) : void 0]);
              } else r2(l2.getHiddenStyles()), t2 && n2.setStyles(l2.getHiddenStyles());
              y2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (a2, i3) => {
            if (p2({ hidden: false }), !m2.collapsed && m2.hidden) {
              if (c2({ effectName: a2, effectOptions: i3, propertyName: "show" })) {
                const e3 = { animationDirection: Pt.SHOW.suffix, effectName: a2, effectOptions: { ...Lt?.[a2] || jt, ...i3 } };
                await Promise.all([s2(e3), t2 ? n2.runAnimation(e3) : void 0]);
              } else r2(l2.getShownStyles()), t2 && n2.setStyles(l2.getShownStyles());
              y2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else y2({ hidden: false });
          }, collapse: async () => {
            p2({ collapsed: true }), m2.collapsed || (r2(l2.getCollapsedStyles()), t2 && n2.setStyles(l2.getCollapsedStyles()), y2({ collapsed: true }), m2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (p2({ collapsed: false }), m2.collapsed) {
              const a2 = { ...l2.getExpandedStyles(), visibility: m2.hidden ? "hidden" : null };
              r2(a2), t2 && n2.setStyles(a2), y2({ collapsed: false }), m2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return m2.collapsed;
          }, get hidden() {
            return Boolean(m2.hidden);
          }, get isVisible() {
            if (!i2.isRendered()) return false;
            let e3 = o2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, qt = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, a2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return r([_t({ viewportState: n2, hasPortal: t3 }), Et((e4, t4) => {
            a2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), Ht = (e2, t2, r2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && n(G({ functionName: r2, wrongEffects: a2, allowedEffects: e2 }));
        }, Wt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (r2) => {
            Ht(t2(), r2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...r2);
          }, removeEffects: (r2) => {
            Ht(t2(), r2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...r2);
          }, toggleEffects: (r2) => {
            Ht(t2(), r2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...r2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, zt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Gt = (e2, t2) => "string" != typeof e2 ? (Yt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Kt(e2, t2), false), Yt = (e2, t2, r2, a2) => {
          n(H({ propertyName: e2, functionName: t2, value: r2, expectedType: a2 }));
        }, Xt = (e2, t2) => {
          n(N({ propertyName: e2, functionName: t2 }));
        }, Kt = (e2, t2) => {
          n(X({ propertyName: e2, functionName: t2 }));
        }, Ut = (e2) => {
          const { setProps: t2, props: r2 } = e2;
          return { customClassList: { get value() {
            return r2.customClassNames ? r2.customClassNames?.join(" ") : "";
          }, values() {
            return r2.customClassNames ? r2.customClassNames : [];
          }, add(...e3) {
            const n2 = r2.customClassNames ? new Set(r2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Gt(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else Xt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Xt("className", "customClassList.remove");
            const n2 = new Set(r2.customClassNames);
            for (const t3 of e3) {
              if (!Gt(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return Gt(e3, "customClassList.contains") ? !!r2.customClassNames && r2.customClassNames.includes(e3) : void 0;
            Xt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Gt(t3, "customClassList.replace") || !Gt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (n(x({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Gt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Xt("className", "customClassList.toggle"), false);
          } } };
        }, Jt = ({ role: e2, compType: t2, isGlobal: r2, isRendered: n2 }) => ({ id: e2, type: `$w.${t2}`, global: r2(), rendered: n2() }), Zt = (e2) => ({ onMouseIn: (t2) => wt("onMouseEnter", e2, t2), onMouseOut: (t2) => wt("onMouseLeave", e2, t2), removeEventHandler: (t2, r2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (n(H({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof r2 ? (n(H({ propertyName: "handler", functionName: "removeEventHandler", value: r2, expectedType: "function" })), a2()) : ((e3, t3, r3) => {
            const { metaData: n2, getSdkInstance: a3 } = t3, [i2, o2] = xt(t3), s2 = i2.listeners.filter((t4) => At(t4.eventName, e3) && t4.cb === r3 && t4.compId === n2.compId);
            for (const e4 of s2) e4.unregister();
            return o2({ listeners: i2.listeners.filter((e4) => !s2.includes(e4)) }), a3();
          })(t2, e2, r2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Jt(e2.metaData);
        } }), Qt = Et(), er = (r([St, Qt, Zt, Wt, Ut]), de(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: u(r2) ? void 0 : r2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } }));
        var tr;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(tr || (tr = {}));
        const rr = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, nr = (e2) => ar(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), ar = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), ir = (e2, t2, r2, a2, i2) => i2 ? !!r2(i2) || (n(a2), false) : !!t2 || (n(ee({ value: i2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), or = (e2, t2 = true) => (r2) => ir(e2, t2, ar, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, r2), sr = (e2, t2 = true) => (r2) => ir(e2, t2, nr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, r2), ur = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return r2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [sr("describedBy")] }), lr = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return r2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [sr("labelledBy")] }), pr = de(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), cr = de(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), mr = de(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), dr = de(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), fr = de(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: u(r2) ? void 0 : r2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), yr = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return r2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [or("owns")] }), br = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return r2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [or("controls")] }), hr = de(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: u(r2) ? void 0 : r2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), gr = de(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: u(r2) ? void 0 : r2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), vr = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return r2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [sr("errorMessage")] }), Nr = de(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), xr = de(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), $r = de(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Ar = de(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), wr = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(r2) {
          null === r2 || o(r2) ? e2({ screenReader: { ...t2.screenReader, prefix: r2 } }) : n(rr("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(r2) {
          null === r2 || o(r2) ? e2({ screenReader: { ...t2.screenReader, suffix: r2 } }) : n(rr("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(r2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: u(r2) ? void 0 : r2 } });
        } } }), Ir = (de(wr, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), de(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: u(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), Cr = de(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: u(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), Tr = { enableAriaLabel: er, enableAriaDescribedBy: ur, enableAriaLabelledBy: lr, enableAriaAtomic: pr, enableAriaBusy: cr, enableAriaCurrent: mr, enableAriaExpanded: dr, enableAriaLive: fr, enableAriaOwns: yr, enableAriaControls: br, enableAriaRoleDescription: hr, enableAriaRelevant: gr, enableAriaErrorMessage: vr, enableAriaHidden: Nr, enableAriaPressed: xr, enableAriaHaspopup: $r, enableAriaRequired: Ar }, Or = { enableScreenReader: wr, enableRole: Ir, enableTabIndex: Cr }, Sr = ({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: n2 = true, enableAriaAtomic: a2 = false, enableAriaBusy: i2 = false, enableAriaHidden: o2 = false, enableAriaPressed: s2 = false, enableAriaHaspopup: u2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: p2 = false, enableAriaLive: c2 = false, enableAriaOwns: m2 = false, enableAriaControls: d2 = false, enableAriaRoleDescription: f2 = false, enableAriaRelevant: y2 = false, enableRole: b2 = false, enableTabIndex: h2 = false, enableAriaErrorMessage: g2 = false, enableScreenReader: v2 = false, enableAriaRequired: N2 = false } = {}) => (x2) => {
          const $2 = [], A2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: n2, enableAriaAtomic: a2, enableAriaBusy: i2, enableAriaCurrent: l2, enableAriaExpanded: p2, enableAriaLive: c2, enableAriaOwns: m2, enableAriaControls: d2, enableAriaRoleDescription: f2, enableAriaRelevant: y2, enableAriaErrorMessage: g2, enableAriaHidden: o2, enableAriaPressed: s2, enableAriaHaspopup: u2, enableAriaRequired: N2 }, w2 = { enableScreenReader: v2, enableRole: b2, enableTabIndex: h2 };
          if (Object.values(A2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, r2]) => r2 && Tr[e5] && t3.push(Tr[e5])), (e5) => {
                const n3 = r(t3, { modifyAriaSourceKeys: true })(e5);
                return n3.ariaAttributes = r(t3)(e5), n3;
              };
            })(A2);
            $2.push(e3);
          }
          Object.entries(w2).forEach(([e3, t3]) => t3 && Or[e3] && $2.push(Or[e3]));
          return { accessibility: r($2)(x2) };
        }, Er = (e2) => `--${((e3) => `${e3.replace(/([A-Z])/g, "-$1").toLowerCase()}`)(e2)}`;
        var jr, Lr, Pr;
        !function(e2) {
          e2.multiLingualVariable = "multiLangVar", e2.staticVariable = "staticVar", e2.cssVariable = "cssVar";
        }(jr || (jr = {})), function(e2) {
          e2[e2.string_length = 0] = "string_length", e2[e2.string_min = 1] = "string_min", e2[e2.string_max = 2] = "string_max", e2[e2.num_min = 3] = "num_min", e2[e2.num_max = 4] = "num_max", e2[e2.one_of = 5] = "one_of";
        }(Lr || (Lr = {})), function(e2) {
          e2.element = "element", e2.clickable = "clickable", e2.changeable = "changeable", e2.focusable = "focusable", e2.disableable = "disableable", e2.accessible = "accessible";
        }(Pr || (Pr = {}));
        const kr = { [Pr.clickable]: () => It, [Pr.changeable]: () => Ct, [Pr.focusable]: () => Tt, [Pr.disableable]: () => Ot, [Pr.element]: ({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => r([St, Zt, Wt, zt, e2 ? qt(t2) : Qt, Ut]), [Pr.accessible]: () => Sr() }, Vr = (e2, t2) => e2 ? e2.map((e3) => t2[e3]()) : [], Rr = (({ sdkMap: e2, defaultMixins: t2 }) => ({ sdkSchema: n2, validationSchema: a2, mixins: i2 }) => {
          const o2 = t2.map((t3) => e2[t3]()), s2 = Object.keys(n2);
          if (0 === s2.length) return r([...o2, ...Vr(i2, e2)]);
          const u2 = (e3) => "function" === n2[e3].type, l2 = s2.filter((e3) => u2(e3)), p2 = s2.filter((e3) => !u2(e3)), c2 = (e3) => {
            const { props: t3, metaData: r2, setProps: a3, setStyles: i3, createSdkState: o3 } = e3, [s3, u3] = o3({});
            const c3 = { toJSON() {
              const e4 = Object.fromEntries(p2.map((e5) => [e5, t3[e5]]));
              return { ...Jt(r2), ...e4 };
            } };
            return l2.forEach((t4) => function(t5) {
              c3[t5] = (r3) => $t(t5, e3, r3);
            }(t4)), p2.forEach((e4) => function(e5) {
              Object.defineProperty(c3, e5, { enumerable: true, get: () => n2[e5].persistence === jr.cssVariable ? s3[e5] : t3[e5], set: n2[e5].readonly ? void 0 : (t4) => {
                n2[e5].persistence === jr.cssVariable ? (i3({ [Er(e5)]: `${t4} !important` }), u3({ [e5]: t4 })) : a3({ [e5]: t4 });
              } });
            }(e4)), c3;
          };
          return r([...o2, a2 ? de(c2, a2) : c2, ...Vr(i2, e2)]);
        })({ sdkMap: kr, defaultMixins: [Pr.element] }), Dr = r([Rr({ sdkSchema: { firstName: { type: "string" }, lastName: { type: "string" }, src: { type: "string" } }, validationSchema: { type: ["object"], properties: { firstName: { maxLength: 120, type: ["string", "nil"] }, lastName: { maxLength: 120, type: ["string", "nil"] }, size: { minimum: 10, maximum: 200, type: ["number"] }, src: { maxLength: 1200, type: ["string", "nil"] } } }, mixins: ["changeable"] }), de((e2) => {
          const { createSdkState: t2, setStyles: r2 } = e2, [n2, a2] = t2({ size: void 0 }, "avatar");
          return { get size() {
            return n2.size;
          }, set size(e3) {
            a2({ size: e3 }), r2({ "--corvid-circleSize": e3 + "px" });
          } };
        }, { properties: { size: { minimum: 10, maximum: 200, type: ["number"] } } })]);
        var Br = { factory: Dr };
        return t;
      }();
    });
  })(WutAvatar_bundle_min);
  var WutAvatar_bundle_minExports = WutAvatar_bundle_min.exports;
  const WutAvatar = /* @__PURE__ */ getDefaultExportFromCjs(WutAvatar_bundle_minExports);
  var WutAvatarGroup_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, r2) {
          for (var a2 in r2) e.o(r2, a2) && !e.o(t2, a2) && Object.defineProperty(t2, a2, { enumerable: true, get: r2[a2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return Yr;
        }, sdk: function() {
          return zr;
        } });
        const r = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, a = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function n(e2, t2) {
          const { modifyAriaSourceKeys: r2 } = t2 ?? {};
          return (t3) => {
            const a2 = {};
            for (let o2 = 0; o2 < e2.length; o2++) {
              const i2 = e2[o2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], o3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(a2, r2 && o3.get ? "aria" + (n2 = t4).charAt(0).toUpperCase() + n2.slice(1) : t4, o3);
              }
            }
            var n2;
            return a2;
          };
        }
        function o(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function i(e2) {
          return "string" == typeof e2;
        }
        function s(e2) {
          return Array.isArray(e2);
        }
        function u(e2) {
          return null == e2;
        }
        function p(e2, t2) {
          return t2.includes(e2);
        }
        function l(e2, t2) {
          return e2 > t2;
        }
        function m(e2, t2) {
          return e2 < t2;
        }
        const c = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, d = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${a2}"')`, f = ({ propertyName: e2, compName: t2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, y = ({ propertyName: e2, compName: t2, effectName: r2, wrongProperty: a2, wrongValue: n2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${a2}: ${n2}. Read more about the effectOptions object: "${o2}"')`, b = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: a2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${a2}"`, h = ({ propertyName: e2, compName: t2, effectName: r2, wrongValue: a2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${a2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${n2}"'`, v = ({ propertyName: e2, functionName: t2, compName: r2 }) => `The ${e2} parameter of "${r2}" that is passed to the ${t2} method cannot be set to null.`, g = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to null or undefined.`, N = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, x = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is required for ${t2} method.`, A = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, w = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, I = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is not allowed for ${t2} method.`, T = ({ propertyNames: e2, functionName: t2, index: r2 }) => `The following parameters: ${[...e2]} of item at index ${r2} are unknown for ${t2} method.`, E = ({ propertyName: e2, functionName: t2, value: r2, minimum: a2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${a2} and ${n2}.`, C = ({ propertyName: e2, functionName: t2, value: r2, minimum: a2, maximum: n2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${a2} and ${n2}.`, S = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${a2}.`, O = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${a2}.`, L = ({ propertyName: e2, functionName: t2, value: r2, minimum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${a2}.`, j = ({ propertyName: e2, functionName: t2, value: r2, minimum: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${a2}.`, P = ({ propertyName: e2, functionName: t2, value: r2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${a2}.`, k = ({ propertyName: e2, functionName: t2, value: r2, maximum: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${a2}.`, V = ({ propertyName: e2, functionName: t2, value: r2, minimum: a2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${a2} and ${n2}.`, R = ({ propertyName: e2, functionName: t2, value: r2, minimum: a2, maximum: n2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${a2} and ${n2}.`, D = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${a2}.`, B = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${a2}.`, M = ({ propertyName: e2, functionName: t2, value: r2, minimum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${a2}.`, F = ({ propertyName: e2, functionName: t2, value: r2, minimum: a2, index: n2 }) => `The value of ${e2} parameter of item at ${n2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${a2}.`, H = ({ propertyName: e2, functionName: t2, value: r2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${a2}.`, _ = ({ propertyName: e2, functionName: t2, value: r2, maximum: a2, index: n2 }) => `The value of ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${a2}.`, q = ({ propertyName: e2, functionName: t2, value: r2, expectedType: a2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${a2}.`, G = ({ propertyName: e2, functionName: t2, value: r2, expectedType: a2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${a2}.`, W = ({ propertyName: e2, functionName: t2, value: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format`, z = ({ functionName: e2, wrongEffects: t2, allowedEffects: r2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, Y = ({ propertyName: e2, functionName: t2, value: r2, index: a2 }) => `The "${e2}" property of the item at index ${a2} that is passed to the ${t2} method cannot be set to "${r2}". Bad format`, X = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, K = ({ compName: e2, functionName: t2, propertyName: r2, index: a2 }) => o(a2) ? g({ propertyName: r2, functionName: t2, index: a2 }) : e2 ? v({ compName: e2, functionName: t2, propertyName: r2 }) : c({ functionName: t2, propertyName: r2 }), U = ({ functionName: e2, propertyName: t2, index: r2 }) => o(r2) ? $({ functionName: e2, propertyName: t2, index: r2 }) : N({ functionName: e2, propertyName: t2 }), J = ({ functionName: e2, propertyNames: t2, index: r2 }) => t2 && t2.length > 1 ? o(r2) ? T({ functionName: e2, propertyNames: t2, index: r2 }) : w({ functionName: e2, propertyNames: t2 }) : o(r2) ? I({ functionName: e2, propertyName: t2[0], index: r2 }) : A({ functionName: e2, propertyName: t2[0] }), Z = ({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2, index: i2 }) => n2 && a2 ? n2 === a2 ? o(i2) ? O({ functionName: e2, propertyName: t2, value: r2, expectedValue: n2, index: i2 }) : S({ functionName: e2, propertyName: t2, value: r2, expectedValue: n2 }) : o(i2) ? C({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2, index: i2 }) : E({ functionName: e2, propertyName: t2, value: r2, maximum: a2, minimum: n2 }) : !n2 && a2 ? o(i2) ? k({ functionName: e2, propertyName: t2, value: r2, maximum: a2, index: i2 }) : P({ functionName: e2, propertyName: t2, value: r2, maximum: a2 }) : o(i2) ? j({ functionName: e2, propertyName: t2, value: r2, minimum: n2, index: i2 }) : L({ functionName: e2, propertyName: t2, value: r2, minimum: n2 }), Q = ({ functionName: e2, propertyName: t2, value: r2, minimum: a2, maximum: n2, index: i2 }) => a2 && n2 ? a2 === n2 ? o(i2) ? B({ functionName: e2, propertyName: t2, expectedValue: a2, value: r2, index: i2 }) : D({ functionName: e2, propertyName: t2, expectedValue: a2, value: r2 }) : o(i2) ? R({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2, index: i2 }) : V({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: a2 }) : !a2 && n2 ? o(i2) ? _({ functionName: e2, propertyName: t2, maximum: n2, value: r2, index: i2 }) : H({ functionName: e2, propertyName: t2, maximum: n2, value: r2 }) : o(i2) ? F({ functionName: e2, propertyName: t2, value: r2, minimum: a2, index: i2 }) : M({ functionName: e2, propertyName: t2, value: r2, minimum: a2 }), ee = ({ functionName: e2, propertyName: t2, types: r2, value: a2, index: n2 }) => {
          const i2 = r2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return o(n2) ? G({ functionName: e2, index: n2, propertyName: t2, value: a2, expectedType: i2 }) : q({ functionName: e2, propertyName: t2, value: a2, expectedType: i2 });
        }, te = ({ functionName: e2, propertyName: t2, value: r2, enum: a2, index: n2 }) => {
          const i2 = `from (${a2.join(",")})`;
          return o(n2) ? G({ functionName: e2, propertyName: t2, value: r2, expectedType: i2, index: n2 }) : q({ functionName: e2, propertyName: t2, value: r2, expectedType: i2 });
        }, re = ({ functionName: e2, propertyName: t2, value: r2, index: a2 }) => o(a2) ? Y({ functionName: e2, propertyName: t2, value: r2, index: a2 }) : W({ functionName: e2, propertyName: t2, value: r2 }), ae = Object.prototype.hasOwnProperty, ne = Object.getOwnPropertyNames, oe = () => {
        };
        function ie(e2, t2, r2, a2, n2, o2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !s(e3);
          }(e2)) return le.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ie(e2, t3, r2, oe, n2, o2)).filter((e3) => e3 === le.Valid).length ? le.Valid : le.Invalid;
          if (t2.required) {
            for (let r3 = 0; r3 < t2.required.length; r3++) if (!ae.call(e2, t2.required[r3])) return a2(U({ functionName: o2.functionName, index: o2.index, propertyName: t2.required[r3] }), { ...o2, value: e2 }), le.Invalid;
          }
          const i2 = ne(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ne(e2).filter((e3) => !i2.includes(e3));
            if (t3.length) {
              return a2(J({ functionName: o2.functionName, index: o2.index, propertyNames: t3 })), le.Invalid;
            }
          }
          for (let a3 = 0; a3 < i2.length; a3++) {
            const n3 = i2[a3];
            if (ae.call(e2, n3)) {
              const a4 = t2.properties[n3], i3 = e2[n3];
              if (!r2(i3, a4, { functionName: o2.functionName, index: o2.index, propertyName: n3 })) return le.Invalid;
            }
          }
          return le.Valid;
        }
        function se(e2) {
          return Array.isArray(e2);
        }
        function ue(e2, t2, r2, a2) {
          const { minimum: n2, maximum: i2, enum: s2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? s2 && !p(e2, s2) ? (r2(te({ value: e2, enum: s2, ...a2 }), { ...a2, value: e2 }), le.Invalid) : o(n2) && m(e2, n2) || o(i2) && l(e2, i2) ? (r2(Q({ value: e2, minimum: n2, maximum: i2, ...a2 }), { ...a2, value: e2 }), le.Invalid) : le.Valid : le.InvalidType;
        }
        function pe(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? le.Valid : le.InvalidType;
        }
        const le = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function me({ reportError: e2, reportWarning: t2 }, r2, { suppressIndexErrors: a2 = false } = {}) {
          function n2(a3, n3, o2) {
            n3.warnIfNil && u(a3) && t2(K({ ...o2, compName: r2 }), { ...o2, value: a3 });
            let i2 = 0;
            for (; i2 < n3.type.length; i2++) {
              const e3 = (0, c2[n3.type[i2]])(a3, n3, o2);
              if (e3 !== le.InvalidType) return e3 === le.Valid;
            }
            return i2 === n3.type.length && e2(ee({ value: a3, types: n3.type, ...o2 }), { ...o2, value: a3 }), false;
          }
          const c2 = { object: (r3, a3, o2) => ie(r3, a3, n2, e2, t2, o2), array: (e3, t3, r3) => function(e4, t4, r4, a3, n3, o2 = false) {
            if (!s(e4)) return le.InvalidType;
            let i2 = le.Valid;
            if (t4.items) {
              const a4 = se(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let s2 = 0; s2 < a4; s2++) {
                const a5 = e4[s2];
                let u2, p2;
                se(t4.items) ? (u2 = t4.items[s2], p2 = t4.items[s2].name) : (u2 = t4.items, p2 = t4.name), r4(a5, u2, { functionName: n3.functionName, propertyName: p2 || n3.propertyName, index: o2 ? void 0 : s2 }) || (i2 = le.Invalid);
              }
            }
            return i2;
          }(e3, t3, n2, 0, r3, a2), number: (t3, r3, a3) => function(e3, t4, r4, a4) {
            const { minimum: n3, maximum: i2, enum: s2 } = t4;
            return o(e3) ? s2 && !p(e3, s2) ? (r4(te({ value: e3, enum: s2, ...a4 }), { ...a4, value: e3 }), le.Invalid) : o(n3) && m(e3, n3) || o(i2) && l(e3, i2) ? (r4(Q({ value: e3, minimum: n3, maximum: i2, ...a4 }), { ...a4, value: e3 }), le.Invalid) : le.Valid : le.InvalidType;
          }(t3, r3, e2, a3), integer: (t3, r3, a3) => ue(t3, r3, e2, a3), string: (t3, r3, a3) => function(e3, t4, r4, a4) {
            const { minLength: n3, maxLength: o2, enum: s2, pattern: u2 } = t4;
            return i(e3) ? s2 && !p(e3, s2) ? (r4(te({ value: e3, enum: s2, ...a4 }), { ...a4, value: e3 }), le.Invalid) : n3 && m(e3.length, n3) || o2 && l(e3.length, o2) ? (r4(Z({ value: e3, minimum: n3, maximum: o2, ...a4 }), { ...a4, value: e3 }), le.Invalid) : u2 && !new RegExp(u2).test(e3) ? (r4(re({ value: e3, ...a4 }), { ...a4, value: e3 }), le.Invalid) : le.Valid : le.InvalidType;
          }(t3, r3, e2, a3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? le.Valid : le.InvalidType;
          }(e3), date: (e3) => pe(e3), nil: (e3) => function(e4) {
            return u(e4) ? le.Valid : le.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? le.Valid : le.InvalidType;
          }(e3) };
          return function(e3, t3, r3) {
            return n2(e3, t3, { functionName: r3, propertyName: r3, index: void 0 });
          };
        }
        function ce(e2, { suppressIndexErrors: t2 = false } = {}) {
          return me({ reportError: r, reportWarning: a }, e2, { suppressIndexErrors: t2 });
        }
        function de(e2, t2, r2 = {}) {
          return (a2) => {
            const n2 = e2(a2), o2 = ce(a2.metaData.role), i2 = ce(a2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(n2).reduce((e3, s2) => {
              const u2 = Object.getOwnPropertyDescriptor(n2, s2), p2 = { enumerable: true, configurable: true };
              return u2.value ? "function" == typeof u2.value ? p2.value = (...e4) => {
                const n3 = t2.properties[s2] && t2.properties[s2].args, o3 = r2[s2];
                let p3 = true;
                return n3 && (p3 = i2(e4, { type: ["array"], items: n3 }, s2)), p3 && o3 && (p3 = o3.every((t3) => t3(e4, a2))), p3 ? u2.value(...e4) : void 0;
              } : p2.value = u2.value : (u2.get && (p2.get = () => n2[s2]), u2.set && (p2.set = (e4) => {
                const i3 = r2[s2];
                let u3 = true;
                t2.properties[s2] && (u3 = o2(e4, t2.properties[s2], s2)), u3 && i3 && (u3 = i3.every((t3) => t3(e4, a2))), u3 && (n2[s2] = e4);
              })), Object.defineProperty(e3, s2, p2), e3;
            }, {});
          };
        }
        const fe = "click", ye = "dblClick", be = "mouseenter", he = "mouseleave", ve = "change", ge = "blur", Ne = "focus", xe = "imageChanged", $e = "imageExpanded", Ae = "onInput", we = "itemClicked", Ie = "cellSelect", Te = "cellEdit", Ee = "rowSelect", Ce = "fetchData", Se = "dataChange", Oe = "onTimeout", Le = "onVerified", je = "onError", Pe = "onPlay", ke = "onPause", Ve = "onProgress", Re = "onEnded", De = "autoplayOff", Be = "autoplayOn", Me = "playEnded", Fe = "playProgress", He = "keyPress", _e = "keyUp", qe = "keyDown", Ge = "screenIn", We = "viewportEnter", ze = "viewportLeave", Ye = "scroll", Xe = "validate", Ke = "setCustomValidity", Ue = "syncValidationData", Je = "updateValidityIndication", Ze = "message", Qe = "uploadComplete", et = "itemReady", tt = "itemRemoved", rt = "tagClick", at = "quickActionBarItemClicked", nt = "markerClicked", ot = "mapClicked", it = "iconMouseIn", st = "onStateChange", ut = "itemMouseIn", pt = "itemMouseOut", lt = "itemMouseClick", mt = "itemMouseDblClick", ct = "onColorChange", dt = "onFontChange", ft = "onOpacityChange", yt = { [fe]: "onClick", [ye]: "onDblClick", [be]: "onMouseIn", [he]: "onMouseOut", [ve]: "onChange", [Ae]: "onInput", [ge]: "onBlur", [Ne]: "onFocus", [xe]: "onCurrentItemChanged", [$e]: void 0, [we]: "onItemClicked", [Ie]: "onCellSelect", [Te]: void 0, [Ee]: "onRowSelect", [Ce]: void 0, [Se]: "onDataChange", [Oe]: "onTimeout", [Le]: "onVerified", [je]: "onError", [Pe]: "onPlay", [ke]: "onPause", [Ve]: "onProgress", [Re]: "onEnded", [De]: "onPause", [Be]: "onPlay", [Me]: void 0, [Fe]: void 0, [He]: "onKeyPress", [_e]: "onKeyUp", [qe]: "onKeyDown", [Ge]: void 0, [We]: "onViewportEnter", [ze]: "onViewportLeave", [Ye]: void 0, [Xe]: void 0, [Ke]: void 0, [Ue]: void 0, [Je]: void 0, [Ze]: "onMessage", [Qe]: void 0, [et]: "onItemReady", [tt]: "onItemRemoved", [rt]: void 0, [at]: "onItemClicked", [nt]: "onMarkerClicked", [ot]: "onMapClicked", [it]: void 0, [st]: "onStateChange", [ut]: "onItemMouseIn", [pt]: "onItemMouseOut", [lt]: "onItemClick", [mt]: "onItemDblClick", [ct]: "onColorChange", [dt]: "onFontChange", [ft]: "onOpacityChange" }, bt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, ht = (e2) => {
          const { target: t2, type: r2, context: a2 } = e2;
          return { target: t2, type: bt[r2] ?? r2, context: a2 };
        }, vt = (e2) => {
          const { clientX: t2, clientY: r2, pageX: a2, pageY: n2, screenX: o2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: u2, offsetY: p2 } = s2;
          return { clientX: t2, clientY: r2, pageX: a2, pageY: n2, screenX: o2, screenY: i2, offsetX: u2, offsetY: p2 };
        }, gt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, Nt = (e2) => e2.replace(/^on/i, ""), xt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), $t = (e2, t2, r2, a2) => {
          const { create$w: n2, createEvent: o2, registerEvent: i2, getSdkInstance: s2, metaData: u2 } = t2;
          if (!((e3, t3, r3) => ce(r3)(e3, { type: ["function"] }, t3))(r2, gt[e2] ?? e2, u2.role)) return s2();
          const [p2, l2] = xt(t2), m2 = i2(e2, (e3, t3) => {
            const i3 = o2({ type: e3.type, compId: e3.compId }), s3 = n2({ context: i3.context }), u3 = a2?.({ componentEvent: e3, eventPayload: t3 });
            r2({ ...ht(i3), ...u3 }, s3);
          }), c2 = { eventName: e2, compId: u2.compId, cb: r2, unregister: m2 };
          return l2({ listeners: [...p2.listeners, c2] }), s2();
        }, At = (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = Object.entries(gt).find(([t4, r3]) => Nt(r3.toLowerCase()) === Nt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(yt[t2] ?? t2);
          return e2.toLowerCase() === r2.toLowerCase();
        }, wt = (e2, t2, r2, a2) => $t(e2, t2, r2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...vt(e3), ...t3 && a2?.(t3) })), It = (e2) => ({ onClick: (t2) => wt("onClick", e2, t2), onDblClick: (t2) => wt("onDblClick", e2, t2) }), Tt = (e2) => ({ onChange: (t2) => $t("onChange", e2, t2) }), Et = (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => $t("onFocus", e2, t2), onBlur: (t2) => $t("onBlur", e2, t2) }), Ct = ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) }), St = ({ handlers: e2, metaData: t2 }) => {
          const { compId: r2, connection: a2, compType: n2, isGlobal: o2, getParent: i2, role: s2, wixCodeId: u2 } = t2, p2 = `$w.${n2}`;
          return { get id() {
            return u2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return a2?.config;
          }, get uniqueId() {
            return r2;
          }, get parent() {
            return i2();
          }, get global() {
            return o2();
          }, get type() {
            return p2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(r2, t3));
          }, toJSON() {
            return { id: s2, type: p2, global: o2() };
          } };
        }, Ot = (e2) => (t2) => {
          const { metaData: r2, getSdkInstance: a2, create$w: n2, createEvent: o2 } = t2, i2 = (e3, t3) => ce(r2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (r3) => i2(r3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = o2({ type: "viewportEnter" }), t3 = n2();
            r3(e3, t3);
          }), $t("onViewportEnter", t2, r3)) : a2(), onViewportLeave: (r3) => i2(r3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = o2({ type: "viewportLeave" }), t3 = n2();
            r3(e3, t3);
          }), $t("onViewportLeave", t2, r3)) : a2() };
        }, Lt = { duration: 1200, delay: 0 }, jt = { arc: { ...Lt, direction: "left" }, bounce: { ...Lt, direction: "topLeft", intensity: "medium" }, puff: { ...Lt }, zoom: { ...Lt }, fade: { ...Lt }, flip: { ...Lt, direction: "right" }, float: { ...Lt, direction: "right" }, fly: { ...Lt, direction: "right" }, fold: { ...Lt, direction: "left" }, glide: { ...Lt, angle: 0, distance: 0 }, roll: { ...Lt, direction: "left" }, slide: { ...Lt, direction: "left" }, spin: { ...Lt, direction: "cw", cycles: 5 }, turn: { ...Lt, direction: "right" }, ArcIn: { ...Lt, direction: "right" }, ArcOut: { ...Lt, direction: "right" }, BounceIn: { ...Lt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...Lt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...Lt, direction: "right" }, CollapseOut: { ...Lt }, Conceal: { ...Lt, direction: "right" }, Reveal: { ...Lt, direction: "left" }, FadeIn: { ...Lt }, FadeOut: { ...Lt }, FlipIn: { ...Lt, direction: "left" }, FlipOut: { ...Lt, direction: "left" }, FloatIn: { ...Lt, direction: "right" }, FloatOut: { ...Lt, direction: "right" }, FlyIn: { ...Lt, direction: "right" }, FlyOut: { ...Lt, direction: "right" }, FoldIn: { ...Lt, direction: "left" }, FoldOut: { ...Lt, direction: "left" }, GlideIn: { ...Lt, angle: 0, distance: 150 }, GlideOut: { ...Lt, angle: 0, distance: 150 }, DropIn: { ...Lt }, PopOut: { ...Lt }, SlideIn: { ...Lt, direction: "left" }, SlideOut: { ...Lt, direction: "left" }, SpinIn: { ...Lt, direction: "cw", cycles: 2 }, SpinOut: { ...Lt, direction: "cw", cycles: 2 }, TurnIn: { ...Lt, direction: "right" }, TurnOut: { ...Lt, direction: "right" } }, Pt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, kt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Vt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Rt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Dt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Bt = { arc: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Vt, delay: Rt } }, zoom: { type: ["object"], properties: { duration: Vt, delay: Rt } }, fade: { type: ["object"], properties: { duration: Vt, delay: Rt } }, flip: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, float: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, fly: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, fold: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, glide: { type: ["object"], properties: { duration: Vt, delay: Rt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, slide: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, spin: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Mt = ({ propertyName: e2, compName: t2 }) => (r2, n2) => {
          if (!r2) return false;
          if (void 0 === n2) return true;
          const o2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (n3, o3) => {
            a(h({ propertyName: t3, compName: r3, effectName: e3, wrongValue: `${o3?.value}`, infoLink: kt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          if (!me({ reportError: o2, reportWarning: () => ({}) }, t2)(n2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (n3, o3) => {
            a(y({ propertyName: t3, compName: r3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${o3?.propertyName}" cannot be set to the value "${o3?.value}"`, infoLink: kt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          return !!me({ reportError: i2, reportWarning: () => ({}) }, t2)(n2, Bt[r2], e2);
        }, Ft = (e2) => 0 === Object.keys(e2).length, Ht = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: r2, portal: n2, metaData: o2, getSdkInstance: i2, runAnimation: s2, createSdkState: u2, styleUtils: p2, setProps: l2 }) => {
          const m2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: r3, propertyName: n3 }) => {
            const o3 = Mt({ propertyName: n3, compName: e3 });
            if (!t3 && !r3) return false;
            if (!t3 && r3 && !Ft(r3)) return a(f({ propertyName: n3, compName: e3, infoLink: kt(n3) })), false;
            const i3 = "hide" === n3 ? "HIDE" : "SHOW", s3 = Pt[i3]?.deprecatedValues;
            return t3 && r3 && s3 && s3.find((e4) => e4 === t3) && !Ft(r3) ? (a(b({ compName: e3, effectName: t3, propertyName: n3, infoLink: kt(n3) })), false) : !!s3.find((e4) => e4 === t3) || (t3 && !(t3 in Bt) ? (a(d({ propertyName: n3, compName: e3, effectName: t3, infoLink: kt(n3) })), false) : !!o3(t3, r3));
          })({ compName: o2.role }), [c2, y2] = u2({ hidden: o2.hiddenOnLoad, collapsed: o2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (a2, o3) => {
            if (l2({ hidden: true }), c2.collapsed || c2.hidden) y2({ hidden: true });
            else {
              if (m2({ effectName: a2, effectOptions: o3, propertyName: "hide" })) {
                const e3 = { animationDirection: Pt.HIDE.suffix, effectName: a2, effectOptions: { ...jt?.[a2] || Lt, ...o3 } };
                await Promise.all([s2(e3), t2 ? n2.runAnimation(e3) : void 0]);
              } else r2(p2.getHiddenStyles()), t2 && n2.setStyles(p2.getHiddenStyles());
              y2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (a2, o3) => {
            if (l2({ hidden: false }), !c2.collapsed && c2.hidden) {
              if (m2({ effectName: a2, effectOptions: o3, propertyName: "show" })) {
                const e3 = { animationDirection: Pt.SHOW.suffix, effectName: a2, effectOptions: { ...jt?.[a2] || Lt, ...o3 } };
                await Promise.all([s2(e3), t2 ? n2.runAnimation(e3) : void 0]);
              } else r2(p2.getShownStyles()), t2 && n2.setStyles(p2.getShownStyles());
              y2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else y2({ hidden: false });
          }, collapse: async () => {
            l2({ collapsed: true }), c2.collapsed || (r2(p2.getCollapsedStyles()), t2 && n2.setStyles(p2.getCollapsedStyles()), y2({ collapsed: true }), c2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (l2({ collapsed: false }), c2.collapsed) {
              const a2 = { ...p2.getExpandedStyles(), visibility: c2.hidden ? "hidden" : null };
              r2(a2), t2 && n2.setStyles(a2), y2({ collapsed: false }), c2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return c2.collapsed;
          }, get hidden() {
            return Boolean(c2.hidden);
          }, get isVisible() {
            if (!o2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, _t = (e2) => (t2) => ((e3, t3 = false) => {
          const [r2, a2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return n([Ht({ viewportState: r2, hasPortal: t3 }), Ot((e4, t4) => {
            a2({ [e4]: [...r2[e4], t4] });
          })])(e3);
        })(t2, e2), qt = (e2, t2, a2) => {
          const n2 = t2.filter((t3) => !e2.includes(t3));
          n2.length && r(z({ functionName: a2, wrongEffects: n2, allowedEffects: e2 }));
        }, Gt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (r2) => {
            qt(t2(), r2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...r2);
          }, removeEffects: (r2) => {
            qt(t2(), r2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...r2);
          }, toggleEffects: (r2) => {
            qt(t2(), r2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...r2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Wt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), zt = (e2, t2) => "string" != typeof e2 ? (Yt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Kt(e2, t2), false), Yt = (e2, t2, a2, n2) => {
          r(q({ propertyName: e2, functionName: t2, value: a2, expectedType: n2 }));
        }, Xt = (e2, t2) => {
          r(N({ propertyName: e2, functionName: t2 }));
        }, Kt = (e2, t2) => {
          r(X({ propertyName: e2, functionName: t2 }));
        }, Ut = (e2) => {
          const { setProps: t2, props: a2 } = e2;
          return { customClassList: { get value() {
            return a2.customClassNames ? a2.customClassNames?.join(" ") : "";
          }, values() {
            return a2.customClassNames ? a2.customClassNames : [];
          }, add(...e3) {
            const r2 = a2.customClassNames ? new Set(a2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!zt(t3, "customClassList.add")) return;
                r2.add(t3);
              }
              t2({ customClassNames: Array.from(r2) });
            } else Xt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Xt("className", "customClassList.remove");
            const r2 = new Set(a2.customClassNames);
            for (const t3 of e3) {
              if (!zt(t3, "customClassList.remove")) return;
              r2.delete(t3);
            }
            t2({ customClassNames: Array.from(r2) });
          }, contains(e3) {
            if (e3) return zt(e3, "customClassList.contains") ? !!a2.customClassNames && a2.customClassNames.includes(e3) : void 0;
            Xt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!zt(t3, "customClassList.replace") || !zt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (r(x({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!zt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Xt("className", "customClassList.toggle"), false);
          } } };
        }, Jt = ({ role: e2, compType: t2, isGlobal: r2, isRendered: a2 }) => ({ id: e2, type: `$w.${t2}`, global: r2(), rendered: a2() }), Zt = (e2) => ({ onMouseIn: (t2) => wt("onMouseEnter", e2, t2), onMouseOut: (t2) => wt("onMouseLeave", e2, t2), removeEventHandler: (t2, a2) => {
          const { getSdkInstance: n2 } = e2;
          return "string" != typeof t2 ? (r(q({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), n2()) : "function" != typeof a2 ? (r(q({ propertyName: "handler", functionName: "removeEventHandler", value: a2, expectedType: "function" })), n2()) : ((e3, t3, r2) => {
            const { metaData: a3, getSdkInstance: n3 } = t3, [o2, i2] = xt(t3), s2 = o2.listeners.filter((t4) => At(t4.eventName, e3) && t4.cb === r2 && t4.compId === a3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: o2.listeners.filter((e4) => !s2.includes(e4)) }), n3();
          })(t2, e2, a2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Jt(e2.metaData);
        } }), Qt = Ot(), er = (n([St, Qt, Zt, Gt, Ut]), de(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: u(r2) ? void 0 : r2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } }));
        var tr;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(tr || (tr = {}));
        const rr = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, ar = (e2) => nr(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), nr = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), or = (e2, t2, a2, n2, o2) => o2 ? !!a2(o2) || (r(n2), false) : !!t2 || (r(ee({ value: o2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), ir = (e2, t2 = true) => (r2) => or(e2, t2, nr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, r2), sr = (e2, t2 = true) => (r2) => or(e2, t2, ar, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, r2), ur = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return r2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [sr("describedBy")] }), pr = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return r2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [sr("labelledBy")] }), lr = de(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), mr = de(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), cr = de(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), dr = de(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), fr = de(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: u(r2) ? void 0 : r2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), yr = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return r2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [ir("owns")] }), br = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return r2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [ir("controls")] }), hr = de(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: u(r2) ? void 0 : r2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), vr = de(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: u(r2) ? void 0 : r2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), gr = de(({ setProps: e2, props: t2, create$w: r2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return r2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [sr("errorMessage")] }), Nr = de(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), xr = de(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), $r = de(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Ar = de(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: u(r2) ? void 0 : String(r2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), wr = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(a2) {
          null === a2 || i(a2) ? e2({ screenReader: { ...t2.screenReader, prefix: a2 } }) : r(rr("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(a2) {
          null === a2 || i(a2) ? e2({ screenReader: { ...t2.screenReader, suffix: a2 } }) : r(rr("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(r2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: u(r2) ? void 0 : r2 } });
        } } }), Ir = (de(wr, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), de(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: u(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), Tr = de(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: u(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), Er = { enableAriaLabel: er, enableAriaDescribedBy: ur, enableAriaLabelledBy: pr, enableAriaAtomic: lr, enableAriaBusy: mr, enableAriaCurrent: cr, enableAriaExpanded: dr, enableAriaLive: fr, enableAriaOwns: yr, enableAriaControls: br, enableAriaRoleDescription: hr, enableAriaRelevant: vr, enableAriaErrorMessage: gr, enableAriaHidden: Nr, enableAriaPressed: xr, enableAriaHaspopup: $r, enableAriaRequired: Ar }, Cr = { enableScreenReader: wr, enableRole: Ir, enableTabIndex: Tr }, Sr = ({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: a2 = false, enableAriaBusy: o2 = false, enableAriaHidden: i2 = false, enableAriaPressed: s2 = false, enableAriaHaspopup: u2 = false, enableAriaCurrent: p2 = false, enableAriaExpanded: l2 = false, enableAriaLive: m2 = false, enableAriaOwns: c2 = false, enableAriaControls: d2 = false, enableAriaRoleDescription: f2 = false, enableAriaRelevant: y2 = false, enableRole: b2 = false, enableTabIndex: h2 = false, enableAriaErrorMessage: v2 = false, enableScreenReader: g2 = false, enableAriaRequired: N2 = false } = {}) => (x2) => {
          const $2 = [], A2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: r2, enableAriaAtomic: a2, enableAriaBusy: o2, enableAriaCurrent: p2, enableAriaExpanded: l2, enableAriaLive: m2, enableAriaOwns: c2, enableAriaControls: d2, enableAriaRoleDescription: f2, enableAriaRelevant: y2, enableAriaErrorMessage: v2, enableAriaHidden: i2, enableAriaPressed: s2, enableAriaHaspopup: u2, enableAriaRequired: N2 }, w2 = { enableScreenReader: g2, enableRole: b2, enableTabIndex: h2 };
          if (Object.values(A2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, r3]) => r3 && Er[e5] && t3.push(Er[e5])), (e5) => {
                const r3 = n(t3, { modifyAriaSourceKeys: true })(e5);
                return r3.ariaAttributes = n(t3)(e5), r3;
              };
            })(A2);
            $2.push(e3);
          }
          Object.entries(w2).forEach(([e3, t3]) => t3 && Cr[e3] && $2.push(Cr[e3]));
          return { accessibility: n($2)(x2) };
        }, Or = (e2) => `--${((e3) => `${e3.replace(/([A-Z])/g, "-$1").toLowerCase()}`)(e2)}`;
        var Lr, jr, Pr;
        !function(e2) {
          e2.multiLingualVariable = "multiLangVar", e2.staticVariable = "staticVar", e2.cssVariable = "cssVar";
        }(Lr || (Lr = {})), function(e2) {
          e2[e2.string_length = 0] = "string_length", e2[e2.string_min = 1] = "string_min", e2[e2.string_max = 2] = "string_max", e2[e2.num_min = 3] = "num_min", e2[e2.num_max = 4] = "num_max", e2[e2.one_of = 5] = "one_of";
        }(jr || (jr = {})), function(e2) {
          e2.element = "element", e2.clickable = "clickable", e2.changeable = "changeable", e2.focusable = "focusable", e2.disableable = "disableable", e2.accessible = "accessible";
        }(Pr || (Pr = {}));
        const kr = { [Pr.clickable]: () => It, [Pr.changeable]: () => Tt, [Pr.focusable]: () => Et, [Pr.disableable]: () => Ct, [Pr.element]: ({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => n([St, Zt, Gt, Wt, e2 ? _t(t2) : Qt, Ut]), [Pr.accessible]: () => Sr() }, Vr = (e2, t2) => e2 ? e2.map((e3) => t2[e3]()) : [], Rr = (({ sdkMap: e2, defaultMixins: t2 }) => ({ sdkSchema: r2, validationSchema: a2, mixins: o2 }) => {
          const i2 = t2.map((t3) => e2[t3]()), s2 = Object.keys(r2);
          if (0 === s2.length) return n([...i2, ...Vr(o2, e2)]);
          const u2 = (e3) => "function" === r2[e3].type, p2 = s2.filter((e3) => u2(e3)), l2 = s2.filter((e3) => !u2(e3)), m2 = (e3) => {
            const { props: t3, metaData: a3, setProps: n2, setStyles: o3, createSdkState: i3 } = e3, [s3, u3] = i3({});
            const m3 = { toJSON() {
              const e4 = Object.fromEntries(l2.map((e5) => [e5, t3[e5]]));
              return { ...Jt(a3), ...e4 };
            } };
            return p2.forEach((t4) => function(t5) {
              m3[t5] = (r3) => $t(t5, e3, r3);
            }(t4)), l2.forEach((e4) => function(e5) {
              Object.defineProperty(m3, e5, { enumerable: true, get: () => r2[e5].persistence === Lr.cssVariable ? s3[e5] : t3[e5], set: r2[e5].readonly ? void 0 : (t4) => {
                r2[e5].persistence === Lr.cssVariable ? (o3({ [Or(e5)]: `${t4} !important` }), u3({ [e5]: t4 })) : n2({ [e5]: t4 });
              } });
            }(e4)), m3;
          };
          return n([...i2, a2 ? de(m2, a2) : m2, ...Vr(o2, e2)]);
        })({ sdkMap: kr, defaultMixins: [Pr.element] }), Dr = (Array.from({ length: 8 }).map(() => ({})), "--corvid-"), Br = "avatarCircleSize", Mr = k, Fr = G, Hr = (e2) => Mr({ ...e2, functionName: "avatars" }), _r = (e2) => Fr({ ...e2, functionName: "avatars", expectedType: "string" }), qr = { firstNameLengthExceeded: (e2, t2) => Hr({ propertyName: "firstName", index: t2, value: e2, maximum: 120 }), srcLengthExceeded: (e2, t2) => Hr({ propertyName: "src", index: t2, value: e2, maximum: 120 }), lastNameLengthExceeded: (e2, t2) => Hr({ propertyName: "lastName", index: t2, value: e2, maximum: 120 }), firstNameType: (e2, t2) => _r({ value: e2, index: t2, propertyName: "firstName" }), lastNameType: (e2, t2) => _r({ value: e2, index: t2, propertyName: "lastName" }), srcType: (e2, t2) => _r({ value: e2, index: t2, propertyName: "src" }) }, Gr = [{ name: "firstName", typeError: qr.firstNameType, lengthError: qr.firstNameLengthExceeded, max: 120 }, { name: "lastName", typeError: qr.lastNameType, lengthError: qr.lastNameLengthExceeded, max: 120 }, { name: "src", typeError: qr.srcType, lengthError: qr.srcLengthExceeded, max: 1200 }], Wr = (e2, t2) => {
          for (const { lengthError: r2, max: a2, name: n2, typeError: o2 } of Gr) {
            const i2 = e2[n2];
            if (i2 && "string" != typeof i2) return o2(null == i2 ? void 0 : i2.toString(), t2);
            if (i2 && i2.length > a2) return r2(i2, t2);
          }
          return null;
        }, zr = n([Rr({ sdkSchema: { avatars: { type: "array" }, avatarSize: { type: "number" }, maxAvatars: { type: "number" }, showHiddenAvatarCount: { type: "boolean" } }, validationSchema: { type: ["object"], properties: { avatars: { type: ["array"], items: { type: ["object"], properties: { alt: { maxLength: 120, type: ["string", "nil"] }, firstName: { maxLength: 120, type: ["string", "nil"] }, lastName: { maxLength: 120, type: ["string", "nil"] }, src: { maxLength: 1200, type: ["string", "nil"] } } } }, maxAvatars: { type: ["integer"], minimum: 1 }, showHiddenAvatarCount: { type: ["boolean"] } } }, mixins: ["changeable"] }), (e2) => {
          const { setProps: t2, props: a2 } = e2;
          return { set avatars(e3) {
            for (const t3 in e3) {
              const a3 = Number(t3), n2 = Wr(e3[a3], a3);
              if (n2) return void r(n2);
            }
            t2({ avatars: e3 });
          }, get avatars() {
            return a2.avatars;
          } };
        }, de((e2) => {
          const { createSdkState: t2, setStyles: r2 } = e2, [a2, n2] = t2({ avatarSize: void 0 }, "WutAvatarGroup");
          return { get avatarSize() {
            return a2.avatarSize;
          }, set avatarSize(e3) {
            n2({ avatarSize: e3 }), r2({ ["" + Dr + Br]: e3 + "px" });
          } };
        }, { properties: { avatarSize: { minimum: 10, maximum: 200, type: ["number"] } } })]);
        var Yr = { factory: zr };
        return t;
      }();
    });
  })(WutAvatarGroup_bundle_min);
  var WutAvatarGroup_bundle_minExports = WutAvatarGroup_bundle_min.exports;
  const WutAvatarGroup = /* @__PURE__ */ getDefaultExportFromCjs(WutAvatarGroup_bundle_minExports);
  var WutBadge_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, r2) {
          for (var n2 in r2) e.o(r2, n2) && !e.o(t2, n2) && Object.defineProperty(t2, n2, { enumerable: true, get: r2[n2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return Dr;
        }, sdk: function() {
          return Br;
        } });
        const r = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, n = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function a(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function i(e2) {
          return "string" == typeof e2;
        }
        function o(e2) {
          return Array.isArray(e2);
        }
        function s(e2) {
          return null == e2;
        }
        function u(e2, t2) {
          return t2.includes(e2);
        }
        function l(e2, t2) {
          return e2 > t2;
        }
        function p(e2, t2) {
          return e2 < t2;
        }
        const c = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, m = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it is an invalid effectName value. Read more about effects: "${n2}"')`, d = ({ propertyName: e2, compName: t2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${r2}"')`, f = ({ propertyName: e2, compName: t2, effectName: r2, wrongProperty: n2, wrongValue: a2, infoLink: i2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because it was called with the following invalid effectOptions ${n2}: ${a2}. Read more about the effectOptions object: "${i2}"')`, b = ({ propertyName: e2, compName: t2, effectName: r2, infoLink: n2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${r2}". Read more about effects: "${n2}"`, y = ({ propertyName: e2, compName: t2, effectName: r2, wrongValue: n2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${r2}" effect because the it was called with the following invalid effectOptions "${n2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, h = ({ propertyName: e2, functionName: t2, compName: r2 }) => `The ${e2} parameter of "${r2}" that is passed to the ${t2} method cannot be set to null.`, g = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} that is passed to the ${t2} method cannot be set to null or undefined.`, v = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, N = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, x = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is required for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, A = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, w = ({ propertyName: e2, functionName: t2, index: r2 }) => `The ${e2} parameter of item at index ${r2} is not allowed for ${t2} method.`, I = ({ propertyNames: e2, functionName: t2, index: r2 }) => `The following parameters: ${[...e2]} of item at index ${r2} are unknown for ${t2} method.`, C = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${a2}.`, T = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be between ${n2} and ${a2}.`, O = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${n2}.`, E = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". Its length must be ${n2}.`, S = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, j = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length is shorter than ${n2}.`, L = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, P = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}" because its length exceeds ${n2}.`, k = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${n2} and ${a2}.`, V = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, maximum: a2, index: i2 }) => `The ${e2} parameter of item at index ${i2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be between ${n2} and ${a2}.`, R = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${n2}.`, B = ({ propertyName: e2, functionName: t2, value: r2, expectedValue: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${r2}". It must be ${n2}.`, D = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, M = ({ propertyName: e2, functionName: t2, value: r2, minimum: n2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be larger than ${n2}.`, F = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${n2}.`, _ = ({ propertyName: e2, functionName: t2, value: r2, maximum: n2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be less than ${n2}.`, q = ({ propertyName: e2, functionName: t2, value: r2, expectedType: n2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${n2}.`, H = ({ propertyName: e2, functionName: t2, value: r2, expectedType: n2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${r2}. It must be of type ${n2}.`, W = ({ propertyName: e2, functionName: t2, value: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${r2}. Bad format`, G = ({ functionName: e2, wrongEffects: t2, allowedEffects: r2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${r2.join('", "')}".`, Y = ({ propertyName: e2, functionName: t2, value: r2, index: n2 }) => `The "${e2}" property of the item at index ${n2} that is passed to the ${t2} method cannot be set to "${r2}". Bad format`, X = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, K = ({ compName: e2, functionName: t2, propertyName: r2, index: n2 }) => a(n2) ? g({ propertyName: r2, functionName: t2, index: n2 }) : e2 ? h({ compName: e2, functionName: t2, propertyName: r2 }) : c({ functionName: t2, propertyName: r2 }), U = ({ functionName: e2, propertyName: t2, index: r2 }) => a(r2) ? x({ functionName: e2, propertyName: t2, index: r2 }) : v({ functionName: e2, propertyName: t2 }), z = ({ functionName: e2, propertyNames: t2, index: r2 }) => t2 && t2.length > 1 ? a(r2) ? I({ functionName: e2, propertyNames: t2, index: r2 }) : A({ functionName: e2, propertyNames: t2 }) : a(r2) ? w({ functionName: e2, propertyName: t2[0], index: r2 }) : $({ functionName: e2, propertyName: t2[0] }), J = ({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: i2, index: o2 }) => i2 && n2 ? i2 === n2 ? a(o2) ? E({ functionName: e2, propertyName: t2, value: r2, expectedValue: i2, index: o2 }) : O({ functionName: e2, propertyName: t2, value: r2, expectedValue: i2 }) : a(o2) ? T({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: i2, index: o2 }) : C({ functionName: e2, propertyName: t2, value: r2, maximum: n2, minimum: i2 }) : !i2 && n2 ? a(o2) ? P({ functionName: e2, propertyName: t2, value: r2, maximum: n2, index: o2 }) : L({ functionName: e2, propertyName: t2, value: r2, maximum: n2 }) : a(o2) ? j({ functionName: e2, propertyName: t2, value: r2, minimum: i2, index: o2 }) : S({ functionName: e2, propertyName: t2, value: r2, minimum: i2 }), Z = ({ functionName: e2, propertyName: t2, value: r2, minimum: n2, maximum: i2, index: o2 }) => n2 && i2 ? n2 === i2 ? a(o2) ? B({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2, index: o2 }) : R({ functionName: e2, propertyName: t2, expectedValue: n2, value: r2 }) : a(o2) ? V({ functionName: e2, propertyName: t2, value: r2, maximum: i2, minimum: n2, index: o2 }) : k({ functionName: e2, propertyName: t2, value: r2, maximum: i2, minimum: n2 }) : !n2 && i2 ? a(o2) ? _({ functionName: e2, propertyName: t2, maximum: i2, value: r2, index: o2 }) : F({ functionName: e2, propertyName: t2, maximum: i2, value: r2 }) : a(o2) ? M({ functionName: e2, propertyName: t2, value: r2, minimum: n2, index: o2 }) : D({ functionName: e2, propertyName: t2, value: r2, minimum: n2 }), Q = ({ functionName: e2, propertyName: t2, types: r2, value: n2, index: i2 }) => {
          const o2 = r2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return a(i2) ? H({ functionName: e2, index: i2, propertyName: t2, value: n2, expectedType: o2 }) : q({ functionName: e2, propertyName: t2, value: n2, expectedType: o2 });
        }, ee = ({ functionName: e2, propertyName: t2, value: r2, enum: n2, index: i2 }) => {
          const o2 = `from (${n2.join(",")})`;
          return a(i2) ? H({ functionName: e2, propertyName: t2, value: r2, expectedType: o2, index: i2 }) : q({ functionName: e2, propertyName: t2, value: r2, expectedType: o2 });
        }, te = ({ functionName: e2, propertyName: t2, value: r2, index: n2 }) => a(n2) ? Y({ functionName: e2, propertyName: t2, value: r2, index: n2 }) : W({ functionName: e2, propertyName: t2, value: r2 }), re = Object.prototype.hasOwnProperty, ne = Object.getOwnPropertyNames, ae = () => {
        };
        function ie(e2, t2, r2, n2, a2, i2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !o(e3);
          }(e2)) return le.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => ie(e2, t3, r2, ae, a2, i2)).filter((e3) => e3 === le.Valid).length ? le.Valid : le.Invalid;
          if (t2.required) {
            for (let r3 = 0; r3 < t2.required.length; r3++) if (!re.call(e2, t2.required[r3])) return n2(U({ functionName: i2.functionName, index: i2.index, propertyName: t2.required[r3] }), { ...i2, value: e2 }), le.Invalid;
          }
          const s2 = ne(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = ne(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return n2(z({ functionName: i2.functionName, index: i2.index, propertyNames: t3 })), le.Invalid;
            }
          }
          for (let n3 = 0; n3 < s2.length; n3++) {
            const a3 = s2[n3];
            if (re.call(e2, a3)) {
              const n4 = t2.properties[a3], o2 = e2[a3];
              if (!r2(o2, n4, { functionName: i2.functionName, index: i2.index, propertyName: a3 })) return le.Invalid;
            }
          }
          return le.Valid;
        }
        function oe(e2) {
          return Array.isArray(e2);
        }
        function se(e2, t2, r2, n2) {
          const { minimum: i2, maximum: o2, enum: s2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? s2 && !u(e2, s2) ? (r2(ee({ value: e2, enum: s2, ...n2 }), { ...n2, value: e2 }), le.Invalid) : a(i2) && p(e2, i2) || a(o2) && l(e2, o2) ? (r2(Z({ value: e2, minimum: i2, maximum: o2, ...n2 }), { ...n2, value: e2 }), le.Invalid) : le.Valid : le.InvalidType;
        }
        function ue(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? le.Valid : le.InvalidType;
        }
        const le = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function pe({ reportError: e2, reportWarning: t2 }, r2, { suppressIndexErrors: n2 = false } = {}) {
          function c2(n3, a2, i2) {
            a2.warnIfNil && s(n3) && t2(K({ ...i2, compName: r2 }), { ...i2, value: n3 });
            let o2 = 0;
            for (; o2 < a2.type.length; o2++) {
              const e3 = (0, m2[a2.type[o2]])(n3, a2, i2);
              if (e3 !== le.InvalidType) return e3 === le.Valid;
            }
            return o2 === a2.type.length && e2(Q({ value: n3, types: a2.type, ...i2 }), { ...i2, value: n3 }), false;
          }
          const m2 = { object: (r3, n3, a2) => ie(r3, n3, c2, e2, t2, a2), array: (e3, t3, r3) => function(e4, t4, r4, n3, a2, i2 = false) {
            if (!o(e4)) return le.InvalidType;
            let s2 = le.Valid;
            if (t4.items) {
              const n4 = oe(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let o2 = 0; o2 < n4; o2++) {
                const n5 = e4[o2];
                let u2, l2;
                oe(t4.items) ? (u2 = t4.items[o2], l2 = t4.items[o2].name) : (u2 = t4.items, l2 = t4.name), r4(n5, u2, { functionName: a2.functionName, propertyName: l2 || a2.propertyName, index: i2 ? void 0 : o2 }) || (s2 = le.Invalid);
              }
            }
            return s2;
          }(e3, t3, c2, 0, r3, n2), number: (t3, r3, n3) => function(e3, t4, r4, n4) {
            const { minimum: i2, maximum: o2, enum: s2 } = t4;
            return a(e3) ? s2 && !u(e3, s2) ? (r4(ee({ value: e3, enum: s2, ...n4 }), { ...n4, value: e3 }), le.Invalid) : a(i2) && p(e3, i2) || a(o2) && l(e3, o2) ? (r4(Z({ value: e3, minimum: i2, maximum: o2, ...n4 }), { ...n4, value: e3 }), le.Invalid) : le.Valid : le.InvalidType;
          }(t3, r3, e2, n3), integer: (t3, r3, n3) => se(t3, r3, e2, n3), string: (t3, r3, n3) => function(e3, t4, r4, n4) {
            const { minLength: a2, maxLength: o2, enum: s2, pattern: c3 } = t4;
            return i(e3) ? s2 && !u(e3, s2) ? (r4(ee({ value: e3, enum: s2, ...n4 }), { ...n4, value: e3 }), le.Invalid) : a2 && p(e3.length, a2) || o2 && l(e3.length, o2) ? (r4(J({ value: e3, minimum: a2, maximum: o2, ...n4 }), { ...n4, value: e3 }), le.Invalid) : c3 && !new RegExp(c3).test(e3) ? (r4(te({ value: e3, ...n4 }), { ...n4, value: e3 }), le.Invalid) : le.Valid : le.InvalidType;
          }(t3, r3, e2, n3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? le.Valid : le.InvalidType;
          }(e3), date: (e3) => ue(e3), nil: (e3) => function(e4) {
            return s(e4) ? le.Valid : le.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? le.Valid : le.InvalidType;
          }(e3) };
          return function(e3, t3, r3) {
            return c2(e3, t3, { functionName: r3, propertyName: r3, index: void 0 });
          };
        }
        function ce(e2, { suppressIndexErrors: t2 = false } = {}) {
          return pe({ reportError: r, reportWarning: n }, e2, { suppressIndexErrors: t2 });
        }
        function me(e2, t2, r2 = {}) {
          return (n2) => {
            const a2 = e2(n2), i2 = ce(n2.metaData.role), o2 = ce(n2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const u2 = Object.getOwnPropertyDescriptor(a2, s2), l2 = { enumerable: true, configurable: true };
              return u2.value ? "function" == typeof u2.value ? l2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, i3 = r2[s2];
                let l3 = true;
                return a3 && (l3 = o2(e4, { type: ["array"], items: a3 }, s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, n2))), l3 ? u2.value(...e4) : void 0;
              } : l2.value = u2.value : (u2.get && (l2.get = () => a2[s2]), u2.set && (l2.set = (e4) => {
                const o3 = r2[s2];
                let u3 = true;
                t2.properties[s2] && (u3 = i2(e4, t2.properties[s2], s2)), u3 && o3 && (u3 = o3.every((t3) => t3(e4, n2))), u3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, l2), e3;
            }, {});
          };
        }
        const de = "click", fe = "dblClick", be = "mouseenter", ye = "mouseleave", he = "change", ge = "blur", ve = "focus", Ne = "imageChanged", xe = "imageExpanded", $e = "onInput", Ae = "itemClicked", we = "cellSelect", Ie = "cellEdit", Ce = "rowSelect", Te = "fetchData", Oe = "dataChange", Ee = "onTimeout", Se = "onVerified", je = "onError", Le = "onPlay", Pe = "onPause", ke = "onProgress", Ve = "onEnded", Re = "autoplayOff", Be = "autoplayOn", De = "playEnded", Me = "playProgress", Fe = "keyPress", _e = "keyUp", qe = "keyDown", He = "screenIn", We = "viewportEnter", Ge = "viewportLeave", Ye = "scroll", Xe = "validate", Ke = "setCustomValidity", Ue = "syncValidationData", ze = "updateValidityIndication", Je = "message", Ze = "uploadComplete", Qe = "itemReady", et = "itemRemoved", tt = "tagClick", rt = "quickActionBarItemClicked", nt = "markerClicked", at = "mapClicked", it = "iconMouseIn", ot = "onStateChange", st = "itemMouseIn", ut = "itemMouseOut", lt = "itemMouseClick", pt = "itemMouseDblClick", ct = "onColorChange", mt = "onFontChange", dt = "onOpacityChange", ft = { [de]: "onClick", [fe]: "onDblClick", [be]: "onMouseIn", [ye]: "onMouseOut", [he]: "onChange", [$e]: "onInput", [ge]: "onBlur", [ve]: "onFocus", [Ne]: "onCurrentItemChanged", [xe]: void 0, [Ae]: "onItemClicked", [we]: "onCellSelect", [Ie]: void 0, [Ce]: "onRowSelect", [Te]: void 0, [Oe]: "onDataChange", [Ee]: "onTimeout", [Se]: "onVerified", [je]: "onError", [Le]: "onPlay", [Pe]: "onPause", [ke]: "onProgress", [Ve]: "onEnded", [Re]: "onPause", [Be]: "onPlay", [De]: void 0, [Me]: void 0, [Fe]: "onKeyPress", [_e]: "onKeyUp", [qe]: "onKeyDown", [He]: void 0, [We]: "onViewportEnter", [Ge]: "onViewportLeave", [Ye]: void 0, [Xe]: void 0, [Ke]: void 0, [Ue]: void 0, [ze]: void 0, [Je]: "onMessage", [Ze]: void 0, [Qe]: "onItemReady", [et]: "onItemRemoved", [tt]: void 0, [rt]: "onItemClicked", [nt]: "onMarkerClicked", [at]: "onMapClicked", [it]: void 0, [ot]: "onStateChange", [st]: "onItemMouseIn", [ut]: "onItemMouseOut", [lt]: "onItemClick", [pt]: "onItemDblClick", [ct]: "onColorChange", [mt]: "onFontChange", [dt]: "onOpacityChange" }, bt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, yt = (e2) => {
          const { target: t2, type: r2, context: n2 } = e2;
          return { target: t2, type: bt[r2] ?? r2, context: n2 };
        }, ht = (e2) => {
          const { clientX: t2, clientY: r2, pageX: n2, pageY: a2, screenX: i2, screenY: o2, nativeEvent: s2 } = e2, { offsetX: u2, offsetY: l2 } = s2;
          return { clientX: t2, clientY: r2, pageX: n2, pageY: a2, screenX: i2, screenY: o2, offsetX: u2, offsetY: l2 };
        }, gt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, vt = (e2) => e2.replace(/^on/i, ""), Nt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), xt = (e2, t2, r2, n2) => {
          const { create$w: a2, createEvent: i2, registerEvent: o2, getSdkInstance: s2, metaData: u2 } = t2;
          if (!((e3, t3, r3) => ce(r3)(e3, { type: ["function"] }, t3))(r2, gt[e2] ?? e2, u2.role)) return s2();
          const [l2, p2] = Nt(t2), c2 = o2(e2, (e3, t3) => {
            const o3 = i2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: o3.context }), u3 = n2?.({ componentEvent: e3, eventPayload: t3 });
            r2({ ...yt(o3), ...u3 }, s3);
          }), m2 = { eventName: e2, compId: u2.compId, cb: r2, unregister: c2 };
          return p2({ listeners: [...l2.listeners, m2] }), s2();
        }, $t = (e2, t2) => {
          const r2 = ((e3) => {
            const t3 = Object.entries(gt).find(([t4, r3]) => vt(r3.toLowerCase()) === vt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(ft[t2] ?? t2);
          return e2.toLowerCase() === r2.toLowerCase();
        }, At = (e2, t2, r2, n2) => xt(e2, t2, r2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...ht(e3), ...t3 && n2?.(t3) })), wt = (e2) => ({ onClick: (t2) => At("onClick", e2, t2), onDblClick: (t2) => At("onDblClick", e2, t2) }), It = (e2) => ({ onChange: (t2) => xt("onChange", e2, t2) }), Ct = (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => xt("onFocus", e2, t2), onBlur: (t2) => xt("onBlur", e2, t2) }), Tt = ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) });
        function Ot(e2, t2) {
          const { modifyAriaSourceKeys: r2 } = t2 ?? {};
          return (t3) => {
            const n2 = {};
            for (let i2 = 0; i2 < e2.length; i2++) {
              const o2 = e2[i2](t3), s2 = Object.keys(o2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], i3 = Object.getOwnPropertyDescriptor(o2, t4);
                Object.defineProperty(n2, r2 && i3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, i3);
              }
            }
            var a2;
            return n2;
          };
        }
        const Et = ({ handlers: e2, metaData: t2 }) => {
          const { compId: r2, connection: n2, compType: a2, isGlobal: i2, getParent: o2, role: s2, wixCodeId: u2 } = t2, l2 = `$w.${a2}`;
          return { get id() {
            return u2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return n2?.config;
          }, get uniqueId() {
            return r2;
          }, get parent() {
            return o2();
          }, get global() {
            return i2();
          }, get type() {
            return l2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(r2, t3));
          }, toJSON() {
            return { id: s2, type: l2, global: i2() };
          } };
        }, St = (e2) => (t2) => {
          const { metaData: r2, getSdkInstance: n2, create$w: a2, createEvent: i2 } = t2, o2 = (e3, t3) => ce(r2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (r3) => o2(r3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = i2({ type: "viewportEnter" }), t3 = a2();
            r3(e3, t3);
          }), xt("onViewportEnter", t2, r3)) : n2(), onViewportLeave: (r3) => o2(r3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = i2({ type: "viewportLeave" }), t3 = a2();
            r3(e3, t3);
          }), xt("onViewportLeave", t2, r3)) : n2() };
        }, jt = { duration: 1200, delay: 0 }, Lt = { arc: { ...jt, direction: "left" }, bounce: { ...jt, direction: "topLeft", intensity: "medium" }, puff: { ...jt }, zoom: { ...jt }, fade: { ...jt }, flip: { ...jt, direction: "right" }, float: { ...jt, direction: "right" }, fly: { ...jt, direction: "right" }, fold: { ...jt, direction: "left" }, glide: { ...jt, angle: 0, distance: 0 }, roll: { ...jt, direction: "left" }, slide: { ...jt, direction: "left" }, spin: { ...jt, direction: "cw", cycles: 5 }, turn: { ...jt, direction: "right" }, ArcIn: { ...jt, direction: "right" }, ArcOut: { ...jt, direction: "right" }, BounceIn: { ...jt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...jt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...jt, direction: "right" }, CollapseOut: { ...jt }, Conceal: { ...jt, direction: "right" }, Reveal: { ...jt, direction: "left" }, FadeIn: { ...jt }, FadeOut: { ...jt }, FlipIn: { ...jt, direction: "left" }, FlipOut: { ...jt, direction: "left" }, FloatIn: { ...jt, direction: "right" }, FloatOut: { ...jt, direction: "right" }, FlyIn: { ...jt, direction: "right" }, FlyOut: { ...jt, direction: "right" }, FoldIn: { ...jt, direction: "left" }, FoldOut: { ...jt, direction: "left" }, GlideIn: { ...jt, angle: 0, distance: 150 }, GlideOut: { ...jt, angle: 0, distance: 150 }, DropIn: { ...jt }, PopOut: { ...jt }, SlideIn: { ...jt, direction: "left" }, SlideOut: { ...jt, direction: "left" }, SpinIn: { ...jt, direction: "cw", cycles: 2 }, SpinOut: { ...jt, direction: "cw", cycles: 2 }, TurnIn: { ...jt, direction: "right" }, TurnOut: { ...jt, direction: "right" } }, Pt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, kt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Vt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Rt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Bt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Dt = { arc: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Vt, delay: Rt } }, zoom: { type: ["object"], properties: { duration: Vt, delay: Rt } }, fade: { type: ["object"], properties: { duration: Vt, delay: Rt } }, flip: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Bt } }, float: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Bt } }, fly: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Bt } }, fold: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Bt } }, glide: { type: ["object"], properties: { duration: Vt, delay: Rt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Bt } }, slide: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Bt } }, spin: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Mt = ({ propertyName: e2, compName: t2 }) => (r2, a2) => {
          if (!r2) return false;
          if (void 0 === a2) return true;
          const i2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (a3, i3) => {
            n(y({ propertyName: t3, compName: r3, effectName: e3, wrongValue: `${i3?.value}`, infoLink: kt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          if (!pe({ reportError: i2, reportWarning: () => ({}) }, t2)(a2, { type: ["object"] }, e2)) return false;
          const o2 = (({ effectName: e3, propertyName: t3, compName: r3 }) => (a3, i3) => {
            n(f({ propertyName: t3, compName: r3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${i3?.propertyName}" cannot be set to the value "${i3?.value}"`, infoLink: kt(t3) }));
          })({ effectName: r2, propertyName: e2, compName: t2 });
          return !!pe({ reportError: o2, reportWarning: () => ({}) }, t2)(a2, Dt[r2], e2);
        }, Ft = (e2) => 0 === Object.keys(e2).length, _t = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: r2, portal: a2, metaData: i2, getSdkInstance: o2, runAnimation: s2, createSdkState: u2, styleUtils: l2, setProps: p2 }) => {
          const c2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: r3, propertyName: a3 }) => {
            const i3 = Mt({ propertyName: a3, compName: e3 });
            if (!t3 && !r3) return false;
            if (!t3 && r3 && !Ft(r3)) return n(d({ propertyName: a3, compName: e3, infoLink: kt(a3) })), false;
            const o3 = "hide" === a3 ? "HIDE" : "SHOW", s3 = Pt[o3]?.deprecatedValues;
            return t3 && r3 && s3 && s3.find((e4) => e4 === t3) && !Ft(r3) ? (n(b({ compName: e3, effectName: t3, propertyName: a3, infoLink: kt(a3) })), false) : !!s3.find((e4) => e4 === t3) || (t3 && !(t3 in Dt) ? (n(m({ propertyName: a3, compName: e3, effectName: t3, infoLink: kt(a3) })), false) : !!i3(t3, r3));
          })({ compName: i2.role }), [f2, y2] = u2({ hidden: i2.hiddenOnLoad, collapsed: i2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (n2, i3) => {
            if (p2({ hidden: true }), f2.collapsed || f2.hidden) y2({ hidden: true });
            else {
              if (c2({ effectName: n2, effectOptions: i3, propertyName: "hide" })) {
                const e3 = { animationDirection: Pt.HIDE.suffix, effectName: n2, effectOptions: { ...Lt?.[n2] || jt, ...i3 } };
                await Promise.all([s2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else r2(l2.getHiddenStyles()), t2 && a2.setStyles(l2.getHiddenStyles());
              y2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (n2, i3) => {
            if (p2({ hidden: false }), !f2.collapsed && f2.hidden) {
              if (c2({ effectName: n2, effectOptions: i3, propertyName: "show" })) {
                const e3 = { animationDirection: Pt.SHOW.suffix, effectName: n2, effectOptions: { ...Lt?.[n2] || jt, ...i3 } };
                await Promise.all([s2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else r2(l2.getShownStyles()), t2 && a2.setStyles(l2.getShownStyles());
              y2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else y2({ hidden: false });
          }, collapse: async () => {
            p2({ collapsed: true }), f2.collapsed || (r2(l2.getCollapsedStyles()), t2 && a2.setStyles(l2.getCollapsedStyles()), y2({ collapsed: true }), f2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (p2({ collapsed: false }), f2.collapsed) {
              const n2 = { ...l2.getExpandedStyles(), visibility: f2.hidden ? "hidden" : null };
              r2(n2), t2 && a2.setStyles(n2), y2({ collapsed: false }), f2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return f2.collapsed;
          }, get hidden() {
            return Boolean(f2.hidden);
          }, get isVisible() {
            if (!i2.isRendered()) return false;
            let e3 = o2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, qt = (e2) => (t2) => ((e3, t3 = false) => {
          const [r2, n2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return Ot([_t({ viewportState: r2, hasPortal: t3 }), St((e4, t4) => {
            n2({ [e4]: [...r2[e4], t4] });
          })])(e3);
        })(t2, e2), Ht = (e2, t2, n2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && r(G({ functionName: n2, wrongEffects: a2, allowedEffects: e2 }));
        }, Wt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (r2) => {
            Ht(t2(), r2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...r2);
          }, removeEffects: (r2) => {
            Ht(t2(), r2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...r2);
          }, toggleEffects: (r2) => {
            Ht(t2(), r2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...r2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Gt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Yt = (e2, t2) => "string" != typeof e2 ? (Xt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Ut(e2, t2), false), Xt = (e2, t2, n2, a2) => {
          r(q({ propertyName: e2, functionName: t2, value: n2, expectedType: a2 }));
        }, Kt = (e2, t2) => {
          r(v({ propertyName: e2, functionName: t2 }));
        }, Ut = (e2, t2) => {
          r(X({ propertyName: e2, functionName: t2 }));
        }, zt = (e2) => {
          const { setProps: t2, props: n2 } = e2;
          return { customClassList: { get value() {
            return n2.customClassNames ? n2.customClassNames?.join(" ") : "";
          }, values() {
            return n2.customClassNames ? n2.customClassNames : [];
          }, add(...e3) {
            const r2 = n2.customClassNames ? new Set(n2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Yt(t3, "customClassList.add")) return;
                r2.add(t3);
              }
              t2({ customClassNames: Array.from(r2) });
            } else Kt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Kt("className", "customClassList.remove");
            const r2 = new Set(n2.customClassNames);
            for (const t3 of e3) {
              if (!Yt(t3, "customClassList.remove")) return;
              r2.delete(t3);
            }
            t2({ customClassNames: Array.from(r2) });
          }, contains(e3) {
            if (e3) return Yt(e3, "customClassList.contains") ? !!n2.customClassNames && n2.customClassNames.includes(e3) : void 0;
            Kt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Yt(t3, "customClassList.replace") || !Yt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (r(N({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Yt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Kt("className", "customClassList.toggle"), false);
          } } };
        }, Jt = ({ role: e2, compType: t2, isGlobal: r2, isRendered: n2 }) => ({ id: e2, type: `$w.${t2}`, global: r2(), rendered: n2() }), Zt = (e2) => ({ onMouseIn: (t2) => At("onMouseEnter", e2, t2), onMouseOut: (t2) => At("onMouseLeave", e2, t2), removeEventHandler: (t2, n2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (r(q({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof n2 ? (r(q({ propertyName: "handler", functionName: "removeEventHandler", value: n2, expectedType: "function" })), a2()) : ((e3, t3, r2) => {
            const { metaData: n3, getSdkInstance: a3 } = t3, [i2, o2] = Nt(t3), s2 = i2.listeners.filter((t4) => $t(t4.eventName, e3) && t4.cb === r2 && t4.compId === n3.compId);
            for (const e4 of s2) e4.unregister();
            return o2({ listeners: i2.listeners.filter((e4) => !s2.includes(e4)) }), a3();
          })(t2, e2, n2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Jt(e2.metaData);
        } }), Qt = St(), er = (Ot([Et, Qt, Zt, Wt, zt]), me(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: s(r2) ? void 0 : r2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } }));
        var tr;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(tr || (tr = {}));
        const rr = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, nr = (e2) => ar(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), ar = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), ir = (e2, t2, n2, a2, i2) => i2 ? !!n2(i2) || (r(a2), false) : !!t2 || (r(Q({ value: i2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), or = (e2, t2 = true) => (r2) => ir(e2, t2, ar, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, r2), sr = (e2, t2 = true) => (r2) => ir(e2, t2, nr, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, r2), ur = me(({ setProps: e2, props: t2, create$w: r2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return r2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [sr("describedBy")] }), lr = me(({ setProps: e2, props: t2, create$w: r2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return r2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [sr("labelledBy")] }), pr = me(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), cr = me(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), mr = me(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), dr = me(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), fr = me(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: s(r2) ? void 0 : r2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), br = me(({ setProps: e2, props: t2, create$w: r2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return r2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [or("owns")] }), yr = me(({ setProps: e2, props: t2, create$w: r2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return r2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [or("controls")] }), hr = me(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: s(r2) ? void 0 : r2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), gr = me(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: s(r2) ? void 0 : r2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), vr = me(({ setProps: e2, props: t2, create$w: r2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return r2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(r3) {
          e2(r3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: r3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [sr("errorMessage")] }), Nr = me(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), xr = me(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), $r = me(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), Ar = me(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(r2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: s(r2) ? void 0 : String(r2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), wr = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(n2) {
          null === n2 || i(n2) ? e2({ screenReader: { ...t2.screenReader, prefix: n2 } }) : r(rr("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(n2) {
          null === n2 || i(n2) ? e2({ screenReader: { ...t2.screenReader, suffix: n2 } }) : r(rr("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(r2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: s(r2) ? void 0 : r2 } });
        } } }), Ir = (me(wr, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), me(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: s(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), Cr = me(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: s(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), Tr = { enableAriaLabel: er, enableAriaDescribedBy: ur, enableAriaLabelledBy: lr, enableAriaAtomic: pr, enableAriaBusy: cr, enableAriaCurrent: mr, enableAriaExpanded: dr, enableAriaLive: fr, enableAriaOwns: br, enableAriaControls: yr, enableAriaRoleDescription: hr, enableAriaRelevant: gr, enableAriaErrorMessage: vr, enableAriaHidden: Nr, enableAriaPressed: xr, enableAriaHaspopup: $r, enableAriaRequired: Ar }, Or = { enableScreenReader: wr, enableRole: Ir, enableTabIndex: Cr }, Er = ({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: r2 = true, enableAriaAtomic: n2 = false, enableAriaBusy: a2 = false, enableAriaHidden: i2 = false, enableAriaPressed: o2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: u2 = false, enableAriaExpanded: l2 = false, enableAriaLive: p2 = false, enableAriaOwns: c2 = false, enableAriaControls: m2 = false, enableAriaRoleDescription: d2 = false, enableAriaRelevant: f2 = false, enableRole: b2 = false, enableTabIndex: y2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: g2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
          const x2 = [], $2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: r2, enableAriaAtomic: n2, enableAriaBusy: a2, enableAriaCurrent: u2, enableAriaExpanded: l2, enableAriaLive: p2, enableAriaOwns: c2, enableAriaControls: m2, enableAriaRoleDescription: d2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: i2, enableAriaPressed: o2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, A2 = { enableScreenReader: g2, enableRole: b2, enableTabIndex: y2 };
          if (Object.values($2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, r3]) => r3 && Tr[e5] && t3.push(Tr[e5])), (e5) => {
                const r3 = Ot(t3, { modifyAriaSourceKeys: true })(e5);
                return r3.ariaAttributes = Ot(t3)(e5), r3;
              };
            })($2);
            x2.push(e3);
          }
          Object.entries(A2).forEach(([e3, t3]) => t3 && Or[e3] && x2.push(Or[e3]));
          return { accessibility: Ot(x2)(N2) };
        }, Sr = (e2) => `--${((e3) => `${e3.replace(/([A-Z])/g, "-$1").toLowerCase()}`)(e2)}`;
        var jr, Lr, Pr;
        !function(e2) {
          e2.multiLingualVariable = "multiLangVar", e2.staticVariable = "staticVar", e2.cssVariable = "cssVar";
        }(jr || (jr = {})), function(e2) {
          e2[e2.string_length = 0] = "string_length", e2[e2.string_min = 1] = "string_min", e2[e2.string_max = 2] = "string_max", e2[e2.num_min = 3] = "num_min", e2[e2.num_max = 4] = "num_max", e2[e2.one_of = 5] = "one_of";
        }(Lr || (Lr = {})), function(e2) {
          e2.element = "element", e2.clickable = "clickable", e2.changeable = "changeable", e2.focusable = "focusable", e2.disableable = "disableable", e2.accessible = "accessible";
        }(Pr || (Pr = {}));
        const kr = { [Pr.clickable]: () => wt, [Pr.changeable]: () => It, [Pr.focusable]: () => Ct, [Pr.disableable]: () => Tt, [Pr.element]: ({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => Ot([Et, Zt, Wt, Gt, e2 ? qt(t2) : Qt, zt]), [Pr.accessible]: () => Er() }, Vr = (e2, t2) => e2 ? e2.map((e3) => t2[e3]()) : [], Rr = (({ sdkMap: e2, defaultMixins: t2 }) => ({ sdkSchema: r2, validationSchema: n2, mixins: a2 }) => {
          const i2 = t2.map((t3) => e2[t3]()), o2 = Object.keys(r2);
          if (0 === o2.length) return Ot([...i2, ...Vr(a2, e2)]);
          const s2 = (e3) => "function" === r2[e3].type, u2 = o2.filter((e3) => s2(e3)), l2 = o2.filter((e3) => !s2(e3)), p2 = (e3) => {
            const { props: t3, metaData: n3, setProps: a3, setStyles: i3, createSdkState: o3 } = e3, [s3, p3] = o3({});
            const c2 = { toJSON() {
              const e4 = Object.fromEntries(l2.map((e5) => [e5, t3[e5]]));
              return { ...Jt(n3), ...e4 };
            } };
            return u2.forEach((t4) => function(t5) {
              c2[t5] = (r3) => xt(t5, e3, r3);
            }(t4)), l2.forEach((e4) => function(e5) {
              Object.defineProperty(c2, e5, { enumerable: true, get: () => r2[e5].persistence === jr.cssVariable ? s3[e5] : t3[e5], set: r2[e5].readonly ? void 0 : (t4) => {
                r2[e5].persistence === jr.cssVariable ? (i3({ [Sr(e5)]: `${t4} !important` }), p3({ [e5]: t4 })) : a3({ [e5]: t4 });
              } });
            }(e4)), c2;
          };
          return Ot([...i2, n2 ? me(p2, n2) : p2, ...Vr(a2, e2)]);
        })({ sdkMap: kr, defaultMixins: [Pr.element] }), Br = Rr({ sdkSchema: { text: { type: "string", persistence: "multiLangVar" }, icon: { type: "object", persistence: "multiLangVar" }, alt: { type: "string", persistence: "multiLangVar" } }, validationSchema: { type: ["object"], properties: { text: { maxLength: 120, type: ["string"] }, icon: { type: ["object"] }, alt: { maxLength: 120, type: ["string"] } } }, mixins: [] });
        var Dr = { factory: Br };
        return t;
      }();
    });
  })(WutBadge_bundle_min);
  var WutBadge_bundle_minExports = WutBadge_bundle_min.exports;
  const WutBadge = /* @__PURE__ */ getDefaultExportFromCjs(WutBadge_bundle_minExports);
  var SelectableContainerInput_bundle_min = { exports: {} };
  (function(module2, exports3) {
    !function(e, t) {
      module2.exports = t();
    }("undefined" != typeof self ? self : commonjsGlobal, function() {
      return function() {
        var e = { d: function(t2, n2) {
          for (var r2 in n2) e.o(n2, r2) && !e.o(t2, r2) && Object.defineProperty(t2, r2, { enumerable: true, get: n2[r2] });
        }, o: function(e2, t2) {
          return Object.prototype.hasOwnProperty.call(e2, t2);
        }, r: function(e2) {
          "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e2, "__esModule", { value: true });
        } }, t = {};
        e.r(t), e.d(t, { default: function() {
          return Mn;
        }, sdk: function() {
          return Bn;
        } });
        const n = (e2) => {
          console.error(`Wix code SDK error: ${e2}`);
        }, r = (e2) => {
          console.warn(`Wix code SDK warning: ${e2}`);
        };
        function a(e2) {
          return "number" == typeof e2 && !Number.isNaN(e2);
        }
        function o(e2) {
          return "string" == typeof e2;
        }
        function i(e2) {
          return Array.isArray(e2);
        }
        function s(e2) {
          return null == e2;
        }
        function l(e2, t2) {
          return t2.includes(e2);
        }
        function u(e2, t2) {
          return e2 > t2;
        }
        function p(e2, t2) {
          return e2 < t2;
        }
        const c = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to null.`, m = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: r2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it is an invalid effectName value. Read more about effects: "${r2}"')`, d = ({ propertyName: e2, compName: t2, infoLink: n2 }) => `The "${e2}" function called on "${t2}" was executed without the specified effect options because it was called without an effect. Read more about effects: "${n2}"')`, f = ({ propertyName: e2, compName: t2, effectName: n2, wrongProperty: r2, wrongValue: a2, infoLink: o2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because it was called with the following invalid effectOptions ${r2}: ${a2}. Read more about the effectOptions object: "${o2}"')`, b = ({ propertyName: e2, compName: t2, effectName: n2, infoLink: r2 }) => `The "${e2}" function  called on "${t2}" was executed without the specified effect options because it was called with the following deprecated effect: "${n2}". Read more about effects: "${r2}"`, y = ({ propertyName: e2, compName: t2, effectName: n2, wrongValue: r2, infoLink: a2 }) => `The "${e2}" function called on "${t2}" was executed without the "${n2}" effect because the it was called with the following invalid effectOptions "${r2}". The effectOptions must be of type Object. Read more about the effectOptions object: "${a2}"'`, h = ({ propertyName: e2, functionName: t2, compName: n2 }) => `The ${e2} parameter of "${n2}" that is passed to the ${t2} method cannot be set to null.`, g = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} that is passed to the ${t2} method cannot be set to null or undefined.`, v = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is required for ${t2} method.`, N = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]}, are required for ${t2} method.`, x = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is required for ${t2} method.`, $ = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter is not allowed for ${t2} method.`, A = ({ propertyNames: e2, functionName: t2 }) => `The following parameters: ${[...e2]} are unknown for ${t2} method.`, I = ({ propertyName: e2, functionName: t2, index: n2 }) => `The ${e2} parameter of item at index ${n2} is not allowed for ${t2} method.`, w = ({ propertyNames: e2, functionName: t2, index: n2 }) => `The following parameters: ${[...e2]} of item at index ${n2} are unknown for ${t2} method.`, C = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${r2} and ${a2}.`, T = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: a2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be between ${r2} and ${a2}.`, S = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${r2}.`, O = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". Its length must be ${r2}.`, E = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${r2}.`, j = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length is shorter than ${r2}.`, L = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${r2}.`, P = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}" because its length exceeds ${r2}.`, k = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: a2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${r2} and ${a2}.`, V = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, maximum: a2, index: o2 }) => `The ${e2} parameter of item at index ${o2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be between ${r2} and ${a2}.`, R = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${r2}.`, D = ({ propertyName: e2, functionName: t2, value: n2, expectedValue: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value "${n2}". It must be ${r2}.`, B = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${r2}.`, M = ({ propertyName: e2, functionName: t2, value: n2, minimum: r2, index: a2 }) => `The value of ${e2} parameter of item at ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be larger than ${r2}.`, F = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${r2}.`, _ = ({ propertyName: e2, functionName: t2, value: n2, maximum: r2, index: a2 }) => `The value of ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be less than ${r2}.`, q = ({ propertyName: e2, functionName: t2, value: n2, expectedType: r2 }) => `The ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${r2}.`, H = ({ propertyName: e2, functionName: t2, value: n2, expectedType: r2, index: a2 }) => `The ${e2} parameter of item at index ${a2} that is passed to the ${t2} method cannot be set to the value ${n2}. It must be of type ${r2}.`, G = ({ propertyName: e2, functionName: t2, value: n2 }) => `The value of ${e2} parameter that is passed to the ${t2} method cannot be set to the value ${n2}. Bad format`, W = ({ functionName: e2, wrongEffects: t2, allowedEffects: n2 }) => `Passed  effects: "${t2.join('", "')}" to the ${e2} method are wrong for this element. Allowed effects are: "${n2.join('", "')}".`, Y = ({ propertyName: e2, functionName: t2, value: n2, index: r2 }) => `The "${e2}" property of the item at index ${r2} that is passed to the ${t2} method cannot be set to "${n2}". Bad format`, X = ({ propertyName: e2, functionName: t2 }) => `The ${e2} parameter that is passed to the ${t2} method contains invalid characters.`, K = ({ compName: e2, functionName: t2, propertyName: n2, index: r2 }) => a(r2) ? g({ propertyName: n2, functionName: t2, index: r2 }) : e2 ? h({ compName: e2, functionName: t2, propertyName: n2 }) : c({ functionName: t2, propertyName: n2 }), U = ({ functionName: e2, propertyName: t2, index: n2 }) => a(n2) ? x({ functionName: e2, propertyName: t2, index: n2 }) : v({ functionName: e2, propertyName: t2 }), z = ({ functionName: e2, propertyNames: t2, index: n2 }) => t2 && t2.length > 1 ? a(n2) ? w({ functionName: e2, propertyNames: t2, index: n2 }) : A({ functionName: e2, propertyNames: t2 }) : a(n2) ? I({ functionName: e2, propertyName: t2[0], index: n2 }) : $({ functionName: e2, propertyName: t2[0] }), J = ({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2, index: i2 }) => o2 && r2 ? o2 === r2 ? a(i2) ? O({ functionName: e2, propertyName: t2, value: n2, expectedValue: o2, index: i2 }) : S({ functionName: e2, propertyName: t2, value: n2, expectedValue: o2 }) : a(i2) ? T({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2, index: i2 }) : C({ functionName: e2, propertyName: t2, value: n2, maximum: r2, minimum: o2 }) : !o2 && r2 ? a(i2) ? P({ functionName: e2, propertyName: t2, value: n2, maximum: r2, index: i2 }) : L({ functionName: e2, propertyName: t2, value: n2, maximum: r2 }) : a(i2) ? j({ functionName: e2, propertyName: t2, value: n2, minimum: o2, index: i2 }) : E({ functionName: e2, propertyName: t2, value: n2, minimum: o2 }), Z = ({ functionName: e2, propertyName: t2, value: n2, minimum: r2, maximum: o2, index: i2 }) => r2 && o2 ? r2 === o2 ? a(i2) ? D({ functionName: e2, propertyName: t2, expectedValue: r2, value: n2, index: i2 }) : R({ functionName: e2, propertyName: t2, expectedValue: r2, value: n2 }) : a(i2) ? V({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2, index: i2 }) : k({ functionName: e2, propertyName: t2, value: n2, maximum: o2, minimum: r2 }) : !r2 && o2 ? a(i2) ? _({ functionName: e2, propertyName: t2, maximum: o2, value: n2, index: i2 }) : F({ functionName: e2, propertyName: t2, maximum: o2, value: n2 }) : a(i2) ? M({ functionName: e2, propertyName: t2, value: n2, minimum: r2, index: i2 }) : B({ functionName: e2, propertyName: t2, value: n2, minimum: r2 }), Q = ({ functionName: e2, propertyName: t2, types: n2, value: r2, index: o2 }) => {
          const i2 = n2.map((e3) => "nil" === e3 ? "null" : e3).join(",");
          return a(o2) ? H({ functionName: e2, index: o2, propertyName: t2, value: r2, expectedType: i2 }) : q({ functionName: e2, propertyName: t2, value: r2, expectedType: i2 });
        }, ee = ({ functionName: e2, propertyName: t2, value: n2, enum: r2, index: o2 }) => {
          const i2 = `from (${r2.join(",")})`;
          return a(o2) ? H({ functionName: e2, propertyName: t2, value: n2, expectedType: i2, index: o2 }) : q({ functionName: e2, propertyName: t2, value: n2, expectedType: i2 });
        }, te = ({ functionName: e2, propertyName: t2, value: n2, index: r2 }) => a(r2) ? Y({ functionName: e2, propertyName: t2, value: n2, index: r2 }) : G({ functionName: e2, propertyName: t2, value: n2 }), ne = Object.prototype.hasOwnProperty, re = Object.getOwnPropertyNames, ae = () => {
        };
        function oe(e2, t2, n2, r2, a2, o2) {
          if (!function(e3) {
            return "object" == typeof e3 && null !== e3 && !i(e3);
          }(e2)) return ue.InvalidType;
          if (t2.oneOf) return 1 === t2.oneOf.map((t3) => oe(e2, t3, n2, ae, a2, o2)).filter((e3) => e3 === ue.Valid).length ? ue.Valid : ue.Invalid;
          if (t2.required) {
            for (let n3 = 0; n3 < t2.required.length; n3++) if (!ne.call(e2, t2.required[n3])) return r2(U({ functionName: o2.functionName, index: o2.index, propertyName: t2.required[n3] }), { ...o2, value: e2 }), ue.Invalid;
          }
          const s2 = re(t2.properties ?? {});
          if (false === t2.additionalProperties) {
            const t3 = re(e2).filter((e3) => !s2.includes(e3));
            if (t3.length) {
              return r2(z({ functionName: o2.functionName, index: o2.index, propertyNames: t3 })), ue.Invalid;
            }
          }
          for (let r3 = 0; r3 < s2.length; r3++) {
            const a3 = s2[r3];
            if (ne.call(e2, a3)) {
              const r4 = t2.properties[a3], i2 = e2[a3];
              if (!n2(i2, r4, { functionName: o2.functionName, index: o2.index, propertyName: a3 })) return ue.Invalid;
            }
          }
          return ue.Valid;
        }
        function ie(e2) {
          return Array.isArray(e2);
        }
        function se(e2, t2, n2, r2) {
          const { minimum: o2, maximum: i2, enum: s2 } = t2;
          return function(e3) {
            return Number.isInteger(e3);
          }(e2) ? s2 && !l(e2, s2) ? (n2(ee({ value: e2, enum: s2, ...r2 }), { ...r2, value: e2 }), ue.Invalid) : a(o2) && p(e2, o2) || a(i2) && u(e2, i2) ? (n2(Z({ value: e2, minimum: o2, maximum: i2, ...r2 }), { ...r2, value: e2 }), ue.Invalid) : ue.Valid : ue.InvalidType;
        }
        function le(e2) {
          return function(e3) {
            return e3 instanceof Date && !Number.isNaN(e3.getTime());
          }(e2) ? ue.Valid : ue.InvalidType;
        }
        const ue = { Valid: "valid", Invalid: "invalid", InvalidType: "invalid-type" };
        function pe({ reportError: e2, reportWarning: t2 }, n2, { suppressIndexErrors: r2 = false } = {}) {
          function c2(r3, a2, o2) {
            a2.warnIfNil && s(r3) && t2(K({ ...o2, compName: n2 }), { ...o2, value: r3 });
            let i2 = 0;
            for (; i2 < a2.type.length; i2++) {
              const e3 = (0, m2[a2.type[i2]])(r3, a2, o2);
              if (e3 !== ue.InvalidType) return e3 === ue.Valid;
            }
            return i2 === a2.type.length && e2(Q({ value: r3, types: a2.type, ...o2 }), { ...o2, value: r3 }), false;
          }
          const m2 = { object: (n3, r3, a2) => oe(n3, r3, c2, e2, t2, a2), array: (e3, t3, n3) => function(e4, t4, n4, r3, a2, o2 = false) {
            if (!i(e4)) return ue.InvalidType;
            let s2 = ue.Valid;
            if (t4.items) {
              const r4 = ie(t4.items) ? Math.min(e4.length, t4.items.length) : e4.length;
              for (let i2 = 0; i2 < r4; i2++) {
                const r5 = e4[i2];
                let l2, u2;
                ie(t4.items) ? (l2 = t4.items[i2], u2 = t4.items[i2].name) : (l2 = t4.items, u2 = t4.name), n4(r5, l2, { functionName: a2.functionName, propertyName: u2 || a2.propertyName, index: o2 ? void 0 : i2 }) || (s2 = ue.Invalid);
              }
            }
            return s2;
          }(e3, t3, c2, 0, n3, r2), number: (t3, n3, r3) => function(e3, t4, n4, r4) {
            const { minimum: o2, maximum: i2, enum: s2 } = t4;
            return a(e3) ? s2 && !l(e3, s2) ? (n4(ee({ value: e3, enum: s2, ...r4 }), { ...r4, value: e3 }), ue.Invalid) : a(o2) && p(e3, o2) || a(i2) && u(e3, i2) ? (n4(Z({ value: e3, minimum: o2, maximum: i2, ...r4 }), { ...r4, value: e3 }), ue.Invalid) : ue.Valid : ue.InvalidType;
          }(t3, n3, e2, r3), integer: (t3, n3, r3) => se(t3, n3, e2, r3), string: (t3, n3, r3) => function(e3, t4, n4, r4) {
            const { minLength: a2, maxLength: i2, enum: s2, pattern: c3 } = t4;
            return o(e3) ? s2 && !l(e3, s2) ? (n4(ee({ value: e3, enum: s2, ...r4 }), { ...r4, value: e3 }), ue.Invalid) : a2 && p(e3.length, a2) || i2 && u(e3.length, i2) ? (n4(J({ value: e3, minimum: a2, maximum: i2, ...r4 }), { ...r4, value: e3 }), ue.Invalid) : c3 && !new RegExp(c3).test(e3) ? (n4(te({ value: e3, ...r4 }), { ...r4, value: e3 }), ue.Invalid) : ue.Valid : ue.InvalidType;
          }(t3, n3, e2, r3), boolean: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return true === e5 || false === e5;
            }(e4) ? ue.Valid : ue.InvalidType;
          }(e3), date: (e3) => le(e3), nil: (e3) => function(e4) {
            return s(e4) ? ue.Valid : ue.InvalidType;
          }(e3), function: (e3) => function(e4) {
            return /* @__PURE__ */ function(e5) {
              return "function" == typeof e5;
            }(e4) ? ue.Valid : ue.InvalidType;
          }(e3) };
          return function(e3, t3, n3) {
            return c2(e3, t3, { functionName: n3, propertyName: n3, index: void 0 });
          };
        }
        function ce(e2, { suppressIndexErrors: t2 = false } = {}) {
          return pe({ reportError: n, reportWarning: r }, e2, { suppressIndexErrors: t2 });
        }
        function me(e2, t2, n2 = {}) {
          return (r2) => {
            const a2 = e2(r2), o2 = ce(r2.metaData.role), i2 = ce(r2.metaData.role, { suppressIndexErrors: true });
            return Object.keys(a2).reduce((e3, s2) => {
              const l2 = Object.getOwnPropertyDescriptor(a2, s2), u2 = { enumerable: true, configurable: true };
              return l2.value ? "function" == typeof l2.value ? u2.value = (...e4) => {
                const a3 = t2.properties[s2] && t2.properties[s2].args, o3 = n2[s2];
                let u3 = true;
                return a3 && (u3 = i2(e4, { type: ["array"], items: a3 }, s2)), u3 && o3 && (u3 = o3.every((t3) => t3(e4, r2))), u3 ? l2.value(...e4) : void 0;
              } : u2.value = l2.value : (l2.get && (u2.get = () => a2[s2]), l2.set && (u2.set = (e4) => {
                const i3 = n2[s2];
                let l3 = true;
                t2.properties[s2] && (l3 = o2(e4, t2.properties[s2], s2)), l3 && i3 && (l3 = i3.every((t3) => t3(e4, r2))), l3 && (a2[s2] = e4);
              })), Object.defineProperty(e3, s2, u2), e3;
            }, {});
          };
        }
        const de = "click", fe = "dblClick", be = "mouseenter", ye = "mouseleave", he = "change", ge = "blur", ve = "focus", Ne = "imageChanged", xe = "imageExpanded", $e = "onInput", Ae = "itemClicked", Ie = "cellSelect", we = "cellEdit", Ce = "rowSelect", Te = "fetchData", Se = "dataChange", Oe = "onTimeout", Ee = "onVerified", je = "onError", Le = "onPlay", Pe = "onPause", ke = "onProgress", Ve = "onEnded", Re = "autoplayOff", De = "autoplayOn", Be = "playEnded", Me = "playProgress", Fe = "keyPress", _e = "keyUp", qe = "keyDown", He = "screenIn", Ge = "viewportEnter", We = "viewportLeave", Ye = "scroll", Xe = "validate", Ke = "setCustomValidity", Ue = "syncValidationData", ze = "updateValidityIndication", Je = "message", Ze = "uploadComplete", Qe = "itemReady", et = "itemRemoved", tt = "tagClick", nt = "quickActionBarItemClicked", rt = "markerClicked", at = "mapClicked", ot = "iconMouseIn", it = "onStateChange", st = "itemMouseIn", lt = "itemMouseOut", ut = "itemMouseClick", pt = "itemMouseDblClick", ct = "onColorChange", mt = "onFontChange", dt = "onOpacityChange", ft = { [de]: "onClick", [fe]: "onDblClick", [be]: "onMouseIn", [ye]: "onMouseOut", [he]: "onChange", [$e]: "onInput", [ge]: "onBlur", [ve]: "onFocus", [Ne]: "onCurrentItemChanged", [xe]: void 0, [Ae]: "onItemClicked", [Ie]: "onCellSelect", [we]: void 0, [Ce]: "onRowSelect", [Te]: void 0, [Se]: "onDataChange", [Oe]: "onTimeout", [Ee]: "onVerified", [je]: "onError", [Le]: "onPlay", [Pe]: "onPause", [ke]: "onProgress", [Ve]: "onEnded", [Re]: "onPause", [De]: "onPlay", [Be]: void 0, [Me]: void 0, [Fe]: "onKeyPress", [_e]: "onKeyUp", [qe]: "onKeyDown", [He]: void 0, [Ge]: "onViewportEnter", [We]: "onViewportLeave", [Ye]: void 0, [Xe]: void 0, [Ke]: void 0, [Ue]: void 0, [ze]: void 0, [Je]: "onMessage", [Ze]: void 0, [Qe]: "onItemReady", [et]: "onItemRemoved", [tt]: void 0, [nt]: "onItemClicked", [rt]: "onMarkerClicked", [at]: "onMapClicked", [ot]: void 0, [it]: "onStateChange", [st]: "onItemMouseIn", [lt]: "onItemMouseOut", [ut]: "onItemClick", [pt]: "onItemDblClick", [ct]: "onColorChange", [mt]: "onFontChange", [dt]: "onOpacityChange" }, bt = { dblclick: "dblClick", keydown: "keyPress", input: "onInput" }, yt = (e2) => {
          const { target: t2, type: n2, context: r2 } = e2;
          return { target: t2, type: bt[n2] ?? n2, context: r2 };
        }, ht = (e2) => {
          const { clientX: t2, clientY: n2, pageX: r2, pageY: a2, screenX: o2, screenY: i2, nativeEvent: s2 } = e2, { offsetX: l2, offsetY: u2 } = s2;
          return { clientX: t2, clientY: n2, pageX: r2, pageY: a2, screenX: o2, screenY: i2, offsetX: l2, offsetY: u2 };
        }, gt = { onMouseEnter: "onMouseIn", onMouseLeave: "onMouseOut" }, vt = (e2) => e2.replace(/^on/i, ""), Nt = (e2) => e2.createSdkState({ listeners: [] }, "eventListeners"), xt = (e2, t2, n2, r2) => {
          const { create$w: a2, createEvent: o2, registerEvent: i2, getSdkInstance: s2, metaData: l2 } = t2;
          if (!((e3, t3, n3) => ce(n3)(e3, { type: ["function"] }, t3))(n2, gt[e2] ?? e2, l2.role)) return s2();
          const [u2, p2] = Nt(t2), c2 = i2(e2, (e3, t3) => {
            const i3 = o2({ type: e3.type, compId: e3.compId }), s3 = a2({ context: i3.context }), l3 = r2?.({ componentEvent: e3, eventPayload: t3 });
            n2({ ...yt(i3), ...l3 }, s3);
          }), m2 = { eventName: e2, compId: l2.compId, cb: n2, unregister: c2 };
          return p2({ listeners: [...u2.listeners, m2] }), s2();
        }, $t = (e2, t2) => {
          const n2 = ((e3) => {
            const t3 = Object.entries(gt).find(([t4, n3]) => vt(n3.toLowerCase()) === vt(e3.toLowerCase()));
            return t3?.[0] ?? e3;
          })(ft[t2] ?? t2);
          return e2.toLowerCase() === n2.toLowerCase();
        }, At = (e2, t2, n2, r2) => xt(e2, t2, n2, ({ componentEvent: e3, eventPayload: t3 }) => ({ ...ht(e3), ...t3 && r2?.(t3) })), It = (e2) => ({ onClick: (t2) => At("onClick", e2, t2), onDblClick: (t2) => At("onDblClick", e2, t2) }), wt = (e2) => ({ onChange: (t2) => xt("onChange", e2, t2) }), Ct = (e2) => ({ focus: () => e2.compRef.focus(), blur: () => e2.compRef.blur(), onFocus: (t2) => xt("onFocus", e2, t2), onBlur: (t2) => xt("onBlur", e2, t2) }), Tt = ({ setProps: e2, props: t2 }) => ({ get enabled() {
          return void 0 === t2.isDisabled || !t2.isDisabled;
        }, disable: () => (e2({ isDisabled: true }), Promise.resolve()), enable: () => (e2({ isDisabled: false }), Promise.resolve()) });
        function St(e2, t2) {
          const { modifyAriaSourceKeys: n2 } = t2 ?? {};
          return (t3) => {
            const r2 = {};
            for (let o2 = 0; o2 < e2.length; o2++) {
              const i2 = e2[o2](t3), s2 = Object.keys(i2);
              for (let e3 = 0; e3 < s2.length; e3++) {
                const t4 = s2[e3], o3 = Object.getOwnPropertyDescriptor(i2, t4);
                Object.defineProperty(r2, n2 && o3.get ? "aria" + (a2 = t4).charAt(0).toUpperCase() + a2.slice(1) : t4, o3);
              }
            }
            var a2;
            return r2;
          };
        }
        const Ot = ({ handlers: e2, metaData: t2 }) => {
          const { compId: n2, connection: r2, compType: a2, isGlobal: o2, getParent: i2, role: s2, wixCodeId: l2 } = t2, u2 = `$w.${a2}`;
          return { get id() {
            return l2 || s2;
          }, get role() {
            return s2;
          }, get connectionConfig() {
            return r2?.config;
          }, get uniqueId() {
            return n2;
          }, get parent() {
            return i2();
          }, get global() {
            return o2();
          }, get type() {
            return u2;
          }, scrollTo() {
            return new Promise((t3) => e2.scrollToComponent(n2, t3));
          }, toJSON() {
            return { id: s2, type: u2, global: o2() };
          } };
        }, Et = (e2) => (t2) => {
          const { metaData: n2, getSdkInstance: r2, create$w: a2, createEvent: o2 } = t2, i2 = (e3, t3) => ce(n2.role)(e3, { type: ["function"] }, t3);
          return { onViewportEnter: (n3) => i2(n3, "onViewportEnter") ? (e2?.("onViewportEnter", () => {
            const e3 = o2({ type: "viewportEnter" }), t3 = a2();
            n3(e3, t3);
          }), xt("onViewportEnter", t2, n3)) : r2(), onViewportLeave: (n3) => i2(n3, "onViewportLeave") ? (e2?.("onViewportLeave", () => {
            const e3 = o2({ type: "viewportLeave" }), t3 = a2();
            n3(e3, t3);
          }), xt("onViewportLeave", t2, n3)) : r2() };
        }, jt = { duration: 1200, delay: 0 }, Lt = { arc: { ...jt, direction: "left" }, bounce: { ...jt, direction: "topLeft", intensity: "medium" }, puff: { ...jt }, zoom: { ...jt }, fade: { ...jt }, flip: { ...jt, direction: "right" }, float: { ...jt, direction: "right" }, fly: { ...jt, direction: "right" }, fold: { ...jt, direction: "left" }, glide: { ...jt, angle: 0, distance: 0 }, roll: { ...jt, direction: "left" }, slide: { ...jt, direction: "left" }, spin: { ...jt, direction: "cw", cycles: 5 }, turn: { ...jt, direction: "right" }, ArcIn: { ...jt, direction: "right" }, ArcOut: { ...jt, direction: "right" }, BounceIn: { ...jt, direction: "topLeft", intensity: "medium" }, BounceOut: { ...jt, direction: "topLeft", intensity: "medium" }, ExpandIn: { ...jt, direction: "right" }, CollapseOut: { ...jt }, Conceal: { ...jt, direction: "right" }, Reveal: { ...jt, direction: "left" }, FadeIn: { ...jt }, FadeOut: { ...jt }, FlipIn: { ...jt, direction: "left" }, FlipOut: { ...jt, direction: "left" }, FloatIn: { ...jt, direction: "right" }, FloatOut: { ...jt, direction: "right" }, FlyIn: { ...jt, direction: "right" }, FlyOut: { ...jt, direction: "right" }, FoldIn: { ...jt, direction: "left" }, FoldOut: { ...jt, direction: "left" }, GlideIn: { ...jt, angle: 0, distance: 150 }, GlideOut: { ...jt, angle: 0, distance: 150 }, DropIn: { ...jt }, PopOut: { ...jt }, SlideIn: { ...jt, direction: "left" }, SlideOut: { ...jt, direction: "left" }, SpinIn: { ...jt, direction: "cw", cycles: 2 }, SpinOut: { ...jt, direction: "cw", cycles: 2 }, TurnIn: { ...jt, direction: "right" }, TurnOut: { ...jt, direction: "right" } }, Pt = { HIDE: { suffix: "out", deprecatedValues: ["ArcOut", "BounceOut", "CollapseOut", "Conceal", "FadeOut", "FlipOut", "FloatOut", "FlyOut", "FoldOut", "GlideOut", "PopOut", "SlideOut", "SpinOut", "TurnOut"] }, SHOW: { suffix: "in", deprecatedValues: ["ArcIn", "BounceIn", "DropIn", "ExpandIn", "FadeIn", "FlipIn", "FloatIn", "FlyIn", "FoldIn", "GlideIn", "Reveal", "SlideIn", "SpinIn", "TurnIn"] } }, kt = (e2) => `https://www.wix.com/corvid/reference/$w/hiddenmixin/${e2}`, Vt = { type: ["number", "nil"], minimum: 0, maximum: 4e3 }, Rt = { type: ["number", "nil"], minimum: 0, maximum: 8e3 }, Dt = { type: ["string", "nil"], enum: ["left", "right", "top", "bottom"] }, Bt = { arc: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["left", "right"] } } }, bounce: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["topLeft", "topRight", "bottomRight", "bottomLeft", "center"] }, intensity: { type: ["string", "nil"], enum: ["soft", "medium", "hard"] } } }, puff: { type: ["object"], properties: { duration: Vt, delay: Rt } }, zoom: { type: ["object"], properties: { duration: Vt, delay: Rt } }, fade: { type: ["object"], properties: { duration: Vt, delay: Rt } }, flip: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, float: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, fly: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, fold: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, glide: { type: ["object"], properties: { duration: Vt, delay: Rt, angle: { type: ["number", "nil"], minimum: 0, maximum: 360 }, distance: { type: ["number", "nil"], minimum: 0, maximum: 300 } } }, roll: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, slide: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: Dt } }, spin: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["cw", "ccw"] }, cycles: { type: ["number", "nil"], minimum: 1, maximum: 15 } } }, turn: { type: ["object"], properties: { duration: Vt, delay: Rt, direction: { type: ["string", "nil"], enum: ["right", "left"] } } } }, Mt = ({ propertyName: e2, compName: t2 }) => (n2, a2) => {
          if (!n2) return false;
          if (void 0 === a2) return true;
          const o2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, o3) => {
            r(y({ propertyName: t3, compName: n3, effectName: e3, wrongValue: `${o3?.value}`, infoLink: kt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          if (!pe({ reportError: o2, reportWarning: () => ({}) }, t2)(a2, { type: ["object"] }, e2)) return false;
          const i2 = (({ effectName: e3, propertyName: t3, compName: n3 }) => (a3, o3) => {
            r(f({ propertyName: t3, compName: n3, effectName: e3, wrongProperty: "value", wrongValue: `the key "${o3?.propertyName}" cannot be set to the value "${o3?.value}"`, infoLink: kt(t3) }));
          })({ effectName: n2, propertyName: e2, compName: t2 });
          return !!pe({ reportError: i2, reportWarning: () => ({}) }, t2)(a2, Bt[n2], e2);
        }, Ft = (e2) => 0 === Object.keys(e2).length, _t = ({ viewportState: e2, hasPortal: t2 = false } = {}) => ({ setStyles: n2, portal: a2, metaData: o2, getSdkInstance: i2, runAnimation: s2, createSdkState: l2, styleUtils: u2, setProps: p2 }) => {
          const c2 = (({ compName: e3 }) => ({ effectName: t3, effectOptions: n3, propertyName: a3 }) => {
            const o3 = Mt({ propertyName: a3, compName: e3 });
            if (!t3 && !n3) return false;
            if (!t3 && n3 && !Ft(n3)) return r(d({ propertyName: a3, compName: e3, infoLink: kt(a3) })), false;
            const i3 = "hide" === a3 ? "HIDE" : "SHOW", s3 = Pt[i3]?.deprecatedValues;
            return t3 && n3 && s3 && s3.find((e4) => e4 === t3) && !Ft(n3) ? (r(b({ compName: e3, effectName: t3, propertyName: a3, infoLink: kt(a3) })), false) : !!s3.find((e4) => e4 === t3) || (t3 && !(t3 in Bt) ? (r(m({ propertyName: a3, compName: e3, effectName: t3, infoLink: kt(a3) })), false) : !!o3(t3, n3));
          })({ compName: o2.role }), [f2, y2] = l2({ hidden: o2.hiddenOnLoad, collapsed: o2.collapsedOnLoad }, "hidden-collapsed");
          return { hide: async (r2, o3) => {
            if (p2({ hidden: true }), f2.collapsed || f2.hidden) y2({ hidden: true });
            else {
              if (c2({ effectName: r2, effectOptions: o3, propertyName: "hide" })) {
                const e3 = { animationDirection: Pt.HIDE.suffix, effectName: r2, effectOptions: { ...Lt?.[r2] || jt, ...o3 } };
                await Promise.all([s2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(u2.getHiddenStyles()), t2 && a2.setStyles(u2.getHiddenStyles());
              y2({ hidden: true }), e2?.onViewportLeave?.forEach((e3) => e3());
            }
          }, show: async (r2, o3) => {
            if (p2({ hidden: false }), !f2.collapsed && f2.hidden) {
              if (c2({ effectName: r2, effectOptions: o3, propertyName: "show" })) {
                const e3 = { animationDirection: Pt.SHOW.suffix, effectName: r2, effectOptions: { ...Lt?.[r2] || jt, ...o3 } };
                await Promise.all([s2(e3), t2 ? a2.runAnimation(e3) : void 0]);
              } else n2(u2.getShownStyles()), t2 && a2.setStyles(u2.getShownStyles());
              y2({ hidden: false }), e2?.onViewportEnter?.forEach((e3) => e3());
            } else y2({ hidden: false });
          }, collapse: async () => {
            p2({ collapsed: true }), f2.collapsed || (n2(u2.getCollapsedStyles()), t2 && a2.setStyles(u2.getCollapsedStyles()), y2({ collapsed: true }), f2.hidden || e2?.onViewportLeave?.forEach((e3) => e3()));
          }, expand: async () => {
            if (p2({ collapsed: false }), f2.collapsed) {
              const r2 = { ...u2.getExpandedStyles(), visibility: f2.hidden ? "hidden" : null };
              n2(r2), t2 && a2.setStyles(r2), y2({ collapsed: false }), f2.hidden || e2?.onViewportEnter?.forEach((e3) => e3());
            }
          }, get collapsed() {
            return f2.collapsed;
          }, get hidden() {
            return Boolean(f2.hidden);
          }, get isVisible() {
            if (!o2.isRendered()) return false;
            let e3 = i2();
            for (; e3; ) {
              if (e3.hidden || e3.collapsed) return false;
              e3 = e3.parent;
            }
            return true;
          }, get isAnimatable() {
            return true;
          } };
        }, qt = (e2) => (t2) => ((e3, t3 = false) => {
          const [n2, r2] = e3.createSdkState({ onViewportEnter: [], onViewportLeave: [] }, "viewport");
          return St([_t({ viewportState: n2, hasPortal: t3 }), Et((e4, t4) => {
            r2({ [e4]: [...n2[e4], t4] });
          })])(e3);
        })(t2, e2), Ht = (e2, t2, r2) => {
          const a2 = t2.filter((t3) => !e2.includes(t3));
          a2.length && n(W({ functionName: r2, wrongEffects: a2, allowedEffects: e2 }));
        }, Gt = (e2) => {
          const t2 = () => e2.effectsTriggersApi?.getEffects() || [];
          return { effects: { get effects() {
            return t2();
          }, get activeEffects() {
            return e2.effectsTriggersApi?.getActiveEffects() || [];
          }, applyEffects: (n2) => {
            Ht(t2(), n2, "applyEffects"), e2.effectsTriggersApi?.applyEffects(...n2);
          }, removeEffects: (n2) => {
            Ht(t2(), n2, "removeEffects"), e2.effectsTriggersApi?.removeEffects(...n2);
          }, toggleEffects: (n2) => {
            Ht(t2(), n2, "toggleEffects"), e2.effectsTriggersApi?.toggleEffects(...n2);
          }, removeAllEffects: () => e2.effectsTriggersApi?.removeAllEffects() } };
        }, Wt = (e2) => ({ delete: () => {
          e2.setProps({ deleted: true }), e2.remove();
        }, restore: () => {
          e2.setProps({ deleted: false }), e2.restore();
        }, get deleted() {
          return !!e2.props.deleted;
        } }), Yt = (e2, t2) => "string" != typeof e2 ? (Xt(e2, t2, "className", "string"), false) : !!/^[a-zA-Z_-][a-zA-Z0-9_-]*$/.test(e2) || (Ut(e2, t2), false), Xt = (e2, t2, r2, a2) => {
          n(q({ propertyName: e2, functionName: t2, value: r2, expectedType: a2 }));
        }, Kt = (e2, t2) => {
          n(v({ propertyName: e2, functionName: t2 }));
        }, Ut = (e2, t2) => {
          n(X({ propertyName: e2, functionName: t2 }));
        }, zt = (e2) => {
          const { setProps: t2, props: r2 } = e2;
          return { customClassList: { get value() {
            return r2.customClassNames ? r2.customClassNames?.join(" ") : "";
          }, values() {
            return r2.customClassNames ? r2.customClassNames : [];
          }, add(...e3) {
            const n2 = r2.customClassNames ? new Set(r2.customClassNames) : /* @__PURE__ */ new Set([]);
            if (e3.length) {
              for (const t3 of e3) {
                if (!Yt(t3, "customClassList.add")) return;
                n2.add(t3);
              }
              t2({ customClassNames: Array.from(n2) });
            } else Kt("className", "customClassList.add");
          }, remove(...e3) {
            if (!e3.length) return void Kt("className", "customClassList.remove");
            const n2 = new Set(r2.customClassNames);
            for (const t3 of e3) {
              if (!Yt(t3, "customClassList.remove")) return;
              n2.delete(t3);
            }
            t2({ customClassNames: Array.from(n2) });
          }, contains(e3) {
            if (e3) return Yt(e3, "customClassList.contains") ? !!r2.customClassNames && r2.customClassNames.includes(e3) : void 0;
            Kt("className", "customClassList.contains");
          }, replace(e3, t3) {
            return e3 && t3 ? !(!Yt(t3, "customClassList.replace") || !Yt(e3, "customClassList.replace")) && (!!this.contains(e3) && (this.remove(e3), this.add(t3), true)) : (n(N({ propertyNames: ["currentClassName, newClassName"], functionName: "customClassList.replace" })), false);
          }, toggle(e3) {
            return e3 ? !!Yt(e3, "customClassList.toggle") && (this.contains(e3) ? (this.remove(e3), false) : (this.add(e3), true)) : (Kt("className", "customClassList.toggle"), false);
          } } };
        }, Jt = ({ role: e2, compType: t2, isGlobal: n2, isRendered: r2 }) => ({ id: e2, type: `$w.${t2}`, global: n2(), rendered: r2() }), Zt = (e2) => ({ onMouseIn: (t2) => At("onMouseEnter", e2, t2), onMouseOut: (t2) => At("onMouseLeave", e2, t2), removeEventHandler: (t2, r2) => {
          const { getSdkInstance: a2 } = e2;
          return "string" != typeof t2 ? (n(q({ propertyName: "type", functionName: "removeEventHandler", value: t2, expectedType: "string" })), a2()) : "function" != typeof r2 ? (n(q({ propertyName: "handler", functionName: "removeEventHandler", value: r2, expectedType: "function" })), a2()) : ((e3, t3, n2) => {
            const { metaData: r3, getSdkInstance: a3 } = t3, [o2, i2] = Nt(t3), s2 = o2.listeners.filter((t4) => $t(t4.eventName, e3) && t4.cb === n2 && t4.compId === r3.compId);
            for (const e4 of s2) e4.unregister();
            return i2({ listeners: o2.listeners.filter((e4) => !s2.includes(e4)) }), a3();
          })(t2, e2, r2);
        }, get rendered() {
          return e2.metaData.isRendered();
        }, toJSON() {
          return Jt(e2.metaData);
        } }), Qt = Et(), en = (St([Ot, Qt, Zt, Gt, zt]), me(({ setProps: e2, props: t2 }) => ({ get label() {
          return t2.ariaAttributes?.label;
        }, set label(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, label: s(n2) ? void 0 : n2 } });
        } }), { properties: { label: { type: ["string"], minLength: 1, maxLength: 1e3 } } }));
        var tn;
        !function(e2) {
          e2.ARIA_LABEL_NOT_STRING = "aria-label must be string", e2.ARIA_LABEL_EMPTY_STRING = "aria-label can't be an empty string", e2.REMOVING_MISSING_ATTRIBUTE = "Cannot remove a non existing attribute";
        }(tn || (tn = {}));
        const nn = (e2) => `The parameter that is passed to the ‘${e2}’ property must be a string or ‘null’.`, rn = (e2) => an(e2) && ("$w.Text" === e2.type || "$w.CollapsibleText" === e2.type), an = (e2) => Boolean(e2.id && e2.uniqueId && e2.type), on = (e2, t2, r2, a2, o2) => o2 ? !!r2(o2) || (n(a2), false) : !!t2 || (n(Q({ value: o2, types: ["object"], propertyName: e2, functionName: `set ${e2}`, index: void 0 })), false), sn = (e2, t2 = true) => (n2) => on(e2, t2, an, `The parameter that is passed to the ‘${e2}’ property must be a selector function of an element.`, n2), ln = (e2, t2 = true) => (n2) => on(e2, t2, rn, `The parameter that is passed to the ‘${e2}’ property must be a selector function of a text element.`, n2), un = me(({ setProps: e2, props: t2, create$w: n2 }) => ({ get describedBy() {
          if (!t2.ariaAttributes?.describedBy) return;
          return n2()(`#${t2.ariaAttributes.describedBy}`);
        }, set describedBy(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, describedBy: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, describedBy: void 0 } });
        } }), { properties: { describedBy: { type: ["object", "nil"] } } }, { describedBy: [ln("describedBy")] }), pn = me(({ setProps: e2, props: t2, create$w: n2 }) => ({ get labelledBy() {
          if (!t2.ariaAttributes?.labelledBy) return;
          return n2()(`#${t2.ariaAttributes.labelledBy}`);
        }, set labelledBy(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, labelledBy: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, labelledBy: void 0 } });
        } }), { properties: { labelledBy: { type: ["object", "nil"] } } }, { labelledBy: [ln("labelledBy")] }), cn = me(({ setProps: e2, props: t2 }) => ({ get atomic() {
          return t2.ariaAttributes?.atomic;
        }, set atomic(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, atomic: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { atomic: { type: ["boolean", "string"], enum: ["false", "true"] } } }), mn = me(({ setProps: e2, props: t2 }) => ({ get busy() {
          return t2.ariaAttributes?.busy;
        }, set busy(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, busy: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { busy: { type: ["boolean", "string"], enum: ["false", "true"] } } }), dn = me(({ setProps: e2, props: t2 }) => ({ get current() {
          return t2.ariaAttributes?.current;
        }, set current(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, current: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { current: { type: ["string", "boolean"], enum: ["step", "page", "true", "false", "location", "date", "time"] } } }), fn = me(({ setProps: e2, props: t2 }) => ({ get expanded() {
          return t2.ariaAttributes?.expanded;
        }, set expanded(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, expanded: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { expanded: { type: ["boolean", "string"], enum: ["false", "true"] } } }), bn = me(({ setProps: e2, props: t2 }) => ({ get live() {
          return t2.ariaAttributes?.live;
        }, set live(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, live: s(n2) ? void 0 : n2 } });
        } }), { properties: { live: { type: ["string"], enum: ["polite", "assertive"] } } }), yn = me(({ setProps: e2, props: t2, create$w: n2 }) => ({ get owns() {
          if (!t2.ariaAttributes?.owns) return;
          return n2()(`#${t2.ariaAttributes.owns}`);
        }, set owns(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, owns: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, owns: void 0 } });
        } }), { properties: { owns: { type: ["object", "nil"] } } }, { owns: [sn("owns")] }), hn = me(({ setProps: e2, props: t2, create$w: n2 }) => ({ get controls() {
          if (!t2.ariaAttributes?.controls) return;
          return n2()(`#${t2.ariaAttributes.controls}`);
        }, set controls(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, controls: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, controls: void 0 } });
        } }), { properties: { controls: { type: ["object", "nil"] } } }, { controls: [sn("controls")] }), gn = me(({ setProps: e2, props: t2 }) => ({ get roleDescription() {
          return t2.ariaAttributes?.roleDescription;
        }, set roleDescription(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, roleDescription: s(n2) ? void 0 : n2 } });
        } }), { properties: { roleDescription: { type: ["string"], minLength: 1, maxLength: 100 } } }), vn = me(({ setProps: e2, props: t2 }) => ({ get relevant() {
          return t2.ariaAttributes?.relevant;
        }, set relevant(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, relevant: s(n2) ? void 0 : n2 } });
        } }), { properties: { relevant: { type: ["string"], enum: ["additions", "additions text", "all", "removals", "text"] } } }), Nn = me(({ setProps: e2, props: t2, create$w: n2 }) => ({ get errorMessage() {
          if (!t2.ariaAttributes?.errorMessage) return;
          return n2()(`#${t2.ariaAttributes.errorMessage}`);
        }, set errorMessage(n3) {
          e2(n3 ? { ariaAttributes: { ...t2.ariaAttributes, errorMessage: n3.uniqueId } } : { ariaAttributes: { ...t2.ariaAttributes, errorMessage: void 0 } });
        } }), { properties: { errorMessage: { type: ["object", "nil"] } } }, { errorMessage: [ln("errorMessage")] }), xn = me(({ setProps: e2, props: t2 }) => ({ get hidden() {
          return t2.ariaAttributes?.hidden;
        }, set hidden(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, hidden: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { hidden: { type: ["boolean", "string"], enum: ["false", "true"] } } }), $n = me(({ setProps: e2, props: t2 }) => ({ get pressed() {
          return t2.ariaAttributes?.pressed;
        }, set pressed(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, pressed: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { pressed: { type: ["string", "boolean"], enum: ["false", "true", "mixed"] } } }), An = me(({ setProps: e2, props: t2 }) => ({ get haspopup() {
          return t2.ariaAttributes?.haspopup;
        }, set haspopup(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, haspopup: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { haspopup: { type: ["string", "boolean"], enum: ["false", "true"] } } }), In = me(({ setProps: e2, props: t2 }) => ({ get required() {
          return t2.ariaAttributes?.required;
        }, set required(n2) {
          e2({ ariaAttributes: { ...t2.ariaAttributes, required: s(n2) ? void 0 : String(n2) } });
        } }), { properties: { required: { type: ["string", "boolean"], enum: ["false", "true"] } } }), wn = ({ setProps: e2, props: t2 }) => ({ screenReader: { get prefix() {
          return t2.screenReader?.prefix;
        }, set prefix(r2) {
          null === r2 || o(r2) ? e2({ screenReader: { ...t2.screenReader, prefix: r2 } }) : n(nn("prefix"));
        }, get suffix() {
          return t2.screenReader?.suffix;
        }, set suffix(r2) {
          null === r2 || o(r2) ? e2({ screenReader: { ...t2.screenReader, suffix: r2 } }) : n(nn("suffix"));
        }, get hasHint() {
          return t2.screenReader?.hasHint;
        }, set hasHint(n2) {
          e2({ screenReader: { ...t2.screenReader, hasHint: s(n2) ? void 0 : n2 } });
        } } }), Cn = (me(wn, { properties: { prefix: { type: ["string"], minLength: 1, maxLength: 1e3 }, suffix: { type: ["string"], minLength: 1, maxLength: 1e3 }, hasHint: { type: ["boolean"] } } }), me(({ setProps: e2, props: t2 }) => ({ get role() {
          return t2.role;
        }, set role(t3) {
          e2({ role: s(t3) ? void 0 : t3 });
        } }), { properties: { role: { type: ["string"] } } })), Tn = me(({ setProps: e2, props: t2 }) => ({ get tabIndex() {
          return t2.tabIndex;
        }, set tabIndex(t3) {
          e2({ tabIndex: s(t3) ? void 0 : t3 });
        } }), { properties: { tabIndex: { type: ["number"], enum: [0, -1] } } }), Sn = { enableAriaLabel: en, enableAriaDescribedBy: un, enableAriaLabelledBy: pn, enableAriaAtomic: cn, enableAriaBusy: mn, enableAriaCurrent: dn, enableAriaExpanded: fn, enableAriaLive: bn, enableAriaOwns: yn, enableAriaControls: hn, enableAriaRoleDescription: gn, enableAriaRelevant: vn, enableAriaErrorMessage: Nn, enableAriaHidden: xn, enableAriaPressed: $n, enableAriaHaspopup: An, enableAriaRequired: In }, On = { enableScreenReader: wn, enableRole: Cn, enableTabIndex: Tn }, En = ({ enableAriaLabel: e2 = true, enableAriaDescribedBy: t2 = true, enableAriaLabelledBy: n2 = true, enableAriaAtomic: r2 = false, enableAriaBusy: a2 = false, enableAriaHidden: o2 = false, enableAriaPressed: i2 = false, enableAriaHaspopup: s2 = false, enableAriaCurrent: l2 = false, enableAriaExpanded: u2 = false, enableAriaLive: p2 = false, enableAriaOwns: c2 = false, enableAriaControls: m2 = false, enableAriaRoleDescription: d2 = false, enableAriaRelevant: f2 = false, enableRole: b2 = false, enableTabIndex: y2 = false, enableAriaErrorMessage: h2 = false, enableScreenReader: g2 = false, enableAriaRequired: v2 = false } = {}) => (N2) => {
          const x2 = [], $2 = { enableAriaLabel: e2, enableAriaDescribedBy: t2, enableAriaLabelledBy: n2, enableAriaAtomic: r2, enableAriaBusy: a2, enableAriaCurrent: l2, enableAriaExpanded: u2, enableAriaLive: p2, enableAriaOwns: c2, enableAriaControls: m2, enableAriaRoleDescription: d2, enableAriaRelevant: f2, enableAriaErrorMessage: h2, enableAriaHidden: o2, enableAriaPressed: i2, enableAriaHaspopup: s2, enableAriaRequired: v2 }, A2 = { enableScreenReader: g2, enableRole: b2, enableTabIndex: y2 };
          if (Object.values($2).some((e3) => e3)) {
            const e3 = ((e4) => {
              const t3 = [];
              return Object.entries(e4).forEach(([e5, n3]) => n3 && Sn[e5] && t3.push(Sn[e5])), (e5) => {
                const n3 = St(t3, { modifyAriaSourceKeys: true })(e5);
                return n3.ariaAttributes = St(t3)(e5), n3;
              };
            })($2);
            x2.push(e3);
          }
          Object.entries(A2).forEach(([e3, t3]) => t3 && On[e3] && x2.push(On[e3]));
          return { accessibility: St(x2)(N2) };
        }, jn = (e2) => `--${((e3) => `${e3.replace(/([A-Z])/g, "-$1").toLowerCase()}`)(e2)}`;
        var Ln, Pn, kn;
        !function(e2) {
          e2.multiLingualVariable = "multiLangVar", e2.staticVariable = "staticVar", e2.cssVariable = "cssVar";
        }(Ln || (Ln = {})), function(e2) {
          e2[e2.string_length = 0] = "string_length", e2[e2.string_min = 1] = "string_min", e2[e2.string_max = 2] = "string_max", e2[e2.num_min = 3] = "num_min", e2[e2.num_max = 4] = "num_max", e2[e2.one_of = 5] = "one_of";
        }(Pn || (Pn = {})), function(e2) {
          e2.element = "element", e2.clickable = "clickable", e2.changeable = "changeable", e2.focusable = "focusable", e2.disableable = "disableable", e2.accessible = "accessible";
        }(kn || (kn = {}));
        const Vn = { [kn.clickable]: () => It, [kn.changeable]: () => wt, [kn.focusable]: () => Ct, [kn.disableable]: () => Tt, [kn.element]: ({ useHiddenCollapsed: e2 = true, hasPortal: t2 = false } = {}) => St([Ot, Zt, Gt, Wt, e2 ? qt(t2) : Qt, zt]), [kn.accessible]: () => En() }, Rn = (e2, t2) => e2 ? e2.map((e3) => t2[e3]()) : [], Dn = (({ sdkMap: e2, defaultMixins: t2 }) => ({ sdkSchema: n2, validationSchema: r2, mixins: a2 }) => {
          const o2 = t2.map((t3) => e2[t3]()), i2 = Object.keys(n2);
          if (0 === i2.length) return St([...o2, ...Rn(a2, e2)]);
          const s2 = (e3) => "function" === n2[e3].type, l2 = i2.filter((e3) => s2(e3)), u2 = i2.filter((e3) => !s2(e3)), p2 = (e3) => {
            const { props: t3, metaData: r3, setProps: a3, setStyles: o3, createSdkState: i3 } = e3, [s3, p3] = i3({});
            const c2 = { toJSON() {
              const e4 = Object.fromEntries(u2.map((e5) => [e5, t3[e5]]));
              return { ...Jt(r3), ...e4 };
            } };
            return l2.forEach((t4) => function(t5) {
              c2[t5] = (n3) => xt(t5, e3, n3);
            }(t4)), u2.forEach((e4) => function(e5) {
              Object.defineProperty(c2, e5, { enumerable: true, get: () => n2[e5].persistence === Ln.cssVariable ? s3[e5] : t3[e5], set: n2[e5].readonly ? void 0 : (t4) => {
                n2[e5].persistence === Ln.cssVariable ? (o3({ [jn(e5)]: `${t4} !important` }), p3({ [e5]: t4 })) : a3({ [e5]: t4 });
              } });
            }(e4)), c2;
          };
          return St([...o2, r2 ? me(p2, r2) : p2, ...Rn(a2, e2)]);
        })({ sdkMap: Vn, defaultMixins: [kn.element] }), Bn = Dn({ sdkSchema: { inputContent: { type: "string", persistence: "cssVar" }, buttonPosition: { type: "string", persistence: "cssVar" }, contentGap: { type: "number", persistence: "cssVar" }, contentAlignment: { type: "string", persistence: "cssVar" } }, validationSchema: { type: ["object"], properties: { inputContent: { type: ["string"], enum: ["Text and Button", "Text", "Button"] }, buttonPosition: { type: ["string"], enum: ["left", "right", "top", "bottom"] }, contentGap: { minimum: 0, maximum: 100, type: ["number"] }, contentAlignment: { type: ["string"], enum: ["left", "center", "right"] } } }, mixins: null });
        var Mn = { factory: Bn };
        return t;
      }();
    });
  })(SelectableContainerInput_bundle_min);
  var SelectableContainerInput_bundle_minExports = SelectableContainerInput_bundle_min.exports;
  const SelectableContainerInput = /* @__PURE__ */ getDefaultExportFromCjs(SelectableContainerInput_bundle_minExports);
  function BreadcrumbsSdk(getProps, setProps, getService, sdk) {
    return Breadcrumbs.factory({ getProps, setProps, getService, ...sdk });
  }
  function CheckboxSdk(getProps, setProps, getService, sdk) {
    return Checkbox.factory({ getProps, setProps, getService, ...sdk });
  }
  function CheckboxGroupSdk(getProps, setProps, getService, sdk) {
    return CheckboxGroup.factory({ getProps, setProps, getService, ...sdk });
  }
  function CollapsibleTextSdk(getProps, setProps, getService, sdk) {
    return CollapsibleText.factory({ getProps, setProps, getService, ...sdk });
  }
  function ComboBoxInputSdk(getProps, setProps, getService, sdk) {
    return ComboBoxInput.factory({ getProps, setProps, getService, ...sdk });
  }
  function ContainerSdk(getProps, setProps, getService, sdk) {
    return Container.factory({ getProps, setProps, getService, ...sdk });
  }
  function CustomElementComponentSdk(getProps, setProps, getService, sdk) {
    return CustomElementComponent.factory({ getProps, setProps, getService, ...sdk });
  }
  function DatePickerSdk(getProps, setProps, getService, sdk) {
    return DatePicker.factory({ getProps, setProps, getService, ...sdk });
  }
  function ExpandableMenuSdk(getProps, setProps, getService, sdk) {
    return ExpandableMenu.factory({ getProps, setProps, getService, ...sdk });
  }
  function ExternalComponentSdk(getProps, setProps, getService, sdk) {
    return ExternalComponent.factory({ getProps, setProps, getService, ...sdk });
  }
  function HtmlComponentSdk(getProps, setProps, getService, sdk) {
    return HtmlComponent.factory({ getProps, setProps, getService, ...sdk });
  }
  function ImageButtonSdk(getProps, setProps, getService, sdk) {
    return ImageButton.factory({ getProps, setProps, getService, ...sdk });
  }
  function ImageXSdk(getProps, setProps, getService, sdk) {
    return ImageX.factory({ getProps, setProps, getService, ...sdk });
  }
  function LottieEmbedSdk(getProps, setProps, getService, sdk) {
    return LottieEmbed.factory({ getProps, setProps, getService, ...sdk });
  }
  function MediaPlayerSdk(getProps, setProps, getService, sdk) {
    return MediaPlayer.factory({ getProps, setProps, getService, ...sdk });
  }
  function MultiStateBoxSdk(getProps, setProps, getService, sdk) {
    return MultiStateBox.factory({ getProps, setProps, getService, ...sdk });
  }
  function MusicPlayerSdk(getProps, setProps, getService, sdk) {
    return MusicPlayer.factory({ getProps, setProps, getService, ...sdk });
  }
  function PaginationSdk(getProps, setProps, getService, sdk) {
    return Pagination.factory({ getProps, setProps, getService, ...sdk });
  }
  function ProGallerySdk(getProps, setProps, getService, sdk) {
    return ProGallery.factory({ getProps, setProps, getService, ...sdk });
  }
  function ProgressBarSdk(getProps, setProps, getService, sdk) {
    return ProgressBar.factory({ getProps, setProps, getService, ...sdk });
  }
  function RadioGroupSdk(getProps, setProps, getService, sdk) {
    return RadioGroup.factory({ getProps, setProps, getService, ...sdk });
  }
  function RangeSliderSdk(getProps, setProps, getService, sdk) {
    return RangeSlider.factory({ getProps, setProps, getService, ...sdk });
  }
  function RatingsDisplaySdk(getProps, setProps, getService, sdk) {
    return RatingsDisplay.factory({ getProps, setProps, getService, ...sdk });
  }
  function RatingsInputSdk(getProps, setProps, getService, sdk) {
    return RatingsInput.factory({ getProps, setProps, getService, ...sdk });
  }
  function RichTextBoxSdk(getProps, setProps, getService, sdk) {
    return RichTextBox.factory({ getProps, setProps, getService, ...sdk });
  }
  function SelectableContainerSdk(getProps, setProps, getService, sdk) {
    return SelectableContainer.factory({ getProps, setProps, getService, ...sdk });
  }
  function SelectionTagsListSdk(getProps, setProps, getService, sdk) {
    return SelectionTagsList.factory({ getProps, setProps, getService, ...sdk });
  }
  function ShareButtonsSdk(getProps, setProps, getService, sdk) {
    return ShareButtons.factory({ getProps, setProps, getService, ...sdk });
  }
  function SignatureInputSdk(getProps, setProps, getService, sdk) {
    return SignatureInput.factory({ getProps, setProps, getService, ...sdk });
  }
  function SingleTabSdk(getProps, setProps, getService, sdk) {
    return SingleTab.factory({ getProps, setProps, getService, ...sdk });
  }
  function SiteButtonSdk(getProps, setProps, getService, sdk) {
    return SiteButton.factory({ getProps, setProps, getService, ...sdk });
  }
  function SliderSdk(getProps, setProps, getService, sdk) {
    return Slider.factory({ getProps, setProps, getService, ...sdk });
  }
  function SlotsPlaceholderSdk(getProps, setProps, getService, sdk) {
    return SlotsPlaceholder.factory({ getProps, setProps, getService, ...sdk });
  }
  function StylableButtonSdk(getProps, setProps, getService, sdk) {
    return StylableButton.factory({ getProps, setProps, getService, ...sdk });
  }
  function StylableHorizontalMenuSdk(getProps, setProps, getService, sdk) {
    return StylableHorizontalMenu.factory({ getProps, setProps, getService, ...sdk });
  }
  function TabsSdk(getProps, setProps, getService, sdk) {
    return Tabs.factory({ getProps, setProps, getService, ...sdk });
  }
  function TextAreaInputSdk(getProps, setProps, getService, sdk) {
    return TextAreaInput.factory({ getProps, setProps, getService, ...sdk });
  }
  function TextInputSdk(getProps, setProps, getService, sdk) {
    return TextInput.factory({ getProps, setProps, getService, ...sdk });
  }
  function TimePickerSdk(getProps, setProps, getService, sdk) {
    return TimePicker.factory({ getProps, setProps, getService, ...sdk });
  }
  function ToggleSwitchSdk(getProps, setProps, getService, sdk) {
    return ToggleSwitch.factory({ getProps, setProps, getService, ...sdk });
  }
  function VectorImageSdk(getProps, setProps, getService, sdk) {
    return VectorImage.factory({ getProps, setProps, getService, ...sdk });
  }
  function VideoPlayerSdk(getProps, setProps, getService, sdk) {
    return VideoPlayer.factory({ getProps, setProps, getService, ...sdk });
  }
  function WRichTextSdk(getProps, setProps, getService, sdk) {
    return WRichText.factory({ getProps, setProps, getService, ...sdk });
  }
  function WutAvatarSdk(getProps, setProps, getService, sdk) {
    return WutAvatar.factory({ getProps, setProps, getService, ...sdk });
  }
  function WutAvatarGroupSdk(getProps, setProps, getService, sdk) {
    return WutAvatarGroup.factory({ getProps, setProps, getService, ...sdk });
  }
  function WutBadgeSdk(getProps, setProps, getService, sdk) {
    return WutBadge.factory({ getProps, setProps, getService, ...sdk });
  }
  function SelectableContainerInputSdk(getProps, setProps, getService, sdk) {
    return SelectableContainerInput.factory({ getProps, setProps, getService, ...sdk });
  }
  exports2.BreadcrumbsSdk = BreadcrumbsSdk;
  exports2.CheckboxGroupSdk = CheckboxGroupSdk;
  exports2.CheckboxSdk = CheckboxSdk;
  exports2.CollapsibleTextSdk = CollapsibleTextSdk;
  exports2.ComboBoxInputSdk = ComboBoxInputSdk;
  exports2.ContainerSdk = ContainerSdk;
  exports2.CustomElementComponentSdk = CustomElementComponentSdk;
  exports2.DatePickerSdk = DatePickerSdk;
  exports2.ExpandableMenuSdk = ExpandableMenuSdk;
  exports2.ExternalComponentSdk = ExternalComponentSdk;
  exports2.HtmlComponentSdk = HtmlComponentSdk;
  exports2.ImageButtonSdk = ImageButtonSdk;
  exports2.ImageXSdk = ImageXSdk;
  exports2.LottieEmbedSdk = LottieEmbedSdk;
  exports2.MediaPlayerSdk = MediaPlayerSdk;
  exports2.MultiStateBoxSdk = MultiStateBoxSdk;
  exports2.MusicPlayerSdk = MusicPlayerSdk;
  exports2.PaginationSdk = PaginationSdk;
  exports2.ProGallerySdk = ProGallerySdk;
  exports2.ProgressBarSdk = ProgressBarSdk;
  exports2.RadioGroupSdk = RadioGroupSdk;
  exports2.RangeSliderSdk = RangeSliderSdk;
  exports2.RatingsDisplaySdk = RatingsDisplaySdk;
  exports2.RatingsInputSdk = RatingsInputSdk;
  exports2.RichTextBoxSdk = RichTextBoxSdk;
  exports2.SelectableContainerInputSdk = SelectableContainerInputSdk;
  exports2.SelectableContainerSdk = SelectableContainerSdk;
  exports2.SelectionTagsListSdk = SelectionTagsListSdk;
  exports2.ShareButtonsSdk = ShareButtonsSdk;
  exports2.SignatureInputSdk = SignatureInputSdk;
  exports2.SingleTabSdk = SingleTabSdk;
  exports2.SiteButtonSdk = SiteButtonSdk;
  exports2.SliderSdk = SliderSdk;
  exports2.SlotsPlaceholderSdk = SlotsPlaceholderSdk;
  exports2.StylableButtonSdk = StylableButtonSdk;
  exports2.StylableHorizontalMenuSdk = StylableHorizontalMenuSdk;
  exports2.TabsSdk = TabsSdk;
  exports2.TextAreaInputSdk = TextAreaInputSdk;
  exports2.TextInputSdk = TextInputSdk;
  exports2.TimePickerSdk = TimePickerSdk;
  exports2.ToggleSwitchSdk = ToggleSwitchSdk;
  exports2.VectorImageSdk = VectorImageSdk;
  exports2.VideoPlayerSdk = VideoPlayerSdk;
  exports2.WRichTextSdk = WRichTextSdk;
  exports2.WutAvatarGroupSdk = WutAvatarGroupSdk;
  exports2.WutAvatarSdk = WutAvatarSdk;
  exports2.WutBadgeSdk = WutBadgeSdk;
  Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });
});
//# sourceMappingURL=sdks.js.map