@feedmepos/mf-brand-app-builder 0.5.30-dev.4 → 0.5.30-dev.8

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.
@@ -1,5 +1,5 @@
1
- import { defineAsyncComponent as H, defineComponent as hi, getCurrentInstance as dt, markRaw as nt, watch as Ie, watchEffect as ne, reactive as Me, onMounted as fi, onUnmounted as gn, h as pt, ref as j, inject as Be, computed as me, provide as bn, toRef as yn, onBeforeUnmount as vn, isRef as mt, createTextVNode as Tn, resolveComponent as Cn, nextTick as Ln, triggerRef as Ve, isReactive as Et } from "vue";
2
- import { useI18n as kn } from "@feedmepos/mf-common";
1
+ import { defineAsyncComponent as H, defineComponent as hi, getCurrentInstance as dt, markRaw as nt, watch as Ie, watchEffect as ne, reactive as Me, onMounted as gi, onUnmounted as fn, h as pt, ref as W, inject as Ee, computed as me, provide as bn, toRef as yn, onBeforeUnmount as vn, isRef as mt, createTextVNode as Tn, resolveComponent as Cn, nextTick as Ln, triggerRef as Ue, isReactive as Bt } from "vue";
2
+ import { useI18n as Sn } from "@feedmepos/mf-common";
3
3
  const wn = {
4
4
  common: {
5
5
  confirm: "Confirm",
@@ -164,6 +164,121 @@ const wn = {
164
164
  categoryDisplayDescription: "Display type for the category list",
165
165
  single: "Single Category",
166
166
  multiple: "Multiple Categories"
167
+ },
168
+ toast: {
169
+ saving: "Saving your settings...",
170
+ saved: "Settings saved",
171
+ errorSaving: "Failed to save settings"
172
+ },
173
+ dialog: {
174
+ editPluginParams: "Edit plugin params",
175
+ invalidJson: "Invalid JSON"
176
+ },
177
+ fontStylesheets: {
178
+ title: "Manage font stylesheets",
179
+ description: "Add the stylesheet URLs (for example from Google Fonts) that should load with this brand kit.",
180
+ stylesheetUrl: "Stylesheet URL",
181
+ addStylesheet: "Add stylesheet",
182
+ noStylesheetsYet: "No font stylesheets added yet."
183
+ },
184
+ plugins: {
185
+ customLayout: "Custom layout (Admin only)",
186
+ customLayoutDescription: "Customize layout with advanced json syntax",
187
+ appPlugins: "App plugins (Admin only)",
188
+ kioskPlugins: "Kiosk plugins (Admin only)",
189
+ pluginsDescription: "Configure remote plugins and their params JSON.",
190
+ addPlugin: "Add plugin",
191
+ pluginUrl: "Plugin URL",
192
+ pluginParams: "Plugin params",
193
+ editJsonDescription: "Edit JSON passed to the plugin.",
194
+ editJson: "Edit JSON",
195
+ noPluginsYet: "No plugins configured yet."
196
+ },
197
+ ods: {
198
+ settings: "ODS Settings",
199
+ addConfiguration: "Add Configuration",
200
+ orderDisplaySystem: "Order Display System",
201
+ description: "Configure how orders are displayed on the ODS screen. Each configuration can target specific restaurants or serve as the default for all unassigned restaurants.",
202
+ noConfigsYet: "No ODS configurations yet",
203
+ noConfigsDescription: "Add a configuration to customize the ODS display for your restaurants.",
204
+ default: "Default",
205
+ configNumber: "Config #{index}",
206
+ allRestaurantsDefault: "All restaurants (default)",
207
+ odsConfiguration: "ODS Configuration",
208
+ label: "Label",
209
+ defaultConfiguration: "Default configuration",
210
+ defaultWarning: "Another configuration is already set as default. Saving will replace it as the default.",
211
+ restaurantInfo: "This configuration applies to all restaurants not matched by a specific entry.",
212
+ selectRestaurants: "Select restaurants",
213
+ displaySettings: "Display Settings",
214
+ groupOrdersBy: "Group Orders By",
215
+ groupByStatus: "Status",
216
+ groupByType: "Type",
217
+ statusBoardLayout: "Status Board Layout",
218
+ layoutHorizontal: "Horizontal",
219
+ layoutVertical: "Vertical",
220
+ statusColumnCount: "Status Column Count",
221
+ slidingInterval: "Sliding Interval",
222
+ showDeliveryIcons: "Show Delivery Icons",
223
+ showOrderCount: "Show Order Count",
224
+ showEstimatedTime: "Show Estimated Time",
225
+ showOrderTypeTabs: "Show Order Type Tabs",
226
+ showProgressBar: "Show Progress Bar",
227
+ colorOverride: "Color Override",
228
+ colorOverrideTitle: "ODS Color Override",
229
+ colorOverrideDescription: "Override default brand colors for the ODS display.",
230
+ layoutSettings: "Layout Settings",
231
+ backgroundImage: "Background Image",
232
+ sidePanelImage: "Side Panel Image",
233
+ boardWidth: "Board Width (%)",
234
+ boardAlignment: "Board Alignment",
235
+ alignLeft: "Left",
236
+ alignCenter: "Center",
237
+ alignRight: "Right",
238
+ disable: "Disable",
239
+ defaultImage1: "Default image 1",
240
+ defaultImage2: "Default image 2",
241
+ customImage: "Custom image",
242
+ changeImage: "Change image",
243
+ uploading: "Uploading...",
244
+ odsPreview: "ODS Preview",
245
+ openInNewTab: "Open in new tab",
246
+ previewUnavailable: "Preview unavailable",
247
+ displaySettingsDescription: "Control how orders are grouped and displayed on the ODS board.",
248
+ groupOrdersByDescription: "Choose how orders are grouped on the display.",
249
+ statusBoardLayoutDescription: "Arrange the preparing and ready sections side-by-side (horizontal) or stacked (vertical).",
250
+ statusColumnCountDescription: "Number of columns within each status section.",
251
+ slidingIntervalDescription: "Auto-rotation interval for the status board in seconds.",
252
+ showDeliveryIconsDescription: "Display delivery platform icons next to order numbers.",
253
+ showOrderCountDescription: "Display order count, drink/food statistics in the preparing section header.",
254
+ showEstimatedTimeDescription: "Display estimated waiting time in the preparing section header.",
255
+ showOrderTypeTabsDescription: "Display the In Restaurant / Delivery tabs at the top of the order board.",
256
+ showProgressBarDescription: "Display a progress bar on the ODS board.",
257
+ colorOverrideConfigDescription: "Override brand colors specifically for this ODS configuration.",
258
+ colorsOverridden: "{count} color(s) overridden",
259
+ configure: "Configure",
260
+ layoutSettingsDescription: "Configure background, side panel, and board sizing.",
261
+ backgroundImageDescription: "Choose a built-in background or upload a custom image.",
262
+ sidePanelImageDescription: "Decorative image panel beside the board.",
263
+ backgroundDisabled: "Background image is disabled.",
264
+ sidePanelDisabled: "Side panel is disabled.",
265
+ position: "Position",
266
+ widthPercent: "Width (%)",
267
+ boardWidthDescription: "Width of the order board as a percentage of available space.",
268
+ boardAlignmentDescription: "Align the order board when width is less than 100%.",
269
+ defaultImage: "Default image",
270
+ custom: "Custom",
271
+ previewDescription: "Live preview at 1920 x 1080.",
272
+ statusTemplate: "Status Template",
273
+ statusTemplateDescription: "Choose a pre-built template for the horizontal status board layout. Non-default templates use a fixed design with hardcoded colors.",
274
+ templateDefault: "Default",
275
+ templateBorderedCard: "Bordered Card",
276
+ templateFloatingTab: "Floating Tab",
277
+ templateCenteredPill: "Centered Pill",
278
+ footerMode: "Footer Mode",
279
+ footerModeDescription: "Choose what appears at the bottom of the ODS screen. 'FeedMe' shows the default branded footer. 'Settings Icon' hides the footer and shows a floating gear icon that auto-hides after 10 seconds.",
280
+ footerModeFeedme: "FeedMe",
281
+ footerModeSettingsIcon: "Settings Icon"
167
282
  }
168
283
  },
169
284
  settings: {
@@ -602,9 +717,9 @@ const wn = {
602
717
  app: {
603
718
  runningVersion: "Running v{version} on {namespace}"
604
719
  }
605
- }, Sn = {
720
+ }, kn = {
606
721
  brand: wn
607
- }, $n = {
722
+ }, Dn = {
608
723
  common: {
609
724
  confirm: "确认",
610
725
  cancel: "取消",
@@ -769,6 +884,121 @@ const wn = {
769
884
  categoryDisplayDescription: "分类列表的显示类型",
770
885
  single: "单个分类",
771
886
  multiple: "多个分类"
887
+ },
888
+ toast: {
889
+ saving: "正在保存设置...",
890
+ saved: "设置已保存",
891
+ errorSaving: "保存设置失败"
892
+ },
893
+ dialog: {
894
+ editPluginParams: "编辑插件参数",
895
+ invalidJson: "无效的 JSON"
896
+ },
897
+ fontStylesheets: {
898
+ title: "管理字体样式表",
899
+ description: "添加样式表 URL(例如来自 Google Fonts),用于加载此品牌工具包。",
900
+ stylesheetUrl: "样式表 URL",
901
+ addStylesheet: "添加样式表",
902
+ noStylesheetsYet: "尚未添加字体样式表。"
903
+ },
904
+ plugins: {
905
+ customLayout: "自定义布局(仅管理员)",
906
+ customLayoutDescription: "使用高级 JSON 语法自定义布局",
907
+ appPlugins: "应用插件(仅管理员)",
908
+ kioskPlugins: "自助机插件(仅管理员)",
909
+ pluginsDescription: "配置远程插件及其参数 JSON。",
910
+ addPlugin: "添加插件",
911
+ pluginUrl: "插件 URL",
912
+ pluginParams: "插件参数",
913
+ editJsonDescription: "编辑传递给插件的 JSON。",
914
+ editJson: "编辑 JSON",
915
+ noPluginsYet: "尚未配置插件。"
916
+ },
917
+ ods: {
918
+ settings: "ODS 设置",
919
+ addConfiguration: "添加配置",
920
+ orderDisplaySystem: "订单显示系统",
921
+ description: "配置订单在 ODS 屏幕上的显示方式。每个配置可以针对特定餐厅或作为所有未分配餐厅的默认设置。",
922
+ noConfigsYet: "尚无 ODS 配置",
923
+ noConfigsDescription: "添加配置以自定义餐厅的 ODS 显示。",
924
+ default: "默认",
925
+ configNumber: "配置 #{index}",
926
+ allRestaurantsDefault: "所有餐厅(默认)",
927
+ odsConfiguration: "ODS 配置",
928
+ label: "标签",
929
+ defaultConfiguration: "默认配置",
930
+ defaultWarning: "另一个配置已设置为默认。保存后将替换其作为默认配置。",
931
+ restaurantInfo: "此配置适用于所有未匹配到特定条目的餐厅。",
932
+ selectRestaurants: "选择餐厅",
933
+ displaySettings: "显示设置",
934
+ groupOrdersBy: "订单分组方式",
935
+ groupByStatus: "按状态",
936
+ groupByType: "按类型",
937
+ statusBoardLayout: "状态板布局",
938
+ layoutHorizontal: "水平",
939
+ layoutVertical: "垂直",
940
+ statusColumnCount: "状态列数",
941
+ slidingInterval: "滑动间隔",
942
+ showDeliveryIcons: "显示配送图标",
943
+ showOrderCount: "显示订单数量",
944
+ showEstimatedTime: "显示预计时间",
945
+ showOrderTypeTabs: "显示订单类型标签",
946
+ showProgressBar: "显示进度条",
947
+ colorOverride: "颜色覆盖",
948
+ colorOverrideTitle: "ODS 颜色覆盖",
949
+ colorOverrideDescription: "覆盖 ODS 显示的默认品牌颜色。",
950
+ layoutSettings: "布局设置",
951
+ backgroundImage: "背景图片",
952
+ sidePanelImage: "侧面板图片",
953
+ boardWidth: "面板宽度 (%)",
954
+ boardAlignment: "面板对齐",
955
+ alignLeft: "左对齐",
956
+ alignCenter: "居中",
957
+ alignRight: "右对齐",
958
+ disable: "禁用",
959
+ defaultImage1: "默认图片 1",
960
+ defaultImage2: "默认图片 2",
961
+ customImage: "自定义图片",
962
+ changeImage: "更换图片",
963
+ uploading: "上传中...",
964
+ odsPreview: "ODS 预览",
965
+ openInNewTab: "在新标签页中打开",
966
+ previewUnavailable: "预览不可用",
967
+ displaySettingsDescription: "控制订单在 ODS 面板上的分组和显示方式。",
968
+ groupOrdersByDescription: "选择订单在显示屏上的分组方式。",
969
+ statusBoardLayoutDescription: "将准备中和已完成区域并排(水平)或堆叠(垂直)排列。",
970
+ statusColumnCountDescription: "每个状态区域的列数。",
971
+ slidingIntervalDescription: "状态板的自动轮播间隔(秒)。",
972
+ showDeliveryIconsDescription: "在订单号旁显示配送平台图标。",
973
+ showOrderCountDescription: "在准备中区域标题显示订单数、饮品/食品统计。",
974
+ showEstimatedTimeDescription: "在准备中区域标题显示预计等待时间。",
975
+ showOrderTypeTabsDescription: "在订单面板顶部显示堂食/外卖标签。",
976
+ showProgressBarDescription: "在 ODS 面板上显示进度条。",
977
+ colorOverrideConfigDescription: "专门为此 ODS 配置覆盖品牌颜色。",
978
+ colorsOverridden: "已覆盖 {count} 个颜色",
979
+ configure: "配置",
980
+ layoutSettingsDescription: "配置背景、侧面板和面板尺寸。",
981
+ backgroundImageDescription: "选择内置背景或上传自定义图片。",
982
+ sidePanelImageDescription: "面板旁的装饰图片面板。",
983
+ backgroundDisabled: "背景图片已禁用。",
984
+ sidePanelDisabled: "侧面板已禁用。",
985
+ position: "位置",
986
+ widthPercent: "宽度 (%)",
987
+ boardWidthDescription: "订单面板占可用空间的宽度百分比。",
988
+ boardAlignmentDescription: "当宽度小于 100% 时对齐订单面板。",
989
+ defaultImage: "默认图片",
990
+ custom: "自定义",
991
+ previewDescription: "1920 x 1080 实时预览。",
992
+ statusTemplate: "状态模板",
993
+ statusTemplateDescription: "为水平状态面板布局选择预设模板。非默认模板使用固定设计和硬编码颜色。",
994
+ templateDefault: "默认",
995
+ templateBorderedCard: "边框卡片",
996
+ templateFloatingTab: "浮动标签",
997
+ templateCenteredPill: "居中胶囊",
998
+ footerMode: "页脚模式",
999
+ footerModeDescription: "选择ODS屏幕底部显示的内容。'FeedMe'显示默认品牌页脚。'设置图标'隐藏页脚,显示一个浮动齿轮图标,10秒后自动隐藏。",
1000
+ footerModeFeedme: "FeedMe",
1001
+ footerModeSettingsIcon: "设置图标"
772
1002
  }
773
1003
  },
774
1004
  settings: {
@@ -1207,14 +1437,14 @@ const wn = {
1207
1437
  app: {
1208
1438
  runningVersion: "运行版本 v{version} 在 {namespace}"
1209
1439
  }
1210
- }, An = {
1440
+ }, Pn = {
1211
1441
  tier: {
1212
1442
  noBenefitsFound: "暂无权益"
1213
1443
  }
1214
- }, _n = {
1215
- brand: $n,
1216
- components: An
1217
- }, Pn = {
1444
+ }, An = {
1445
+ brand: Dn,
1446
+ components: Pn
1447
+ }, $n = {
1218
1448
  common: {
1219
1449
  confirm: "確認",
1220
1450
  cancel: "取消",
@@ -1379,6 +1609,121 @@ const wn = {
1379
1609
  categoryDisplayDescription: "顯示類型列表的類型",
1380
1610
  multiple: "多個類別",
1381
1611
  single: "單個類別"
1612
+ },
1613
+ toast: {
1614
+ saving: "正在儲存設定...",
1615
+ saved: "設定已儲存",
1616
+ errorSaving: "儲存設定失敗"
1617
+ },
1618
+ dialog: {
1619
+ editPluginParams: "編輯外掛參數",
1620
+ invalidJson: "無效的 JSON"
1621
+ },
1622
+ fontStylesheets: {
1623
+ title: "管理字型樣式表",
1624
+ description: "新增樣式表 URL(例如來自 Google Fonts),用於載入此品牌工具包。",
1625
+ stylesheetUrl: "樣式表 URL",
1626
+ addStylesheet: "新增樣式表",
1627
+ noStylesheetsYet: "尚未新增字型樣式表。"
1628
+ },
1629
+ plugins: {
1630
+ customLayout: "自訂佈局(僅管理員)",
1631
+ customLayoutDescription: "使用進階 JSON 語法自訂佈局",
1632
+ appPlugins: "應用程式外掛(僅管理員)",
1633
+ kioskPlugins: "自助機外掛(僅管理員)",
1634
+ pluginsDescription: "設定遠端外掛及其參數 JSON。",
1635
+ addPlugin: "新增外掛",
1636
+ pluginUrl: "外掛 URL",
1637
+ pluginParams: "外掛參數",
1638
+ editJsonDescription: "編輯傳遞給外掛的 JSON。",
1639
+ editJson: "編輯 JSON",
1640
+ noPluginsYet: "尚未設定外掛。"
1641
+ },
1642
+ ods: {
1643
+ settings: "ODS 設定",
1644
+ addConfiguration: "新增設定",
1645
+ orderDisplaySystem: "訂單顯示系統",
1646
+ description: "設定訂單在 ODS 螢幕上的顯示方式。每個設定可以針對特定餐廳或作為所有未分配餐廳的預設設定。",
1647
+ noConfigsYet: "尚無 ODS 設定",
1648
+ noConfigsDescription: "新增設定以自訂餐廳的 ODS 顯示。",
1649
+ default: "預設",
1650
+ configNumber: "設定 #{index}",
1651
+ allRestaurantsDefault: "所有餐廳(預設)",
1652
+ odsConfiguration: "ODS 設定",
1653
+ label: "標籤",
1654
+ defaultConfiguration: "預設設定",
1655
+ defaultWarning: "另一個設定已設為預設。儲存後將取代其作為預設設定。",
1656
+ restaurantInfo: "此設定適用於所有未匹配到特定條目的餐廳。",
1657
+ selectRestaurants: "選擇餐廳",
1658
+ displaySettings: "顯示設定",
1659
+ groupOrdersBy: "訂單分組方式",
1660
+ groupByStatus: "按狀態",
1661
+ groupByType: "按類型",
1662
+ statusBoardLayout: "狀態板佈局",
1663
+ layoutHorizontal: "水平",
1664
+ layoutVertical: "垂直",
1665
+ statusColumnCount: "狀態欄數",
1666
+ slidingInterval: "滑動間隔",
1667
+ showDeliveryIcons: "顯示配送圖示",
1668
+ showOrderCount: "顯示訂單數量",
1669
+ showEstimatedTime: "顯示預計時間",
1670
+ showOrderTypeTabs: "顯示訂單類型標籤",
1671
+ showProgressBar: "顯示進度條",
1672
+ colorOverride: "顏色覆蓋",
1673
+ colorOverrideTitle: "ODS 顏色覆蓋",
1674
+ colorOverrideDescription: "覆蓋 ODS 顯示的預設品牌顏色。",
1675
+ layoutSettings: "佈局設定",
1676
+ backgroundImage: "背景圖片",
1677
+ sidePanelImage: "側面板圖片",
1678
+ boardWidth: "面板寬度 (%)",
1679
+ boardAlignment: "面板對齊",
1680
+ alignLeft: "靠左",
1681
+ alignCenter: "置中",
1682
+ alignRight: "靠右",
1683
+ disable: "停用",
1684
+ defaultImage1: "預設圖片 1",
1685
+ defaultImage2: "預設圖片 2",
1686
+ customImage: "自訂圖片",
1687
+ changeImage: "更換圖片",
1688
+ uploading: "上傳中...",
1689
+ odsPreview: "ODS 預覽",
1690
+ openInNewTab: "在新分頁中開啟",
1691
+ previewUnavailable: "預覽不可用",
1692
+ displaySettingsDescription: "控制訂單在 ODS 面板上的分組和顯示方式。",
1693
+ groupOrdersByDescription: "選擇訂單在顯示屏上的分組方式。",
1694
+ statusBoardLayoutDescription: "將準備中和已完成區域並排(水平)或堆疊(垂直)排列。",
1695
+ statusColumnCountDescription: "每個狀態區域的欄數。",
1696
+ slidingIntervalDescription: "狀態板的自動輪播間隔(秒)。",
1697
+ showDeliveryIconsDescription: "在訂單號旁顯示配送平台圖示。",
1698
+ showOrderCountDescription: "在準備中區域標題顯示訂單數、飲品/食品統計。",
1699
+ showEstimatedTimeDescription: "在準備中區域標題顯示預計等待時間。",
1700
+ showOrderTypeTabsDescription: "在訂單面板頂部顯示堂食/外送標籤。",
1701
+ showProgressBarDescription: "在 ODS 面板上顯示進度條。",
1702
+ colorOverrideConfigDescription: "專門為此 ODS 設定覆蓋品牌顏色。",
1703
+ colorsOverridden: "已覆蓋 {count} 個顏色",
1704
+ configure: "設定",
1705
+ layoutSettingsDescription: "設定背景、側面板和面板尺寸。",
1706
+ backgroundImageDescription: "選擇內建背景或上傳自訂圖片。",
1707
+ sidePanelImageDescription: "面板旁的裝飾圖片面板。",
1708
+ backgroundDisabled: "背景圖片已停用。",
1709
+ sidePanelDisabled: "側面板已停用。",
1710
+ position: "位置",
1711
+ widthPercent: "寬度 (%)",
1712
+ boardWidthDescription: "訂單面板佔可用空間的寬度百分比。",
1713
+ boardAlignmentDescription: "當寬度小於 100% 時對齊訂單面板。",
1714
+ defaultImage: "預設圖片",
1715
+ custom: "自訂",
1716
+ previewDescription: "1920 x 1080 即時預覽。",
1717
+ statusTemplate: "狀態模板",
1718
+ statusTemplateDescription: "為水平狀態面板佈局選擇預設模板。非預設模板使用固定設計和硬編碼顏色。",
1719
+ templateDefault: "預設",
1720
+ templateBorderedCard: "邊框卡片",
1721
+ templateFloatingTab: "浮動標籤",
1722
+ templateCenteredPill: "居中膠囊",
1723
+ footerMode: "頁腳模式",
1724
+ footerModeDescription: "選擇ODS螢幕底部顯示的內容。'FeedMe'顯示預設品牌頁腳。'設定圖示'隱藏頁腳,顯示一個浮動齒輪圖示,10秒後自動隱藏。",
1725
+ footerModeFeedme: "FeedMe",
1726
+ footerModeSettingsIcon: "設定圖示"
1382
1727
  }
1383
1728
  },
1384
1729
  settings: {
@@ -1818,8 +2163,8 @@ const wn = {
1818
2163
  runningVersion: "運行版本 v{version} 在 {namespace}"
1819
2164
  }
1820
2165
  }, Mn = {
1821
- brand: Pn
1822
- }, xn = {
2166
+ brand: $n
2167
+ }, _n = {
1823
2168
  common: {
1824
2169
  confirm: "Confirm",
1825
2170
  cancel: "Cancel",
@@ -1984,6 +2329,121 @@ const wn = {
1984
2329
  categoryDisplayDescription: "รูปแบบการแสดงรายการหมวดหมู่",
1985
2330
  single: "หมวดหมู่เดียว",
1986
2331
  multiple: "หลายหมวดหมู่"
2332
+ },
2333
+ toast: {
2334
+ saving: "กำลังบันทึกการตั้งค่า...",
2335
+ saved: "บันทึกการตั้งค่าแล้ว",
2336
+ errorSaving: "ไม่สามารถบันทึกการตั้งค่าได้"
2337
+ },
2338
+ dialog: {
2339
+ editPluginParams: "แก้ไขพารามิเตอร์ปลั๊กอิน",
2340
+ invalidJson: "JSON ไม่ถูกต้อง"
2341
+ },
2342
+ fontStylesheets: {
2343
+ title: "จัดการสไตล์ชีทฟอนต์",
2344
+ description: "เพิ่ม URL สไตล์ชีท (เช่นจาก Google Fonts) ที่ควรโหลดกับชุดแบรนด์นี้",
2345
+ stylesheetUrl: "URL สไตล์ชีท",
2346
+ addStylesheet: "เพิ่มสไตล์ชีท",
2347
+ noStylesheetsYet: "ยังไม่ได้เพิ่มสไตล์ชีทฟอนต์"
2348
+ },
2349
+ plugins: {
2350
+ customLayout: "เลย์เอาต์กำหนดเอง (เฉพาะผู้ดูแลระบบ)",
2351
+ customLayoutDescription: "ปรับแต่งเลย์เอาต์ด้วยไวยากรณ์ JSON ขั้นสูง",
2352
+ appPlugins: "ปลั๊กอินแอป (เฉพาะผู้ดูแลระบบ)",
2353
+ kioskPlugins: "ปลั๊กอินเครื่องจุดขาย (เฉพาะผู้ดูแลระบบ)",
2354
+ pluginsDescription: "กำหนดค่าปลั๊กอินระยะไกลและพารามิเตอร์ JSON",
2355
+ addPlugin: "เพิ่มปลั๊กอิน",
2356
+ pluginUrl: "URL ปลั๊กอิน",
2357
+ pluginParams: "พารามิเตอร์ปลั๊กอิน",
2358
+ editJsonDescription: "แก้ไข JSON ที่ส่งไปยังปลั๊กอิน",
2359
+ editJson: "แก้ไข JSON",
2360
+ noPluginsYet: "ยังไม่ได้กำหนดค่าปลั๊กอิน"
2361
+ },
2362
+ ods: {
2363
+ settings: "การตั้งค่า ODS",
2364
+ addConfiguration: "เพิ่มการกำหนดค่า",
2365
+ orderDisplaySystem: "ระบบแสดงคำสั่งซื้อ",
2366
+ description: "กำหนดค่าวิธีการแสดงคำสั่งซื้อบนหน้าจอ ODS แต่ละการกำหนดค่าสามารถกำหนดเป้าหมายร้านอาหารเฉพาะหรือใช้เป็นค่าเริ่มต้นสำหรับร้านอาหารที่ยังไม่ได้กำหนด",
2367
+ noConfigsYet: "ยังไม่มีการกำหนดค่า ODS",
2368
+ noConfigsDescription: "เพิ่มการกำหนดค่าเพื่อปรับแต่งการแสดง ODS สำหรับร้านอาหารของคุณ",
2369
+ default: "ค่าเริ่มต้น",
2370
+ configNumber: "การกำหนดค่า #{index}",
2371
+ allRestaurantsDefault: "ร้านอาหารทั้งหมด (ค่าเริ่มต้น)",
2372
+ odsConfiguration: "การกำหนดค่า ODS",
2373
+ label: "ป้ายกำกับ",
2374
+ defaultConfiguration: "การกำหนดค่าเริ่มต้น",
2375
+ defaultWarning: "มีการกำหนดค่าอื่นเป็นค่าเริ่มต้นอยู่แล้ว การบันทึกจะแทนที่เป็นค่าเริ่มต้น",
2376
+ restaurantInfo: "การกำหนดค่านี้ใช้กับร้านอาหารทั้งหมดที่ไม่ตรงกับรายการเฉพาะ",
2377
+ selectRestaurants: "เลือกร้านอาหาร",
2378
+ displaySettings: "การตั้งค่าการแสดงผล",
2379
+ groupOrdersBy: "จัดกลุ่มคำสั่งซื้อตาม",
2380
+ groupByStatus: "สถานะ",
2381
+ groupByType: "ประเภท",
2382
+ statusBoardLayout: "เลย์เอาต์กระดานสถานะ",
2383
+ layoutHorizontal: "แนวนอน",
2384
+ layoutVertical: "แนวตั้ง",
2385
+ statusColumnCount: "จำนวนคอลัมน์สถานะ",
2386
+ slidingInterval: "ช่วงเวลาเลื่อน",
2387
+ showDeliveryIcons: "แสดงไอคอนการจัดส่ง",
2388
+ showOrderCount: "แสดงจำนวนคำสั่งซื้อ",
2389
+ showEstimatedTime: "แสดงเวลาประมาณ",
2390
+ showOrderTypeTabs: "แสดงแท็บประเภทคำสั่งซื้อ",
2391
+ showProgressBar: "แสดงแถบความคืบหน้า",
2392
+ colorOverride: "เขียนทับสี",
2393
+ colorOverrideTitle: "เขียนทับสี ODS",
2394
+ colorOverrideDescription: "เขียนทับสีแบรนด์เริ่มต้นสำหรับการแสดง ODS",
2395
+ layoutSettings: "การตั้งค่าเลย์เอาต์",
2396
+ backgroundImage: "ภาพพื้นหลัง",
2397
+ sidePanelImage: "ภาพแผงด้านข้าง",
2398
+ boardWidth: "ความกว้างกระดาน (%)",
2399
+ boardAlignment: "การจัดตำแหน่งกระดาน",
2400
+ alignLeft: "ซ้าย",
2401
+ alignCenter: "กลาง",
2402
+ alignRight: "ขวา",
2403
+ disable: "ปิดใช้งาน",
2404
+ defaultImage1: "ภาพเริ่มต้น 1",
2405
+ defaultImage2: "ภาพเริ่มต้น 2",
2406
+ customImage: "ภาพกำหนดเอง",
2407
+ changeImage: "เปลี่ยนภาพ",
2408
+ uploading: "กำลังอัปโหลด...",
2409
+ odsPreview: "ตัวอย่าง ODS",
2410
+ openInNewTab: "เปิดในแท็บใหม่",
2411
+ previewUnavailable: "ไม่สามารถแสดงตัวอย่างได้",
2412
+ displaySettingsDescription: "ควบคุมวิธีการจัดกลุ่มและแสดงคำสั่งซื้อบนกระดาน ODS",
2413
+ groupOrdersByDescription: "เลือกวิธีจัดกลุ่มคำสั่งซื้อบนหน้าจอแสดงผล",
2414
+ statusBoardLayoutDescription: "จัดเรียงส่วนกำลังเตรียมและพร้อมแล้ววางเคียงกัน (แนวนอน) หรือซ้อนกัน (แนวตั้ง)",
2415
+ statusColumnCountDescription: "จำนวนคอลัมน์ในแต่ละส่วนสถานะ",
2416
+ slidingIntervalDescription: "ช่วงเวลาหมุนเวียนอัตโนมัติของกระดานสถานะเป็นวินาที",
2417
+ showDeliveryIconsDescription: "แสดงไอคอนแพลตฟอร์มการจัดส่งถัดจากหมายเลขคำสั่งซื้อ",
2418
+ showOrderCountDescription: "แสดงจำนวนคำสั่งซื้อ สถิติเครื่องดื่ม/อาหาร ในส่วนหัวของส่วนกำลังเตรียม",
2419
+ showEstimatedTimeDescription: "แสดงเวลาคาดรอในส่วนหัวของส่วนกำลังเตรียม",
2420
+ showOrderTypeTabsDescription: "แสดงแท็บทานที่ร้าน / จัดส่งที่ด้านบนของกระดานคำสั่งซื้อ",
2421
+ showProgressBarDescription: "แสดงแถบความคืบหน้าบนกระดาน ODS",
2422
+ colorOverrideConfigDescription: "เขียนทับสีแบรนด์เฉพาะสำหรับการกำหนดค่า ODS นี้",
2423
+ colorsOverridden: "เขียนทับ {count} สี",
2424
+ configure: "กำหนดค่า",
2425
+ layoutSettingsDescription: "กำหนดค่าพื้นหลัง แผงด้านข้าง และขนาดกระดาน",
2426
+ backgroundImageDescription: "เลือกพื้นหลังในตัวหรืออัปโหลดภาพกำหนดเอง",
2427
+ sidePanelImageDescription: "ภาพตกแต่งแผงด้านข้างกระดาน",
2428
+ backgroundDisabled: "ภาพพื้นหลังถูกปิดใช้งาน",
2429
+ sidePanelDisabled: "แผงด้านข้างถูกปิดใช้งาน",
2430
+ position: "ตำแหน่ง",
2431
+ widthPercent: "ความกว้าง (%)",
2432
+ boardWidthDescription: "ความกว้างของกระดานคำสั่งซื้อเป็นเปอร์เซ็นต์ของพื้นที่ที่มี",
2433
+ boardAlignmentDescription: "จัดตำแหน่งกระดานคำสั่งซื้อเมื่อความกว้างน้อยกว่า 100%",
2434
+ defaultImage: "ภาพเริ่มต้น",
2435
+ custom: "กำหนดเอง",
2436
+ previewDescription: "ตัวอย่างแบบสดที่ 1920 x 1080",
2437
+ statusTemplate: "เทมเพลตสถานะ",
2438
+ statusTemplateDescription: "เลือกเทมเพลตสำเร็จรูปสำหรับเลย์เอาต์บอร์ดสถานะแนวนอน เทมเพลตที่ไม่ใช่ค่าเริ่มต้นจะใช้ดีไซน์คงที่พร้อมสีที่กำหนดไว้",
2439
+ templateDefault: "ค่าเริ่มต้น",
2440
+ templateBorderedCard: "การ์ดมีขอบ",
2441
+ templateFloatingTab: "แท็บลอย",
2442
+ templateCenteredPill: "ยาเม็ดกลาง",
2443
+ footerMode: "โหมดส่วนท้าย",
2444
+ footerModeDescription: "เลือกสิ่งที่แสดงที่ด้านล่างของหน้าจอ ODS 'FeedMe' แสดงส่วนท้ายแบรนด์เริ่มต้น 'ไอคอนตั้งค่า' ซ่อนส่วนท้ายและแสดงไอคอนเฟืองลอยที่ซ่อนอัตโนมัติหลัง 10 วินาที",
2445
+ footerModeFeedme: "FeedMe",
2446
+ footerModeSettingsIcon: "ไอคอนตั้งค่า"
1987
2447
  }
1988
2448
  },
1989
2449
  template: {
@@ -2422,8 +2882,8 @@ const wn = {
2422
2882
  app: {
2423
2883
  runningVersion: "กำลังทำงาน v{version} บน {namespace}"
2424
2884
  }
2425
- }, Dn = {
2426
- brand: xn
2885
+ }, xn = {
2886
+ brand: _n
2427
2887
  }, In = {
2428
2888
  dashboard: "대시보드",
2429
2889
  orders: "주문",
@@ -2495,7 +2955,7 @@ const wn = {
2495
2955
  copyright: "저작권",
2496
2956
  terms: "이용 약관",
2497
2957
  privacy: "개인정보 처리방침"
2498
- }, Rn = {
2958
+ }, On = {
2499
2959
  title: "대시보드",
2500
2960
  overview: "개요",
2501
2961
  sales: "매출",
@@ -2516,7 +2976,7 @@ const wn = {
2516
2976
  thisYear: "올해",
2517
2977
  lastYear: "작년",
2518
2978
  customRange: "사용자 지정 범위"
2519
- }, Fn = {
2979
+ }, Rn = {
2520
2980
  title: "주문",
2521
2981
  list: "주문 목록",
2522
2982
  create: "주문 생성",
@@ -2544,7 +3004,7 @@ const wn = {
2544
3004
  delivered: "배달됨",
2545
3005
  returned: "반품됨"
2546
3006
  }
2547
- }, On = {
3007
+ }, Fn = {
2548
3008
  title: "상품",
2549
3009
  list: "상품 목록",
2550
3010
  create: "상품 생성",
@@ -2571,7 +3031,7 @@ const wn = {
2571
3031
  groups: "고객 그룹",
2572
3032
  notes: "메모",
2573
3033
  addresses: "주소"
2574
- }, En = {
3034
+ }, Bn = {
2575
3035
  title: "설정",
2576
3036
  general: "일반",
2577
3037
  store: "스토어",
@@ -2744,7 +3204,126 @@ const wn = {
2744
3204
  dialogTitleKiosk: "키오스크 색상 덮어쓰기",
2745
3205
  close: "닫기",
2746
3206
  save: "덮어쓰기 저장"
2747
- }
3207
+ },
3208
+ categoryDisplay: "카테고리 표시",
3209
+ categoryDisplayDescription: "카테고리 목록의 표시 유형",
3210
+ single: "단일 카테고리",
3211
+ multiple: "다중 카테고리"
3212
+ },
3213
+ toast: {
3214
+ saving: "설정 저장 중...",
3215
+ saved: "설정이 저장되었습니다",
3216
+ errorSaving: "설정 저장 실패"
3217
+ },
3218
+ dialog: {
3219
+ editPluginParams: "플러그인 매개변수 편집",
3220
+ invalidJson: "잘못된 JSON"
3221
+ },
3222
+ fontStylesheets: {
3223
+ title: "폰트 스타일시트 관리",
3224
+ description: "이 브랜드 키트와 함께 로드할 스타일시트 URL(예: Google Fonts)을 추가하세요.",
3225
+ stylesheetUrl: "스타일시트 URL",
3226
+ addStylesheet: "스타일시트 추가",
3227
+ noStylesheetsYet: "아직 폰트 스타일시트가 추가되지 않았습니다."
3228
+ },
3229
+ plugins: {
3230
+ customLayout: "사용자 지정 레이아웃 (관리자 전용)",
3231
+ customLayoutDescription: "고급 JSON 구문으로 레이아웃을 사용자 지정합니다",
3232
+ appPlugins: "앱 플러그인 (관리자 전용)",
3233
+ kioskPlugins: "키오스크 플러그인 (관리자 전용)",
3234
+ pluginsDescription: "원격 플러그인 및 매개변수 JSON을 구성합니다.",
3235
+ addPlugin: "플러그인 추가",
3236
+ pluginUrl: "플러그인 URL",
3237
+ pluginParams: "플러그인 매개변수",
3238
+ editJsonDescription: "플러그인에 전달할 JSON을 편집합니다.",
3239
+ editJson: "JSON 편집",
3240
+ noPluginsYet: "아직 플러그인이 구성되지 않았습니다."
3241
+ },
3242
+ ods: {
3243
+ settings: "ODS 설정",
3244
+ addConfiguration: "구성 추가",
3245
+ orderDisplaySystem: "주문 표시 시스템",
3246
+ description: "ODS 화면에서 주문이 표시되는 방식을 구성합니다. 각 구성은 특정 레스토랑을 대상으로 하거나 할당되지 않은 모든 레스토랑의 기본값으로 사용할 수 있습니다.",
3247
+ noConfigsYet: "아직 ODS 구성이 없습니다",
3248
+ noConfigsDescription: "레스토랑의 ODS 표시를 사용자 지정하려면 구성을 추가하세요.",
3249
+ default: "기본값",
3250
+ configNumber: "구성 #{index}",
3251
+ allRestaurantsDefault: "모든 레스토랑 (기본값)",
3252
+ odsConfiguration: "ODS 구성",
3253
+ label: "라벨",
3254
+ defaultConfiguration: "기본 구성",
3255
+ defaultWarning: "다른 구성이 이미 기본값으로 설정되어 있습니다. 저장하면 기본값이 대체됩니다.",
3256
+ restaurantInfo: "이 구성은 특정 항목과 일치하지 않는 모든 레스토랑에 적용됩니다.",
3257
+ selectRestaurants: "레스토랑 선택",
3258
+ displaySettings: "표시 설정",
3259
+ groupOrdersBy: "주문 그룹 기준",
3260
+ groupByStatus: "상태",
3261
+ groupByType: "유형",
3262
+ statusBoardLayout: "상태 보드 레이아웃",
3263
+ layoutHorizontal: "가로",
3264
+ layoutVertical: "세로",
3265
+ statusColumnCount: "상태 열 수",
3266
+ slidingInterval: "슬라이드 간격",
3267
+ showDeliveryIcons: "배달 아이콘 표시",
3268
+ showOrderCount: "주문 수 표시",
3269
+ showEstimatedTime: "예상 시간 표시",
3270
+ showOrderTypeTabs: "주문 유형 탭 표시",
3271
+ showProgressBar: "진행률 표시줄 표시",
3272
+ colorOverride: "색상 덮어쓰기",
3273
+ colorOverrideTitle: "ODS 색상 덮어쓰기",
3274
+ colorOverrideDescription: "ODS 표시의 기본 브랜드 색상을 덮어씁니다.",
3275
+ layoutSettings: "레이아웃 설정",
3276
+ backgroundImage: "배경 이미지",
3277
+ sidePanelImage: "사이드 패널 이미지",
3278
+ boardWidth: "보드 너비 (%)",
3279
+ boardAlignment: "보드 정렬",
3280
+ alignLeft: "왼쪽",
3281
+ alignCenter: "가운데",
3282
+ alignRight: "오른쪽",
3283
+ disable: "비활성화",
3284
+ defaultImage1: "기본 이미지 1",
3285
+ defaultImage2: "기본 이미지 2",
3286
+ customImage: "사용자 지정 이미지",
3287
+ changeImage: "이미지 변경",
3288
+ uploading: "업로드 중...",
3289
+ odsPreview: "ODS 미리보기",
3290
+ openInNewTab: "새 탭에서 열기",
3291
+ previewUnavailable: "미리보기를 사용할 수 없습니다",
3292
+ displaySettingsDescription: "ODS 보드에서 주문이 그룹화되고 표시되는 방식을 제어합니다.",
3293
+ groupOrdersByDescription: "디스플레이에서 주문을 그룹화하는 방식을 선택합니다.",
3294
+ statusBoardLayoutDescription: "준비 중 및 완료 섹션을 나란히 (가로) 또는 쌓아서 (세로) 배치합니다.",
3295
+ statusColumnCountDescription: "각 상태 섹션 내 열 수입니다.",
3296
+ slidingIntervalDescription: "상태 보드의 자동 회전 간격(초)입니다.",
3297
+ showDeliveryIconsDescription: "주문 번호 옆에 배달 플랫폼 아이콘을 표시합니다.",
3298
+ showOrderCountDescription: "준비 중 섹션 헤더에 주문 수, 음료/음식 통계를 표시합니다.",
3299
+ showEstimatedTimeDescription: "준비 중 섹션 헤더에 예상 대기 시간을 표시합니다.",
3300
+ showOrderTypeTabsDescription: "주문 보드 상단에 매장 내 / 배달 탭을 표시합니다.",
3301
+ showProgressBarDescription: "ODS 보드에 진행률 표시줄을 표시합니다.",
3302
+ colorOverrideConfigDescription: "이 ODS 구성에 대해 브랜드 색상을 별도로 덮어씁니다.",
3303
+ colorsOverridden: "{count}개 색상이 덮어쓰여짐",
3304
+ configure: "설정",
3305
+ layoutSettingsDescription: "배경, 사이드 패널 및 보드 크기를 설정합니다.",
3306
+ backgroundImageDescription: "내장 배경을 선택하거나 사용자 지정 이미지를 업로드합니다.",
3307
+ sidePanelImageDescription: "보드 옆의 장식 이미지 패널입니다.",
3308
+ backgroundDisabled: "배경 이미지가 비활성화되었습니다.",
3309
+ sidePanelDisabled: "사이드 패널이 비활성화되었습니다.",
3310
+ position: "위치",
3311
+ widthPercent: "너비 (%)",
3312
+ boardWidthDescription: "사용 가능한 공간 대비 주문 보드의 너비 백분율입니다.",
3313
+ boardAlignmentDescription: "너비가 100% 미만일 때 주문 보드를 정렬합니다.",
3314
+ defaultImage: "기본 이미지",
3315
+ custom: "사용자 지정",
3316
+ previewDescription: "1920 x 1080 실시간 미리보기.",
3317
+ statusTemplate: "상태 템플릿",
3318
+ statusTemplateDescription: "수평 상태 보드 레이아웃에 사용할 사전 제작 템플릿을 선택합니다. 기본이 아닌 템플릿은 하드코딩된 색상의 고정 디자인을 사용합니다.",
3319
+ templateDefault: "기본",
3320
+ templateBorderedCard: "테두리 카드",
3321
+ templateFloatingTab: "플로팅 탭",
3322
+ templateCenteredPill: "중앙 필",
3323
+ footerMode: "푸터 모드",
3324
+ footerModeDescription: "ODS 화면 하단에 표시할 내용을 선택합니다. 'FeedMe'는 기본 브랜드 푸터를 표시합니다. '설정 아이콘'은 푸터를 숨기고 10초 후 자동 숨김되는 플로팅 설정 아이콘을 표시합니다.",
3325
+ footerModeFeedme: "FeedMe",
3326
+ footerModeSettingsIcon: "설정 아이콘"
2748
3327
  }
2749
3328
  },
2750
3329
  settings: {
@@ -3183,15 +3762,15 @@ const wn = {
3183
3762
  app: {
3184
3763
  runningVersion: "{namespace}에서 v{version} 실행 중"
3185
3764
  }
3186
- }, Bn = {
3765
+ }, En = {
3187
3766
  common: In,
3188
- dashboard: Rn,
3189
- orders: Fn,
3190
- products: On,
3767
+ dashboard: On,
3768
+ orders: Rn,
3769
+ products: Fn,
3191
3770
  customers: Nn,
3192
- settings: En,
3771
+ settings: Bn,
3193
3772
  brand: Hn
3194
- }, Vn = {
3773
+ }, Un = {
3195
3774
  dashboard: "Bảng điều khiển",
3196
3775
  orders: "Đơn hàng",
3197
3776
  products: "Sản phẩm",
@@ -3262,7 +3841,7 @@ const wn = {
3262
3841
  copyright: "Bản quyền",
3263
3842
  terms: "Điều khoản",
3264
3843
  privacy: "Bảo mật"
3265
- }, Un = {
3844
+ }, Vn = {
3266
3845
  title: "Bảng điều khiển",
3267
3846
  overview: "Tổng quan",
3268
3847
  sales: "Doanh thu",
@@ -3283,7 +3862,7 @@ const wn = {
3283
3862
  thisYear: "Năm nay",
3284
3863
  lastYear: "Năm ngoái",
3285
3864
  customRange: "Tùy chỉnh"
3286
- }, jn = {
3865
+ }, Wn = {
3287
3866
  title: "Đơn hàng",
3288
3867
  list: "Danh sách đơn hàng",
3289
3868
  create: "Tạo đơn hàng",
@@ -3311,7 +3890,7 @@ const wn = {
3311
3890
  delivered: "Đã giao hàng",
3312
3891
  returned: "Đã trả hàng"
3313
3892
  }
3314
- }, Wn = {
3893
+ }, jn = {
3315
3894
  title: "Sản phẩm",
3316
3895
  list: "Danh sách sản phẩm",
3317
3896
  create: "Tạo sản phẩm",
@@ -3511,7 +4090,126 @@ const wn = {
3511
4090
  dialogTitleKiosk: "Ghi đè màu ki-ốt",
3512
4091
  close: "Đóng",
3513
4092
  save: "Lưu ghi đè"
3514
- }
4093
+ },
4094
+ categoryDisplay: "Hiển thị danh mục",
4095
+ categoryDisplayDescription: "Loại hiển thị cho danh sách danh mục",
4096
+ single: "Danh mục đơn",
4097
+ multiple: "Nhiều danh mục"
4098
+ },
4099
+ toast: {
4100
+ saving: "Đang lưu cài đặt...",
4101
+ saved: "Cài đặt đã được lưu",
4102
+ errorSaving: "Lưu cài đặt thất bại"
4103
+ },
4104
+ dialog: {
4105
+ editPluginParams: "Chỉnh sửa tham số plugin",
4106
+ invalidJson: "JSON không hợp lệ"
4107
+ },
4108
+ fontStylesheets: {
4109
+ title: "Quản lý bảng kiểu phông chữ",
4110
+ description: "Thêm URL bảng kiểu (ví dụ từ Google Fonts) cần tải cùng bộ nhận diện thương hiệu này.",
4111
+ stylesheetUrl: "URL bảng kiểu",
4112
+ addStylesheet: "Thêm bảng kiểu",
4113
+ noStylesheetsYet: "Chưa thêm bảng kiểu phông chữ nào."
4114
+ },
4115
+ plugins: {
4116
+ customLayout: "Bố cục tùy chỉnh (Chỉ quản trị viên)",
4117
+ customLayoutDescription: "Tùy chỉnh bố cục với cú pháp JSON nâng cao",
4118
+ appPlugins: "Plugin ứng dụng (Chỉ quản trị viên)",
4119
+ kioskPlugins: "Plugin ki-ốt (Chỉ quản trị viên)",
4120
+ pluginsDescription: "Cấu hình plugin từ xa và tham số JSON của chúng.",
4121
+ addPlugin: "Thêm plugin",
4122
+ pluginUrl: "URL plugin",
4123
+ pluginParams: "Tham số plugin",
4124
+ editJsonDescription: "Chỉnh sửa JSON truyền cho plugin.",
4125
+ editJson: "Chỉnh sửa JSON",
4126
+ noPluginsYet: "Chưa cấu hình plugin nào."
4127
+ },
4128
+ ods: {
4129
+ settings: "Cài đặt ODS",
4130
+ addConfiguration: "Thêm cấu hình",
4131
+ orderDisplaySystem: "Hệ thống hiển thị đơn hàng",
4132
+ description: "Cấu hình cách đơn hàng được hiển thị trên màn hình ODS. Mỗi cấu hình có thể nhắm đến các nhà hàng cụ thể hoặc dùng làm mặc định cho tất cả nhà hàng chưa được chỉ định.",
4133
+ noConfigsYet: "Chưa có cấu hình ODS nào",
4134
+ noConfigsDescription: "Thêm cấu hình để tùy chỉnh hiển thị ODS cho nhà hàng của bạn.",
4135
+ default: "Mặc định",
4136
+ configNumber: "Cấu hình #{index}",
4137
+ allRestaurantsDefault: "Tất cả nhà hàng (mặc định)",
4138
+ odsConfiguration: "Cấu hình ODS",
4139
+ label: "Nhãn",
4140
+ defaultConfiguration: "Cấu hình mặc định",
4141
+ defaultWarning: "Một cấu hình khác đã được đặt làm mặc định. Lưu sẽ thay thế nó làm mặc định.",
4142
+ restaurantInfo: "Cấu hình này áp dụng cho tất cả nhà hàng không khớp với mục cụ thể nào.",
4143
+ selectRestaurants: "Chọn nhà hàng",
4144
+ displaySettings: "Cài đặt hiển thị",
4145
+ groupOrdersBy: "Nhóm đơn hàng theo",
4146
+ groupByStatus: "Trạng thái",
4147
+ groupByType: "Loại",
4148
+ statusBoardLayout: "Bố cục bảng trạng thái",
4149
+ layoutHorizontal: "Ngang",
4150
+ layoutVertical: "Dọc",
4151
+ statusColumnCount: "Số cột trạng thái",
4152
+ slidingInterval: "Khoảng thời gian trượt",
4153
+ showDeliveryIcons: "Hiển thị biểu tượng giao hàng",
4154
+ showOrderCount: "Hiển thị số đơn hàng",
4155
+ showEstimatedTime: "Hiển thị thời gian ước tính",
4156
+ showOrderTypeTabs: "Hiển thị tab loại đơn hàng",
4157
+ showProgressBar: "Hiển thị thanh tiến trình",
4158
+ colorOverride: "Ghi đè màu",
4159
+ colorOverrideTitle: "Ghi đè màu ODS",
4160
+ colorOverrideDescription: "Ghi đè màu thương hiệu mặc định cho hiển thị ODS.",
4161
+ layoutSettings: "Cài đặt bố cục",
4162
+ backgroundImage: "Hình nền",
4163
+ sidePanelImage: "Hình bảng bên",
4164
+ boardWidth: "Chiều rộng bảng (%)",
4165
+ boardAlignment: "Căn chỉnh bảng",
4166
+ alignLeft: "Trái",
4167
+ alignCenter: "Giữa",
4168
+ alignRight: "Phải",
4169
+ disable: "Tắt",
4170
+ defaultImage1: "Hình mặc định 1",
4171
+ defaultImage2: "Hình mặc định 2",
4172
+ customImage: "Hình tùy chỉnh",
4173
+ changeImage: "Đổi hình",
4174
+ uploading: "Đang tải lên...",
4175
+ odsPreview: "Xem trước ODS",
4176
+ openInNewTab: "Mở trong tab mới",
4177
+ previewUnavailable: "Không thể xem trước",
4178
+ displaySettingsDescription: "Kiểm soát cách đơn hàng được nhóm và hiển thị trên bảng ODS.",
4179
+ groupOrdersByDescription: "Chọn cách nhóm đơn hàng trên màn hình hiển thị.",
4180
+ statusBoardLayoutDescription: "Sắp xếp phần đang chuẩn bị và sẵn sàng cạnh nhau (ngang) hoặc chồng lên nhau (dọc).",
4181
+ statusColumnCountDescription: "Số cột trong mỗi phần trạng thái.",
4182
+ slidingIntervalDescription: "Khoảng thời gian xoay tự động của bảng trạng thái tính bằng giây.",
4183
+ showDeliveryIconsDescription: "Hiển thị biểu tượng nền tảng giao hàng bên cạnh số đơn hàng.",
4184
+ showOrderCountDescription: "Hiển thị số đơn hàng, thống kê đồ uống/thức ăn trong tiêu đề phần đang chuẩn bị.",
4185
+ showEstimatedTimeDescription: "Hiển thị thời gian chờ ước tính trong tiêu đề phần đang chuẩn bị.",
4186
+ showOrderTypeTabsDescription: "Hiển thị tab Tại nhà hàng / Giao hàng ở đầu bảng đơn hàng.",
4187
+ showProgressBarDescription: "Hiển thị thanh tiến trình trên bảng ODS.",
4188
+ colorOverrideConfigDescription: "Ghi đè màu thương hiệu riêng cho cấu hình ODS này.",
4189
+ colorsOverridden: "Đã ghi đè {count} màu",
4190
+ configure: "Cấu hình",
4191
+ layoutSettingsDescription: "Cấu hình hình nền, bảng bên và kích thước bảng.",
4192
+ backgroundImageDescription: "Chọn hình nền có sẵn hoặc tải lên hình tùy chỉnh.",
4193
+ sidePanelImageDescription: "Bảng hình trang trí bên cạnh bảng.",
4194
+ backgroundDisabled: "Hình nền đã bị tắt.",
4195
+ sidePanelDisabled: "Bảng bên đã bị tắt.",
4196
+ position: "Vị trí",
4197
+ widthPercent: "Chiều rộng (%)",
4198
+ boardWidthDescription: "Chiều rộng bảng đơn hàng tính theo phần trăm không gian có sẵn.",
4199
+ boardAlignmentDescription: "Căn chỉnh bảng đơn hàng khi chiều rộng nhỏ hơn 100%.",
4200
+ defaultImage: "Hình mặc định",
4201
+ custom: "Tùy chỉnh",
4202
+ previewDescription: "Xem trước trực tiếp tại 1920 x 1080.",
4203
+ statusTemplate: "Mẫu trạng thái",
4204
+ statusTemplateDescription: "Chọn mẫu có sẵn cho bố cục bảng trạng thái ngang. Các mẫu không mặc định sử dụng thiết kế cố định với màu sắc được mã hóa cứng.",
4205
+ templateDefault: "Mặc định",
4206
+ templateBorderedCard: "Thẻ viền",
4207
+ templateFloatingTab: "Tab nổi",
4208
+ templateCenteredPill: "Viên giữa",
4209
+ footerMode: "Chế độ chân trang",
4210
+ footerModeDescription: "Chọn nội dung hiển thị ở cuối màn hình ODS. 'FeedMe' hiển thị chân trang thương hiệu mặc định. 'Biểu tượng cài đặt' ẩn chân trang và hiển thị biểu tượng bánh răng nổi tự động ẩn sau 10 giây.",
4211
+ footerModeFeedme: "FeedMe",
4212
+ footerModeSettingsIcon: "Biểu tượng cài đặt"
3515
4213
  }
3516
4214
  },
3517
4215
  settings: {
@@ -3951,14 +4649,14 @@ const wn = {
3951
4649
  runningVersion: "Đang chạy v{version} trên {namespace}"
3952
4650
  }
3953
4651
  }, zn = {
3954
- common: Vn,
3955
- dashboard: Un,
3956
- orders: jn,
3957
- products: Wn,
4652
+ common: Un,
4653
+ dashboard: Vn,
4654
+ orders: Wn,
4655
+ products: jn,
3958
4656
  customers: qn,
3959
4657
  settings: Kn,
3960
4658
  brand: Gn
3961
- }, Qn = {
4659
+ }, Yn = {
3962
4660
  branches: {
3963
4661
  ourOutlets: "Our outlets",
3964
4662
  noOutletFound: "No outlet found",
@@ -4046,7 +4744,7 @@ const wn = {
4046
4744
  missions: "Missions",
4047
4745
  games: "Games"
4048
4746
  }
4049
- }, Yn = {
4747
+ }, Qn = {
4050
4748
  member: {
4051
4749
  welcome: "Welcome!",
4052
4750
  signIn: "Sign in",
@@ -4227,7 +4925,7 @@ const wn = {
4227
4925
  switchCountryDrawer: {
4228
4926
  selectLocation: "Select your location"
4229
4927
  }
4230
- }, Xn = {
4928
+ }, Jn = {
4231
4929
  orderDetails: {
4232
4930
  title: "Order details"
4233
4931
  },
@@ -4446,7 +5144,7 @@ const wn = {
4446
5144
  download: "Download"
4447
5145
  }
4448
5146
  }
4449
- }, Jn = {
5147
+ }, Xn = {
4450
5148
  voucher: {
4451
5149
  validFrom: "Valid from {date}",
4452
5150
  validTill: "Valid till {date}",
@@ -4466,10 +5164,10 @@ const wn = {
4466
5164
  confirm: "Got it"
4467
5165
  }
4468
5166
  }, er = {
4469
- user: Qn,
4470
- components: Yn,
4471
- views: Xn,
4472
- utils: Jn,
5167
+ user: Yn,
5168
+ components: Qn,
5169
+ views: Jn,
5170
+ utils: Xn,
4473
5171
  dialog: Zn
4474
5172
  }, tr = {
4475
5173
  branches: {
@@ -5781,7 +6479,7 @@ const wn = {
5781
6479
  switchCountryDrawer: {
5782
6480
  selectLocation: "เลือกตำแหน่งของคุณ"
5783
6481
  }
5784
- }, fr = {
6482
+ }, gr = {
5785
6483
  orderDetails: {
5786
6484
  title: "รายละเอียดคำสั่ง"
5787
6485
  },
@@ -5998,7 +6696,7 @@ const wn = {
5998
6696
  cancelAction: "ยกเลิก"
5999
6697
  }
6000
6698
  }
6001
- }, gr = {
6699
+ }, fr = {
6002
6700
  voucher: {
6003
6701
  validFrom: "ใช้ได้ตั้งแต่ {date}",
6004
6702
  validTill: "ใช้ได้ถึง {date}",
@@ -6020,8 +6718,8 @@ const wn = {
6020
6718
  }, yr = {
6021
6719
  user: mr,
6022
6720
  components: hr,
6023
- views: fr,
6024
- utils: gr,
6721
+ views: gr,
6722
+ utils: fr,
6025
6723
  dialog: br
6026
6724
  }, vr = {
6027
6725
  branches: {
@@ -6552,7 +7250,7 @@ const wn = {
6552
7250
  noMinimumSpend: "최소 구매 금액 없음",
6553
7251
  withCondition: "{condition} 시 {adjustment}"
6554
7252
  }
6555
- }, kr = {
7253
+ }, Sr = {
6556
7254
  tabletOrder: {
6557
7255
  title: "태블릿으로 주문",
6558
7256
  message: "이 페이지 대신 태블릿을 사용하여 주문해주세요.",
@@ -6563,8 +7261,8 @@ const wn = {
6563
7261
  components: Tr,
6564
7262
  views: Cr,
6565
7263
  utils: Lr,
6566
- dialog: kr
6567
- }, Sr = {
7264
+ dialog: Sr
7265
+ }, kr = {
6568
7266
  branches: {
6569
7267
  ourOutlets: "Cửa hàng của chúng tôi",
6570
7268
  noOutletFound: "Không tìm thấy cửa hàng",
@@ -6682,7 +7380,7 @@ const wn = {
6682
7380
  missions: "Nhiệm vụ",
6683
7381
  games: "Trò chơi"
6684
7382
  }
6685
- }, $r = {
7383
+ }, Dr = {
6686
7384
  member: {
6687
7385
  welcome: "Chào mừng!",
6688
7386
  signIn: "Đăng nhập",
@@ -6863,7 +7561,7 @@ const wn = {
6863
7561
  switchCountryDrawer: {
6864
7562
  selectLocation: "Chọn vị trí của bạn"
6865
7563
  }
6866
- }, Ar = {
7564
+ }, Pr = {
6867
7565
  orderDetails: {
6868
7566
  title: "Chi tiết đơn hàng"
6869
7567
  },
@@ -7080,7 +7778,7 @@ const wn = {
7080
7778
  download: "Tải xuống"
7081
7779
  }
7082
7780
  }
7083
- }, _r = {
7781
+ }, Ar = {
7084
7782
  voucher: {
7085
7783
  validFrom: "Có hiệu lực từ {date}",
7086
7784
  validTill: "Có hiệu lực đến {date}",
@@ -7093,23 +7791,23 @@ const wn = {
7093
7791
  noMinimumSpend: "không yêu cầu chi tiêu tối thiểu",
7094
7792
  withCondition: "{adjustment} với {condition}"
7095
7793
  }
7096
- }, Pr = {
7794
+ }, $r = {
7097
7795
  tabletOrder: {
7098
7796
  title: "Đặt hàng qua Máy tính bảng",
7099
7797
  message: "Vui lòng sử dụng máy tính bảng để đặt hàng thay vì trang này.",
7100
7798
  confirm: "Đã hiểu"
7101
7799
  }
7102
7800
  }, Mr = {
7103
- user: Sr,
7104
- components: $r,
7105
- views: Ar,
7106
- utils: _r,
7107
- dialog: Pr
7108
- }, $c = [
7801
+ user: kr,
7802
+ components: Dr,
7803
+ views: Pr,
7804
+ utils: Ar,
7805
+ dialog: $r
7806
+ }, Dc = [
7109
7807
  {
7110
7808
  path: "/",
7111
7809
  name: "brandkit",
7112
- component: H(() => import("./BrandkitView-DNrEYcAk.js"))
7810
+ component: H(() => import("./BrandkitView-DWu_xxd7.js"))
7113
7811
  },
7114
7812
  {
7115
7813
  path: "/projects",
@@ -7124,7 +7822,7 @@ const wn = {
7124
7822
  path: ":templateId(.*)*",
7125
7823
  name: "builder",
7126
7824
  component: H(
7127
- () => import("./BuilderView-BpOlYKuA.js")
7825
+ () => import("./BuilderView-ngEgnLC_.js")
7128
7826
  )
7129
7827
  }
7130
7828
  ]
@@ -7165,7 +7863,7 @@ const wn = {
7165
7863
  redirect: { name: "brandkit" }
7166
7864
  }
7167
7865
  ];
7168
- var gi = [
7866
+ var fi = [
7169
7867
  "__key",
7170
7868
  "__init",
7171
7869
  "__shim",
@@ -7173,16 +7871,16 @@ var gi = [
7173
7871
  "__index",
7174
7872
  "__prevKey"
7175
7873
  ];
7176
- function _e() {
7874
+ function Ae() {
7177
7875
  return Math.random().toString(36).substring(2, 15);
7178
7876
  }
7179
- function xr(e, t) {
7877
+ function _r(e, t) {
7180
7878
  return [...e instanceof Set ? e : new Set(e)];
7181
7879
  }
7182
- function A(e, t) {
7880
+ function P(e, t) {
7183
7881
  return Object.prototype.hasOwnProperty.call(e, t);
7184
7882
  }
7185
- function V(e, t, i = !0, n = ["__key"]) {
7883
+ function U(e, t, i = !0, n = ["__key"]) {
7186
7884
  if (e === t)
7187
7885
  return !0;
7188
7886
  if (typeof t == "object" && typeof e == "object") {
@@ -7191,20 +7889,20 @@ function V(e, t, i = !0, n = ["__key"]) {
7191
7889
  if (e instanceof Date && t instanceof Date)
7192
7890
  return e.getTime() === t.getTime();
7193
7891
  if (e instanceof RegExp && t instanceof RegExp)
7194
- return Dr(e, t);
7892
+ return xr(e, t);
7195
7893
  if (e === null || t === null || Object.keys(e).length !== Object.keys(t).length)
7196
7894
  return !1;
7197
7895
  for (const r of n)
7198
7896
  if ((r in e || r in t) && e[r] !== t[r])
7199
7897
  return !1;
7200
7898
  for (const r in e)
7201
- if (!(r in t) || e[r] !== t[r] && !i || i && !V(e[r], t[r], i, n))
7899
+ if (!(r in t) || e[r] !== t[r] && !i || i && !U(e[r], t[r], i, n))
7202
7900
  return !1;
7203
7901
  return !0;
7204
7902
  }
7205
7903
  return !1;
7206
7904
  }
7207
- function Dr(e, t) {
7905
+ function xr(e, t) {
7208
7906
  return e.source === t.source && e.flags.split("").sort().join("") === t.flags.split("").sort().join("");
7209
7907
  }
7210
7908
  function z(e) {
@@ -7227,7 +7925,7 @@ function z(e) {
7227
7925
  function Ir(e) {
7228
7926
  return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
7229
7927
  }
7230
- function Rr(e) {
7928
+ function Or(e) {
7231
7929
  const t = `^${Ir(e)}$`, i = {
7232
7930
  MM: "(0[1-9]|1[012])",
7233
7931
  M: "([1-9]|1[012])",
@@ -7243,7 +7941,7 @@ function Rr(e) {
7243
7941
  function Ge(e) {
7244
7942
  return Object.prototype.toString.call(e) === "[object Object]";
7245
7943
  }
7246
- function Re(e) {
7944
+ function Oe(e) {
7247
7945
  return Ge(e) || Array.isArray(e);
7248
7946
  }
7249
7947
  function we(e) {
@@ -7262,7 +7960,7 @@ var se = /* @__NO_SIDE_EFFECTS__ */ (e, t, i = !1, n = !1) => {
7262
7960
  if (typeof t == "string")
7263
7961
  return t;
7264
7962
  for (const a in e)
7265
- if (A(t, a) && (t[a] !== void 0 || !n)) {
7963
+ if (P(t, a) && (t[a] !== void 0 || !n)) {
7266
7964
  if (i && Array.isArray(e[a]) && Array.isArray(t[a])) {
7267
7965
  r[a] = e[a].concat(t[a]);
7268
7966
  continue;
@@ -7278,10 +7976,10 @@ var se = /* @__NO_SIDE_EFFECTS__ */ (e, t, i = !1, n = !1) => {
7278
7976
  } else
7279
7977
  r[a] = e[a];
7280
7978
  for (const a in t)
7281
- !A(r, a) && t[a] !== void 0 && (r[a] = t[a]);
7979
+ !P(r, a) && t[a] !== void 0 && (r[a] = t[a]);
7282
7980
  return r;
7283
7981
  };
7284
- function Fr(e) {
7982
+ function Rr(e) {
7285
7983
  if (e[0] !== '"' && e[0] !== "'" || e[0] !== e[e.length - 1])
7286
7984
  return !1;
7287
7985
  const t = e[0];
@@ -7290,7 +7988,7 @@ function Fr(e) {
7290
7988
  return !1;
7291
7989
  return !0;
7292
7990
  }
7293
- function Or(e) {
7991
+ function Fr(e) {
7294
7992
  if (!e.length)
7295
7993
  return "";
7296
7994
  let t = "", i = "";
@@ -7321,7 +8019,7 @@ function Ht(e, t) {
7321
8019
  !r.has(a) && !n.some((o) => o.test(a)) && (i[a] = e[a]);
7322
8020
  return i;
7323
8021
  }
7324
- function Bt(e, t) {
8022
+ function Et(e, t) {
7325
8023
  const i = {}, n = t.filter((r) => r instanceof RegExp);
7326
8024
  return t.forEach((r) => {
7327
8025
  r instanceof RegExp || (i[r] = e[r]);
@@ -7341,7 +8039,7 @@ function bi(e) {
7341
8039
  (t, i, n) => i + "-" + n.toLowerCase()
7342
8040
  ).replace(" ", "-").toLowerCase();
7343
8041
  }
7344
- function ht(e, t = gi) {
8042
+ function ht(e, t = fi) {
7345
8043
  if (e !== null && typeof e == "object") {
7346
8044
  let i;
7347
8045
  if (Array.isArray(e) ? i = [...e] : we(e) && (i = { ...e }), i)
@@ -7349,11 +8047,11 @@ function ht(e, t = gi) {
7349
8047
  }
7350
8048
  return e;
7351
8049
  }
7352
- function Se(e, t = gi) {
8050
+ function ke(e, t = fi) {
7353
8051
  if (e === null || e instanceof RegExp || e instanceof Date || e instanceof Map || e instanceof Set || typeof File == "function" && e instanceof File)
7354
8052
  return e;
7355
8053
  let i;
7356
- Array.isArray(e) ? i = e.map((n) => typeof n == "object" ? Se(n, t) : n) : i = Object.keys(e).reduce((n, r) => (n[r] = typeof e[r] == "object" ? Se(e[r], t) : e[r], n), {});
8054
+ Array.isArray(e) ? i = e.map((n) => typeof n == "object" ? ke(n, t) : n) : i = Object.keys(e).reduce((n, r) => (n[r] = typeof e[r] == "object" ? ke(e[r], t) : e[r], n), {});
7357
8055
  for (const n of t)
7358
8056
  n in e && Object.defineProperty(i, n, {
7359
8057
  enumerable: !1,
@@ -7362,32 +8060,32 @@ function Se(e, t = gi) {
7362
8060
  return i;
7363
8061
  }
7364
8062
  function G(e) {
7365
- return typeof e == "object" ? Se(e) : e;
8063
+ return typeof e == "object" ? ke(e) : e;
7366
8064
  }
7367
- function Er(e, t) {
8065
+ function Br(e, t) {
7368
8066
  if (!e || typeof e != "object")
7369
8067
  return null;
7370
8068
  const i = t.split(".");
7371
8069
  let n = e;
7372
8070
  for (const r in i) {
7373
8071
  const a = i[r];
7374
- if (A(n, a) && (n = n[a]), +r === i.length - 1)
8072
+ if (P(n, a) && (n = n[a]), +r === i.length - 1)
7375
8073
  return n;
7376
8074
  if (!n || typeof n != "object")
7377
8075
  return null;
7378
8076
  }
7379
8077
  return null;
7380
8078
  }
7381
- function Y(e) {
8079
+ function Q(e) {
7382
8080
  return e !== void 0 && e !== "false" && e !== !1 ? !0 : void 0;
7383
8081
  }
7384
- function $e(e) {
8082
+ function De(e) {
7385
8083
  return Object.isFrozen(e) ? e : Object.defineProperty(e, "__init", {
7386
8084
  enumerable: !1,
7387
8085
  value: !0
7388
8086
  });
7389
8087
  }
7390
- function St(e) {
8088
+ function kt(e) {
7391
8089
  return e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]/g, " ").trim().replace(/\s+/g, "-");
7392
8090
  }
7393
8091
  function Hr(e, t, i) {
@@ -7398,18 +8096,18 @@ function Hr(e, t, i) {
7398
8096
  });
7399
8097
  return t;
7400
8098
  }
7401
- function Br(e) {
8099
+ function Er(e) {
7402
8100
  let t = !1;
7403
8101
  return (...i) => {
7404
8102
  if (!t)
7405
8103
  return t = !0, queueMicrotask(() => t = !1), e(...i);
7406
8104
  };
7407
8105
  }
7408
- function Vr(e) {
8106
+ function Ur(e) {
7409
8107
  if (!(e === "false" || e === !1))
7410
8108
  return !0;
7411
8109
  }
7412
- function $t() {
8110
+ function Dt() {
7413
8111
  const e = [];
7414
8112
  let t = 0;
7415
8113
  const i = (r) => e.push(r), n = (r) => {
@@ -7436,13 +8134,13 @@ function yi() {
7436
8134
  return n.flush = () => {
7437
8135
  e.clear(), t.clear(), i == null || i.clear();
7438
8136
  }, n.on = (r, a, o = "push") => {
7439
- const [s, ...l] = r.split("."), f = a.receipt || _e(), g = {
8137
+ const [s, ...l] = r.split("."), g = a.receipt || Ae(), f = {
7440
8138
  modifiers: l,
7441
8139
  event: s,
7442
8140
  listener: a,
7443
- receipt: f
8141
+ receipt: g
7444
8142
  };
7445
- return e.has(s) ? e.get(s)[o](g) : e.set(s, [g]), t.has(f) ? t.get(f)[o](s) : t.set(f, [s]), f;
8143
+ return e.has(s) ? e.get(s)[o](f) : e.set(s, [f]), t.has(g) ? t.get(g)[o](s) : t.set(g, [s]), g;
7446
8144
  }, n.off = (r) => {
7447
8145
  var a;
7448
8146
  t.has(r) && ((a = t.get(r)) == null || a.forEach((o) => {
@@ -7461,7 +8159,7 @@ function yi() {
7461
8159
  i = void 0, a.forEach(([o, s]) => n(o, s)), r && r.walk((o) => o._e.play());
7462
8160
  }, n;
7463
8161
  }
7464
- function Ur(e, t, i, n, r = !0, a) {
8162
+ function Vr(e, t, i, n, r = !0, a) {
7465
8163
  return t._e(e, {
7466
8164
  payload: n,
7467
8165
  name: i,
@@ -7470,45 +8168,45 @@ function Ur(e, t, i, n, r = !0, a) {
7470
8168
  meta: a
7471
8169
  }), e;
7472
8170
  }
7473
- function jr(e, t, i) {
8171
+ function Wr(e, t, i) {
7474
8172
  return Ne(e.parent) && e.parent._e(e.parent, i), e;
7475
8173
  }
7476
- function Wr(e, t, i, n, r) {
8174
+ function jr(e, t, i, n, r) {
7477
8175
  return t._e.on(i, n, r);
7478
8176
  }
7479
8177
  function qr(e, t, i) {
7480
8178
  return t._e.off(i), e;
7481
8179
  }
7482
- var At = $t();
7483
- At((e, t) => (e.message || (e.message = `E${e.code}`), t(e)));
7484
- var _t = $t();
7485
- _t((e, t) => {
8180
+ var Pt = Dt();
8181
+ Pt((e, t) => (e.message || (e.message = `E${e.code}`), t(e)));
8182
+ var At = Dt();
8183
+ At((e, t) => {
7486
8184
  e.message || (e.message = `W${e.code}`);
7487
8185
  const i = t(e);
7488
8186
  return console && typeof console.warn == "function" && console.warn(i.message), i;
7489
8187
  });
7490
- function fe(e, t = {}) {
7491
- _t.dispatch({ code: e, data: t });
8188
+ function ge(e, t = {}) {
8189
+ At.dispatch({ code: e, data: t });
7492
8190
  }
7493
- function W(e, t = {}) {
7494
- throw Error(At.dispatch({ code: e, data: t }).message);
8191
+ function j(e, t = {}) {
8192
+ throw Error(Pt.dispatch({ code: e, data: t }).message);
7495
8193
  }
7496
8194
  function q(e, t) {
7497
8195
  return {
7498
8196
  blocking: !1,
7499
- key: _e(),
8197
+ key: Ae(),
7500
8198
  meta: {},
7501
8199
  type: "state",
7502
8200
  visible: !0,
7503
8201
  ...e
7504
8202
  };
7505
8203
  }
7506
- var Vt = {
7507
- apply: Xr,
8204
+ var Ut = {
8205
+ apply: Jr,
7508
8206
  set: Gr,
7509
8207
  remove: vi,
7510
- filter: Qr,
7511
- reduce: Yr,
8208
+ filter: Yr,
8209
+ reduce: Qr,
7512
8210
  release: ea,
7513
8211
  touch: zr
7514
8212
  };
@@ -7519,16 +8217,16 @@ function Kr(e = !1) {
7519
8217
  let o;
7520
8218
  const s = new Proxy(t, {
7521
8219
  get(...l) {
7522
- const [f, g] = l;
7523
- return g === "buffer" ? n : g === "_b" ? r : g === "_m" ? a : g === "_r" ? o : A(Vt, g) ? Vt[g].bind(
8220
+ const [g, f] = l;
8221
+ return f === "buffer" ? n : f === "_b" ? r : f === "_m" ? a : f === "_r" ? o : P(Ut, f) ? Ut[f].bind(
7524
8222
  null,
7525
8223
  t,
7526
8224
  s,
7527
8225
  i
7528
8226
  ) : Reflect.get(...l);
7529
8227
  },
7530
- set(l, f, g) {
7531
- return f === "_n" ? (i = g, o === "__n" && Ti(i, s), !0) : f === "_b" ? (r = g, !0) : f === "buffer" ? (n = g, !0) : f === "_r" ? (o = g, !0) : (W(101, i), !1);
8228
+ set(l, g, f) {
8229
+ return g === "_n" ? (i = f, o === "__n" && Ti(i, s), !0) : g === "_b" ? (r = f, !0) : g === "buffer" ? (n = f, !0) : g === "_r" ? (o = f, !0) : (j(101, i), !1);
7532
8230
  }
7533
8231
  });
7534
8232
  return s;
@@ -7541,7 +8239,7 @@ function Gr(e, t, i, n) {
7541
8239
  const a = n.value;
7542
8240
  n.value = i.t(n), n.value !== a && (n.meta.locale = i.props.locale);
7543
8241
  }
7544
- const r = `message-${A(e, n.key) ? "updated" : "added"}`;
8242
+ const r = `message-${P(e, n.key) ? "updated" : "added"}`;
7545
8243
  e[n.key] = Object.freeze(
7546
8244
  i.hook.message.dispatch(n)
7547
8245
  ), i.emit(r, n);
@@ -7555,26 +8253,26 @@ function zr(e, t) {
7555
8253
  }
7556
8254
  }
7557
8255
  function vi(e, t, i, n) {
7558
- if (A(e, n)) {
8256
+ if (P(e, n)) {
7559
8257
  const r = e[n];
7560
8258
  delete e[n], i.emit("message-removed", r);
7561
8259
  }
7562
8260
  return t.buffer === !0 && (t._b = t._b.filter((r) => (r[0] = r[0].filter((a) => a.key !== n), r[1] || r[0].length))), t;
7563
8261
  }
7564
- function Qr(e, t, i, n, r) {
8262
+ function Yr(e, t, i, n, r) {
7565
8263
  for (const a in e) {
7566
8264
  const o = e[a];
7567
8265
  (!r || o.type === r) && !n(o) && vi(e, t, i, a);
7568
8266
  }
7569
8267
  }
7570
- function Yr(e, t, i, n, r) {
8268
+ function Qr(e, t, i, n, r) {
7571
8269
  for (const a in e) {
7572
8270
  const o = e[a];
7573
8271
  r = n(r, o);
7574
8272
  }
7575
8273
  return r;
7576
8274
  }
7577
- function Xr(e, t, i, n, r) {
8275
+ function Jr(e, t, i, n, r) {
7578
8276
  if (Array.isArray(n)) {
7579
8277
  if (t.buffer) {
7580
8278
  t._b.push([n, r]);
@@ -7592,9 +8290,9 @@ function Xr(e, t, i, n, r) {
7592
8290
  o ? o.store.apply(n[a], r) : Zr(i, t, a, n[a], r);
7593
8291
  }
7594
8292
  }
7595
- function Jr(e, ...t) {
8293
+ function Xr(e, ...t) {
7596
8294
  const i = `${e.name}-set`, n = (r) => /* @__PURE__ */ q({
7597
- key: St(r),
8295
+ key: kt(r),
7598
8296
  type: "error",
7599
8297
  value: r,
7600
8298
  meta: { source: i, autoClear: !0 }
@@ -7638,20 +8336,20 @@ function ta() {
7638
8336
  return {
7639
8337
  count: (...i) => ia(t, e, ...i),
7640
8338
  init(i) {
7641
- t = i, i.on("message-added.deep", Ut(e, 1)), i.on("message-removed.deep", Ut(e, -1));
8339
+ t = i, i.on("message-added.deep", Vt(e, 1)), i.on("message-removed.deep", Vt(e, -1));
7642
8340
  },
7643
- merge: (i) => jt(t, e, i),
8341
+ merge: (i) => Wt(t, e, i),
7644
8342
  settled(i) {
7645
- return A(e, i) ? e[i].promise : Promise.resolve();
8343
+ return P(e, i) ? e[i].promise : Promise.resolve();
7646
8344
  },
7647
- unmerge: (i) => jt(t, e, i, !0),
8345
+ unmerge: (i) => Wt(t, e, i, !0),
7648
8346
  value(i) {
7649
- return A(e, i) ? e[i].count : 0;
8347
+ return P(e, i) ? e[i].count : 0;
7650
8348
  }
7651
8349
  };
7652
8350
  }
7653
8351
  function ia(e, t, i, n, r = 0) {
7654
- if (n = na(n || i), !A(t, i)) {
8352
+ if (n = na(n || i), !P(t, i)) {
7655
8353
  const a = {
7656
8354
  condition: n,
7657
8355
  count: 0,
@@ -7678,7 +8376,7 @@ function Ci(e, t) {
7678
8376
  const i = e.count, n = e.count + t;
7679
8377
  return e.count = n, i === 0 && n !== 0 ? (e.node.emit(`unsettled:${e.name}`, e.count, !1), e.promise = new Promise((r) => e.resolve = r)) : i !== 0 && n === 0 && (e.node.emit(`settled:${e.name}`, e.count, !1), e.resolve()), e.node.emit(`count:${e.name}`, e.count, !1), e;
7680
8378
  }
7681
- function Ut(e, t) {
8379
+ function Vt(e, t) {
7682
8380
  return (i) => {
7683
8381
  for (const n in e) {
7684
8382
  const r = e[n];
@@ -7686,7 +8384,7 @@ function Ut(e, t) {
7686
8384
  }
7687
8385
  };
7688
8386
  }
7689
- function jt(e, t, i, n = !1) {
8387
+ function Wt(e, t, i, n = !1) {
7690
8388
  const r = e;
7691
8389
  for (const a in t) {
7692
8390
  const o = t[a].condition;
@@ -7700,9 +8398,9 @@ function jt(e, t, i, n = !1) {
7700
8398
  }
7701
8399
  }
7702
8400
  }
7703
- var Pt = /* @__PURE__ */ new Map(), je = /* @__PURE__ */ new Map(), Mt = yi();
8401
+ var $t = /* @__PURE__ */ new Map(), We = /* @__PURE__ */ new Map(), Mt = yi();
7704
8402
  function ra(e) {
7705
- e.props.id && (Pt.set(e.props.id, e), je.set(e, e.props.id), Mt(e, {
8403
+ e.props.id && ($t.set(e.props.id, e), We.set(e, e.props.id), Mt(e, {
7706
8404
  payload: e,
7707
8405
  name: e.props.id,
7708
8406
  bubble: !1,
@@ -7710,9 +8408,9 @@ function ra(e) {
7710
8408
  }));
7711
8409
  }
7712
8410
  function aa(e) {
7713
- if (je.has(e)) {
7714
- const t = je.get(e);
7715
- je.delete(e), Pt.delete(t), Mt(e, {
8411
+ if (We.has(e)) {
8412
+ const t = We.get(e);
8413
+ We.delete(e), $t.delete(t), Mt(e, {
7716
8414
  payload: null,
7717
8415
  name: t,
7718
8416
  bubble: !1,
@@ -7720,13 +8418,13 @@ function aa(e) {
7720
8418
  });
7721
8419
  }
7722
8420
  }
7723
- function Oe(e) {
7724
- return Pt.get(e);
8421
+ function Fe(e) {
8422
+ return $t.get(e);
7725
8423
  }
7726
8424
  function oa(e, t) {
7727
8425
  return Mt.on(e, t);
7728
8426
  }
7729
- function ft(e, t, i) {
8427
+ function gt(e, t, i) {
7730
8428
  let n = !0;
7731
8429
  return t in e.config._t ? n = !1 : e.emit(`config:${t}`, i, !1), t in e.props || (e.emit("prop", { prop: t, value: i }), e.emit(`prop:${t}`, i)), n;
7732
8430
  }
@@ -7738,7 +8436,7 @@ function sa(e = {}) {
7738
8436
  };
7739
8437
  return new Proxy(i, {
7740
8438
  set(r, a, o, s) {
7741
- return typeof a == "string" && t.forEach((l) => ft(l, a, o)), Reflect.set(r, a, o, s);
8439
+ return typeof a == "string" && t.forEach((l) => gt(l, a, o)), Reflect.set(r, a, o, s);
7742
8440
  }
7743
8441
  });
7744
8442
  }
@@ -7749,7 +8447,7 @@ function Li(e, t) {
7749
8447
  i.dispatchEvent(n);
7750
8448
  return;
7751
8449
  }
7752
- fe(151, e);
8450
+ ge(151, e);
7753
8451
  }
7754
8452
  function la(e) {
7755
8453
  const t = (i) => {
@@ -7760,8 +8458,8 @@ function la(e) {
7760
8458
  };
7761
8459
  t(e), e.walk(t);
7762
8460
  }
7763
- function ki(e, t) {
7764
- const i = typeof e == "string" ? Oe(e) : e;
8461
+ function Si(e, t) {
8462
+ const i = typeof e == "string" ? Fe(e) : e;
7765
8463
  if (i) {
7766
8464
  const n = (o) => {
7767
8465
  const s = G(o.props.initial);
@@ -7769,110 +8467,110 @@ function ki(e, t) {
7769
8467
  };
7770
8468
  i._e.pause(i);
7771
8469
  const r = G(t);
7772
- return t && !z(t) && (i.props.initial = Re(r) ? $e(r) : r, i.props._init = i.props.initial), i.input(n(i), !1), i.walk((o) => {
8470
+ return t && !z(t) && (i.props.initial = Oe(r) ? De(r) : r, i.props._init = i.props.initial), i.input(n(i), !1), i.walk((o) => {
7773
8471
  o.type === "list" && o.sync || o.input(n(o), !1);
7774
8472
  }), i.input(
7775
8473
  z(r) && r ? r : n(i),
7776
8474
  !1
7777
- ), i.type !== "input" && t && !z(t) && Re(t) && i.walk((o) => {
7778
- o.props.initial = Re(o.value) ? $e(o.value) : o.value, o.props._init = o.props.initial;
8475
+ ), i.type !== "input" && t && !z(t) && Oe(t) && i.walk((o) => {
8476
+ o.props.initial = Oe(o.value) ? De(o.value) : o.value, o.props._init = o.props.initial;
7779
8477
  }), i._e.play(i), la(i), i.emit("reset", i), i;
7780
8478
  }
7781
- fe(152, e);
8479
+ ge(152, e);
7782
8480
  }
7783
8481
  var ca = {
7784
8482
  delimiter: ".",
7785
8483
  delay: 0,
7786
8484
  locale: "en",
7787
8485
  rootClasses: (e) => ({ [`formkit-${bi(e)}`]: !0 })
7788
- }, wi = Symbol("index"), gt = Symbol("removed"), bt = Symbol("moved"), Si = Symbol("inserted");
8486
+ }, wi = Symbol("index"), ft = Symbol("removed"), bt = Symbol("moved"), ki = Symbol("inserted");
7789
8487
  function ua(e) {
7790
8488
  return e.type === "list" && Array.isArray(e._value);
7791
8489
  }
7792
8490
  function Ne(e) {
7793
8491
  return e && typeof e == "object" && e.__FKNode__ === !0;
7794
8492
  }
7795
- var We = (e, t, i) => {
7796
- W(102, [e, i]);
8493
+ var je = (e, t, i) => {
8494
+ j(102, [e, i]);
7797
8495
  }, da = {
7798
- _c: D(Da, We, !1),
7799
- add: D(wa),
7800
- addProps: D(ka),
7801
- address: D(Ra, We, !1),
7802
- at: D(Fa),
7803
- bubble: D(jr),
7804
- clearErrors: D(Wa),
7805
- calm: D(Ta),
7806
- config: D(!1),
7807
- define: D(La),
7808
- disturb: D(va),
7809
- destroy: D(Ca),
7810
- extend: D(Ka),
7811
- hydrate: D(ba),
7812
- index: D(xa, Ma, !1),
7813
- input: D(_i),
7814
- each: D(Aa),
7815
- emit: D(Ur),
7816
- find: D(Na),
7817
- on: D(Wr),
7818
- off: D(qr),
7819
- parent: D(!1, Sa),
7820
- plugins: D(!1),
7821
- remove: D($a),
7822
- root: D(Ha, We, !1),
7823
- reset: D(Ua),
7824
- resetConfig: D(Pa),
7825
- setErrors: D(ja),
7826
- submit: D(Va),
7827
- t: D(Ba),
7828
- use: D(xt),
7829
- name: D(Ia, !1, !1),
7830
- walk: D(_a)
8496
+ _c: x(xa, je, !1),
8497
+ add: x(wa),
8498
+ addProps: x(Sa),
8499
+ address: x(Oa, je, !1),
8500
+ at: x(Ra),
8501
+ bubble: x(Wr),
8502
+ clearErrors: x(ja),
8503
+ calm: x(Ta),
8504
+ config: x(!1),
8505
+ define: x(La),
8506
+ disturb: x(va),
8507
+ destroy: x(Ca),
8508
+ extend: x(Ka),
8509
+ hydrate: x(ba),
8510
+ index: x(_a, Ma, !1),
8511
+ input: x(Ai),
8512
+ each: x(Pa),
8513
+ emit: x(Vr),
8514
+ find: x(Na),
8515
+ on: x(jr),
8516
+ off: x(qr),
8517
+ parent: x(!1, ka),
8518
+ plugins: x(!1),
8519
+ remove: x(Da),
8520
+ root: x(Ha, je, !1),
8521
+ reset: x(Va),
8522
+ resetConfig: x($a),
8523
+ setErrors: x(Wa),
8524
+ submit: x(Ua),
8525
+ t: x(Ea),
8526
+ use: x(_t),
8527
+ name: x(Ia, !1, !1),
8528
+ walk: x(Aa)
7831
8529
  };
7832
8530
  function pa() {
7833
8531
  return new Map(Object.entries(da));
7834
8532
  }
7835
- function D(e, t, i = !0) {
8533
+ function x(e, t, i = !0) {
7836
8534
  return {
7837
8535
  get: e ? (n, r) => i ? (...a) => e(n, r, ...a) : e(n, r) : !1,
7838
- set: t !== void 0 ? t : We.bind(null)
8536
+ set: t !== void 0 ? t : je.bind(null)
7839
8537
  };
7840
8538
  }
7841
8539
  function ma() {
7842
8540
  const e = /* @__PURE__ */ new Map();
7843
8541
  return new Proxy(e, {
7844
8542
  get(t, i) {
7845
- return e.has(i) || e.set(i, $t()), e.get(i);
8543
+ return e.has(i) || e.set(i, Dt()), e.get(i);
7846
8544
  }
7847
8545
  });
7848
8546
  }
7849
- var $i = 0, ha = 0;
7850
- function fa(e) {
8547
+ var Di = 0, ha = 0;
8548
+ function ga(e) {
7851
8549
  var t, i;
7852
- return ((t = e.parent) == null ? void 0 : t.type) === "list" ? wi : e.name || `${((i = e.props) == null ? void 0 : i.type) || "input"}_${++$i}`;
8550
+ return ((t = e.parent) == null ? void 0 : t.type) === "list" ? wi : e.name || `${((i = e.props) == null ? void 0 : i.type) || "input"}_${++Di}`;
7853
8551
  }
7854
- function Ai(e) {
7855
- return e.type === "group" ? $e(
8552
+ function Pi(e) {
8553
+ return e.type === "group" ? De(
7856
8554
  e.value && typeof e.value == "object" && !Array.isArray(e.value) ? e.value : {}
7857
- ) : e.type === "list" ? $e(Array.isArray(e.value) ? e.value : []) : e.value;
8555
+ ) : e.type === "list" ? De(Array.isArray(e.value) ? e.value : []) : e.value;
7858
8556
  }
7859
- function _i(e, t, i, n = !0) {
7860
- return t._value = ga(e, e.hook.input.dispatch(i)), e.emit("input", t._value), e.isCreated && e.type === "input" && V(t._value, t.value) && !e.props.mergeStrategy ? (e.emit("commitRaw", t.value), t.settled) : (t.isSettled && e.disturb(), n ? (t._tmo && clearTimeout(t._tmo), t._tmo = setTimeout(
8557
+ function Ai(e, t, i, n = !0) {
8558
+ return t._value = fa(e, e.hook.input.dispatch(i)), e.emit("input", t._value), e.isCreated && e.type === "input" && U(t._value, t.value) && !e.props.mergeStrategy ? (e.emit("commitRaw", t.value), t.settled) : (t.isSettled && e.disturb(), n ? (t._tmo && clearTimeout(t._tmo), t._tmo = setTimeout(
7861
8559
  ze,
7862
8560
  e.props.delay,
7863
8561
  e,
7864
8562
  t
7865
8563
  )) : ze(e, t), t.settled);
7866
8564
  }
7867
- function ga(e, t) {
8565
+ function fa(e, t) {
7868
8566
  switch (e.type) {
7869
8567
  case "input":
7870
8568
  break;
7871
8569
  case "group":
7872
- (!t || typeof t != "object") && W(107, [e, t]);
8570
+ (!t || typeof t != "object") && j(107, [e, t]);
7873
8571
  break;
7874
8572
  case "list":
7875
- Array.isArray(t) || W(108, [e, t]);
8573
+ Array.isArray(t) || j(108, [e, t]);
7876
8574
  break;
7877
8575
  }
7878
8576
  return t;
@@ -7880,18 +8578,18 @@ function ga(e, t) {
7880
8578
  function ze(e, t, i = !0, n = !0) {
7881
8579
  t._value = t.value = e.hook.commit.dispatch(t._value), e.type !== "input" && n && e.hydrate(), e.emit("commitRaw", t.value), e.emit("commit", t.value), i && e.calm();
7882
8580
  }
7883
- function Pi(e, { name: t, value: i, from: n }) {
8581
+ function $i(e, { name: t, value: i, from: n }) {
7884
8582
  if (!Object.isFrozen(e._value)) {
7885
8583
  if (ua(e)) {
7886
- const r = i === gt ? [] : i === bt && typeof n == "number" ? e._value.splice(n, 1) : [i];
8584
+ const r = i === ft ? [] : i === bt && typeof n == "number" ? e._value.splice(n, 1) : [i];
7887
8585
  e._value.splice(
7888
8586
  t,
7889
- i === bt || n === Si ? 0 : 1,
8587
+ i === bt || n === ki ? 0 : 1,
7890
8588
  ...r
7891
8589
  );
7892
8590
  return;
7893
8591
  }
7894
- i !== gt ? e._value[t] = i : delete e._value[t];
8592
+ i !== ft ? e._value[t] = i : delete e._value[t];
7895
8593
  }
7896
8594
  }
7897
8595
  function ba(e, t) {
@@ -7899,12 +8597,12 @@ function ba(e, t) {
7899
8597
  return e.type === "list" && e.sync && ya(e, t), t.children.forEach((n) => {
7900
8598
  if (typeof i == "object")
7901
8599
  if (n.name in i) {
7902
- const r = n.type !== "input" || i[n.name] && typeof i[n.name] == "object" ? $e(i[n.name]) : i[n.name];
7903
- if (!n.isSettled || (!Re(r) || n.props.mergeStrategy) && V(r, n._value))
8600
+ const r = n.type !== "input" || i[n.name] && typeof i[n.name] == "object" ? De(i[n.name]) : i[n.name];
8601
+ if (!n.isSettled || (!Oe(r) || n.props.mergeStrategy) && U(r, n._value))
7904
8602
  return;
7905
8603
  n.input(r, !1);
7906
8604
  } else
7907
- (e.type !== "list" || typeof n.name == "number") && Pi(t, { name: n.name, value: n.value }), i.__init || (n.type === "group" ? n.input({}, !1) : n.type === "list" ? n.input([], !1) : n.input(void 0, !1));
8605
+ (e.type !== "list" || typeof n.name == "number") && $i(t, { name: n.name, value: n.value }), i.__init || (n.type === "group" ? n.input({}, !1) : n.type === "list" ? n.input([], !1) : n.input(void 0, !1));
7908
8606
  }), e;
7909
8607
  }
7910
8608
  function ya(e, t) {
@@ -7917,13 +8615,13 @@ function ya(e, t) {
7917
8615
  n.push(t.children[l]), r.delete(t.children[l]);
7918
8616
  else {
7919
8617
  n.push(null);
7920
- const f = a.get(s) || [];
7921
- f.push(l), a.set(s, f);
8618
+ const g = a.get(s) || [];
8619
+ g.push(l), a.set(s, g);
7922
8620
  }
7923
8621
  }), r.size && a.size && r.forEach((s) => {
7924
8622
  if (a.has(s._value)) {
7925
- const l = a.get(s._value), f = l.shift();
7926
- n[f] = s, r.delete(s), l.length || a.delete(s._value);
8623
+ const l = a.get(s._value), g = l.shift();
8624
+ n[g] = s, r.delete(s), l.length || a.delete(s._value);
7927
8625
  }
7928
8626
  });
7929
8627
  const o = [];
@@ -7936,11 +8634,11 @@ function ya(e, t) {
7936
8634
  n[l] = s, r.delete(s);
7937
8635
  }
7938
8636
  o.forEach((s, l) => {
7939
- n[s] = Ya({ value: l });
8637
+ n[s] = Qa({ value: l });
7940
8638
  }), r.size && r.forEach((s) => {
7941
8639
  if (!("__FKP" in s)) {
7942
8640
  const l = s._c.parent;
7943
- if (!l || Xa(l))
8641
+ if (!l || Ja(l))
7944
8642
  return;
7945
8643
  l.ledger.unmerge(s), s._c.parent = null, s.destroy();
7946
8644
  }
@@ -7955,7 +8653,7 @@ function va(e, t) {
7955
8653
  function Ta(e, t, i) {
7956
8654
  var n;
7957
8655
  if (i !== void 0 && e.type !== "input") {
7958
- Pi(t, i);
8656
+ $i(t, i);
7959
8657
  const r = !!(e.config.mergeStrategy && e.config.mergeStrategy[i.name]);
7960
8658
  return ze(e, t, !0, r);
7961
8659
  }
@@ -7969,29 +8667,29 @@ function Ca(e, t) {
7969
8667
  }
7970
8668
  function La(e, t, i) {
7971
8669
  t.type = i.type;
7972
- const n = Se(i);
8670
+ const n = ke(i);
7973
8671
  e.props.__propDefs = Mi(
7974
8672
  e.props.__propDefs ?? [],
7975
8673
  (n == null ? void 0 : n.props) || []
7976
- ), n.props = e.props.__propDefs, t.props.definition = n, t.value = t._value = Ai({
8674
+ ), n.props = e.props.__propDefs, t.props.definition = n, t.value = t._value = Pi({
7977
8675
  type: e.type,
7978
8676
  value: t.value
7979
8677
  }), i.forceTypeProp && (e.props.type && (e.props.originalType = e.props.type), t.props.type = i.forceTypeProp), i.family && (t.props.family = i.family), i.features && i.features.forEach((r) => r(e)), i.props && e.addProps(i.props), e.emit("defined", i);
7980
8678
  }
7981
- function ka(e, t, i) {
8679
+ function Sa(e, t, i) {
7982
8680
  const n = Array.isArray(i) ? i : Object.keys(i), r = Array.isArray(i) ? {} : n.reduce((o, s) => ("default" in i[s] && (o[s] = i[s].default), o), {});
7983
8681
  if (e.props.attrs) {
7984
8682
  const o = { ...e.props.attrs };
7985
8683
  e.props._emit = !1;
7986
8684
  for (const l in o) {
7987
- const f = Te(l);
7988
- n.includes(f) && (e.props[f] = o[l], delete o[l]);
8685
+ const g = Te(l);
8686
+ n.includes(g) && (e.props[g] = o[l], delete o[l]);
7989
8687
  }
7990
8688
  Array.isArray(i) || n.forEach((l) => {
7991
8689
  "default" in i[l] && e.props[l] === void 0 && (e.props[l] = r[l]);
7992
8690
  });
7993
8691
  const s = G(t._value);
7994
- e.props.initial = e.type !== "input" ? $e(s) : s, e.props._emit = !0, e.props.attrs = o;
8692
+ e.props.initial = e.type !== "input" ? De(s) : s, e.props._emit = !0, e.props.attrs = o;
7995
8693
  }
7996
8694
  const a = Mi(e.props.__propDefs ?? [], i);
7997
8695
  return e.props.definition && (e.props.definition.props = a), e.props.__propDefs = a, e.emit("added-props", i), e;
@@ -8003,13 +8701,13 @@ function Mi(e, t) {
8003
8701
  return Array.isArray(e) && Array.isArray(t) ? e.concat(t) : se(yt(e), yt(t));
8004
8702
  }
8005
8703
  function wa(e, t, i, n) {
8006
- if (e.type === "input" && W(100, e), i.parent && i.parent !== e && i.parent.remove(i), !t.children.includes(i)) {
8704
+ if (e.type === "input" && j(100, e), i.parent && i.parent !== e && i.parent.remove(i), !t.children.includes(i)) {
8007
8705
  if (n !== void 0 && e.type === "list") {
8008
8706
  const r = t.children[n];
8009
8707
  r && "__FKP" in r ? (i._c.uid = r.uid, t.children.splice(n, 1, i)) : t.children.splice(n, 0, i), Array.isArray(e.value) && e.value.length < t.children.length && e.disturb().calm({
8010
8708
  name: n,
8011
8709
  value: i.value,
8012
- from: Si
8710
+ from: ki
8013
8711
  });
8014
8712
  } else
8015
8713
  t.children.push(i);
@@ -8022,27 +8720,27 @@ function wa(e, t, i, n) {
8022
8720
  i.use(e.plugins);
8023
8721
  return ze(e, t, !1), e.ledger.merge(i), e.emit("child", i), e;
8024
8722
  }
8025
- function Sa(e, t, i, n) {
8723
+ function ka(e, t, i, n) {
8026
8724
  return Ne(n) ? (e.parent && e.parent !== n && e.parent.remove(e), t.parent = n, e.resetConfig(), n.children.includes(e) ? e.use(n.plugins) : n.add(e), !0) : n === null ? (t.parent = null, !0) : !1;
8027
8725
  }
8028
- function $a(e, t, i) {
8726
+ function Da(e, t, i) {
8029
8727
  const n = t.children.indexOf(i);
8030
8728
  if (n !== -1) {
8031
8729
  i.isSettled && e.disturb(), t.children.splice(n, 1);
8032
- let r = Y(i.props.preserve), a = i.parent;
8730
+ let r = Q(i.props.preserve), a = i.parent;
8033
8731
  for (; r === void 0 && a; )
8034
- r = Y(a.props.preserve), a = a.parent;
8732
+ r = Q(a.props.preserve), a = a.parent;
8035
8733
  r ? e.calm() : e.calm({
8036
8734
  name: e.type === "list" ? n : i.name,
8037
- value: gt
8735
+ value: ft
8038
8736
  }), i.parent = null, i.config._rmn = i;
8039
8737
  }
8040
8738
  return e.ledger.unmerge(i), e.emit("childRemoved", i), e;
8041
8739
  }
8042
- function Aa(e, t, i) {
8740
+ function Pa(e, t, i) {
8043
8741
  t.children.forEach((n) => !("__FKP" in n) && i(n));
8044
8742
  }
8045
- function _a(e, t, i, n = !1, r = !1) {
8743
+ function Aa(e, t, i, n = !1, r = !1) {
8046
8744
  t.children.some((a) => {
8047
8745
  if ("__FKP" in a)
8048
8746
  return !1;
@@ -8050,12 +8748,12 @@ function _a(e, t, i, n = !1, r = !1) {
8050
8748
  return n && o === !1 ? !0 : r && o === !1 ? !1 : a.walk(i, n, r);
8051
8749
  });
8052
8750
  }
8053
- function Pa(e, t) {
8751
+ function $a(e, t) {
8054
8752
  const i = e.parent || void 0;
8055
- t.config = xi(e.config._t, i), e.walk((n) => n.resetConfig());
8753
+ t.config = _i(e.config._t, i), e.walk((n) => n.resetConfig());
8056
8754
  }
8057
- function xt(e, t, i, n = !0, r = !0) {
8058
- return Array.isArray(i) || i instanceof Set ? (i.forEach((a) => xt(e, t, a)), e) : (t.plugins.has(i) || (r && typeof i.library == "function" && i.library(e), n && i(e) !== !1 && (t.plugins.add(i), e.children.forEach((a) => a.use(i)))), e);
8755
+ function _t(e, t, i, n = !0, r = !0) {
8756
+ return Array.isArray(i) || i instanceof Set ? (i.forEach((a) => _t(e, t, a)), e) : (t.plugins.has(i) || (r && typeof i.library == "function" && i.library(e), n && i(e) !== !1 && (t.plugins.add(i), e.children.forEach((a) => a.use(i)))), e);
8059
8757
  }
8060
8758
  function Ma(e, t, i, n) {
8061
8759
  if (Ne(e.parent)) {
@@ -8064,24 +8762,24 @@ function Ma(e, t, i, n) {
8064
8762
  }
8065
8763
  return !1;
8066
8764
  }
8067
- function xa(e) {
8765
+ function _a(e) {
8068
8766
  if (e.parent) {
8069
8767
  const t = [...e.parent.children].indexOf(e);
8070
8768
  return t === -1 ? e.parent.children.length : t;
8071
8769
  }
8072
8770
  return -1;
8073
8771
  }
8074
- function Da(e, t) {
8772
+ function xa(e, t) {
8075
8773
  return t;
8076
8774
  }
8077
8775
  function Ia(e, t) {
8078
8776
  var i;
8079
8777
  return ((i = e.parent) == null ? void 0 : i.type) === "list" ? e.index : t.name !== wi ? t.name : e.index;
8080
8778
  }
8081
- function Ra(e, t) {
8779
+ function Oa(e, t) {
8082
8780
  return t.parent ? t.parent.address.concat([e.name]) : [e.name];
8083
8781
  }
8084
- function Fa(e, t, i) {
8782
+ function Ra(e, t, i) {
8085
8783
  const n = typeof i == "string" ? i.split(e.config.delimiter) : i;
8086
8784
  if (!n.length)
8087
8785
  return;
@@ -8102,12 +8800,12 @@ function Fa(e, t, i) {
8102
8800
  default:
8103
8801
  a = a.children.find(
8104
8802
  (s) => !("__FKP" in s) && String(s.name) === String(o)
8105
- ) || Oa(a, o);
8803
+ ) || Fa(a, o);
8106
8804
  }
8107
8805
  }
8108
8806
  return a || void 0;
8109
8807
  }
8110
- function Oa(e, t) {
8808
+ function Fa(e, t) {
8111
8809
  const i = String(t).match(/^(find)\((.*)\)$/);
8112
8810
  if (i) {
8113
8811
  const [, n, r] = i, a = r.split(",").map((o) => o.trim());
@@ -8120,9 +8818,9 @@ function Oa(e, t) {
8120
8818
  }
8121
8819
  }
8122
8820
  function Na(e, t, i, n) {
8123
- return Ea(e, i, n);
8821
+ return Ba(e, i, n);
8124
8822
  }
8125
- function Ea(e, t, i = "name") {
8823
+ function Ba(e, t, i = "name") {
8126
8824
  const n = typeof i == "string" ? (a) => a[i] == t : i, r = [e];
8127
8825
  for (; r.length; ) {
8128
8826
  const a = r.shift();
@@ -8139,7 +8837,7 @@ function Ha(e) {
8139
8837
  t = t.parent;
8140
8838
  return t;
8141
8839
  }
8142
- function xi(e = {}, t) {
8840
+ function _i(e = {}, t) {
8143
8841
  let i;
8144
8842
  return new Proxy(e, {
8145
8843
  get(...n) {
@@ -8167,39 +8865,39 @@ function xi(e = {}, t) {
8167
8865
  return i = a, e.rootConfig && e.rootConfig._add(i), !0;
8168
8866
  if (r === "_rmn")
8169
8867
  return e.rootConfig && e.rootConfig._rm(i), i = void 0, !0;
8170
- if (!V(e[r], a, !1)) {
8868
+ if (!U(e[r], a, !1)) {
8171
8869
  const o = Reflect.set(...n);
8172
- return i && (i.emit(`config:${r}`, a, !1), ft(i, r, a), i.walk((s) => ft(s, r, a), !1, !0)), o;
8870
+ return i && (i.emit(`config:${r}`, a, !1), gt(i, r, a), i.walk((s) => gt(s, r, a), !1, !0)), o;
8173
8871
  }
8174
8872
  return !0;
8175
8873
  }
8176
8874
  });
8177
8875
  }
8178
- function Ba(e, t, i, n = "ui") {
8876
+ function Ea(e, t, i, n = "ui") {
8179
8877
  const r = typeof i == "string" ? { key: i, value: i, type: n } : i, a = e.hook.text.dispatch(r);
8180
8878
  return e.emit("text", a, !1), a.value;
8181
8879
  }
8182
- function Va(e) {
8880
+ function Ua(e) {
8183
8881
  const t = e.name;
8184
8882
  do {
8185
8883
  if (e.props.isForm === !0)
8186
8884
  break;
8187
- e.parent || W(106, t), e = e.parent;
8885
+ e.parent || j(106, t), e = e.parent;
8188
8886
  } while (e);
8189
8887
  e.props.id && Li(e.props.id, e.props.__root);
8190
8888
  }
8191
- function Ua(e, t, i) {
8192
- return ki(e, i);
8889
+ function Va(e, t, i) {
8890
+ return Si(e, i);
8193
8891
  }
8194
- function ja(e, t, i, n) {
8892
+ function Wa(e, t, i, n) {
8195
8893
  const r = `${e.name}-set`, a = e.hook.setErrors.dispatch({ localErrors: i, childErrors: n });
8196
- return Jr(e, a.localErrors, a.childErrors).forEach(
8894
+ return Xr(e, a.localErrors, a.childErrors).forEach(
8197
8895
  (o) => {
8198
8896
  e.store.apply(o, (s) => s.meta.source === r);
8199
8897
  }
8200
8898
  ), e;
8201
8899
  }
8202
- function Wa(e, t, i = !0, n) {
8900
+ function ja(e, t, i = !0, n) {
8203
8901
  return e.store.filter((r) => !(n === void 0 || r.meta.source === n), "error"), i && (n = n || `${e.name}-set`, e.walk((r) => {
8204
8902
  r.store.filter((a) => !(a.type === "error" && a.meta && a.meta.source === n));
8205
8903
  })), e;
@@ -8211,27 +8909,27 @@ function qa(e) {
8211
8909
  let i, n = !0, r = {};
8212
8910
  return new Proxy(t, {
8213
8911
  get(...a) {
8214
- var g, y, P, b;
8912
+ var f, y, $, b;
8215
8913
  const [o, s] = a;
8216
8914
  let l;
8217
- A(t, s) ? (l = Reflect.get(...a), (g = r[s]) != null && g.boolean && (l = Vr(l))) : i && typeof s == "string" && i.config[s] !== void 0 ? (l = i.config[s], s === "mergeStrategy" && (i == null ? void 0 : i.type) === "input" && Ge(l) && i.name in l && (l = l[i.name])) : l = (y = r[s]) == null ? void 0 : y.default;
8218
- const f = (P = r[s]) == null ? void 0 : P.getter;
8219
- return (b = r[s]) != null && b.boolean && (l = !!l), f ? f(l, i) : l;
8915
+ P(t, s) ? (l = Reflect.get(...a), (f = r[s]) != null && f.boolean && (l = Ur(l))) : i && typeof s == "string" && i.config[s] !== void 0 ? (l = i.config[s], s === "mergeStrategy" && (i == null ? void 0 : i.type) === "input" && Ge(l) && i.name in l && (l = l[i.name])) : l = (y = r[s]) == null ? void 0 : y.default;
8916
+ const g = ($ = r[s]) == null ? void 0 : $.getter;
8917
+ return (b = r[s]) != null && b.boolean && (l = !!l), g ? g(l, i) : l;
8220
8918
  },
8221
8919
  set(a, o, s, l) {
8222
- var P;
8920
+ var $;
8223
8921
  if (o === "_n")
8224
8922
  return i = s, !0;
8225
8923
  if (o === "_emit")
8226
8924
  return n = s, !0;
8227
- let { prop: f, value: g } = i.hook.prop.dispatch({
8925
+ let { prop: g, value: f } = i.hook.prop.dispatch({
8228
8926
  prop: o,
8229
8927
  value: s
8230
8928
  });
8231
- const y = (P = r[f]) == null ? void 0 : P.setter;
8232
- if (g = y ? y(g, i) : g, !V(t[f], g, !1) || typeof g == "object") {
8233
- const b = Reflect.set(a, f, g, l);
8234
- return f === "__propDefs" && (r = yt(g)), n && (i.emit("prop", { prop: f, value: g }), typeof f == "string" && i.emit(`prop:${f}`, g)), b;
8929
+ const y = ($ = r[g]) == null ? void 0 : $.setter;
8930
+ if (f = y ? y(f, i) : f, !U(t[g], f, !1) || typeof f == "object") {
8931
+ const b = Reflect.set(a, g, f, l);
8932
+ return g === "__propDefs" && (r = yt(f)), n && (i.emit("prop", { prop: g, value: f }), typeof g == "string" && i.emit(`prop:${g}`, f)), b;
8235
8933
  }
8236
8934
  return !0;
8237
8935
  }
@@ -8250,7 +8948,7 @@ function Ga(e, t) {
8250
8948
  }
8251
8949
  }
8252
8950
  function za(e) {
8253
- const t = Ai(e), i = xi(e.config || {}, e.parent);
8951
+ const t = Pi(e), i = _i(e.config || {}, e.parent);
8254
8952
  return {
8255
8953
  _d: 0,
8256
8954
  _e: yi(),
@@ -8258,13 +8956,13 @@ function za(e) {
8258
8956
  _resolve: !1,
8259
8957
  _tmo: !1,
8260
8958
  _value: t,
8261
- children: xr(e.children || []),
8959
+ children: _r(e.children || []),
8262
8960
  config: i,
8263
8961
  hook: ma(),
8264
8962
  isCreated: !1,
8265
8963
  isSettled: !0,
8266
8964
  ledger: ta(),
8267
- name: fa(e),
8965
+ name: ga(e),
8268
8966
  parent: e.parent || null,
8269
8967
  plugins: /* @__PURE__ */ new Set(),
8270
8968
  props: qa(t),
@@ -8276,7 +8974,7 @@ function za(e) {
8276
8974
  value: t
8277
8975
  };
8278
8976
  }
8279
- function Qa(e, t) {
8977
+ function Ya(e, t) {
8280
8978
  var n, r;
8281
8979
  const i = (n = t.props) == null ? void 0 : n.id;
8282
8980
  if (i || (r = t.props) == null || delete r.id, e.ledger.init(e.store._n = e.props._n = e.config._n = e), e.props._emit = !1, Object.assign(
@@ -8291,14 +8989,14 @@ function Qa(e, t) {
8291
8989
  ])
8292
8990
  ), t.plugins)
8293
8991
  for (const a of t.plugins)
8294
- xt(e, e._c, a, !0, !1);
8295
- return e.each((a) => e.add(a)), e.parent && e.parent.add(e, t.index), e.type === "input" && e.children.length && W(100, e), _i(e, e._c, e._value, !1), e.store.release(), i && ra(e), e.emit("created", e), e.isCreated = !0, e;
8992
+ _t(e, e._c, a, !0, !1);
8993
+ return e.each((a) => e.add(a)), e.parent && e.parent.add(e, t.index), e.type === "input" && e.children.length && j(100, e), Ai(e, e._c, e._value, !1), e.store.release(), i && ra(e), e.emit("created", e), e.isCreated = !0, e;
8296
8994
  }
8297
- function Ya(e) {
8995
+ function Qa(e) {
8298
8996
  return {
8299
8997
  __FKP: !0,
8300
8998
  uid: Symbol(),
8301
- name: (e == null ? void 0 : e.name) ?? `p_${$i++}`,
8999
+ name: (e == null ? void 0 : e.name) ?? `p_${Di++}`,
8302
9000
  value: (e == null ? void 0 : e.value) ?? null,
8303
9001
  _value: (e == null ? void 0 : e.value) ?? null,
8304
9002
  type: (e == null ? void 0 : e.type) ?? "input",
@@ -8311,10 +9009,10 @@ function Ya(e) {
8311
9009
  isSettled: !0
8312
9010
  };
8313
9011
  }
8314
- function Xa(e) {
9012
+ function Ja(e) {
8315
9013
  return "__FKP" in e;
8316
9014
  }
8317
- function Ja(e) {
9015
+ function Xa(e) {
8318
9016
  const t = e || {}, i = za(t), n = new Proxy(i, {
8319
9017
  get(...r) {
8320
9018
  const [, a] = r;
@@ -8328,16 +9026,16 @@ function Ja(e) {
8328
9026
  return s && s.set ? s.set(n, i, a, o) : Reflect.set(...r);
8329
9027
  }
8330
9028
  });
8331
- return Qa(n, t);
9029
+ return Ya(n, t);
8332
9030
  }
8333
9031
  function vt(e) {
8334
- return typeof e != "string" && A(e, "$el");
9032
+ return typeof e != "string" && P(e, "$el");
8335
9033
  }
8336
9034
  function Tt(e) {
8337
- return typeof e != "string" && A(e, "$cmp");
9035
+ return typeof e != "string" && P(e, "$cmp");
8338
9036
  }
8339
9037
  function ye(e) {
8340
- return !e || typeof e == "string" ? !1 : A(e, "if") && A(e, "then");
9038
+ return !e || typeof e == "string" ? !1 : P(e, "if") && P(e, "then");
8341
9039
  }
8342
9040
  function Za(e) {
8343
9041
  return typeof e != "string" && "$formkit" in e;
@@ -8370,7 +9068,7 @@ function eo(e) {
8370
9068
  }
8371
9069
  return e;
8372
9070
  }
8373
- function Q(e) {
9071
+ function Y(e) {
8374
9072
  let t;
8375
9073
  const i = /* @__PURE__ */ new Set(), n = function(m, h) {
8376
9074
  return typeof m == "function" ? m(h) : m;
@@ -8417,7 +9115,7 @@ function Q(e) {
8417
9115
  return !!s(L, w, 0, C);
8418
9116
  });
8419
9117
  }
8420
- function f(d, m) {
9118
+ function g(d, m) {
8421
9119
  let h = "";
8422
9120
  const C = m.length;
8423
9121
  let w = 0;
@@ -8435,70 +9133,70 @@ function Q(e) {
8435
9133
  }
8436
9134
  return [h, m.length - 1];
8437
9135
  }
8438
- function g(d, m = 0) {
9136
+ function f(d, m = 0) {
8439
9137
  const h = r[m], C = d.length, w = Object.keys(h);
8440
- let T = 0, L = !1, c = null, p = "", _ = null, I, R = "", x = "", u = "", k = "", $ = 0;
8441
- const O = (F, N) => {
8442
- F ? u += N : p += N;
9138
+ let T = 0, L = !1, c = null, p = "", A = null, I, O = "", _ = "", u = "", S = "", D = 0;
9139
+ const F = (R, N) => {
9140
+ R ? u += N : p += N;
8443
9141
  };
8444
- for (let F = 0; F < C; F++)
8445
- if (R = x, x = d.charAt(F), (x === "'" || x === '"') && R !== "\\" && (T === 0 && !L || T && !k)) {
8446
- T ? k = x : L = x, O(T, x);
9142
+ for (let R = 0; R < C; R++)
9143
+ if (O = _, _ = d.charAt(R), (_ === "'" || _ === '"') && O !== "\\" && (T === 0 && !L || T && !S)) {
9144
+ T ? S = _ : L = _, F(T, _);
8447
9145
  continue;
8448
- } else if (L && (x !== L || R === "\\") || k && (x !== k || R === "\\")) {
8449
- O(T, x);
9146
+ } else if (L && (_ !== L || O === "\\") || S && (_ !== S || O === "\\")) {
9147
+ F(T, _);
8450
9148
  continue;
8451
- } else if (L === x) {
8452
- L = !1, O(T, x);
9149
+ } else if (L === _) {
9150
+ L = !1, F(T, _);
8453
9151
  continue;
8454
- } else if (k === x) {
8455
- k = !1, O(T, x);
9152
+ } else if (S === _) {
9153
+ S = !1, F(T, _);
8456
9154
  continue;
8457
9155
  } else {
8458
- if (x === " ")
9156
+ if (_ === " ")
8459
9157
  continue;
8460
- if (x === "(")
8461
- T === 0 ? $ = F : u += x, T++;
8462
- else if (x === ")")
9158
+ if (_ === "(")
9159
+ T === 0 ? D = R : u += _, T++;
9160
+ else if (_ === ")")
8463
9161
  if (T--, T === 0) {
8464
- const N = typeof p == "string" && p.startsWith("$") ? p : void 0, de = N && d.charAt(F + 1) === ".";
8465
- let J = "";
8466
- de && ([J, F] = f(F + 2, d));
8467
- const ge = c ? m : l($, d, 0), pe = l(F, d);
8468
- ge === -1 && pe === -1 ? (p = y(u, -1, N, J), typeof p == "string" && (p = u)) : c && (ge >= pe || pe === -1) && m === ge ? (_ = c.bind(null, y(u, -1, N, J)), c = null, p = "") : pe > ge && m === pe ? p = y(u, -1, N, J) : p += `(${u})${de ? `.${J}` : ""}`, u = "";
9162
+ const N = typeof p == "string" && p.startsWith("$") ? p : void 0, de = N && d.charAt(R + 1) === ".";
9163
+ let X = "";
9164
+ de && ([X, R] = g(R + 2, d));
9165
+ const fe = c ? m : l(D, d, 0), pe = l(R, d);
9166
+ fe === -1 && pe === -1 ? (p = y(u, -1, N, X), typeof p == "string" && (p = u)) : c && (fe >= pe || pe === -1) && m === fe ? (A = c.bind(null, y(u, -1, N, X)), c = null, p = "") : pe > fe && m === pe ? p = y(u, -1, N, X) : p += `(${u})${de ? `.${X}` : ""}`, u = "";
8469
9167
  } else
8470
- u += x;
8471
- else if (T === 0 && (I = s(w, x, F, d))) {
8472
- F === 0 && W(103, [I, d]), F += I.length - 1, F === d.length - 1 && W(104, [I, d]), c ? p && (_ = c.bind(null, y(p, m)), c = h[I].bind(null, _), p = "") : _ ? (c = h[I].bind(null, y(_, m)), _ = null) : (c = h[I].bind(null, y(p, m)), p = "");
9168
+ u += _;
9169
+ else if (T === 0 && (I = s(w, _, R, d))) {
9170
+ R === 0 && j(103, [I, d]), R += I.length - 1, R === d.length - 1 && j(104, [I, d]), c ? p && (A = c.bind(null, y(p, m)), c = h[I].bind(null, A), p = "") : A ? (c = h[I].bind(null, y(A, m)), A = null) : (c = h[I].bind(null, y(p, m)), p = "");
8473
9171
  continue;
8474
9172
  } else
8475
- O(T, x);
9173
+ F(T, _);
8476
9174
  }
8477
- return p && c && (c = c.bind(null, y(p, m))), c = !c && _ ? _ : c, !c && p && (c = (F, N) => typeof F == "function" ? F(N) : F, c = c.bind(null, y(p, m))), !c && !p && W(105, d), c;
9175
+ return p && c && (c = c.bind(null, y(p, m))), c = !c && A ? A : c, !c && p && (c = (R, N) => typeof R == "function" ? R(N) : R, c = c.bind(null, y(p, m))), !c && !p && j(105, d), c;
8478
9176
  }
8479
9177
  function y(d, m, h, C) {
8480
9178
  if (h) {
8481
9179
  const w = y(h, r.length);
8482
- let T, L = C ? Q(`$${C}`) : !1;
9180
+ let T, L = C ? Y(`$${C}`) : !1;
8483
9181
  if (typeof w == "function") {
8484
9182
  const c = Nr(String(d)).map(
8485
9183
  (p) => y(p, -1)
8486
9184
  );
8487
9185
  return (p) => {
8488
- const _ = w(p);
8489
- return typeof _ != "function" ? (fe(150, h), _) : (T = _(
9186
+ const A = w(p);
9187
+ return typeof A != "function" ? (ge(150, h), A) : (T = A(
8490
9188
  ...c.map(
8491
9189
  (I) => typeof I == "function" ? I(p) : I
8492
9190
  )
8493
9191
  ), L && (L = L.provide((I) => {
8494
- const R = t(I);
9192
+ const O = t(I);
8495
9193
  return I.reduce(
8496
- (u, k) => {
8497
- if (k === C || (C == null ? void 0 : C.startsWith(`${k}(`))) {
8498
- const O = Er(T, k);
8499
- u[k] = () => O;
9194
+ (u, S) => {
9195
+ if (S === C || (C == null ? void 0 : C.startsWith(`${S}(`))) {
9196
+ const F = Br(T, S);
9197
+ u[S] = () => F;
8500
9198
  } else
8501
- u[k] = R[k];
9199
+ u[S] = O[S];
8502
9200
  return u;
8503
9201
  },
8504
9202
  {}
@@ -8513,12 +9211,12 @@ function Q(e) {
8513
9211
  return !1;
8514
9212
  if (d === "undefined")
8515
9213
  return;
8516
- if (Fr(d))
8517
- return Or(d.substring(1, d.length - 1));
9214
+ if (Rr(d))
9215
+ return Fr(d.substring(1, d.length - 1));
8518
9216
  if (!isNaN(+d))
8519
9217
  return Number(d);
8520
9218
  if (m < r.length - 1)
8521
- return g(d, m + 1);
9219
+ return f(d, m + 1);
8522
9220
  if (d.startsWith("$")) {
8523
9221
  const w = d.substring(1);
8524
9222
  return i.add(w), function(L) {
@@ -8529,17 +9227,17 @@ function Q(e) {
8529
9227
  }
8530
9228
  return d;
8531
9229
  }
8532
- const P = g(
9230
+ const $ = f(
8533
9231
  e.startsWith("$:") ? e.substring(2) : e
8534
9232
  ), b = Array.from(i);
8535
9233
  function v(d) {
8536
9234
  return t = d, Object.assign(
8537
9235
  // @ts-ignore - @rollup/plugin-typescript doesn't like this
8538
- P.bind(null, d(b)),
9236
+ $.bind(null, d(b)),
8539
9237
  { provide: v }
8540
9238
  );
8541
9239
  }
8542
- return Object.assign(P, {
9240
+ return Object.assign($, {
8543
9241
  provide: v
8544
9242
  });
8545
9243
  }
@@ -8574,66 +9272,66 @@ function ot(e) {
8574
9272
  }), e;
8575
9273
  }
8576
9274
  function io(e, t, i) {
8577
- const n = Oe(e);
8578
- n ? n.setErrors(t, i) : fe(651, e);
9275
+ const n = Fe(e);
9276
+ n ? n.setErrors(t, i) : ge(651, e);
8579
9277
  }
8580
9278
  function no(e, t = !0) {
8581
- const i = Oe(e);
8582
- i ? i.clearErrors(t) : fe(652, e);
9279
+ const i = Fe(e);
9280
+ i ? i.clearErrors(t) : ge(652, e);
8583
9281
  }
8584
- var Qe = "1.6.9", Di = /* @__PURE__ */ new WeakSet();
9282
+ var Ye = "1.6.9", xi = /* @__PURE__ */ new WeakSet();
8585
9283
  function rt(e, t) {
8586
- const i = t || Object.assign(/* @__PURE__ */ new Map(), { active: !1 }), n = /* @__PURE__ */ new Map(), r = function(g) {
9284
+ const i = t || Object.assign(/* @__PURE__ */ new Map(), { active: !1 }), n = /* @__PURE__ */ new Map(), r = function(f) {
8587
9285
  var y;
8588
- i.active && (i.has(e) || i.set(e, /* @__PURE__ */ new Set()), (y = i.get(e)) == null || y.add(g));
8589
- }, a = function(g) {
8590
- return new Proxy(g, {
9286
+ i.active && (i.has(e) || i.set(e, /* @__PURE__ */ new Set()), (y = i.get(e)) == null || y.add(f));
9287
+ }, a = function(f) {
9288
+ return new Proxy(f, {
8591
9289
  get(...y) {
8592
9290
  return typeof y[1] == "string" && r(`prop:${y[1]}`), Reflect.get(...y);
8593
9291
  }
8594
9292
  });
8595
- }, o = function(g) {
8596
- return new Proxy(g, {
9293
+ }, o = function(f) {
9294
+ return new Proxy(f, {
8597
9295
  get(...y) {
8598
- return y[1] === "value" ? (P) => (r(`count:${P}`), g.value(P)) : Reflect.get(...y);
9296
+ return y[1] === "value" ? ($) => (r(`count:${$}`), f.value($)) : Reflect.get(...y);
8599
9297
  }
8600
9298
  });
8601
- }, s = function(g, y) {
8602
- return Ne(g) ? rt(g, i) : (y === "value" && r("commit"), y === "_value" && r("input"), y === "props" ? a(g) : y === "ledger" ? o(g) : (y === "children" && (r("child"), r("childRemoved")), g));
9299
+ }, s = function(f, y) {
9300
+ return Ne(f) ? rt(f, i) : (y === "value" && r("commit"), y === "_value" && r("input"), y === "props" ? a(f) : y === "ledger" ? o(f) : (y === "children" && (r("child"), r("childRemoved")), f));
8603
9301
  }, {
8604
9302
  proxy: l,
8605
- revoke: f
9303
+ revoke: g
8606
9304
  } = Proxy.revocable(e, {
8607
- get(...g) {
8608
- switch (g[1]) {
9305
+ get(...f) {
9306
+ switch (f[1]) {
8609
9307
  case "_node":
8610
9308
  return e;
8611
9309
  case "deps":
8612
9310
  return i;
8613
9311
  case "watch":
8614
- return (P, b, v) => Fi(l, P, b, v);
9312
+ return ($, b, v) => Ri(l, $, b, v);
8615
9313
  case "observe":
8616
9314
  return () => {
8617
- const P = new Map(i);
8618
- return i.clear(), i.active = !0, P;
9315
+ const $ = new Map(i);
9316
+ return i.clear(), i.active = !0, $;
8619
9317
  };
8620
9318
  case "stopObserve":
8621
9319
  return () => {
8622
- const P = new Map(i);
8623
- return i.active = !1, P;
9320
+ const $ = new Map(i);
9321
+ return i.active = !1, $;
8624
9322
  };
8625
9323
  case "receipts":
8626
9324
  return n;
8627
9325
  case "kill":
8628
9326
  return () => {
8629
- Ri(n), Di.add(g[2]), f();
9327
+ Oi(n), xi.add(f[2]), g();
8630
9328
  };
8631
9329
  }
8632
- const y = Reflect.get(...g);
8633
- return typeof y == "function" ? (...P) => {
8634
- const b = y(...P);
8635
- return s(b, g[1]);
8636
- } : s(y, g[1]);
9330
+ const y = Reflect.get(...f);
9331
+ return typeof y == "function" ? (...$) => {
9332
+ const b = y(...$);
9333
+ return s(b, f[1]);
9334
+ } : s(y, f[1]);
8637
9335
  }
8638
9336
  });
8639
9337
  return l;
@@ -8649,24 +9347,24 @@ function Ii(e, [t, i], n, r) {
8649
9347
  a.forEach((s) => {
8650
9348
  if (e.receipts.has(o)) {
8651
9349
  const l = e.receipts.get(o);
8652
- l && A(l, s) && (l[s].map(o.off), delete l[s], e.receipts.set(o, l));
9350
+ l && P(l, s) && (l[s].map(o.off), delete l[s], e.receipts.set(o, l));
8653
9351
  }
8654
9352
  });
8655
9353
  });
8656
9354
  }
8657
- function Ri(e) {
9355
+ function Oi(e) {
8658
9356
  e.forEach((t, i) => {
8659
9357
  for (const n in t)
8660
9358
  t[n].map(i.off);
8661
9359
  }), e.clear();
8662
9360
  }
8663
- function Fi(e, t, i, n) {
9361
+ function Ri(e, t, i, n) {
8664
9362
  const r = (s) => {
8665
9363
  const l = e.stopObserve();
8666
9364
  Ii(
8667
9365
  e,
8668
- Oi(a, l),
8669
- () => Fi(e, t, i, n),
9366
+ Fi(a, l),
9367
+ () => Ri(e, t, i, n),
8670
9368
  n
8671
9369
  ), i && i(s);
8672
9370
  }, a = new Map(e.deps);
@@ -8674,7 +9372,7 @@ function Fi(e, t, i, n) {
8674
9372
  const o = t(e);
8675
9373
  o instanceof Promise ? o.then((s) => r(s)) : r(o);
8676
9374
  }
8677
- function Oi(e, t) {
9375
+ function Fi(e, t) {
8678
9376
  const i = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
8679
9377
  return t.forEach((r, a) => {
8680
9378
  if (!e.has(a))
@@ -8696,8 +9394,8 @@ function Oi(e, t) {
8696
9394
  }
8697
9395
  }), [i, n];
8698
9396
  }
8699
- function Dt(e) {
8700
- return Di.has(e);
9397
+ function xt(e) {
9398
+ return xi.has(e);
8701
9399
  }
8702
9400
  var Ni = function({ value: t }) {
8703
9401
  return ["yes", "on", "1", 1, !0, "true"].includes(t);
@@ -8719,21 +9417,21 @@ var ro = Ni, ao = function({ value: e }, t = !1) {
8719
9417
  const i = {
8720
9418
  default: new RegExp("^\\p{L}+$", "u"),
8721
9419
  latin: /^[a-z]+$/i
8722
- }, n = A(i, t) ? t : "default";
9420
+ }, n = P(i, t) ? t : "default";
8723
9421
  return i[n].test(String(e));
8724
9422
  }, mo = po, ho = function({ value: e }, t = "default") {
8725
9423
  const i = {
8726
9424
  default: /^[\p{L} ]+$/u,
8727
9425
  latin: /^[a-z ]+$/i
8728
- }, n = A(i, t) ? t : "default";
9426
+ }, n = P(i, t) ? t : "default";
8729
9427
  return i[n].test(String(e));
8730
- }, fo = ho, go = function({ value: e }, t = "default") {
9428
+ }, go = ho, fo = function({ value: e }, t = "default") {
8731
9429
  const i = {
8732
9430
  default: /^[0-9\p{L}]+$/u,
8733
9431
  latin: /^[0-9a-z]+$/i
8734
- }, n = A(i, t) ? t : "default";
9432
+ }, n = P(i, t) ? t : "default";
8735
9433
  return i[n].test(String(e));
8736
- }, bo = go, yo = function({ value: e }, t = !1) {
9434
+ }, bo = fo, yo = function({ value: e }, t = !1) {
8737
9435
  const i = Date.parse(t || /* @__PURE__ */ new Date()), n = Date.parse(String(e));
8738
9436
  return isNaN(n) ? !1 : n < i;
8739
9437
  }, vo = yo, To = function(e, t) {
@@ -8745,7 +9443,7 @@ var ro = Ni, ao = function({ value: e }, t = !1) {
8745
9443
  }, Co = To, Lo = function({ value: e }, t = !1) {
8746
9444
  const i = Date.parse(t || /* @__PURE__ */ new Date()), n = Date.parse(String(e));
8747
9445
  return isNaN(n) ? !1 : n < i || n === i;
8748
- }, ko = Lo, wo = function({ value: t }, i, n) {
9446
+ }, So = Lo, wo = function({ value: t }, i, n) {
8749
9447
  if (!isNaN(t) && !isNaN(i) && !isNaN(n)) {
8750
9448
  const r = 1 * t;
8751
9449
  i = Number(i), n = Number(n);
@@ -8753,46 +9451,46 @@ var ro = Ni, ao = function({ value: e }, t = !1) {
8753
9451
  return r >= 1 * a && r <= 1 * o;
8754
9452
  }
8755
9453
  return !1;
8756
- }, So = wo, Wt = /(_confirm(?:ed)?)$/, $o = function(t, i, n = "loose") {
9454
+ }, ko = wo, jt = /(_confirm(?:ed)?)$/, Do = function(t, i, n = "loose") {
8757
9455
  var a;
8758
- i || (i = Wt.test(t.name) ? t.name.replace(Wt, "") : `${t.name}_confirm`);
9456
+ i || (i = jt.test(t.name) ? t.name.replace(jt, "") : `${t.name}_confirm`);
8759
9457
  const r = (a = t.at(i)) == null ? void 0 : a.value;
8760
9458
  return n === "strict" ? t.value === r : t.value == r;
8761
- }, Ao = $o, _o = function({ value: e }, t = "default") {
9459
+ }, Po = Do, Ao = function({ value: e }, t = "default") {
8762
9460
  const i = {
8763
9461
  default: new RegExp("\\p{L}", "u"),
8764
9462
  latin: /[a-z]/i
8765
- }, n = A(i, t) ? t : "default";
9463
+ }, n = P(i, t) ? t : "default";
8766
9464
  return i[n].test(String(e));
8767
- }, Po = _o, Mo = function({ value: e }, t = "default") {
9465
+ }, $o = Ao, Mo = function({ value: e }, t = "default") {
8768
9466
  const i = {
8769
9467
  default: /[\p{L} ]/u,
8770
9468
  latin: /[a-z ]/i
8771
- }, n = A(i, t) ? t : "default";
9469
+ }, n = P(i, t) ? t : "default";
8772
9470
  return i[n].test(String(e));
8773
- }, xo = Mo, Do = function({ value: e }, t = "default") {
9471
+ }, _o = Mo, xo = function({ value: e }, t = "default") {
8774
9472
  const i = {
8775
9473
  default: /[0-9\p{L}]/u,
8776
9474
  latin: /[0-9a-z]/i
8777
- }, n = A(i, t) ? t : "default";
9475
+ }, n = P(i, t) ? t : "default";
8778
9476
  return i[n].test(String(e));
8779
- }, Io = Do, Ro = function({ value: e }, t = "default") {
9477
+ }, Io = xo, Oo = function({ value: e }, t = "default") {
8780
9478
  const i = {
8781
9479
  default: new RegExp("\\p{Ll}", "u"),
8782
9480
  latin: /[a-z]/
8783
- }, n = A(i, t) ? t : "default";
9481
+ }, n = P(i, t) ? t : "default";
8784
9482
  return i[n].test(String(e));
8785
- }, Fo = Ro, Oo = function({ value: t }) {
9483
+ }, Ro = Oo, Fo = function({ value: t }) {
8786
9484
  return /[0-9]/.test(String(t));
8787
- }, No = Oo, Eo = function({ value: e }) {
9485
+ }, No = Fo, Bo = function({ value: e }) {
8788
9486
  return /[!-/:-@[-`{-~]/.test(String(e));
8789
- }, Ho = Eo, Bo = function({ value: e }, t = "default") {
9487
+ }, Ho = Bo, Eo = function({ value: e }, t = "default") {
8790
9488
  const i = {
8791
9489
  default: new RegExp("\\p{Lu}", "u"),
8792
9490
  latin: /[A-Z]/
8793
- }, n = A(i, t) ? t : "default";
9491
+ }, n = P(i, t) ? t : "default";
8794
9492
  return i[n].test(String(e));
8795
- }, Vo = Bo, Uo = function({ value: t }, i, n) {
9493
+ }, Uo = Eo, Vo = function({ value: t }, i, n) {
8796
9494
  i = i instanceof Date ? i.getTime() : Date.parse(i), n = n instanceof Date ? n.getTime() : Date.parse(n);
8797
9495
  const r = t instanceof Date ? t.getTime() : Date.parse(String(t));
8798
9496
  if (i && !n)
@@ -8800,15 +9498,15 @@ var ro = Ni, ao = function({ value: e }, t = !1) {
8800
9498
  else if (!i || !r)
8801
9499
  return !1;
8802
9500
  return r >= i && r <= n;
8803
- }, jo = Uo, Wo = function({ value: t }, i) {
8804
- return i && typeof i == "string" ? Rr(i).test(String(t)) : !isNaN(Date.parse(String(t)));
8805
- }, qo = Wo, Ko = function({ value: t }) {
9501
+ }, Wo = Vo, jo = function({ value: t }, i) {
9502
+ return i && typeof i == "string" ? Or(i).test(String(t)) : !isNaN(Date.parse(String(t)));
9503
+ }, qo = jo, Ko = function({ value: t }) {
8806
9504
  return /^(([^<>()\[\]\.,;:\s@\"]+(\.[^<>()\[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i.test(String(t));
8807
9505
  }, Go = Ko, zo = function({ value: t }, ...i) {
8808
9506
  return typeof t == "string" && i.length ? i.some((n) => t.endsWith(n)) : typeof t == "string" && i.length === 0;
8809
- }, Qo = zo, Yo = function({ value: t }, ...i) {
8810
- return i.some((n) => typeof n == "object" ? V(n, t) : n == t);
8811
- }, Xo = Yo, Jo = function({ value: t }, i = 0, n = 1 / 0) {
9507
+ }, Yo = zo, Qo = function({ value: t }, ...i) {
9508
+ return i.some((n) => typeof n == "object" ? U(n, t) : n == t);
9509
+ }, Jo = Qo, Xo = function({ value: t }, i = 0, n = 1 / 0) {
8812
9510
  i = parseInt(i), n = isNaN(parseInt(n)) ? 1 / 0 : parseInt(n);
8813
9511
  const r = i <= n ? i : n, a = n >= i ? n : i;
8814
9512
  if (typeof t == "string" || Array.isArray(t))
@@ -8818,14 +9516,14 @@ var ro = Ni, ao = function({ value: e }, t = !1) {
8818
9516
  return o >= r && o <= a;
8819
9517
  }
8820
9518
  return !1;
8821
- }, Zo = Jo, es = function({ value: e }, t = "default") {
9519
+ }, Zo = Xo, es = function({ value: e }, t = "default") {
8822
9520
  const i = {
8823
9521
  default: new RegExp("^\\p{Ll}+$", "u"),
8824
9522
  allow_non_alpha: /^[0-9\p{Ll}!-/:-@[-`{-~]+$/u,
8825
9523
  allow_numeric: /^[0-9\p{Ll}]+$/u,
8826
9524
  allow_numeric_dashes: /^[0-9\p{Ll}-]+$/u,
8827
9525
  latin: /^[a-z]+$/
8828
- }, n = A(i, t) ? t : "default";
9526
+ }, n = P(i, t) ? t : "default";
8829
9527
  return i[n].test(String(e));
8830
9528
  }, ts = es, is = function({ value: t }, ...i) {
8831
9529
  return i.some((n) => (typeof n == "string" && n.substr(0, 1) === "/" && n.substr(-1) === "/" && (n = new RegExp(n.substr(1, n.length - 2))), n instanceof RegExp ? n.test(String(t)) : n === t));
@@ -8834,29 +9532,29 @@ var ro = Ni, ao = function({ value: e }, t = !1) {
8834
9532
  }, as = rs, os = function({ value: t }, i = 1) {
8835
9533
  return Array.isArray(t) ? t.length >= i : Number(t) >= Number(i);
8836
9534
  }, ss = os, ls = function({ value: t }, ...i) {
8837
- return !i.some((n) => typeof n == "object" ? V(n, t) : n === t);
9535
+ return !i.some((n) => typeof n == "object" ? U(n, t) : n === t);
8838
9536
  }, cs = ls, us = function({ value: t }) {
8839
9537
  return !isNaN(t);
8840
- }, ds = us, Ei = function(e, ...t) {
9538
+ }, ds = us, Bi = function(e, ...t) {
8841
9539
  return z(e.value) ? t.map((n) => {
8842
9540
  var r;
8843
9541
  return (r = e.at(n)) == null ? void 0 : r.value;
8844
9542
  }).some((n) => !z(n)) : !0;
8845
9543
  };
8846
- Ei.skipEmpty = !1;
8847
- var ps = Ei, Hi = function({ value: t }, i = "default") {
9544
+ Bi.skipEmpty = !1;
9545
+ var ps = Bi, Hi = function({ value: t }, i = "default") {
8848
9546
  return i === "trim" && typeof t == "string" ? !z(t.trim()) : !z(t);
8849
9547
  };
8850
9548
  Hi.skipEmpty = !1;
8851
9549
  var ms = Hi, hs = function({ value: t }, ...i) {
8852
9550
  return typeof t == "string" && i.length ? i.some((n) => t.startsWith(n)) : typeof t == "string" && i.length === 0;
8853
- }, fs = hs, gs = function({ value: e }) {
9551
+ }, gs = hs, fs = function({ value: e }) {
8854
9552
  return /^[!-/:-@[-`{-~]+$/.test(String(e));
8855
- }, bs = gs, ys = function({ value: e }, t = "default") {
9553
+ }, bs = fs, ys = function({ value: e }, t = "default") {
8856
9554
  const i = {
8857
9555
  default: new RegExp("^\\p{Lu}+$", "u"),
8858
9556
  latin: /^[A-Z]+$/
8859
- }, n = A(i, t) ? t : "default";
9557
+ }, n = P(i, t) ? t : "default";
8860
9558
  return i[n].test(String(e));
8861
9559
  }, vs = ys, Ts = function({ value: t }, ...i) {
8862
9560
  try {
@@ -8870,28 +9568,28 @@ const Ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8870
9568
  __proto__: null,
8871
9569
  accepted: ro,
8872
9570
  alpha: mo,
8873
- alpha_spaces: fo,
9571
+ alpha_spaces: go,
8874
9572
  alphanumeric: bo,
8875
- between: So,
8876
- confirm: Ao,
8877
- contains_alpha: Po,
8878
- contains_alpha_spaces: xo,
9573
+ between: ko,
9574
+ confirm: Po,
9575
+ contains_alpha: $o,
9576
+ contains_alpha_spaces: _o,
8879
9577
  contains_alphanumeric: Io,
8880
- contains_lowercase: Fo,
9578
+ contains_lowercase: Ro,
8881
9579
  contains_numeric: No,
8882
9580
  contains_symbol: Ho,
8883
- contains_uppercase: Vo,
9581
+ contains_uppercase: Uo,
8884
9582
  date_after: oo,
8885
9583
  date_after_node: uo,
8886
9584
  date_after_or_equal: lo,
8887
9585
  date_before: vo,
8888
9586
  date_before_node: Co,
8889
- date_before_or_equal: ko,
8890
- date_between: jo,
9587
+ date_before_or_equal: So,
9588
+ date_between: Wo,
8891
9589
  date_format: qo,
8892
9590
  email: Go,
8893
- ends_with: Qo,
8894
- is: Xo,
9591
+ ends_with: Yo,
9592
+ is: Jo,
8895
9593
  length: Zo,
8896
9594
  lowercase: ts,
8897
9595
  matches: ns,
@@ -8901,7 +9599,7 @@ const Ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8901
9599
  number: ds,
8902
9600
  require_one: ps,
8903
9601
  required: ms,
8904
- starts_with: fs,
9602
+ starts_with: gs,
8905
9603
  symbol: bs,
8906
9604
  uppercase: vs,
8907
9605
  url: Cs
@@ -8913,26 +9611,26 @@ var Ct = /* @__PURE__ */ q({
8913
9611
  value: !0,
8914
9612
  key: "validating"
8915
9613
  });
8916
- function ks(e = {}) {
9614
+ function Ss(e = {}) {
8917
9615
  return function(i) {
8918
9616
  let n = G(i.props.validationRules || {}), r = { ...e, ...n };
8919
- const a = { input: _e(), rerun: null, isPassing: !0 };
9617
+ const a = { input: Ae(), rerun: null, isPassing: !0 };
8920
9618
  let o = G(i.props.validation);
8921
9619
  i.on("prop:validation", ({ payload: l }) => s(l, n)), i.on(
8922
9620
  "prop:validationRules",
8923
9621
  ({ payload: l }) => s(o, l)
8924
9622
  );
8925
- function s(l, f) {
8926
- var g;
8927
- V(Object.keys(n || {}), Object.keys(f || {})) && V(o, l) || (n = G(f), o = G(l), r = { ...e, ...n }, (g = i.props.parsedRules) == null || g.forEach((y) => {
8928
- Bi(y), Ri(y.observer.receipts), y.observer.kill();
9623
+ function s(l, g) {
9624
+ var f;
9625
+ U(Object.keys(n || {}), Object.keys(g || {})) && U(o, l) || (n = G(g), o = G(l), r = { ...e, ...n }, (f = i.props.parsedRules) == null || f.forEach((y) => {
9626
+ Ei(y), Oi(y.observer.receipts), y.observer.kill();
8929
9627
  }), i.store.filter(() => !1, "validation"), i.props.parsedRules = Kt(l, r, i), a.isPassing = !0, Lt(i, i.props.parsedRules, a));
8930
9628
  }
8931
9629
  i.props.parsedRules = Kt(o, r, i), Lt(i, i.props.parsedRules, a);
8932
9630
  };
8933
9631
  }
8934
9632
  function Lt(e, t, i) {
8935
- Dt(e) || (i.input = _e(), e.store.set(
9633
+ xt(e) || (i.input = Ae(), e.store.set(
8936
9634
  /* @__PURE__ */ q({
8937
9635
  key: "failing",
8938
9636
  value: !i.isPassing,
@@ -8940,7 +9638,7 @@ function Lt(e, t, i) {
8940
9638
  })
8941
9639
  ), i.isPassing = !0, e.store.filter((n) => !n.meta.removeImmediately, "validation"), t.forEach(
8942
9640
  (n) => n.debounce && clearTimeout(n.timer)
8943
- ), t.length && (e.store.set(Ct), kt(0, t, i, !1, () => {
9641
+ ), t.length && (e.store.set(Ct), St(0, t, i, !1, () => {
8944
9642
  e.store.remove(Ct.key), e.store.set(
8945
9643
  /* @__PURE__ */ q({
8946
9644
  key: "failing",
@@ -8950,23 +9648,23 @@ function Lt(e, t, i) {
8950
9648
  );
8951
9649
  })));
8952
9650
  }
8953
- function kt(e, t, i, n, r) {
9651
+ function St(e, t, i, n, r) {
8954
9652
  const a = t[e];
8955
9653
  if (!a)
8956
9654
  return r();
8957
9655
  const o = a.observer;
8958
- if (Dt(o))
9656
+ if (xt(o))
8959
9657
  return;
8960
9658
  const s = i.input;
8961
9659
  a.state = null;
8962
- function l(f, g) {
9660
+ function l(g, f) {
8963
9661
  if (i.input !== s)
8964
9662
  return;
8965
- i.isPassing = i.isPassing && !!g, a.queued = !1;
8966
- const y = o.stopObserve(), P = Oi(a.deps, y);
9663
+ i.isPassing = i.isPassing && !!f, a.queued = !1;
9664
+ const y = o.stopObserve(), $ = Fi(a.deps, y);
8967
9665
  if (Ii(
8968
9666
  o,
8969
- P,
9667
+ $,
8970
9668
  function() {
8971
9669
  try {
8972
9670
  o.store.set(Ct);
@@ -8982,34 +9680,34 @@ function kt(e, t, i, n, r) {
8982
9680
  },
8983
9681
  "unshift"
8984
9682
  // We want these listeners to run before other events are emitted so the 'state.validating' will be reliable.
8985
- ), a.deps = y, a.state = g, g === !1 ? Ss(a, n || f) : Bi(a), t.length > e + 1) {
9683
+ ), a.deps = y, a.state = f, f === !1 ? ks(a, n || g) : Ei(a), t.length > e + 1) {
8986
9684
  const b = t[e + 1];
8987
- (g || b.force || !b.skipEmpty) && b.state === null && (b.queued = !0), kt(e + 1, t, i, n || f, r);
9685
+ (f || b.force || !b.skipEmpty) && b.state === null && (b.queued = !0), St(e + 1, t, i, n || g, r);
8988
9686
  } else
8989
9687
  r();
8990
9688
  }
8991
- (!z(o.value) || !a.skipEmpty) && (i.isPassing || a.force) ? a.queued ? ws(a, o, (f) => {
8992
- f instanceof Promise ? f.then((g) => l(!0, g)) : l(!1, f);
8993
- }) : kt(e + 1, t, i, n, r) : z(o.value) && a.skipEmpty && i.isPassing ? (o.observe(), o.value, l(!1, i.isPassing)) : l(!1, null);
9689
+ (!z(o.value) || !a.skipEmpty) && (i.isPassing || a.force) ? a.queued ? ws(a, o, (g) => {
9690
+ g instanceof Promise ? g.then((f) => l(!0, f)) : l(!1, g);
9691
+ }) : St(e + 1, t, i, n, r) : z(o.value) && a.skipEmpty && i.isPassing ? (o.observe(), o.value, l(!1, i.isPassing)) : l(!1, null);
8994
9692
  }
8995
9693
  function ws(e, t, i) {
8996
9694
  e.debounce ? e.timer = setTimeout(() => {
8997
9695
  t.observe(), i(e.rule(t, ...e.args));
8998
9696
  }, e.debounce) : (t.observe(), i(e.rule(t, ...e.args)));
8999
9697
  }
9000
- function Bi(e) {
9698
+ function Ei(e) {
9001
9699
  const t = `rule_${e.name}`;
9002
- e.messageObserver && (e.messageObserver = e.messageObserver.kill()), A(e.observer.store, t) && e.observer.store.remove(t);
9700
+ e.messageObserver && (e.messageObserver = e.messageObserver.kill()), P(e.observer.store, t) && e.observer.store.remove(t);
9003
9701
  }
9004
- function Ss(e, t) {
9702
+ function ks(e, t) {
9005
9703
  const i = e.observer;
9006
- Dt(i) || (e.messageObserver || (e.messageObserver = rt(i._node)), e.messageObserver.watch(
9007
- (n) => As(
9704
+ xt(i) || (e.messageObserver || (e.messageObserver = rt(i._node)), e.messageObserver.watch(
9705
+ (n) => Ps(
9008
9706
  n,
9009
9707
  e
9010
9708
  ),
9011
9709
  (n) => {
9012
- const r = $s(i, e, n), a = /* @__PURE__ */ q({
9710
+ const r = Ds(i, e, n), a = /* @__PURE__ */ q({
9013
9711
  blocking: e.blocking,
9014
9712
  key: `rule_${e.name}`,
9015
9713
  meta: {
@@ -9040,26 +9738,26 @@ function Ss(e, t) {
9040
9738
  }
9041
9739
  ));
9042
9740
  }
9043
- function $s(e, t, i) {
9044
- const n = e.props.validationMessages && A(e.props.validationMessages, t.name) ? e.props.validationMessages[t.name] : void 0;
9741
+ function Ds(e, t, i) {
9742
+ const n = e.props.validationMessages && P(e.props.validationMessages, t.name) ? e.props.validationMessages[t.name] : void 0;
9045
9743
  return typeof n == "function" ? n(...i) : n;
9046
9744
  }
9047
- function As(e, t) {
9745
+ function Ps(e, t) {
9048
9746
  return [
9049
9747
  {
9050
9748
  node: e,
9051
- name: Vi(e),
9749
+ name: Ui(e),
9052
9750
  args: t.args
9053
9751
  }
9054
9752
  ];
9055
9753
  }
9056
- function Vi(e) {
9754
+ function Ui(e) {
9057
9755
  return typeof e.props.validationLabel == "function" ? e.props.validationLabel(e) : e.props.validationLabel || e.props.label || e.props.name || String(e.name);
9058
9756
  }
9059
- var Ui = "(?:[\\*+?()0-9]+)", ji = "[a-zA-Z][a-zA-Z0-9_]+", _s = new RegExp(
9060
- `^(${Ui}?${ji})(?:\\:(.*)+)?$`,
9757
+ var Vi = "(?:[\\*+?()0-9]+)", Wi = "[a-zA-Z][a-zA-Z0-9_]+", As = new RegExp(
9758
+ `^(${Vi}?${Wi})(?:\\:(.*)+)?$`,
9061
9759
  "i"
9062
- ), Ps = new RegExp(`^(${Ui})(${ji})$`, "i"), Ms = /([\*+?]+)?(\(\d+\))([\*+?]+)?/, qt = /\(\d+\)/, xs = {
9760
+ ), $s = new RegExp(`^(${Vi})(${Wi})$`, "i"), Ms = /([\*+?]+)?(\(\d+\))([\*+?]+)?/, qt = /\(\d+\)/, _s = {
9063
9761
  blocking: !0,
9064
9762
  debounce: 0,
9065
9763
  force: !1,
@@ -9067,12 +9765,12 @@ var Ui = "(?:[\\*+?()0-9]+)", ji = "[a-zA-Z][a-zA-Z0-9_]+", _s = new RegExp(
9067
9765
  name: ""
9068
9766
  };
9069
9767
  function Kt(e, t, i) {
9070
- return e ? (typeof e == "string" ? Ds(e) : Se(e)).reduce((r, a) => {
9768
+ return e ? (typeof e == "string" ? xs(e) : ke(e)).reduce((r, a) => {
9071
9769
  let o = a.shift();
9072
9770
  const s = {};
9073
9771
  if (typeof o == "string") {
9074
- const [l, f] = Rs(o);
9075
- A(t, l) && (o = t[l], Object.assign(s, f));
9772
+ const [l, g] = Os(o);
9773
+ P(t, l) && (o = t[l], Object.assign(s, g));
9076
9774
  }
9077
9775
  return typeof o == "function" && r.push({
9078
9776
  observer: rt(i),
@@ -9082,12 +9780,12 @@ function Kt(e, t, i) {
9082
9780
  state: null,
9083
9781
  queued: !0,
9084
9782
  deps: /* @__PURE__ */ new Map(),
9085
- ...xs,
9086
- ...Fs(s, o)
9783
+ ..._s,
9784
+ ...Rs(s, o)
9087
9785
  }), r;
9088
9786
  }, []) : [];
9089
9787
  }
9090
- function Ds(e) {
9788
+ function xs(e) {
9091
9789
  return e.split("|").reduce((t, i) => {
9092
9790
  const n = Is(i);
9093
9791
  return n && t.push(n), t;
@@ -9096,7 +9794,7 @@ function Ds(e) {
9096
9794
  function Is(e) {
9097
9795
  const t = e.trim();
9098
9796
  if (t) {
9099
- const i = t.match(_s);
9797
+ const i = t.match(As);
9100
9798
  if (i && typeof i[1] == "string") {
9101
9799
  const n = i[1].trim(), r = i[2] && typeof i[2] == "string" ? i[2].split(",").map((a) => a.trim()) : [];
9102
9800
  return [n, ...r];
@@ -9104,8 +9802,8 @@ function Is(e) {
9104
9802
  }
9105
9803
  return !1;
9106
9804
  }
9107
- function Rs(e) {
9108
- const t = e.match(Ps);
9805
+ function Os(e) {
9806
+ const t = e.match($s);
9109
9807
  if (!t)
9110
9808
  return [e, { name: e }];
9111
9809
  const i = {
@@ -9117,15 +9815,15 @@ function Rs(e) {
9117
9815
  r,
9118
9816
  [a[1], a[2], a[3]].reduce(
9119
9817
  (o, s) => (s && (qt.test(s) ? o.debounce = parseInt(s.substr(1, s.length - 1)) : s.split("").forEach(
9120
- (l) => A(i, l) && Object.assign(o, i[l])
9818
+ (l) => P(i, l) && Object.assign(o, i[l])
9121
9819
  )), o),
9122
9820
  { name: r }
9123
9821
  )
9124
9822
  ];
9125
9823
  }
9126
- function Fs(e, t) {
9824
+ function Rs(e, t) {
9127
9825
  return e.name || (e.name = t.ruleName || t.name), ["skipEmpty", "force", "debounce", "blocking"].reduce(
9128
- (i, n) => (A(t, n) && !A(i, n) && Object.assign(i, {
9826
+ (i, n) => (P(t, n) && !P(i, n) && Object.assign(i, {
9129
9827
  [n]: t[n]
9130
9828
  }), i),
9131
9829
  e
@@ -9137,14 +9835,14 @@ function M(e) {
9137
9835
  function Gt(e, t = "or") {
9138
9836
  return e.reduce((i, n, r) => (i += n, r <= e.length - 2 && e.length > 2 && (i += ", "), r === e.length - 2 && (i += `${e.length === 2 ? " " : ""}${t} `), i), "");
9139
9837
  }
9140
- function Ue(e) {
9838
+ function Ve(e) {
9141
9839
  const t = typeof e == "string" ? new Date(Date.parse(e)) : e;
9142
9840
  return t instanceof Date ? new Intl.DateTimeFormat(void 0, {
9143
9841
  dateStyle: "medium",
9144
9842
  timeZone: "UTC"
9145
9843
  }).format(t) : "(unknown)";
9146
9844
  }
9147
- function Os(e, t) {
9845
+ function Fs(e, t) {
9148
9846
  return Number(e) >= Number(t) ? [t, e] : [e, t];
9149
9847
  }
9150
9848
  var Ns = {
@@ -9233,7 +9931,7 @@ var Ns = {
9233
9931
  * Shown when there is something to open.
9234
9932
  */
9235
9933
  open: "Open"
9236
- }, Es = {
9934
+ }, Bs = {
9237
9935
  /**
9238
9936
  * The value is not an accepted value.
9239
9937
  * @see {@link https://formkit.com/essentials/validation#accepted}
@@ -9246,7 +9944,7 @@ var Ns = {
9246
9944
  * @see {@link https://formkit.com/essentials/validation#date-after}
9247
9945
  */
9248
9946
  date_after({ name: e, args: t }) {
9249
- return Array.isArray(t) && t.length ? `${M(e)} must be after ${Ue(t[0])}.` : `${M(e)} must be in the future.`;
9947
+ return Array.isArray(t) && t.length ? `${M(e)} must be after ${Ve(t[0])}.` : `${M(e)} must be in the future.`;
9250
9948
  },
9251
9949
  /**
9252
9950
  * The value is not a letter.
@@ -9345,7 +10043,7 @@ var Ns = {
9345
10043
  * @see {@link https://formkit.com/essentials/validation#date-before}
9346
10044
  */
9347
10045
  date_before({ name: e, args: t }) {
9348
- return Array.isArray(t) && t.length ? `${M(e)} must be before ${Ue(t[0])}.` : `${M(e)} must be in the past.`;
10046
+ return Array.isArray(t) && t.length ? `${M(e)} must be before ${Ve(t[0])}.` : `${M(e)} must be in the past.`;
9349
10047
  },
9350
10048
  /**
9351
10049
  * The value is not between two numbers
@@ -9354,7 +10052,7 @@ var Ns = {
9354
10052
  between({ name: e, args: t }) {
9355
10053
  if (isNaN(t[0]) || isNaN(t[1]))
9356
10054
  return "This field was configured incorrectly and can’t be submitted.";
9357
- const [i, n] = Os(t[0], t[1]);
10055
+ const [i, n] = Fs(t[0], t[1]);
9358
10056
  return `${M(e)} must be between ${i} and ${n}.`;
9359
10057
  },
9360
10058
  /**
@@ -9376,7 +10074,7 @@ var Ns = {
9376
10074
  * @see {@link https://formkit.com/essentials/validation#date-between}
9377
10075
  */
9378
10076
  date_between({ name: e, args: t }) {
9379
- return `${M(e)} must be between ${Ue(t[0])} and ${Ue(t[1])}`;
10077
+ return `${M(e)} must be between ${Ve(t[0])} and ${Ve(t[1])}`;
9380
10078
  },
9381
10079
  /**
9382
10080
  * Shown when the user-provided value is not a valid email address.
@@ -9454,7 +10152,7 @@ var Ns = {
9454
10152
  require_one: ({ name: e, node: t, args: i }) => {
9455
10153
  const n = i.map((r) => {
9456
10154
  const a = t.at(r);
9457
- return a ? Vi(a) : !1;
10155
+ return a ? Ui(a) : !1;
9458
10156
  }).filter((r) => !!r);
9459
10157
  return n.unshift(e), `${n.join(" or ")} is required.`;
9460
10158
  },
@@ -9483,35 +10181,35 @@ var Ns = {
9483
10181
  * Shown when the date is invalid.
9484
10182
  */
9485
10183
  invalidDate: "The selected date is invalid."
9486
- }, Hs = { ui: Ns, validation: Es }, zt = /* @__PURE__ */ new Set();
9487
- function Bs(e) {
10184
+ }, Hs = { ui: Ns, validation: Bs }, zt = /* @__PURE__ */ new Set();
10185
+ function Es(e) {
9488
10186
  return function(i) {
9489
10187
  zt.add(i), i.on("destroying", () => zt.delete(i));
9490
- let n = Qt(i.config.locale, e), r = n ? e[n] : {};
10188
+ let n = Yt(i.config.locale, e), r = n ? e[n] : {};
9491
10189
  i.on("prop:locale", ({ payload: a }) => {
9492
- n = Qt(a, e), r = n ? e[n] : {}, i.store.touch();
10190
+ n = Yt(a, e), r = n ? e[n] : {}, i.store.touch();
9493
10191
  }), i.on("prop:label", () => i.store.touch()), i.on("prop:validationLabel", () => i.store.touch()), i.hook.text((a, o) => {
9494
- var l, f;
10192
+ var l, g;
9495
10193
  const s = ((l = a.meta) == null ? void 0 : l.messageKey) || a.key;
9496
- if (A(r, a.type) && A(r[a.type], s)) {
9497
- const g = r[a.type][s];
9498
- typeof g == "function" ? a.value = Array.isArray((f = a.meta) == null ? void 0 : f.i18nArgs) ? g(...a.meta.i18nArgs) : g(a) : a.value = g;
10194
+ if (P(r, a.type) && P(r[a.type], s)) {
10195
+ const f = r[a.type][s];
10196
+ typeof f == "function" ? a.value = Array.isArray((g = a.meta) == null ? void 0 : g.i18nArgs) ? f(...a.meta.i18nArgs) : f(a) : a.value = f;
9499
10197
  }
9500
10198
  return o(a);
9501
10199
  });
9502
10200
  };
9503
10201
  }
9504
- function Qt(e, t) {
9505
- if (A(t, e))
10202
+ function Yt(e, t) {
10203
+ if (P(t, e))
9506
10204
  return e;
9507
10205
  const [i] = e.split("-");
9508
- if (A(t, i))
10206
+ if (P(t, i))
9509
10207
  return i;
9510
10208
  for (const n in t)
9511
10209
  return n;
9512
10210
  return !1;
9513
10211
  }
9514
- function Vs(...e) {
10212
+ function Us(...e) {
9515
10213
  const t = e.reduce(
9516
10214
  (n, r) => se(n, r),
9517
10215
  {}
@@ -9519,10 +10217,10 @@ function Vs(...e) {
9519
10217
  };
9520
10218
  return i.library = function(n) {
9521
10219
  const r = Te(n.props.type);
9522
- A(t, r) && n.define(t[r]);
10220
+ P(t, r) && n.define(t[r]);
9523
10221
  }, i;
9524
10222
  }
9525
- var Us = [
10223
+ var Vs = [
9526
10224
  "classes",
9527
10225
  "config",
9528
10226
  "delay",
@@ -9555,7 +10253,7 @@ var Us = [
9555
10253
  function at(e) {
9556
10254
  return e && typeof e == "object" && "group" in e && Array.isArray(e.options);
9557
10255
  }
9558
- function Wi(e, t = { count: 1 }) {
10256
+ function ji(e, t = { count: 1 }) {
9559
10257
  return Array.isArray(e) ? e.map(
9560
10258
  (i) => {
9561
10259
  if (typeof i == "string" || typeof i == "number")
@@ -9565,7 +10263,7 @@ function Wi(e, t = { count: 1 }) {
9565
10263
  };
9566
10264
  if (typeof i == "object") {
9567
10265
  if ("group" in i)
9568
- return i.options = Wi(i.options || [], t), i;
10266
+ return i.options = ji(i.options || [], t), i;
9569
10267
  "value" in i && typeof i.value != "string" && Object.assign(i, {
9570
10268
  value: `__mask_${t.count++}`,
9571
10269
  __original: i.value
@@ -9592,17 +10290,17 @@ function he(e, t, i = !1) {
9592
10290
  }
9593
10291
  return i ? void 0 : t;
9594
10292
  }
9595
- function Ae(e, t) {
9596
- return e === null && t === void 0 || e === void 0 && t === null ? !1 : e == t ? !0 : we(e) && we(t) ? V(e, t) : !1;
10293
+ function Pe(e, t) {
10294
+ return e === null && t === void 0 || e === void 0 && t === null ? !1 : e == t ? !0 : we(e) && we(t) ? U(e, t) : !1;
9597
10295
  }
9598
10296
  function It(e) {
9599
10297
  e.hook.prop((t, i) => {
9600
10298
  var n;
9601
- return t.prop === "options" && (typeof t.value == "function" ? (e.props.optionsLoader = t.value, t.value = []) : ((n = e.props)._normalizeCounter ?? (n._normalizeCounter = { count: 1 }), t.value = Wi(t.value, e.props._normalizeCounter))), i(t);
10299
+ return t.prop === "options" && (typeof t.value == "function" ? (e.props.optionsLoader = t.value, t.value = []) : ((n = e.props)._normalizeCounter ?? (n._normalizeCounter = { count: 1 }), t.value = ji(t.value, e.props._normalizeCounter))), i(t);
9602
10300
  });
9603
10301
  }
9604
10302
  // @__NO_SIDE_EFFECTS__
9605
- function S(e, t, i = !1) {
10303
+ function k(e, t, i = !1) {
9606
10304
  return (...n) => {
9607
10305
  const r = (a) => {
9608
10306
  const o = !t || typeof t == "string" ? { $el: t } : t();
@@ -9616,27 +10314,27 @@ function S(e, t, i = !1) {
9616
10314
  })), {
9617
10315
  if: `$slots.${e}`,
9618
10316
  then: `$slots.${e}`,
9619
- else: e in a ? /* @__PURE__ */ xe(o, a[e]) : o
10317
+ else: e in a ? /* @__PURE__ */ _e(o, a[e]) : o
9620
10318
  };
9621
10319
  };
9622
- return r._s = e, i ? /* @__PURE__ */ js(r) : r;
10320
+ return r._s = e, i ? /* @__PURE__ */ Ws(r) : r;
9623
10321
  };
9624
10322
  }
9625
10323
  // @__NO_SIDE_EFFECTS__
9626
- function js(e) {
10324
+ function Ws(e) {
9627
10325
  return (t) => [e(t)];
9628
10326
  }
9629
- function Ye(e) {
10327
+ function Qe(e) {
9630
10328
  return !!(e && typeof e == "object" && ("$el" in e || "$cmp" in e || "$formkit" in e));
9631
10329
  }
9632
10330
  // @__NO_SIDE_EFFECTS__
9633
- function xe(e, t = {}) {
9634
- return typeof e == "string" ? Ye(t) || typeof t == "string" ? t : e : Array.isArray(e) ? Ye(t) ? t : e : se(e, t);
10331
+ function _e(e, t = {}) {
10332
+ return typeof e == "string" ? Qe(t) || typeof t == "string" ? t : e : Array.isArray(e) ? Qe(t) ? t : e : se(e, t);
9635
10333
  }
9636
- var Ws = /* @__PURE__ */ S("actions", () => ({
10334
+ var js = /* @__PURE__ */ k("actions", () => ({
9637
10335
  $el: "div",
9638
10336
  if: "$actions"
9639
- })), Xe = /* @__PURE__ */ S("input", () => ({
10337
+ })), Je = /* @__PURE__ */ k("input", () => ({
9640
10338
  $el: "input",
9641
10339
  bind: "$attrs",
9642
10340
  attrs: {
@@ -9662,19 +10360,19 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9662
10360
  }
9663
10361
  }
9664
10362
  }
9665
- })), qi = /* @__PURE__ */ S("optionHelp", () => ({
10363
+ })), qi = /* @__PURE__ */ k("optionHelp", () => ({
9666
10364
  $el: "div",
9667
10365
  if: "$option.help",
9668
10366
  attrs: {
9669
10367
  id: '$: "help-" + $option.attrs.id'
9670
10368
  }
9671
- })), Je = /* @__PURE__ */ S("inner", "span"), Ze = /* @__PURE__ */ S("label", "span"), Ki = /* @__PURE__ */ S("option", () => ({
10369
+ })), Xe = /* @__PURE__ */ k("inner", "span"), Ze = /* @__PURE__ */ k("label", "span"), Ki = /* @__PURE__ */ k("option", () => ({
9672
10370
  $el: "li",
9673
10371
  for: ["option", "$options"],
9674
10372
  attrs: {
9675
10373
  "data-disabled": "$option.attrs.disabled || $disabled || undefined"
9676
10374
  }
9677
- })), Gi = /* @__PURE__ */ S("options", "ul"), et = /* @__PURE__ */ S("wrapper", () => ({
10375
+ })), Gi = /* @__PURE__ */ k("options", "ul"), et = /* @__PURE__ */ k("wrapper", () => ({
9678
10376
  $el: "label",
9679
10377
  attrs: {
9680
10378
  "data-disabled": {
@@ -9688,7 +10386,7 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9688
10386
  else: "$fns.isChecked($option.value) || undefined"
9689
10387
  }
9690
10388
  }
9691
- })), qs = /* @__PURE__ */ S("input", () => ({
10389
+ })), qs = /* @__PURE__ */ k("input", () => ({
9692
10390
  $el: "button",
9693
10391
  bind: "$attrs",
9694
10392
  attrs: {
@@ -9697,12 +10395,12 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9697
10395
  name: "$node.name",
9698
10396
  id: "$id"
9699
10397
  }
9700
- })), Ks = /* @__PURE__ */ S("default", null), tt = /* @__PURE__ */ S("decorator", () => ({
10398
+ })), Ks = /* @__PURE__ */ k("default", null), tt = /* @__PURE__ */ k("decorator", () => ({
9701
10399
  $el: "span",
9702
10400
  attrs: {
9703
10401
  "aria-hidden": "true"
9704
10402
  }
9705
- })), zi = /* @__PURE__ */ S("fieldset", () => ({
10403
+ })), zi = /* @__PURE__ */ k("fieldset", () => ({
9706
10404
  $el: "fieldset",
9707
10405
  attrs: {
9708
10406
  id: "$id",
@@ -9712,7 +10410,7 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9712
10410
  else: void 0
9713
10411
  }
9714
10412
  }
9715
- })), Gs = /* @__PURE__ */ S("input", () => ({
10413
+ })), Gs = /* @__PURE__ */ k("input", () => ({
9716
10414
  $el: "input",
9717
10415
  bind: "$attrs",
9718
10416
  attrs: {
@@ -9725,27 +10423,27 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9725
10423
  "aria-describedby": "$describedBy",
9726
10424
  "aria-required": "$state.required || undefined"
9727
10425
  }
9728
- })), zs = /* @__PURE__ */ S("fileItem", () => ({
10426
+ })), zs = /* @__PURE__ */ k("fileItem", () => ({
9729
10427
  $el: "li",
9730
10428
  for: ["file", "$value"]
9731
- })), Qs = /* @__PURE__ */ S("fileList", () => ({
10429
+ })), Ys = /* @__PURE__ */ k("fileList", () => ({
9732
10430
  $el: "ul",
9733
10431
  if: "$value.length",
9734
10432
  attrs: {
9735
10433
  "data-has-multiple": "$_hasMultipleFiles"
9736
10434
  }
9737
- })), Ys = /* @__PURE__ */ S("fileName", () => ({
10435
+ })), Qs = /* @__PURE__ */ k("fileName", () => ({
9738
10436
  $el: "span",
9739
10437
  attrs: {
9740
10438
  class: "$classes.fileName"
9741
10439
  }
9742
- })), Yt = /* @__PURE__ */ S("fileRemove", () => ({
10440
+ })), Qt = /* @__PURE__ */ k("fileRemove", () => ({
9743
10441
  $el: "button",
9744
10442
  attrs: {
9745
10443
  type: "button",
9746
10444
  onClick: "$handlers.resetFiles"
9747
10445
  }
9748
- })), Xs = /* @__PURE__ */ S("form", () => ({
10446
+ })), Js = /* @__PURE__ */ k("form", () => ({
9749
10447
  $el: "form",
9750
10448
  bind: "$attrs",
9751
10449
  meta: {
@@ -9757,13 +10455,13 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9757
10455
  onSubmit: "$handlers.submit",
9758
10456
  "data-loading": "$state.loading || undefined"
9759
10457
  }
9760
- })), Rt = /* @__PURE__ */ S("wrapper", null, !0), ee = /* @__PURE__ */ S("help", () => ({
10458
+ })), Ot = /* @__PURE__ */ k("wrapper", null, !0), ee = /* @__PURE__ */ k("help", () => ({
9761
10459
  $el: "div",
9762
10460
  if: "$help",
9763
10461
  attrs: {
9764
10462
  id: '$: "help-" + $id'
9765
10463
  }
9766
- })), E = (e, t) => (/* @__PURE__ */ S(`${e}Icon`, () => {
10464
+ })), B = (e, t) => (/* @__PURE__ */ k(`${e}Icon`, () => {
9767
10465
  const i = `_raw${e.charAt(0).toUpperCase()}${e.slice(1)}Icon`;
9768
10466
  return {
9769
10467
  if: `$${e}Icon && $${i}`,
@@ -9780,16 +10478,16 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9780
10478
  }
9781
10479
  }
9782
10480
  };
9783
- }))(), Ee = /* @__PURE__ */ S("inner", "div"), He = /* @__PURE__ */ S("label", () => ({
10481
+ }))(), Be = /* @__PURE__ */ k("inner", "div"), He = /* @__PURE__ */ k("label", () => ({
9784
10482
  $el: "label",
9785
10483
  if: "$label",
9786
10484
  attrs: {
9787
10485
  for: "$id"
9788
10486
  }
9789
- })), Qi = /* @__PURE__ */ S("legend", () => ({
10487
+ })), Yi = /* @__PURE__ */ k("legend", () => ({
9790
10488
  $el: "legend",
9791
10489
  if: "$label"
9792
- })), le = /* @__PURE__ */ S("message", () => ({
10490
+ })), le = /* @__PURE__ */ k("message", () => ({
9793
10491
  $el: "li",
9794
10492
  for: ["message", "$messages"],
9795
10493
  attrs: {
@@ -9797,19 +10495,19 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9797
10495
  id: "$id + '-' + $message.key",
9798
10496
  "data-message-type": "$message.type"
9799
10497
  }
9800
- })), ce = /* @__PURE__ */ S("messages", () => ({
10498
+ })), ce = /* @__PURE__ */ k("messages", () => ({
9801
10499
  $el: "ul",
9802
10500
  if: "$defaultMessagePlacement && $fns.length($messages)"
9803
- })), Js = /* @__PURE__ */ S("noFiles", () => ({
10501
+ })), Xs = /* @__PURE__ */ k("noFiles", () => ({
9804
10502
  $el: "span",
9805
10503
  if: "$value == null || $value.length == 0"
9806
- })), Zs = /* @__PURE__ */ S("optGroup", () => ({
10504
+ })), Zs = /* @__PURE__ */ k("optGroup", () => ({
9807
10505
  $el: "optgroup",
9808
10506
  bind: "$option.attrs",
9809
10507
  attrs: {
9810
10508
  label: "$option.group"
9811
10509
  }
9812
- })), Xt = /* @__PURE__ */ S("option", () => ({
10510
+ })), Jt = /* @__PURE__ */ k("option", () => ({
9813
10511
  $el: "option",
9814
10512
  bind: "$option.attrs",
9815
10513
  attrs: {
@@ -9817,11 +10515,11 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9817
10515
  value: "$option.value",
9818
10516
  selected: "$fns.isSelected($option)"
9819
10517
  }
9820
- })), Jt = /* @__PURE__ */ S("options", () => ({
10518
+ })), Xt = /* @__PURE__ */ k("options", () => ({
9821
10519
  $el: null,
9822
10520
  if: "$options.length",
9823
10521
  for: ["option", "$option.options || $options"]
9824
- })), ue = /* @__PURE__ */ S("outer", () => ({
10522
+ })), ue = /* @__PURE__ */ k("outer", () => ({
9825
10523
  $el: "div",
9826
10524
  meta: {
9827
10525
  autoAnimate: !0
@@ -9843,7 +10541,7 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9843
10541
  "data-prefix-icon-click": "$onPrefixIconClick !== undefined || undefined",
9844
10542
  "data-suffix-icon-click": "$onSuffixIconClick !== undefined || undefined"
9845
10543
  }
9846
- })), te = /* @__PURE__ */ S("prefix", null), el = /* @__PURE__ */ S("input", () => ({
10544
+ })), te = /* @__PURE__ */ k("prefix", null), el = /* @__PURE__ */ k("input", () => ({
9847
10545
  $el: "select",
9848
10546
  bind: "$attrs",
9849
10547
  attrs: {
@@ -9858,14 +10556,14 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9858
10556
  "aria-describedby": "$describedBy",
9859
10557
  "aria-required": "$state.required || undefined"
9860
10558
  }
9861
- })), tl = /* @__PURE__ */ S("submit", () => ({
10559
+ })), tl = /* @__PURE__ */ k("submit", () => ({
9862
10560
  $cmp: "FormKit",
9863
10561
  bind: "$submitAttrs",
9864
10562
  props: {
9865
10563
  type: "submit",
9866
10564
  label: "$submitLabel"
9867
10565
  }
9868
- })), ie = /* @__PURE__ */ S("suffix", null), Yi = /* @__PURE__ */ S("input", () => ({
10566
+ })), ie = /* @__PURE__ */ k("suffix", null), Qi = /* @__PURE__ */ k("input", () => ({
9869
10567
  $el: "input",
9870
10568
  bind: "$attrs",
9871
10569
  attrs: {
@@ -9879,7 +10577,7 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9879
10577
  "aria-describedby": "$describedBy",
9880
10578
  "aria-required": "$state.required || undefined"
9881
10579
  }
9882
- })), il = /* @__PURE__ */ S("input", () => ({
10580
+ })), il = /* @__PURE__ */ k("input", () => ({
9883
10581
  $el: "textarea",
9884
10582
  bind: "$attrs",
9885
10583
  attrs: {
@@ -9893,20 +10591,20 @@ var Ws = /* @__PURE__ */ S("actions", () => ({
9893
10591
  "aria-required": "$state.required || undefined"
9894
10592
  },
9895
10593
  children: "$initialValue"
9896
- })), Pe = /* @__PURE__ */ S("wrapper", "div"), nl = 0;
9897
- function Xi(e) {
10594
+ })), $e = /* @__PURE__ */ k("wrapper", "div"), nl = 0;
10595
+ function Ji(e) {
9898
10596
  (e.type === "group" || e.type === "list") && e.plugins.add(rl);
9899
10597
  }
9900
10598
  function rl(e) {
9901
10599
  e.props.type === "radio" && (e.addProps(["altName"]), e.props.altName = `${e.name}_${nl++}`);
9902
10600
  }
9903
- function Ji(e) {
10601
+ function Xi(e) {
9904
10602
  return function(t, i) {
9905
10603
  return t.prop === "options" && Array.isArray(t.value) && (t.value = t.value.map((n) => {
9906
10604
  var r;
9907
10605
  return (r = n.attrs) != null && r.id ? n : se(n, {
9908
10606
  attrs: {
9909
- id: `${e.props.id}-option-${St(String(n.value))}`
10607
+ id: `${e.props.id}-option-${kt(String(n.value))}`
9910
10608
  }
9911
10609
  });
9912
10610
  }), e.props.type === "checkbox" && !Array.isArray(e.value) && (e.isCreated ? e.input([], !1) : e.on("created", () => {
@@ -9918,9 +10616,9 @@ function al(e, t) {
9918
10616
  const i = t.target;
9919
10617
  if (i instanceof HTMLInputElement) {
9920
10618
  const n = Array.isArray(e.props.options) ? he(e.props.options, i.value) : i.value;
9921
- Array.isArray(e.props.options) && e.props.options.length ? Array.isArray(e._value) ? e._value.some((r) => Ae(n, r)) ? e.input(
10619
+ Array.isArray(e.props.options) && e.props.options.length ? Array.isArray(e._value) ? e._value.some((r) => Pe(n, r)) ? e.input(
9922
10620
  e._value.filter(
9923
- (r) => !Ae(n, r)
10621
+ (r) => !Pe(n, r)
9924
10622
  )
9925
10623
  ) : e.input([...e._value, n]) : e.input([n]) : i.checked ? e.input(e.props.onValue) : e.input(e.props.offValue);
9926
10624
  }
@@ -9928,25 +10626,25 @@ function al(e, t) {
9928
10626
  function ol(e, t) {
9929
10627
  var i, n;
9930
10628
  return (i = e.context) == null || i.value, (n = e.context) == null || n._value, Array.isArray(e._value) ? e._value.some(
9931
- (r) => Ae(he(e.props.options, t), r)
10629
+ (r) => Pe(he(e.props.options, t), r)
9932
10630
  ) : !1;
9933
10631
  }
9934
10632
  function sl(e) {
9935
10633
  e.on("created", () => {
9936
10634
  var t, i;
9937
- (t = e.context) != null && t.handlers && (e.context.handlers.toggleChecked = al.bind(null, e)), (i = e.context) != null && i.fns && (e.context.fns.isChecked = ol.bind(null, e)), A(e.props, "onValue") || (e.props.onValue = !0), A(e.props, "offValue") || (e.props.offValue = !1);
9938
- }), e.hook.prop(Ji(e));
10635
+ (t = e.context) != null && t.handlers && (e.context.handlers.toggleChecked = al.bind(null, e)), (i = e.context) != null && i.fns && (e.context.fns.isChecked = ol.bind(null, e)), P(e.props, "onValue") || (e.props.onValue = !0), P(e.props, "offValue") || (e.props.offValue = !1);
10636
+ }), e.hook.prop(Xi(e));
9939
10637
  }
9940
10638
  function Ce(e, t) {
9941
10639
  return (i) => {
9942
10640
  i.props[`${e}Icon`] === void 0 && (i.props[`${e}Icon`] = t.startsWith("<svg") ? t : `default:${t}`);
9943
10641
  };
9944
10642
  }
9945
- function Ft(e) {
10643
+ function Rt(e) {
9946
10644
  e.on("created", () => {
9947
- "disabled" in e.props && (e.props.disabled = Y(e.props.disabled), e.config.disabled = Y(e.props.disabled));
9948
- }), e.hook.prop(({ prop: t, value: i }, n) => (i = t === "disabled" ? Y(i) : i, n({ prop: t, value: i }))), e.on("prop:disabled", ({ payload: t }) => {
9949
- e.config.disabled = Y(t);
10645
+ "disabled" in e.props && (e.props.disabled = Q(e.props.disabled), e.config.disabled = Q(e.props.disabled));
10646
+ }), e.hook.prop(({ prop: t, value: i }, n) => (i = t === "disabled" ? Q(i) : i, n({ prop: t, value: i }))), e.on("prop:disabled", ({ payload: t }) => {
10647
+ e.config.disabled = Q(t);
9950
10648
  });
9951
10649
  }
9952
10650
  function Ke(e, t) {
@@ -10022,7 +10720,7 @@ async function cl(e, t) {
10022
10720
  typeof e.props.onSubmitInvalid == "function" && e.props.onSubmitInvalid(e), e.props.incompleteMessage !== !1 && en(e);
10023
10721
  else if (typeof e.props.onSubmit == "function") {
10024
10722
  const r = e.props.onSubmit(
10025
- e.hook.submit.dispatch(Se(e.value)),
10723
+ e.hook.submit.dispatch(ke(e.value)),
10026
10724
  e
10027
10725
  );
10028
10726
  if (r instanceof Promise) {
@@ -10055,7 +10753,7 @@ function ul(e) {
10055
10753
  e.props.submitAttrs = { ...e.props.submitAttrs, disabled: i };
10056
10754
  }), e.on("created", () => {
10057
10755
  var i;
10058
- (i = e.context) != null && i.handlers && (e.context.handlers.submit = cl.bind(null, e)), A(e.props, "actions") || (e.props.actions = !0);
10756
+ (i = e.context) != null && i.handlers && (e.context.handlers.submit = cl.bind(null, e)), P(e.props, "actions") || (e.props.actions = !0);
10059
10757
  }), e.on("prop:incompleteMessage", () => {
10060
10758
  e.store.incomplete && en(e);
10061
10759
  }), e.on("settled:blocking", () => e.store.remove("incomplete"));
@@ -10084,23 +10782,23 @@ function ml(e, t) {
10084
10782
  }
10085
10783
  function hl(e, t) {
10086
10784
  var i, n;
10087
- return (i = e.context) == null || i.value, (n = e.context) == null || n._value, Ae(he(e.props.options, t), e._value);
10785
+ return (i = e.context) == null || i.value, (n = e.context) == null || n._value, Pe(he(e.props.options, t), e._value);
10088
10786
  }
10089
- function fl(e) {
10787
+ function gl(e) {
10090
10788
  e.on("created", () => {
10091
10789
  var t, i;
10092
- Array.isArray(e.props.options) || fe(350, {
10790
+ Array.isArray(e.props.options) || ge(350, {
10093
10791
  node: e,
10094
10792
  inputType: "radio"
10095
10793
  }), (t = e.context) != null && t.handlers && (e.context.handlers.toggleChecked = ml.bind(null, e)), (i = e.context) != null && i.fns && (e.context.fns.isChecked = hl.bind(null, e));
10096
- }), e.hook.prop(Ji(e));
10794
+ }), e.hook.prop(Xi(e));
10097
10795
  }
10098
- function gl(e, t) {
10796
+ function fl(e, t) {
10099
10797
  if (at(t))
10100
10798
  return !1;
10101
10799
  e.context && e.context.value;
10102
10800
  const i = "__original" in t ? t.__original : t.value;
10103
- return Array.isArray(e._value) ? e._value.some((n) => Ae(n, i)) : (e._value === void 0 || e._value === null && !nn(e.props.options, null)) && t.attrs && t.attrs["data-is-placeholder"] ? !0 : Ae(i, e._value);
10801
+ return Array.isArray(e._value) ? e._value.some((n) => Pe(n, i)) : (e._value === void 0 || e._value === null && !nn(e.props.options, null)) && t.attrs && t.attrs["data-is-placeholder"] ? !0 : Pe(i, e._value);
10104
10802
  }
10105
10803
  function nn(e, t) {
10106
10804
  return e.some((i) => at(i) ? nn(i.options, t) : ("__original" in i ? i.__original : i.value) === t);
@@ -10139,7 +10837,7 @@ function rn(e) {
10139
10837
  function vl(e) {
10140
10838
  e.on("created", () => {
10141
10839
  var i, n, r;
10142
- const t = Y((i = e.props.attrs) == null ? void 0 : i.multiple);
10840
+ const t = Q((i = e.props.attrs) == null ? void 0 : i.multiple);
10143
10841
  !t && e.props.placeholder && Array.isArray(e.props.options) && (e.hook.prop(({ prop: a, value: o }, s) => (a === "options" && (o = ti(o, e.props.placeholder)), s({ prop: a, value: o }))), e.props.options = ti(
10144
10842
  e.props.options,
10145
10843
  e.props.placeholder
@@ -10149,22 +10847,22 @@ function vl(e) {
10149
10847
  e.props.attrs = Object.assign({}, e.props.attrs, {
10150
10848
  value: a
10151
10849
  });
10152
- })), (n = e.context) != null && n.handlers && (e.context.handlers.selectInput = yl.bind(null, e), e.context.handlers.onChange = bl.bind(null, e)), (r = e.context) != null && r.fns && (e.context.fns.isSelected = gl.bind(null, e), e.context.fns.showPlaceholder = (a, o) => {
10850
+ })), (n = e.context) != null && n.handlers && (e.context.handlers.selectInput = yl.bind(null, e), e.context.handlers.onChange = bl.bind(null, e)), (r = e.context) != null && r.fns && (e.context.fns.isSelected = fl.bind(null, e), e.context.fns.showPlaceholder = (a, o) => {
10153
10851
  if (!Array.isArray(e.props.options))
10154
10852
  return !1;
10155
10853
  const s = e.props.options.some(
10156
10854
  (l) => {
10157
10855
  if (l.attrs && "data-is-placeholder" in l.attrs)
10158
10856
  return !1;
10159
- const f = "__original" in l ? l.__original : l.value;
10160
- return V(a, f);
10857
+ const g = "__original" in l ? l.__original : l.value;
10858
+ return U(a, g);
10161
10859
  }
10162
10860
  );
10163
10861
  return o && !s ? !0 : void 0;
10164
10862
  });
10165
10863
  }), e.hook.input((t, i) => {
10166
10864
  var n, r, a;
10167
- return !e.props.placeholder && t === void 0 && Array.isArray((n = e.props) == null ? void 0 : n.options) && e.props.options.length && !Y((a = (r = e.props) == null ? void 0 : r.attrs) == null ? void 0 : a.multiple) && (t = rn(e.props.options)), i(t);
10865
+ return !e.props.placeholder && t === void 0 && Array.isArray((n = e.props) == null ? void 0 : n.options) && e.props.options.length && !Q((a = (r = e.props) == null ? void 0 : r.attrs) == null ? void 0 : a.multiple) && (t = rn(e.props.options)), i(t);
10168
10866
  });
10169
10867
  }
10170
10868
  // @__NO_SIDE_EFFECTS__
@@ -10174,9 +10872,9 @@ function wt(e) {
10174
10872
  // @__NO_SIDE_EFFECTS__
10175
10873
  function Tl(e, t = {}) {
10176
10874
  const i = /* @__PURE__ */ ue(
10177
- /* @__PURE__ */ Pe(
10875
+ /* @__PURE__ */ $e(
10178
10876
  /* @__PURE__ */ He("$label"),
10179
- /* @__PURE__ */ Ee(/* @__PURE__ */ E("prefix"), /* @__PURE__ */ te(), e(), /* @__PURE__ */ ie(), /* @__PURE__ */ E("suffix"))
10877
+ /* @__PURE__ */ Be(/* @__PURE__ */ B("prefix"), /* @__PURE__ */ te(), e(), /* @__PURE__ */ ie(), /* @__PURE__ */ B("suffix"))
10180
10878
  ),
10181
10879
  /* @__PURE__ */ ee("$help"),
10182
10880
  /* @__PURE__ */ ce(/* @__PURE__ */ le("$message.value"))
@@ -10187,26 +10885,26 @@ function Tl(e, t = {}) {
10187
10885
  function ae(e, t, i) {
10188
10886
  const n = (r) => {
10189
10887
  const a = t(r);
10190
- if (i || Ye(a) && "if" in a || /* @__PURE__ */ wt(a)) {
10888
+ if (i || Qe(a) && "if" in a || /* @__PURE__ */ wt(a)) {
10191
10889
  const o = {
10192
10890
  if: e,
10193
10891
  then: a
10194
10892
  };
10195
10893
  return i && (o.else = i(r)), o;
10196
- } else /* @__PURE__ */ wt(a) ? Object.assign(a.else, { if: e }) : Ye(a) && Object.assign(a, { if: e });
10894
+ } else /* @__PURE__ */ wt(a) ? Object.assign(a.else, { if: e }) : Qe(a) && Object.assign(a, { if: e });
10197
10895
  return a;
10198
10896
  };
10199
- return n._s = _e(), n;
10897
+ return n._s = Ae(), n;
10200
10898
  }
10201
10899
  // @__NO_SIDE_EFFECTS__
10202
10900
  function Le(e, t) {
10203
10901
  const i = (n) => {
10204
10902
  const r = e({});
10205
- return /* @__PURE__ */ wt(r) ? (Array.isArray(r.else) || (r.else = /* @__PURE__ */ xe(
10206
- /* @__PURE__ */ xe(r.else, t),
10903
+ return /* @__PURE__ */ wt(r) ? (Array.isArray(r.else) || (r.else = /* @__PURE__ */ _e(
10904
+ /* @__PURE__ */ _e(r.else, t),
10207
10905
  e._s ? n[e._s] : {}
10208
- )), r) : /* @__PURE__ */ xe(
10209
- /* @__PURE__ */ xe(r, t),
10906
+ )), r) : /* @__PURE__ */ _e(
10907
+ /* @__PURE__ */ _e(r, t),
10210
10908
  e._s ? n[e._s] : {}
10211
10909
  );
10212
10910
  };
@@ -10218,13 +10916,13 @@ var ii = {
10218
10916
  */
10219
10917
  schema: /* @__PURE__ */ ue(
10220
10918
  /* @__PURE__ */ ce(/* @__PURE__ */ le("$message.value")),
10221
- /* @__PURE__ */ Pe(
10919
+ /* @__PURE__ */ $e(
10222
10920
  /* @__PURE__ */ qs(
10223
- /* @__PURE__ */ E("prefix"),
10921
+ /* @__PURE__ */ B("prefix"),
10224
10922
  /* @__PURE__ */ te(),
10225
10923
  /* @__PURE__ */ Ks("$label || $ui.submit.value"),
10226
10924
  /* @__PURE__ */ ie(),
10227
- /* @__PURE__ */ E("suffix")
10925
+ /* @__PURE__ */ B("suffix")
10228
10926
  )
10229
10927
  ),
10230
10928
  /* @__PURE__ */ ee("$help")
@@ -10262,7 +10960,7 @@ var ii = {
10262
10960
  * Single checkbox structure.
10263
10961
  */
10264
10962
  /* @__PURE__ */ et(
10265
- /* @__PURE__ */ Je(/* @__PURE__ */ te(), /* @__PURE__ */ Xe(), /* @__PURE__ */ tt(/* @__PURE__ */ E("decorator")), /* @__PURE__ */ ie()),
10963
+ /* @__PURE__ */ Xe(/* @__PURE__ */ te(), /* @__PURE__ */ Je(), /* @__PURE__ */ tt(/* @__PURE__ */ B("decorator")), /* @__PURE__ */ ie()),
10266
10964
  /* @__PURE__ */ Le(/* @__PURE__ */ Ze("$label"), {
10267
10965
  if: "$label"
10268
10966
  })
@@ -10271,14 +10969,14 @@ var ii = {
10271
10969
  * Multi checkbox structure.
10272
10970
  */
10273
10971
  /* @__PURE__ */ zi(
10274
- /* @__PURE__ */ Qi("$label"),
10972
+ /* @__PURE__ */ Yi("$label"),
10275
10973
  /* @__PURE__ */ ee("$help"),
10276
10974
  /* @__PURE__ */ Gi(
10277
10975
  /* @__PURE__ */ Ki(
10278
10976
  /* @__PURE__ */ et(
10279
- /* @__PURE__ */ Je(
10977
+ /* @__PURE__ */ Xe(
10280
10978
  /* @__PURE__ */ te(),
10281
- /* @__PURE__ */ Le(/* @__PURE__ */ Xe(), {
10979
+ /* @__PURE__ */ Le(/* @__PURE__ */ Je(), {
10282
10980
  bind: "$option.attrs",
10283
10981
  attrs: {
10284
10982
  id: "$option.attrs.id",
@@ -10286,7 +10984,7 @@ var ii = {
10286
10984
  checked: "$fns.isChecked($option.value)"
10287
10985
  }
10288
10986
  }),
10289
- /* @__PURE__ */ tt(/* @__PURE__ */ E("decorator")),
10987
+ /* @__PURE__ */ tt(/* @__PURE__ */ B("decorator")),
10290
10988
  /* @__PURE__ */ ie()
10291
10989
  ),
10292
10990
  /* @__PURE__ */ Le(/* @__PURE__ */ Ze("$option.label"), {
@@ -10332,29 +11030,29 @@ var ii = {
10332
11030
  * The actual schema of the input, or a function that returns the schema.
10333
11031
  */
10334
11032
  schema: /* @__PURE__ */ ue(
10335
- /* @__PURE__ */ Pe(
11033
+ /* @__PURE__ */ $e(
10336
11034
  /* @__PURE__ */ He("$label"),
10337
- /* @__PURE__ */ Ee(
10338
- /* @__PURE__ */ E("prefix", "label"),
11035
+ /* @__PURE__ */ Be(
11036
+ /* @__PURE__ */ B("prefix", "label"),
10339
11037
  /* @__PURE__ */ te(),
10340
11038
  /* @__PURE__ */ Gs(),
10341
- /* @__PURE__ */ Qs(
11039
+ /* @__PURE__ */ Ys(
10342
11040
  /* @__PURE__ */ zs(
10343
- /* @__PURE__ */ E("fileItem"),
10344
- /* @__PURE__ */ Ys("$file.name"),
11041
+ /* @__PURE__ */ B("fileItem"),
11042
+ /* @__PURE__ */ Qs("$file.name"),
10345
11043
  /* @__PURE__ */ ae(
10346
11044
  "$value.length === 1",
10347
- /* @__PURE__ */ Yt(
10348
- /* @__PURE__ */ E("fileRemove"),
11045
+ /* @__PURE__ */ Qt(
11046
+ /* @__PURE__ */ B("fileRemove"),
10349
11047
  '$ui.remove.value + " " + $file.name'
10350
11048
  )
10351
11049
  )
10352
11050
  )
10353
11051
  ),
10354
- /* @__PURE__ */ ae("$value.length > 1", /* @__PURE__ */ Yt("$ui.removeAll.value")),
10355
- /* @__PURE__ */ Js(/* @__PURE__ */ E("noFiles"), "$ui.noFiles.value"),
11052
+ /* @__PURE__ */ ae("$value.length > 1", /* @__PURE__ */ Qt("$ui.removeAll.value")),
11053
+ /* @__PURE__ */ Xs(/* @__PURE__ */ B("noFiles"), "$ui.noFiles.value"),
10356
11054
  /* @__PURE__ */ ie(),
10357
- /* @__PURE__ */ E("suffix")
11055
+ /* @__PURE__ */ B("suffix")
10358
11056
  )
10359
11057
  ),
10360
11058
  /* @__PURE__ */ ee("$help"),
@@ -10386,14 +11084,14 @@ var ii = {
10386
11084
  * The key used to memoize the schema.
10387
11085
  */
10388
11086
  schemaMemoKey: "9kqc4852fv8"
10389
- }, kl = {
11087
+ }, Sl = {
10390
11088
  /**
10391
11089
  * The actual schema of the input, or a function that returns the schema.
10392
11090
  */
10393
- schema: /* @__PURE__ */ Xs(
11091
+ schema: /* @__PURE__ */ Js(
10394
11092
  "$slots.default",
10395
11093
  /* @__PURE__ */ ce(/* @__PURE__ */ le("$message.value")),
10396
- /* @__PURE__ */ Ws(/* @__PURE__ */ tl())
11094
+ /* @__PURE__ */ js(/* @__PURE__ */ tl())
10397
11095
  ),
10398
11096
  /**
10399
11097
  * The type of node, can be a list, group, or input.
@@ -10413,7 +11111,7 @@ var ii = {
10413
11111
  /**
10414
11112
  * Additional features that should be added to your input
10415
11113
  */
10416
- features: [ul, Ft],
11114
+ features: [ul, Rt],
10417
11115
  /**
10418
11116
  * The key used to memoize the schema.
10419
11117
  */
@@ -10422,7 +11120,7 @@ var ii = {
10422
11120
  /**
10423
11121
  * The actual schema of the input, or a function that returns the schema.
10424
11122
  */
10425
- schema: /* @__PURE__ */ Rt("$slots.default"),
11123
+ schema: /* @__PURE__ */ Ot("$slots.default"),
10426
11124
  /**
10427
11125
  * The type of node, can be a list, group, or input.
10428
11126
  */
@@ -10434,12 +11132,12 @@ var ii = {
10434
11132
  /**
10435
11133
  * Additional features that should be added to your input
10436
11134
  */
10437
- features: [Ft, Xi]
10438
- }, Sl = {
11135
+ features: [Rt, Ji]
11136
+ }, kl = {
10439
11137
  /**
10440
11138
  * The actual schema of the input, or a function that returns the schema.
10441
11139
  */
10442
- schema: /* @__PURE__ */ Yi(),
11140
+ schema: /* @__PURE__ */ Qi(),
10443
11141
  /**
10444
11142
  * The type of node, can be a list, group, or input.
10445
11143
  */
@@ -10452,11 +11150,11 @@ var ii = {
10452
11150
  * Additional features that should be added to your input
10453
11151
  */
10454
11152
  features: [tn]
10455
- }, $l = {
11153
+ }, Dl = {
10456
11154
  /**
10457
11155
  * The actual schema of the input, or a function that returns the schema.
10458
11156
  */
10459
- schema: /* @__PURE__ */ Rt("$slots.default"),
11157
+ schema: /* @__PURE__ */ Ot("$slots.default"),
10460
11158
  /**
10461
11159
  * The type of node, can be a list, group, or input.
10462
11160
  */
@@ -10468,12 +11166,12 @@ var ii = {
10468
11166
  /**
10469
11167
  * Additional features that should be added to your input
10470
11168
  */
10471
- features: [Ft, Xi]
10472
- }, Al = {
11169
+ features: [Rt, Ji]
11170
+ }, Pl = {
10473
11171
  /**
10474
11172
  * The actual schema of the input, or a function that returns the schema.
10475
11173
  */
10476
- schema: /* @__PURE__ */ Rt(),
11174
+ schema: /* @__PURE__ */ Ot(),
10477
11175
  /**
10478
11176
  * The type of node, can be a list, group, or input.
10479
11177
  */
@@ -10486,7 +11184,7 @@ var ii = {
10486
11184
  * Additional features that should be added to your input
10487
11185
  */
10488
11186
  features: []
10489
- }, _l = {
11187
+ }, Al = {
10490
11188
  /**
10491
11189
  * The actual schema of the input, or a function that returns the schema.
10492
11190
  */
@@ -10497,7 +11195,7 @@ var ii = {
10497
11195
  * Single radio structure.
10498
11196
  */
10499
11197
  /* @__PURE__ */ et(
10500
- /* @__PURE__ */ Je(/* @__PURE__ */ te(), /* @__PURE__ */ Xe(), /* @__PURE__ */ tt(/* @__PURE__ */ E("decorator")), /* @__PURE__ */ ie()),
11198
+ /* @__PURE__ */ Xe(/* @__PURE__ */ te(), /* @__PURE__ */ Je(), /* @__PURE__ */ tt(/* @__PURE__ */ B("decorator")), /* @__PURE__ */ ie()),
10501
11199
  /* @__PURE__ */ Le(/* @__PURE__ */ Ze("$label"), {
10502
11200
  if: "$label"
10503
11201
  })
@@ -10506,14 +11204,14 @@ var ii = {
10506
11204
  * Multi radio structure.
10507
11205
  */
10508
11206
  /* @__PURE__ */ zi(
10509
- /* @__PURE__ */ Qi("$label"),
11207
+ /* @__PURE__ */ Yi("$label"),
10510
11208
  /* @__PURE__ */ ee("$help"),
10511
11209
  /* @__PURE__ */ Gi(
10512
11210
  /* @__PURE__ */ Ki(
10513
11211
  /* @__PURE__ */ et(
10514
- /* @__PURE__ */ Je(
11212
+ /* @__PURE__ */ Xe(
10515
11213
  /* @__PURE__ */ te(),
10516
- /* @__PURE__ */ Le(/* @__PURE__ */ Xe(), {
11214
+ /* @__PURE__ */ Le(/* @__PURE__ */ Je(), {
10517
11215
  bind: "$option.attrs",
10518
11216
  attrs: {
10519
11217
  id: "$option.attrs.id",
@@ -10521,7 +11219,7 @@ var ii = {
10521
11219
  checked: "$fns.isChecked($option.value)"
10522
11220
  }
10523
11221
  }),
10524
- /* @__PURE__ */ tt(/* @__PURE__ */ E("decorator")),
11222
+ /* @__PURE__ */ tt(/* @__PURE__ */ B("decorator")),
10525
11223
  /* @__PURE__ */ ie()
10526
11224
  ),
10527
11225
  /* @__PURE__ */ Le(/* @__PURE__ */ Ze("$option.label"), {
@@ -10553,37 +11251,37 @@ var ii = {
10553
11251
  /**
10554
11252
  * Additional features that should be added to your input
10555
11253
  */
10556
- features: [It, fl, Ce("decorator", "radioDecorator")],
11254
+ features: [It, gl, Ce("decorator", "radioDecorator")],
10557
11255
  /**
10558
11256
  * The key used to memoize the schema.
10559
11257
  */
10560
11258
  schemaMemoKey: "qje02tb3gu8"
10561
- }, Pl = {
11259
+ }, $l = {
10562
11260
  /**
10563
11261
  * The actual schema of the input, or a function that returns the schema.
10564
11262
  */
10565
11263
  schema: /* @__PURE__ */ ue(
10566
- /* @__PURE__ */ Pe(
11264
+ /* @__PURE__ */ $e(
10567
11265
  /* @__PURE__ */ He("$label"),
10568
- /* @__PURE__ */ Ee(
10569
- /* @__PURE__ */ E("prefix"),
11266
+ /* @__PURE__ */ Be(
11267
+ /* @__PURE__ */ B("prefix"),
10570
11268
  /* @__PURE__ */ te(),
10571
11269
  /* @__PURE__ */ el(
10572
11270
  /* @__PURE__ */ ae(
10573
11271
  "$slots.default",
10574
11272
  () => "$slots.default",
10575
- /* @__PURE__ */ Jt(
11273
+ /* @__PURE__ */ Xt(
10576
11274
  /* @__PURE__ */ ae(
10577
11275
  "$option.group",
10578
- /* @__PURE__ */ Zs(/* @__PURE__ */ Jt(/* @__PURE__ */ Xt("$option.label"))),
10579
- /* @__PURE__ */ Xt("$option.label")
11276
+ /* @__PURE__ */ Zs(/* @__PURE__ */ Xt(/* @__PURE__ */ Jt("$option.label"))),
11277
+ /* @__PURE__ */ Jt("$option.label")
10580
11278
  )
10581
11279
  )
10582
11280
  )
10583
11281
  ),
10584
- /* @__PURE__ */ ae("$attrs.multiple !== undefined", () => "", /* @__PURE__ */ E("select")),
11282
+ /* @__PURE__ */ ae("$attrs.multiple !== undefined", () => "", /* @__PURE__ */ B("select")),
10585
11283
  /* @__PURE__ */ ie(),
10586
- /* @__PURE__ */ E("suffix")
11284
+ /* @__PURE__ */ B("suffix")
10587
11285
  )
10588
11286
  ),
10589
11287
  /* @__PURE__ */ ee("$help"),
@@ -10610,14 +11308,14 @@ var ii = {
10610
11308
  * The actual schema of the input, or a function that returns the schema.
10611
11309
  */
10612
11310
  schema: /* @__PURE__ */ ue(
10613
- /* @__PURE__ */ Pe(
11311
+ /* @__PURE__ */ $e(
10614
11312
  /* @__PURE__ */ He("$label"),
10615
- /* @__PURE__ */ Ee(
10616
- /* @__PURE__ */ E("prefix", "label"),
11313
+ /* @__PURE__ */ Be(
11314
+ /* @__PURE__ */ B("prefix", "label"),
10617
11315
  /* @__PURE__ */ te(),
10618
11316
  /* @__PURE__ */ il(),
10619
11317
  /* @__PURE__ */ ie(),
10620
- /* @__PURE__ */ E("suffix")
11318
+ /* @__PURE__ */ B("suffix")
10621
11319
  )
10622
11320
  ),
10623
11321
  /* @__PURE__ */ ee("$help"),
@@ -10639,19 +11337,19 @@ var ii = {
10639
11337
  * The key used to memoize the schema.
10640
11338
  */
10641
11339
  schemaMemoKey: "b1n0td79m9g"
10642
- }, U = {
11340
+ }, V = {
10643
11341
  /**
10644
11342
  * The actual schema of the input, or a function that returns the schema.
10645
11343
  */
10646
11344
  schema: /* @__PURE__ */ ue(
10647
- /* @__PURE__ */ Pe(
11345
+ /* @__PURE__ */ $e(
10648
11346
  /* @__PURE__ */ He("$label"),
10649
- /* @__PURE__ */ Ee(
10650
- /* @__PURE__ */ E("prefix", "label"),
11347
+ /* @__PURE__ */ Be(
11348
+ /* @__PURE__ */ B("prefix", "label"),
10651
11349
  /* @__PURE__ */ te(),
10652
- /* @__PURE__ */ Yi(),
11350
+ /* @__PURE__ */ Qi(),
10653
11351
  /* @__PURE__ */ ie(),
10654
- /* @__PURE__ */ E("suffix")
11352
+ /* @__PURE__ */ B("suffix")
10655
11353
  )
10656
11354
  ),
10657
11355
  /* @__PURE__ */ ee("$help"),
@@ -10678,68 +11376,68 @@ var ii = {
10678
11376
  * The key used to memoize the schema.
10679
11377
  */
10680
11378
  schemaMemoKey: "c3cc4kflsg"
10681
- }, xl = {
11379
+ }, _l = {
10682
11380
  button: ii,
10683
11381
  submit: ii,
10684
11382
  checkbox: Cl,
10685
11383
  file: Ll,
10686
- form: kl,
11384
+ form: Sl,
10687
11385
  group: wl,
10688
- hidden: Sl,
10689
- list: $l,
10690
- meta: Al,
10691
- radio: _l,
10692
- select: Pl,
11386
+ hidden: kl,
11387
+ list: Dl,
11388
+ meta: Pl,
11389
+ radio: Al,
11390
+ select: $l,
10693
11391
  textarea: Ml,
10694
- text: U,
10695
- color: U,
10696
- date: U,
10697
- datetimeLocal: U,
10698
- email: U,
10699
- month: U,
10700
- number: U,
10701
- password: U,
10702
- search: U,
10703
- tel: U,
10704
- time: U,
10705
- url: U,
10706
- week: U,
10707
- range: U
10708
- }, X = void 0, Z = null, it, an = !1, De = !1, Dl = /* @__PURE__ */ new Promise((e) => {
11392
+ text: V,
11393
+ color: V,
11394
+ date: V,
11395
+ datetimeLocal: V,
11396
+ email: V,
11397
+ month: V,
11398
+ number: V,
11399
+ password: V,
11400
+ search: V,
11401
+ tel: V,
11402
+ time: V,
11403
+ url: V,
11404
+ week: V,
11405
+ range: V
11406
+ }, J = void 0, Z = null, it, an = !1, xe = !1, xl = /* @__PURE__ */ new Promise((e) => {
10709
11407
  it = () => {
10710
11408
  an = !0, e();
10711
11409
  };
10712
11410
  }), oe = typeof window < "u" && typeof fetch < "u";
10713
- X = oe ? /* @__PURE__ */ getComputedStyle(document.documentElement) : void 0;
11411
+ J = oe ? /* @__PURE__ */ getComputedStyle(document.documentElement) : void 0;
10714
11412
  var ve = {}, lt = {};
10715
11413
  function Il(e, t, i, n) {
10716
- t && Object.assign(ve, t), oe && !De && (X != null && X.getPropertyValue("--formkit-theme")) ? (it(), De = !0) : e && !De && oe ? Rl(e) : !De && oe && it();
11414
+ t && Object.assign(ve, t), oe && !xe && (J != null && J.getPropertyValue("--formkit-theme")) ? (it(), xe = !0) : e && !xe && oe ? Ol(e) : !xe && oe && it();
10717
11415
  const r = function(o) {
10718
11416
  var s, l;
10719
11417
  o.addProps(["iconLoader", "iconLoaderUrl"]), o.props.iconHandler = ni(
10720
11418
  (s = o.props) != null && s.iconLoader ? o.props.iconLoader : n,
10721
11419
  (l = o.props) != null && l.iconLoaderUrl ? o.props.iconLoaderUrl : i
10722
11420
  ), Nl(o, o.props.iconHandler), o.on("created", () => {
10723
- var f, g;
10724
- (f = o == null ? void 0 : o.context) != null && f.handlers && (o.context.handlers.iconClick = (y) => {
10725
- const P = `on${y.charAt(0).toUpperCase()}${y.slice(1)}IconClick`, b = o.props[P];
11421
+ var g, f;
11422
+ (g = o == null ? void 0 : o.context) != null && g.handlers && (o.context.handlers.iconClick = (y) => {
11423
+ const $ = `on${y.charAt(0).toUpperCase()}${y.slice(1)}IconClick`, b = o.props[$];
10726
11424
  if (b && typeof b == "function")
10727
11425
  return (v) => b(o, v);
10728
- }), (g = o == null ? void 0 : o.context) != null && g.fns && (o.context.fns.iconRole = (y) => {
10729
- const P = `on${y.charAt(0).toUpperCase()}${y.slice(1)}IconClick`;
10730
- return typeof o.props[P] == "function" ? "button" : null;
11426
+ }), (f = o == null ? void 0 : o.context) != null && f.fns && (o.context.fns.iconRole = (y) => {
11427
+ const $ = `on${y.charAt(0).toUpperCase()}${y.slice(1)}IconClick`;
11428
+ return typeof o.props[$] == "function" ? "button" : null;
10731
11429
  });
10732
11430
  });
10733
11431
  };
10734
11432
  return r.iconHandler = ni(n, i), r;
10735
11433
  }
10736
- function Rl(e) {
10737
- if (!(!e || !oe || typeof getComputedStyle != "function") && (De = !0, Z = document.getElementById("formkit-theme"), e && // if we have a window object
11434
+ function Ol(e) {
11435
+ if (!(!e || !oe || typeof getComputedStyle != "function") && (xe = !0, Z = document.getElementById("formkit-theme"), e && // if we have a window object
10738
11436
  oe && // we don't have an existing theme OR the theme being set up is different
10739
- (!(X != null && X.getPropertyValue("--formkit-theme")) && !Z || Z != null && Z.getAttribute("data-theme") && (Z == null ? void 0 : Z.getAttribute("data-theme")) !== e))) {
10740
- const i = `https://cdn.jsdelivr.net/npm/@formkit/themes@${Qe.startsWith("__") ? "latest" : Qe}/dist/${e}/theme.css`, n = document.createElement("link");
11437
+ (!(J != null && J.getPropertyValue("--formkit-theme")) && !Z || Z != null && Z.getAttribute("data-theme") && (Z == null ? void 0 : Z.getAttribute("data-theme")) !== e))) {
11438
+ const i = `https://cdn.jsdelivr.net/npm/@formkit/themes@${Ye.startsWith("__") ? "latest" : Ye}/dist/${e}/theme.css`, n = document.createElement("link");
10741
11439
  n.type = "text/css", n.rel = "stylesheet", n.id = "formkit-theme", n.setAttribute("data-theme", e), n.onload = () => {
10742
- X = getComputedStyle(document.documentElement), it();
11440
+ J = getComputedStyle(document.documentElement), it();
10743
11441
  }, document.head.appendChild(n), n.href = i, Z && Z.remove();
10744
11442
  }
10745
11443
  }
@@ -10756,28 +11454,28 @@ function ni(e, t) {
10756
11454
  if (r)
10757
11455
  return ve[i];
10758
11456
  if (!lt[i]) {
10759
- if (a = Fl(i), a = oe && typeof a > "u" ? Promise.resolve(a) : a, a instanceof Promise)
10760
- lt[i] = a.then((o) => !o && typeof i == "string" && !n ? a = typeof e == "function" ? e(i) : Ol(i, t) : o).then((o) => (typeof i == "string" && (ve[n ? `default:${i}` : i] = o), o));
11457
+ if (a = Rl(i), a = oe && typeof a > "u" ? Promise.resolve(a) : a, a instanceof Promise)
11458
+ lt[i] = a.then((o) => !o && typeof i == "string" && !n ? a = typeof e == "function" ? e(i) : Fl(i, t) : o).then((o) => (typeof i == "string" && (ve[n ? `default:${i}` : i] = o), o));
10761
11459
  else if (typeof a == "string")
10762
11460
  return ve[n ? `default:${i}` : i] = a, a;
10763
11461
  }
10764
11462
  return lt[i];
10765
11463
  };
10766
11464
  }
10767
- function Fl(e) {
11465
+ function Rl(e) {
10768
11466
  if (oe)
10769
- return an ? ri(e) : Dl.then(() => ri(e));
11467
+ return an ? ri(e) : xl.then(() => ri(e));
10770
11468
  }
10771
11469
  function ri(e) {
10772
- const t = X == null ? void 0 : X.getPropertyValue(`--fk-icon-${e}`);
11470
+ const t = J == null ? void 0 : J.getPropertyValue(`--fk-icon-${e}`);
10773
11471
  if (t) {
10774
11472
  const i = atob(t);
10775
11473
  if (i.startsWith("<svg"))
10776
11474
  return ve[e] = i, i;
10777
11475
  }
10778
11476
  }
10779
- function Ol(e, t) {
10780
- const i = Qe.startsWith("__") ? "latest" : Qe, n = typeof t == "function" ? t(e) : `https://cdn.jsdelivr.net/npm/@formkit/icons@${i}/dist/icons/${e}.svg`;
11477
+ function Fl(e, t) {
11478
+ const i = Ye.startsWith("__") ? "latest" : Ye, n = typeof t == "function" ? t(e) : `https://cdn.jsdelivr.net/npm/@formkit/icons@${i}/dist/icons/${e}.svg`;
10781
11479
  if (oe)
10782
11480
  return fetch(`${n}`).then(async (r) => {
10783
11481
  const a = await r.text();
@@ -10789,9 +11487,9 @@ function Ol(e, t) {
10789
11487
  }
10790
11488
  function Nl(e, t) {
10791
11489
  const i = /^[a-zA-Z-]+(?:-icon|Icon)$/;
10792
- Object.keys(e.props).filter((r) => i.test(r)).forEach((r) => El(e, t, r));
11490
+ Object.keys(e.props).filter((r) => i.test(r)).forEach((r) => Bl(e, t, r));
10793
11491
  }
10794
- function El(e, t, i) {
11492
+ function Bl(e, t, i) {
10795
11493
  const n = e.props[i], r = t(n), a = `_raw${i.charAt(0).toUpperCase()}${i.slice(1)}`, o = `on${i.charAt(0).toUpperCase()}${i.slice(1)}Click`;
10796
11494
  if (e.addProps([a, o]), e.on(`prop:${i}`, Hl), r instanceof Promise)
10797
11495
  return r.then((s) => {
@@ -10858,53 +11556,53 @@ var ai = {
10858
11556
  * Deprecation warnings:
10859
11557
  */
10860
11558
  800: ({ data: e }) => `${e} is deprecated.`
10861
- }, Bl = (e, t) => {
11559
+ }, El = (e, t) => {
10862
11560
  if (e.code in ai) {
10863
11561
  const i = ai[e.code];
10864
11562
  e.message = typeof i == "function" ? i(e) : i;
10865
11563
  }
10866
11564
  return t(e);
10867
11565
  }, si = !1;
10868
- function Vl() {
10869
- si || (At(Bl), _t(Ul), si = !0);
11566
+ function Ul() {
11567
+ si || (Pt(El), At(Vl), si = !0);
10870
11568
  }
10871
- var Ul = (e, t) => {
11569
+ var Vl = (e, t) => {
10872
11570
  if (e.code in oi) {
10873
11571
  const i = oi[e.code];
10874
11572
  e.message = typeof i == "function" ? i(e) : i;
10875
11573
  }
10876
11574
  return t(e);
10877
- }, jl = Object.defineProperty, Wl = Object.getOwnPropertyNames, on = (e, t) => function() {
10878
- return e && (t = (0, e[Wl(e)[0]])(e = 0)), t;
11575
+ }, Wl = Object.defineProperty, jl = Object.getOwnPropertyNames, on = (e, t) => function() {
11576
+ return e && (t = (0, e[jl(e)[0]])(e = 0)), t;
10879
11577
  }, ql = (e, t) => {
10880
11578
  for (var i in t)
10881
- jl(e, i, { get: t[i], enumerable: !0 });
11579
+ Wl(e, i, { get: t[i], enumerable: !0 });
10882
11580
  }, li, sn, ln = on({
10883
11581
  "packages/vue/src/bindings.ts"() {
10884
11582
  li = function(t) {
10885
11583
  t.ledger.count("blocking", (u) => u.blocking);
10886
- const i = j(!t.ledger.value("blocking"));
11584
+ const i = W(!t.ledger.value("blocking"));
10887
11585
  t.ledger.count("errors", (u) => u.type === "error");
10888
- const n = j(!!t.ledger.value("errors"));
11586
+ const n = W(!!t.ledger.value("errors"));
10889
11587
  let r = !1;
10890
11588
  Ln(() => {
10891
11589
  r = !0;
10892
11590
  });
10893
11591
  const a = Me(
10894
- t.store.reduce((u, k) => (k.visible && (u[k.key] = k), u), {})
10895
- ), o = j(
11592
+ t.store.reduce((u, S) => (S.visible && (u[S.key] = S), u), {})
11593
+ ), o = W(
10896
11594
  t.props.validationVisibility || (t.props.type === "checkbox" ? "dirty" : "blur")
10897
11595
  );
10898
11596
  t.on("prop:validationVisibility", ({ payload: u }) => {
10899
11597
  o.value = u;
10900
11598
  });
10901
- const s = j(o.value === "live"), l = j(!1), f = (u) => {
11599
+ const s = W(o.value === "live"), l = W(!1), g = (u) => {
10902
11600
  l.value = (u ?? []).some(
10903
- (k) => k.name === "required"
11601
+ (S) => S.name === "required"
10904
11602
  );
10905
11603
  };
10906
- f(t.props.parsedRules), t.on("prop:parsedRules", ({ payload: u }) => f(u));
10907
- const g = j(t.children.map((u) => u.uid)), y = me(() => {
11604
+ g(t.props.parsedRules), t.on("prop:parsedRules", ({ payload: u }) => g(u));
11605
+ const f = W(t.children.map((u) => u.uid)), y = me(() => {
10908
11606
  if (!p.state)
10909
11607
  return !1;
10910
11608
  if (p.state.submitted)
@@ -10921,7 +11619,7 @@ var Ul = (e, t) => {
10921
11619
  default:
10922
11620
  return !1;
10923
11621
  }
10924
- }), P = me(() => p.state.failing && y.value), b = me(() => p && v.value ? i.value && !n.value : p.state.dirty && !z(p.value)), v = j(
11622
+ }), $ = me(() => p.state.failing && y.value), b = me(() => p && v.value ? i.value && !n.value : p.state.dirty && !z(p.value)), v = W(
10925
11623
  Array.isArray(t.props.parsedRules) && t.props.parsedRules.length > 0
10926
11624
  );
10927
11625
  t.on("prop:parsedRules", ({ payload: u }) => {
@@ -10929,54 +11627,54 @@ var Ul = (e, t) => {
10929
11627
  });
10930
11628
  const d = me(() => {
10931
11629
  const u = {};
10932
- for (const k in a) {
10933
- const $ = a[k];
10934
- ($.type !== "validation" || y.value) && (u[k] = $);
11630
+ for (const S in a) {
11631
+ const D = a[S];
11632
+ (D.type !== "validation" || y.value) && (u[S] = D);
10935
11633
  }
10936
11634
  return u;
10937
11635
  }), m = Me(
10938
- t.store.reduce((u, k) => (k.type === "ui" && k.visible && (u[k.key] = k), u), {})
11636
+ t.store.reduce((u, S) => (S.type === "ui" && S.visible && (u[S.key] = S), u), {})
10939
11637
  ), h = me(() => !p.state.failing), C = Me({}), w = new Proxy(C, {
10940
11638
  get(...u) {
10941
11639
  if (!t)
10942
11640
  return "";
10943
- const [k, $] = u;
10944
- let O = Reflect.get(...u);
10945
- return !O && typeof $ == "string" && !A(k, $) && !$.startsWith("__v") && rt(t).watch((N) => {
10946
- const de = typeof N.config.rootClasses == "function" ? N.config.rootClasses($, N) : {}, J = N.config.classes ? qe($, N, N.config.classes[$]) : {}, ge = qe(
10947
- $,
11641
+ const [S, D] = u;
11642
+ let F = Reflect.get(...u);
11643
+ return !F && typeof D == "string" && !P(S, D) && !D.startsWith("__v") && rt(t).watch((N) => {
11644
+ const de = typeof N.config.rootClasses == "function" ? N.config.rootClasses(D, N) : {}, X = N.config.classes ? qe(D, N, N.config.classes[D]) : {}, fe = qe(
11645
+ D,
10948
11646
  N,
10949
- N.props[`_${$}Class`]
11647
+ N.props[`_${D}Class`]
10950
11648
  ), pe = qe(
10951
- $,
11649
+ D,
10952
11650
  N,
10953
- N.props[`${$}Class`]
11651
+ N.props[`${D}Class`]
10954
11652
  );
10955
- O = to(
11653
+ F = to(
10956
11654
  N,
10957
- $,
11655
+ D,
10958
11656
  de,
10959
- J,
10960
- ge,
11657
+ X,
11658
+ fe,
10961
11659
  pe
10962
- ), k[$] = O ?? "";
10963
- }), O;
11660
+ ), S[D] = F ?? "";
11661
+ }), F;
10964
11662
  }
10965
11663
  });
10966
11664
  t.on("prop:rootClasses", () => {
10967
11665
  const u = Object.keys(C);
10968
- for (const k of u)
10969
- delete C[k];
11666
+ for (const S of u)
11667
+ delete C[S];
10970
11668
  });
10971
11669
  const T = me(() => {
10972
11670
  if (!t)
10973
11671
  return;
10974
11672
  const u = [];
10975
11673
  p.help && u.push(`help-${t.props.id}`);
10976
- for (const k in d.value)
10977
- u.push(`${t.props.id}-${k}`);
11674
+ for (const S in d.value)
11675
+ u.push(`${t.props.id}-${S}`);
10978
11676
  return u.length ? u.join(" ") : void 0;
10979
- }), L = j(t.value), c = j(t.value), p = Me({
11677
+ }), L = W(t.value), c = W(t.value), p = Me({
10980
11678
  _value: c,
10981
11679
  attrs: t.props.attrs,
10982
11680
  disabled: t.props.disabled,
@@ -10986,7 +11684,7 @@ var Ul = (e, t) => {
10986
11684
  number: (u) => Number(u),
10987
11685
  string: (u) => String(u),
10988
11686
  json: (u) => JSON.stringify(u),
10989
- eq: V
11687
+ eq: U
10990
11688
  },
10991
11689
  handlers: {
10992
11690
  blur: (u) => {
@@ -10995,13 +11693,13 @@ var Ul = (e, t) => {
10995
11693
  ), typeof t.props.attrs.onBlur == "function" && t.props.attrs.onBlur(u));
10996
11694
  },
10997
11695
  touch: () => {
10998
- var $;
11696
+ var D;
10999
11697
  const u = p.dirtyBehavior === "compare";
11000
- if (($ = t.store.dirty) != null && $.value && !u)
11698
+ if ((D = t.store.dirty) != null && D.value && !u)
11001
11699
  return;
11002
- const k = !V(t.props._init, t._value);
11003
- !k && !u || t.store.set(
11004
- /* @__PURE__ */ q({ key: "dirty", visible: !1, value: k })
11700
+ const S = !U(t.props._init, t._value);
11701
+ !S && !u || t.store.set(
11702
+ /* @__PURE__ */ q({ key: "dirty", visible: !1, value: S })
11005
11703
  );
11006
11704
  },
11007
11705
  DOMInput: (u) => {
@@ -11010,7 +11708,7 @@ var Ul = (e, t) => {
11010
11708
  },
11011
11709
  help: t.props.help,
11012
11710
  id: t.props.id,
11013
- items: g,
11711
+ items: f,
11014
11712
  label: t.props.label,
11015
11713
  messages: d,
11016
11714
  didMount: !1,
@@ -11026,7 +11724,7 @@ var Ul = (e, t) => {
11026
11724
  submitted: !1,
11027
11725
  settled: t.isSettled,
11028
11726
  valid: i,
11029
- invalid: P,
11727
+ invalid: $,
11030
11728
  errors: n,
11031
11729
  rules: v,
11032
11730
  validationVisible: y,
@@ -11041,20 +11739,20 @@ var Ul = (e, t) => {
11041
11739
  classes: w
11042
11740
  });
11043
11741
  t.on("created", () => {
11044
- V(p.value, t.value) || (c.value = t.value, L.value = t.value, Ve(L), Ve(c)), (async () => (await t.settled, t && (t.props._init = G(t.value))))();
11742
+ U(p.value, t.value) || (c.value = t.value, L.value = t.value, Ue(L), Ue(c)), (async () => (await t.settled, t && (t.props._init = G(t.value))))();
11045
11743
  }), t.on("mounted", () => {
11046
11744
  p.didMount = !0;
11047
11745
  }), t.on("settled", ({ payload: u }) => {
11048
11746
  p.state.settled = u;
11049
11747
  });
11050
- function _(u) {
11051
- (Array.isArray(u) ? u : Object.keys(u)).forEach(($) => {
11052
- $ = Te($), A(p, $) || (p[$] = t.props[$]), t.on(`prop:${$}`, ({ payload: O }) => {
11053
- p[$] = O;
11748
+ function A(u) {
11749
+ (Array.isArray(u) ? u : Object.keys(u)).forEach((D) => {
11750
+ D = Te(D), P(p, D) || (p[D] = t.props[D]), t.on(`prop:${D}`, ({ payload: F }) => {
11751
+ p[D] = F;
11054
11752
  });
11055
11753
  });
11056
11754
  }
11057
- _((() => {
11755
+ A((() => {
11058
11756
  const u = [
11059
11757
  "__root",
11060
11758
  "help",
@@ -11067,37 +11765,37 @@ var Ul = (e, t) => {
11067
11765
  "preserveErrors",
11068
11766
  "id",
11069
11767
  "dirtyBehavior"
11070
- ], k = /^[a-zA-Z-]+(?:-icon|Icon)$/, $ = Object.keys(t.props).filter((O) => k.test(O));
11071
- return u.concat($);
11768
+ ], S = /^[a-zA-Z-]+(?:-icon|Icon)$/, D = Object.keys(t.props).filter((F) => S.test(F));
11769
+ return u.concat(D);
11072
11770
  })());
11073
- function R(u) {
11074
- u.props && _(u.props);
11771
+ function O(u) {
11772
+ u.props && A(u.props);
11075
11773
  }
11076
- t.props.definition && R(t.props.definition), t.on("added-props", ({ payload: u }) => _(u)), t.on("input", ({ payload: u }) => {
11077
- t.type !== "input" && !mt(u) && !Et(u) ? c.value = ht(u) : (c.value = u, Ve(c));
11774
+ t.props.definition && O(t.props.definition), t.on("added-props", ({ payload: u }) => A(u)), t.on("input", ({ payload: u }) => {
11775
+ t.type !== "input" && !mt(u) && !Bt(u) ? c.value = ht(u) : (c.value = u, Ue(c));
11078
11776
  }), t.on("commitRaw", ({ payload: u }) => {
11079
- t.type !== "input" && !mt(u) && !Et(u) ? L.value = c.value = ht(u) : (L.value = c.value = u, Ve(L)), t.emit("modelUpdated");
11777
+ t.type !== "input" && !mt(u) && !Bt(u) ? L.value = c.value = ht(u) : (L.value = c.value = u, Ue(L)), t.emit("modelUpdated");
11080
11778
  }), t.on("commit", ({ payload: u }) => {
11081
- var k;
11779
+ var S;
11082
11780
  if ((!p.state.dirty || p.dirtyBehavior === "compare") && t.isCreated && r)
11083
- if (!((k = t.store.validating) != null && k.value))
11781
+ if (!((S = t.store.validating) != null && S.value))
11084
11782
  p.handlers.touch();
11085
11783
  else {
11086
- const $ = t.on("message-removed", ({ payload: O }) => {
11087
- O.key === "validating" && (p.handlers.touch(), t.off($));
11784
+ const D = t.on("message-removed", ({ payload: F }) => {
11785
+ F.key === "validating" && (p.handlers.touch(), t.off(D));
11088
11786
  });
11089
11787
  }
11090
- b && t.type === "input" && n.value && !Y(t.props.preserveErrors) && t.store.filter(
11091
- ($) => {
11092
- var O;
11093
- return !($.type === "error" && ((O = $.meta) == null ? void 0 : O.autoClear) === !0);
11788
+ b && t.type === "input" && n.value && !Q(t.props.preserveErrors) && t.store.filter(
11789
+ (D) => {
11790
+ var F;
11791
+ return !(D.type === "error" && ((F = D.meta) == null ? void 0 : F.autoClear) === !0);
11094
11792
  }
11095
- ), t.type === "list" && t.sync && (g.value = t.children.map(($) => $.uid)), p.state.empty = z(u);
11793
+ ), t.type === "list" && t.sync && (f.value = t.children.map((D) => D.uid)), p.state.empty = z(u);
11096
11794
  });
11097
- const x = async (u) => {
11795
+ const _ = async (u) => {
11098
11796
  u.type === "ui" && u.visible && !u.meta.showAsMessage ? m[u.key] = u : u.visible ? a[u.key] = u : u.type === "state" && (p.state[u.key] = !!u.value);
11099
11797
  };
11100
- t.on("message-added", (u) => x(u.payload)), t.on("message-updated", (u) => x(u.payload)), t.on("message-removed", ({ payload: u }) => {
11798
+ t.on("message-added", (u) => _(u.payload)), t.on("message-updated", (u) => _(u.payload)), t.on("message-removed", ({ payload: u }) => {
11101
11799
  delete m[u.key], delete a[u.key], delete p.state[u.key];
11102
11800
  }), t.on("settled:blocking", () => {
11103
11801
  i.value = !0;
@@ -11116,12 +11814,12 @@ var Ul = (e, t) => {
11116
11814
  }
11117
11815
  }), Kl = {};
11118
11816
  ql(Kl, {
11119
- defaultConfig: () => Ot
11817
+ defaultConfig: () => Ft
11120
11818
  });
11121
- var Ot, Gl = on({
11819
+ var Ft, Gl = on({
11122
11820
  "packages/vue/src/defaultConfig.ts"() {
11123
- ln(), Ot = (e = {}) => {
11124
- Vl();
11821
+ ln(), Ft = (e = {}) => {
11822
+ Ul();
11125
11823
  const {
11126
11824
  rules: t = {},
11127
11825
  locales: i = {},
@@ -11131,32 +11829,32 @@ var Ot, Gl = on({
11131
11829
  theme: o = void 0,
11132
11830
  iconLoaderUrl: s = void 0,
11133
11831
  iconLoader: l = void 0,
11134
- icons: f = {},
11135
- ...g
11136
- } = e, y = ks({
11832
+ icons: g = {},
11833
+ ...f
11834
+ } = e, y = Ss({
11137
11835
  ...Ls,
11138
11836
  ...t || {}
11139
- }), P = Bs(
11837
+ }), $ = Es(
11140
11838
  se({ en: Hs, ...i || {} }, r)
11141
- ), b = Vs(xl, n), v = Il(o, f, s, l);
11839
+ ), b = Us(_l, n), v = Il(o, g, s, l);
11142
11840
  return se(
11143
11841
  {
11144
- plugins: [b, v, sn, P, y],
11842
+ plugins: [b, v, sn, $, y],
11145
11843
  ...a ? { config: { locale: a } } : {}
11146
11844
  },
11147
- g || {},
11845
+ f || {},
11148
11846
  !0
11149
11847
  );
11150
11848
  };
11151
11849
  }
11152
11850
  }), zl = typeof window > "u", ct = /* @__PURE__ */ new Map();
11153
- function Ql(e, t) {
11851
+ function Yl(e, t) {
11154
11852
  var i;
11155
11853
  !zl || !e || (ct.has(e) || ct.set(e, /* @__PURE__ */ new Set()), (i = ct.get(e)) == null || i.add(t));
11156
11854
  }
11157
- var cn = typeof window > "u", Fe = {}, ke = {}, B, re = /* @__PURE__ */ new WeakMap(), Yl = "__raw__", Xl = /[a-zA-Z0-9\-][cC]lass$/;
11158
- function Jl(e, t) {
11159
- const i = j(null);
11855
+ var cn = typeof window > "u", Re = {}, Se = {}, E, re = /* @__PURE__ */ new WeakMap(), Ql = "__raw__", Jl = /[a-zA-Z0-9\-][cC]lass$/;
11856
+ function Xl(e, t) {
11857
+ const i = W(null);
11160
11858
  if (e === "get") {
11161
11859
  const r = {};
11162
11860
  return i.value = Zl.bind(null, r), i;
@@ -11196,10 +11894,10 @@ function Nt(e, t) {
11196
11894
  }
11197
11895
  function Zl(e, t) {
11198
11896
  if (typeof t != "string")
11199
- return fe(650);
11200
- if (t in e || (e[t] = j(void 0)), e[t].value === void 0) {
11897
+ return ge(650);
11898
+ if (t in e || (e[t] = W(void 0)), e[t].value === void 0) {
11201
11899
  e[t].value = null;
11202
- const i = Oe(t);
11900
+ const i = Fe(t);
11203
11901
  i && (e[t].value = i.context), oa(t, ({ payload: n }) => {
11204
11902
  e[t].value = Ne(n) ? n.context : n;
11205
11903
  });
@@ -11208,17 +11906,17 @@ function Zl(e, t) {
11208
11906
  }
11209
11907
  function ci(e, t, i) {
11210
11908
  function n(b, v) {
11211
- const d = y(Q(v.if), { if: !0 }), m = f(b, v.then), h = v.else ? f(b, v.else) : null;
11909
+ const d = y(Y(v.if), { if: !0 }), m = g(b, v.then), h = v.else ? g(b, v.else) : null;
11212
11910
  return [d, m, h];
11213
11911
  }
11214
11912
  function r(b, v) {
11215
11913
  var C, w;
11216
- const d = y(Q(b.if));
11914
+ const d = y(Y(b.if));
11217
11915
  let m = () => v, h = () => v;
11218
- return typeof b.then == "object" ? h = a(b.then, void 0) : typeof b.then == "string" && ((C = b.then) != null && C.startsWith("$")) ? h = y(Q(b.then)) : h = () => b.then, A(b, "else") && (typeof b.else == "object" ? m = a(b.else) : typeof b.else == "string" && ((w = b.else) != null && w.startsWith("$")) ? m = y(Q(b.else)) : m = () => b.else), () => d() ? h() : m();
11916
+ return typeof b.then == "object" ? h = a(b.then, void 0) : typeof b.then == "string" && ((C = b.then) != null && C.startsWith("$")) ? h = y(Y(b.then)) : h = () => b.then, P(b, "else") && (typeof b.else == "object" ? m = a(b.else) : typeof b.else == "string" && ((w = b.else) != null && w.startsWith("$")) ? m = y(Y(b.else)) : m = () => b.else), () => d() ? h() : m();
11219
11917
  }
11220
11918
  function a(b, v, d = {}) {
11221
- const m = new Set(Object.keys(b || {})), h = v ? y(Q(v)) : () => ({}), C = [
11919
+ const m = new Set(Object.keys(b || {})), h = v ? y(Y(v)) : () => ({}), C = [
11222
11920
  (w) => {
11223
11921
  const T = h();
11224
11922
  for (const L in T)
@@ -11235,7 +11933,7 @@ function ci(e, t, i) {
11235
11933
  const T = b[w];
11236
11934
  let L;
11237
11935
  const c = typeof T == "string";
11238
- w.startsWith(Yl) ? (w = w.substring(7), L = () => T) : c && T.startsWith("$") && T.length > 1 && !(T.startsWith("$reset") && Xl.test(w)) ? L = y(Q(T)) : typeof T == "object" && ye(T) ? L = r(T, void 0) : typeof T == "object" && we(T) ? L = a(T) : L = () => T, C.push((p) => {
11936
+ w.startsWith(Ql) ? (w = w.substring(7), L = () => T) : c && T.startsWith("$") && T.length > 1 && !(T.startsWith("$reset") && Jl.test(w)) ? L = y(Y(T)) : typeof T == "object" && ye(T) ? L = r(T, void 0) : typeof T == "object" && we(T) ? L = a(T) : L = () => T, C.push((p) => {
11239
11937
  p[w] = L();
11240
11938
  });
11241
11939
  }
@@ -11248,31 +11946,31 @@ function ci(e, t, i) {
11248
11946
  function o(b, v) {
11249
11947
  let d = null, m = () => null, h = !1, C = null, w = null, T = null, L = !1;
11250
11948
  const c = eo(v);
11251
- if (vt(c) ? (d = c.$el, m = c.$el !== "text" ? a(c.attrs, c.bind) : () => null) : Tt(c) ? (typeof c.$cmp == "string" ? A(b, c.$cmp) ? d = b[c.$cmp] : (d = c.$cmp, L = !0) : d = c.$cmp, m = a(c.props, c.bind)) : ye(c) && ([h, C, w] = n(b, c)), !ye(c) && "if" in c ? h = y(Q(c.if)) : !ye(c) && d === null && (h = () => !0), "children" in c && c.children)
11949
+ if (vt(c) ? (d = c.$el, m = c.$el !== "text" ? a(c.attrs, c.bind) : () => null) : Tt(c) ? (typeof c.$cmp == "string" ? P(b, c.$cmp) ? d = b[c.$cmp] : (d = c.$cmp, L = !0) : d = c.$cmp, m = a(c.props, c.bind)) : ye(c) && ([h, C, w] = n(b, c)), !ye(c) && "if" in c ? h = y(Y(c.if)) : !ye(c) && d === null && (h = () => !0), "children" in c && c.children)
11252
11950
  if (typeof c.children == "string")
11253
11951
  if (c.children.startsWith("$slots."))
11254
- d = d === "text" ? "slot" : d, C = y(Q(c.children));
11952
+ d = d === "text" ? "slot" : d, C = y(Y(c.children));
11255
11953
  else if (c.children.startsWith("$") && c.children.length > 1) {
11256
- const p = y(Q(c.children));
11954
+ const p = y(Y(c.children));
11257
11955
  C = () => String(p());
11258
11956
  } else
11259
11957
  C = () => String(c.children);
11260
11958
  else if (Array.isArray(c.children))
11261
- C = f(b, c.children);
11959
+ C = g(b, c.children);
11262
11960
  else {
11263
- const [p, _, I] = n(b, c.children);
11264
- C = (R) => p && p() ? _ && _(R) : I && I(R);
11961
+ const [p, A, I] = n(b, c.children);
11962
+ C = (O) => p && p() ? A && A(O) : I && I(O);
11265
11963
  }
11266
11964
  if (Tt(c))
11267
11965
  if (C) {
11268
11966
  const p = C;
11269
- C = (_) => ({
11270
- default(I, R) {
11271
- var k, $, O, F;
11272
- const x = B;
11273
- R && (B = R), I && ((k = re.get(B)) == null || k.unshift(I)), _ && (($ = re.get(B)) == null || $.unshift(_));
11274
- const u = p(_);
11275
- return I && ((O = re.get(B)) == null || O.shift()), _ && ((F = re.get(B)) == null || F.shift()), B = x, u;
11967
+ C = (A) => ({
11968
+ default(I, O) {
11969
+ var S, D, F, R;
11970
+ const _ = E;
11971
+ O && (E = O), I && ((S = re.get(E)) == null || S.unshift(I)), A && ((D = re.get(E)) == null || D.unshift(A));
11972
+ const u = p(A);
11973
+ return I && ((F = re.get(E)) == null || F.shift()), A && ((R = re.get(E)) == null || R.shift()), E = _, u;
11276
11974
  }
11277
11975
  }), C.slot = !0;
11278
11976
  } else
@@ -11280,7 +11978,7 @@ function ci(e, t, i) {
11280
11978
  if ("for" in c && c.for) {
11281
11979
  const p = c.for.length === 3 ? c.for[2] : c.for[1];
11282
11980
  T = [
11283
- typeof p == "string" && p.startsWith("$") ? y(Q(p)) : () => p,
11981
+ typeof p == "string" && p.startsWith("$") ? y(Y(p)) : () => p,
11284
11982
  c.for[0],
11285
11983
  c.for.length === 3 ? String(c.for[1]) : null
11286
11984
  ];
@@ -11288,7 +11986,7 @@ function ci(e, t, i) {
11288
11986
  return [h, d, m, C, w, T, L];
11289
11987
  }
11290
11988
  function s(b, v) {
11291
- const d = b(v), m = B;
11989
+ const d = b(v), m = E;
11292
11990
  return Object.keys(d).reduce((h, C) => {
11293
11991
  const w = d && d[C];
11294
11992
  return h[C] = (T) => w && w(T, m) || null, h;
@@ -11304,9 +12002,9 @@ function ci(e, t, i) {
11304
12002
  return Tn(String(C()));
11305
12003
  if (m === "slot" && C)
11306
12004
  return C(p);
11307
- const _ = L ? Cn(m) : m, I = C != null && C.slot ? s(C, p) : null;
12005
+ const A = L ? Cn(m) : m, I = C != null && C.slot ? s(C, p) : null;
11308
12006
  return pt(
11309
- _,
12007
+ A,
11310
12008
  h(),
11311
12009
  I || (C ? C(p) : [])
11312
12010
  );
@@ -11314,35 +12012,35 @@ function ci(e, t, i) {
11314
12012
  return typeof w == "function" ? w(p) : w;
11315
12013
  };
11316
12014
  if (T) {
11317
- const p = c, [_, I, R] = T;
12015
+ const p = c, [A, I, O] = T;
11318
12016
  c = () => {
11319
- const x = _(), u = Number.isFinite(x) ? Array(Number(x)).fill(0).map((F, N) => N) : x, k = [];
12017
+ const _ = A(), u = Number.isFinite(_) ? Array(Number(_)).fill(0).map((R, N) => N) : _, S = [];
11320
12018
  if (typeof u != "object")
11321
12019
  return null;
11322
- const $ = re.get(B) || [], O = Array.isArray(u);
11323
- for (const F in u) {
11324
- if (O && F in Array.prototype)
12020
+ const D = re.get(E) || [], F = Array.isArray(u);
12021
+ for (const R in u) {
12022
+ if (F && R in Array.prototype)
11325
12023
  continue;
11326
12024
  const N = Object.defineProperty(
11327
12025
  {
11328
- ...$.reduce(
11329
- (de, J) => de.__idata ? { ...de, ...J } : J,
12026
+ ...D.reduce(
12027
+ (de, X) => de.__idata ? { ...de, ...X } : X,
11330
12028
  {}
11331
12029
  ),
11332
- [I]: u[F],
11333
- ...R !== null ? { [R]: O ? Number(F) : F } : {}
12030
+ [I]: u[R],
12031
+ ...O !== null ? { [O]: F ? Number(R) : R } : {}
11334
12032
  },
11335
12033
  "__idata",
11336
12034
  { enumerable: !1, value: !0 }
11337
12035
  );
11338
- $.unshift(N), k.push(p.bind(null, N)()), $.shift();
12036
+ D.unshift(N), S.push(p.bind(null, N)()), D.shift();
11339
12037
  }
11340
- return k;
12038
+ return S;
11341
12039
  };
11342
12040
  }
11343
12041
  return c;
11344
12042
  }
11345
- function f(b, v) {
12043
+ function g(b, v) {
11346
12044
  if (Array.isArray(v)) {
11347
12045
  const m = v.map(l.bind(null, b));
11348
12046
  return (h) => m.map((C) => C(h));
@@ -11350,27 +12048,27 @@ function ci(e, t, i) {
11350
12048
  const d = l(b, v);
11351
12049
  return (m) => d(m);
11352
12050
  }
11353
- const g = [];
12051
+ const f = [];
11354
12052
  function y(b, v = {}) {
11355
12053
  const d = /* @__PURE__ */ new WeakMap();
11356
- return g.push((m, h) => {
12054
+ return f.push((m, h) => {
11357
12055
  d.set(
11358
12056
  h,
11359
12057
  b.provide((C) => m(C, v))
11360
12058
  );
11361
- }), () => d.get(B)();
12059
+ }), () => d.get(E)();
11362
12060
  }
11363
- function P(b, v) {
12061
+ function $(b, v) {
11364
12062
  i ?? (i = dn(t));
11365
- const [d, m] = A(Fe, i) ? Fe[i] : [f(e, t), g];
11366
- return cn || (ke[i] ?? (ke[i] = 0), ke[i]++, Fe[i] = [d, m]), m.forEach((h) => {
12063
+ const [d, m] = P(Re, i) ? Re[i] : [g(e, t), f];
12064
+ return cn || (Se[i] ?? (Se[i] = 0), Se[i]++, Re[i] = [d, m]), m.forEach((h) => {
11367
12065
  h(b, v);
11368
- }), () => (B = v, d());
12066
+ }), () => (E = v, d());
11369
12067
  }
11370
- return P;
12068
+ return $;
11371
12069
  }
11372
12070
  function un(e, t) {
11373
- const i = re.get(B) || [];
12071
+ const i = re.get(E) || [];
11374
12072
  let n;
11375
12073
  return i.length && (n = Nt(i, e.split("."))), n === void 0 ? t : n;
11376
12074
  }
@@ -11380,8 +12078,8 @@ function ec(e, t) {
11380
12078
  let n;
11381
12079
  const r = i[1];
11382
12080
  if (typeof r == "string") {
11383
- const a = B;
11384
- B = t, n = un(r, void 0), B = a;
12081
+ const a = E;
12082
+ E = t, n = un(r, void 0), E = a;
11385
12083
  }
11386
12084
  return n !== void 0 ? n : Reflect.get(...i);
11387
12085
  }
@@ -11391,15 +12089,15 @@ function ui(e, t, i) {
11391
12089
  return e(
11392
12090
  (n, r = {}) => n.reduce((a, o) => {
11393
12091
  if (o.startsWith("slots.")) {
11394
- const s = o.substring(6), l = () => t.slots && A(t.slots, s) && typeof t.slots[s] == "function";
12092
+ const s = o.substring(6), l = () => t.slots && P(t.slots, s) && typeof t.slots[s] == "function";
11395
12093
  if (r.if)
11396
12094
  a[o] = l;
11397
12095
  else if (t.slots) {
11398
- const f = ec(t, i);
11399
- a[o] = () => l() ? t.slots[s](f) : null;
12096
+ const g = ec(t, i);
12097
+ a[o] = () => l() ? t.slots[s](g) : null;
11400
12098
  }
11401
12099
  } else {
11402
- const s = Jl(o, t);
12100
+ const s = Xl(o, t);
11403
12101
  a[o] = () => un(o, s.value);
11404
12102
  }
11405
12103
  return a;
@@ -11408,10 +12106,10 @@ function ui(e, t, i) {
11408
12106
  );
11409
12107
  }
11410
12108
  function di(e, t, i) {
11411
- if (t ?? (t = dn(e)), ke[t]--, ke[t] === 0) {
11412
- delete ke[t];
11413
- const [, n] = Fe[t];
11414
- delete Fe[t], n.length = 0;
12109
+ if (t ?? (t = dn(e)), Se[t]--, Se[t] === 0) {
12110
+ delete Se[t];
12111
+ const [, n] = Re[t];
12112
+ delete Re[t], n.length = 0;
11415
12113
  }
11416
12114
  re.delete(i);
11417
12115
  }
@@ -11440,7 +12138,7 @@ var pn = /* @__PURE__ */ hi({
11440
12138
  },
11441
12139
  emits: ["mounted"],
11442
12140
  setup(e, t) {
11443
- var f;
12141
+ var g;
11444
12142
  const i = dt();
11445
12143
  let n = {};
11446
12144
  re.set(n, []);
@@ -11448,10 +12146,10 @@ var pn = /* @__PURE__ */ hi({
11448
12146
  let a = ci(r, e.schema, e.memoKey), o, s;
11449
12147
  cn || Ie(
11450
12148
  () => e.schema,
11451
- (g, y) => {
12149
+ (f, y) => {
11452
12150
  var b;
11453
- const P = n;
11454
- n = {}, re.set(n, []), a = ci(r, e.schema, e.memoKey), o = ui(a, s, n), g === y && ((b = i == null ? void 0 : i.proxy) == null ? void 0 : b.$forceUpdate).call(b), di(e.schema, e.memoKey, P);
12151
+ const $ = n;
12152
+ n = {}, re.set(n, []), a = ci(r, e.schema, e.memoKey), o = ui(a, s, n), f === y && ((b = i == null ? void 0 : i.proxy) == null ? void 0 : b.$forceUpdate).call(b), di(e.schema, e.memoKey, $);
11455
12153
  },
11456
12154
  { deep: !0 }
11457
12155
  ), ne(() => {
@@ -11462,28 +12160,28 @@ var pn = /* @__PURE__ */ hi({
11462
12160
  function l() {
11463
12161
  di(e.schema, e.memoKey, n), s && (s.node && s.node.destroy(), s.slots = null, s = null), o = null;
11464
12162
  }
11465
- return fi(() => t.emit("mounted")), gn(l), Ql((f = dt()) == null ? void 0 : f.appContext.app, l), () => o ? o() : null;
12163
+ return gi(() => t.emit("mounted")), fn(l), Yl((g = dt()) == null ? void 0 : g.appContext.app, l), () => o ? o() : null;
11466
12164
  }
11467
12165
  }), tc = pn, ic = typeof window > "u", pi = Symbol("FormKitParent"), nc = Symbol("FormKitComponentCallback");
11468
12166
  function rc(e, t) {
11469
12167
  const i = pc(e, t);
11470
- if (i.props.definition || W(600, i), i.props.definition.component)
12168
+ if (i.props.definition || j(600, i), i.props.definition.component)
11471
12169
  return () => {
11472
- var f;
12170
+ var g;
11473
12171
  return pt(
11474
- (f = i.props.definition) == null ? void 0 : f.component,
12172
+ (g = i.props.definition) == null ? void 0 : g.component,
11475
12173
  {
11476
12174
  context: i.context
11477
12175
  },
11478
12176
  { ...t.slots }
11479
12177
  );
11480
12178
  };
11481
- const n = j([]);
12179
+ const n = W([]);
11482
12180
  let r = i.props.definition.schemaMemoKey;
11483
12181
  const a = () => {
11484
- var g, y;
11485
- const f = (y = (g = i.props) == null ? void 0 : g.definition) == null ? void 0 : y.schema;
11486
- f || W(601, i), typeof f == "function" ? (n.value = f({ ...e.sectionsSchema || {} }), (r && e.sectionsSchema || "memoKey" in f && typeof f.memoKey == "string") && (r = (r ?? (f == null ? void 0 : f.memoKey)) + JSON.stringify(e.sectionsSchema))) : n.value = f;
12182
+ var f, y;
12183
+ const g = (y = (f = i.props) == null ? void 0 : f.definition) == null ? void 0 : y.schema;
12184
+ g || j(601, i), typeof g == "function" ? (n.value = g({ ...e.sectionsSchema || {} }), (r && e.sectionsSchema || "memoKey" in g && typeof g.memoKey == "string") && (r = (r ?? (g == null ? void 0 : g.memoKey)) + JSON.stringify(e.sectionsSchema))) : n.value = g;
11487
12185
  };
11488
12186
  a(), ic || i.on("schema", () => {
11489
12187
  r += "♻️", a();
@@ -11511,13 +12209,13 @@ function rc(e, t) {
11511
12209
  var mn = /* @__PURE__ */ hi(
11512
12210
  rc,
11513
12211
  {
11514
- props: Us,
12212
+ props: Vs,
11515
12213
  inheritAttrs: !1
11516
12214
  }
11517
12215
  ), hn = mn, ac = Symbol();
11518
12216
  function oc(e, t) {
11519
12217
  return e.component(t.alias || "FormKit", hn).component(t.schemaAlias || "FormKitSchema", tc), {
11520
- get: Oe,
12218
+ get: Fe,
11521
12219
  setLocale: (i) => {
11522
12220
  var n;
11523
12221
  (n = t.config) != null && n.rootConfig && (t.config.rootConfig.locale = i);
@@ -11525,10 +12223,10 @@ function oc(e, t) {
11525
12223
  clearErrors: no,
11526
12224
  setErrors: io,
11527
12225
  submit: Li,
11528
- reset: ki
12226
+ reset: Si
11529
12227
  };
11530
12228
  }
11531
- var fn = Symbol.for("FormKitOptions"), sc = Symbol.for("FormKitConfig"), lc = {
12229
+ var gn = Symbol.for("FormKitOptions"), sc = Symbol.for("FormKitConfig"), lc = {
11532
12230
  install(e, t) {
11533
12231
  const i = Object.assign(
11534
12232
  {
@@ -11537,7 +12235,7 @@ var fn = Symbol.for("FormKitOptions"), sc = Symbol.for("FormKitConfig"), lc = {
11537
12235
  },
11538
12236
  typeof t == "function" ? t() : t
11539
12237
  ), n = sa(i.config || {});
11540
- i.config = { rootConfig: n }, e.config.globalProperties.$formkit = oc(e, i), e.provide(fn, i), e.provide(sc, n), typeof window < "u" && (globalThis.__FORMKIT_CONFIGS__ = (globalThis.__FORMKIT_CONFIGS__ || []).concat([n]));
12238
+ i.config = { rootConfig: n }, e.config.globalProperties.$formkit = oc(e, i), e.provide(gn, i), e.provide(sc, n), typeof window < "u" && (globalThis.__FORMKIT_CONFIGS__ = (globalThis.__FORMKIT_CONFIGS__ || []).concat([n]));
11541
12239
  }
11542
12240
  }, cc = typeof window < "u", ut = [
11543
12241
  // Boolean props
@@ -11557,7 +12255,7 @@ var fn = Symbol.for("FormKitOptions"), sc = Symbol.for("FormKitConfig"), lc = {
11557
12255
  function mi(e, t) {
11558
12256
  t.classes && Object.keys(t.classes).forEach(
11559
12257
  (i) => {
11560
- typeof i == "string" && (e.props[`_${i}Class`] = t.classes[i], Re(t.classes[i]) && i === "inner" && Object.values(t.classes[i]));
12258
+ typeof i == "string" && (e.props[`_${i}Class`] = t.classes[i], Oe(t.classes[i]) && i === "inner" && Object.values(t.classes[i]));
11561
12259
  }
11562
12260
  );
11563
12261
  }
@@ -11571,15 +12269,15 @@ function dc(e) {
11571
12269
  ) : {};
11572
12270
  }
11573
12271
  function pc(e, t, i = {}) {
11574
- const n = Object.assign({}, Be(fn) || {}, i), r = Be(ac, j(cc ? document : void 0)), a = Be(nc, () => {
12272
+ const n = Object.assign({}, Ee(gn) || {}, i), r = Ee(ac, W(cc ? document : void 0)), a = Ee(nc, () => {
11575
12273
  }), o = dt(), s = dc(o == null ? void 0 : o.vnode.props), l = ["modelValue", "model-value"].some(
11576
12274
  (c) => c in ((o == null ? void 0 : o.vnode.props) ?? {})
11577
12275
  );
11578
- let f = !1;
11579
- fi(() => {
11580
- f = !0;
12276
+ let g = !1;
12277
+ gi(() => {
12278
+ g = !0;
11581
12279
  });
11582
- const g = e.modelValue !== void 0 ? e.modelValue : G(t.attrs.value);
12280
+ const f = e.modelValue !== void 0 ? e.modelValue : G(t.attrs.value);
11583
12281
  function y() {
11584
12282
  const c = {
11585
12283
  ...be(e),
@@ -11588,32 +12286,32 @@ function pc(e, t, i = {}) {
11588
12286
  __root: r.value,
11589
12287
  __slots: t.slots
11590
12288
  }, p = Ht(be(t.attrs), ut);
11591
- p.key || (p.key = _e()), c.attrs = p;
11592
- const _ = Bt(be(t.attrs), ut);
11593
- for (const R in _)
11594
- uc.includes(R) && _[R] === "" && (_[R] = !0), c[Te(R)] = _[R];
12289
+ p.key || (p.key = Ae()), c.attrs = p;
12290
+ const A = Et(be(t.attrs), ut);
12291
+ for (const O in A)
12292
+ uc.includes(O) && A[O] === "" && (A[O] = !0), c[Te(O)] = A[O];
11595
12293
  const I = { props: {} };
11596
12294
  return mi(I, e), Object.assign(c, I.props), typeof c.type != "string" && (c.definition = c.type, delete c.type), c;
11597
12295
  }
11598
- const P = y(), b = P.ignore ? null : e.parent || Be(pi, null), v = Ja(
12296
+ const $ = y(), b = $.ignore ? null : e.parent || Ee(pi, null), v = Xa(
11599
12297
  se(
11600
12298
  n || {},
11601
12299
  {
11602
12300
  name: e.name || void 0,
11603
- value: g,
12301
+ value: f,
11604
12302
  parent: b,
11605
12303
  plugins: (n.plugins || []).concat(e.plugins ?? []),
11606
12304
  config: e.config || {},
11607
- props: P,
12305
+ props: $,
11608
12306
  index: e.index,
11609
- sync: !!Y(t.attrs.sync || t.attrs.dynamic)
12307
+ sync: !!Q(t.attrs.sync || t.attrs.dynamic)
11610
12308
  },
11611
12309
  !1,
11612
12310
  !0
11613
12311
  )
11614
12312
  );
11615
- a(v), v.props.definition || W(600, v);
11616
- const d = j(
12313
+ a(v), v.props.definition || j(600, v);
12314
+ const d = W(
11617
12315
  new Set(
11618
12316
  Array.isArray(v.props.__propDefs) ? v.props.__propDefs : Object.keys(v.props.__propDefs ?? {})
11619
12317
  )
@@ -11621,7 +12319,7 @@ function pc(e, t, i = {}) {
11621
12319
  v.on(
11622
12320
  "added-props",
11623
12321
  ({ payload: c }) => {
11624
- (Array.isArray(c) ? c : Object.keys(c ?? {})).forEach((_) => d.value.add(_));
12322
+ (Array.isArray(c) ? c : Object.keys(c ?? {})).forEach((A) => d.value.add(A));
11625
12323
  }
11626
12324
  );
11627
12325
  const m = me(
@@ -11641,19 +12339,19 @@ function pc(e, t, i = {}) {
11641
12339
  });
11642
12340
  const C = /* @__PURE__ */ new Set(), w = be(t.attrs);
11643
12341
  ne(() => {
11644
- T(Bt(w, m.value));
12342
+ T(Et(w, m.value));
11645
12343
  });
11646
12344
  function T(c) {
11647
12345
  C.forEach((p) => {
11648
12346
  p(), C.delete(p);
11649
12347
  });
11650
12348
  for (const p in c) {
11651
- const _ = Te(p);
12349
+ const A = Te(p);
11652
12350
  C.add(
11653
12351
  Ie(
11654
12352
  () => t.attrs[p],
11655
12353
  () => {
11656
- v.props[_] = t.attrs[p];
12354
+ v.props[A] = t.attrs[p];
11657
12355
  }
11658
12356
  )
11659
12357
  );
@@ -11661,11 +12359,11 @@ function pc(e, t, i = {}) {
11661
12359
  }
11662
12360
  if (ne(() => {
11663
12361
  const c = Ht(be(t.attrs), m.value);
11664
- "multiple" in c && (c.multiple = Y(c.multiple)), typeof c.onBlur == "function" && (c.onBlur = Br(c.onBlur)), v.props.attrs = Object.assign({}, v.props.attrs || {}, c);
12362
+ "multiple" in c && (c.multiple = Q(c.multiple)), typeof c.onBlur == "function" && (c.onBlur = Er(c.onBlur)), v.props.attrs = Object.assign({}, v.props.attrs || {}, c);
11665
12363
  }), ne(() => {
11666
12364
  const c = (e.errors ?? []).map(
11667
12365
  (p) => /* @__PURE__ */ q({
11668
- key: St(p),
12366
+ key: kt(p),
11669
12367
  type: "error",
11670
12368
  value: p,
11671
12369
  meta: { source: "prop" }
@@ -11678,22 +12376,22 @@ function pc(e, t, i = {}) {
11678
12376
  }), v.type !== "input") {
11679
12377
  const c = `${v.name}-prop`;
11680
12378
  ne(() => {
11681
- const p = e.inputErrors ?? {}, _ = Object.keys(p);
11682
- _.length || v.clearErrors(!0, c);
11683
- const I = _.reduce((R, x) => {
11684
- let u = p[x];
11685
- return typeof u == "string" && (u = [u]), Array.isArray(u) && (R[x] = u.map(
11686
- (k) => /* @__PURE__ */ q({
11687
- key: k,
12379
+ const p = e.inputErrors ?? {}, A = Object.keys(p);
12380
+ A.length || v.clearErrors(!0, c);
12381
+ const I = A.reduce((O, _) => {
12382
+ let u = p[_];
12383
+ return typeof u == "string" && (u = [u]), Array.isArray(u) && (O[_] = u.map(
12384
+ (S) => /* @__PURE__ */ q({
12385
+ key: S,
11688
12386
  type: "error",
11689
- value: k,
12387
+ value: S,
11690
12388
  meta: { source: c }
11691
12389
  })
11692
- )), R;
12390
+ )), O;
11693
12391
  }, {});
11694
12392
  v.store.apply(
11695
12393
  I,
11696
- (R) => R.type === "error" && R.meta.source === c
12394
+ (O) => O.type === "error" && O.meta.source === c
11697
12395
  );
11698
12396
  });
11699
12397
  }
@@ -11701,14 +12399,14 @@ function pc(e, t, i = {}) {
11701
12399
  let L;
11702
12400
  return v.on("modelUpdated", () => {
11703
12401
  var c, p;
11704
- t.emit("inputRaw", (c = v.context) == null ? void 0 : c.value, v), f && t.emit("input", (p = v.context) == null ? void 0 : p.value, v), l && v.context && (L = G(v.value), t.emit("update:modelValue", ht(v.value)));
12402
+ t.emit("inputRaw", (c = v.context) == null ? void 0 : c.value, v), g && t.emit("input", (p = v.context) == null ? void 0 : p.value, v), l && v.context && (L = G(v.value), t.emit("update:modelValue", ht(v.value)));
11705
12403
  }), l && (Ie(
11706
12404
  yn(e, "modelValue"),
11707
12405
  (c) => {
11708
- V(L, c) || v.input(c, !1);
12406
+ U(L, c) || v.input(c, !1);
11709
12407
  },
11710
12408
  { deep: !0 }
11711
- ), v.value !== g && v.emit("modelUpdated")), vn(() => v.destroy()), v;
12409
+ ), v.value !== f && v.emit("modelUpdated")), vn(() => v.destroy()), v;
11712
12410
  }
11713
12411
  var mc = 1;
11714
12412
  function hc(e) {
@@ -11722,19 +12420,19 @@ function K(e, t = {}, i = {}) {
11722
12420
  let r;
11723
12421
  if (hc(e)) {
11724
12422
  const a = `SchemaComponent${mc++}`;
11725
- r = /* @__PURE__ */ S("input", () => ({
12423
+ r = /* @__PURE__ */ k("input", () => ({
11726
12424
  $cmp: a,
11727
12425
  props: {
11728
12426
  context: "$node.context"
11729
12427
  }
11730
12428
  })), n.library = { [a]: nt(e) };
11731
- } else typeof e == "function" ? r = e : r = /* @__PURE__ */ S("input", () => G(e));
12429
+ } else typeof e == "function" ? r = e : r = /* @__PURE__ */ k("input", () => G(e));
11732
12430
  return n.schema = /* @__PURE__ */ Tl(r || "Schema undefined", i), n.schemaMemoKey || (n.schemaMemoKey = `${Math.random()}`), n;
11733
12431
  }
11734
- var fc = /* @__PURE__ */ S("messages", () => ({
12432
+ var gc = /* @__PURE__ */ k("messages", () => ({
11735
12433
  $el: "ul",
11736
12434
  if: "$fns.length($messages)"
11737
- })), gc = /* @__PURE__ */ S("message", () => ({
12435
+ })), fc = /* @__PURE__ */ k("message", () => ({
11738
12436
  $el: "li",
11739
12437
  for: ["message", "$messages"],
11740
12438
  attrs: {
@@ -11743,31 +12441,31 @@ var fc = /* @__PURE__ */ S("messages", () => ({
11743
12441
  "data-message-type": "$message.type"
11744
12442
  }
11745
12443
  }));
11746
- fc(gc("$message.value"));
11747
- var bc = /* @__PURE__ */ S("summary", () => ({
12444
+ gc(fc("$message.value"));
12445
+ var bc = /* @__PURE__ */ k("summary", () => ({
11748
12446
  $el: "div",
11749
12447
  attrs: {
11750
12448
  "aria-live": "polite"
11751
12449
  }
11752
- })), yc = /* @__PURE__ */ S("summaryInner", () => ({
12450
+ })), yc = /* @__PURE__ */ k("summaryInner", () => ({
11753
12451
  $el: "div",
11754
12452
  if: "$summaries.length && $showSummaries"
11755
- })), vc = /* @__PURE__ */ S("messages", () => ({
12453
+ })), vc = /* @__PURE__ */ k("messages", () => ({
11756
12454
  $el: "ul",
11757
12455
  if: "$summaries.length && $showSummaries"
11758
- })), Tc = /* @__PURE__ */ S("message", () => ({
12456
+ })), Tc = /* @__PURE__ */ k("message", () => ({
11759
12457
  $el: "li",
11760
12458
  for: ["summary", "$summaries"],
11761
12459
  attrs: {
11762
12460
  key: "$summary.key",
11763
12461
  "data-message-type": "$summary.type"
11764
12462
  }
11765
- })), Cc = /* @__PURE__ */ S("summaryHeader", () => ({
12463
+ })), Cc = /* @__PURE__ */ k("summaryHeader", () => ({
11766
12464
  $el: "h2",
11767
12465
  attrs: {
11768
12466
  id: "$id"
11769
12467
  }
11770
- })), Lc = /* @__PURE__ */ S("messageLink", () => ({
12468
+ })), Lc = /* @__PURE__ */ k("messageLink", () => ({
11771
12469
  $el: "a",
11772
12470
  attrs: {
11773
12471
  id: "$summary.key",
@@ -11783,8 +12481,8 @@ bc(
11783
12481
  );
11784
12482
  Gl();
11785
12483
  ln();
11786
- function kc(e) {
11787
- const { t } = kn();
12484
+ function Sc(e) {
12485
+ const { t } = Sn();
11788
12486
  ["label"].forEach((n) => {
11789
12487
  e.hook.input((r, a) => {
11790
12488
  const o = e.props[n];
@@ -11792,11 +12490,11 @@ function kc(e) {
11792
12490
  });
11793
12491
  });
11794
12492
  }
11795
- const Ac = (e) => {
12493
+ const Pc = (e) => {
11796
12494
  e.use(
11797
12495
  lc,
11798
- Ot({
11799
- plugins: [kc],
12496
+ Ft({
12497
+ plugins: [Sc],
11800
12498
  inputs: {
11801
12499
  BaTextField: K(
11802
12500
  H(
@@ -11825,7 +12523,7 @@ const Ac = (e) => {
11825
12523
  ),
11826
12524
  BaListRepeater: K(
11827
12525
  H(
11828
- () => import("./ListRepeater-hEYo74Ob.js")
12526
+ () => import("./ListRepeater-B427GLBY.js")
11829
12527
  )
11830
12528
  ),
11831
12529
  BaTextStyleList: K(
@@ -11845,7 +12543,7 @@ const Ac = (e) => {
11845
12543
  ),
11846
12544
  BaImageUpload: K(
11847
12545
  H(
11848
- () => import("./ImageUpload-BAXunKn1.js")
12546
+ () => import("./ImageUpload-C483sQUN.js")
11849
12547
  ),
11850
12548
  { props: ["ignoreUpdate"] }
11851
12549
  ),
@@ -11866,24 +12564,24 @@ const Ac = (e) => {
11866
12564
  }
11867
12565
  })
11868
12566
  );
11869
- }, _c = {
11870
- "en-US": { ...Sn, ...er },
11871
- "zh-CN": { ..._n, ...or },
12567
+ }, Ac = {
12568
+ "en-US": { ...kn, ...er },
12569
+ "zh-CN": { ...An, ...or },
11872
12570
  "zh-TW": { ...Mn, ...pr },
11873
- "th-TH": { ...Dn, ...yr },
11874
- "ko-KR": { ...Bn, ...wr },
12571
+ "th-TH": { ...xn, ...yr },
12572
+ "ko-KR": { ...En, ...wr },
11875
12573
  "vi-VN": { ...zn, ...Mr }
11876
- }, Pc = H(() => import("./App-DRa_BxWB.js"));
12574
+ }, $c = H(() => import("./App-kVQ9-LHr.js"));
11877
12575
  export {
11878
12576
  hn as F,
11879
12577
  pn as a,
11880
12578
  or as b,
11881
- Pc as c,
11882
- Ac as d,
12579
+ $c as c,
12580
+ Pc as d,
11883
12581
  er as e,
11884
- _c as i,
12582
+ Ac as i,
11885
12583
  wr as k,
11886
- $c as r,
12584
+ Dc as r,
11887
12585
  yr as t,
11888
12586
  Mr as v,
11889
12587
  pr as z