import{S as a}from"./_Uint8Array-D5Z9rM2X.js";import{t as u}from"./isSymbol-xTSywenE.js";import{t as c}from"./toString-CBnct2wx.js";import{t as s}from"./memoize-CAcr7Wct.js";var p=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,m=/^\w*$/;function l(r,t){if(a(r))return!1;var n=typeof r;return n=="number"||n=="symbol"||n=="boolean"||r==null||u(r)?!0:m.test(r)||!p.test(r)||t!=null&&r in Object(t)}var e=l,v=500;function h(r){var t=s(r,function(o){return n.size===v&&n.clear(),o}),n=t.cache;return t}var b=h,d=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,g=/\\(\\)?/g,y=b(function(r){var t=[];return r.charCodeAt(0)===46&&t.push(""),r.replace(d,function(n,o,i,f){t.push(i?f.replace(g,"$1"):o||n)}),t});function $(r,t){return a(r)?r:e(r,t)?[r]:y(c(r))}var j=$,w=1/0;function x(r){if(typeof r=="string"||u(r))return r;var t=r+"";return t=="0"&&1/r==-w?"-0":t}var z=x;export{j as n,e as r,z as t};
