!function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var r=e();for(var n in r)("object"==typeof exports?exports:t)[n]=r[n]}}(self,(function(){return(()=>{"use strict";var t={270:function(t,e){var r=this&&this.__spreadArrays||function(){for(var t=0,e=0,r=arguments.length;e-1},t.prototype.get=function(t){var e=this._keys.indexOf(t);return e>-1?this._values[e]:void 0},t.prototype.deepGet=function(e){if(!e||!e.length)return null;var r=function(e,n){return null==e?null:n.length?r(e instanceof t?e.get(n[0]):e[n[0]],n.slice(1)):e};return r(this.get(e[0]),e.slice(1))},t.prototype.set=function(t,e){var r=this,n=this._keys.indexOf(t);return n>-1?r._values[n]=e:(r._keys.push(t),r._values.push(e),r.length=r._values.length),this},t.prototype.sortedSet=function(t,e,r,n){var s=this,i=this._keys.length,o=r||0,u=void 0!==n?n:i-1;if(0==i)return s._keys.push(t),s._values.push(e),s;if(t==this._keys[o])return this._values[o]=e,this;if(t==this._keys[u])return this._values[u]=e,this;if(t>this._keys[u])return this._keys.splice(u+1,0,t),this._values.splice(u+1,0,e),this;if(t=u)return this;var f=o+Math.floor((u-o)/2);return tthis._keys[f]?this.sortedSet(t,e,f+1,u):this},t.prototype.size=function(){return this.length},t.prototype.clear=function(){var t=this;return t._keys.length=t.length=t._values.length=0,this},t.prototype.delete=function(t){var e=this,r=e._keys.indexOf(t);return r>-1&&(e._keys.splice(r,1),e._values.splice(r,1),e.length=e._keys.length,!0)},t.prototype.forEach=function(t){var e=this;this._keys.forEach((function(r,n){t(e.get(r),r,n)}))},t.prototype.map=function(t){var e=this;return this.keys().map((function(r,n){return t(e.get(r),r,n)}))},t.prototype.filter=function(t){var e=this;return r(e._keys).forEach((function(r,n){!1===t(e.get(r),r,n)&&e.delete(r)})),this},t.prototype.clone=function(){return new t(this.entries())},t}();e.TSMap=n}},e={};return function r(n){if(e[n])return e[n].exports;var s=e[n]={exports:{}};return t[n].call(s.exports,s,s.exports,r),s.exports}(270)})()}));