monobill-mintui 0.6.737 → 0.6.739

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 (177) hide show
  1. package/bin/component-dependencies.json +2 -1
  2. package/dist/components/alert/browser.js +4 -4
  3. package/dist/components/alert/index.cjs +1 -1
  4. package/dist/components/alert/index.js +4 -4
  5. package/dist/components/back-button/browser.js +1 -1
  6. package/dist/components/back-button/index.cjs +1 -1
  7. package/dist/components/back-button/index.js +1 -1
  8. package/dist/components/bottom-navigation/browser.js +2 -2
  9. package/dist/components/bottom-navigation/index.cjs +1 -1
  10. package/dist/components/bottom-navigation/index.js +2 -2
  11. package/dist/components/button/browser.js +1 -1
  12. package/dist/components/button/index.cjs +1 -1
  13. package/dist/components/button/index.js +1 -1
  14. package/dist/components/checkbox/browser.js +1 -1
  15. package/dist/components/checkbox/index.cjs +1 -1
  16. package/dist/components/checkbox/index.js +1 -1
  17. package/dist/components/chip/browser.js +1 -1
  18. package/dist/components/chip/index.cjs +1 -1
  19. package/dist/components/chip/index.js +1 -1
  20. package/dist/components/chunks/ScrollFade-58GqgRLY.js +1 -0
  21. package/dist/components/chunks/ScrollFade-kpfpO4Zb.js +160 -0
  22. package/dist/components/chunks/{back-button-C_aLMNZE.js → back-button-CQ3ZKGa1.js} +1 -1
  23. package/dist/components/chunks/{back-button-CMZR-p_D.js → back-button-DpPfWpAh.js} +2 -2
  24. package/dist/components/chunks/{button-THsh4Svz.js → button-CIuVIyLf.js} +2 -2
  25. package/dist/components/chunks/{button-CELyLLtj.js → button-CgymemwA.js} +1 -1
  26. package/dist/components/chunks/{caret-down-DUfiCBEs.js → caret-down-CikQdiAu.js} +1 -1
  27. package/dist/components/chunks/caret-down-DZinO2Vg.js +1 -0
  28. package/dist/components/chunks/caret-right-CMZIcNYV.js +1 -0
  29. package/dist/components/chunks/{caret-right-CppgjbLX.js → caret-right-ZvpF7jIK.js} +1 -1
  30. package/dist/components/chunks/{checkbox-d5UlscqI.js → checkbox-98ctQydC.js} +1 -1
  31. package/dist/components/chunks/{checkbox-CZViKLNo.js → checkbox-B8VzPrhn.js} +2 -2
  32. package/dist/components/chunks/{chip-G6SRCgLq.js → chip-Cqm_NPF5.js} +3 -3
  33. package/dist/components/chunks/{chip-DJ_kZURn.js → chip-dVw8BZP7.js} +1 -1
  34. package/dist/components/chunks/{close-ChHICicN.js → close-DtRLefjU.js} +1 -1
  35. package/dist/components/chunks/close-DuS1TdUB.js +1 -0
  36. package/dist/components/chunks/{confirm-action-BSHfjDfA.js → confirm-action-8Yx0K5j1.js} +1 -1
  37. package/dist/components/chunks/{confirm-action-CRZMTjpd.js → confirm-action-C0XX_TyJ.js} +2 -2
  38. package/dist/components/chunks/{date-picker-CTtYAkmM.js → date-picker-BJ_82oRR.js} +1 -1
  39. package/dist/components/chunks/{date-picker-CUf5eJR3.js → date-picker-BuJJ8gvT.js} +5 -5
  40. package/dist/components/chunks/icon-Cmx9FTmb.js +1 -0
  41. package/dist/components/chunks/{icon-1cs-hcBy.js → icon-CuRTWM4k.js} +67 -57
  42. package/dist/components/chunks/icon-pgeP1zxb.js +51 -0
  43. package/dist/components/chunks/icon-rdeLRs-R.js +1 -0
  44. package/dist/components/chunks/{input-Bu4xPosP.js → input-BpcFd35m.js} +3 -3
  45. package/dist/components/chunks/{input-Zqw53jts.js → input-DJaqPjMg.js} +1 -1
  46. package/dist/components/chunks/{modal-CL5EStu0.js → modal-BJtuPK1b.js} +1 -1
  47. package/dist/components/chunks/{modal-ss_OTDJJ.js → modal-BzRle8yT.js} +2 -2
  48. package/dist/components/chunks/{popover-DD7uyRXy.js → popover-BcN2LEbO.js} +15 -3
  49. package/dist/components/chunks/popover-N3cKN8iW.js +1 -0
  50. package/dist/components/chunks/search-DA6dk5kF.js +1 -0
  51. package/dist/components/chunks/{search-DKHcIR2F.js → search-Dw9cb1wC.js} +1 -1
  52. package/dist/components/chunks/{select-CX9oOwl5.js → select-Ctps8gPL.js} +1 -1
  53. package/dist/components/chunks/{select-DOMW7Plx.js → select-DPERiupq.js} +3 -3
  54. package/dist/components/chunks/sortable-Bj0VTUqS.js +1 -0
  55. package/dist/components/chunks/{sortable-CQtdBuGw.js → sortable-DWfdFpgA.js} +59 -22
  56. package/dist/components/chunks/{table-HnSpIfny.js → table-C4xUMQw6.js} +1 -1
  57. package/dist/components/chunks/{table-IU2Vmjwk.js → table-k97RfsAA.js} +1 -1
  58. package/dist/components/chunks/{time-picker-C7pJvGSM.js → time-picker-Bl8KsaJj.js} +3 -3
  59. package/dist/components/chunks/{time-picker-BaoT0NtA.js → time-picker-D74vZTpL.js} +1 -1
  60. package/dist/components/chunks/{warning-gkij2FhS.js → warning-B1-z7ww9.js} +1 -1
  61. package/dist/components/chunks/{warning-Cf8ePVsQ.js → warning-CfJwI6nV.js} +1 -1
  62. package/dist/components/confirm-action/browser.js +1 -1
  63. package/dist/components/confirm-action/index.cjs +1 -1
  64. package/dist/components/confirm-action/index.js +1 -1
  65. package/dist/components/date-picker/browser.js +1 -1
  66. package/dist/components/date-picker/index.cjs +1 -1
  67. package/dist/components/date-picker/index.js +1 -1
  68. package/dist/components/datetime-picker/browser.js +3 -3
  69. package/dist/components/datetime-picker/index.cjs +1 -1
  70. package/dist/components/datetime-picker/index.js +3 -3
  71. package/dist/components/dropzone/browser.js +4 -4
  72. package/dist/components/dropzone/index.cjs +1 -1
  73. package/dist/components/dropzone/index.js +4 -4
  74. package/dist/components/editor/Editor.d.ts +29 -2
  75. package/dist/components/editor/Editor.d.ts.map +1 -1
  76. package/dist/components/editor/browser.js +583 -232
  77. package/dist/components/editor/index.cjs +14 -8
  78. package/dist/components/editor/index.d.ts +2 -0
  79. package/dist/components/editor/index.d.ts.map +1 -1
  80. package/dist/components/editor/index.js +583 -232
  81. package/dist/components/form/Form.d.ts +5 -1
  82. package/dist/components/form/Form.d.ts.map +1 -1
  83. package/dist/components/form/browser.js +52 -40
  84. package/dist/components/form/index.cjs +1 -1
  85. package/dist/components/form/index.js +52 -40
  86. package/dist/components/icon/browser.js +1 -1
  87. package/dist/components/icon/icons/index.d.ts +1 -0
  88. package/dist/components/icon/icons/index.d.ts.map +1 -1
  89. package/dist/components/icon/icons/play.d.ts +3 -0
  90. package/dist/components/icon/icons/play.d.ts.map +1 -0
  91. package/dist/components/icon/index.cjs +1 -1
  92. package/dist/components/icon/index.js +1 -1
  93. package/dist/components/input/browser.js +1 -1
  94. package/dist/components/input/index.cjs +1 -1
  95. package/dist/components/input/index.js +1 -1
  96. package/dist/components/link/browser.js +1 -1
  97. package/dist/components/link/index.cjs +1 -1
  98. package/dist/components/link/index.js +1 -1
  99. package/dist/components/modal/browser.js +1 -1
  100. package/dist/components/modal/index.cjs +1 -1
  101. package/dist/components/modal/index.js +1 -1
  102. package/dist/components/navigation/browser.js +4 -4
  103. package/dist/components/navigation/index.cjs +1 -1
  104. package/dist/components/navigation/index.js +4 -4
  105. package/dist/components/off-canvas/browser.js +2 -2
  106. package/dist/components/off-canvas/index.cjs +1 -1
  107. package/dist/components/off-canvas/index.js +2 -2
  108. package/dist/components/page/browser.js +4 -4
  109. package/dist/components/page/index.cjs +1 -1
  110. package/dist/components/page/index.js +4 -4
  111. package/dist/components/popover/Popover.d.ts +4 -0
  112. package/dist/components/popover/Popover.d.ts.map +1 -1
  113. package/dist/components/popover/browser.js +1 -1
  114. package/dist/components/popover/index.cjs +1 -1
  115. package/dist/components/popover/index.js +1 -1
  116. package/dist/components/resource-table/browser.js +11 -11
  117. package/dist/components/resource-table/index.cjs +1 -1
  118. package/dist/components/resource-table/index.js +11 -11
  119. package/dist/components/scroll-fade/ScrollFade.d.ts.map +1 -1
  120. package/dist/components/scroll-fade/browser.js +1 -1
  121. package/dist/components/scroll-fade/index.cjs +1 -1
  122. package/dist/components/scroll-fade/index.js +1 -1
  123. package/dist/components/search/browser.js +7 -7
  124. package/dist/components/search/index.cjs +1 -1
  125. package/dist/components/search/index.js +7 -7
  126. package/dist/components/select/browser.js +1 -1
  127. package/dist/components/select/index.cjs +1 -1
  128. package/dist/components/select/index.js +1 -1
  129. package/dist/components/side-navigation/browser.js +6 -6
  130. package/dist/components/side-navigation/index.cjs +1 -1
  131. package/dist/components/side-navigation/index.js +6 -6
  132. package/dist/components/sortable/Sortable.d.ts +8 -0
  133. package/dist/components/sortable/Sortable.d.ts.map +1 -1
  134. package/dist/components/sortable/browser.js +1 -1
  135. package/dist/components/sortable/index.cjs +1 -1
  136. package/dist/components/sortable/index.js +1 -1
  137. package/dist/components/switch/browser.js +2 -2
  138. package/dist/components/switch/index.cjs +1 -1
  139. package/dist/components/switch/index.js +2 -2
  140. package/dist/components/table/browser.js +1 -1
  141. package/dist/components/table/index.cjs +1 -1
  142. package/dist/components/table/index.js +1 -1
  143. package/dist/components/tabs/browser.js +1 -1
  144. package/dist/components/tabs/index.cjs +1 -1
  145. package/dist/components/tabs/index.js +1 -1
  146. package/dist/components/tags/Tags.d.ts.map +1 -1
  147. package/dist/components/tags/browser.js +8 -17
  148. package/dist/components/tags/index.cjs +1 -1
  149. package/dist/components/tags/index.js +8 -17
  150. package/dist/components/time-picker/browser.js +1 -1
  151. package/dist/components/time-picker/index.cjs +1 -1
  152. package/dist/components/time-picker/index.js +1 -1
  153. package/dist/components/tree/browser.js +5 -5
  154. package/dist/components/tree/index.cjs +1 -1
  155. package/dist/components/tree/index.js +5 -5
  156. package/dist/editor.css +1 -1
  157. package/dist/icons/play.svg +3 -0
  158. package/dist/index.cjs +19 -13
  159. package/dist/index.css +3 -3
  160. package/dist/index.js +1080 -595
  161. package/dist/navigation-search.json +8 -1
  162. package/dist/scroll-fade.css +1 -1
  163. package/dist/tags.css +1 -1
  164. package/package.json +1 -1
  165. package/dist/components/chunks/ScrollFade-DOnPtfC2.js +0 -85
  166. package/dist/components/chunks/ScrollFade-FBvsnQ1i.js +0 -1
  167. package/dist/components/chunks/caret-down-BiAVkpX7.js +0 -1
  168. package/dist/components/chunks/caret-right-8n-rhz51.js +0 -1
  169. package/dist/components/chunks/close-CuYimzX0.js +0 -1
  170. package/dist/components/chunks/icon-Bv1J3LwC.js +0 -51
  171. package/dist/components/chunks/icon-C-6HOPtI.js +0 -1
  172. package/dist/components/chunks/icon-aNwWb0hA.js +0 -1
  173. package/dist/components/chunks/popover-2Cnva3AN.js +0 -1
  174. package/dist/components/chunks/search-BXku4V9r.js +0 -1
  175. package/dist/components/chunks/sortable-Brecvk9d.js +0 -1
  176. /package/dist/components/chunks/{link-B_fNmwOk.js → link-B4Hdsb2b.js} +0 -0
  177. /package/dist/components/chunks/{link-BxTQfAW9.js → link-rv2WDJw2.js} +0 -0
@@ -219,7 +219,7 @@
219
219
  },
220
220
  {
221
221
  "title": "Scroll Fade",
222
- "subtitle": "A scroll container that softly fades edges only when more content is available.",
222
+ "subtitle": "A scroll container that softly fades edges only when more content is available. Hover a faded edge to auto-scroll in that direction; keep holding to accelerate.",
223
223
  "parent": "Components",
224
224
  "type": "component",
225
225
  "value": "scroll-fade"
@@ -1085,6 +1085,13 @@
1085
1085
  "type": "icon",
1086
1086
  "value": "pin"
1087
1087
  },
1088
+ {
1089
+ "title": "play",
1090
+ "subtitle": "Icon",
1091
+ "parent": "Icons",
1092
+ "type": "icon",
1093
+ "value": "play"
1094
+ },
1088
1095
  {
1089
1096
  "title": "plus",
1090
1097
  "subtitle": "Icon · add · new · create",
@@ -1,2 +1,2 @@
1
1
  /* mint-ui component style: scroll-fade */
2
- @layer theme, base, components, utilities;/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer utilities{.static{position:static}.border{border-style:var(--tw-border-style);border-width:1px}}@layer components{mint-scroll-fade{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;min-width:0;min-height:0;display:block;overflow:auto}mint-scroll-fade[data-wraps-scrollport]{overflow:visible}mint-scroll-fade:not([data-wraps-scrollport])[axis=vertical]{overflow:hidden auto}mint-scroll-fade:not([data-wraps-scrollport])[axis=horizontal]{overflow:auto hidden}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
2
+ @layer theme, base, components, utilities;/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer utilities{.static{position:static}.hidden{display:none}.border{border-style:var(--tw-border-style);border-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}@layer components{mint-scroll-fade{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;min-width:0;min-height:0;display:block;overflow:auto}mint-scroll-fade[data-wraps-scrollport]{overflow:visible}mint-scroll-fade:not([data-wraps-scrollport])[axis=vertical]{overflow:hidden auto}mint-scroll-fade:not([data-wraps-scrollport])[axis=horizontal]{overflow:auto hidden}.mint-scroll-fade-hover-caret{z-index:2000;width:1.5rem;height:1.5rem;color:var(--mint-color-text-secondary,#9ca3af);pointer-events:none;-webkit-user-select:none;user-select:none;place-items:center;display:grid;position:fixed;transform:translate(-50%,-50%)}.mint-scroll-fade-hover-caret:before{filter:drop-shadow(0 1px 1px #ffffffbf);content:"";border:2px solid;border-width:0 2px 2px 0;width:.5rem;height:.5rem}.mint-scroll-fade-hover-caret[data-edge=top]:before{transform:rotate(225deg)}.mint-scroll-fade-hover-caret[data-edge=bottom]:before{transform:rotate(45deg)}.mint-scroll-fade-hover-caret[data-edge=left]:before{transform:rotate(135deg)}.mint-scroll-fade-hover-caret[data-edge=right]:before{transform:rotate(-45deg)}.mint-scroll-fade-hover-caret[hidden]{display:none}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
package/dist/tags.css CHANGED
@@ -1,2 +1,2 @@
1
1
  /* mint-ui component style: tags */
2
- @layer theme, base, components, utilities;/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer utilities{.visible{visibility:visible}.static{position:static}.start{inset-inline-start:var(--spacing,.25rem)}.end{inset-inline-end:var(--spacing,.25rem)}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.inline{display:inline}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}@layer components{mint-tags{min-width:calc(var(--spacing,.25rem) * 0);box-sizing:border-box;width:100%;min-width:0;color:var(--mint-color-text,#28372d);font-family:var(--mint-font-sans,inherit);margin:0;padding:0;display:block}mint-tags *,mint-tags :before,mint-tags :after{box-sizing:border-box}mint-tags .mint-tags-label-container{margin-bottom:.25rem}mint-tags .mint-tags-label{color:var(--mint-color-text,#28372d);font-size:.875rem;font-weight:500;line-height:1.25rem;display:block}mint-tags .mint-tags-field{width:100%;min-height:2.75rem;color:var(--mint-color-text,#28372d);background:var(--mint-color-surface-raised,#fff);border:1px solid var(--mint-color-border,#dfe6e0);border-radius:.7rem;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.4rem .65rem;transition:border-color .15s,box-shadow .15s,background-color .15s;display:flex;position:relative}mint-tags .mint-tags-field:focus-within,mint-tags .mint-tags-field[data-mint-tags-active=true]{border-color:var(--mint-color-focus,#9aa9a0);box-shadow:0 0 0 3px var(--mint-color-focus,#9aa9a0)}@supports (color:color-mix(in lab, red, red)){mint-tags .mint-tags-field:focus-within,mint-tags .mint-tags-field[data-mint-tags-active=true]{box-shadow:0 0 0 3px color-mix(in srgb, var(--mint-color-focus,#9aa9a0) 18%, transparent)}}mint-tags .mint-tags-field-error{border-color:var(--mint-color-danger,#bd5148)}mint-tags .mint-tags-field-error:focus-within,mint-tags .mint-tags-field-error[data-mint-tags-active=true]{border-color:var(--mint-color-danger,#bd5148);box-shadow:0 0 0 3px var(--mint-color-danger,#bd5148)}@supports (color:color-mix(in lab, red, red)){mint-tags .mint-tags-field-error:focus-within,mint-tags .mint-tags-field-error[data-mint-tags-active=true]{box-shadow:0 0 0 3px color-mix(in srgb, var(--mint-color-danger,#bd5148) 18%, transparent)}}mint-tags .mint-tags-chips{flex-wrap:wrap;flex:auto;align-items:center;gap:.4rem;min-width:0;display:flex}mint-tags .mint-tags-input{min-width:6rem;max-width:100%;color:var(--mint-color-text,#28372d);font:inherit;background:0 0;border:0;outline:0;flex:6rem;padding:.35rem .25rem;font-size:.9rem}mint-tags .mint-tags-input::placeholder{color:var(--mint-color-text-muted,#89948d);opacity:1}mint-tags .mint-tags-input:focus-visible{outline:0}mint-tags .mint-tags-input[readonly]{cursor:pointer}@media (hover:none) and (pointer:coarse){mint-tags .mint-tags-input{font-size:16px}}mint-tags .mint-tags-info,mint-tags .mint-tags-error{margin-top:.25rem;font-size:.75rem;line-height:1rem;display:block}mint-tags .mint-tags-info{color:var(--mint-color-text-secondary,#66736a)}mint-tags .mint-tags-error{color:var(--mint-color-danger,#a23f38)}mint-tags .mint-tags-options{box-sizing:border-box;width:100%;min-width:0;color:var(--mint-color-text,#28372d);background:var(--mint-color-surface-raised,#fff);border-radius:inherit;flex-direction:column;gap:.125rem;margin:0;padding:.5rem;list-style:none;display:flex}mint-tags .mint-tags-option-item{width:100%;margin:0;padding:.25rem 0;display:block}mint-tags .mint-tags-empty{color:var(--mint-color-text-secondary,#66736a);padding:.8rem 1rem;font-size:.875rem;display:block}mint-tags mint-button.mint-tags-option{text-align:left;width:100%;min-height:2.75rem;color:var(--mint-color-text,#28372d);border-radius:.55rem;padding:.8rem 1rem;transition:background-color .15s,color .15s;display:block}mint-tags mint-button.mint-tags-option:hover{background:var(--mint-color-surface-muted,#f2f5f2);filter:none;cursor:pointer}mint-tags mint-button.mint-tags-option:focus-visible{outline:2px solid var(--mint-color-focus,#6eaa86);outline-offset:-2px}mint-tags mint-chip.mint-tags-chip-draggable{cursor:grab}mint-tags mint-chip.mint-tags-chip-dragging{opacity:.6}mint-tags mint-chip.mint-tags-chip-no-select{-webkit-user-select:none;user-select:none}mint-tags .mint-tags-skeleton{z-index:2;border-radius:inherit;background:linear-gradient(100deg, var(--mint-color-surface-muted,#eef2ed) 25%, var(--mint-color-surface-muted,#eef2ed) 45%, var(--mint-color-surface-muted,#eef2ed) 65%);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){mint-tags .mint-tags-skeleton{background:linear-gradient(100deg, var(--mint-color-surface-muted,#eef2ed) 25%, color-mix(in srgb, var(--mint-color-surface-muted,#eef2ed) 55%, var(--mint-color-surface-raised,#fff)) 45%, var(--mint-color-surface-muted,#eef2ed) 65%)}}mint-tags .mint-tags-skeleton{pointer-events:none;background-size:200% 100%;animation:1.4s ease-in-out infinite mint-tags-shimmer}}@keyframes mint-tags-shimmer{to{background-position-x:-200%}}@layer components{@media (prefers-reduced-motion:reduce){mint-tags .mint-tags-field{transition:none}mint-tags .mint-tags-skeleton{animation:none}}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
2
+ @layer theme, base, components, utilities;/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer utilities{.visible{visibility:visible}.static{position:static}.start{inset-inline-start:var(--spacing,.25rem)}.end{inset-inline-end:var(--spacing,.25rem)}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.hidden{display:none}.inline{display:inline}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}@layer components{mint-tags{min-width:calc(var(--spacing,.25rem) * 0);box-sizing:border-box;width:100%;min-width:0;color:var(--mint-color-text,#28372d);font-family:var(--mint-font-sans,inherit);margin:0;padding:0;display:block}mint-tags *,mint-tags :before,mint-tags :after{box-sizing:border-box}mint-tags .mint-tags-label-container{margin-bottom:.25rem}mint-tags .mint-tags-label{color:var(--mint-color-text,#28372d);font-size:.875rem;font-weight:500;line-height:1.25rem;display:block}mint-tags .mint-tags-field{width:100%;min-height:2.75rem;color:var(--mint-color-text,#28372d);background:var(--mint-color-surface-raised,#fff);border:1px solid var(--mint-color-border,#dfe6e0);border-radius:.7rem;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.4rem .65rem;transition:border-color .15s,box-shadow .15s,background-color .15s;display:flex;position:relative}mint-tags .mint-tags-field:focus-within,mint-tags .mint-tags-field[data-mint-tags-active=true]{border-color:var(--mint-color-focus,#9aa9a0);box-shadow:0 0 0 3px var(--mint-color-focus,#9aa9a0)}@supports (color:color-mix(in lab, red, red)){mint-tags .mint-tags-field:focus-within,mint-tags .mint-tags-field[data-mint-tags-active=true]{box-shadow:0 0 0 3px color-mix(in srgb, var(--mint-color-focus,#9aa9a0) 18%, transparent)}}mint-tags .mint-tags-field-error{border-color:var(--mint-color-danger,#bd5148)}mint-tags .mint-tags-field-error:focus-within,mint-tags .mint-tags-field-error[data-mint-tags-active=true]{border-color:var(--mint-color-danger,#bd5148);box-shadow:0 0 0 3px var(--mint-color-danger,#bd5148)}@supports (color:color-mix(in lab, red, red)){mint-tags .mint-tags-field-error:focus-within,mint-tags .mint-tags-field-error[data-mint-tags-active=true]{box-shadow:0 0 0 3px color-mix(in srgb, var(--mint-color-danger,#bd5148) 18%, transparent)}}mint-tags .mint-tags-chips{flex-wrap:wrap;flex:auto;align-items:center;gap:.4rem;min-width:0;display:flex}mint-tags .mint-tags-input{min-width:6rem;max-width:100%;color:var(--mint-color-text,#28372d);font:inherit;background:0 0;border:0;outline:0;flex:6rem;padding:.35rem .25rem;font-size:.9rem}mint-tags .mint-tags-input::placeholder{color:var(--mint-color-text-muted,#89948d);opacity:1}mint-tags .mint-tags-input:focus-visible{outline:0}mint-tags .mint-tags-input[readonly]{cursor:pointer}@media (hover:none) and (pointer:coarse){mint-tags .mint-tags-input{font-size:16px}}mint-tags .mint-tags-info,mint-tags .mint-tags-error{margin-top:.25rem;font-size:.75rem;line-height:1rem;display:block}mint-tags .mint-tags-info{color:var(--mint-color-text-secondary,#66736a)}mint-tags .mint-tags-error{color:var(--mint-color-danger,#a23f38)}mint-tags .mint-tags-options{box-sizing:border-box;width:100%;min-width:0;color:var(--mint-color-text,#28372d);background:var(--mint-color-surface-raised,#fff);border-radius:inherit;flex-direction:column;gap:.125rem;margin:0;padding:.5rem;list-style:none;display:flex}mint-tags .mint-tags-option-item{width:100%;margin:0;padding:0;display:block}mint-tags .mint-tags-empty{color:var(--mint-color-text-secondary,#66736a);padding:.8rem 1rem;font-size:.875rem;display:block}mint-tags button.mint-tags-option{width:100%;min-height:2.75rem;font:inherit;text-align:left;color:var(--mint-color-text,#28372d);cursor:pointer;background:0 0;border:0;border-radius:.55rem;margin:0;padding:.625rem 1rem;line-height:1.5rem;transition:background-color .15s,color .15s;display:block}mint-tags button.mint-tags-option:hover{background:var(--mint-color-surface-muted,#f2f5f2)}mint-tags button.mint-tags-option:focus-visible{outline:2px solid var(--mint-color-focus,#6eaa86);outline-offset:-2px}mint-tags mint-chip.mint-tags-chip-draggable{cursor:grab}mint-tags mint-chip.mint-tags-chip-dragging{opacity:.6}mint-tags mint-chip.mint-tags-chip-no-select{-webkit-user-select:none;user-select:none}mint-tags .mint-tags-skeleton{z-index:2;border-radius:inherit;background:linear-gradient(100deg, var(--mint-color-surface-muted,#eef2ed) 25%, var(--mint-color-surface-muted,#eef2ed) 45%, var(--mint-color-surface-muted,#eef2ed) 65%);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){mint-tags .mint-tags-skeleton{background:linear-gradient(100deg, var(--mint-color-surface-muted,#eef2ed) 25%, color-mix(in srgb, var(--mint-color-surface-muted,#eef2ed) 55%, var(--mint-color-surface-raised,#fff)) 45%, var(--mint-color-surface-muted,#eef2ed) 65%)}}mint-tags .mint-tags-skeleton{pointer-events:none;background-size:200% 100%;animation:1.4s ease-in-out infinite mint-tags-shimmer}}@keyframes mint-tags-shimmer{to{background-position-x:-200%}}@layer components{@media (prefers-reduced-motion:reduce){mint-tags .mint-tags-field{transition:none}mint-tags .mint-tags-skeleton{animation:none}}}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monobill-mintui",
3
- "version": "0.6.737",
3
+ "version": "0.6.739",
4
4
  "description": "Framework-independent HTML custom elements with component-scoped CSS.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,85 +0,0 @@
1
- import { t as e } from "./register-element-BFYmIynH.js";
2
- //#region src/components/scroll-fade/ScrollFade.ts
3
- function t(e, t = "vertical", n = "1.5rem", r = "mask") {
4
- let i = null, a = null, o = 0, s = () => {
5
- cancelAnimationFrame(o), o = requestAnimationFrame(() => {
6
- let i = t === "vertical" || t === "both", a = t === "horizontal" || t === "both", o = i && e.scrollTop > 1, s = i && e.scrollTop + e.clientHeight < e.scrollHeight - 1, c = a && e.scrollLeft > 1, l = a && e.scrollLeft + e.clientWidth < e.scrollWidth - 1, u = getComputedStyle(e), d = Number.parseFloat(u.borderTopWidth) || 0, f = Number.parseFloat(u.borderRightWidth) || 0, p = Number.parseFloat(u.borderBottomWidth) || 0, m = Number.parseFloat(u.borderLeftWidth) || 0;
7
- e.dataset.mintScrollFadeTop = String(o), e.dataset.mintScrollFadeBottom = String(s), e.dataset.mintScrollFadeLeft = String(c), e.dataset.mintScrollFadeRight = String(l), e.style.setProperty("--mint-scroll-fade-size", n), e.style.setProperty("--mint-scroll-fade-top-size", o ? n : "0px"), e.style.setProperty("--mint-scroll-fade-bottom-size", s ? n : "0px"), e.style.setProperty("--mint-scroll-fade-left-size", c ? n : "0px"), e.style.setProperty("--mint-scroll-fade-right-size", l ? n : "0px");
8
- let h = [];
9
- if (i) {
10
- let e = ["#000 0"];
11
- o && e.push(`transparent ${d}px`, `#000 calc(var(--mint-scroll-fade-top-size) + ${d}px)`), s ? e.push(`#000 calc(100% - var(--mint-scroll-fade-bottom-size) - ${p}px)`, `transparent calc(100% - ${p}px)`, "#000 100%") : e.push("#000 100%"), h.push(`linear-gradient(to bottom, ${e.join(", ")})`);
12
- }
13
- if (a) {
14
- let e = ["#000 0"];
15
- c && e.push(`transparent ${m}px`, `#000 calc(var(--mint-scroll-fade-left-size) + ${m}px)`), l ? e.push(`#000 calc(100% - var(--mint-scroll-fade-right-size) - ${f}px)`, `transparent calc(100% - ${f}px)`, "#000 100%") : e.push("#000 100%"), h.push(`linear-gradient(to right, ${e.join(", ")})`);
16
- }
17
- if (r === "overlay") e.dataset.mintScrollFadeMode = "overlay", e.style.maskImage = "", e.style.webkitMaskImage = "", e.style.maskClip = "", e.style.webkitMaskClip = "", e.style.removeProperty("mask-composite"), e.style.removeProperty("-webkit-mask-composite");
18
- else {
19
- let t = o || s || c || l ? h.join(", ") : "none";
20
- e.style.maskImage = t, e.style.webkitMaskImage = t, e.style.maskClip = "border-box", e.style.webkitMaskClip = "border", e.dataset.mintScrollFadeMode = "mask", h.length > 1 ? (e.style.maskComposite = "intersect", e.style.webkitMaskComposite = "source-in") : (e.style.removeProperty("mask-composite"), e.style.removeProperty("-webkit-mask-composite"));
21
- }
22
- });
23
- };
24
- return e.addEventListener("scroll", s, { passive: !0 }), typeof ResizeObserver < "u" && (i = new ResizeObserver(s), i.observe(e), e.firstElementChild && i.observe(e.firstElementChild)), typeof MutationObserver < "u" && (a = new MutationObserver(s), a.observe(e, {
25
- childList: !0,
26
- subtree: !0,
27
- characterData: !0
28
- })), s(), () => {
29
- e.removeEventListener("scroll", s), i?.disconnect(), a?.disconnect(), cancelAnimationFrame(o);
30
- for (let t of [
31
- "mintScrollFadeTop",
32
- "mintScrollFadeBottom",
33
- "mintScrollFadeLeft",
34
- "mintScrollFadeRight"
35
- ]) delete e.dataset[t];
36
- delete e.dataset.mintScrollFadeMode, e.style.maskImage = "", e.style.webkitMaskImage = "", e.style.maskClip = "", e.style.webkitMaskClip = "", e.style.removeProperty("--mint-scroll-fade-size"), e.style.removeProperty("--mint-scroll-fade-top-size"), e.style.removeProperty("--mint-scroll-fade-bottom-size"), e.style.removeProperty("--mint-scroll-fade-left-size"), e.style.removeProperty("--mint-scroll-fade-right-size"), e.style.removeProperty("mask-composite"), e.style.removeProperty("-webkit-mask-composite");
37
- };
38
- }
39
- var n = class extends HTMLElement {
40
- constructor(...e) {
41
- super(...e), this._disposeFade = null, this._target = null, this._contentObserver = null;
42
- }
43
- static get observedAttributes() {
44
- return [
45
- "axis",
46
- "fade-size",
47
- "target"
48
- ];
49
- }
50
- connectedCallback() {
51
- this._attachFade(), this._contentObserver = new MutationObserver(() => this._attachFade()), this._contentObserver.observe(this, {
52
- childList: !0,
53
- subtree: !0
54
- });
55
- }
56
- disconnectedCallback() {
57
- this._contentObserver?.disconnect(), this._contentObserver = null, this._disposeFade?.(), this._disposeFade = null, this._target = null, this.removeAttribute("data-wraps-scrollport");
58
- }
59
- attributeChangedCallback() {
60
- this.isConnected && this._attachFade();
61
- }
62
- _attachFade() {
63
- let e = this.getAttribute("target"), n = null;
64
- if (e) try {
65
- n = this.querySelector(e);
66
- } catch {
67
- n = null;
68
- }
69
- let r = n || Array.from(this.querySelectorAll("*")).find((e) => {
70
- let t = getComputedStyle(e);
71
- return /(auto|scroll)/.test(`${t.overflowY} ${t.overflowX}`);
72
- }) || this;
73
- if (r === this._target) return;
74
- this._disposeFade?.(), this._target = r, this.toggleAttribute("data-wraps-scrollport", r !== this);
75
- let i = this.getAttribute("axis") || "vertical";
76
- this._disposeFade = t(r, [
77
- "vertical",
78
- "horizontal",
79
- "both"
80
- ].includes(i) ? i : "vertical", this.getAttribute("fade-size") || "1.5rem");
81
- }
82
- };
83
- customElements.get("mint-scroll-fade") || e("mint-scroll-fade", n);
84
- //#endregion
85
- export { t as n, n as t };
@@ -1 +0,0 @@
1
- const e=require(`./register-element-tCL_F1YI.js`);function t(e,t=`vertical`,n=`1.5rem`,r=`mask`){let i=null,a=null,o=0,s=()=>{cancelAnimationFrame(o),o=requestAnimationFrame(()=>{let i=t===`vertical`||t===`both`,a=t===`horizontal`||t===`both`,o=i&&e.scrollTop>1,s=i&&e.scrollTop+e.clientHeight<e.scrollHeight-1,c=a&&e.scrollLeft>1,l=a&&e.scrollLeft+e.clientWidth<e.scrollWidth-1,u=getComputedStyle(e),d=Number.parseFloat(u.borderTopWidth)||0,f=Number.parseFloat(u.borderRightWidth)||0,p=Number.parseFloat(u.borderBottomWidth)||0,m=Number.parseFloat(u.borderLeftWidth)||0;e.dataset.mintScrollFadeTop=String(o),e.dataset.mintScrollFadeBottom=String(s),e.dataset.mintScrollFadeLeft=String(c),e.dataset.mintScrollFadeRight=String(l),e.style.setProperty(`--mint-scroll-fade-size`,n),e.style.setProperty(`--mint-scroll-fade-top-size`,o?n:`0px`),e.style.setProperty(`--mint-scroll-fade-bottom-size`,s?n:`0px`),e.style.setProperty(`--mint-scroll-fade-left-size`,c?n:`0px`),e.style.setProperty(`--mint-scroll-fade-right-size`,l?n:`0px`);let h=[];if(i){let e=[`#000 0`];o&&e.push(`transparent ${d}px`,`#000 calc(var(--mint-scroll-fade-top-size) + ${d}px)`),s?e.push(`#000 calc(100% - var(--mint-scroll-fade-bottom-size) - ${p}px)`,`transparent calc(100% - ${p}px)`,`#000 100%`):e.push(`#000 100%`),h.push(`linear-gradient(to bottom, ${e.join(`, `)})`)}if(a){let e=[`#000 0`];c&&e.push(`transparent ${m}px`,`#000 calc(var(--mint-scroll-fade-left-size) + ${m}px)`),l?e.push(`#000 calc(100% - var(--mint-scroll-fade-right-size) - ${f}px)`,`transparent calc(100% - ${f}px)`,`#000 100%`):e.push(`#000 100%`),h.push(`linear-gradient(to right, ${e.join(`, `)})`)}if(r===`overlay`)e.dataset.mintScrollFadeMode=`overlay`,e.style.maskImage=``,e.style.webkitMaskImage=``,e.style.maskClip=``,e.style.webkitMaskClip=``,e.style.removeProperty(`mask-composite`),e.style.removeProperty(`-webkit-mask-composite`);else{let t=o||s||c||l?h.join(`, `):`none`;e.style.maskImage=t,e.style.webkitMaskImage=t,e.style.maskClip=`border-box`,e.style.webkitMaskClip=`border`,e.dataset.mintScrollFadeMode=`mask`,h.length>1?(e.style.maskComposite=`intersect`,e.style.webkitMaskComposite=`source-in`):(e.style.removeProperty(`mask-composite`),e.style.removeProperty(`-webkit-mask-composite`))}})};return e.addEventListener(`scroll`,s,{passive:!0}),typeof ResizeObserver<`u`&&(i=new ResizeObserver(s),i.observe(e),e.firstElementChild&&i.observe(e.firstElementChild)),typeof MutationObserver<`u`&&(a=new MutationObserver(s),a.observe(e,{childList:!0,subtree:!0,characterData:!0})),s(),()=>{e.removeEventListener(`scroll`,s),i?.disconnect(),a?.disconnect(),cancelAnimationFrame(o);for(let t of[`mintScrollFadeTop`,`mintScrollFadeBottom`,`mintScrollFadeLeft`,`mintScrollFadeRight`])delete e.dataset[t];delete e.dataset.mintScrollFadeMode,e.style.maskImage=``,e.style.webkitMaskImage=``,e.style.maskClip=``,e.style.webkitMaskClip=``,e.style.removeProperty(`--mint-scroll-fade-size`),e.style.removeProperty(`--mint-scroll-fade-top-size`),e.style.removeProperty(`--mint-scroll-fade-bottom-size`),e.style.removeProperty(`--mint-scroll-fade-left-size`),e.style.removeProperty(`--mint-scroll-fade-right-size`),e.style.removeProperty(`mask-composite`),e.style.removeProperty(`-webkit-mask-composite`)}}var n=class extends HTMLElement{constructor(...e){super(...e),this._disposeFade=null,this._target=null,this._contentObserver=null}static get observedAttributes(){return[`axis`,`fade-size`,`target`]}connectedCallback(){this._attachFade(),this._contentObserver=new MutationObserver(()=>this._attachFade()),this._contentObserver.observe(this,{childList:!0,subtree:!0})}disconnectedCallback(){this._contentObserver?.disconnect(),this._contentObserver=null,this._disposeFade?.(),this._disposeFade=null,this._target=null,this.removeAttribute(`data-wraps-scrollport`)}attributeChangedCallback(){this.isConnected&&this._attachFade()}_attachFade(){let e=this.getAttribute(`target`),n=null;if(e)try{n=this.querySelector(e)}catch{n=null}let r=n||Array.from(this.querySelectorAll(`*`)).find(e=>{let t=getComputedStyle(e);return/(auto|scroll)/.test(`${t.overflowY} ${t.overflowX}`)})||this;if(r===this._target)return;this._disposeFade?.(),this._target=r,this.toggleAttribute(`data-wraps-scrollport`,r!==this);let i=this.getAttribute(`axis`)||`vertical`;this._disposeFade=t(r,[`vertical`,`horizontal`,`both`].includes(i)?i:`vertical`,this.getAttribute(`fade-size`)||`1.5rem`)}};customElements.get(`mint-scroll-fade`)||e.t(`mint-scroll-fade`,n),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return t}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
@@ -1 +0,0 @@
1
- require(`./icon-Bv1J3LwC.js`).a({name:`caret-down`,viewBox:`0 0 24 24`,path:`M19 9l-7 7-7-7`,strokeLinecap:`round`,strokeLinejoin:`round`});
@@ -1 +0,0 @@
1
- require(`./icon-Bv1J3LwC.js`).a({name:`caret-right`,viewBox:`0 0 24 24`,path:`M9 5l7 7-7 7`,strokeLinecap:`round`,strokeLinejoin:`round`});
@@ -1 +0,0 @@
1
- require(`./icon-Bv1J3LwC.js`).a({name:`close`,viewBox:`0 0 24 24`,path:`M6 18L18 6M6 6l12 12`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`3.2`});
@@ -1,51 +0,0 @@
1
- const e=require(`./register-element-tCL_F1YI.js`);var t=new Map;function n(e){t.set(e.name,e)}function r(e){return t.get(e)}function i(e){return t.has(e)}function a(){return Array.from(t.values())}var o=class extends HTMLElement{static get observedAttributes(){return[`name`,`color`,`size`]}_darkModeObserver=null;_defaultWidthClass=null;_defaultHeightClass=null;_appliedColor=null;_appliedWidthSize=null;_appliedHeightSize=null;constructor(){super()}connectedCallback(){this.classList.add(`box-border`,`m-0`,`p-0`,`border-0`,`inline-flex`,`items-center`,`leading-none`),this.render(),this._observeDarkMode()}attributeChangedCallback(e,t,n){t!==n&&this.render()}disconnectedCallback(){this._darkModeObserver&&=(this._darkModeObserver.disconnect(),null)}_observeDarkMode(){this._darkModeObserver||(this._darkModeObserver=new MutationObserver(e=>{for(let t of e)if(t.type===`attributes`&&t.attributeName===`class`){this.render();break}}),this._darkModeObserver.observe(document.documentElement,{attributes:!0,attributeFilter:[`class`]}))}getName(){return this.getAttribute(`name`)||``}_normalizeColorValue(e){if(!e)return``;let t=e.trim();if(!t)return``;if(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(t)||/^rgba?\(\s*[\d.\s]+,\s*[\d.\s]+,\s*[\d.\s]+(?:,\s*[\d.\s]+)?\s*\)$/.test(t)||typeof CSS<`u`&&CSS.supports(`color`,t))return t;if(/^\(\s*[\d.\s]+,\s*[\d.\s]+,\s*[\d.\s]+(?:,\s*[\d.\s]+)?\s*\)$/.test(t)){let e=t.slice(1,-1).trim().split(`,`).map(e=>e.trim());if(e.length===3)return`rgb(${e.join(`, `)})`;if(e.length===4)return`rgba(${e.join(`, `)})`}return``}_applySizeAttribute(){this._appliedWidthSize&&this.style.width===this._appliedWidthSize&&(this.style.width=``),this._appliedHeightSize&&this.style.height===this._appliedHeightSize&&(this.style.height=``),this._appliedWidthSize=null,this._appliedHeightSize=null;let e=this.getAttribute(`size`)?.trim();if(!e)return;let t=/^\d+(?:\.\d+)?$/.test(e)?`${e}px`:e;typeof CSS>`u`||!CSS.supports(`width`,t)||(this.style.width||(this.style.width=t,this._appliedWidthSize=t),this.style.height||(this.style.height=t,this._appliedHeightSize=t))}generateSVGMarkup(e){if(e.customSvg)return e.customSvg;let t;return t=e.fill&&e.strokeWidth?`<svg xmlns="http://www.w3.org/2000/svg" viewBox="${e.viewBox}" fill="none" stroke="currentColor" stroke-width="${e.strokeWidth}" stroke-linecap="${e.strokeLinecap||`round`}" stroke-linejoin="${e.strokeLinejoin||`round`}">
2
- <path d="${e.path}" />
3
- </svg>`:e.fill?e.viewBox===`0 0 512 512`?`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
4
- <g transform="scale(0.046875)">
5
- <path d="${e.path}" />
6
- </g>
7
- </svg>`:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="${e.viewBox}" fill="currentColor">
8
- <path d="${e.path}" />
9
- </svg>`:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="${e.viewBox}" fill="none" stroke="currentColor" stroke-width="${e.strokeWidth||`2`}" stroke-linecap="${e.strokeLinecap||`round`}" stroke-linejoin="${e.strokeLinejoin||`round`}">
10
- <path d="${e.path}" />
11
- </svg>`,t}render(){this._applySizeAttribute();let e=this.getName();if(this.getAttribute(`aria-label`)?.trim()||this.hasAttribute(`aria-labelledby`)?(this.setAttribute(`role`,`img`),this.removeAttribute(`aria-hidden`)):(this.removeAttribute(`role`),this.setAttribute(`aria-hidden`,`true`)),!e){this.innerHTML=``,this.style.maskImage=``,this.style.webkitMaskImage=``,this.style.backgroundColor=``,this.style.color=``;return}let t=r(e);if(!t){console.warn(`Icon "${e}" not found. Make sure you've imported the icon: import 'monobill-mintui/icon/icons/${e}'`),this.innerHTML=``,this.style.maskImage=``,this.style.webkitMaskImage=``,this.style.backgroundColor=``,this.style.color=``;return}let n=this.closest(`mint-button`)||this.parentElement?.closest(`mint-button`),i=this.closest(`mint-switch`)||this.parentElement?.closest(`mint-switch`),a=this.closest(`mint-select`)||this.parentElement?.closest(`mint-select`),o=!!this.closest(`mint-sidenav-link`)&&!n&&!i&&!a,s=(e,t)=>Array.from(this.classList).some(n=>{if(n===t)return!1;let r=n.split(`:`);return(r[r.length-1]?.replace(/^!/,``)||``).startsWith(`${e}-`)}),c=s(`w`,this._defaultWidthClass),l=s(`h`,this._defaultHeightClass);if(this._defaultWidthClass&&this.classList.remove(this._defaultWidthClass),this._defaultHeightClass&&this.classList.remove(this._defaultHeightClass),this._defaultWidthClass=null,this._defaultHeightClass=null,!a&&(!c||!l)){let e,t;i?(e=`w-3`,t=`h-3`):n||o?(e=`w-[1em]`,t=`h-[1em]`):(e=`w-[1.3em]`,t=`h-[1.3em]`),c||(this._defaultWidthClass=e,this.classList.add(e)),l||(this._defaultHeightClass=t,this.classList.add(t))}this.innerHTML=this.generateSVGMarkup(t),this.style.maskImage=``,this.style.webkitMaskImage=``,this.style.maskSize=``,this.style.webkitMaskSize=``,this.style.maskRepeat=``,this.style.webkitMaskRepeat=``,this.style.maskPosition=``,this.style.webkitMaskPosition=``,this.style.backgroundColor=``,this.style.aspectRatio=`1 / 1`;let u=this.querySelector(`svg`);u&&(u.style.width=`100%`,u.style.height=`100%`,u.setAttribute(`aria-hidden`,`true`),u.setAttribute(`focusable`,`false`));let d=this._normalizeColorValue(this.getAttribute(`color`));if(d){this.style.color=d,this._appliedColor=d;return}this._appliedColor&&this.style.color===this._appliedColor&&(this.style.color=``),this._appliedColor=null}};customElements.get(`mint-icon`)||e.t(`mint-icon`,o);var s={name:`ai`,viewBox:`0 0 24 24`,path:`M13 3.5H7.5a4 4 0 00-4 4v9a4 4 0 004 4h9a4 4 0 004-4V12M7.6 15.5l2-6.2h1.2l2 6.2m-3.2-2h2.2m3.5-4.2v6.2`,customSvg:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none">
12
- <path d="M13 3.5H7.5a4 4 0 0 0-4 4v9a4 4 0 0 0 4 4h9a4 4 0 0 0 4-4V12" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/>
13
- <path d="m7.6 15.5 2-6.2h1.2l2 6.2m-3.2-2h2.2m3.5-4.2v6.2" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"/>
14
- <path d="M17 1.5c.5 2.3 1.2 3 3.5 3.5-2.3.5-3 1.2-3.5 3.5-.5-2.3-1.2-3-3.5-3.5 2.3-.5 3-1.2 3.5-3.5Z" fill="currentColor"/>
15
- <path d="M21 4.2c.25 1.2.6 1.55 1.8 1.8-1.2.25-1.55.6-1.8 1.8-.25-1.2-.6-1.55-1.8-1.8 1.2-.25 1.55-.6 1.8-1.8Z" fill="currentColor"/>
16
- <path d="M18.7 6.8c.3 1.5.8 2 2.3 2.3-1.5.3-2 .8-2.3 2.3-.3-1.5-.8-2-2.3-2.3 1.5-.3 2-.8 2.3-2.3Z" fill="currentColor"/>
17
- </svg>`};n(s);var c={name:`archive`,viewBox:`0 0 24 24`,path:`M5 8h14M5 8a2 2 0 110-4h14a2 2 0 110 4M5 8v10a2 2 0 002 2h10a2 2 0 002-2V8m-9 4h4`,strokeLinecap:`round`,strokeLinejoin:`round`};n(c);var l={name:`arrow-down`,viewBox:`0 0 24 24`,path:`M19 14l-7 7m0 0l-7-7m7 7V3`,strokeLinecap:`round`,strokeLinejoin:`round`};n(l);var u={name:`arrow-left`,viewBox:`0 0 24 24`,path:`M19 12H5m7-7l-7 7 7 7`,strokeLinecap:`round`,strokeLinejoin:`round`};n(u);var d={name:`arrow-right`,viewBox:`0 0 24 24`,path:`M14 5l7 7m0 0l-7 7m7-7H3`,strokeLinecap:`round`,strokeLinejoin:`round`};n(d);var ee={name:`arrow-up`,viewBox:`0 0 24 24`,path:`M5 10l7-7m0 0l7 7m-7-7v18`,strokeLinecap:`round`,strokeLinejoin:`round`};n(ee);var te={name:`attach`,viewBox:`0 0 24 24`,path:`M15.172 7l-6.586 6.586a2 2 0 102.828 2.828l6.414-6.586a4 4 0 00-5.656-5.656l-6.415 6.585a6 6 0 108.486 8.486L20.5 13`,strokeLinecap:`round`,strokeLinejoin:`round`};n(te);var ne={name:`bank`,viewBox:`0 0 24 24`,path:`M4.75 8.65 L12 3.2 L19.25 8.65 Z M4.75 8.65 H19.25 V10.15 H4.75 Z M5.2 10.15 H6.95 V17.65 H5.2 Z M11.125 10.15 H12.875 V17.65 H11.125 Z M17.05 10.15 H18.8 V17.65 H17.05 Z M3.5 17.65 H20.5 V21 H3.5 Z`,fill:`currentColor`};n(ne);var f={name:`barcode`,viewBox:`0 0 24 24`,path:`M3 4h1.5v16H3V4zM7 4h1v16H7V4zM11 4h1.5v16H11V4zM15.5 4h1v16h-1V4zM19.5 4h1.5v16h-1.5V4z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(f);var p={name:`basket`,viewBox:`0 0 24 24`,path:`M4 9h16l-1.4 10.5a2 2 0 01-2 1.7H7.4a2 2 0 01-2-1.7L4 9zm4.5 0L12 4.5 15.5 9M10 13v3m4-3v3`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2.7`};n(p);var m={name:`bookmark`,viewBox:`0 0 24 24`,path:`M5 5a2 2 0 012-2h10a2 2 0 012 2v16l-7-3.5L5 21V5z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(m);var h={name:`building`,viewBox:`0 0 24 24`,path:`M7 21V6l5-3 5 3v15M3 21h18M10 8h1M13 8h1M10 11h1M13 11h1M10 14h1M13 14h1M11 21v-3h2v3`,strokeLinecap:`square`,strokeLinejoin:`miter`,strokeWidth:`2.2`};n(h);var g={name:`buildings`,viewBox:`0 0 24 24`,path:`M2 21h20M4 21v-9l3-2v11M9 21V6l3-2 3 2v15M17 21V10l3 2v9M5 13h1M5 16h1M10 8h1M13 8h1M10 11h1M13 11h1M10 14h1M13 14h1M18 13h1M18 16h1M11 21v-3h2v3`,strokeLinecap:`square`,strokeLinejoin:`miter`,strokeWidth:`1.5`};n(g);var _={name:`bullhorn`,viewBox:`0 0 24 24`,path:`M3 11v2l9 3V8l-9 3zm9-3l7-3v14l-7-3M6 14.5V18a2 2 0 002 2h1`,strokeLinecap:`round`,strokeLinejoin:`round`};n(_);var v={name:`calendar`,viewBox:`0 0 24 24`,path:`M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(v);var y={name:`calendar-day`,viewBox:`0 0 24 24`,path:`M8 7V3m8 4V3M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z`,customSvg:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
18
- <path d="M8 7V3m8 4V3M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" />
19
- <rect x="7" y="11" width="10" height="5" fill="currentColor"/>
20
- </svg>`,strokeLinecap:`round`,strokeLinejoin:`round`};n(y);var b={name:`calendar-empty`,viewBox:`0 0 24 24`,path:`M8 7V3m8 4V3M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(b);var x={name:`calendar-week`,viewBox:`0 0 24 24`,path:`M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(x);var S={name:`caret-down`,viewBox:`0 0 24 24`,path:`M19 9l-7 7-7-7`,strokeLinecap:`round`,strokeLinejoin:`round`};n(S);var C={name:`caret-left`,viewBox:`0 0 24 24`,path:`M15 19l-7-7 7-7`,strokeLinecap:`round`,strokeLinejoin:`round`};n(C);var w={name:`caret-right`,viewBox:`0 0 24 24`,path:`M9 5l7 7-7 7`,strokeLinecap:`round`,strokeLinejoin:`round`};n(w);var T={name:`caret-up`,viewBox:`0 0 24 24`,path:`M5 15l7-7 7 7`,strokeLinecap:`round`,strokeLinejoin:`round`};n(T);var E={name:`chart-bar`,viewBox:`0 0 24 24`,path:`M3 20h18M6 17v-5m4 5V7m4 10v-8m4 8v-3`,strokeLinecap:`round`,strokeLinejoin:`round`};n(E);var D={name:`chart-line`,viewBox:`0 0 24 24`,path:`M3 20h18M4 18V4m2 11l4-4 3 3 5-6m0 0h-4m4 0v4`,strokeLinecap:`round`,strokeLinejoin:`round`};n(D);var O={name:`chat`,viewBox:`0 0 24 24`,path:`M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(O);var k={name:`check`,viewBox:`0 0 24 24`,path:`M5 13l4 4L19 7`,strokeLinecap:`round`,strokeLinejoin:`round`};n(k);var A={name:`collapse`,viewBox:`0 0 24 24`,path:`M8 3v3a2 2 0 01-2 2H3m18 0h-3a2 2 0 01-2-2V3M3 16h3a2 2 0 012 2v3m13-5h-3a2 2 0 00-2 2v3`,strokeLinecap:`round`,strokeLinejoin:`round`};n(A);var j={name:`clock`,viewBox:`0 0 24 24`,path:`M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(j);var M={name:`close`,viewBox:`0 0 24 24`,path:`M6 18L18 6M6 6l12 12`,strokeLinecap:`round`,strokeLinejoin:`round`};n(M);var N={name:`code`,viewBox:`0 0 24 24`,path:`M9 4H7a2 2 0 00-2 2v3a3 3 0 01-3 3 3 3 0 013 3v3a2 2 0 002 2h2M15 4h2a2 2 0 012 2v3a3 3 0 003 3 3 3 0 00-3 3v3a2 2 0 01-2 2h-2`,strokeLinecap:`round`,strokeLinejoin:`round`};n(N);var P={name:`copy`,viewBox:`0 0 24 24`,path:`M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(P);var F={name:`credit-card`,viewBox:`0 0 24 24`,path:`M3 7.5A2.5 2.5 0 0 1 5.5 5h13A2.5 2.5 0 0 1 21 7.5v9A2.5 2.5 0 0 1 18.5 19h-13A2.5 2.5 0 0 1 3 16.5v-9zM3 10h18M7 15h3`,strokeLinecap:`round`,strokeLinejoin:`round`};n(F);var I={name:`delete`,viewBox:`0 0 24 24`,path:`M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16`,strokeLinecap:`round`,strokeLinejoin:`round`};n(I);var L={name:`desktop`,viewBox:`0 0 24 24`,path:`M4 4h16a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1ZM12 17v3m-4 0h8`,strokeLinecap:`round`,strokeLinejoin:`round`};n(L);var R={name:`desktop-screen`,viewBox:`0 0 24 24`,path:`M3 5a2 2 0 012-2h14a2 2 0 012 2v9a2 2 0 01-2 2h-5m-4 0H5a2 2 0 01-2-2V5m7 11v4m-2 0h8`,strokeLinecap:`round`,strokeLinejoin:`round`};n(R);var z={name:`documentation`,viewBox:`0 0 24 24`,path:`M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253`,strokeLinecap:`round`,strokeLinejoin:`round`};n(z);var B={name:`dollar-sign`,viewBox:`0 0 24 24`,path:`M12 3v18M17 7c0-1.2-1.3-2-3-2h-4c-1.7 0-3 1-3 2.2 0 1.5 1.4 2.2 3 2.6l4 1c1.6.4 3 1.1 3 2.6 0 1.2-1.3 2.2-3 2.2h-4c-1.7 0-3-1-3-2`,strokeWidth:`2.75`,strokeLinecap:`butt`,strokeLinejoin:`miter`};n(B);var V={name:`download`,viewBox:`0 0 24 24`,path:`M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4`,strokeLinecap:`round`,strokeLinejoin:`round`};n(V);var H={name:`duplicate`,viewBox:`0 0 24 24`,path:`M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(H);var U={name:`edit`,viewBox:`0 0 24 24`,path:`M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(U);var W={name:`clear-formatting`,viewBox:`0 0 24 24`,path:``,customSvg:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M6.5 3.2h13M13.7 4.2l-3.3 12.7M5.3 20.8h10.2M17.6 16.2l5.2 5.2m0-5.2-5.2 5.2"/></svg>`};n(W);var G={name:`ellipsis`,viewBox:`0 0 24 24`,path:`M6.6 12h.01M13.6 12h.01M20.6 12h.01M6.6 12a1.6 1.6 0 11-3.2 0 1.6 1.6 0 013.2 0zm7 0a1.6 1.6 0 11-3.2 0 1.6 1.6 0 013.2 0zm7 0a1.6 1.6 0 11-3.2 0 1.6 1.6 0 013.2 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(G);var K={name:`error`,viewBox:`0 0 24 24`,path:`M10 14l2-2m0 0l2-2m-2 2l-2-2m2 2l2 2m7-2a9 9 0 11-18 0 9 9 0 0118 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(K);var q={name:`external-link`,viewBox:`0 0 24 24`,path:`M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14`,strokeLinecap:`round`,strokeLinejoin:`round`};n(q);var J={name:`expand`,viewBox:`0 0 24 24`,path:`M8 3H5a2 2 0 00-2 2v3m13-5h3a2 2 0 012 2v3M3 16v3a2 2 0 002 2h3m13-5v3a2 2 0 01-2 2h-3`,strokeLinecap:`round`,strokeLinejoin:`round`};n(J);var Y={name:`eye`,viewBox:`0 0 24 24`,path:`M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6-10-6-10-6zm10 3.5a3.5 3.5 0 100-7 3.5 3.5 0 000 7z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Y);var X={name:`file`,viewBox:`0 0 24 24`,path:`M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(X);var Z={name:`filter`,viewBox:`0 0 24 24`,path:`M3 6h18M3 12h18M3 18h18M6 6a2 2 0 11-4 0 2 2 0 014 0zM12 12a2 2 0 11-4 0 2 2 0 014 0zM16 18a2 2 0 11-4 0 2 2 0 014 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Z);var re={name:`funnel`,viewBox:`0 0 24 24`,path:`M3 4h18l-7 8v6l-4 2v-8L3 4z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(re);var ie={name:`folder`,viewBox:`0 0 24 24`,path:`M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(ie);var ae={name:`gavel`,viewBox:`0 0 24 24`,path:`M12 12`,customSvg:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
21
- <g transform="translate(12 12) rotate(45)">
22
- <rect x="-5.52" y="-3.78" width="1.78" height="7.56" rx="0.55" ry="0.55"/>
23
- <rect x="-3.74" y="-3.12" width="7.48" height="6.24" rx="0.46" ry="0.46"/>
24
- <rect x="3.74" y="-3.78" width="1.78" height="7.56" rx="0.55" ry="0.55"/>
25
- <rect x="-0.4" y="3.78" width="0.8" height="8.45" rx="0.4" ry="0.4"/>
26
- <rect x="-1.18" y="12.21" width="2.36" height="2.55" rx="0.92" ry="0.92"/>
27
- </g>
28
- </svg>`};n(ae);var oe={name:`globe`,viewBox:`0 0 24 24`,path:`M12 2a10 10 0 100 20 10 10 0 000-20zm0 0c2.5 2.4 4 6.2 4 10s-1.5 7.6-4 10m0-20c-2.5 2.4-4 6.2-4 10s1.5 7.6 4 10M2 12h20M4.5 7h15M4.5 17h15`,strokeLinecap:`round`,strokeLinejoin:`round`};n(oe);var se={name:`grid`,viewBox:`0 0 24 24`,path:`M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(se);var ce={name:`th`,viewBox:`0 0 24 24`,customSvg:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><rect x="1" y="1" width="6.5" height="6.5" rx="1.15"/><rect x="8.75" y="1" width="6.5" height="6.5" rx="1.15"/><rect x="16.5" y="1" width="6.5" height="6.5" rx="1.15"/><rect x="1" y="8.75" width="6.5" height="6.5" rx="1.15"/><rect x="8.75" y="8.75" width="6.5" height="6.5" rx="1.15"/><rect x="16.5" y="8.75" width="6.5" height="6.5" rx="1.15"/><rect x="1" y="16.5" width="6.5" height="6.5" rx="1.15"/><rect x="8.75" y="16.5" width="6.5" height="6.5" rx="1.15"/><rect x="16.5" y="16.5" width="6.5" height="6.5" rx="1.15"/></svg>`};n(ce);var le={name:`grip-lines`,viewBox:`0 0 24 24`,path:`M12 12`,customSvg:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
29
- <rect x="2" y="8" width="18" height="2" rx="1" />
30
- <rect x="2" y="14" width="18" height="2" rx="1" />
31
- </svg>`};n(le);var ue={name:`help`,viewBox:`0 0 24 24`,path:`M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(ue);var de={name:`home`,viewBox:`0 0 24 24`,path:`M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6`,strokeLinecap:`round`,strokeLinejoin:`round`};n(de);var fe={name:`image`,viewBox:`0 0 24 24`,path:`M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(fe);var pe={name:`info`,viewBox:`0 0 24 24`,path:`M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(pe);var me={name:`language`,viewBox:`0 0 24 24`,path:`M3 5h12M9 3v2m1.048 9.5A18.022 18.022 0 016.412 9m6.088 9h7M11 21l5-10 5 10M12.751 5C11.783 10.77 8.07 15.61 3 18.129`,strokeLinecap:`round`,strokeLinejoin:`round`};n(me);var he={name:`line-chart`,viewBox:`0 0 24 24`,path:`M3 20h18M4 18V4m2 11l4-4 3 3 5-6m0 0h-4m4 0v4`,strokeLinecap:`round`,strokeLinejoin:`round`};n(he);var ge={name:`link`,viewBox:`0 0 24 24`,path:`M13.828 10.172a4 4 0 00-5.656 0l-4 4a4 4 0 105.656 5.656l1.102-1.101m-.758-4.899a4 4 0 005.656 0l4-4a4 4 0 00-5.656-5.656l-1.1 1.1`,strokeLinecap:`round`,strokeLinejoin:`round`};n(ge);var _e={name:`list`,viewBox:`0 0 24 24`,path:`M8 6h13M5 6h.01M8 12h13M5 12h.01M8 18h13M5 18h.01`,strokeLinecap:`round`,strokeLinejoin:`round`};n(_e);var ve={name:`location`,viewBox:`0 0 24 24`,path:`M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z M15 11a3 3 0 11-6 0 3 3 0 016 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(ve);var ye={name:`lock`,viewBox:`0 0 24 24`,path:`M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(ye);var be={name:`login`,viewBox:`0 0 24 24`,path:`M11 16l-4-4m0 0l4-4m-4 4h14m-5 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h7a3 3 0 013 3v1`,strokeLinecap:`round`,strokeLinejoin:`round`};n(be);var xe={name:`logout`,viewBox:`0 0 24 24`,path:`M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1`,strokeLinecap:`round`,strokeLinejoin:`round`};n(xe);var Se={name:`mail`,viewBox:`0 0 24 24`,path:`M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Se);var Ce={name:`map`,viewBox:`0 0 24 24`,path:`M9 20l-5.447-2.724A1 1 0 013 16.382V5.618a1 1 0 011.447-.894L9 7m0 13l6-3m-6 3V7m6 10l4.553 2.276A1 1 0 0021 18.382V7.618a1 1 0 00-.553-.894L15 4m0 13V4m0 0L9 7`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Ce);var we={name:`menu`,viewBox:`0 0 24 24`,path:`M4 6h16M4 12h16M4 18h16`,strokeLinecap:`round`,strokeLinejoin:`round`};n(we);var Te={name:`mobile`,viewBox:`0 0 24 24`,path:`M8 2h8a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1Zm3 16h2`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Te);var Ee={name:`moon`,viewBox:`0 0 24 24`,path:`M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Ee);var De={name:`notifications`,viewBox:`0 0 24 24`,path:`M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9`,strokeLinecap:`round`,strokeLinejoin:`round`};n(De);var Oe={name:`paste`,viewBox:`0 0 24 24`,path:`M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Oe);var ke={name:`pin`,viewBox:`0 0 16 16`,path:`M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146z`,strokeLinecap:`round`,strokeLinejoin:`round`,customSvg:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" stroke-linejoin="round"><path d="M9.828.722a.5.5 0 0 1 .354.146l4.95 4.95a.5.5 0 0 1 0 .707c-.48.48-1.072.588-1.503.588-.177 0-.335-.018-.46-.039l-3.134 3.134a5.927 5.927 0 0 1 .16 1.013c.046.702-.032 1.687-.72 2.375a.5.5 0 0 1-.707 0l-2.829-2.828-3.182 3.182c-.195.195-1.219.902-1.414.707-.195-.195.512-1.22.707-1.414l3.182-3.182-2.828-2.829a.5.5 0 0 1 0-.707c.688-.688 1.673-.767 2.375-.72a5.922 5.922 0 0 1 1.013.16l3.134-3.133a2.772 2.772 0 0 1-.04-.461c0-.43.108-1.022.589-1.503a.5.5 0 0 1 .353-.146z" /></svg>`};n(ke);var Ae={name:`plus`,viewBox:`0 0 24 24`,path:`M12 4v16m8-8H4`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Ae);var je={name:`print`,viewBox:`0 0 24 24`,path:`M17 17h2a2 2 0 002-2v-4a2 2 0 00-2-2H5a2 2 0 00-2 2v4a2 2 0 002 2h2m2 4h6a2 2 0 002-2v-4a2 2 0 00-2-2H9a2 2 0 00-2 2v4a2 2 0 002 2zm8-12V5a2 2 0 00-2-2H9a2 2 0 00-2 2v4h10z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(je);var Me={name:`qr-code`,viewBox:`0 0 24 24`,path:`M4 3H9C10.1 3 11 3.9 11 5V10C11 11.1 10.1 12 9 12H4C2.9 12 2 11.1 2 10V5C2 3.9 2.9 3 4 3ZM4.75 4.5C4.34 4.5 4 4.84 4 5.25V9.75C4 10.16 4.34 10.5 4.75 10.5H8.25C8.66 10.5 9 10.16 9 9.75V5.25C9 4.84 8.66 4.5 8.25 4.5H4.75ZM15 3H20C21.1 3 22 3.9 22 5V10C22 11.1 21.1 12 20 12H15C13.9 12 13 11.1 13 10V5C13 3.9 13.9 3 15 3ZM15.75 4.5C15.34 4.5 15 4.84 15 5.25V9.75C15 10.16 15.34 10.5 15.75 10.5H19.25C19.66 10.5 20 10.16 20 9.75V5.25C20 4.84 19.66 4.5 19.25 4.5H15.75ZM4 13H9C10.1 13 11 13.9 11 15V20C11 21.1 10.1 22 9 22H4C2.9 22 2 21.1 2 20V15C2 13.9 2.9 13 4 13ZM4.75 14.5C4.34 14.5 4 14.84 4 15.25V19.75C4 20.16 4.34 20.5 4.75 20.5H8.25C8.66 20.5 9 20.16 9 19.75V15.25C9 14.84 8.66 14.5 8.25 14.5H4.75ZM13 13H16V16H19V19H16V22H13V19H16V16H13V13Z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Me);var Ne={name:`refresh`,viewBox:`0 0 24 24`,path:`M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Ne);var Pe={name:`remove`,viewBox:`0 0 24 24`,path:`M20 12H4`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Pe);var Fe={name:`save`,viewBox:`0 0 24 24`,path:`M8 7H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-3m-1 4l-3 3m0 0l-3-3m3 3V4`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Fe);var Ie={name:`save-alt`,viewBox:`0 0 24 24`,path:`M5 3h12l4 4v14H3V3h2zm2 0v6h10V3M7 21v-8h10v8`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Ie);var Le={name:`search`,viewBox:`0 0 24 24`,path:`M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Le);var Re={name:`settings`,viewBox:`0 0 24 24`,path:`M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z M15 12a3 3 0 11-6 0 3 3 0 016 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Re);var ze={name:`share`,viewBox:`0 0 24 24`,path:`M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 110-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 105.367-2.684 3 3 0 00-5.367 2.684zm0 9.316a3 3 0 105.368 2.684 3 3 0 00-5.368-2.684z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(ze);var Be={name:`sort`,viewBox:`0 0 24 24`,path:`M3 6h18M7 12h10m-7 6h4`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Be);var Ve={name:`sort-arrows`,viewBox:`0 0 24 24`,path:`M1 5l5-4m0 0l5 4m-5-4v22 M13 19l5 4m0 0l5-4m-5 4V1`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Ve);var He={name:`star`,viewBox:`0 0 24 24`,path:`M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.197-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.784-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(He);var Ue={name:`success`,viewBox:`0 0 24 24`,path:`M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Ue);var We={name:`sun`,viewBox:`0 0 24 24`,path:`M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(We);var Ge={name:`table`,viewBox:`0 0 24 24`,path:`M3 10h18M3 14h18m-9-4v8m-7 0h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Ge);var Ke={name:`tablet`,viewBox:`0 0 24 24`,path:`M6 3h12a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Zm5 15h2`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Ke);var qe={name:`tag`,viewBox:`0 0 24 24`,path:`M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A1.994 1.994 0 013 12V7a4 4 0 014-4z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(qe);var Je={name:`trash`,viewBox:`0 0 24 24`,path:`M3 6h18m-2 0v14a2 2 0 01-2 2H7a2 2 0 01-2-2V6m3 0V4a2 2 0 012-2h4a2 2 0 012 2v2`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Je);var Ye={name:`unlock`,viewBox:`0 0 24 24`,path:`M8 11V7a4 4 0 118 0m-4 8v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Ye);var Xe={name:`upload`,viewBox:`0 0 24 24`,path:`M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Xe);var Ze={name:`user`,viewBox:`0 0 24 24`,path:`M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Ze);var Qe={name:`user-add`,viewBox:`0 0 24 24`,path:`M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Qe);var $e={name:`users`,viewBox:`0 0 24 24`,path:`M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z`,strokeLinecap:`round`,strokeLinejoin:`round`};n($e);var et={name:`video`,viewBox:`0 0 24 24`,path:`M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(et);var tt={name:`warning`,viewBox:`0 0 24 24`,path:`M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(tt);var nt={name:`shopping-cart`,viewBox:`0 0 24 24`,path:`M3 4h2l2.2 11h10.9l2-7H6m3.2 7-.9 3h10.2M9 21h.01M17 21h.01`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(nt);var rt={name:`package`,viewBox:`0 0 24 24`,path:`M3 7l9-4 9 4-9 4-9-4zm0 0v10l9 4 9-4V7M12 11v10M7.5 5l9 4`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(rt);var it={name:`storefront`,viewBox:`0 0 24 24`,path:`M3 10l2-6h14l2 6M4 10v10h16V10M3 10a3 3 0 006 0 3 3 0 006 0 3 3 0 006 0M10 15v5m4-5v5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(it);var at={name:`receipt`,viewBox:`0 0 24 24`,path:`M6 3l2 1.5L10 3l2 1.5L14 3l2 1.5L18 3v18l-2-1.5-2 1.5-2-1.5-2 1.5-2-1.5L6 21V3zm3 6h6m-6 4h6m-6 4h3`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(at);var ot={name:`coupon`,viewBox:`0 0 24 24`,path:`M4 5h16v4a3 3 0 000 6v4H4v-4a3 3 0 000-6V5zm8 1v2m0 2v2m0 2v2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(ot);var st={name:`heart`,viewBox:`0 0 24 24`,path:`M20.8 8.8c0 5.2-8.8 11-8.8 11s-8.8-5.8-8.8-11a4.8 4.8 0 018.8-2.6 4.8 4.8 0 018.8 2.6z`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(st);var ct={name:`return`,viewBox:`0 0 24 24`,path:`M9 14l-5-5 5-5M4 9h10a6 6 0 010 12h-3`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(ct),n({name:`undo`,viewBox:`0 0 24 24`,path:`M9 14 4 9l5-5M4 9h10a6 6 0 0 1 0 12h-2`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`redo`,viewBox:`0 0 24 24`,path:`m15 14 5-5-5-5m5 5H10a6 6 0 0 0 0 12h2`,strokeLinecap:`round`,strokeLinejoin:`round`});var lt={name:`shirt`,viewBox:`0 0 24 24`,path:`M8 4l4 2 4-2 5 3-2 4-3-1v10H8V10l-3 1-2-4 5-3z M8 4c0 2 1.8 3.5 4 3.5S16 6 16 4`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(lt);var ut={name:`jacket`,viewBox:`0 0 24 24`,path:`M8 4l4 2 4-2 4 3-2 14h-5V11l-1 2-1-2v10H6L4 7l4-3z M8 4c0 2 1.8 3.5 4 3.5S16 6 16 4 M12 8v3`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(ut);var dt={name:`dress`,viewBox:`0 0 24 24`,path:`M9 4a3 3 0 006 0l2 2-2 4 5 10H4l5-10-2-4 2-2z M9 10h6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(dt);var ft={name:`shoe`,viewBox:`0 0 24 24`,path:`M3 15l4-1 4-7 3 2-1 3 4 2 4 1v4H3v-4z M11 10l2 1 M9 12l2 1 M7 14l2 1`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(ft),n({name:`grip-dots`,viewBox:`0 0 24 24`,path:`M12 12`,customSvg:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
32
- <circle cx="8" cy="5" r="1.6" /><circle cx="16" cy="5" r="1.6" />
33
- <circle cx="8" cy="12" r="1.6" /><circle cx="16" cy="12" r="1.6" />
34
- <circle cx="8" cy="19" r="1.6" /><circle cx="16" cy="19" r="1.6" />
35
- </svg>`});var pt={name:`wallet`,viewBox:`0 0 24 24`,path:`M4 6.5A2.5 2.5 0 016.5 4H20v16H6a3 3 0 01-3-3V6.5A2.5 2.5 0 016 9h14m-4 4h.01`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(pt);var mt={name:`gift`,viewBox:`0 0 24 24`,path:`M3 9h18v12H3V9zm-1-3h20v3H2V6zm10 0v15m0-15C11 4.6 9.8 3 8 3a1.5 1.5 0 000 3m4 0c1-1.4 2.2-3 4-3a1.5 1.5 0 010 3`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(mt);var ht={name:`support`,viewBox:`0 0 24 24`,path:`M4 13v-2a8 8 0 0116 0v2m-16 0h3v6H6a2 2 0 01-2-2v-2a2 2 0 012-2zm16 0h-3v6h1a2 2 0 002-2v-2a2 2 0 00-2-2zm-3 8h-4`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(ht);var gt={name:`shopping-bag`,viewBox:`0 0 24 24`,path:`M5 8h14l1 13H4L5 8zm4 0V6a3 3 0 016 0v2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(gt);var _t={name:`warehouse`,viewBox:`0 0 24 24`,path:`M3 10l9-6 9 6v10H3V10zm4 10v-7h10v7m-7-7v7m4-7v7`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(_t);var vt={name:`delivery-location`,viewBox:`0 0 24 24`,path:`M12 21s7-6.2 7-12a7 7 0 10-14 0c0 5.8 7 12 7 12zm0-9a3 3 0 110-6 3 3 0 010 6zm-9 9h18`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(vt);var yt={name:`order-tracking`,viewBox:`0 0 24 24`,path:`M14.7 2.2H2.9a1.5 1.5 0 00-1.5 1.5v11.4a1.5 1.5 0 001.5 1.5h.2m6.1 0h5.5m0-14.4v14.4M14.7 6.1H18c.8 0 1.5.4 2 1.1l2.4 3.4c.5.7.7 1.4.7 2.2v2.3a1.5 1.5 0 01-1.5 1.5h-.4m-5.8 0h-.7M15.2 7.9h2.6l2.8 4.1h-5.4zM3 19.6a3.1 3.1 0 106.2 0 3.1 3.1 0 00-6.2 0zm12 0a3.1 3.1 0 106.2 0 3.1 3.1 0 00-6.2 0z`,customSvg:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
36
- <path d="M14.7 2.2H2.9a1.5 1.5 0 0 0-1.5 1.5v11.4a1.5 1.5 0 0 0 1.5 1.5h.2m6.1 0h5.5m0-14.4v14.4" />
37
- <path d="M14.7 6.1H18c.8 0 1.5.4 2 1.1l2.4 3.4c.5.7.7 1.4.7 2.2v2.3a1.5 1.5 0 0 1-1.5 1.5h-.4m-5.8 0h-.7" />
38
- <path d="M15.2 7.9h2.6l2.8 4.1h-5.4z" />
39
- <circle cx="6.1" cy="19.6" r="3.1" />
40
- <circle cx="18.1" cy="19.6" r="3.1" />
41
- </svg>`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(yt);var bt={name:`cash`,viewBox:`0 0 24 24`,path:`M3 6h18v12H3V6zm4 3h.01M17 9h.01M7 15h.01M17 15h.01M12 15a3 3 0 100-6 3 3 0 000 6z`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(bt);var xt={name:`installments`,viewBox:`0 0 24 24`,path:`M4 4h16v16H4V4zm0 4h16m-12 4h2m4 0h2m-8 4h2m4 0h2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(xt);var St={name:`invoice`,viewBox:`0 0 24 24`,path:`M6 3h12v18l-3-2-3 2-3-2-3 2V3zm3 5h6m-6 4h6m-6 4h3`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(St);var Ct={name:`price-label`,viewBox:`0 0 24 24`,path:`M3 5h10l8 8-8 8-10-10V5zm5 5h.01`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(Ct);var wt={name:`sale-burst`,viewBox:`0 0 24 24`,path:`M12 1.5l1.63 2.31 2.39-1.51.62 2.76 2.78-.48-.48 2.78 2.76.62-1.51 2.39L22.5 12l-2.31 1.63 1.51 2.39-2.76.62.48 2.78-2.78-.48-.62 2.76-2.39-1.51L12 22.5l-1.63-2.31-2.39 1.51-.62-2.76-2.78.48.48-2.78-2.76-.62 1.51-2.39L1.5 12l2.31-1.63L2.3 7.98l2.76-.62-.48-2.78 2.78.48.62-2.76 2.39 1.51L12 1.5zm-3 6.2a1.7 1.7 0 100 3.4 1.7 1.7 0 000-3.4zm6 5.2a1.7 1.7 0 100 3.4 1.7 1.7 0 000-3.4M8 16l8-8`,strokeLinecap:`round`,strokeLinejoin:`miter`,strokeWidth:`1.8`};n(wt);var Tt={name:`percent-discount`,viewBox:`0 0 24 24`,path:`M19 5L5 19M7 8a2 2 0 110-4 2 2 0 010 4zm10 12a2 2 0 110-4 2 2 0 010 4z`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(Tt);var Et={name:`product-review`,viewBox:`0 0 24 24`,path:`M12 3l2.7 5.5 6.1.9-4.4 4.3 1 6.1-5.4-2.9-5.4 2.9 1-6.1-4.4-4.3 6.1-.9L12 3z`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(Et);var Q={name:`products`,viewBox:`0 0 24 24`,path:`M8 7h3l7 7-9 9-7-7v-5a4 4 0 014-4z`,customSvg:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round">
42
- <defs>
43
- <mask id="products-front-tag-mask" maskUnits="userSpaceOnUse" x="0" y="0" width="24" height="24">
44
- <rect width="24" height="24" fill="white" />
45
- <path d="M8 7h3l7 7-9 9-7-7v-5a4 4 0 014-4z" fill="black" stroke="none" />
46
- </mask>
47
- </defs>
48
- <path d="M12 2h3l7 7-9 9-8-8V6a4 4 0 014-4z" mask="url(#products-front-tag-mask)" />
49
- <path d="M8 7h3l7 7-9 9-7-7v-5a4 4 0 014-4z" />
50
- <circle cx="7.5" cy="11.5" r="0.7" />
51
- </svg>`};n(Q);var Dt={name:`loyalty-points`,viewBox:`0 0 24 24`,path:`M12 3l2.4 4.8 5.3.8-3.8 3.7.9 5.2-4.8-2.5-4.8 2.5.9-5.2-3.8-3.7 5.3-.8L12 3zm-3 13v5l3-1.7 3 1.7v-5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(Dt);var Ot={name:`membership`,viewBox:`0 0 24 24`,path:`M5 3.5h14a2 2 0 012 2v13a2 2 0 01-2 2H5a2 2 0 01-2-2v-13a2 2 0 012-2zm-2 4h12m2-4v6l1.5-1.2L20 9.5v-6M8.5 11.5a1.3 1.3 0 100 2.6 1.3 1.3 0 000-2.6zm-2.3 5.1c.5-.9 1.3-1.3 2.3-1.3s1.8.4 2.3 1.3M13.5 12.5h4.5m-4.5 3h4.5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(Ot);var kt={name:`inventory`,viewBox:`0 0 24 24`,path:`M8 4h8a2 2 0 012 2v1h2v14H4V7h2V6a2 2 0 012-2zm1 0V3h6v1M8 11h8m-8 4h8`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(kt);var At={name:`out-of-stock`,viewBox:`0 0 24 24`,path:`M4 5h16v14H4V5zm3 3l10 8m0-8L7 16m-3 5h16`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(At);var jt={name:`pickup`,viewBox:`0 0 24 24`,path:`M5.5 2.8a1.6 1.6 0 100 3.2 1.6 1.6 0 000-3.2zm-.8 5.1-1 5.8 2.2 1.7 2.5 5.1m-4.7-6.8L2.5 20m2.2-12.1 3.8 2.8 3.2.1m-.2-5.1l4.5-2 4.5 2-4.5 2-4.5-2zm0 0v5l4.5 2 4.5-2v-5m-4.5 1v6.5`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(jt);var Mt={name:`secure-checkout`,viewBox:`0 0 24 24`,path:`M12 3l7 3v5c0 5-3 8-7 10-4-2-7-5-7-10V6l7-3zm-3 9l2 2 4-4`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`};n(Mt);var Nt={name:`refund`,viewBox:`0 0 24 24`,path:`M14 3.5a8.5 8.5 0 110 17 8.5 8.5 0 010-17zm0 2.5v12m2.7-9.3c-.5-1-1.5-1.5-2.7-1.5-1.5 0-2.5.8-2.5 1.9 0 2.5 5 1.2 5 3.8 0 1.2-1 2-2.5 2-1.2 0-2.2-.5-2.8-1.5M6.5 7H2.5m0 0l2-2M2.5 7l2 2`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`};n(Nt);var Pt={name:`variants`,viewBox:`0 0 24 24`,path:`M6 15.5V12m12 3.5V12M6 12h12m-6 0V8.5M3 18.5a3 3 0 106 0 3 3 0 00-6 0zm12 0a3 3 0 106 0 3 3 0 00-6 0zm-6-13a3 3 0 106 0 3 3 0 00-6 0z`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`};n(Pt);var $=(e,t)=>({name:e,viewBox:`0 0 24 24`,path:``,customSvg:t}),Ft=$(`minus`,`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M5 12h14"/></svg>`),It=$(`font-size`,`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M3 19 8 5l5 14M5 14h6M15 8h6M18 8v11M15.5 19h5"/></svg>`),Lt=$(`text-color`,`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M4 20h16M7 16l5-12 5 12M9.2 11h5.6"/></svg>`),Rt=$(`highlight`,`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="m14.8 4.2 5 5L10 19H5v-5zM12.2 6.8l5 5M4 21h16"/><path d="m3 18 3 3"/></svg>`),zt=$(`font-family`,`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><text x="1.8" y="17.2" font-family="Arial,sans-serif" font-size="13" font-weight="600">Aa</text></svg>`),Bt=$(`comment-plus`,`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="M20 11.5a7.5 7.5 0 0 1-7.5 7.5H6l-3 2v-6.5A7.5 7.5 0 0 1 10.5 7H12"/><path d="M17 2v8M13 6h8"/></svg>`),Vt=$(`align-center`,`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M4 5h16M7 9h10M4 13h16M7 17h10M4 21h16"/></svg>`),Ht=$(`align-right`,`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M4 5h16M10 9h10M4 13h16M10 17h10M4 21h16"/></svg>`),Ut=$(`align-justify`,`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M4 5h16M4 9h16M4 13h16M4 17h16M4 21h16"/></svg>`),Wt=$(`checklist`,`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round"><path d="m3 6 1.5 1.5L7 5M10 6h11M3 13l1.5 1.5L7 12M10 13h11M3 20l1.5 1.5L7 19M10 20h11"/></svg>`),Gt=$(`palette`,`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3a9 9 0 1 0 0 18h1.2a2 2 0 0 0 1.4-3.4 1.8 1.8 0 0 1 1.3-3.1H18a3 3 0 0 0 3-3c0-4.7-4-8.5-9-8.5Z"/><circle cx="7.5" cy="11" r=".8" fill="currentColor"/><circle cx="10" cy="7.5" r=".8" fill="currentColor"/><circle cx="14" cy="7.8" r=".8" fill="currentColor"/><circle cx="17" cy="10.5" r=".8" fill="currentColor"/></svg>`);n({name:`ruler`,viewBox:`0 0 24 24`,path:`M3 7.5 7.5 3l13.5 13.5-4.5 4.5L3 7.5ZM6 6l2.5-2.5M8.5 8.5 10 7m1.5 4.5L13 10m1.5 4.5L16 13m1.5 4.5L19 16`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`heading`,viewBox:`0 0 24 24`,path:`M5 4v16M19 4v16M5 12h14`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`file-alt`,viewBox:`0 0 24 24`,path:`M6 3h8l5 5v13H6a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2Zm8 0v5h5M8 13h8M8 17h8`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`info-circle`,viewBox:`0 0 24 24`,path:`M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20ZM12 11v5m0-8h.01`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`chevron-down`,viewBox:`0 0 24 24`,path:`m6 9 6 6 6-6`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`chevron-up`,viewBox:`0 0 24 24`,path:`m6 15 6-6 6 6`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`cog`,viewBox:`0 0 24 24`,path:`M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z M15 12a3 3 0 11-6 0 3 3 0 016 0z`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`columns`,viewBox:`0 0 24 24`,path:`M12 12`,customSvg:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M4 1h16a3 3 0 0 1 3 3v16a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V4a3 3 0 0 1 3-3Zm-.5 3v16h7.5V4h-7.5Zm10 0v16H21V4h-7.5Z"/></svg>`}),n({name:`arrows-alt-h`,viewBox:`0 0 24 24`,path:`M4 12h16m-4-4 4 4-4 4M8 8l-4 4 4 4`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`exchange-alt`,viewBox:`0 0 24 24`,path:`M4 8h15m-4-4 4 4-4 4M20 16H5m4 4-4-4 4-4`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`hand-point-up`,viewBox:`0 0 24 24`,path:`M9 11V5a2 2 0 0 1 4 0v6-2a2 2 0 0 1 4 0v2-1a2 2 0 0 1 4 0v5c0 4-2.5 7-6.5 7h-1c-2 0-3.5-.8-4.8-2.2L5 15a2 2 0 0 1 3-2.6L9 14`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`images`,viewBox:`0 0 24 24`,path:`M8 7V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2h-3M4 7h10a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2Zm0 11 3.5-3.5 2.5 2 2-2 2 3.5M11 11h.01`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`align-left`,viewBox:`0 0 24 24`,path:`M4 5h16M4 9h10M4 13h16M4 17h10M4 21h16`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`th-list`,viewBox:`0 0 24 24`,path:`M4 5h2m4 0h10M4 12h2m4 0h10M4 19h2m4 0h10`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`hashtag`,viewBox:`0 0 24 24`,path:`M5 9h15M4 15h15M10 4 8 20M17 4l-2 16`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`th-large`,viewBox:`0 0 24 24`,path:`M12 12`,customSvg:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><rect x="1" y="1" width="10.5" height="10.5" rx="1.8"/><rect x="12.5" y="1" width="10.5" height="10.5" rx="1.8"/><rect x="1" y="12.5" width="10.5" height="10.5" rx="1.8"/><rect x="12.5" y="12.5" width="10.5" height="10.5" rx="1.8"/></svg>`}),n({name:`stream`,viewBox:`0 0 24 24`,path:`M4 5h16M4 9h12M4 13h16M4 17h12M4 21h16`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`mouse-pointer`,viewBox:`0 0 24 24`,path:`M5 3v17l5-5 4 6 3-2-4-6h7L5 3Z`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`sign-out-alt`,viewBox:`0 0 24 24`,path:`M10 4H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h5M14 8l4 4-4 4m4-4H8`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`mobile-alt`,viewBox:`0 0 24 24`,path:`M9 2h6a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H9a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2Zm1 3h4m-3 13h2`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`circle-notch`,viewBox:`0 0 24 24`,path:`M12 3a9 9 0 1 0 9 9`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`ellipsis-h`,viewBox:`0 0 24 24`,path:`M5 12h.01M12 12h.01M19 12h.01`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`plus-circle`,viewBox:`0 0 24 24`,path:`M12 8v8m4-4H8m13 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z`,strokeLinecap:`round`,strokeLinejoin:`round`}),n({name:`external-link-alt`,viewBox:`0 0 24 24`,path:`M14 4h6v6m0-6-9 9M18 13v5a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h5`,strokeLinecap:`round`,strokeLinejoin:`round`});var Kt={name:`bold`,viewBox:`0 0 24 24`,path:`M7 4h6a4 4 0 010 8H7zm0 8h7a4 4 0 010 8H7z`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Kt);var qt={name:`italic`,viewBox:`0 0 24 24`,path:`M8 5h12M14 5l-4 14M4 19h12`,strokeLinecap:`round`,strokeLinejoin:`round`};n(qt);var Jt={name:`underline`,viewBox:`0 0 24 24`,path:`M6 4v6a6 6 0 0012 0V4M4 21h16`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Jt);var Yt={name:`numbered-list`,viewBox:`0 0 24 24`,path:`M10 6h11M10 12h11M10 18h11M4 5h2v3M4 11h2l-2 2h2M4 17h2v2H4`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Yt);var Xt={name:`quote`,viewBox:`0 0 24 24`,path:`M10 11H5a2 2 0 00-2 2v5h7v-5a2 2 0 00-2-2zm11 0h-5a2 2 0 00-2 2v5h7v-5a2 2 0 00-2-2zM7 11V8a3 3 0 013-3m8 6V8a3 3 0 013-3`,strokeLinecap:`round`,strokeLinejoin:`round`};n(Xt),n(s),n(c),n(l),n(u),n(d),n(ee),n(te),n(ne),n(f),n(p),n(m),n(h),n(g),n(_),n(v),n(y),n(b),n(x),n(S),n(C),n(w),n(T),n(E),n(D),n(O),n(k),n(A),n(j),n(M),n(N),n(P),n(F),n(I),n(L),n(R),n(z),n(B),n(V),n(H),n(U),n(W),n(G),n(K),n(q),n(J),n(Y),n(X),n(Z),n(re),n(ie),n(ae),n(oe),n(se),n(ce),n(le),n(ue),n(de),n(fe),n(pe),n(me),n(he),n(ge),n(_e),n(ve),n(ye),n(be),n(xe),n(Se),n(Ce),n(we),n(Te),n(Ee),n(De),n(Oe),n(ke),n(Ae),n(je),n(Me),n(Ne),n(Pe),n(Fe),n(Ie),n(Le),n(Re),n(ze),n(Be),n(Ve),n(He),n(Ue),n(We),n(Ge),n(Ke),n(qe),n(Je),n(Ye),n(Xe),n(Ze),n(Qe),n($e),n(et),n(tt),n(nt),n(rt),n(it),n(at),n(ot),n(st),n(ct),n(lt),n(ut),n(dt),n(ft),n(pt),n(mt),n(ht),n(gt),n(_t),n(vt),n(yt),n(bt),n(xt),n(St),n(Ct),n(wt),n(Tt),n(Et),n(Q),n(Dt),n(Ot),n(kt),n(At),n(jt),n(Mt),n(Nt),n(Pt),n(Ft),n(It),n(Lt),n(Rt),n(zt),n(Bt),n(Vt),n(Ht),n(Ut),n(Wt),n(Gt),n(Kt),n(qt),n(Jt),n(Yt),n(Xt),Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return o}});
@@ -1 +0,0 @@
1
- require(`./icon-Bv1J3LwC.js`);
@@ -1 +0,0 @@
1
- import "./icon-1cs-hcBy.js";
@@ -1 +0,0 @@
1
- const e=require(`./register-element-tCL_F1YI.js`),t=require(`./ScrollFade-FBvsnQ1i.js`);var n=new Set([`up`,`down`,`left`,`right`]);function r(e){let t=e.getBoundingClientRect(),n=Math.max(0,t.top),r=Math.min(window.innerWidth,t.right),i=Math.min(window.innerHeight,t.bottom),a=Math.max(0,t.left);for(let t=e.parentElement;t&&t!==document.body;t=t.parentElement){let e=getComputedStyle(t),o=t.getBoundingClientRect();/(auto|scroll|hidden|clip)/.test(e.overflowY)&&(n=Math.max(n,o.top),i=Math.min(i,o.bottom)),/(auto|scroll|hidden|clip)/.test(e.overflowX)&&(a=Math.max(a,o.left),r=Math.min(r,o.right))}return i>n&&r>a}var i=class extends HTMLElement{static get observedAttributes(){return[`direction`,`open`,`trigger-id`,`trigger-toggle`,`trigger-align`,`align-selected`,`padding`,`hover`,`distance`]}constructor(){super(),this._trigger=null,this._triggerLookupTimer=null,this._clickHandler=null,this._hoverEnterHandler=null,this._hoverLeaveHandler=null,this._outsideHandler=null,this._escapeHandler=null,this._positionHandler=null,this._scrollHandler=null,this._resizeObserver=null,this._hoverCloseTimer=null,this._closeAnimationTimer=null,this._blobAnimation=null,this._disposeScrollFade=null}connectedCallback(){this.render(),this._disposeScrollFade?.();let e=this.classList.contains(`mint-select-popover`),n=this.classList.contains(`mint-editor-overflow-popover`),r=e?this.querySelector(`.mint-select-options`):null;this._disposeScrollFade=t.n(r||this,`vertical`,n?`1.5rem`:`3rem`,r?`mask`:`overlay`),this._setupTrigger()}disconnectedCallback(){this._removeTrigger(),this._removeOpenListeners(),this._disposeScrollFade?.(),this._disposeScrollFade=null,clearTimeout(this._hoverCloseTimer),clearTimeout(this._closeAnimationTimer),this._blobAnimation?.cancel()}attributeChangedCallback(e,t,n){t===n||!this.isConnected||((e===`trigger-id`||e===`trigger-toggle`||e===`hover`)&&this._setupTrigger(),this.render())}getDirection(){let e=this.getAttribute(`direction`)||`down`;return n.has(e)?e:`down`}getTriggerId(){return this.getAttribute(`trigger-id`)||``}_findTrigger(e){let t=this.getRootNode();return t instanceof ShadowRoot?t.querySelector(`#${CSS.escape(e)}`):document.getElementById(e)}isOpen(){return this.hasAttribute(`open`)&&this.getAttribute(`open`)!==`false`}isHoverEnabled(){return this.hasAttribute(`hover`)&&this.getAttribute(`hover`)!==`false`}isTriggerToggleEnabled(){return this.getAttribute(`trigger-toggle`)!==`false`}open(){this.setAttribute(`open`,`true`)}close(){this.removeAttribute(`open`)}_removeTrigger(){clearTimeout(this._triggerLookupTimer),this._triggerLookupTimer=null,this._trigger&&(this._clickHandler&&this._trigger.removeEventListener(`click`,this._clickHandler),this._hoverEnterHandler&&this._trigger.removeEventListener(`mouseenter`,this._hoverEnterHandler),this._hoverLeaveHandler&&this._trigger.removeEventListener(`mouseleave`,this._hoverLeaveHandler),this._hoverEnterHandler&&this.removeEventListener(`mouseenter`,this._hoverEnterHandler),this._hoverLeaveHandler&&this.removeEventListener(`mouseleave`,this._hoverLeaveHandler),this._trigger.removeAttribute(`aria-haspopup`),this._trigger.removeAttribute(`aria-expanded`),this._trigger=null,this._clickHandler=this._hoverEnterHandler=this._hoverLeaveHandler=null)}_setupTrigger(){this._removeTrigger();let e=this.getTriggerId();if(e){if(this._trigger=this._findTrigger(e),!this._trigger){this._triggerLookupTimer=setTimeout(()=>{this.isConnected&&this.getTriggerId()===e&&!this._trigger&&this._setupTrigger()},40);return}this._syncLayerZIndex(),this._trigger.setAttribute(`aria-haspopup`,`true`),this._trigger.setAttribute(`aria-expanded`,String(this.isOpen())),this.isTriggerToggleEnabled()&&(this._clickHandler=e=>{this._trigger?.tagName===`A`&&e.preventDefault(),this.isOpen()?this.close():this.open()},this._trigger.addEventListener(`click`,this._clickHandler)),this.isHoverEnabled()&&(this._hoverEnterHandler=()=>{clearTimeout(this._hoverCloseTimer),this.open()},this._hoverLeaveHandler=()=>this._scheduleHoverClose(),this._trigger.addEventListener(`mouseenter`,this._hoverEnterHandler),this._trigger.addEventListener(`mouseleave`,this._hoverLeaveHandler),this.addEventListener(`mouseenter`,this._hoverEnterHandler),this.addEventListener(`mouseleave`,this._hoverLeaveHandler))}}_getLayerZIndex(){let e=900,t=this._trigger||this.parentElement;for(;t&&t!==document.documentElement;){let n=Number.parseInt(getComputedStyle(t).zIndex,10);Number.isFinite(n)&&(e=Math.max(e,n)),t=t.parentElement}return Math.max(901,e+1)}_syncLayerZIndex(){this.style.zIndex=String(this._getLayerZIndex())}_scheduleHoverClose(){clearTimeout(this._hoverCloseTimer),this._hoverCloseTimer=setTimeout(()=>{!this._trigger?.matches(`:hover`)&&!this.matches(`:hover`)&&this.close()},140)}_removeOpenListeners(){this._outsideHandler&&document.removeEventListener(`click`,this._outsideHandler),this._escapeHandler&&document.removeEventListener(`keydown`,this._escapeHandler),this._positionHandler&&window.removeEventListener(`resize`,this._positionHandler),this._scrollHandler&&window.removeEventListener(`scroll`,this._scrollHandler,!0),this._resizeObserver?.disconnect(),this._resizeObserver=null,this._outsideHandler=this._escapeHandler=this._positionHandler=this._scrollHandler=null}_setOpenListeners(){if(!this._outsideHandler){if(this._outsideHandler=e=>{let t=e.composedPath();t.includes(this)||t.includes(this._trigger)||(e.target instanceof Element?e.target:null)?.closest(`[data-keep-popover-open]`)||this.close()},this._escapeHandler=e=>{e.key===`Escape`&&(this.close(),this._trigger?.focus?.())},this._positionHandler=()=>{this.isOpen()&&(this._position(),this._alignSelectedOptionToTrigger())},this._scrollHandler=e=>{if(!this.isOpen())return;let t=e.target;if(!(t instanceof Node&&(t===this||this.contains(t)))){if(this.classList.contains(`mint-select-popover`)){!this._trigger||!r(this._trigger)?this.close():(this._position({allowViewportFlip:!1,clampToViewport:!1}),this._alignSelectedOptionToTrigger());return}this._position({allowViewportFlip:!1,clampToViewport:!1}),this._alignSelectedOptionToTrigger()}},typeof ResizeObserver<`u`&&this._trigger){this._resizeObserver=new ResizeObserver(()=>{this.isOpen()&&(this._position(),this._alignSelectedOptionToTrigger())}),this.classList.contains(`mint-select-popover`)||this._resizeObserver.observe(this);let e=this._trigger,t=0;for(;e&&e!==document.documentElement&&t<8;)this._resizeObserver.observe(e),e=e.parentElement,t+=1}setTimeout(()=>{this.isOpen()&&this._outsideHandler&&document.addEventListener(`click`,this._outsideHandler)},0),document.addEventListener(`keydown`,this._escapeHandler),window.addEventListener(`resize`,this._positionHandler),window.addEventListener(`scroll`,this._scrollHandler,!0)}}_getFixedPositionContext(){for(let e=this.parentElement;e&&e!==document.documentElement;e=e.parentElement){let t=getComputedStyle(e),n=`${t.contain} ${t.willChange}`;if(!(t.transform!==`none`||t.perspective!==`none`||t.filter!==`none`||t.backdropFilter!==`none`||[`layout`,`paint`,`strict`,`content`,`transform`,`perspective`,`filter`].some(e=>n.includes(e))))continue;let r=e.getBoundingClientRect(),i=r.width/(e.offsetWidth||r.width)||1,a=r.height/(e.offsetHeight||r.height)||1;return{scaleX:i,scaleY:a,originLeft:r.left+(parseFloat(t.borderLeftWidth)||0)*i,originTop:r.top+(parseFloat(t.borderTopWidth)||0)*a}}return{scaleX:1,scaleY:1,originLeft:0,originTop:0}}_position({allowViewportFlip:e=!0,clampToViewport:t=!0}={}){let n=this._findTrigger(this.getTriggerId());n&&n!==this._trigger&&this._setupTrigger();let r=n||this._trigger;if(!r)return;let i=r.getBoundingClientRect(),a=this._getFixedPositionContext(),o={width:this.offsetWidth*a.scaleX,height:this.offsetHeight*a.scaleY},s=this._distancePx(),c=s*a.scaleX,l=s*a.scaleY,u=e?this.getDirection():this.dataset.direction||this.getDirection(),d=0,f=0,p=this.getAttribute(`trigger-align`)||`center`;if(u===`down`||u===`up`){let t=i.bottom+l,n=i.top-o.height-l;e&&u===`down`&&t+o.height>innerHeight-12&&n>=12?u=`up`:e&&u===`up`&&n<12&&t+o.height<=innerHeight-12&&(u=`down`);let r=this.hasAttribute(`align-selected`)?this.querySelector(`[role="option"][aria-selected="true"]`):null;if(r){let e=r.closest(`[role="listbox"]`);if(e&&e.scrollHeight>e.clientHeight+1){let t=Math.max(0,e.scrollHeight-e.clientHeight),n=r.offsetTop-Math.max(0,(e.clientHeight-r.offsetHeight)/2);e.scrollTop=Math.max(0,Math.min(t,n))}}if(d=u===`down`?t:n,r&&this.classList.contains(`mint-select-popover`)){let e=this.getBoundingClientRect(),t=r.getBoundingClientRect().top-e.top;d=i.top-t}f=p===`start`?i.left:p===`end`?i.right-o.width:i.left+(i.width-o.width)/2}else{let t=i.right+c,n=i.left-o.width-c;e&&u===`right`&&t+o.width>innerWidth-12&&n>=12?u=`left`:e&&u===`left`&&n<12&&t+o.width<=innerWidth-12&&(u=`right`),f=u===`right`?t:n,d=p===`start`?i.top:p===`end`?i.bottom-o.height:i.top+(i.height-o.height)/2}let m=t&&!this.classList.contains(`mint-select-popover`)?Math.max(12,Math.min(d,innerHeight-o.height-12)):d,h=t?Math.max(12,Math.min(f,innerWidth-o.width-12)):f,g=(m-a.originTop)/a.scaleY,_=(h-a.originLeft)/a.scaleX;this.style.top=`${g}px`,this.style.left=`${_}px`,this.dataset.direction=u,this.style.setProperty(`--mint-popover-origin-x`,`${(i.left+i.width/2-h)/a.scaleX}px`),this.style.setProperty(`--mint-popover-origin-y`,`${(i.top+i.height/2-m)/a.scaleY}px`)}_alignSelectedOptionToTrigger(){if(!this.classList.contains(`mint-select-popover`)||!this._trigger)return;let e=this.querySelector(`[role="option"][aria-selected="true"]`);if(!e)return;let t=this._trigger.getBoundingClientRect(),n=e.closest(`[role="listbox"]`),r=window.visualViewport,i=r?.offsetTop??0,a=r?.height??window.innerHeight,o=Math.max(0,a-24);this.style.maxHeight=`${o}px`,this.style.overflowY=`auto`;let s=this.getBoundingClientRect(),c=e.getBoundingClientRect(),l=i+12,u=Math.max(l,i+a-12-s.height),d=Math.max(l,Math.min(t.top-(c.top-s.top),u));if(n){let r=t.top-d,o=c.top-s.top;n.scrollTop+=o-r,s=this.getBoundingClientRect(),c=e.getBoundingClientRect();let u=t.top-(c.top-s.top),f=Math.max(l,i+a-12-s.height);d=Math.max(l,Math.min(u,f))}this.style.top=`${d}px`}_distancePx(){let e=(this.getAttribute(`distance`)||`8px`).trim(),t=Number.parseFloat(e);return Number.isFinite(t)?e.endsWith(`rem`)?t*(parseFloat(getComputedStyle(document.documentElement).fontSize)||16):Math.max(0,t):8}_animateBlob(e){if(this._blobAnimation?.cancel(),this._blobAnimation=null,typeof this.animate!=`function`)return 0;let t=getComputedStyle(this).borderRadius||`.75rem`;if(matchMedia(`(prefers-reduced-motion: reduce)`).matches)return 0;let n=e?380:280,r=[{transform:`scale(.035, .035)`,borderRadius:`50%`,opacity:.94,offset:0},{transform:`scale(.3, .42)`,borderRadius:`50%`,opacity:1,offset:.58},{transform:`scale(1.035, .96)`,borderRadius:`1rem`,offset:.9},{transform:`scale(1)`,borderRadius:t,offset:1}],i=e?r:[...r].reverse().map(({offset:e,...t})=>({...t,offset:1-e}));return this._blobAnimation=this.animate(i,{duration:n,easing:e?`cubic-bezier(.2, .8, .2, 1)`:`cubic-bezier(.4, 0, .8, .2)`,fill:`both`}),n}render(){let e=this.isOpen();this._syncLayerZIndex();let t=this.hasAttribute(`data-open`)||this.dataset.state===`closing`,n=this.hasAttribute(`data-open`);if(this.toggleAttribute(`data-open`,e),this.setAttribute(`aria-hidden`,String(!e)),this._trigger&&this._trigger.setAttribute(`aria-expanded`,String(e)),e){clearTimeout(this._closeAnimationTimer);let e=!n||this.dataset.state===`closing`;e&&(this._blobAnimation?.cancel(),this._blobAnimation=null),this.dataset.state=`open`,this._setOpenListeners(),this._position(),this._alignSelectedOptionToTrigger(),e&&!this.classList.contains(`mint-select-popover`)&&this._animateBlob(!0),requestAnimationFrame(()=>requestAnimationFrame(()=>{this.isOpen()&&(this._position(),this._alignSelectedOptionToTrigger())}))}else if(this._removeOpenListeners(),t){this.dataset.state=`closing`;let e=this._animateBlob(!1);e?this._closeAnimationTimer=setTimeout(()=>{this.dataset.state===`closing`&&(this._blobAnimation?.cancel(),this._blobAnimation=null,this.dataset.state=`closed`)},e):this.dataset.state=`closed`}else this.dataset.state=`closed`}};typeof customElements<`u`&&!customElements.get(`mint-popover`)&&e.t(`mint-popover`,i),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return i}});
@@ -1 +0,0 @@
1
- require(`./icon-Bv1J3LwC.js`).a({name:`search`,viewBox:`0 0 24 24`,path:`M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z`,strokeLinecap:`round`,strokeLinejoin:`round`});
@@ -1 +0,0 @@
1
- const e=require(`./register-element-tCL_F1YI.js`);var t=`mint-sortable-placeholder`,n=`mint-sortable-dragging`,r=class e extends HTMLElement{static get observedAttributes(){return[`direction`,`gap`,`text-align`,`align-content`,`scroll-max-height`,`disabled`,`handle-selector`,`scroll-sensitivity`,`scroll-speed`,`animation-duration`,`item-key-attribute`,`group`]}constructor(){super(),this._pointerId=null,this._dragEl=null,this._dragOriginalStyle=``,this._placeholder=null,this._listRoot=this,this._startIndex=0,this._pointerStartX=0,this._pointerStartY=0,this._pendingPointerEvent=null,this._moveRaf=null,this._gridSlots=[],this._scrollRaf=null,this._previewResizeRaf=null,this._childObserver=null,this._pointerBoundRoot=null,this._restoreAfter=null,this._originListRoot=null,this._originNextSibling=null,this._dropList=null,this._dropAtEnd=!1,this._dropRejected=!1,this._sortStatus=null,this._flipCleanupTimers=new WeakMap,this._lastPreviewRoot=null,this._lastPreviewIndex=-1,this._keyboardKeydownHandler=e=>this._onKeyboardReorder(e),this._onListPointerDown=e=>{let t=e;if(this._isDisabled()||this._pointerId!==null||t.button!==0)return;let n=t.target;if(!n||!this.contains(n))return;let r=(n instanceof Element?n:n.parentElement)?.closest(`mint-sortable`);if(r&&r!==this)return;let i=this._closestSortableItem(n);if(!i||!this._listRoot.contains(i)||i.hasAttribute(`data-sortable-disabled`))return;let a=this._getHandleSelector();if(a){let e=t.target.closest(a);if(!e||!i.contains(e))return}t.preventDefault(),this._startDrag(t,i)},this._boundPointerMove=this._onPointerMove.bind(this),this._boundPointerUp=this._onPointerUp.bind(this),this._boundPointerCancel=this._onPointerCancel.bind(this)}connectedCallback(){this.classList.add(`mint-sortable`),this._syncInnerStackAttributes(),this._applyHostScrollAndLayout(),this.addEventListener(`keydown`,this._keyboardKeydownHandler),this._observeInnerStack()}disconnectedCallback(){this._unobserveInnerStack(),this.removeEventListener(`keydown`,this._keyboardKeydownHandler),this._teardownDrag(),this._pointerBoundRoot&&=(this._pointerBoundRoot.removeEventListener(`pointerdown`,this._onListPointerDown),null)}attributeChangedCallback(e,t,n){t!==n&&(this._syncInnerStackAttributes(),this._applyHostScrollAndLayout())}_observeInnerStack(){this._childObserver||(this._childObserver=new MutationObserver(()=>{this._pointerId===null&&(this._syncInnerStackAttributes(),this._applyHostScrollAndLayout())}),this._childObserver.observe(this,{childList:!0}))}_unobserveInnerStack(){this._childObserver&&=(this._childObserver.disconnect(),null)}_getInnerStack(){for(let e=0;e<this.children.length;e++){let t=this.children[e];if(t.nodeType===Node.ELEMENT_NODE&&t.tagName===`MINT-STACK`)return t}return null}_resolveListRoot(){return this._getInnerStack()??this}_getItemKeyAttribute(){return this.getAttribute(`item-key-attribute`)?.trim()||`data-sortable-id`}_collectOrderedKeys(){let e=this._resolveListRoot(),n=this._getItemKeyAttribute(),r=[];for(let i=0;i<e.children.length;i++){let a=e.children[i];if(a.nodeType!==Node.ELEMENT_NODE)continue;let o=a;o.classList.contains(t)||o.hasAttribute(`data-mint-sortable-status`)||r.push(o.getAttribute(n)??``)}return r}_syncInnerStackAttributes(){let e=this._getInnerStack();if(!e)return;let t=this.getDirection(),n=this.getGap(),r=this.getTextAlign();e.setAttribute(`direction`,t),e.setAttribute(`gap`,String(n)),r?e.setAttribute(`text-align`,r):e.removeAttribute(`text-align`);let i=this.getAlignContent();i?e.setAttribute(`align-content`,i):e.removeAttribute(`align-content`)}_applyHostScrollAndLayout(){this._listRoot=this._resolveListRoot();let e=this.getAttribute(`scroll-max-height`);e?(this.style.maxHeight=e,this.style.overflowY=`auto`,this.style.overflowX=`hidden`,this.classList.add(`mint-sortable-scrollable`)):(this.style.maxHeight=``,this.style.overflowY=``,this.style.overflowX=``,this.classList.remove(`mint-sortable-scrollable`));let t=this._getInnerStack();this.classList.toggle(`mint-sortable-has-inner-stack`,!!t);let n=this.getDirection(),r=this.getAlignContent(),i=Math.min(12,Math.max(1,Math.round(this.getGap()))),a=this.getTextAlign();this.style.setProperty(`--mint-sortable-direction`,n===`horizontal`?`row`:`column`),this.style.setProperty(`--mint-sortable-gap`,`${i*.25}rem`),this.style.setProperty(`--mint-sortable-text-align`,a||`initial`),this.style.setProperty(`--mint-sortable-button-justify`,a===`left`?`flex-start`:a===`right`?`flex-end`:`center`);let o=r?r===`left`?`flex-start`:r===`right`?`flex-end`:`center`:``,s=n===`vertical`&&o||`stretch`,c=n===`horizontal`&&o||`flex-start`;this.style.setProperty(`--mint-sortable-cross-align`,s),this.style.setProperty(`--mint-sortable-main-align`,c),this._ensureListPointerBinding(),this._syncKeyboardAccessibility()}_syncKeyboardAccessibility(){let e=this._resolveListRoot();e.hasAttribute(`role`)||e.setAttribute(`role`,`list`),this._sortStatus||(this._sortStatus=document.createElement(`div`),this._sortStatus.className=`mint-sortable-status`,this._sortStatus.setAttribute(`role`,`status`),this._sortStatus.setAttribute(`aria-live`,`polite`),this._sortStatus.setAttribute(`aria-atomic`,`true`),this._sortStatus.setAttribute(`data-mint-sortable-status`,``),this.appendChild(this._sortStatus)),this._getLayoutChildren().forEach(e=>{e.classList.contains(t)||(e.hasAttribute(`role`)||e.setAttribute(`role`,`listitem`),e.hasAttribute(`tabindex`)||(e.tabIndex=0),e.setAttribute(`aria-keyshortcuts`,`Alt+ArrowUp Alt+ArrowDown`),e.hasAttribute(`aria-roledescription`)||e.setAttribute(`aria-roledescription`,`sortable item`))})}_onKeyboardReorder(e){if(this._isDisabled()||!e.altKey||![`ArrowUp`,`ArrowDown`].includes(e.key))return;let n=e.target instanceof Element?e.target:null,r=n?.closest(`mint-sortable`);if(r&&r!==this)return;let i=n?this._closestSortableItem(n):null;if(!i||i.hasAttribute(`data-sortable-disabled`))return;let a=this._getLayoutChildren().filter(e=>!e.classList.contains(t)),o=a.indexOf(i),s=o+(e.key===`ArrowUp`?-1:1);if(o<0||s<0||s>=a.length)return;e.preventDefault();let c=a[s];e.key===`ArrowUp`?this._listRoot.insertBefore(i,c):this._listRoot.insertBefore(c,i),i.focus({preventScroll:!0});let l=this._collectOrderedKeys(),u=this._indexOfItem(i),d=i.getAttribute(`aria-label`)||i.textContent?.trim().replace(/\s+/g,` `)||`Item`;this._sortStatus&&(this._sortStatus.textContent=`${d} moved to position ${u+1} of ${a.length}.`);let f=this.getAttribute(`data-tree-parent-id`)||null,p={oldIndex:o,newIndex:u,keys:l,itemId:i.getAttribute(this._getItemKeyAttribute())||``,oldParentId:f,newParentId:f,sourceContainerId:this.id||null,destinationContainerId:this.id||null};this.dispatchEvent(new CustomEvent(`mint-sortable-change`,{bubbles:!0,composed:!0,detail:p})),this.dispatchEvent(new CustomEvent(`mint-sortable-order`,{bubbles:!0,composed:!0,detail:{keys:l}}))}getDirection(){let e=this.getAttribute(`direction`)||`vertical`;return e===`horizontal`||e===`grid`?e:`vertical`}getGap(){let e=this.getAttribute(`gap`)||`3`,t=parseFloat(e);return Number.isFinite(t)?t:3}getTextAlign(){let e=this.getAttribute(`text-align`)||``;return[`left`,`center`,`right`,`justify`].includes(e)?e:``}getAlignContent(){let e=(this.getAttribute(`align-content`)||``).trim().toLowerCase();return e===`left`||e===`right`||e===`center`?e:``}_isDisabled(){return this.hasAttribute(`disabled`)&&this.getAttribute(`disabled`)!==`false`}_getHandleSelector(){let e=this.getAttribute(`handle-selector`);return e&&e.trim()?e.trim():null}_getScrollSensitivity(){let e=parseFloat(this.getAttribute(`scroll-sensitivity`)||`48`);return Number.isFinite(e)?e:48}_getScrollSpeed(){let e=parseFloat(this.getAttribute(`scroll-speed`)||`12`);return Number.isFinite(e)?e:12}_getAnimationDurationMs(){let e=parseFloat(this.getAttribute(`animation-duration`)||`220`);return Number.isFinite(e)?Math.max(0,e):220}_ensureListPointerBinding(){let e=this._resolveListRoot();this._pointerBoundRoot!==e&&(this._pointerBoundRoot&&this._pointerBoundRoot.removeEventListener(`pointerdown`,this._onListPointerDown),e.addEventListener(`pointerdown`,this._onListPointerDown),this._pointerBoundRoot=e,this._listRoot=e)}_closestSortableItem(e){let r=e;for(;r&&r!==this._listRoot;){if(r.nodeType===Node.ELEMENT_NODE){let e=r;if(e.classList.contains(t)||e.classList.contains(n))return null;if(r.parentElement===this._listRoot)return e}r=r.parentElement}return null}_startDrag(e,r){this._listRoot=this._resolveListRoot(),this._restoreAfter=r.nextElementSibling,this._originListRoot=this._listRoot,this._originNextSibling=r.nextElementSibling,this._dropList=this,this._dropAtEnd=!1,this._dropRejected=!1,this._dragEl=r,this._dragOriginalStyle=r.style.cssText,this._pointerId=e.pointerId,this._startIndex=this._indexOfItem(r),this._gridSlots=this.getDirection()===`grid`?Array.from(this._listRoot.children).filter(e=>e.nodeType===Node.ELEMENT_NODE&&!e.hasAttribute(`data-mint-sortable-status`)).map((e,t)=>({element:e,rect:e.getBoundingClientRect(),index:t})):[];let i=r.getBoundingClientRect();this._pointerStartX=e.clientX,this._pointerStartY=e.clientY;let a=document.createElement(`div`);if(a.className=t,this.getDirection()!==`grid`)a.style.minHeight=`${i.height}px`,a.style.minWidth=`${i.width}px`;else{let e=window.getComputedStyle(r);e.gridArea===`auto`?(a.style.gridColumn=e.gridColumn,a.style.gridRow=e.gridRow):a.style.gridArea=e.gridArea,a.style.alignSelf=e.alignSelf,a.style.justifySelf=e.justifySelf}a.setAttribute(`aria-hidden`,`true`),this._placeholder=a,this._listRoot.insertBefore(a,r),r.classList.add(n),r.style.position=`fixed`;let o=this.getDirection()===`grid`;r.style.left=`${o?e.clientX:i.left}px`,r.style.top=`${o?e.clientY:i.top}px`,r.style.width=`${i.width}px`,r.style.height=`${i.height}px`,r.style.margin=`0`,r.style.zIndex=`10000`,r.style.boxSizing=`border-box`,r.style.pointerEvents=`none`,r.style.touchAction=`none`,r.style.transform=o?`translate3d(0, 0, 0) translate(-50%, -50%) scale(1.015)`:`translate3d(0, 0, 0) scale(1.015)`,r.style.transformOrigin=o?`center center`:`top left`,r.style.willChange=`transform`,r.setPointerCapture(e.pointerId);let s=this._collectOrderedKeys(),c={index:this._startIndex,itemId:r.getAttribute(this._getItemKeyAttribute())||``,keys:s,sourceContainerId:this.id||null};this.dispatchEvent(new CustomEvent(`mint-sortable-start`,{bubbles:!0,composed:!0,detail:c})),this.dispatchEvent(new CustomEvent(`sort-start`,{bubbles:!0,composed:!0,detail:c})),window.addEventListener(`pointermove`,this._boundPointerMove,{passive:!1}),window.addEventListener(`pointerup`,this._boundPointerUp),window.addEventListener(`pointercancel`,this._boundPointerCancel)}_indexOfItem(e){let n=0;for(let r=0;r<this._listRoot.children.length;r++){let i=this._listRoot.children[r];if(i.nodeType!==Node.ELEMENT_NODE)continue;let a=i;if(!a.classList.contains(t)){if(a===e)return n;n++}}return-1}_getLayoutChildren(){return Array.from(this._listRoot.children).filter(e=>e.nodeType===Node.ELEMENT_NODE&&!e.hasAttribute(`data-mint-sortable-status`))}_onPointerMove(e){e.pointerId!==this._pointerId||!this._dragEl||!this._placeholder||(e.preventDefault(),this._pendingPointerEvent=e,this._moveRaf===null&&(this._moveRaf=requestAnimationFrame(()=>{this._moveRaf=null;let e=this._pendingPointerEvent;this._pendingPointerEvent=null,e&&e.pointerId===this._pointerId&&this._processPointerMove(e)})))}_processPointerMove(e){if(!this._dragEl||!this._placeholder)return;let t=e.clientX-this._pointerStartX,n=e.clientY-this._pointerStartY;this._dragEl.style.transform=this.getDirection()===`grid`?`translate3d(${t}px, ${n}px, 0) translate(-50%, -50%) scale(1.015)`:`translate3d(${t}px, ${n}px, 0) scale(1.015)`,this.dispatchEvent(new CustomEvent(`mint-sortable-drag`,{bubbles:!0,composed:!0,detail:{item:this._dragEl,source:this,clientX:e.clientX,clientY:e.clientY}})),this._autoScroll(e),this._maybeMovePlaceholder(e)}_resolveDropList(t){let n=document.elementFromPoint(t.clientX,t.clientY),r=n?.closest(`[data-mint-sortable-drop-container]`);this._dropAtEnd=!!r?.hasAttribute(`data-mint-sortable-drop-end`);let i=r?.getAttribute(`data-mint-sortable-drop-container`),a=i?document.getElementById(i):null,o=a?.matches(`mint-sortable`)?a:n?.closest(`mint-sortable`),s=o instanceof e?o:this,c=this.getAttribute(`group`)?.trim(),l=!!(c&&s.getAttribute(`group`)?.trim()===c),u=!!(this._dragEl&&(s===this._dragEl||this._dragEl.contains(s))),d=s===this||l&&s.isConnected&&!u,f=new CustomEvent(`mint-sortable-drag-over`,{bubbles:!0,composed:!0,cancelable:!0,detail:{item:this._dragEl,source:this,target:s,clientX:t.clientX,clientY:t.clientY}});return this.dispatchEvent(f),this._dropRejected=!d||f.defaultPrevented,this._dropRejected?this:s}_autoScroll(e){let t=this;for(;t&&t!==document.body;){let e=getComputedStyle(t);if(/(auto|scroll)/.test(`${e.overflowY} ${e.overflow}`)&&t.scrollHeight>t.clientHeight||t.style.maxHeight)break;t=t.parentElement}if(!t||t===document.body)return;let n=this._getScrollSensitivity(),r=this._getScrollSpeed(),i=t.getBoundingClientRect();this._scrollRaf!==null&&cancelAnimationFrame(this._scrollRaf),this._scrollRaf=requestAnimationFrame(()=>{this._scrollRaf=null;let a=0;e.clientY<i.top+n?a=-r:e.clientY>i.bottom-n&&(a=r),a!==0&&(t.scrollTop+=a,this._maybeMovePlaceholder(e))})}_maybeMovePlaceholder(e){let t=this._placeholder,n=this._dragEl;if(!t||!n)return;let r=this._resolveDropList(e),i=r._resolveListRoot();if(i===n||n.contains(i))return;let a=t.parentElement!==i;a&&r._flipAnimate(()=>i.appendChild(t)),this._dropList=r;let o=r.getDirection();if(o===`grid`){this._moveGridPlaceholder(r,i,t,n,e);return}let s=o===`horizontal`,c=s?e.clientX:e.clientY,l=this.hasAttribute(`data-mint-sortable-full-crossing`);if(this._dropAtEnd&&r!==this){(t.parentElement!==i||i.lastElementChild!==t)&&r._flipAnimate(()=>i.appendChild(t)),this._dispatchPreview(r,i,t,n);return}let u=Array.from(i.children).filter(e=>e.nodeType===Node.ELEMENT_NODE&&e!==n&&e!==t),d=null;for(let e of u){let n=e.getBoundingClientRect(),r=s?n.left:n.top,a=s?n.left+n.width:n.top+n.height;if(l){if(c<r){d=e;break}if(c<=a&&Array.prototype.indexOf.call(i.children,t)<Array.prototype.indexOf.call(i.children,e)){d=e;break}}else if(c<(s?n.left+n.width/2:n.top+n.height/2)){d=e;break}}let f=Array.from(i.children).filter(e=>e.nodeType===Node.ELEMENT_NODE&&e!==n),p=f.length>0&&f[f.length-1]===t;if(!(d?!(t.nextSibling===d&&t.parentNode===i):!p)){a&&this._dispatchPreview(r,i,t,n);return}r._flipAnimate(()=>{d?i.insertBefore(t,d):i.appendChild(t)}),this._dispatchPreview(r,i,t,n)}_moveGridPlaceholder(e,t,n,r,i){let a=Array.from(t.children).filter(e=>e.nodeType===Node.ELEMENT_NODE&&e!==r&&e!==n&&!e.hasAttribute(`data-mint-sortable-status`)),o=t===this._originListRoot?this._gridSlots.filter(e=>e.element===r||e.element.parentElement===t):a.map((e,t)=>({element:e,rect:e.getBoundingClientRect(),index:t})),s=null;for(let e of o){let{rect:t}=e;if(i.clientX>=t.left&&i.clientX<=t.right&&i.clientY>=t.top&&i.clientY<=t.bottom){s=e;break}}if(!s)return;let c=null;{let{rect:e}=s,n=(i.clientX-(e.left+e.width/2))/Math.max(e.width,1),o=(i.clientY-(e.top+e.height/2))/Math.max(e.height,1),l=s.index===0?!0:Math.abs(n)>=Math.abs(o)?n<=0:o<=0,u=s.index+(l?0:1);t===this._originListRoot&&s.element!==r&&s.index>=this._startIndex&&u--,s.element===r&&(u=this._startIndex),u=Math.max(0,Math.min(a.length,u)),c=a[u]??null}if(!(c?!(n.nextSibling===c&&n.parentNode===t):!(t.lastElementChild===n&&n.parentNode===t))){this._dispatchPreview(e,t,n,r);return}e._flipAnimate(()=>{c?t.insertBefore(n,c):t.appendChild(n),this._dispatchPreview(e,t,n,r)})}_dispatchPreview(e,t,n,r){let i=Array.from(t.children).filter(e=>e.nodeType===Node.ELEMENT_NODE&&e!==r&&!e.hasAttribute(`data-mint-sortable-status`)),a=i.indexOf(n);if(a<0||this._lastPreviewRoot===t&&this._lastPreviewIndex===a)return;this._lastPreviewRoot=t,this._lastPreviewIndex=a;let o=this._getItemKeyAttribute(),s=i.map(e=>e===n?r.getAttribute(o)||``:e.getAttribute(o)||``),c={itemId:r.getAttribute(o)||``,oldIndex:this._startIndex,newIndex:a,keys:s,sourceContainerId:this.id||null,destinationContainerId:e.id||null};this.dispatchEvent(new CustomEvent(`mint-sortable-preview`,{bubbles:!0,composed:!0,detail:c})),this._resizeDragToPlaceholder(r,n)}_resizeDragToPlaceholder(e,t){this._previewResizeRaf!==null&&cancelAnimationFrame(this._previewResizeRaf),this._previewResizeRaf=requestAnimationFrame(()=>{if(this._previewResizeRaf=null,this._dragEl!==e||this._placeholder!==t||!t.isConnected)return;let n=t.offsetWidth,r=t.offsetHeight;!n||!r||(e.style.transition=`width 160ms ease, height 160ms ease`,e.style.width=`${n}px`,e.style.height=`${r}px`,e.style.transformOrigin=this.getDirection()===`grid`?`center center`:`top left`)})}_flipAnimate(e){let t=this._dragEl,n=this._getAnimationDurationMs(),r=this._getLayoutChildren().filter(e=>e!==t),i=new Map;if(r.forEach(e=>{let t=this._flipCleanupTimers.get(e);t!==void 0&&(window.clearTimeout(t),this._flipCleanupTimers.delete(e)),i.set(e,e.getBoundingClientRect()),e.style.transition=`none`,e.style.transform=``,e.style.transformOrigin=``}),r.length&&r[0].offsetHeight,e(),n<=0||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches){r.forEach(e=>{e.style.transition=``,e.style.transform=``,e.style.transformOrigin=``});return}r.forEach(e=>{let t=i.get(e);if(!t)return;let r=e.getBoundingClientRect(),a=t.left-r.left,o=t.top-r.top,s=t.width>0&&r.width>0?t.width/r.width:1,c=t.height>0&&r.height>0?t.height/r.height:1;Math.abs(a)<.5&&Math.abs(o)<.5&&Math.abs(s-1)<.005&&Math.abs(c-1)<.005||(e.style.transition=`none`,e.style.transformOrigin=`top left`,e.style.transform=`translate(${a}px, ${o}px) scale(${s}, ${c})`,requestAnimationFrame(()=>{e.style.transition=`transform ${n}ms cubic-bezier(0.22, 1, 0.36, 1)`,e.style.transform=``;let t=()=>{e.removeEventListener(`transitionend`,t),e.style.transition=``,e.style.transform=``,e.style.transformOrigin=``,this._flipCleanupTimers.delete(e)};e.addEventListener(`transitionend`,t,{once:!0}),this._flipCleanupTimers.set(e,window.setTimeout(t,n+40))}))})}_onPointerUp(e){e.pointerId===this._pointerId&&(this._moveRaf!==null&&(cancelAnimationFrame(this._moveRaf),this._moveRaf=null),this._pendingPointerEvent=null,this._processPointerMove(e),this._finishDrag(!1))}_onPointerCancel(e){e.pointerId===this._pointerId&&this._finishDrag(!0)}_finishDrag(e){let t=this._dragEl,r=this._placeholder;if(!t||this._pointerId===null){this._teardownDrag();return}this._previewResizeRaf!==null&&(cancelAnimationFrame(this._previewResizeRaf),this._previewResizeRaf=null),this._moveRaf!==null&&(cancelAnimationFrame(this._moveRaf),this._moveRaf=null),this._pendingPointerEvent=null;try{t.releasePointerCapture(this._pointerId)}catch{}window.removeEventListener(`pointermove`,this._boundPointerMove),window.removeEventListener(`pointerup`,this._boundPointerUp),window.removeEventListener(`pointercancel`,this._boundPointerCancel);let i=this._dropList??this,a=i._resolveListRoot();!e&&!this._dropRejected&&this._dropAtEnd&&i!==this&&r?.parentNode===a&&a.appendChild(r);let o=this.getAttribute(`data-tree-parent-id`)||null,s=i.getAttribute(`data-tree-parent-id`)||null,c=this._indexOfItem(t),l=r?.parentNode===a?Array.from(a.children).filter(e=>e.nodeType===Node.ELEMENT_NODE&&e!==t&&!e.hasAttribute(`data-mint-sortable-status`)).indexOf(r):c,u=new CustomEvent(`mint-sortable-before-drop`,{bubbles:!0,composed:!0,cancelable:!0,detail:{item:t,source:this,target:i,oldIndex:c,newIndex:l,oldParentId:o,newParentId:s}});e||this.dispatchEvent(u);let d=e||this._dropRejected||u.defaultPrevented;if(d){let e=this._originListRoot??this._listRoot,n=this._originNextSibling??this._restoreAfter;n&&n.parentNode===e?e.insertBefore(t,n):e.appendChild(t)}else r?.parentNode&&r.parentNode.insertBefore(t,r);r?.remove(),this._placeholder=null,t.classList.remove(n),t.style.cssText=this._dragOriginalStyle,this._dragOriginalStyle=``;let f=d?c:i._indexOfItem(t);this._pointerId=null,this._dragEl=null,this._restoreAfter=null,this._originListRoot=null,this._originNextSibling=null,this._dropList=null,this._dropAtEnd=!1,this._dropRejected=!1,this._lastPreviewRoot=null,this._lastPreviewIndex=-1,this._gridSlots=[];let p=this._collectOrderedKeys(),m=i._collectOrderedKeys(),h=!d&&(!d&&o!==s||f!==c),g=t.getAttribute(this._getItemKeyAttribute())||``,_={oldIndex:c,newIndex:f,cancelled:d,keys:p,sourceKeys:p,destinationKeys:m,oldParentId:o,newParentId:s,sourceContainerId:this.id||null,destinationContainerId:i.id||null,itemId:g};this.dispatchEvent(new CustomEvent(`mint-sortable-end`,{bubbles:!0,composed:!0,detail:_})),this.dispatchEvent(new CustomEvent(`sort-stop`,{bubbles:!0,composed:!0,detail:_})),h&&(this.dispatchEvent(new CustomEvent(`mint-sortable-change`,{bubbles:!0,composed:!0,detail:_})),this.dispatchEvent(new CustomEvent(`mint-sortable-order`,{bubbles:!0,composed:!0,detail:{keys:p,sourceKeys:p,destinationKeys:m,oldParentId:o,newParentId:s,itemId:g}})))}_teardownDrag(){if(this._previewResizeRaf!==null&&(cancelAnimationFrame(this._previewResizeRaf),this._previewResizeRaf=null),this._scrollRaf!==null&&(cancelAnimationFrame(this._scrollRaf),this._scrollRaf=null),this._moveRaf!==null&&(cancelAnimationFrame(this._moveRaf),this._moveRaf=null),this._pendingPointerEvent=null,window.removeEventListener(`pointermove`,this._boundPointerMove),window.removeEventListener(`pointerup`,this._boundPointerUp),window.removeEventListener(`pointercancel`,this._boundPointerCancel),this._dragEl){try{this._pointerId!==null&&this._dragEl.releasePointerCapture(this._pointerId)}catch{}this._dragEl.classList.remove(n),this._dragEl.style.cssText=this._dragOriginalStyle,this._dragOriginalStyle=``}this._placeholder?.remove(),this._placeholder=null,this._dragEl=null,this._pointerId=null,this._restoreAfter=null,this._originListRoot=null,this._originNextSibling=null,this._dropList=null,this._dropRejected=!1,this._lastPreviewRoot=null,this._lastPreviewIndex=-1,this._gridSlots=[]}};customElements.get(`mint-sortable`)||e.t(`mint-sortable`,r),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});