* Create and return a [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) that triggers rerenders when it's updated.
function_wrapNativeSuper(Class){var_cache=typeofMap==="function"?newMap():undefined;_wrapNativeSuper=function_wrapNativeSuper(Class){if(Class===null||!_isNativeFunction(Class))returnClass;if(typeofClass!=="function"){thrownewTypeError("Super expression must either be null or a function");}if(typeof_cache!=="undefined"){if(_cache.has(Class))return_cache.get(Class);_cache.set(Class,Wrapper);}functionWrapper(){return_construct(Class,arguments,_getPrototypeOf(this).constructor);}Wrapper.prototype=Object.create(Class.prototype,{constructor:{value:Wrapper,enumerable:false,writable:true,configurable:true}});return_setPrototypeOf(Wrapper,Class);};return_wrapNativeSuper(Class);}
_Map.prototype.set.call(this,key,value);// When initializing the Map, the base Map calls this.set() before the
// listener is assigned so it will be undefined
if(this.listener)this.listener(this);
returnthis;
};
_proto.delete=function_delete(key){
varresult=_Map.prototype.delete.call(this,key);
this.listener(this);
returnresult;
};
_proto.clear=functionclear(){
_Map.prototype.clear.call(this);
this.listener(this);
};
returnObservableMap;
}(
/*#__PURE__*/
_wrapNativeSuper(Map));
/**
* Create and return a [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) that triggers rerenders when it's updated.