amis.define("5e334b3",function(t,a){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var e=function(){function t(t,a){var e=this;this.id=t,this._tags=[],this._tagMap={},this._attributeMap={},this._valueSetMap={},this._tags=a.tags||[],this._globalAttributes=a.globalAttributes||[],this._tags.forEach(function(t){e._tagMap[t.name]=t,t.attributes&&t.attributes.forEach(function(t){e._attributeMap[t.name]=t})}),this._globalAttributes.forEach(function(t){e._attributeMap[t.name]=t}),a.valueSets&&a.valueSets.forEach(function(t){e._valueSetMap[t.name]=t.values})}return t.prototype.isApplicable=function(){return!0},t.prototype.getId=function(){return this.id},t.prototype.provideTags=function(){return this._tags},t.prototype.provideAttributes=function(t){var a=[],e=function(t){a.push({name:t.name,description:t.description,valueSet:t.valueSet})};return this._tagMap[t]&&this._tagMap[t].attributes.forEach(function(t){e(t)}),this._globalAttributes.forEach(function(t){e(t)}),a},t.prototype.provideValues=function(t,a){var e=this,i=[],u=function(t){t.forEach(function(t){t.name===a&&(t.values&&t.values.forEach(function(t){i.push(t)}),t.valueSet&&e._valueSetMap[t.valueSet]&&e._valueSetMap[t.valueSet].forEach(function(t){i.push(t)}))})};return this._tagMap[t]?(u(this._tagMap[t].attributes),u(this._globalAttributes),i):[]},t}();a.HTMLDataProvider=e});