/*! OOjs UI v0.17.4 | http://oojs.mit-license.org */
!function(a){"use strict";a.ui.MediaWikiTheme=function(){a.ui.MediaWikiTheme.parent.call(this)},a.inheritClass(a.ui.MediaWikiTheme,a.ui.Theme),a.ui.MediaWikiTheme.prototype.getElementClasses=function(b){var c,d,e,f={warning:!1,invert:!1,progressive:!1,constructive:!1,destructive:!1},g=a.ui.MediaWikiTheme.parent.prototype.getElementClasses.call(this,b);b.supports(["hasFlag"])&&(d=b.supports(["isFramed"])&&b.isFramed(),e=b.supports(["isActive"])&&b.isActive(),d&&(e||b.isDisabled()||b.hasFlag("primary"))?f.invert=!0:!d&&b.isDisabled()?f.invert=!1:(f.progressive=b.hasFlag("progressive"),f.constructive=b.hasFlag("constructive"),f.destructive=b.hasFlag("destructive"),f.warning=b.hasFlag("warning")));for(c in f)g[f[c]?"on":"off"].push("oo-ui-image-"+c);return g},a.ui.theme=new a.ui.MediaWikiTheme}(OO);
//# sourceMappingURL=oojs-ui-mediawiki.min.js.map