import{g as t,r,d as n,i as e,b as u,f as o,a,L as c,h as i,M as s,t as f}from"./p-BgAfMcRA.js";var b=t(r,"WeakMap"),v=/^(?:0|[1-9]\d*)$/;function l(t,r){var n=typeof t;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&v.test(t))&&t>-1&&t%1==0&&t<r}function j(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function p(t){return null!=t&&j(t.length)&&!n(t)}var h=Object.prototype;function m(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||h)}function d(t){return e(t)&&"[object Arguments]"==u(t)}var y=Object.prototype,O=y.hasOwnProperty,w=y.propertyIsEnumerable,x=d(function(){return arguments}())?d:function(t){return e(t)&&O.call(t,"callee")&&!w.call(t,"callee")},g="object"==typeof exports&&exports&&!exports.nodeType&&exports,A=g&&"object"==typeof module&&module&&!module.nodeType&&module,M=A&&A.exports===g?r.Buffer:void 0,S=(M?M.isBuffer:void 0)||function(){return!1},k={};function B(t){return function(r){return t(r)}}k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Arguments]"]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object Boolean]"]=k["[object DataView]"]=k["[object Date]"]=k["[object Error]"]=k["[object Function]"]=k["[object Map]"]=k["[object Number]"]=k["[object Object]"]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object WeakMap]"]=!1;var D="object"==typeof exports&&exports&&!exports.nodeType&&exports,L=D&&"object"==typeof module&&module&&!module.nodeType&&module,P=L&&L.exports===D&&o.process,V=function(){try{return L&&L.require&&L.require("util").types||P&&P.binding&&P.binding("util")}catch(t){}}(),W=V&&V.isTypedArray,R=W?B(W):function(t){return e(t)&&j(t.length)&&!!k[u(t)]},U=Object.prototype.hasOwnProperty;function $(t,r){return function(n){return t(r(n))}}var q=$(Object.keys,Object),z=Object.prototype.hasOwnProperty;function C(t){return p(t)?function(t){var r=a(t),n=!r&&x(t),e=!r&&!n&&S(t),u=!r&&!n&&!e&&R(t),o=r||n||e||u,c=o?function(t,r){for(var n=-1,e=Array(t);++n<t;)e[n]=r(n);return e}(t.length,String):[],i=c.length;for(var s in t)!U.call(t,s)||o&&("length"==s||e&&("offset"==s||"parent"==s)||u&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||l(s,i))||c.push(s);return c}(t):function(t){if(!m(t))return q(t);var r=[];for(var n in Object(t))z.call(t,n)&&"constructor"!=n&&r.push(n);return r}(t)}function E(t,r){for(var n=-1,e=r.length,u=t.length;++n<e;)t[u+n]=r[n];return t}function F(t){var r=this.__data__=new c(t);this.size=r.size}F.prototype.clear=function(){this.__data__=new c,this.size=0},F.prototype.delete=function(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n},F.prototype.get=function(t){return this.__data__.get(t)},F.prototype.has=function(t){return this.__data__.has(t)},F.prototype.set=function(t,r){var n=this.__data__;if(n instanceof c){var e=n.__data__;if(!i||e.length<199)return e.push([t,r]),this.size=++n.size,this;n=this.__data__=new s(e)}return n.set(t,r),this.size=n.size,this};var G=Object.prototype.propertyIsEnumerable,H=Object.getOwnPropertySymbols,I=H?function(t){return null==t?[]:(t=Object(t),function(r){for(var n=-1,e=null==r?0:r.length,u=0,o=[];++n<e;){var a=r[n];G.call(t,a)&&(o[u++]=a)}return o}(H(t)))}:function(){return[]};function J(t){return function(t,r,n){var e=C(t);return a(t)?e:E(e,n(t))}(t,0,I)}var K=t(r,"DataView"),N=t(r,"Promise"),Q=t(r,"Set"),T="[object Map]",X="[object Promise]",Y="[object Set]",Z="[object WeakMap]",_="[object DataView]",tt=f(K),rt=f(i),nt=f(N),et=f(Q),ut=f(b),ot=u;(K&&ot(new K(new ArrayBuffer(1)))!=_||i&&ot(new i)!=T||N&&ot(N.resolve())!=X||Q&&ot(new Q)!=Y||b&&ot(new b)!=Z)&&(ot=function(t){var r=u(t),n="[object Object]"==r?t.constructor:void 0,e=n?f(n):"";if(e)switch(e){case tt:return _;case rt:return T;case nt:return X;case et:return Y;case ut:return Z}return r});var at=r.Uint8Array;export{F as S,at as U,ot as a,R as b,m as c,B as d,p as e,l as f,J as g,x as h,S as i,E as j,C as k,j as l,V as n,$ as o}