@evoke-tech/stencil-ui-kit 0.0.0-stage → 0.2.0

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 (144) hide show
  1. package/README.md +314 -2
  2. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  3. package/dist/cjs/evoke-alert_20.cjs.entry.js +1047 -0
  4. package/dist/cjs/evoke-ui.cjs.js +25 -0
  5. package/dist/cjs/index-BpJ5gu8f.js +2130 -0
  6. package/dist/cjs/index.cjs.js +2 -0
  7. package/dist/cjs/loader.cjs.js +13 -0
  8. package/dist/collection/collection-manifest.json +32 -0
  9. package/dist/collection/components/evoke-alert/evoke-alert.css +18 -0
  10. package/dist/collection/components/evoke-alert/evoke-alert.js +107 -0
  11. package/dist/collection/components/evoke-app-bar/evoke-app-bar.css +13 -0
  12. package/dist/collection/components/evoke-app-bar/evoke-app-bar.js +94 -0
  13. package/dist/collection/components/evoke-badge/evoke-badge.css +13 -0
  14. package/dist/collection/components/evoke-badge/evoke-badge.js +162 -0
  15. package/dist/collection/components/evoke-button/evoke-button.css +31 -0
  16. package/dist/collection/components/evoke-button/evoke-button.js +243 -0
  17. package/dist/collection/components/evoke-card/evoke-card.css +12 -0
  18. package/dist/collection/components/evoke-card/evoke-card.js +140 -0
  19. package/dist/collection/components/evoke-checkbox/evoke-checkbox.css +22 -0
  20. package/dist/collection/components/evoke-checkbox/evoke-checkbox.js +180 -0
  21. package/dist/collection/components/evoke-chip/evoke-chip.css +16 -0
  22. package/dist/collection/components/evoke-chip/evoke-chip.js +149 -0
  23. package/dist/collection/components/evoke-input/evoke-input.css +25 -0
  24. package/dist/collection/components/evoke-input/evoke-input.js +324 -0
  25. package/dist/collection/components/evoke-modal/evoke-modal.css +21 -0
  26. package/dist/collection/components/evoke-modal/evoke-modal.js +271 -0
  27. package/dist/collection/components/evoke-pagination/evoke-pagination.css +12 -0
  28. package/dist/collection/components/evoke-pagination/evoke-pagination.js +156 -0
  29. package/dist/collection/components/evoke-progress/evoke-progress.css +12 -0
  30. package/dist/collection/components/evoke-progress/evoke-progress.js +146 -0
  31. package/dist/collection/components/evoke-quantity-stepper/evoke-quantity-stepper.css +20 -0
  32. package/dist/collection/components/evoke-quantity-stepper/evoke-quantity-stepper.js +201 -0
  33. package/dist/collection/components/evoke-radio-group/evoke-radio-group.css +29 -0
  34. package/dist/collection/components/evoke-radio-group/evoke-radio-group.js +233 -0
  35. package/dist/collection/components/evoke-select/evoke-select.css +37 -0
  36. package/dist/collection/components/evoke-select/evoke-select.js +433 -0
  37. package/dist/collection/components/evoke-switch/evoke-switch.css +16 -0
  38. package/dist/collection/components/evoke-switch/evoke-switch.js +151 -0
  39. package/dist/collection/components/evoke-table/evoke-table.css +20 -0
  40. package/dist/collection/components/evoke-table/evoke-table.js +222 -0
  41. package/dist/collection/components/evoke-tabs/evoke-tabs.css +20 -0
  42. package/dist/collection/components/evoke-tabs/evoke-tabs.js +179 -0
  43. package/dist/collection/components/evoke-textarea/evoke-textarea.css +19 -0
  44. package/dist/collection/components/evoke-textarea/evoke-textarea.js +328 -0
  45. package/dist/collection/components/evoke-toast/evoke-toast.css +24 -0
  46. package/dist/collection/components/evoke-toast/evoke-toast.js +225 -0
  47. package/dist/collection/components/evoke-tooltip/evoke-tooltip.css +22 -0
  48. package/dist/collection/components/evoke-tooltip/evoke-tooltip.js +119 -0
  49. package/dist/collection/index.js +1 -0
  50. package/dist/collection/utils/icons.js +29 -0
  51. package/dist/collection/utils/options.js +12 -0
  52. package/dist/components/evoke-alert.d.ts +11 -0
  53. package/dist/components/evoke-alert.js +1 -0
  54. package/dist/components/evoke-app-bar.d.ts +11 -0
  55. package/dist/components/evoke-app-bar.js +1 -0
  56. package/dist/components/evoke-badge.d.ts +11 -0
  57. package/dist/components/evoke-badge.js +1 -0
  58. package/dist/components/evoke-button.d.ts +11 -0
  59. package/dist/components/evoke-button.js +1 -0
  60. package/dist/components/evoke-card.d.ts +11 -0
  61. package/dist/components/evoke-card.js +1 -0
  62. package/dist/components/evoke-checkbox.d.ts +11 -0
  63. package/dist/components/evoke-checkbox.js +1 -0
  64. package/dist/components/evoke-chip.d.ts +11 -0
  65. package/dist/components/evoke-chip.js +1 -0
  66. package/dist/components/evoke-input.d.ts +11 -0
  67. package/dist/components/evoke-input.js +1 -0
  68. package/dist/components/evoke-modal.d.ts +11 -0
  69. package/dist/components/evoke-modal.js +1 -0
  70. package/dist/components/evoke-pagination.d.ts +11 -0
  71. package/dist/components/evoke-pagination.js +1 -0
  72. package/dist/components/evoke-progress.d.ts +11 -0
  73. package/dist/components/evoke-progress.js +1 -0
  74. package/dist/components/evoke-quantity-stepper.d.ts +11 -0
  75. package/dist/components/evoke-quantity-stepper.js +1 -0
  76. package/dist/components/evoke-radio-group.d.ts +11 -0
  77. package/dist/components/evoke-radio-group.js +1 -0
  78. package/dist/components/evoke-select.d.ts +11 -0
  79. package/dist/components/evoke-select.js +1 -0
  80. package/dist/components/evoke-switch.d.ts +11 -0
  81. package/dist/components/evoke-switch.js +1 -0
  82. package/dist/components/evoke-table.d.ts +11 -0
  83. package/dist/components/evoke-table.js +1 -0
  84. package/dist/components/evoke-tabs.d.ts +11 -0
  85. package/dist/components/evoke-tabs.js +1 -0
  86. package/dist/components/evoke-textarea.d.ts +11 -0
  87. package/dist/components/evoke-textarea.js +1 -0
  88. package/dist/components/evoke-toast.d.ts +11 -0
  89. package/dist/components/evoke-toast.js +1 -0
  90. package/dist/components/evoke-tooltip.d.ts +11 -0
  91. package/dist/components/evoke-tooltip.js +1 -0
  92. package/dist/components/icons.js +1 -0
  93. package/dist/components/index.d.ts +35 -0
  94. package/dist/components/index.js +1 -0
  95. package/dist/components/options.js +1 -0
  96. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  97. package/dist/esm/evoke-alert_20.entry.js +1026 -0
  98. package/dist/esm/evoke-ui.js +21 -0
  99. package/dist/esm/index-C-5sEjU8.js +2122 -0
  100. package/dist/esm/index.js +1 -0
  101. package/dist/esm/loader.js +11 -0
  102. package/dist/evoke-ui/evoke-ui.css +1 -0
  103. package/dist/evoke-ui/evoke-ui.esm.js +1 -0
  104. package/dist/evoke-ui/index.esm.js +0 -0
  105. package/dist/evoke-ui/p-0841be89.entry.js +1 -0
  106. package/dist/evoke-ui/p-C-5sEjU8.js +3 -0
  107. package/dist/evoke-ui/p-DQuL1Twl.js +1 -0
  108. package/dist/index.cjs.js +1 -0
  109. package/dist/index.js +1 -0
  110. package/dist/themes/bootstrap.css +26 -0
  111. package/dist/themes/material.css +24 -0
  112. package/dist/themes/tailwind.css +27 -0
  113. package/dist/themes/tokens.css +29 -0
  114. package/dist/types/components/evoke-alert/evoke-alert.d.ts +10 -0
  115. package/dist/types/components/evoke-app-bar/evoke-app-bar.d.ts +14 -0
  116. package/dist/types/components/evoke-badge/evoke-badge.d.ts +17 -0
  117. package/dist/types/components/evoke-button/evoke-button.d.ts +21 -0
  118. package/dist/types/components/evoke-card/evoke-card.d.ts +15 -0
  119. package/dist/types/components/evoke-checkbox/evoke-checkbox.d.ts +18 -0
  120. package/dist/types/components/evoke-chip/evoke-chip.d.ts +14 -0
  121. package/dist/types/components/evoke-input/evoke-input.d.ts +27 -0
  122. package/dist/types/components/evoke-modal/evoke-modal.d.ts +32 -0
  123. package/dist/types/components/evoke-pagination/evoke-pagination.d.ts +15 -0
  124. package/dist/types/components/evoke-progress/evoke-progress.d.ts +13 -0
  125. package/dist/types/components/evoke-quantity-stepper/evoke-quantity-stepper.d.ts +18 -0
  126. package/dist/types/components/evoke-radio-group/evoke-radio-group.d.ts +20 -0
  127. package/dist/types/components/evoke-select/evoke-select.d.ts +43 -0
  128. package/dist/types/components/evoke-switch/evoke-switch.d.ts +15 -0
  129. package/dist/types/components/evoke-table/evoke-table.d.ts +29 -0
  130. package/dist/types/components/evoke-tabs/evoke-tabs.d.ts +21 -0
  131. package/dist/types/components/evoke-textarea/evoke-textarea.d.ts +28 -0
  132. package/dist/types/components/evoke-toast/evoke-toast.d.ts +24 -0
  133. package/dist/types/components/evoke-tooltip/evoke-tooltip.d.ts +17 -0
  134. package/dist/types/components.d.ts +1876 -0
  135. package/dist/types/index.d.ts +2 -0
  136. package/dist/types/stencil-public-runtime.d.ts +1879 -0
  137. package/dist/types/utils/icons.d.ts +25 -0
  138. package/dist/types/utils/options.d.ts +7 -0
  139. package/loader/cdn.js +1 -0
  140. package/loader/index.cjs.js +1 -0
  141. package/loader/index.d.ts +24 -0
  142. package/loader/index.es2017.js +1 -0
  143. package/loader/index.js +2 -0
  144. package/package.json +65 -4
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,11 @@
1
+ import { b as bootstrapLazy } from './index-C-5sEjU8.js';
2
+ export { s as setNonce } from './index-C-5sEjU8.js';
3
+ import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
+
5
+ const defineCustomElements = async (win, options) => {
6
+ if (typeof window === 'undefined') return undefined;
7
+ await globalScripts();
8
+ return bootstrapLazy([["evoke-alert_20",[[260,"evoke-alert",{"type":[1],"appearance":[1],"dismissible":[4]}],[260,"evoke-app-bar",{"appearance":[1],"sticky":[516],"navLabel":[1,"nav-label"]}],[260,"evoke-badge",{"count":[2],"max":[2],"dot":[4],"showZero":[4,"show-zero"],"color":[1],"label":[1]}],[260,"evoke-button",{"variant":[1],"size":[1],"type":[1],"disabled":[4],"loading":[4],"icon":[1],"iconOnly":[516,"icon-only"],"accessibleLabel":[1,"accessible-label"],"block":[516],"buttonClass":[1,"button-class"]}],[260,"evoke-card",{"heading":[1],"appearance":[1],"clickable":[4],"cardClass":[1,"card-class"]}],[260,"evoke-checkbox",{"label":[1],"checked":[1540],"indeterminate":[1540],"disabled":[4],"error":[1],"inputClass":[1,"input-class"]}],[260,"evoke-chip",{"label":[1],"selected":[1540],"removable":[4],"disabled":[4]}],[0,"evoke-input",{"label":[1],"value":[1025],"type":[1],"name":[1],"placeholder":[1],"disabled":[4],"required":[4],"appearance":[1],"error":[1],"hint":[1],"icon":[1],"inputClass":[1,"input-class"]}],[260,"evoke-modal",{"open":[1540],"heading":[1],"position":[1],"size":[1],"closeOnBackdrop":[4,"close-on-backdrop"],"modalClass":[1,"modal-class"]},[[8,"keydown","onKeydown"]],{"open":[{"onOpenChange":0}]}],[0,"evoke-pagination",{"page":[1026],"total":[2],"appearance":[1],"disabled":[4]}],[0,"evoke-progress",{"type":[1],"value":[2],"indeterminate":[4],"label":[1],"size":[2]}],[0,"evoke-quantity-stepper",{"value":[1026],"min":[2],"max":[2],"appearance":[1],"disabled":[4],"label":[1]}],[0,"evoke-radio-group",{"label":[1],"options":[1],"value":[1025],"name":[1],"disabled":[4],"appearance":[1],"inline":[4],"error":[1]}],[0,"evoke-select",{"label":[1],"options":[1],"value":[1025],"placeholder":[1],"multiple":[4],"searchable":[4],"disabled":[4],"error":[1],"hint":[1],"selectClass":[1,"select-class"],"isOpen":[32],"query":[32],"activeIndex":[32]},[[4,"click","onDocClick"]]],[0,"evoke-switch",{"checked":[1540],"label":[1],"description":[1],"disabled":[4],"accessibleLabel":[1,"accessible-label"]}],[0,"evoke-table",{"columns":[1],"rows":[1],"striped":[4],"sortable":[4],"caption":[1],"emptyText":[1,"empty-text"],"sortKey":[32],"sortDir":[32]}],[260,"evoke-tabs",{"options":[1],"value":[1025],"appearance":[1],"label":[1]}],[0,"evoke-textarea",{"label":[1],"value":[1025],"name":[1],"placeholder":[1],"rows":[2],"autoGrow":[4,"auto-grow"],"maxLength":[2,"max-length"],"disabled":[4],"required":[4],"error":[1],"hint":[1],"textareaClass":[1,"textarea-class"]}],[260,"evoke-toast",{"open":[1540],"message":[1],"type":[1],"action":[1],"duration":[2],"position":[1]},null,{"open":[{"onOpen":0}]}],[260,"evoke-tooltip",{"text":[1],"placement":[1],"theme":[1],"visible":[32]}]]]], options);
9
+ };
10
+
11
+ export { defineCustomElements };
@@ -0,0 +1 @@
1
+ :root{--evoke-primary:#ff5316;--evoke-primary-contrast:#ffffff;--evoke-secondary:#0b1560;--evoke-secondary-contrast:#ffffff;--evoke-danger:#dc2626;--evoke-success:#16a34a;--evoke-warning:#d97706;--evoke-info:#0891b2;--evoke-surface:#ffffff;--evoke-text:#1a1a1a;--evoke-text-muted:#6b6b6b;--evoke-border:#dedede;--evoke-radius:8px;--evoke-radius-field:8px;--evoke-radius-button:9999px;--evoke-control-height:56px;--evoke-button-padding-x:36px;--evoke-font:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;--evoke-font-size:16px;--evoke-focus-ring:0 0 0 3px rgba(11, 21, 96, 0.15);--evoke-surface-muted:#f5f5f5;--evoke-shadow:0 4px 12px rgba(0, 0, 0, 0.12);--evoke-primary-text:#cc3d0d}
@@ -0,0 +1 @@
1
+ import{p as e,b as a}from"./p-C-5sEjU8.js";export{s as setNonce}from"./p-C-5sEjU8.js";import{g as l}from"./p-DQuL1Twl.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((async e=>(await l(),a([["p-0841be89",[[260,"evoke-alert",{type:[1],appearance:[1],dismissible:[4]}],[260,"evoke-app-bar",{appearance:[1],sticky:[516],navLabel:[1,"nav-label"]}],[260,"evoke-badge",{count:[2],max:[2],dot:[4],showZero:[4,"show-zero"],color:[1],label:[1]}],[260,"evoke-button",{variant:[1],size:[1],type:[1],disabled:[4],loading:[4],icon:[1],iconOnly:[516,"icon-only"],accessibleLabel:[1,"accessible-label"],block:[516],buttonClass:[1,"button-class"]}],[260,"evoke-card",{heading:[1],appearance:[1],clickable:[4],cardClass:[1,"card-class"]}],[260,"evoke-checkbox",{label:[1],checked:[1540],indeterminate:[1540],disabled:[4],error:[1],inputClass:[1,"input-class"]}],[260,"evoke-chip",{label:[1],selected:[1540],removable:[4],disabled:[4]}],[0,"evoke-input",{label:[1],value:[1025],type:[1],name:[1],placeholder:[1],disabled:[4],required:[4],appearance:[1],error:[1],hint:[1],icon:[1],inputClass:[1,"input-class"]}],[260,"evoke-modal",{open:[1540],heading:[1],position:[1],size:[1],closeOnBackdrop:[4,"close-on-backdrop"],modalClass:[1,"modal-class"]},[[8,"keydown","onKeydown"]],{open:[{onOpenChange:0}]}],[0,"evoke-pagination",{page:[1026],total:[2],appearance:[1],disabled:[4]}],[0,"evoke-progress",{type:[1],value:[2],indeterminate:[4],label:[1],size:[2]}],[0,"evoke-quantity-stepper",{value:[1026],min:[2],max:[2],appearance:[1],disabled:[4],label:[1]}],[0,"evoke-radio-group",{label:[1],options:[1],value:[1025],name:[1],disabled:[4],appearance:[1],inline:[4],error:[1]}],[0,"evoke-select",{label:[1],options:[1],value:[1025],placeholder:[1],multiple:[4],searchable:[4],disabled:[4],error:[1],hint:[1],selectClass:[1,"select-class"],isOpen:[32],query:[32],activeIndex:[32]},[[4,"click","onDocClick"]]],[0,"evoke-switch",{checked:[1540],label:[1],description:[1],disabled:[4],accessibleLabel:[1,"accessible-label"]}],[0,"evoke-table",{columns:[1],rows:[1],striped:[4],sortable:[4],caption:[1],emptyText:[1,"empty-text"],sortKey:[32],sortDir:[32]}],[260,"evoke-tabs",{options:[1],value:[1025],appearance:[1],label:[1]}],[0,"evoke-textarea",{label:[1],value:[1025],name:[1],placeholder:[1],rows:[2],autoGrow:[4,"auto-grow"],maxLength:[2,"max-length"],disabled:[4],required:[4],error:[1],hint:[1],textareaClass:[1,"textarea-class"]}],[260,"evoke-toast",{open:[1540],message:[1],type:[1],action:[1],duration:[2],position:[1]},null,{open:[{onOpen:0}]}],[260,"evoke-tooltip",{text:[1],placement:[1],theme:[1],visible:[32]}]]]],e))));
File without changes
@@ -0,0 +1 @@
1
+ import{h as e,r as o,c as t,g as i}from"./p-C-5sEjU8.js";const a={mail:["M4 4h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z","m22 7-10 6L2 7"],lock:["M5 11h14a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2z","M7 11V7a5 5 0 0 1 10 0v4"],user:["M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2","M12 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8z"],search:["M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16z","m21 21-4.3-4.3"],plus:["M12 5v14","M5 12h14"],minus:["M5 12h14"],check:["M20 6 9 17l-5-5"],x:["M18 6 6 18","m6 6 12 12"],"chevron-down":["m6 9 6 6 6-6"],"chevron-up":["m18 15-6-6-6 6"],"chevron-left":["m15 18-6-6 6-6"],"chevron-right":["m9 18 6-6-6-6"],"arrow-right":["M5 12h14","m12 5 7 7-7 7"],"arrow-up":["M12 19V5","m5 12 7-7 7 7"],"arrow-down":["M12 5v14","m19 12-7 7-7-7"],sort:["m7 15 5 5 5-5","m7 9 5-5 5 5"],cart:["M9 21a1 1 0 1 0 0-2 1 1 0 0 0 0 2z","M20 21a1 1 0 1 0 0-2 1 1 0 0 0 0 2z","M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6"],info:["M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20z","M12 16v-4","M12 8h.01"],alert:["M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z","M12 9v4","M12 17h.01"]};function r(o,t="evoke-icon"){const i=o?a[o]:void 0;return i?e("svg",{class:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true",focusable:"false"},i.map((o=>e("path",{d:o})))):null}const s={info:"info",success:"check",warning:"alert",danger:"alert"},n=class{constructor(e){o(this,e),this.evokeDismiss=t(this,"evokeDismiss"),this.type="info",this.appearance="subtle",this.dismissible=!1}render(){return e("div",{key:"a1b27ec91bb55baeacdcf9547f5a6680faad87e6",class:`evoke-alert evoke-alert--${this.type} evoke-alert--${this.appearance}`,role:"danger"===this.type||"warning"===this.type?"alert":"status"},r(s[this.type],"evoke-alert__icon"),e("div",{key:"499700905c4cd7ca6de877185ed0b8a02d1d1ed9",class:"evoke-alert__content"},e("slot",{key:"122793b5693dc905c6bfbd680ae050a12be57400"})),this.dismissible&&e("button",{key:"a6bd557fdefc34efcf8b87552130b9a55425c381",type:"button",class:"evoke-alert__close","aria-label":"Dismiss",onClick:()=>this.evokeDismiss.emit()},r("x","evoke-icon")))}};n.style="evoke-alert{display:block}evoke-alert .evoke-alert{--_c:var(--evoke-info, #0891b2);display:flex;align-items:flex-start;gap:0.75rem;padding:0.75rem 1rem;border-radius:var(--evoke-radius, 8px);border:1px solid var(--_c);font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif)}evoke-alert .evoke-alert--info{--_c:var(--evoke-info, #0891b2)}evoke-alert .evoke-alert--success{--_c:var(--evoke-success, #16a34a)}evoke-alert .evoke-alert--warning{--_c:var(--evoke-warning, #d97706)}evoke-alert .evoke-alert--danger{--_c:var(--evoke-danger, #dc2626)}evoke-alert .evoke-alert--subtle{background:color-mix(in srgb, var(--_c) 12%, var(--evoke-surface, #ffffff));color:var(--evoke-text, #1a1a1a)}evoke-alert .evoke-alert--subtle .evoke-alert__icon{color:var(--_c)}evoke-alert .evoke-alert--solid{background:color-mix(in srgb, var(--_c) 78%, #000);border-color:color-mix(in srgb, var(--_c) 78%, #000);color:#fff}evoke-alert .evoke-alert__icon{flex:none;width:20px;height:20px;margin-top:2px}evoke-alert .evoke-alert__content{flex:1;min-width:0}evoke-alert .evoke-alert__close{flex:none;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer}evoke-alert .evoke-alert__close:hover{background:color-mix(in srgb, currentColor 14%, transparent)}evoke-alert .evoke-alert__close:active{background:color-mix(in srgb, currentColor 24%, transparent)}evoke-alert .evoke-alert__close:focus-visible{outline:none;box-shadow:0 0 0 3px color-mix(in srgb, currentColor 40%, transparent)}evoke-alert .evoke-alert__close .evoke-icon{width:16px;height:16px}";const v=class{constructor(e){o(this,e),this.appearance="light",this.sticky=!1,this.navLabel="Main"}render(){return e("header",{key:"11366baa08e286c8412eefbf82660f289fe42738",class:`evoke-appbar evoke-appbar--${this.appearance}`},e("div",{key:"4a44bb53fc220b2c880fbafa79aecb2d195b2b85",class:"evoke-appbar__logo"},e("slot",{key:"bb727e24bb1058f0a6b6b4ffbe78616f639b15bd",name:"logo"})),e("nav",{key:"6d2023a4dad87266641d3cb2747218926c1750c7",class:"evoke-appbar__nav","aria-label":this.navLabel},e("slot",{key:"ce4f50acddb09ebbc0c03538052cbd69e231fd2e",name:"nav"})),e("div",{key:"ff64630598e48bf5b0b6708799247e8bcf54b184",class:"evoke-appbar__actions"},e("slot",{key:"e782ff890c366a72fe65df8f0544ad09c0818cc6",name:"actions"})))}};v.style="evoke-app-bar{display:block}evoke-app-bar[sticky]{position:sticky;top:0;z-index:50}evoke-app-bar .evoke-appbar{--_fg:var(--evoke-text, #1a1a1a);box-sizing:border-box;display:flex;align-items:center;gap:24px;min-height:64px;padding:8px 24px;font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);background:var(--evoke-surface, #ffffff);color:var(--_fg);border-bottom:1px solid var(--evoke-border, #dedede)}evoke-app-bar .evoke-appbar--dark{--_fg:var(--evoke-secondary-contrast, #ffffff);background:var(--evoke-secondary, #0b1560);border-bottom-color:transparent}evoke-app-bar .evoke-appbar__logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.125rem;flex:none}evoke-app-bar .evoke-appbar__nav{display:flex;align-items:center;gap:4px;flex:1;min-width:0;overflow-x:auto}evoke-app-bar .evoke-appbar__actions{display:flex;align-items:center;gap:12px;flex:none;margin-left:auto}evoke-app-bar .evoke-appbar__nav a,evoke-app-bar .evoke-appbar__nav button{display:inline-flex;align-items:center;padding:8px 14px;font:inherit;color:inherit;text-decoration:none;background:none;border:0;border-radius:var(--evoke-radius-field, 8px);cursor:pointer;opacity:0.85;transition:background-color 0.15s, opacity 0.15s}evoke-app-bar .evoke-appbar__nav a:hover,evoke-app-bar .evoke-appbar__nav button:hover{opacity:1;background:color-mix(in srgb, currentColor 10%, transparent)}evoke-app-bar .evoke-appbar__nav a:active,evoke-app-bar .evoke-appbar__nav button:active{background:color-mix(in srgb, currentColor 18%, transparent)}evoke-app-bar .evoke-appbar__nav a[aria-current],evoke-app-bar .evoke-appbar__nav a.active{opacity:1;font-weight:600;box-shadow:inset 0 -2px 0 var(--evoke-primary, #ff5316);border-radius:0}evoke-app-bar .evoke-appbar__nav a:focus-visible,evoke-app-bar .evoke-appbar__nav button:focus-visible{outline:2px solid var(--evoke-primary, #ff5316);outline-offset:1px}";const d=class{constructor(e){o(this,e),this.count=0,this.max=99,this.dot=!1,this.showZero=!1,this.color="danger",this.label="",this.hasContent=!1}componentWillLoad(){this.hasContent=Array.from(this.el.childNodes).some((e=>{var o;return 1===e.nodeType||3===e.nodeType&&!!(null===(o=e.textContent)||void 0===o?void 0:o.trim())}))}render(){const o=this.count>this.max?`${this.max}+`:String(this.count),t=!this.dot&&(this.count>0||this.showZero),i=this.dot?e("span",{class:`evoke-badge evoke-badge--dot evoke-badge--${this.color}`,role:this.label?"status":void 0,"aria-label":this.label||void 0,"aria-hidden":this.label?void 0:"true"}):t?e("span",{class:`evoke-badge evoke-badge--count evoke-badge--${this.color}`},e("span",{"aria-hidden":this.label?"true":void 0},o),this.label&&e("span",{class:"evoke-badge__sr"},this.label)):null;return e("span",{key:"c49ac8a3361b9dcdfa3ebc3eacfca2079a3da60f",class:("evoke-badge-wrap "+(this.hasContent?"evoke-badge-wrap--anchored":"")).trim()},e("slot",{key:"b25c9150dcca4299ccae5735dcd0ea9a0c7e973a"}),i)}get el(){return i(this)}};d.style="evoke-badge{display:inline-block}evoke-badge .evoke-badge-wrap{position:relative;display:inline-flex;vertical-align:middle}evoke-badge .evoke-badge{--_bg:var(--evoke-danger, #dc2626);--_fg:#fff;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;background:var(--_bg);color:var(--_fg);font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);font-weight:600}evoke-badge .evoke-badge--primary{--_bg:color-mix(in srgb, var(--evoke-primary, #ff5316) 82%, #000)}evoke-badge .evoke-badge--secondary{--_bg:var(--evoke-secondary, #0b1560);--_fg:var(--evoke-secondary-contrast, #ffffff)}evoke-badge .evoke-badge--danger{--_bg:color-mix(in srgb, var(--evoke-danger, #dc2626) 85%, #000)}evoke-badge .evoke-badge--success{--_bg:color-mix(in srgb, var(--evoke-success, #16a34a) 78%, #000)}evoke-badge .evoke-badge--warning{--_bg:color-mix(in srgb, var(--evoke-warning, #d97706) 78%, #000)}evoke-badge .evoke-badge--info{--_bg:color-mix(in srgb, var(--evoke-info, #0891b2) 78%, #000)}evoke-badge .evoke-badge--count{min-width:20px;height:20px;padding:0 6px;border-radius:9999px;font-size:0.75rem;line-height:1}evoke-badge .evoke-badge--dot{width:10px;height:10px;border-radius:50%}evoke-badge .evoke-badge-wrap--anchored>.evoke-badge{position:absolute;top:0;right:0;transform:translate(35%, -35%);box-shadow:0 0 0 2px var(--evoke-surface, #ffffff)}evoke-badge .evoke-badge__sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}";const l=class{constructor(e){o(this,e),this.variant="primary",this.size="md",this.type="button",this.disabled=!1,this.loading=!1,this.iconOnly=!1,this.block=!1,this.buttonClass=""}render(){return e("button",{key:"f7d86f18cbcfd1d23b82cf37072f5af93c8d7ef3",type:this.type,class:`evoke-btn evoke-btn--${this.variant} evoke-btn--${this.size} ${this.iconOnly?"evoke-btn--icon":""} ${this.loading?"evoke-btn--loading":""} ${this.buttonClass}`.replace(/\s+/g," ").trim(),disabled:this.disabled||this.loading,"aria-busy":this.loading?"true":void 0,"aria-label":this.accessibleLabel},this.loading?e("span",{class:"evoke-spinner","aria-hidden":"true"}):r(this.icon),e("slot",{key:"15d7302d67b7976d772e6b510e27b7e3f23c0634"}))}};l.style="evoke-button{display:inline-block}evoke-button .evoke-btn{box-sizing:border-box;font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);font-size:var(--evoke-font-size, 16px);line-height:1.5;cursor:pointer;height:var(--evoke-control-height, 56px);padding:0 var(--evoke-button-padding-x, 36px);display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;border:1px solid transparent;border-radius:var(--evoke-radius-button, 9999px);transition:filter 0.15s, background-color 0.15s, box-shadow 0.15s, transform 0.05s}evoke-button .evoke-btn--sm{height:calc(var(--evoke-control-height, 56px) * 0.75);padding:0 calc(var(--evoke-button-padding-x, 36px) * 0.6);font-size:0.875rem}evoke-button .evoke-btn--lg{height:calc(var(--evoke-control-height, 56px) * 1.15);padding:0 calc(var(--evoke-button-padding-x, 36px) * 1.2);font-size:1.125rem}evoke-button .evoke-btn--icon{padding:0;width:var(--evoke-control-height, 56px)}evoke-button .evoke-btn--icon.evoke-btn--sm{width:calc(var(--evoke-control-height, 56px) * 0.75)}evoke-button .evoke-btn--icon.evoke-btn--lg{width:calc(var(--evoke-control-height, 56px) * 1.15)}evoke-button .evoke-icon{width:1.1em;height:1.1em;flex:none}evoke-button .evoke-btn:hover:not(:disabled){filter:brightness(0.92)}evoke-button .evoke-btn:active:not(:disabled){filter:brightness(0.82);transform:translateY(1px)}evoke-button .evoke-btn:focus-visible{outline:none;box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-button .evoke-btn:disabled{opacity:0.5;cursor:not-allowed}evoke-button .evoke-btn--loading:disabled{cursor:progress;opacity:0.8}evoke-button .evoke-btn--primary{background:var(--evoke-primary, #ff5316);color:var(--evoke-primary-contrast, #ffffff)}evoke-button .evoke-btn--secondary{background:var(--evoke-secondary, #0b1560);color:var(--evoke-secondary-contrast, #ffffff)}evoke-button .evoke-btn--danger{background:var(--evoke-danger, #dc2626);color:#fff}evoke-button .evoke-btn--outline{background:transparent;color:var(--evoke-primary-text, #cc3d0d);border-color:var(--evoke-primary, #ff5316)}evoke-button .evoke-btn--ghost{background:transparent;color:var(--evoke-primary-text, #cc3d0d);border-color:transparent}evoke-button .evoke-btn--ghost:hover:not(:disabled){filter:none;background:color-mix(in srgb, var(--evoke-primary, #ff5316) 10%, transparent)}evoke-button .evoke-btn--ghost:active:not(:disabled){filter:none;background:color-mix(in srgb, var(--evoke-primary, #ff5316) 18%, transparent)}evoke-button .evoke-spinner{width:1em;height:1em;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:evoke-spin 0.7s linear infinite}@keyframes evoke-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){evoke-button .evoke-spinner{animation-duration:2s}}evoke-button[block]{display:block}evoke-button[block] .evoke-btn{width:100%}";const c=class{constructor(e){o(this,e),this.evokeClick=t(this,"evokeClick"),this.heading="",this.appearance="outlined",this.clickable=!1,this.cardClass="",this.activate=()=>{this.clickable&&this.evokeClick.emit()},this.onKeyDown=e=>{this.clickable&&e.target===e.currentTarget&&("Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.activate()))}}render(){return e("div",{key:"770d8327a59c90f0dee5a2150de270e23024e7c2",class:`evoke-card evoke-card--${this.appearance} ${this.clickable?"evoke-card--clickable":""} ${this.cardClass}`.replace(/\s+/g," ").trim(),role:this.clickable?"button":void 0,tabindex:this.clickable?0:void 0,onClick:this.activate,onKeyDown:this.onKeyDown},e("div",{key:"16ffd16092680ff8c42e9a13e7e7313cc0c4f1d5",class:"evoke-card__media"},e("slot",{key:"92ba25d16ed81cad2dd4707cde97370b1e9efa33",name:"media"})),this.heading&&e("div",{key:"6fd2d9d1fe8afe8074fc38cc8247f007218a7450",class:"evoke-card__header"},this.heading),e("div",{key:"afa26c53bfed69d01b350760428456293ebeb7fd",class:"evoke-card__body"},e("slot",{key:"94e07c3b5f8170fae1667081cdcf39d5a869c249"})))}};c.style="evoke-card{display:block}evoke-card .evoke-card{background:var(--evoke-surface, #ffffff);color:var(--evoke-text, #1a1a1a);border:1px solid var(--evoke-border, #dedede);border-radius:var(--evoke-radius, 8px);font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);overflow:hidden;transition:box-shadow 0.15s, border-color 0.15s, transform 0.05s}evoke-card .evoke-card--elevated{border-color:transparent;box-shadow:var(--evoke-shadow, 0 4px 12px rgba(0, 0, 0, 0.12))}evoke-card .evoke-card__media img,evoke-card .evoke-card__media video{display:block;width:100%;height:auto}evoke-card .evoke-card__header{padding:0.75rem 1rem;font-weight:600;border-bottom:1px solid var(--evoke-border, #dedede)}evoke-card .evoke-card--elevated .evoke-card__header{border-bottom-color:transparent}evoke-card .evoke-card__body{padding:1rem}evoke-card .evoke-card--clickable{cursor:pointer}evoke-card .evoke-card--clickable:hover{border-color:var(--evoke-primary, #ff5316)}evoke-card .evoke-card--elevated.evoke-card--clickable:hover{border-color:transparent;box-shadow:0 8px 24px rgba(0, 0, 0, 0.18)}evoke-card .evoke-card--clickable:active{transform:translateY(1px)}evoke-card .evoke-card--clickable:focus-visible{outline:none;box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15));border-color:var(--evoke-secondary, #0b1560)}";const k=class{constructor(e){o(this,e),this.evokeChange=t(this,"evokeChange"),this.label="",this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.error="",this.inputClass="",this.uid=Math.random().toString(36).slice(2,9)}componentDidRender(){this.inputEl&&(this.inputEl.indeterminate=this.indeterminate)}render(){const o=`evoke-check-${this.uid}-err`;return e("div",{key:"cc0882102020d6e748ee1c5bac124a3a2640862c",class:"evoke-check"},e("label",{key:"62390001ac96c2c0602541eafc37559ab95ae80a",class:"evoke-check__row "+(this.disabled?"evoke-check__row--disabled":"")},e("input",{key:"bf8732581d0c36d3ba89c4b3c67b08ebf1268699",type:"checkbox",class:`evoke-check__input ${this.error?"evoke-check__input--error":""} ${this.inputClass}`.trim(),checked:this.checked,disabled:this.disabled,"aria-checked":this.indeterminate?"mixed":void 0,"aria-invalid":this.error?"true":void 0,"aria-describedby":this.error?o:void 0,ref:e=>this.inputEl=e,onChange:e=>{this.indeterminate=!1,this.checked=e.target.checked,this.evokeChange.emit(this.checked)}}),e("span",{key:"6685db59dad6a3299179a04f67f25ca2d818c87a",class:"evoke-check__label"},this.label,e("slot",{key:"d2f72e8580dbfdabdd9e460642558a3b2199f098"}))),this.error&&e("span",{key:"2d63862c8cc3489b8e1217fab1aa20da0fb86449",id:o,class:"evoke-check__error",role:"alert"},this.error))}};k.style="evoke-checkbox{display:block}evoke-checkbox .evoke-check{display:flex;flex-direction:column;gap:0.25rem;font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);color:var(--evoke-text, #1a1a1a)}evoke-checkbox .evoke-check__row{display:inline-flex;align-items:center;gap:0.5rem;cursor:pointer;font-size:0.875rem}evoke-checkbox .evoke-check__row--disabled{opacity:0.6;cursor:not-allowed}evoke-checkbox .evoke-check__input{appearance:none;-webkit-appearance:none;margin:0;flex:none;width:16px;height:16px;border:2px solid var(--evoke-primary, #ff5316);border-radius:4px;background:var(--evoke-surface, #ffffff) center / 12px no-repeat;cursor:inherit;transition:background-color 0.15s, box-shadow 0.15s, filter 0.15s}evoke-checkbox .evoke-check__input:hover:not(:disabled){filter:brightness(0.92)}evoke-checkbox .evoke-check__input:active:not(:disabled){filter:brightness(0.8)}evoke-checkbox .evoke-check__input:checked{background-color:var(--evoke-primary, #ff5316);background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E\")}evoke-checkbox .evoke-check__input:indeterminate{background-color:var(--evoke-primary, #ff5316);background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E\")}evoke-checkbox .evoke-check__input:focus-visible{outline:none;box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-checkbox .evoke-check__input--error{border-color:var(--evoke-danger, #dc2626)}evoke-checkbox .evoke-check__error{color:var(--evoke-danger, #dc2626);font-size:0.875rem}";const h=class{constructor(e){o(this,e),this.evokeChange=t(this,"evokeChange"),this.evokeRemove=t(this,"evokeRemove"),this.label="",this.selected=!1,this.removable=!1,this.disabled=!1}render(){return this.removable?e("span",{class:("evoke-chip evoke-chip--removable "+(this.disabled?"evoke-chip--disabled":"")).trim()},e("span",{class:"evoke-chip__label"},this.label,e("slot",null)),e("button",{type:"button",class:"evoke-chip__remove","aria-label":`Remove ${this.label}`,disabled:this.disabled,onClick:()=>this.evokeRemove.emit()},r("x","evoke-icon"))):e("button",{type:"button",class:("evoke-chip evoke-chip--filter "+(this.selected?"evoke-chip--selected":"")).trim(),"aria-pressed":this.selected?"true":"false",disabled:this.disabled,onClick:()=>{this.selected=!this.selected,this.evokeChange.emit(this.selected)}},this.selected&&r("check","evoke-icon"),e("span",{class:"evoke-chip__label"},this.label,e("slot",null)))}};h.style="evoke-chip{display:inline-block}evoke-chip .evoke-chip{box-sizing:border-box;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);font-size:0.875rem;color:var(--evoke-text, #1a1a1a);background:var(--evoke-surface, #ffffff);border:1px solid var(--evoke-border, #dedede);border-radius:9999px;transition:background-color 0.15s, border-color 0.15s, filter 0.15s}evoke-chip .evoke-chip .evoke-icon{width:14px;height:14px;flex:none}evoke-chip .evoke-chip--filter{cursor:pointer;font:inherit;font-size:0.875rem}evoke-chip .evoke-chip--filter:hover:not(:disabled):not(.evoke-chip--selected){background:var(--evoke-surface-muted, #f5f5f5);border-color:var(--evoke-text-muted, #6b6b6b)}evoke-chip .evoke-chip--filter:active:not(:disabled){filter:brightness(0.9)}evoke-chip .evoke-chip--filter:focus-visible{outline:none;box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-chip .evoke-chip--selected{background:color-mix(in srgb, var(--evoke-primary, #ff5316) 14%, var(--evoke-surface, #ffffff));border-color:var(--evoke-primary, #ff5316);color:var(--evoke-text, #1a1a1a)}evoke-chip .evoke-chip--selected .evoke-icon{color:var(--evoke-primary, #ff5316)}evoke-chip .evoke-chip--filter:disabled,evoke-chip .evoke-chip--disabled{opacity:0.5;cursor:not-allowed}evoke-chip .evoke-chip--removable{padding-right:4px;background:var(--evoke-surface-muted, #f5f5f5);border-color:transparent}evoke-chip .evoke-chip__remove{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;color:inherit;background:none;border:0;border-radius:50%;cursor:pointer}evoke-chip .evoke-chip__remove:hover:not(:disabled){background:color-mix(in srgb, var(--evoke-text, #1a1a1a) 14%, transparent)}evoke-chip .evoke-chip__remove:active:not(:disabled){background:color-mix(in srgb, var(--evoke-text, #1a1a1a) 24%, transparent)}evoke-chip .evoke-chip__remove:focus-visible{outline:none;box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-chip .evoke-chip__remove:disabled{cursor:not-allowed}";const b=class{constructor(e){o(this,e),this.evokeInput=t(this,"evokeInput"),this.evokeChange=t(this,"evokeChange"),this.label="",this.value="",this.type="text",this.name="",this.placeholder="",this.disabled=!1,this.required=!1,this.appearance="outlined",this.error="",this.hint="",this.inputClass="",this.inputId=`evoke-input-${Math.random().toString(36).slice(2,9)}`}render(){const o=!!this.icon,t=this.error||this.hint?`${this.inputId}-msg`:void 0;return e("div",{key:"1bcce1a42e241c614eb5aacac045bf81fdf42ebd",class:`evoke-field evoke-field--${this.appearance}`},this.label&&e("label",{key:"6b0dbee7d5fad3238b22996d62d2ef23310b400b",htmlFor:this.inputId,class:"evoke-field__label"},this.label,this.required&&e("span",{key:"8258e6cc4d310d4becd7c1f4c6c511afdfffe715","aria-hidden":"true"}," *")),e("div",{key:"b8b4ba4a562bdbc86be66bb413ae2ff0209e4592",class:"evoke-field__control"},r(this.icon,"evoke-field__icon"),e("input",{key:"059cf7679e73a950d8a891cc72432164e1ed81bd",id:this.inputId,class:`evoke-field__input ${o?"evoke-field__input--icon":""} ${this.error?"evoke-field__input--error":""} ${this.inputClass}`.replace(/\s+/g," ").trim(),type:this.type,name:this.name||void 0,value:this.value,placeholder:this.placeholder,disabled:this.disabled,required:this.required,"aria-invalid":this.error?"true":void 0,"aria-describedby":t,onInput:e=>{this.value=e.target.value,this.evokeInput.emit(this.value)},onChange:e=>this.evokeChange.emit(e.target.value)})),this.error?e("span",{id:t,class:"evoke-field__error",role:"alert"},this.error):this.hint&&e("span",{id:t,class:"evoke-field__hint"},this.hint))}};b.style="evoke-input{display:block}evoke-input .evoke-field{display:flex;flex-direction:column;gap:0.5rem;font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);font-size:var(--evoke-font-size, 16px);color:var(--evoke-text, #1a1a1a)}evoke-input .evoke-field__label{color:var(--evoke-text, #1a1a1a)}evoke-input .evoke-field__control{position:relative}evoke-input .evoke-field__icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--evoke-text-muted, #6b6b6b);pointer-events:none}evoke-input .evoke-field__input{box-sizing:border-box;width:100%;height:var(--evoke-control-height, 56px);padding:0 24px;border:1px solid var(--evoke-border, #dedede);border-radius:var(--evoke-radius-field, 8px);background:var(--evoke-surface, #ffffff);color:var(--evoke-text, #1a1a1a);font:inherit;transition:border-color 0.15s, box-shadow 0.15s, background-color 0.15s}evoke-input .evoke-field__input--icon{padding-left:44px}evoke-input .evoke-field__input::placeholder{color:var(--evoke-text-muted, #6b6b6b)}evoke-input .evoke-field__input:hover:not(:disabled):not(:focus){border-color:var(--evoke-text-muted, #6b6b6b)}evoke-input .evoke-field__input:focus{outline:none;border-color:var(--evoke-secondary, #0b1560);box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-input .evoke-field__input:disabled{opacity:0.6;cursor:not-allowed}evoke-input .evoke-field__input--error{border-color:var(--evoke-danger, #dc2626)}evoke-input .evoke-field--filled .evoke-field__input{background:var(--evoke-surface-muted, #f5f5f5);border-color:transparent;border-bottom:2px solid var(--evoke-border, #dedede);border-radius:var(--evoke-radius-field, 8px) var(--evoke-radius-field, 8px) 0 0}evoke-input .evoke-field--filled .evoke-field__input:hover:not(:disabled):not(:focus){border-bottom-color:var(--evoke-text-muted, #6b6b6b)}evoke-input .evoke-field--filled .evoke-field__input:focus{box-shadow:none;border-bottom-color:var(--evoke-secondary, #0b1560)}evoke-input .evoke-field--filled .evoke-field__input:focus-visible{box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-input .evoke-field--filled .evoke-field__input--error{border-bottom-color:var(--evoke-danger, #dc2626)}evoke-input .evoke-field__hint{color:var(--evoke-text-muted, #6b6b6b);font-size:0.875rem}evoke-input .evoke-field__error{color:var(--evoke-danger, #dc2626);font-size:0.875rem}";const p=class{constructor(e){o(this,e),this.evokeClose=t(this,"evokeClose"),this.open=!1,this.heading="",this.position="center",this.size="md",this.closeOnBackdrop=!0,this.modalClass="",this.previouslyFocused=null,this.previousOverflow="",this.pendingFocus=!1,this.locked=!1,this.uid=Math.random().toString(36).slice(2,9)}onOpenChange(e,o){e&&!o?this.onOpened():!e&&o&&this.onClosed()}componentDidLoad(){this.open&&this.onOpened()}disconnectedCallback(){this.locked&&this.unlockScroll()}componentDidRender(){var e;this.pendingFocus&&this.panel&&(this.pendingFocus=!1,(null!==(e=this.focusables()[0])&&void 0!==e?e:this.panel).focus())}onOpened(){this.previouslyFocused=document.activeElement,this.pendingFocus=!0,this.locked||(this.previousOverflow=document.body.style.overflow,document.body.style.overflow="hidden",this.locked=!0)}onClosed(){var e,o;this.unlockScroll(),null===(o=null===(e=this.previouslyFocused)||void 0===e?void 0:e.focus)||void 0===o||o.call(e),this.previouslyFocused=null}unlockScroll(){document.body.style.overflow=this.previousOverflow,this.locked=!1}focusables(){return this.panel?Array.from(this.panel.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter((e=>null!==e.offsetParent)):[]}close(){this.open=!1,this.evokeClose.emit()}onKeydown(e){if(!this.open)return;if("Escape"===e.key)return e.preventDefault(),this.close();if("Tab"!==e.key||!this.panel)return;const o=this.focusables();if(0===o.length)return e.preventDefault(),this.panel.focus();const t=o[0],i=o[o.length-1],a=document.activeElement;!e.shiftKey||a!==t&&a!==this.panel?e.shiftKey||a!==i||(e.preventDefault(),t.focus()):(e.preventDefault(),i.focus())}render(){if(!this.open)return null;const o=`evoke-modal-${this.uid}-title`;return e("div",{class:`evoke-modal__backdrop evoke-modal__backdrop--${this.position}`,onClick:()=>this.closeOnBackdrop&&this.close()},e("div",{class:`evoke-modal evoke-modal--${this.position} evoke-modal--${this.size} ${this.modalClass}`.replace(/\s+/g," ").trim(),role:"dialog","aria-modal":"true","aria-labelledby":this.heading?o:void 0,tabindex:-1,ref:e=>this.panel=e,onClick:e=>e.stopPropagation()},e("div",{class:"evoke-modal__header"},e("span",{id:o},this.heading),e("button",{type:"button",class:"evoke-modal__close","aria-label":"Close",onClick:()=>this.close()},r("x","evoke-icon"))),e("div",{class:"evoke-modal__body"},e("slot",null))))}get el(){return i(this)}static get watchers(){return{open:[{onOpenChange:0}]}}};p.style="evoke-modal .evoke-modal__backdrop{position:fixed;inset:0;background:rgba(0, 0, 0, 0.5);display:flex;align-items:center;justify-content:center;z-index:1000;animation:evoke-fade 0.15s ease-out}evoke-modal .evoke-modal__backdrop--right{justify-content:flex-end;align-items:stretch}evoke-modal .evoke-modal{box-sizing:border-box;background:var(--evoke-surface, #ffffff);color:var(--evoke-text, #1a1a1a);font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);display:flex;flex-direction:column;max-width:100vw;box-shadow:0 20px 40px rgba(0, 0, 0, 0.25)}evoke-modal .evoke-modal:focus{outline:none}evoke-modal .evoke-modal--center{border-radius:var(--evoke-radius, 8px);max-height:90vh;width:min(92vw, 480px);animation:evoke-pop 0.15s ease-out}evoke-modal .evoke-modal--center.evoke-modal--sm{width:min(92vw, 360px)}evoke-modal .evoke-modal--center.evoke-modal--lg{width:min(92vw, 720px)}evoke-modal .evoke-modal--right{height:100%;border-radius:0;width:min(100vw, 420px);animation:evoke-slide 0.2s ease-out}evoke-modal .evoke-modal--right.evoke-modal--sm{width:min(100vw, 320px)}evoke-modal .evoke-modal--right.evoke-modal--lg{width:min(100vw, 640px)}evoke-modal .evoke-modal__header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:0.75rem 1rem;font-weight:600;border-bottom:1px solid var(--evoke-border, #dedede)}evoke-modal .evoke-modal__close{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer}evoke-modal .evoke-modal__close:hover{background:var(--evoke-surface-muted, #f5f5f5)}evoke-modal .evoke-modal__close:active{background:color-mix(in srgb, var(--evoke-text, #1a1a1a) 14%, transparent)}evoke-modal .evoke-modal__close:focus-visible{outline:none;box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-modal .evoke-modal__close .evoke-icon{width:18px;height:18px}evoke-modal .evoke-modal__body{padding:1rem;overflow:auto;flex:1}@keyframes evoke-fade{from{opacity:0}to{opacity:1}}@keyframes evoke-pop{from{opacity:0;transform:scale(0.96)}to{opacity:1;transform:none}}@keyframes evoke-slide{from{transform:translateX(100%)}to{transform:none}}@media (prefers-reduced-motion: reduce){evoke-modal .evoke-modal__backdrop,evoke-modal .evoke-modal{animation:none}}";const f=class{constructor(e){o(this,e),this.evokeChange=t(this,"evokeChange"),this.page=1,this.total=1,this.appearance="numbered",this.disabled=!1}go(e){const o=Math.min(Math.max(e,1),Math.max(this.total,1));this.disabled||o===this.page||(this.page=o,this.evokeChange.emit(o))}pages(){const e=this.total,o=this.page;if(e<=7)return Array.from({length:e},((e,o)=>o+1));const t=[1],i=Math.max(2,o-1),a=Math.min(e-1,o+1);i>2&&t.push("…");for(let e=i;e<=a;e++)t.push(e);return a<e-1&&t.push("…"),t.push(e),t}render(){const o=this.disabled||this.page>=this.total,t=e("button",{key:"702c8196b0bd4c6bfff38d355e85bda4c58ec52f",type:"button",class:"evoke-pager__btn evoke-pager__nav","aria-label":"Previous page",disabled:this.disabled||this.page<=1,onClick:()=>this.go(this.page-1)},r("chevron-left","evoke-icon"),"compact"===this.appearance&&e("span",{key:"64f68912c444b59a7a6c074e074f745585726e62"},"Prev")),i=e("button",{key:"5b7ff3fe00e16bd03e3244971bfb86c6891051c3",type:"button",class:"evoke-pager__btn evoke-pager__nav","aria-label":"Next page",disabled:o,onClick:()=>this.go(this.page+1)},"compact"===this.appearance&&e("span",{key:"83d15b9f16dac8d810cb50d7a2a5df1c01f720cb"},"Next"),r("chevron-right","evoke-icon"));return e("nav",{key:"5ebe89ac00b59391f425e518ae145b84742a5bb1",class:`evoke-pager evoke-pager--${this.appearance}`,"aria-label":"Pagination"},t,"compact"===this.appearance?e("span",{class:"evoke-pager__status","aria-live":"polite"},this.page," of ",this.total):this.pages().map((o=>"…"===o?e("span",{class:"evoke-pager__gap","aria-hidden":"true"},"…"):e("button",{type:"button",class:("evoke-pager__btn "+(o===this.page?"evoke-pager__btn--active":"")).trim(),"aria-label":`Page ${o}`,"aria-current":o===this.page?"page":void 0,disabled:this.disabled,onClick:()=>this.go(o)},o))),i)}};f.style="evoke-pagination{display:block}evoke-pagination .evoke-pager{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);color:var(--evoke-text, #1a1a1a)}evoke-pagination .evoke-pager__btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:40px;height:40px;padding:0 12px;font:inherit;font-size:0.9375rem;color:var(--evoke-text, #1a1a1a);background:transparent;border:1px solid transparent;border-radius:var(--evoke-radius-field, 8px);cursor:pointer;transition:background-color 0.15s, filter 0.15s}evoke-pagination .evoke-pager__btn:hover:not(:disabled):not(.evoke-pager__btn--active){background:var(--evoke-surface-muted, #f5f5f5)}evoke-pagination .evoke-pager__btn:active:not(:disabled){filter:brightness(0.85)}evoke-pagination .evoke-pager__btn:focus-visible{outline:none;box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-pagination .evoke-pager__btn:disabled{opacity:0.45;cursor:not-allowed}evoke-pagination .evoke-pager__btn--active{background:var(--evoke-primary, #ff5316);color:var(--evoke-primary-contrast, #ffffff)}evoke-pagination .evoke-pager__nav .evoke-icon{width:18px;height:18px}evoke-pagination .evoke-pager--compact .evoke-pager__nav{border-color:var(--evoke-border, #dedede);padding:0 14px}evoke-pagination .evoke-pager__gap{min-width:24px;text-align:center;color:var(--evoke-text-muted, #6b6b6b)}evoke-pagination .evoke-pager__status{padding:0 16px;font-size:0.9375rem}";const u=2*Math.PI*18,_=class{constructor(e){o(this,e),this.type="linear",this.value=0,this.indeterminate=!1,this.label="Loading",this.size=40}render(){const o=Math.min(Math.max(Number(this.value)||0,0),100),t={role:"progressbar","aria-label":this.label,"aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":this.indeterminate?void 0:String(Math.round(o))};return"circular"===this.type?e("div",Object.assign({class:("evoke-progress evoke-progress--circular "+(this.indeterminate?"evoke-progress--indeterminate":"")).trim(),style:{width:`${this.size}px`,height:`${this.size}px`}},t),e("svg",{viewBox:"0 0 44 44","aria-hidden":"true",focusable:"false"},e("circle",{class:"evoke-progress__track",cx:"22",cy:"22",r:String(18),fill:"none","stroke-width":"4"}),e("circle",{class:"evoke-progress__ring",cx:"22",cy:"22",r:String(18),fill:"none","stroke-width":"4","stroke-linecap":"round","stroke-dasharray":this.indeterminate?`${.25*u} ${u}`:String(u),"stroke-dashoffset":this.indeterminate?void 0:String(u*(1-o/100))}))):e("div",Object.assign({class:("evoke-progress evoke-progress--linear "+(this.indeterminate?"evoke-progress--indeterminate":"")).trim()},t),e("div",{class:"evoke-progress__bar",style:this.indeterminate?void 0:{width:`${o}%`}}))}};_.style="evoke-progress{display:block}evoke-progress .evoke-progress--linear{position:relative;width:100%;height:8px;overflow:hidden;border-radius:9999px;background:var(--evoke-surface-muted, #f5f5f5);box-shadow:inset 0 0 0 1px var(--evoke-border, #dedede)}evoke-progress .evoke-progress__bar{height:100%;border-radius:inherit;background:var(--evoke-primary, #ff5316);transition:width 0.25s ease}evoke-progress .evoke-progress--linear.evoke-progress--indeterminate .evoke-progress__bar{position:absolute;width:40%;animation:evoke-bar 1.2s ease-in-out infinite}evoke-progress .evoke-progress--circular{display:inline-block}evoke-progress .evoke-progress--circular svg{display:block;width:100%;height:100%;transform:rotate(-90deg)}evoke-progress .evoke-progress__track{stroke:var(--evoke-border, #dedede)}evoke-progress .evoke-progress__ring{stroke:var(--evoke-primary, #ff5316);transition:stroke-dashoffset 0.25s ease}evoke-progress .evoke-progress--circular.evoke-progress--indeterminate svg{animation:evoke-spin 0.9s linear infinite}@keyframes evoke-bar{0%{left:-40%}100%{left:100%}}@keyframes evoke-spin{to{transform:rotate(270deg)}}@media (prefers-reduced-motion: reduce){evoke-progress .evoke-progress__bar,evoke-progress .evoke-progress--circular svg{animation-duration:3s !important;transition:none}}";const g=class{constructor(e){o(this,e),this.evokeChange=t(this,"evokeChange"),this.value=1,this.min=1,this.max=99,this.appearance="inline",this.disabled=!1,this.label="Quantity",this.onKeyDown=e=>{"ArrowUp"===e.key?(e.preventDefault(),this.set(this.value+1)):"ArrowDown"===e.key&&(e.preventDefault(),this.set(this.value-1))}}clamp(e){return Math.min(Math.max(Math.round(e),this.min),this.max)}set(e){const o=this.clamp(Number.isFinite(e)?e:this.value);this.inputEl&&(this.inputEl.value=String(o)),o!==this.value&&(this.value=o,this.evokeChange.emit(o))}render(){if("compact"===this.appearance){const o=Math.min(this.max,this.min+9),t=[];for(let e=this.min;e<=o;e++)t.push(e);return t.includes(this.value)||t.push(this.value),e("div",{class:"evoke-qty evoke-qty--compact"},e("select",{class:"evoke-qty__select","aria-label":this.label,disabled:this.disabled,onChange:e=>this.set(Number(e.target.value))},t.map((o=>e("option",{value:String(o),selected:o===this.value},"Qty: ",o)))),r("chevron-down","evoke-qty__chevron"))}return e("div",{class:"evoke-qty evoke-qty--inline",role:"group","aria-label":this.label},e("button",{type:"button",class:"evoke-qty__btn","aria-label":"Decrease quantity",disabled:this.disabled||this.value<=this.min,onClick:()=>this.set(this.value-1)},r("minus","evoke-icon")),e("input",{class:"evoke-qty__input",type:"text",inputmode:"numeric",pattern:"[0-9]*","aria-label":this.label,value:String(this.value),disabled:this.disabled,ref:e=>this.inputEl=e,onKeyDown:this.onKeyDown,onChange:e=>this.set(parseInt(e.target.value,10))}),e("button",{type:"button",class:"evoke-qty__btn","aria-label":"Increase quantity",disabled:this.disabled||this.value>=this.max,onClick:()=>this.set(this.value+1)},r("plus","evoke-icon")))}};function x(e){if(Array.isArray(e))return e;try{const o=JSON.parse(e);return Array.isArray(o)?o:[]}catch(e){return[]}}g.style="evoke-quantity-stepper{display:inline-block}evoke-quantity-stepper .evoke-qty{font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);color:var(--evoke-text, #1a1a1a)}evoke-quantity-stepper .evoke-qty--inline{display:inline-flex;align-items:center;height:calc(var(--evoke-control-height, 56px) * 0.75);border:1px solid var(--evoke-border, #dedede);border-radius:var(--evoke-radius-button, 9999px);background:var(--evoke-surface, #ffffff);overflow:hidden}evoke-quantity-stepper .evoke-qty--inline:focus-within{border-color:var(--evoke-secondary, #0b1560);box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-quantity-stepper .evoke-qty__btn{display:inline-flex;align-items:center;justify-content:center;width:calc(var(--evoke-control-height, 56px) * 0.75);height:100%;padding:0;color:var(--evoke-primary, #ff5316);background:transparent;border:0;cursor:pointer;transition:background-color 0.15s}evoke-quantity-stepper .evoke-qty__btn:hover:not(:disabled){background:color-mix(in srgb, var(--evoke-primary, #ff5316) 10%, transparent)}evoke-quantity-stepper .evoke-qty__btn:active:not(:disabled){background:color-mix(in srgb, var(--evoke-primary, #ff5316) 20%, transparent)}evoke-quantity-stepper .evoke-qty__btn:focus-visible{outline:2px solid var(--evoke-secondary, #0b1560);outline-offset:-3px}evoke-quantity-stepper .evoke-qty__btn:disabled{opacity:0.4;cursor:not-allowed}evoke-quantity-stepper .evoke-qty__btn .evoke-icon{width:16px;height:16px}evoke-quantity-stepper .evoke-qty__input{box-sizing:border-box;width:48px;height:100%;padding:0;text-align:center;font:inherit;color:var(--evoke-text, #1a1a1a);background:transparent;border:0}evoke-quantity-stepper .evoke-qty__input:focus{outline:none}evoke-quantity-stepper .evoke-qty__input:disabled{opacity:0.5}evoke-quantity-stepper .evoke-qty--compact{position:relative;display:inline-block}evoke-quantity-stepper .evoke-qty__select{box-sizing:border-box;height:calc(var(--evoke-control-height, 56px) * 0.75);padding:0 36px 0 16px;font:inherit;font-size:0.9375rem;color:var(--evoke-text, #1a1a1a);background:var(--evoke-surface, #ffffff);border:1px solid var(--evoke-border, #dedede);border-radius:var(--evoke-radius-field, 8px);appearance:none;-webkit-appearance:none;cursor:pointer}evoke-quantity-stepper .evoke-qty__select:hover:not(:disabled):not(:focus){border-color:var(--evoke-text-muted, #6b6b6b)}evoke-quantity-stepper .evoke-qty__select:focus{outline:none;border-color:var(--evoke-secondary, #0b1560);box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-quantity-stepper .evoke-qty__select:disabled{opacity:0.5;cursor:not-allowed}evoke-quantity-stepper .evoke-qty__chevron{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--evoke-text-muted, #6b6b6b);pointer-events:none}";const m=class{constructor(e){o(this,e),this.evokeChange=t(this,"evokeChange"),this.label="",this.options=[],this.value="",this.name="",this.disabled=!1,this.appearance="classic",this.inline=!1,this.error="",this.uid=Math.random().toString(36).slice(2,9)}render(){const o=this.name||`evoke-radio-${this.uid}`,t=`${o}-label`,i=`${o}-err`,a="segmented"===this.appearance;return e("div",{key:"ddf9183b0a6733b0daf79dcdb5f7dd5525d00a62",class:"evoke-radio",role:"radiogroup","aria-labelledby":this.label?t:void 0,"aria-describedby":this.error?i:void 0},this.label&&e("span",{key:"f80aacb295bedb5d68a51e1005de17d8d845736e",id:t,class:"evoke-radio__label"},this.label),e("div",{key:"44ee0b00ad1970f2b00dcb2789f1418f76833fcd",class:`evoke-radio__options ${this.inline&&!a?"evoke-radio__options--inline":""} ${a?"evoke-radio__options--segmented":""}`.replace(/\s+/g," ").trim()},x(this.options).map((t=>{const i=this.disabled||t.disabled,r=e("input",{type:"radio",class:`${a?"evoke-seg__input":"evoke-radio__input"} ${this.error?"evoke-radio__input--error":""}`.trim(),name:o,value:t.value,checked:t.value===this.value,disabled:i,onChange:()=>{this.value=t.value,this.evokeChange.emit(this.value)}});return a?e("label",{class:("evoke-seg "+(i?"evoke-seg--disabled":"")).trim()},r,e("span",{class:"evoke-seg__text"},t.label)):e("label",{class:("evoke-radio__row "+(i?"evoke-radio__row--disabled":"")).trim()},r,e("span",null,t.label))}))),this.error&&e("span",{key:"b6027efeea9334325c731eb73630c982c1a88ce2",id:i,class:"evoke-radio__error",role:"alert"},this.error))}};m.style="evoke-radio-group{display:block}evoke-radio-group .evoke-radio{display:flex;flex-direction:column;gap:0.5rem;font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);color:var(--evoke-text, #1a1a1a)}evoke-radio-group .evoke-radio__label{font-size:var(--evoke-font-size, 16px)}evoke-radio-group .evoke-radio__options{display:flex;flex-direction:column;gap:0.5rem}evoke-radio-group .evoke-radio__options--inline{flex-direction:row;flex-wrap:wrap;gap:1.25rem}evoke-radio-group .evoke-radio__row{display:inline-flex;align-items:center;gap:0.5rem;cursor:pointer;font-size:0.875rem}evoke-radio-group .evoke-radio__row--disabled{opacity:0.6;cursor:not-allowed}evoke-radio-group .evoke-radio__input{appearance:none;-webkit-appearance:none;margin:0;flex:none;width:16px;height:16px;border:2px solid var(--evoke-primary, #ff5316);border-radius:50%;background:var(--evoke-surface, #ffffff);cursor:inherit;transition:box-shadow 0.15s, filter 0.15s}evoke-radio-group .evoke-radio__input:hover:not(:disabled){filter:brightness(0.92)}evoke-radio-group .evoke-radio__input:checked{background:radial-gradient(circle, var(--evoke-primary, #ff5316) 0 40%, var(--evoke-surface, #ffffff) 45%)}evoke-radio-group .evoke-radio__input:focus-visible{outline:none;box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-radio-group .evoke-radio__input--error{border-color:var(--evoke-danger, #dc2626)}evoke-radio-group .evoke-radio__error{color:var(--evoke-danger, #dc2626);font-size:0.875rem}evoke-radio-group .evoke-radio__options--segmented{flex-direction:row;gap:0;align-self:flex-start;border:1px solid var(--evoke-primary, #ff5316);border-radius:var(--evoke-radius-field, 8px);overflow:hidden}evoke-radio-group .evoke-seg{position:relative;display:inline-flex;cursor:pointer}evoke-radio-group .evoke-seg+.evoke-seg{border-left:1px solid var(--evoke-primary, #ff5316)}evoke-radio-group .evoke-seg--disabled{opacity:0.5;cursor:not-allowed}evoke-radio-group .evoke-seg__input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:inherit}evoke-radio-group .evoke-seg__text{display:inline-flex;align-items:center;justify-content:center;min-height:calc(var(--evoke-control-height, 56px) * 0.75);padding:0 20px;font-size:0.875rem;background:var(--evoke-surface, #ffffff);color:var(--evoke-primary-text, #cc3d0d);transition:background-color 0.15s, filter 0.15s}evoke-radio-group .evoke-seg:hover .evoke-seg__input:not(:disabled):not(:checked)+.evoke-seg__text{background:color-mix(in srgb, var(--evoke-primary, #ff5316) 10%, var(--evoke-surface, #ffffff))}evoke-radio-group .evoke-seg__input:checked+.evoke-seg__text{background:var(--evoke-primary, #ff5316);color:var(--evoke-primary-contrast, #ffffff)}evoke-radio-group .evoke-seg__input:active:not(:disabled)+.evoke-seg__text{filter:brightness(0.85)}evoke-radio-group .evoke-seg__input:focus-visible+.evoke-seg__text{box-shadow:inset 0 0 0 3px var(--evoke-secondary, #0b1560)}evoke-radio-group .evoke-seg__input.evoke-radio__input--error+.evoke-seg__text{color:var(--evoke-danger, #dc2626)}";const y=class{constructor(e){o(this,e),this.evokeChange=t(this,"evokeChange"),this.label="",this.options=[],this.value="",this.placeholder="Select an option",this.multiple=!1,this.searchable=!1,this.disabled=!1,this.error="",this.hint="",this.selectClass="",this.isOpen=!1,this.query="",this.activeIndex=0,this.uid=Math.random().toString(36).slice(2,9),this.focusSearch=!1,this.onKeyDown=e=>{const o=this.filtered,t=e.target===this.triggerEl;switch(e.key){case"ArrowDown":case"ArrowUp":if(e.preventDefault(),!this.isOpen)return this.openPanel();this.activeIndex=Math.min(Math.max(this.activeIndex+("ArrowDown"===e.key?1:-1),0),Math.max(o.length-1,0));break;case"Home":case"End":this.isOpen&&!this.searchable&&(e.preventDefault(),this.activeIndex="Home"===e.key?0:Math.max(o.length-1,0));break;case"Enter":case" ":if(" "===e.key&&!t)return;if(e.preventDefault(),!this.isOpen)return this.openPanel();o[this.activeIndex]&&this.toggle(o[this.activeIndex]);break;case"Escape":this.isOpen&&(e.preventDefault(),this.closePanel());break;case"Tab":this.isOpen&&this.closePanel(!1)}}}get selected(){const e=this.value;if(Array.isArray(e))return e;if(!e)return[];if(this.multiple){if(e.trim().startsWith("["))try{const o=JSON.parse(e);if(Array.isArray(o))return o.map(String)}catch(e){}return e.split(",").map((e=>e.trim())).filter(Boolean)}return[e]}get filtered(){const e=this.query.trim().toLowerCase(),o=x(this.options);return e?o.filter((o=>o.label.toLowerCase().includes(e))):o}onDocClick(e){this.isOpen&&!this.el.contains(e.target)&&this.closePanel(!1)}componentDidRender(){var e;this.isOpen&&(this.focusSearch&&this.searchEl&&(this.focusSearch=!1,this.searchEl.focus()),null===(e=this.el.querySelector(".evoke-select__option--active"))||void 0===e||e.scrollIntoView({block:"nearest"}))}openPanel(){if(this.disabled)return;const e=this.filtered.findIndex((e=>this.selected.includes(e.value)));this.activeIndex=e>=0?e:0,this.isOpen=!0,this.focusSearch=this.searchable}closePanel(e=!0){var o;this.isOpen=!1,this.query="",e&&(null===(o=this.triggerEl)||void 0===o||o.focus())}commit(e){this.value=e,this.evokeChange.emit(e)}toggle(e){if(!e.disabled)if(this.multiple){const o=this.selected;this.commit(o.includes(e.value)?o.filter((o=>o!==e.value)):[...o,e.value])}else this.commit(e.value),this.closePanel()}removeChip(e){this.commit(this.selected.filter((o=>o!==e)))}renderNative(){var o;const t=`evoke-select-${this.uid}`,i=`${t}-msg`,a=null!==(o=this.selected[0])&&void 0!==o?o:"";return e("div",{class:"evoke-field__control"},e("select",{id:t,class:`evoke-field__input evoke-field__select ${""===a?"evoke-field__select--empty":""} ${this.error?"evoke-field__input--error":""} ${this.selectClass}`.replace(/\s+/g," ").trim(),disabled:this.disabled,"aria-invalid":this.error?"true":void 0,"aria-describedby":this.error||this.hint?i:void 0,onChange:e=>this.commit(e.target.value)},e("option",{value:"",disabled:!0,selected:""===a},this.placeholder),x(this.options).map((o=>e("option",{value:o.value,disabled:o.disabled,selected:o.value===a},o.label)))),r("chevron-down","evoke-field__chevron"))}renderCustom(){const o=`evoke-select-${this.uid}-label`,t=`evoke-select-${this.uid}-list`,i=`evoke-select-${this.uid}-msg`,a=x(this.options),s=this.selected,n=this.filtered,v=e=>{var o,t;return null!==(t=null===(o=a.find((o=>o.value===e)))||void 0===o?void 0:o.label)&&void 0!==t?t:e};return e("div",{class:"evoke-field__control",onKeyDown:this.onKeyDown},e("div",{class:`evoke-select__trigger evoke-field__input ${this.error?"evoke-field__input--error":""} ${this.disabled?"evoke-select__trigger--disabled":""}`.trim(),role:"combobox",tabindex:this.disabled?-1:0,"aria-haspopup":"listbox","aria-expanded":this.isOpen?"true":"false","aria-controls":t,"aria-labelledby":this.label?o:void 0,"aria-label":this.label?void 0:this.placeholder,"aria-disabled":this.disabled?"true":void 0,"aria-invalid":this.error?"true":void 0,"aria-describedby":this.error||this.hint?i:void 0,"aria-activedescendant":this.isOpen&&n[this.activeIndex]?`${t}-${this.activeIndex}`:void 0,ref:e=>this.triggerEl=e,onClick:()=>this.isOpen?this.closePanel():this.openPanel()},e("span",{class:"evoke-select__value"},0===s.length&&e("span",{class:"evoke-select__placeholder"},this.placeholder),this.multiple?s.map((o=>e("span",{class:"evoke-select__chip"},v(o),e("button",{type:"button",class:"evoke-select__chip-remove","aria-label":`Remove ${v(o)}`,disabled:this.disabled,onClick:e=>{e.stopPropagation(),this.removeChip(o)}},r("x","evoke-icon"))))):s.length>0&&e("span",null,v(s[0])))),r("chevron-down","evoke-field__chevron"),this.isOpen&&e("div",{class:"evoke-select__panel"},this.searchable&&e("input",{class:"evoke-select__search",type:"text",placeholder:"Search…","aria-label":"Search options","aria-controls":t,"aria-activedescendant":n[this.activeIndex]?`${t}-${this.activeIndex}`:void 0,value:this.query,ref:e=>this.searchEl=e,onInput:e=>{this.query=e.target.value,this.activeIndex=0}}),e("ul",{id:t,class:"evoke-select__list",role:"listbox","aria-multiselectable":this.multiple?"true":void 0,"aria-labelledby":this.label?o:void 0},n.map(((o,i)=>{const a=s.includes(o.value);return e("li",{id:`${t}-${i}`,role:"option","aria-selected":a?"true":"false","aria-disabled":o.disabled?"true":void 0,class:`evoke-select__option ${i===this.activeIndex?"evoke-select__option--active":""} ${a?"evoke-select__option--selected":""} ${o.disabled?"evoke-select__option--disabled":""}`.replace(/\s+/g," ").trim(),onMouseEnter:()=>this.activeIndex=i,onClick:()=>this.toggle(o)},e("span",null,o.label),a&&r("check","evoke-icon"))}))),0===n.length&&e("div",{class:"evoke-select__empty"},"No results")))}render(){const o=`evoke-select-${this.uid}-msg`,t=this.multiple||this.searchable;return e("div",{key:"2bb9566731e91295db3e98b8934acee7d53bc0c7",class:"evoke-field"},this.label&&e("label",{key:"2279b600e0770a516af752c309af43ba6fd28320",id:`evoke-select-${this.uid}-label`,htmlFor:t?void 0:`evoke-select-${this.uid}`,class:"evoke-field__label"},this.label),t?this.renderCustom():this.renderNative(),this.error?e("span",{id:o,class:"evoke-field__error",role:"alert"},this.error):this.hint&&e("span",{id:o,class:"evoke-field__hint"},this.hint))}get el(){return i(this)}};y.style="evoke-select{display:block}evoke-select .evoke-field{display:flex;flex-direction:column;gap:0.5rem;font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);font-size:var(--evoke-font-size, 16px);color:var(--evoke-text, #1a1a1a)}evoke-select .evoke-field__control{position:relative}evoke-select .evoke-field__input{box-sizing:border-box;width:100%;height:var(--evoke-control-height, 56px);padding:0 48px 0 24px;border:1px solid var(--evoke-border, #dedede);border-radius:var(--evoke-radius-field, 8px);background:var(--evoke-surface, #ffffff);color:var(--evoke-text, #1a1a1a);font:inherit;appearance:none;-webkit-appearance:none;cursor:pointer;transition:border-color 0.15s, box-shadow 0.15s}evoke-select .evoke-field__select--empty{color:var(--evoke-text-muted, #6b6b6b)}evoke-select .evoke-field__input:hover:not(:disabled):not(:focus){border-color:var(--evoke-text-muted, #6b6b6b)}evoke-select .evoke-field__input:focus,evoke-select .evoke-select__trigger:focus-visible{outline:none;border-color:var(--evoke-secondary, #0b1560);box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-select .evoke-field__input:disabled,evoke-select .evoke-select__trigger--disabled{opacity:0.6;cursor:not-allowed}evoke-select .evoke-field__input--error{border-color:var(--evoke-danger, #dc2626)}evoke-select .evoke-field__chevron{position:absolute;right:16px;top:calc(var(--evoke-control-height, 56px) / 2);transform:translateY(-50%);width:18px;height:18px;color:var(--evoke-text-muted, #6b6b6b);pointer-events:none}evoke-select .evoke-field__hint{color:var(--evoke-text-muted, #6b6b6b);font-size:0.875rem}evoke-select .evoke-field__error{color:var(--evoke-danger, #dc2626);font-size:0.875rem}evoke-select .evoke-select__trigger{display:flex;align-items:center;height:auto;min-height:var(--evoke-control-height, 56px);padding-top:6px;padding-bottom:6px}evoke-select .evoke-select__value{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}evoke-select .evoke-select__placeholder{color:var(--evoke-text-muted, #6b6b6b)}evoke-select .evoke-select__chip{display:inline-flex;align-items:center;gap:4px;padding:2px 4px 2px 10px;border-radius:9999px;font-size:0.875rem;background:color-mix(in srgb, var(--evoke-primary, #ff5316) 12%, var(--evoke-surface, #ffffff));color:var(--evoke-text, #1a1a1a)}evoke-select .evoke-select__chip-remove{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}evoke-select .evoke-select__chip-remove:hover{background:color-mix(in srgb, var(--evoke-text, #1a1a1a) 12%, transparent)}evoke-select .evoke-select__chip-remove:focus-visible{outline:none;box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-select .evoke-select__chip-remove .evoke-icon{width:12px;height:12px}evoke-select .evoke-select__panel{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 4px);background:var(--evoke-surface, #ffffff);border:1px solid var(--evoke-border, #dedede);border-radius:var(--evoke-radius-field, 8px);box-shadow:var(--evoke-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));max-height:280px;display:flex;flex-direction:column;overflow:hidden}evoke-select .evoke-select__search{box-sizing:border-box;margin:8px;padding:8px 12px;border:1px solid var(--evoke-border, #dedede);border-radius:var(--evoke-radius-field, 8px);font:inherit;color:var(--evoke-text, #1a1a1a);background:var(--evoke-surface, #ffffff)}evoke-select .evoke-select__search:focus{outline:none;border-color:var(--evoke-secondary, #0b1560);box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-select .evoke-select__list{list-style:none;margin:0;padding:4px;overflow:auto}evoke-select .evoke-select__option{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:calc(var(--evoke-radius-field, 8px) - 2px);cursor:pointer}evoke-select .evoke-select__option--active{background:var(--evoke-surface-muted, #f5f5f5)}evoke-select .evoke-select__option--selected{color:var(--evoke-primary-text, #cc3d0d);font-weight:500}evoke-select .evoke-select__option--disabled{opacity:0.5;cursor:not-allowed}evoke-select .evoke-select__option .evoke-icon{width:16px;height:16px;flex:none}evoke-select .evoke-select__empty{padding:12px 16px;color:var(--evoke-text-muted, #6b6b6b)}";const w=class{constructor(e){o(this,e),this.evokeChange=t(this,"evokeChange"),this.checked=!1,this.label="",this.description="",this.disabled=!1,this.uid=Math.random().toString(36).slice(2,9)}render(){const o=`evoke-switch-${this.uid}-desc`;return e("label",{key:"8e3b9741c4e2f7ed93ce7f24893cc2db0d6acf9f",class:("evoke-switch "+(this.disabled?"evoke-switch--disabled":"")).trim()},e("input",{key:"b29122d5f8a0eb572f6f0384d537dc85543ccd66",type:"checkbox",role:"switch",class:"evoke-switch__input",checked:this.checked,disabled:this.disabled,"aria-checked":this.checked?"true":"false","aria-label":this.label?void 0:this.accessibleLabel,"aria-describedby":this.description?o:void 0,onChange:e=>{this.checked=e.target.checked,this.evokeChange.emit(this.checked)}}),e("span",{key:"fbecc8e67a062f7b14f9a035491f6d857ac09f71",class:"evoke-switch__track","aria-hidden":"true"},e("span",{key:"ac6a8575b42fcb8424fee235016e4159ddec4fa9",class:"evoke-switch__thumb"})),(this.label||this.description)&&e("span",{key:"46357674f960e74b0f203d7bb129f605e588bb2e",class:"evoke-switch__text"},this.label&&e("span",{key:"e4f4cee280c46587abe609d3946ed2a7a3b97d41",class:"evoke-switch__label"},this.label),this.description&&e("span",{key:"56cdbf07afaa3c64df0666ccc9d39a736188cd3d",id:o,class:"evoke-switch__desc"},this.description)))}};w.style="evoke-switch{display:inline-block}evoke-switch .evoke-switch{position:relative;display:inline-flex;align-items:flex-start;gap:0.75rem;cursor:pointer;font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);color:var(--evoke-text, #1a1a1a)}evoke-switch .evoke-switch--disabled{opacity:0.6;cursor:not-allowed}evoke-switch .evoke-switch__input{position:absolute;width:44px;height:24px;margin:0;opacity:0;cursor:inherit}evoke-switch .evoke-switch__track{position:relative;flex:none;width:44px;height:24px;border-radius:9999px;background:#767676;transition:background-color 0.15s, box-shadow 0.15s, filter 0.15s}evoke-switch .evoke-switch__thumb{position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0, 0, 0, 0.3);transition:transform 0.15s}evoke-switch .evoke-switch__input:checked+.evoke-switch__track{background:var(--evoke-primary, #ff5316)}evoke-switch .evoke-switch__input:checked+.evoke-switch__track .evoke-switch__thumb{transform:translateX(20px)}evoke-switch .evoke-switch:hover .evoke-switch__input:not(:disabled)+.evoke-switch__track{filter:brightness(0.92)}evoke-switch .evoke-switch__input:active:not(:disabled)+.evoke-switch__track .evoke-switch__thumb{width:24px}evoke-switch .evoke-switch__input:checked:active:not(:disabled)+.evoke-switch__track .evoke-switch__thumb{transform:translateX(16px)}evoke-switch .evoke-switch__input:focus-visible+.evoke-switch__track{box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-switch .evoke-switch__text{display:flex;flex-direction:column;gap:2px}evoke-switch .evoke-switch__label{font-size:var(--evoke-font-size, 16px);line-height:24px}evoke-switch .evoke-switch__desc{font-size:0.875rem;color:var(--evoke-text-muted, #6b6b6b)}@media (prefers-reduced-motion: reduce){evoke-switch .evoke-switch__thumb,evoke-switch .evoke-switch__track{transition:none}}";const $=class{constructor(e){o(this,e),this.evokeSort=t(this,"evokeSort"),this.columns=[],this.rows=[],this.striped=!1,this.sortable=!1,this.caption="",this.emptyText="No data",this.sortKey="",this.sortDir="asc"}parse(e){if(Array.isArray(e))return e;try{const o=JSON.parse(e);return Array.isArray(o)?o:[]}catch(e){return[]}}toggleSort(e){this.sortDir=this.sortKey===e&&"asc"===this.sortDir?"desc":"asc",this.sortKey=e,this.evokeSort.emit({key:e,direction:this.sortDir})}render(){const o=this.parse(this.columns),t=o.some((e=>e.sortable)),i=e=>this.sortable&&(!t||!!e.sortable);let a=[...this.parse(this.rows)];if(this.sortKey){const e=this.sortKey,o="asc"===this.sortDir?1:-1;a.sort(((t,i)=>{const a=t[e],r=i[e];return null==a?1:null==r?-1:("number"==typeof a&&"number"==typeof r?a-r:String(a).localeCompare(String(r),void 0,{numeric:!0}))*o}))}return e("div",{class:"evoke-table__wrap"},e("table",{class:("evoke-table "+(this.striped?"evoke-table--striped":"")).trim()},this.caption&&e("caption",{class:"evoke-table__caption"},this.caption),e("thead",null,e("tr",null,o.map((o=>{var t;const a=this.sortKey===o.key;return e("th",{scope:"col",class:`evoke-table__th evoke-table__cell--${null!==(t=o.align)&&void 0!==t?t:"left"}`,"aria-sort":i(o)?a?"asc"===this.sortDir?"ascending":"descending":"none":void 0},i(o)?e("button",{type:"button",class:"evoke-table__sort",onClick:()=>this.toggleSort(o.key)},o.label,r(a?"asc"===this.sortDir?"arrow-up":"arrow-down":"sort",("evoke-table__sort-icon "+(a?"evoke-table__sort-icon--active":"")).trim())):o.label)})))),e("tbody",null,0===a.length?e("tr",null,e("td",{class:"evoke-table__empty",colSpan:Math.max(o.length,1)},this.emptyText)):a.map((t=>e("tr",{class:"evoke-table__row"},o.map((o=>{var i;return e("td",{class:`evoke-table__td evoke-table__cell--${null!==(i=o.align)&&void 0!==i?i:"left"}`},null==t[o.key]?"":String(t[o.key]))}))))))))}};$.style="evoke-table{display:block}evoke-table .evoke-table__wrap{overflow-x:auto;border:1px solid var(--evoke-border, #dedede);border-radius:var(--evoke-radius, 8px)}evoke-table .evoke-table{width:100%;border-collapse:collapse;font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);font-size:0.9375rem;color:var(--evoke-text, #1a1a1a);background:var(--evoke-surface, #ffffff)}evoke-table .evoke-table__caption{padding:12px 16px;text-align:left;color:var(--evoke-text-muted, #6b6b6b)}evoke-table .evoke-table__th{padding:12px 16px;font-weight:600;background:var(--evoke-surface-muted, #f5f5f5);border-bottom:1px solid var(--evoke-border, #dedede);white-space:nowrap}evoke-table .evoke-table__td{padding:12px 16px;border-bottom:1px solid var(--evoke-border, #dedede)}evoke-table tbody tr:last-child .evoke-table__td{border-bottom:0}evoke-table .evoke-table__cell--left{text-align:left}evoke-table .evoke-table__cell--center{text-align:center}evoke-table .evoke-table__cell--right{text-align:right}evoke-table .evoke-table--striped .evoke-table__row:nth-child(even){background:var(--evoke-surface-muted, #f5f5f5)}evoke-table .evoke-table__row:hover{background:color-mix(in srgb, var(--evoke-primary, #ff5316) 6%, var(--evoke-surface, #ffffff))}evoke-table .evoke-table--striped .evoke-table__row:nth-child(even):hover{background:color-mix(in srgb, var(--evoke-primary, #ff5316) 8%, var(--evoke-surface-muted, #f5f5f5))}evoke-table .evoke-table__empty{padding:24px 16px;text-align:center;color:var(--evoke-text-muted, #6b6b6b)}evoke-table .evoke-table__sort{display:inline-flex;align-items:center;gap:6px;padding:2px 4px;margin:-2px -4px;font:inherit;font-weight:inherit;color:inherit;background:none;border:0;border-radius:4px;cursor:pointer}evoke-table .evoke-table__sort:hover{color:var(--evoke-primary-text, #cc3d0d)}evoke-table .evoke-table__sort:active{background:color-mix(in srgb, var(--evoke-text, #1a1a1a) 10%, transparent)}evoke-table .evoke-table__sort:focus-visible{outline:none;box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-table .evoke-table__sort-icon{width:14px;height:14px;color:var(--evoke-text-muted, #6b6b6b)}evoke-table .evoke-table__sort-icon--active{color:var(--evoke-primary, #ff5316)}";const M=class{constructor(e){o(this,e),this.evokeChange=t(this,"evokeChange"),this.options=[],this.value="",this.appearance="underline",this.label="",this.uid=Math.random().toString(36).slice(2,9),this.onKeyDown=e=>{if(!["ArrowRight","ArrowLeft","Home","End"].includes(e.key))return;const o=this.tabs,t=o.map(((e,o)=>e.disabled?-1:o)).filter((e=>e>=0));if(0===t.length)return;e.preventDefault();const i=o.findIndex((e=>e.value===this.activeValue)),a=t.indexOf(i);let r=t[0];"ArrowRight"===e.key?r=t[(a+1)%t.length]:"ArrowLeft"===e.key?r=t[(a-1+t.length)%t.length]:"End"===e.key&&(r=t[t.length-1]);const s=this.el.querySelectorAll('[role="tab"]')[r];null==s||s.focus(),this.select(o[r].value)}}get tabs(){return x(this.options)}get activeValue(){var e,o;const t=this.tabs;return t.some((e=>e.value===this.value&&!e.disabled))?this.value:null!==(o=null===(e=t.find((e=>!e.disabled)))||void 0===e?void 0:e.value)&&void 0!==o?o:""}select(e){e!==this.value&&(this.value=e,this.evokeChange.emit(e))}render(){const o=this.activeValue;return e("div",{key:"0eb147989be035ae85cc6778f7c5205ff450bbf0",class:`evoke-tabs evoke-tabs--${this.appearance}`},e("div",{key:"2bed606eed52a8186fc6fdca50c179555a57de8c",class:"evoke-tabs__list",role:"tablist","aria-label":this.label||void 0,onKeyDown:this.onKeyDown},this.tabs.map((t=>{const i=t.value===o;return e("button",{type:"button",role:"tab",id:`evoke-tab-${this.uid}-${t.value}`,class:("evoke-tabs__tab "+(i?"evoke-tabs__tab--active":"")).trim(),"aria-selected":i?"true":"false","aria-controls":`evoke-panel-${this.uid}`,tabindex:i?0:-1,disabled:t.disabled,onClick:()=>this.select(t.value)},t.label)}))),e("div",{key:"b80df36c152b9b189e359a1d59106eb9372d1d62",class:"evoke-tabs__panel",role:"tabpanel",id:`evoke-panel-${this.uid}`,"aria-labelledby":o?`evoke-tab-${this.uid}-${o}`:void 0,tabindex:0},e("slot",{key:"df28c424c9fd41a51f6068d04cf1f71605207d9d"})))}get el(){return i(this)}};M.style="evoke-tabs{display:block;min-width:0;max-width:100%}evoke-tabs .evoke-tabs{font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);color:var(--evoke-text, #1a1a1a)}evoke-tabs .evoke-tabs__list{display:flex;gap:4px;overflow-x:auto}evoke-tabs .evoke-tabs__tab{flex:none;font:inherit;font-size:1rem;padding:12px 20px;background:transparent;border:0;color:var(--evoke-text-muted, #6b6b6b);cursor:pointer;transition:color 0.15s, background-color 0.15s, filter 0.15s}evoke-tabs .evoke-tabs__tab:hover:not(:disabled):not(.evoke-tabs__tab--active){color:var(--evoke-text, #1a1a1a)}evoke-tabs .evoke-tabs__tab:disabled{opacity:0.5;cursor:not-allowed}evoke-tabs .evoke-tabs__tab:focus-visible{outline:none;box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-tabs .evoke-tabs--underline .evoke-tabs__list{border-bottom:1px solid var(--evoke-border, #dedede);gap:0}evoke-tabs .evoke-tabs--underline .evoke-tabs__tab{border-bottom:2px solid transparent;margin-bottom:-1px}evoke-tabs .evoke-tabs--underline .evoke-tabs__tab:hover:not(:disabled):not(.evoke-tabs__tab--active){border-bottom-color:var(--evoke-border, #dedede)}evoke-tabs .evoke-tabs--underline .evoke-tabs__tab--active{color:var(--evoke-primary-text, #cc3d0d);border-bottom-color:var(--evoke-primary, #ff5316);font-weight:500}evoke-tabs .evoke-tabs--underline .evoke-tabs__tab:active:not(:disabled){background:var(--evoke-surface-muted, #f5f5f5)}evoke-tabs .evoke-tabs--pill .evoke-tabs__tab{border-radius:var(--evoke-radius-button, 9999px);padding:8px 20px}evoke-tabs .evoke-tabs--pill .evoke-tabs__tab:hover:not(:disabled):not(.evoke-tabs__tab--active){background:var(--evoke-surface-muted, #f5f5f5)}evoke-tabs .evoke-tabs--pill .evoke-tabs__tab--active{background:var(--evoke-primary, #ff5316);color:var(--evoke-primary-contrast, #ffffff)}evoke-tabs .evoke-tabs--pill .evoke-tabs__tab:active:not(:disabled){filter:brightness(0.85)}evoke-tabs .evoke-tabs__panel{padding:16px 0}evoke-tabs .evoke-tabs__panel:focus-visible{outline:none;box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15));border-radius:var(--evoke-radius-field, 8px)}";const z=class{constructor(e){o(this,e),this.evokeInput=t(this,"evokeInput"),this.evokeChange=t(this,"evokeChange"),this.label="",this.value="",this.name="",this.placeholder="",this.rows=4,this.autoGrow=!1,this.disabled=!1,this.required=!1,this.error="",this.hint="",this.textareaClass="",this.uid=Math.random().toString(36).slice(2,9)}componentDidRender(){this.resize()}resize(){this.autoGrow&&this.el&&(this.el.style.height="auto",this.el.style.height=`${this.el.scrollHeight}px`)}render(){var o;const t=`evoke-textarea-${this.uid}`,i=`${t}-msg`,a=(null!==(o=this.value)&&void 0!==o?o:"").length,r="number"==typeof this.maxLength&&this.maxLength>0;return e("div",{key:"5d950d88f2b9e191fd4a29e4eada4c5e4d8c779d",class:"evoke-field"},this.label&&e("label",{key:"46fee07268bedd23742d8d91018dfd47c93bd58b",htmlFor:t,class:"evoke-field__label"},this.label,this.required&&e("span",{key:"45af0e76daa25a15e0583777f5217757074c8d78","aria-hidden":"true"}," *")),e("textarea",{key:"917c3b5749cd5b75133bb2b71a90e036b3f4eef9",id:t,class:`evoke-field__input evoke-field__textarea ${this.autoGrow?"evoke-field__textarea--auto":""} ${this.error?"evoke-field__input--error":""} ${this.textareaClass}`.replace(/\s+/g," ").trim(),name:this.name||void 0,rows:this.rows,maxLength:r?this.maxLength:void 0,placeholder:this.placeholder,disabled:this.disabled,required:this.required,value:this.value,"aria-invalid":this.error?"true":void 0,"aria-describedby":this.error||this.hint?i:void 0,ref:e=>this.el=e,onInput:e=>{this.value=e.target.value,this.resize(),this.evokeInput.emit(this.value)},onChange:e=>this.evokeChange.emit(e.target.value)}),e("div",{key:"95530cc625c4500a7042adda05c105f03054d4f9",class:"evoke-field__footer"},this.error?e("span",{id:i,class:"evoke-field__error",role:"alert"},this.error):e("span",{id:i,class:"evoke-field__hint"},this.hint),r&&e("span",{key:"3f3fb731453b76cd7d2b0fa2f6ce334ca0bfd554",class:("evoke-field__counter "+(a>=this.maxLength?"evoke-field__counter--full":"")).trim(),"aria-live":"polite"},a," / ",this.maxLength)))}};z.style="evoke-textarea{display:block}evoke-textarea .evoke-field{display:flex;flex-direction:column;gap:0.5rem;font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);font-size:var(--evoke-font-size, 16px);color:var(--evoke-text, #1a1a1a)}evoke-textarea .evoke-field__input{box-sizing:border-box;width:100%;padding:14px 24px;border:1px solid var(--evoke-border, #dedede);border-radius:var(--evoke-radius-field, 8px);background:var(--evoke-surface, #ffffff);color:var(--evoke-text, #1a1a1a);font:inherit;line-height:1.5;resize:vertical;transition:border-color 0.15s, box-shadow 0.15s}evoke-textarea .evoke-field__textarea--auto{resize:none;overflow:hidden}evoke-textarea .evoke-field__input::placeholder{color:var(--evoke-text-muted, #6b6b6b)}evoke-textarea .evoke-field__input:hover:not(:disabled):not(:focus){border-color:var(--evoke-text-muted, #6b6b6b)}evoke-textarea .evoke-field__input:focus{outline:none;border-color:var(--evoke-secondary, #0b1560);box-shadow:var(--evoke-focus-ring, 0 0 0 3px rgba(11, 21, 96, 0.15))}evoke-textarea .evoke-field__input:disabled{opacity:0.6;cursor:not-allowed}evoke-textarea .evoke-field__input--error{border-color:var(--evoke-danger, #dc2626)}evoke-textarea .evoke-field__footer{display:flex;justify-content:space-between;gap:1rem;font-size:0.875rem}evoke-textarea .evoke-field__footer:empty{display:none}evoke-textarea .evoke-field__hint{color:var(--evoke-text-muted, #6b6b6b)}evoke-textarea .evoke-field__error{color:var(--evoke-danger, #dc2626)}evoke-textarea .evoke-field__counter{margin-left:auto;color:var(--evoke-text-muted, #6b6b6b)}evoke-textarea .evoke-field__counter--full{color:var(--evoke-danger, #dc2626)}";const C={info:"info",success:"check",warning:"alert",danger:"alert"},S=class{constructor(e){o(this,e),this.evokeAction=t(this,"evokeAction"),this.evokeClose=t(this,"evokeClose"),this.open=!1,this.message="",this.type="info",this.action="",this.duration=4e3,this.position="bottom"}onOpen(e){this.clearTimer(),e&&this.startTimer()}componentDidLoad(){this.open&&this.startTimer()}disconnectedCallback(){this.clearTimer()}startTimer(){this.duration>0&&(this.timer=setTimeout((()=>this.close()),this.duration))}clearTimer(){this.timer&&clearTimeout(this.timer),this.timer=void 0}close(){this.clearTimer(),this.open=!1,this.evokeClose.emit()}render(){if(!this.open)return null;const o="danger"===this.type||"warning"===this.type;return e("div",{class:`evoke-toast evoke-toast--${this.position} evoke-toast--${this.type}`,role:o?"alert":"status","aria-live":o?"assertive":"polite",onMouseEnter:()=>this.clearTimer(),onMouseLeave:()=>this.open&&this.startTimer()},r(C[this.type],"evoke-toast__icon"),e("span",{class:"evoke-toast__message"},this.message,e("slot",null)),this.action&&e("button",{type:"button",class:"evoke-toast__action",onClick:()=>{this.evokeAction.emit(),this.close()}},this.action),e("button",{type:"button",class:"evoke-toast__close","aria-label":"Dismiss",onClick:()=>this.close()},r("x","evoke-icon")))}static get watchers(){return{open:[{onOpen:0}]}}};S.style="evoke-toast .evoke-toast{position:fixed;left:50%;z-index:1100;box-sizing:border-box;display:flex;align-items:center;gap:12px;width:max-content;max-width:min(92vw, 480px);padding:12px 12px 12px 16px;border-radius:var(--evoke-radius, 8px);background:var(--evoke-text, #1a1a1a);color:var(--evoke-surface, #ffffff);font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);font-size:0.9375rem;box-shadow:var(--evoke-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));transform:translateX(-50%);animation:evoke-toast-in 0.2s ease-out}evoke-toast .evoke-toast--bottom{bottom:24px}evoke-toast .evoke-toast--top{top:24px}evoke-toast .evoke-toast--success .evoke-toast__icon{color:#4ade80}evoke-toast .evoke-toast--danger .evoke-toast__icon{color:#f87171}evoke-toast .evoke-toast--warning .evoke-toast__icon{color:#fbbf24}evoke-toast .evoke-toast--info .evoke-toast__icon{color:#67e8f9}evoke-toast .evoke-toast__icon{flex:none;width:20px;height:20px}evoke-toast .evoke-toast__message{flex:1;min-width:0}evoke-toast .evoke-toast__action{flex:none;padding:6px 12px;font:inherit;font-weight:600;background:transparent;color:#ffb199;border:0;border-radius:var(--evoke-radius-field, 8px);cursor:pointer}evoke-toast .evoke-toast__action:hover{background:rgba(255, 255, 255, 0.12)}evoke-toast .evoke-toast__action:active{background:rgba(255, 255, 255, 0.2)}evoke-toast .evoke-toast__close{flex:none;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer}evoke-toast .evoke-toast__close:hover{background:rgba(255, 255, 255, 0.12)}evoke-toast .evoke-toast__action:focus-visible,evoke-toast .evoke-toast__close:focus-visible{outline:2px solid var(--evoke-surface, #ffffff);outline-offset:1px}evoke-toast .evoke-toast__close .evoke-icon{width:16px;height:16px}@keyframes evoke-toast-in{from{opacity:0;transform:translate(-50%, 8px)}to{opacity:1;transform:translate(-50%, 0)}}@media (prefers-reduced-motion: reduce){evoke-toast .evoke-toast{animation:none}}";const q=class{constructor(e){o(this,e),this.text="",this.placement="top",this.theme="dark",this.visible=!1,this.id=`evoke-tip-${Math.random().toString(36).slice(2,9)}`,this.show=()=>this.visible=!0,this.hide=()=>this.visible=!1}componentDidLoad(){this.link(),this.observer=new MutationObserver((()=>this.link())),this.observer.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}link(){this.el.querySelectorAll("button, a[href], input, select, textarea, [tabindex]").forEach((e=>{var o;if(e.closest(".evoke-tooltip__bubble"))return;const t=(null!==(o=e.getAttribute("aria-describedby"))&&void 0!==o?o:"").split(" ").filter(Boolean);t.includes(this.id)||e.setAttribute("aria-describedby",[...t,this.id].join(" "))}))}render(){return e("span",{key:"4fad6f7ab25d2d68bb6db42a02f16b36439ec504",class:"evoke-tooltip",onMouseEnter:this.show,onMouseLeave:this.hide,onFocusin:this.show,onFocusout:this.hide,onKeyDown:e=>"Escape"===e.key&&this.hide()},e("slot",{key:"b1169b0a9870c3420c581d095eb0c15073df55df"}),e("span",{key:"4ee1f48be749e54c93dc7fd555f8021079d68038",id:this.id,role:"tooltip",class:`evoke-tooltip__bubble evoke-tooltip__bubble--${this.placement} evoke-tooltip__bubble--${this.theme} ${this.visible?"evoke-tooltip__bubble--visible":""}`.trim()},this.text))}get el(){return i(this)}};q.style="evoke-tooltip{display:inline-block}evoke-tooltip .evoke-tooltip{position:relative;display:inline-flex}evoke-tooltip .evoke-tooltip__bubble{--_bg:var(--evoke-text, #1a1a1a);--_fg:var(--evoke-surface, #ffffff);position:absolute;z-index:30;box-sizing:border-box;width:max-content;max-width:240px;padding:6px 10px;border-radius:calc(var(--evoke-radius-field, 8px) - 2px);background:var(--_bg);color:var(--_fg);font-family:var(--evoke-font, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);font-size:0.875rem;line-height:1.4;pointer-events:none;opacity:0;visibility:hidden;transition:opacity 0.12s, visibility 0.12s}evoke-tooltip .evoke-tooltip__bubble--visible{opacity:1;visibility:visible}evoke-tooltip .evoke-tooltip__bubble--light{--_bg:var(--evoke-surface, #ffffff);--_fg:var(--evoke-text, #1a1a1a);border:1px solid var(--evoke-border, #dedede);box-shadow:var(--evoke-shadow, 0 4px 12px rgba(0, 0, 0, 0.12))}evoke-tooltip .evoke-tooltip__bubble--top{bottom:calc(100% + 8px);left:50%;transform:translateX(-50%)}evoke-tooltip .evoke-tooltip__bubble--bottom{top:calc(100% + 8px);left:50%;transform:translateX(-50%)}evoke-tooltip .evoke-tooltip__bubble--left{right:calc(100% + 8px);top:50%;transform:translateY(-50%)}evoke-tooltip .evoke-tooltip__bubble--right{left:calc(100% + 8px);top:50%;transform:translateY(-50%)}evoke-tooltip .evoke-tooltip__bubble--light::after{content:'';position:absolute;width:8px;height:8px;background:var(--_bg);border:1px solid var(--evoke-border, #dedede);transform:rotate(45deg)}evoke-tooltip .evoke-tooltip__bubble--light.evoke-tooltip__bubble--top::after{bottom:-5px;left:calc(50% - 4px);border-top:0;border-left:0}evoke-tooltip .evoke-tooltip__bubble--light.evoke-tooltip__bubble--bottom::after{top:-5px;left:calc(50% - 4px);border-bottom:0;border-right:0}evoke-tooltip .evoke-tooltip__bubble--light.evoke-tooltip__bubble--left::after{right:-5px;top:calc(50% - 4px);border-bottom:0;border-left:0}evoke-tooltip .evoke-tooltip__bubble--light.evoke-tooltip__bubble--right::after{left:-5px;top:calc(50% - 4px);border-top:0;border-right:0}@media (prefers-reduced-motion: reduce){evoke-tooltip .evoke-tooltip__bubble{transition:none}}";export{n as evoke_alert,v as evoke_app_bar,d as evoke_badge,l as evoke_button,c as evoke_card,k as evoke_checkbox,h as evoke_chip,b as evoke_input,p as evoke_modal,f as evoke_pagination,_ as evoke_progress,g as evoke_quantity_stepper,m as evoke_radio_group,y as evoke_select,w as evoke_switch,$ as evoke_table,M as evoke_tabs,z as evoke_textarea,S as evoke_toast,q as evoke_tooltip}
@@ -0,0 +1,3 @@
1
+ function t(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var n=(n,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=n[o],s=t(Object.getPrototypeOf(n),o,!0)||Object.getOwnPropertyDescriptor(n,o);s&&Object.defineProperty(n,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),e.l.has(o)?n[o]=e.l.get(o):void 0!==l&&(n[o]=l)}}))},e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},o=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.i=t,512&e.o.u&&n(t,e))},l=(t,n)=>n in t,s=(t,n)=>(0,console.error)(t,n),i=new Map,r=new Map,c=new Map,u="slot-fb{display:contents}slot-fb[hidden]{display:none}",f="http://www.w3.org/1999/xlink",a="undefined"!=typeof window?window:{},d={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},p=t=>Promise.resolve(t),h=(()=>{try{return!!a.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),v=!!h&&(()=>!!a.document&&Object.getOwnPropertyDescriptor(a.document.adoptedStyleSheets,"length").writable)(),m=!1,y=[],b=[],$=()=>{var t;return(null==(t=a.document)?void 0:t.hidden)?setTimeout(j,16):d.raf(j)},w=(t,n)=>e=>{t.push(e),m||(m=!0,n&&4&d.u?O(j):$())},g=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){s(t)}t.length=0},j=()=>{g(y),g(b),(m=y.length>0)&&$()},O=t=>p().then(t),S=w(b,!0),k=t=>{const n=T(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&N(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!C(t,M(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&T(t,"childNodes").length&&k(t)}};function N(t,n,e){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||M(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,...N(T(o,"childNodes"),n,e)]}return s}var C=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)M(l)!==n||!e&&l["s-sr"]||o.push(l);return o},E=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,M=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function T(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function L(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var R,x,A=new WeakMap,F=t=>"sc-"+t.h,D=t=>"object"==(t=typeof t)||"function"===t,P=(t,n,...e)=>{let o=null,l=null,i=null,r=!1,c=!1;const u=[],f=n=>{for(let e=0;e<n.length;e++)if(o=n[e],Array.isArray(o))f(o);else if(null!=o&&"boolean"!=typeof o){if(r="function"!=typeof t&&!D(o))o+="";else if("function"!=typeof t&&void 0===o.u){s("Invalid vNode child");continue}r&&c?u[u.length-1].v+=o:u.push(r?H(null,o):o),c=r}};if(f(e),n){n.key&&(l=n.key),n.name&&(i=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}const a=H(t,null);return a.m=n,u.length>0&&(a.$=u),a.j=l,a.O=i,a},H=(t,n)=>({u:0,S:t,v:null!=n?n:null,k:null,$:null,m:null,j:null,O:null}),_={},B=t=>{if(!t)return;const n=Object.keys(t);if(0===n.length)return;let e=!1;for(const o of n){if(e)break;for(const n of t[o])if("string"==typeof n){e=!0;break}}if(!e)return t;const o={};for(const e of n)o[e]=t[e].map((t=>"string"==typeof t?{[t]:0}:t));return o},U=(t,n)=>null==t||D(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,W=t=>{var n;return null==(n=e(t))?void 0:n.$hostElement$},z=(t,n)=>{const e=W(t);return{emit:t=>V(e,n,{bubbles:!0,composed:!0,cancelable:!0,detail:t})}},V=(t,n,e)=>{const o=d.ce(n,e);return t.dispatchEvent(o),o},q=(t,n,o,s,i,r)=>{if(o===s)return;let c=l(t,n),u=n.toLowerCase();if("class"===n){const n=t.classList,e=Z(o);let l=Z(s);{let t=e.filter((t=>t&&!l.includes(t)));n.remove(...t),n.add(...l.filter((t=>t&&!e.includes(t))))}}else if("style"===n){for(const n in o)s&&null!=s[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if("key"===n);else if("ref"===n)s&&yt(s,t);else if(c||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let l;{const n=e(t);if(n&&n.o&&n.o.t){const t=n.o.t[o];t&&t[1]&&(l=t[1])}}return l||(l=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===s?"":s))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}{const e=D(s);if((c||e&&null!==s)&&!i)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?c=!1:null!=o&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}let l=!1;u!==(u=u.replace(/^xlink\:?/,""))&&(n=u,l=!0),null==s||!1===s?(!1!==s||""===t.getAttribute(n)||4&r&&!Y(n))&&(l?t.removeAttributeNS(f,n):t.removeAttribute(n)):(!c||4&r||i)&&!e&&1===t.nodeType&&(s=!0===s?"":s,l?t.setAttributeNS(f,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):l(a,u)?u.slice(2):u[2]+n.slice(3),o||s){const e=n.endsWith(J);n=n.replace(K,""),o&&d.rel(t,n,o,e),s&&d.ael(t,n,s,e)}},I=new Set(["draggable","contenteditable","spellcheck"]),Y=t=>I.has(t)||t.startsWith("aria-"),G=/\s/,Z=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(G):[]),J="Capture",K=RegExp(J+"$"),Q=(t,n,e)=>{const o=11===n.k.nodeType&&n.k.host?n.k.host:n.k,l=t&&t.m||{},s=n.m||{};for(const t of X(Object.keys(l)))t in s||q(o,t,l[t],void 0,e,n.u);for(const t of X(Object.keys(s)))q(o,t,l[t],s[t],e,n.u)};function X(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var tt=!1,nt=!1,et=!1,ot=!1,lt=[],st=[],it=(t,n,e)=>{var o;const l=n.$[e];let s,i,r,c=0;if(tt||(et=!0,"slot"===l.S&&(l.u|=l.$?2:1)),null!=l.v)s=l.k=a.document.createTextNode(l.v);else if(1&l.u)s=l.k=a.document.createTextNode(""),Q(null,l,ot);else{if(ot||(ot="svg"===l.S),!a.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.k=a.document.createElementNS(ot?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!tt&&2&l.u?"slot-fb":l.S),ot&&"foreignObject"===l.S&&(ot=!1),Q(null,l,ot),l.$){const n="template"===l.S?s.content:s;for(c=0;c<l.$.length;++c)i=it(t,l,c),i&&n.appendChild(i)}"svg"===l.S?ot=!1:"foreignObject"===s.tagName&&(ot=!0)}return s["s-hn"]=x,3&l.u&&(s["s-sr"]=!0,s["s-cr"]=R,s["s-sn"]=l.O||"",s["s-rf"]=null==(o=l.m)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===M(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(s),r=t&&t.$&&t.$[e],r&&r.S===l.S&&t.k&&rt(t.k)),s},rt=t=>{d.u|=1;const n=t.closest(x.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(bt(n,t,null!=e?e:null),t["s-sh"]=void 0,et=!0)}d.u&=-2},ct=(t,n)=>{d.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===x&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==x&&o["s-ol"]&&(bt(dt(o).parentNode,o,dt(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,et=!0),n&&ct(o,n)}d.u&=-2},ut=(t,n,e,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.S&&(r=r.content);l<=s;++l)o[l]&&(i=it(null,e,l),i&&(o[l].k=i,bt(r,i,dt(n))))},ft=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.k;mt(n),t&&(nt=!0,t["s-ol"]?t["s-ol"].remove():ct(t,!0),t.remove())}}},at=(t,n,e=!1)=>t.S===n.S&&("slot"===t.S?t.O===n.O:e?(e&&!t.j&&n.j&&(t.j=n.j),!0):t.j===n.j),dt=t=>t&&t["s-ol"]||t,pt=(t,n,e=!1)=>{const o=n.k=t.k,l=t.$,s=n.$,i=n.S,r=n.v;let c;null==r?(ot="svg"===i||"foreignObject"!==i&&ot,"slot"!==i||tt||t.O!==n.O&&(n.k["s-sn"]=n.O||"",rt(n.k.parentElement)),Q(t,n,ot),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],h=o.length-1,v=o[0],m=o[h];const y="template"===e.S?t.content:t;for(;r<=a&&c<=h;)if(null==d)d=n[++r];else if(null==p)p=n[--a];else if(null==v)v=o[++c];else if(null==m)m=o[--h];else if(at(d,v,l))pt(d,v,l),d=n[++r],v=o[++c];else if(at(p,m,l))pt(p,m,l),p=n[--a],m=o[--h];else if(at(d,m,l))"slot"!==d.S&&"slot"!==m.S||ct(d.k.parentNode,!1),pt(d,m,l),bt(y,d.k,p.k.nextSibling),d=n[++r],m=o[--h];else if(at(p,v,l))"slot"!==d.S&&"slot"!==m.S||ct(p.k.parentNode,!1),pt(p,v,l),bt(y,p.k,d.k),p=n[--a],v=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].j&&n[f].j===v.j){u=f;break}u>=0?(i=n[u],i.S!==v.S?s=it(n&&n[c],e,c):(pt(i,v,l),n[u]=void 0,s=i.k),v=o[++c]):(s=it(n&&n[c],e,c),v=o[++c]),s&&bt(dt(d.k).parentNode,s,dt(d.k))}r>a?ut(t,null==o[h+1]?null:o[h+1].k,e,o,c,h):c>h&&ft(n,r,a)})(o,l,n,s,e):null!==s?(null!==t.v&&(o.textContent=""),ut(o,null,n,s,0,s.length-1)):!e&&null!==l&&ft(l,0,l.length-1),ot&&"svg"===i&&(ot=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.v!==r&&(o.data=r)},ht=[],vt=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]&&(!n["s-sh"]||n["s-sh"]!==t["s-hn"]||""!==l&&M(n)===l))if(E(n,l)){let e=ht.find((t=>t.N===n));nt=!0,n["s-sn"]=n["s-sn"]||l,e?(e.N["s-sh"]=t["s-hn"],e.C=t):(n["s-sh"]=t["s-hn"],ht.push({C:t,N:n})),n["s-sr"]&&ht.map((t=>{E(t.N,n["s-sn"])&&(e=ht.find((t=>t.N===n)),e&&!t.C&&(t.C=e.C))}))}else ht.some((t=>t.N===n))||ht.push({N:n})}1===t.nodeType&&vt(t)}},mt=t=>{t.m&&t.m.ref&&lt.push((()=>t.m.ref(null))),t.$&&t.$.map(mt)},yt=(t,n)=>{st.push((()=>t(n)))},bt=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=M(t)||"";return{slotNode:N(T(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(l),n}return(null==t?void 0:t.__insertBefore)?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},$t=(t,n)=>{if(n&&!t.M&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.M=()=>{n["s-p"].splice(e-1,1),o()})))}},wt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);$t(t,t.T);const e=()=>gt(t,n);if(!n)return S(e);queueMicrotask((()=>{e()}))},gt=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return n?(t.L&&(t.L=!1,Et(o,"connectedCallback",void 0,e)),t.u|=256,t.R&&(t.R.map((([t,n])=>Et(o,t,n,e))),t.R=void 0),t.A.length&&t.A.forEach((t=>t(e))),l=Et(o,"componentWillLoad",void 0,e)):l=Et(o,"componentWillUpdate",void 0,e),l=jt(l,(()=>Et(o,"componentWillRender",void 0,e))),jt(l,(()=>St(t,o,n)))},jt=(t,n)=>Ot(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),Ot=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,St=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];e&&(t=>{const n=t.o;((t,n)=>{var e,o,l;const s=F(n),i=c.get(s);if(!a.document)return s;if(t=11===t.nodeType?t:a.document,i)if("string"==typeof i){let l,r=A.get(t=t.head||t);if(r||A.set(t,r=new Set),!r.has(s)){l=a.document.createElement("style"),l.textContent=i;const c=null!=(e=d.F)?e:L(a.document);if(null!=c&&l.setAttribute("nonce",c),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(h){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(i),v?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=i+n.textContent:t.prepend(l)}else t.append(l);1&n.u&&t.insertBefore(l,null),4&n.u&&(l.textContent+=u),r&&r.add(s)}}else{let n=A.get(t);if(n||A.set(t,n=new Set),!n.has(s)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(i.constructor===e.CSSStyleSheet)o=i;else{o=new e.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}v?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(s)}}})(t.$hostElement$.getRootNode(),n)})(t);kt(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>Nt(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},kt=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,l,s,i,r;const c=t.$hostElement$,u=t.o,f=t.D||H(null,null),p=(t=>t&&t.S===_)(n)?n:P(null,null,n);if(x=c.tagName,u.P&&(p.m=p.m||{},u.P.forEach((([t,n])=>{p.m[n]=c[t]}))),e&&p.m)for(const t of Object.keys(p.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(p.m[t]=c[t]);if(p.S=null,p.u|=4,t.D=p,p.k=f.k=c,tt=!1,R=c["s-cr"],nt=!1,pt(f,p,e),d.u|=1,et){vt(p.k);for(const t of ht){const n=t.N;if(!n["s-ol"]&&a.document){const t=a.document.createTextNode("");t["s-nr"]=n,bt(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of ht){const n=t.N,r=t.C;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(bt(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=a.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,bt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(nt&&k(p.k),d.u&=-2,ht.length=0,!tt&&!(1&u.u)&&c["s-cr"]){const t=p.k.__childNodes||p.k.childNodes;for(const n of t)if(n["s-hn"]!==x&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=a.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],bt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}R=void 0,lt.forEach((t=>t())),lt.length=0,st.forEach((t=>t())),st.length=0})(t,n,o)}catch(n){s(n,t.$hostElement$)}return null},Nt=t=>{const n=t.$hostElement$,e=t.i,o=t.T;Et(e,"componentDidRender",void 0,n),64&t.u?Et(e,"componentDidUpdate",void 0,n):(t.u|=64,Mt(n),Et(e,"componentDidLoad",void 0,n),t.H(n),o||Ct()),t.M&&(t.M(),t.M=void 0),512&t.u&&O((()=>wt(t,!1))),t.u&=-517},Ct=()=>{O((()=>V(a,"appload",{detail:{namespace:"evoke-ui"}})))},Et=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){s(t,o)}},Mt=t=>t.classList.add("hydrated"),Tt=(t,n)=>e(t).l.get(n),Lt=(t,n,o,l)=>{const i=e(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.h}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=i.$hostElement$,c=i.l.get(n),u=i.u,f=i.i;if(o=U(o,l.t[n][0]),!(8&u&&void 0!==c||o===c||Number.isNaN(c)&&Number.isNaN(o))){if(i.l.set(n,o),l._){const t=l._[n];t&&t.map((t=>{try{const[[e,l]]=Object.entries(t);(128&u||1&l)&&(f?f[e](o,c,n):i.A.push((()=>{i.i[e](o,c,n)})))}catch(t){s(t,r)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,n)&&!(16&u))return;16&u||wt(i,!1)}}},Rt=(n,o,l)=>{var s,i;const r=n.prototype;{n.watchers&&!o._&&(o._=B(n.watchers)),n.deserializers&&!o.B&&(o.B=n.deserializers),n.serializers&&!o.U&&(o.U=n.serializers);const c=Object.entries(null!=(s=o.t)?s:{});if(c.map((([n,[s]])=>{if(31&s||2&l&&32&s){const{get:i,set:c}=t(r,n)||{};i&&(o.t[n][0]|=2048),c&&(o.t[n][0]|=4096),(1&l||!i)&&Object.defineProperty(r,n,{get(){{if(!(2048&o.t[n][0]))return Tt(this,n);const t=e(this);return t?t.i?t.i[n]:Tt(this,n):r[n]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,n,{set(t){const i=e(this);if(i){if(c)return void 0===(32&s?this[n]:i.$hostElement$[n])&&i.l.get(n)&&(t=i.l.get(n)),c.call(this,U(t,s)),void Lt(this,n,t=32&s?this[n]:i.$hostElement$[n],o);{if(!(1&l&&4096&o.t[n][0]))return void Lt(this,n,t,o);const e=U(t,s);if(i.i){const t=i.i[n];!i.l.get(n)&&t&&i.l.set(n,t),i.i[n]=e,Lt(this,n,i.i[n],o)}else i.l.set(n,e)}}}})}})),1&l){const t=new Map;r.attributeChangedCallback=function(n,l,s){d.jmp((()=>{var i;const u=t.get(n),f=e(this);if(this.hasOwnProperty(u)&&(s=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==s)return;if(null==u){const t=null==f?void 0:f.u;if(f&&t&&!(8&t)&&s!==l){const e=f.i,r=null==(i=o._)?void 0:i[n];null==r||r.forEach((o=>{const[[i,r]]=Object.entries(o);null!=e[i]&&(128&t||1&r)&&e[i].call(e,s,l,n)}))}return}const a=c.find((([t])=>t===u)),d=a?a[1][0]:0,p=4&d;if(512&d&&8&d&&!D(this[u])&&(t=>null==t||!1===t?null:!0===t?"":t+"")(this[u])===s)return;const h=p&&null===s&&void 0===this[u];p&&(s=null!==s&&"false"!==s);const v=Object.getOwnPropertyDescriptor(r,u);h||s==this[u]||v.get&&!v.set||(this[u]=s)}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=o._)?i:{}),...c.filter((([t,n])=>31&n[0])).map((([n,e])=>{var l;const s=e[1]||n;return t.set(s,n),512&e[0]&&(null==(l=o.P)||l.push([n,s])),s}))]))}}return n},xt=async(t,n,e)=>{var o;let l;try{if(!(32&n.u)){if(n.u|=32,n.u&=-1025,e.W){const c=((t,n)=>{var e;const o=t.h.replace(/-/g,"_"),l=t.W;if(!l)return;const c=i.get(l);if(c)return c[o];const u=null!=(e=r.get(l))?e:0,f=[u>0?"s-retry="+u:"",""].filter(Boolean).join("&");
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/
3
+ return import(`./${l}.entry.js${f?"?"+f:""}`).then((t=>(r.delete(l),i.set(l,t),t[o])),(t=>{r.set(l,u+1),s(t,n.$hostElement$)}))})(e,n);if(c&&"then"in c){const t=()=>{};l=await c,t()}else l=c;if(!l)throw n.u&=-33,n.V=(null!=(o=n.V)?o:0)+1,n.V<3&&(n.u|=1024),Error(`Constructor for "${e.h}#${n.q}" was not found`);l.isProxied||(e._=B(l.watchers),e.U=l.serializers,e.B=l.deserializers,Rt(l,e,2),l.isProxied=!0);const u=()=>{};n.u|=8;try{new l(n)}catch(n){s(n,t)}n.u&=-9,((t,n)=>{var e;const o=t.i;if(o)for(const[l,[s]]of Object.entries(null!=(e=n.t)?e:{}))if(4096&s&&t.l.has(l)){const n=t.l.get(l);o[l]!==n&&(o[l]=n)}})(n,e),n.u|=128,u(),4&e.u?n.L=!0:At(n.i,t)}else l=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(l&&l.style){let t;"string"==typeof l.style&&(t=l.style);const n=F(e);if(!c.has(n)){const o=()=>{};((t,n,e)=>{let o=c.get(t);h&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,c.set(t,o)})(n,t,!!(1&e.u)),o()}}}const u=n.T,f=()=>wt(n,!0);u&&u["s-rc"]?u["s-rc"].push(f):f()}catch(e){s(e,t),n.M&&(n.M(),n.M=void 0),!n.H||1024&n.u||n.H(t)}},At=(t,n)=>{Et(t,"connectedCallback",void 0,n)},Ft=(t,n)=>{Et(t,"disconnectedCallback",void 0,n||t)},Dt=(t,n={})=>{var o;if(!a.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const l=[],s=n.exclude||[],i=a.customElements,r=a.document.head,c=r.querySelector("meta[charset]"),f=a.document.createElement("style"),p=[];let h,v=!0;Object.assign(d,n),d.p=new URL(n.resourcesUrl||"./",a.document.baseURI).href;let m=!1;if(t.map((t=>{t[1].map((n=>{var o,r;const c={u:n[0],h:n[1],t:n[2],I:n[3]};4&c.u&&(m=!0),c.t=n[2],c.I=n[3],c.P=[],c._=B(n[4]),c.U=null!=(o=n[5])?o:{},c.B=null!=(r=n[6])?r:{};const u=c.h,f=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,Y:new Map};e.G=new Promise((t=>e.H=t)),t["s-p"]=[],t["s-rc"]=[],e.A=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,c)}connectedCallback(){const t=e(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Pt(this,t,c.I)),h&&(clearTimeout(h),h=null),v?p.push(this):d.jmp((()=>(t=>{if(!(1&d.u)){const n=e(t);if(!n)return;const o=n.o,l=()=>{};if(1&n.u)Pt(t,n,o.I),(null==n?void 0:n.i)?At(n.i,t):1024&n.u?setTimeout((()=>xt(t,n,o)),1e3):(null==n?void 0:n.G)&&n.G.then((()=>At(n.i,t)));else{n.u|=1,12&o.u&&(t=>{if(!a.document)return;const n=t["s-cr"]=a.document.createComment("");n["s-cn"]=!0,bt(t,n,t.firstChild)})(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){$t(n,n.T=e);break}}o.t&&Object.entries(o.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),xt(t,n,o)}l()}})(this))))}disconnectedCallback(){d.jmp((()=>(async t=>{if(!(1&d.u)){const n=e(t);(null==n?void 0:n.Z)&&(n.Z.map((t=>t())),n.Z=void 0),(null==n?void 0:n.i)?Ft(n.i,t):(null==n?void 0:n.G)&&n.G.then((()=>Ft(n.i,t)))}A.has(t)&&A.delete(t),t.shadowRoot&&A.has(t.shadowRoot)&&A.delete(t.shadowRoot)})(this))),O((()=>{var t;const n=e(this);if(!n)return;const o=p.findIndex((t=>t===this));o>-1&&p.splice(o,1),(null==(t=null==n?void 0:n.D)?void 0:t.k)instanceof Node&&!n.D.k.isConnected&&delete n.D.k}))}componentOnReady(){var t;return null==(t=e(this))?void 0:t.G}};c.W=t[0],s.includes(u)||i.get(u)||(l.push(u),i.define(u,Rt(f,c,1)))}))})),l.length>0&&(m&&(f.textContent+=u),f.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",f.innerHTML.length)){f.setAttribute("data-styles","");const t=null!=(o=d.F)?o:L(a.document);null!=t&&f.setAttribute("nonce",t),r.insertBefore(f,c?c.nextSibling:r.firstChild)}v=!1,p.length?p.map((t=>t.connectedCallback())):d.jmp((()=>h=setTimeout(Ct,30)))},Pt=(t,n,e)=>{e&&a.document&&e.map((([e,o,l])=>{const s=_t(a.document,t,e),i=Ht(n,l),r=Bt(e);d.ael(s,o,i,r),(n.Z=n.Z||[]).push((()=>d.rel(s,o,i,r)))}))},Ht=(t,n)=>e=>{var o;try{256&t.u?null==(o=t.i)||o[n](e):(t.R=t.R||[]).push([n,e])}catch(n){s(n,t.$hostElement$)}},_t=(t,n,e)=>4&e?t:8&e?a:n,Bt=t=>({passive:!!(1&t),capture:!!(2&t)}),Ut=t=>d.F=t;export{Dt as b,z as c,W as g,P as h,p,o as r,Ut as s}
@@ -0,0 +1 @@
1
+ const o=()=>{};export{o as g}
@@ -0,0 +1 @@
1
+ module.exports = require('./cjs/index.cjs.js');
package/dist/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from './esm/index.js';
@@ -0,0 +1,26 @@
1
+ /* Bootstrap 5 theme: maps Evoke tokens to Bootstrap CSS variables (--bs-*). */
2
+ :root {
3
+ --evoke-primary: var(--bs-primary, #0d6efd);
4
+ --evoke-primary-contrast: var(--bs-white, #fff);
5
+ --evoke-danger: var(--bs-danger, #dc3545);
6
+ --evoke-success: var(--bs-success, #198754);
7
+ --evoke-warning: var(--bs-warning, #ffc107);
8
+ --evoke-info: var(--bs-info, #0dcaf0);
9
+ --evoke-surface: var(--bs-body-bg, #fff);
10
+ --evoke-text: var(--bs-body-color, #212529);
11
+ --evoke-border: var(--bs-border-color, #dee2e6);
12
+ --evoke-radius: var(--bs-border-radius, 0.375rem);
13
+ --evoke-radius-field: var(--bs-border-radius, 0.375rem);
14
+ --evoke-font: var(--bs-body-font-family, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);
15
+ --evoke-focus-ring: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
16
+ --evoke-secondary: var(--bs-secondary, #6c757d);
17
+ --evoke-secondary-contrast: var(--bs-white, #fff);
18
+ --evoke-text-muted: var(--bs-secondary-color, #6c757d);
19
+ --evoke-radius-button: var(--bs-border-radius, 0.375rem);
20
+ --evoke-control-height: 38px;
21
+ --evoke-button-padding-x: 0.75rem;
22
+ --evoke-font-size: 1rem;
23
+ --evoke-surface-muted: var(--bs-tertiary-bg, #f8f9fa);
24
+ --evoke-shadow: var(--bs-box-shadow, 0 0.5rem 1rem rgba(0, 0, 0, 0.15));
25
+ --evoke-primary-text: color-mix(in srgb, var(--bs-primary, #0d6efd) 85%, #000);
26
+ }
@@ -0,0 +1,24 @@
1
+ /* Angular Material theme: maps Evoke tokens to Material 3 system tokens (--mat-sys-*).
2
+ Works with `mat.theme()` / `mat.system-level-colors`. Fallbacks are the M3 baseline palette. */
3
+ :root {
4
+ --evoke-primary: var(--mat-sys-primary, #6750a4);
5
+ --evoke-primary-contrast: var(--mat-sys-on-primary, #ffffff);
6
+ --evoke-danger: var(--mat-sys-error, #b3261e);
7
+ --evoke-surface: var(--mat-sys-surface, #fef7ff);
8
+ --evoke-text: var(--mat-sys-on-surface, #1d1b20);
9
+ --evoke-border: var(--mat-sys-outline, #79747e);
10
+ --evoke-radius: var(--mat-sys-corner-full, 20px);
11
+ --evoke-radius-field: var(--mat-sys-corner-extra-small, 4px);
12
+ --evoke-font: var(--mat-sys-body-large-font, Roboto, 'Helvetica Neue', sans-serif);
13
+ --evoke-focus-ring: 0 0 0 2px var(--mat-sys-primary, #6750a4);
14
+ --evoke-secondary: var(--mat-sys-secondary, #625b71);
15
+ --evoke-secondary-contrast: var(--mat-sys-on-secondary, #ffffff);
16
+ --evoke-text-muted: var(--mat-sys-on-surface-variant, #49454f);
17
+ --evoke-radius-button: var(--mat-sys-corner-full, 20px);
18
+ --evoke-control-height: 40px;
19
+ --evoke-button-padding-x: 24px;
20
+ --evoke-font-size: 1rem;
21
+ --evoke-surface-muted: var(--mat-sys-surface-container-highest, #e6e0e9);
22
+ --evoke-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.3);
23
+ --evoke-primary-text: var(--mat-sys-primary, #6750a4);
24
+ }
@@ -0,0 +1,27 @@
1
+ /* Tailwind theme: maps Evoke tokens to Tailwind v4 theme variables (--color-*, --radius-*).
2
+ Fallbacks are Tailwind's default palette values, so it also works with Tailwind v3. */
3
+ :root {
4
+ --evoke-primary: var(--color-blue-600, #2563eb);
5
+ --evoke-primary-contrast: var(--color-white, #ffffff);
6
+ --evoke-danger: var(--color-red-600, #dc2626);
7
+ --evoke-success: var(--color-green-600, #16a34a);
8
+ --evoke-warning: var(--color-amber-600, #d97706);
9
+ --evoke-info: var(--color-cyan-600, #0891b2);
10
+ --evoke-surface: var(--color-white, #ffffff);
11
+ --evoke-text: var(--color-gray-800, #1f2937);
12
+ --evoke-border: var(--color-gray-300, #d1d5db);
13
+ --evoke-radius: var(--radius-md, 0.375rem);
14
+ --evoke-radius-field: var(--radius-md, 0.375rem);
15
+ --evoke-font: var(--font-sans, ui-sans-serif, system-ui, sans-serif);
16
+ --evoke-focus-ring: 0 0 0 3px color-mix(in srgb, var(--color-blue-500, #3b82f6) 40%, transparent);
17
+ --evoke-secondary: var(--color-slate-800, #1e293b);
18
+ --evoke-secondary-contrast: var(--color-white, #ffffff);
19
+ --evoke-text-muted: var(--color-gray-500, #6b7280);
20
+ --evoke-radius-button: var(--radius-md, 0.375rem);
21
+ --evoke-control-height: 2.5rem;
22
+ --evoke-button-padding-x: 1rem;
23
+ --evoke-font-size: 1rem;
24
+ --evoke-surface-muted: var(--color-gray-100, #f3f4f6);
25
+ --evoke-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1));
26
+ --evoke-primary-text: var(--color-blue-700, #1d4ed8);
27
+ }
@@ -0,0 +1,29 @@
1
+ /* Base design tokens (default Evoke look, taken from the Evoke Figma design).
2
+ Always loaded via the package's global stylesheet.
3
+ Import material.css / tailwind.css / bootstrap.css AFTER this to remap tokens to that system,
4
+ or override any --evoke-* variable yourself. */
5
+ :root {
6
+ --evoke-primary: #ff5316;
7
+ --evoke-primary-contrast: #ffffff;
8
+ --evoke-secondary: #0b1560;
9
+ --evoke-secondary-contrast: #ffffff;
10
+ --evoke-danger: #dc2626;
11
+ --evoke-success: #16a34a;
12
+ --evoke-warning: #d97706;
13
+ --evoke-info: #0891b2;
14
+ --evoke-surface: #ffffff;
15
+ --evoke-text: #1a1a1a;
16
+ --evoke-text-muted: #6b6b6b;
17
+ --evoke-border: #dedede;
18
+ --evoke-radius: 8px;
19
+ --evoke-radius-field: 8px;
20
+ --evoke-radius-button: 9999px;
21
+ --evoke-control-height: 56px;
22
+ --evoke-button-padding-x: 36px;
23
+ --evoke-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
24
+ --evoke-font-size: 16px;
25
+ --evoke-focus-ring: 0 0 0 3px rgba(11, 21, 96, 0.15);
26
+ --evoke-surface-muted: #f5f5f5;
27
+ --evoke-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
28
+ --evoke-primary-text: #cc3d0d;
29
+ }
@@ -0,0 +1,10 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class EvokeAlert {
3
+ type: 'info' | 'success' | 'warning' | 'danger';
4
+ /** Subtle (tinted background) or solid (filled colour) */
5
+ appearance: 'subtle' | 'solid';
6
+ dismissible: boolean;
7
+ /** Fired when the dismiss button is clicked */
8
+ evokeDismiss: EventEmitter<void>;
9
+ render(): any;
10
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @slot logo - brand/logo on the left
3
+ * @slot nav - navigation links in the middle (wrapped in a <nav>)
4
+ * @slot actions - buttons, badges or icons on the right
5
+ */
6
+ export declare class EvokeAppBar {
7
+ /** Light surface, or dark / brand-coloured (navy) */
8
+ appearance: 'light' | 'dark';
9
+ /** Stick to the top of the viewport while scrolling */
10
+ sticky: boolean;
11
+ /** Accessible name for the navigation landmark */
12
+ navLabel: string;
13
+ render(): any;
14
+ }
@@ -0,0 +1,17 @@
1
+ export declare class EvokeBadge {
2
+ el: HTMLElement;
3
+ /** Number to show (count badge) */
4
+ count: number;
5
+ /** Counts above this show as "max+" (e.g. 99+) */
6
+ max: number;
7
+ /** Show a small status dot instead of a number */
8
+ dot: boolean;
9
+ /** Show the badge even when the count is 0 */
10
+ showZero: boolean;
11
+ color: 'primary' | 'secondary' | 'danger' | 'success' | 'warning' | 'info';
12
+ /** Screen-reader text, e.g. "3 items in cart". A dot without a label is treated as decorative. */
13
+ label: string;
14
+ private hasContent;
15
+ componentWillLoad(): void;
16
+ render(): any;
17
+ }
@@ -0,0 +1,21 @@
1
+ import { EvokeIcon } from '../../utils/icons';
2
+ export declare class EvokeButton {
3
+ /** Solid variants (primary, secondary, danger), outline, or ghost (text only, no border) */
4
+ variant: 'primary' | 'secondary' | 'danger' | 'outline' | 'ghost';
5
+ size: 'sm' | 'md' | 'lg';
6
+ type: 'button' | 'submit' | 'reset';
7
+ disabled: boolean;
8
+ /** Shows a spinner and blocks clicks while true */
9
+ loading: boolean;
10
+ /** Optional leading icon */
11
+ icon?: EvokeIcon;
12
+ /** Square button for icon-only use; set `accessible-label` too */
13
+ iconOnly: boolean;
14
+ /** aria-label for the inner button (required when `icon-only`) */
15
+ accessibleLabel?: string;
16
+ /** Stretch to the full width of the container */
17
+ block: boolean;
18
+ /** Extra classes for the inner <button>, e.g. "btn btn-lg" (Bootstrap) or "shadow-lg" (Tailwind) */
19
+ buttonClass: string;
20
+ render(): any;
21
+ }
@@ -0,0 +1,15 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class EvokeCard {
3
+ heading: string;
4
+ /** Outlined (border) or elevated (shadow, no border) */
5
+ appearance: 'outlined' | 'elevated';
6
+ /** Makes the whole card a button (hover/active/focus states, Enter/Space) */
7
+ clickable: boolean;
8
+ /** Extra classes for the card container, e.g. "shadow-md" (Tailwind) or "card" (Bootstrap) */
9
+ cardClass: string;
10
+ /** Fired when a `clickable` card is activated */
11
+ evokeClick: EventEmitter<void>;
12
+ private activate;
13
+ private onKeyDown;
14
+ render(): any;
15
+ }
@@ -0,0 +1,18 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class EvokeCheckbox {
3
+ label: string;
4
+ checked: boolean;
5
+ /** Mixed state, e.g. a "select all" box when only some items are selected. Cleared on click. */
6
+ indeterminate: boolean;
7
+ disabled: boolean;
8
+ /** Error message shown below the checkbox */
9
+ error: string;
10
+ /** Extra classes for the inner <input> */
11
+ inputClass: string;
12
+ /** Emits the new checked state */
13
+ evokeChange: EventEmitter<boolean>;
14
+ private inputEl?;
15
+ private uid;
16
+ componentDidRender(): void;
17
+ render(): any;
18
+ }
@@ -0,0 +1,14 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class EvokeChip {
3
+ label: string;
4
+ /** Selected state (filter chip) */
5
+ selected: boolean;
6
+ /** Shows a remove button instead of toggling selection */
7
+ removable: boolean;
8
+ disabled: boolean;
9
+ /** Emits the new selected state (filter chip) */
10
+ evokeChange: EventEmitter<boolean>;
11
+ /** Fired when the remove button is clicked (removable chip) */
12
+ evokeRemove: EventEmitter<void>;
13
+ render(): any;
14
+ }
@@ -0,0 +1,27 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ import { EvokeIcon } from '../../utils/icons';
3
+ export declare class EvokeInput {
4
+ label: string;
5
+ value: string;
6
+ type: string;
7
+ name: string;
8
+ placeholder: string;
9
+ disabled: boolean;
10
+ required: boolean;
11
+ /** Outlined (default) or filled (tinted background, bottom border) */
12
+ appearance: 'outlined' | 'filled';
13
+ /** Error message shown below the field (replaces the hint) */
14
+ error: string;
15
+ /** Helper text shown below the field */
16
+ hint: string;
17
+ /** Optional leading icon */
18
+ icon?: EvokeIcon;
19
+ /** Extra classes for the inner <input>, e.g. "form-control" (Bootstrap) */
20
+ inputClass: string;
21
+ /** Emits the new value on every keystroke */
22
+ evokeInput: EventEmitter<string>;
23
+ /** Emits the new value on commit (blur/enter) */
24
+ evokeChange: EventEmitter<string>;
25
+ private inputId;
26
+ render(): any;
27
+ }