@iamfiro/design 0.3.0 → 0.3.1
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/lib/components/Accordion/Accordion2.js +86 -86
- package/lib/components/ActionBar/ActionBar2.js +44 -43
- package/lib/components/Alert/Alert2.js +79 -79
- package/lib/components/AppShell/AppShell2.js +58 -58
- package/lib/components/AreaChart/AreaChart.js +41 -41
- package/lib/components/BarChart/BarChart2.js +110 -110
- package/lib/components/BarList/BarList2.js +95 -95
- package/lib/components/Breadcrumb/Breadcrumb2.js +62 -59
- package/lib/components/Calendar/Calendar2.js +202 -202
- package/lib/components/Calendar/DatePicker2.js +122 -123
- package/lib/components/Calendar/date.js +57 -60
- package/lib/components/Card/Card2.js +62 -63
- package/lib/components/CardFrame/CardFrame2.js +43 -48
- package/lib/components/Chart/ChartParts.js +80 -80
- package/lib/components/Chart/chart2.js +57 -57
- package/lib/components/Chart/useChartInteraction.js +49 -49
- package/lib/components/ChatBubble/ChatBubble2.js +87 -87
- package/lib/components/ChatBubble/formatChatTime.js +34 -39
- package/lib/components/ChatComposer/ChatComposer2.js +97 -97
- package/lib/components/CodeBlock/CodeBlock2.js +60 -60
- package/lib/components/CodeBlock/highlight.js +75 -78
- package/lib/components/ColorPicker/ColorPicker2.js +383 -384
- package/lib/components/ColorPicker/color.js +74 -74
- package/lib/components/ColorPicker/presets.js +41 -46
- package/lib/components/Combobox/Combobox2.js +130 -131
- package/lib/components/CommandMenu/CommandMenu.js +137 -137
- package/lib/components/Comment/Comment2.js +64 -88
- package/lib/components/ContextMenu/ContextMenu2.js +87 -87
- package/lib/components/DataGrid/DataGrid2.js +911 -909
- package/lib/components/DataGrid/GridPopover.js +114 -114
- package/lib/components/DataGrid/anchor.js +25 -25
- package/lib/components/DataGrid/model.js +281 -282
- package/lib/components/DataGrid/panels.js +427 -429
- package/lib/components/DataGrid/typeMeta.js +50 -51
- package/lib/components/DataGrid/types.js +39 -40
- package/lib/components/DescriptionList/DescriptionList2.js +104 -104
- package/lib/components/Dialog/AlertDialog.js +85 -84
- package/lib/components/Dialog/Dialog2.js +72 -71
- package/lib/components/Dialog/modal.js +68 -68
- package/lib/components/Drawer/Drawer2.js +100 -100
- package/lib/components/DropdownMenu/DropdownMenu2.js +267 -268
- package/lib/components/DropdownMenu/menuCore.js +36 -36
- package/lib/components/Dropzone/Dropzone2.js +66 -65
- package/lib/components/EmptyState/EmptyState2.js +52 -54
- package/lib/components/FileChip/FileChip2.js +42 -66
- package/lib/components/FileUpload/FileUpload.js +171 -170
- package/lib/components/FilterChips/FilterChips2.js +54 -54
- package/lib/components/FunnelChart/FunnelChart2.js +144 -144
- package/lib/components/FunnelChart/funnel.js +56 -53
- package/lib/components/Highlight/Highlight2.js +60 -60
- package/lib/components/HoverCard/HoverCard.js +72 -72
- package/lib/components/InlineDiff/InlineDiff2.js +112 -112
- package/lib/components/InlineDiff/diff.js +81 -81
- package/lib/components/InlineDiff/useDiffReview.js +54 -53
- package/lib/components/Kanban/Kanban2.js +372 -372
- package/lib/components/Kanban/KanbanCard.js +80 -80
- package/lib/components/Kanban/move.js +55 -55
- package/lib/components/LineChart/LineChart2.js +167 -167
- package/lib/components/List/List2.js +64 -65
- package/lib/components/Listbox/Listbox2.js +105 -105
- package/lib/components/Marker/Marker2.js +54 -54
- package/lib/components/Menubar/Menubar2.js +112 -113
- package/lib/components/MultiSelect/MultiSelect2.js +106 -106
- package/lib/components/NavigationMenu/NavigationMenu2.js +227 -227
- package/lib/components/NoticeStack/NoticeStack2.js +115 -115
- package/lib/components/NumberStepper/NumberStepper2.js +69 -70
- package/lib/components/OtpInput/OtpInput2.js +87 -87
- package/lib/components/Pagination/Pagination2.js +97 -97
- package/lib/components/Pagination/paginationRange.js +23 -24
- package/lib/components/PhoneInput/PhoneInput.js +85 -85
- package/lib/components/PieChart/PieChart2.js +116 -116
- package/lib/components/PieChart/arc.js +80 -56
- package/lib/components/PieChart/useArcTween.js +57 -59
- package/lib/components/Popover/Popover2.js +59 -60
- package/lib/components/ProgressTracker/ProgressTracker2.js +116 -116
- package/lib/components/Rating/Rating2.js +93 -93
- package/lib/components/Resizable/Resizable2.js +136 -134
- package/lib/components/Resizable/layout.js +73 -73
- package/lib/components/ScaledPreview/ScaledPreview2.js +57 -58
- package/lib/components/ScatterChart/ScatterChart2.js +252 -253
- package/lib/components/ScatterChart/scatter.js +58 -56
- package/lib/components/ScrollArea/ScrollArea2.js +133 -134
- package/lib/components/Select/Select2.js +89 -89
- package/lib/components/Sidebar/Sidebar2.js +76 -76
- package/lib/components/Skeleton/Skeleton2.js +67 -67
- package/lib/components/Slider/Slider2.js +67 -67
- package/lib/components/SocialLoginButton/SocialLoginButton.js +46 -47
- package/lib/components/SparkChart/SparkChart2.js +130 -130
- package/lib/components/SparkChart/spark.js +57 -62
- package/lib/components/Sparkbar/Sparkbar2.js +44 -44
- package/lib/components/SplitView/SplitView2.js +53 -53
- package/lib/components/Stat/Stat2.js +83 -83
- package/lib/components/StepList/StepList2.js +73 -73
- package/lib/components/Table/Table2.js +45 -45
- package/lib/components/Tabs/Tabs2.js +87 -87
- package/lib/components/TagInput/TagInput2.js +231 -234
- package/lib/components/TimePicker/TimePicker2.js +195 -195
- package/lib/components/TimePicker/time.js +60 -62
- package/lib/components/Timeline/Timeline2.js +199 -199
- package/lib/components/Timeline/scale.js +56 -58
- package/lib/components/Toast/Toaster.js +153 -152
- package/lib/components/Toast/store.js +57 -58
- package/lib/components/ToggleGroup/ToggleGroup2.js +74 -74
- package/lib/components/Toolbar/Toolbar2.js +135 -133
- package/lib/components/Tracker/Tracker2.js +83 -83
- package/lib/components/TreeDiagram/TreeDiagram2.js +103 -103
- package/lib/components/TreeView/TreeView2.js +165 -163
- package/lib/hooks/timing.js +33 -31
- package/lib/hooks/useControllableState.js +42 -42
- package/lib/hooks/useCountdown.js +58 -63
- package/lib/hooks/useDigitInput.js +75 -77
- package/lib/hooks/useDismiss.js +50 -52
- package/lib/hooks/useElapsed.js +58 -56
- package/lib/hooks/useFloating.js +44 -44
- package/lib/hooks/useFocusTrap.js +64 -40
- package/lib/hooks/usePresence.js +48 -50
- package/lib/hooks/usePressToOpen.js +52 -51
- package/lib/hooks/useScrollLock.js +49 -48
- package/lib/hooks/useSelection.js +37 -40
- package/lib/index.js +70 -69
- package/lib/primitives/AspectRatio2.js +50 -54
- package/lib/primitives/BrandIcon.js +153 -153
- package/lib/primitives/ColorDot2.js +49 -48
- package/lib/primitives/CopyButton2.js +59 -58
- package/lib/primitives/CountBadge2.js +57 -55
- package/lib/primitives/Countdown2.js +45 -49
- package/lib/primitives/Delta2.js +71 -46
- package/lib/primitives/Elapsed.js +43 -43
- package/lib/primitives/FileIcon2.js +93 -93
- package/lib/primitives/Flag2.js +95 -95
- package/lib/primitives/IconStack2.js +55 -55
- package/lib/primitives/IconTile2.js +46 -45
- package/lib/primitives/Kbd2.js +55 -55
- package/lib/primitives/Layout2.js +80 -80
- package/lib/primitives/Link2.js +36 -34
- package/lib/primitives/MaskedText2.js +65 -64
- package/lib/primitives/Progress2.js +80 -80
- package/lib/primitives/RelativeTime.js +52 -54
- package/lib/primitives/SearchInput2.js +55 -54
- package/lib/primitives/SelectorButton2.js +64 -65
- package/lib/primitives/Spinner2.js +55 -59
- package/lib/primitives/StatusIcon2.js +65 -65
- package/lib/primitives/Swatch2.js +50 -50
- package/lib/primitives/Tooltip2.js +85 -85
- package/lib/primitives/Typography2.js +66 -66
- package/lib/primitives/formatCountdown.js +43 -40
- package/lib/primitives/formatElapsed.js +24 -27
- package/lib/primitives/formatRelativeTime.js +43 -43
- package/lib/primitives/hotkey.js +71 -71
- package/lib/primitives/index.js +156 -157
- package/lib/primitives/maskValue.js +38 -34
- package/lib/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,125 +1,125 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
(
|
|
4
|
-
|
|
2
|
+
function e() {
|
|
3
|
+
let t = /* @__PURE__ */ "C3zN.Aw5JBhvKzxm.mJjxzhPRreC.mtmUmJu.ownWAM5gDW.DMfYkc0TzMLSzs0.zhmTzMLSzs1Py29Ux19MB2XK.y29Kzq.C2XPzgu.nK13CKXWsG.DMLKzw8.CgrM.yxvKAw8.otG0otmWnhvnrgDKBq.C3bSAxq.mty3ota1vxbmAuru.nJG4odK5uMrOuM9U.C2XPy2u.otm1mduZn0vpDe1Iwa.Dg9mB3DLCKnHC2u.yxjJAgL2zq.CMvJDa.ms41.ntiWnte5mMTPAg1YvG.otGXnZe1mgrNz3DjAq.zg9J.Aw1Hz2u.mJaZndK1A0XbB2Dj.mtbvsvzns1i.B3rOzxi.zhmTzMLSzs1Py29Ux190ywi.BM9Uzq.Cgf0Aa.ns41.C2HLzxq.ChjLC2vUDgf0Aw9U.mtjJDwH1uui.AM9PBG.mcaWidi0idi0".split(".");
|
|
4
|
+
return e = function() {
|
|
5
|
+
return t;
|
|
6
|
+
}, e();
|
|
7
|
+
}
|
|
8
|
+
const t = n;
|
|
9
|
+
(function(e, t) {
|
|
10
|
+
let r = n, i = e();
|
|
5
11
|
for (;;) try {
|
|
6
|
-
if (-parseInt(r(
|
|
12
|
+
if (-parseInt(r(388)) / 1 + -parseInt(r(389)) / 2 * (-parseInt(r(377)) / 3) + -parseInt(r(358)) / 4 * (parseInt(r(376)) / 5) + parseInt(r(370)) / 6 * (parseInt(r(379)) / 7) + -parseInt(r(374)) / 8 * (parseInt(r(365)) / 9) + -parseInt(r(385)) / 10 + parseInt(r(363)) / 11 * (parseInt(r(384)) / 12) == t) break;
|
|
7
13
|
i.push(i.shift());
|
|
8
14
|
} catch {
|
|
9
15
|
i.push(i.shift());
|
|
10
16
|
}
|
|
11
|
-
})(
|
|
12
|
-
function t
|
|
13
|
-
|
|
14
|
-
let
|
|
15
|
-
|
|
17
|
+
})(e, 834372);
|
|
18
|
+
function n(t, r) {
|
|
19
|
+
t -= 356;
|
|
20
|
+
let i = e(), a = i[t];
|
|
21
|
+
n.ZVBLvU === void 0 && (n.xroKNK = function(e) {
|
|
16
22
|
let t = "", n = "";
|
|
17
23
|
for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
|
|
18
24
|
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
19
25
|
return decodeURIComponent(n);
|
|
20
|
-
},
|
|
21
|
-
let
|
|
22
|
-
|
|
23
|
-
let
|
|
24
|
-
return
|
|
26
|
+
}, n.iyONVg = {}, n.ZVBLvU = !0);
|
|
27
|
+
let o = i[0];
|
|
28
|
+
n.agfzXF !== o && (n.iyONVg = {}, n.agfzXF = o);
|
|
29
|
+
let s = n.iyONVg[t];
|
|
30
|
+
return s === void 0 ? (a = n.xroKNK(a), n.iyONVg[t] = a) : a = s, a;
|
|
25
31
|
}
|
|
26
32
|
/* empty css */
|
|
27
|
-
import { jsx as
|
|
28
|
-
var
|
|
29
|
-
pdf:
|
|
30
|
-
png:
|
|
31
|
-
jpg:
|
|
32
|
-
jpeg:
|
|
33
|
-
gif:
|
|
34
|
-
webp:
|
|
35
|
-
svg:
|
|
36
|
-
heic:
|
|
37
|
-
avif:
|
|
38
|
-
xls:
|
|
39
|
-
xlsx:
|
|
40
|
-
csv:
|
|
41
|
-
tsv:
|
|
42
|
-
numbers:
|
|
43
|
-
doc:
|
|
44
|
-
docx:
|
|
45
|
-
txt:
|
|
46
|
-
md:
|
|
33
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
34
|
+
var a = {
|
|
35
|
+
pdf: t(372),
|
|
36
|
+
png: t(387),
|
|
37
|
+
jpg: t(387),
|
|
38
|
+
jpeg: "image",
|
|
39
|
+
gif: t(387),
|
|
40
|
+
webp: t(387),
|
|
41
|
+
svg: t(387),
|
|
42
|
+
heic: t(387),
|
|
43
|
+
avif: t(387),
|
|
44
|
+
xls: "sheet",
|
|
45
|
+
xlsx: t(356),
|
|
46
|
+
csv: "sheet",
|
|
47
|
+
tsv: t(356),
|
|
48
|
+
numbers: "sheet",
|
|
49
|
+
doc: "doc",
|
|
50
|
+
docx: t(386),
|
|
51
|
+
txt: t(386),
|
|
52
|
+
md: t(386),
|
|
47
53
|
rtf: "doc",
|
|
48
|
-
hwp:
|
|
54
|
+
hwp: t(386),
|
|
49
55
|
hwpx: "doc",
|
|
50
|
-
pages:
|
|
51
|
-
ppt:
|
|
52
|
-
pptx:
|
|
53
|
-
key:
|
|
54
|
-
mp4:
|
|
55
|
-
mov:
|
|
56
|
-
webm:
|
|
57
|
-
avi:
|
|
58
|
-
mkv:
|
|
59
|
-
mp3:
|
|
60
|
-
wav:
|
|
61
|
-
m4a:
|
|
62
|
-
aac:
|
|
63
|
-
flac:
|
|
64
|
-
zip:
|
|
65
|
-
rar:
|
|
66
|
-
"7z":
|
|
67
|
-
tar:
|
|
68
|
-
gz:
|
|
69
|
-
js:
|
|
70
|
-
ts:
|
|
71
|
-
tsx:
|
|
72
|
-
json:
|
|
73
|
-
html:
|
|
74
|
-
css:
|
|
75
|
-
py:
|
|
56
|
+
pages: t(386),
|
|
57
|
+
ppt: t(369),
|
|
58
|
+
pptx: t(369),
|
|
59
|
+
key: t(369),
|
|
60
|
+
mp4: t(371),
|
|
61
|
+
mov: t(371),
|
|
62
|
+
webm: t(371),
|
|
63
|
+
avi: "video",
|
|
64
|
+
mkv: t(371),
|
|
65
|
+
mp3: t(373),
|
|
66
|
+
wav: t(373),
|
|
67
|
+
m4a: "audio",
|
|
68
|
+
aac: "audio",
|
|
69
|
+
flac: t(373),
|
|
70
|
+
zip: t(381),
|
|
71
|
+
rar: t(381),
|
|
72
|
+
"7z": t(381),
|
|
73
|
+
tar: "archive",
|
|
74
|
+
gz: t(381),
|
|
75
|
+
js: t(368),
|
|
76
|
+
ts: t(368),
|
|
77
|
+
tsx: t(368),
|
|
78
|
+
json: t(368),
|
|
79
|
+
html: t(368),
|
|
80
|
+
css: t(368),
|
|
81
|
+
py: t(368)
|
|
76
82
|
};
|
|
77
|
-
function
|
|
78
|
-
let n =
|
|
83
|
+
function o(e) {
|
|
84
|
+
let n = t, r = e[n(380)]();
|
|
79
85
|
if (r.includes("/")) {
|
|
80
|
-
let [e, t] = r[n(
|
|
81
|
-
return e === n(
|
|
86
|
+
let [e, t] = r[n(375)]("/");
|
|
87
|
+
return e === n(387) || e === "video" || e === n(373) ? e : a[t] ?? (t[n(362)](n(356)) ? n(356) : t.includes(n(357)) ? n(369) : n(390));
|
|
82
88
|
}
|
|
83
|
-
return
|
|
89
|
+
return a[r[n(378)](r.lastIndexOf(".") + 1)] ?? n(390);
|
|
84
90
|
}
|
|
85
|
-
function
|
|
86
|
-
let l =
|
|
87
|
-
return
|
|
88
|
-
className: [
|
|
91
|
+
function s({ name: e = "", kind: n, size: a = 20, className: s, style: c }) {
|
|
92
|
+
let l = t, u = n ?? o(e);
|
|
93
|
+
return i(l(361), {
|
|
94
|
+
className: ["ds-file-icon", s].filter(Boolean)[l(359)](" "),
|
|
89
95
|
style: {
|
|
90
|
-
"--_c":
|
|
96
|
+
"--_c": l(366) + u + ")",
|
|
91
97
|
...c
|
|
92
98
|
},
|
|
93
99
|
"data-kind": u,
|
|
94
|
-
width:
|
|
95
|
-
height:
|
|
96
|
-
viewBox: l(
|
|
97
|
-
fill: l(
|
|
100
|
+
width: a,
|
|
101
|
+
height: a,
|
|
102
|
+
viewBox: l(360),
|
|
103
|
+
fill: l(392),
|
|
98
104
|
"aria-hidden": !0,
|
|
99
105
|
children: [
|
|
100
|
-
|
|
101
|
-
className:
|
|
102
|
-
d:
|
|
106
|
+
r("path", {
|
|
107
|
+
className: "ds-file-icon__page",
|
|
108
|
+
d: "M6.5 2.75h7.25l4.5 4.5v12.5a1.5 1.5 0 0 1-1.5 1.5H6.5A1.5 1.5 0 0 1 5 19.75v-15.5a1.5 1.5 0 0 1 1.5-1.5Z"
|
|
103
109
|
}),
|
|
104
|
-
|
|
105
|
-
className:
|
|
106
|
-
d:
|
|
110
|
+
r(l(393), {
|
|
111
|
+
className: l(367),
|
|
112
|
+
d: "M13.5 2.75v3.5a1 1 0 0 0 1 1h3.75"
|
|
107
113
|
}),
|
|
108
|
-
|
|
109
|
-
className:
|
|
114
|
+
r(l(382), {
|
|
115
|
+
className: l(391),
|
|
110
116
|
x: "3",
|
|
111
|
-
y: l(
|
|
117
|
+
y: l(364),
|
|
112
118
|
width: "11",
|
|
113
|
-
height: l(
|
|
114
|
-
rx:
|
|
119
|
+
height: l(394),
|
|
120
|
+
rx: l(383)
|
|
115
121
|
})
|
|
116
122
|
]
|
|
117
123
|
});
|
|
118
124
|
}
|
|
119
|
-
|
|
120
|
-
let e = /* @__PURE__ */ "B3rOzxi.mtHTAwfytNu.C3zN.zMLSDgvY.yxvKAw8.mJi0v1b5ywfU.yxjJAgL2zq.C2XPzgu.C3bSAxq.ttyUnsaYlJC1AdCUmJvSnc41idqUnxyXmI41yteUnsaXlJuGmcaWideTms41ideUnuG2lJvbms41ideUnsaWidaGmsa1ide5lJC1DI0Xns41yteUnsaXlJuGmcaWideGms41lteUnvO.odGXmffMuxbNqq.BM9Uzq.mJa5sw5mzwjs.zhmTzMLSzs1Py29U.zhmTzMLSzs1Py29Ux19WywDL.mte5ndqZmdvwyM9KAey.CgrM.Cgf0Aa.ns41.mtGWAwTftMHy.Dg9mB3DLCKnHC2u.y29Kzq.zg9J.C2HLzxq.mcaWidi0idi0.odC3mNv3DKTjvG.Aw5JBhvKzxm.nZGWotfqs2Tzy0u.mtmUmJu.C2XPy2u.mJm2nZCZmhzrv2j1rG.DMLKzw8.tteZlJuGmI43nxyZlJvHmsaXidaGmcaWideGmwGZlJC1.mteZota3nJrMuwrLA3m.mte0nZnQu1PjsMu.AM9PBG.Aw1Hz2u.oeHVsxPKDq.ntK2EMryD1vU.CMvJDa".split(".");
|
|
121
|
-
return s = function() {
|
|
122
|
-
return e;
|
|
123
|
-
}, s();
|
|
124
|
-
}
|
|
125
|
-
export { o as FileIcon, a as fileKind };
|
|
125
|
+
export { s as FileIcon, o as fileKind };
|
package/lib/primitives/Flag2.js
CHANGED
|
@@ -1,42 +1,48 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e =
|
|
2
|
+
const e = l;
|
|
3
3
|
(function(e, t) {
|
|
4
|
-
let n =
|
|
4
|
+
let n = l, r = e();
|
|
5
5
|
for (;;) try {
|
|
6
|
-
if (parseInt(n(
|
|
6
|
+
if (-parseInt(n(264)) / 1 * (-parseInt(n(258)) / 2) + parseInt(n(300)) / 3 * (-parseInt(n(263)) / 4) + -parseInt(n(295)) / 5 * (parseInt(n(269)) / 6) + -parseInt(n(290)) / 7 * (-parseInt(n(286)) / 8) + parseInt(n(292)) / 9 + -parseInt(n(283)) / 10 + parseInt(n(299)) / 11 == t) break;
|
|
7
7
|
r.push(r.shift());
|
|
8
8
|
} catch {
|
|
9
9
|
r.push(r.shift());
|
|
10
10
|
}
|
|
11
|
-
})(
|
|
11
|
+
})(s, 638600);
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
14
14
|
var i = 36, a = 24;
|
|
15
15
|
function o(e, t, r, i = 0) {
|
|
16
|
-
let a =
|
|
16
|
+
let a = l, o = Array[a(268)]({ length: 10 }, (n, o) => {
|
|
17
17
|
let s = a, c = (i + o * 36) * Math.PI / 180, l = o % 2 ? r * .382 : r;
|
|
18
|
-
return (e + l * Math[s(
|
|
18
|
+
return (e + l * Math[s(284)](c))[s(275)](2) + "," + (t - l * Math[s(298)](c))[s(275)](2);
|
|
19
19
|
});
|
|
20
|
-
return n(a(
|
|
20
|
+
return n(a(272), { points: o[a(285)](" ") });
|
|
21
21
|
}
|
|
22
|
-
function s(
|
|
23
|
-
let
|
|
22
|
+
function s() {
|
|
23
|
+
let e = /* @__PURE__ */ "iZaWma.mteXnZa5ntbksNLsyw8.C2LU.AM9PBG.mteYuxjmCwf6.DhjHBNnSyxrLka.i2zMy2uWma.tte4idbwmJrnmcaXmKGZnG.nda2mtG5CwvcsNbZ.i2zMy2qWma.mta1otK0odbkDwHkAxK.zMXVB3i.ide4ideYkq.mtvlq2nozwK.zhmTzMXHzW.i2rKmdaWma.y29Z.odu1mti1n3j1sK1lqW.nZC5oty0t3DOsfDv.CMvJDa.mLz2zLfptq.iZaWmJy1na.tteYideYytyGnIaWidaGmsaXmIaWEG.i2rLmJKXma.BM9Uzq.mtzmCMXoyMy.mtaXnJm1ow5bEgfHBq.i2iYmJiZna.iZnJm2i2zq.Cgf0Aa.zNjVBq.mtK3nJm5nefiCxjzzW.y2LYy2XL.C3bHBG.Cg9SEwDVBG.i2nKmMuZyq.i2zMzG.Dg9gAxHLza.i2m4mtaYzq.Aw1N.iZaWndDHma.mcaWia.zMLSDgvY.i2rHmJuXza".split(".");
|
|
24
|
+
return s = function() {
|
|
25
|
+
return e;
|
|
26
|
+
}, s();
|
|
27
|
+
}
|
|
28
|
+
function c(e, t, i, a) {
|
|
29
|
+
let o = l;
|
|
24
30
|
return n("g", {
|
|
25
|
-
transform:
|
|
26
|
-
fill:
|
|
27
|
-
children: a
|
|
31
|
+
transform: o(287) + e + " " + t + ") rotate(" + i + ")",
|
|
32
|
+
fill: o(282),
|
|
33
|
+
children: a.map((e, t) => {
|
|
28
34
|
let i = o, a = -2.4 + t * 1.8;
|
|
29
|
-
return e ? r("g", { children: [n(i(
|
|
35
|
+
return e ? r("g", { children: [n(i(257), {
|
|
30
36
|
x: a,
|
|
31
37
|
y: -3.4,
|
|
32
38
|
width: 1.2,
|
|
33
39
|
height: 3
|
|
34
|
-
}), n(
|
|
40
|
+
}), n(i(257), {
|
|
35
41
|
x: a,
|
|
36
42
|
y: .4,
|
|
37
43
|
width: 1.2,
|
|
38
44
|
height: 3
|
|
39
|
-
})] }, t) : n(
|
|
45
|
+
})] }, t) : n("rect", {
|
|
40
46
|
x: a,
|
|
41
47
|
y: -3.4,
|
|
42
48
|
width: 1.2,
|
|
@@ -45,113 +51,113 @@ function s(e, t, i, a) {
|
|
|
45
51
|
})
|
|
46
52
|
});
|
|
47
53
|
}
|
|
48
|
-
function
|
|
49
|
-
e -=
|
|
50
|
-
let n =
|
|
51
|
-
|
|
54
|
+
function l(e, t) {
|
|
55
|
+
e -= 257;
|
|
56
|
+
let n = s(), r = n[e];
|
|
57
|
+
l.znGUsi === void 0 && (l.gqfNfn = function(e) {
|
|
52
58
|
let t = "", n = "";
|
|
53
59
|
for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
|
|
54
60
|
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
55
61
|
return decodeURIComponent(n);
|
|
56
|
-
},
|
|
62
|
+
}, l.OSESSx = {}, l.znGUsi = !0);
|
|
57
63
|
let i = n[0];
|
|
58
|
-
|
|
59
|
-
let a =
|
|
60
|
-
return a === void 0 ? (r =
|
|
64
|
+
l.NntjoT !== i && (l.OSESSx = {}, l.NntjoT = i);
|
|
65
|
+
let a = l.OSESSx[e];
|
|
66
|
+
return a === void 0 ? (r = l.gqfNfn(r), l.OSESSx[e] = r) : r = a, r;
|
|
61
67
|
}
|
|
62
|
-
var
|
|
68
|
+
var u = Math.atan2(a, i) * 180 / Math.PI, d = {
|
|
63
69
|
KR: r(t, { children: [
|
|
64
|
-
n(
|
|
70
|
+
n("rect", {
|
|
65
71
|
width: i,
|
|
66
72
|
height: a,
|
|
67
|
-
fill:
|
|
73
|
+
fill: e(274)
|
|
68
74
|
}),
|
|
69
75
|
r("g", {
|
|
70
|
-
transform:
|
|
76
|
+
transform: "rotate(" + u + e(294),
|
|
71
77
|
children: [
|
|
72
|
-
n(e(
|
|
73
|
-
d: e(
|
|
74
|
-
fill:
|
|
78
|
+
n(e(267), {
|
|
79
|
+
d: e(260),
|
|
80
|
+
fill: "#cd2e3a"
|
|
75
81
|
}),
|
|
76
|
-
n(
|
|
77
|
-
d:
|
|
78
|
-
fill:
|
|
82
|
+
n("path", {
|
|
83
|
+
d: "M12 12a6 6 0 0 0 12 0z",
|
|
84
|
+
fill: e(278)
|
|
79
85
|
}),
|
|
80
|
-
n(e(
|
|
86
|
+
n(e(270), {
|
|
81
87
|
cx: 15,
|
|
82
88
|
cy: 12,
|
|
83
89
|
r: 3,
|
|
84
|
-
fill:
|
|
90
|
+
fill: e(273)
|
|
85
91
|
}),
|
|
86
|
-
n(e(
|
|
92
|
+
n(e(270), {
|
|
87
93
|
cx: 21,
|
|
88
94
|
cy: 12,
|
|
89
95
|
r: 3,
|
|
90
|
-
fill:
|
|
96
|
+
fill: "#0047a0"
|
|
91
97
|
})
|
|
92
98
|
]
|
|
93
99
|
}),
|
|
94
|
-
|
|
100
|
+
c(8.6, 5.7, u, [
|
|
95
101
|
!1,
|
|
96
102
|
!1,
|
|
97
103
|
!1
|
|
98
104
|
]),
|
|
99
|
-
|
|
105
|
+
c(27.4, 18.3, u, [
|
|
100
106
|
!0,
|
|
101
107
|
!0,
|
|
102
108
|
!0
|
|
103
109
|
]),
|
|
104
|
-
|
|
110
|
+
c(27.4, 5.7, -u, [
|
|
105
111
|
!0,
|
|
106
112
|
!1,
|
|
107
113
|
!0
|
|
108
114
|
]),
|
|
109
|
-
|
|
115
|
+
c(8.6, 18.3, -u, [
|
|
110
116
|
!1,
|
|
111
117
|
!0,
|
|
112
118
|
!1
|
|
113
119
|
])
|
|
114
120
|
] }),
|
|
115
121
|
US: r(t, { children: [
|
|
116
|
-
n(e(
|
|
122
|
+
n(e(257), {
|
|
117
123
|
width: i,
|
|
118
124
|
height: a,
|
|
119
|
-
fill: e(
|
|
125
|
+
fill: e(274)
|
|
120
126
|
}),
|
|
121
|
-
Array.from({ length: 7 }, (t, r) => n(
|
|
127
|
+
Array.from({ length: 7 }, (t, r) => n(e(257), {
|
|
122
128
|
y: r * 2 * a / 13,
|
|
123
129
|
width: i,
|
|
124
130
|
height: a / 13,
|
|
125
|
-
fill: e(
|
|
131
|
+
fill: e(265)
|
|
126
132
|
}, r)),
|
|
127
|
-
n(
|
|
133
|
+
n("rect", {
|
|
128
134
|
width: 14.4,
|
|
129
135
|
height: 168 / 13,
|
|
130
|
-
fill:
|
|
136
|
+
fill: e(266)
|
|
131
137
|
}),
|
|
132
138
|
n("g", {
|
|
133
|
-
fill:
|
|
134
|
-
children: Array
|
|
139
|
+
fill: "#fff",
|
|
140
|
+
children: Array[e(268)]({ length: 12 }, (t, r) => n(e(270), {
|
|
135
141
|
cx: 2 + r % 4 * 3.4,
|
|
136
|
-
cy: 1.9 + Math[e(
|
|
142
|
+
cy: 1.9 + Math[e(293)](r / 4) * 3.4,
|
|
137
143
|
r: .6
|
|
138
144
|
}, r))
|
|
139
145
|
})
|
|
140
146
|
] }),
|
|
141
|
-
JP: r(t, { children: [n(e(
|
|
147
|
+
JP: r(t, { children: [n(e(257), {
|
|
142
148
|
width: i,
|
|
143
149
|
height: a,
|
|
144
|
-
fill: e(
|
|
145
|
-
}), n(
|
|
150
|
+
fill: e(274)
|
|
151
|
+
}), n(e(270), {
|
|
146
152
|
cx: 18,
|
|
147
153
|
cy: 12,
|
|
148
154
|
r: 7.2,
|
|
149
155
|
fill: "#bc002d"
|
|
150
156
|
})] }),
|
|
151
|
-
CN: r(t, { children: [n(
|
|
157
|
+
CN: r(t, { children: [n("rect", {
|
|
152
158
|
width: i,
|
|
153
159
|
height: a,
|
|
154
|
-
fill: e(
|
|
160
|
+
fill: e(261)
|
|
155
161
|
}), r("g", {
|
|
156
162
|
fill: "#ffde00",
|
|
157
163
|
children: [
|
|
@@ -162,102 +168,96 @@ var l = Math[e(479)](a, i) * 180 / Math.PI, u = {
|
|
|
162
168
|
o(12, 10.8, 1.2, 21)
|
|
163
169
|
]
|
|
164
170
|
})] }),
|
|
165
|
-
VN: r(t, { children: [n(e(
|
|
171
|
+
VN: r(t, { children: [n(e(257), {
|
|
166
172
|
width: i,
|
|
167
173
|
height: a,
|
|
168
|
-
fill: e(
|
|
174
|
+
fill: e(281)
|
|
169
175
|
}), n("g", {
|
|
170
|
-
fill:
|
|
176
|
+
fill: e(291),
|
|
171
177
|
children: o(18, 12.6, 7.2)
|
|
172
178
|
})] }),
|
|
173
179
|
GB: r(t, { children: [
|
|
174
180
|
n("rect", {
|
|
175
181
|
width: i,
|
|
176
182
|
height: a,
|
|
177
|
-
fill:
|
|
183
|
+
fill: "#012169"
|
|
178
184
|
}),
|
|
179
|
-
n(e(
|
|
180
|
-
d:
|
|
181
|
-
stroke: e(
|
|
185
|
+
n(e(267), {
|
|
186
|
+
d: "M0 0L36 24M36 0L0 24",
|
|
187
|
+
stroke: e(274),
|
|
182
188
|
strokeWidth: 4.8
|
|
183
189
|
}),
|
|
184
190
|
n("path", {
|
|
185
|
-
d:
|
|
186
|
-
stroke: e(
|
|
191
|
+
d: "M0 0L36 24M36 0L0 24",
|
|
192
|
+
stroke: e(276),
|
|
187
193
|
strokeWidth: 1.6
|
|
188
194
|
}),
|
|
189
|
-
n(
|
|
190
|
-
d:
|
|
191
|
-
stroke: e(
|
|
195
|
+
n("path", {
|
|
196
|
+
d: "M18 0V24M0 12H36",
|
|
197
|
+
stroke: e(274),
|
|
192
198
|
strokeWidth: 8
|
|
193
199
|
}),
|
|
194
200
|
n("path", {
|
|
195
|
-
d:
|
|
196
|
-
stroke: e(
|
|
201
|
+
d: e(289),
|
|
202
|
+
stroke: e(276),
|
|
197
203
|
strokeWidth: 4.8
|
|
198
204
|
})
|
|
199
205
|
] }),
|
|
200
206
|
DE: r(t, { children: [
|
|
201
|
-
n(e(
|
|
207
|
+
n(e(257), {
|
|
202
208
|
width: i,
|
|
203
209
|
height: 8,
|
|
204
|
-
fill: e(
|
|
210
|
+
fill: e(282)
|
|
205
211
|
}),
|
|
206
212
|
n("rect", {
|
|
207
213
|
y: 8,
|
|
208
214
|
width: i,
|
|
209
215
|
height: 8,
|
|
210
|
-
fill:
|
|
216
|
+
fill: e(297)
|
|
211
217
|
}),
|
|
212
|
-
n(e(
|
|
218
|
+
n(e(257), {
|
|
213
219
|
y: 16,
|
|
214
220
|
width: i,
|
|
215
221
|
height: 8,
|
|
216
|
-
fill:
|
|
222
|
+
fill: e(288)
|
|
217
223
|
})
|
|
218
224
|
] }),
|
|
219
225
|
FR: r(t, { children: [
|
|
220
|
-
n(
|
|
226
|
+
n("rect", {
|
|
221
227
|
width: 12,
|
|
222
228
|
height: a,
|
|
223
|
-
fill: e(
|
|
229
|
+
fill: e(259)
|
|
224
230
|
}),
|
|
225
|
-
n(e(
|
|
231
|
+
n(e(257), {
|
|
226
232
|
x: 12,
|
|
227
233
|
width: 12,
|
|
228
234
|
height: a,
|
|
229
|
-
fill:
|
|
235
|
+
fill: "#fff"
|
|
230
236
|
}),
|
|
231
|
-
n(
|
|
237
|
+
n(e(257), {
|
|
232
238
|
x: 24,
|
|
233
239
|
width: 12,
|
|
234
240
|
height: a,
|
|
235
|
-
fill:
|
|
241
|
+
fill: "#ce1126"
|
|
236
242
|
})
|
|
237
243
|
] })
|
|
238
244
|
};
|
|
239
|
-
function
|
|
245
|
+
function f({ code: t, size: r = 20, label: o, className: s, style: c }) {
|
|
240
246
|
let l = e;
|
|
241
|
-
return n(
|
|
242
|
-
className: [l(
|
|
247
|
+
return n(l(271), {
|
|
248
|
+
className: [l(296), s][l(280)](Boolean).join(" "),
|
|
243
249
|
style: {
|
|
244
250
|
"--_w": r + "px",
|
|
245
251
|
...c
|
|
246
252
|
},
|
|
247
|
-
role: o ? l(
|
|
253
|
+
role: o ? l(277) : void 0,
|
|
248
254
|
"aria-label": o,
|
|
249
255
|
"aria-hidden": !o || void 0,
|
|
250
|
-
children: n(
|
|
251
|
-
viewBox:
|
|
252
|
-
preserveAspectRatio:
|
|
253
|
-
children:
|
|
256
|
+
children: n("svg", {
|
|
257
|
+
viewBox: l(279) + i + " " + a,
|
|
258
|
+
preserveAspectRatio: l(262),
|
|
259
|
+
children: d[t]
|
|
254
260
|
})
|
|
255
261
|
});
|
|
256
262
|
}
|
|
257
|
-
export {
|
|
258
|
-
function f() {
|
|
259
|
-
let e = /* @__PURE__ */ "Aw1N.mtC5mZC1ngPhEvrOAq.mtq4mdm5nfnPzwzHsa.Cg9SEwDVBG.i2nLmteYnG.C3zN.tteYideYytyGnIaWidaGmcaXmIaWEG.BwfW.zMXVB3i.AM9PBG.mJu0mtGWnwPnD1nJrG.iZaWmJy1na.zNjVBq.C2LU.Cgf0Aa.ksbYB3rHDguO.mtbAyxfIDeC.y2LYy2XL.CM90yxrLka.ttaGmeWZnIaYne0ZnIaWtdaGmJq.ndK1nZC3yK5dDhnP.i2rLmJKXma.i2zMzG.mZGWuffWEw11.iZaXmJe2oq.iZaWma.Dg9gAxHLza.tte4idbwmJrnmcaXmKGZnG.yxrHBJi.mZmZmfLOswnvtW.i2rHmJuXza.zhmTzMXHzW.i2iYmJiZna.mte5mZjSu25dANy.mJe5r05guur6.iZaWndDHma.i2nKmMuZyq.mZe4odq2sM9Irvrs.CMvJDa.tteYideYytyGnIaWidaGmsaXmIaWEG.ogXxz3fyua.i2m4mtaYzq".split(".");
|
|
260
|
-
return f = function() {
|
|
261
|
-
return e;
|
|
262
|
-
}, f();
|
|
263
|
-
}
|
|
263
|
+
export { f as Flag };
|