@feedmepos/mf-brand-app-builder 0.5.21-dev.0 → 0.5.22-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/{App-CouqATvY.js → App-D5eO5srB.js} +3 -3
  2. package/dist/{AssetsSettings-VrTm7fqj.js → AssetsSettings-D_E8q7eK.js} +3 -3
  3. package/dist/{BrandkitView-BWayOWSf.js → BrandkitView-BlJhBYi6.js} +2603 -1984
  4. package/dist/{BuilderView-BfGBA-IQ.js → BuilderView-Dfl1VhES.js} +2718 -2162
  5. package/dist/{ImageUpload-CFXqs0JU.js → ImageUpload-FyvXrDKK.js} +2 -2
  6. package/dist/{LinkButton-DSq0KYll.js → LinkButton-C9OU3Rcs.js} +1 -1
  7. package/dist/{ListRepeater-Cob4tslX.js → ListRepeater-BnVoFhhm.js} +1 -1
  8. package/dist/{ManagementSettings-Dvz3GmOR.js → ManagementSettings-CtvF5d9C.js} +2 -2
  9. package/dist/{ProjectView-BQGLwc0w.js → ProjectView-Bq0vBJ3V.js} +36 -36
  10. package/dist/{app-lMq3BVlx.js → app-CJ2VgCHp.js} +439 -352
  11. package/dist/app.js +1 -1
  12. package/dist/brand-core/src/entity.d.ts +20 -0
  13. package/dist/client/components/src/components/Member/MemberCards.vue.d.ts +1 -0
  14. package/dist/client/components/src/components/MemberCard.vue.d.ts +6 -0
  15. package/dist/client/components/src/components/OrderHistoryCard.vue.d.ts +6 -1
  16. package/dist/client/merchant/src/api/business/index.d.ts +1 -1
  17. package/dist/client/merchant/src/app.d.ts +91 -4
  18. package/dist/client/merchant/src/components/modals/TemplateSelectionModal.vue.d.ts +18 -0
  19. package/dist/client/merchant/src/components/order-template/LayoutTemplateSection.vue.d.ts +14 -0
  20. package/dist/client/merchant/src/components/order-template/OrderTemplateEditorButton.vue.d.ts +10 -0
  21. package/dist/client/merchant/src/components/order-template/OrderTemplateEditorForm.vue.d.ts +14 -0
  22. package/dist/client/merchant/src/composables/useNode/index.d.ts +1 -0
  23. package/dist/client/merchant/src/config/defaultTemplateConfig.d.ts +18 -0
  24. package/dist/client/merchant/src/node-configs/member-card/mock-data.d.ts +1 -0
  25. package/dist/client/merchant/src/node-configs/member-card/props.d.ts +1 -0
  26. package/dist/client/merchant/src/stores/business/index.d.ts +109 -1
  27. package/dist/{image-Dpri5FX2.js → image-BtHlnsmY.js} +1 -1
  28. package/dist/{index-CeGUgOHl.js → index-5BRydZO9.js} +1 -1
  29. package/dist/{index-BveesOeC.js → index-BEAkOquM.js} +1 -1
  30. package/dist/{index-B9eW8FKP.js → index-BXwbQwb-.js} +133 -133
  31. package/dist/{index-G68bUkCy.js → index-ChMgx2Hq.js} +1 -1
  32. package/dist/{main-2c5dYrrl.js → main-8cObQmGm.js} +2686 -2604
  33. package/dist/package.json +4 -2
  34. package/dist/style.css +1 -1
  35. package/package.json +4 -2
@@ -1,5 +1,5 @@
1
- import { defineAsyncComponent as H, defineComponent as fr, getCurrentInstance as pt, markRaw as it, watch as De, watchEffect as ie, reactive as xe, onMounted as gr, onUnmounted as gi, ref as B, isRef as dt, h as mt, inject as Ve, computed as me, provide as bi, toRef as hi, onBeforeUnmount as yi, nextTick as vi, triggerRef as Ue, isReactive as Nt, createTextVNode as Ci, resolveComponent as Li } from "vue";
2
- import { useI18n as Ti } from "@feedmepos/mf-common";
1
+ import { defineAsyncComponent as V, defineComponent as fr, getCurrentInstance as pt, markRaw as it, watch as Ie, watchEffect as ie, reactive as xe, onMounted as gr, onUnmounted as gi, ref as B, isRef as dt, h as mt, inject as He, computed as me, provide as bi, toRef as hi, onBeforeUnmount as yi, nextTick as vi, triggerRef as Ue, isReactive as Nt, createTextVNode as Ti, resolveComponent as Ci } from "vue";
2
+ import { useI18n as Li } from "@feedmepos/mf-common";
3
3
  const wi = {
4
4
  common: {
5
5
  confirm: "Confirm",
@@ -262,6 +262,18 @@ const wi = {
262
262
  addNewTemplate: "Add new template",
263
263
  addMemberTemplate: "Add member template"
264
264
  },
265
+ selection: {
266
+ title: "Choose Template Type",
267
+ description: "Select how you'd like to start building your template.",
268
+ defaultTitle: "Default Template",
269
+ defaultDescription: "Start with pre-built components like member cards, order methods, and branch listings.",
270
+ defaultPreview: "Template Preview",
271
+ blankTitle: "Blank Template",
272
+ blankDescription: "Start with a clean canvas and build from scratch.",
273
+ blankPreview: "Blank Canvas",
274
+ cancel: "Cancel",
275
+ create: "Create Template"
276
+ },
265
277
  nodeConfig: {
266
278
  pageSetting: "Page Setting",
267
279
  style: "Style",
@@ -478,8 +490,7 @@ const wi = {
478
490
  tabs: {
479
491
  landingPageDesign: "Landing Page Design",
480
492
  memberFeaturesPages: "Member Features Pages",
481
- memberReferral: "Member Referral",
482
- ordering: "Ordering"
493
+ memberReferral: "Member Referral"
483
494
  },
484
495
  dialog: {
485
496
  renameTemplate: {
@@ -818,6 +829,18 @@ const wi = {
818
829
  addNewTemplate: "添加新模板",
819
830
  addMemberTemplate: "添加会员模板"
820
831
  },
832
+ selection: {
833
+ title: "选择模板类型",
834
+ description: "选择如何开始构建您的模板。",
835
+ defaultTitle: "默认模板",
836
+ defaultDescription: "使用预构建组件开始,如会员卡、下单方式和门店列表。",
837
+ defaultPreview: "模板预览",
838
+ blankTitle: "空白模板",
839
+ blankDescription: "从干净的画布开始,从头构建。",
840
+ blankPreview: "空白画布",
841
+ cancel: "取消",
842
+ create: "创建模板"
843
+ },
821
844
  nodeConfig: {
822
845
  pageSetting: "页面设置",
823
846
  style: "样式",
@@ -1034,8 +1057,7 @@ const wi = {
1034
1057
  tabs: {
1035
1058
  landingPageDesign: "设计着陆页",
1036
1059
  memberFeaturesPages: "会员功能页面",
1037
- memberReferral: "会员推荐",
1038
- ordering: "点餐"
1060
+ memberReferral: "会员推荐"
1039
1061
  },
1040
1062
  dialog: {
1041
1063
  renameTemplate: {
@@ -1101,8 +1123,13 @@ const wi = {
1101
1123
  list: "列表",
1102
1124
  currentSelection: "当前选择",
1103
1125
  saveSettings: "保存设置",
1104
- settingsSaved: "设置保存成功!"
1126
+ settingsSaved: "设置保存成功!",
1127
+ movedToBrandkit: "点餐设置已移至品牌工具包部分,以便更好地组织。",
1128
+ goToBrandkit: "前往品牌工具包"
1105
1129
  }
1130
+ },
1131
+ app: {
1132
+ runningVersion: "运行版本 v{version} 在 {namespace}"
1106
1133
  }
1107
1134
  }, _i = {
1108
1135
  tier: {
@@ -1374,6 +1401,18 @@ const wi = {
1374
1401
  addNewTemplate: "添加新模板",
1375
1402
  addMemberTemplate: "添加會員模板"
1376
1403
  },
1404
+ selection: {
1405
+ title: "選擇模板類型",
1406
+ description: "選擇如何開始構建您的模板。",
1407
+ defaultTitle: "默認模板",
1408
+ defaultDescription: "使用預構建組件開始,如會員卡、下單方式和門店列表。",
1409
+ defaultPreview: "模板預覽",
1410
+ blankTitle: "空白模板",
1411
+ blankDescription: "從乾淨的畫布開始,從頭構建。",
1412
+ blankPreview: "空白畫布",
1413
+ cancel: "取消",
1414
+ create: "創建模板"
1415
+ },
1377
1416
  nodeConfig: {
1378
1417
  pageSetting: "頁面設置",
1379
1418
  style: "樣式",
@@ -1590,8 +1629,7 @@ const wi = {
1590
1629
  tabs: {
1591
1630
  landingPageDesign: "設計著陸頁",
1592
1631
  memberFeaturesPages: "會員功能頁面",
1593
- memberReferral: "會員推薦",
1594
- ordering: "點餐"
1632
+ memberReferral: "會員推薦"
1595
1633
  },
1596
1634
  dialog: {
1597
1635
  renameTemplate: {
@@ -1657,8 +1695,13 @@ const wi = {
1657
1695
  list: "列表",
1658
1696
  currentSelection: "當前選擇",
1659
1697
  saveSettings: "保存設置",
1660
- settingsSaved: "設置保存成功!"
1698
+ settingsSaved: "設置保存成功!",
1699
+ movedToBrandkit: "點餐設置已移至品牌工具包部分,以便更好地組織。",
1700
+ goToBrandkit: "前往品牌工具包"
1661
1701
  }
1702
+ },
1703
+ app: {
1704
+ runningVersion: "運行版本 v{version} 在 {namespace}"
1662
1705
  }
1663
1706
  }, Pi = {
1664
1707
  brand: Ai
@@ -1879,6 +1922,18 @@ const wi = {
1879
1922
  addNewTemplate: "เพิ่มเทมเพลตใหม่",
1880
1923
  addMemberTemplate: "เพิ่มเทมเพลตสมาชิก"
1881
1924
  },
1925
+ selection: {
1926
+ title: "เลือกประเภทแม่แบบ",
1927
+ description: "เลือกวิธีที่คุณต้องการเริ่มสร้างแม่แบบของคุณ",
1928
+ defaultTitle: "แม่แบบเริ่มต้น",
1929
+ defaultDescription: "เริ่มต้นด้วยคอมโพเนนต์ที่สร้างไว้แล้ว เช่น บัตรสมาชิก วิธีการสั่งซื้อ และรายการสาขา",
1930
+ defaultPreview: "ตัวอย่างแม่แบบ",
1931
+ blankTitle: "แม่แบบเปล่า",
1932
+ blankDescription: "เริ่มต้นด้วยผืนผ้าใบที่สะอาดและสร้างตั้งแต่เริ่มต้น",
1933
+ blankPreview: "ผืนผ้าใบเปล่า",
1934
+ cancel: "ยกเลิก",
1935
+ create: "สร้างแม่แบบ"
1936
+ },
1882
1937
  nodeConfig: {
1883
1938
  pageSetting: "การตั้งค่าหน้า",
1884
1939
  style: "สไตล์",
@@ -2095,8 +2150,7 @@ const wi = {
2095
2150
  tabs: {
2096
2151
  landingPageDesign: "ออกแบบหน้า Landing Page",
2097
2152
  memberFeaturesPages: "หน้าฟีเจอร์สมาชิก",
2098
- memberReferral: "การแนะนำสมาชิก",
2099
- ordering: "การสั่งซื้อ"
2153
+ memberReferral: "การแนะนำสมาชิก"
2100
2154
  },
2101
2155
  dialog: {
2102
2156
  renameTemplate: {
@@ -2144,6 +2198,27 @@ const wi = {
2144
2198
  rename: "เปลี่ยนชื่อ",
2145
2199
  delete: "ลบ",
2146
2200
  unpublish: "ยกเลิกการเผยแพร่"
2201
+ },
2202
+ ordering: {
2203
+ title: "การกำหนดค่าการสั่งซื้อ",
2204
+ subtitle: "กำหนดค่าการตั้งค่าของ kiosk และ order app เพื่อสร้างประสบการณ์การสั่งซื้อที่สมบูรณ์แบบสำหรับลูกค้าของคุณ",
2205
+ kioskSettings: "การตั้งค่า Kiosk",
2206
+ kioskSettingsDescription: "กำหนดค่าการตั้งค่า kiosk เพื่อเพิ่มประสบการณ์การสั่งซื้อ",
2207
+ orderAppSettings: "การตั้งค่า Order App",
2208
+ orderAppDescription: "ปรับแต่ง order app ให้เหมาะกับความต้องการทางธุรกิจของคุณ",
2209
+ categoryLayout: "เลย์เอาต์หมวดหมู่",
2210
+ categoryLayoutDescription: "เลือกเลย์เอาต์สำหรับหมวดหมู่สินค้า",
2211
+ horizontal: "แนวนอน",
2212
+ vertical: "แนวตั้ง",
2213
+ menuLayout: "เลย์เอาต์เมนู",
2214
+ menuLayoutDescription: "เลือกเลย์เอาต์สำหรับการแสดงสินค้าใน order app",
2215
+ grid: "กริด",
2216
+ list: "รายการ",
2217
+ currentSelection: "ตัวเลือกปัจจุบัน",
2218
+ saveSettings: "บันทึกการตั้งค่า",
2219
+ settingsSaved: "บันทึกการตั้งค่าเรียบร้อยแล้ว!",
2220
+ movedToBrandkit: "การตั้งค่าการสั่งซื้อได้ถูกย้ายไปยังส่วน Brandkit เพื่อการจัดระเบียบที่ดีขึ้น",
2221
+ goToBrandkit: "ไปยัง Brandkit"
2147
2222
  }
2148
2223
  },
2149
2224
  settings: {
@@ -2197,7 +2272,7 @@ const wi = {
2197
2272
  }
2198
2273
  }, Mi = {
2199
2274
  brand: xi
2200
- }, Ii = {
2275
+ }, Di = {
2201
2276
  branches: {
2202
2277
  ourOutlets: "Our outlets",
2203
2278
  noOutletFound: "No outlet found",
@@ -2282,7 +2357,7 @@ const wi = {
2282
2357
  missions: "Missions",
2283
2358
  games: "Games"
2284
2359
  }
2285
- }, Di = {
2360
+ }, Ii = {
2286
2361
  member: {
2287
2362
  welcome: "Welcome!",
2288
2363
  signIn: "Sign in",
@@ -2294,8 +2369,9 @@ const wi = {
2294
2369
  showMemberQr: "Show my member QR",
2295
2370
  memberTier: "Member tier",
2296
2371
  collectMoreExperience: "Collect {count} more experience to next tier.",
2372
+ noTier: "No tier",
2297
2373
  maxTier: "You are at max tier!",
2298
- unlockLevel: "To unlock this level, you need to make a transaction.",
2374
+ unlockLevel: "To unlock a tier, you need to make a transaction.",
2299
2375
  congratulations: "Congratulations!",
2300
2376
  youveReceived: "You've received:",
2301
2377
  joiningMembershipAlt: "Join Member",
@@ -2579,7 +2655,9 @@ const wi = {
2579
2655
  useVoucher: "Use voucher",
2580
2656
  transferVoucher: "Transfer voucher",
2581
2657
  transferExpire: "Transfer expires in {time}",
2582
- notOwner: "You are not the owner of this voucher."
2658
+ notOwner: "You are not the owner of this voucher.",
2659
+ claimSuccess: "Claimed voucher successfully!",
2660
+ claimFailed: "Failed to claim voucher"
2583
2661
  },
2584
2662
  card: {
2585
2663
  bindCard: {
@@ -2683,8 +2761,8 @@ const wi = {
2683
2761
  withCondition: "{adjustment} with {condition}"
2684
2762
  }
2685
2763
  }, Oi = {
2686
- user: Ii,
2687
- components: Di,
2764
+ user: Di,
2765
+ components: Ii,
2688
2766
  views: Ri,
2689
2767
  utils: Fi
2690
2768
  }, Ei = {
@@ -2784,6 +2862,7 @@ const wi = {
2784
2862
  showMemberQr: "显示我的会员二维码",
2785
2863
  memberTier: "会员等级",
2786
2864
  collectMoreExperience: "再收集{count}经验值即可升级到下一等级。",
2865
+ noTier: "您暂无任何等级",
2787
2866
  maxTier: "您已达到最高等级!",
2788
2867
  unlockLevel: "要解锁此等级,您需要进行一次交易。",
2789
2868
  congratulations: "恭喜!",
@@ -2952,7 +3031,7 @@ const wi = {
2952
3031
  switchCountryDrawer: {
2953
3032
  selectLocation: "选择您的位置"
2954
3033
  }
2955
- }, Hi = {
3034
+ }, Vi = {
2956
3035
  orderDetails: {
2957
3036
  title: "订单详情"
2958
3037
  },
@@ -3061,7 +3140,9 @@ const wi = {
3061
3140
  useVoucher: "使用优惠券",
3062
3141
  transferVoucher: "转让优惠券",
3063
3142
  transferExpire: "转让将在{time}后到期",
3064
- notOwner: "您不是此优惠券的所有者。"
3143
+ notOwner: "您不是此优惠券的所有者。",
3144
+ claimSuccess: "成功领取优惠券!",
3145
+ claimFailed: "领取优惠券失败"
3065
3146
  },
3066
3147
  card: {
3067
3148
  bindCard: {
@@ -3182,7 +3263,7 @@ const wi = {
3182
3263
  logoutAction: "退出登录",
3183
3264
  cancelAction: "取消"
3184
3265
  }
3185
- }, Vi = {
3266
+ }, Hi = {
3186
3267
  voucher: {
3187
3268
  validFrom: "有效期自 {date}",
3188
3269
  validTill: "有效期至 {date}",
@@ -3198,8 +3279,8 @@ const wi = {
3198
3279
  }, Ui = {
3199
3280
  user: Ei,
3200
3281
  components: Ni,
3201
- views: Hi,
3202
- utils: Vi
3282
+ views: Vi,
3283
+ utils: Hi
3203
3284
  }, ji = {
3204
3285
  branches: {
3205
3286
  ourOutlets: "我們的門店",
@@ -3297,6 +3378,7 @@ const wi = {
3297
3378
  showMemberQr: "顯示我的會員二維碼",
3298
3379
  memberTier: "會員等級",
3299
3380
  collectMoreExperience: "再收集{count}經驗值即可升級到下一等級。",
3381
+ noTier: "您暫無任何等級",
3300
3382
  maxTier: "您已達到最高等級!",
3301
3383
  unlockLevel: "要解鎖此等級,您需要進行一次交易。",
3302
3384
  congratulations: "恭喜!",
@@ -3572,7 +3654,9 @@ const wi = {
3572
3654
  useVoucher: "使用優惠券",
3573
3655
  transferVoucher: "轉讓優惠券",
3574
3656
  transferExpire: "轉讓將在{time}後到期",
3575
- notOwner: "您不是此優惠券的所有者。"
3657
+ notOwner: "您不是此優惠券的所有者。",
3658
+ claimSuccess: "成功領取優惠券!",
3659
+ claimFailed: "領取優惠券失敗"
3576
3660
  },
3577
3661
  card: {
3578
3662
  bindCard: {
@@ -3785,6 +3869,7 @@ const wi = {
3785
3869
  showMemberQr: "แสดงคิวอาร์สมาชิกของฉัน",
3786
3870
  memberTier: "ระดับสมาชิก",
3787
3871
  collectMoreExperience: "สะสมประสบการณ์อีก {count} เพื่อไประดับถัดไป",
3872
+ noTier: "คุณไม่มีระดับใดในขณะนี้",
3788
3873
  maxTier: "คุณอยู่ในระดับสูงสุดแล้ว!",
3789
3874
  unlockLevel: "เพื่อปลดล็อกระดับนี้ คุณต้องทำธุรกรรม",
3790
3875
  congratulations: "ขอแสดงความยินดี!",
@@ -4061,8 +4146,10 @@ const wi = {
4061
4146
  termsAndConditions: "ข้อกำหนดและเงื่อนไข",
4062
4147
  useVoucher: "ใช้คูปอง",
4063
4148
  transferVoucher: "โอนคูปอง",
4064
- transferExpire: "การโอนหมดอายุใน {time}",
4065
- notOwner: "คุณไม่ใช่เจ้าของคูปองนี้"
4149
+ transferExpire: "การโอนจะหมดอายุใน{time}",
4150
+ notOwner: "คุณไม่ใช่เจ้าของบัตรกำนัลนี้",
4151
+ claimSuccess: "รับบัตรกำนัลสำเร็จแล้ว!",
4152
+ claimFailed: "รับบัตรกำนัลไม่สำเร็จ"
4066
4153
  },
4067
4154
  card: {
4068
4155
  bindCard: {
@@ -4182,12 +4269,12 @@ const wi = {
4182
4269
  {
4183
4270
  path: "/",
4184
4271
  name: "brandkit",
4185
- component: H(() => import("./BrandkitView-BWayOWSf.js"))
4272
+ component: V(() => import("./BrandkitView-BlJhBYi6.js"))
4186
4273
  },
4187
4274
  {
4188
4275
  path: "/projects",
4189
4276
  name: "projects",
4190
- component: H(() => import("./ProjectView-BQGLwc0w.js"))
4277
+ component: V(() => import("./ProjectView-Bq0vBJ3V.js"))
4191
4278
  },
4192
4279
  {
4193
4280
  path: "/builder",
@@ -4196,8 +4283,8 @@ const wi = {
4196
4283
  {
4197
4284
  path: ":templateId(.*)*",
4198
4285
  name: "builder",
4199
- component: H(
4200
- () => import("./BuilderView-BfGBA-IQ.js")
4286
+ component: V(
4287
+ () => import("./BuilderView-Dfl1VhES.js")
4201
4288
  )
4202
4289
  }
4203
4290
  ]
@@ -4205,21 +4292,21 @@ const wi = {
4205
4292
  {
4206
4293
  path: "/settings",
4207
4294
  name: "settings",
4208
- component: H(() => import("./SettingsView-DHA7hXUx.js")),
4295
+ component: V(() => import("./SettingsView-DHA7hXUx.js")),
4209
4296
  redirect: { name: "settings-assets" },
4210
4297
  children: [
4211
4298
  {
4212
4299
  path: "assets",
4213
4300
  name: "settings-assets",
4214
- component: H(
4215
- () => import("./AssetsSettings-VrTm7fqj.js")
4301
+ component: V(
4302
+ () => import("./AssetsSettings-D_E8q7eK.js")
4216
4303
  )
4217
4304
  },
4218
4305
  {
4219
4306
  path: "management",
4220
4307
  name: "settings-management",
4221
- component: H(
4222
- () => import("./ManagementSettings-Dvz3GmOR.js")
4308
+ component: V(
4309
+ () => import("./ManagementSettings-CtvF5d9C.js")
4223
4310
  )
4224
4311
  }
4225
4312
  ]
@@ -4388,13 +4475,13 @@ function an(e) {
4388
4475
  }
4389
4476
  return r && t.push(r), t;
4390
4477
  }
4391
- function Ht(e, t) {
4478
+ function Vt(e, t) {
4392
4479
  const r = {}, i = t.filter((a) => a instanceof RegExp), n = new Set(t);
4393
4480
  for (const a in e)
4394
4481
  !n.has(a) && !i.some((s) => s.test(a)) && (r[a] = e[a]);
4395
4482
  return r;
4396
4483
  }
4397
- function Vt(e, t) {
4484
+ function Ht(e, t) {
4398
4485
  const r = {}, i = t.filter((n) => n instanceof RegExp);
4399
4486
  return t.forEach((n) => {
4400
4487
  n instanceof RegExp || (r[n] = e[n]);
@@ -4402,7 +4489,7 @@ function Vt(e, t) {
4402
4489
  i.some((a) => a.test(n)) && (r[n] = e[n]);
4403
4490
  }), r;
4404
4491
  }
4405
- function Ce(e) {
4492
+ function Te(e) {
4406
4493
  return e.replace(
4407
4494
  /-([a-z0-9])/gi,
4408
4495
  (t, r) => r.toUpperCase()
@@ -4582,7 +4669,7 @@ var Ut = {
4582
4669
  remove: vr,
4583
4670
  filter: hn,
4584
4671
  reduce: yn,
4585
- release: Tn,
4672
+ release: Ln,
4586
4673
  touch: bn
4587
4674
  };
4588
4675
  function fn(e = !1) {
@@ -4601,7 +4688,7 @@ function fn(e = !1) {
4601
4688
  ) : Reflect.get(...l);
4602
4689
  },
4603
4690
  set(l, g, b) {
4604
- return g === "_n" ? (r = b, s === "__n" && Cr(r, o), !0) : g === "_b" ? (n = b, !0) : g === "buffer" ? (i = b, !0) : g === "_r" ? (s = b, !0) : (W(101, r), !1);
4691
+ return g === "_n" ? (r = b, s === "__n" && Tr(r, o), !0) : g === "_b" ? (n = b, !0) : g === "buffer" ? (i = b, !0) : g === "_r" ? (s = b, !0) : (W(101, r), !1);
4605
4692
  }
4606
4693
  });
4607
4694
  return o;
@@ -4662,10 +4749,10 @@ function vn(e, t, r, i, n) {
4662
4749
  } else
4663
4750
  for (const a in i) {
4664
4751
  const s = r.at(a);
4665
- s ? s.store.apply(i[a], n) : Ln(r, t, a, i[a], n);
4752
+ s ? s.store.apply(i[a], n) : Cn(r, t, a, i[a], n);
4666
4753
  }
4667
4754
  }
4668
- function Cn(e, ...t) {
4755
+ function Tn(e, ...t) {
4669
4756
  const r = `${e.name}-set`, i = (n) => /* @__PURE__ */ q({
4670
4757
  key: $t(n),
4671
4758
  type: "error",
@@ -4685,12 +4772,12 @@ function Cn(e, ...t) {
4685
4772
  }
4686
4773
  });
4687
4774
  }
4688
- function Ln(e, t, r, i, n) {
4775
+ function Cn(e, t, r, i, n) {
4689
4776
  var s;
4690
4777
  const a = t._m;
4691
- a.has(r) || a.set(r, []), t._r || (t._r = Cr(e, t)), (s = a.get(r)) == null || s.push([i, n]);
4778
+ a.has(r) || a.set(r, []), t._r || (t._r = Tr(e, t)), (s = a.get(r)) == null || s.push([i, n]);
4692
4779
  }
4693
- function Cr(e, t) {
4780
+ function Tr(e, t) {
4694
4781
  return e.on(
4695
4782
  "child.deep",
4696
4783
  ({ payload: r }) => {
@@ -4702,7 +4789,7 @@ function Cr(e, t) {
4702
4789
  }
4703
4790
  );
4704
4791
  }
4705
- function Tn(e, t) {
4792
+ function Ln(e, t) {
4706
4793
  t.buffer = !1, t._b.forEach(([r, i]) => t.apply(r, i)), t._b = [];
4707
4794
  }
4708
4795
  function wn() {
@@ -4742,12 +4829,12 @@ function Sn(e, t, r, i, n = 0) {
4742
4829
  s.ledger.count(a.name, a.condition), n += s.ledger.value(a.name);
4743
4830
  });
4744
4831
  }
4745
- return Lr(t[r], n).promise;
4832
+ return Cr(t[r], n).promise;
4746
4833
  }
4747
4834
  function $n(e) {
4748
4835
  return typeof e == "function" ? e : (t) => t.type === e;
4749
4836
  }
4750
- function Lr(e, t) {
4837
+ function Cr(e, t) {
4751
4838
  const r = e.count, i = e.count + t;
4752
4839
  return e.count = i, r === 0 && i !== 0 ? (e.node.emit(`unsettled:${e.name}`, e.count, !1), e.promise = new Promise((n) => e.resolve = n)) : r !== 0 && i === 0 && (e.node.emit(`settled:${e.name}`, e.count, !1), e.resolve()), e.node.emit(`count:${e.name}`, e.count, !1), e;
4753
4840
  }
@@ -4755,7 +4842,7 @@ function jt(e, t) {
4755
4842
  return (r) => {
4756
4843
  for (const i in e) {
4757
4844
  const n = e[i];
4758
- n.condition(r.payload) && Lr(n, t);
4845
+ n.condition(r.payload) && Cr(n, t);
4759
4846
  }
4760
4847
  };
4761
4848
  }
@@ -4815,7 +4902,7 @@ function Pn(e = {}) {
4815
4902
  }
4816
4903
  });
4817
4904
  }
4818
- function Tr(e, t) {
4905
+ function Lr(e, t) {
4819
4906
  const r = (t || document).getElementById(e);
4820
4907
  if (r instanceof HTMLFormElement) {
4821
4908
  const i = new Event("submit", { cancelable: !0, bubbles: !0 });
@@ -4859,7 +4946,7 @@ var Mn = {
4859
4946
  locale: "en",
4860
4947
  rootClasses: (e) => ({ [`formkit-${hr(e)}`]: !0 })
4861
4948
  }, Sr = Symbol("index"), bt = Symbol("removed"), ht = Symbol("moved"), $r = Symbol("inserted");
4862
- function In(e) {
4949
+ function Dn(e) {
4863
4950
  return e.type === "list" && Array.isArray(e._value);
4864
4951
  }
4865
4952
  function Ee(e) {
@@ -4867,45 +4954,45 @@ function Ee(e) {
4867
4954
  }
4868
4955
  var We = (e, t, r) => {
4869
4956
  W(102, [e, r]);
4870
- }, Dn = {
4871
- _c: I(ea, We, !1),
4872
- add: I(zn),
4873
- addProps: I(qn),
4874
- address: I(ra, We, !1),
4875
- at: I(ia),
4876
- bubble: I(pn),
4877
- clearErrors: I(da),
4878
- calm: I(jn),
4879
- config: I(!1),
4880
- define: I(Wn),
4881
- disturb: I(Un),
4882
- destroy: I(Bn),
4883
- extend: I(fa),
4884
- hydrate: I(Hn),
4885
- index: I(Xn, Zn, !1),
4886
- input: I(Ar),
4887
- each: I(Kn),
4888
- emit: I(cn),
4889
- find: I(aa),
4890
- on: I(dn),
4891
- off: I(mn),
4892
- parent: I(!1, Yn),
4893
- plugins: I(!1),
4894
- remove: I(Gn),
4895
- root: I(oa, We, !1),
4896
- reset: I(ca),
4897
- resetConfig: I(Jn),
4898
- setErrors: I(pa),
4899
- submit: I(ua),
4900
- t: I(la),
4901
- use: I(Mt),
4902
- name: I(ta, !1, !1),
4903
- walk: I(Qn)
4957
+ }, In = {
4958
+ _c: D(ea, We, !1),
4959
+ add: D(zn),
4960
+ addProps: D(qn),
4961
+ address: D(ra, We, !1),
4962
+ at: D(ia),
4963
+ bubble: D(pn),
4964
+ clearErrors: D(da),
4965
+ calm: D(jn),
4966
+ config: D(!1),
4967
+ define: D(Wn),
4968
+ disturb: D(Un),
4969
+ destroy: D(Bn),
4970
+ extend: D(fa),
4971
+ hydrate: D(Vn),
4972
+ index: D(Xn, Zn, !1),
4973
+ input: D(Ar),
4974
+ each: D(Kn),
4975
+ emit: D(cn),
4976
+ find: D(aa),
4977
+ on: D(dn),
4978
+ off: D(mn),
4979
+ parent: D(!1, Yn),
4980
+ plugins: D(!1),
4981
+ remove: D(Gn),
4982
+ root: D(oa, We, !1),
4983
+ reset: D(ca),
4984
+ resetConfig: D(Jn),
4985
+ setErrors: D(pa),
4986
+ submit: D(ua),
4987
+ t: D(la),
4988
+ use: D(Mt),
4989
+ name: D(ta, !1, !1),
4990
+ walk: D(Qn)
4904
4991
  };
4905
4992
  function Rn() {
4906
- return new Map(Object.entries(Dn));
4993
+ return new Map(Object.entries(In));
4907
4994
  }
4908
- function I(e, t, r = !0) {
4995
+ function D(e, t, r = !0) {
4909
4996
  return {
4910
4997
  get: e ? (i, n) => r ? (...a) => e(i, n, ...a) : e(i, n) : !1,
4911
4998
  set: t !== void 0 ? t : We.bind(null)
@@ -4955,7 +5042,7 @@ function Ge(e, t, r = !0, i = !0) {
4955
5042
  }
4956
5043
  function Pr(e, { name: t, value: r, from: i }) {
4957
5044
  if (!Object.isFrozen(e._value)) {
4958
- if (In(e)) {
5045
+ if (Dn(e)) {
4959
5046
  const n = r === bt ? [] : r === ht && typeof i == "number" ? e._value.splice(i, 1) : [r];
4960
5047
  e._value.splice(
4961
5048
  t,
@@ -4967,9 +5054,9 @@ function Pr(e, { name: t, value: r, from: i }) {
4967
5054
  r !== bt ? e._value[t] = r : delete e._value[t];
4968
5055
  }
4969
5056
  }
4970
- function Hn(e, t) {
5057
+ function Vn(e, t) {
4971
5058
  const r = t._value;
4972
- return e.type === "list" && e.sync && Vn(e, t), t.children.forEach((i) => {
5059
+ return e.type === "list" && e.sync && Hn(e, t), t.children.forEach((i) => {
4973
5060
  if (typeof r == "object")
4974
5061
  if (i.name in r) {
4975
5062
  const n = i.type !== "input" || r[i.name] && typeof r[i.name] == "object" ? _e(r[i.name]) : r[i.name];
@@ -4980,7 +5067,7 @@ function Hn(e, t) {
4980
5067
  (e.type !== "list" || typeof i.name == "number") && Pr(t, { name: i.name, value: i.value }), r.__init || (i.type === "group" ? i.input({}, !1) : i.type === "list" ? i.input([], !1) : i.input(void 0, !1));
4981
5068
  }), e;
4982
5069
  }
4983
- function Vn(e, t) {
5070
+ function Hn(e, t) {
4984
5071
  const r = e._value;
4985
5072
  if (!Array.isArray(r))
4986
5073
  return;
@@ -5057,7 +5144,7 @@ function qn(e, t, r) {
5057
5144
  const s = { ...e.props.attrs };
5058
5145
  e.props._emit = !1;
5059
5146
  for (const l in s) {
5060
- const g = Ce(l);
5147
+ const g = Te(l);
5061
5148
  i.includes(g) && (e.props[g] = s[l], delete s[l]);
5062
5149
  }
5063
5150
  Array.isArray(r) || i.forEach((l) => {
@@ -5259,14 +5346,14 @@ function ua(e) {
5259
5346
  break;
5260
5347
  e.parent || W(106, t), e = e.parent;
5261
5348
  } while (e);
5262
- e.props.id && Tr(e.props.id, e.props.__root);
5349
+ e.props.id && Lr(e.props.id, e.props.__root);
5263
5350
  }
5264
5351
  function ca(e, t, r) {
5265
5352
  return wr(e, r);
5266
5353
  }
5267
5354
  function pa(e, t, r, i) {
5268
5355
  const n = `${e.name}-set`, a = e.hook.setErrors.dispatch({ localErrors: r, childErrors: i });
5269
- return Cn(e, a.localErrors, a.childErrors).forEach(
5356
+ return Tn(e, a.localErrors, a.childErrors).forEach(
5270
5357
  (s) => {
5271
5358
  e.store.apply(s, (o) => o.meta.source === n);
5272
5359
  }
@@ -5387,7 +5474,7 @@ function ya(e) {
5387
5474
  function va(e) {
5388
5475
  return "__FKP" in e;
5389
5476
  }
5390
- function Ca(e) {
5477
+ function Ta(e) {
5391
5478
  const t = e || {}, r = ba(t), i = new Proxy(r, {
5392
5479
  get(...n) {
5393
5480
  const [, a] = n;
@@ -5406,22 +5493,22 @@ function Ca(e) {
5406
5493
  function vt(e) {
5407
5494
  return typeof e != "string" && k(e, "$el");
5408
5495
  }
5409
- function Ct(e) {
5496
+ function Tt(e) {
5410
5497
  return typeof e != "string" && k(e, "$cmp");
5411
5498
  }
5412
5499
  function ye(e) {
5413
5500
  return !e || typeof e == "string" ? !1 : k(e, "if") && k(e, "then");
5414
5501
  }
5415
- function La(e) {
5502
+ function Ca(e) {
5416
5503
  return typeof e != "string" && "$formkit" in e;
5417
5504
  }
5418
- function Ta(e) {
5505
+ function La(e) {
5419
5506
  if (typeof e == "string")
5420
5507
  return {
5421
5508
  $el: "text",
5422
5509
  children: e
5423
5510
  };
5424
- if (La(e)) {
5511
+ if (Ca(e)) {
5425
5512
  const {
5426
5513
  $formkit: t,
5427
5514
  for: r,
@@ -5472,68 +5559,68 @@ function K(e) {
5472
5559
  "%": (p, m, f) => i(p, f) % i(m, f)
5473
5560
  }
5474
5561
  ], a = n.reduce((p, m) => p.concat(Object.keys(m)), []), s = new Set(a.map((p) => p.charAt(0)));
5475
- function o(p, m, f, L) {
5476
- const S = p.filter((C) => C.startsWith(m));
5477
- return S.length ? S.find((C) => L.length >= f + C.length && L.substring(f, f + C.length) === C ? C : !1) : !1;
5562
+ function o(p, m, f, C) {
5563
+ const S = p.filter((T) => T.startsWith(m));
5564
+ return S.length ? S.find((T) => C.length >= f + T.length && C.substring(f, f + T.length) === T ? T : !1) : !1;
5478
5565
  }
5479
5566
  function l(p, m, f = 1) {
5480
- let L = f ? m.substring(p + 1).trim() : m.substring(0, p).trim();
5481
- if (!L.length)
5567
+ let C = f ? m.substring(p + 1).trim() : m.substring(0, p).trim();
5568
+ if (!C.length)
5482
5569
  return -1;
5483
5570
  if (!f) {
5484
- const C = L.split("").reverse(), T = C.findIndex((u) => s.has(u));
5485
- L = C.slice(T).join("");
5571
+ const T = C.split("").reverse(), L = T.findIndex((u) => s.has(u));
5572
+ C = T.slice(L).join("");
5486
5573
  }
5487
- const S = L[0];
5488
- return n.findIndex((C) => {
5489
- const T = Object.keys(C);
5490
- return !!o(T, S, 0, L);
5574
+ const S = C[0];
5575
+ return n.findIndex((T) => {
5576
+ const L = Object.keys(T);
5577
+ return !!o(L, S, 0, C);
5491
5578
  });
5492
5579
  }
5493
5580
  function g(p, m) {
5494
5581
  let f = "";
5495
- const L = m.length;
5582
+ const C = m.length;
5496
5583
  let S = 0;
5497
- for (let C = p; C < L; C++) {
5498
- const T = m.charAt(C);
5499
- if (T === "(")
5584
+ for (let T = p; T < C; T++) {
5585
+ const L = m.charAt(T);
5586
+ if (L === "(")
5500
5587
  S++;
5501
- else if (T === ")")
5588
+ else if (L === ")")
5502
5589
  S--;
5503
- else if (S === 0 && T === " ")
5590
+ else if (S === 0 && L === " ")
5504
5591
  continue;
5505
- if (S === 0 && o(a, T, C, m))
5506
- return [f, C - 1];
5507
- f += T;
5592
+ if (S === 0 && o(a, L, T, m))
5593
+ return [f, T - 1];
5594
+ f += L;
5508
5595
  }
5509
5596
  return [f, m.length - 1];
5510
5597
  }
5511
5598
  function b(p, m = 0) {
5512
- const f = n[m], L = p.length, S = Object.keys(f);
5513
- let C = 0, T = !1, u = null, d = "", A = null, D, R = "", M = "", c = "", w = "", _ = 0;
5599
+ const f = n[m], C = p.length, S = Object.keys(f);
5600
+ let T = 0, L = !1, u = null, d = "", A = null, I, R = "", M = "", c = "", w = "", _ = 0;
5514
5601
  const O = (F, E) => {
5515
5602
  F ? c += E : d += E;
5516
5603
  };
5517
- for (let F = 0; F < L; F++)
5518
- if (R = M, M = p.charAt(F), (M === "'" || M === '"') && R !== "\\" && (C === 0 && !T || C && !w)) {
5519
- C ? w = M : T = M, O(C, M);
5604
+ for (let F = 0; F < C; F++)
5605
+ if (R = M, M = p.charAt(F), (M === "'" || M === '"') && R !== "\\" && (T === 0 && !L || T && !w)) {
5606
+ T ? w = M : L = M, O(T, M);
5520
5607
  continue;
5521
- } else if (T && (M !== T || R === "\\") || w && (M !== w || R === "\\")) {
5522
- O(C, M);
5608
+ } else if (L && (M !== L || R === "\\") || w && (M !== w || R === "\\")) {
5609
+ O(T, M);
5523
5610
  continue;
5524
- } else if (T === M) {
5525
- T = !1, O(C, M);
5611
+ } else if (L === M) {
5612
+ L = !1, O(T, M);
5526
5613
  continue;
5527
5614
  } else if (w === M) {
5528
- w = !1, O(C, M);
5615
+ w = !1, O(T, M);
5529
5616
  continue;
5530
5617
  } else {
5531
5618
  if (M === " ")
5532
5619
  continue;
5533
5620
  if (M === "(")
5534
- C === 0 ? _ = F : c += M, C++;
5621
+ T === 0 ? _ = F : c += M, T++;
5535
5622
  else if (M === ")")
5536
- if (C--, C === 0) {
5623
+ if (T--, T === 0) {
5537
5624
  const E = typeof d == "string" && d.startsWith("$") ? d : void 0, pe = E && p.charAt(F + 1) === ".";
5538
5625
  let Z = "";
5539
5626
  pe && ([Z, F] = g(F + 2, p));
@@ -5541,34 +5628,34 @@ function K(e) {
5541
5628
  be === -1 && de === -1 ? (d = y(c, -1, E, Z), typeof d == "string" && (d = c)) : u && (be >= de || de === -1) && m === be ? (A = u.bind(null, y(c, -1, E, Z)), u = null, d = "") : de > be && m === de ? d = y(c, -1, E, Z) : d += `(${c})${pe ? `.${Z}` : ""}`, c = "";
5542
5629
  } else
5543
5630
  c += M;
5544
- else if (C === 0 && (D = o(S, M, F, p))) {
5545
- F === 0 && W(103, [D, p]), F += D.length - 1, F === p.length - 1 && W(104, [D, p]), u ? d && (A = u.bind(null, y(d, m)), u = f[D].bind(null, A), d = "") : A ? (u = f[D].bind(null, y(A, m)), A = null) : (u = f[D].bind(null, y(d, m)), d = "");
5631
+ else if (T === 0 && (I = o(S, M, F, p))) {
5632
+ F === 0 && W(103, [I, p]), F += I.length - 1, F === p.length - 1 && W(104, [I, p]), u ? d && (A = u.bind(null, y(d, m)), u = f[I].bind(null, A), d = "") : A ? (u = f[I].bind(null, y(A, m)), A = null) : (u = f[I].bind(null, y(d, m)), d = "");
5546
5633
  continue;
5547
5634
  } else
5548
- O(C, M);
5635
+ O(T, M);
5549
5636
  }
5550
5637
  return d && u && (u = u.bind(null, y(d, m))), u = !u && A ? A : u, !u && d && (u = (F, E) => typeof F == "function" ? F(E) : F, u = u.bind(null, y(d, m))), !u && !d && W(105, p), u;
5551
5638
  }
5552
- function y(p, m, f, L) {
5639
+ function y(p, m, f, C) {
5553
5640
  if (f) {
5554
5641
  const S = y(f, n.length);
5555
- let C, T = L ? K(`$${L}`) : !1;
5642
+ let T, L = C ? K(`$${C}`) : !1;
5556
5643
  if (typeof S == "function") {
5557
5644
  const u = an(String(p)).map(
5558
5645
  (d) => y(d, -1)
5559
5646
  );
5560
5647
  return (d) => {
5561
5648
  const A = S(d);
5562
- return typeof A != "function" ? (ge(150, f), A) : (C = A(
5649
+ return typeof A != "function" ? (ge(150, f), A) : (T = A(
5563
5650
  ...u.map(
5564
- (D) => typeof D == "function" ? D(d) : D
5651
+ (I) => typeof I == "function" ? I(d) : I
5565
5652
  )
5566
- ), T && (T = T.provide((D) => {
5567
- const R = t(D);
5568
- return D.reduce(
5653
+ ), L && (L = L.provide((I) => {
5654
+ const R = t(I);
5655
+ return I.reduce(
5569
5656
  (c, w) => {
5570
- if (w === L || (L == null ? void 0 : L.startsWith(`${w}(`))) {
5571
- const O = sn(C, w);
5657
+ if (w === C || (C == null ? void 0 : C.startsWith(`${w}(`))) {
5658
+ const O = sn(T, w);
5572
5659
  c[w] = () => O;
5573
5660
  } else
5574
5661
  c[w] = R[w];
@@ -5576,7 +5663,7 @@ function K(e) {
5576
5663
  },
5577
5664
  {}
5578
5665
  );
5579
- })), T ? T() : C);
5666
+ })), L ? L() : T);
5580
5667
  };
5581
5668
  }
5582
5669
  } else if (typeof p == "string") {
@@ -5594,8 +5681,8 @@ function K(e) {
5594
5681
  return b(p, m + 1);
5595
5682
  if (p.startsWith("$")) {
5596
5683
  const S = p.substring(1);
5597
- return r.add(S), function(T) {
5598
- return S in T ? T[S]() : void 0;
5684
+ return r.add(S), function(L) {
5685
+ return S in L ? L[S]() : void 0;
5599
5686
  };
5600
5687
  }
5601
5688
  return p;
@@ -5654,7 +5741,7 @@ function $a(e, t = !0) {
5654
5741
  const r = Oe(e);
5655
5742
  r ? r.clearErrors(t) : ge(652, e);
5656
5743
  }
5657
- var Ke = "1.6.9", Ir = /* @__PURE__ */ new WeakSet();
5744
+ var Ke = "1.6.9", Dr = /* @__PURE__ */ new WeakSet();
5658
5745
  function nt(e, t) {
5659
5746
  const r = t || Object.assign(/* @__PURE__ */ new Map(), { active: !1 }), i = /* @__PURE__ */ new Map(), n = function(b) {
5660
5747
  var y;
@@ -5699,7 +5786,7 @@ function nt(e, t) {
5699
5786
  return i;
5700
5787
  case "kill":
5701
5788
  return () => {
5702
- Rr(i), Ir.add(b[2]), g();
5789
+ Rr(i), Dr.add(b[2]), g();
5703
5790
  };
5704
5791
  }
5705
5792
  const y = Reflect.get(...b);
@@ -5711,7 +5798,7 @@ function nt(e, t) {
5711
5798
  });
5712
5799
  return l;
5713
5800
  }
5714
- function Dr(e, [t, r], i, n) {
5801
+ function Ir(e, [t, r], i, n) {
5715
5802
  t.forEach((a, s) => {
5716
5803
  a.forEach((o) => {
5717
5804
  e.receipts.has(s) || e.receipts.set(s, {});
@@ -5736,7 +5823,7 @@ function Rr(e) {
5736
5823
  function Fr(e, t, r, i) {
5737
5824
  const n = (o) => {
5738
5825
  const l = e.stopObserve();
5739
- Dr(
5826
+ Ir(
5740
5827
  e,
5741
5828
  Or(a, l),
5742
5829
  () => Fr(e, t, r, i),
@@ -5769,8 +5856,8 @@ function Or(e, t) {
5769
5856
  }
5770
5857
  }), [r, i];
5771
5858
  }
5772
- function It(e) {
5773
- return Ir.has(e);
5859
+ function Dt(e) {
5860
+ return Dr.has(e);
5774
5861
  }
5775
5862
  var Er = function({ value: t }) {
5776
5863
  return ["yes", "on", "1", 1, !0, "true"].includes(t);
@@ -5788,13 +5875,13 @@ var _a = Er, ka = function({ value: e }, t = !1) {
5788
5875
  return !1;
5789
5876
  const r = Date.parse(String(e.value)), i = Date.parse(String((n = e.at(t)) == null ? void 0 : n.value));
5790
5877
  return isNaN(i) ? !0 : isNaN(r) ? !1 : r > i;
5791
- }, Ia = Ma, Da = function({ value: e }, t = "default") {
5878
+ }, Da = Ma, Ia = function({ value: e }, t = "default") {
5792
5879
  const r = {
5793
5880
  default: new RegExp("^\\p{L}+$", "u"),
5794
5881
  latin: /^[a-z]+$/i
5795
5882
  }, i = k(r, t) ? t : "default";
5796
5883
  return r[i].test(String(e));
5797
- }, Ra = Da, Fa = function({ value: e }, t = "default") {
5884
+ }, Ra = Ia, Fa = function({ value: e }, t = "default") {
5798
5885
  const r = {
5799
5886
  default: /^[\p{L} ]+$/u,
5800
5887
  latin: /^[a-z ]+$/i
@@ -5806,10 +5893,10 @@ var _a = Er, ka = function({ value: e }, t = !1) {
5806
5893
  latin: /^[0-9a-z]+$/i
5807
5894
  }, i = k(r, t) ? t : "default";
5808
5895
  return r[i].test(String(e));
5809
- }, Na = Ea, Ha = function({ value: e }, t = !1) {
5896
+ }, Na = Ea, Va = function({ value: e }, t = !1) {
5810
5897
  const r = Date.parse(t || /* @__PURE__ */ new Date()), i = Date.parse(String(e));
5811
5898
  return isNaN(i) ? !1 : i < r;
5812
- }, Va = Ha, Ua = function(e, t) {
5899
+ }, Ha = Va, Ua = function(e, t) {
5813
5900
  var n;
5814
5901
  if (!t)
5815
5902
  return !1;
@@ -5891,7 +5978,7 @@ var _a = Er, ka = function({ value: e }, t = !1) {
5891
5978
  return s >= n && s <= a;
5892
5979
  }
5893
5980
  return !1;
5894
- }, Cs = vs, Ls = function({ value: e }, t = "default") {
5981
+ }, Ts = vs, Cs = function({ value: e }, t = "default") {
5895
5982
  const r = {
5896
5983
  default: new RegExp("^\\p{Ll}+$", "u"),
5897
5984
  allow_non_alpha: /^[0-9\p{Ll}!-/:-@[-`{-~]+$/u,
@@ -5900,7 +5987,7 @@ var _a = Er, ka = function({ value: e }, t = !1) {
5900
5987
  latin: /^[a-z]+$/
5901
5988
  }, i = k(r, t) ? t : "default";
5902
5989
  return r[i].test(String(e));
5903
- }, Ts = Ls, ws = function({ value: t }, ...r) {
5990
+ }, Ls = Cs, ws = function({ value: t }, ...r) {
5904
5991
  return r.some((i) => (typeof i == "string" && i.substr(0, 1) === "/" && i.substr(-1) === "/" && (i = new RegExp(i.substr(1, i.length - 2))), i instanceof RegExp ? i.test(String(t)) : i === t));
5905
5992
  }, Ss = ws, $s = function({ value: t }, r = 10) {
5906
5993
  return Array.isArray(t) ? t.length <= r : Number(t) <= Number(r);
@@ -5910,28 +5997,28 @@ var _a = Er, ka = function({ value: e }, t = !1) {
5910
5997
  return !r.some((i) => typeof i == "object" ? U(i, t) : i === t);
5911
5998
  }, xs = Ps, Ms = function({ value: t }) {
5912
5999
  return !isNaN(t);
5913
- }, Is = Ms, Nr = function(e, ...t) {
6000
+ }, Ds = Ms, Nr = function(e, ...t) {
5914
6001
  return G(e.value) ? t.map((i) => {
5915
6002
  var n;
5916
6003
  return (n = e.at(i)) == null ? void 0 : n.value;
5917
6004
  }).some((i) => !G(i)) : !0;
5918
6005
  };
5919
6006
  Nr.skipEmpty = !1;
5920
- var Ds = Nr, Hr = function({ value: t }, r = "default") {
6007
+ var Is = Nr, Vr = function({ value: t }, r = "default") {
5921
6008
  return r === "trim" && typeof t == "string" ? !G(t.trim()) : !G(t);
5922
6009
  };
5923
- Hr.skipEmpty = !1;
5924
- var Rs = Hr, Fs = function({ value: t }, ...r) {
6010
+ Vr.skipEmpty = !1;
6011
+ var Rs = Vr, Fs = function({ value: t }, ...r) {
5925
6012
  return typeof t == "string" && r.length ? r.some((i) => t.startsWith(i)) : typeof t == "string" && r.length === 0;
5926
6013
  }, Os = Fs, Es = function({ value: e }) {
5927
6014
  return /^[!-/:-@[-`{-~]+$/.test(String(e));
5928
- }, Ns = Es, Hs = function({ value: e }, t = "default") {
6015
+ }, Ns = Es, Vs = function({ value: e }, t = "default") {
5929
6016
  const r = {
5930
6017
  default: new RegExp("^\\p{Lu}+$", "u"),
5931
6018
  latin: /^[A-Z]+$/
5932
6019
  }, i = k(r, t) ? t : "default";
5933
6020
  return r[i].test(String(e));
5934
- }, Vs = Hs, Us = function({ value: t }, ...r) {
6021
+ }, Hs = Vs, Us = function({ value: t }, ...r) {
5935
6022
  try {
5936
6023
  const i = r.length ? r : ["http:", "https:"], n = new URL(String(t));
5937
6024
  return i.includes(n.protocol);
@@ -5955,9 +6042,9 @@ const Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5955
6042
  contains_symbol: ss,
5956
6043
  contains_uppercase: ls,
5957
6044
  date_after: Aa,
5958
- date_after_node: Ia,
6045
+ date_after_node: Da,
5959
6046
  date_after_or_equal: xa,
5960
- date_before: Va,
6047
+ date_before: Ha,
5961
6048
  date_before_node: ja,
5962
6049
  date_before_or_equal: Wa,
5963
6050
  date_between: cs,
@@ -5965,21 +6052,21 @@ const Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5965
6052
  email: fs,
5966
6053
  ends_with: bs,
5967
6054
  is: ys,
5968
- length: Cs,
5969
- lowercase: Ts,
6055
+ length: Ts,
6056
+ lowercase: Ls,
5970
6057
  matches: Ss,
5971
6058
  max: _s,
5972
6059
  min: As,
5973
6060
  not: xs,
5974
- number: Is,
5975
- require_one: Ds,
6061
+ number: Ds,
6062
+ require_one: Is,
5976
6063
  required: Rs,
5977
6064
  starts_with: Os,
5978
6065
  symbol: Ns,
5979
- uppercase: Vs,
6066
+ uppercase: Hs,
5980
6067
  url: js
5981
6068
  }, Symbol.toStringTag, { value: "Module" }));
5982
- var Lt = /* @__PURE__ */ q({
6069
+ var Ct = /* @__PURE__ */ q({
5983
6070
  type: "state",
5984
6071
  blocking: !0,
5985
6072
  visible: !1,
@@ -5998,14 +6085,14 @@ function Ws(e = {}) {
5998
6085
  function o(l, g) {
5999
6086
  var b;
6000
6087
  U(Object.keys(i || {}), Object.keys(g || {})) && U(s, l) || (i = Y(g), s = Y(l), n = { ...e, ...i }, (b = r.props.parsedRules) == null || b.forEach((y) => {
6001
- Vr(y), Rr(y.observer.receipts), y.observer.kill();
6002
- }), r.store.filter(() => !1, "validation"), r.props.parsedRules = zt(l, n, r), a.isPassing = !0, Tt(r, r.props.parsedRules, a));
6088
+ Hr(y), Rr(y.observer.receipts), y.observer.kill();
6089
+ }), r.store.filter(() => !1, "validation"), r.props.parsedRules = zt(l, n, r), a.isPassing = !0, Lt(r, r.props.parsedRules, a));
6003
6090
  }
6004
- r.props.parsedRules = zt(s, n, r), Tt(r, r.props.parsedRules, a);
6091
+ r.props.parsedRules = zt(s, n, r), Lt(r, r.props.parsedRules, a);
6005
6092
  };
6006
6093
  }
6007
- function Tt(e, t, r) {
6008
- It(e) || (r.input = Ae(), e.store.set(
6094
+ function Lt(e, t, r) {
6095
+ Dt(e) || (r.input = Ae(), e.store.set(
6009
6096
  /* @__PURE__ */ q({
6010
6097
  key: "failing",
6011
6098
  value: !r.isPassing,
@@ -6013,8 +6100,8 @@ function Tt(e, t, r) {
6013
6100
  })
6014
6101
  ), r.isPassing = !0, e.store.filter((i) => !i.meta.removeImmediately, "validation"), t.forEach(
6015
6102
  (i) => i.debounce && clearTimeout(i.timer)
6016
- ), t.length && (e.store.set(Lt), wt(0, t, r, !1, () => {
6017
- e.store.remove(Lt.key), e.store.set(
6103
+ ), t.length && (e.store.set(Ct), wt(0, t, r, !1, () => {
6104
+ e.store.remove(Ct.key), e.store.set(
6018
6105
  /* @__PURE__ */ q({
6019
6106
  key: "failing",
6020
6107
  value: !r.isPassing,
@@ -6028,7 +6115,7 @@ function wt(e, t, r, i, n) {
6028
6115
  if (!a)
6029
6116
  return n();
6030
6117
  const s = a.observer;
6031
- if (It(s))
6118
+ if (Dt(s))
6032
6119
  return;
6033
6120
  const o = r.input;
6034
6121
  a.state = null;
@@ -6037,16 +6124,16 @@ function wt(e, t, r, i, n) {
6037
6124
  return;
6038
6125
  r.isPassing = r.isPassing && !!b, a.queued = !1;
6039
6126
  const y = s.stopObserve(), P = Or(a.deps, y);
6040
- if (Dr(
6127
+ if (Ir(
6041
6128
  s,
6042
6129
  P,
6043
6130
  function() {
6044
6131
  try {
6045
- s.store.set(Lt);
6132
+ s.store.set(Ct);
6046
6133
  } catch {
6047
6134
  }
6048
6135
  a.queued = !0, r.rerun && clearTimeout(r.rerun), r.rerun = setTimeout(
6049
- Tt,
6136
+ Lt,
6050
6137
  0,
6051
6138
  s,
6052
6139
  t,
@@ -6055,7 +6142,7 @@ function wt(e, t, r, i, n) {
6055
6142
  },
6056
6143
  "unshift"
6057
6144
  // We want these listeners to run before other events are emitted so the 'state.validating' will be reliable.
6058
- ), a.deps = y, a.state = b, b === !1 ? zs(a, i || g) : Vr(a), t.length > e + 1) {
6145
+ ), a.deps = y, a.state = b, b === !1 ? zs(a, i || g) : Hr(a), t.length > e + 1) {
6059
6146
  const h = t[e + 1];
6060
6147
  (b || h.force || !h.skipEmpty) && h.state === null && (h.queued = !0), wt(e + 1, t, r, i || g, n);
6061
6148
  } else
@@ -6070,13 +6157,13 @@ function qs(e, t, r) {
6070
6157
  t.observe(), r(e.rule(t, ...e.args));
6071
6158
  }, e.debounce) : (t.observe(), r(e.rule(t, ...e.args)));
6072
6159
  }
6073
- function Vr(e) {
6160
+ function Hr(e) {
6074
6161
  const t = `rule_${e.name}`;
6075
6162
  e.messageObserver && (e.messageObserver = e.messageObserver.kill()), k(e.observer.store, t) && e.observer.store.remove(t);
6076
6163
  }
6077
6164
  function zs(e, t) {
6078
6165
  const r = e.observer;
6079
- It(r) || (e.messageObserver || (e.messageObserver = nt(r._node)), e.messageObserver.watch(
6166
+ Dt(r) || (e.messageObserver || (e.messageObserver = nt(r._node)), e.messageObserver.watch(
6080
6167
  (i) => Gs(
6081
6168
  i,
6082
6169
  e
@@ -6591,7 +6678,7 @@ function lo(...e) {
6591
6678
  ), r = () => {
6592
6679
  };
6593
6680
  return r.library = function(i) {
6594
- const n = Ce(i.props.type);
6681
+ const n = Te(i.props.type);
6595
6682
  k(t, n) && i.define(t[n]);
6596
6683
  }, r;
6597
6684
  }
@@ -6668,7 +6755,7 @@ function fe(e, t, r = !1) {
6668
6755
  function ke(e, t) {
6669
6756
  return e === null && t === void 0 || e === void 0 && t === null ? !1 : e == t ? !0 : Se(e) && Se(t) ? U(e, t) : !1;
6670
6757
  }
6671
- function Dt(e) {
6758
+ function It(e) {
6672
6759
  e.hook.prop((t, r) => {
6673
6760
  var i;
6674
6761
  return t.prop === "options" && (typeof t.value == "function" ? (e.props.optionsLoader = t.value, t.value = []) : ((i = e.props)._normalizeCounter ?? (i._normalizeCounter = { count: 1 }), t.value = Wr(t.value, e.props._normalizeCounter))), r(t);
@@ -6679,7 +6766,7 @@ function $(e, t, r = !1) {
6679
6766
  return (...i) => {
6680
6767
  const n = (a) => {
6681
6768
  const s = !t || typeof t == "string" ? { $el: t } : t();
6682
- return (vt(s) || Ct(s)) && (s.meta ? s.meta.section = e : s.meta = { section: e }, i.length && !s.children && (s.children = [
6769
+ return (vt(s) || Tt(s)) && (s.meta ? s.meta.section = e : s.meta = { section: e }, i.length && !s.children && (s.children = [
6683
6770
  ...i.map(
6684
6771
  (o) => typeof o == "function" ? o(a) : o
6685
6772
  )
@@ -6853,7 +6940,7 @@ var po = /* @__PURE__ */ $("actions", () => ({
6853
6940
  }
6854
6941
  }
6855
6942
  };
6856
- }))(), Ne = /* @__PURE__ */ $("inner", "div"), He = /* @__PURE__ */ $("label", () => ({
6943
+ }))(), Ne = /* @__PURE__ */ $("inner", "div"), Ve = /* @__PURE__ */ $("label", () => ({
6857
6944
  $el: "label",
6858
6945
  if: "$label",
6859
6946
  attrs: {
@@ -6873,10 +6960,10 @@ var po = /* @__PURE__ */ $("actions", () => ({
6873
6960
  })), ue = /* @__PURE__ */ $("messages", () => ({
6874
6961
  $el: "ul",
6875
6962
  if: "$defaultMessagePlacement && $fns.length($messages)"
6876
- })), Co = /* @__PURE__ */ $("noFiles", () => ({
6963
+ })), To = /* @__PURE__ */ $("noFiles", () => ({
6877
6964
  $el: "span",
6878
6965
  if: "$value == null || $value.length == 0"
6879
- })), Lo = /* @__PURE__ */ $("optGroup", () => ({
6966
+ })), Co = /* @__PURE__ */ $("optGroup", () => ({
6880
6967
  $el: "optgroup",
6881
6968
  bind: "$option.attrs",
6882
6969
  attrs: {
@@ -6916,7 +7003,7 @@ var po = /* @__PURE__ */ $("actions", () => ({
6916
7003
  "data-prefix-icon-click": "$onPrefixIconClick !== undefined || undefined",
6917
7004
  "data-suffix-icon-click": "$onSuffixIconClick !== undefined || undefined"
6918
7005
  }
6919
- })), te = /* @__PURE__ */ $("prefix", null), To = /* @__PURE__ */ $("input", () => ({
7006
+ })), te = /* @__PURE__ */ $("prefix", null), Lo = /* @__PURE__ */ $("input", () => ({
6920
7007
  $el: "select",
6921
7008
  bind: "$attrs",
6922
7009
  attrs: {
@@ -7010,7 +7097,7 @@ function Po(e) {
7010
7097
  (t = e.context) != null && t.handlers && (e.context.handlers.toggleChecked = ko.bind(null, e)), (r = e.context) != null && r.fns && (e.context.fns.isChecked = Ao.bind(null, e)), k(e.props, "onValue") || (e.props.onValue = !0), k(e.props, "offValue") || (e.props.offValue = !1);
7011
7098
  }), e.hook.prop(Zr(e));
7012
7099
  }
7013
- function Le(e, t) {
7100
+ function Ce(e, t) {
7014
7101
  return (r) => {
7015
7102
  r.props[`${e}Icon`] === void 0 && (r.props[`${e}Icon`] = t.startsWith("<svg") ? t : `default:${t}`);
7016
7103
  };
@@ -7120,7 +7207,7 @@ function ei(e) {
7120
7207
  })
7121
7208
  );
7122
7209
  }
7123
- function Io(e) {
7210
+ function Do(e) {
7124
7211
  var t;
7125
7212
  e.props.isForm = !0, e.ledger.count("validating", (r) => r.key === "validating"), (t = e.props).submitAttrs ?? (t.submitAttrs = {
7126
7213
  disabled: e.props.disabled
@@ -7133,7 +7220,7 @@ function Io(e) {
7133
7220
  e.store.incomplete && ei(e);
7134
7221
  }), e.on("settled:blocking", () => e.store.remove("incomplete"));
7135
7222
  }
7136
- function Do(e) {
7223
+ function Io(e) {
7137
7224
  e.props.ignore === void 0 && (e.props.ignore = !0, e.parent = null);
7138
7225
  }
7139
7226
  function Ro(e) {
@@ -7178,11 +7265,11 @@ function No(e, t) {
7178
7265
  function ri(e, t) {
7179
7266
  return e.some((r) => at(r) ? ri(r.options, t) : ("__original" in r ? r.__original : r.value) === t);
7180
7267
  }
7181
- async function Ho(e, t) {
7268
+ async function Vo(e, t) {
7182
7269
  var r;
7183
7270
  typeof ((r = e.props.attrs) == null ? void 0 : r.onChange) == "function" && (await new Promise((i) => setTimeout(i, 0)), await e.settled, e.props.attrs.onChange(t));
7184
7271
  }
7185
- function Vo(e, t) {
7272
+ function Ho(e, t) {
7186
7273
  const r = t.target, i = r.hasAttribute("multiple") ? Array.from(r.selectedOptions).map(
7187
7274
  (n) => fe(e.props.options, n.value)
7188
7275
  ) : fe(e.props.options, r.value);
@@ -7222,7 +7309,7 @@ function Uo(e) {
7222
7309
  e.props.attrs = Object.assign({}, e.props.attrs, {
7223
7310
  value: a
7224
7311
  });
7225
- })), (i = e.context) != null && i.handlers && (e.context.handlers.selectInput = Vo.bind(null, e), e.context.handlers.onChange = Ho.bind(null, e)), (n = e.context) != null && n.fns && (e.context.fns.isSelected = No.bind(null, e), e.context.fns.showPlaceholder = (a, s) => {
7312
+ })), (i = e.context) != null && i.handlers && (e.context.handlers.selectInput = Ho.bind(null, e), e.context.handlers.onChange = Vo.bind(null, e)), (n = e.context) != null && n.fns && (e.context.fns.isSelected = No.bind(null, e), e.context.fns.showPlaceholder = (a, s) => {
7226
7313
  if (!Array.isArray(e.props.options))
7227
7314
  return !1;
7228
7315
  const o = e.props.options.some(
@@ -7248,7 +7335,7 @@ function St(e) {
7248
7335
  function jo(e, t = {}) {
7249
7336
  const r = /* @__PURE__ */ ce(
7250
7337
  /* @__PURE__ */ Pe(
7251
- /* @__PURE__ */ He("$label"),
7338
+ /* @__PURE__ */ Ve("$label"),
7252
7339
  /* @__PURE__ */ Ne(/* @__PURE__ */ N("prefix"), /* @__PURE__ */ te(), e(), /* @__PURE__ */ re(), /* @__PURE__ */ N("suffix"))
7253
7340
  ),
7254
7341
  /* @__PURE__ */ ee("$help"),
@@ -7272,7 +7359,7 @@ function ae(e, t, r) {
7272
7359
  return i._s = Ae(), i;
7273
7360
  }
7274
7361
  // @__NO_SIDE_EFFECTS__
7275
- function Te(e, t) {
7362
+ function Le(e, t) {
7276
7363
  const r = (i) => {
7277
7364
  const n = e({});
7278
7365
  return /* @__PURE__ */ St(n) ? (Array.isArray(n.else) || (n.else = /* @__PURE__ */ Me(
@@ -7318,7 +7405,7 @@ var rr = {
7318
7405
  /**
7319
7406
  * Additional features that should be added to your input
7320
7407
  */
7321
- features: [ze("submit"), Do],
7408
+ features: [ze("submit"), Io],
7322
7409
  /**
7323
7410
  * A key to use for memoizing the schema. This is used to prevent the schema
7324
7411
  * from needing to be stringified when performing a memo lookup.
@@ -7336,7 +7423,7 @@ var rr = {
7336
7423
  */
7337
7424
  /* @__PURE__ */ et(
7338
7425
  /* @__PURE__ */ Ze(/* @__PURE__ */ te(), /* @__PURE__ */ Je(), /* @__PURE__ */ tt(/* @__PURE__ */ N("decorator")), /* @__PURE__ */ re()),
7339
- /* @__PURE__ */ Te(/* @__PURE__ */ Xe("$label"), {
7426
+ /* @__PURE__ */ Le(/* @__PURE__ */ Xe("$label"), {
7340
7427
  if: "$label"
7341
7428
  })
7342
7429
  ),
@@ -7351,7 +7438,7 @@ var rr = {
7351
7438
  /* @__PURE__ */ et(
7352
7439
  /* @__PURE__ */ Ze(
7353
7440
  /* @__PURE__ */ te(),
7354
- /* @__PURE__ */ Te(/* @__PURE__ */ Je(), {
7441
+ /* @__PURE__ */ Le(/* @__PURE__ */ Je(), {
7355
7442
  bind: "$option.attrs",
7356
7443
  attrs: {
7357
7444
  id: "$option.attrs.id",
@@ -7362,7 +7449,7 @@ var rr = {
7362
7449
  /* @__PURE__ */ tt(/* @__PURE__ */ N("decorator")),
7363
7450
  /* @__PURE__ */ re()
7364
7451
  ),
7365
- /* @__PURE__ */ Te(/* @__PURE__ */ Xe("$option.label"), {
7452
+ /* @__PURE__ */ Le(/* @__PURE__ */ Xe("$option.label"), {
7366
7453
  if: "$option.label"
7367
7454
  })
7368
7455
  ),
@@ -7392,9 +7479,9 @@ var rr = {
7392
7479
  * Additional features that should be added to your input
7393
7480
  */
7394
7481
  features: [
7395
- Dt,
7482
+ It,
7396
7483
  Po,
7397
- Le("decorator", "checkboxDecorator")
7484
+ Ce("decorator", "checkboxDecorator")
7398
7485
  ],
7399
7486
  /**
7400
7487
  * The key used to memoize the schema.
@@ -7406,7 +7493,7 @@ var rr = {
7406
7493
  */
7407
7494
  schema: /* @__PURE__ */ ce(
7408
7495
  /* @__PURE__ */ Pe(
7409
- /* @__PURE__ */ He("$label"),
7496
+ /* @__PURE__ */ Ve("$label"),
7410
7497
  /* @__PURE__ */ Ne(
7411
7498
  /* @__PURE__ */ N("prefix", "label"),
7412
7499
  /* @__PURE__ */ te(),
@@ -7425,7 +7512,7 @@ var rr = {
7425
7512
  )
7426
7513
  ),
7427
7514
  /* @__PURE__ */ ae("$value.length > 1", /* @__PURE__ */ Qt("$ui.removeAll.value")),
7428
- /* @__PURE__ */ Co(/* @__PURE__ */ N("noFiles"), "$ui.noFiles.value"),
7515
+ /* @__PURE__ */ To(/* @__PURE__ */ N("noFiles"), "$ui.noFiles.value"),
7429
7516
  /* @__PURE__ */ re(),
7430
7517
  /* @__PURE__ */ N("suffix")
7431
7518
  )
@@ -7451,9 +7538,9 @@ var rr = {
7451
7538
  */
7452
7539
  features: [
7453
7540
  xo,
7454
- Le("fileItem", "fileItem"),
7455
- Le("fileRemove", "fileRemove"),
7456
- Le("noFiles", "noFiles")
7541
+ Ce("fileItem", "fileItem"),
7542
+ Ce("fileRemove", "fileRemove"),
7543
+ Ce("noFiles", "noFiles")
7457
7544
  ],
7458
7545
  /**
7459
7546
  * The key used to memoize the schema.
@@ -7486,7 +7573,7 @@ var rr = {
7486
7573
  /**
7487
7574
  * Additional features that should be added to your input
7488
7575
  */
7489
- features: [Io, Ft],
7576
+ features: [Do, Ft],
7490
7577
  /**
7491
7578
  * The key used to memoize the schema.
7492
7579
  */
@@ -7571,7 +7658,7 @@ var rr = {
7571
7658
  */
7572
7659
  /* @__PURE__ */ et(
7573
7660
  /* @__PURE__ */ Ze(/* @__PURE__ */ te(), /* @__PURE__ */ Je(), /* @__PURE__ */ tt(/* @__PURE__ */ N("decorator")), /* @__PURE__ */ re()),
7574
- /* @__PURE__ */ Te(/* @__PURE__ */ Xe("$label"), {
7661
+ /* @__PURE__ */ Le(/* @__PURE__ */ Xe("$label"), {
7575
7662
  if: "$label"
7576
7663
  })
7577
7664
  ),
@@ -7586,7 +7673,7 @@ var rr = {
7586
7673
  /* @__PURE__ */ et(
7587
7674
  /* @__PURE__ */ Ze(
7588
7675
  /* @__PURE__ */ te(),
7589
- /* @__PURE__ */ Te(/* @__PURE__ */ Je(), {
7676
+ /* @__PURE__ */ Le(/* @__PURE__ */ Je(), {
7590
7677
  bind: "$option.attrs",
7591
7678
  attrs: {
7592
7679
  id: "$option.attrs.id",
@@ -7597,7 +7684,7 @@ var rr = {
7597
7684
  /* @__PURE__ */ tt(/* @__PURE__ */ N("decorator")),
7598
7685
  /* @__PURE__ */ re()
7599
7686
  ),
7600
- /* @__PURE__ */ Te(/* @__PURE__ */ Xe("$option.label"), {
7687
+ /* @__PURE__ */ Le(/* @__PURE__ */ Xe("$option.label"), {
7601
7688
  if: "$option.label"
7602
7689
  })
7603
7690
  ),
@@ -7626,7 +7713,7 @@ var rr = {
7626
7713
  /**
7627
7714
  * Additional features that should be added to your input
7628
7715
  */
7629
- features: [Dt, Eo, Le("decorator", "radioDecorator")],
7716
+ features: [It, Eo, Ce("decorator", "radioDecorator")],
7630
7717
  /**
7631
7718
  * The key used to memoize the schema.
7632
7719
  */
@@ -7637,18 +7724,18 @@ var rr = {
7637
7724
  */
7638
7725
  schema: /* @__PURE__ */ ce(
7639
7726
  /* @__PURE__ */ Pe(
7640
- /* @__PURE__ */ He("$label"),
7727
+ /* @__PURE__ */ Ve("$label"),
7641
7728
  /* @__PURE__ */ Ne(
7642
7729
  /* @__PURE__ */ N("prefix"),
7643
7730
  /* @__PURE__ */ te(),
7644
- /* @__PURE__ */ To(
7731
+ /* @__PURE__ */ Lo(
7645
7732
  /* @__PURE__ */ ae(
7646
7733
  "$slots.default",
7647
7734
  () => "$slots.default",
7648
7735
  /* @__PURE__ */ Zt(
7649
7736
  /* @__PURE__ */ ae(
7650
7737
  "$option.group",
7651
- /* @__PURE__ */ Lo(/* @__PURE__ */ Zt(/* @__PURE__ */ Jt("$option.label"))),
7738
+ /* @__PURE__ */ Co(/* @__PURE__ */ Zt(/* @__PURE__ */ Jt("$option.label"))),
7652
7739
  /* @__PURE__ */ Jt("$option.label")
7653
7740
  )
7654
7741
  )
@@ -7673,7 +7760,7 @@ var rr = {
7673
7760
  /**
7674
7761
  * Additional features that should be added to your input
7675
7762
  */
7676
- features: [Dt, Uo, Le("select", "select")],
7763
+ features: [It, Uo, Ce("select", "select")],
7677
7764
  /**
7678
7765
  * The key used to memoize the schema.
7679
7766
  */
@@ -7684,7 +7771,7 @@ var rr = {
7684
7771
  */
7685
7772
  schema: /* @__PURE__ */ ce(
7686
7773
  /* @__PURE__ */ Pe(
7687
- /* @__PURE__ */ He("$label"),
7774
+ /* @__PURE__ */ Ve("$label"),
7688
7775
  /* @__PURE__ */ Ne(
7689
7776
  /* @__PURE__ */ N("prefix", "label"),
7690
7777
  /* @__PURE__ */ te(),
@@ -7718,7 +7805,7 @@ var rr = {
7718
7805
  */
7719
7806
  schema: /* @__PURE__ */ ce(
7720
7807
  /* @__PURE__ */ Pe(
7721
- /* @__PURE__ */ He("$label"),
7808
+ /* @__PURE__ */ Ve("$label"),
7722
7809
  /* @__PURE__ */ Ne(
7723
7810
  /* @__PURE__ */ N("prefix", "label"),
7724
7811
  /* @__PURE__ */ te(),
@@ -7778,7 +7865,7 @@ var rr = {
7778
7865
  url: j,
7779
7866
  week: j,
7780
7867
  range: j
7781
- }, J = void 0, X = null, rt, ni = !1, Ie = !1, el = /* @__PURE__ */ new Promise((e) => {
7868
+ }, J = void 0, X = null, rt, ni = !1, De = !1, el = /* @__PURE__ */ new Promise((e) => {
7782
7869
  rt = () => {
7783
7870
  ni = !0, e();
7784
7871
  };
@@ -7786,7 +7873,7 @@ var rr = {
7786
7873
  J = se ? /* @__PURE__ */ getComputedStyle(document.documentElement) : void 0;
7787
7874
  var ve = {}, lt = {};
7788
7875
  function tl(e, t, r, i) {
7789
- t && Object.assign(ve, t), se && !Ie && (J != null && J.getPropertyValue("--formkit-theme")) ? (rt(), Ie = !0) : e && !Ie && se ? rl(e) : !Ie && se && rt();
7876
+ t && Object.assign(ve, t), se && !De && (J != null && J.getPropertyValue("--formkit-theme")) ? (rt(), De = !0) : e && !De && se ? rl(e) : !De && se && rt();
7790
7877
  const n = function(s) {
7791
7878
  var o, l;
7792
7879
  s.addProps(["iconLoader", "iconLoaderUrl"]), s.props.iconHandler = ir(
@@ -7807,7 +7894,7 @@ function tl(e, t, r, i) {
7807
7894
  return n.iconHandler = ir(i, r), n;
7808
7895
  }
7809
7896
  function rl(e) {
7810
- if (!(!e || !se || typeof getComputedStyle != "function") && (Ie = !0, X = document.getElementById("formkit-theme"), e && // if we have a window object
7897
+ if (!(!e || !se || typeof getComputedStyle != "function") && (De = !0, X = document.getElementById("formkit-theme"), e && // if we have a window object
7811
7898
  se && // we don't have an existing theme OR the theme being set up is different
7812
7899
  (!(J != null && J.getPropertyValue("--formkit-theme")) && !X || X != null && X.getAttribute("data-theme") && (X == null ? void 0 : X.getAttribute("data-theme")) !== e))) {
7813
7900
  const r = `https://cdn.jsdelivr.net/npm/@formkit/themes@${Ke.startsWith("__") ? "latest" : Ke}/dist/${e}/theme.css`, i = document.createElement("link");
@@ -8009,7 +8096,7 @@ var cl = (e, t) => {
8009
8096
  return c;
8010
8097
  }), m = xe(
8011
8098
  t.store.reduce((c, w) => (w.type === "ui" && w.visible && (c[w.key] = w), c), {})
8012
- ), f = me(() => !d.state.failing), L = xe({}), S = new Proxy(L, {
8099
+ ), f = me(() => !d.state.failing), C = xe({}), S = new Proxy(C, {
8013
8100
  get(...c) {
8014
8101
  if (!t)
8015
8102
  return "";
@@ -8037,11 +8124,11 @@ var cl = (e, t) => {
8037
8124
  }
8038
8125
  });
8039
8126
  t.on("prop:rootClasses", () => {
8040
- const c = Object.keys(L);
8127
+ const c = Object.keys(C);
8041
8128
  for (const w of c)
8042
- delete L[w];
8129
+ delete C[w];
8043
8130
  });
8044
- const C = me(() => {
8131
+ const T = me(() => {
8045
8132
  if (!t)
8046
8133
  return;
8047
8134
  const c = [];
@@ -8049,11 +8136,11 @@ var cl = (e, t) => {
8049
8136
  for (const w in p.value)
8050
8137
  c.push(`${t.props.id}-${w}`);
8051
8138
  return c.length ? c.join(" ") : void 0;
8052
- }), T = B(t.value), u = B(t.value), d = xe({
8139
+ }), L = B(t.value), u = B(t.value), d = xe({
8053
8140
  _value: u,
8054
8141
  attrs: t.props.attrs,
8055
8142
  disabled: t.props.disabled,
8056
- describedBy: C,
8143
+ describedBy: T,
8057
8144
  fns: {
8058
8145
  length: (c) => Object.keys(c).length,
8059
8146
  number: (c) => Number(c),
@@ -8095,7 +8182,7 @@ var cl = (e, t) => {
8095
8182
  blurred: !1,
8096
8183
  complete: h,
8097
8184
  dirty: !1,
8098
- empty: G(T),
8185
+ empty: G(L),
8099
8186
  submitted: !1,
8100
8187
  settled: t.isSettled,
8101
8188
  valid: r,
@@ -8110,11 +8197,11 @@ var cl = (e, t) => {
8110
8197
  type: t.props.type,
8111
8198
  family: t.props.family,
8112
8199
  ui: m,
8113
- value: T,
8200
+ value: L,
8114
8201
  classes: S
8115
8202
  });
8116
8203
  t.on("created", () => {
8117
- U(d.value, t.value) || (u.value = t.value, T.value = t.value, Ue(T), Ue(u)), (async () => (await t.settled, t && (t.props._init = Y(t.value))))();
8204
+ U(d.value, t.value) || (u.value = t.value, L.value = t.value, Ue(L), Ue(u)), (async () => (await t.settled, t && (t.props._init = Y(t.value))))();
8118
8205
  }), t.on("mounted", () => {
8119
8206
  d.didMount = !0;
8120
8207
  }), t.on("settled", ({ payload: c }) => {
@@ -8122,7 +8209,7 @@ var cl = (e, t) => {
8122
8209
  });
8123
8210
  function A(c) {
8124
8211
  (Array.isArray(c) ? c : Object.keys(c)).forEach((_) => {
8125
- _ = Ce(_), k(d, _) || (d[_] = t.props[_]), t.on(`prop:${_}`, ({ payload: O }) => {
8212
+ _ = Te(_), k(d, _) || (d[_] = t.props[_]), t.on(`prop:${_}`, ({ payload: O }) => {
8126
8213
  d[_] = O;
8127
8214
  });
8128
8215
  });
@@ -8149,7 +8236,7 @@ var cl = (e, t) => {
8149
8236
  t.props.definition && R(t.props.definition), t.on("added-props", ({ payload: c }) => A(c)), t.on("input", ({ payload: c }) => {
8150
8237
  t.type !== "input" && !dt(c) && !Nt(c) ? u.value = ft(c) : (u.value = c, Ue(u));
8151
8238
  }), t.on("commitRaw", ({ payload: c }) => {
8152
- t.type !== "input" && !dt(c) && !Nt(c) ? T.value = u.value = ft(c) : (T.value = u.value = c, Ue(T)), t.emit("modelUpdated");
8239
+ t.type !== "input" && !dt(c) && !Nt(c) ? L.value = u.value = ft(c) : (L.value = u.value = c, Ue(L)), t.emit("modelUpdated");
8153
8240
  }), t.on("commit", ({ payload: c }) => {
8154
8241
  var w;
8155
8242
  if ((!d.state.dirty || d.dirtyBehavior === "compare") && t.isCreated && n)
@@ -8180,7 +8267,7 @@ var cl = (e, t) => {
8180
8267
  i.value = !1;
8181
8268
  }), t.on("unsettled:errors", () => {
8182
8269
  i.value = !0;
8183
- }), De(y, (c) => {
8270
+ }), Ie(y, (c) => {
8184
8271
  c && (o.value = !0);
8185
8272
  }), t.context = d, t.emit("context", t, !1), t.on("destroyed", () => {
8186
8273
  t.context = void 0, t = null;
@@ -8227,12 +8314,12 @@ function hl(e, t) {
8227
8314
  var r;
8228
8315
  !bl || !e || (ut.has(e) || ut.set(e, /* @__PURE__ */ new Set()), (r = ut.get(e)) == null || r.add(t));
8229
8316
  }
8230
- var li = typeof window > "u", Fe = {}, we = {}, V, ne = /* @__PURE__ */ new WeakMap(), yl = "__raw__", vl = /[a-zA-Z0-9\-][cC]lass$/;
8231
- function Cl(e, t) {
8317
+ var li = typeof window > "u", Fe = {}, we = {}, H, ne = /* @__PURE__ */ new WeakMap(), yl = "__raw__", vl = /[a-zA-Z0-9\-][cC]lass$/;
8318
+ function Tl(e, t) {
8232
8319
  const r = B(null);
8233
8320
  if (e === "get") {
8234
8321
  const n = {};
8235
- return r.value = Ll.bind(null, n), r;
8322
+ return r.value = Cl.bind(null, n), r;
8236
8323
  }
8237
8324
  const i = e.split(".");
8238
8325
  return ie(() => {
@@ -8267,7 +8354,7 @@ function Et(e, t) {
8267
8354
  }
8268
8355
  return r;
8269
8356
  }
8270
- function Ll(e, t) {
8357
+ function Cl(e, t) {
8271
8358
  if (typeof t != "string")
8272
8359
  return ge(650);
8273
8360
  if (t in e || (e[t] = B(void 0)), e[t].value === void 0) {
@@ -8285,17 +8372,17 @@ function ur(e, t, r) {
8285
8372
  return [p, m, f];
8286
8373
  }
8287
8374
  function n(h, v) {
8288
- var L, S;
8375
+ var C, S;
8289
8376
  const p = y(K(h.if));
8290
8377
  let m = () => v, f = () => v;
8291
- return typeof h.then == "object" ? f = a(h.then, void 0) : typeof h.then == "string" && ((L = h.then) != null && L.startsWith("$")) ? f = y(K(h.then)) : f = () => h.then, k(h, "else") && (typeof h.else == "object" ? m = a(h.else) : typeof h.else == "string" && ((S = h.else) != null && S.startsWith("$")) ? m = y(K(h.else)) : m = () => h.else), () => p() ? f() : m();
8378
+ return typeof h.then == "object" ? f = a(h.then, void 0) : typeof h.then == "string" && ((C = h.then) != null && C.startsWith("$")) ? f = y(K(h.then)) : f = () => h.then, k(h, "else") && (typeof h.else == "object" ? m = a(h.else) : typeof h.else == "string" && ((S = h.else) != null && S.startsWith("$")) ? m = y(K(h.else)) : m = () => h.else), () => p() ? f() : m();
8292
8379
  }
8293
8380
  function a(h, v, p = {}) {
8294
- const m = new Set(Object.keys(h || {})), f = v ? y(K(v)) : () => ({}), L = [
8381
+ const m = new Set(Object.keys(h || {})), f = v ? y(K(v)) : () => ({}), C = [
8295
8382
  (S) => {
8296
- const C = f();
8297
- for (const T in C)
8298
- m.has(T) || (S[T] = C[T]);
8383
+ const T = f();
8384
+ for (const L in T)
8385
+ m.has(L) || (S[L] = T[L]);
8299
8386
  }
8300
8387
  ];
8301
8388
  if (h) {
@@ -8305,94 +8392,94 @@ function ur(e, t, r) {
8305
8392
  p
8306
8393
  );
8307
8394
  for (let S in h) {
8308
- const C = h[S];
8309
- let T;
8310
- const u = typeof C == "string";
8311
- S.startsWith(yl) ? (S = S.substring(7), T = () => C) : u && C.startsWith("$") && C.length > 1 && !(C.startsWith("$reset") && vl.test(S)) ? T = y(K(C)) : typeof C == "object" && ye(C) ? T = n(C, void 0) : typeof C == "object" && Se(C) ? T = a(C) : T = () => C, L.push((d) => {
8312
- d[S] = T();
8395
+ const T = h[S];
8396
+ let L;
8397
+ const u = typeof T == "string";
8398
+ S.startsWith(yl) ? (S = S.substring(7), L = () => T) : u && T.startsWith("$") && T.length > 1 && !(T.startsWith("$reset") && vl.test(S)) ? L = y(K(T)) : typeof T == "object" && ye(T) ? L = n(T, void 0) : typeof T == "object" && Se(T) ? L = a(T) : L = () => T, C.push((d) => {
8399
+ d[S] = L();
8313
8400
  });
8314
8401
  }
8315
8402
  }
8316
8403
  return () => {
8317
8404
  const S = Array.isArray(h) ? [] : {};
8318
- return L.forEach((C) => C(S)), S;
8405
+ return C.forEach((T) => T(S)), S;
8319
8406
  };
8320
8407
  }
8321
8408
  function s(h, v) {
8322
- let p = null, m = () => null, f = !1, L = null, S = null, C = null, T = !1;
8323
- const u = Ta(v);
8324
- if (vt(u) ? (p = u.$el, m = u.$el !== "text" ? a(u.attrs, u.bind) : () => null) : Ct(u) ? (typeof u.$cmp == "string" ? k(h, u.$cmp) ? p = h[u.$cmp] : (p = u.$cmp, T = !0) : p = u.$cmp, m = a(u.props, u.bind)) : ye(u) && ([f, L, S] = i(h, u)), !ye(u) && "if" in u ? f = y(K(u.if)) : !ye(u) && p === null && (f = () => !0), "children" in u && u.children)
8409
+ let p = null, m = () => null, f = !1, C = null, S = null, T = null, L = !1;
8410
+ const u = La(v);
8411
+ if (vt(u) ? (p = u.$el, m = u.$el !== "text" ? a(u.attrs, u.bind) : () => null) : Tt(u) ? (typeof u.$cmp == "string" ? k(h, u.$cmp) ? p = h[u.$cmp] : (p = u.$cmp, L = !0) : p = u.$cmp, m = a(u.props, u.bind)) : ye(u) && ([f, C, S] = i(h, u)), !ye(u) && "if" in u ? f = y(K(u.if)) : !ye(u) && p === null && (f = () => !0), "children" in u && u.children)
8325
8412
  if (typeof u.children == "string")
8326
8413
  if (u.children.startsWith("$slots."))
8327
- p = p === "text" ? "slot" : p, L = y(K(u.children));
8414
+ p = p === "text" ? "slot" : p, C = y(K(u.children));
8328
8415
  else if (u.children.startsWith("$") && u.children.length > 1) {
8329
8416
  const d = y(K(u.children));
8330
- L = () => String(d());
8417
+ C = () => String(d());
8331
8418
  } else
8332
- L = () => String(u.children);
8419
+ C = () => String(u.children);
8333
8420
  else if (Array.isArray(u.children))
8334
- L = g(h, u.children);
8421
+ C = g(h, u.children);
8335
8422
  else {
8336
- const [d, A, D] = i(h, u.children);
8337
- L = (R) => d && d() ? A && A(R) : D && D(R);
8423
+ const [d, A, I] = i(h, u.children);
8424
+ C = (R) => d && d() ? A && A(R) : I && I(R);
8338
8425
  }
8339
- if (Ct(u))
8340
- if (L) {
8341
- const d = L;
8342
- L = (A) => ({
8343
- default(D, R) {
8426
+ if (Tt(u))
8427
+ if (C) {
8428
+ const d = C;
8429
+ C = (A) => ({
8430
+ default(I, R) {
8344
8431
  var w, _, O, F;
8345
- const M = V;
8346
- R && (V = R), D && ((w = ne.get(V)) == null || w.unshift(D)), A && ((_ = ne.get(V)) == null || _.unshift(A));
8432
+ const M = H;
8433
+ R && (H = R), I && ((w = ne.get(H)) == null || w.unshift(I)), A && ((_ = ne.get(H)) == null || _.unshift(A));
8347
8434
  const c = d(A);
8348
- return D && ((O = ne.get(V)) == null || O.shift()), A && ((F = ne.get(V)) == null || F.shift()), V = M, c;
8435
+ return I && ((O = ne.get(H)) == null || O.shift()), A && ((F = ne.get(H)) == null || F.shift()), H = M, c;
8349
8436
  }
8350
- }), L.slot = !0;
8437
+ }), C.slot = !0;
8351
8438
  } else
8352
- L = () => ({});
8439
+ C = () => ({});
8353
8440
  if ("for" in u && u.for) {
8354
8441
  const d = u.for.length === 3 ? u.for[2] : u.for[1];
8355
- C = [
8442
+ T = [
8356
8443
  typeof d == "string" && d.startsWith("$") ? y(K(d)) : () => d,
8357
8444
  u.for[0],
8358
8445
  u.for.length === 3 ? String(u.for[1]) : null
8359
8446
  ];
8360
8447
  }
8361
- return [f, p, m, L, S, C, T];
8448
+ return [f, p, m, C, S, T, L];
8362
8449
  }
8363
8450
  function o(h, v) {
8364
- const p = h(v), m = V;
8365
- return Object.keys(p).reduce((f, L) => {
8366
- const S = p && p[L];
8367
- return f[L] = (C) => S && S(C, m) || null, f;
8451
+ const p = h(v), m = H;
8452
+ return Object.keys(p).reduce((f, C) => {
8453
+ const S = p && p[C];
8454
+ return f[C] = (T) => S && S(T, m) || null, f;
8368
8455
  }, {});
8369
8456
  }
8370
8457
  function l(h, v) {
8371
- const [p, m, f, L, S, C, T] = s(h, v);
8458
+ const [p, m, f, C, S, T, L] = s(h, v);
8372
8459
  let u = (d) => {
8373
- if (p && m === null && L)
8374
- return p() ? L(d) : S && S(d);
8460
+ if (p && m === null && C)
8461
+ return p() ? C(d) : S && S(d);
8375
8462
  if (m && (!p || p())) {
8376
- if (m === "text" && L)
8377
- return Ci(String(L()));
8378
- if (m === "slot" && L)
8379
- return L(d);
8380
- const A = T ? Li(m) : m, D = L != null && L.slot ? o(L, d) : null;
8463
+ if (m === "text" && C)
8464
+ return Ti(String(C()));
8465
+ if (m === "slot" && C)
8466
+ return C(d);
8467
+ const A = L ? Ci(m) : m, I = C != null && C.slot ? o(C, d) : null;
8381
8468
  return mt(
8382
8469
  A,
8383
8470
  f(),
8384
- D || (L ? L(d) : [])
8471
+ I || (C ? C(d) : [])
8385
8472
  );
8386
8473
  }
8387
8474
  return typeof S == "function" ? S(d) : S;
8388
8475
  };
8389
- if (C) {
8390
- const d = u, [A, D, R] = C;
8476
+ if (T) {
8477
+ const d = u, [A, I, R] = T;
8391
8478
  u = () => {
8392
8479
  const M = A(), c = Number.isFinite(M) ? Array(Number(M)).fill(0).map((F, E) => E) : M, w = [];
8393
8480
  if (typeof c != "object")
8394
8481
  return null;
8395
- const _ = ne.get(V) || [], O = Array.isArray(c);
8482
+ const _ = ne.get(H) || [], O = Array.isArray(c);
8396
8483
  for (const F in c) {
8397
8484
  if (O && F in Array.prototype)
8398
8485
  continue;
@@ -8402,7 +8489,7 @@ function ur(e, t, r) {
8402
8489
  (pe, Z) => pe.__idata ? { ...pe, ...Z } : Z,
8403
8490
  {}
8404
8491
  ),
8405
- [D]: c[F],
8492
+ [I]: c[F],
8406
8493
  ...R !== null ? { [R]: O ? Number(F) : F } : {}
8407
8494
  },
8408
8495
  "__idata",
@@ -8418,7 +8505,7 @@ function ur(e, t, r) {
8418
8505
  function g(h, v) {
8419
8506
  if (Array.isArray(v)) {
8420
8507
  const m = v.map(l.bind(null, h));
8421
- return (f) => m.map((L) => L(f));
8508
+ return (f) => m.map((C) => C(f));
8422
8509
  }
8423
8510
  const p = l(h, v);
8424
8511
  return (m) => p(m);
@@ -8429,32 +8516,32 @@ function ur(e, t, r) {
8429
8516
  return b.push((m, f) => {
8430
8517
  p.set(
8431
8518
  f,
8432
- h.provide((L) => m(L, v))
8519
+ h.provide((C) => m(C, v))
8433
8520
  );
8434
- }), () => p.get(V)();
8521
+ }), () => p.get(H)();
8435
8522
  }
8436
8523
  function P(h, v) {
8437
8524
  r ?? (r = ci(t));
8438
8525
  const [p, m] = k(Fe, r) ? Fe[r] : [g(e, t), b];
8439
8526
  return li || (we[r] ?? (we[r] = 0), we[r]++, Fe[r] = [p, m]), m.forEach((f) => {
8440
8527
  f(h, v);
8441
- }), () => (V = v, p());
8528
+ }), () => (H = v, p());
8442
8529
  }
8443
8530
  return P;
8444
8531
  }
8445
8532
  function ui(e, t) {
8446
- const r = ne.get(V) || [];
8533
+ const r = ne.get(H) || [];
8447
8534
  let i;
8448
8535
  return r.length && (i = Et(r, e.split("."))), i === void 0 ? t : i;
8449
8536
  }
8450
- function Tl(e, t) {
8537
+ function Ll(e, t) {
8451
8538
  return new Proxy(e, {
8452
8539
  get(...r) {
8453
8540
  let i;
8454
8541
  const n = r[1];
8455
8542
  if (typeof n == "string") {
8456
- const a = V;
8457
- V = t, i = ui(n, void 0), V = a;
8543
+ const a = H;
8544
+ H = t, i = ui(n, void 0), H = a;
8458
8545
  }
8459
8546
  return i !== void 0 ? i : Reflect.get(...r);
8460
8547
  }
@@ -8468,11 +8555,11 @@ function cr(e, t, r) {
8468
8555
  if (n.if)
8469
8556
  a[s] = l;
8470
8557
  else if (t.slots) {
8471
- const g = Tl(t, r);
8558
+ const g = Ll(t, r);
8472
8559
  a[s] = () => l() ? t.slots[o](g) : null;
8473
8560
  }
8474
8561
  } else {
8475
- const o = Cl(s, t);
8562
+ const o = Tl(s, t);
8476
8563
  a[s] = () => ui(s, o.value);
8477
8564
  }
8478
8565
  return a;
@@ -8519,7 +8606,7 @@ var pi = /* @__PURE__ */ fr({
8519
8606
  ne.set(i, []);
8520
8607
  const n = { FormKit: it(mi), ...e.library };
8521
8608
  let a = ur(n, e.schema, e.memoKey), s, o;
8522
- li || De(
8609
+ li || Ie(
8523
8610
  () => e.schema,
8524
8611
  (b, y) => {
8525
8612
  var h;
@@ -8597,7 +8684,7 @@ function Al(e, t) {
8597
8684
  },
8598
8685
  clearErrors: $a,
8599
8686
  setErrors: Sa,
8600
- submit: Tr,
8687
+ submit: Lr,
8601
8688
  reset: wr
8602
8689
  };
8603
8690
  }
@@ -8626,7 +8713,7 @@ var fi = Symbol.for("FormKitOptions"), Pl = Symbol.for("FormKitConfig"), xl = {
8626
8713
  "prefixIcon",
8627
8714
  "suffixIcon",
8628
8715
  /^[a-zA-Z-]+(?:-icon|Icon)$/
8629
- ], Il = ["disabled", "ignore", "preserve"];
8716
+ ], Dl = ["disabled", "ignore", "preserve"];
8630
8717
  function mr(e, t) {
8631
8718
  t.classes && Object.keys(t.classes).forEach(
8632
8719
  (r) => {
@@ -8634,7 +8721,7 @@ function mr(e, t) {
8634
8721
  }
8635
8722
  );
8636
8723
  }
8637
- function Dl(e) {
8724
+ function Il(e) {
8638
8725
  return e ? ["Submit", "SubmitRaw", "SubmitInvalid"].reduce(
8639
8726
  (r, i) => {
8640
8727
  const n = `on${i}`;
@@ -8644,8 +8731,8 @@ function Dl(e) {
8644
8731
  ) : {};
8645
8732
  }
8646
8733
  function Rl(e, t, r = {}) {
8647
- const i = Object.assign({}, Ve(fi) || {}, r), n = Ve(kl, B(Ml ? document : void 0)), a = Ve($l, () => {
8648
- }), s = pt(), o = Dl(s == null ? void 0 : s.vnode.props), l = ["modelValue", "model-value"].some(
8734
+ const i = Object.assign({}, He(fi) || {}, r), n = He(kl, B(Ml ? document : void 0)), a = He($l, () => {
8735
+ }), s = pt(), o = Il(s == null ? void 0 : s.vnode.props), l = ["modelValue", "model-value"].some(
8649
8736
  (u) => u in ((s == null ? void 0 : s.vnode.props) ?? {})
8650
8737
  );
8651
8738
  let g = !1;
@@ -8660,15 +8747,15 @@ function Rl(e, t, r = {}) {
8660
8747
  type: e.type ?? "text",
8661
8748
  __root: n.value,
8662
8749
  __slots: t.slots
8663
- }, d = Ht(he(t.attrs), ct);
8750
+ }, d = Vt(he(t.attrs), ct);
8664
8751
  d.key || (d.key = Ae()), u.attrs = d;
8665
- const A = Vt(he(t.attrs), ct);
8752
+ const A = Ht(he(t.attrs), ct);
8666
8753
  for (const R in A)
8667
- Il.includes(R) && A[R] === "" && (A[R] = !0), u[Ce(R)] = A[R];
8668
- const D = { props: {} };
8669
- return mr(D, e), Object.assign(u, D.props), typeof u.type != "string" && (u.definition = u.type, delete u.type), u;
8754
+ Dl.includes(R) && A[R] === "" && (A[R] = !0), u[Te(R)] = A[R];
8755
+ const I = { props: {} };
8756
+ return mr(I, e), Object.assign(u, I.props), typeof u.type != "string" && (u.definition = u.type, delete u.type), u;
8670
8757
  }
8671
- const P = y(), h = P.ignore ? null : e.parent || Ve(dr, null), v = Ca(
8758
+ const P = y(), h = P.ignore ? null : e.parent || He(dr, null), v = Ta(
8672
8759
  oe(
8673
8760
  i || {},
8674
8761
  {
@@ -8698,12 +8785,12 @@ function Rl(e, t, r = {}) {
8698
8785
  }
8699
8786
  );
8700
8787
  const m = me(
8701
- () => ct.concat([...p.value]).reduce((u, d) => (typeof d == "string" ? (u.push(Ce(d)), u.push(hr(d))) : u.push(d), u), [])
8788
+ () => ct.concat([...p.value]).reduce((u, d) => (typeof d == "string" ? (u.push(Te(d)), u.push(hr(d))) : u.push(d), u), [])
8702
8789
  );
8703
8790
  ie(() => mr(v, e));
8704
8791
  const f = he(e);
8705
8792
  for (const u in f)
8706
- De(
8793
+ Ie(
8707
8794
  () => e[u],
8708
8795
  () => {
8709
8796
  e[u] !== void 0 && (v.props[u] = e[u]);
@@ -8712,18 +8799,18 @@ function Rl(e, t, r = {}) {
8712
8799
  ie(() => {
8713
8800
  v.props.__root = n.value;
8714
8801
  });
8715
- const L = /* @__PURE__ */ new Set(), S = he(t.attrs);
8802
+ const C = /* @__PURE__ */ new Set(), S = he(t.attrs);
8716
8803
  ie(() => {
8717
- C(Vt(S, m.value));
8804
+ T(Ht(S, m.value));
8718
8805
  });
8719
- function C(u) {
8720
- L.forEach((d) => {
8721
- d(), L.delete(d);
8806
+ function T(u) {
8807
+ C.forEach((d) => {
8808
+ d(), C.delete(d);
8722
8809
  });
8723
8810
  for (const d in u) {
8724
- const A = Ce(d);
8725
- L.add(
8726
- De(
8811
+ const A = Te(d);
8812
+ C.add(
8813
+ Ie(
8727
8814
  () => t.attrs[d],
8728
8815
  () => {
8729
8816
  v.props[A] = t.attrs[d];
@@ -8733,7 +8820,7 @@ function Rl(e, t, r = {}) {
8733
8820
  }
8734
8821
  }
8735
8822
  if (ie(() => {
8736
- const u = Ht(he(t.attrs), m.value);
8823
+ const u = Vt(he(t.attrs), m.value);
8737
8824
  "multiple" in u && (u.multiple = Q(u.multiple)), typeof u.onBlur == "function" && (u.onBlur = ln(u.onBlur)), v.props.attrs = Object.assign({}, v.props.attrs || {}, u);
8738
8825
  }), ie(() => {
8739
8826
  const u = (e.errors ?? []).map(
@@ -8753,7 +8840,7 @@ function Rl(e, t, r = {}) {
8753
8840
  ie(() => {
8754
8841
  const d = e.inputErrors ?? {}, A = Object.keys(d);
8755
8842
  A.length || v.clearErrors(!0, u);
8756
- const D = A.reduce((R, M) => {
8843
+ const I = A.reduce((R, M) => {
8757
8844
  let c = d[M];
8758
8845
  return typeof c == "string" && (c = [c]), Array.isArray(c) && (R[M] = c.map(
8759
8846
  (w) => /* @__PURE__ */ q({
@@ -8765,20 +8852,20 @@ function Rl(e, t, r = {}) {
8765
8852
  )), R;
8766
8853
  }, {});
8767
8854
  v.store.apply(
8768
- D,
8855
+ I,
8769
8856
  (R) => R.type === "error" && R.meta.source === u
8770
8857
  );
8771
8858
  });
8772
8859
  }
8773
8860
  ie(() => Object.assign(v.config, e.config)), v.type !== "input" && bi(dr, v);
8774
- let T;
8861
+ let L;
8775
8862
  return v.on("modelUpdated", () => {
8776
8863
  var u, d;
8777
- t.emit("inputRaw", (u = v.context) == null ? void 0 : u.value, v), g && t.emit("input", (d = v.context) == null ? void 0 : d.value, v), l && v.context && (T = Y(v.value), t.emit("update:modelValue", ft(v.value)));
8778
- }), l && (De(
8864
+ t.emit("inputRaw", (u = v.context) == null ? void 0 : u.value, v), g && t.emit("input", (d = v.context) == null ? void 0 : d.value, v), l && v.context && (L = Y(v.value), t.emit("update:modelValue", ft(v.value)));
8865
+ }), l && (Ie(
8779
8866
  hi(e, "modelValue"),
8780
8867
  (u) => {
8781
- U(T, u) || v.input(u, !1);
8868
+ U(L, u) || v.input(u, !1);
8782
8869
  },
8783
8870
  { deep: !0 }
8784
8871
  ), v.value !== b && v.emit("modelUpdated")), yi(() => v.destroy()), v;
@@ -8817,12 +8904,12 @@ var El = /* @__PURE__ */ $("messages", () => ({
8817
8904
  }
8818
8905
  }));
8819
8906
  El(Nl("$message.value"));
8820
- var Hl = /* @__PURE__ */ $("summary", () => ({
8907
+ var Vl = /* @__PURE__ */ $("summary", () => ({
8821
8908
  $el: "div",
8822
8909
  attrs: {
8823
8910
  "aria-live": "polite"
8824
8911
  }
8825
- })), Vl = /* @__PURE__ */ $("summaryInner", () => ({
8912
+ })), Hl = /* @__PURE__ */ $("summaryInner", () => ({
8826
8913
  $el: "div",
8827
8914
  if: "$summaries.length && $showSummaries"
8828
8915
  })), Ul = /* @__PURE__ */ $("messages", () => ({
@@ -8848,8 +8935,8 @@ var Hl = /* @__PURE__ */ $("summary", () => ({
8848
8935
  onClick: "$jumpLink"
8849
8936
  }
8850
8937
  }));
8851
- Hl(
8852
- Vl(
8938
+ Vl(
8939
+ Hl(
8853
8940
  Bl("$summaryHeader"),
8854
8941
  Ul(jl(Wl("$summary.message")))
8855
8942
  )
@@ -8857,7 +8944,7 @@ Hl(
8857
8944
  gl();
8858
8945
  oi();
8859
8946
  function ql(e) {
8860
- const { t } = Ti();
8947
+ const { t } = Li();
8861
8948
  ["label"].forEach((i) => {
8862
8949
  e.hook.input((n, a) => {
8863
8950
  const s = e.props[i];
@@ -8872,18 +8959,18 @@ const Kl = (e) => {
8872
8959
  plugins: [ql],
8873
8960
  inputs: {
8874
8961
  BaTextField: z(
8875
- H(
8962
+ V(
8876
8963
  () => import("./TextField-BiVH5rLX.js")
8877
8964
  )
8878
8965
  ),
8879
8966
  BaStepperField: z(
8880
- H(
8967
+ V(
8881
8968
  () => import("./StepperField-BeeZ_sl9.js")
8882
8969
  ),
8883
8970
  { props: ["suffix", "disabled", "min"] }
8884
8971
  ),
8885
8972
  BaColorPicker: z(
8886
- H(
8973
+ V(
8887
8974
  () => import("./ColorPicker-I6CkNIxt.js")
8888
8975
  ),
8889
8976
  {
@@ -8891,47 +8978,47 @@ const Kl = (e) => {
8891
8978
  }
8892
8979
  ),
8893
8980
  BaSelect: z(
8894
- H(
8981
+ V(
8895
8982
  () => import("./Select-BRYuMWoQ.js")
8896
8983
  ),
8897
8984
  { props: ["selectItems", "editable"] }
8898
8985
  ),
8899
8986
  BaListRepeater: z(
8900
- H(
8901
- () => import("./ListRepeater-Cob4tslX.js")
8987
+ V(
8988
+ () => import("./ListRepeater-BnVoFhhm.js")
8902
8989
  )
8903
8990
  ),
8904
8991
  BaTextStyleList: z(
8905
- H(
8992
+ V(
8906
8993
  () => import("./TextStyleList-CuPE80Py.js")
8907
8994
  )
8908
8995
  ),
8909
8996
  BaTextAlign: z(
8910
- H(
8997
+ V(
8911
8998
  () => import("./TextAlign-BOC8ekaH.js")
8912
8999
  )
8913
9000
  ),
8914
9001
  BaTextDecorators: z(
8915
- H(
9002
+ V(
8916
9003
  () => import("./TextDecorators-BJC4umDR.js")
8917
9004
  )
8918
9005
  ),
8919
9006
  BaImageUpload: z(
8920
- H(
8921
- () => import("./ImageUpload-CFXqs0JU.js")
9007
+ V(
9008
+ () => import("./ImageUpload-FyvXrDKK.js")
8922
9009
  ),
8923
9010
  { props: ["ignoreUpdate"] }
8924
9011
  ),
8925
9012
  BaLinkButton: z(
8926
- H(
8927
- () => import("./LinkButton-DSq0KYll.js")
9013
+ V(
9014
+ () => import("./LinkButton-C9OU3Rcs.js")
8928
9015
  )
8929
9016
  ),
8930
9017
  BaSwitch: z(
8931
- H(() => import("./Switch-8mmNQUDo.js"))
9018
+ V(() => import("./Switch-8mmNQUDo.js"))
8932
9019
  ),
8933
9020
  BaButtonGroup: z(
8934
- H(
9021
+ V(
8935
9022
  () => import("./ButtonGroup-D_HkX122.js")
8936
9023
  ),
8937
9024
  { props: ["groupItems"] }
@@ -8944,7 +9031,7 @@ const Kl = (e) => {
8944
9031
  "zh-CN": { ...ki, ...Ui },
8945
9032
  "zh-TW": { ...Pi, ...zi },
8946
9033
  "th-TH": { ...Mi, ...Ji }
8947
- }, Jl = H(() => import("./App-CouqATvY.js"));
9034
+ }, Jl = V(() => import("./App-D5eO5srB.js"));
8948
9035
  export {
8949
9036
  mi as F,
8950
9037
  pi as a,