import{__require as r}from"../modules/es.map.mjs";import{__require as e}from"../modules/es.weak-map.mjs";import{__require as t}from"./get-built-in.mjs";import{__require as i}from"./function-uncurry-this.mjs";import{__require as n}from"./shared.mjs";var o,u;function s(){if(u)return o;u=1,r(),e();var s=t(),a=i(),f=n(),m=s("Map"),p=s("WeakMap"),_=a([].push),c=f("metadata"),v=c.store||(c.store=new p),d=function(r,e,t){var i=v.get(r);if(!i){if(!t)return;v.set(r,i=new m)}var n=i.get(e);if(!n){if(!t)return;i.set(e,n=new m)}return n};return o={store:v,getMap:d,has:function(r,e,t){var i=d(e,t,!1);return void 0!==i&&i.has(r)},get:function(r,e,t){var i=d(e,t,!1);return void 0===i?void 0:i.get(r)},set:function(r,e,t,i){d(t,i,!0).set(r,e)},keys:function(r,e){var t=d(r,e,!1),i=[];return t&&t.forEach(function(r,e){_(i,e)}),i},toKey:function(r){return void 0===r||"symbol"==typeof r?r:String(r)}}}export{s as __require};