define(["require","exports","tslib","react"],function(t,e,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o=n.__importDefault(o);var r,i="__synthetic_button",n=(r=o.default.Component,n.__extends(s,r),s.find=function(t){for(var e=t.target;e!==t.currentTarget&&e instanceof HTMLElement;){var n=e[i];if(n instanceof s)return n;e=e.parentNode}},s.search=function(t){for(var e=t.querySelectorAll("div"),n=[],r=0;r<e.length;r++){var a=e.item(r)[i];a instanceof s&&n.push(a)}return n},s.prototype.init=function(t){var e=this.target;void 0!==e&&(this.target=void 0,e[i]=void 0),null!==t&&((this.target=t)[i]=this)},s.prototype.render=function(){var e=this,t=this.props,n=this.state||{},r=n.states,a=["button"];if(null!=r)for(var i in r)!0===r[i]&&a.push(i);var s=n.content,n=n.symbol;return o.default.createElement("div",{className:this.props.className,ref:function(t){return e.init(t)}},o.default.createElement("div",{className:a.join(" "),"aria-label":t.ariaLabel},o.default.createElement("span",{className:"content"},s),o.default.createElement("span",{className:"symbol"},n)))},s);function s(){return null!==r&&r.apply(this,arguments)||this}e.SyntheticButton=n});