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AY,IACnB,EAAgB,KAAK,GAAG,WAAW,IAAI,MAAM,EAAe,mBAAmB,KAAK,aACvF,GACC,CACD,IAAK,YACL,MAAO,WAEL,MADc,CAAC,YAAa,aAAe,KAAK,KAElD,KAGK,CACT,CA/BkB,KA+BV","file":"/npm/ng2-gameicons@0.0.2/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/ng2-gameicons@0.0.2/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.GameIconsDirective = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _dec, _class;\n\nvar _core = require('@angular/core');\n\nrequire('gameicons-font/dist/game-icons.css');\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar GameIconsDirective = exports.GameIconsDirective = (_dec = (0, _core.Directive)({\n  selector: '[gi]',\n  inputs: ['icon']\n}), _dec(_class = function () {\n  _createClass(GameIconsDirective, null, [{\n    key: 'parameters',\n    get: function get() {\n      return [[_core.ElementRef]];\n    }\n  }]);\n\n  function GameIconsDirective(elementRef) {\n    _classCallCheck(this, GameIconsDirective);\n\n    this.el = elementRef.nativeElement;\n  }\n\n  _createClass(GameIconsDirective, [{\n    key: 'ngOnChanges',\n    value: function ngOnChanges() {\n      var _el$classList;\n\n      this.el.className = '';\n      (_el$classList = this.el.classList).add.apply(_el$classList, _toConsumableArray(this.iconClass()));\n    }\n  }, {\n    key: 'iconClass',\n    value: function iconClass() {\n      var classes = ['game-icon', 'game-icon-' + this.icon];\n      return classes;\n    }\n  }]);\n\n  return GameIconsDirective;\n}()) || _class);\n"]}