import{forwardRef as r,createElement as e}from"react";import t from"../../../prop-types/index.js";function n(){return(n=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r}).apply(this,arguments)}var o=r((function(r,t){var o=r.as,i=void 0===o?"span":o,p=r.style,a=void 0===p?{}:p,s=function(r,e){if(null==r)return{};var t,n,o={},i=Object.keys(r);for(n=0;n<i.length;n++)t=i[n],e.indexOf(t)>=0||(o[t]=r[t]);return o}(r,["as","style"]);return e(i,n({ref:t,style:n({border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},a)},s))}));"production"!==process.env.NODE_ENV&&(o.displayName="VisuallyHidden",o.propTypes={as:t.any,children:t.node});export default o;export{o as VisuallyHidden};
//# sourceMappingURL=reach-visually-hidden.esm.js.map
