"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("../../vc-util/get.js"),g=require("../../vc-util/set.js"),V=require("./typeUtil.js");function p(e){return V.toArray(e)}function a(e,t){return y.default(e,t)}function l(e,t,n,r=!1){return g.default(e,t,n,r)}function S(e,t){return e&&e.some(n=>i(n,t))}function c(e){return typeof e=="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function s(e,t){const n=Array.isArray(e)?[...e]:{...e};return t&&Object.keys(t).forEach(r=>{const u=n[r],o=t[r],f=c(u)&&c(o);n[r]=f?s(u,o||{}):o}),n}function h(e,...t){return t.reduce((n,r)=>s(n,r),e)}function m(e,t){let n={};return t.forEach(r=>{const u=a(e,r);n=l(n,r,u)}),n}function i(e,t){return!e||!t||e.length!==t.length?!1:e.every((n,r)=>t[r]===n)}exports.cloneByNamePathList=m;exports.containsNamePath=S;exports.getNamePath=p;exports.getValue=a;exports.matchNamePath=i;exports.setValue=l;exports.setValues=h;
