import{dH as t,dI as u,dJ as i,dK as d,dL as f,dM as o,dN as L,dO as O,dP as m,dQ as _}from"./index-9PRMimni.js";import{f as g}from"./_flatRest-DBrd2CHT.js";function A(n,e){return e.length<2?n:t(n,u(e,0,-1))}function C(n,e){return e=i(e,n),n=A(n,e),n==null||delete n[d(f(e))]}function E(n){return o(n)?void 0:n}var v=1,y=2,F=4,P=g(function(n,e){var r={};if(n==null)return r;var a=!1;e=L(e,function(s){return s=i(s,n),a||(a=s.length>1),s}),O(n,m(n),r),a&&(r=_(r,v|y|F,E));for(var l=e.length;l--;)C(r,e[l]);return r});export{P as o};
