1 | "use strict";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 | var __create = Object.create;
|
14 | var __defProp = Object.defineProperty;
|
15 | var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
16 | var __getOwnPropNames = Object.getOwnPropertyNames;
|
17 | var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
18 | var __getProtoOf = Object.getPrototypeOf;
|
19 | var __hasOwnProp = Object.prototype.hasOwnProperty;
|
20 | var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
21 | var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
22 | var __spreadValues = (a, b) => {
|
23 | for (var prop in b || (b = {}))
|
24 | if (__hasOwnProp.call(b, prop))
|
25 | __defNormalProp(a, prop, b[prop]);
|
26 | if (__getOwnPropSymbols)
|
27 | for (var prop of __getOwnPropSymbols(b)) {
|
28 | if (__propIsEnum.call(b, prop))
|
29 | __defNormalProp(a, prop, b[prop]);
|
30 | }
|
31 | return a;
|
32 | };
|
33 | var __objRest = (source, exclude) => {
|
34 | var target = {};
|
35 | for (var prop in source)
|
36 | if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
37 | target[prop] = source[prop];
|
38 | if (source != null && __getOwnPropSymbols)
|
39 | for (var prop of __getOwnPropSymbols(source)) {
|
40 | if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
41 | target[prop] = source[prop];
|
42 | }
|
43 | return target;
|
44 | };
|
45 | var __export = (target, all) => {
|
46 | for (var name in all)
|
47 | __defProp(target, name, { get: all[name], enumerable: true });
|
48 | };
|
49 | var __copyProps = (to, from, except, desc) => {
|
50 | if (from && typeof from === "object" || typeof from === "function") {
|
51 | for (let key of __getOwnPropNames(from))
|
52 | if (!__hasOwnProp.call(to, key) && key !== except)
|
53 | __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
54 | }
|
55 | return to;
|
56 | };
|
57 | var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
|
58 | var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
59 |
|
60 |
|
61 | var reach_visually_hidden_exports = {};
|
62 | __export(reach_visually_hidden_exports, {
|
63 | VisuallyHidden: () => VisuallyHidden
|
64 | });
|
65 | module.exports = __toCommonJS(reach_visually_hidden_exports);
|
66 | var React = __toESM(require("react"));
|
67 | var VisuallyHidden = React.forwardRef(function VisuallyHidden2(_a, ref) {
|
68 | var _b = _a, { as: Comp = "span", style = {} } = _b, props = __objRest(_b, ["as", "style"]);
|
69 | return React.createElement(Comp, __spreadValues({
|
70 | ref,
|
71 | style: __spreadValues({
|
72 | border: 0,
|
73 | clip: "rect(0 0 0 0)",
|
74 | height: "1px",
|
75 | margin: "-1px",
|
76 | overflow: "hidden",
|
77 | padding: 0,
|
78 | position: "absolute",
|
79 | width: "1px",
|
80 | whiteSpace: "nowrap",
|
81 | wordWrap: "normal"
|
82 | }, style)
|
83 | }, props));
|
84 | });
|
85 | VisuallyHidden.displayName = "VisuallyHidden";
|
86 |
|
87 | 0 && (module.exports = {
|
88 | VisuallyHidden
|
89 | });
|
90 |
|
\ | No newline at end of file |