/*! OOjs UI v0.24.2 | http://oojs.mit-license.org */
!function(i){"use strict";i.ui.WikimediaUITheme=function(){i.ui.WikimediaUITheme.parent.call(this)},i.inheritClass(i.ui.WikimediaUITheme,i.ui.Theme),i.ui.WikimediaUITheme.prototype.getElementClasses=function(e){var s,t,a,r={warning:!1,invert:!1,progressive:!1,constructive:!1,destructive:!1},n=i.ui.WikimediaUITheme.parent.prototype.getElementClasses.call(this,e);e.supports(["hasFlag"])&&(t=e.supports(["isFramed"])&&e.isFramed(),a=e.supports(["isActive"])&&e.isActive(),t&&(a||e.isDisabled()||e.hasFlag("primary"))||i.ui.ToolGroup&&e instanceof i.ui.ToolGroup&&(a||e.hasFlag("primary"))?r.invert=!0:!t&&e.isDisabled()?r.invert=!1:e.isDisabled()||(r.progressive=e.hasFlag("progressive"),r.constructive=e.hasFlag("constructive"),r.destructive=e.hasFlag("destructive"),r.warning=e.hasFlag("warning")));for(s in r)n[r[s]?"on":"off"].push("oo-ui-image-"+s);return n},i.ui.WikimediaUITheme.prototype.getDialogTransitionDuration=function(){return 250},i.ui.theme=new i.ui.WikimediaUITheme}(OO);
//# sourceMappingURL=oojs-ui-wikimediaui.min.js.map