@vitus-labs/coolgrid 1.2.2 → 1.2.3-alpha.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.
Files changed (49) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +186 -141
  3. package/lib/analysis/index.js.html +18 -18
  4. package/lib/analysis/vitus-labs-coolgrid.native.js.html +18 -18
  5. package/lib/index.d.ts +74 -94
  6. package/lib/index.d.ts.map +1 -0
  7. package/lib/index.js +358 -232
  8. package/lib/index.js.map +1 -1
  9. package/lib/vitus-labs-coolgrid.native.js +355 -227
  10. package/lib/vitus-labs-coolgrid.native.js.map +1 -1
  11. package/package.json +21 -21
  12. package/lib/types/Col/component.d.ts +0 -15
  13. package/lib/types/Col/component.d.ts.map +0 -1
  14. package/lib/types/Col/index.d.ts +0 -3
  15. package/lib/types/Col/index.d.ts.map +0 -1
  16. package/lib/types/Col/styled.d.ts +0 -3
  17. package/lib/types/Col/styled.d.ts.map +0 -1
  18. package/lib/types/Container/component.d.ts +0 -4
  19. package/lib/types/Container/component.d.ts.map +0 -1
  20. package/lib/types/Container/index.d.ts +0 -3
  21. package/lib/types/Container/index.d.ts.map +0 -1
  22. package/lib/types/Container/styled.d.ts +0 -3
  23. package/lib/types/Container/styled.d.ts.map +0 -1
  24. package/lib/types/Container/utils.d.ts +0 -5
  25. package/lib/types/Container/utils.d.ts.map +0 -1
  26. package/lib/types/Row/component.d.ts +0 -9
  27. package/lib/types/Row/component.d.ts.map +0 -1
  28. package/lib/types/Row/index.d.ts +0 -3
  29. package/lib/types/Row/index.d.ts.map +0 -1
  30. package/lib/types/Row/styled.d.ts +0 -3
  31. package/lib/types/Row/styled.d.ts.map +0 -1
  32. package/lib/types/constants.d.ts +0 -3
  33. package/lib/types/constants.d.ts.map +0 -1
  34. package/lib/types/context/ContainerContext.d.ts +0 -16
  35. package/lib/types/context/ContainerContext.d.ts.map +0 -1
  36. package/lib/types/context/RowContext.d.ts +0 -16
  37. package/lib/types/context/RowContext.d.ts.map +0 -1
  38. package/lib/types/context/index.d.ts +0 -4
  39. package/lib/types/context/index.d.ts.map +0 -1
  40. package/lib/types/index.d.ts +0 -7
  41. package/lib/types/index.d.ts.map +0 -1
  42. package/lib/types/theme.d.ts +0 -22
  43. package/lib/types/theme.d.ts.map +0 -1
  44. package/lib/types/types.d.ts +0 -52
  45. package/lib/types/types.d.ts.map +0 -1
  46. package/lib/types/useContext.d.ts +0 -12
  47. package/lib/types/useContext.d.ts.map +0 -1
  48. package/lib/types/utils.d.ts +0 -11
  49. package/lib/types/utils.d.ts.map +0 -1
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Vit Bokisch
3
+ Copyright (c) 2023-present Vit Bokisch
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,182 +1,227 @@
1
- <div align="center">
2
- <a href="https://vitus-labs.com/docs/ui-system/coolgrid">
3
- <img src="https://github.com/vitus-labs/ui-system/blob/master/packages/coolgrid/logo.png" alt="Coolgrid" height="150" />
4
- </a>
5
- </div>
1
+ # @vitus-labs/coolgrid
6
2
 
7
- Coolgrid is ultra flexible and extensible grid system for React based on styled-components and heavily inspired by Bootstrap Grid system.
3
+ Responsive grid system for React and styled-components.
8
4
 
9
- ## Documentation
5
+ [![npm](https://img.shields.io/npm/v/@vitus-labs/coolgrid)](https://www.npmjs.com/package/@vitus-labs/coolgrid)
6
+ [![license](https://img.shields.io/npm/l/@vitus-labs/coolgrid)](https://github.com/vitus-labs/ui-system/blob/main/LICENSE)
10
7
 
11
- Documentation can be found [here](https://vitus-labs.github.io/coolgrid/).
8
+ Bootstrap-inspired Container / Row / Col grid with context-cascading configuration. Define breakpoints, column count, gaps, and gutters at any level — children inherit automatically. Every value is responsive.
12
9
 
13
- # Getting Started
10
+ ## Features
14
11
 
15
- Coolgrid is ultra-flexible and extensible grid system for React
16
- based on styled-components and heavily inspired by
17
- Bootstrap Grid System.
12
+ - **Familiar mental model** Container, Row, Col just like Bootstrap
13
+ - **Context cascading** — set columns, gaps, and gutters at Container level, inherited by all Rows and Cols
14
+ - **Responsive values** — single value, mobile-first array, or breakpoint object on every prop
15
+ - **Custom breakpoints** — name and size them however you want
16
+ - **Custom column counts** — 12, 24, 5 — any number
17
+ - **Custom components** — swap Container, Row, or Col underlying elements
18
+ - **Default Bootstrap theme** — included and ready to use
18
19
 
19
- Coolgrid uses React and styled-components.
20
+ ## Installation
20
21
 
21
- ## Motivation
22
+ ```bash
23
+ npm install @vitus-labs/coolgrid @vitus-labs/core @vitus-labs/unistyle styled-components
24
+ ```
22
25
 
23
- There are several grid solutions but none of them have fit my
24
- needs so far. They were not enough extensible. With Coolgrid
25
- you can do basically whatever you want while writing less code
26
- and have fewer DOM elements in your application.
26
+ ## Quick Start
27
27
 
28
- ### What are the advantages of using coolgrid?
28
+ ```tsx
29
+ import { Container, Row, Col, Provider, theme } from '@vitus-labs/coolgrid'
29
30
 
30
- 1. **fewer DOM elements** - each of the available components supports
31
- the property component, which accepts any valid HTML tag. So
32
- having a valid document structure might need fewer elements in
33
- the DOM. Or you can pass any valid React component and do much
34
- more!
31
+ const App = () => (
32
+ <Provider theme={theme}>
33
+ <Container>
34
+ <Row>
35
+ <Col size={8}>Main content</Col>
36
+ <Col size={4}>Sidebar</Col>
37
+ </Row>
38
+ </Container>
39
+ </Provider>
40
+ )
41
+ ```
35
42
 
36
- 2. **Breakpoint keys** - there is no strict policy about it. Feel
37
- free to define as many breakpoints as you like. And that's not
38
- all. Feel free to name them the way you like. Do you prefer
39
- Bootstrap like naming xs, sm, md, lg, and xl? Or do you rather
40
- prefer more descriptive names like phone, tablet, desktop (or xsmall,
41
- small, medium, large, xlarge)?
43
+ ## Components
42
44
 
43
- 3. **Breakpoint values** - for defining the size of viewports,
44
- you can use any value. Just a number, you can use pixels,
45
- percentages, whatever you like. You should just know that
46
- number automatically converts to em units calculated from
47
- rootSize defined in theme (and fallbacks to the value of 16).
48
- The same applies to pixels.
45
+ ### Container
49
46
 
50
- 4. **Container width** - here applies the same rules as for
51
- breakpoints. There is just one more requirement. The keys defined
52
- for Container must be the same as the names of breakpoints.
47
+ Outermost grid boundary. Sets max-width and provides configuration context to descendants.
53
48
 
54
- 5. **Context** - Define behavior on Container or Row for all
55
- Cols inside. Coolgrid uses context on the background so you can
56
- change the whole grid by changing just one line property.
49
+ ```tsx
50
+ <Container
51
+ columns={12}
52
+ gap={16}
53
+ gutter={24}
54
+ padding={16}
55
+ >
56
+ <Row>...</Row>
57
+ </Container>
58
+ ```
57
59
 
58
- 6. **A configurable number of columns** - Bootstrap grid uses
59
- by default 12 columns. Coolgrid is highly configurable, so
60
- you can define as many columns as you like. Do you need 5 column
61
- grid? No problem!
60
+ | Prop | Type | Description |
61
+ | ---- | ---- | ----------- |
62
+ | columns | `number` | Number of grid columns (default: 12) |
63
+ | gap | `number` | Space between columns |
64
+ | gutter | `number` | Outer gutter (negative margin offset on Row) |
65
+ | padding | `number` | Column inner padding |
66
+ | width | `value \| function` | Override container max-width |
67
+ | component | `ComponentType` | Custom root element |
68
+ | css | `ExtendCss` | Extend container styling |
69
+ | contentAlignX | `AlignX` | Horizontal alignment of columns |
62
70
 
63
- 7. **Customizable gaps between columns** - Feel free to customize
64
- the size of gaps for your grid. No gaps, normal gaps, whatever
65
- your design needs.
71
+ All configuration props cascade to Row and Col through context.
66
72
 
67
- 8. **Customizable paddings inside Cols** - You can customize paddings as well.
73
+ ### Row
68
74
 
69
- ## Installation
75
+ Flex wrapper with column management. Inherits Container config and can override it.
70
76
 
71
- You can install ii with your preferred tool (`yarn` or `npm`).
77
+ ```tsx
78
+ <Row
79
+ size={{ xs: 12, md: 6 }}
80
+ contentAlignX="center"
81
+ >
82
+ <Col>Column 1</Col>
83
+ <Col>Column 2</Col>
84
+ </Row>
85
+ ```
72
86
 
73
- ```powershell
74
- # with yarn
75
- yarn add @vitus-labs/coolgrid
87
+ Setting `size` on Row applies it to all Cols inside:
76
88
 
77
- # or with npm
78
- npm install @vitus-labs/coolgrid --save
89
+ ```tsx
90
+ // All columns are 6 of 12
91
+ <Row size={6}>
92
+ <Col>Half</Col>
93
+ <Col>Half</Col>
94
+ </Row>
79
95
  ```
80
96
 
81
- ## Dependencies
97
+ | Prop | Type | Description |
98
+ | ---- | ---- | ----------- |
99
+ | size | `number` | Default column size for all Cols inside |
100
+ | component | `ComponentType` | Custom row element |
101
+ | css | `ExtendCss` | Extend row styling |
102
+ | contentAlignX | `AlignX` | Override horizontal alignment |
82
103
 
83
- Coolgrid depends on the following packages which need to be installed as well.
104
+ ### Col
84
105
 
85
- | Package | version |
86
- | ----------------- | ------- |
87
- | react | >= 16.7 |
88
- | @vitus-labs/core | >= 0.2 |
89
- | styled-components | >= 4.0 |
106
+ Individual column. Width is calculated as a fraction of total columns.
90
107
 
91
- Styled-components are a peer dependency of `@vitus-labs/core`.
108
+ ```tsx
109
+ // Fixed size
110
+ <Col size={4}>1/3 width</Col>
92
111
 
93
- ## ThemeProvider
112
+ // Responsive size
113
+ <Col size={{ xs: 12, sm: 6, lg: 4 }}>
114
+ Full on mobile, half on small, third on large
115
+ </Col>
94
116
 
95
- Don't forget to add coolgrid theme config into your `ThemeProvider`.
117
+ // Hidden on mobile
118
+ <Col size={{ xs: 0, md: 6 }}>Hidden on xs</Col>
119
+ ```
96
120
 
97
- ```jsx
98
- import { ThemeProvider } from 'styled-components'
99
- import { theme } from 'coolgrid'
100
- // you can import default bootstrap theme settings or create yours.
101
- ;<ThemeProvider
102
- theme={{
103
- ...theme
104
- /* ...your theme */
105
- }}
106
- >
107
- {/* ...your components */}
108
- </ThemeProvider>
121
+ | Prop | Type | Description |
122
+ | ---- | ---- | ----------- |
123
+ | size | `number` | Column span (e.g. 4 of 12) |
124
+ | padding | `number` | Override column inner padding |
125
+ | component | `ComponentType` | Custom column element |
126
+ | css | `ExtendCss` | Extend column styling |
127
+
128
+ ## Configuration
129
+
130
+ ### Custom Breakpoints
131
+
132
+ ```tsx
133
+ <Provider theme={{
134
+ rootSize: 16,
135
+ breakpoints: {
136
+ phone: 0,
137
+ tablet: 600,
138
+ desktop: 1024,
139
+ wide: 1440,
140
+ },
141
+ }}>
109
142
  ```
110
143
 
111
- Alternatively you can put it directly to the root of theme object:
144
+ ### Custom Column Count
145
+
146
+ ```tsx
147
+ <Container columns={24}>
148
+ <Row>
149
+ <Col size={16}>Two thirds</Col>
150
+ <Col size={8}>One third</Col>
151
+ </Row>
152
+ </Container>
153
+ ```
112
154
 
113
- ```jsx
114
- // you can import default bootstrap theme settings or create yours.
155
+ ### Custom Container Widths
115
156
 
116
- <ThemeProvider
117
- theme={{
118
- // default bootstrap configuration example
119
- rootSize: 16, // is being used to convert viewport px to em units
157
+ ```tsx
158
+ <Provider theme={{
159
+ rootSize: 16,
160
+ breakpoints: { xs: 0, sm: 576, md: 768, lg: 992, xl: 1200 },
161
+ grid: {
120
162
  columns: 12,
121
- breakpoints: {
122
- xs: 0,
123
- sm: 576,
124
- md: 768,
125
- lg: 992,
126
- xl: 1200
163
+ container: {
164
+ xs: '100%',
165
+ sm: 540,
166
+ md: 720,
167
+ lg: 960,
168
+ xl: 1140,
127
169
  },
128
- grid: {
129
- container: {
130
- xs: '100%',
131
- sm: 540,
132
- md: 720,
133
- lg: 960,
134
- xl: 1140
135
- }
136
- }
137
- /* ...your theme */
138
- }}
139
- >
140
- {/* ...your components */}
141
- </ThemeProvider>
170
+ },
171
+ }}>
142
172
  ```
143
173
 
144
- ## Code examples
145
-
146
- ```jsx
147
- import React from 'react'
148
- import { Container, Row, Col } from 'coolgrid'
149
-
150
- const Element = () => (
151
- <Container>
152
- <Row>
153
- <Col size={3}>Column 1</Col>
154
- <Col size={{ xs: 12, sm: 6, md: 3 }}>Column 2</Col>
155
- <Col size={{ xs: 9, md: 3 }}>Column 3</Col>
156
- <Col size={3}>Column 4</Col>
157
- </Row>
158
- </Container>
159
- )
174
+ ### Context Cascading
175
+
176
+ Configuration flows from Container through Row to Col via React context:
177
+
178
+ ```text
179
+ Container (columns: 12, gap: 16)
180
+ └─ Row (inherits columns, gap)
181
+ └─ Col (inherits columns, gap, calculates width)
160
182
  ```
161
183
 
162
- You can define Col properties in Container or Row component.
163
- It uses context in the background. It means you can even
164
- write less code.
165
-
166
- ```jsx
167
- import React from 'react'
168
- import { Container, Row, Col } from 'coolgrid'
169
-
170
- const Element = () => (
171
- <Container>
172
- <Row size={{ xs: 12, sm: 6, md: 3 }}>
173
- <Col>Column 1</Col>
174
- <Col>Column 2</Col>
175
- <Col>Column 3</Col>
176
- <Col>Column 4</Col>
177
- </Row>
178
- </Container>
179
- )
184
+ Props set on a child override the inherited value for that level and below.
185
+
186
+ ## Default Theme
187
+
188
+ The included `theme` export provides Bootstrap 4 defaults:
189
+
190
+ ```tsx
191
+ {
192
+ rootSize: 16,
193
+ breakpoints: { xs: 0, sm: 576, md: 768, lg: 992, xl: 1200 },
194
+ grid: {
195
+ columns: 12,
196
+ container: { xs: '100%', sm: 540, md: 720, lg: 960, xl: 1140 },
197
+ },
198
+ }
180
199
  ```
181
200
 
182
- It's cool, right? So, check out more examples and happy coding!
201
+ ## Responsive Values
202
+
203
+ All numeric props support three formats:
204
+
205
+ ```tsx
206
+ // Single value
207
+ <Col size={6} />
208
+
209
+ // Array (mobile-first, by breakpoint position)
210
+ <Col size={[12, 6, 4]} />
211
+
212
+ // Object (explicit breakpoints)
213
+ <Col size={{ xs: 12, md: 6, lg: 4 }} />
214
+ ```
215
+
216
+ ## Peer Dependencies
217
+
218
+ | Package | Version |
219
+ | ------- | ------- |
220
+ | react | >= 19 |
221
+ | @vitus-labs/core | * |
222
+ | @vitus-labs/unistyle | * |
223
+ | styled-components | >= 6 |
224
+
225
+ ## License
226
+
227
+ MIT
@@ -149,9 +149,9 @@ main {
149
149
  var drawChart = (function (exports) {
150
150
  'use strict';
151
151
 
152
- var n,l$1,u$2,i$1,r$1,o$1,e$1,f$2,c$2,s$1,a$2,h$1,p$1={},v$1=[],y$3=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,d$1=Array.isArray;function w$1(n,l){for(var u in l)n[u]=l[u];return n}function _(n){n&&n.parentNode&&n.parentNode.removeChild(n);}function g(l,u,t){var i,r,o,e={};for(o in u)"key"==o?i=u[o]:"ref"==o?r=u[o]:e[o]=u[o];if(arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===e[o]&&(e[o]=l.defaultProps[o]);return m$2(l,e,i,r,null)}function m$2(n,t,i,r,o){var e={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++u$2:o,__i:-1,__u:0};return null==o&&null!=l$1.vnode&&l$1.vnode(e),e}function k$1(n){return n.children}function x$3(n,l){this.props=n,this.context=l;}function C$1(n,l){if(null==l)return n.__?C$1(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?C$1(n):null}function S(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return S(n)}}function M(n){(!n.__d&&(n.__d=!0)&&i$1.push(n)&&!P.__r++||r$1!==l$1.debounceRendering)&&((r$1=l$1.debounceRendering)||o$1)(P);}function P(){var n,u,t,r,o,f,c,s;for(i$1.sort(e$1);n=i$1.shift();)n.__d&&(u=i$1.length,r=void 0,f=(o=(t=n).__v).__e,c=[],s=[],t.__P&&((r=w$1({},o)).__v=o.__v+1,l$1.vnode&&l$1.vnode(r),j$1(t.__P,r,o,t.__n,t.__P.namespaceURI,32&o.__u?[f]:null,c,null==f?C$1(o):f,!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,z$1(c,r,s),r.__e!=f&&S(r)),i$1.length>u&&i$1.sort(e$1));P.__r=0;}function $(n,l,u,t,i,r,o,e,f,c,s){var a,h,y,d,w,_,g=t&&t.__k||v$1,m=l.length;for(f=I(u,l,g,f,m),a=0;a<m;a++)null!=(y=u.__k[a])&&(h=-1===y.__i?p$1:g[y.__i]||p$1,y.__i=a,_=j$1(n,y,h,i,r,o,e,f,c,s),d=y.__e,y.ref&&h.ref!=y.ref&&(h.ref&&V(h.ref,null,y),s.push(y.ref,y.__c||d,y)),null==w&&null!=d&&(w=d),4&y.__u||h.__k===y.__k?f=A$1(y,f,n):"function"==typeof y.type&&void 0!==_?f=_:d&&(f=d.nextSibling),y.__u&=-7);return u.__e=w,f}function I(n,l,u,t,i){var r,o,e,f,c,s=u.length,a=s,h=0;for(n.__k=new Array(i),r=0;r<i;r++)null!=(o=l[r])&&"boolean"!=typeof o&&"function"!=typeof o?(f=r+h,(o=n.__k[r]="string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?m$2(null,o,null,null,null):d$1(o)?m$2(k$1,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?m$2(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=n,o.__b=n.__b+1,e=null,-1!==(c=o.__i=L(o,u,f,a))&&(a--,(e=u[c])&&(e.__u|=2)),null==e||null===e.__v?(-1==c&&h--,"function"!=typeof o.type&&(o.__u|=4)):c!=f&&(c==f-1?h--:c==f+1?h++:(c>f?h--:h++,o.__u|=4))):n.__k[r]=null;if(a)for(r=0;r<s;r++)null!=(e=u[r])&&0==(2&e.__u)&&(e.__e==t&&(t=C$1(e)),q$1(e,e));return t}function A$1(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=A$1(t[i],l,u));return l}n.__e!=l&&(l&&n.type&&!u.contains(l)&&(l=C$1(n)),u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling;}while(null!=l&&8==l.nodeType);return l}function L(n,l,u,t){var i,r,o=n.key,e=n.type,f=l[u];if(null===f||f&&o==f.key&&e===f.type&&0==(2&f.__u))return u;if(t>(null!=f&&0==(2&f.__u)?1:0))for(i=u-1,r=u+1;i>=0||r<l.length;){if(i>=0){if((f=l[i])&&0==(2&f.__u)&&o==f.key&&e===f.type)return i;i--;}if(r<l.length){if((f=l[r])&&0==(2&f.__u)&&o==f.key&&e===f.type)return r;r++;}}return -1}function T$1(n,l,u){"-"==l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||y$3.test(l)?u:u+"px";}function F(n,l,u,t,i){var r;n:if("style"==l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||T$1(n.style,l,"");if(u)for(l in u)t&&u[l]===t[l]||T$1(n.style,l,u[l]);}else if("o"==l[0]&&"n"==l[1])r=l!=(l=l.replace(f$2,"$1")),l=l.toLowerCase()in n||"onFocusOut"==l||"onFocusIn"==l?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?t?u.u=t.u:(u.u=c$2,n.addEventListener(l,r?a$2:s$1,r)):n.removeEventListener(l,r?a$2:s$1,r);else {if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&"-"!=l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u));}}function O(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=c$2++;else if(u.t<t.u)return;return t(l$1.event?l$1.event(u):u)}}}function j$1(n,u,t,i,r,o,e,f,c,s){var a,h,p,v,y,g,m,b,C,S,M,P,I,A,H,L,T,F=u.type;if(void 0!==u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),o=[f=u.__e=t.__e]),(a=l$1.__b)&&a(u);n:if("function"==typeof F)try{if(b=u.props,C="prototype"in F&&F.prototype.render,S=(a=F.contextType)&&i[a.__c],M=a?S?S.props.value:a.__:i,t.__c?m=(h=u.__c=t.__c).__=h.__E:(C?u.__c=h=new F(b,M):(u.__c=h=new x$3(b,M),h.constructor=F,h.render=B$1),S&&S.sub(h),h.props=b,h.state||(h.state={}),h.context=M,h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),C&&null==h.__s&&(h.__s=h.state),C&&null!=F.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=w$1({},h.__s)),w$1(h.__s,F.getDerivedStateFromProps(b,h.__s))),v=h.props,y=h.state,h.__v=u,p)C&&null==F.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),C&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(C&&null==F.getDerivedStateFromProps&&b!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,M),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,M)||u.__v==t.__v)){for(u.__v!=t.__v&&(h.props=b,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.some(function(n){n&&(n.__=u);}),P=0;P<h._sb.length;P++)h.__h.push(h._sb[P]);h._sb=[],h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,M),C&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(v,y,g);});}if(h.context=M,h.props=b,h.__P=n,h.__e=!1,I=l$1.__r,A=0,C){for(h.state=h.__s,h.__d=!1,I&&I(u),a=h.render(h.props,h.state,h.context),H=0;H<h._sb.length;H++)h.__h.push(h._sb[H]);h._sb=[];}else do{h.__d=!1,I&&I(u),a=h.render(h.props,h.state,h.context),h.state=h.__s;}while(h.__d&&++A<25);h.state=h.__s,null!=h.getChildContext&&(i=w$1(w$1({},i),h.getChildContext())),C&&!p&&null!=h.getSnapshotBeforeUpdate&&(g=h.getSnapshotBeforeUpdate(v,y)),f=$(n,d$1(L=null!=a&&a.type===k$1&&null==a.key?a.props.children:a)?L:[L],u,t,i,r,o,e,f,c,s),h.base=u.__e,u.__u&=-161,h.__h.length&&e.push(h),m&&(h.__E=h.__=null);}catch(n){if(u.__v=null,c||null!=o)if(n.then){for(u.__u|=c?160:128;f&&8==f.nodeType&&f.nextSibling;)f=f.nextSibling;o[o.indexOf(f)]=null,u.__e=f;}else for(T=o.length;T--;)_(o[T]);else u.__e=t.__e,u.__k=t.__k;l$1.__e(n,u,t);}else null==o&&u.__v==t.__v?(u.__k=t.__k,u.__e=t.__e):f=u.__e=N(t.__e,u,t,i,r,o,e,c,s);return (a=l$1.diffed)&&a(u),128&u.__u?void 0:f}function z$1(n,u,t){for(var i=0;i<t.length;i++)V(t[i],t[++i],t[++i]);l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function N(u,t,i,r,o,e,f,c,s){var a,h,v,y,w,g,m,b=i.props,k=t.props,x=t.type;if("svg"==x?o="http://www.w3.org/2000/svg":"math"==x?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=e)for(a=0;a<e.length;a++)if((w=e[a])&&"setAttribute"in w==!!x&&(x?w.localName==x:3==w.nodeType)){u=w,e[a]=null;break}if(null==u){if(null==x)return document.createTextNode(k);u=document.createElementNS(o,x,k.is&&k),c&&(l$1.__m&&l$1.__m(t,e),c=!1),e=null;}if(null===x)b===k||c&&u.data===k||(u.data=k);else {if(e=e&&n.call(u.childNodes),b=i.props||p$1,!c&&null!=e)for(b={},a=0;a<u.attributes.length;a++)b[(w=u.attributes[a]).name]=w.value;for(a in b)if(w=b[a],"children"==a);else if("dangerouslySetInnerHTML"==a)v=w;else if(!(a in k)){if("value"==a&&"defaultValue"in k||"checked"==a&&"defaultChecked"in k)continue;F(u,a,null,w,o);}for(a in k)w=k[a],"children"==a?y=w:"dangerouslySetInnerHTML"==a?h=w:"value"==a?g=w:"checked"==a?m=w:c&&"function"!=typeof w||b[a]===w||F(u,a,w,b[a],o);if(h)c||v&&(h.__html===v.__html||h.__html===u.innerHTML)||(u.innerHTML=h.__html),t.__k=[];else if(v&&(u.innerHTML=""),$(u,d$1(y)?y:[y],t,i,r,"foreignObject"==x?"http://www.w3.org/1999/xhtml":o,e,f,e?e[0]:i.__k&&C$1(i,0),c,s),null!=e)for(a=e.length;a--;)_(e[a]);c||(a="value","progress"==x&&null==g?u.removeAttribute("value"):void 0!==g&&(g!==u[a]||"progress"==x&&!g||"option"==x&&g!==b[a])&&F(u,a,g,b[a],o),a="checked",void 0!==m&&m!==u[a]&&F(u,a,m,b[a],o));}return u}function V(n,u,t){try{if("function"==typeof n){var i="function"==typeof n.__u;i&&n.__u(),i&&null==u||(n.__u=n(u));}else n.current=u;}catch(n){l$1.__e(n,t);}}function q$1(n,u,t){var i,r;if(l$1.unmount&&l$1.unmount(n),(i=n.ref)&&(i.current&&i.current!==n.__e||V(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(n){l$1.__e(n,u);}i.base=i.__P=null;}if(i=n.__k)for(r=0;r<i.length;r++)i[r]&&q$1(i[r],u,t||"function"!=typeof n.type);t||_(n.__e),n.__c=n.__=n.__e=void 0;}function B$1(n,l,u){return this.constructor(n,u)}function D$1(u,t,i){var r,o,e,f;t==document&&(t=document.documentElement),l$1.__&&l$1.__(u,t),o=(r="function"==typeof i)?null:t.__k,e=[],f=[],j$1(t,u=(t).__k=g(k$1,null,[u]),o||p$1,p$1,t.namespaceURI,o?null:t.firstChild?n.call(t.childNodes):null,e,o?o.__e:t.firstChild,r,f),z$1(e,u,f);}function J(n,l){var u={__c:l="__cC"+h$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,t;return this.getChildContext||(u=new Set,(t={})[l]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){u=null;},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.forEach(function(n){n.__e=!0,M(n);});},this.sub=function(n){u.add(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u&&u.delete(n),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=v$1.slice,l$1={__e:function(n,l,u,t){for(var i,r,o;l=l.__;)if((i=l.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),o=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),o=i.__d),o)return i.__E=i}catch(l){n=l;}throw n}},u$2=0,x$3.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=w$1({},this.state),"function"==typeof n&&(n=n(w$1({},u),this.props)),n&&w$1(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),M(this));},x$3.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),M(this));},x$3.prototype.render=k$1,i$1=[],o$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,e$1=function(n,l){return n.__v.__b-l.__v.__b},P.__r=0,f$2=/(PointerCapture)$|Capture$/i,c$2=0,s$1=O(!1),a$2=O(!0),h$1=0;
152
+ var n,l$1,u$2,i$1,r$1,o$1,e$1,f$2,c$2,s$1,a$2,h$1,p$1={},v$1=[],y$3=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,w$1=Array.isArray;function d$1(n,l){for(var u in l)n[u]=l[u];return n}function g(n){n&&n.parentNode&&n.parentNode.removeChild(n);}function _(l,u,t){var i,r,o,e={};for(o in u)"key"==o?i=u[o]:"ref"==o?r=u[o]:e[o]=u[o];if(arguments.length>2&&(e.children=arguments.length>3?n.call(arguments,2):t),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps) void 0===e[o]&&(e[o]=l.defaultProps[o]);return m$2(l,e,i,r,null)}function m$2(n,t,i,r,o){var e={type:n,props:t,key:i,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++u$2:o,__i:-1,__u:0};return null==o&&null!=l$1.vnode&&l$1.vnode(e),e}function k$1(n){return n.children}function x$3(n,l){this.props=n,this.context=l;}function S(n,l){if(null==l)return n.__?S(n.__,n.__i+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?S(n):null}function C$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return C$1(n)}}function M(n){(!n.__d&&(n.__d=true)&&i$1.push(n)&&!$.__r++||r$1!=l$1.debounceRendering)&&((r$1=l$1.debounceRendering)||o$1)($);}function $(){for(var n,u,t,r,o,f,c,s=1;i$1.length;)i$1.length>s&&i$1.sort(e$1),n=i$1.shift(),s=i$1.length,n.__d&&(t=void 0,o=(r=(u=n).__v).__e,f=[],c=[],u.__P&&((t=d$1({},r)).__v=r.__v+1,l$1.vnode&&l$1.vnode(t),O(u.__P,t,r,u.__n,u.__P.namespaceURI,32&r.__u?[o]:null,f,null==o?S(r):o,!!(32&r.__u),c),t.__v=r.__v,t.__.__k[t.__i]=t,z$1(f,t,c),t.__e!=o&&C$1(t)));$.__r=0;}function I(n,l,u,t,i,r,o,e,f,c,s){var a,h,y,w,d,g,_=t&&t.__k||v$1,m=l.length;for(f=P(u,l,_,f,m),a=0;a<m;a++)null!=(y=u.__k[a])&&(h=-1==y.__i?p$1:_[y.__i]||p$1,y.__i=a,g=O(n,y,h,i,r,o,e,f,c,s),w=y.__e,y.ref&&h.ref!=y.ref&&(h.ref&&q$1(h.ref,null,y),s.push(y.ref,y.__c||w,y)),null==d&&null!=w&&(d=w),4&y.__u||h.__k===y.__k?f=A$1(y,f,n):"function"==typeof y.type&&void 0!==g?f=g:w&&(f=w.nextSibling),y.__u&=-7);return u.__e=d,f}function P(n,l,u,t,i){var r,o,e,f,c,s=u.length,a=s,h=0;for(n.__k=new Array(i),r=0;r<i;r++)null!=(o=l[r])&&"boolean"!=typeof o&&"function"!=typeof o?(f=r+h,(o=n.__k[r]="string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?m$2(null,o,null,null,null):w$1(o)?m$2(k$1,{children:o},null,null,null):null==o.constructor&&o.__b>0?m$2(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o).__=n,o.__b=n.__b+1,e=null,-1!=(c=o.__i=L(o,u,f,a))&&(a--,(e=u[c])&&(e.__u|=2)),null==e||null==e.__v?(-1==c&&(i>s?h--:i<s&&h++),"function"!=typeof o.type&&(o.__u|=4)):c!=f&&(c==f-1?h--:c==f+1?h++:(c>f?h--:h++,o.__u|=4))):n.__k[r]=null;if(a)for(r=0;r<s;r++)null!=(e=u[r])&&0==(2&e.__u)&&(e.__e==t&&(t=S(e)),B$1(e,e));return t}function A$1(n,l,u){var t,i;if("function"==typeof n.type){for(t=n.__k,i=0;t&&i<t.length;i++)t[i]&&(t[i].__=n,l=A$1(t[i],l,u));return l}n.__e!=l&&(l&&n.type&&!u.contains(l)&&(l=S(n)),u.insertBefore(n.__e,l||null),l=n.__e);do{l=l&&l.nextSibling;}while(null!=l&&8==l.nodeType);return l}function L(n,l,u,t){var i,r,o=n.key,e=n.type,f=l[u];if(null===f&&null==n.key||f&&o==f.key&&e==f.type&&0==(2&f.__u))return u;if(t>(null!=f&&0==(2&f.__u)?1:0))for(i=u-1,r=u+1;i>=0||r<l.length;){if(i>=0){if((f=l[i])&&0==(2&f.__u)&&o==f.key&&e==f.type)return i;i--;}if(r<l.length){if((f=l[r])&&0==(2&f.__u)&&o==f.key&&e==f.type)return r;r++;}}return -1}function T$1(n,l,u){"-"==l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||y$3.test(l)?u:u+"px";}function j$1(n,l,u,t,i){var r,o;n:if("style"==l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof t&&(n.style.cssText=t=""),t)for(l in t)u&&l in u||T$1(n.style,l,"");if(u)for(l in u)t&&u[l]==t[l]||T$1(n.style,l,u[l]);}else if("o"==l[0]&&"n"==l[1])r=l!=(l=l.replace(f$2,"$1")),o=l.toLowerCase(),l=o in n||"onFocusOut"==l||"onFocusIn"==l?o.slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?t?u.u=t.u:(u.u=c$2,n.addEventListener(l,r?a$2:s$1,r)):n.removeEventListener(l,r?a$2:s$1,r);else {if("http://www.w3.org/2000/svg"==i)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=l&&"height"!=l&&"href"!=l&&"list"!=l&&"form"!=l&&"tabIndex"!=l&&"download"!=l&&"rowSpan"!=l&&"colSpan"!=l&&"role"!=l&&"popover"!=l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||false===u&&"-"!=l[4]?n.removeAttribute(l):n.setAttribute(l,"popover"==l&&1==u?"":u));}}function F(n){return function(u){if(this.l){var t=this.l[u.type+n];if(null==u.t)u.t=c$2++;else if(u.t<t.u)return;return t(l$1.event?l$1.event(u):u)}}}function O(n,u,t,i,r,o,e,f,c,s){var a,h,p,v,y,_,m,b,S,C,M,$,P,A,H,L,T,j=u.type;if(null!=u.constructor)return null;128&t.__u&&(c=!!(32&t.__u),o=[f=u.__e=t.__e]),(a=l$1.__b)&&a(u);n:if("function"==typeof j)try{if(b=u.props,S="prototype"in j&&j.prototype.render,C=(a=j.contextType)&&i[a.__c],M=a?C?C.props.value:a.__:i,t.__c?m=(h=u.__c=t.__c).__=h.__E:(S?u.__c=h=new j(b,M):(u.__c=h=new x$3(b,M),h.constructor=j,h.render=D$1),C&&C.sub(h),h.props=b,h.state||(h.state={}),h.context=M,h.__n=i,p=h.__d=!0,h.__h=[],h._sb=[]),S&&null==h.__s&&(h.__s=h.state),S&&null!=j.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=d$1({},h.__s)),d$1(h.__s,j.getDerivedStateFromProps(b,h.__s))),v=h.props,y=h.state,h.__v=u,p)S&&null==j.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),S&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else {if(S&&null==j.getDerivedStateFromProps&&b!==v&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(b,M),!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(b,h.__s,M)||u.__v==t.__v){for(u.__v!=t.__v&&(h.props=b,h.state=h.__s,h.__d=!1),u.__e=t.__e,u.__k=t.__k,u.__k.some(function(n){n&&(n.__=u);}),$=0;$<h._sb.length;$++)h.__h.push(h._sb[$]);h._sb=[],h.__h.length&&e.push(h);break n}null!=h.componentWillUpdate&&h.componentWillUpdate(b,h.__s,M),S&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(v,y,_);});}if(h.context=M,h.props=b,h.__P=n,h.__e=!1,P=l$1.__r,A=0,S){for(h.state=h.__s,h.__d=!1,P&&P(u),a=h.render(h.props,h.state,h.context),H=0;H<h._sb.length;H++)h.__h.push(h._sb[H]);h._sb=[];}else do{h.__d=!1,P&&P(u),a=h.render(h.props,h.state,h.context),h.state=h.__s;}while(h.__d&&++A<25);h.state=h.__s,null!=h.getChildContext&&(i=d$1(d$1({},i),h.getChildContext())),S&&!p&&null!=h.getSnapshotBeforeUpdate&&(_=h.getSnapshotBeforeUpdate(v,y)),L=a,null!=a&&a.type===k$1&&null==a.key&&(L=N(a.props.children)),f=I(n,w$1(L)?L:[L],u,t,i,r,o,e,f,c,s),h.base=u.__e,u.__u&=-161,h.__h.length&&e.push(h),m&&(h.__E=h.__=null);}catch(n){if(u.__v=null,c||null!=o)if(n.then){for(u.__u|=c?160:128;f&&8==f.nodeType&&f.nextSibling;)f=f.nextSibling;o[o.indexOf(f)]=null,u.__e=f;}else for(T=o.length;T--;)g(o[T]);else u.__e=t.__e,u.__k=t.__k;l$1.__e(n,u,t);}else null==o&&u.__v==t.__v?(u.__k=t.__k,u.__e=t.__e):f=u.__e=V(t.__e,u,t,i,r,o,e,c,s);return (a=l$1.diffed)&&a(u),128&u.__u?void 0:f}function z$1(n,u,t){for(var i=0;i<t.length;i++)q$1(t[i],t[++i],t[++i]);l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function N(n){return "object"!=typeof n||null==n||n.__b&&n.__b>0?n:w$1(n)?n.map(N):d$1({},n)}function V(u,t,i,r,o,e,f,c,s){var a,h,v,y,d,_,m,b=i.props,k=t.props,x=t.type;if("svg"==x?o="http://www.w3.org/2000/svg":"math"==x?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=e)for(a=0;a<e.length;a++)if((d=e[a])&&"setAttribute"in d==!!x&&(x?d.localName==x:3==d.nodeType)){u=d,e[a]=null;break}if(null==u){if(null==x)return document.createTextNode(k);u=document.createElementNS(o,x,k.is&&k),c&&(l$1.__m&&l$1.__m(t,e),c=false),e=null;}if(null==x)b===k||c&&u.data==k||(u.data=k);else {if(e=e&&n.call(u.childNodes),b=i.props||p$1,!c&&null!=e)for(b={},a=0;a<u.attributes.length;a++)b[(d=u.attributes[a]).name]=d.value;for(a in b)if(d=b[a],"children"==a);else if("dangerouslySetInnerHTML"==a)v=d;else if(!(a in k)){if("value"==a&&"defaultValue"in k||"checked"==a&&"defaultChecked"in k)continue;j$1(u,a,null,d,o);}for(a in k)d=k[a],"children"==a?y=d:"dangerouslySetInnerHTML"==a?h=d:"value"==a?_=d:"checked"==a?m=d:c&&"function"!=typeof d||b[a]===d||j$1(u,a,d,b[a],o);if(h)c||v&&(h.__html==v.__html||h.__html==u.innerHTML)||(u.innerHTML=h.__html),t.__k=[];else if(v&&(u.innerHTML=""),I("template"==t.type?u.content:u,w$1(y)?y:[y],t,i,r,"foreignObject"==x?"http://www.w3.org/1999/xhtml":o,e,f,e?e[0]:i.__k&&S(i,0),c,s),null!=e)for(a=e.length;a--;)g(e[a]);c||(a="value","progress"==x&&null==_?u.removeAttribute("value"):null!=_&&(_!==u[a]||"progress"==x&&!_||"option"==x&&_!=b[a])&&j$1(u,a,_,b[a],o),a="checked",null!=m&&m!=u[a]&&j$1(u,a,m,b[a],o));}return u}function q$1(n,u,t){try{if("function"==typeof n){var i="function"==typeof n.__u;i&&n.__u(),i&&null==u||(n.__u=n(u));}else n.current=u;}catch(n){l$1.__e(n,t);}}function B$1(n,u,t){var i,r;if(l$1.unmount&&l$1.unmount(n),(i=n.ref)&&(i.current&&i.current!=n.__e||q$1(i,null,u)),null!=(i=n.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount();}catch(n){l$1.__e(n,u);}i.base=i.__P=null;}if(i=n.__k)for(r=0;r<i.length;r++)i[r]&&B$1(i[r],u,t||"function"!=typeof n.type);t||g(n.__e),n.__c=n.__=n.__e=void 0;}function D$1(n,l,u){return this.constructor(n,u)}function E(u,t,i){var r,o,e,f;t==document&&(t=document.documentElement),l$1.__&&l$1.__(u,t),o=(r="function"=="undefined")?null:t.__k,e=[],f=[],O(t,u=(t).__k=_(k$1,null,[u]),o||p$1,p$1,t.namespaceURI,o?null:t.firstChild?n.call(t.childNodes):null,e,o?o.__e:t.firstChild,r,f),z$1(e,u,f);}function K(n){function l(n){var u,t;return this.getChildContext||(u=new Set,(t={})[l.__c]=this,this.getChildContext=function(){return t},this.componentWillUnmount=function(){u=null;},this.shouldComponentUpdate=function(n){this.props.value!=n.value&&u.forEach(function(n){n.__e=true,M(n);});},this.sub=function(n){u.add(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u&&u.delete(n),l&&l.call(n);};}),n.children}return l.__c="__cC"+h$1++,l.__=n,l.Provider=l.__l=(l.Consumer=function(n,l){return n.children(l)}).contextType=l,l}n=v$1.slice,l$1={__e:function(n,l,u,t){for(var i,r,o;l=l.__;)if((i=l.__c)&&!i.__)try{if((r=i.constructor)&&null!=r.getDerivedStateFromError&&(i.setState(r.getDerivedStateFromError(n)),o=i.__d),null!=i.componentDidCatch&&(i.componentDidCatch(n,t||{}),o=i.__d),o)return i.__E=i}catch(l){n=l;}throw n}},u$2=0,x$3.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=d$1({},this.state),"function"==typeof n&&(n=n(d$1({},u),this.props)),n&&d$1(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),M(this));},x$3.prototype.forceUpdate=function(n){this.__v&&(this.__e=true,n&&this.__h.push(n),M(this));},x$3.prototype.render=k$1,i$1=[],o$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,e$1=function(n,l){return n.__v.__b-l.__v.__b},$.__r=0,f$2=/(PointerCapture)$|Capture$/i,c$2=0,s$1=F(false),a$2=F(true),h$1=0;
153
153
 
154
- var f$1=0;function u$1(e,t,n,o,i,u){t||(t={});var a,c,p=t;if("ref"in p)for(c in p={},t)"ref"==c?a=t[c]:p[c]=t[c];var l={type:e,props:p,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--f$1,__i:-1,__u:0,__source:i,__self:u};if("function"==typeof e&&(a=e.defaultProps))for(c in a)void 0===p[c]&&(p[c]=a[c]);return l$1.vnode&&l$1.vnode(l),l}
154
+ var f$1=0;function u$1(e,t,n,o,i,u){t||(t={});var a,c,p=t;if("ref"in p)for(c in p={},t)"ref"==c?a=t[c]:p[c]=t[c];var l={type:e,props:p,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--f$1,__i:-1,__u:0,__source:i,__self:u};if("function"==typeof e&&(a=e.defaultProps))for(c in a) void 0===p[c]&&(p[c]=a[c]);return l$1.vnode&&l$1.vnode(l),l}
155
155
 
156
156
  const LABELS = {
157
157
  renderedLength: "Rendered",
@@ -169,7 +169,7 @@ var drawChart = (function (exports) {
169
169
  return availableSizeProperties;
170
170
  };
171
171
 
172
- var t,r,u,i,o=0,f=[],c$1=l$1,e=c$1.__b,a$1=c$1.__r,v=c$1.diffed,l=c$1.__c,m$1=c$1.unmount,s=c$1.__;function d(n,t){c$1.__h&&c$1.__h(r,n,o||t),o=0;var u=r.__H||(r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function h(n){return o=1,p(D,n)}function p(n,u,i){var o=d(t++,2);if(o.t=n,!o.__c&&(o.__=[D(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}));}],o.__c=r,!r.u)){var f=function(n,t,r){if(!o.__c.__H)return !0;var u=o.__c.__H.__.filter(function(n){return !!n.__c});if(u.every(function(n){return !n.__N}))return !c||c.call(this,n,t,r);var i=o.__c.props!==n;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0);}}),c&&c.call(this,n,t,r)||i};r.u=!0;var c=r.shouldComponentUpdate,e=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u;}e&&e.call(this,n,t,r);},r.shouldComponentUpdate=f;}return o.__N||o.__}function y$2(n,u){var i=d(t++,3);!c$1.__s&&C(i.__H,u)&&(i.__=n,i.i=u,r.__H.__h.push(i));}function A(n){return o=5,T(function(){return {current:n}},[])}function T(n,r){var u=d(t++,7);return C(u.__H,r)&&(u.__=n(),u.__H=r,u.__h=n),u.__}function q(n,t){return o=8,T(function(){return n},t)}function x$2(n){var u=r.context[n.__c],i=d(t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r)),u.props.value):n.__}function j(){for(var n;n=f.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(z),n.__H.__h.forEach(B),n.__H.__h=[];}catch(t){n.__H.__h=[],c$1.__e(t,n.__v);}}c$1.__b=function(n){r=null,e&&e(n);},c$1.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),s&&s(n,t);},c$1.__r=function(n){a$1&&a$1(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0;})):(i.__h.forEach(z),i.__h.forEach(B),i.__h=[],t=0)),u=r;},c$1.diffed=function(n){v&&v(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==f.push(t)&&i===c$1.requestAnimationFrame||((i=c$1.requestAnimationFrame)||w)(j)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0;})),u=r=null;},c$1.__c=function(n,t){t.some(function(n){try{n.__h.forEach(z),n.__h=n.__h.filter(function(n){return !n.__||B(n)});}catch(r){t.some(function(n){n.__h&&(n.__h=[]);}),t=[],c$1.__e(r,n.__v);}}),l&&l(n,t);},c$1.unmount=function(n){m$1&&m$1(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{z(n);}catch(n){t=n;}}),r.__H=void 0,t&&c$1.__e(t,r.__v));};var k="function"==typeof requestAnimationFrame;function w(n){var t,r=function(){clearTimeout(u),k&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,100);k&&(t=requestAnimationFrame(r));}function z(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function B(n){var t=r;n.__c=n.__(),r=t;}function C(n,t){return !n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function D(n,t){return "function"==typeof t?t(n):t}
172
+ var t,r,u,i,o=0,f=[],c$1=l$1,e=c$1.__b,a$1=c$1.__r,v=c$1.diffed,l=c$1.__c,m$1=c$1.unmount,s=c$1.__;function p(n,t){c$1.__h&&c$1.__h(r,n,o||t),o=0;var u=r.__H||(r.__H={__:[],__h:[]});return n>=u.__.length&&u.__.push({}),u.__[n]}function d(n){return o=1,h(D,n)}function h(n,u,i){var o=p(t++,2);if(o.t=n,!o.__c&&(o.__=[D(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}));}],o.__c=r,!r.__f)){var f=function(n,t,r){if(!o.__c.__H)return true;var u=o.__c.__H.__.filter(function(n){return !!n.__c});if(u.every(function(n){return !n.__N}))return !c||c.call(this,n,t,r);var i=o.__c.props!==n;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=true);}}),c&&c.call(this,n,t,r)||i};r.__f=true;var c=r.shouldComponentUpdate,e=r.componentWillUpdate;r.componentWillUpdate=function(n,t,r){if(this.__e){var u=c;c=void 0,f(n,t,r),c=u;}e&&e.call(this,n,t,r);},r.shouldComponentUpdate=f;}return o.__N||o.__}function y$2(n,u){var i=p(t++,3);!c$1.__s&&C(i.__H,u)&&(i.__=n,i.u=u,r.__H.__h.push(i));}function A(n){return o=5,T(function(){return {current:n}},[])}function T(n,r){var u=p(t++,7);return C(u.__H,r)&&(u.__=n(),u.__H=r,u.__h=n),u.__}function q(n,t){return o=8,T(function(){return n},t)}function x$2(n){var u=r.context[n.__c],i=p(t++,9);return i.c=n,u?(null==i.__&&(i.__=true,u.sub(r)),u.props.value):n.__}function j(){for(var n;n=f.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(z),n.__H.__h.forEach(B),n.__H.__h=[];}catch(t){n.__H.__h=[],c$1.__e(t,n.__v);}}c$1.__b=function(n){r=null,e&&e(n);},c$1.__=function(n,t){n&&t.__k&&t.__k.__m&&(n.__m=t.__k.__m),s&&s(n,t);},c$1.__r=function(n){a$1&&a$1(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0;})):(i.__h.forEach(z),i.__h.forEach(B),i.__h=[],t=0)),u=r;},c$1.diffed=function(n){v&&v(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==f.push(t)&&i===c$1.requestAnimationFrame||((i=c$1.requestAnimationFrame)||w)(j)),t.__H.__.forEach(function(n){n.u&&(n.__H=n.u),n.u=void 0;})),u=r=null;},c$1.__c=function(n,t){t.some(function(n){try{n.__h.forEach(z),n.__h=n.__h.filter(function(n){return !n.__||B(n)});}catch(r){t.some(function(n){n.__h&&(n.__h=[]);}),t=[],c$1.__e(r,n.__v);}}),l&&l(n,t);},c$1.unmount=function(n){m$1&&m$1(n);var t,r=n.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{z(n);}catch(n){t=n;}}),r.__H=void 0,t&&c$1.__e(t,r.__v));};var k="function"==typeof requestAnimationFrame;function w(n){var t,r=function(){clearTimeout(u),k&&cancelAnimationFrame(t),setTimeout(n);},u=setTimeout(r,35);k&&(t=requestAnimationFrame(r));}function z(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t;}function B(n){var t=r;n.__c=n.__(),r=t;}function C(n,t){return !n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function D(n,t){return "function"==typeof t?t(n):t}
173
173
 
174
174
  function ascending(a, b) {
175
175
  return a == null || b == null ? NaN : a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;
@@ -5011,8 +5011,8 @@ var drawChart = (function (exports) {
5011
5011
  }));
5012
5012
  };
5013
5013
  const useFilter = () => {
5014
- const [includeFilter, setIncludeFilter] = h("");
5015
- const [excludeFilter, setExcludeFilter] = h("");
5014
+ const [includeFilter, setIncludeFilter] = d("");
5015
+ const [excludeFilter, setExcludeFilter] = d("");
5016
5016
  const setIncludeFilterTrottled = T(() => throttleFilter(setIncludeFilter, 200), []);
5017
5017
  const setExcludeFilterTrottled = T(() => throttleFilter(setExcludeFilter, 200), []);
5018
5018
  const isIncluded = T(() => createFilter(prepareFilter(includeFilter), prepareFilter(excludeFilter)), [includeFilter, excludeFilter]);
@@ -5030,8 +5030,8 @@ var drawChart = (function (exports) {
5030
5030
 
5031
5031
  const PLACEHOLDER = "*/**/file.js";
5032
5032
  const SideBar = ({ availableSizeProperties, sizeProperty, setSizeProperty, onExcludeChange, onIncludeChange, }) => {
5033
- const [includeValue, setIncludeValue] = h("");
5034
- const [excludeValue, setExcludeValue] = h("");
5033
+ const [includeValue, setIncludeValue] = d("");
5034
+ const [excludeValue, setExcludeValue] = d("");
5035
5035
  const handleSizePropertyChange = (sizeProp) => () => {
5036
5036
  if (sizeProp !== sizeProperty) {
5037
5037
  setSizeProperty(sizeProp);
@@ -5059,7 +5059,7 @@ var drawChart = (function (exports) {
5059
5059
  const Tooltip = ({ node, visible }) => {
5060
5060
  const { data } = x$2(StaticContext);
5061
5061
  const ref = A(null);
5062
- const [style, setStyle] = h({});
5062
+ const [style, setStyle] = d({});
5063
5063
  const content = T(() => {
5064
5064
  if (!node)
5065
5065
  return null;
@@ -5134,9 +5134,9 @@ var drawChart = (function (exports) {
5134
5134
  };
5135
5135
  const Network = ({ links, nodes, onNodeHover, onNodeDblClick, getColor, onCanvasClick, onNodeClick, }) => {
5136
5136
  const { width, height } = x$2(StaticContext);
5137
- const [transform, setTransform] = h(identityTransform);
5137
+ const [transform, setTransform] = d(identityTransform);
5138
5138
  const startPosRef = A();
5139
- const [dragging, setDragging] = h(false);
5139
+ const [dragging, setDragging] = d(false);
5140
5140
  const handleMouseDown = (event) => {
5141
5141
  if (event.ctrlKey || event.button) {
5142
5142
  // context menu
@@ -5175,8 +5175,8 @@ var drawChart = (function (exports) {
5175
5175
  };
5176
5176
 
5177
5177
  const Chart = ({ links, nodes, onNodeExclude, getColor, onNodeSelect, }) => {
5178
- const [showTooltip, setShowTooltip] = h(false);
5179
- const [tooltipNode, setTooltipNode] = h(undefined);
5178
+ const [showTooltip, setShowTooltip] = d(false);
5179
+ const [tooltipNode, setTooltipNode] = d(undefined);
5180
5180
  y$2(() => {
5181
5181
  const handleMouseOut = () => {
5182
5182
  setShowTooltip(false);
@@ -5223,8 +5223,8 @@ var drawChart = (function (exports) {
5223
5223
  const getModuleColor = T(() => {
5224
5224
  return createRainbowColor(groups);
5225
5225
  }, [groups]);
5226
- const [excludedNodes, setExcludedNodes] = h([]);
5227
- const [selectedNode, setSelectedNode] = h();
5226
+ const [excludedNodes, setExcludedNodes] = d([]);
5227
+ const [selectedNode, setSelectedNode] = d();
5228
5228
  const { getModuleFilterMultiplier, setExcludeFilter, setIncludeFilter } = useFilter();
5229
5229
  const getColor = (node) => {
5230
5230
  if (selectedNode != null) {
@@ -5274,7 +5274,7 @@ var drawChart = (function (exports) {
5274
5274
  return source && target;
5275
5275
  });
5276
5276
  }, [data.nodeMetas, processedNodes]);
5277
- const [animatedNodes, setAnimatedNodes] = h([]);
5277
+ const [animatedNodes, setAnimatedNodes] = d([]);
5278
5278
  y$2(() => {
5279
5279
  const simulation = forceSimulation()
5280
5280
  .force("collision", forceCollide().radius((node) => node.radius))
@@ -5304,7 +5304,7 @@ var drawChart = (function (exports) {
5304
5304
 
5305
5305
  const NODE_MODULES = /.*(?:\/|\\\\)?node_modules(?:\/|\\\\)([^/\\]+)(?:\/|\\\\).+/;
5306
5306
 
5307
- const StaticContext = J({});
5307
+ const StaticContext = K({});
5308
5308
  const createNodeInfo = (data, availableSizeProperties, uid) => {
5309
5309
  var _a, _b;
5310
5310
  const meta = data.nodeMetas[uid];
@@ -5362,7 +5362,7 @@ var drawChart = (function (exports) {
5362
5362
  }
5363
5363
  groupLayers.push([...newLayer]);
5364
5364
  }
5365
- D$1(u$1(StaticContext.Provider, { value: {
5365
+ E(u$1(StaticContext.Provider, { value: {
5366
5366
  data,
5367
5367
  width,
5368
5368
  height,
@@ -5386,7 +5386,7 @@ var drawChart = (function (exports) {
5386
5386
  </script>
5387
5387
  <script>
5388
5388
  /*<!--*/
5389
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"uid":"3f0882cb-1","name":"constants.ts"},{"uid":"3f0882cb-3","name":"utils.ts"},{"name":"context","children":[{"uid":"3f0882cb-5","name":"ContainerContext.ts"},{"uid":"3f0882cb-13","name":"RowContext.ts"}]},{"uid":"3f0882cb-7","name":"useContext.tsx"},{"name":"Container","children":[{"uid":"3f0882cb-9","name":"styled.ts"},{"uid":"3f0882cb-11","name":"component.tsx"}]},{"name":"Row","children":[{"uid":"3f0882cb-15","name":"styled.ts"},{"uid":"3f0882cb-17","name":"component.tsx"}]},{"name":"Col","children":[{"uid":"3f0882cb-19","name":"styled.ts"},{"uid":"3f0882cb-21","name":"component.tsx"}]},{"uid":"3f0882cb-23","name":"theme.ts"},{"uid":"3f0882cb-25","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"3f0882cb-1":{"renderedLength":313,"gzipLength":214,"brotliLength":0,"metaUid":"3f0882cb-0"},"3f0882cb-3":{"renderedLength":253,"gzipLength":165,"brotliLength":0,"metaUid":"3f0882cb-2"},"3f0882cb-5":{"renderedLength":41,"gzipLength":53,"brotliLength":0,"metaUid":"3f0882cb-4"},"3f0882cb-7":{"renderedLength":610,"gzipLength":266,"brotliLength":0,"metaUid":"3f0882cb-6"},"3f0882cb-9":{"renderedLength":504,"gzipLength":315,"brotliLength":0,"metaUid":"3f0882cb-8"},"3f0882cb-11":{"renderedLength":1072,"gzipLength":524,"brotliLength":0,"metaUid":"3f0882cb-10"},"3f0882cb-13":{"renderedLength":35,"gzipLength":49,"brotliLength":0,"metaUid":"3f0882cb-12"},"3f0882cb-15":{"renderedLength":1171,"gzipLength":563,"brotliLength":0,"metaUid":"3f0882cb-14"},"3f0882cb-17":{"renderedLength":1310,"gzipLength":560,"brotliLength":0,"metaUid":"3f0882cb-16"},"3f0882cb-19":{"renderedLength":1820,"gzipLength":752,"brotliLength":0,"metaUid":"3f0882cb-18"},"3f0882cb-21":{"renderedLength":1042,"gzipLength":484,"brotliLength":0,"metaUid":"3f0882cb-20"},"3f0882cb-23":{"renderedLength":325,"gzipLength":173,"brotliLength":0,"metaUid":"3f0882cb-22"},"3f0882cb-25":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"3f0882cb-24"}},"nodeMetas":{"3f0882cb-0":{"id":"/src/constants.ts","moduleParts":{"index.js":"3f0882cb-1"},"imported":[],"importedBy":[{"uid":"3f0882cb-10"},{"uid":"3f0882cb-16"},{"uid":"3f0882cb-20"},{"uid":"3f0882cb-2"},{"uid":"3f0882cb-6"}]},"3f0882cb-2":{"id":"/src/utils.ts","moduleParts":{"index.js":"3f0882cb-3"},"imported":[{"uid":"3f0882cb-32"},{"uid":"3f0882cb-0"}],"importedBy":[{"uid":"3f0882cb-10"},{"uid":"3f0882cb-16"},{"uid":"3f0882cb-20"},{"uid":"3f0882cb-14"},{"uid":"3f0882cb-18"}]},"3f0882cb-4":{"id":"/src/context/ContainerContext.ts","moduleParts":{"index.js":"3f0882cb-5"},"imported":[{"uid":"3f0882cb-30"}],"importedBy":[{"uid":"3f0882cb-10"},{"uid":"3f0882cb-31"}]},"3f0882cb-6":{"id":"/src/useContext.tsx","moduleParts":{"index.js":"3f0882cb-7"},"imported":[{"uid":"3f0882cb-30"},{"uid":"3f0882cb-32"},{"uid":"3f0882cb-26"},{"uid":"3f0882cb-0"}],"importedBy":[{"uid":"3f0882cb-10"},{"uid":"3f0882cb-16"},{"uid":"3f0882cb-20"}]},"3f0882cb-8":{"id":"/src/Container/styled.ts","moduleParts":{"index.js":"3f0882cb-9"},"imported":[{"uid":"3f0882cb-32"},{"uid":"3f0882cb-26"}],"importedBy":[{"uid":"3f0882cb-10"}]},"3f0882cb-10":{"id":"/src/Container/component.tsx","moduleParts":{"index.js":"3f0882cb-11"},"imported":[{"uid":"3f0882cb-30"},{"uid":"3f0882cb-0"},{"uid":"3f0882cb-2"},{"uid":"3f0882cb-4"},{"uid":"3f0882cb-6"},{"uid":"3f0882cb-8"}],"importedBy":[{"uid":"3f0882cb-27"}]},"3f0882cb-12":{"id":"/src/context/RowContext.ts","moduleParts":{"index.js":"3f0882cb-13"},"imported":[{"uid":"3f0882cb-30"}],"importedBy":[{"uid":"3f0882cb-31"}]},"3f0882cb-14":{"id":"/src/Row/styled.ts","moduleParts":{"index.js":"3f0882cb-15"},"imported":[{"uid":"3f0882cb-32"},{"uid":"3f0882cb-26"},{"uid":"3f0882cb-2"}],"importedBy":[{"uid":"3f0882cb-16"}]},"3f0882cb-16":{"id":"/src/Row/component.tsx","moduleParts":{"index.js":"3f0882cb-17"},"imported":[{"uid":"3f0882cb-30"},{"uid":"3f0882cb-0"},{"uid":"3f0882cb-2"},{"uid":"3f0882cb-6"},{"uid":"3f0882cb-31"},{"uid":"3f0882cb-14"}],"importedBy":[{"uid":"3f0882cb-28"}]},"3f0882cb-18":{"id":"/src/Col/styled.ts","moduleParts":{"index.js":"3f0882cb-19"},"imported":[{"uid":"3f0882cb-32"},{"uid":"3f0882cb-26"},{"uid":"3f0882cb-2"}],"importedBy":[{"uid":"3f0882cb-20"}]},"3f0882cb-20":{"id":"/src/Col/component.tsx","moduleParts":{"index.js":"3f0882cb-21"},"imported":[{"uid":"3f0882cb-30"},{"uid":"3f0882cb-0"},{"uid":"3f0882cb-2"},{"uid":"3f0882cb-6"},{"uid":"3f0882cb-31"},{"uid":"3f0882cb-18"}],"importedBy":[{"uid":"3f0882cb-29"}]},"3f0882cb-22":{"id":"/src/theme.ts","moduleParts":{"index.js":"3f0882cb-23"},"imported":[],"importedBy":[{"uid":"3f0882cb-24"}]},"3f0882cb-24":{"id":"/src/index.ts","moduleParts":{"index.js":"3f0882cb-25"},"imported":[{"uid":"3f0882cb-26"},{"uid":"3f0882cb-27"},{"uid":"3f0882cb-28"},{"uid":"3f0882cb-29"},{"uid":"3f0882cb-22"}],"importedBy":[],"isEntry":true},"3f0882cb-26":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"3f0882cb-24"},{"uid":"3f0882cb-6"},{"uid":"3f0882cb-8"},{"uid":"3f0882cb-14"},{"uid":"3f0882cb-18"}],"isExternal":true},"3f0882cb-27":{"id":"/src/Container/index.ts","moduleParts":{},"imported":[{"uid":"3f0882cb-10"}],"importedBy":[{"uid":"3f0882cb-24"}]},"3f0882cb-28":{"id":"/src/Row/index.ts","moduleParts":{},"imported":[{"uid":"3f0882cb-16"}],"importedBy":[{"uid":"3f0882cb-24"}]},"3f0882cb-29":{"id":"/src/Col/index.ts","moduleParts":{},"imported":[{"uid":"3f0882cb-20"}],"importedBy":[{"uid":"3f0882cb-24"}]},"3f0882cb-30":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"3f0882cb-10"},{"uid":"3f0882cb-16"},{"uid":"3f0882cb-20"},{"uid":"3f0882cb-4"},{"uid":"3f0882cb-6"},{"uid":"3f0882cb-12"}],"isExternal":true},"3f0882cb-31":{"id":"/src/context/index.ts","moduleParts":{},"imported":[{"uid":"3f0882cb-4"},{"uid":"3f0882cb-12"}],"importedBy":[{"uid":"3f0882cb-16"},{"uid":"3f0882cb-20"}]},"3f0882cb-32":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"3f0882cb-2"},{"uid":"3f0882cb-6"},{"uid":"3f0882cb-8"},{"uid":"3f0882cb-14"},{"uid":"3f0882cb-18"}],"isExternal":true}},"env":{"rollup":"4.55.1"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
5389
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"uid":"d3ff3e47-1","name":"constants.ts"},{"name":"context","children":[{"uid":"d3ff3e47-3","name":"ContainerContext.ts"},{"uid":"d3ff3e47-5","name":"RowContext.ts"},{"uid":"d3ff3e47-7","name":"index.ts"}]},{"uid":"d3ff3e47-9","name":"useContext.tsx"},{"uid":"d3ff3e47-11","name":"utils.ts"},{"name":"Col","children":[{"uid":"d3ff3e47-13","name":"styled.ts"},{"uid":"d3ff3e47-15","name":"component.tsx"},{"uid":"d3ff3e47-17","name":"index.ts"}]},{"name":"Container","children":[{"uid":"d3ff3e47-19","name":"styled.ts"},{"uid":"d3ff3e47-21","name":"component.tsx"},{"uid":"d3ff3e47-23","name":"index.ts"}]},{"name":"Row","children":[{"uid":"d3ff3e47-25","name":"styled.ts"},{"uid":"d3ff3e47-27","name":"component.tsx"},{"uid":"d3ff3e47-29","name":"index.ts"}]},{"uid":"d3ff3e47-31","name":"theme.ts"},{"uid":"d3ff3e47-33","name":"index.ts"}]}]}],"isRoot":true},"nodeParts":{"d3ff3e47-1":{"renderedLength":359,"gzipLength":261,"brotliLength":0,"metaUid":"d3ff3e47-0"},"d3ff3e47-3":{"renderedLength":295,"gzipLength":213,"brotliLength":0,"metaUid":"d3ff3e47-2"},"d3ff3e47-5":{"renderedLength":281,"gzipLength":216,"brotliLength":0,"metaUid":"d3ff3e47-4"},"d3ff3e47-7":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"d3ff3e47-6"},"d3ff3e47-9":{"renderedLength":569,"gzipLength":277,"brotliLength":0,"metaUid":"d3ff3e47-8"},"d3ff3e47-11":{"renderedLength":557,"gzipLength":309,"brotliLength":0,"metaUid":"d3ff3e47-10"},"d3ff3e47-13":{"renderedLength":2131,"gzipLength":995,"brotliLength":0,"metaUid":"d3ff3e47-12"},"d3ff3e47-15":{"renderedLength":1040,"gzipLength":591,"brotliLength":0,"metaUid":"d3ff3e47-14"},"d3ff3e47-17":{"renderedLength":71,"gzipLength":87,"brotliLength":0,"metaUid":"d3ff3e47-16"},"d3ff3e47-19":{"renderedLength":730,"gzipLength":432,"brotliLength":0,"metaUid":"d3ff3e47-18"},"d3ff3e47-21":{"renderedLength":1570,"gzipLength":748,"brotliLength":0,"metaUid":"d3ff3e47-20"},"d3ff3e47-23":{"renderedLength":83,"gzipLength":92,"brotliLength":0,"metaUid":"d3ff3e47-22"},"d3ff3e47-25":{"renderedLength":1175,"gzipLength":607,"brotliLength":0,"metaUid":"d3ff3e47-24"},"d3ff3e47-27":{"renderedLength":1551,"gzipLength":726,"brotliLength":0,"metaUid":"d3ff3e47-26"},"d3ff3e47-29":{"renderedLength":69,"gzipLength":85,"brotliLength":0,"metaUid":"d3ff3e47-28"},"d3ff3e47-31":{"renderedLength":420,"gzipLength":295,"brotliLength":0,"metaUid":"d3ff3e47-30"},"d3ff3e47-33":{"renderedLength":0,"gzipLength":0,"brotliLength":0,"metaUid":"d3ff3e47-32"}},"nodeMetas":{"d3ff3e47-0":{"id":"/src/constants.ts","moduleParts":{"index.js":"d3ff3e47-1"},"imported":[],"importedBy":[{"uid":"d3ff3e47-14"},{"uid":"d3ff3e47-20"},{"uid":"d3ff3e47-26"},{"uid":"d3ff3e47-8"},{"uid":"d3ff3e47-10"}]},"d3ff3e47-2":{"id":"/src/context/ContainerContext.ts","moduleParts":{"index.js":"d3ff3e47-3"},"imported":[{"uid":"d3ff3e47-35"}],"importedBy":[{"uid":"d3ff3e47-20"},{"uid":"d3ff3e47-6"}]},"d3ff3e47-4":{"id":"/src/context/RowContext.ts","moduleParts":{"index.js":"d3ff3e47-5"},"imported":[{"uid":"d3ff3e47-35"}],"importedBy":[{"uid":"d3ff3e47-6"}]},"d3ff3e47-6":{"id":"/src/context/index.ts","moduleParts":{"index.js":"d3ff3e47-7"},"imported":[{"uid":"d3ff3e47-2"},{"uid":"d3ff3e47-4"}],"importedBy":[{"uid":"d3ff3e47-14"},{"uid":"d3ff3e47-26"}]},"d3ff3e47-8":{"id":"/src/useContext.tsx","moduleParts":{"index.js":"d3ff3e47-9"},"imported":[{"uid":"d3ff3e47-37"},{"uid":"d3ff3e47-34"},{"uid":"d3ff3e47-35"},{"uid":"d3ff3e47-0"}],"importedBy":[{"uid":"d3ff3e47-14"},{"uid":"d3ff3e47-20"},{"uid":"d3ff3e47-26"}]},"d3ff3e47-10":{"id":"/src/utils.ts","moduleParts":{"index.js":"d3ff3e47-11"},"imported":[{"uid":"d3ff3e47-37"},{"uid":"d3ff3e47-0"}],"importedBy":[{"uid":"d3ff3e47-14"},{"uid":"d3ff3e47-20"},{"uid":"d3ff3e47-26"},{"uid":"d3ff3e47-12"},{"uid":"d3ff3e47-24"}]},"d3ff3e47-12":{"id":"/src/Col/styled.ts","moduleParts":{"index.js":"d3ff3e47-13"},"imported":[{"uid":"d3ff3e47-37"},{"uid":"d3ff3e47-34"},{"uid":"d3ff3e47-10"}],"importedBy":[{"uid":"d3ff3e47-14"}]},"d3ff3e47-14":{"id":"/src/Col/component.tsx","moduleParts":{"index.js":"d3ff3e47-15"},"imported":[{"uid":"d3ff3e47-35"},{"uid":"d3ff3e47-0"},{"uid":"d3ff3e47-6"},{"uid":"d3ff3e47-8"},{"uid":"d3ff3e47-10"},{"uid":"d3ff3e47-12"},{"uid":"d3ff3e47-36"}],"importedBy":[{"uid":"d3ff3e47-16"}]},"d3ff3e47-16":{"id":"/src/Col/index.ts","moduleParts":{"index.js":"d3ff3e47-17"},"imported":[{"uid":"d3ff3e47-14"}],"importedBy":[{"uid":"d3ff3e47-32"}]},"d3ff3e47-18":{"id":"/src/Container/styled.ts","moduleParts":{"index.js":"d3ff3e47-19"},"imported":[{"uid":"d3ff3e47-37"},{"uid":"d3ff3e47-34"}],"importedBy":[{"uid":"d3ff3e47-20"}]},"d3ff3e47-20":{"id":"/src/Container/component.tsx","moduleParts":{"index.js":"d3ff3e47-21"},"imported":[{"uid":"d3ff3e47-35"},{"uid":"d3ff3e47-0"},{"uid":"d3ff3e47-2"},{"uid":"d3ff3e47-8"},{"uid":"d3ff3e47-10"},{"uid":"d3ff3e47-18"},{"uid":"d3ff3e47-36"}],"importedBy":[{"uid":"d3ff3e47-22"}]},"d3ff3e47-22":{"id":"/src/Container/index.ts","moduleParts":{"index.js":"d3ff3e47-23"},"imported":[{"uid":"d3ff3e47-20"}],"importedBy":[{"uid":"d3ff3e47-32"}]},"d3ff3e47-24":{"id":"/src/Row/styled.ts","moduleParts":{"index.js":"d3ff3e47-25"},"imported":[{"uid":"d3ff3e47-37"},{"uid":"d3ff3e47-34"},{"uid":"d3ff3e47-10"}],"importedBy":[{"uid":"d3ff3e47-26"}]},"d3ff3e47-26":{"id":"/src/Row/component.tsx","moduleParts":{"index.js":"d3ff3e47-27"},"imported":[{"uid":"d3ff3e47-35"},{"uid":"d3ff3e47-0"},{"uid":"d3ff3e47-6"},{"uid":"d3ff3e47-8"},{"uid":"d3ff3e47-10"},{"uid":"d3ff3e47-24"},{"uid":"d3ff3e47-36"}],"importedBy":[{"uid":"d3ff3e47-28"}]},"d3ff3e47-28":{"id":"/src/Row/index.ts","moduleParts":{"index.js":"d3ff3e47-29"},"imported":[{"uid":"d3ff3e47-26"}],"importedBy":[{"uid":"d3ff3e47-32"}]},"d3ff3e47-30":{"id":"/src/theme.ts","moduleParts":{"index.js":"d3ff3e47-31"},"imported":[],"importedBy":[{"uid":"d3ff3e47-32"}]},"d3ff3e47-32":{"id":"/src/index.ts","moduleParts":{"index.js":"d3ff3e47-33"},"imported":[{"uid":"d3ff3e47-34"},{"uid":"d3ff3e47-16"},{"uid":"d3ff3e47-22"},{"uid":"d3ff3e47-28"},{"uid":"d3ff3e47-30"}],"importedBy":[],"isEntry":true},"d3ff3e47-34":{"id":"@vitus-labs/unistyle","moduleParts":{},"imported":[],"importedBy":[{"uid":"d3ff3e47-32"},{"uid":"d3ff3e47-8"},{"uid":"d3ff3e47-12"},{"uid":"d3ff3e47-18"},{"uid":"d3ff3e47-24"}]},"d3ff3e47-35":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"d3ff3e47-14"},{"uid":"d3ff3e47-20"},{"uid":"d3ff3e47-26"},{"uid":"d3ff3e47-8"},{"uid":"d3ff3e47-2"},{"uid":"d3ff3e47-4"}]},"d3ff3e47-36":{"id":"react/jsx-runtime","moduleParts":{},"imported":[],"importedBy":[{"uid":"d3ff3e47-14"},{"uid":"d3ff3e47-20"},{"uid":"d3ff3e47-26"}]},"d3ff3e47-37":{"id":"@vitus-labs/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"d3ff3e47-8"},{"uid":"d3ff3e47-10"},{"uid":"d3ff3e47-12"},{"uid":"d3ff3e47-18"},{"uid":"d3ff3e47-24"}]}},"env":{"rollup":"4.23.0"},"options":{"gzip":true,"brotli":false,"sourcemap":false}};
5390
5390
 
5391
5391
  const run = () => {
5392
5392
  const width = window.innerWidth;