@n3wth/ui 0.1.0 → 0.2.3

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Oliver Newth
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,185 @@
1
+ # @n3wth/ui
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@n3wth/ui.svg)](https://www.npmjs.com/package/@n3wth/ui)
4
+ [![npm downloads](https://img.shields.io/npm/dm/@n3wth/ui.svg)](https://www.npmjs.com/package/@n3wth/ui)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
6
+
7
+ Atomic design system for Newth sites. Flat, minimal, iOS-inspired. No shadows, no glows, just clean glass morphism.
8
+
9
+ **Demo**: [ui.newth.ai](https://ui.newth.ai)
10
+
11
+ ## Installation
12
+
13
+ ```bash
14
+ npm install @n3wth/ui
15
+ ```
16
+
17
+ ### Peer Dependencies
18
+
19
+ Requires React 18+ and React DOM:
20
+
21
+ ```bash
22
+ npm install react react-dom
23
+ ```
24
+
25
+ ## Quick Start
26
+
27
+ ```tsx
28
+ import { Button, Card, Nav } from '@n3wth/ui'
29
+ import '@n3wth/ui/styles'
30
+ ```
31
+
32
+ ### Tailwind CSS Preset
33
+
34
+ Include the design tokens in your Tailwind config:
35
+
36
+ ```js
37
+ // tailwind.config.js
38
+ export default {
39
+ presets: [require('@n3wth/ui/tailwind')],
40
+ content: [
41
+ './src/**/*.{js,ts,jsx,tsx}',
42
+ './node_modules/@n3wth/ui/dist/**/*.js'
43
+ ]
44
+ }
45
+ ```
46
+
47
+ ## Components
48
+
49
+ ### Atoms
50
+
51
+ Basic building blocks:
52
+
53
+ | Component | Description |
54
+ |-----------|-------------|
55
+ | `Button` | Primary, secondary, ghost, glass variants with loading state |
56
+ | `Badge` | Default, sage, coral, mint, gold, outline variants |
57
+ | `Input` | Text input with glass variant, icons, and error state |
58
+ | `Icon` | 20+ SVG icons (arrows, check, x, copy, search, github, etc.) |
59
+ | `AnimatedText` | Text with entrance animations |
60
+ | `HamburgerIcon` | Animated menu icon |
61
+ | `NoiseOverlay` | Subtle noise texture overlay |
62
+ | `ScrollIndicator` | Scroll progress indicator |
63
+
64
+ ### Molecules
65
+
66
+ Composite components:
67
+
68
+ | Component | Description |
69
+ |-----------|-------------|
70
+ | `Card` | Container with header, content, footer. Glass/interactive variants |
71
+ | `NavLink` | Navigation link with underline/pill styles |
72
+ | `CommandBox` | Copy-to-clipboard code display |
73
+ | `ThemeToggle` | Dark/light mode toggle |
74
+ | `MobileDrawer` | Slide-out mobile navigation |
75
+
76
+ ### Organisms
77
+
78
+ Complex UI sections:
79
+
80
+ | Component | Description |
81
+ |-----------|-------------|
82
+ | `Nav` | Fixed navigation with mobile menu and theme toggle |
83
+ | `Hero` | Hero section with badge, title, description, CTAs |
84
+ | `Section` | Content section wrapper with header |
85
+ | `Footer` | Multi-column footer with sections |
86
+
87
+ ## Hooks
88
+
89
+ ```tsx
90
+ import { useTheme, useMediaQuery, useKeyboardShortcuts, useReducedMotion } from '@n3wth/ui'
91
+ ```
92
+
93
+ | Hook | Description |
94
+ |------|-------------|
95
+ | `useTheme` | Dark/light theme management with system preference detection |
96
+ | `useMediaQuery` | Responsive breakpoint detection |
97
+ | `useKeyboardShortcuts` | Keyboard shortcut handler |
98
+ | `useReducedMotion` | Respects user's motion preferences |
99
+
100
+ ## Design Tokens
101
+
102
+ The Tailwind preset includes:
103
+
104
+ - **Colors**: Semantic color palette with dark mode support
105
+ - **Typography**: Display and body font families
106
+ - **Spacing**: Consistent spacing scale
107
+ - **Effects**: Glass morphism and blur effects
108
+
109
+ ## Development
110
+
111
+ ```bash
112
+ # Install dependencies
113
+ npm install
114
+
115
+ # Watch mode for library development
116
+ npm run dev
117
+
118
+ # Run demo app at localhost:5173
119
+ npm run demo
120
+
121
+ # Build library to dist/
122
+ npm run build
123
+
124
+ # Build demo for deployment
125
+ npm run demo:build
126
+
127
+ # Lint
128
+ npm run lint
129
+ ```
130
+
131
+ ## Project Structure
132
+
133
+ ```
134
+ src/
135
+ atoms/ # Button, Badge, Input, Icon, etc.
136
+ molecules/ # Card, NavLink, CommandBox, etc.
137
+ organisms/ # Nav, Hero, Footer, Section
138
+ hooks/ # useTheme, useMediaQuery, etc.
139
+ tokens/ # Design tokens (colors, typography)
140
+ demo/ # Demo app (ui.newth.ai)
141
+ ```
142
+
143
+ ## Usage Examples
144
+
145
+ ### Button
146
+
147
+ ```tsx
148
+ import { Button, Icon } from '@n3wth/ui'
149
+
150
+ <Button variant="primary">Primary</Button>
151
+ <Button variant="glass" isLoading>Loading</Button>
152
+ <Button leftIcon={<Icon name="github" />}>GitHub</Button>
153
+ ```
154
+
155
+ ### Card
156
+
157
+ ```tsx
158
+ import { Card, CardHeader, CardTitle, CardContent } from '@n3wth/ui'
159
+
160
+ <Card variant="glass">
161
+ <CardHeader>
162
+ <CardTitle>Title</CardTitle>
163
+ </CardHeader>
164
+ <CardContent>Content here</CardContent>
165
+ </Card>
166
+ ```
167
+
168
+ ### Theme
169
+
170
+ ```tsx
171
+ import { useTheme, ThemeToggle } from '@n3wth/ui'
172
+
173
+ function App() {
174
+ const { theme, toggleTheme } = useTheme()
175
+ return <ThemeToggle theme={theme} onToggle={toggleTheme} />
176
+ }
177
+ ```
178
+
179
+ ## Browser Support
180
+
181
+ Supports all modern browsers. Uses CSS custom properties and backdrop-filter for glass effects.
182
+
183
+ ## License
184
+
185
+ MIT
@@ -0,0 +1,17 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ export interface AnimatedTextProps extends HTMLAttributes<HTMLElement> {
3
+ /** Text content or children */
4
+ children: ReactNode;
5
+ /** Animation type */
6
+ animation?: 'fade-up' | 'fade-in' | 'slide-up' | 'blur-in';
7
+ /** Delay before animation starts (ms) */
8
+ delay?: number;
9
+ /** Duration of animation (ms) */
10
+ duration?: number;
11
+ /** HTML tag to render */
12
+ as?: 'span' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
13
+ /** Whether to animate on scroll into view */
14
+ animateOnScroll?: boolean;
15
+ }
16
+ export declare function AnimatedText({ children, animation, delay, duration, as: Component, animateOnScroll, className, style, ...props }: AnimatedTextProps): import("react/jsx-runtime").JSX.Element;
17
+ //# sourceMappingURL=AnimatedText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnimatedText.d.ts","sourceRoot":"","sources":["../../../src/atoms/AnimatedText/AnimatedText.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAG3D,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACpE,+BAA+B;IAC/B,QAAQ,EAAE,SAAS,CAAA;IACnB,qBAAqB;IACrB,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAA;IAC1D,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yBAAyB;IACzB,EAAE,CAAC,EAAE,MAAM,GAAG,GAAG,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAA;IACnE,6CAA6C;IAC7C,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B;AAqBD,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,SAAqB,EACrB,KAAS,EACT,QAAc,EACd,EAAE,EAAE,SAAkB,EACtB,eAAsB,EACtB,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,iBAAiB,2CAmCnB"}
@@ -0,0 +1,3 @@
1
+ export { AnimatedText } from './AnimatedText';
2
+ export type { AnimatedTextProps } from './AnimatedText';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/AnimatedText/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { SVGProps } from 'react';
2
+ export interface HamburgerIconProps extends SVGProps<SVGSVGElement> {
3
+ /** Whether the menu is open (shows X) or closed (shows hamburger) */
4
+ isOpen: boolean;
5
+ /** Size of the icon */
6
+ size?: number;
7
+ }
8
+ export declare function HamburgerIcon({ isOpen, size, className, ...props }: HamburgerIconProps): import("react/jsx-runtime").JSX.Element;
9
+ //# sourceMappingURL=HamburgerIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HamburgerIcon.d.ts","sourceRoot":"","sources":["../../../src/atoms/HamburgerIcon/HamburgerIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAA;AAGrC,MAAM,WAAW,kBAAmB,SAAQ,QAAQ,CAAC,aAAa,CAAC;IACjE,qEAAqE;IACrE,MAAM,EAAE,OAAO,CAAA;IACf,uBAAuB;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,IAAS,EACT,SAAS,EACT,GAAG,KAAK,EACT,EAAE,kBAAkB,2CA6BpB"}
@@ -0,0 +1,3 @@
1
+ export { HamburgerIcon } from './HamburgerIcon';
2
+ export type { HamburgerIconProps } from './HamburgerIcon';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/HamburgerIcon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA"}
@@ -0,0 +1,9 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface NoiseOverlayProps extends HTMLAttributes<HTMLDivElement> {
3
+ /** Opacity of the noise texture (0-1) */
4
+ opacity?: number;
5
+ /** Whether to use a fixed position overlay */
6
+ fixed?: boolean;
7
+ }
8
+ export declare function NoiseOverlay({ opacity, fixed, className, style, ...props }: NoiseOverlayProps): import("react/jsx-runtime").JSX.Element;
9
+ //# sourceMappingURL=NoiseOverlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NoiseOverlay.d.ts","sourceRoot":"","sources":["../../../src/atoms/NoiseOverlay/NoiseOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAG3C,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACvE,yCAAyC;IACzC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB;AAID,wBAAgB,YAAY,CAAC,EAC3B,OAAc,EACd,KAAY,EACZ,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,iBAAiB,2CAiBnB"}
@@ -0,0 +1,3 @@
1
+ export { NoiseOverlay } from './NoiseOverlay';
2
+ export type { NoiseOverlayProps } from './NoiseOverlay';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/NoiseOverlay/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { HTMLAttributes } from 'react';
2
+ export interface ScrollIndicatorProps extends HTMLAttributes<HTMLDivElement> {
3
+ /** Label text next to the indicator */
4
+ label?: string;
5
+ /** Size of the icon */
6
+ size?: 'sm' | 'md' | 'lg';
7
+ /** Position of the indicator */
8
+ position?: 'bottom-left' | 'bottom-center' | 'bottom-right';
9
+ }
10
+ export declare function ScrollIndicator({ label, size, position, className, ...props }: ScrollIndicatorProps): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=ScrollIndicator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollIndicator.d.ts","sourceRoot":"","sources":["../../../src/atoms/ScrollIndicator/ScrollIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAG3C,MAAM,WAAW,oBAAqB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC1E,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,uBAAuB;IACvB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,aAAa,GAAG,eAAe,GAAG,cAAc,CAAA;CAC5D;AAcD,wBAAgB,eAAe,CAAC,EAC9B,KAAgB,EAChB,IAAW,EACX,QAAwB,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,oBAAoB,2CA8BtB"}
@@ -0,0 +1,3 @@
1
+ export { ScrollIndicator } from './ScrollIndicator';
2
+ export type { ScrollIndicatorProps } from './ScrollIndicator';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/atoms/ScrollIndicator/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA"}
@@ -6,4 +6,12 @@ export { Input } from './Input';
6
6
  export type { InputProps } from './Input';
7
7
  export { Icon } from './Icon';
8
8
  export type { IconProps, IconName } from './Icon';
9
+ export { NoiseOverlay } from './NoiseOverlay';
10
+ export type { NoiseOverlayProps } from './NoiseOverlay';
11
+ export { ScrollIndicator } from './ScrollIndicator';
12
+ export type { ScrollIndicatorProps } from './ScrollIndicator';
13
+ export { HamburgerIcon } from './HamburgerIcon';
14
+ export type { HamburgerIconProps } from './HamburgerIcon';
15
+ export { AnimatedText } from './AnimatedText';
16
+ export type { AnimatedTextProps } from './AnimatedText';
9
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/atoms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE3C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAA;AAEjD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AAEvD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAA;AAE7D,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEzD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA"}
package/dist/index.d.ts CHANGED
@@ -8,6 +8,14 @@ export { Input } from './atoms/Input';
8
8
  export type { InputProps } from './atoms/Input';
9
9
  export { Icon } from './atoms/Icon';
10
10
  export type { IconProps, IconName } from './atoms/Icon';
11
+ export { NoiseOverlay } from './atoms/NoiseOverlay';
12
+ export type { NoiseOverlayProps } from './atoms/NoiseOverlay';
13
+ export { ScrollIndicator } from './atoms/ScrollIndicator';
14
+ export type { ScrollIndicatorProps } from './atoms/ScrollIndicator';
15
+ export { HamburgerIcon } from './atoms/HamburgerIcon';
16
+ export type { HamburgerIconProps } from './atoms/HamburgerIcon';
17
+ export { AnimatedText } from './atoms/AnimatedText';
18
+ export type { AnimatedTextProps } from './atoms/AnimatedText';
11
19
  export { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, } from './molecules/Card';
12
20
  export type { CardProps, CardHeaderProps, CardTitleProps, CardDescriptionProps, CardContentProps, CardFooterProps, } from './molecules/Card';
13
21
  export { NavLink } from './molecules/NavLink';
@@ -16,6 +24,8 @@ export { CommandBox } from './molecules/CommandBox';
16
24
  export type { CommandBoxProps } from './molecules/CommandBox';
17
25
  export { ThemeToggle } from './molecules/ThemeToggle';
18
26
  export type { ThemeToggleProps } from './molecules/ThemeToggle';
27
+ export { MobileDrawer } from './molecules/MobileDrawer';
28
+ export type { MobileDrawerProps } from './molecules/MobileDrawer';
19
29
  export { Nav } from './organisms/Nav';
20
30
  export type { NavProps, NavItem } from './organisms/Nav';
21
31
  export { Footer } from './organisms/Footer';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,UAAU,CAAA;AAGxB,OAAO,EAAE,EAAE,EAAE,MAAM,YAAY,CAAA;AAG/B,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAA;AACvC,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAEjD,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACrC,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAE/C,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACrC,YAAY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