//#region lib/components/ui/utils/memo.ts
function e(e) {
	return function(t, n) {
		for (let r of e) {
			let e = t[r], i = n[r];
			if (!Object.is(e, i)) return !1;
		}
		return !0;
	};
}
function t(e, t) {
	let n = e ?? [], r = t ?? [];
	if (n === r) return !0;
	if (n.length !== r.length) return !1;
	for (let e = 0; e < n.length; e++) if (n[e] !== r[e]) return !1;
	return !0;
}
//#endregion
export { t as areStringArraysEqual, e as createPropsComparator };
