/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
class e{constructor(e,t=[]){this.eventType=e,this.keyModifiers=t}matches(e){if(e.type!==this.eventType)return!1;if(0===this.keyModifiers.length)return!0;const t=e.modifiers;for(const s of this.keyModifiers)if(!t.has(s)&&!t.has(s.toLowerCase())&&!t.has(s.toUpperCase()))return!1;return!0}}export{e as EventMatch};
