@nswds/app 1.8.1 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/globals.css +770 -223
- package/dist/index.cjs +936 -1104
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +291 -271
- package/dist/index.d.ts +291 -271
- package/dist/index.js +865 -1070
- package/dist/index.js.map +1 -1
- package/dist/styles.css +753 -284
- package/dist/styles.css.map +1 -1
- package/dist/styles.d.cts +2 -1
- package/dist/styles.d.ts +2 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,1181 +1,976 @@
|
|
|
1
|
-
import { Slot } from '@radix-ui/react-slot'
|
|
2
|
-
import { cva } from 'class-variance-authority'
|
|
3
|
-
import
|
|
4
|
-
import { twMerge } from 'tailwind-merge'
|
|
5
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime'
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import * as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
1
|
+
import { Slot } from '@radix-ui/react-slot';
|
|
2
|
+
import { cva } from 'class-variance-authority';
|
|
3
|
+
import clsx4, { clsx } from 'clsx';
|
|
4
|
+
import { twMerge } from 'tailwind-merge';
|
|
5
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
6
|
+
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
7
|
+
import * as React from 'react';
|
|
8
|
+
import { createContext, useEffect, useState, useCallback } from 'react';
|
|
9
|
+
import Link4 from 'next/link';
|
|
10
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
11
|
+
import { usePathname } from 'next/navigation';
|
|
12
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
13
|
+
import { CircleIcon, XIcon } from 'lucide-react';
|
|
14
|
+
import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
15
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
16
|
+
import { ThemeProvider as ThemeProvider$1, useTheme } from 'next-themes';
|
|
17
|
+
import { Toaster as Toaster$1 } from 'sonner';
|
|
18
|
+
import * as TogglePrimitive from '@radix-ui/react-toggle';
|
|
19
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
20
|
+
import { slugifyWithCounter } from '@sindresorhus/slugify';
|
|
13
21
|
|
|
14
22
|
// src/components/Button.tsx
|
|
15
23
|
function cn(...inputs) {
|
|
16
|
-
return twMerge(clsx(inputs))
|
|
24
|
+
return twMerge(clsx(inputs));
|
|
17
25
|
}
|
|
18
26
|
function truncate(text, maxLength) {
|
|
19
27
|
if (text.length <= maxLength) {
|
|
20
|
-
return text
|
|
28
|
+
return text;
|
|
21
29
|
}
|
|
22
|
-
return text.slice(0, maxLength) +
|
|
30
|
+
return text.slice(0, maxLength) + "...";
|
|
23
31
|
}
|
|
24
32
|
function kebabCase(str) {
|
|
25
|
-
return str
|
|
26
|
-
.replace(/([a-z])([A-Z])/g, '$1-$2')
|
|
27
|
-
.replace(/[\s_]+/g, '-')
|
|
28
|
-
.toLowerCase()
|
|
33
|
+
return str.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[\s_]+/g, "-").toLowerCase();
|
|
29
34
|
}
|
|
30
35
|
function camelCase(str) {
|
|
31
|
-
return str.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (_, chr) => chr.toUpperCase())
|
|
36
|
+
return str.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (_, chr) => chr.toUpperCase());
|
|
32
37
|
}
|
|
33
38
|
var buttonVariants = cva(
|
|
34
39
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
35
40
|
{
|
|
36
41
|
variants: {
|
|
37
42
|
variant: {
|
|
38
|
-
default:
|
|
39
|
-
destructive:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
ghost: 'hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50',
|
|
45
|
-
link: 'text-primary underline-offset-4 hover:underline',
|
|
43
|
+
default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
|
|
44
|
+
destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
45
|
+
outline: "border bg-background shadow-xs hover:bg-primary/10 hover:text-foreground dark:bg-nsw-grey-800/30 dark:border-nsw-grey-800 dark:hover:bg-nsw-grey-800/50",
|
|
46
|
+
secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
|
|
47
|
+
ghost: "hover:bg-primary/10 hover:text-foreground dark:hover:bg-primary/90",
|
|
48
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
46
49
|
},
|
|
47
50
|
size: {
|
|
48
|
-
default:
|
|
49
|
-
sm:
|
|
50
|
-
lg:
|
|
51
|
-
icon:
|
|
52
|
-
}
|
|
51
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
52
|
+
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
53
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
54
|
+
icon: "size-9"
|
|
55
|
+
}
|
|
53
56
|
},
|
|
54
57
|
defaultVariants: {
|
|
55
|
-
variant:
|
|
56
|
-
size:
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
)
|
|
60
|
-
function Button({
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
58
|
+
variant: "default",
|
|
59
|
+
size: "default"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
function Button({
|
|
64
|
+
className,
|
|
65
|
+
variant,
|
|
66
|
+
size,
|
|
67
|
+
asChild = false,
|
|
68
|
+
...props
|
|
69
|
+
}) {
|
|
70
|
+
const Comp = asChild ? Slot : "button";
|
|
71
|
+
return /* @__PURE__ */ jsx(
|
|
72
|
+
Comp,
|
|
73
|
+
{
|
|
74
|
+
"data-slot": "button",
|
|
75
|
+
className: cn(buttonVariants({ variant, size, className })),
|
|
76
|
+
...props
|
|
77
|
+
}
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
function Card({ className, ...props }) {
|
|
81
|
+
return /* @__PURE__ */ jsx(
|
|
82
|
+
"div",
|
|
83
|
+
{
|
|
84
|
+
"data-slot": "card",
|
|
85
|
+
className: cn(
|
|
86
|
+
"border-nsw-grey-200 dark:border-nsw-grey-50 bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6",
|
|
87
|
+
className
|
|
88
|
+
),
|
|
89
|
+
...props
|
|
90
|
+
}
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
function CardHeader({ className, ...props }) {
|
|
94
|
+
return /* @__PURE__ */ jsx(
|
|
95
|
+
"div",
|
|
96
|
+
{
|
|
97
|
+
"data-slot": "card-header",
|
|
98
|
+
className: cn(
|
|
99
|
+
"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
|
|
100
|
+
className
|
|
101
|
+
),
|
|
102
|
+
...props
|
|
103
|
+
}
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
function CardTitle({ className, ...props }) {
|
|
107
|
+
return /* @__PURE__ */ jsx(
|
|
108
|
+
"div",
|
|
109
|
+
{
|
|
110
|
+
"data-slot": "card-title",
|
|
111
|
+
className: cn("leading-none font-semibold", className),
|
|
112
|
+
...props
|
|
113
|
+
}
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
function CardDescription({ className, ...props }) {
|
|
117
|
+
return /* @__PURE__ */ jsx(
|
|
118
|
+
"div",
|
|
119
|
+
{
|
|
120
|
+
"data-slot": "card-description",
|
|
121
|
+
className: cn("text-muted-foreground text-sm", className),
|
|
122
|
+
...props
|
|
123
|
+
}
|
|
124
|
+
);
|
|
125
|
+
}
|
|
126
|
+
function CardAction({ className, ...props }) {
|
|
127
|
+
return /* @__PURE__ */ jsx(
|
|
128
|
+
"div",
|
|
129
|
+
{
|
|
130
|
+
"data-slot": "card-action",
|
|
131
|
+
className: cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end", className),
|
|
132
|
+
...props
|
|
133
|
+
}
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
function CardContent({ className, ...props }) {
|
|
137
|
+
return /* @__PURE__ */ jsx("div", { "data-slot": "card-content", className: cn("px-6", className), ...props });
|
|
138
|
+
}
|
|
139
|
+
function CardFooter({ className, ...props }) {
|
|
140
|
+
return /* @__PURE__ */ jsx(
|
|
141
|
+
"div",
|
|
142
|
+
{
|
|
143
|
+
"data-slot": "card-footer",
|
|
144
|
+
className: cn("flex items-center px-6 [.border-t]:pt-6", className),
|
|
145
|
+
...props
|
|
146
|
+
}
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
function Collapsible({ ...props }) {
|
|
150
|
+
return /* @__PURE__ */ jsx(CollapsiblePrimitive.Root, { "data-slot": "collapsible", ...props });
|
|
151
|
+
}
|
|
152
|
+
function CollapsibleTrigger2({
|
|
153
|
+
...props
|
|
154
|
+
}) {
|
|
155
|
+
return /* @__PURE__ */ jsx(CollapsiblePrimitive.CollapsibleTrigger, { "data-slot": "collapsible-trigger", ...props });
|
|
156
|
+
}
|
|
157
|
+
function CollapsibleContent2({
|
|
158
|
+
...props
|
|
159
|
+
}) {
|
|
160
|
+
return /* @__PURE__ */ jsx(CollapsiblePrimitive.CollapsibleContent, { "data-slot": "collapsible-content", ...props });
|
|
67
161
|
}
|
|
68
162
|
function DynamicFavicon({ lightModeFavicon, darkModeFavicon }) {
|
|
69
163
|
useEffect(() => {
|
|
70
164
|
const updateFavicon = () => {
|
|
71
|
-
const isDarkMode = window.matchMedia(
|
|
72
|
-
const favicon = document.querySelector("link[rel='icon']")
|
|
165
|
+
const isDarkMode = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
166
|
+
const favicon = document.querySelector("link[rel='icon']");
|
|
73
167
|
if (favicon) {
|
|
74
|
-
favicon.href = isDarkMode ? darkModeFavicon : lightModeFavicon
|
|
168
|
+
favicon.href = isDarkMode ? darkModeFavicon : lightModeFavicon;
|
|
75
169
|
} else {
|
|
76
|
-
const newFavicon = document.createElement(
|
|
77
|
-
newFavicon.rel =
|
|
78
|
-
newFavicon.href = isDarkMode ? darkModeFavicon : lightModeFavicon
|
|
79
|
-
document.head.appendChild(newFavicon)
|
|
170
|
+
const newFavicon = document.createElement("link");
|
|
171
|
+
newFavicon.rel = "icon";
|
|
172
|
+
newFavicon.href = isDarkMode ? darkModeFavicon : lightModeFavicon;
|
|
173
|
+
document.head.appendChild(newFavicon);
|
|
80
174
|
}
|
|
175
|
+
};
|
|
176
|
+
updateFavicon();
|
|
177
|
+
const mediaQuery = window.matchMedia("(prefers-color-scheme: dark)");
|
|
178
|
+
mediaQuery.addEventListener("change", updateFavicon);
|
|
179
|
+
return () => mediaQuery.removeEventListener("change", updateFavicon);
|
|
180
|
+
}, [lightModeFavicon, darkModeFavicon]);
|
|
181
|
+
return null;
|
|
182
|
+
}
|
|
183
|
+
var Social = {
|
|
184
|
+
github: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 0 17 17", ...props, children: /* @__PURE__ */ jsx("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx(
|
|
185
|
+
"path",
|
|
186
|
+
{
|
|
187
|
+
fillRule: "evenodd",
|
|
188
|
+
d: "M8.977.83C4.549.83.97 4.32.97 8.636c0 3.45 2.293 6.371 5.475 7.405.397.078.543-.168.543-.375 0-.18-.013-.8-.013-1.447-2.227.465-2.691-.93-2.691-.93-.358-.905-.888-1.138-.888-1.138-.73-.478.053-.478.053-.478.808.052 1.233.801 1.233.801.715 1.19 1.869.853 2.333.646.066-.504.278-.853.504-1.046-1.777-.181-3.646-.853-3.646-3.852 0-.853.318-1.55.822-2.093-.08-.194-.358-.995.08-2.068 0 0 .676-.207 2.2.801a7.94 7.94 0 0 1 2.002-.258c.676 0 1.365.09 2.001.258 1.525-1.008 2.2-.801 2.2-.801.438 1.073.16 1.874.08 2.068.517.542.822 1.24.822 2.093 0 2.999-1.869 3.658-3.659 3.852.292.245.544.71.544 1.447 0 1.047-.013 1.887-.013 2.145 0 .207.146.453.543.375 3.182-1.034 5.475-3.955 5.475-7.405C16.983 4.319 13.39.83 8.977.83Z",
|
|
189
|
+
clipRule: "evenodd"
|
|
81
190
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
className: 'fill-nsw-red-600 dark:fill-white',
|
|
115
|
-
}),
|
|
116
|
-
],
|
|
117
|
-
}),
|
|
118
|
-
github: (props) =>
|
|
119
|
-
/* @__PURE__ */ jsx('svg', {
|
|
120
|
-
fill: 'currentColor',
|
|
121
|
-
viewBox: '0 0 17 17',
|
|
122
|
-
...props,
|
|
123
|
-
children: /* @__PURE__ */ jsx('g', {
|
|
124
|
-
clipPath: 'url(#a)',
|
|
125
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
126
|
-
fillRule: 'evenodd',
|
|
127
|
-
d: 'M8.977.83C4.549.83.97 4.32.97 8.636c0 3.45 2.293 6.371 5.475 7.405.397.078.543-.168.543-.375 0-.18-.013-.8-.013-1.447-2.227.465-2.691-.93-2.691-.93-.358-.905-.888-1.138-.888-1.138-.73-.478.053-.478.053-.478.808.052 1.233.801 1.233.801.715 1.19 1.869.853 2.333.646.066-.504.278-.853.504-1.046-1.777-.181-3.646-.853-3.646-3.852 0-.853.318-1.55.822-2.093-.08-.194-.358-.995.08-2.068 0 0 .676-.207 2.2.801a7.94 7.94 0 0 1 2.002-.258c.676 0 1.365.09 2.001.258 1.525-1.008 2.2-.801 2.2-.801.438 1.073.16 1.874.08 2.068.517.542.822 1.24.822 2.093 0 2.999-1.869 3.658-3.659 3.852.292.245.544.71.544 1.447 0 1.047-.013 1.887-.013 2.145 0 .207.146.453.543.375 3.182-1.034 5.475-3.955 5.475-7.405C16.983 4.319 13.39.83 8.977.83Z',
|
|
128
|
-
clipRule: 'evenodd',
|
|
129
|
-
}),
|
|
130
|
-
}),
|
|
131
|
-
}),
|
|
132
|
-
linkedin: (props) =>
|
|
133
|
-
/* @__PURE__ */ jsx('svg', {
|
|
134
|
-
fill: 'currentColor',
|
|
135
|
-
viewBox: '0 0 17 17',
|
|
136
|
-
...props,
|
|
137
|
-
children: /* @__PURE__ */ jsx('g', {
|
|
138
|
-
clipPath: 'url(#a)',
|
|
139
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
140
|
-
fill: 'currentColor',
|
|
141
|
-
d: 'M15.776.83H2.14C1.488.83.96 1.329.96 1.946v13.249c0 .617.528 1.119 1.181 1.119h13.635c.653 0 1.184-.502 1.184-1.116V1.946c0-.617-.531-1.116-1.184-1.116ZM5.706 14.025H3.333V6.633h2.375v7.392ZM4.52 5.626c-.762 0-1.378-.595-1.378-1.33 0-.735.616-1.33 1.378-1.33.76 0 1.375.595 1.375 1.33 0 .732-.615 1.33-1.375 1.33Zm10.075 8.399h-2.371v-3.593c0-.856-.016-1.96-1.235-1.96-1.234 0-1.422.935-1.422 1.9v3.653H7.197V6.633h2.275v1.01h.032c.315-.58 1.09-1.194 2.244-1.194 2.403 0 2.846 1.53 2.846 3.52v4.056Z',
|
|
142
|
-
}),
|
|
143
|
-
}),
|
|
144
|
-
}),
|
|
145
|
-
twitter: (props) =>
|
|
146
|
-
/* @__PURE__ */ jsx('svg', {
|
|
147
|
-
fill: 'currentColor',
|
|
148
|
-
viewBox: '0 0 17 17',
|
|
149
|
-
...props,
|
|
150
|
-
children: /* @__PURE__ */ jsx('g', {
|
|
151
|
-
clipPath: 'url(#a)',
|
|
152
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
153
|
-
fill: 'currentColor',
|
|
154
|
-
d: 'M13.158 2.058h2.248l-4.913 5.435 5.78 7.395h-4.525l-3.545-4.485-4.056 4.485h-2.25l5.255-5.813-5.545-7.017h4.64l3.205 4.1 3.706-4.1Zm-.79 11.527h1.246L5.57 3.293H4.233l8.135 10.292Z',
|
|
155
|
-
}),
|
|
156
|
-
}),
|
|
157
|
-
}),
|
|
158
|
-
youtube: (props) =>
|
|
159
|
-
/* @__PURE__ */ jsx('svg', {
|
|
160
|
-
fill: 'currentColor',
|
|
161
|
-
viewBox: '0 0 17 17',
|
|
162
|
-
...props,
|
|
163
|
-
children: /* @__PURE__ */ jsx('g', {
|
|
164
|
-
clipPath: 'url(#a)',
|
|
165
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
166
|
-
fill: 'currentColor',
|
|
167
|
-
d: 'M16.79 5.475s-.156-1.067-.637-1.536c-.61-.617-1.29-.62-1.603-.656-2.238-.158-5.597-.158-5.597-.158h-.006s-3.36 0-5.597.158c-.313.036-.994.039-1.603.656-.481.469-.635 1.536-.635 1.536S.95 6.73.95 7.982v1.174c0 1.252.16 2.507.16 2.507s.156 1.067.634 1.536c.61.617 1.41.596 1.765.662 1.282.118 5.441.154 5.441.154s3.363-.006 5.6-.16c.313-.036.994-.04 1.603-.656.481-.469.638-1.536.638-1.536s.159-1.252.159-2.507V7.982c0-1.252-.16-2.507-.16-2.507ZM7.298 10.58V6.228l4.322 2.184-4.322 2.168Z',
|
|
168
|
-
}),
|
|
169
|
-
}),
|
|
170
|
-
}),
|
|
171
|
-
account_circle: (props) =>
|
|
172
|
-
/* @__PURE__ */ jsx('svg', {
|
|
173
|
-
fill: 'currentColor',
|
|
174
|
-
viewBox: '0 -960 960 960',
|
|
175
|
-
...props,
|
|
176
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
177
|
-
d: 'M234-276q51-39 114-61.5T480-360q69 0 132 22.5T726-276q35-41 54.5-93T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 59 19.5 111t54.5 93Zm246-164q-59 0-99.5-40.5T340-580q0-59 40.5-99.5T480-720q59 0 99.5 40.5T620-580q0 59-40.5 99.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q53 0 100-15.5t86-44.5q-39-29-86-44.5T480-280q-53 0-100 15.5T294-220q39 29 86 44.5T480-160Zm0-360q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm0-60Zm0 360Z',
|
|
178
|
-
}),
|
|
179
|
-
}),
|
|
180
|
-
attach_file: (props) =>
|
|
181
|
-
/* @__PURE__ */ jsx('svg', {
|
|
182
|
-
fill: 'currentColor',
|
|
183
|
-
viewBox: '0 -960 960 960',
|
|
184
|
-
...props,
|
|
185
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
186
|
-
d: 'M720-330q0 104-73 177T470-80q-104 0-177-73t-73-177v-370q0-75 52.5-127.5T400-880q75 0 127.5 52.5T580-700v350q0 46-32 78t-78 32q-46 0-78-32t-32-78v-330q0-17 11.5-28.5T400-720q17 0 28.5 11.5T440-680v330q0 13 8.5 21.5T470-320q13 0 21.5-8.5T500-350v-350q-1-42-29.5-71T400-800q-42 0-71 29t-29 71v370q-1 71 49 120.5T470-160q70 0 119-49.5T640-330v-350q0-17 11.5-28.5T680-720q17 0 28.5 11.5T720-680v350Z',
|
|
187
|
-
}),
|
|
188
|
-
}),
|
|
189
|
-
cancel: (props) =>
|
|
190
|
-
/* @__PURE__ */ jsx('svg', {
|
|
191
|
-
fill: 'currentColor',
|
|
192
|
-
viewBox: '0 -960 960 960',
|
|
193
|
-
...props,
|
|
194
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
195
|
-
d: 'm480-424 116 116q11 11 28 11t28-11q11-11 11-28t-11-28L536-480l116-116q11-11 11-28t-11-28q-11-11-28-11t-28 11L480-536 364-652q-11-11-28-11t-28 11q-11 11-11 28t11 28l116 116-116 116q-11 11-11 28t11 28q11 11 28 11t28-11l116-116Zm0 344q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z',
|
|
196
|
-
}),
|
|
197
|
-
}),
|
|
198
|
-
check_circle: (props) =>
|
|
199
|
-
/* @__PURE__ */ jsx('svg', {
|
|
200
|
-
fill: 'currentColor',
|
|
201
|
-
viewBox: '0 -960 960 960',
|
|
202
|
-
...props,
|
|
203
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
204
|
-
d: 'm424-408-86-86q-11-11-28-11t-28 11q-11 11-11 28t11 28l114 114q12 12 28 12t28-12l226-226q11-11 11-28t-11-28q-11-11-28-11t-28 11L424-408Zm56 328q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z',
|
|
205
|
-
}),
|
|
206
|
-
}),
|
|
207
|
-
check: (props) =>
|
|
208
|
-
/* @__PURE__ */ jsx('svg', {
|
|
209
|
-
fill: 'currentColor',
|
|
210
|
-
viewBox: '0 -960 960 960',
|
|
211
|
-
...props,
|
|
212
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
213
|
-
d: 'm382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z',
|
|
214
|
-
}),
|
|
215
|
-
}),
|
|
216
|
-
chevron_down: (props) =>
|
|
217
|
-
/* @__PURE__ */ jsx('svg', {
|
|
218
|
-
fill: 'currentColor',
|
|
219
|
-
viewBox: '0 -960 960 960',
|
|
220
|
-
...props,
|
|
221
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
222
|
-
d: 'M480-361q-8 0-15-2.5t-13-8.5L268-556q-11-11-11-28t11-28q11-11 28-11t28 11l156 156 156-156q11-11 28-11t28 11q11 11 11 28t-11 28L508-372q-6 6-13 8.5t-15 2.5Z',
|
|
223
|
-
}),
|
|
224
|
-
}),
|
|
225
|
-
chevron_left: (props) =>
|
|
226
|
-
/* @__PURE__ */ jsx('svg', {
|
|
227
|
-
fill: 'currentColor',
|
|
228
|
-
viewBox: '0 -960 960 960',
|
|
229
|
-
...props,
|
|
230
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
231
|
-
d: 'm432-480 156 156q11 11 11 28t-11 28q-11 11-28 11t-28-11L348-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 28-11t28 11q11 11 11 28t-11 28L432-480Z',
|
|
232
|
-
}),
|
|
233
|
-
}),
|
|
234
|
-
chevron_right: (props) =>
|
|
235
|
-
/* @__PURE__ */ jsx('svg', {
|
|
236
|
-
fill: 'currentColor',
|
|
237
|
-
viewBox: '0 -960 960 960',
|
|
238
|
-
...props,
|
|
239
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
240
|
-
d: 'M504-480 348-636q-11-11-11-28t11-28q11-11 28-11t28 11l184 184q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L404-268q-11 11-28 11t-28-11q-11-11-11-28t11-28l156-156Z',
|
|
241
|
-
}),
|
|
242
|
-
}),
|
|
243
|
-
chevron_up: (props) =>
|
|
244
|
-
/* @__PURE__ */ jsx('svg', {
|
|
245
|
-
fill: 'currentColor',
|
|
246
|
-
viewBox: '0 -960 960 960',
|
|
247
|
-
...props,
|
|
248
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
249
|
-
d: 'M480-528 324-372q-11 11-28 11t-28-11q-11-11-11-28t11-28l184-184q12-12 28-12t28 12l184 184q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-528Z',
|
|
250
|
-
}),
|
|
251
|
-
}),
|
|
252
|
-
close: (props) =>
|
|
253
|
-
/* @__PURE__ */ jsx('svg', {
|
|
254
|
-
fill: 'currentColor',
|
|
255
|
-
viewBox: '0 -960 960 960',
|
|
256
|
-
...props,
|
|
257
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
258
|
-
d: 'M480-424 284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424Z',
|
|
259
|
-
}),
|
|
260
|
-
}),
|
|
261
|
-
collapse_all: (props) =>
|
|
262
|
-
/* @__PURE__ */ jsx('svg', {
|
|
263
|
-
fill: 'currentColor',
|
|
264
|
-
viewBox: '0 -960 960 960',
|
|
265
|
-
...props,
|
|
266
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
267
|
-
d: 'M480-264 324-108q-11 11-28 11t-28-11q-11-11-11-28t11-28l155-155q23-23 57-23t57 23l155 155q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-264Zm0-432 156-156q11-11 28-11t28 11q11 11 11 28t-11 28L537-641q-23 23-57 23t-57-23L268-796q-11-11-11-28t11-28q11-11 28-11t28 11l156 156Z',
|
|
268
|
-
}),
|
|
269
|
-
}),
|
|
270
|
-
computer: (props) =>
|
|
271
|
-
/* @__PURE__ */ jsx('svg', {
|
|
272
|
-
fill: 'currentColor',
|
|
273
|
-
viewBox: '0 -960 960 960',
|
|
274
|
-
...props,
|
|
275
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
276
|
-
d: 'M80-120q-17 0-28.5-11.5T40-160q0-17 11.5-28.5T80-200h800q17 0 28.5 11.5T920-160q0 17-11.5 28.5T880-120H80Zm80-120q-33 0-56.5-23.5T80-320v-440q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v440q0 33-23.5 56.5T800-240H160Zm0-80h640v-440H160v440Zm0 0v-440 440Z',
|
|
277
|
-
}),
|
|
278
|
-
}),
|
|
279
|
-
copy: (props) =>
|
|
280
|
-
/* @__PURE__ */ jsx('svg', {
|
|
281
|
-
fill: 'currentColor',
|
|
282
|
-
viewBox: '0 -960 960 960',
|
|
283
|
-
...props,
|
|
284
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
285
|
-
d: 'M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-520q0-17 11.5-28.5T160-720q17 0 28.5 11.5T200-680v520h400q17 0 28.5 11.5T640-120q0 17-11.5 28.5T600-80H200Zm160-240v-480 480Z',
|
|
286
|
-
}),
|
|
287
|
-
}),
|
|
288
|
-
dark_mode: (props) =>
|
|
289
|
-
/* @__PURE__ */ jsx('svg', {
|
|
290
|
-
fill: 'currentColor',
|
|
291
|
-
viewBox: '0 -960 960 960',
|
|
292
|
-
...props,
|
|
293
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
294
|
-
d: 'M480-120q-151 0-255.5-104.5T120-480q0-138 90-239.5T440-838q13-2 23 3.5t16 14.5q6 9 6.5 21t-7.5 23q-17 26-25.5 55t-8.5 61q0 90 63 153t153 63q31 0 61.5-9t54.5-25q11-7 22.5-6.5T819-479q10 5 15.5 15t3.5 24q-14 138-117.5 229T480-120Zm0-80q88 0 158-48.5T740-375q-20 5-40 8t-40 3q-123 0-209.5-86.5T364-660q0-20 3-40t8-40q-78 32-126.5 102T200-480q0 116 82 198t198 82Zm-10-270Z',
|
|
295
|
-
}),
|
|
296
|
-
}),
|
|
297
|
-
dock_to_left: (props) =>
|
|
298
|
-
/* @__PURE__ */ jsx('svg', {
|
|
299
|
-
fill: 'currentColor',
|
|
300
|
-
viewBox: '0 -960 960 960',
|
|
301
|
-
...props,
|
|
302
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
303
|
-
d: 'M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm440-80h120v-560H640v560Zm-80 0v-560H200v560h360Zm80 0h120-120Z',
|
|
304
|
-
}),
|
|
305
|
-
}),
|
|
306
|
-
dock_to_right: (props) =>
|
|
307
|
-
/* @__PURE__ */ jsx('svg', {
|
|
308
|
-
fill: 'currentColor',
|
|
309
|
-
viewBox: '0 -960 960 960',
|
|
310
|
-
...props,
|
|
311
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
312
|
-
d: 'M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm120-80v-560H200v560h120Zm80 0h360v-560H400v560Zm-80 0H200h120Z',
|
|
313
|
-
}),
|
|
314
|
-
}),
|
|
315
|
-
delete: (props) =>
|
|
316
|
-
/* @__PURE__ */ jsx('svg', {
|
|
317
|
-
fill: 'currentColor',
|
|
318
|
-
viewBox: '0 -960 960 960',
|
|
319
|
-
...props,
|
|
320
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
321
|
-
d: 'M280-120q-33 0-56.5-23.5T200-200v-520q-17 0-28.5-11.5T160-760q0-17 11.5-28.5T200-800h160q0-17 11.5-28.5T400-840h160q17 0 28.5 11.5T600-800h160q17 0 28.5 11.5T800-760q0 17-11.5 28.5T760-720v520q0 33-23.5 56.5T680-120H280Zm400-600H280v520h400v-520ZM400-280q17 0 28.5-11.5T440-320v-280q0-17-11.5-28.5T400-640q-17 0-28.5 11.5T360-600v280q0 17 11.5 28.5T400-280Zm160 0q17 0 28.5-11.5T600-320v-280q0-17-11.5-28.5T560-640q-17 0-28.5 11.5T520-600v280q0 17 11.5 28.5T560-280ZM280-720v520-520Z',
|
|
322
|
-
}),
|
|
323
|
-
}),
|
|
324
|
-
desktop: (props) =>
|
|
325
|
-
/* @__PURE__ */ jsx('svg', {
|
|
326
|
-
fill: 'currentColor',
|
|
327
|
-
viewBox: '0 -960 960 960',
|
|
328
|
-
...props,
|
|
329
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
330
|
-
d: 'M400-200v-80H160q-33 0-56.5-23.5T80-360v-400q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v400q0 33-23.5 56.5T800-280H560v80h40q17 0 28.5 11.5T640-160q0 17-11.5 28.5T600-120H360q-17 0-28.5-11.5T320-160q0-17 11.5-28.5T360-200h40ZM160-360h640v-400H160v400Zm0 0v-400 400Z',
|
|
331
|
-
}),
|
|
332
|
-
}),
|
|
333
|
-
display_settings: (props) =>
|
|
334
|
-
/* @__PURE__ */ jsx('svg', {
|
|
335
|
-
fill: 'currentColor',
|
|
336
|
-
viewBox: '0 -960 960 960',
|
|
337
|
-
...props,
|
|
338
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
339
|
-
d: 'M300-410v20q0 13 8.5 21.5T330-360q13 0 21.5-8.5T360-390v-100q0-13-8.5-21.5T330-520q-13 0-21.5 8.5T300-490v20h-30q-13 0-21.5 8.5T240-440q0 13 8.5 21.5T270-410h30Zm130 0h260q13 0 21.5-8.5T720-440q0-13-8.5-21.5T690-470H430q-13 0-21.5 8.5T400-440q0 13 8.5 21.5T430-410Zm230-160h30q13 0 21.5-8.5T720-600q0-13-8.5-21.5T690-630h-30v-20q0-13-8.5-21.5T630-680q-13 0-21.5 8.5T600-650v100q0 13 8.5 21.5T630-520q13 0 21.5-8.5T660-550v-20Zm-390 0h260q13 0 21.5-8.5T560-600q0-13-8.5-21.5T530-630H270q-13 0-21.5 8.5T240-600q0 13 8.5 21.5T270-570ZM160-200q-33 0-56.5-23.5T80-280v-480q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v480q0 33-23.5 56.5T800-200H640v40q0 17-11.5 28.5T600-120H360q-17 0-28.5-11.5T320-160v-40H160Zm0-80h640v-480H160v480Zm0 0v-480 480Z',
|
|
340
|
-
}),
|
|
341
|
-
}),
|
|
342
|
-
double_arrow_left: (props) =>
|
|
343
|
-
/* @__PURE__ */ jsx('svg', {
|
|
344
|
-
fill: 'currentColor',
|
|
345
|
-
viewBox: '0 -960 960 960',
|
|
346
|
-
...props,
|
|
347
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
348
|
-
d: 'm313-480 155 156q11 11 11.5 27.5T468-268q-11 11-28 11t-28-11L228-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 27.5-11.5T468-692q11 11 11 28t-11 28L313-480Zm264 0 155 156q11 11 11.5 27.5T732-268q-11 11-28 11t-28-11L492-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 27.5-11.5T732-692q11 11 11 28t-11 28L577-480Z',
|
|
349
|
-
}),
|
|
350
|
-
}),
|
|
351
|
-
double_arrow_right: (props) =>
|
|
352
|
-
/* @__PURE__ */ jsx('svg', {
|
|
353
|
-
fill: 'currentColor',
|
|
354
|
-
viewBox: '0 -960 960 960',
|
|
355
|
-
...props,
|
|
356
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
357
|
-
d: 'M383-480 228-636q-11-11-11.5-27.5T228-692q11-11 28-11t28 11l184 184q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L284-268q-11 11-27.5 11.5T228-268q-11-11-11-28t11-28l155-156Zm264 0L492-636q-11-11-11.5-27.5T492-692q11-11 28-11t28 11l184 184q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L548-268q-11 11-27.5 11.5T492-268q-11-11-11-28t11-28l155-156Z',
|
|
358
|
-
}),
|
|
359
|
-
}),
|
|
360
|
-
download: (props) =>
|
|
361
|
-
/* @__PURE__ */ jsx('svg', {
|
|
362
|
-
fill: 'currentColor',
|
|
363
|
-
viewBox: '0 -960 960 960',
|
|
364
|
-
...props,
|
|
365
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
366
|
-
d: 'M480-337q-8 0-15-2.5t-13-8.5L308-492q-12-12-11.5-28t11.5-28q12-12 28.5-12.5T365-549l75 75v-286q0-17 11.5-28.5T480-800q17 0 28.5 11.5T520-760v286l75-75q12-12 28.5-11.5T652-548q11 12 11.5 28T652-492L508-348q-6 6-13 8.5t-15 2.5ZM240-160q-33 0-56.5-23.5T160-240v-80q0-17 11.5-28.5T200-360q17 0 28.5 11.5T240-320v80h480v-80q0-17 11.5-28.5T760-360q17 0 28.5 11.5T800-320v80q0 33-23.5 56.5T720-160H240Z',
|
|
367
|
-
}),
|
|
368
|
-
}),
|
|
369
|
-
east: (props) =>
|
|
370
|
-
/* @__PURE__ */ jsx('svg', {
|
|
371
|
-
fill: 'currentColor',
|
|
372
|
-
viewBox: '0 -960 960 960',
|
|
373
|
-
...props,
|
|
374
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
375
|
-
d: 'M727-440H120q-17 0-28.5-11.5T80-480q0-17 11.5-28.5T120-520h607L572-676q-11-11-11.5-27.5T572-732q11-11 28-11t28 11l224 224q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L628-228q-11 11-27.5 11T572-228q-12-12-12-28.5t12-28.5l155-155Z',
|
|
376
|
-
}),
|
|
377
|
-
}),
|
|
378
|
-
error: (props) =>
|
|
379
|
-
/* @__PURE__ */ jsx('svg', {
|
|
380
|
-
fill: 'currentColor',
|
|
381
|
-
viewBox: '0 -960 960 960',
|
|
382
|
-
...props,
|
|
383
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
384
|
-
d: 'M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480v-160q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640v160q0 17 11.5 28.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z',
|
|
385
|
-
}),
|
|
386
|
-
}),
|
|
387
|
-
exclamation: (props) =>
|
|
388
|
-
/* @__PURE__ */ jsx('svg', {
|
|
389
|
-
fill: 'currentColor',
|
|
390
|
-
viewBox: '0 -960 960 960',
|
|
391
|
-
...props,
|
|
392
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
393
|
-
d: 'M480-400q-17 0-28.5-11.5T440-440v-280q0-17 11.5-28.5T480-760q17 0 28.5 11.5T520-720v280q0 17-11.5 28.5T480-400Zm0 200q-17 0-28.5-11.5T440-240q0-17 11.5-28.5T480-280q17 0 28.5 11.5T520-240q0 17-11.5 28.5T480-200Z',
|
|
394
|
-
}),
|
|
395
|
-
}),
|
|
396
|
-
help: (props) =>
|
|
397
|
-
/* @__PURE__ */ jsx('svg', {
|
|
398
|
-
fill: 'currentColor',
|
|
399
|
-
viewBox: '0 -960 960 960',
|
|
400
|
-
...props,
|
|
401
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
402
|
-
d: 'M478-240q21 0 35.5-14.5T528-290q0-21-14.5-35.5T478-340q-21 0-35.5 14.5T428-290q0 21 14.5 35.5T478-240Zm2 160q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Zm4-172q25 0 43.5 16t18.5 40q0 22-13.5 39T502-525q-23 20-40.5 44T444-427q0 14 10.5 23.5T479-394q15 0 25.5-10t13.5-25q4-21 18-37.5t30-31.5q23-22 39.5-48t16.5-58q0-51-41.5-83.5T484-720q-38 0-72.5 16T359-655q-7 12-4.5 25.5T368-609q14 8 29 5t25-17q11-15 27.5-23t34.5-8Z',
|
|
403
|
-
}),
|
|
404
|
-
}),
|
|
405
|
-
info: (props) =>
|
|
406
|
-
/* @__PURE__ */ jsx('svg', {
|
|
407
|
-
fill: 'currentColor',
|
|
408
|
-
viewBox: '0 -960 960 960',
|
|
409
|
-
...props,
|
|
410
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
411
|
-
d: 'M480-280q17 0 28.5-11.5T520-320v-160q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480v160q0 17 11.5 28.5T480-280Zm0-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z',
|
|
412
|
-
}),
|
|
413
|
-
}),
|
|
414
|
-
light_mode: (props) =>
|
|
415
|
-
/* @__PURE__ */ jsx('svg', {
|
|
416
|
-
fill: 'currentColor',
|
|
417
|
-
viewBox: '0 -960 960 960',
|
|
418
|
-
...props,
|
|
419
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
420
|
-
d: 'M480-360q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35Zm0 80q-83 0-141.5-58.5T280-480q0-83 58.5-141.5T480-680q83 0 141.5 58.5T680-480q0 83-58.5 141.5T480-280ZM80-440q-17 0-28.5-11.5T40-480q0-17 11.5-28.5T80-520h80q17 0 28.5 11.5T200-480q0 17-11.5 28.5T160-440H80Zm720 0q-17 0-28.5-11.5T760-480q0-17 11.5-28.5T800-520h80q17 0 28.5 11.5T920-480q0 17-11.5 28.5T880-440h-80ZM480-760q-17 0-28.5-11.5T440-800v-80q0-17 11.5-28.5T480-920q17 0 28.5 11.5T520-880v80q0 17-11.5 28.5T480-760Zm0 720q-17 0-28.5-11.5T440-80v-80q0-17 11.5-28.5T480-200q17 0 28.5 11.5T520-160v80q0 17-11.5 28.5T480-40ZM226-678l-43-42q-12-11-11.5-28t11.5-29q12-12 29-12t28 12l42 43q11 12 11 28t-11 28q-11 12-27.5 11.5T226-678Zm494 495-42-43q-11-12-11-28.5t11-27.5q11-12 27.5-11.5T734-282l43 42q12 11 11.5 28T777-183q-12 12-29 12t-28-12Zm-42-495q-12-11-11.5-27.5T678-734l42-43q11-12 28-11.5t29 11.5q12 12 12 29t-12 28l-43 42q-12 11-28 11t-28-11ZM183-183q-12-12-12-29t12-28l43-42q12-11 28.5-11t27.5 11q12 11 11.5 27.5T282-226l-42 43q-11 12-28 11.5T183-183Zm297-297Z',
|
|
421
|
-
}),
|
|
422
|
-
}),
|
|
423
|
-
link: (props) =>
|
|
424
|
-
/* @__PURE__ */ jsx('svg', {
|
|
425
|
-
fill: 'currentColor',
|
|
426
|
-
viewBox: '0 -960 960 960',
|
|
427
|
-
...props,
|
|
428
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
429
|
-
d: 'M280-280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h120q17 0 28.5 11.5T440-640q0 17-11.5 28.5T400-600H280q-50 0-85 35t-35 85q0 50 35 85t85 35h120q17 0 28.5 11.5T440-320q0 17-11.5 28.5T400-280H280Zm80-160q-17 0-28.5-11.5T320-480q0-17 11.5-28.5T360-520h240q17 0 28.5 11.5T640-480q0 17-11.5 28.5T600-440H360Zm200 160q-17 0-28.5-11.5T520-320q0-17 11.5-28.5T560-360h120q50 0 85-35t35-85q0-50-35-85t-85-35H560q-17 0-28.5-11.5T520-640q0-17 11.5-28.5T560-680h120q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H560Z',
|
|
430
|
-
}),
|
|
431
|
-
}),
|
|
432
|
-
login: (props) =>
|
|
433
|
-
/* @__PURE__ */ jsx('svg', {
|
|
434
|
-
fill: 'currentColor',
|
|
435
|
-
viewBox: '0 -960 960 960',
|
|
436
|
-
...props,
|
|
437
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
438
|
-
d: 'M520-120q-17 0-28.5-11.5T480-160q0-17 11.5-28.5T520-200h240v-560H520q-17 0-28.5-11.5T480-800q0-17 11.5-28.5T520-840h240q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H520Zm-73-320H160q-17 0-28.5-11.5T120-480q0-17 11.5-28.5T160-520h287l-75-75q-11-11-11-27t11-28q11-12 28-12.5t29 11.5l143 143q12 12 12 28t-12 28L429-309q-12 12-28.5 11.5T372-310q-11-12-10.5-28.5T373-366l74-74Z',
|
|
439
|
-
}),
|
|
440
|
-
}),
|
|
441
|
-
logout: (props) =>
|
|
442
|
-
/* @__PURE__ */ jsx('svg', {
|
|
443
|
-
fill: 'currentColor',
|
|
444
|
-
viewBox: '0 -960 960 960',
|
|
445
|
-
...props,
|
|
446
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
447
|
-
d: 'M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h240q17 0 28.5 11.5T480-800q0 17-11.5 28.5T440-760H200v560h240q17 0 28.5 11.5T480-160q0 17-11.5 28.5T440-120H200Zm487-320H400q-17 0-28.5-11.5T360-480q0-17 11.5-28.5T400-520h287l-75-75q-11-11-11-27t11-28q11-12 28-12.5t29 11.5l143 143q12 12 12 28t-12 28L669-309q-12 12-28.5 11.5T612-310q-11-12-10.5-28.5T613-366l74-74Z',
|
|
448
|
-
}),
|
|
449
|
-
}),
|
|
450
|
-
menu: (props) =>
|
|
451
|
-
/* @__PURE__ */ jsx('svg', {
|
|
452
|
-
fill: 'currentColor',
|
|
453
|
-
viewBox: '0 -960 960 960',
|
|
454
|
-
...props,
|
|
455
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
456
|
-
d: 'M160-240q-17 0-28.5-11.5T120-280q0-17 11.5-28.5T160-320h640q17 0 28.5 11.5T840-280q0 17-11.5 28.5T800-240H160Zm0-200q-17 0-28.5-11.5T120-480q0-17 11.5-28.5T160-520h640q17 0 28.5 11.5T840-480q0 17-11.5 28.5T800-440H160Zm0-200q-17 0-28.5-11.5T120-680q0-17 11.5-28.5T160-720h640q17 0 28.5 11.5T840-680q0 17-11.5 28.5T800-640H160Z',
|
|
457
|
-
}),
|
|
458
|
-
}),
|
|
459
|
-
more_horiz: (props) =>
|
|
460
|
-
/* @__PURE__ */ jsx('svg', {
|
|
461
|
-
fill: 'currentColor',
|
|
462
|
-
viewBox: '0 -960 960 960',
|
|
463
|
-
...props,
|
|
464
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
465
|
-
d: 'M240-400q-33 0-56.5-23.5T160-480q0-33 23.5-56.5T240-560q33 0 56.5 23.5T320-480q0 33-23.5 56.5T240-400Zm240 0q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm240 0q-33 0-56.5-23.5T640-480q0-33 23.5-56.5T720-560q33 0 56.5 23.5T800-480q0 33-23.5 56.5T720-400Z',
|
|
466
|
-
}),
|
|
467
|
-
}),
|
|
468
|
-
more_vert: (props) =>
|
|
469
|
-
/* @__PURE__ */ jsx('svg', {
|
|
470
|
-
fill: 'currentColor',
|
|
471
|
-
viewBox: '0 -960 960 960',
|
|
472
|
-
...props,
|
|
473
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
474
|
-
d: 'M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z',
|
|
475
|
-
}),
|
|
476
|
-
}),
|
|
477
|
-
north: (props) =>
|
|
478
|
-
/* @__PURE__ */ jsx('svg', {
|
|
479
|
-
fill: 'currentColor',
|
|
480
|
-
viewBox: '0 -960 960 960',
|
|
481
|
-
...props,
|
|
482
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
483
|
-
d: 'M480-80q-17 0-28.5-11.5T440-120v-607L284-572q-11 11-27.5 11.5T228-572q-11-11-11-28t11-28l224-224q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l224 224q11 11 11 27.5T732-572q-12 12-28.5 12T675-572L520-727v607q0 17-11.5 28.5T480-80Z',
|
|
484
|
-
}),
|
|
485
|
-
}),
|
|
486
|
-
open_in_new: (props) =>
|
|
487
|
-
/* @__PURE__ */ jsx('svg', {
|
|
488
|
-
fill: 'currentColor',
|
|
489
|
-
viewBox: '0 -960 960 960',
|
|
490
|
-
...props,
|
|
491
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
492
|
-
d: 'M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h240q17 0 28.5 11.5T480-800q0 17-11.5 28.5T440-760H200v560h560v-240q0-17 11.5-28.5T800-480q17 0 28.5 11.5T840-440v240q0 33-23.5 56.5T760-120H200Zm560-584L416-360q-11 11-28 11t-28-11q-11-11-11-28t11-28l344-344H600q-17 0-28.5-11.5T560-800q0-17 11.5-28.5T600-840h200q17 0 28.5 11.5T840-800v200q0 17-11.5 28.5T800-560q-17 0-28.5-11.5T760-600v-104Z',
|
|
493
|
-
}),
|
|
494
|
-
}),
|
|
495
|
-
print: (props) =>
|
|
496
|
-
/* @__PURE__ */ jsx('svg', {
|
|
497
|
-
fill: 'currentColor',
|
|
498
|
-
viewBox: '0 -960 960 960',
|
|
499
|
-
...props,
|
|
500
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
501
|
-
d: 'M320-120q-33 0-56.5-23.5T240-200v-80h-80q-33 0-56.5-23.5T80-360v-160q0-51 35-85.5t85-34.5h560q51 0 85.5 34.5T880-520v160q0 33-23.5 56.5T800-280h-80v80q0 33-23.5 56.5T640-120H320ZM160-360h80q0-33 23.5-56.5T320-440h320q33 0 56.5 23.5T720-360h80v-160q0-17-11.5-28.5T760-560H200q-17 0-28.5 11.5T160-520v160Zm480-280v-120H320v120h-80v-120q0-33 23.5-56.5T320-840h320q33 0 56.5 23.5T720-760v120h-80Zm80 180q17 0 28.5-11.5T760-500q0-17-11.5-28.5T720-540q-17 0-28.5 11.5T680-500q0 17 11.5 28.5T720-460Zm-80 260v-160H320v160h320ZM160-560h640-640Z',
|
|
502
|
-
}),
|
|
503
|
-
}),
|
|
504
|
-
progress_activity: (props) =>
|
|
505
|
-
/* @__PURE__ */ jsx('svg', {
|
|
506
|
-
fill: 'currentColor',
|
|
507
|
-
viewBox: '0 -960 960 960',
|
|
508
|
-
...props,
|
|
509
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
510
|
-
d: 'M480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-155.5t86-127Q252-817 325-848.5T480-880q17 0 28.5 11.5T520-840q0 17-11.5 28.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160q133 0 226.5-93.5T800-480q0-17 11.5-28.5T840-520q17 0 28.5 11.5T880-480q0 82-31.5 155t-86 127.5q-54.5 54.5-127 86T480-80Z',
|
|
511
|
-
}),
|
|
512
|
-
}),
|
|
513
|
-
remove: (props) =>
|
|
514
|
-
/* @__PURE__ */ jsx('svg', {
|
|
515
|
-
fill: 'currentColor',
|
|
516
|
-
viewBox: '0 -960 960 960',
|
|
517
|
-
...props,
|
|
518
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
519
|
-
d: 'M240-440q-17 0-28.5-11.5T200-480q0-17 11.5-28.5T240-520h480q17 0 28.5 11.5T760-480q0 17-11.5 28.5T720-440H240Z',
|
|
520
|
-
}),
|
|
521
|
-
}),
|
|
522
|
-
search: (props) =>
|
|
523
|
-
/* @__PURE__ */ jsx('svg', {
|
|
524
|
-
fill: 'currentColor',
|
|
525
|
-
viewBox: '0 -960 960 960',
|
|
526
|
-
...props,
|
|
527
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
528
|
-
d: 'M380-320q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l224 224q11 11 11 28t-11 28q-11 11-28 11t-28-11L532-372q-30 24-69 38t-83 14Zm0-80q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z',
|
|
529
|
-
}),
|
|
530
|
-
}),
|
|
531
|
-
settings_brightness: (props) =>
|
|
532
|
-
/* @__PURE__ */ jsx('svg', {
|
|
533
|
-
fill: 'currentColor',
|
|
534
|
-
viewBox: '0 -960 960 960',
|
|
535
|
-
...props,
|
|
536
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
537
|
-
d: 'm420-320 46 46q6 6 14 6t14-6l46-46h80q8 0 14-6t6-14v-80l46-46q6-6 6-14t-6-14l-46-46v-80q0-8-6-14t-14-6h-80l-46-46q-6-6-14-6t-14 6l-46 46h-80q-8 0-14 6t-6 14v80l-46 46q-6 6-6 14t6 14l46 46v80q0 8 6 14t14 6h80Zm60-40v-240q50 0 85 35t35 85q0 50-35 85t-85 35ZM160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm0-80h640v-480H160v480Zm0 0v-480 480Z',
|
|
538
|
-
}),
|
|
539
|
-
}),
|
|
540
|
-
share: (props) =>
|
|
541
|
-
/* @__PURE__ */ jsx('svg', {
|
|
542
|
-
fill: 'currentColor',
|
|
543
|
-
viewBox: '0 -960 960 960',
|
|
544
|
-
...props,
|
|
545
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
546
|
-
d: 'M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z',
|
|
547
|
-
}),
|
|
548
|
-
}),
|
|
549
|
-
side_navigation: (props) =>
|
|
550
|
-
/* @__PURE__ */ jsx('svg', {
|
|
551
|
-
fill: 'currentColor',
|
|
552
|
-
viewBox: '0 -960 960 960',
|
|
553
|
-
...props,
|
|
554
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
555
|
-
d: 'M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm280-80h280v-560H480v560Z',
|
|
556
|
-
}),
|
|
557
|
-
}),
|
|
558
|
-
south: (props) =>
|
|
559
|
-
/* @__PURE__ */ jsx('svg', {
|
|
560
|
-
fill: 'currentColor',
|
|
561
|
-
viewBox: '0 -960 960 960',
|
|
562
|
-
...props,
|
|
563
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
564
|
-
d: 'M480-97q-8 0-15-2.5t-13-8.5L228-332q-11-11-11-28t11-28q12-12 28.5-11.5T284-388l156 155v-607q0-17 11.5-28.5T480-880q17 0 28.5 11.5T520-840v607l155-155q12-12 28.5-12t28.5 12q11 12 11 28.5T732-332L508-108q-6 6-13 8.5T480-97Z',
|
|
565
|
-
}),
|
|
566
|
-
}),
|
|
567
|
-
unfold_less: (props) =>
|
|
568
|
-
/* @__PURE__ */ jsx('svg', {
|
|
569
|
-
fill: 'currentColor',
|
|
570
|
-
viewBox: '0 -960 960 960',
|
|
571
|
-
...props,
|
|
572
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
573
|
-
d: 'm480-284-96 96q-11 11-28 11t-28-11q-11-11-11-28t11-28l124-124q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l124 124q11 11 11 28t-11 28q-11 11-28 11t-28-11l-96-96Zm0-392 96-96q11-11 28-11t28 11q11 11 11 28t-11 28L508-592q-6 6-13 8.5t-15 2.5q-8 0-15-2.5t-13-8.5L328-716q-11-11-11-28t11-28q11-11 28-11t28 11l96 96Z',
|
|
574
|
-
}),
|
|
575
|
-
}),
|
|
576
|
-
unfold_more: (props) =>
|
|
577
|
-
/* @__PURE__ */ jsx('svg', {
|
|
578
|
-
fill: 'currentColor',
|
|
579
|
-
viewBox: '0 -960 960 960',
|
|
580
|
-
...props,
|
|
581
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
582
|
-
d: 'm480-236 93-93q12-12 29-12t29 12q12 12 12 29t-12 29L508-148q-6 6-13 8.5t-15 2.5q-8 0-15-2.5t-13-8.5L329-271q-12-12-12-29t12-29q12-12 29-12t29 12l93 93Zm0-484-93 93q-12 12-29 12t-29-12q-12-12-12-29t12-29l123-123q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l123 123q12 12 12 29t-12 29q-12 12-29 12t-29-12l-93-93Z',
|
|
583
|
-
}),
|
|
584
|
-
}),
|
|
585
|
-
upload: (props) =>
|
|
586
|
-
/* @__PURE__ */ jsx('svg', {
|
|
587
|
-
fill: 'currentColor',
|
|
588
|
-
viewBox: '0 -960 960 960',
|
|
589
|
-
...props,
|
|
590
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
591
|
-
d: 'M240-160q-33 0-56.5-23.5T160-240v-80q0-17 11.5-28.5T200-360q17 0 28.5 11.5T240-320v80h480v-80q0-17 11.5-28.5T760-360q17 0 28.5 11.5T800-320v80q0 33-23.5 56.5T720-160H240Zm200-486-75 75q-12 12-28.5 11.5T308-572q-11-12-11.5-28t11.5-28l144-144q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l144 144q12 12 11.5 28T652-572q-12 12-28.5 12.5T595-571l-75-75v286q0 17-11.5 28.5T480-320q-17 0-28.5-11.5T440-360v-286Z',
|
|
592
|
-
}),
|
|
593
|
-
}),
|
|
594
|
-
west: (props) =>
|
|
595
|
-
/* @__PURE__ */ jsx('svg', {
|
|
596
|
-
fill: 'currentColor',
|
|
597
|
-
viewBox: '0 -960 960 960',
|
|
598
|
-
...props,
|
|
599
|
-
children: /* @__PURE__ */ jsx('path', {
|
|
600
|
-
d: 'M233-440h607q17 0 28.5-11.5T880-480q0-17-11.5-28.5T840-520H233l155-156q11-11 11.5-27.5T388-732q-11-11-28-11t-28 11L108-508q-6 6-8.5 13T97-480q0 8 2.5 15t8.5 13l224 224q11 11 27.5 11t28.5-11q12-12 12-28.5T388-285L233-440Z',
|
|
601
|
-
}),
|
|
602
|
-
}),
|
|
603
|
-
}
|
|
604
|
-
function SocialLink({ href, icon: Icon, children }) {
|
|
605
|
-
return /* @__PURE__ */ jsxs(Link4, {
|
|
606
|
-
href,
|
|
607
|
-
className: 'group',
|
|
608
|
-
children: [
|
|
609
|
-
/* @__PURE__ */ jsx('span', { className: 'sr-only', children }),
|
|
610
|
-
/* @__PURE__ */ jsx(Icon, {
|
|
611
|
-
className:
|
|
612
|
-
'h-5 w-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500',
|
|
613
|
-
}),
|
|
614
|
-
],
|
|
615
|
-
})
|
|
191
|
+
) }) }),
|
|
192
|
+
linkedin: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 0 17 17", ...props, children: /* @__PURE__ */ jsx("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx(
|
|
193
|
+
"path",
|
|
194
|
+
{
|
|
195
|
+
fill: "currentColor",
|
|
196
|
+
d: "M15.776.83H2.14C1.488.83.96 1.329.96 1.946v13.249c0 .617.528 1.119 1.181 1.119h13.635c.653 0 1.184-.502 1.184-1.116V1.946c0-.617-.531-1.116-1.184-1.116ZM5.706 14.025H3.333V6.633h2.375v7.392ZM4.52 5.626c-.762 0-1.378-.595-1.378-1.33 0-.735.616-1.33 1.378-1.33.76 0 1.375.595 1.375 1.33 0 .732-.615 1.33-1.375 1.33Zm10.075 8.399h-2.371v-3.593c0-.856-.016-1.96-1.235-1.96-1.234 0-1.422.935-1.422 1.9v3.653H7.197V6.633h2.275v1.01h.032c.315-.58 1.09-1.194 2.244-1.194 2.403 0 2.846 1.53 2.846 3.52v4.056Z"
|
|
197
|
+
}
|
|
198
|
+
) }) }),
|
|
199
|
+
twitter: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 0 17 17", ...props, children: /* @__PURE__ */ jsx("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx(
|
|
200
|
+
"path",
|
|
201
|
+
{
|
|
202
|
+
fill: "currentColor",
|
|
203
|
+
d: "M13.158 2.058h2.248l-4.913 5.435 5.78 7.395h-4.525l-3.545-4.485-4.056 4.485h-2.25l5.255-5.813-5.545-7.017h4.64l3.205 4.1 3.706-4.1Zm-.79 11.527h1.246L5.57 3.293H4.233l8.135 10.292Z"
|
|
204
|
+
}
|
|
205
|
+
) }) }),
|
|
206
|
+
youtube: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 0 17 17", ...props, children: /* @__PURE__ */ jsx("g", { clipPath: "url(#a)", children: /* @__PURE__ */ jsx(
|
|
207
|
+
"path",
|
|
208
|
+
{
|
|
209
|
+
fill: "currentColor",
|
|
210
|
+
d: "M16.79 5.475s-.156-1.067-.637-1.536c-.61-.617-1.29-.62-1.603-.656-2.238-.158-5.597-.158-5.597-.158h-.006s-3.36 0-5.597.158c-.313.036-.994.039-1.603.656-.481.469-.635 1.536-.635 1.536S.95 6.73.95 7.982v1.174c0 1.252.16 2.507.16 2.507s.156 1.067.634 1.536c.61.617 1.41.596 1.765.662 1.282.118 5.441.154 5.441.154s3.363-.006 5.6-.16c.313-.036.994-.04 1.603-.656.481-.469.638-1.536.638-1.536s.159-1.252.159-2.507V7.982c0-1.252-.16-2.507-.16-2.507ZM7.298 10.58V6.228l4.322 2.184-4.322 2.168Z"
|
|
211
|
+
}
|
|
212
|
+
) }) })
|
|
213
|
+
};
|
|
214
|
+
function SocialLink({
|
|
215
|
+
href,
|
|
216
|
+
icon: Icon,
|
|
217
|
+
children
|
|
218
|
+
}) {
|
|
219
|
+
return /* @__PURE__ */ jsxs(Link4, { href, className: "group", children: [
|
|
220
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children }),
|
|
221
|
+
/* @__PURE__ */ jsx(Icon, { className: "h-5 w-5 fill-zinc-700 transition group-hover:fill-zinc-900 dark:group-hover:fill-zinc-500" })
|
|
222
|
+
] });
|
|
616
223
|
}
|
|
617
224
|
function SmallPrint() {
|
|
618
|
-
return /* @__PURE__ */ jsxs(
|
|
619
|
-
className:
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
/* @__PURE__ */ new Date().getFullYear(),
|
|
627
|
-
'. All rights reserved.',
|
|
628
|
-
],
|
|
629
|
-
}),
|
|
630
|
-
/* @__PURE__ */ jsx('div', {
|
|
631
|
-
className: 'flex gap-4',
|
|
632
|
-
children: /* @__PURE__ */ jsx(SocialLink, {
|
|
633
|
-
href: '#',
|
|
634
|
-
icon: Icons.github,
|
|
635
|
-
children: 'Follow us on GitHub',
|
|
636
|
-
}),
|
|
637
|
-
}),
|
|
638
|
-
],
|
|
639
|
-
})
|
|
225
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-between gap-5 border-t border-zinc-900/5 pt-8 sm:flex-row dark:border-white/5", children: [
|
|
226
|
+
/* @__PURE__ */ jsxs("p", { className: "text-xs text-zinc-600 dark:text-zinc-400", children: [
|
|
227
|
+
"\xA9 Copyright ",
|
|
228
|
+
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
229
|
+
". All rights reserved."
|
|
230
|
+
] }),
|
|
231
|
+
/* @__PURE__ */ jsx("div", { className: "flex gap-4", children: /* @__PURE__ */ jsx(SocialLink, { href: "https://github.com/digitalnsw", icon: Social.github, children: "Follow us on GitHub" }) })
|
|
232
|
+
] });
|
|
640
233
|
}
|
|
641
234
|
function Footer() {
|
|
642
|
-
return /* @__PURE__ */ jsx(
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
})
|
|
235
|
+
return /* @__PURE__ */ jsx("footer", { className: "mx-auto w-full max-w-2xl space-y-10 pb-16 lg:max-w-5xl", children: /* @__PURE__ */ jsx(SmallPrint, {}) });
|
|
236
|
+
}
|
|
237
|
+
var Icons = {
|
|
238
|
+
account_circle: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M234-276q51-39 114-61.5T480-360q69 0 132 22.5T726-276q35-41 54.5-93T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 59 19.5 111t54.5 93Zm246-164q-59 0-99.5-40.5T340-580q0-59 40.5-99.5T480-720q59 0 99.5 40.5T620-580q0 59-40.5 99.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q53 0 100-15.5t86-44.5q-39-29-86-44.5T480-280q-53 0-100 15.5T294-220q39 29 86 44.5T480-160Zm0-360q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm0-60Zm0 360Z" }) }),
|
|
239
|
+
attach_file: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M720-330q0 104-73 177T470-80q-104 0-177-73t-73-177v-370q0-75 52.5-127.5T400-880q75 0 127.5 52.5T580-700v350q0 46-32 78t-78 32q-46 0-78-32t-32-78v-330q0-17 11.5-28.5T400-720q17 0 28.5 11.5T440-680v330q0 13 8.5 21.5T470-320q13 0 21.5-8.5T500-350v-350q-1-42-29.5-71T400-800q-42 0-71 29t-29 71v370q-1 71 49 120.5T470-160q70 0 119-49.5T640-330v-350q0-17 11.5-28.5T680-720q17 0 28.5 11.5T720-680v350Z" }) }),
|
|
240
|
+
cancel: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "m480-424 116 116q11 11 28 11t28-11q11-11 11-28t-11-28L536-480l116-116q11-11 11-28t-11-28q-11-11-28-11t-28 11L480-536 364-652q-11-11-28-11t-28 11q-11 11-11 28t11 28l116 116-116 116q-11 11-11 28t11 28q11 11 28 11t28-11l116-116Zm0 344q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" }) }),
|
|
241
|
+
check_circle: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "m424-408-86-86q-11-11-28-11t-28 11q-11 11-11 28t11 28l114 114q12 12 28 12t28-12l226-226q11-11 11-28t-11-28q-11-11-28-11t-28 11L424-408Zm56 328q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" }) }),
|
|
242
|
+
check: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "m382-354 339-339q12-12 28-12t28 12q12 12 12 28.5T777-636L410-268q-12 12-28 12t-28-12L182-440q-12-12-11.5-28.5T183-497q12-12 28.5-12t28.5 12l142 143Z" }) }),
|
|
243
|
+
chevron_down: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-361q-8 0-15-2.5t-13-8.5L268-556q-11-11-11-28t11-28q11-11 28-11t28 11l156 156 156-156q11-11 28-11t28 11q11 11 11 28t-11 28L508-372q-6 6-13 8.5t-15 2.5Z" }) }),
|
|
244
|
+
chevron_left: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "m432-480 156 156q11 11 11 28t-11 28q-11 11-28 11t-28-11L348-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 28-11t28 11q11 11 11 28t-11 28L432-480Z" }) }),
|
|
245
|
+
chevron_right: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M504-480 348-636q-11-11-11-28t11-28q11-11 28-11t28 11l184 184q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L404-268q-11 11-28 11t-28-11q-11-11-11-28t11-28l156-156Z" }) }),
|
|
246
|
+
chevron_up: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-528 324-372q-11 11-28 11t-28-11q-11-11-11-28t11-28l184-184q12-12 28-12t28 12l184 184q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-528Z" }) }),
|
|
247
|
+
close: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-424 284-228q-11 11-28 11t-28-11q-11-11-11-28t11-28l196-196-196-196q-11-11-11-28t11-28q11-11 28-11t28 11l196 196 196-196q11-11 28-11t28 11q11 11 11 28t-11 28L536-480l196 196q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-424Z" }) }),
|
|
248
|
+
collapse_all: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-264 324-108q-11 11-28 11t-28-11q-11-11-11-28t11-28l155-155q23-23 57-23t57 23l155 155q11 11 11 28t-11 28q-11 11-28 11t-28-11L480-264Zm0-432 156-156q11-11 28-11t28 11q11 11 11 28t-11 28L537-641q-23 23-57 23t-57-23L268-796q-11-11-11-28t11-28q11-11 28-11t28 11l156 156Z" }) }),
|
|
249
|
+
computer: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M80-120q-17 0-28.5-11.5T40-160q0-17 11.5-28.5T80-200h800q17 0 28.5 11.5T920-160q0 17-11.5 28.5T880-120H80Zm80-120q-33 0-56.5-23.5T80-320v-440q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v440q0 33-23.5 56.5T800-240H160Zm0-80h640v-440H160v440Zm0 0v-440 440Z" }) }),
|
|
250
|
+
copy: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-520q0-17 11.5-28.5T160-720q17 0 28.5 11.5T200-680v520h400q17 0 28.5 11.5T640-120q0 17-11.5 28.5T600-80H200Zm160-240v-480 480Z" }) }),
|
|
251
|
+
dark_mode: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-120q-151 0-255.5-104.5T120-480q0-138 90-239.5T440-838q13-2 23 3.5t16 14.5q6 9 6.5 21t-7.5 23q-17 26-25.5 55t-8.5 61q0 90 63 153t153 63q31 0 61.5-9t54.5-25q11-7 22.5-6.5T819-479q10 5 15.5 15t3.5 24q-14 138-117.5 229T480-120Zm0-80q88 0 158-48.5T740-375q-20 5-40 8t-40 3q-123 0-209.5-86.5T364-660q0-20 3-40t8-40q-78 32-126.5 102T200-480q0 116 82 198t198 82Zm-10-270Z" }) }),
|
|
252
|
+
dock_to_left: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm440-80h120v-560H640v560Zm-80 0v-560H200v560h360Zm80 0h120-120Z" }) }),
|
|
253
|
+
dock_to_right: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm120-80v-560H200v560h120Zm80 0h360v-560H400v560Zm-80 0H200h120Z" }) }),
|
|
254
|
+
delete: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M280-120q-33 0-56.5-23.5T200-200v-520q-17 0-28.5-11.5T160-760q0-17 11.5-28.5T200-800h160q0-17 11.5-28.5T400-840h160q17 0 28.5 11.5T600-800h160q17 0 28.5 11.5T800-760q0 17-11.5 28.5T760-720v520q0 33-23.5 56.5T680-120H280Zm400-600H280v520h400v-520ZM400-280q17 0 28.5-11.5T440-320v-280q0-17-11.5-28.5T400-640q-17 0-28.5 11.5T360-600v280q0 17 11.5 28.5T400-280Zm160 0q17 0 28.5-11.5T600-320v-280q0-17-11.5-28.5T560-640q-17 0-28.5 11.5T520-600v280q0 17 11.5 28.5T560-280ZM280-720v520-520Z" }) }),
|
|
255
|
+
desktop: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M400-200v-80H160q-33 0-56.5-23.5T80-360v-400q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v400q0 33-23.5 56.5T800-280H560v80h40q17 0 28.5 11.5T640-160q0 17-11.5 28.5T600-120H360q-17 0-28.5-11.5T320-160q0-17 11.5-28.5T360-200h40ZM160-360h640v-400H160v400Zm0 0v-400 400Z" }) }),
|
|
256
|
+
display_settings: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M300-410v20q0 13 8.5 21.5T330-360q13 0 21.5-8.5T360-390v-100q0-13-8.5-21.5T330-520q-13 0-21.5 8.5T300-490v20h-30q-13 0-21.5 8.5T240-440q0 13 8.5 21.5T270-410h30Zm130 0h260q13 0 21.5-8.5T720-440q0-13-8.5-21.5T690-470H430q-13 0-21.5 8.5T400-440q0 13 8.5 21.5T430-410Zm230-160h30q13 0 21.5-8.5T720-600q0-13-8.5-21.5T690-630h-30v-20q0-13-8.5-21.5T630-680q-13 0-21.5 8.5T600-650v100q0 13 8.5 21.5T630-520q13 0 21.5-8.5T660-550v-20Zm-390 0h260q13 0 21.5-8.5T560-600q0-13-8.5-21.5T530-630H270q-13 0-21.5 8.5T240-600q0 13 8.5 21.5T270-570ZM160-200q-33 0-56.5-23.5T80-280v-480q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v480q0 33-23.5 56.5T800-200H640v40q0 17-11.5 28.5T600-120H360q-17 0-28.5-11.5T320-160v-40H160Zm0-80h640v-480H160v480Zm0 0v-480 480Z" }) }),
|
|
257
|
+
double_arrow_left: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "m313-480 155 156q11 11 11.5 27.5T468-268q-11 11-28 11t-28-11L228-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 27.5-11.5T468-692q11 11 11 28t-11 28L313-480Zm264 0 155 156q11 11 11.5 27.5T732-268q-11 11-28 11t-28-11L492-452q-6-6-8.5-13t-2.5-15q0-8 2.5-15t8.5-13l184-184q11-11 27.5-11.5T732-692q11 11 11 28t-11 28L577-480Z" }) }),
|
|
258
|
+
double_arrow_right: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M383-480 228-636q-11-11-11.5-27.5T228-692q11-11 28-11t28 11l184 184q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L284-268q-11 11-27.5 11.5T228-268q-11-11-11-28t11-28l155-156Zm264 0L492-636q-11-11-11.5-27.5T492-692q11-11 28-11t28 11l184 184q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L548-268q-11 11-27.5 11.5T492-268q-11-11-11-28t11-28l155-156Z" }) }),
|
|
259
|
+
download: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-337q-8 0-15-2.5t-13-8.5L308-492q-12-12-11.5-28t11.5-28q12-12 28.5-12.5T365-549l75 75v-286q0-17 11.5-28.5T480-800q17 0 28.5 11.5T520-760v286l75-75q12-12 28.5-11.5T652-548q11 12 11.5 28T652-492L508-348q-6 6-13 8.5t-15 2.5ZM240-160q-33 0-56.5-23.5T160-240v-80q0-17 11.5-28.5T200-360q17 0 28.5 11.5T240-320v80h480v-80q0-17 11.5-28.5T760-360q17 0 28.5 11.5T800-320v80q0 33-23.5 56.5T720-160H240Z" }) }),
|
|
260
|
+
east: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M727-440H120q-17 0-28.5-11.5T80-480q0-17 11.5-28.5T120-520h607L572-676q-11-11-11.5-27.5T572-732q11-11 28-11t28 11l224 224q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L628-228q-11 11-27.5 11T572-228q-12-12-12-28.5t12-28.5l155-155Z" }) }),
|
|
261
|
+
error: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-280q17 0 28.5-11.5T520-320q0-17-11.5-28.5T480-360q-17 0-28.5 11.5T440-320q0 17 11.5 28.5T480-280Zm0-160q17 0 28.5-11.5T520-480v-160q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640v160q0 17 11.5 28.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" }) }),
|
|
262
|
+
exclamation: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-400q-17 0-28.5-11.5T440-440v-280q0-17 11.5-28.5T480-760q17 0 28.5 11.5T520-720v280q0 17-11.5 28.5T480-400Zm0 200q-17 0-28.5-11.5T440-240q0-17 11.5-28.5T480-280q17 0 28.5 11.5T520-240q0 17-11.5 28.5T480-200Z" }) }),
|
|
263
|
+
grid_view: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M200-520q-33 0-56.5-23.5T120-600v-160q0-33 23.5-56.5T200-840h160q33 0 56.5 23.5T440-760v160q0 33-23.5 56.5T360-520H200Zm0 400q-33 0-56.5-23.5T120-200v-160q0-33 23.5-56.5T200-440h160q33 0 56.5 23.5T440-360v160q0 33-23.5 56.5T360-120H200Zm400-400q-33 0-56.5-23.5T520-600v-160q0-33 23.5-56.5T600-840h160q33 0 56.5 23.5T840-760v160q0 33-23.5 56.5T760-520H600Zm0 400q-33 0-56.5-23.5T520-200v-160q0-33 23.5-56.5T600-440h160q33 0 56.5 23.5T840-360v160q0 33-23.5 56.5T760-120H600ZM200-600h160v-160H200v160Zm400 0h160v-160H600v160Zm0 400h160v-160H600v160Zm-400 0h160v-160H200v160Zm400-400Zm0 240Zm-240 0Zm0-240Z" }) }),
|
|
264
|
+
help: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M478-240q21 0 35.5-14.5T528-290q0-21-14.5-35.5T478-340q-21 0-35.5 14.5T428-290q0 21 14.5 35.5T478-240Zm2 160q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Zm4-172q25 0 43.5 16t18.5 40q0 22-13.5 39T502-525q-23 20-40.5 44T444-427q0 14 10.5 23.5T479-394q15 0 25.5-10t13.5-25q4-21 18-37.5t30-31.5q23-22 39.5-48t16.5-58q0-51-41.5-83.5T484-720q-38 0-72.5 16T359-655q-7 12-4.5 25.5T368-609q14 8 29 5t25-17q11-15 27.5-23t34.5-8Z" }) }),
|
|
265
|
+
info: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-280q17 0 28.5-11.5T520-320v-160q0-17-11.5-28.5T480-520q-17 0-28.5 11.5T440-480v160q0 17 11.5 28.5T480-280Zm0-320q17 0 28.5-11.5T520-640q0-17-11.5-28.5T480-680q-17 0-28.5 11.5T440-640q0 17 11.5 28.5T480-600Zm0 520q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z" }) }),
|
|
266
|
+
light_mode: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-360q50 0 85-35t35-85q0-50-35-85t-85-35q-50 0-85 35t-35 85q0 50 35 85t85 35Zm0 80q-83 0-141.5-58.5T280-480q0-83 58.5-141.5T480-680q83 0 141.5 58.5T680-480q0 83-58.5 141.5T480-280ZM80-440q-17 0-28.5-11.5T40-480q0-17 11.5-28.5T80-520h80q17 0 28.5 11.5T200-480q0 17-11.5 28.5T160-440H80Zm720 0q-17 0-28.5-11.5T760-480q0-17 11.5-28.5T800-520h80q17 0 28.5 11.5T920-480q0 17-11.5 28.5T880-440h-80ZM480-760q-17 0-28.5-11.5T440-800v-80q0-17 11.5-28.5T480-920q17 0 28.5 11.5T520-880v80q0 17-11.5 28.5T480-760Zm0 720q-17 0-28.5-11.5T440-80v-80q0-17 11.5-28.5T480-200q17 0 28.5 11.5T520-160v80q0 17-11.5 28.5T480-40ZM226-678l-43-42q-12-11-11.5-28t11.5-29q12-12 29-12t28 12l42 43q11 12 11 28t-11 28q-11 12-27.5 11.5T226-678Zm494 495-42-43q-11-12-11-28.5t11-27.5q11-12 27.5-11.5T734-282l43 42q12 11 11.5 28T777-183q-12 12-29 12t-28-12Zm-42-495q-12-11-11.5-27.5T678-734l42-43q11-12 28-11.5t29 11.5q12 12 12 29t-12 28l-43 42q-12 11-28 11t-28-11ZM183-183q-12-12-12-29t12-28l43-42q12-11 28.5-11t27.5 11q12 11 11.5 27.5T282-226l-42 43q-11 12-28 11.5T183-183Zm297-297Z" }) }),
|
|
267
|
+
link: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M280-280q-83 0-141.5-58.5T80-480q0-83 58.5-141.5T280-680h120q17 0 28.5 11.5T440-640q0 17-11.5 28.5T400-600H280q-50 0-85 35t-35 85q0 50 35 85t85 35h120q17 0 28.5 11.5T440-320q0 17-11.5 28.5T400-280H280Zm80-160q-17 0-28.5-11.5T320-480q0-17 11.5-28.5T360-520h240q17 0 28.5 11.5T640-480q0 17-11.5 28.5T600-440H360Zm200 160q-17 0-28.5-11.5T520-320q0-17 11.5-28.5T560-360h120q50 0 85-35t35-85q0-50-35-85t-85-35H560q-17 0-28.5-11.5T520-640q0-17 11.5-28.5T560-680h120q83 0 141.5 58.5T880-480q0 83-58.5 141.5T680-280H560Z" }) }),
|
|
268
|
+
list: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M320-600q-17 0-28.5-11.5T280-640q0-17 11.5-28.5T320-680h480q17 0 28.5 11.5T840-640q0 17-11.5 28.5T800-600H320Zm0 160q-17 0-28.5-11.5T280-480q0-17 11.5-28.5T320-520h480q17 0 28.5 11.5T840-480q0 17-11.5 28.5T800-440H320Zm0 160q-17 0-28.5-11.5T280-320q0-17 11.5-28.5T320-360h480q17 0 28.5 11.5T840-320q0 17-11.5 28.5T800-280H320ZM160-600q-17 0-28.5-11.5T120-640q0-17 11.5-28.5T160-680q17 0 28.5 11.5T200-640q0 17-11.5 28.5T160-600Zm0 160q-17 0-28.5-11.5T120-480q0-17 11.5-28.5T160-520q17 0 28.5 11.5T200-480q0 17-11.5 28.5T160-440Zm0 160q-17 0-28.5-11.5T120-320q0-17 11.5-28.5T160-360q17 0 28.5 11.5T200-320q0 17-11.5 28.5T160-280Z" }) }),
|
|
269
|
+
login: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M520-120q-17 0-28.5-11.5T480-160q0-17 11.5-28.5T520-200h240v-560H520q-17 0-28.5-11.5T480-800q0-17 11.5-28.5T520-840h240q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H520Zm-73-320H160q-17 0-28.5-11.5T120-480q0-17 11.5-28.5T160-520h287l-75-75q-11-11-11-27t11-28q11-12 28-12.5t29 11.5l143 143q12 12 12 28t-12 28L429-309q-12 12-28.5 11.5T372-310q-11-12-10.5-28.5T373-366l74-74Z" }) }),
|
|
270
|
+
logout: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h240q17 0 28.5 11.5T480-800q0 17-11.5 28.5T440-760H200v560h240q17 0 28.5 11.5T480-160q0 17-11.5 28.5T440-120H200Zm487-320H400q-17 0-28.5-11.5T360-480q0-17 11.5-28.5T400-520h287l-75-75q-11-11-11-27t11-28q11-12 28-12.5t29 11.5l143 143q12 12 12 28t-12 28L669-309q-12 12-28.5 11.5T612-310q-11-12-10.5-28.5T613-366l74-74Z" }) }),
|
|
271
|
+
menu: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M160-240q-17 0-28.5-11.5T120-280q0-17 11.5-28.5T160-320h640q17 0 28.5 11.5T840-280q0 17-11.5 28.5T800-240H160Zm0-200q-17 0-28.5-11.5T120-480q0-17 11.5-28.5T160-520h640q17 0 28.5 11.5T840-480q0 17-11.5 28.5T800-440H160Zm0-200q-17 0-28.5-11.5T120-680q0-17 11.5-28.5T160-720h640q17 0 28.5 11.5T840-680q0 17-11.5 28.5T800-640H160Z" }) }),
|
|
272
|
+
more_horiz: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M240-400q-33 0-56.5-23.5T160-480q0-33 23.5-56.5T240-560q33 0 56.5 23.5T320-480q0 33-23.5 56.5T240-400Zm240 0q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm240 0q-33 0-56.5-23.5T640-480q0-33 23.5-56.5T720-560q33 0 56.5 23.5T800-480q0 33-23.5 56.5T720-400Z" }) }),
|
|
273
|
+
more_vert: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-160q-33 0-56.5-23.5T400-240q0-33 23.5-56.5T480-320q33 0 56.5 23.5T560-240q0 33-23.5 56.5T480-160Zm0-240q-33 0-56.5-23.5T400-480q0-33 23.5-56.5T480-560q33 0 56.5 23.5T560-480q0 33-23.5 56.5T480-400Zm0-240q-33 0-56.5-23.5T400-720q0-33 23.5-56.5T480-800q33 0 56.5 23.5T560-720q0 33-23.5 56.5T480-640Z" }) }),
|
|
274
|
+
north: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-80q-17 0-28.5-11.5T440-120v-607L284-572q-11 11-27.5 11.5T228-572q-11-11-11-28t11-28l224-224q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l224 224q11 11 11 27.5T732-572q-12 12-28.5 12T675-572L520-727v607q0 17-11.5 28.5T480-80Z" }) }),
|
|
275
|
+
open_in_new: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h240q17 0 28.5 11.5T480-800q0 17-11.5 28.5T440-760H200v560h560v-240q0-17 11.5-28.5T800-480q17 0 28.5 11.5T840-440v240q0 33-23.5 56.5T760-120H200Zm560-584L416-360q-11 11-28 11t-28-11q-11-11-11-28t11-28l344-344H600q-17 0-28.5-11.5T560-800q0-17 11.5-28.5T600-840h200q17 0 28.5 11.5T840-800v200q0 17-11.5 28.5T800-560q-17 0-28.5-11.5T760-600v-104Z" }) }),
|
|
276
|
+
palette: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 32.5-156t88-127Q256-817 330-848.5T488-880q80 0 151 27.5t124.5 76q53.5 48.5 85 115T880-518q0 115-70 176.5T640-280h-74q-9 0-12.5 5t-3.5 11q0 12 15 34.5t15 51.5q0 50-27.5 74T480-80Zm0-400Zm-220 40q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm120-160q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm200 0q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm120 160q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17ZM480-160q9 0 14.5-5t5.5-13q0-14-15-33t-15-57q0-42 29-67t71-25h70q66 0 113-38.5T800-518q0-121-92.5-201.5T488-800q-136 0-232 93t-96 227q0 133 93.5 226.5T480-160Z" }) }),
|
|
277
|
+
print: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M320-120q-33 0-56.5-23.5T240-200v-80h-80q-33 0-56.5-23.5T80-360v-160q0-51 35-85.5t85-34.5h560q51 0 85.5 34.5T880-520v160q0 33-23.5 56.5T800-280h-80v80q0 33-23.5 56.5T640-120H320ZM160-360h80q0-33 23.5-56.5T320-440h320q33 0 56.5 23.5T720-360h80v-160q0-17-11.5-28.5T760-560H200q-17 0-28.5 11.5T160-520v160Zm480-280v-120H320v120h-80v-120q0-33 23.5-56.5T320-840h320q33 0 56.5 23.5T720-760v120h-80Zm80 180q17 0 28.5-11.5T760-500q0-17-11.5-28.5T720-540q-17 0-28.5 11.5T680-500q0 17 11.5 28.5T720-460Zm-80 260v-160H320v160h320ZM160-560h640-640Z" }) }),
|
|
278
|
+
progress_activity: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-80q-82 0-155-31.5t-127.5-86Q143-252 111.5-325T80-480q0-83 31.5-155.5t86-127Q252-817 325-848.5T480-880q17 0 28.5 11.5T520-840q0 17-11.5 28.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160q133 0 226.5-93.5T800-480q0-17 11.5-28.5T840-520q17 0 28.5 11.5T880-480q0 82-31.5 155t-86 127.5q-54.5 54.5-127 86T480-80Z" }) }),
|
|
279
|
+
remove: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M240-440q-17 0-28.5-11.5T200-480q0-17 11.5-28.5T240-520h480q17 0 28.5 11.5T760-480q0 17-11.5 28.5T720-440H240Z" }) }),
|
|
280
|
+
search: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M380-320q-109 0-184.5-75.5T120-580q0-109 75.5-184.5T380-840q109 0 184.5 75.5T640-580q0 44-14 83t-38 69l224 224q11 11 11 28t-11 28q-11 11-28 11t-28-11L532-372q-30 24-69 38t-83 14Zm0-80q75 0 127.5-52.5T560-580q0-75-52.5-127.5T380-760q-75 0-127.5 52.5T200-580q0 75 52.5 127.5T380-400Z" }) }),
|
|
281
|
+
settings_brightness: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "m420-320 46 46q6 6 14 6t14-6l46-46h80q8 0 14-6t6-14v-80l46-46q6-6 6-14t-6-14l-46-46v-80q0-8-6-14t-14-6h-80l-46-46q-6-6-14-6t-14 6l-46 46h-80q-8 0-14 6t-6 14v80l-46 46q-6 6-6 14t6 14l46 46v80q0 8 6 14t14 6h80Zm60-40v-240q50 0 85 35t35 85q0 50-35 85t-85 35ZM160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm0-80h640v-480H160v480Zm0 0v-480 480Z" }) }),
|
|
282
|
+
share: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M680-80q-50 0-85-35t-35-85q0-6 3-28L282-392q-16 15-37 23.5t-45 8.5q-50 0-85-35t-35-85q0-50 35-85t85-35q24 0 45 8.5t37 23.5l281-164q-2-7-2.5-13.5T560-760q0-50 35-85t85-35q50 0 85 35t35 85q0 50-35 85t-85 35q-24 0-45-8.5T598-672L317-508q2 7 2.5 13.5t.5 14.5q0 8-.5 14.5T317-452l281 164q16-15 37-23.5t45-8.5q50 0 85 35t35 85q0 50-35 85t-85 35Zm0-80q17 0 28.5-11.5T720-200q0-17-11.5-28.5T680-240q-17 0-28.5 11.5T640-200q0 17 11.5 28.5T680-160ZM200-440q17 0 28.5-11.5T240-480q0-17-11.5-28.5T200-520q-17 0-28.5 11.5T160-480q0 17 11.5 28.5T200-440Zm480-280q17 0 28.5-11.5T720-760q0-17-11.5-28.5T680-800q-17 0-28.5 11.5T640-760q0 17 11.5 28.5T680-720Zm0 520ZM200-480Zm480-280Z" }) }),
|
|
283
|
+
side_navigation: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm280-80h280v-560H480v560Z" }) }),
|
|
284
|
+
south: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M480-97q-8 0-15-2.5t-13-8.5L228-332q-11-11-11-28t11-28q12-12 28.5-11.5T284-388l156 155v-607q0-17 11.5-28.5T480-880q17 0 28.5 11.5T520-840v607l155-155q12-12 28.5-12t28.5 12q11 12 11 28.5T732-332L508-108q-6 6-13 8.5T480-97Z" }) }),
|
|
285
|
+
unfold_less: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "m480-284-96 96q-11 11-28 11t-28-11q-11-11-11-28t11-28l124-124q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l124 124q11 11 11 28t-11 28q-11 11-28 11t-28-11l-96-96Zm0-392 96-96q11-11 28-11t28 11q11 11 11 28t-11 28L508-592q-6 6-13 8.5t-15 2.5q-8 0-15-2.5t-13-8.5L328-716q-11-11-11-28t11-28q11-11 28-11t28 11l96 96Z" }) }),
|
|
286
|
+
unfold_more: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "m480-236 93-93q12-12 29-12t29 12q12 12 12 29t-12 29L508-148q-6 6-13 8.5t-15 2.5q-8 0-15-2.5t-13-8.5L329-271q-12-12-12-29t12-29q12-12 29-12t29 12l93 93Zm0-484-93 93q-12 12-29 12t-29-12q-12-12-12-29t12-29l123-123q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l123 123q12 12 12 29t-12 29q-12 12-29 12t-29-12l-93-93Z" }) }),
|
|
287
|
+
upload: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M240-160q-33 0-56.5-23.5T160-240v-80q0-17 11.5-28.5T200-360q17 0 28.5 11.5T240-320v80h480v-80q0-17 11.5-28.5T760-360q17 0 28.5 11.5T800-320v80q0 33-23.5 56.5T720-160H240Zm200-486-75 75q-12 12-28.5 11.5T308-572q-11-12-11.5-28t11.5-28l144-144q6-6 13-8.5t15-2.5q8 0 15 2.5t13 8.5l144 144q12 12 11.5 28T652-572q-12 12-28.5 12.5T595-571l-75-75v286q0 17-11.5 28.5T480-320q-17 0-28.5-11.5T440-360v-286Z" }) }),
|
|
288
|
+
west: (props) => /* @__PURE__ */ jsx("svg", { fill: "currentColor", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsx("path", { d: "M233-440h607q17 0 28.5-11.5T880-480q0-17-11.5-28.5T840-520H233l155-156q11-11 11.5-27.5T388-732q-11-11-28-11t-28 11L108-508q-6 6-8.5 13T97-480q0 8 2.5 15t8.5 13l224 224q11 11 27.5 11t28.5-11q12-12 12-28.5T388-285L233-440Z" }) })
|
|
289
|
+
};
|
|
290
|
+
function Label({ className, ...props }) {
|
|
291
|
+
return /* @__PURE__ */ jsx(
|
|
292
|
+
LabelPrimitive.Root,
|
|
293
|
+
{
|
|
294
|
+
"data-slot": "label",
|
|
295
|
+
className: cn(
|
|
296
|
+
"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
|
|
297
|
+
className
|
|
298
|
+
),
|
|
299
|
+
...props
|
|
300
|
+
}
|
|
301
|
+
);
|
|
646
302
|
}
|
|
647
303
|
function Logo(props) {
|
|
648
|
-
return /* @__PURE__ */ jsxs(Fragment, {
|
|
649
|
-
children:
|
|
650
|
-
|
|
651
|
-
/* @__PURE__ */ jsx(
|
|
652
|
-
|
|
653
|
-
|
|
304
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
305
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "NSW Government" }),
|
|
306
|
+
/* @__PURE__ */ jsxs("svg", { viewBox: "0 0 259 280", "aria-hidden": "true", ...props, children: [
|
|
307
|
+
/* @__PURE__ */ jsx(
|
|
308
|
+
"path",
|
|
309
|
+
{
|
|
310
|
+
fillRule: "evenodd",
|
|
311
|
+
clipRule: "evenodd",
|
|
312
|
+
d: "M24.208 270.207h-5.045v-4.277l11.15.054v13.676H26.08v-2.491c-.266.278-.553.556-.86.833-.673.585-1.49 1.07-2.433 1.434-.96.373-2.143.564-3.513.564-2.33 0-4.385-.539-6.109-1.6-1.727-1.065-3.073-2.594-4.007-4.538-.926-1.927-1.395-4.231-1.395-6.85 0-2.657.494-4.994 1.47-6.946.971-1.96 2.363-3.498 4.132-4.571 1.768-1.065 3.849-1.604 6.183-1.604 1.515 0 2.915.245 4.156.725 1.255.485 2.36 1.157 3.273 1.985a9.61 9.61 0 0 1 2.192 2.852 8.196 8.196 0 0 1 .872 3.319l.021.435h-6.038l-.062-.339a5.22 5.22 0 0 0-.814-1.981 4.562 4.562 0 0 0-1.537-1.43c-.614-.352-1.345-.531-2.175-.531-1.005 0-1.931.261-2.741.775-.806.51-1.458 1.351-1.935 2.495-.486 1.169-.731 2.74-.731 4.679 0 1.579.162 2.897.482 3.925.311 1.011.739 1.819 1.266 2.403.523.581 1.117.991 1.773 1.219a6.036 6.036 0 0 0 2.089.369c.669 0 1.27-.112 1.79-.328.523-.224.98-.514 1.354-.866.377-.356.676-.746.884-1.152.216-.41.349-.816.399-1.21l.14-1.028Zm20.878-16.312c2.354 0 4.435.534 6.179 1.587 1.752 1.061 3.13 2.59 4.086 4.546.947 1.935 1.428 4.281 1.428 6.967 0 2.648-.473 4.969-1.412 6.9-.946 1.948-2.317 3.469-4.073 4.521-1.744 1.053-3.837 1.583-6.212 1.583-2.396 0-4.502-.534-6.254-1.583-1.753-1.044-3.135-2.557-4.099-4.505-.947-1.927-1.428-4.252-1.428-6.912 0-2.673.486-5.015 1.449-6.954.968-1.956 2.355-3.486 4.12-4.551 1.764-1.061 3.853-1.599 6.216-1.599Zm0 21.185c1.117 0 2.093-.265 2.898-.787.802-.523 1.433-1.372 1.881-2.516.453-1.185.686-2.772.686-4.712 0-1.993-.237-3.618-.698-4.832-.444-1.181-1.08-2.056-1.885-2.603-.814-.543-1.782-.82-2.878-.82-1.1 0-2.072.277-2.886.82-.81.543-1.453 1.422-1.906 2.611-.47 1.223-.706 2.843-.706 4.82 0 1.944.237 3.531.702 4.712.452 1.148 1.092 1.997 1.902 2.515.81.527 1.781.792 2.89.792Zm23.764-2.93-6.162-17.829H57.09l8.654 25.251h6.195l8.73-25.251h-5.607L68.85 272.15Zm30.312-2.827H88.863v5.206l12.043.016v5.027H83.103v-25.251h17.632l-.016 4.99H88.892v5.089h10.27v4.923Zm22.482-1.529c.685-.613 1.246-1.401 1.678-2.341.419-.933.635-2.081.635-3.419 0-1.497-.311-2.835-.93-3.983-.619-1.169-1.599-2.093-2.919-2.756-1.3-.647-2.973-.974-4.975-.974h-10.738v25.243h5.759v-9.404h4.24l3.991 9.404h6.046l-4.651-10.456c.673-.357 1.3-.8 1.864-1.314Zm-3.513-5.64c0 .999-.336 1.79-1.025 2.428-.69.63-1.649.949-2.857.949h-4.095v-6.606h4.456c1.038 0 1.873.286 2.545.875.657.576.976 1.347.976 2.354Zm15.159-7.833 10.527 15.23v-15.23h5.776v25.251h-5.086l-10.98-15.86v15.86h-5.759v-25.251h5.522Zm33.949 16.461-5.29-16.461h-7.894v25.251h5.809v-16.266l5.124 16.266h4.485l5.162-16.357v16.357h5.826v-25.251h-7.878l-5.344 16.461Zm33.727-1.459h-10.298v5.206l12.046.016v5.027h-17.806v-25.251h17.636l-.021 4.99h-11.818v5.089h10.261v4.923Zm21.494.228-10.523-15.23h-5.527v25.251h5.756v-15.86l10.979 15.86h5.087v-25.251h-5.772v15.23Zm15.586-10.004h-7.388v-5.226h20.402v5.226h-7.217v20.025h-5.797v-20.025Z",
|
|
313
|
+
className: "fill-nsw-blue-800 dark:fill-white"
|
|
314
|
+
}
|
|
315
|
+
),
|
|
316
|
+
/* @__PURE__ */ jsx(
|
|
317
|
+
"path",
|
|
318
|
+
{
|
|
319
|
+
fillRule: "evenodd",
|
|
320
|
+
clipRule: "evenodd",
|
|
321
|
+
d: "M146.699 209.236c-1.482-2.395-3.717-4.571-6.64-6.465-2.919-1.894-6.897-3.34-11.81-4.297l-13.678-2.814c-4.132-.891-6.981-2.043-8.468-3.419-1.449-1.343-2.184-3.129-2.184-5.309 0-1.388.316-2.652.943-3.759.623-1.111 1.528-2.093 2.687-2.922 1.166-.828 2.616-1.483 4.306-1.943 1.711-.469 3.633-.705 5.714-.705 2.74 0 5.211.361 7.346 1.078 2.109.713 3.857 1.881 5.194 3.481 1.338 1.6 2.16 3.775 2.442 6.465l.038.373h16.971l-.008-.427c-.075-4.575-1.371-8.773-3.85-12.474-2.483-3.705-6.141-6.681-10.879-8.852-4.726-2.164-10.623-3.262-17.528-3.262-5.801 0-11.117 1.011-15.805 3.009-4.7 2.002-8.475 4.89-11.212 8.587-2.749 3.717-4.12 8.164-4.078 13.224.112 6.175 1.99 11.186 5.577 14.903 3.576 3.697 8.476 6.158 14.567 7.306l13.795 2.81c2.529.502 4.825 1.16 6.823 1.96 1.96.784 3.525 1.803 4.651 3.03 1.1 1.197 1.657 2.772 1.657 4.67 0 2.114-.694 3.9-2.06 5.301-1.4 1.434-3.301 2.515-5.643 3.224-2.388.721-5.058 1.086-7.936 1.086-2.807 0-5.394-.435-7.686-1.297-2.28-.85-4.194-2.093-5.689-3.693-1.491-1.591-2.513-3.585-3.04-5.918l-.075-.327H83.846l.045.46c.407 4.045 1.666 7.629 3.738 10.659 2.068 3.009 4.717 5.545 7.873 7.551 3.148 1.993 6.677 3.514 10.494 4.513a46.33 46.33 0 0 0 11.693 1.5c6.466 0 12.2-1.019 17.046-3.034 4.867-2.022 8.717-4.807 11.449-8.276 2.753-3.493 4.148-7.476 4.148-11.848 0-2.064-.232-4.36-.697-6.822-.478-2.482-1.466-4.948-2.936-7.327ZM25.937 191.763l36.916 53.312H77.87v-79.724H61.072v51.282L25.754 165.53l-.125-.179H9.19v79.724h16.748v-53.312Zm196.637 24.577 14.388-50.987h16.457l-23.587 79.724h-13.367l-14.554-50.469-14.659 50.469h-13.147l-23.533-79.724h16.511l14.384 50.979 14.389-50.979h12.167l14.551 50.987Z",
|
|
322
|
+
className: "fill-nsw-blue-800 dark:fill-white"
|
|
323
|
+
}
|
|
324
|
+
),
|
|
325
|
+
/* @__PURE__ */ jsx(
|
|
326
|
+
"path",
|
|
327
|
+
{
|
|
328
|
+
d: "M122.291 145.572c-19.75-2.424-38.934 3.904-72.69-5.263-3.447-.937-4.718 2.694-2.854 5.736 9.07 14.803 54.881 3.203 75.635 1.065.906-.095.814-1.426-.091-1.538ZM208.735 140.309c-33.756 9.167-52.941 2.839-72.691 5.263-.905.112-1 1.447-.091 1.538 20.759 2.138 66.566 13.738 75.635-1.065 1.864-3.042.594-6.673-2.853-5.736ZM59.882 119.132c-6.864-10.058-12.474-21.31-16.818-33.69-13.101 3.826-26.51 9.346-40.16 16.57a5.388 5.388 0 0 0-2.902 4.67 5.38 5.38 0 0 0 2.653 4.812c26.431 15.802 52.273 24.841 76.93 26.933-7.34-4.475-14.072-11.044-19.703-19.295ZM23.059 85.513a201.529 201.529 0 0 1 17.976-6.233c-2.126-6.896-3.87-14.12-5.249-21.658-6.827-.85-13.89-1.4-21.199-1.641-.062 0-.128-.004-.19-.004a5.391 5.391 0 0 0-4.647 2.602 5.383 5.383 0 0 0-.12 5.483c4.243 7.659 8.724 14.808 13.429 21.45ZM88.005 135.572c4.099 1.807 8.293 2.818 12.358 3.029-9.953-7.12-17.773-19.192-22.278-34.58-5.805-19.81-7.745-41.666-5.83-65.247-7.832-4.936-16.32-9.557-25.46-13.85a5.428 5.428 0 0 0-5.402.43 5.396 5.396 0 0 0-2.388 4.841c2.126 34.215 10.95 62.915 26.223 85.298 6.404 9.391 14.281 16.332 22.777 20.079ZM107.488 23.577A253.323 253.323 0 0 0 92.235 6.735c-1.063-1.078-2.433-1.65-3.85-1.65-.506 0-1.017.075-1.523.224-1.923.568-3.314 2.106-3.733 4.115-1.072 5.164-3.11 15.69-4.012 26.101 7.014 4.613 13.492 9.49 19.426 14.621 2.3-8.757 5.29-17.63 8.945-26.569ZM255.42 102.007c-13.65-7.223-27.058-12.744-40.16-16.569-4.343 12.38-9.953 23.631-16.818 33.689-5.63 8.255-12.362 14.82-19.708 19.296 24.658-2.093 50.5-11.132 76.931-26.934 1.715-1.024 2.707-2.822 2.653-4.811-.045-1.99-1.133-3.734-2.898-4.671ZM235.273 85.513c4.705-6.643 9.186-13.796 13.43-21.455.963-1.74.922-3.788-.121-5.483a5.4 5.4 0 0 0-4.837-2.598c-7.309.24-14.377.796-21.199 1.641-1.375 7.539-3.123 14.762-5.249 21.658a203.803 203.803 0 0 1 17.976 6.237ZM180.247 104.025c-4.505 15.384-12.329 27.46-22.278 34.58 4.065-.211 8.263-1.227 12.358-3.034 8.496-3.746 16.373-10.688 22.777-20.075 15.273-22.383 24.097-51.082 26.223-85.297a5.394 5.394 0 0 0-2.388-4.84 5.428 5.428 0 0 0-5.402-.432c-9.14 4.29-17.628 8.91-25.46 13.85 1.915 23.582-.029 45.434-5.83 65.248ZM179.214 35.52c-.901-10.406-2.94-20.932-4.011-26.1-.416-2.01-1.811-3.547-3.733-4.115a5.39 5.39 0 0 0-1.524-.224c-1.416 0-2.787.572-3.85 1.65-5.485 5.549-10.568 11.164-15.252 16.842 3.654 8.939 6.644 17.812 8.949 26.565 5.934-5.127 12.407-10.005 19.421-14.617ZM129.144 87.229c6.64-13.092 17.246-24.829 25.21-32.243-4.372-17.779-11.104-34.55-20.397-52.097C132.998 1.078 131.195 0 129.148 0s-3.845 1.082-4.808 2.889c-9.389 17.604-16.237 35.122-20.377 52.093 8.313 7.688 19.28 20.224 25.181 32.247Z",
|
|
329
|
+
className: "fill-nsw-red-600 dark:fill-white"
|
|
330
|
+
}
|
|
331
|
+
),
|
|
332
|
+
/* @__PURE__ */ jsx(
|
|
333
|
+
"path",
|
|
334
|
+
{
|
|
335
|
+
d: "M153.541 133.686c6.885-4.833 13.77-13.254 18.139-24.97 8.458-22.681 9.334-47.945 8.122-65.823-15.331 10.215-39.665 31.55-47.975 54.36-3.911 10.734-5.734 25.355-2.72 33.511 1.259 3.411 3.401 5.997 6.345 7.227 4.46 1.865 11.312.456 18.089-4.305ZM125.713 95.261c-2.027-4.724-4.261-9.18-7.728-14.186-9.809-14.16-23.026-26.933-39.475-38.185-.17 2.652-2.57 31.297 5.851 59.304 6.408 21.302 17.354 29.98 23.354 33.333 6.038 3.369 11.561 4.165 18.039 2.557-6.565-8.935-5.747-27.27-.041-42.823Z",
|
|
336
|
+
className: "fill-nsw-red-600 dark:fill-white"
|
|
337
|
+
}
|
|
338
|
+
)
|
|
339
|
+
] })
|
|
340
|
+
] });
|
|
654
341
|
}
|
|
655
342
|
function Masthead() {
|
|
656
|
-
return /* @__PURE__ */ jsx(
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
className: clsx5('text-base lg:text-sm', className),
|
|
674
|
-
children: /* @__PURE__ */ jsx('ul', {
|
|
675
|
-
role: 'list',
|
|
676
|
-
className: 'flex flex-col gap-9',
|
|
677
|
-
children: navigation.map((section) =>
|
|
678
|
-
/* @__PURE__ */ jsxs(
|
|
679
|
-
'li',
|
|
343
|
+
return /* @__PURE__ */ jsx("div", { className: "bg-primary h-[var(--masthead-height)] w-full", children: /* @__PURE__ */ jsx("div", { className: "mx-auto flex w-full items-center justify-between px-4 py-2 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-12", children: /* @__PURE__ */ jsx("p", { className: "text-xs text-white", children: "A NSW Government website" }) }) }) });
|
|
344
|
+
}
|
|
345
|
+
function Navigation({
|
|
346
|
+
className,
|
|
347
|
+
onLinkClick,
|
|
348
|
+
navigation
|
|
349
|
+
}) {
|
|
350
|
+
const pathname = usePathname();
|
|
351
|
+
return /* @__PURE__ */ jsx("nav", { className: clsx4("text-base lg:text-sm", className), children: /* @__PURE__ */ jsx("ul", { role: "list", className: "flex flex-col gap-9", children: navigation.map((section) => /* @__PURE__ */ jsxs("li", { children: [
|
|
352
|
+
/* @__PURE__ */ jsx("h2", { className: "font-display text-foreground font-medium dark:text-white", children: section.title }),
|
|
353
|
+
/* @__PURE__ */ jsx(
|
|
354
|
+
"ul",
|
|
355
|
+
{
|
|
356
|
+
role: "list",
|
|
357
|
+
className: "border-nsw-grey-400 dark:border-nsw-grey-200/15 mt-2 flex flex-col gap-2 border-l lg:mt-4",
|
|
358
|
+
children: section.links.map((link) => /* @__PURE__ */ jsx("li", { className: "-ml-px flex flex-col items-start gap-2", children: /* @__PURE__ */ jsx(
|
|
359
|
+
Link4,
|
|
680
360
|
{
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
href: link.href,
|
|
697
|
-
onClick: onLinkClick,
|
|
698
|
-
className: clsx5(
|
|
699
|
-
'text-foreground inline-block border-l pl-5 text-base/8 sm:pl-4 sm:text-sm/6',
|
|
700
|
-
'hover:border-nsw-grey-950 hover:text-nsw-gray-950 hover:font-semibold',
|
|
701
|
-
'dark:text-nsw-grey-400',
|
|
702
|
-
'dark:hover:border-nsw-grey-400 dark:hover:text-white',
|
|
703
|
-
link.href === pathname &&
|
|
704
|
-
'border-primary text-primary border-l font-semibold dark:border-white',
|
|
705
|
-
),
|
|
706
|
-
children: link.title,
|
|
707
|
-
}),
|
|
708
|
-
},
|
|
709
|
-
link.href,
|
|
710
|
-
),
|
|
711
|
-
),
|
|
712
|
-
}),
|
|
713
|
-
],
|
|
714
|
-
},
|
|
715
|
-
section.title,
|
|
716
|
-
),
|
|
717
|
-
),
|
|
718
|
-
}),
|
|
719
|
-
})
|
|
361
|
+
href: link.href,
|
|
362
|
+
onClick: onLinkClick,
|
|
363
|
+
className: clsx4(
|
|
364
|
+
"text-foreground inline-block border-l pl-5 text-base/8 sm:pl-4 sm:text-sm/6",
|
|
365
|
+
"hover:border-nsw-grey-950 hover:text-nsw-gray-950 hover:font-semibold",
|
|
366
|
+
"dark:text-nsw-grey-400",
|
|
367
|
+
"dark:hover:border-nsw-grey-400 dark:hover:text-white",
|
|
368
|
+
link.href === pathname && "border-primary text-primary border-l font-semibold dark:border-white"
|
|
369
|
+
),
|
|
370
|
+
children: link.title
|
|
371
|
+
}
|
|
372
|
+
) }, link.href))
|
|
373
|
+
}
|
|
374
|
+
)
|
|
375
|
+
] }, section.title)) }) });
|
|
720
376
|
}
|
|
721
377
|
function ArrowIcon(props) {
|
|
722
|
-
return /* @__PURE__ */ jsx(
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
className:
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
dir === 'previous' && '-scale-x-100',
|
|
753
|
-
),
|
|
754
|
-
}),
|
|
755
|
-
],
|
|
756
|
-
}),
|
|
757
|
-
}),
|
|
758
|
-
],
|
|
759
|
-
})
|
|
378
|
+
return /* @__PURE__ */ jsx("svg", { viewBox: "0 0 16 16", "aria-hidden": "true", ...props, children: /* @__PURE__ */ jsx("path", { d: "m9.182 13.423-1.17-1.16 3.505-3.505H3V7.065h8.517l-3.506-3.5L9.181 2.4l5.512 5.511-5.511 5.512Z" }) });
|
|
379
|
+
}
|
|
380
|
+
function PageLink({
|
|
381
|
+
title,
|
|
382
|
+
href,
|
|
383
|
+
dir = "next",
|
|
384
|
+
...props
|
|
385
|
+
}) {
|
|
386
|
+
return /* @__PURE__ */ jsxs("div", { ...props, children: [
|
|
387
|
+
/* @__PURE__ */ jsx("dt", { className: "font-display text-sm font-medium text-slate-900 dark:text-white", children: dir === "next" ? "Next" : "Previous" }),
|
|
388
|
+
/* @__PURE__ */ jsx("dd", { className: "mt-1", children: /* @__PURE__ */ jsxs(
|
|
389
|
+
Link4,
|
|
390
|
+
{
|
|
391
|
+
href,
|
|
392
|
+
className: clsx4(
|
|
393
|
+
"flex items-center gap-x-1 text-base font-semibold text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300",
|
|
394
|
+
dir === "previous" && "flex-row-reverse"
|
|
395
|
+
),
|
|
396
|
+
children: [
|
|
397
|
+
title,
|
|
398
|
+
/* @__PURE__ */ jsx(
|
|
399
|
+
ArrowIcon,
|
|
400
|
+
{
|
|
401
|
+
className: clsx4("h-4 w-4 flex-none fill-current", dir === "previous" && "-scale-x-100")
|
|
402
|
+
}
|
|
403
|
+
)
|
|
404
|
+
]
|
|
405
|
+
}
|
|
406
|
+
) })
|
|
407
|
+
] });
|
|
760
408
|
}
|
|
761
409
|
function PrevNextLinks({ navigation }) {
|
|
762
|
-
const pathname = usePathname()
|
|
763
|
-
const allLinks = navigation.flatMap((section) => section.links)
|
|
764
|
-
const linkIndex = allLinks.findIndex((link) => link.href === pathname)
|
|
765
|
-
const previousPage = linkIndex > -1 ? allLinks[linkIndex - 1] : null
|
|
766
|
-
const nextPage = linkIndex > -1 ? allLinks[linkIndex + 1] : null
|
|
410
|
+
const pathname = usePathname();
|
|
411
|
+
const allLinks = navigation.flatMap((section) => section.links);
|
|
412
|
+
const linkIndex = allLinks.findIndex((link) => link.href === pathname);
|
|
413
|
+
const previousPage = linkIndex > -1 ? allLinks[linkIndex - 1] : null;
|
|
414
|
+
const nextPage = linkIndex > -1 ? allLinks[linkIndex + 1] : null;
|
|
767
415
|
if (!nextPage && !previousPage) {
|
|
768
|
-
return null
|
|
416
|
+
return null;
|
|
769
417
|
}
|
|
770
|
-
return /* @__PURE__ */ jsxs(
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
418
|
+
return /* @__PURE__ */ jsxs("dl", { className: "mt-12 flex border-t border-slate-200 pt-6 dark:border-slate-800", children: [
|
|
419
|
+
previousPage && /* @__PURE__ */ jsx(PageLink, { dir: "previous", ...previousPage }),
|
|
420
|
+
nextPage && /* @__PURE__ */ jsx(PageLink, { className: "ml-auto text-right", ...nextPage })
|
|
421
|
+
] });
|
|
422
|
+
}
|
|
423
|
+
function RadioGroup({
|
|
424
|
+
className,
|
|
425
|
+
...props
|
|
426
|
+
}) {
|
|
427
|
+
return /* @__PURE__ */ jsx(
|
|
428
|
+
RadioGroupPrimitive.Root,
|
|
429
|
+
{
|
|
430
|
+
"data-slot": "radio-group",
|
|
431
|
+
className: cn("grid gap-3", className),
|
|
432
|
+
...props
|
|
433
|
+
}
|
|
434
|
+
);
|
|
435
|
+
}
|
|
436
|
+
function RadioGroupItem({
|
|
437
|
+
className,
|
|
438
|
+
...props
|
|
439
|
+
}) {
|
|
440
|
+
return /* @__PURE__ */ jsx(
|
|
441
|
+
RadioGroupPrimitive.Item,
|
|
442
|
+
{
|
|
443
|
+
"data-slot": "radio-group-item",
|
|
444
|
+
className: cn(
|
|
445
|
+
"border-input text-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 aspect-square size-4 shrink-0 rounded-full border shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
|
|
446
|
+
className
|
|
447
|
+
),
|
|
448
|
+
...props,
|
|
449
|
+
children: /* @__PURE__ */ jsx(
|
|
450
|
+
RadioGroupPrimitive.Indicator,
|
|
451
|
+
{
|
|
452
|
+
"data-slot": "radio-group-indicator",
|
|
453
|
+
className: "relative flex items-center justify-center",
|
|
454
|
+
children: /* @__PURE__ */ jsx(CircleIcon, { className: "fill-primary absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2" })
|
|
455
|
+
}
|
|
456
|
+
)
|
|
457
|
+
}
|
|
458
|
+
);
|
|
459
|
+
}
|
|
460
|
+
function Sheet({ ...props }) {
|
|
461
|
+
return /* @__PURE__ */ jsx(SheetPrimitive.Root, { "data-slot": "sheet", ...props });
|
|
462
|
+
}
|
|
463
|
+
function SheetTrigger({ ...props }) {
|
|
464
|
+
return /* @__PURE__ */ jsx(SheetPrimitive.Trigger, { "data-slot": "sheet-trigger", ...props });
|
|
465
|
+
}
|
|
466
|
+
function SheetClose({ ...props }) {
|
|
467
|
+
return /* @__PURE__ */ jsx(SheetPrimitive.Close, { "data-slot": "sheet-close", ...props });
|
|
468
|
+
}
|
|
469
|
+
function SheetPortal({ ...props }) {
|
|
470
|
+
return /* @__PURE__ */ jsx(SheetPrimitive.Portal, { "data-slot": "sheet-portal", ...props });
|
|
471
|
+
}
|
|
472
|
+
function SheetOverlay({
|
|
473
|
+
className,
|
|
474
|
+
...props
|
|
475
|
+
}) {
|
|
476
|
+
return /* @__PURE__ */ jsx(
|
|
477
|
+
SheetPrimitive.Overlay,
|
|
478
|
+
{
|
|
479
|
+
"data-slot": "sheet-overlay",
|
|
480
|
+
className: cn(
|
|
481
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
482
|
+
className
|
|
483
|
+
),
|
|
484
|
+
...props
|
|
485
|
+
}
|
|
486
|
+
);
|
|
487
|
+
}
|
|
488
|
+
function SheetContent({
|
|
489
|
+
className,
|
|
490
|
+
children,
|
|
491
|
+
side = "right",
|
|
492
|
+
...props
|
|
493
|
+
}) {
|
|
494
|
+
return /* @__PURE__ */ jsxs(SheetPortal, { children: [
|
|
495
|
+
/* @__PURE__ */ jsx(SheetOverlay, {}),
|
|
496
|
+
/* @__PURE__ */ jsxs(
|
|
497
|
+
SheetPrimitive.Content,
|
|
498
|
+
{
|
|
499
|
+
"data-slot": "sheet-content",
|
|
500
|
+
className: cn(
|
|
501
|
+
"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
502
|
+
side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
|
|
503
|
+
side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
|
|
504
|
+
side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
|
|
505
|
+
side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
|
|
506
|
+
className
|
|
507
|
+
),
|
|
508
|
+
...props,
|
|
509
|
+
children: [
|
|
510
|
+
children,
|
|
511
|
+
/* @__PURE__ */ jsxs(SheetPrimitive.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
|
|
512
|
+
/* @__PURE__ */ jsx(XIcon, { className: "size-4" }),
|
|
513
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: "Close" })
|
|
514
|
+
] })
|
|
515
|
+
]
|
|
516
|
+
}
|
|
517
|
+
)
|
|
518
|
+
] });
|
|
519
|
+
}
|
|
520
|
+
function SheetHeader({ className, ...props }) {
|
|
521
|
+
return /* @__PURE__ */ jsx(
|
|
522
|
+
"div",
|
|
523
|
+
{
|
|
524
|
+
"data-slot": "sheet-header",
|
|
525
|
+
className: cn("flex flex-col gap-1.5 p-4", className),
|
|
526
|
+
...props
|
|
527
|
+
}
|
|
528
|
+
);
|
|
529
|
+
}
|
|
530
|
+
function SheetFooter({ className, ...props }) {
|
|
531
|
+
return /* @__PURE__ */ jsx(
|
|
532
|
+
"div",
|
|
533
|
+
{
|
|
534
|
+
"data-slot": "sheet-footer",
|
|
535
|
+
className: cn("mt-auto flex flex-col gap-2 p-4", className),
|
|
536
|
+
...props
|
|
537
|
+
}
|
|
538
|
+
);
|
|
539
|
+
}
|
|
540
|
+
function SheetTitle({ className, ...props }) {
|
|
541
|
+
return /* @__PURE__ */ jsx(
|
|
542
|
+
SheetPrimitive.Title,
|
|
543
|
+
{
|
|
544
|
+
"data-slot": "sheet-title",
|
|
545
|
+
className: cn("text-foreground font-semibold", className),
|
|
546
|
+
...props
|
|
547
|
+
}
|
|
548
|
+
);
|
|
549
|
+
}
|
|
550
|
+
function SheetDescription({
|
|
551
|
+
className,
|
|
552
|
+
...props
|
|
553
|
+
}) {
|
|
554
|
+
return /* @__PURE__ */ jsx(
|
|
555
|
+
SheetPrimitive.Description,
|
|
556
|
+
{
|
|
557
|
+
"data-slot": "sheet-description",
|
|
558
|
+
className: cn("text-muted-foreground text-sm", className),
|
|
559
|
+
...props
|
|
560
|
+
}
|
|
561
|
+
);
|
|
562
|
+
}
|
|
563
|
+
function SidebarNavigation({
|
|
564
|
+
className,
|
|
565
|
+
onLinkClick,
|
|
566
|
+
navigation
|
|
567
|
+
}) {
|
|
568
|
+
const pathname = usePathname();
|
|
569
|
+
return /* @__PURE__ */ jsx("nav", { className: clsx4("text-base lg:text-sm", className), children: /* @__PURE__ */ jsx("ul", { role: "list", className: "flex flex-col gap-9", children: navigation.map((section, sectionIndex) => /* @__PURE__ */ jsxs("li", { children: [
|
|
570
|
+
/* @__PURE__ */ jsx("h2", { className: "font-display text-foreground font-medium dark:text-white", children: section.title }),
|
|
571
|
+
/* @__PURE__ */ jsx(
|
|
572
|
+
"ul",
|
|
573
|
+
{
|
|
574
|
+
role: "list",
|
|
575
|
+
className: "border-nsw-grey-400 dark:border-nsw-grey-200/15 mt-2 flex flex-col gap-2 border-l lg:mt-4",
|
|
576
|
+
children: section.links.map((link) => /* @__PURE__ */ jsx(
|
|
577
|
+
SidebarLink,
|
|
578
|
+
{
|
|
579
|
+
link,
|
|
580
|
+
pathname,
|
|
581
|
+
onLinkClick: onLinkClick || (() => {
|
|
582
|
+
}),
|
|
583
|
+
depth: 1
|
|
584
|
+
},
|
|
585
|
+
link.href
|
|
586
|
+
))
|
|
587
|
+
}
|
|
588
|
+
)
|
|
589
|
+
] }, sectionIndex)) }) });
|
|
590
|
+
}
|
|
591
|
+
function SidebarLink({ link, pathname, onLinkClick, depth }) {
|
|
592
|
+
const hasChildren = Array.isArray(link.links) && link.links.length > 0;
|
|
593
|
+
const isActive = pathname === link.href;
|
|
594
|
+
const baseLinkClasses = clsx4(
|
|
595
|
+
"border-l pl-4 pr-2 text-base/8 sm:text-sm/6 w-full text-left py-1 rounded-r-md cursor-pointer",
|
|
596
|
+
"hover:border-nsw-grey-950 hover:text-nsw-gray-950 hover:font-semibold hover:bg-primary/10",
|
|
597
|
+
"dark:text-nsw-grey-400 dark:hover:border-nsw-grey-400 dark:hover:text-white",
|
|
598
|
+
isActive && "border-primary text-primary font-bold dark:border-white bg-nsw-sky-100 dark:bg-nsw-sky-900/20"
|
|
599
|
+
);
|
|
600
|
+
return /* @__PURE__ */ jsx("li", { className: "-ml-px flex flex-col items-start gap-1", children: hasChildren ? /* @__PURE__ */ jsxs(Collapsible, { className: "w-full", defaultOpen: isActive, children: [
|
|
601
|
+
/* @__PURE__ */ jsx(CollapsibleTrigger2, { asChild: true, children: /* @__PURE__ */ jsxs(
|
|
602
|
+
"button",
|
|
603
|
+
{
|
|
604
|
+
className: clsx4(baseLinkClasses, "group flex items-center justify-between gap-1"),
|
|
605
|
+
children: [
|
|
606
|
+
/* @__PURE__ */ jsx("span", { children: link.title }),
|
|
607
|
+
/* @__PURE__ */ jsx(
|
|
608
|
+
Icons.chevron_right,
|
|
609
|
+
{
|
|
610
|
+
className: clsx4(
|
|
611
|
+
"ml-2 size-5 transition-transform duration-200",
|
|
612
|
+
"group-data-[state=open]:rotate-90"
|
|
613
|
+
)
|
|
614
|
+
}
|
|
615
|
+
)
|
|
616
|
+
]
|
|
617
|
+
}
|
|
618
|
+
) }),
|
|
619
|
+
/* @__PURE__ */ jsx(CollapsibleContent2, { children: /* @__PURE__ */ jsx(
|
|
620
|
+
"ul",
|
|
621
|
+
{
|
|
622
|
+
className: clsx4(
|
|
623
|
+
"border-nsw-grey-400 dark:border-nsw-grey-200/15 mt-2 ml-5 flex flex-col gap-1 border-l pl-0"
|
|
624
|
+
),
|
|
625
|
+
children: link.links && link.links.map((childLink) => /* @__PURE__ */ jsx(
|
|
626
|
+
SidebarLink,
|
|
627
|
+
{
|
|
628
|
+
link: childLink,
|
|
629
|
+
pathname,
|
|
630
|
+
onLinkClick,
|
|
631
|
+
depth: depth + 1
|
|
632
|
+
},
|
|
633
|
+
childLink.href
|
|
634
|
+
))
|
|
635
|
+
}
|
|
636
|
+
) })
|
|
637
|
+
] }) : /* @__PURE__ */ jsx(Link4, { href: link.href, onClick: onLinkClick, className: baseLinkClasses, children: link.title }) });
|
|
777
638
|
}
|
|
778
639
|
function TableOfContents({ tableOfContents }) {
|
|
779
|
-
const [currentSection, setCurrentSection] = useState(tableOfContents[0]?.id)
|
|
640
|
+
const [currentSection, setCurrentSection] = useState(tableOfContents[0]?.id);
|
|
780
641
|
const getHeadings2 = useCallback((tableOfContents2) => {
|
|
781
|
-
return tableOfContents2
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
})
|
|
791
|
-
.filter((x) => x !== null)
|
|
792
|
-
}, [])
|
|
642
|
+
return tableOfContents2.flatMap((node) => [node.id, ...node.children.map((child) => child.id)]).map((id) => {
|
|
643
|
+
const el = document.getElementById(id);
|
|
644
|
+
if (!el) return null;
|
|
645
|
+
const style = window.getComputedStyle(el);
|
|
646
|
+
const scrollMt = parseFloat(style.scrollMarginTop);
|
|
647
|
+
const top = window.scrollY + el.getBoundingClientRect().top - scrollMt;
|
|
648
|
+
return { id, top };
|
|
649
|
+
}).filter((x) => x !== null);
|
|
650
|
+
}, []);
|
|
793
651
|
useEffect(() => {
|
|
794
|
-
if (tableOfContents.length === 0) return
|
|
795
|
-
const headings = getHeadings2(tableOfContents)
|
|
652
|
+
if (tableOfContents.length === 0) return;
|
|
653
|
+
const headings = getHeadings2(tableOfContents);
|
|
796
654
|
function onScroll() {
|
|
797
|
-
const top = window.scrollY
|
|
798
|
-
let current = headings[0].id
|
|
655
|
+
const top = window.scrollY;
|
|
656
|
+
let current = headings[0].id;
|
|
799
657
|
for (const heading of headings) {
|
|
800
658
|
if (top >= heading.top - 10) {
|
|
801
|
-
current = heading.id
|
|
659
|
+
current = heading.id;
|
|
802
660
|
} else {
|
|
803
|
-
break
|
|
661
|
+
break;
|
|
804
662
|
}
|
|
805
663
|
}
|
|
806
|
-
setCurrentSection(current)
|
|
664
|
+
setCurrentSection(current);
|
|
807
665
|
}
|
|
808
|
-
window.addEventListener(
|
|
809
|
-
onScroll()
|
|
666
|
+
window.addEventListener("scroll", onScroll, { passive: true });
|
|
667
|
+
onScroll();
|
|
810
668
|
return () => {
|
|
811
|
-
window.removeEventListener(
|
|
812
|
-
}
|
|
813
|
-
}, [getHeadings2, tableOfContents])
|
|
669
|
+
window.removeEventListener("scroll", onScroll);
|
|
670
|
+
};
|
|
671
|
+
}, [getHeadings2, tableOfContents]);
|
|
814
672
|
function isActive(section) {
|
|
815
673
|
if (section.id === currentSection) {
|
|
816
|
-
return true
|
|
674
|
+
return true;
|
|
817
675
|
}
|
|
818
676
|
if (!section.children) {
|
|
819
|
-
return false
|
|
677
|
+
return false;
|
|
820
678
|
}
|
|
821
|
-
return section.children.findIndex(isActive) > -1
|
|
822
|
-
}
|
|
823
|
-
return /* @__PURE__ */ jsx('div', {
|
|
824
|
-
className:
|
|
825
|
-
'hidden xl:sticky xl:top-[4.75rem] xl:-mr-6 xl:block xl:h-[calc(100vh-4.75rem)] xl:flex-none xl:overflow-y-auto xl:py-16 xl:pr-6',
|
|
826
|
-
children: /* @__PURE__ */ jsx('nav', {
|
|
827
|
-
'aria-labelledby': 'on-this-page-title',
|
|
828
|
-
className: 'w-56',
|
|
829
|
-
children:
|
|
830
|
-
tableOfContents.length > 0 &&
|
|
831
|
-
/* @__PURE__ */ jsxs(Fragment, {
|
|
832
|
-
children: [
|
|
833
|
-
/* @__PURE__ */ jsx('h2', {
|
|
834
|
-
id: 'on-this-page-title',
|
|
835
|
-
className: 'font-display text-sm font-medium text-slate-900 dark:text-white',
|
|
836
|
-
children: 'On this page',
|
|
837
|
-
}),
|
|
838
|
-
/* @__PURE__ */ jsx('ol', {
|
|
839
|
-
role: 'list',
|
|
840
|
-
className: 'mt-4 space-y-3 text-sm',
|
|
841
|
-
children: tableOfContents.map((section) =>
|
|
842
|
-
/* @__PURE__ */ jsxs(
|
|
843
|
-
'li',
|
|
844
|
-
{
|
|
845
|
-
children: [
|
|
846
|
-
/* @__PURE__ */ jsx('h3', {
|
|
847
|
-
children: /* @__PURE__ */ jsx(Link4, {
|
|
848
|
-
href: `#${section.id}`,
|
|
849
|
-
className: clsx5(
|
|
850
|
-
isActive(section)
|
|
851
|
-
? 'text-primary font-semibold'
|
|
852
|
-
: 'font-normal text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-300',
|
|
853
|
-
),
|
|
854
|
-
children: section.title,
|
|
855
|
-
}),
|
|
856
|
-
}),
|
|
857
|
-
section.children.length > 0 &&
|
|
858
|
-
/* @__PURE__ */ jsx('ol', {
|
|
859
|
-
role: 'list',
|
|
860
|
-
className: 'mt-2 space-y-3 pl-5 text-slate-500 dark:text-slate-400',
|
|
861
|
-
children: section.children.map((subSection) =>
|
|
862
|
-
/* @__PURE__ */ jsx(
|
|
863
|
-
'li',
|
|
864
|
-
{
|
|
865
|
-
children: /* @__PURE__ */ jsx(Link4, {
|
|
866
|
-
href: `#${subSection.id}`,
|
|
867
|
-
className: isActive(subSection)
|
|
868
|
-
? 'text-primary-light font-semibold'
|
|
869
|
-
: 'hover:text-slate-600 dark:hover:text-slate-300',
|
|
870
|
-
children: subSection.title,
|
|
871
|
-
}),
|
|
872
|
-
},
|
|
873
|
-
subSection.id,
|
|
874
|
-
),
|
|
875
|
-
),
|
|
876
|
-
}),
|
|
877
|
-
],
|
|
878
|
-
},
|
|
879
|
-
section.id,
|
|
880
|
-
),
|
|
881
|
-
),
|
|
882
|
-
}),
|
|
883
|
-
],
|
|
884
|
-
}),
|
|
885
|
-
}),
|
|
886
|
-
})
|
|
887
|
-
}
|
|
888
|
-
function ThemeSwitcher() {
|
|
889
|
-
const { resolvedTheme, setTheme } = useTheme()
|
|
890
|
-
const [mounted, setMounted] = useState(false)
|
|
891
|
-
const classes = 'fill-nsw-grey-600 dark:fill-nsw-grey-100 size-6'
|
|
892
|
-
useEffect(() => {
|
|
893
|
-
setMounted(true)
|
|
894
|
-
}, [])
|
|
895
|
-
if (!mounted) {
|
|
896
|
-
return /* @__PURE__ */ jsx(Button, {
|
|
897
|
-
variant: 'ghost',
|
|
898
|
-
size: 'icon',
|
|
899
|
-
className: 'h-10 w-10',
|
|
900
|
-
disabled: true,
|
|
901
|
-
children: /* @__PURE__ */ jsx(Icons.light_mode, { className: classes }),
|
|
902
|
-
})
|
|
679
|
+
return section.children.findIndex(isActive) > -1;
|
|
903
680
|
}
|
|
904
|
-
return /* @__PURE__ */ jsxs(
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
/* @__PURE__ */ jsx(
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
role: 'list',
|
|
942
|
-
className: 'flex flex-col gap-9',
|
|
943
|
-
children: navigation.map((section, sectionIndex) =>
|
|
944
|
-
/* @__PURE__ */ jsxs(
|
|
945
|
-
'li',
|
|
946
|
-
{
|
|
947
|
-
children: [
|
|
948
|
-
/* @__PURE__ */ jsx('h2', {
|
|
949
|
-
className: 'font-display text-foreground font-medium dark:text-white',
|
|
950
|
-
children: section.title,
|
|
951
|
-
}),
|
|
952
|
-
/* @__PURE__ */ jsx('ul', {
|
|
953
|
-
role: 'list',
|
|
954
|
-
className:
|
|
955
|
-
'border-nsw-grey-400 dark:border-nsw-grey-200/15 mt-2 flex flex-col gap-2 border-l lg:mt-4',
|
|
956
|
-
children: section.links.map((link) =>
|
|
957
|
-
/* @__PURE__ */ jsx(
|
|
958
|
-
SidebarLink,
|
|
959
|
-
{
|
|
960
|
-
link,
|
|
961
|
-
pathname,
|
|
962
|
-
onLinkClick: onLinkClick || (() => {}),
|
|
963
|
-
depth: 1,
|
|
964
|
-
},
|
|
965
|
-
link.href,
|
|
966
|
-
),
|
|
967
|
-
),
|
|
968
|
-
}),
|
|
969
|
-
],
|
|
970
|
-
},
|
|
971
|
-
sectionIndex,
|
|
972
|
-
),
|
|
973
|
-
),
|
|
974
|
-
}),
|
|
975
|
-
})
|
|
976
|
-
}
|
|
977
|
-
function SidebarLink({ link, pathname, onLinkClick, depth }) {
|
|
978
|
-
const hasChildren = Array.isArray(link.links) && link.links.length > 0
|
|
979
|
-
const isActive = pathname === link.href
|
|
980
|
-
const baseLinkClasses = clsx5(
|
|
981
|
-
'border-l pl-4 pr-2 text-base/8 sm:text-sm/6 w-full text-left py-1 rounded-r-md cursor-pointer',
|
|
982
|
-
'hover:border-nsw-grey-950 hover:text-nsw-gray-950 hover:font-semibold hover:bg-primary/10',
|
|
983
|
-
'dark:text-nsw-grey-400 dark:hover:border-nsw-grey-400 dark:hover:text-white',
|
|
984
|
-
isActive &&
|
|
985
|
-
'border-primary text-primary font-bold dark:border-white bg-nsw-sky-100 dark:bg-nsw-sky-900/20',
|
|
986
|
-
)
|
|
987
|
-
return /* @__PURE__ */ jsx('li', {
|
|
988
|
-
className: '-ml-px flex flex-col items-start gap-1',
|
|
989
|
-
children: hasChildren
|
|
990
|
-
? /* @__PURE__ */ jsxs(Collapsible, {
|
|
991
|
-
className: 'w-full',
|
|
992
|
-
defaultOpen: isActive,
|
|
993
|
-
children: [
|
|
994
|
-
/* @__PURE__ */ jsx(CollapsibleTrigger2, {
|
|
995
|
-
asChild: true,
|
|
996
|
-
children: /* @__PURE__ */ jsxs('button', {
|
|
997
|
-
className: clsx5(baseLinkClasses, 'group flex items-center justify-between gap-1'),
|
|
998
|
-
children: [
|
|
999
|
-
/* @__PURE__ */ jsx('span', { children: link.title }),
|
|
1000
|
-
/* @__PURE__ */ jsx(Icons.chevron_right, {
|
|
1001
|
-
className: clsx5(
|
|
1002
|
-
'ml-2 size-5 transition-transform duration-200',
|
|
1003
|
-
'group-data-[state=open]:rotate-90',
|
|
1004
|
-
),
|
|
1005
|
-
}),
|
|
1006
|
-
],
|
|
1007
|
-
}),
|
|
1008
|
-
}),
|
|
1009
|
-
/* @__PURE__ */ jsx(CollapsibleContent2, {
|
|
1010
|
-
children: /* @__PURE__ */ jsx('ul', {
|
|
1011
|
-
className: clsx5(
|
|
1012
|
-
'border-nsw-grey-400 dark:border-nsw-grey-200/15 mt-2 ml-5 flex flex-col gap-1 border-l pl-0',
|
|
1013
|
-
),
|
|
1014
|
-
children:
|
|
1015
|
-
link.links &&
|
|
1016
|
-
link.links.map((childLink) =>
|
|
1017
|
-
/* @__PURE__ */ jsx(
|
|
1018
|
-
SidebarLink,
|
|
1019
|
-
{
|
|
1020
|
-
link: childLink,
|
|
1021
|
-
pathname,
|
|
1022
|
-
onLinkClick,
|
|
1023
|
-
depth: depth + 1,
|
|
1024
|
-
},
|
|
1025
|
-
childLink.href,
|
|
1026
|
-
),
|
|
1027
|
-
),
|
|
1028
|
-
}),
|
|
1029
|
-
}),
|
|
1030
|
-
],
|
|
1031
|
-
})
|
|
1032
|
-
: /* @__PURE__ */ jsx(Link4, {
|
|
1033
|
-
href: link.href,
|
|
1034
|
-
onClick: onLinkClick,
|
|
1035
|
-
className: baseLinkClasses,
|
|
1036
|
-
children: link.title,
|
|
1037
|
-
}),
|
|
1038
|
-
})
|
|
681
|
+
return /* @__PURE__ */ jsx("div", { className: "hidden xl:sticky xl:top-[4.75rem] xl:-mr-6 xl:block xl:h-[calc(100vh-4.75rem)] xl:flex-none xl:overflow-y-auto xl:py-16 xl:pr-6", children: /* @__PURE__ */ jsx("nav", { "aria-labelledby": "on-this-page-title", className: "w-56", children: tableOfContents.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
682
|
+
/* @__PURE__ */ jsx(
|
|
683
|
+
"h2",
|
|
684
|
+
{
|
|
685
|
+
id: "on-this-page-title",
|
|
686
|
+
className: "font-display text-sm font-medium text-slate-900 dark:text-white",
|
|
687
|
+
children: "On this page"
|
|
688
|
+
}
|
|
689
|
+
),
|
|
690
|
+
/* @__PURE__ */ jsx("ol", { role: "list", className: "mt-4 space-y-3 text-sm", children: tableOfContents.map((section) => /* @__PURE__ */ jsxs("li", { children: [
|
|
691
|
+
/* @__PURE__ */ jsx("h3", { children: /* @__PURE__ */ jsx(
|
|
692
|
+
Link4,
|
|
693
|
+
{
|
|
694
|
+
href: `#${section.id}`,
|
|
695
|
+
className: clsx4(
|
|
696
|
+
isActive(section) ? "text-primary font-semibold" : "font-normal text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-300"
|
|
697
|
+
),
|
|
698
|
+
children: section.title
|
|
699
|
+
}
|
|
700
|
+
) }),
|
|
701
|
+
section.children.length > 0 && /* @__PURE__ */ jsx(
|
|
702
|
+
"ol",
|
|
703
|
+
{
|
|
704
|
+
role: "list",
|
|
705
|
+
className: "mt-2 space-y-3 pl-5 text-slate-500 dark:text-slate-400",
|
|
706
|
+
children: section.children.map((subSection) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
707
|
+
Link4,
|
|
708
|
+
{
|
|
709
|
+
href: `#${subSection.id}`,
|
|
710
|
+
className: isActive(subSection) ? "text-primary-light font-semibold" : "hover:text-slate-600 dark:hover:text-slate-300",
|
|
711
|
+
children: subSection.title
|
|
712
|
+
}
|
|
713
|
+
) }, subSection.id))
|
|
714
|
+
}
|
|
715
|
+
)
|
|
716
|
+
] }, section.id)) })
|
|
717
|
+
] }) }) });
|
|
1039
718
|
}
|
|
1040
719
|
function Tabs({ className, ...props }) {
|
|
1041
|
-
return /* @__PURE__ */ jsx(
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
720
|
+
return /* @__PURE__ */ jsx(
|
|
721
|
+
TabsPrimitive.Root,
|
|
722
|
+
{
|
|
723
|
+
"data-slot": "tabs",
|
|
724
|
+
className: cn("flex flex-col gap-2", className),
|
|
725
|
+
...props
|
|
726
|
+
}
|
|
727
|
+
);
|
|
1046
728
|
}
|
|
1047
729
|
function TabsList({ className, ...props }) {
|
|
1048
|
-
return /* @__PURE__ */ jsx(
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
className
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
730
|
+
return /* @__PURE__ */ jsx(
|
|
731
|
+
TabsPrimitive.List,
|
|
732
|
+
{
|
|
733
|
+
"data-slot": "tabs-list",
|
|
734
|
+
className: cn(
|
|
735
|
+
"bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",
|
|
736
|
+
className
|
|
737
|
+
),
|
|
738
|
+
...props
|
|
739
|
+
}
|
|
740
|
+
);
|
|
1056
741
|
}
|
|
1057
742
|
function TabsTrigger({ className, ...props }) {
|
|
1058
|
-
return /* @__PURE__ */ jsx(
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
"data-
|
|
1062
|
-
className
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
743
|
+
return /* @__PURE__ */ jsx(
|
|
744
|
+
TabsPrimitive.Trigger,
|
|
745
|
+
{
|
|
746
|
+
"data-slot": "tabs-trigger",
|
|
747
|
+
className: cn(
|
|
748
|
+
"data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
749
|
+
className
|
|
750
|
+
),
|
|
751
|
+
...props
|
|
752
|
+
}
|
|
753
|
+
);
|
|
1066
754
|
}
|
|
1067
755
|
function TabsContent({ className, ...props }) {
|
|
1068
|
-
return /* @__PURE__ */ jsx(
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
756
|
+
return /* @__PURE__ */ jsx(
|
|
757
|
+
TabsPrimitive.Content,
|
|
758
|
+
{
|
|
759
|
+
"data-slot": "tabs-content",
|
|
760
|
+
className: cn("flex-1 outline-none", className),
|
|
761
|
+
...props
|
|
762
|
+
}
|
|
763
|
+
);
|
|
1073
764
|
}
|
|
1074
765
|
function ThemeProvider({ children, ...props }) {
|
|
1075
|
-
return /* @__PURE__ */ jsx(ThemeProvider$1, { ...props, children })
|
|
766
|
+
return /* @__PURE__ */ jsx(ThemeProvider$1, { ...props, children });
|
|
1076
767
|
}
|
|
768
|
+
function ThemeSwitcher() {
|
|
769
|
+
const { resolvedTheme, setTheme } = useTheme();
|
|
770
|
+
const [mounted, setMounted] = useState(false);
|
|
771
|
+
const classes = "fill-nsw-grey-600 dark:fill-nsw-grey-100 size-6";
|
|
772
|
+
useEffect(() => {
|
|
773
|
+
setMounted(true);
|
|
774
|
+
}, []);
|
|
775
|
+
if (!mounted) {
|
|
776
|
+
return /* @__PURE__ */ jsx(Button, { variant: "ghost", size: "icon", className: "h-10 w-10", disabled: true, children: /* @__PURE__ */ jsx(Icons.light_mode, { className: classes }) });
|
|
777
|
+
}
|
|
778
|
+
return /* @__PURE__ */ jsxs(
|
|
779
|
+
Button,
|
|
780
|
+
{
|
|
781
|
+
variant: "outline",
|
|
782
|
+
size: "icon",
|
|
783
|
+
className: "h-10 w-10 cursor-pointer",
|
|
784
|
+
onClick: () => setTheme(resolvedTheme === "dark" ? "light" : "dark"),
|
|
785
|
+
"aria-label": `Switch to ${resolvedTheme === "dark" ? "light" : "dark"} theme`,
|
|
786
|
+
children: [
|
|
787
|
+
resolvedTheme === "dark" ? /* @__PURE__ */ jsx(Icons.light_mode, { className: classes }) : /* @__PURE__ */ jsx(Icons.dark_mode, { className: classes }),
|
|
788
|
+
/* @__PURE__ */ jsx("span", { className: "sr-only", children: resolvedTheme === "dark" ? "Switch to light theme" : "Switch to dark theme" })
|
|
789
|
+
]
|
|
790
|
+
}
|
|
791
|
+
);
|
|
792
|
+
}
|
|
793
|
+
var Toaster = ({ ...props }) => {
|
|
794
|
+
const { theme = "system" } = useTheme();
|
|
795
|
+
return /* @__PURE__ */ jsx(
|
|
796
|
+
Toaster$1,
|
|
797
|
+
{
|
|
798
|
+
theme,
|
|
799
|
+
className: "toaster group",
|
|
800
|
+
style: {
|
|
801
|
+
"--normal-bg": "var(--popover)",
|
|
802
|
+
"--normal-text": "var(--popover-foreground)",
|
|
803
|
+
"--normal-border": "var(--border)"
|
|
804
|
+
},
|
|
805
|
+
...props
|
|
806
|
+
}
|
|
807
|
+
);
|
|
808
|
+
};
|
|
1077
809
|
var TocContext = createContext({
|
|
1078
810
|
toc: true,
|
|
1079
|
-
setToc: () => {
|
|
1080
|
-
}
|
|
811
|
+
setToc: () => {
|
|
812
|
+
}
|
|
813
|
+
});
|
|
1081
814
|
function TocProvider({ children }) {
|
|
1082
|
-
const [toc, setToc] = useState(true)
|
|
1083
|
-
return /* @__PURE__ */ jsx(TocContext.Provider, { value: { toc, setToc }, children })
|
|
815
|
+
const [toc, setToc] = useState(true);
|
|
816
|
+
return /* @__PURE__ */ jsx(TocContext.Provider, { value: { toc, setToc }, children });
|
|
817
|
+
}
|
|
818
|
+
var toggleVariants = cva(
|
|
819
|
+
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium hover:bg-muted hover:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-primary/10 data-[state=on]:text-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] outline-none transition-[color,box-shadow] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive whitespace-nowrap",
|
|
820
|
+
{
|
|
821
|
+
variants: {
|
|
822
|
+
variant: {
|
|
823
|
+
default: "bg-transparent",
|
|
824
|
+
outline: "border-border bg-transparent shadow-xs hover:bg-primary/10 hover:text-foreground"
|
|
825
|
+
},
|
|
826
|
+
size: {
|
|
827
|
+
default: "h-9 px-2 min-w-9",
|
|
828
|
+
sm: "h-8 px-1.5 min-w-8",
|
|
829
|
+
lg: "h-10 px-2.5 min-w-10"
|
|
830
|
+
}
|
|
831
|
+
},
|
|
832
|
+
defaultVariants: {
|
|
833
|
+
variant: "default",
|
|
834
|
+
size: "default"
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
);
|
|
838
|
+
function Toggle({
|
|
839
|
+
className,
|
|
840
|
+
variant,
|
|
841
|
+
size,
|
|
842
|
+
...props
|
|
843
|
+
}) {
|
|
844
|
+
return /* @__PURE__ */ jsx(
|
|
845
|
+
TogglePrimitive.Root,
|
|
846
|
+
{
|
|
847
|
+
"data-slot": "toggle",
|
|
848
|
+
className: cn(toggleVariants({ variant, size, className })),
|
|
849
|
+
...props
|
|
850
|
+
}
|
|
851
|
+
);
|
|
852
|
+
}
|
|
853
|
+
var ToggleGroupContext = React.createContext({
|
|
854
|
+
size: "default",
|
|
855
|
+
variant: "default"
|
|
856
|
+
});
|
|
857
|
+
function ToggleGroup({
|
|
858
|
+
className,
|
|
859
|
+
variant,
|
|
860
|
+
size,
|
|
861
|
+
children,
|
|
862
|
+
...props
|
|
863
|
+
}) {
|
|
864
|
+
return /* @__PURE__ */ jsx(
|
|
865
|
+
ToggleGroupPrimitive.Root,
|
|
866
|
+
{
|
|
867
|
+
"data-slot": "toggle-group",
|
|
868
|
+
"data-variant": variant,
|
|
869
|
+
"data-size": size,
|
|
870
|
+
className: cn(
|
|
871
|
+
"group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs",
|
|
872
|
+
className
|
|
873
|
+
),
|
|
874
|
+
...props,
|
|
875
|
+
children: /* @__PURE__ */ jsx(ToggleGroupContext.Provider, { value: { variant, size }, children })
|
|
876
|
+
}
|
|
877
|
+
);
|
|
878
|
+
}
|
|
879
|
+
function ToggleGroupItem({
|
|
880
|
+
className,
|
|
881
|
+
children,
|
|
882
|
+
variant,
|
|
883
|
+
size,
|
|
884
|
+
...props
|
|
885
|
+
}) {
|
|
886
|
+
const context = React.useContext(ToggleGroupContext);
|
|
887
|
+
return /* @__PURE__ */ jsx(
|
|
888
|
+
ToggleGroupPrimitive.Item,
|
|
889
|
+
{
|
|
890
|
+
"data-slot": "toggle-group-item",
|
|
891
|
+
"data-variant": context.variant || variant,
|
|
892
|
+
"data-size": context.size || size,
|
|
893
|
+
className: cn(
|
|
894
|
+
toggleVariants({
|
|
895
|
+
variant: context.variant || variant,
|
|
896
|
+
size: context.size || size
|
|
897
|
+
}),
|
|
898
|
+
"min-w-0 rounded-md shadow-none focus:z-10 focus-visible:z-10 data-[variant=outline]:border-l",
|
|
899
|
+
className
|
|
900
|
+
),
|
|
901
|
+
...props,
|
|
902
|
+
children
|
|
903
|
+
}
|
|
904
|
+
);
|
|
1084
905
|
}
|
|
1085
906
|
function getNodeText(node) {
|
|
1086
|
-
let text =
|
|
907
|
+
let text = "";
|
|
1087
908
|
for (const child of node.children ?? []) {
|
|
1088
|
-
if (
|
|
1089
|
-
text += child.attributes?.content ??
|
|
909
|
+
if ("type" in child && child.type === "text") {
|
|
910
|
+
text += child.attributes?.content ?? "";
|
|
1090
911
|
} else if (child instanceof HTMLElement) {
|
|
1091
|
-
text += getNodeText(child)
|
|
912
|
+
text += getNodeText(child);
|
|
1092
913
|
}
|
|
1093
914
|
}
|
|
1094
|
-
return text
|
|
915
|
+
return text;
|
|
1095
916
|
}
|
|
1096
917
|
function domToSimple(node) {
|
|
1097
918
|
if (node.nodeType === Node.TEXT_NODE) {
|
|
1098
919
|
return {
|
|
1099
|
-
type:
|
|
920
|
+
type: "text",
|
|
1100
921
|
attributes: {
|
|
1101
|
-
content: node.textContent ?? void 0
|
|
1102
|
-
}
|
|
1103
|
-
}
|
|
922
|
+
content: node.textContent ?? void 0
|
|
923
|
+
}
|
|
924
|
+
};
|
|
1104
925
|
}
|
|
1105
926
|
if (node.nodeType === Node.ELEMENT_NODE) {
|
|
1106
927
|
return {
|
|
1107
928
|
type: node.nodeName.toLowerCase(),
|
|
1108
929
|
attributes: {},
|
|
1109
|
-
children: Array.from(node.childNodes).map(domToSimple)
|
|
1110
|
-
}
|
|
930
|
+
children: Array.from(node.childNodes).map(domToSimple)
|
|
931
|
+
};
|
|
1111
932
|
}
|
|
1112
933
|
if (node.nodeType === Node.COMMENT_NODE) {
|
|
1113
934
|
return {
|
|
1114
|
-
type:
|
|
1115
|
-
attributes: {}
|
|
1116
|
-
}
|
|
935
|
+
type: "comment",
|
|
936
|
+
attributes: {}
|
|
937
|
+
};
|
|
1117
938
|
}
|
|
1118
|
-
throw new Error(
|
|
939
|
+
throw new Error("Unsupported node type");
|
|
1119
940
|
}
|
|
1120
941
|
function getHeadings(slugify = slugifyWithCounter()) {
|
|
1121
|
-
const content = document.querySelector(
|
|
942
|
+
const content = document.querySelector("article");
|
|
1122
943
|
if (!content) {
|
|
1123
|
-
return []
|
|
944
|
+
return [];
|
|
1124
945
|
}
|
|
1125
|
-
const headings = Array.from(content.querySelectorAll(
|
|
1126
|
-
const result = []
|
|
1127
|
-
const stack = []
|
|
946
|
+
const headings = Array.from(content.querySelectorAll("h2, h3, h4, h5, h6"));
|
|
947
|
+
const result = [];
|
|
948
|
+
const stack = [];
|
|
1128
949
|
headings.forEach((el) => {
|
|
1129
|
-
const simplifiedNode = domToSimple(el)
|
|
1130
|
-
const title = getNodeText(simplifiedNode).trim()
|
|
1131
|
-
const slugifiedTitle = slugify(title)
|
|
1132
|
-
const id = el.id || slugifiedTitle
|
|
1133
|
-
const level = parseInt(el.tagName[1])
|
|
1134
|
-
const node = { level, id, title, children: [] }
|
|
1135
|
-
if (!el.id) el.id = id
|
|
950
|
+
const simplifiedNode = domToSimple(el);
|
|
951
|
+
const title = getNodeText(simplifiedNode).trim();
|
|
952
|
+
const slugifiedTitle = slugify(title);
|
|
953
|
+
const id = el.id || slugifiedTitle;
|
|
954
|
+
const level = parseInt(el.tagName[1]);
|
|
955
|
+
const node = { level, id, title, children: [] };
|
|
956
|
+
if (!el.id) el.id = id;
|
|
1136
957
|
if (level === 2) {
|
|
1137
|
-
result.push(node)
|
|
1138
|
-
stack.length = 0
|
|
1139
|
-
stack.push(node)
|
|
958
|
+
result.push(node);
|
|
959
|
+
stack.length = 0;
|
|
960
|
+
stack.push(node);
|
|
1140
961
|
} else {
|
|
1141
962
|
while (stack.length && stack[stack.length - 1].level >= level) {
|
|
1142
|
-
stack.pop()
|
|
963
|
+
stack.pop();
|
|
1143
964
|
}
|
|
1144
965
|
if (stack.length) {
|
|
1145
|
-
stack[stack.length - 1].children.push(node)
|
|
966
|
+
stack[stack.length - 1].children.push(node);
|
|
1146
967
|
}
|
|
1147
|
-
stack.push(node)
|
|
968
|
+
stack.push(node);
|
|
1148
969
|
}
|
|
1149
|
-
})
|
|
1150
|
-
return result
|
|
970
|
+
});
|
|
971
|
+
return result;
|
|
1151
972
|
}
|
|
1152
973
|
|
|
1153
|
-
export {
|
|
1154
|
-
Button,
|
|
1155
|
-
Collapsible,
|
|
1156
|
-
DynamicFavicon,
|
|
1157
|
-
Footer,
|
|
1158
|
-
Icons,
|
|
1159
|
-
Logo,
|
|
1160
|
-
Masthead,
|
|
1161
|
-
Navigation,
|
|
1162
|
-
PrevNextLinks,
|
|
1163
|
-
SidebarNavigation,
|
|
1164
|
-
TableOfContents,
|
|
1165
|
-
Tabs,
|
|
1166
|
-
TabsContent,
|
|
1167
|
-
TabsList,
|
|
1168
|
-
TabsTrigger,
|
|
1169
|
-
ThemeProvider,
|
|
1170
|
-
ThemeSwitcher,
|
|
1171
|
-
TocProvider,
|
|
1172
|
-
camelCase,
|
|
1173
|
-
cn,
|
|
1174
|
-
domToSimple,
|
|
1175
|
-
getHeadings,
|
|
1176
|
-
getNodeText,
|
|
1177
|
-
kebabCase,
|
|
1178
|
-
truncate,
|
|
1179
|
-
}
|
|
1180
|
-
//# sourceMappingURL=index.js.map
|
|
974
|
+
export { Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Collapsible, DynamicFavicon, Footer, Icons, Label, Logo, Masthead, Navigation, PrevNextLinks, RadioGroup, RadioGroupItem, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, SidebarNavigation, Social, TableOfContents, Tabs, TabsContent, TabsList, TabsTrigger, ThemeProvider, ThemeSwitcher, Toaster, TocProvider, Toggle, ToggleGroup, ToggleGroupItem, camelCase, cn, domToSimple, getHeadings, getNodeText, kebabCase, toggleVariants, truncate };
|
|
1181
975
|
//# sourceMappingURL=index.js.map
|
|
976
|
+
//# sourceMappingURL=index.js.map
|