export const A11yBehaviors=function(t){return class extends t{getTextContrastColor(t){let e="";const s=t.replace("#",""),o=parseInt(s,16);return e=.2126*(o>>16&255)+.7152*(o>>8&255)+.0722*(255&o)<141?"#ffffff":"#000000",e}computeTextPropContrast(t,e){if(this[e].includes("#")){const s=this.getTextContrastColor(this[e]);this.set(t,s)}}}};