@shohojdhara/atomix 0.1.18 → 0.1.21
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/NEXTJS_INTEGRATION.md +32 -1
- package/README.md +61 -137
- package/dist/js/987.js +1 -0
- package/dist/js/atomix.react.esm.js +1 -1
- package/dist/js/atomix.react.umd.js +1 -1
- package/dist/types/lib/composables/useTodo.d.ts +1 -2
- package/next.config.js +21 -0
- package/package.json +3 -2
- package/src/components/Todo/Todo.stories.tsx +59 -107
- package/src/components/Todo/Todo.tsx +2 -2
- package/src/components/Todo/scripts/index.ts +42 -2
- package/src/lib/composables/useTodo.ts +3 -4
- package/src/lib/utils/index.ts +13 -0
- package/webpack.config.js +10 -0
- package/dist/js/194.js +0 -1
- package/dist/js/244.js +0 -1
- package/dist/js/atomix.react.cjs.js +0 -1
- package/dist/js/chunks/cjs/202.9d3b1ef1eaa0d5c8a309.js +0 -1
- package/dist/js/chunks/cjs/308.6ea9685ea38ead4120d0.js +0 -1
- package/dist/js/chunks/cjs/54.73db6922594e421ba6b1.js +0 -1
- package/dist/js/chunks/cjs/619.51feecaadcab819780d4.js +0 -1
- package/dist/js/chunks/cjs/690.90f6d11164081cbcbc4d.js +0 -1
- package/dist/js/chunks/cjs/894.24877561df336a8dfd14.js +0 -1
- package/dist/js/chunks/cjs/897.6c2a71fae95338890de7.js +0 -1
- package/dist/types/components/Todo/scripts/types.d.ts +0 -17
package/NEXTJS_INTEGRATION.md
CHANGED
|
@@ -92,7 +92,7 @@ const nextConfig = {
|
|
|
92
92
|
transpilePackages: ['@shohojdhara/atomix'],
|
|
93
93
|
|
|
94
94
|
// Configure webpack for custom assets
|
|
95
|
-
webpack: (config) => {
|
|
95
|
+
webpack: (config, { isServer }) => {
|
|
96
96
|
// Handle SCSS files from Atomix
|
|
97
97
|
config.module.rules.push({
|
|
98
98
|
test: /\.scss$/,
|
|
@@ -108,6 +108,27 @@ const nextConfig = {
|
|
|
108
108
|
],
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
+
// Handle TypeScript declaration files
|
|
112
|
+
config.module.rules.push({
|
|
113
|
+
test: /\.d\.ts$/,
|
|
114
|
+
use: ['ignore-loader'],
|
|
115
|
+
exclude: /node_modules/,
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
// Ignore TypeScript declaration file warnings
|
|
119
|
+
config.ignoreWarnings = [
|
|
120
|
+
...(config.ignoreWarnings || []),
|
|
121
|
+
{ module: /\.d\.ts$/ }
|
|
122
|
+
];
|
|
123
|
+
|
|
124
|
+
// Add fallbacks for Node.js core modules (required for Webpack 5)
|
|
125
|
+
if (!isServer) {
|
|
126
|
+
config.resolve.fallback = {
|
|
127
|
+
...config.resolve.fallback,
|
|
128
|
+
crypto: false, // Provide empty mock for crypto
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
111
132
|
return config;
|
|
112
133
|
},
|
|
113
134
|
};
|
|
@@ -115,6 +136,16 @@ const nextConfig = {
|
|
|
115
136
|
module.exports = nextConfig;
|
|
116
137
|
```
|
|
117
138
|
|
|
139
|
+
For the TypeScript declaration files fix, you'll need to install:
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
npm install --save-dev ignore-loader
|
|
143
|
+
# or
|
|
144
|
+
yarn add --dev ignore-loader
|
|
145
|
+
# or
|
|
146
|
+
pnpm add --save-dev ignore-loader
|
|
147
|
+
```
|
|
148
|
+
|
|
118
149
|
### TypeScript Configuration
|
|
119
150
|
|
|
120
151
|
Ensure your `tsconfig.json` includes proper module resolution:
|
package/README.md
CHANGED
|
@@ -13,6 +13,54 @@ Atomix is a modern component library for Web, React and Next.js applications wit
|
|
|
13
13
|
- 📦 **Tree Shakeable** - Import only what you need
|
|
14
14
|
- 🔧 **TypeScript** - Full TypeScript support
|
|
15
15
|
|
|
16
|
+
## Webpack 5 & Next.js Compatibility
|
|
17
|
+
|
|
18
|
+
Atomix is fully compatible with Webpack 5 and Next.js (including Turbopack). For projects using Webpack 5 or Next.js, you may need to add the following configuration to handle Node.js core modules:
|
|
19
|
+
|
|
20
|
+
```js
|
|
21
|
+
// For Next.js (in next.config.js)
|
|
22
|
+
const nextConfig = {
|
|
23
|
+
webpack: (config, { isServer }) => {
|
|
24
|
+
// Handle TypeScript declaration files
|
|
25
|
+
config.module.rules.push({
|
|
26
|
+
test: /\.d\.ts$/,
|
|
27
|
+
use: ['ignore-loader'],
|
|
28
|
+
exclude: /node_modules/,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
// Ignore TypeScript declaration file warnings
|
|
32
|
+
config.ignoreWarnings = [
|
|
33
|
+
...(config.ignoreWarnings || []),
|
|
34
|
+
{ module: /\.d\.ts$/ }
|
|
35
|
+
];
|
|
36
|
+
|
|
37
|
+
if (!isServer) {
|
|
38
|
+
config.resolve.fallback = {
|
|
39
|
+
...config.resolve.fallback,
|
|
40
|
+
crypto: false, // Provide empty mock for crypto
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
return config;
|
|
44
|
+
},
|
|
45
|
+
transpilePackages: ['@shohojdhara/atomix'],
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
// For Webpack 5 (in webpack.config.js)
|
|
49
|
+
module.exports = {
|
|
50
|
+
resolve: {
|
|
51
|
+
fallback: {
|
|
52
|
+
crypto: false, // Provide empty mock for crypto
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
// Fix TypeScript declaration files issues
|
|
56
|
+
ignoreWarnings: [
|
|
57
|
+
{
|
|
58
|
+
module: /\.d\.ts$/,
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
};
|
|
62
|
+
```
|
|
63
|
+
|
|
16
64
|
## Installation
|
|
17
65
|
|
|
18
66
|
```bash
|
|
@@ -23,150 +71,20 @@ yarn add @shohojdhara/atomix
|
|
|
23
71
|
pnpm add @shohojdhara/atomix
|
|
24
72
|
```
|
|
25
73
|
|
|
26
|
-
##
|
|
27
|
-
|
|
28
|
-
### Next.js Integration
|
|
29
|
-
|
|
30
|
-
```tsx
|
|
31
|
-
// app/layout.tsx (App Router)
|
|
32
|
-
import '@shohojdhara/atomix/css'
|
|
33
|
-
|
|
34
|
-
export default function RootLayout({
|
|
35
|
-
children,
|
|
36
|
-
}: {
|
|
37
|
-
children: React.ReactNode
|
|
38
|
-
}) {
|
|
39
|
-
return (
|
|
40
|
-
<html lang="en">
|
|
41
|
-
<body>{children}</body>
|
|
42
|
-
</html>
|
|
43
|
-
)
|
|
44
|
-
}
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
```tsx
|
|
48
|
-
// app/page.tsx
|
|
49
|
-
import { Button, Hero, Card } from '@shohojdhara/atomix'
|
|
50
|
-
|
|
51
|
-
export default function HomePage() {
|
|
52
|
-
return (
|
|
53
|
-
<Hero
|
|
54
|
-
title="Welcome to Next.js with Atomix"
|
|
55
|
-
subtitle="Modern UI Components"
|
|
56
|
-
alignment="center"
|
|
57
|
-
actions={<Button variant="primary" label="Get Started" />}
|
|
58
|
-
/>
|
|
59
|
-
)
|
|
60
|
-
}
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
For detailed Next.js integration guide, see [NEXTJS_INTEGRATION.md](./NEXTJS_INTEGRATION.md).
|
|
64
|
-
|
|
65
|
-
### React Applications
|
|
74
|
+
## Usage
|
|
66
75
|
|
|
67
76
|
```tsx
|
|
68
|
-
|
|
69
|
-
import '@shohojdhara/atomix/css'
|
|
70
|
-
|
|
71
|
-
// Import components
|
|
72
|
-
import { Button, Card, Modal } from '@shohojdhara/atomix'
|
|
77
|
+
import { Button } from '@shohojdhara/atomix';
|
|
78
|
+
import '@shohojdhara/atomix/css'; // Import styles
|
|
73
79
|
|
|
74
80
|
function App() {
|
|
75
81
|
return (
|
|
76
|
-
<
|
|
77
|
-
|
|
78
|
-
<div className="c-card__body">
|
|
79
|
-
<h3 className="c-card__title">Welcome to Atomix</h3>
|
|
80
|
-
<p className="c-card__text">Modern UI components for React</p>
|
|
81
|
-
<Button variant="primary" label="Get Started" />
|
|
82
|
-
</div>
|
|
83
|
-
</Card>
|
|
84
|
-
</div>
|
|
85
|
-
)
|
|
82
|
+
<Button variant="primary">Click Me</Button>
|
|
83
|
+
);
|
|
86
84
|
}
|
|
87
85
|
```
|
|
88
86
|
|
|
89
|
-
##
|
|
90
|
-
|
|
91
|
-
### Import Styles
|
|
92
|
-
|
|
93
|
-
```tsx
|
|
94
|
-
// Default CSS
|
|
95
|
-
import '@shohojdhara/atomix/css'
|
|
96
|
-
|
|
97
|
-
// Minified CSS
|
|
98
|
-
import '@shohojdhara/atomix/css/min'
|
|
99
|
-
|
|
100
|
-
// SCSS for customization
|
|
101
|
-
import '@shohojdhara/atomix/scss'
|
|
102
|
-
```
|
|
103
|
-
|
|
104
|
-
### Import Components
|
|
105
|
-
|
|
106
|
-
```tsx
|
|
107
|
-
// Named imports (recommended for tree shaking)
|
|
108
|
-
import { Button, Card, Modal } from '@shohojdhara/atomix'
|
|
109
|
-
|
|
110
|
-
// Default import
|
|
111
|
-
import Atomix from '@shohojdhara/atomix'
|
|
112
|
-
const { Button, Card } = Atomix
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
### TypeScript Support
|
|
116
|
-
|
|
117
|
-
```tsx
|
|
118
|
-
import { ButtonProps, CardProps, Size, ThemeColor } from '@shohojdhara/atomix'
|
|
119
|
-
|
|
120
|
-
// Component with typed props
|
|
121
|
-
const MyButton: React.FC<ButtonProps> = (props) => {
|
|
122
|
-
return <Button {...props} />
|
|
123
|
-
}
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
## Available Components
|
|
127
|
-
|
|
128
|
-
### Core Components
|
|
129
|
-
- **Button** - Versatile button component with multiple variants
|
|
130
|
-
- **Card** - Flexible content container
|
|
131
|
-
- **Badge** - Status and labeling component
|
|
132
|
-
- **Avatar** - User profile images and placeholders
|
|
133
|
-
|
|
134
|
-
### Navigation
|
|
135
|
-
- **Navbar** - Application navigation bar
|
|
136
|
-
- **Breadcrumb** - Navigation breadcrumbs
|
|
137
|
-
- **Pagination** - Data pagination controls
|
|
138
|
-
- **Steps** - Step-by-step navigation
|
|
139
|
-
|
|
140
|
-
### Form Components
|
|
141
|
-
- **Input** - Text input fields
|
|
142
|
-
- **Select** - Dropdown selection
|
|
143
|
-
- **Checkbox** - Checkbox inputs
|
|
144
|
-
- **Radio** - Radio button inputs
|
|
145
|
-
- **Toggle** - Switch toggle controls
|
|
146
|
-
|
|
147
|
-
### Feedback
|
|
148
|
-
- **Modal** - Dialog and overlay modals
|
|
149
|
-
- **Tooltip** - Contextual tooltips
|
|
150
|
-
- **Popover** - Rich contextual popovers
|
|
151
|
-
- **Messages** - Alert and notification messages
|
|
152
|
-
- **Progress** - Progress indicators
|
|
153
|
-
|
|
154
|
-
### Data Display
|
|
155
|
-
- **DataTable** - Feature-rich data tables
|
|
156
|
-
- **List** - Structured lists
|
|
157
|
-
- **Accordion** - Collapsible content sections
|
|
158
|
-
- **Tabs** - Tabbed content organization
|
|
159
|
-
|
|
160
|
-
### Layout
|
|
161
|
-
- **Hero** - Hero sections with background support
|
|
162
|
-
- **Grid** - Responsive grid system
|
|
163
|
-
- **Container** - Content containers
|
|
164
|
-
|
|
165
|
-
And many more! See our [Storybook](https://liimonx.github.io/atomix/storybook) for the complete component library.
|
|
166
|
-
|
|
167
|
-
## Customization
|
|
168
|
-
|
|
169
|
-
### CSS Variables
|
|
87
|
+
## CSS Variables
|
|
170
88
|
|
|
171
89
|
```css
|
|
172
90
|
:root {
|
|
@@ -219,4 +137,10 @@ MIT © [liimonx](https://github.com/liimonx)
|
|
|
219
137
|
## Support
|
|
220
138
|
|
|
221
139
|
- [GitHub Issues](https://github.com/liimonx/atomix/issues)
|
|
222
|
-
- [Discussions](https://github.com/liimonx/atomix/discussions)
|
|
140
|
+
- [Discussions](https://github.com/liimonx/atomix/discussions)
|
|
141
|
+
|
|
142
|
+
## Quick Start
|
|
143
|
+
|
|
144
|
+
### Next.js Integration
|
|
145
|
+
|
|
146
|
+
```
|
package/dist/js/987.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(this.webpackChunkAtomix=this.webpackChunkAtomix||[]).push([[987],{160:(t,r,e)=>{"use strict";var n=e(3948),o=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},470:(t,r,e)=>{"use strict";var n=e(6028),o=e(5594);t.exports=function(t){var r=n(t,"string");return o(r)?r:r+""}},575:(t,r,e)=>{"use strict";var n=e(3121);t.exports=function(t){return n(t.length)}},581:(t,r,e)=>{"use strict";var n=e(3930),o=e(2250),i=e(6285),u=TypeError;t.exports=function(t,r){var e,s;if("string"===r&&o(e=t.toString)&&!i(s=n(e,t)))return s;if(o(e=t.valueOf)&&!i(s=n(e,t)))return s;if("string"!==r&&o(e=t.toString)&&!i(s=n(e,t)))return s;throw new u("Can't convert object to primitive value")}},798:(t,r,e)=>{"use strict";var n,o,i=e(5951),u=e(6794),s=i.process,c=i.Deno,a=s&&s.versions||c&&c.version,p=a&&a.v8;p&&(o=(n=p.split("."))[0]>0&&4>n[0]?1:+(n[0]+n[1])),!o&&u&&((n=u.match(/Edge\/(\d+)/))&&74>n[1]||(n=u.match(/Chrome\/(\d+)/))&&(o=+n[1])),t.exports=o},1020:(t,r,e)=>{"use strict";var n=e(5442),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c={key:!0,ref:!0,__self:!0,__source:!0};function a(t,r,e){var n,i={},a=null,p=null;for(n in void 0!==e&&(a=""+e),void 0!==r.key&&(a=""+r.key),void 0!==r.ref&&(p=r.ref),r)u.call(r,n)&&!c.hasOwnProperty(n)&&(i[n]=r[n]);if(t&&t.defaultProps)for(n in r=t.defaultProps)void 0===i[n]&&(i[n]=r[n]);return{$$typeof:o,type:t,key:a,ref:p,props:i,_owner:s.current}}r.Fragment=i,r.jsx=a,r.jsxs=a},1091:(t,r,e)=>{"use strict";var n=e(5951),o=e(6024),i=e(2361),u=e(2250),s=e(3846).f,c=e(7463),a=e(2046),p=e(8311),f=e(1626),v=e(9724);e(6128);var l=function(t){var r=function(e,n,i){if(this instanceof r){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return o(t,this,arguments)};return r.prototype=t.prototype,r};t.exports=function(t,r){var e,o,y,b,h,x,d,m,g,w=t.target,O=t.global,j=t.stat,S=t.proto,E=O?n:j?n[w]:n[w]&&n[w].prototype,P=O?a:a[w]||f(a,w,{})[w],_=P.prototype;for(b in r)o=!(e=c(O?b:w+(j?".":"#")+b,t.forced))&&E&&v(E,b),x=P[b],o&&(d=t.dontCallGetSet?(g=s(E,b))&&g.value:E[b]),h=o&&d?d:r[b],(e||S||typeof x!=typeof h)&&(m=t.bind&&o?p(h,n):t.wrap&&o?l(h):S&&u(h)?i(h):h,(t.sham||h&&h.sham||x&&x.sham)&&f(m,"sham",!0),f(P,b,m),S&&(v(a,y=w+"Prototype")||f(a,y,{}),f(a[y],b,h),t.real&&_&&(e||!_[b])&&f(_,b,h)))}},1175:(t,r,e)=>{"use strict";var n=e(9846);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},1176:t=>{"use strict";var r=Math.ceil,e=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?e:r)(n)}},1362:(t,r,e)=>{"use strict";e(9748);var n=e(1747);t.exports=n("Array","includes")},1505:(t,r,e)=>{"use strict";var n=e(8828);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},1626:(t,r,e)=>{"use strict";var n=e(9447),o=e(4284),i=e(5817);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},1747:(t,r,e)=>{"use strict";var n=e(5951),o=e(2046);t.exports=function(t,r){var e=o[t+"Prototype"],i=e&&e[r];if(i)return i;var u=n[t],s=u&&u.prototype;return s&&s[r]}},1907:(t,r,e)=>{"use strict";var n=e(1505),o=Function.prototype,i=o.call,u=n&&o.bind.bind(i,i);t.exports=n?u:function(t){return function(){return i.apply(t,arguments)}}},2046:t=>{"use strict";t.exports={}},2074:(t,r,e)=>{"use strict";var n=e(2087),o=TypeError;t.exports=function(t){if(n(t))throw new o("The method doesn't accept regular expressions");return t}},2087:(t,r,e)=>{"use strict";var n=e(6285),o=e(5807),i=e(6264)("match");t.exports=function(t){var r;return n(t)&&(void 0!==(r=t[i])?!!r:"RegExp"===o(t))}},2156:t=>{"use strict";t.exports=function(){}},2159:(t,r,e)=>{"use strict";var n=e(2250),o=e(4640),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},2250:t=>{"use strict";var r="object"==typeof document&&document.all;t.exports=void 0===r&&void 0!==r?function(t){return"function"==typeof t||t===r}:function(t){return"function"==typeof t}},2361:(t,r,e)=>{"use strict";var n=e(5807),o=e(1907);t.exports=function(t){if("Function"===n(t))return o(t)}},2532:(t,r,e)=>{"use strict";var n=e(5951),o=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},2574:(t,r)=>{"use strict";var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!e.call({1:2},1);r.f=o?function(t){var r=n(this,t);return!!r&&r.enumerable}:e},2623:(t,r,e)=>{"use strict";var n={};n[e(6264)("toStringTag")]="z",t.exports=n+""=="[object z]"},3121:(t,r,e)=>{"use strict";var n=e(5482),o=Math.min;t.exports=function(t){var r=n(t);return r>0?o(r,9007199254740991):0}},3648:(t,r,e)=>{"use strict";var n=e(9447),o=e(8828),i=e(9552);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},3846:(t,r,e)=>{"use strict";var n=e(9447),o=e(3930),i=e(2574),u=e(5817),s=e(7374),c=e(470),a=e(9724),p=e(3648),f=Object.getOwnPropertyDescriptor;r.f=n?f:function(t,r){if(t=s(t),r=c(r),p)try{return f(t,r)}catch(e){}if(a(t,r))return u(!o(i.f,t,r),t[r])}},3930:(t,r,e)=>{"use strict";var n=e(1505),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},3948:(t,r,e)=>{"use strict";var n=e(2623),o=e(2250),i=e(5807),u=e(6264)("toStringTag"),s=Object,c="Arguments"===i(function(){return arguments}());t.exports=n?i:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(e){}}(r=s(t),u))?e:c?i(r):"Object"===(n=i(r))&&o(r.callee)?"Arguments":n}},4239:(t,r,e)=>{"use strict";var n=e(7136),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},4284:(t,r,e)=>{"use strict";var n=e(9447),o=e(3648),i=e(8661),u=e(6624),s=e(470),c=TypeError,a=Object.defineProperty,p=Object.getOwnPropertyDescriptor,f="enumerable",v="configurable",l="writable";r.f=n?i?function(t,r,e){if(u(t),r=s(r),u(e),"function"==typeof t&&"prototype"===r&&"value"in e&&l in e&&!e[l]){var n=p(t,r);n&&n[l]&&(t[r]=e.value,e={configurable:v in e?e[v]:n[v],enumerable:f in e?e[f]:n[f],writable:!1})}return a(t,r,e)}:a:function(t,r,e){if(u(t),r=s(r),u(e),o)try{return a(t,r,e)}catch(n){}if("get"in e||"set"in e)throw new c("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},4378:(t,r,e)=>{"use strict";e(9770);var n=e(1747);t.exports=n("String","includes")},4436:(t,r,e)=>{"use strict";var n=e(7374),o=e(4849),i=e(575),u=function(t){return function(r,e,u){var s=n(r),c=i(s);if(0===c)return!t&&-1;var a,p=o(u,c);if(t&&e!=e){for(;c>p;)if((a=s[p++])!=a)return!0}else for(;c>p;p++)if((t||p in s)&&s[p]===e)return t||p||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},4640:t=>{"use strict";var r=String;t.exports=function(t){try{return r(t)}catch(e){return"Object"}}},4848:(t,r,e)=>{"use strict";t.exports=e(1020)},4849:(t,r,e)=>{"use strict";var n=e(5482),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return 0>e?o(e+r,0):i(e,r)}},5482:(t,r,e)=>{"use strict";var n=e(1176);t.exports=function(t){var r=+t;return r!=r||0===r?0:n(r)}},5582:(t,r,e)=>{"use strict";var n=e(2046),o=e(5951),i=e(2250),u=function(t){return i(t)?t:void 0};t.exports=function(t,r){return 2>arguments.length?u(n[t])||u(o[t]):n[t]&&n[t][r]||o[t]&&o[t][r]}},5594:(t,r,e)=>{"use strict";var n=e(5582),o=e(2250),i=e(8280),u=e(1175),s=Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var r=n("Symbol");return o(r)&&i(r.prototype,s(t))}},5735:(t,r,e)=>{"use strict";var n=e(6264)("match");t.exports=function(t){var r=/./;try{"/./"[t](r)}catch(e){try{return r[n]=!1,"/./"[t](r)}catch(o){}}return!1}},5807:(t,r,e)=>{"use strict";var n=e(1907),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},5816:(t,r,e)=>{"use strict";var n=e(6128);t.exports=function(t,r){return n[t]||(n[t]=r||{})}},5817:t=>{"use strict";t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},5951:function(t,r,e){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e.g&&e.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},6024:(t,r,e)=>{"use strict";var n=e(1505),o=Function.prototype,i=o.apply,u=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?u.bind(i):function(){return u.apply(i,arguments)})},6028:(t,r,e)=>{"use strict";var n=e(3930),o=e(6285),i=e(5594),u=e(9367),s=e(581),c=e(6264),a=TypeError,p=c("toPrimitive");t.exports=function(t,r){if(!o(t)||i(t))return t;var e,c=u(t,p);if(c){if(void 0===r&&(r="default"),e=n(c,t,r),!o(e)||i(e))return e;throw new a("Can't convert object to primitive value")}return void 0===r&&(r="number"),s(t,r)}},6128:(t,r,e)=>{"use strict";var n=e(7376),o=e(5951),i=e(2532),u="__core-js_shared__",s=t.exports=o[u]||i(u,{});(s.versions||(s.versions=[])).push({version:"3.43.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.43.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6264:(t,r,e)=>{"use strict";var n=e(5951),o=e(5816),i=e(9724),u=e(6499),s=e(9846),c=e(1175),a=n.Symbol,p=o("wks"),f=c?a.for||a:a&&a.withoutSetter||u;t.exports=function(t){return i(p,t)||(p[t]=s&&i(a,t)?a[t]:f("Symbol."+t)),p[t]}},6285:(t,r,e)=>{"use strict";var n=e(2250);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},6343:(t,r,e)=>{"use strict";var n=e(6880);t.exports=n},6499:(t,r,e)=>{"use strict";var n=e(1907),o=0,i=Math.random(),u=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},6624:(t,r,e)=>{"use strict";var n=e(6285),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},6794:(t,r,e)=>{"use strict";var n=e(5951).navigator,o=n&&n.userAgent;t.exports=o?o+"":""},6880:(t,r,e)=>{"use strict";var n=e(8280),o=e(1362),i=e(4378),u=Array.prototype,s=String.prototype;t.exports=function(t){var r=t.includes;return t===u||n(u,t)&&r===u.includes?o:"string"==typeof t||t===s||n(s,t)&&r===s.includes?i:r}},6946:(t,r,e)=>{"use strict";var n=e(1907),o=e(8828),i=e(5807),u=Object,s=n("".split);t.exports=o((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?s(t,""):u(t)}:u},7136:t=>{"use strict";t.exports=function(t){return null==t}},7374:(t,r,e)=>{"use strict";var n=e(6946),o=e(4239);t.exports=function(t){return n(o(t))}},7376:t=>{"use strict";t.exports=!0},7463:(t,r,e)=>{"use strict";var n=e(8828),o=e(2250),i=/#|\.prototype\./,u=function(t,r){var e=c[s(t)];return e===p||e!==a&&(o(r)?n(r):!!r)},s=u.normalize=function(t){return(t+"").replace(i,".").toLowerCase()},c=u.data={},a=u.NATIVE="N",p=u.POLYFILL="P";t.exports=u},8280:(t,r,e)=>{"use strict";var n=e(1907);t.exports=n({}.isPrototypeOf)},8311:(t,r,e)=>{"use strict";var n=e(2361),o=e(2159),i=e(1505),u=n(n.bind);t.exports=function(t,r){return o(t),void 0===r?t:i?u(t,r):function(){return t.apply(r,arguments)}}},8628:(t,r,e)=>{t.exports=e(6343)},8661:(t,r,e)=>{"use strict";var n=e(9447),o=e(8828);t.exports=n&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8828:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(r){return!0}}},9298:(t,r,e)=>{"use strict";var n=e(4239),o=Object;t.exports=function(t){return o(n(t))}},9367:(t,r,e)=>{"use strict";var n=e(2159),o=e(7136);t.exports=function(t,r){var e=t[r];return o(e)?void 0:n(e)}},9447:(t,r,e)=>{"use strict";var n=e(8828);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},9552:(t,r,e)=>{"use strict";var n=e(5951),o=e(6285),i=n.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},9724:(t,r,e)=>{"use strict";var n=e(1907),o=e(9298),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},9748:(t,r,e)=>{"use strict";var n=e(1091),o=e(4436).includes,i=e(8828),u=e(2156);n({target:"Array",proto:!0,forced:i((function(){return!1}))},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),u("includes")},9770:(t,r,e)=>{"use strict";var n=e(1091),o=e(1907),i=e(2074),u=e(4239),s=e(160),c=e(5735),a=o("".indexOf);n({target:"String",proto:!0,forced:!c("includes")},{includes:function(t){return!!~a(s(u(this)),s(i(t)),arguments.length>1?arguments[1]:void 0)}})},9846:(t,r,e)=>{"use strict";var n=e(798),o=e(8828),i=e(5951).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&41>n}))}}]);
|