"use strict";Liferay.Loader.define("liferay!analytics-settings-web$dom-accessibility-api@0.5.16/dist/polyfills/SetLike",["module","exports","require"],(function(e,t,i){window;{function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,_toPropertyKey(r.key),r)}}function _defineProperty(e,t,i){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function _toPropertyKey(e){var t=function _toPrimitive(e,t){if("object"!==_typeof(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t||"default");if("object"!==_typeof(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===_typeof(t)?t:String(t)}t.__esModule=!0,t.default=void 0;var r="undefined"==typeof Set?Set:function(){function SetLike(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,SetLike),_defineProperty(this,"items",void 0),this.items=e}return function _createClass(e,t,i){return t&&_defineProperties(e.prototype,t),i&&_defineProperties(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}(SetLike,[{key:"add",value:function add(e){return!1===this.has(e)&&this.items.push(e),this}},{key:"clear",value:function clear(){this.items=[]}},{key:"delete",value:function _delete(e){var t=this.items.length;return this.items=this.items.filter((function(t){return t!==e})),t!==this.items.length}},{key:"forEach",value:function forEach(e){var t=this;this.items.forEach((function(i){e(i,i,t)}))}},{key:"has",value:function has(e){return-1!==this.items.indexOf(e)}},{key:"size",get:function get(){return this.items.length}}]),SetLike}();t.default=r}}));
//# sourceMappingURL=SetLike.js.map