@warp-ds/elements 2.1.1 → 2.2.0-next.10

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 (233) hide show
  1. package/README.md +27 -17
  2. package/dist/.storybook/utilities.d.ts +28 -0
  3. package/dist/api.js +1 -49
  4. package/dist/api.js.map +4 -4
  5. package/dist/custom-elements.json +4282 -0
  6. package/dist/index.css +2 -0
  7. package/dist/index.css.map +7 -0
  8. package/dist/index.js +4561 -6638
  9. package/dist/index.js.map +4 -4
  10. package/dist/packages/affix/affix.stories.d.ts +10 -0
  11. package/dist/packages/affix/affix.test.d.ts +1 -0
  12. package/dist/packages/affix/index.d.ts +52 -24
  13. package/dist/packages/affix/index.js +2571 -2240
  14. package/dist/packages/affix/index.js.map +4 -4
  15. package/dist/packages/affix/react.d.ts +2 -0
  16. package/dist/packages/affix/styles.d.ts +1 -0
  17. package/dist/packages/alert/alert.stories.d.ts +15 -0
  18. package/dist/packages/alert/alert.test.d.ts +1 -0
  19. package/dist/packages/alert/index.d.ts +27 -17
  20. package/dist/packages/alert/index.js +2568 -2446
  21. package/dist/packages/alert/index.js.map +4 -4
  22. package/dist/packages/alert/react.d.ts +2 -0
  23. package/dist/packages/alert/styles.d.ts +1 -0
  24. package/dist/packages/attention/attention.stories.d.ts +15 -0
  25. package/dist/packages/attention/attention.test.d.ts +1 -0
  26. package/dist/packages/attention/index.d.ts +62 -90
  27. package/dist/packages/attention/index.js +3497 -3984
  28. package/dist/packages/attention/index.js.map +4 -4
  29. package/dist/packages/attention/layout-styles.d.ts +1 -0
  30. package/dist/packages/attention/react.d.ts +1 -0
  31. package/dist/packages/attention/styles.d.ts +1 -0
  32. package/dist/packages/badge/badge.stories.d.ts +17 -0
  33. package/dist/packages/badge/badge.test.d.ts +1 -0
  34. package/dist/packages/badge/index.d.ts +17 -11
  35. package/dist/packages/badge/index.js +2550 -300
  36. package/dist/packages/badge/index.js.map +4 -4
  37. package/dist/packages/badge/react.d.ts +2 -0
  38. package/dist/packages/badge/styles.d.ts +1 -0
  39. package/dist/packages/box/box.stories.d.ts +14 -0
  40. package/dist/packages/box/box.test.d.ts +1 -0
  41. package/dist/packages/box/index.d.ts +22 -20
  42. package/dist/packages/box/index.js +2550 -304
  43. package/dist/packages/box/index.js.map +4 -4
  44. package/dist/packages/box/react.d.ts +2 -0
  45. package/dist/packages/box/slot.test.d.ts +1 -0
  46. package/dist/packages/box/styles.d.ts +1 -0
  47. package/dist/packages/breadcrumbs/breadcrumbs.stories.d.ts +12 -0
  48. package/dist/packages/breadcrumbs/breadcrumbs.test.d.ts +1 -0
  49. package/dist/packages/breadcrumbs/index.d.ts +24 -16
  50. package/dist/packages/breadcrumbs/index.js +2511 -2051
  51. package/dist/packages/breadcrumbs/index.js.map +4 -4
  52. package/dist/packages/breadcrumbs/react.d.ts +2 -0
  53. package/dist/packages/breadcrumbs/styles.d.ts +1 -0
  54. package/dist/packages/button/button.stories.d.ts +21 -0
  55. package/dist/packages/button/button.test.d.ts +1 -0
  56. package/dist/packages/button/index.d.ts +111 -56
  57. package/dist/packages/button/index.js +2735 -2130
  58. package/dist/packages/button/index.js.map +4 -4
  59. package/dist/packages/button/react.d.ts +2 -0
  60. package/dist/packages/button/styles.d.ts +1 -0
  61. package/dist/packages/card/card.stories.d.ts +15 -0
  62. package/dist/packages/card/card.test.d.ts +1 -0
  63. package/dist/packages/card/index.d.ts +33 -16
  64. package/dist/packages/card/index.js +2530 -2078
  65. package/dist/packages/card/index.js.map +4 -4
  66. package/dist/packages/card/react.d.ts +2 -0
  67. package/dist/packages/card/styles.d.ts +1 -0
  68. package/dist/packages/datepicker/DatePicker.test.d.ts +1 -0
  69. package/dist/packages/datepicker/datepicker.d.ts +107 -0
  70. package/dist/packages/datepicker/datepicker.js +2929 -0
  71. package/dist/packages/datepicker/datepicker.js.map +7 -0
  72. package/dist/packages/datepicker/datepicker.stories.d.ts +11 -0
  73. package/dist/packages/datepicker/datepicker.test.d.ts +2 -0
  74. package/dist/packages/datepicker/index.d.ts +1 -0
  75. package/dist/packages/datepicker/index.js +2929 -0
  76. package/dist/packages/datepicker/index.js.map +7 -0
  77. package/dist/packages/datepicker/locales/da/messages.d.mts +1 -0
  78. package/dist/packages/datepicker/locales/en/messages.d.mts +1 -0
  79. package/dist/packages/datepicker/locales/fi/messages.d.mts +1 -0
  80. package/dist/packages/datepicker/locales/nb/messages.d.mts +1 -0
  81. package/dist/packages/datepicker/locales/sv/messages.d.mts +1 -0
  82. package/dist/packages/datepicker/react.d.ts +2 -0
  83. package/dist/packages/datepicker/styles/w-datepicker-calendar.styles.d.ts +1 -0
  84. package/dist/packages/datepicker/styles/w-datepicker-day.styles.d.ts +1 -0
  85. package/dist/packages/datepicker/styles/w-datepicker-month.styles.d.ts +1 -0
  86. package/dist/packages/datepicker/styles/w-datepicker.styles.d.ts +1 -0
  87. package/dist/packages/datepicker/utils.d.ts +13 -0
  88. package/dist/packages/dead-toggle/dead-toggle.stories.d.ts +10 -0
  89. package/dist/packages/dead-toggle/dead-toggle.test.d.ts +1 -0
  90. package/dist/packages/dead-toggle/index.d.ts +21 -0
  91. package/dist/packages/dead-toggle/index.js +2610 -0
  92. package/dist/packages/dead-toggle/index.js.map +7 -0
  93. package/dist/packages/dead-toggle/react.d.ts +2 -0
  94. package/dist/packages/expandable/expandable.stories.d.ts +19 -0
  95. package/dist/packages/expandable/expandable.test.d.ts +1 -0
  96. package/dist/packages/expandable/index.d.ts +55 -50
  97. package/dist/packages/expandable/index.js +2545 -2293
  98. package/dist/packages/expandable/index.js.map +4 -4
  99. package/dist/packages/expandable/react.d.ts +2 -0
  100. package/dist/packages/expandable/styles.d.ts +1 -0
  101. package/dist/packages/link/index.d.ts +39 -0
  102. package/dist/packages/link/index.js +2769 -0
  103. package/dist/packages/link/index.js.map +7 -0
  104. package/dist/packages/link/link.stories.d.ts +20 -0
  105. package/dist/packages/link/link.test.d.ts +1 -0
  106. package/dist/packages/link/react.d.ts +2 -0
  107. package/dist/packages/link/styles.d.ts +1 -0
  108. package/dist/packages/modal/index.d.ts +4 -5
  109. package/dist/packages/modal/index.js +2765 -2569
  110. package/dist/packages/modal/index.js.map +4 -4
  111. package/dist/packages/modal/modal-footer.d.ts +18 -11
  112. package/dist/packages/modal/modal-footer.js +2499 -0
  113. package/dist/packages/modal/modal-footer.js.map +7 -0
  114. package/dist/packages/modal/modal-header.d.ts +30 -31
  115. package/dist/packages/modal/modal-header.js +2700 -0
  116. package/dist/packages/modal/modal-header.js.map +7 -0
  117. package/dist/packages/modal/modal-main.d.ts +32 -31
  118. package/dist/packages/modal/modal-main.js +2681 -0
  119. package/dist/packages/modal/modal-main.js.map +7 -0
  120. package/dist/packages/modal/modal.stories.d.ts +19 -0
  121. package/dist/packages/modal/react.d.ts +4 -0
  122. package/dist/packages/modal/util.d.ts +7 -17
  123. package/dist/packages/pageindicator/index.d.ts +14 -0
  124. package/dist/packages/pageindicator/index.js +169 -0
  125. package/dist/packages/pageindicator/index.js.map +7 -0
  126. package/dist/packages/pageindicator/pageindicator.stories.d.ts +32 -0
  127. package/dist/packages/pageindicator/react.d.ts +2 -0
  128. package/dist/packages/pageindicator/style.d.ts +1 -0
  129. package/dist/packages/pagination/index.d.ts +37 -0
  130. package/dist/packages/pagination/index.js +2610 -0
  131. package/dist/packages/pagination/index.js.map +7 -0
  132. package/dist/packages/pagination/locales/da/messages.d.mts +1 -0
  133. package/dist/packages/pagination/locales/en/messages.d.mts +1 -0
  134. package/dist/packages/pagination/locales/fi/messages.d.mts +1 -0
  135. package/dist/packages/pagination/locales/nb/messages.d.mts +1 -0
  136. package/dist/packages/pagination/locales/sv/messages.d.mts +1 -0
  137. package/dist/packages/pagination/pagination.stories.d.ts +14 -0
  138. package/dist/packages/pagination/pagination.test.d.ts +1 -0
  139. package/dist/packages/pagination/react.d.ts +2 -0
  140. package/dist/packages/pagination/styles.d.ts +1 -0
  141. package/dist/packages/pill/index.d.ts +44 -23
  142. package/dist/packages/pill/index.js +2524 -2175
  143. package/dist/packages/pill/index.js.map +4 -4
  144. package/dist/packages/pill/pill.stories.d.ts +12 -0
  145. package/dist/packages/pill/pill.test.d.ts +1 -0
  146. package/dist/packages/pill/styles.d.ts +1 -0
  147. package/dist/packages/rip-and-tear-checkbox/checkbox.d.ts +64 -0
  148. package/dist/packages/rip-and-tear-checkbox/index.css +2 -0
  149. package/dist/packages/rip-and-tear-checkbox/index.css.map +7 -0
  150. package/dist/packages/rip-and-tear-checkbox/index.d.ts +6 -0
  151. package/dist/packages/rip-and-tear-checkbox/index.js +187 -0
  152. package/dist/packages/rip-and-tear-checkbox/index.js.map +7 -0
  153. package/dist/packages/rip-and-tear-radio/base-element.d.ts +46 -0
  154. package/dist/packages/rip-and-tear-radio/custom-error-validator.d.ts +6 -0
  155. package/dist/packages/rip-and-tear-radio/form-associated-element.d.ts +103 -0
  156. package/dist/packages/rip-and-tear-radio/index.css +2 -0
  157. package/dist/packages/rip-and-tear-radio/index.css.map +7 -0
  158. package/dist/packages/rip-and-tear-radio/index.d.ts +8 -0
  159. package/dist/packages/rip-and-tear-radio/index.js +157 -0
  160. package/dist/packages/rip-and-tear-radio/index.js.map +7 -0
  161. package/dist/packages/rip-and-tear-radio/invalid.d.ts +8 -0
  162. package/dist/packages/rip-and-tear-radio/math.d.ts +1 -0
  163. package/dist/packages/rip-and-tear-radio/radio-group.d.ts +72 -0
  164. package/dist/packages/rip-and-tear-radio/radio.d.ts +38 -0
  165. package/dist/packages/rip-and-tear-radio/required-validator.d.ts +11 -0
  166. package/dist/packages/rip-and-tear-radio/slot.d.ts +20 -0
  167. package/dist/packages/rip-and-tear-radio/watch.d.ts +26 -0
  168. package/dist/packages/select/index.d.ts +59 -48
  169. package/dist/packages/select/index.js +2565 -2236
  170. package/dist/packages/select/index.js.map +4 -4
  171. package/dist/packages/select/react.d.ts +2 -0
  172. package/dist/packages/select/select.stories.d.ts +10 -0
  173. package/dist/packages/select/select.test.d.ts +1 -0
  174. package/dist/packages/select/styles.d.ts +1 -0
  175. package/dist/packages/steps/index.d.ts +43 -0
  176. package/dist/packages/steps/index.js +2581 -0
  177. package/dist/packages/steps/index.js.map +7 -0
  178. package/dist/packages/steps/locales/da/messages.d.mts +1 -0
  179. package/dist/packages/steps/locales/en/messages.d.mts +1 -0
  180. package/dist/packages/steps/locales/fi/messages.d.mts +1 -0
  181. package/dist/packages/steps/locales/nb/messages.d.mts +1 -0
  182. package/dist/packages/steps/locales/sv/messages.d.mts +1 -0
  183. package/dist/packages/steps/react.d.ts +3 -0
  184. package/dist/packages/steps/steps.stories.d.ts +12 -0
  185. package/dist/packages/steps/styles.d.ts +1 -0
  186. package/dist/packages/styles.d.ts +2 -0
  187. package/dist/packages/switch/index.d.ts +20 -0
  188. package/dist/packages/switch/index.js +2564 -0
  189. package/dist/packages/switch/index.js.map +7 -0
  190. package/dist/packages/switch/react.d.ts +2 -0
  191. package/dist/packages/switch/styles.d.ts +1 -0
  192. package/dist/packages/switch/switch.stories.d.ts +9 -0
  193. package/dist/packages/tabs/index.d.ts +4 -0
  194. package/dist/packages/tabs/index.js +2579 -0
  195. package/dist/packages/tabs/index.js.map +7 -0
  196. package/dist/packages/tabs/react.d.ts +4 -0
  197. package/dist/packages/tabs/styles.d.ts +1 -0
  198. package/dist/packages/tabs/tab-panel.d.ts +20 -0
  199. package/dist/packages/tabs/tab.d.ts +23 -0
  200. package/dist/packages/tabs/tabs.d.ts +38 -0
  201. package/dist/packages/tabs/tabs.stories.d.ts +8 -0
  202. package/dist/packages/textfield/index.d.ts +72 -74
  203. package/dist/packages/textfield/index.js +2572 -413
  204. package/dist/packages/textfield/index.js.map +4 -4
  205. package/dist/packages/textfield/react.d.ts +2 -0
  206. package/dist/packages/textfield/styles.d.ts +1 -0
  207. package/dist/packages/textfield/textfield.stories.d.ts +17 -0
  208. package/dist/packages/textfield/textfield.test.d.ts +1 -0
  209. package/dist/packages/toast/api.d.ts +4 -45
  210. package/dist/packages/toast/index.d.ts +3 -0
  211. package/dist/packages/toast/index.js +2610 -2787
  212. package/dist/packages/toast/index.js.map +4 -4
  213. package/dist/packages/toast/styles.d.ts +1 -0
  214. package/dist/packages/toast/toast-container.d.ts +12 -63
  215. package/dist/packages/toast/toast.d.ts +34 -29
  216. package/dist/packages/toast/toast.stories.d.ts +12 -0
  217. package/dist/packages/toast/types.d.ts +15 -0
  218. package/dist/packages/utils/expand-transition.d.ts +3 -2
  219. package/dist/packages/utils/index.d.ts +1 -1
  220. package/dist/packages/utils/index.js +27 -0
  221. package/dist/packages/utils/index.js.map +7 -0
  222. package/dist/packages/utils/unstyled-heading.d.ts +4 -3
  223. package/dist/setup-tests.d.ts +1 -0
  224. package/dist/styles.css +1 -0
  225. package/dist/vscode.css-custom-data.json +6 -0
  226. package/dist/vscode.html-custom-data.json +421 -0
  227. package/dist/web-types.json +949 -0
  228. package/package.json +74 -28
  229. package/dist/index.d.ts +0 -19
  230. package/dist/packages/broadcast/component.d.ts +0 -36
  231. package/dist/packages/broadcast/index.d.ts +0 -2
  232. package/dist/packages/broadcast/index.js +0 -87
  233. package/dist/packages/broadcast/index.js.map +0 -7
@@ -1,2346 +1,2598 @@
1
- var __create = Object.create;
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
9
- var __typeError = (msg) => {
10
- throw TypeError(msg);
11
- };
12
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
- var __spreadValues = (a, b) => {
14
- for (var prop in b || (b = {}))
15
- if (__hasOwnProp.call(b, prop))
16
- __defNormalProp(a, prop, b[prop]);
17
- if (__getOwnPropSymbols)
18
- for (var prop of __getOwnPropSymbols(b)) {
19
- if (__propIsEnum.call(b, prop))
20
- __defNormalProp(a, prop, b[prop]);
21
- }
22
- return a;
23
- };
24
- var __objRest = (source, exclude) => {
25
- var target = {};
26
- for (var prop in source)
27
- if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
28
- target[prop] = source[prop];
29
- if (source != null && __getOwnPropSymbols)
30
- for (var prop of __getOwnPropSymbols(source)) {
31
- if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
32
- target[prop] = source[prop];
33
- }
34
- return target;
35
- };
36
- var __commonJS = (cb, mod) => function __require() {
37
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
38
- };
39
- var __copyProps = (to, from, except, desc) => {
40
- if (from && typeof from === "object" || typeof from === "function") {
41
- for (let key of __getOwnPropNames(from))
42
- if (!__hasOwnProp.call(to, key) && key !== except)
43
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
44
- }
45
- return to;
46
- };
47
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
48
- // If the importer is in node compatibility mode or this is not an ESM
49
- // file that has been converted to a CommonJS file using a Babel-
50
- // compatible transform (i.e. "__esModule" has not been set), then set
51
- // "default" to the CommonJS "module.exports" for node compatibility.
52
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
53
- mod
54
- ));
55
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
56
- var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
57
- var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
58
- var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
59
-
60
- // node_modules/.pnpm/unraw@3.0.0/node_modules/unraw/dist/errors.js
61
- var require_errors = __commonJS({
62
- "node_modules/.pnpm/unraw@3.0.0/node_modules/unraw/dist/errors.js"(exports) {
63
- "use strict";
64
- Object.defineProperty(exports, "__esModule", { value: true });
65
- exports.errorMessages = exports.ErrorType = void 0;
66
- var ErrorType;
67
- (function(ErrorType2) {
68
- ErrorType2["MalformedUnicode"] = "MALFORMED_UNICODE";
69
- ErrorType2["MalformedHexadecimal"] = "MALFORMED_HEXADECIMAL";
70
- ErrorType2["CodePointLimit"] = "CODE_POINT_LIMIT";
71
- ErrorType2["OctalDeprecation"] = "OCTAL_DEPRECATION";
72
- ErrorType2["EndOfString"] = "END_OF_STRING";
73
- })(ErrorType = exports.ErrorType || (exports.ErrorType = {}));
74
- exports.errorMessages = /* @__PURE__ */ new Map([
75
- [ErrorType.MalformedUnicode, "malformed Unicode character escape sequence"],
76
- [
77
- ErrorType.MalformedHexadecimal,
78
- "malformed hexadecimal character escape sequence"
79
- ],
80
- [
81
- ErrorType.CodePointLimit,
82
- "Unicode codepoint must not be greater than 0x10FFFF in escape sequence"
83
- ],
84
- [
85
- ErrorType.OctalDeprecation,
86
- '"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'
87
- ],
88
- [ErrorType.EndOfString, "malformed escape sequence at end of string"]
89
- ]);
90
- }
91
- });
92
-
93
- // node_modules/.pnpm/unraw@3.0.0/node_modules/unraw/dist/index.js
94
- var require_dist = __commonJS({
95
- "node_modules/.pnpm/unraw@3.0.0/node_modules/unraw/dist/index.js"(exports) {
96
- "use strict";
97
- Object.defineProperty(exports, "__esModule", { value: true });
98
- exports.unraw = exports.errorMessages = exports.ErrorType = void 0;
99
- var errors_1 = require_errors();
100
- Object.defineProperty(exports, "ErrorType", { enumerable: true, get: function() {
101
- return errors_1.ErrorType;
102
- } });
103
- Object.defineProperty(exports, "errorMessages", { enumerable: true, get: function() {
104
- return errors_1.errorMessages;
105
- } });
106
- function parseHexToInt(hex) {
107
- const isOnlyHexChars = !hex.match(/[^a-f0-9]/i);
108
- return isOnlyHexChars ? parseInt(hex, 16) : NaN;
109
- }
110
- function validateAndParseHex(hex, errorName, enforcedLength) {
111
- const parsedHex = parseHexToInt(hex);
112
- if (Number.isNaN(parsedHex) || enforcedLength !== void 0 && enforcedLength !== hex.length) {
113
- throw new SyntaxError(errors_1.errorMessages.get(errorName));
114
- }
115
- return parsedHex;
116
- }
117
- function parseHexadecimalCode(code) {
118
- const parsedCode = validateAndParseHex(code, errors_1.ErrorType.MalformedHexadecimal, 2);
119
- return String.fromCharCode(parsedCode);
120
- }
121
- function parseUnicodeCode(code, surrogateCode) {
122
- const parsedCode = validateAndParseHex(code, errors_1.ErrorType.MalformedUnicode, 4);
123
- if (surrogateCode !== void 0) {
124
- const parsedSurrogateCode = validateAndParseHex(surrogateCode, errors_1.ErrorType.MalformedUnicode, 4);
125
- return String.fromCharCode(parsedCode, parsedSurrogateCode);
126
- }
127
- return String.fromCharCode(parsedCode);
128
- }
129
- function isCurlyBraced(text) {
130
- return text.charAt(0) === "{" && text.charAt(text.length - 1) === "}";
131
- }
132
- function parseUnicodeCodePointCode(codePoint) {
133
- if (!isCurlyBraced(codePoint)) {
134
- throw new SyntaxError(errors_1.errorMessages.get(errors_1.ErrorType.MalformedUnicode));
135
- }
136
- const withoutBraces = codePoint.slice(1, -1);
137
- const parsedCode = validateAndParseHex(withoutBraces, errors_1.ErrorType.MalformedUnicode);
138
- try {
139
- return String.fromCodePoint(parsedCode);
140
- } catch (err) {
141
- throw err instanceof RangeError ? new SyntaxError(errors_1.errorMessages.get(errors_1.ErrorType.CodePointLimit)) : err;
142
- }
143
- }
144
- function parseOctalCode(code, error = false) {
145
- if (error) {
146
- throw new SyntaxError(errors_1.errorMessages.get(errors_1.ErrorType.OctalDeprecation));
147
- }
148
- const parsedCode = parseInt(code, 8);
149
- return String.fromCharCode(parsedCode);
150
- }
151
- var singleCharacterEscapes = /* @__PURE__ */ new Map([
152
- ["b", "\b"],
153
- ["f", "\f"],
154
- ["n", "\n"],
155
- ["r", "\r"],
156
- ["t", " "],
157
- ["v", "\v"],
158
- ["0", "\0"]
159
- ]);
160
- function parseSingleCharacterCode(code) {
161
- return singleCharacterEscapes.get(code) || code;
162
- }
163
- var escapeMatch = /\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;
164
- function unraw2(raw, allowOctals = false) {
165
- return raw.replace(escapeMatch, function(_, backslash, hex, codePoint, unicodeWithSurrogate, surrogate, unicode, octal, singleCharacter) {
166
- if (backslash !== void 0) {
167
- return "\\";
168
- }
169
- if (hex !== void 0) {
170
- return parseHexadecimalCode(hex);
171
- }
172
- if (codePoint !== void 0) {
173
- return parseUnicodeCodePointCode(codePoint);
174
- }
175
- if (unicodeWithSurrogate !== void 0) {
176
- return parseUnicodeCode(unicodeWithSurrogate, surrogate);
177
- }
178
- if (unicode !== void 0) {
179
- return parseUnicodeCode(unicode);
180
- }
181
- if (octal === "0") {
182
- return "\0";
183
- }
184
- if (octal !== void 0) {
185
- return parseOctalCode(octal, !allowOctals);
186
- }
187
- if (singleCharacter !== void 0) {
188
- return parseSingleCharacterCode(singleCharacter);
189
- }
190
- throw new SyntaxError(errors_1.errorMessages.get(errors_1.ErrorType.EndOfString));
191
- });
192
- }
193
- exports.unraw = unraw2;
194
- exports.default = unraw2;
195
- }
196
- });
197
-
198
- // node_modules/.pnpm/moo@0.5.2/node_modules/moo/moo.js
199
- var require_moo = __commonJS({
200
- "node_modules/.pnpm/moo@0.5.2/node_modules/moo/moo.js"(exports, module) {
201
- (function(root, factory) {
202
- if (typeof define === "function" && define.amd) {
203
- define([], factory);
204
- } else if (typeof module === "object" && module.exports) {
205
- module.exports = factory();
206
- } else {
207
- root.moo = factory();
208
- }
209
- })(exports, function() {
210
- "use strict";
211
- var hasOwnProperty = Object.prototype.hasOwnProperty;
212
- var toString = Object.prototype.toString;
213
- var hasSticky = typeof new RegExp().sticky === "boolean";
214
- function isRegExp(o) {
215
- return o && toString.call(o) === "[object RegExp]";
216
- }
217
- function isObject(o) {
218
- return o && typeof o === "object" && !isRegExp(o) && !Array.isArray(o);
219
- }
220
- function reEscape(s) {
221
- return s.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
222
- }
223
- function reGroups(s) {
224
- var re = new RegExp("|" + s);
225
- return re.exec("").length - 1;
226
- }
227
- function reCapture(s) {
228
- return "(" + s + ")";
229
- }
230
- function reUnion(regexps) {
231
- if (!regexps.length) return "(?!)";
232
- var source = regexps.map(function(s) {
233
- return "(?:" + s + ")";
234
- }).join("|");
235
- return "(?:" + source + ")";
236
- }
237
- function regexpOrLiteral(obj) {
238
- if (typeof obj === "string") {
239
- return "(?:" + reEscape(obj) + ")";
240
- } else if (isRegExp(obj)) {
241
- if (obj.ignoreCase) throw new Error("RegExp /i flag not allowed");
242
- if (obj.global) throw new Error("RegExp /g flag is implied");
243
- if (obj.sticky) throw new Error("RegExp /y flag is implied");
244
- if (obj.multiline) throw new Error("RegExp /m flag is implied");
245
- return obj.source;
246
- } else {
247
- throw new Error("Not a pattern: " + obj);
248
- }
249
- }
250
- function pad(s, length) {
251
- if (s.length > length) {
252
- return s;
253
- }
254
- return Array(length - s.length + 1).join(" ") + s;
255
- }
256
- function lastNLines(string, numLines) {
257
- var position = string.length;
258
- var lineBreaks = 0;
259
- while (true) {
260
- var idx = string.lastIndexOf("\n", position - 1);
261
- if (idx === -1) {
262
- break;
263
- } else {
264
- lineBreaks++;
265
- }
266
- position = idx;
267
- if (lineBreaks === numLines) {
268
- break;
269
- }
270
- if (position === 0) {
271
- break;
272
- }
273
- }
274
- var startPosition = lineBreaks < numLines ? 0 : position + 1;
275
- return string.substring(startPosition).split("\n");
276
- }
277
- function objectToRules(object) {
278
- var keys = Object.getOwnPropertyNames(object);
279
- var result = [];
280
- for (var i = 0; i < keys.length; i++) {
281
- var key = keys[i];
282
- var thing = object[key];
283
- var rules = [].concat(thing);
284
- if (key === "include") {
285
- for (var j = 0; j < rules.length; j++) {
286
- result.push({ include: rules[j] });
287
- }
288
- continue;
289
- }
290
- var match = [];
291
- rules.forEach(function(rule) {
292
- if (isObject(rule)) {
293
- if (match.length) result.push(ruleOptions(key, match));
294
- result.push(ruleOptions(key, rule));
295
- match = [];
296
- } else {
297
- match.push(rule);
298
- }
299
- });
300
- if (match.length) result.push(ruleOptions(key, match));
301
- }
302
- return result;
303
- }
304
- function arrayToRules(array) {
305
- var result = [];
306
- for (var i = 0; i < array.length; i++) {
307
- var obj = array[i];
308
- if (obj.include) {
309
- var include = [].concat(obj.include);
310
- for (var j = 0; j < include.length; j++) {
311
- result.push({ include: include[j] });
312
- }
313
- continue;
314
- }
315
- if (!obj.type) {
316
- throw new Error("Rule has no type: " + JSON.stringify(obj));
317
- }
318
- result.push(ruleOptions(obj.type, obj));
319
- }
320
- return result;
321
- }
322
- function ruleOptions(type, obj) {
323
- if (!isObject(obj)) {
324
- obj = { match: obj };
325
- }
326
- if (obj.include) {
327
- throw new Error("Matching rules cannot also include states");
328
- }
329
- var options = {
330
- defaultType: type,
331
- lineBreaks: !!obj.error || !!obj.fallback,
332
- pop: false,
333
- next: null,
334
- push: null,
335
- error: false,
336
- fallback: false,
337
- value: null,
338
- type: null,
339
- shouldThrow: false
340
- };
341
- for (var key in obj) {
342
- if (hasOwnProperty.call(obj, key)) {
343
- options[key] = obj[key];
344
- }
345
- }
346
- if (typeof options.type === "string" && type !== options.type) {
347
- throw new Error("Type transform cannot be a string (type '" + options.type + "' for token '" + type + "')");
348
- }
349
- var match = options.match;
350
- options.match = Array.isArray(match) ? match : match ? [match] : [];
351
- options.match.sort(function(a, b) {
352
- return isRegExp(a) && isRegExp(b) ? 0 : isRegExp(b) ? -1 : isRegExp(a) ? 1 : b.length - a.length;
353
- });
354
- return options;
355
- }
356
- function toRules(spec) {
357
- return Array.isArray(spec) ? arrayToRules(spec) : objectToRules(spec);
358
- }
359
- var defaultErrorRule = ruleOptions("error", { lineBreaks: true, shouldThrow: true });
360
- function compileRules(rules, hasStates) {
361
- var errorRule = null;
362
- var fast = /* @__PURE__ */ Object.create(null);
363
- var fastAllowed = true;
364
- var unicodeFlag = null;
365
- var groups = [];
366
- var parts = [];
367
- for (var i = 0; i < rules.length; i++) {
368
- if (rules[i].fallback) {
369
- fastAllowed = false;
370
- }
371
- }
372
- for (var i = 0; i < rules.length; i++) {
373
- var options = rules[i];
374
- if (options.include) {
375
- throw new Error("Inheritance is not allowed in stateless lexers");
376
- }
377
- if (options.error || options.fallback) {
378
- if (errorRule) {
379
- if (!options.fallback === !errorRule.fallback) {
380
- throw new Error("Multiple " + (options.fallback ? "fallback" : "error") + " rules not allowed (for token '" + options.defaultType + "')");
381
- } else {
382
- throw new Error("fallback and error are mutually exclusive (for token '" + options.defaultType + "')");
383
- }
384
- }
385
- errorRule = options;
386
- }
387
- var match = options.match.slice();
388
- if (fastAllowed) {
389
- while (match.length && typeof match[0] === "string" && match[0].length === 1) {
390
- var word = match.shift();
391
- fast[word.charCodeAt(0)] = options;
392
- }
393
- }
394
- if (options.pop || options.push || options.next) {
395
- if (!hasStates) {
396
- throw new Error("State-switching options are not allowed in stateless lexers (for token '" + options.defaultType + "')");
397
- }
398
- if (options.fallback) {
399
- throw new Error("State-switching options are not allowed on fallback tokens (for token '" + options.defaultType + "')");
400
- }
401
- }
402
- if (match.length === 0) {
403
- continue;
404
- }
405
- fastAllowed = false;
406
- groups.push(options);
407
- for (var j = 0; j < match.length; j++) {
408
- var obj = match[j];
409
- if (!isRegExp(obj)) {
410
- continue;
411
- }
412
- if (unicodeFlag === null) {
413
- unicodeFlag = obj.unicode;
414
- } else if (unicodeFlag !== obj.unicode && options.fallback === false) {
415
- throw new Error("If one rule is /u then all must be");
416
- }
417
- }
418
- var pat = reUnion(match.map(regexpOrLiteral));
419
- var regexp = new RegExp(pat);
420
- if (regexp.test("")) {
421
- throw new Error("RegExp matches empty string: " + regexp);
422
- }
423
- var groupCount = reGroups(pat);
424
- if (groupCount > 0) {
425
- throw new Error("RegExp has capture groups: " + regexp + "\nUse (?: \u2026 ) instead");
426
- }
427
- if (!options.lineBreaks && regexp.test("\n")) {
428
- throw new Error("Rule should declare lineBreaks: " + regexp);
429
- }
430
- parts.push(reCapture(pat));
431
- }
432
- var fallbackRule = errorRule && errorRule.fallback;
433
- var flags = hasSticky && !fallbackRule ? "ym" : "gm";
434
- var suffix2 = hasSticky || fallbackRule ? "" : "|";
435
- if (unicodeFlag === true) flags += "u";
436
- var combined = new RegExp(reUnion(parts) + suffix2, flags);
437
- return { regexp: combined, groups, fast, error: errorRule || defaultErrorRule };
438
- }
439
- function compile(rules) {
440
- var result = compileRules(toRules(rules));
441
- return new Lexer({ start: result }, "start");
442
- }
443
- function checkStateGroup(g, name, map) {
444
- var state = g && (g.push || g.next);
445
- if (state && !map[state]) {
446
- throw new Error("Missing state '" + state + "' (in token '" + g.defaultType + "' of state '" + name + "')");
447
- }
448
- if (g && g.pop && +g.pop !== 1) {
449
- throw new Error("pop must be 1 (in token '" + g.defaultType + "' of state '" + name + "')");
450
- }
451
- }
452
- function compileStates(states, start) {
453
- var all = states.$all ? toRules(states.$all) : [];
454
- delete states.$all;
455
- var keys = Object.getOwnPropertyNames(states);
456
- if (!start) start = keys[0];
457
- var ruleMap = /* @__PURE__ */ Object.create(null);
458
- for (var i = 0; i < keys.length; i++) {
459
- var key = keys[i];
460
- ruleMap[key] = toRules(states[key]).concat(all);
461
- }
462
- for (var i = 0; i < keys.length; i++) {
463
- var key = keys[i];
464
- var rules = ruleMap[key];
465
- var included = /* @__PURE__ */ Object.create(null);
466
- for (var j = 0; j < rules.length; j++) {
467
- var rule = rules[j];
468
- if (!rule.include) continue;
469
- var splice = [j, 1];
470
- if (rule.include !== key && !included[rule.include]) {
471
- included[rule.include] = true;
472
- var newRules = ruleMap[rule.include];
473
- if (!newRules) {
474
- throw new Error("Cannot include nonexistent state '" + rule.include + "' (in state '" + key + "')");
475
- }
476
- for (var k = 0; k < newRules.length; k++) {
477
- var newRule = newRules[k];
478
- if (rules.indexOf(newRule) !== -1) continue;
479
- splice.push(newRule);
480
- }
481
- }
482
- rules.splice.apply(rules, splice);
483
- j--;
484
- }
485
- }
486
- var map = /* @__PURE__ */ Object.create(null);
487
- for (var i = 0; i < keys.length; i++) {
488
- var key = keys[i];
489
- map[key] = compileRules(ruleMap[key], true);
490
- }
491
- for (var i = 0; i < keys.length; i++) {
492
- var name = keys[i];
493
- var state = map[name];
494
- var groups = state.groups;
495
- for (var j = 0; j < groups.length; j++) {
496
- checkStateGroup(groups[j], name, map);
497
- }
498
- var fastKeys = Object.getOwnPropertyNames(state.fast);
499
- for (var j = 0; j < fastKeys.length; j++) {
500
- checkStateGroup(state.fast[fastKeys[j]], name, map);
501
- }
502
- }
503
- return new Lexer(map, start);
504
- }
505
- function keywordTransform(map) {
506
- var isMap = typeof Map !== "undefined";
507
- var reverseMap = isMap ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null);
508
- var types = Object.getOwnPropertyNames(map);
509
- for (var i = 0; i < types.length; i++) {
510
- var tokenType = types[i];
511
- var item = map[tokenType];
512
- var keywordList = Array.isArray(item) ? item : [item];
513
- keywordList.forEach(function(keyword) {
514
- if (typeof keyword !== "string") {
515
- throw new Error("keyword must be string (in keyword '" + tokenType + "')");
516
- }
517
- if (isMap) {
518
- reverseMap.set(keyword, tokenType);
519
- } else {
520
- reverseMap[keyword] = tokenType;
521
- }
522
- });
523
- }
524
- return function(k) {
525
- return isMap ? reverseMap.get(k) : reverseMap[k];
526
- };
527
- }
528
- var Lexer = function(states, state) {
529
- this.startState = state;
530
- this.states = states;
531
- this.buffer = "";
532
- this.stack = [];
533
- this.reset();
534
- };
535
- Lexer.prototype.reset = function(data, info) {
536
- this.buffer = data || "";
537
- this.index = 0;
538
- this.line = info ? info.line : 1;
539
- this.col = info ? info.col : 1;
540
- this.queuedToken = info ? info.queuedToken : null;
541
- this.queuedText = info ? info.queuedText : "";
542
- this.queuedThrow = info ? info.queuedThrow : null;
543
- this.setState(info ? info.state : this.startState);
544
- this.stack = info && info.stack ? info.stack.slice() : [];
545
- return this;
546
- };
547
- Lexer.prototype.save = function() {
548
- return {
549
- line: this.line,
550
- col: this.col,
551
- state: this.state,
552
- stack: this.stack.slice(),
553
- queuedToken: this.queuedToken,
554
- queuedText: this.queuedText,
555
- queuedThrow: this.queuedThrow
556
- };
557
- };
558
- Lexer.prototype.setState = function(state) {
559
- if (!state || this.state === state) return;
560
- this.state = state;
561
- var info = this.states[state];
562
- this.groups = info.groups;
563
- this.error = info.error;
564
- this.re = info.regexp;
565
- this.fast = info.fast;
566
- };
567
- Lexer.prototype.popState = function() {
568
- this.setState(this.stack.pop());
569
- };
570
- Lexer.prototype.pushState = function(state) {
571
- this.stack.push(this.state);
572
- this.setState(state);
573
- };
574
- var eat = hasSticky ? function(re, buffer) {
575
- return re.exec(buffer);
576
- } : function(re, buffer) {
577
- var match = re.exec(buffer);
578
- if (match[0].length === 0) {
579
- return null;
580
- }
581
- return match;
582
- };
583
- Lexer.prototype._getGroup = function(match) {
584
- var groupCount = this.groups.length;
585
- for (var i = 0; i < groupCount; i++) {
586
- if (match[i + 1] !== void 0) {
587
- return this.groups[i];
588
- }
589
- }
590
- throw new Error("Cannot find token type for matched text");
591
- };
592
- function tokenToString() {
593
- return this.value;
594
- }
595
- Lexer.prototype.next = function() {
596
- var index = this.index;
597
- if (this.queuedGroup) {
598
- var token = this._token(this.queuedGroup, this.queuedText, index);
599
- this.queuedGroup = null;
600
- this.queuedText = "";
601
- return token;
602
- }
603
- var buffer = this.buffer;
604
- if (index === buffer.length) {
605
- return;
606
- }
607
- var group = this.fast[buffer.charCodeAt(index)];
608
- if (group) {
609
- return this._token(group, buffer.charAt(index), index);
610
- }
611
- var re = this.re;
612
- re.lastIndex = index;
613
- var match = eat(re, buffer);
614
- var error = this.error;
615
- if (match == null) {
616
- return this._token(error, buffer.slice(index, buffer.length), index);
617
- }
618
- var group = this._getGroup(match);
619
- var text = match[0];
620
- if (error.fallback && match.index !== index) {
621
- this.queuedGroup = group;
622
- this.queuedText = text;
623
- return this._token(error, buffer.slice(index, match.index), index);
624
- }
625
- return this._token(group, text, index);
626
- };
627
- Lexer.prototype._token = function(group, text, offset) {
628
- var lineBreaks = 0;
629
- if (group.lineBreaks) {
630
- var matchNL = /\n/g;
631
- var nl = 1;
632
- if (text === "\n") {
633
- lineBreaks = 1;
634
- } else {
635
- while (matchNL.exec(text)) {
636
- lineBreaks++;
637
- nl = matchNL.lastIndex;
638
- }
639
- }
640
- }
641
- var token = {
642
- type: typeof group.type === "function" && group.type(text) || group.defaultType,
643
- value: typeof group.value === "function" ? group.value(text) : text,
644
- text,
645
- toString: tokenToString,
646
- offset,
647
- lineBreaks,
648
- line: this.line,
649
- col: this.col
650
- };
651
- var size = text.length;
652
- this.index += size;
653
- this.line += lineBreaks;
654
- if (lineBreaks !== 0) {
655
- this.col = size - nl + 1;
656
- } else {
657
- this.col += size;
658
- }
659
- if (group.shouldThrow) {
660
- var err = new Error(this.formatError(token, "invalid syntax"));
661
- throw err;
662
- }
663
- if (group.pop) this.popState();
664
- else if (group.push) this.pushState(group.push);
665
- else if (group.next) this.setState(group.next);
666
- return token;
667
- };
668
- if (typeof Symbol !== "undefined" && Symbol.iterator) {
669
- var LexerIterator = function(lexer) {
670
- this.lexer = lexer;
671
- };
672
- LexerIterator.prototype.next = function() {
673
- var token = this.lexer.next();
674
- return { value: token, done: !token };
675
- };
676
- LexerIterator.prototype[Symbol.iterator] = function() {
677
- return this;
678
- };
679
- Lexer.prototype[Symbol.iterator] = function() {
680
- return new LexerIterator(this);
681
- };
682
- }
683
- Lexer.prototype.formatError = function(token, message) {
684
- if (token == null) {
685
- var text = this.buffer.slice(this.index);
686
- var token = {
687
- text,
688
- offset: this.index,
689
- lineBreaks: text.indexOf("\n") === -1 ? 0 : 1,
690
- line: this.line,
691
- col: this.col
692
- };
693
- }
694
- var numLinesAround = 2;
695
- var firstDisplayedLine = Math.max(token.line - numLinesAround, 1);
696
- var lastDisplayedLine = token.line + numLinesAround;
697
- var lastLineDigits = String(lastDisplayedLine).length;
698
- var displayedLines = lastNLines(
699
- this.buffer,
700
- this.line - token.line + numLinesAround + 1
701
- ).slice(0, 5);
702
- var errorLines = [];
703
- errorLines.push(message + " at line " + token.line + " col " + token.col + ":");
704
- errorLines.push("");
705
- for (var i = 0; i < displayedLines.length; i++) {
706
- var line = displayedLines[i];
707
- var lineNo = firstDisplayedLine + i;
708
- errorLines.push(pad(String(lineNo), lastLineDigits) + " " + line);
709
- if (lineNo === token.line) {
710
- errorLines.push(pad("", lastLineDigits + token.col + 1) + "^");
711
- }
712
- }
713
- return errorLines.join("\n");
714
- };
715
- Lexer.prototype.clone = function() {
716
- return new Lexer(this.states, this.state);
717
- };
718
- Lexer.prototype.has = function(tokenType) {
719
- return true;
720
- };
721
- return {
722
- compile,
723
- states: compileStates,
724
- error: Object.freeze({ error: true }),
725
- fallback: Object.freeze({ fallback: true }),
726
- keywords: keywordTransform
727
- };
728
- });
729
- }
730
- });
731
-
732
- // node_modules/.pnpm/@messageformat+parser@5.1.1/node_modules/@messageformat/parser/lib/lexer.js
733
- var require_lexer = __commonJS({
734
- "node_modules/.pnpm/@messageformat+parser@5.1.1/node_modules/@messageformat/parser/lib/lexer.js"(exports) {
735
- "use strict";
736
- var __importDefault = exports && exports.__importDefault || function(mod) {
737
- return mod && mod.__esModule ? mod : { "default": mod };
738
- };
739
- Object.defineProperty(exports, "__esModule", { value: true });
740
- exports.lexer = exports.states = void 0;
741
- var moo_1 = __importDefault(require_moo());
742
- exports.states = {
743
- body: {
744
- doubleapos: { match: "''", value: () => "'" },
745
- quoted: {
746
- lineBreaks: true,
747
- match: /'[{}#](?:[^']|'')*'(?!')/u,
748
- value: (src) => src.slice(1, -1).replace(/''/g, "'")
749
- },
750
- argument: {
751
- lineBreaks: true,
752
- match: /\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,
753
- push: "arg",
754
- value: (src) => src.substring(1).trim()
755
- },
756
- octothorpe: "#",
757
- end: { match: "}", pop: 1 },
758
- content: { lineBreaks: true, match: /[^][^{}#']*/u }
759
- },
760
- arg: {
761
- select: {
762
- lineBreaks: true,
763
- match: /,\s*(?:plural|select|selectordinal)\s*,\s*/u,
764
- next: "select",
765
- value: (src) => src.split(",")[1].trim()
766
- },
767
- "func-args": {
768
- lineBreaks: true,
769
- match: /,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,
770
- next: "body",
771
- value: (src) => src.split(",")[1].trim()
772
- },
773
- "func-simple": {
774
- lineBreaks: true,
775
- match: /,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,
776
- value: (src) => src.substring(1).trim()
777
- },
778
- end: { match: "}", pop: 1 }
779
- },
780
- select: {
781
- offset: {
782
- lineBreaks: true,
783
- match: /\s*offset\s*:\s*\d+\s*/u,
784
- value: (src) => src.split(":")[1].trim()
785
- },
786
- case: {
787
- lineBreaks: true,
788
- match: /\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,
789
- push: "body",
790
- value: (src) => src.substring(0, src.indexOf("{")).trim()
791
- },
792
- end: { match: /\s*\}/u, pop: 1 }
793
- }
794
- };
795
- exports.lexer = moo_1.default.states(exports.states);
796
- }
797
- });
798
-
799
- // node_modules/.pnpm/@messageformat+parser@5.1.1/node_modules/@messageformat/parser/lib/parser.js
800
- var require_parser = __commonJS({
801
- "node_modules/.pnpm/@messageformat+parser@5.1.1/node_modules/@messageformat/parser/lib/parser.js"(exports) {
802
- "use strict";
803
- Object.defineProperty(exports, "__esModule", { value: true });
804
- exports.ParseError = void 0;
805
- exports.parse = parse2;
806
- var lexer_js_1 = require_lexer();
807
- var getContext = (lt) => ({
808
- offset: lt.offset,
809
- line: lt.line,
810
- col: lt.col,
811
- text: lt.text,
812
- lineBreaks: lt.lineBreaks
813
- });
814
- var isSelectType = (type) => type === "plural" || type === "select" || type === "selectordinal";
815
- function strictArgStyleParam(lt, param) {
816
- let value = "";
817
- let text = "";
818
- for (const p of param) {
819
- const pText = p.ctx.text;
820
- text += pText;
821
- switch (p.type) {
822
- case "content":
823
- value += p.value;
824
- break;
825
- case "argument":
826
- case "function":
827
- case "octothorpe":
828
- value += pText;
829
- break;
830
- default:
831
- throw new ParseError(lt, `Unsupported part in strict mode function arg style: ${pText}`);
832
- }
833
- }
834
- const c = {
835
- type: "content",
836
- value: value.trim(),
837
- ctx: Object.assign({}, param[0].ctx, { text })
838
- };
839
- return [c];
840
- }
841
- var strictArgTypes = [
842
- "number",
843
- "date",
844
- "time",
845
- "spellout",
846
- "ordinal",
847
- "duration"
848
- ];
849
- var defaultPluralKeys = ["zero", "one", "two", "few", "many", "other"];
850
- var ParseError = class extends Error {
851
- /** @internal */
852
- constructor(lt, msg) {
853
- super(lexer_js_1.lexer.formatError(lt, msg));
854
- }
855
- };
856
- exports.ParseError = ParseError;
857
- var Parser = class {
858
- constructor(src, opt) {
859
- var _a, _b, _c, _d;
860
- this.lexer = lexer_js_1.lexer.reset(src);
861
- this.cardinalKeys = (_a = opt === null || opt === void 0 ? void 0 : opt.cardinal) !== null && _a !== void 0 ? _a : defaultPluralKeys;
862
- this.ordinalKeys = (_b = opt === null || opt === void 0 ? void 0 : opt.ordinal) !== null && _b !== void 0 ? _b : defaultPluralKeys;
863
- this.strict = (_c = opt === null || opt === void 0 ? void 0 : opt.strict) !== null && _c !== void 0 ? _c : false;
864
- this.strictPluralKeys = (_d = opt === null || opt === void 0 ? void 0 : opt.strictPluralKeys) !== null && _d !== void 0 ? _d : true;
865
- }
866
- parse() {
867
- return this.parseBody(false, true);
868
- }
869
- checkSelectKey(lt, type, key) {
870
- if (key[0] === "=") {
871
- if (type === "select") {
872
- throw new ParseError(lt, `The case ${key} is not valid with select`);
873
- }
874
- } else if (type !== "select") {
875
- const keys = type === "plural" ? this.cardinalKeys : this.ordinalKeys;
876
- if (this.strictPluralKeys && keys.length > 0 && !keys.includes(key)) {
877
- const msg = `The ${type} case ${key} is not valid in this locale`;
878
- throw new ParseError(lt, msg);
879
- }
880
- }
881
- }
882
- parseSelect({ value: arg }, inPlural, ctx, type) {
883
- const sel = { type, arg, cases: [], ctx };
884
- if (type === "plural" || type === "selectordinal")
885
- inPlural = true;
886
- else if (this.strict)
887
- inPlural = false;
888
- for (const lt of this.lexer) {
889
- switch (lt.type) {
890
- case "offset":
891
- if (type === "select") {
892
- throw new ParseError(lt, "Unexpected plural offset for select");
893
- }
894
- if (sel.cases.length > 0) {
895
- throw new ParseError(lt, "Plural offset must be set before cases");
896
- }
897
- sel.pluralOffset = Number(lt.value);
898
- ctx.text += lt.text;
899
- ctx.lineBreaks += lt.lineBreaks;
900
- break;
901
- case "case": {
902
- this.checkSelectKey(lt, type, lt.value);
903
- sel.cases.push({
904
- key: lt.value,
905
- tokens: this.parseBody(inPlural),
906
- ctx: getContext(lt)
907
- });
908
- break;
909
- }
910
- case "end":
911
- return sel;
912
- default:
913
- throw new ParseError(lt, `Unexpected lexer token: ${lt.type}`);
914
- }
915
- }
916
- throw new ParseError(null, "Unexpected message end");
917
- }
918
- parseArgToken(lt, inPlural) {
919
- const ctx = getContext(lt);
920
- const argType = this.lexer.next();
921
- if (!argType)
922
- throw new ParseError(null, "Unexpected message end");
923
- ctx.text += argType.text;
924
- ctx.lineBreaks += argType.lineBreaks;
925
- if (this.strict && (argType.type === "func-simple" || argType.type === "func-args") && !strictArgTypes.includes(argType.value)) {
926
- const msg = `Invalid strict mode function arg type: ${argType.value}`;
927
- throw new ParseError(lt, msg);
928
- }
929
- switch (argType.type) {
930
- case "end":
931
- return { type: "argument", arg: lt.value, ctx };
932
- case "func-simple": {
933
- const end = this.lexer.next();
934
- if (!end)
935
- throw new ParseError(null, "Unexpected message end");
936
- if (end.type !== "end") {
937
- throw new ParseError(end, `Unexpected lexer token: ${end.type}`);
938
- }
939
- ctx.text += end.text;
940
- if (isSelectType(argType.value.toLowerCase())) {
941
- throw new ParseError(argType, `Invalid type identifier: ${argType.value}`);
942
- }
943
- return {
944
- type: "function",
945
- arg: lt.value,
946
- key: argType.value,
947
- ctx
948
- };
949
- }
950
- case "func-args": {
951
- if (isSelectType(argType.value.toLowerCase())) {
952
- const msg = `Invalid type identifier: ${argType.value}`;
953
- throw new ParseError(argType, msg);
954
- }
955
- let param = this.parseBody(this.strict ? false : inPlural);
956
- if (this.strict && param.length > 0) {
957
- param = strictArgStyleParam(lt, param);
958
- }
959
- return {
960
- type: "function",
961
- arg: lt.value,
962
- key: argType.value,
963
- param,
964
- ctx
965
- };
966
- }
967
- case "select":
968
- if (isSelectType(argType.value)) {
969
- return this.parseSelect(lt, inPlural, ctx, argType.value);
970
- } else {
971
- throw new ParseError(argType, `Unexpected select type ${argType.value}`);
972
- }
973
- default:
974
- throw new ParseError(argType, `Unexpected lexer token: ${argType.type}`);
975
- }
976
- }
977
- parseBody(inPlural, atRoot) {
978
- const tokens = [];
979
- let content = null;
980
- for (const lt of this.lexer) {
981
- if (lt.type === "argument") {
982
- if (content)
983
- content = null;
984
- tokens.push(this.parseArgToken(lt, inPlural));
985
- } else if (lt.type === "octothorpe" && inPlural) {
986
- if (content)
987
- content = null;
988
- tokens.push({ type: "octothorpe", ctx: getContext(lt) });
989
- } else if (lt.type === "end" && !atRoot) {
990
- return tokens;
991
- } else {
992
- let value = lt.value;
993
- if (!inPlural && lt.type === "quoted" && value[0] === "#") {
994
- if (value.includes("{")) {
995
- const errMsg = `Unsupported escape pattern: ${value}`;
996
- throw new ParseError(lt, errMsg);
997
- }
998
- value = lt.text;
999
- }
1000
- if (content) {
1001
- content.value += value;
1002
- content.ctx.text += lt.text;
1003
- content.ctx.lineBreaks += lt.lineBreaks;
1004
- } else {
1005
- content = { type: "content", value, ctx: getContext(lt) };
1006
- tokens.push(content);
1007
- }
1008
- }
1009
- }
1010
- if (atRoot)
1011
- return tokens;
1012
- throw new ParseError(null, "Unexpected message end");
1013
- }
1014
- };
1015
- function parse2(src, options = {}) {
1016
- const parser = new Parser(src, options);
1017
- return parser.parse();
1018
- }
1019
- }
1020
- });
1021
-
1022
- // packages/expandable/index.js
1023
- import { css, html as html3 } from "lit";
1024
-
1025
- // node_modules/.pnpm/@chbphone55+classnames@2.0.0/node_modules/@chbphone55/classnames/dist/index.m.js
1026
- var r = function() {
1027
- for (var t = [], n = arguments.length; n--; ) t[n] = arguments[n];
1028
- return t.reduce(function(t2, n2) {
1029
- return t2.concat("string" == typeof n2 ? n2 : Array.isArray(n2) ? r.apply(void 0, n2) : "object" == typeof n2 && n2 ? Object.keys(n2).map(function(r2) {
1030
- return n2[r2] ? r2 : "";
1031
- }) : "");
1032
- }, []).join(" ");
1033
- };
1034
-
1035
- // node_modules/.pnpm/@warp-ds+css@2.1.1_@warp-ds+uno@2.1.0_unocss@0.62.0_postcss@8.5.1_rollup@4.32.1_vite@5.3.3_@t_sgrraibu65gdmqpe655kfrpl6a/node_modules/@warp-ds/css/component-classes/index.js
1036
- var box = {
1037
- base: "group block relative break-words last-child:mb-0 p-16 rounded-8",
1038
- // Relative here enables w-clickable
1039
- bleed: "-mx-16 sm:mx-0 rounded-l-0 rounded-r-0 sm:rounded-8",
1040
- // We target L and R to override the default rounded-8
1041
- info: "s-bg-info-subtle",
1042
- neutral: "s-surface-sunken",
1043
- bordered: "border-2 s-border s-bg"
1044
- };
1045
- var expandable = {
1046
- wrapper: "will-change-height s-text",
1047
- box: "s-surface-sunken hover:s-bg-hover active:s-bg-active py-0 px-0 group block relative break-words last-child:mb-0 rounded-8",
1048
- bleed: "-mx-16 rounded-l-0 rounded-r-0 sm:mx-0 sm:rounded-8",
1049
- chevron: "inline-block align-middle s-icon",
1050
- chevronNonBox: "ml-8",
1051
- chevronTransform: "transform transition-transform transform-gpu ease-in-out",
1052
- chevronExpand: "-rotate-180",
1053
- chevronCollapse: "rotate-180",
1054
- // These are web component specific classes, using the ::part-selector:
1055
- elementsChevronDownTransform: "part-[w-icon-chevron-down-16-part]:transform part-[w-icon-chevron-down-16-part]:transition-transform part-[w-icon-chevron-down-16-part]:transform-gpu part-[w-icon-chevron-down-16-part]:ease-in-out",
1056
- elementsChevronUpTransform: "part-[w-icon-chevron-up-16-part]:transform part-[w-icon-chevron-up-16-part]:transition-transform part-[w-icon-chevron-up-16-part]:transform-gpu part-[w-icon-chevron-up-16-part]:ease-in-out",
1057
- elementsChevronExpand: "part-[w-icon-chevron-down-16-part]:-rotate-180",
1058
- elementsChevronCollapse: "part-[w-icon-chevron-up-16-part]:rotate-180",
1059
- expansion: "overflow-hidden",
1060
- expansionNotExpanded: "h-0 invisible",
1061
- button: "focus:outline-none appearance-none cursor-pointer bg-transparent border-0 m-0 hover:underline focus-visible:underline",
1062
- buttonBox: "w-full text-left relative inline-flex items-center justify-between group relative break-words last-child:mb-0 p-16 rounded-8",
1063
- contentWithTitle: "pt-0",
1064
- title: "flex w-full justify-between items-center",
1065
- titleType: "t4"
1066
- };
1067
- var buttonDefaultStyling = "font-bold focusable justify-center transition-colors ease-in-out";
1068
- var buttonColors = {
1069
- primary: "s-text-inverted bg-[--w-color-button-primary-background] hover:bg-[--w-color-button-primary-background-hover] active:bg-[--w-color-button-primary-background-active]",
1070
- secondary: "s-text-link s-border s-bg hover:s-bg-hover hover:s-border-hover active:s-bg-active",
1071
- utility: "s-text s-bg hover:s-bg-hover active:s-bg-active s-border hover:s-border-hover active:s-border-active",
1072
- destructive: "s-bg-negative s-text-inverted hover:s-bg-negative-hover active:s-bg-negative-active",
1073
- pill: "s-icon hover:s-icon-hover active:s-icon-active bg-transparent hover:bg-[--w-color-button-pill-background-hover] active:bg-[--w-color-button-pill-background-active]",
1074
- disabled: "s-text-inverted s-bg-disabled",
1075
- quiet: "bg-transparent s-text-link hover:s-bg-hover active:s-bg-active",
1076
- utilityQuiet: "s-text bg-transparent hover:s-bg-hover active:s-bg-active",
1077
- negativeQuiet: "bg-transparent s-text-negative hover:s-bg-negative-subtle-hover active:s-bg-negative-subtle-active",
1078
- loading: "s-text s-bg-subtle",
1079
- link: "s-text-link"
1080
- };
1081
- var buttonTypes = {
1082
- primary: `border-0 rounded-8 ${buttonDefaultStyling}`,
1083
- secondary: `border-2 rounded-8 ${buttonDefaultStyling}`,
1084
- utility: `border rounded-4 ${buttonDefaultStyling}`,
1085
- negative: `border-0 rounded-8 ${buttonDefaultStyling}`,
1086
- pill: `p-4 rounded-full border-0 inline-flex items-center justify-center hover:bg-clip-padding ${buttonDefaultStyling}`,
1087
- link: `bg-transparent focusable ease-in-out inline active:underline hover:underline focus:underline ${buttonColors.link}`
1088
- };
1089
- var buttonSizes = {
1090
- xsmall: "py-6 px-16",
1091
- small: "py-8 px-16",
1092
- medium: "py-10 px-14",
1093
- large: "py-12 px-16",
1094
- utility: "py-[11px] px-[15px]",
1095
- smallUtility: "py-[7px] px-[15px]",
1096
- pill: "min-h-[44px] min-w-[44px]",
1097
- pillSmall: "min-h-32 min-w-32",
1098
- link: "p-0"
1099
- };
1100
- var buttonTextSizes = {
1101
- medium: "text-m leading-[24]",
1102
- xsmall: "text-xs"
1103
- };
1104
- var buttonVariants = {
1105
- inProgress: `border-transparent animate-inprogress pointer-events-none ${buttonColors.loading}`,
1106
- // .button--in-progress, a.button--in-progress:visited
1107
- quiet: `border-0 rounded-8 ${buttonDefaultStyling}`,
1108
- utilityQuiet: `border-0 rounded-4 ${buttonDefaultStyling}`,
1109
- negativeQuiet: `border-0 rounded-8 ${buttonDefaultStyling}`,
1110
- isDisabled: `font-bold justify-center transition-colors ease-in-out cursor-default pointer-events-none ${buttonColors.disabled}`
1111
- // .button:disabled, .button--is-disabled
1112
- };
1113
- var button = {
1114
- // Buttontypes
1115
- secondary: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonColors.secondary}`,
1116
- // .button--secondary, .button--default, .button
1117
- secondaryHref: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonColors.secondary}`,
1118
- secondaryDisabled: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonVariants.isDisabled}`,
1119
- secondarySmall: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonColors.secondary}`,
1120
- secondarySmallDisabled: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonVariants.isDisabled}`,
1121
- secondaryQuiet: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonColors.quiet}`,
1122
- secondaryQuietDisabled: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`,
1123
- secondarySmallQuiet: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonColors.quiet}`,
1124
- secondarySmallQuietDisabled: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`,
1125
- secondaryLoading: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonTypes.secondary} ${buttonVariants.inProgress}`,
1126
- secondarySmallLoading: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonTypes.secondary} ${buttonVariants.inProgress}`,
1127
- secondarySmallQuietLoading: `${buttonTextSizes.xsmall} ${buttonSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.inProgress}`,
1128
- secondaryQuietLoading: `${buttonSizes.medium} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.inProgress}`,
1129
- primary: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.primary} ${buttonColors.primary}`,
1130
- // .button--primary, .button--cta
1131
- primaryDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.isDisabled} ${buttonTypes.primary}`,
1132
- primarySmall: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.primary} ${buttonColors.primary}`,
1133
- primarySmallDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.isDisabled} ${buttonTypes.primary} `,
1134
- primaryQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonColors.quiet}`,
1135
- primaryQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`,
1136
- primarySmallQuiet: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonColors.quiet}`,
1137
- primarySmallQuietDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.isDisabled}`,
1138
- primaryLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.inProgress} ${buttonTypes.primary}`,
1139
- primarySmallLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonTypes.primary}`,
1140
- primarySmallQuietLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.quiet} ${buttonVariants.inProgress} ${buttonTypes.primary}`,
1141
- primaryQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.quiet} ${buttonVariants.inProgress}`,
1142
- utility: `${buttonSizes.utility} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonColors.utility}`,
1143
- // .button--utility
1144
- utilityDisabled: `${buttonSizes.utility} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonVariants.isDisabled}`,
1145
- utilityQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.utilityQuiet} ${buttonColors.utilityQuiet}`,
1146
- // .button--utility-flat
1147
- utilityQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.utilityQuiet} ${buttonVariants.isDisabled}`,
1148
- utilitySmall: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonColors.utility}`,
1149
- utilitySmallDisabled: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonVariants.isDisabled}`,
1150
- utilitySmallQuiet: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.utilityQuiet} ${buttonColors.utilityQuiet}`,
1151
- utilitySmallQuietDisabled: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.utilityQuiet} ${buttonVariants.isDisabled}`,
1152
- utilityLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.utility} ${buttonVariants.inProgress}`,
1153
- utilitySmallLoading: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonTypes.utility} ${buttonVariants.inProgress}`,
1154
- utilityQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.inProgress} ${buttonVariants.utilityQuiet}`,
1155
- utilitySmallQuietLoading: `${buttonSizes.smallUtility} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonVariants.utilityQuiet}`,
1156
- negative: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonColors.destructive}`,
1157
- // .button--destructive
1158
- negativeDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonVariants.isDisabled}`,
1159
- negativeQuiet: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet} ${buttonColors.negativeQuiet}`,
1160
- // .button--destructive-flat
1161
- negativeQuietDisabled: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet}${buttonVariants.isDisabled}`,
1162
- negativeSmall: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.negative} ${buttonColors.destructive}`,
1163
- negativeSmallDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonTypes.negative} ${buttonVariants.isDisabled}`,
1164
- negativeSmallQuiet: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonColors.negativeQuiet}`,
1165
- negativeSmallQuietDisabled: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonVariants.isDisabled}`,
1166
- negativeLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonTypes.negative} ${buttonVariants.inProgress}`,
1167
- negativeSmallLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.inProgress} ${buttonTypes.negative}`,
1168
- negativeQuietLoading: `${buttonSizes.large} ${buttonTextSizes.medium} ${buttonVariants.negativeQuiet} ${buttonTypes.negative} ${buttonVariants.inProgress}`,
1169
- negativeSmallQuietLoading: `${buttonSizes.small} ${buttonTextSizes.xsmall} ${buttonVariants.negativeQuiet} ${buttonVariants.inProgress}`,
1170
- pill: `${buttonSizes.pill} ${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonColors.pill}`,
1171
- // .button--pill
1172
- pillSmall: `${buttonSizes.pillSmall} ${buttonTextSizes.xsmall} ${buttonTypes.pill} ${buttonColors.pill}`,
1173
- pillLoading: `${buttonSizes.pill} ${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonVariants.inProgress}`,
1174
- pillSmallLoading: `${buttonSizes.pillSmall} ${buttonTextSizes.xsmall} ${buttonTypes.pill} ${buttonVariants.inProgress}`,
1175
- link: `${buttonSizes.link} ${buttonTextSizes.medium} ${buttonTypes.link}`,
1176
- linkSmall: `${buttonSizes.link} ${buttonTextSizes.xsmall} ${buttonTypes.link}`,
1177
- linkAsButton: "inline-block active:no-underline hover:no-underline focus:no-underline text-center",
1178
- a11y: "sr-only",
1179
- fullWidth: "w-full max-w-full",
1180
- contentWidth: "max-w-max"
1181
- };
1182
- var modal = {
1183
- backdrop: "fixed inset-0 flex sm:place-content-center sm:place-items-center items-end z-30 [--w-modal-max-height:80%] [--w-modal-width:640px] bg-[--w-black/25]",
1184
- base: "pb-safe-[32] shadow-m max-h-[--w-modal-max-height] min-h-[--w-modal-min-height] w-[--w-modal-width] h-[--w-modal-height] relative transition-300 ease-in-out backface-hidden will-change-height rounded-8 mx-0 sm:mx-16 bg-[--w-s-color-surface-elevated-100] flex flex-col overflow-hidden outline-none space-y-16 pt-8 sm:pt-32 sm:pb-32 rounded-b-0 sm:rounded-b-8",
1185
- content: "block overflow-y-auto overflow-x-hidden last-child:mb-0 grow shrink px-16 sm:px-32 relative",
1186
- footer: "flex justify-end shrink-0 px-16 sm:px-32",
1187
- transitionTitle: "transition-all duration-300",
1188
- transitionTitleCenter: "justify-self-center self-center",
1189
- transitionTitleColSpan: "col-span-2",
1190
- title: "py-8 sm:py-0 -mt-4 sm:-mt-8 min-h-40 sm:min-h-48 grid gap-8 sm:gap-16 grid-cols-[auto_1fr_auto] items-start px-16 sm:px-32 border-b sm:border-b-0 shrink-0",
1191
- titleText: "mb-0 h4 sm:h3",
1192
- titleButton: `${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonColors.pill} sm:min-h-[44px] sm:min-w-[44px] min-h-[32px] min-w-[32px]`,
1193
- titleButtonLeft: "-ml-8 sm:-ml-12 justify-self-start",
1194
- titleButtonRight: "-mr-8 sm:-mr-12 justify-self-end",
1195
- titleButtonIcon: "h-16 w-16 sm:h-24 sm:w-24",
1196
- titleButtonIconRotated: "transform rotate-90"
1197
- };
1198
- var prefixSuffixWrapper = "absolute top-0 bottom-0 flex justify-center items-center focusable rounded-4 focus:[--w-outline-offset:-2px] bg-transparent ";
1199
- var suffix = {
1200
- wrapper: prefixSuffixWrapper + "right-0",
1201
- wrapperWithLabel: "w-max pr-12",
1202
- wrapperWithIcon: "w-40",
1203
- label: "antialiased block relative cursor-default pb-0 font-bold text-xs s-text"
1204
- };
1205
- var prefix = {
1206
- wrapper: prefixSuffixWrapper + "left-0",
1207
- wrapperWithLabel: "w-max pl-12",
1208
- wrapperWithIcon: "w-40",
1209
- label: "antialiased block relative cursor-default pb-0 font-bold text-xs s-text"
1210
- };
1211
- var toggle = {
1212
- // wrapper classes
1213
- field: "relative text-m",
1214
- // true
1215
- wrapper: "relative py-1",
1216
- // true
1217
- wrapperRadioButtons: "inline-flex font-bold rounded-8 focus-within:focusable",
1218
- // isRadioButton && !isEqualWidth
1219
- wrapperRadioButtonsJustified: "flex font-bold rounded-8 focus-within:focusable",
1220
- // isRadioButton && isEqualWidth,
1221
- // group classes
1222
- radioButtonsGroup: "group",
1223
- // isRadioButton
1224
- radioButtonsGroupJustified: "grow-1 shrink-0 basis-auto",
1225
- // isRadioButton && isEqualWidth
1226
- // input classes
1227
- input: "peer",
1228
- a11y: "sr-only",
1229
- // label classes
1230
- label: "peer-focus:focusable cursor-pointer text-m s-text s-border py-2 pl-28 select-none relative block before:border before:absolute before:transition-all before:left-0 before:w-20 before:h-20 before:top-2",
1231
- // !isRadioButton
1232
- labelBefore: 'before:content-[""] before:block',
1233
- // !isRadioButton && !isIndeterminate
1234
- checkbox: "before:s-bg before:rounded-2 hover:before:s-border-primary hover:before:s-bg-hover peer-checked:before:bg-center peer-checked:before:bg-[url(var(--w-icon-toggle-checked))] peer-checked:before:s-border-primary peer-checked:before:s-bg-primary peer-checked:peer-hover:before:s-border-primary-hover peer-checked:peer-hover:before:s-bg-primary-hover",
1235
- // isCheckbox && !isIndeterminate && !isInvalid && !isDisabled
1236
- checkboxInvalid: "before:s-bg before:s-border-negative before:rounded-2 hover:before:s-bg-negative-subtle-hover hover:before:s-border-negative-hover peer-checked:before:bg-center peer-checked:before:bg-[url(var(--w-icon-toggle-checked))] peer-checked:before:s-bg-negative peer-checked:before:s-border-negative peer-checked:peer-hover:before:s-bg-negative-hover peer-checked:peer-hover:before:s-border-negative-hover",
1237
- // isCheckbox && !isIndeterminate && isInvalid && !isDisabled
1238
- checkboxDisabled: "before:s-bg-disabled-subtle before:s-border-disabled pointer-events-none before:rounded-2 peer-checked:before:bg-center peer-checked:before:bg-[url(var(--w-icon-toggle-checked))] peer-checked:before:s-border-disabled peer-checked:before:s-bg-disabled",
1239
- // isCheckbox && !isIndeterminate && !isInvalid && isDisabled
1240
- indeterminate: 'before:content-["\u2013"] before:rounded-2 before:leading-xs before:text-center before:font-bold before:s-icon-inverted peer-indeterminate:before:s-border-primary peer-indeterminate:before:s-bg-primary peer-indeterminate:hover:before:s-border-primary-hover peer-indeterminate:hover:before:s-bg-primary-hover',
1241
- // isCheckbox && isIndeterminate && !isInvalid && !isDisabled
1242
- indeterminateInvalid: 'before:content-["\u2013"] before:rounded-2 before:leading-xs before:text-center before:font-bold before:s-icon-inverted peer-indeterminate:before:s-border-negative peer-indeterminate:before:s-bg-negative peer-indeterminate:hover:before:s-border-negative-hover peer-indeterminate:hover:before:s-bg-negative-hover',
1243
- // isCheckbox && isIndeterminate && isInvalid && !isDisabled
1244
- indeterminateDisabled: 'before:content-["\u2013"] before:rounded-2 before:leading-xs before:text-center before:font-bold pointer-events-none before:s-icon-inverted peer-indeterminate:before:s-border-disabled peer-indeterminate:before:s-bg-disabled',
1245
- // isCheckbox && isIndeterminate && !isInvalid && isDisabled
1246
- radio: "before:s-bg before:rounded-full peer-checked:before:border-[6] peer-checked:before:s-border-selected peer-checked:peer-hover:before:s-border-selected-hover peer-hover:before:s-border-primary peer-hover:before:s-bg-hover",
1247
- // isRadio && !isDisabled && !isInvalid
1248
- radioInvalid: "before:s-bg before:s-border-negative before:rounded-full peer-checked:before:border-[6] peer-hover:before:s-bg-negative-subtle peer-hover:before:s-border-negative-hover peer-checked:before:s-border-negative peer-checked:peer-hover:before:s-border-negative-hover",
1249
- // isRadio && isInvalid && !isDisabled
1250
- radioDisabled: "before:s-bg-disabled-subtle before:s-border-disabled pointer-events-none before:rounded-full peer-checked:before:border-[6]",
1251
- // isRadio && !isInvalid && isDisabled
1252
- radioButtonsLabel: "peer-hover:peer-not-checked:s-bg-hover peer-checked:s-text-inverted peer-checked:s-bg-primary peer-checked:s-border-primary block relative font-bold cursor-pointer s-text-link text-center s-bg border-2 s-border group-first-of-type:rounded-tl-8 group-first-of-type:rounded-bl-8 group-last-of-type:rounded-tr-8 group-last-of-type:rounded-br-8 group-not-last-of-type:border-r-0 peer-checked:z-10 group-not-first:-ml-2",
1253
- // isRadioButtons
1254
- radioButtonsRegular: "text-s py-8 pl-12 pr-14",
1255
- // isRadioButtons && !isSmall
1256
- radioButtonsSmall: "text-xs py-[5px] px-[8px]"
1257
- // isRadioButtons && isSmall
1258
- };
1259
- var deadToggle = {
1260
- wrapper: `${toggle.wrapper} h-20 w-20 pointer-events-none`,
1261
- input: `${toggle.input} hidden`,
1262
- inputVue: "hidden",
1263
- labelVue: "-mt-2",
1264
- labelRadio: `${toggle.label} ${toggle.labelBefore} ${toggle.radio}`,
1265
- labelCheckbox: `${toggle.label} ${toggle.labelBefore} ${toggle.checkbox}`
1266
- };
1267
- var attention = {
1268
- base: "border-2 relative flex items-start",
1269
- tooltip: "s-bg-inverted border-[--w-s-color-background-inverted] shadow-m s-text-inverted-static rounded-4 py-6 px-8",
1270
- callout: "bg-[--w-color-callout-background] border-[--w-color-callout-border] s-text py-8 px-16 rounded-8",
1271
- highlight: "bg-[--w-color-callout-background] border-[--w-color-callout-border] s-text py-8 px-16 rounded-8 drop-shadow-m translate-z-0",
1272
- popover: "bg-[--w-s-color-surface-elevated-300] border-[--w-s-color-surface-elevated-300] s-text rounded-8 p-16 drop-shadow-m translate-z-0",
1273
- arrowBase: "absolute h-[14px] w-[14px] border-2 border-b-0 border-r-0 rounded-tl-4 transform",
1274
- arrowDirectionLeftStart: "-left-[8px]",
1275
- arrowDirectionLeft: "-left-[8px]",
1276
- arrowDirectionLeftEnd: "-left-[8px]",
1277
- arrowDirectionRightStart: "-right-[8px]",
1278
- arrowDirectionRight: "-right-[8px]",
1279
- arrowDirectionRightEnd: "-right-[8px]",
1280
- arrowDirectionBottomStart: "-bottom-[8px]",
1281
- arrowDirectionBottom: "-bottom-[8px]",
1282
- arrowDirectionBottomEnd: "-bottom-[8px]",
1283
- arrowDirectionTopStart: "-top-[8px]",
1284
- arrowDirectionTop: "-top-[8px]",
1285
- arrowDirectionTopEnd: "-top-[8px]",
1286
- arrowTooltip: "s-bg-inverted border-[--w-s-color-background-inverted]",
1287
- arrowCallout: "bg-[--w-color-callout-background] border-[--w-color-callout-border]",
1288
- arrowPopover: "bg-[--w-s-color-surface-elevated-300] border-[--w-s-color-surface-elevated-300]",
1289
- arrowHighlight: "bg-[--w-color-callout-background] border-[--w-color-callout-border]",
1290
- content: "last-child:mb-0",
1291
- notCallout: "absolute z-50",
1292
- closeBtn: `${buttonTextSizes.medium} ${buttonTypes.pill} ${buttonColors.pill} justify-self-end -mr-8 ml-8`
1293
- };
1294
-
1295
- // packages/expandable/index.js
1296
- import WarpElement from "@warp-ds/elements-core";
1297
- import { ifDefined } from "lit/directives/if-defined.js";
1298
-
1299
- // packages/utils/index.js
1300
- import { classMap } from "lit/directives/class-map.js";
1301
- var camelCaseToKebabCase = (str) => str.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
1302
- function kebabCaseAttributes(constructor) {
1303
- return class extends constructor {
1304
- static createProperty(name, options) {
1305
- let customOptions = options;
1306
- if (typeof (options == null ? void 0 : options.attribute) === "undefined" || (options == null ? void 0 : options.attribute) === true) {
1307
- customOptions = Object.assign({}, options, {
1308
- attribute: camelCaseToKebabCase(name.toString())
1309
- });
1310
- }
1311
- super.createProperty(name, customOptions);
1312
- }
1313
- };
1314
- }
1315
-
1316
- // node_modules/.pnpm/@warp-ds+icons@2.5.0_@lingui+core@5.2.0_@lingui+babel-plugin-lingui-macro@5.2.0_babel-plugin-_hyhbgchrkasknlbocfng7geeci/node_modules/@warp-ds/icons/dist/elements/chevron-down-16.js
1317
- import { LitElement } from "lit";
1318
- import { unsafeStatic, html } from "lit/static-html.js";
1319
-
1320
- // node_modules/.pnpm/@lingui+core@5.2.0_@lingui+babel-plugin-lingui-macro@5.2.0_babel-plugin-macros@3.1.0_typescri_qfhfd5z2jpd4amxt2golzdalsi/node_modules/@lingui/core/dist/index.mjs
1321
- var import_unraw = __toESM(require_dist(), 1);
1322
-
1323
- // node_modules/.pnpm/@lingui+message-utils@5.2.0/node_modules/@lingui/message-utils/dist/compileMessage.mjs
1324
- var import_parser = __toESM(require_parser(), 1);
1325
- var DateFormatError = class extends Error {
1326
- /** @internal */
1327
- constructor(msg, token, type) {
1328
- super(msg);
1329
- this.token = token;
1330
- this.type = type || "error";
1331
- }
1332
- };
1333
- var alpha = (width) => width < 4 ? "short" : width === 4 ? "long" : "narrow";
1334
- var numeric = (width) => width % 2 === 0 ? "2-digit" : "numeric";
1335
- function yearOptions(token, onError) {
1336
- switch (token.char) {
1337
- case "y":
1338
- return { year: numeric(token.width) };
1339
- case "r":
1340
- return { calendar: "gregory", year: "numeric" };
1341
- case "u":
1342
- case "U":
1343
- case "Y":
1344
- default:
1345
- onError(`${token.desc} is not supported; falling back to year:numeric`, DateFormatError.WARNING);
1346
- return { year: "numeric" };
1347
- }
1348
- }
1349
- function monthStyle(token, onError) {
1350
- switch (token.width) {
1351
- case 1:
1352
- return "numeric";
1353
- case 2:
1354
- return "2-digit";
1355
- case 3:
1356
- return "short";
1357
- case 4:
1358
- return "long";
1359
- case 5:
1360
- return "narrow";
1361
- default:
1362
- onError(`${token.desc} is not supported with width ${token.width}`);
1363
- return void 0;
1364
- }
1365
- }
1366
- function dayStyle(token, onError) {
1367
- const { char, desc, width } = token;
1368
- if (char === "d") {
1369
- return numeric(width);
1370
- } else {
1371
- onError(`${desc} is not supported`);
1372
- return void 0;
1373
- }
1374
- }
1375
- function weekdayStyle(token, onError) {
1376
- const { char, desc, width } = token;
1377
- if ((char === "c" || char === "e") && width < 3) {
1378
- const msg = `Numeric value is not supported for ${desc}; falling back to weekday:short`;
1379
- onError(msg, DateFormatError.WARNING);
1
+ var Ur=Object.create;var pe=Object.defineProperty;var Ne=Object.getOwnPropertyDescriptor;var Lr=Object.getOwnPropertyNames;var Yr=Object.getPrototypeOf,jr=Object.prototype.hasOwnProperty;var Te=o=>{throw TypeError(o)};var Ue=(o,e)=>()=>(e||o((e={exports:{}}).exports,e),e.exports);var Rr=(o,e,r,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Lr(e))!jr.call(o,a)&&a!==r&&pe(o,a,{get:()=>e[a],enumerable:!(t=Ne(e,a))||t.enumerable});return o};var Dr=(o,e,r)=>(r=o!=null?Ur(Yr(o)):{},Rr(e||!o||!o.__esModule?pe(r,"default",{value:o,enumerable:!0}):r,o));var y=(o,e,r,t)=>{for(var a=t>1?void 0:t?Ne(e,r):e,i=o.length-1,n;i>=0;i--)(n=o[i])&&(a=(t?n(e,r,a):n(a))||a);return t&&a&&pe(e,r,a),a};var Xr=(o,e,r)=>e.has(o)||Te("Cannot "+r);var P=(o,e,r)=>(Xr(o,e,"read from private field"),r?r.call(o):e.get(o)),Le=(o,e,r)=>e.has(o)?Te("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(o):e.set(o,r);var dr=Ue(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});j.errorMessages=j.ErrorType=void 0;var H;(function(o){o.MalformedUnicode="MALFORMED_UNICODE",o.MalformedHexadecimal="MALFORMED_HEXADECIMAL",o.CodePointLimit="CODE_POINT_LIMIT",o.OctalDeprecation="OCTAL_DEPRECATION",o.EndOfString="END_OF_STRING"})(H=j.ErrorType||(j.ErrorType={}));j.errorMessages=new Map([[H.MalformedUnicode,"malformed Unicode character escape sequence"],[H.MalformedHexadecimal,"malformed hexadecimal character escape sequence"],[H.CodePointLimit,"Unicode codepoint must not be greater than 0x10FFFF in escape sequence"],[H.OctalDeprecation,'"0"-prefixed octal literals and octal escape sequences are deprecated; for octal literals use the "0o" prefix instead'],[H.EndOfString,"malformed escape sequence at end of string"]])});var ur=Ue(S=>{"use strict";Object.defineProperty(S,"__esModule",{value:!0});S.unraw=S.errorMessages=S.ErrorType=void 0;var v=dr();Object.defineProperty(S,"ErrorType",{enumerable:!0,get:function(){return v.ErrorType}});Object.defineProperty(S,"errorMessages",{enumerable:!0,get:function(){return v.errorMessages}});function rt(o){return!o.match(/[^a-f0-9]/i)?parseInt(o,16):NaN}function ie(o,e,r){let t=rt(o);if(Number.isNaN(t)||r!==void 0&&r!==o.length)throw new SyntaxError(v.errorMessages.get(e));return t}function tt(o){let e=ie(o,v.ErrorType.MalformedHexadecimal,2);return String.fromCharCode(e)}function pr(o,e){let r=ie(o,v.ErrorType.MalformedUnicode,4);if(e!==void 0){let t=ie(e,v.ErrorType.MalformedUnicode,4);return String.fromCharCode(r,t)}return String.fromCharCode(r)}function ot(o){return o.charAt(0)==="{"&&o.charAt(o.length-1)==="}"}function at(o){if(!ot(o))throw new SyntaxError(v.errorMessages.get(v.ErrorType.MalformedUnicode));let e=o.slice(1,-1),r=ie(e,v.ErrorType.MalformedUnicode);try{return String.fromCodePoint(r)}catch(t){throw t instanceof RangeError?new SyntaxError(v.errorMessages.get(v.ErrorType.CodePointLimit)):t}}function nt(o,e=!1){if(e)throw new SyntaxError(v.errorMessages.get(v.ErrorType.OctalDeprecation));let r=parseInt(o,8);return String.fromCharCode(r)}var it=new Map([["b","\b"],["f","\f"],["n",`
2
+ `],["r","\r"],["t"," "],["v","\v"],["0","\0"]]);function st(o){return it.get(o)||o}var lt=/\\(?:(\\)|x([\s\S]{0,2})|u(\{[^}]*\}?)|u([\s\S]{4})\\u([^{][\s\S]{0,3})|u([\s\S]{0,4})|([0-3]?[0-7]{1,2})|([\s\S])|$)/g;function hr(o,e=!1){return o.replace(lt,function(r,t,a,i,n,l,s,c,d){if(t!==void 0)return"\\";if(a!==void 0)return tt(a);if(i!==void 0)return at(i);if(n!==void 0)return pr(n,l);if(s!==void 0)return pr(s);if(c==="0")return"\0";if(c!==void 0)return nt(c,!e);if(d!==void 0)return st(d);throw new SyntaxError(v.errorMessages.get(v.ErrorType.EndOfString))})}S.unraw=hr;S.default=hr});var W=globalThis,ee=W.ShadowRoot&&(W.ShadyCSS===void 0||W.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,he=Symbol(),Ye=new WeakMap,Z=class{constructor(e,r,t){if(this._$cssResult$=!0,t!==he)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(ee&&e===void 0){let t=r!==void 0&&r.length===1;t&&(e=Ye.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),t&&Ye.set(r,e))}return e}toString(){return this.cssText}},je=o=>new Z(typeof o=="string"?o:o+"",void 0,he),E=(o,...e)=>{let r=o.length===1?o[0]:e.reduce((t,a,i)=>t+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(a)+o[i+1],o[0]);return new Z(r,o,he)},Re=(o,e)=>{if(ee)o.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let t=document.createElement("style"),a=W.litNonce;a!==void 0&&t.setAttribute("nonce",a),t.textContent=r.cssText,o.appendChild(t)}},ue=ee?o=>o:o=>o instanceof CSSStyleSheet?(e=>{let r="";for(let t of e.cssRules)r+=t.cssText;return je(r)})(o):o;var{is:Hr,defineProperty:Zr,getOwnPropertyDescriptor:Br,getOwnPropertyNames:Ir,getOwnPropertySymbols:qr,getPrototypeOf:Fr}=Object,C=globalThis,De=C.trustedTypes,Jr=De?De.emptyScript:"",be=C.reactiveElementPolyfillSupport,B=(o,e)=>o,I={toAttribute(o,e){switch(e){case Boolean:o=o?Jr:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,e){let r=o;switch(e){case Boolean:r=o!==null;break;case Number:r=o===null?null:Number(o);break;case Object:case Array:try{r=JSON.parse(o)}catch(t){r=null}}return r}},re=(o,e)=>!Hr(o,e),Xe={attribute:!0,type:String,converter:I,reflect:!1,useDefault:!1,hasChanged:re},He,Ze;(He=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Ze=C.litPropertyMetadata)!=null||(C.litPropertyMetadata=new WeakMap);var $=class extends HTMLElement{static addInitializer(e){var r;this._$Ei(),((r=this.l)!=null?r:this.l=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Xe){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let t=Symbol(),a=this.getPropertyDescriptor(e,t,r);a!==void 0&&Zr(this.prototype,e,a)}}static getPropertyDescriptor(e,r,t){var n;let{get:a,set:i}=(n=Br(this.prototype,e))!=null?n:{get(){return this[r]},set(l){this[r]=l}};return{get:a,set(l){let s=a==null?void 0:a.call(this);i==null||i.call(this,l),this.requestUpdate(e,s,t)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){var r;return(r=this.elementProperties.get(e))!=null?r:Xe}static _$Ei(){if(this.hasOwnProperty(B("elementProperties")))return;let e=Fr(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(B("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(B("properties"))){let r=this.properties,t=[...Ir(r),...qr(r)];for(let a of t)this.createProperty(a,r[a])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[t,a]of r)this.elementProperties.set(t,a)}this._$Eh=new Map;for(let[r,t]of this.elementProperties){let a=this._$Eu(r,t);a!==void 0&&this._$Eh.set(a,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let t=new Set(e.flat(1/0).reverse());for(let a of t)r.unshift(ue(a))}else e!==void 0&&r.push(ue(e));return r}static _$Eu(e,r){let t=r.attribute;return t===!1?void 0:typeof t=="string"?t:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(r=>r(this))}addController(e){var r,t;((r=this._$EO)!=null?r:this._$EO=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&((t=e.hostConnected)==null||t.call(e))}removeController(e){var r;(r=this._$EO)==null||r.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let t of r.keys())this.hasOwnProperty(t)&&(e.set(t,this[t]),delete this[t]);e.size>0&&(this._$Ep=e)}createRenderRoot(){var r;let e=(r=this.shadowRoot)!=null?r:this.attachShadow(this.constructor.shadowRootOptions);return Re(e,this.constructor.elementStyles),e}connectedCallback(){var e,r;(e=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(r=this._$EO)==null||r.forEach(t=>{var a;return(a=t.hostConnected)==null?void 0:a.call(t)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(r=>{var t;return(t=r.hostDisconnected)==null?void 0:t.call(r)})}attributeChangedCallback(e,r,t){this._$AK(e,t)}_$ET(e,r){var i;let t=this.constructor.elementProperties.get(e),a=this.constructor._$Eu(e,t);if(a!==void 0&&t.reflect===!0){let n=(((i=t.converter)==null?void 0:i.toAttribute)!==void 0?t.converter:I).toAttribute(r,t.type);this._$Em=e,n==null?this.removeAttribute(a):this.setAttribute(a,n),this._$Em=null}}_$AK(e,r){var i,n,l;let t=this.constructor,a=t._$Eh.get(e);if(a!==void 0&&this._$Em!==a){let s=t.getPropertyOptions(a),c=typeof s.converter=="function"?{fromAttribute:s.converter}:((i=s.converter)==null?void 0:i.fromAttribute)!==void 0?s.converter:I;this._$Em=a;let d=c.fromAttribute(r,s.type);this[a]=(l=d!=null?d:(n=this._$Ej)==null?void 0:n.get(a))!=null?l:d,this._$Em=null}}requestUpdate(e,r,t){var a,i;if(e!==void 0){let n=this.constructor,l=this[e];if(t!=null||(t=n.getPropertyOptions(e)),!(((a=t.hasChanged)!=null?a:re)(l,r)||t.useDefault&&t.reflect&&l===((i=this._$Ej)==null?void 0:i.get(e))&&!this.hasAttribute(n._$Eu(e,t))))return;this.C(e,r,t)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:t,reflect:a,wrapped:i},n){var l,s,c;t&&!((l=this._$Ej)!=null?l:this._$Ej=new Map).has(e)&&(this._$Ej.set(e,(s=n!=null?n:r)!=null?s:this[e]),i!==!0||n!==void 0)||(this._$AL.has(e)||(this.hasUpdated||t||(r=void 0),this._$AL.set(e,r)),a===!0&&this._$Em!==e&&((c=this._$Eq)!=null?c:this._$Eq=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t,a;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((t=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[n,l]of this._$Ep)this[n]=l;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,l]of i){let{wrapped:s}=l,c=this[n];s!==!0||this._$AL.has(n)||c===void 0||this.C(n,void 0,l,c)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),(a=this._$EO)==null||a.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(r)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){var r;(r=this._$EO)==null||r.forEach(t=>{var a;return(a=t.hostUpdated)==null?void 0:a.call(t)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&(this._$Eq=this._$Eq.forEach(r=>this._$ET(r,this[r]))),this._$EM()}updated(e){}firstUpdated(e){}},Be;$.elementStyles=[],$.shadowRootOptions={mode:"open"},$[B("elementProperties")]=new Map,$[B("finalized")]=new Map,be==null||be({ReactiveElement:$}),((Be=C.reactiveElementVersions)!=null?Be:C.reactiveElementVersions=[]).push("2.1.1");var F=globalThis,te=F.trustedTypes,Ie=te?te.createPolicy("lit-html",{createHTML:o=>o}):void 0,Qe="$lit$",z=`lit$${Math.random().toFixed(9).slice(2)}$`,We="?"+z,Vr=`<${We}>`,U=document,J=()=>U.createComment(""),V=o=>o===null||typeof o!="object"&&typeof o!="function",ke=Array.isArray,Kr=o=>ke(o)||typeof(o==null?void 0:o[Symbol.iterator])=="function",ve=`[
3
+ \f\r]`,q=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,qe=/-->/g,Fe=/>/g,N=RegExp(`>|${ve}(?:([^\\s"'>=/]+)(${ve}*=${ve}*(?:[^
4
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Je=/'/g,Ve=/"/g,er=/^(?:script|style|textarea|title)$/i,_e=o=>(e,...r)=>({_$litType$:o,strings:e,values:r}),w=_e(1),rr=_e(2),tr=_e(3),L=Symbol.for("lit-noChange"),h=Symbol.for("lit-nothing"),Ke=new WeakMap,T=U.createTreeWalker(U,129);function or(o,e){if(!ke(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ie!==void 0?Ie.createHTML(e):e}var Gr=(o,e)=>{let r=o.length-1,t=[],a,i=e===2?"<svg>":e===3?"<math>":"",n=q;for(let l=0;l<r;l++){let s=o[l],c,d,p=-1,x=0;for(;x<s.length&&(n.lastIndex=x,d=n.exec(s),d!==null);)x=n.lastIndex,n===q?d[1]==="!--"?n=qe:d[1]!==void 0?n=Fe:d[2]!==void 0?(er.test(d[2])&&(a=RegExp("</"+d[2],"g")),n=N):d[3]!==void 0&&(n=N):n===N?d[0]===">"?(n=a!=null?a:q,p=-1):d[1]===void 0?p=-2:(p=n.lastIndex-d[2].length,c=d[1],n=d[3]===void 0?N:d[3]==='"'?Ve:Je):n===Ve||n===Je?n=N:n===qe||n===Fe?n=q:(n=N,a=void 0);let u=n===N&&o[l+1].startsWith("/>")?" ":"";i+=n===q?s+Vr:p>=0?(t.push(c),s.slice(0,p)+Qe+s.slice(p)+z+u):s+z+(p===-2?l:u)}return[or(o,i+(o[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),t]},K=class o{constructor({strings:e,_$litType$:r},t){let a;this.parts=[];let i=0,n=0,l=e.length-1,s=this.parts,[c,d]=Gr(e,r);if(this.el=o.createElement(c,t),T.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(a=T.nextNode())!==null&&s.length<l;){if(a.nodeType===1){if(a.hasAttributes())for(let p of a.getAttributeNames())if(p.endsWith(Qe)){let x=d[n++],u=a.getAttribute(p).split(z),M=/([.?@])?(.*)/.exec(x);s.push({type:1,index:i,name:M[2],strings:u,ctor:M[1]==="."?we:M[1]==="?"?fe:M[1]==="@"?xe:X}),a.removeAttribute(p)}else p.startsWith(z)&&(s.push({type:6,index:i}),a.removeAttribute(p));if(er.test(a.tagName)){let p=a.textContent.split(z),x=p.length-1;if(x>0){a.textContent=te?te.emptyScript:"";for(let u=0;u<x;u++)a.append(p[u],J()),T.nextNode(),s.push({type:2,index:++i});a.append(p[x],J())}}}else if(a.nodeType===8)if(a.data===We)s.push({type:2,index:i});else{let p=-1;for(;(p=a.data.indexOf(z,p+1))!==-1;)s.push({type:7,index:i}),p+=z.length-1}i++}}static createElement(e,r){let t=U.createElement("template");return t.innerHTML=e,t}};function D(o,e,r=o,t){var n,l,s;if(e===L)return e;let a=t!==void 0?(n=r._$Co)==null?void 0:n[t]:r._$Cl,i=V(e)?void 0:e._$litDirective$;return(a==null?void 0:a.constructor)!==i&&((l=a==null?void 0:a._$AO)==null||l.call(a,!1),i===void 0?a=void 0:(a=new i(o),a._$AT(o,r,t)),t!==void 0?((s=r._$Co)!=null?s:r._$Co=[])[t]=a:r._$Cl=a),a!==void 0&&(e=D(o,a._$AS(o,e.values),a,t)),e}var me=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var c;let{el:{content:r},parts:t}=this._$AD,a=((c=e==null?void 0:e.creationScope)!=null?c:U).importNode(r,!0);T.currentNode=a;let i=T.nextNode(),n=0,l=0,s=t[0];for(;s!==void 0;){if(n===s.index){let d;s.type===2?d=new G(i,i.nextSibling,this,e):s.type===1?d=new s.ctor(i,s.name,s.strings,this,e):s.type===6&&(d=new ye(i,this,e)),this._$AV.push(d),s=t[++l]}n!==(s==null?void 0:s.index)&&(i=T.nextNode(),n++)}return T.currentNode=U,a}p(e){let r=0;for(let t of this._$AV)t!==void 0&&(t.strings!==void 0?(t._$AI(e,t,r),r+=t.strings.length-2):t._$AI(e[r])),r++}},G=class o{get _$AU(){var e,r;return(r=(e=this._$AM)==null?void 0:e._$AU)!=null?r:this._$Cv}constructor(e,r,t,a){var i;this.type=2,this._$AH=h,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=t,this.options=a,this._$Cv=(i=a==null?void 0:a.isConnected)!=null?i:!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=D(this,e,r),V(e)?e===h||e==null||e===""?(this._$AH!==h&&this._$AR(),this._$AH=h):e!==this._$AH&&e!==L&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Kr(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==h&&V(this._$AH)?this._$AA.nextSibling.data=e:this.T(U.createTextNode(e)),this._$AH=e}$(e){var i;let{values:r,_$litType$:t}=e,a=typeof t=="number"?this._$AC(e):(t.el===void 0&&(t.el=K.createElement(or(t.h,t.h[0]),this.options)),t);if(((i=this._$AH)==null?void 0:i._$AD)===a)this._$AH.p(r);else{let n=new me(a,this),l=n.u(this.options);n.p(r),this.T(l),this._$AH=n}}_$AC(e){let r=Ke.get(e.strings);return r===void 0&&Ke.set(e.strings,r=new K(e)),r}k(e){ke(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,t,a=0;for(let i of e)a===r.length?r.push(t=new o(this.O(J()),this.O(J()),this,this.options)):t=r[a],t._$AI(i),a++;a<r.length&&(this._$AR(t&&t._$AB.nextSibling,a),r.length=a)}_$AR(e=this._$AA.nextSibling,r){var t;for((t=this._$AP)==null?void 0:t.call(this,!1,!0,r);e!==this._$AB;){let a=e.nextSibling;e.remove(),e=a}}setConnected(e){var r;this._$AM===void 0&&(this._$Cv=e,(r=this._$AP)==null||r.call(this,e))}},X=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,t,a,i){this.type=1,this._$AH=h,this._$AN=void 0,this.element=e,this.name=r,this._$AM=a,this.options=i,t.length>2||t[0]!==""||t[1]!==""?(this._$AH=Array(t.length-1).fill(new String),this.strings=t):this._$AH=h}_$AI(e,r=this,t,a){let i=this.strings,n=!1;if(i===void 0)e=D(this,e,r,0),n=!V(e)||e!==this._$AH&&e!==L,n&&(this._$AH=e);else{let l=e,s,c;for(e=i[0],s=0;s<i.length-1;s++)c=D(this,l[t+s],r,s),c===L&&(c=this._$AH[s]),n||(n=!V(c)||c!==this._$AH[s]),c===h?e=h:e!==h&&(e+=(c!=null?c:"")+i[s+1]),this._$AH[s]=c}n&&!a&&this.j(e)}j(e){e===h?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e!=null?e:"")}},we=class extends X{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===h?void 0:e}},fe=class extends X{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==h)}},xe=class extends X{constructor(e,r,t,a,i){super(e,r,t,a,i),this.type=5}_$AI(e,r=this){var n;if((e=(n=D(this,e,r,0))!=null?n:h)===L)return;let t=this._$AH,a=e===h&&t!==h||e.capture!==t.capture||e.once!==t.once||e.passive!==t.passive,i=e!==h&&(t===h||a);a&&this.element.removeEventListener(this.name,this,t),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var r,t;typeof this._$AH=="function"?this._$AH.call((t=(r=this.options)==null?void 0:r.host)!=null?t:this.element,e):this._$AH.handleEvent(e)}},ye=class{constructor(e,r,t){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=t}get _$AU(){return this._$AM._$AU}_$AI(e){D(this,e)}};var ge=F.litHtmlPolyfillSupport,Ge;ge==null||ge(K,G),((Ge=F.litHtmlVersions)!=null?Ge:F.litHtmlVersions=[]).push("3.3.1");var ar=(o,e,r)=>{var i,n;let t=(i=r==null?void 0:r.renderBefore)!=null?i:e,a=t._$litPart$;if(a===void 0){let l=(n=r==null?void 0:r.renderBefore)!=null?n:null;t._$litPart$=a=new G(e.insertBefore(J(),l),l,void 0,r!=null?r:{})}return a._$AI(o),a};var Y=globalThis,k=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var r,t;let e=super.createRenderRoot();return(t=(r=this.renderOptions).renderBefore)!=null||(r.renderBefore=e.firstChild),e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ar(r,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return L}},nr;k._$litElement$=!0,k.finalized=!0,(nr=Y.litElementHydrateSupport)==null||nr.call(Y,{LitElement:k});var $e=Y.litElementPolyfillSupport;$e==null||$e({LitElement:k});var ir;((ir=Y.litElementVersions)!=null?ir:Y.litElementVersions=[]).push("4.2.1");var A=function(){for(var o=[],e=arguments.length;e--;)o[e]=arguments[e];return o.reduce(function(r,t){return r.concat(typeof t=="string"?t:Array.isArray(t)?A.apply(void 0,t):typeof t=="object"&&t?Object.keys(t).map(function(a){return t[a]?a:""}):"")},[]).join(" ")};var Qr={attribute:!0,type:String,converter:I,reflect:!1,hasChanged:re},Wr=(o=Qr,e,r)=>{let{kind:t,metadata:a}=r,i=globalThis.litPropertyMetadata.get(a);if(i===void 0&&globalThis.litPropertyMetadata.set(a,i=new Map),t==="setter"&&((o=Object.create(o)).wrapped=!0),i.set(r.name,o),t==="accessor"){let{name:n}=r;return{set(l){let s=e.get.call(this);e.set.call(this,l),this.requestUpdate(n,s,o)},init(l){return l!==void 0&&this.C(n,void 0,o,l),l}}}if(t==="setter"){let{name:n}=r;return function(l){let s=this[n];e.call(this,l),this.requestUpdate(n,s,o)}}throw Error("Unsupported decorator location: "+t)};function f(o){return(e,r)=>typeof r=="object"?Wr(o,e,r):((t,a,i)=>{let n=a.hasOwnProperty(i);return a.constructor.createProperty(i,t),n?Object.getOwnPropertyDescriptor(a,i):void 0})(o,e,r)}var sr=o=>o!=null?o:h;var cr=Symbol.for(""),et=o=>{if((o==null?void 0:o.r)===cr)return o==null?void 0:o._$litStatic$},ae=o=>({_$litStatic$:o,r:cr});var lr=new Map,Ae=o=>(e,...r)=>{let t=r.length,a,i,n=[],l=[],s,c=0,d=!1;for(;c<t;){for(s=e[c];c<t&&(i=r[c],(a=et(i))!==void 0);)s+=a+e[++c],d=!0;c!==t&&l.push(i),n.push(s),c++}if(c===t&&n.push(e[t]),d){let p=n.join("$$lit$$");(e=lr.get(p))===void 0&&(n.raw=n,lr.set(p,e=n)),r=l}return o(e,...r)},ne=Ae(w),jo=Ae(rr),Ro=Ae(tr);var gr=Dr(ur(),1);var O=o=>typeof o=="string",ct=o=>typeof o=="function",br=new Map,mr="en";function ze(o){return[...Array.isArray(o)?o:[o],mr]}function Oe(o,e,r){let t=ze(o);r||(r="default");let a;if(typeof r=="string")switch(a={day:"numeric",month:"short",year:"numeric"},r){case"full":a.weekday="long";case"long":a.month="long";break;case"short":a.month="numeric";break}else a=r;return se(()=>le("date",t,r),()=>new Intl.DateTimeFormat(t,a)).format(O(e)?new Date(e):e)}function dt(o,e,r){let t;if(r||(r="default"),typeof r=="string")switch(t={second:"numeric",minute:"numeric",hour:"numeric"},r){case"full":case"long":t.timeZoneName="short";break;case"short":delete t.second}else t=r;return Oe(o,e,t)}function Se(o,e,r){let t=ze(o);return se(()=>le("number",t,r),()=>new Intl.NumberFormat(t,r)).format(e)}function vr(o,e,r,{offset:t=0,...a}){var l,s;let i=ze(o),n=e?se(()=>le("plural-ordinal",i),()=>new Intl.PluralRules(i,{type:"ordinal"})):se(()=>le("plural-cardinal",i),()=>new Intl.PluralRules(i,{type:"cardinal"}));return(s=(l=a[r])!=null?l:a[n.select(r-t)])!=null?s:a.other}function se(o,e){let r=o(),t=br.get(r);return t||(t=e(),br.set(r,t)),t}function le(o,e,r){let t=e.join("-");return`${o}-${t}-${JSON.stringify(r)}`}var wr=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,fr="%__lingui_octothorpe__%",pt=(o,e,r={})=>{let t=e||o,a=n=>typeof n=="object"?n:r[n],i=(n,l)=>{let s=Object.keys(r).length?a("number"):void 0,c=Se(t,n,s);return l.replace(new RegExp(fr,"g"),c)};return{plural:(n,l)=>{let{offset:s=0}=l,c=vr(t,!1,n,l);return i(n-s,c)},selectordinal:(n,l)=>{let{offset:s=0}=l,c=vr(t,!0,n,l);return i(n-s,c)},select:ht,number:(n,l)=>Se(t,n,a(l)||{style:l}),date:(n,l)=>Oe(t,n,a(l)||l),time:(n,l)=>dt(t,n,a(l)||l)}},ht=(o,e)=>{var r;return(r=e[o])!=null?r:e.other};function ut(o,e,r){return(t={},a)=>{let i=pt(e,r,a),n=(s,c=!1)=>Array.isArray(s)?s.reduce((d,p)=>{if(p==="#"&&c)return d+fr;if(O(p))return d+p;let[x,u,M]=p,ce={};u==="plural"||u==="selectordinal"||u==="select"?Object.entries(M).forEach(([de,Tr])=>{ce[de]=n(Tr,u==="plural"||u==="selectordinal")}):ce=M;let Q;if(u){let de=i[u];Q=de(t[x],ce)}else Q=t[x];return Q==null?d:d+Q},""):s,l=n(o);return O(l)&&wr.test(l)?(0,gr.unraw)(l):O(l)?l:l?String(l):""}}var bt=Object.defineProperty,vt=(o,e,r)=>e in o?bt(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r,gt=(o,e,r)=>(vt(o,typeof e!="symbol"?e+"":e,r),r),Ee=class{constructor(){gt(this,"_events",{})}on(e,r){var a;var t;return(a=(t=this._events)[e])!=null||(t[e]=[]),this._events[e].push(r),()=>this.removeListener(e,r)}removeListener(e,r){let t=this._getListeners(e);if(!t)return;let a=t.indexOf(r);~a&&t.splice(a,1)}emit(e,...r){let t=this._getListeners(e);t&&t.map(a=>a.apply(this,r))}_getListeners(e){let r=this._events[e];return Array.isArray(r)?r:!1}},mt=Object.defineProperty,wt=(o,e,r)=>e in o?mt(o,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[e]=r,R=(o,e,r)=>(wt(o,typeof e!="symbol"?e+"":e,r),r),Ce=class extends Ee{constructor(e){var r;super(),R(this,"_locale",""),R(this,"_locales"),R(this,"_localeData",{}),R(this,"_messages",{}),R(this,"_missing"),R(this,"_messageCompiler"),R(this,"t",this._.bind(this)),e.missing!=null&&(this._missing=e.missing),e.messages!=null&&this.load(e.messages),e.localeData!=null&&this.loadLocaleData(e.localeData),(typeof e.locale=="string"||e.locales)&&this.activate((r=e.locale)!=null?r:mr,e.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){var e;return(e=this._messages[this._locale])!=null?e:{}}get localeData(){var e;return(e=this._localeData[this._locale])!=null?e:{}}_loadLocaleData(e,r){let t=this._localeData[e];t?Object.assign(t,r):this._localeData[e]=r}setMessagesCompiler(e){return this._messageCompiler=e,this}loadLocaleData(e,r){typeof e=="string"?this._loadLocaleData(e,r):Object.keys(e).forEach(t=>this._loadLocaleData(t,e[t])),this.emit("change")}_load(e,r){let t=this._messages[e];t?Object.assign(t,r):this._messages[e]=r}load(e,r){typeof e=="string"&&typeof r=="object"?this._load(e,r):Object.entries(e).forEach(([t,a])=>this._load(t,a)),this.emit("change")}loadAndActivate({locale:e,locales:r,messages:t}){this._locale=e,this._locales=r||void 0,this._messages[this._locale]=t,this.emit("change")}activate(e,r){this._locale=e,this._locales=r,this.emit("change")}_(e,r,t){if(!this.locale)throw new Error("Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic.");let a=t==null?void 0:t.message;e||(e=""),O(e)||(r=e.values||r,a=e.message,e=e.id);let i=this.messages[e],n=i===void 0,l=this._missing;if(l&&n)return ct(l)?l(this._locale,e):l;n&&this.emit("missing",{id:e,locale:this._locale});let s=i||a||e;return O(s)&&(this._messageCompiler?s=this._messageCompiler(s):console.warn(`Uncompiled message detected! Message:
5
+
6
+ > ${s}
7
+
8
+ That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.
9
+ ICU features such as interpolation and plurals will not work properly for that message.
10
+
11
+ Please compile your catalog first.
12
+ `)),O(s)&&wr.test(s)?JSON.parse(`"${s}"`):O(s)?s:ut(s,this._locale,this._locales)(r,t==null?void 0:t.formats)}date(e,r){return Oe(this._locales||this._locale,e,r)}number(e,r){return Se(this._locales||this._locale,e,r)}};function ft(o={}){return new Ce(o)}var _=ft();var xt=JSON.parse('{"icon.title.chevron-down":["Nedoverpil"]}'),yt=JSON.parse('{"icon.title.chevron-down":["Downward arrow"]}'),kt=JSON.parse('{"icon.title.chevron-down":["Nuoli alasp\xE4in"]}'),_t=JSON.parse('{"icon.title.chevron-down":["Pil nedad"]}'),$t=JSON.parse('{"icon.title.chevron-down":["Pil ned"]}'),xr=["en","nb","fi","da","sv"],yr="en",At=()=>{var o;let e;switch((o=process==null?void 0:process.env)==null?void 0:o.NMP_BRAND){case"FINN":e="nb";break;case"TORI":e="fi";break;case"BLOCKET":e="sv";break;case"DBA":e="da";break;default:e="en"}return e},kr=()=>{var o;let e=(o=document==null?void 0:document.location)==null?void 0:o.hostname;return e!=null&&e.includes("finn")?"nb":e.includes("tori")?"fi":e.includes("blocket")?"sv":e.includes("dba")?"da":yr},Me=o=>xr.find(e=>o===e||o.toLowerCase().includes(e))||kr();function St(){var o;if(typeof window=="undefined"){let e=At();return Me(e)}try{let e=(o=document==null?void 0:document.documentElement)==null?void 0:o.lang,r=kr();return xr.includes(e)?Me(e!=null?e:r):(console.warn("Unsupported locale set in html lang tag, falling back to detection by hostname"),Me(r))}catch(e){return console.warn("could not detect locale, falling back to source locale",e),yr}}var Et=(o,e,r,t,a,i)=>o==="nb"?r:o==="fi"?t:o==="da"?a:o==="sv"?i:e,Ct=(o,e,r,t,a)=>{let i=St(),n=Et(i,o,e,r,t,a);_.load(i,n),_.activate(i)};Ct(yt,xt,kt,_t,$t);var zt=class extends k{render(){let o=_.t({message:"Downward arrow",id:"icon.title.chevron-down",comment:"Title for chevron-down icon"});return ne`<svg xmlns="http://www.w3.org/2000/svg"width="16"height="16"fill="none"viewBox="0 0 16 16" part="w-icon-chevron-down-16-part">${ae(`<title>${o}</title>`)}<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m2.667 5.333 5.5 5.5 5.5-5.5"></path></svg>`}};customElements.get("w-icon-chevron-down-16")||customElements.define("w-icon-chevron-down-16",zt);var Ot=JSON.parse('{"icon.title.chevron-up":["Oppoverpil"]}'),Mt=JSON.parse('{"icon.title.chevron-up":["Upward arrow"]}'),Pt=JSON.parse('{"icon.title.chevron-up":["Nuoli yl\xF6sp\xE4in"]}'),Nt=JSON.parse('{"icon.title.chevron-up":["Pil opad"]}'),Tt=JSON.parse('{"icon.title.chevron-up":["Pil upp"]}'),_r=["en","nb","fi","da","sv"],$r="en",Ut=()=>{var o;let e;switch((o=process==null?void 0:process.env)==null?void 0:o.NMP_BRAND){case"FINN":e="nb";break;case"TORI":e="fi";break;case"BLOCKET":e="sv";break;case"DBA":e="da";break;default:e="en"}return e},Ar=()=>{var o;let e=(o=document==null?void 0:document.location)==null?void 0:o.hostname;return e!=null&&e.includes("finn")?"nb":e.includes("tori")?"fi":e.includes("blocket")?"sv":e.includes("dba")?"da":$r},Pe=o=>_r.find(e=>o===e||o.toLowerCase().includes(e))||Ar();function Lt(){var o;if(typeof window=="undefined"){let e=Ut();return Pe(e)}try{let e=(o=document==null?void 0:document.documentElement)==null?void 0:o.lang,r=Ar();return _r.includes(e)?Pe(e!=null?e:r):(console.warn("Unsupported locale set in html lang tag, falling back to detection by hostname"),Pe(r))}catch(e){return console.warn("could not detect locale, falling back to source locale",e),$r}}var Yt=(o,e,r,t,a,i)=>o==="nb"?r:o==="fi"?t:o==="da"?a:o==="sv"?i:e,jt=(o,e,r,t,a)=>{let i=Lt(),n=Yt(i,o,e,r,t,a);_.load(i,n),_.activate(i)};jt(Mt,Ot,Pt,Nt,Tt);var Rt=class extends k{render(){let o=_.t({message:"Upward arrow",id:"icon.title.chevron-up",comment:"Title for chevron-up icon"});return ne`<svg xmlns="http://www.w3.org/2000/svg"width="16"height="16"fill="none"viewBox="0 0 16 16" part="w-icon-chevron-up-16-part">${ae(`<title>${o}</title>`)}<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2.5 11 8 5.5l5.5 5.5"></path></svg>`}};customElements.get("w-icon-chevron-up-16")||customElements.define("w-icon-chevron-up-16",Rt);var Sr=E`
13
+ *,
14
+ :before,
15
+ :after {
16
+ box-sizing: border-box;
17
+ border-style: solid;
18
+ border-width: 0;
19
+ border-color: var(--w-s-color-border);
1380
20
  }
1381
- return alpha(width);
1382
- }
1383
- function hourOptions(token) {
1384
- const hour = numeric(token.width);
1385
- let hourCycle;
1386
- switch (token.char) {
1387
- case "h":
1388
- hourCycle = "h12";
1389
- break;
1390
- case "H":
1391
- hourCycle = "h23";
1392
- break;
1393
- case "k":
1394
- hourCycle = "h24";
1395
- break;
1396
- case "K":
1397
- hourCycle = "h11";
1398
- break;
21
+ html {
22
+ font-size: 62.5%;
1399
23
  }
1400
- return hourCycle ? { hour, hourCycle } : { hour };
1401
- }
1402
- function timeZoneNameStyle(token, onError) {
1403
- const { char, desc, width } = token;
1404
- switch (char) {
1405
- case "v":
1406
- case "z":
1407
- return width === 4 ? "long" : "short";
1408
- case "V":
1409
- if (width === 4)
1410
- return "long";
1411
- onError(`${desc} is not supported with width ${width}`);
1412
- return void 0;
1413
- case "X":
1414
- onError(`${desc} is not supported`);
1415
- return void 0;
24
+ body {
25
+ background-color: var(--w-s-color-background);
26
+ min-height: 100%;
27
+ margin: 0;
28
+ overflow-y: scroll;
1416
29
  }
1417
- return "short";
1418
- }
1419
- function compileOptions(token, onError) {
1420
- switch (token.field) {
1421
- case "era":
1422
- return { era: alpha(token.width) };
1423
- case "year":
1424
- return yearOptions(token, onError);
1425
- case "month":
1426
- return { month: monthStyle(token, onError) };
1427
- case "day":
1428
- return { day: dayStyle(token, onError) };
1429
- case "weekday":
1430
- return { weekday: weekdayStyle(token, onError) };
1431
- case "period":
1432
- return void 0;
1433
- case "hour":
1434
- return hourOptions(token);
1435
- case "min":
1436
- return { minute: numeric(token.width) };
1437
- case "sec":
1438
- return { second: numeric(token.width) };
1439
- case "tz":
1440
- return { timeZoneName: timeZoneNameStyle(token, onError) };
1441
- case "quarter":
1442
- case "week":
1443
- case "sec-frac":
1444
- case "ms":
1445
- onError(`${token.desc} is not supported`);
30
+ body,
31
+ :host {
32
+ -webkit-text-size-adjust: 100%;
33
+ tab-size: 4;
34
+ -webkit-tap-highlight-color: transparent;
35
+ font-family: var(--w-font-family);
36
+ font-size: var(--w-font-size-m);
37
+ line-height: var(--w-line-height-m);
38
+ color: var(--w-s-color-text);
1446
39
  }
1447
- return void 0;
1448
- }
1449
- function getDateFormatOptions(tokens, timeZone, onError = (error) => {
1450
- throw error;
1451
- }) {
1452
- const options = {
1453
- timeZone
1454
- };
1455
- const fields2 = [];
1456
- for (const token of tokens) {
1457
- const { error, field, str } = token;
1458
- if (error) {
1459
- const dte = new DateFormatError(error.message, token);
1460
- dte.stack = error.stack;
1461
- onError(dte);
1462
- }
1463
- if (str) {
1464
- const msg = `Ignoring string part: ${str}`;
1465
- onError(new DateFormatError(msg, token, DateFormatError.WARNING));
1466
- }
1467
- if (field) {
1468
- if (fields2.indexOf(field) === -1)
1469
- fields2.push(field);
1470
- else
1471
- onError(new DateFormatError(`Duplicate ${field} token`, token));
1472
- }
1473
- const opt = compileOptions(token, (msg, isWarning) => onError(new DateFormatError(msg, token, isWarning)));
1474
- if (opt)
1475
- Object.assign(options, opt);
40
+ hr {
41
+ color: inherit;
42
+ border-top-width: 1px;
43
+ height: 0;
1476
44
  }
1477
- return options;
1478
- }
1479
- var fields = {
1480
- G: { field: "era", desc: "Era" },
1481
- y: { field: "year", desc: "Year" },
1482
- Y: { field: "year", desc: 'Year of "Week of Year"' },
1483
- u: { field: "year", desc: "Extended year" },
1484
- U: { field: "year", desc: "Cyclic year name" },
1485
- r: { field: "year", desc: "Related Gregorian year" },
1486
- Q: { field: "quarter", desc: "Quarter" },
1487
- q: { field: "quarter", desc: "Stand-alone quarter" },
1488
- M: { field: "month", desc: "Month in year" },
1489
- L: { field: "month", desc: "Stand-alone month in year" },
1490
- w: { field: "week", desc: "Week of year" },
1491
- W: { field: "week", desc: "Week of month" },
1492
- d: { field: "day", desc: "Day in month" },
1493
- D: { field: "day", desc: "Day of year" },
1494
- F: { field: "day", desc: "Day of week in month" },
1495
- g: { field: "day", desc: "Modified julian day" },
1496
- E: { field: "weekday", desc: "Day of week" },
1497
- e: { field: "weekday", desc: "Local day of week" },
1498
- c: { field: "weekday", desc: "Stand-alone local day of week" },
1499
- a: { field: "period", desc: "AM/PM marker" },
1500
- b: { field: "period", desc: "AM/PM/noon/midnight marker" },
1501
- B: { field: "period", desc: "Flexible day period" },
1502
- h: { field: "hour", desc: "Hour in AM/PM (1~12)" },
1503
- H: { field: "hour", desc: "Hour in day (0~23)" },
1504
- k: { field: "hour", desc: "Hour in day (1~24)" },
1505
- K: { field: "hour", desc: "Hour in AM/PM (0~11)" },
1506
- j: { field: "hour", desc: "Hour in preferred cycle" },
1507
- J: { field: "hour", desc: "Hour in preferred cycle without marker" },
1508
- C: { field: "hour", desc: "Hour in preferred cycle with flexible marker" },
1509
- m: { field: "min", desc: "Minute in hour" },
1510
- s: { field: "sec", desc: "Second in minute" },
1511
- S: { field: "sec-frac", desc: "Fractional second" },
1512
- A: { field: "ms", desc: "Milliseconds in day" },
1513
- z: { field: "tz", desc: "Time Zone: specific non-location" },
1514
- Z: { field: "tz", desc: "Time Zone" },
1515
- O: { field: "tz", desc: "Time Zone: localized" },
1516
- v: { field: "tz", desc: "Time Zone: generic non-location" },
1517
- V: { field: "tz", desc: "Time Zone: ID" },
1518
- X: { field: "tz", desc: "Time Zone: ISO8601 with Z" },
1519
- x: { field: "tz", desc: "Time Zone: ISO8601" }
1520
- };
1521
- var isLetter = (char) => char >= "A" && char <= "Z" || char >= "a" && char <= "z";
1522
- function readFieldToken(src, pos) {
1523
- const char = src[pos];
1524
- let width = 1;
1525
- while (src[++pos] === char)
1526
- ++width;
1527
- const field = fields[char];
1528
- if (!field) {
1529
- const msg = `The letter ${char} is not a valid field identifier`;
1530
- return { char, error: new Error(msg), width };
45
+ abbr:where([title]) {
46
+ -webkit-text-decoration: underline dotted;
47
+ text-decoration: underline dotted;
1531
48
  }
1532
- return { char, field: field.field, desc: field.desc, width };
1533
- }
1534
- function readQuotedToken(src, pos) {
1535
- let str = src[++pos];
1536
- let width = 2;
1537
- if (str === "'")
1538
- return { char: "'", str, width };
1539
- while (true) {
1540
- const next = src[++pos];
1541
- ++width;
1542
- if (next === void 0) {
1543
- const msg = `Unterminated quoted literal in pattern: ${str || src}`;
1544
- return { char: "'", error: new Error(msg), str, width };
1545
- } else if (next === "'") {
1546
- if (src[++pos] !== "'")
1547
- return { char: "'", str, width };
1548
- else
1549
- ++width;
1550
- }
1551
- str += next;
49
+ h1,
50
+ h2,
51
+ h3,
52
+ h4,
53
+ h5,
54
+ h6 {
55
+ font-size: inherit;
56
+ font-weight: 700;
1552
57
  }
1553
- }
1554
- function readToken(src, pos) {
1555
- const char = src[pos];
1556
- if (!char)
1557
- return null;
1558
- if (isLetter(char))
1559
- return readFieldToken(src, pos);
1560
- if (char === "'")
1561
- return readQuotedToken(src, pos);
1562
- let str = char;
1563
- let width = 1;
1564
- while (true) {
1565
- const next = src[++pos];
1566
- if (!next || isLetter(next) || next === "'")
1567
- return { char, str, width };
1568
- str += next;
1569
- width += 1;
58
+ a {
59
+ cursor: pointer;
60
+ color: var(--w-s-color-text-link);
61
+ text-decoration: none;
1570
62
  }
1571
- }
1572
- function parseDateTokens(src) {
1573
- const tokens = [];
1574
- let pos = 0;
1575
- while (true) {
1576
- const token = readToken(src, pos);
1577
- if (!token)
1578
- return tokens;
1579
- tokens.push(token);
1580
- pos += token.width;
63
+ a:hover,
64
+ a:focus,
65
+ a:active {
66
+ text-decoration: underline;
1581
67
  }
1582
- }
1583
- function processTokens(tokens, mapText) {
1584
- if (!tokens.filter((token) => token.type !== "content").length) {
1585
- return tokens.map((token) => mapText(token.value));
68
+ a:focus-visible {
69
+ outline: 2px solid var(--w-s-color-border-focus);
70
+ outline-offset: 1px;
1586
71
  }
1587
- return tokens.map((token) => {
1588
- var _a;
1589
- if (token.type === "content") {
1590
- return mapText(token.value);
1591
- } else if (token.type === "octothorpe") {
1592
- return "#";
1593
- } else if (token.type === "argument") {
1594
- return [token.arg];
1595
- } else if (token.type === "function") {
1596
- const _param = (_a = token == null ? void 0 : token.param) == null ? void 0 : _a[0];
1597
- if (token.key === "date" && _param) {
1598
- const opts = compileDateExpression(_param.value.trim(), (e) => {
1599
- throw new Error(`Unable to compile date expression: ${e.message}`);
1600
- });
1601
- return [token.arg, token.key, opts];
1602
- }
1603
- if (_param) {
1604
- return [token.arg, token.key, _param.value.trim()];
1605
- } else {
1606
- return [token.arg, token.key];
1607
- }
1608
- }
1609
- const offset = token.pluralOffset;
1610
- const formatProps = {};
1611
- token.cases.forEach(({ key, tokens: tokens2 }) => {
1612
- const prop = key[0] === "=" ? key.slice(1) : key;
1613
- formatProps[prop] = processTokens(tokens2, mapText);
1614
- });
1615
- return [
1616
- token.arg,
1617
- token.type,
1618
- __spreadValues({
1619
- offset
1620
- }, formatProps)
1621
- ];
1622
- });
1623
- }
1624
- function compileDateExpression(format, onError) {
1625
- if (/^::/.test(format)) {
1626
- const tokens = parseDateTokens(format.substring(2));
1627
- return getDateFormatOptions(tokens, void 0, onError);
72
+ b,
73
+ strong {
74
+ font-weight: 700;
1628
75
  }
1629
- return format;
1630
- }
1631
- function compileMessage(message, mapText = (v) => v) {
1632
- try {
1633
- return processTokens((0, import_parser.parse)(message), mapText);
1634
- } catch (e) {
1635
- console.error(`${e.message}
1636
-
1637
- Message: ${message}`);
1638
- return [message];
76
+ code,
77
+ kbd,
78
+ samp,
79
+ pre {
80
+ font-family:
81
+ ui-monospace,
82
+ SFMono-Regular,
83
+ Menlo,
84
+ Monaco,
85
+ Consolas,
86
+ Liberation Mono,
87
+ Courier New,
88
+ monospace;
89
+ font-size: 1em;
1639
90
  }
1640
- }
1641
-
1642
- // node_modules/.pnpm/@lingui+core@5.2.0_@lingui+babel-plugin-lingui-macro@5.2.0_babel-plugin-macros@3.1.0_typescri_qfhfd5z2jpd4amxt2golzdalsi/node_modules/@lingui/core/dist/index.mjs
1643
- var isString = (s) => typeof s === "string";
1644
- var isFunction = (f) => typeof f === "function";
1645
- var cache = /* @__PURE__ */ new Map();
1646
- var defaultLocale = "en";
1647
- function normalizeLocales(locales) {
1648
- const out = Array.isArray(locales) ? locales : [locales];
1649
- return [...out, defaultLocale];
1650
- }
1651
- function date(locales, value, format) {
1652
- const _locales = normalizeLocales(locales);
1653
- if (!format) {
1654
- format = "default";
91
+ sub,
92
+ sup {
93
+ vertical-align: baseline;
94
+ font-size: 75%;
95
+ line-height: 0;
96
+ position: relative;
1655
97
  }
1656
- let o;
1657
- if (typeof format === "string") {
1658
- o = {
1659
- day: "numeric",
1660
- month: "short",
1661
- year: "numeric"
1662
- };
1663
- switch (format) {
1664
- case "full":
1665
- o.weekday = "long";
1666
- case "long":
1667
- o.month = "long";
1668
- break;
1669
- case "short":
1670
- o.month = "numeric";
1671
- break;
1672
- }
1673
- } else {
1674
- o = format;
98
+ sub {
99
+ bottom: -0.25em;
1675
100
  }
1676
- const formatter = getMemoized(
1677
- () => cacheKey("date", _locales, format),
1678
- () => new Intl.DateTimeFormat(_locales, o)
1679
- );
1680
- return formatter.format(isString(value) ? new Date(value) : value);
1681
- }
1682
- function time(locales, value, format) {
1683
- let o;
1684
- if (!format) {
1685
- format = "default";
101
+ sup {
102
+ top: -0.5em;
1686
103
  }
1687
- if (typeof format === "string") {
1688
- o = {
1689
- second: "numeric",
1690
- minute: "numeric",
1691
- hour: "numeric"
1692
- };
1693
- switch (format) {
1694
- case "full":
1695
- case "long":
1696
- o.timeZoneName = "short";
1697
- break;
1698
- case "short":
1699
- delete o.second;
1700
- }
1701
- } else {
1702
- o = format;
104
+ table {
105
+ text-indent: 0;
106
+ border-color: inherit;
107
+ border-collapse: collapse;
1703
108
  }
1704
- return date(locales, value, o);
1705
- }
1706
- function number(locales, value, format) {
1707
- const _locales = normalizeLocales(locales);
1708
- const formatter = getMemoized(
1709
- () => cacheKey("number", _locales, format),
1710
- () => new Intl.NumberFormat(_locales, format)
1711
- );
1712
- return formatter.format(value);
1713
- }
1714
- function plural(locales, ordinal, value, _a) {
1715
- var _b = _a, { offset = 0 } = _b, rules = __objRest(_b, ["offset"]);
1716
- var _a2, _b2;
1717
- const _locales = normalizeLocales(locales);
1718
- const plurals = ordinal ? getMemoized(
1719
- () => cacheKey("plural-ordinal", _locales),
1720
- () => new Intl.PluralRules(_locales, { type: "ordinal" })
1721
- ) : getMemoized(
1722
- () => cacheKey("plural-cardinal", _locales),
1723
- () => new Intl.PluralRules(_locales, { type: "cardinal" })
1724
- );
1725
- return (_b2 = (_a2 = rules[value]) != null ? _a2 : rules[plurals.select(value - offset)]) != null ? _b2 : rules.other;
1726
- }
1727
- function getMemoized(getKey, construct) {
1728
- const key = getKey();
1729
- let formatter = cache.get(key);
1730
- if (!formatter) {
1731
- formatter = construct();
1732
- cache.set(key, formatter);
109
+ button,
110
+ input,
111
+ optgroup,
112
+ select,
113
+ textarea {
114
+ font-family: inherit;
115
+ font-size: 100%;
116
+ font-weight: inherit;
117
+ line-height: inherit;
118
+ color: inherit;
119
+ margin: 0;
120
+ padding: 0;
1733
121
  }
1734
- return formatter;
1735
- }
1736
- function cacheKey(type, locales, options) {
1737
- const localeKey = locales.join("-");
1738
- return `${type}-${localeKey}-${JSON.stringify(options)}`;
1739
- }
1740
- var UNICODE_REGEX = /\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/;
1741
- var OCTOTHORPE_PH = "%__lingui_octothorpe__%";
1742
- var getDefaultFormats = (locale, passedLocales, formats = {}) => {
1743
- const locales = passedLocales || locale;
1744
- const style = (format) => {
1745
- if (typeof format === "object")
1746
- return format;
1747
- return formats[format];
1748
- };
1749
- const replaceOctothorpe = (value, message) => {
1750
- const numberFormat = Object.keys(formats).length ? style("number") : void 0;
1751
- const valueStr = number(locales, value, numberFormat);
1752
- return message.replace(new RegExp(OCTOTHORPE_PH, "g"), valueStr);
1753
- };
1754
- return {
1755
- plural: (value, cases) => {
1756
- const { offset = 0 } = cases;
1757
- const message = plural(locales, false, value, cases);
1758
- return replaceOctothorpe(value - offset, message);
1759
- },
1760
- selectordinal: (value, cases) => {
1761
- const { offset = 0 } = cases;
1762
- const message = plural(locales, true, value, cases);
1763
- return replaceOctothorpe(value - offset, message);
1764
- },
1765
- select: selectFormatter,
1766
- number: (value, format) => number(
1767
- locales,
1768
- value,
1769
- style(format) || { style: format }
1770
- ),
1771
- date: (value, format) => date(locales, value, style(format) || format),
1772
- time: (value, format) => time(locales, value, style(format) || format)
1773
- };
1774
- };
1775
- var selectFormatter = (value, rules) => {
1776
- var _a;
1777
- return (_a = rules[value]) != null ? _a : rules.other;
1778
- };
1779
- function interpolate(translation, locale, locales) {
1780
- return (values = {}, formats) => {
1781
- const formatters = getDefaultFormats(locale, locales, formats);
1782
- const formatMessage = (tokens, replaceOctothorpe = false) => {
1783
- if (!Array.isArray(tokens))
1784
- return tokens;
1785
- return tokens.reduce((message, token) => {
1786
- if (token === "#" && replaceOctothorpe) {
1787
- return message + OCTOTHORPE_PH;
1788
- }
1789
- if (isString(token)) {
1790
- return message + token;
1791
- }
1792
- const [name, type, format] = token;
1793
- let interpolatedFormat = {};
1794
- if (type === "plural" || type === "selectordinal" || type === "select") {
1795
- Object.entries(format).forEach(
1796
- ([key, value2]) => {
1797
- interpolatedFormat[key] = formatMessage(
1798
- value2,
1799
- type === "plural" || type === "selectordinal"
1800
- );
1801
- }
1802
- );
1803
- } else {
1804
- interpolatedFormat = format;
1805
- }
1806
- let value;
1807
- if (type) {
1808
- const formatter = formatters[type];
1809
- value = formatter(values[name], interpolatedFormat);
1810
- } else {
1811
- value = values[name];
1812
- }
1813
- if (value == null) {
1814
- return message;
1815
- }
1816
- return message + value;
1817
- }, "");
1818
- };
1819
- const result = formatMessage(translation);
1820
- if (isString(result) && UNICODE_REGEX.test(result)) {
1821
- return (0, import_unraw.unraw)(result);
1822
- }
1823
- if (isString(result))
1824
- return result;
1825
- return result ? String(result) : "";
1826
- };
1827
- }
1828
- var __defProp$1 = Object.defineProperty;
1829
- var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1830
- var __publicField$1 = (obj, key, value) => {
1831
- __defNormalProp$1(obj, typeof key !== "symbol" ? key + "" : key, value);
1832
- return value;
1833
- };
1834
- var EventEmitter = class {
1835
- constructor() {
1836
- __publicField$1(this, "_events", {});
122
+ button,
123
+ select {
124
+ text-transform: none;
1837
125
  }
1838
- on(event, listener) {
1839
- var _a2;
1840
- var _a;
1841
- (_a2 = (_a = this._events)[event]) != null ? _a2 : _a[event] = [];
1842
- this._events[event].push(listener);
1843
- return () => this.removeListener(event, listener);
126
+ button,
127
+ [type='button'],
128
+ [type='reset'],
129
+ [type='submit'] {
130
+ -webkit-appearance: button;
1844
131
  }
1845
- removeListener(event, listener) {
1846
- const maybeListeners = this._getListeners(event);
1847
- if (!maybeListeners)
1848
- return;
1849
- const index = maybeListeners.indexOf(listener);
1850
- if (~index)
1851
- maybeListeners.splice(index, 1);
132
+ :-moz-focusring {
133
+ outline: auto;
1852
134
  }
1853
- emit(event, ...args) {
1854
- const maybeListeners = this._getListeners(event);
1855
- if (!maybeListeners)
1856
- return;
1857
- maybeListeners.map((listener) => listener.apply(this, args));
135
+ :-moz-ui-invalid {
136
+ box-shadow: none;
1858
137
  }
1859
- _getListeners(event) {
1860
- const maybeListeners = this._events[event];
1861
- return Array.isArray(maybeListeners) ? maybeListeners : false;
138
+ progress {
139
+ vertical-align: baseline;
1862
140
  }
1863
- };
1864
- var __defProp2 = Object.defineProperty;
1865
- var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1866
- var __publicField2 = (obj, key, value) => {
1867
- __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
1868
- return value;
1869
- };
1870
- var I18n = class extends EventEmitter {
1871
- constructor(params) {
1872
- var _a;
1873
- super();
1874
- __publicField2(this, "_locale", "");
1875
- __publicField2(this, "_locales");
1876
- __publicField2(this, "_localeData", {});
1877
- __publicField2(this, "_messages", {});
1878
- __publicField2(this, "_missing");
1879
- __publicField2(this, "_messageCompiler");
1880
- __publicField2(this, "t", this._.bind(this));
1881
- if (true) {
1882
- this.setMessagesCompiler(compileMessage);
1883
- }
1884
- if (params.missing != null)
1885
- this._missing = params.missing;
1886
- if (params.messages != null)
1887
- this.load(params.messages);
1888
- if (params.localeData != null)
1889
- this.loadLocaleData(params.localeData);
1890
- if (typeof params.locale === "string" || params.locales) {
1891
- this.activate((_a = params.locale) != null ? _a : defaultLocale, params.locales);
1892
- }
141
+ ::-webkit-inner-spin-button {
142
+ height: auto;
1893
143
  }
1894
- get locale() {
1895
- return this._locale;
144
+ ::-webkit-outer-spin-button {
145
+ height: auto;
1896
146
  }
1897
- get locales() {
1898
- return this._locales;
147
+ [type='search'] {
148
+ -webkit-appearance: textfield;
149
+ outline-offset: -2px;
1899
150
  }
1900
- get messages() {
1901
- var _a;
1902
- return (_a = this._messages[this._locale]) != null ? _a : {};
151
+ ::-webkit-search-decoration {
152
+ -webkit-appearance: none;
1903
153
  }
1904
- /**
1905
- * @deprecated this has no effect. Please remove this from the code. Deprecated in v4
1906
- */
1907
- get localeData() {
1908
- var _a;
1909
- return (_a = this._localeData[this._locale]) != null ? _a : {};
154
+ ::-webkit-file-upload-button {
155
+ -webkit-appearance: button;
156
+ font: inherit;
1910
157
  }
1911
- _loadLocaleData(locale, localeData) {
1912
- const maybeLocaleData = this._localeData[locale];
1913
- if (!maybeLocaleData) {
1914
- this._localeData[locale] = localeData;
1915
- } else {
1916
- Object.assign(maybeLocaleData, localeData);
1917
- }
158
+ summary {
159
+ display: list-item;
1918
160
  }
1919
- /**
1920
- * Registers a `MessageCompiler` to enable the use of uncompiled catalogs at runtime.
1921
- *
1922
- * In production builds, the `MessageCompiler` is typically excluded to reduce bundle size.
1923
- * By default, message catalogs should be precompiled during the build process. However,
1924
- * if you need to compile catalogs at runtime, you can use this method to set a message compiler.
1925
- *
1926
- * Example usage:
1927
- *
1928
- * ```ts
1929
- * import { compileMessage } from "@lingui/message-utils/compileMessage";
1930
- *
1931
- * i18n.setMessagesCompiler(compileMessage);
1932
- * ```
1933
- */
1934
- setMessagesCompiler(compiler) {
1935
- this._messageCompiler = compiler;
1936
- return this;
161
+ blockquote,
162
+ dl,
163
+ dd,
164
+ h1,
165
+ h2,
166
+ h3,
167
+ h4,
168
+ h5,
169
+ h6,
170
+ hr,
171
+ figure,
172
+ p,
173
+ pre {
174
+ margin: 0;
1937
175
  }
1938
- /**
1939
- * @deprecated Plurals automatically used from Intl.PluralRules you can safely remove this call. Deprecated in v4
1940
- */
1941
- loadLocaleData(localeOrAllData, localeData) {
1942
- if (typeof localeOrAllData === "string") {
1943
- this._loadLocaleData(localeOrAllData, localeData);
1944
- } else {
1945
- Object.keys(localeOrAllData).forEach(
1946
- (locale) => this._loadLocaleData(locale, localeOrAllData[locale])
1947
- );
1948
- }
1949
- this.emit("change");
176
+ fieldset {
177
+ margin: 0;
178
+ padding: 0;
1950
179
  }
1951
- _load(locale, messages7) {
1952
- const maybeMessages = this._messages[locale];
1953
- if (!maybeMessages) {
1954
- this._messages[locale] = messages7;
1955
- } else {
1956
- Object.assign(maybeMessages, messages7);
1957
- }
180
+ legend {
181
+ padding: 0;
1958
182
  }
1959
- load(localeOrMessages, messages7) {
1960
- if (typeof localeOrMessages == "string" && typeof messages7 === "object") {
1961
- this._load(localeOrMessages, messages7);
1962
- } else {
1963
- Object.entries(localeOrMessages).forEach(
1964
- ([locale, messages23]) => this._load(locale, messages23)
1965
- );
1966
- }
1967
- this.emit("change");
183
+ ol,
184
+ ul,
185
+ menu {
186
+ margin: 0;
187
+ padding: 0;
188
+ list-style: none;
1968
189
  }
1969
- /**
1970
- * @param options {@link LoadAndActivateOptions}
1971
- */
1972
- loadAndActivate({ locale, locales, messages: messages7 }) {
1973
- this._locale = locale;
1974
- this._locales = locales || void 0;
1975
- this._messages[this._locale] = messages7;
1976
- this.emit("change");
190
+ textarea {
191
+ resize: vertical;
1977
192
  }
1978
- activate(locale, locales) {
1979
- if (true) {
1980
- if (!this._messages[locale]) {
1981
- console.warn(`Messages for locale "${locale}" not loaded.`);
1982
- }
1983
- }
1984
- this._locale = locale;
1985
- this._locales = locales;
1986
- this.emit("change");
193
+ input::placeholder,
194
+ textarea::placeholder {
195
+ opacity: 1;
196
+ color: var(--w-s-color-text-placeholder);
1987
197
  }
1988
- _(id, values, options) {
1989
- if (!this.locale) {
1990
- throw new Error(
1991
- "Lingui: Attempted to call a translation function without setting a locale.\nMake sure to call `i18n.activate(locale)` before using Lingui functions.\nThis issue may also occur due to a race condition in your initialization logic."
1992
- );
1993
- }
1994
- let message = options == null ? void 0 : options.message;
1995
- if (!id) {
1996
- id = "";
1997
- }
1998
- if (!isString(id)) {
1999
- values = id.values || values;
2000
- message = id.message;
2001
- id = id.id;
2002
- }
2003
- const messageForId = this.messages[id];
2004
- const messageMissing = messageForId === void 0;
2005
- const missing = this._missing;
2006
- if (missing && messageMissing) {
2007
- return isFunction(missing) ? missing(this._locale, id) : missing;
2008
- }
2009
- if (messageMissing) {
2010
- this.emit("missing", { id, locale: this._locale });
2011
- }
2012
- let translation = messageForId || message || id;
2013
- if (isString(translation)) {
2014
- if (this._messageCompiler) {
2015
- translation = this._messageCompiler(translation);
2016
- } else {
2017
- console.warn(`Uncompiled message detected! Message:
2018
-
2019
- > ${translation}
2020
-
2021
- That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.
2022
- ICU features such as interpolation and plurals will not work properly for that message.
2023
-
2024
- Please compile your catalog first.
2025
- `);
2026
- }
2027
- }
2028
- if (isString(translation) && UNICODE_REGEX.test(translation))
2029
- return JSON.parse(`"${translation}"`);
2030
- if (isString(translation))
2031
- return translation;
2032
- return interpolate(
2033
- translation,
2034
- this._locale,
2035
- this._locales
2036
- )(values, options == null ? void 0 : options.formats);
198
+ button,
199
+ [role='button'] {
200
+ cursor: pointer;
2037
201
  }
2038
- date(value, format) {
2039
- return date(this._locales || this._locale, value, format);
202
+ :disabled {
203
+ cursor: default;
2040
204
  }
2041
- number(value, format) {
2042
- return number(this._locales || this._locale, value, format);
205
+ img,
206
+ svg,
207
+ video,
208
+ canvas,
209
+ audio,
210
+ iframe,
211
+ embed,
212
+ object {
213
+ vertical-align: middle;
214
+ display: block;
2043
215
  }
2044
- };
2045
- function setupI18n(params = {}) {
2046
- return new I18n(params);
2047
- }
2048
- var i18n = setupI18n();
2049
-
2050
- // node_modules/.pnpm/@warp-ds+icons@2.5.0_@lingui+core@5.2.0_@lingui+babel-plugin-lingui-macro@5.2.0_babel-plugin-_hyhbgchrkasknlbocfng7geeci/node_modules/@warp-ds/icons/dist/elements/chevron-down-16.js
2051
- var messages = JSON.parse('{"icon.title.chevron-down":["Nedoverpil"]}');
2052
- var messages2 = JSON.parse('{"icon.title.chevron-down":["Downward arrow"]}');
2053
- var messages3 = JSON.parse('{"icon.title.chevron-down":["Nuoli alasp\xE4in"]}');
2054
- var messages4 = JSON.parse('{"icon.title.chevron-down":["Pil nedad"]}');
2055
- var messages5 = JSON.parse('{"icon.title.chevron-down":["Pil ned"]}');
2056
- var supportedLocales = ["en", "nb", "fi", "da", "sv"];
2057
- var defaultLocale2 = "en";
2058
- var detectByBrand = () => {
2059
- var _a;
2060
- let value;
2061
- switch ((_a = process == null ? void 0 : process.env) == null ? void 0 : _a.NMP_BRAND) {
2062
- case "FINN":
2063
- value = "nb";
2064
- break;
2065
- case "TORI":
2066
- value = "fi";
2067
- break;
2068
- case "BLOCKET":
2069
- value = "sv";
2070
- break;
2071
- case "DBA":
2072
- value = "da";
2073
- break;
2074
- default:
2075
- value = "en";
216
+ img,
217
+ video {
218
+ max-width: 100%;
219
+ height: auto;
2076
220
  }
2077
- return value;
2078
- };
2079
- var detectByHost = () => {
2080
- var _a;
2081
- const hostname = (_a = document == null ? void 0 : document.location) == null ? void 0 : _a.hostname;
2082
- if (hostname == null ? void 0 : hostname.includes("finn")) {
2083
- return "nb";
2084
- } else if (hostname.includes("tori")) {
2085
- return "fi";
2086
- } else if (hostname.includes("blocket")) {
2087
- return "sv";
2088
- } else if (hostname.includes("dba")) {
2089
- return "da";
2090
- } else {
2091
- return defaultLocale2;
221
+ h1 {
222
+ font-size: var(--w-font-size-xxl);
223
+ line-height: var(--w-line-height-xxl);
2092
224
  }
2093
- };
2094
- var getSupportedLocale = (usedLocale) => {
2095
- return supportedLocales.find(
2096
- (locale) => usedLocale === locale || usedLocale.toLowerCase().includes(locale)
2097
- ) || detectByHost();
2098
- };
2099
- function detectLocale() {
2100
- var _a;
2101
- if (typeof window === "undefined") {
2102
- const serverLocale = detectByBrand();
2103
- return getSupportedLocale(serverLocale);
225
+ h2 {
226
+ font-size: var(--w-font-size-xl);
227
+ line-height: var(--w-line-height-xl);
2104
228
  }
2105
- try {
2106
- const htmlLocale = (_a = document == null ? void 0 : document.documentElement) == null ? void 0 : _a.lang;
2107
- const hostLocale = detectByHost();
2108
- if (!supportedLocales.includes(htmlLocale)) {
2109
- console.warn("Unsupported locale set in html lang tag, falling back to detection by hostname");
2110
- return getSupportedLocale(hostLocale);
2111
- }
2112
- return getSupportedLocale(htmlLocale != null ? htmlLocale : hostLocale);
2113
- } catch (e) {
2114
- console.warn("could not detect locale, falling back to source locale", e);
2115
- return defaultLocale2;
229
+ h3 {
230
+ font-size: var(--w-font-size-l);
231
+ line-height: var(--w-line-height-l);
2116
232
  }
2117
- }
2118
- var getMessages = (locale, enMsg, nbMsg, fiMsg, daMsg, svMsg) => {
2119
- if (locale === "nb") return nbMsg;
2120
- if (locale === "fi") return fiMsg;
2121
- if (locale === "da") return daMsg;
2122
- if (locale === "sv") return svMsg;
2123
- return enMsg;
2124
- };
2125
- var activateI18n = (enMessages, nbMessages, fiMessages, daMessages, svMessages) => {
2126
- const locale = detectLocale();
2127
- const messages62 = getMessages(locale, enMessages, nbMessages, fiMessages, daMessages, svMessages);
2128
- i18n.load(locale, messages62);
2129
- i18n.activate(locale);
2130
- };
2131
- activateI18n(messages2, messages, messages3, messages4, messages5);
2132
- var IconChevronDown16 = class extends LitElement {
2133
- render() {
2134
- const title = i18n.t({ message: `Downward arrow`, id: "icon.title.chevron-down", comment: "Title for chevron-down icon" });
2135
- return html`<svg xmlns="http://www.w3.org/2000/svg"width="16"height="16"fill="none"viewBox="0 0 16 16" part="w-icon-chevron-down-16-part">${unsafeStatic(`<title>${title}</title>`)}<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="m2.667 5.333 5.5 5.5 5.5-5.5"></path></svg>`;
233
+ h4 {
234
+ font-size: var(--w-font-size-m);
235
+ line-height: var(--w-line-height-m);
2136
236
  }
2137
- };
2138
- if (!customElements.get("w-icon-chevron-down-16")) {
2139
- customElements.define("w-icon-chevron-down-16", IconChevronDown16);
2140
- }
2141
-
2142
- // node_modules/.pnpm/@warp-ds+icons@2.5.0_@lingui+core@5.2.0_@lingui+babel-plugin-lingui-macro@5.2.0_babel-plugin-_hyhbgchrkasknlbocfng7geeci/node_modules/@warp-ds/icons/dist/elements/chevron-up-16.js
2143
- import { LitElement as LitElement2 } from "lit";
2144
- import { unsafeStatic as unsafeStatic2, html as html2 } from "lit/static-html.js";
2145
- var messages6 = JSON.parse('{"icon.title.chevron-up":["Oppoverpil"]}');
2146
- var messages22 = JSON.parse('{"icon.title.chevron-up":["Upward arrow"]}');
2147
- var messages32 = JSON.parse('{"icon.title.chevron-up":["Nuoli yl\xF6sp\xE4in"]}');
2148
- var messages42 = JSON.parse('{"icon.title.chevron-up":["Pil opad"]}');
2149
- var messages52 = JSON.parse('{"icon.title.chevron-up":["Pil upp"]}');
2150
- var supportedLocales2 = ["en", "nb", "fi", "da", "sv"];
2151
- var defaultLocale3 = "en";
2152
- var detectByBrand2 = () => {
2153
- var _a;
2154
- let value;
2155
- switch ((_a = process == null ? void 0 : process.env) == null ? void 0 : _a.NMP_BRAND) {
2156
- case "FINN":
2157
- value = "nb";
2158
- break;
2159
- case "TORI":
2160
- value = "fi";
2161
- break;
2162
- case "BLOCKET":
2163
- value = "sv";
2164
- break;
2165
- case "DBA":
2166
- value = "da";
2167
- break;
2168
- default:
2169
- value = "en";
237
+ h5 {
238
+ font-size: var(--w-font-size-s);
239
+ line-height: var(--w-line-height-s);
2170
240
  }
2171
- return value;
2172
- };
2173
- var detectByHost2 = () => {
2174
- var _a;
2175
- const hostname = (_a = document == null ? void 0 : document.location) == null ? void 0 : _a.hostname;
2176
- if (hostname == null ? void 0 : hostname.includes("finn")) {
2177
- return "nb";
2178
- } else if (hostname.includes("tori")) {
2179
- return "fi";
2180
- } else if (hostname.includes("blocket")) {
2181
- return "sv";
2182
- } else if (hostname.includes("dba")) {
2183
- return "da";
2184
- } else {
2185
- return defaultLocale3;
241
+ dt,
242
+ dd {
243
+ margin: 0 16px;
2186
244
  }
2187
- };
2188
- var getSupportedLocale2 = (usedLocale) => {
2189
- return supportedLocales2.find(
2190
- (locale) => usedLocale === locale || usedLocale.toLowerCase().includes(locale)
2191
- ) || detectByHost2();
2192
- };
2193
- function detectLocale2() {
2194
- var _a;
2195
- if (typeof window === "undefined") {
2196
- const serverLocale = detectByBrand2();
2197
- return getSupportedLocale2(serverLocale);
245
+ h1,
246
+ h2,
247
+ h3,
248
+ h4,
249
+ h5,
250
+ ul,
251
+ ol,
252
+ dl,
253
+ p,
254
+ blockquote {
255
+ margin: 0 0 8px;
2198
256
  }
2199
- try {
2200
- const htmlLocale = (_a = document == null ? void 0 : document.documentElement) == null ? void 0 : _a.lang;
2201
- const hostLocale = detectByHost2();
2202
- if (!supportedLocales2.includes(htmlLocale)) {
2203
- console.warn("Unsupported locale set in html lang tag, falling back to detection by hostname");
2204
- return getSupportedLocale2(hostLocale);
2205
- }
2206
- return getSupportedLocale2(htmlLocale != null ? htmlLocale : hostLocale);
2207
- } catch (e) {
2208
- console.warn("could not detect locale, falling back to source locale", e);
2209
- return defaultLocale3;
257
+ [hidden] {
258
+ display: none !important;
2210
259
  }
2211
- }
2212
- var getMessages2 = (locale, enMsg, nbMsg, fiMsg, daMsg, svMsg) => {
2213
- if (locale === "nb") return nbMsg;
2214
- if (locale === "fi") return fiMsg;
2215
- if (locale === "da") return daMsg;
2216
- if (locale === "sv") return svMsg;
2217
- return enMsg;
2218
- };
2219
- var activateI18n2 = (enMessages, nbMessages, fiMessages, daMessages, svMessages) => {
2220
- const locale = detectLocale2();
2221
- const messages62 = getMessages2(locale, enMessages, nbMessages, fiMessages, daMessages, svMessages);
2222
- i18n.load(locale, messages62);
2223
- i18n.activate(locale);
2224
- };
2225
- activateI18n2(messages22, messages6, messages32, messages42, messages52);
2226
- var IconChevronUp16 = class extends LitElement2 {
2227
- render() {
2228
- const title = i18n.t({ message: `Upward arrow`, id: "icon.title.chevron-up", comment: "Title for chevron-up icon" });
2229
- return html2`<svg xmlns="http://www.w3.org/2000/svg"width="16"height="16"fill="none"viewBox="0 0 16 16" part="w-icon-chevron-up-16-part">${unsafeStatic2(`<title>${title}</title>`)}<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M2.5 11 8 5.5l5.5 5.5"></path></svg>`;
260
+ [tabindex='-1']:focus:not(:focus-visible) {
261
+ outline: none;
2230
262
  }
2231
- };
2232
- if (!customElements.get("w-icon-chevron-up-16")) {
2233
- customElements.define("w-icon-chevron-up-16", IconChevronUp16);
2234
- }
2235
-
2236
- // packages/expandable/index.js
2237
- var _WarpExpandable_instances, wrapperClasses_get, buttonClasses_get, chevronClasses_get, chevronIcon_get, contentClasses_get, expansionClasses_get;
2238
- var WarpExpandable = class extends kebabCaseAttributes(WarpElement) {
2239
- constructor() {
2240
- super();
2241
- __privateAdd(this, _WarpExpandable_instances);
2242
- this.expanded = false;
2243
- this.animated = false;
2244
- this.box = false;
2245
- this.bleed = false;
2246
- this.noChevron = false;
2247
- this._hasTitle = true;
2248
- this._showChevronUp = this.expanded;
263
+ legend {
264
+ float: left;
265
+ width: 100%;
266
+ margin: 0;
267
+ padding: 0;
268
+ display: table;
2249
269
  }
2250
- updated(changedProperties) {
2251
- if (changedProperties.has("expanded")) {
2252
- setTimeout(() => {
2253
- this._showChevronUp = this.expanded;
2254
- }, 200);
2255
- }
270
+ legend + * {
271
+ clear: both;
2256
272
  }
2257
- firstUpdated() {
2258
- this._hasTitle = !!this.title || this.renderRoot.querySelector("slot[name='title']").assignedNodes().length > 0;
273
+ fieldset {
274
+ border: 0;
275
+ min-width: 0;
276
+ margin: 0;
277
+ padding: 0.01em 0 0;
2259
278
  }
2260
- get _expandableSlot() {
2261
- return html3`<div class="${__privateGet(this, _WarpExpandable_instances, contentClasses_get)}">
2262
- <slot></slot>
2263
- </div>`;
279
+ body:not(:-moz-handler-blocked) fieldset {
280
+ display: table-cell;
2264
281
  }
2265
- render() {
2266
- return html3` <div class="${__privateGet(this, _WarpExpandable_instances, wrapperClasses_get)}">
2267
- ${this._hasTitle ? html3`<w-unstyled-heading level=${this.headingLevel}>
2268
- <button
2269
- type="button"
2270
- aria-expanded="${this.expanded}"
2271
- class="${__privateGet(this, _WarpExpandable_instances, buttonClasses_get)}"
2272
- @click=${() => this.expanded = !this.expanded}>
2273
- <div class="${expandable.title}">
2274
- ${this.title ? html3`<span class="${expandable.titleType}">${this.title}</span>` : html3`<slot name="title"></slot>`}
2275
- ${this.noChevron ? "" : html3`<div class="${__privateGet(this, _WarpExpandable_instances, chevronClasses_get)}">${__privateGet(this, _WarpExpandable_instances, chevronIcon_get)}</div>`}
2276
- </div>
2277
- </button>
2278
- </w-unstyled-heading>` : ""}
2279
- ${this.animated ? html3`<w-expand-transition ?show=${this.expanded}> ${this._expandableSlot} </w-expand-transition>` : html3`<div class="${__privateGet(this, _WarpExpandable_instances, expansionClasses_get)}" aria-hidden=${ifDefined(!this.expanded ? true : void 0)}>
2280
- ${this._expandableSlot}
2281
- </div>`}
2282
- </div>`;
282
+ svg {
283
+ pointer-events: none;
2283
284
  }
2284
- };
2285
- _WarpExpandable_instances = new WeakSet();
2286
- wrapperClasses_get = function() {
2287
- return r([expandable.wrapper, this.box && expandable.box, this.bleed && expandable.bleed]);
2288
- };
2289
- buttonClasses_get = function() {
2290
- return r(this.buttonClass, [expandable.button, this.box && expandable.buttonBox]);
2291
- };
2292
- chevronClasses_get = function() {
2293
- return r([expandable.chevron, !this.box && expandable.chevronNonBox]);
2294
- };
2295
- chevronIcon_get = function() {
2296
- const upClasses = r([
2297
- expandable.elementsChevronUpTransform,
2298
- !this.expanded && this._showChevronUp && expandable.elementsChevronCollapse
2299
- ]);
2300
- const downClasses = r([
2301
- expandable.elementsChevronDownTransform,
2302
- this.expanded && !this._showChevronUp && expandable.elementsChevronExpand
2303
- ]);
2304
- return this._showChevronUp ? html3`<w-icon-chevron-up-16 class="${upClasses}"></w-icon-chevron-up-16>` : html3`<w-icon-chevron-down-16 class="${downClasses}"></w-icon-chevron-down-16>`;
2305
- };
2306
- contentClasses_get = function() {
2307
- return r(this.contentClass, [this.box && box.base, this._hasTitle && this.box && expandable.contentWithTitle]);
2308
- };
2309
- expansionClasses_get = function() {
2310
- return r([expandable.expansion, !this.expanded && expandable.expansionNotExpanded]);
2311
- };
2312
- __publicField(WarpExpandable, "properties", {
2313
- expanded: { type: Boolean, reflect: true },
2314
- title: { type: String },
2315
- box: { type: Boolean },
2316
- bleed: { type: Boolean },
2317
- buttonClass: { type: String },
2318
- contentClass: { type: String },
2319
- noChevron: { type: Boolean },
2320
- animated: { type: Boolean },
2321
- headingLevel: { type: Number },
2322
- _hasTitle: { type: Boolean, state: true },
2323
- _showChevronUp: { type: Boolean, state: true }
2324
- });
2325
- // Slotted elements remain in lightDOM which allows for control of their style outside of shadowDOM.
2326
- // ::slotted([Simple Selector]) confirms to Specificity rules, but (being simple) does not add weight to lightDOM skin selectors,
2327
- // so never gets higher Specificity. Thus in order to overwrite style linked within shadowDOM, we need to use !important.
2328
- // https://stackoverflow.com/a/61631668
2329
- __publicField(WarpExpandable, "styles", [
2330
- WarpElement.styles,
2331
- css`
2332
- :host {
2333
- display: block;
2334
- }
2335
- ::slotted(:last-child) {
2336
- margin-bottom: 0px !important;
2337
- }
2338
- `
2339
- ]);
2340
- if (!customElements.get("w-expandable")) {
2341
- customElements.define("w-expandable", WarpExpandable);
2342
- }
2343
- export {
2344
- WarpExpandable
2345
- };
285
+ `,na=E`*, :before, :after {
286
+ --w-rotate: 0;
287
+ --w-rotate-x: 0;
288
+ --w-rotate-y: 0;
289
+ --w-rotate-z: 0;
290
+ --w-scale-x: 1;
291
+ --w-scale-y: 1;
292
+ --w-scale-z: 1;
293
+ --w-skew-x: 0;
294
+ --w-skew-y: 0;
295
+ --w-translate-x: 0;
296
+ --w-translate-y: 0;
297
+ --w-translate-z: 0
298
+ }
299
+
300
+ .h4, .t4 {
301
+ font-weight: 700;
302
+ font-size: var(--w-font-size-m);
303
+ line-height: var(--w-line-height-m)
304
+ }
305
+
306
+ .t3 {
307
+ font-weight: 700;
308
+ font-size: var(--w-font-size-l);
309
+ line-height: var(--w-line-height-l)
310
+ }
311
+
312
+ @media (min-width: 480px) {
313
+ .sm\\:h3 {
314
+ font-weight: 700;
315
+ font-size: var(--w-font-size-l);
316
+ line-height: var(--w-line-height-l)
317
+ }
318
+ }
319
+
320
+ .text-center {
321
+ text-align: center
322
+ }
323
+
324
+ .before\\:text-center:before {
325
+ text-align: center
326
+ }
327
+
328
+ .text-left {
329
+ text-align: left
330
+ }
331
+
332
+ .text-right {
333
+ text-align: right
334
+ }
335
+
336
+ .align-middle {
337
+ vertical-align: middle
338
+ }
339
+
340
+ .animate-inprogress {
341
+ background-image: linear-gradient(135deg, rgba(0, 0, 0, .05) 25%, transparent 0, transparent 50%, rgba(0, 0, 0, .05) 0, rgba(0, 0, 0, .05) 75%, transparent 0, transparent) !important;
342
+ background-size: 30px 30px;
343
+ animation: animate-inprogress 3s linear infinite
344
+ }
345
+
346
+ @keyframes animate-inprogress {
347
+ 0% {
348
+ background-position: 0 0
349
+ }
350
+ to {
351
+ background-position: 60px 0
352
+ }
353
+ }
354
+
355
+ .\\[--w-modal-max-height\\:80\\%\\] {
356
+ --w-modal-max-height: 80%
357
+ }
358
+
359
+ .\\[--w-modal-width\\:640px\\] {
360
+ --w-modal-width: 640px
361
+ }
362
+
363
+ .focus\\:\\[--w-outline-offset\\:-2px\\]:focus {
364
+ --w-outline-offset: -2px
365
+ }
366
+
367
+ .backdrop-blur {
368
+ -webkit-backdrop-filter: blur(4px);
369
+ backdrop-filter: blur(4px)
370
+ }
371
+
372
+ .peer:checked ~ .peer-checked\\:before\\:bg-center:before {
373
+ background-position: center
374
+ }
375
+
376
+ .hover\\:bg-clip-padding:hover {
377
+ -webkit-background-clip: padding-box;
378
+ background-clip: padding-box
379
+ }
380
+
381
+ .bg-transparent, .group\\/steph:first-child .group-first\\/steph\\:bg-transparent, .group\\/steph:last-child .group-last\\/steph\\:bg-transparent {
382
+ background-color: transparent
383
+ }
384
+
385
+ .bg-\\[--w-black\\/25\\] {
386
+ background-color: rgba(var(--w-rgb-black), .25)
387
+ }
388
+
389
+ .bg-\\[--w-black\\/70\\], .bg-\\[var\\(--w-black\\)\\/70\\] {
390
+ background-color: rgba(var(--w-rgb-black), .7)
391
+ }
392
+
393
+ .bg-\\[--w-color-badge-info-background\\] {
394
+ background-color: var(--w-color-badge-info-background)
395
+ }
396
+
397
+ .bg-\\[--w-color-badge-negative-background\\] {
398
+ background-color: var(--w-color-badge-negative-background)
399
+ }
400
+
401
+ .bg-\\[--w-color-badge-neutral-background\\] {
402
+ background-color: var(--w-color-badge-neutral-background)
403
+ }
404
+
405
+ .bg-\\[--w-color-badge-positive-background\\] {
406
+ background-color: var(--w-color-badge-positive-background)
407
+ }
408
+
409
+ .bg-\\[--w-color-badge-sponsored-background\\] {
410
+ background-color: var(--w-color-badge-sponsored-background)
411
+ }
412
+
413
+ .bg-\\[--w-color-badge-warning-background\\] {
414
+ background-color: var(--w-color-badge-warning-background)
415
+ }
416
+
417
+ .bg-\\[--w-color-button-primary-background\\] {
418
+ background-color: var(--w-color-button-primary-background)
419
+ }
420
+
421
+ .bg-\\[--w-color-buttongroup-utility-background-selected\\] {
422
+ background-color: var(--w-color-buttongroup-utility-background-selected)
423
+ }
424
+
425
+ .bg-\\[--w-color-callout-background\\] {
426
+ background-color: var(--w-color-callout-background)
427
+ }
428
+
429
+ .bg-\\[--w-color-pill-suggestion-background\\] {
430
+ background-color: var(--w-color-pill-suggestion-background)
431
+ }
432
+
433
+ .bg-\\[--w-color-switch-track-background\\] {
434
+ background-color: var(--w-color-switch-track-background)
435
+ }
436
+
437
+ .bg-\\[--w-s-color-surface-elevated-100\\] {
438
+ background-color: var(--w-s-color-surface-elevated-100)
439
+ }
440
+
441
+ .bg-\\[--w-s-color-surface-elevated-300\\] {
442
+ background-color: var(--w-s-color-surface-elevated-300)
443
+ }
444
+
445
+ .bg-\\[--w-s-icon-selected\\] {
446
+ background-color: var(--w-s-icon-selected)
447
+ }
448
+
449
+ .group:hover .group-hover\\:bg-\\[--w-color-switch-track-background-hover\\] {
450
+ background-color: var(--w-color-switch-track-background-hover)
451
+ }
452
+
453
+ .hover\\:bg-\\[--w-color-button-pill-background-hover\\]:hover {
454
+ background-color: var(--w-color-button-pill-background-hover)
455
+ }
456
+
457
+ .hover\\:bg-\\[--w-color-button-primary-background-hover\\]:hover {
458
+ background-color: var(--w-color-button-primary-background-hover)
459
+ }
460
+
461
+ .hover\\:bg-\\[--w-color-buttongroup-utility-background-hover\\]:hover {
462
+ background-color: var(--w-color-buttongroup-utility-background-hover)
463
+ }
464
+
465
+ .hover\\:bg-\\[--w-color-pill-suggestion-background-hover\\]:hover {
466
+ background-color: var(--w-color-pill-suggestion-background-hover)
467
+ }
468
+
469
+ .hover\\:bg-\\[--w-s-icon-subtle\\]:hover {
470
+ background-color: var(--w-s-icon-subtle)
471
+ }
472
+
473
+ .hover\\:bg-\\[var\\(--w-black\\)\\/85\\]:hover {
474
+ background-color: rgba(var(--w-rgb-black), .85)
475
+ }
476
+
477
+ .active\\:bg-\\[--w-color-button-pill-background-active\\]:active {
478
+ background-color: var(--w-color-button-pill-background-active)
479
+ }
480
+
481
+ .active\\:bg-\\[--w-color-button-primary-background-active\\]:active {
482
+ background-color: var(--w-color-button-primary-background-active)
483
+ }
484
+
485
+ .active\\:bg-\\[--w-color-buttongroup-utility-background-selected\\]:active {
486
+ background-color: var(--w-color-buttongroup-utility-background-selected)
487
+ }
488
+
489
+ .active\\:bg-\\[--w-color-pill-suggestion-background-active\\]:active {
490
+ background-color: var(--w-color-pill-suggestion-background-active)
491
+ }
492
+
493
+ .active\\:bg-\\[var\\(--w-black\\)\\]:active {
494
+ background-color: var(--w-black)
495
+ }
496
+
497
+ .peer:checked ~ .peer-checked\\:before\\:bg-\\[url\\(var\\(--w-icon-toggle-checked\\)\\)\\]:before {
498
+ background-image: var(--w-icon-toggle-checked)
499
+ }
500
+
501
+ .appearance-none {
502
+ -moz-appearance: none;
503
+ appearance: none;
504
+ -webkit-appearance: none
505
+ }
506
+
507
+ .will-change-height {
508
+ will-change: height
509
+ }
510
+
511
+ .border, .border-1 {
512
+ border-width: 1px
513
+ }
514
+
515
+ .border-b {
516
+ border-bottom-width: 1px
517
+ }
518
+
519
+ .before\\:border:before {
520
+ border-width: 1px
521
+ }
522
+
523
+ .border-0 {
524
+ border-width: 0
525
+ }
526
+
527
+ .border-2 {
528
+ border-width: 2px
529
+ }
530
+
531
+ .border-b-0 {
532
+ border-bottom-width: 0
533
+ }
534
+
535
+ .border-b-4 {
536
+ border-bottom-width: 4px
537
+ }
538
+
539
+ .border-l-4 {
540
+ border-left-width: 4px
541
+ }
542
+
543
+ .border-r-0, .group:not(:last-of-type) .group-not-last-of-type\\:border-r-0 {
544
+ border-right-width: 0
545
+ }
546
+
547
+ .peer:checked ~ .peer-checked\\:before\\:border-\\[6\\]:before {
548
+ border-width: .6rem
549
+ }
550
+
551
+ .border-transparent {
552
+ border-color: transparent
553
+ }
554
+
555
+ .border-\\[--w-color-buttongroup-utility-border\\] {
556
+ border-color: var(--w-color-buttongroup-utility-border)
557
+ }
558
+
559
+ .border-\\[--w-color-callout-border\\] {
560
+ border-color: var(--w-color-callout-border)
561
+ }
562
+
563
+ .border-\\[--w-s-color-background-inverted\\] {
564
+ border-color: var(--w-s-color-background-inverted)
565
+ }
566
+
567
+ .border-\\[--w-s-color-surface-elevated-300\\] {
568
+ border-color: var(--w-s-color-surface-elevated-300)
569
+ }
570
+
571
+ .active\\:border-\\[--w-color-buttongroup-utility-border-selected\\]:active {
572
+ border-color: var(--w-color-buttongroup-utility-border-selected)
573
+ }
574
+
575
+ .divide-x > * + * {
576
+ --w-divide-x-reverse: 0;
577
+ border-left-width: calc(1px * calc(1 - var(--w-divide-x-reverse)));
578
+ border-right-width: calc(1px * var(--w-divide-x-reverse))
579
+ }
580
+
581
+ .divide-y > * + * {
582
+ --w-divide-y-reverse: 0;
583
+ border-top-width: calc(1px * calc(1 - var(--w-divide-y-reverse)));
584
+ border-bottom-width: calc(1px * var(--w-divide-y-reverse))
585
+ }
586
+
587
+ .rounded-4 {
588
+ border-radius: 4px
589
+ }
590
+
591
+ .rounded-8 {
592
+ border-radius: 8px
593
+ }
594
+
595
+ .rounded-full {
596
+ border-radius: 9999px
597
+ }
598
+
599
+ .before\\:rounded-2:before {
600
+ border-radius: 2px
601
+ }
602
+
603
+ .before\\:rounded-full:before {
604
+ border-radius: 9999px
605
+ }
606
+
607
+ .rounded-b-0 {
608
+ border-bottom-left-radius: 0;
609
+ border-bottom-right-radius: 0
610
+ }
611
+
612
+ .rounded-bl-0 {
613
+ border-bottom-left-radius: 0
614
+ }
615
+
616
+ .rounded-br-0 {
617
+ border-bottom-right-radius: 0
618
+ }
619
+
620
+ .rounded-l-0 {
621
+ border-top-left-radius: 0;
622
+ border-bottom-left-radius: 0
623
+ }
624
+
625
+ .rounded-l-full {
626
+ border-top-left-radius: 9999px;
627
+ border-bottom-left-radius: 9999px
628
+ }
629
+
630
+ .rounded-r-0 {
631
+ border-top-right-radius: 0;
632
+ border-bottom-right-radius: 0
633
+ }
634
+
635
+ .rounded-r-full {
636
+ border-top-right-radius: 9999px;
637
+ border-bottom-right-radius: 9999px
638
+ }
639
+
640
+ .rounded-tl-0 {
641
+ border-top-left-radius: 0
642
+ }
643
+
644
+ .rounded-tl-4 {
645
+ border-top-left-radius: 4px
646
+ }
647
+
648
+ .rounded-tr-0 {
649
+ border-top-right-radius: 0
650
+ }
651
+
652
+ .group:first-of-type .group-first-of-type\\:rounded-bl-8 {
653
+ border-bottom-left-radius: 8px
654
+ }
655
+
656
+ .group:first-of-type .group-first-of-type\\:rounded-tl-8 {
657
+ border-top-left-radius: 8px
658
+ }
659
+
660
+ .first\\:rounded-lb-4:first-child {
661
+ border-bottom-left-radius: 4px
662
+ }
663
+
664
+ .first\\:rounded-lt-4:first-child {
665
+ border-top-left-radius: 4px
666
+ }
667
+
668
+ .first\\:rounded-rt-4:first-child {
669
+ border-top-right-radius: 4px
670
+ }
671
+
672
+ .group:last-of-type .group-last-of-type\\:rounded-br-8 {
673
+ border-bottom-right-radius: 8px
674
+ }
675
+
676
+ .group:last-of-type .group-last-of-type\\:rounded-tr-8 {
677
+ border-top-right-radius: 8px
678
+ }
679
+
680
+ .last\\:rounded-lb-4:last-child {
681
+ border-bottom-left-radius: 4px
682
+ }
683
+
684
+ .last\\:rounded-rb-4:last-child {
685
+ border-bottom-right-radius: 4px
686
+ }
687
+
688
+ .last\\:rounded-rt-4:last-child {
689
+ border-top-right-radius: 4px
690
+ }
691
+
692
+ .caret-current {
693
+ caret-color: currentColor
694
+ }
695
+
696
+ .opacity-25 {
697
+ opacity: 25%
698
+ }
699
+
700
+ .block {
701
+ display: block
702
+ }
703
+
704
+ .before\\:block:before {
705
+ display: block
706
+ }
707
+
708
+ .inline-block {
709
+ display: inline-block
710
+ }
711
+
712
+ .inline {
713
+ display: inline
714
+ }
715
+
716
+ .flex, .open\\:flex[open] {
717
+ display: flex
718
+ }
719
+
720
+ .inline-flex {
721
+ display: inline-flex
722
+ }
723
+
724
+ .grid {
725
+ display: grid
726
+ }
727
+
728
+ .inline-grid {
729
+ display: inline-grid
730
+ }
731
+
732
+ .hidden, .group\\/stepv:last-child .group-last\\/stepv\\:hidden {
733
+ display: none
734
+ }
735
+
736
+ .before\\:hidden:before {
737
+ display: none
738
+ }
739
+
740
+ .hover\\:underline:hover {
741
+ text-decoration-line: underline
742
+ }
743
+
744
+ .focus\\:underline:focus {
745
+ text-decoration-line: underline
746
+ }
747
+
748
+ .focus-visible\\:underline:focus-visible {
749
+ text-decoration-line: underline
750
+ }
751
+
752
+ .active\\:underline:active {
753
+ text-decoration-line: underline
754
+ }
755
+
756
+ .hover\\:no-underline:hover {
757
+ text-decoration: none
758
+ }
759
+
760
+ .focus\\:no-underline:focus {
761
+ text-decoration: none
762
+ }
763
+
764
+ .active\\:no-underline:active {
765
+ text-decoration: none
766
+ }
767
+
768
+ .flex-1 {
769
+ flex: 1 1 0%
770
+ }
771
+
772
+ .shrink {
773
+ flex-shrink: 1
774
+ }
775
+
776
+ .shrink-0 {
777
+ flex-shrink: 0
778
+ }
779
+
780
+ .shrink-0\\! {
781
+ flex-shrink: 0 !important
782
+ }
783
+
784
+ .grow, .grow-1 {
785
+ flex-grow: 1
786
+ }
787
+
788
+ .basis-auto {
789
+ flex-basis: auto
790
+ }
791
+
792
+ .flex-col {
793
+ flex-direction: column
794
+ }
795
+
796
+ .focus-within\\:focusable:focus-within {
797
+ outline: 2px solid var(--w-s-color-border-focus);
798
+ outline-offset: var(--w-outline-offset, 1px)
799
+ }
800
+
801
+ .focusable:focus, .focusable:focus-visible {
802
+ outline: 2px solid var(--w-s-color-border-focus);
803
+ outline-offset: var(--w-outline-offset, 1px)
804
+ }
805
+
806
+ .focusable:not(:focus-visible) {
807
+ outline: none
808
+ }
809
+
810
+ .peer:focus ~ .peer-focus\\:focusable, .peer:focus-visible ~ .peer-focus\\:focusable {
811
+ outline: 2px solid var(--w-s-color-border-focus);
812
+ outline-offset: var(--w-outline-offset, 1px)
813
+ }
814
+
815
+ .peer:not(:focus-visible) ~ .peer-focus\\:focusable {
816
+ outline: none
817
+ }
818
+
819
+ .focusable-inset {
820
+ --w-outline-offset: -3px
821
+ }
822
+
823
+ .gap-12 {
824
+ gap: 1.2rem
825
+ }
826
+
827
+ .gap-8 {
828
+ gap: .8rem
829
+ }
830
+
831
+ .gap-x-16 {
832
+ column-gap: 1.6rem
833
+ }
834
+
835
+ .gap-y-16 {
836
+ row-gap: 1.6rem
837
+ }
838
+
839
+ .row-span-2 {
840
+ grid-row: span 2/span 2
841
+ }
842
+
843
+ .col-span-2 {
844
+ grid-column: span 2/span 2
845
+ }
846
+
847
+ .col-span-3 {
848
+ grid-column: span 3/span 3
849
+ }
850
+
851
+ .row-start-1 {
852
+ grid-row-start: 1
853
+ }
854
+
855
+ .row-start-2 {
856
+ grid-row-start: 2
857
+ }
858
+
859
+ .col-start-2 {
860
+ grid-column-start: 2
861
+ }
862
+
863
+ .auto-rows-auto {
864
+ grid-auto-rows: auto
865
+ }
866
+
867
+ .grid-flow-col {
868
+ grid-auto-flow: column
869
+ }
870
+
871
+ .grid-rows-\\[20px_auto\\] {
872
+ grid-template-rows:20px auto
873
+ }
874
+
875
+ .grid-rows-\\[auto_20px\\] {
876
+ grid-template-rows:auto 20px
877
+ }
878
+
879
+ .grid-cols-\\[1fr_20px_1fr\\] {
880
+ grid-template-columns:1fr 20px 1fr
881
+ }
882
+
883
+ .grid-cols-\\[1fr_20px\\] {
884
+ grid-template-columns:1fr 20px
885
+ }
886
+
887
+ .grid-cols-\\[20px_1fr\\] {
888
+ grid-template-columns:20px 1fr
889
+ }
890
+
891
+ .grid-cols-\\[auto_1fr_auto\\] {
892
+ grid-template-columns:auto 1fr auto
893
+ }
894
+
895
+ .grid-cols-1 {
896
+ grid-template-columns:repeat(1, minmax(0, 1fr))
897
+ }
898
+
899
+ .grid-cols-2 {
900
+ grid-template-columns:repeat(2, minmax(0, 1fr))
901
+ }
902
+
903
+ .grid-cols-3 {
904
+ grid-template-columns:repeat(3, minmax(0, 1fr))
905
+ }
906
+
907
+ .grid-cols-4 {
908
+ grid-template-columns:repeat(4, minmax(0, 1fr))
909
+ }
910
+
911
+ .grid-cols-5 {
912
+ grid-template-columns:repeat(5, minmax(0, 1fr))
913
+ }
914
+
915
+ .grid-cols-6 {
916
+ grid-template-columns:repeat(6, minmax(0, 1fr))
917
+ }
918
+
919
+ .grid-cols-7 {
920
+ grid-template-columns:repeat(7, minmax(0, 1fr))
921
+ }
922
+
923
+ .grid-cols-8 {
924
+ grid-template-columns:repeat(8, minmax(0, 1fr))
925
+ }
926
+
927
+ .grid-cols-9 {
928
+ grid-template-columns:repeat(9, minmax(0, 1fr))
929
+ }
930
+
931
+ .overflow-hidden {
932
+ overflow: hidden
933
+ }
934
+
935
+ .overflow-x-hidden {
936
+ overflow-x: hidden
937
+ }
938
+
939
+ .overflow-y-auto {
940
+ overflow-y: auto
941
+ }
942
+
943
+ .list-none {
944
+ list-style-type: none
945
+ }
946
+
947
+ .outline-\\[--w-s-color-border-negative\\]\\! {
948
+ outline-color: var(--w-s-color-border-negative) !important
949
+ }
950
+
951
+ .outline-none {
952
+ outline: 2px solid transparent;
953
+ outline-offset: 2px
954
+ }
955
+
956
+ .focus\\:outline-none:focus {
957
+ outline: 2px solid transparent;
958
+ outline-offset: 2px
959
+ }
960
+
961
+ .items-start {
962
+ align-items: flex-start
963
+ }
964
+
965
+ .items-end {
966
+ align-items: flex-end
967
+ }
968
+
969
+ .items-center {
970
+ align-items: center
971
+ }
972
+
973
+ .self-center {
974
+ align-self: center
975
+ }
976
+
977
+ .inset-0 {
978
+ top: 0rem;
979
+ right: 0rem;
980
+ bottom: 0rem;
981
+ left: 0rem
982
+ }
983
+
984
+ .-bottom-0 {
985
+ bottom: -0rem
986
+ }
987
+
988
+ .bottom-0 {
989
+ bottom: 0rem
990
+ }
991
+
992
+ .bottom-10 {
993
+ bottom: 1rem
994
+ }
995
+
996
+ .bottom-16 {
997
+ bottom: 1.6rem
998
+ }
999
+
1000
+ .left-0 {
1001
+ left: 0rem
1002
+ }
1003
+
1004
+ .left-4 {
1005
+ left: .4rem
1006
+ }
1007
+
1008
+ .right-0 {
1009
+ right: 0rem
1010
+ }
1011
+
1012
+ .right-8 {
1013
+ right: .8rem
1014
+ }
1015
+
1016
+ .top-\\[1\\.92rem\\] {
1017
+ top: 1.92rem
1018
+ }
1019
+
1020
+ .top-0 {
1021
+ top: 0rem
1022
+ }
1023
+
1024
+ .top-20 {
1025
+ top: 2rem
1026
+ }
1027
+
1028
+ .top-4 {
1029
+ top: .4rem
1030
+ }
1031
+
1032
+ .top-8 {
1033
+ top: .8rem
1034
+ }
1035
+
1036
+ .before\\:bottom-0:before {
1037
+ bottom: 0rem
1038
+ }
1039
+
1040
+ .before\\:left-0:before {
1041
+ left: 0rem
1042
+ }
1043
+
1044
+ .before\\:right-0:before {
1045
+ right: 0rem
1046
+ }
1047
+
1048
+ .before\\:top-2:before {
1049
+ top: .2rem
1050
+ }
1051
+
1052
+ .-bottom-\\[8px\\] {
1053
+ bottom: -8px
1054
+ }
1055
+
1056
+ .-left-\\[8px\\] {
1057
+ left: -8px
1058
+ }
1059
+
1060
+ .-right-\\[8px\\] {
1061
+ right: -8px
1062
+ }
1063
+
1064
+ .-top-\\[8px\\] {
1065
+ top: -8px
1066
+ }
1067
+
1068
+ .top-\\[19px\\] {
1069
+ top: 19px
1070
+ }
1071
+
1072
+ .top-\\[30\\%\\] {
1073
+ top: 30%
1074
+ }
1075
+
1076
+ .justify-end {
1077
+ justify-content: flex-end
1078
+ }
1079
+
1080
+ .justify-center {
1081
+ justify-content: center
1082
+ }
1083
+
1084
+ .justify-between {
1085
+ justify-content: space-between
1086
+ }
1087
+
1088
+ .justify-items-center {
1089
+ justify-items: center
1090
+ }
1091
+
1092
+ .justify-self-start {
1093
+ justify-self: start
1094
+ }
1095
+
1096
+ .justify-self-end {
1097
+ justify-self: end
1098
+ }
1099
+
1100
+ .justify-self-center {
1101
+ justify-self: center
1102
+ }
1103
+
1104
+ .absolute {
1105
+ position: absolute
1106
+ }
1107
+
1108
+ .fixed {
1109
+ position: fixed
1110
+ }
1111
+
1112
+ .relative {
1113
+ position: relative
1114
+ }
1115
+
1116
+ .open\\:fixed[open] {
1117
+ position: fixed
1118
+ }
1119
+
1120
+ .before\\:absolute:before {
1121
+ position: absolute
1122
+ }
1123
+
1124
+ .z-10, .peer:checked ~ .peer-checked\\:z-10 {
1125
+ z-index: 10
1126
+ }
1127
+
1128
+ .z-30 {
1129
+ z-index: 30
1130
+ }
1131
+
1132
+ .z-50 {
1133
+ z-index: 50
1134
+ }
1135
+
1136
+ .hover\\:z-30:hover {
1137
+ z-index: 30
1138
+ }
1139
+
1140
+ .\\!s-bg-selected {
1141
+ background-color: var(--w-s-color-background-selected) !important
1142
+ }
1143
+
1144
+ .s-bg {
1145
+ background-color: var(--w-s-color-background)
1146
+ }
1147
+
1148
+ .s-bg-disabled {
1149
+ background-color: var(--w-s-color-background-disabled)
1150
+ }
1151
+
1152
+ .s-bg-disabled-subtle {
1153
+ background-color: var(--w-s-color-background-disabled-subtle)
1154
+ }
1155
+
1156
+ .s-bg-info-subtle {
1157
+ background-color: var(--w-s-color-background-info-subtle)
1158
+ }
1159
+
1160
+ .s-bg-inverted {
1161
+ background-color: var(--w-s-color-background-inverted)
1162
+ }
1163
+
1164
+ .s-bg-negative {
1165
+ background-color: var(--w-s-color-background-negative)
1166
+ }
1167
+
1168
+ .s-bg-negative-subtle {
1169
+ background-color: var(--w-s-color-background-negative-subtle)
1170
+ }
1171
+
1172
+ .s-bg-positive-subtle {
1173
+ background-color: var(--w-s-color-background-positive-subtle)
1174
+ }
1175
+
1176
+ .s-bg-primary, .peer:checked ~ .peer-checked\\:s-bg-primary {
1177
+ background-color: var(--w-s-color-background-primary)
1178
+ }
1179
+
1180
+ .s-bg-selected {
1181
+ background-color: var(--w-s-color-background-selected)
1182
+ }
1183
+
1184
+ .s-bg-subtle {
1185
+ background-color: var(--w-s-color-background-subtle)
1186
+ }
1187
+
1188
+ .s-bg-warning-subtle {
1189
+ background-color: var(--w-s-color-background-warning-subtle)
1190
+ }
1191
+
1192
+ .peer:checked:hover ~ .peer-checked\\:peer-hover\\:before\\:s-bg-negative-hover:before {
1193
+ background-color: var(--w-s-color-background-negative-hover)
1194
+ }
1195
+
1196
+ .peer:checked:hover ~ .peer-checked\\:peer-hover\\:before\\:s-bg-primary-hover:before {
1197
+ background-color: var(--w-s-color-background-primary-hover)
1198
+ }
1199
+
1200
+ .peer:checked ~ .peer-checked\\:before\\:s-bg-disabled:before {
1201
+ background-color: var(--w-s-color-background-disabled)
1202
+ }
1203
+
1204
+ .peer:checked ~ .peer-checked\\:before\\:s-bg-negative:before {
1205
+ background-color: var(--w-s-color-background-negative)
1206
+ }
1207
+
1208
+ .peer:checked ~ .peer-checked\\:before\\:s-bg-primary:before {
1209
+ background-color: var(--w-s-color-background-primary)
1210
+ }
1211
+
1212
+ .peer:indeterminate ~ .peer-indeterminate\\:before\\:s-bg-disabled:before {
1213
+ background-color: var(--w-s-color-background-disabled)
1214
+ }
1215
+
1216
+ .peer:indeterminate ~ .peer-indeterminate\\:before\\:s-bg-negative:before {
1217
+ background-color: var(--w-s-color-background-negative)
1218
+ }
1219
+
1220
+ .peer:indeterminate ~ .peer-indeterminate\\:before\\:s-bg-primary:before {
1221
+ background-color: var(--w-s-color-background-primary)
1222
+ }
1223
+
1224
+ .peer:indeterminate ~ .peer-indeterminate\\:hover\\:before\\:s-bg-negative-hover:hover:before {
1225
+ background-color: var(--w-s-color-background-negative-hover)
1226
+ }
1227
+
1228
+ .peer:indeterminate ~ .peer-indeterminate\\:hover\\:before\\:s-bg-primary-hover:hover:before {
1229
+ background-color: var(--w-s-color-background-primary-hover)
1230
+ }
1231
+
1232
+ .\\!hover\\:s-bg-selected-hover:hover {
1233
+ background-color: var(--w-s-color-background-selected-hover) !important
1234
+ }
1235
+
1236
+ .group:hover .group-hover\\:s-bg-primary-hover {
1237
+ background-color: var(--w-s-color-background-primary-hover)
1238
+ }
1239
+
1240
+ .hover\\:before\\:s-bg-hover:hover:before {
1241
+ background-color: var(--w-s-color-background-hover)
1242
+ }
1243
+
1244
+ .hover\\:before\\:s-bg-negative-subtle-hover:hover:before {
1245
+ background-color: var(--w-s-color-background-negative-subtle-hover)
1246
+ }
1247
+
1248
+ .hover\\:s-bg-hover:hover {
1249
+ background-color: var(--w-s-color-background-hover)
1250
+ }
1251
+
1252
+ .hover\\:s-bg-negative-hover:hover {
1253
+ background-color: var(--w-s-color-background-negative-hover)
1254
+ }
1255
+
1256
+ .hover\\:s-bg-negative-subtle-hover:hover {
1257
+ background-color: var(--w-s-color-background-negative-subtle-hover)
1258
+ }
1259
+
1260
+ .hover\\:s-bg-primary-hover:hover {
1261
+ background-color: var(--w-s-color-background-primary-hover)
1262
+ }
1263
+
1264
+ .hover\\:s-bg-selected-hover:hover {
1265
+ background-color: var(--w-s-color-background-selected-hover)
1266
+ }
1267
+
1268
+ .peer:hover:not(:checked) ~ .peer-hover\\:peer-not-checked\\:s-bg-hover {
1269
+ background-color: var(--w-s-color-background-hover)
1270
+ }
1271
+
1272
+ .peer:hover ~ .peer-hover\\:before\\:s-bg-hover:before {
1273
+ background-color: var(--w-s-color-background-hover)
1274
+ }
1275
+
1276
+ .peer:hover ~ .peer-hover\\:before\\:s-bg-negative-subtle:before {
1277
+ background-color: var(--w-s-color-background-negative-subtle)
1278
+ }
1279
+
1280
+ .focus\\:s-bg-primary-hover:focus {
1281
+ background-color: var(--w-s-color-background-primary-hover)
1282
+ }
1283
+
1284
+ .\\!active\\:s-bg-selected-active:active {
1285
+ background-color: var(--w-s-color-background-selected-active) !important
1286
+ }
1287
+
1288
+ .active\\:s-bg-active:active {
1289
+ background-color: var(--w-s-color-background-active)
1290
+ }
1291
+
1292
+ .active\\:s-bg-negative-active:active {
1293
+ background-color: var(--w-s-color-background-negative-active)
1294
+ }
1295
+
1296
+ .active\\:s-bg-negative-subtle-active:active {
1297
+ background-color: var(--w-s-color-background-negative-subtle-active)
1298
+ }
1299
+
1300
+ .active\\:s-bg-primary-active:active {
1301
+ background-color: var(--w-s-color-background-primary-active)
1302
+ }
1303
+
1304
+ .active\\:s-bg-selected-active:active {
1305
+ background-color: var(--w-s-color-background-selected-active)
1306
+ }
1307
+
1308
+ .before\\:s-bg-disabled-subtle:before {
1309
+ background-color: var(--w-s-color-background-disabled-subtle)
1310
+ }
1311
+
1312
+ .before\\:s-bg:before {
1313
+ background-color: var(--w-s-color-background)
1314
+ }
1315
+
1316
+ .s-text {
1317
+ color: var(--w-s-color-text)
1318
+ }
1319
+
1320
+ .s-text-disabled {
1321
+ color: var(--w-s-color-text-disabled)
1322
+ }
1323
+
1324
+ .s-text-inverted, .peer:checked ~ .peer-checked\\:s-text-inverted {
1325
+ color: var(--w-s-color-text-inverted)
1326
+ }
1327
+
1328
+ .s-text-inverted-static {
1329
+ color: var(--w-s-color-text-inverted-static)
1330
+ }
1331
+
1332
+ .s-text-link {
1333
+ color: var(--w-s-color-text-link)
1334
+ }
1335
+
1336
+ .s-text-negative {
1337
+ color: var(--w-s-color-text-negative)
1338
+ }
1339
+
1340
+ .s-text-subtle {
1341
+ color: var(--w-s-color-text-subtle)
1342
+ }
1343
+
1344
+ .hover\\:s-text-link:hover {
1345
+ color: var(--w-s-color-text-link)
1346
+ }
1347
+
1348
+ .active\\:s-text:active {
1349
+ color: var(--w-s-color-text)
1350
+ }
1351
+
1352
+ .placeholder\\:s-text-placeholder::placeholder {
1353
+ color: var(--w-s-color-text-placeholder)
1354
+ }
1355
+
1356
+ .s-icon {
1357
+ color: var(--w-s-color-icon)
1358
+ }
1359
+
1360
+ .s-icon-info {
1361
+ color: var(--w-s-color-icon-info)
1362
+ }
1363
+
1364
+ .s-icon-inverted {
1365
+ color: var(--w-s-color-icon-inverted)
1366
+ }
1367
+
1368
+ .s-icon-negative {
1369
+ color: var(--w-s-color-icon-negative)
1370
+ }
1371
+
1372
+ .s-icon-positive {
1373
+ color: var(--w-s-color-icon-positive)
1374
+ }
1375
+
1376
+ .s-icon-warning {
1377
+ color: var(--w-s-color-icon-warning)
1378
+ }
1379
+
1380
+ .hover\\:s-icon-hover:hover {
1381
+ color: var(--w-s-color-icon-hover)
1382
+ }
1383
+
1384
+ .active\\:s-icon-active:active {
1385
+ color: var(--w-s-color-icon-active)
1386
+ }
1387
+
1388
+ .before\\:s-icon-inverted:before {
1389
+ color: var(--w-s-color-icon-inverted)
1390
+ }
1391
+
1392
+ .s-border {
1393
+ border-color: var(--w-s-color-border)
1394
+ }
1395
+
1396
+ .s-border-disabled {
1397
+ border-color: var(--w-s-color-border-disabled)
1398
+ }
1399
+
1400
+ .s-border-info-subtle {
1401
+ border-color: var(--w-s-color-border-info-subtle)
1402
+ }
1403
+
1404
+ .s-border-l-info {
1405
+ border-left-color: var(--w-s-color-border-info)
1406
+ }
1407
+
1408
+ .s-border-l-negative {
1409
+ border-left-color: var(--w-s-color-border-negative)
1410
+ }
1411
+
1412
+ .s-border-l-positive {
1413
+ border-left-color: var(--w-s-color-border-positive)
1414
+ }
1415
+
1416
+ .s-border-l-warning {
1417
+ border-left-color: var(--w-s-color-border-warning)
1418
+ }
1419
+
1420
+ .s-border-negative {
1421
+ border-color: var(--w-s-color-border-negative)
1422
+ }
1423
+
1424
+ .s-border-negative-subtle {
1425
+ border-color: var(--w-s-color-border-negative-subtle)
1426
+ }
1427
+
1428
+ .s-border-positive-subtle {
1429
+ border-color: var(--w-s-color-border-positive-subtle)
1430
+ }
1431
+
1432
+ .s-border-primary, .peer:checked ~ .peer-checked\\:s-border-primary {
1433
+ border-color: var(--w-s-color-border-primary)
1434
+ }
1435
+
1436
+ .s-border-selected {
1437
+ border-color: var(--w-s-color-border-selected)
1438
+ }
1439
+
1440
+ .s-border-warning-subtle {
1441
+ border-color: var(--w-s-color-border-warning-subtle)
1442
+ }
1443
+
1444
+ .peer:checked:hover ~ .peer-checked\\:peer-hover\\:before\\:s-border-negative-hover:before {
1445
+ border-color: var(--w-s-color-border-negative-hover)
1446
+ }
1447
+
1448
+ .peer:checked:hover ~ .peer-checked\\:peer-hover\\:before\\:s-border-primary-hover:before {
1449
+ border-color: var(--w-s-color-border-primary-hover)
1450
+ }
1451
+
1452
+ .peer:checked:hover ~ .peer-checked\\:peer-hover\\:before\\:s-border-selected-hover:before {
1453
+ border-color: var(--w-s-color-border-selected-hover)
1454
+ }
1455
+
1456
+ .peer:checked ~ .peer-checked\\:before\\:s-border-disabled:before {
1457
+ border-color: var(--w-s-color-border-disabled)
1458
+ }
1459
+
1460
+ .peer:checked ~ .peer-checked\\:before\\:s-border-negative:before {
1461
+ border-color: var(--w-s-color-border-negative)
1462
+ }
1463
+
1464
+ .peer:checked ~ .peer-checked\\:before\\:s-border-primary:before {
1465
+ border-color: var(--w-s-color-border-primary)
1466
+ }
1467
+
1468
+ .peer:checked ~ .peer-checked\\:before\\:s-border-selected:before {
1469
+ border-color: var(--w-s-color-border-selected)
1470
+ }
1471
+
1472
+ .peer:indeterminate ~ .peer-indeterminate\\:before\\:s-border-disabled:before {
1473
+ border-color: var(--w-s-color-border-disabled)
1474
+ }
1475
+
1476
+ .peer:indeterminate ~ .peer-indeterminate\\:before\\:s-border-negative:before {
1477
+ border-color: var(--w-s-color-border-negative)
1478
+ }
1479
+
1480
+ .peer:indeterminate ~ .peer-indeterminate\\:before\\:s-border-primary:before {
1481
+ border-color: var(--w-s-color-border-primary)
1482
+ }
1483
+
1484
+ .peer:indeterminate ~ .peer-indeterminate\\:hover\\:before\\:s-border-negative-hover:hover:before {
1485
+ border-color: var(--w-s-color-border-negative-hover)
1486
+ }
1487
+
1488
+ .peer:indeterminate ~ .peer-indeterminate\\:hover\\:before\\:s-border-primary-hover:hover:before {
1489
+ border-color: var(--w-s-color-border-primary-hover)
1490
+ }
1491
+
1492
+ .group:hover .group-hover\\:s-border-selected-hover {
1493
+ border-color: var(--w-s-color-border-selected-hover)
1494
+ }
1495
+
1496
+ .hover\\:before\\:s-border-negative-hover:hover:before {
1497
+ border-color: var(--w-s-color-border-negative-hover)
1498
+ }
1499
+
1500
+ .hover\\:before\\:s-border-primary:hover:before {
1501
+ border-color: var(--w-s-color-border-primary)
1502
+ }
1503
+
1504
+ .hover\\:s-border-disabled:hover {
1505
+ border-color: var(--w-s-color-border-disabled)
1506
+ }
1507
+
1508
+ .hover\\:s-border-hover:hover {
1509
+ border-color: var(--w-s-color-border-hover)
1510
+ }
1511
+
1512
+ .hover\\:s-border-negative-hover:hover {
1513
+ border-color: var(--w-s-color-border-negative-hover)
1514
+ }
1515
+
1516
+ .hover\\:s-border-primary-hover:hover {
1517
+ border-color: var(--w-s-color-border-primary-hover)
1518
+ }
1519
+
1520
+ .hover\\:s-border-primary:hover {
1521
+ border-color: var(--w-s-color-border-primary)
1522
+ }
1523
+
1524
+ .hover\\:s-border-selected-hover:hover {
1525
+ border-color: var(--w-s-color-border-selected-hover)
1526
+ }
1527
+
1528
+ .peer:hover ~ .peer-hover\\:before\\:s-border-negative-hover:before {
1529
+ border-color: var(--w-s-color-border-negative-hover)
1530
+ }
1531
+
1532
+ .peer:hover ~ .peer-hover\\:before\\:s-border-primary:before {
1533
+ border-color: var(--w-s-color-border-primary)
1534
+ }
1535
+
1536
+ .focus\\:s-border-primary-hover:focus {
1537
+ border-color: var(--w-s-color-border-primary-hover)
1538
+ }
1539
+
1540
+ .active\\:s-border-active:active {
1541
+ border-color: var(--w-s-color-border-active)
1542
+ }
1543
+
1544
+ .active\\:s-border-disabled:active {
1545
+ border-color: var(--w-s-color-border-disabled)
1546
+ }
1547
+
1548
+ .active\\:s-border-primary-active:active {
1549
+ border-color: var(--w-s-color-border-primary-active)
1550
+ }
1551
+
1552
+ .active\\:s-border-selected-active:active {
1553
+ border-color: var(--w-s-color-border-selected-active)
1554
+ }
1555
+
1556
+ .active\\:s-border-selected:active {
1557
+ border-color: var(--w-s-color-border-selected)
1558
+ }
1559
+
1560
+ .group:active .group-active\\:s-border-active {
1561
+ border-color: var(--w-s-color-border-active)
1562
+ }
1563
+
1564
+ .group:active .group-active\\:s-border-selected-active {
1565
+ border-color: var(--w-s-color-border-selected-active)
1566
+ }
1567
+
1568
+ .before\\:s-border-disabled:before {
1569
+ border-color: var(--w-s-color-border-disabled)
1570
+ }
1571
+
1572
+ .before\\:s-border-negative:before {
1573
+ border-color: var(--w-s-color-border-negative)
1574
+ }
1575
+
1576
+ .s-surface-sunken {
1577
+ background-color: var(--w-s-color-surface-sunken)
1578
+ }
1579
+
1580
+ .s-surface-elevated-200 {
1581
+ background-color: var(--w-s-color-surface-elevated-200);
1582
+ box-shadow: var(--w-s-shadow-surface-elevated-200)
1583
+ }
1584
+
1585
+ .hover\\:s-surface-elevated-200-hover:hover {
1586
+ background-color: var(--w-s-color-surface-elevated-200-hover);
1587
+ box-shadow: var(--w-s-shadow-surface-elevated-200-hover)
1588
+ }
1589
+
1590
+ .active\\:s-surface-elevated-200-active:active {
1591
+ background-color: var(--w-s-color-surface-elevated-200-active);
1592
+ box-shadow: var(--w-s-shadow-surface-elevated-200-active)
1593
+ }
1594
+
1595
+ .drop-shadow-m {
1596
+ filter: drop-shadow(rgba(64, 64, 64, .24) 0 3px 8px) drop-shadow(rgba(64, 64, 64, .16) 0 3px 6px)
1597
+ }
1598
+
1599
+ .shadow-m {
1600
+ box-shadow: var(--w-shadow-m)
1601
+ }
1602
+
1603
+ .shadow-s {
1604
+ box-shadow: var(--w-shadow-s)
1605
+ }
1606
+
1607
+ .shadow-\\[--w-shadow-slider\\] {
1608
+ box-shadow: var(--w-shadow-slider)
1609
+ }
1610
+
1611
+ .hover\\:shadow-\\[--w-shadow-slider-handle-hover\\]:hover {
1612
+ box-shadow: var(--w-shadow-slider-handle-hover)
1613
+ }
1614
+
1615
+ .focus\\:shadow-\\[--w-shadow-slider-handle-hover\\]:focus {
1616
+ box-shadow: var(--w-shadow-slider-handle-hover)
1617
+ }
1618
+
1619
+ .active\\:shadow-\\[--w-shadow-slider-handle-active\\]:active {
1620
+ box-shadow: var(--w-shadow-slider-handle-active)
1621
+ }
1622
+
1623
+ .h-0 {
1624
+ height: 0rem
1625
+ }
1626
+
1627
+ .h-16 {
1628
+ height: 1.6rem
1629
+ }
1630
+
1631
+ .h-2 {
1632
+ height: .2rem
1633
+ }
1634
+
1635
+ .h-20 {
1636
+ height: 2rem
1637
+ }
1638
+
1639
+ .h-24 {
1640
+ height: 2.4rem
1641
+ }
1642
+
1643
+ .h-4 {
1644
+ height: .4rem
1645
+ }
1646
+
1647
+ .h-44 {
1648
+ height: 4.4rem
1649
+ }
1650
+
1651
+ .h-6 {
1652
+ height: .6rem
1653
+ }
1654
+
1655
+ .h-8 {
1656
+ height: .8rem
1657
+ }
1658
+
1659
+ .h-full {
1660
+ height: 100%
1661
+ }
1662
+
1663
+ .h-unset {
1664
+ height: unset
1665
+ }
1666
+
1667
+ .max-h-unset {
1668
+ max-height: unset
1669
+ }
1670
+
1671
+ .max-w-full {
1672
+ max-width: 100%
1673
+ }
1674
+
1675
+ .max-w-max {
1676
+ max-width: max-content
1677
+ }
1678
+
1679
+ .max-w-unset {
1680
+ max-width: unset
1681
+ }
1682
+
1683
+ .min-h-32 {
1684
+ min-height: 3.2rem
1685
+ }
1686
+
1687
+ .min-h-40 {
1688
+ min-height: 4rem
1689
+ }
1690
+
1691
+ .min-w-16 {
1692
+ min-width: 1.6rem
1693
+ }
1694
+
1695
+ .min-w-32 {
1696
+ min-width: 3.2rem
1697
+ }
1698
+
1699
+ .w-16 {
1700
+ width: 1.6rem
1701
+ }
1702
+
1703
+ .w-2 {
1704
+ width: .2rem
1705
+ }
1706
+
1707
+ .w-20 {
1708
+ width: 2rem
1709
+ }
1710
+
1711
+ .w-24 {
1712
+ width: 2.4rem
1713
+ }
1714
+
1715
+ .w-32 {
1716
+ width: 3.2rem
1717
+ }
1718
+
1719
+ .w-40 {
1720
+ width: 4rem
1721
+ }
1722
+
1723
+ .w-44 {
1724
+ width: 4.4rem
1725
+ }
1726
+
1727
+ .w-8 {
1728
+ width: .8rem
1729
+ }
1730
+
1731
+ .w-full {
1732
+ width: 100%
1733
+ }
1734
+
1735
+ .w-max {
1736
+ width: max-content
1737
+ }
1738
+
1739
+ .w-unset {
1740
+ width: unset
1741
+ }
1742
+
1743
+ .before\\:h-20:before {
1744
+ height: 2rem
1745
+ }
1746
+
1747
+ .before\\:h-full:before {
1748
+ height: 100%
1749
+ }
1750
+
1751
+ .before\\:w-20:before {
1752
+ width: 2rem
1753
+ }
1754
+
1755
+ .before\\:w-32:before {
1756
+ width: 3.2rem
1757
+ }
1758
+
1759
+ .h-\\[--w-modal-height\\] {
1760
+ height: var(--w-modal-height)
1761
+ }
1762
+
1763
+ .h-\\[14px\\] {
1764
+ height: 14px
1765
+ }
1766
+
1767
+ .h-\\[16px\\] {
1768
+ height: 16px
1769
+ }
1770
+
1771
+ .max-h-\\[--w-modal-max-height\\] {
1772
+ max-height: var(--w-modal-max-height)
1773
+ }
1774
+
1775
+ .min-h-\\[--w-modal-min-height\\] {
1776
+ min-height: var(--w-modal-min-height)
1777
+ }
1778
+
1779
+ .min-h-\\[32px\\] {
1780
+ min-height: 32px
1781
+ }
1782
+
1783
+ .min-h-\\[40px\\] {
1784
+ min-height: 40px
1785
+ }
1786
+
1787
+ .min-h-\\[42\\] {
1788
+ min-height: 4.2rem
1789
+ }
1790
+
1791
+ .min-h-\\[44px\\] {
1792
+ min-height: 44px
1793
+ }
1794
+
1795
+ .min-w-\\[32px\\] {
1796
+ min-width: 32px
1797
+ }
1798
+
1799
+ .min-w-\\[40px\\] {
1800
+ min-width: 40px
1801
+ }
1802
+
1803
+ .min-w-\\[44px\\] {
1804
+ min-width: 44px
1805
+ }
1806
+
1807
+ .w-\\[--w-modal-width\\] {
1808
+ width: var(--w-modal-width)
1809
+ }
1810
+
1811
+ .w-\\[14px\\] {
1812
+ width: 14px
1813
+ }
1814
+
1815
+ .w-\\[16px\\] {
1816
+ width: 16px
1817
+ }
1818
+
1819
+ .space-x-8 > :not([hidden]) ~ :not([hidden]) {
1820
+ --w-space-x-reverse: 0;
1821
+ margin-left: calc(.8rem * calc(1 - var(--w-space-x-reverse)));
1822
+ margin-right: calc(.8rem * var(--w-space-x-reverse))
1823
+ }
1824
+
1825
+ .space-y-16 > :not([hidden]) ~ :not([hidden]) {
1826
+ --w-space-y-reverse: 0;
1827
+ margin-top: calc(1.6rem * calc(1 - var(--w-space-y-reverse)));
1828
+ margin-bottom: calc(1.6rem * var(--w-space-y-reverse))
1829
+ }
1830
+
1831
+ .m-0 {
1832
+ margin: 0rem
1833
+ }
1834
+
1835
+ .m-auto {
1836
+ margin: auto
1837
+ }
1838
+
1839
+ .-mx-16 {
1840
+ margin-left: -1.6rem;
1841
+ margin-right: -1.6rem
1842
+ }
1843
+
1844
+ .mx-0 {
1845
+ margin-left: 0rem;
1846
+ margin-right: 0rem
1847
+ }
1848
+
1849
+ .mx-8 {
1850
+ margin-left: .8rem;
1851
+ margin-right: .8rem
1852
+ }
1853
+
1854
+ .mx-auto {
1855
+ margin-left: auto;
1856
+ margin-right: auto
1857
+ }
1858
+
1859
+ .-mb-1 {
1860
+ margin-bottom: -.1rem
1861
+ }
1862
+
1863
+ .-ml-8 {
1864
+ margin-left: -.8rem
1865
+ }
1866
+
1867
+ .-mr-1 {
1868
+ margin-right: -.1rem
1869
+ }
1870
+
1871
+ .-mr-8 {
1872
+ margin-right: -.8rem
1873
+ }
1874
+
1875
+ .-mt-2 {
1876
+ margin-top: -.2rem
1877
+ }
1878
+
1879
+ .-mt-4 {
1880
+ margin-top: -.4rem
1881
+ }
1882
+
1883
+ .last-child\\:mb-0 > :last-child, .mb-0 {
1884
+ margin-bottom: 0rem
1885
+ }
1886
+
1887
+ .mb-32 {
1888
+ margin-bottom: 3.2rem
1889
+ }
1890
+
1891
+ .ml-8 {
1892
+ margin-left: .8rem
1893
+ }
1894
+
1895
+ .ml-auto {
1896
+ margin-left: auto
1897
+ }
1898
+
1899
+ .mr-8 {
1900
+ margin-right: .8rem
1901
+ }
1902
+
1903
+ .mt-16 {
1904
+ margin-top: 1.6rem
1905
+ }
1906
+
1907
+ .mt-4 {
1908
+ margin-top: .4rem
1909
+ }
1910
+
1911
+ .group:not(:first-child) .group-not-first\\:-ml-2 {
1912
+ margin-left: -.2rem
1913
+ }
1914
+
1915
+ .last\\:mb-0:last-child {
1916
+ margin-bottom: 0rem
1917
+ }
1918
+
1919
+ .last\\:mr-0:last-child {
1920
+ margin-right: 0rem
1921
+ }
1922
+
1923
+ .m-\\[8px\\] {
1924
+ margin: 8px
1925
+ }
1926
+
1927
+ .p-0 {
1928
+ padding: 0rem
1929
+ }
1930
+
1931
+ .p-16 {
1932
+ padding: 1.6rem
1933
+ }
1934
+
1935
+ .p-4 {
1936
+ padding: .4rem
1937
+ }
1938
+
1939
+ .p-8 {
1940
+ padding: .8rem
1941
+ }
1942
+
1943
+ .px-0 {
1944
+ padding-left: 0rem;
1945
+ padding-right: 0rem
1946
+ }
1947
+
1948
+ .px-1 {
1949
+ padding-left: .1rem;
1950
+ padding-right: .1rem
1951
+ }
1952
+
1953
+ .px-12 {
1954
+ padding-left: 1.2rem;
1955
+ padding-right: 1.2rem
1956
+ }
1957
+
1958
+ .px-14 {
1959
+ padding-left: 1.4rem;
1960
+ padding-right: 1.4rem
1961
+ }
1962
+
1963
+ .px-16 {
1964
+ padding-left: 1.6rem;
1965
+ padding-right: 1.6rem
1966
+ }
1967
+
1968
+ .px-8 {
1969
+ padding-left: .8rem;
1970
+ padding-right: .8rem
1971
+ }
1972
+
1973
+ .py-0 {
1974
+ padding-top: 0rem;
1975
+ padding-bottom: 0rem
1976
+ }
1977
+
1978
+ .py-1 {
1979
+ padding-top: .1rem;
1980
+ padding-bottom: .1rem
1981
+ }
1982
+
1983
+ .py-10 {
1984
+ padding-top: 1rem;
1985
+ padding-bottom: 1rem
1986
+ }
1987
+
1988
+ .py-12 {
1989
+ padding-top: 1.2rem;
1990
+ padding-bottom: 1.2rem
1991
+ }
1992
+
1993
+ .py-2 {
1994
+ padding-top: .2rem;
1995
+ padding-bottom: .2rem
1996
+ }
1997
+
1998
+ .py-4 {
1999
+ padding-top: .4rem;
2000
+ padding-bottom: .4rem
2001
+ }
2002
+
2003
+ .py-6 {
2004
+ padding-top: .6rem;
2005
+ padding-bottom: .6rem
2006
+ }
2007
+
2008
+ .py-8 {
2009
+ padding-top: .8rem;
2010
+ padding-bottom: .8rem
2011
+ }
2012
+
2013
+ .pb-0 {
2014
+ padding-bottom: 0rem
2015
+ }
2016
+
2017
+ .pb-32 {
2018
+ padding-bottom: 3.2rem
2019
+ }
2020
+
2021
+ .pb-4 {
2022
+ padding-bottom: .4rem
2023
+ }
2024
+
2025
+ .pb-8 {
2026
+ padding-bottom: .8rem
2027
+ }
2028
+
2029
+ .pl-0 {
2030
+ padding-left: 0rem
2031
+ }
2032
+
2033
+ .pl-1 {
2034
+ padding-left: .1rem
2035
+ }
2036
+
2037
+ .pl-12 {
2038
+ padding-left: 1.2rem
2039
+ }
2040
+
2041
+ .pl-28 {
2042
+ padding-left: 2.8rem
2043
+ }
2044
+
2045
+ .pl-4 {
2046
+ padding-left: .4rem
2047
+ }
2048
+
2049
+ .pl-8 {
2050
+ padding-left: .8rem
2051
+ }
2052
+
2053
+ .pr-12 {
2054
+ padding-right: 1.2rem
2055
+ }
2056
+
2057
+ .pr-14 {
2058
+ padding-right: 1.4rem
2059
+ }
2060
+
2061
+ .pr-2 {
2062
+ padding-right: .2rem
2063
+ }
2064
+
2065
+ .pr-32 {
2066
+ padding-right: 3.2rem
2067
+ }
2068
+
2069
+ .pr-40 {
2070
+ padding-right: 4rem
2071
+ }
2072
+
2073
+ .pt-0 {
2074
+ padding-top: 0rem
2075
+ }
2076
+
2077
+ .pt-1 {
2078
+ padding-top: .1rem
2079
+ }
2080
+
2081
+ .pt-16 {
2082
+ padding-top: 1.6rem
2083
+ }
2084
+
2085
+ .pt-24 {
2086
+ padding-top: 2.4rem
2087
+ }
2088
+
2089
+ .pt-8 {
2090
+ padding-top: .8rem
2091
+ }
2092
+
2093
+ .group\\/step:last-child .group-last\\/step\\:last\\:pb-0:last-child {
2094
+ padding-bottom: 0rem
2095
+ }
2096
+
2097
+ .last\\:pb-1:last-child {
2098
+ padding-bottom: .1rem
2099
+ }
2100
+
2101
+ .last\\:pr-1:last-child {
2102
+ padding-right: .1rem
2103
+ }
2104
+
2105
+ .p-\\[8px\\] {
2106
+ padding: 8px
2107
+ }
2108
+
2109
+ .px-\\[15px\\] {
2110
+ padding-left: 15px;
2111
+ padding-right: 15px
2112
+ }
2113
+
2114
+ .px-\\[8px\\] {
2115
+ padding-left: 8px;
2116
+ padding-right: 8px
2117
+ }
2118
+
2119
+ .py-\\[11px\\] {
2120
+ padding-top: 11px;
2121
+ padding-bottom: 11px
2122
+ }
2123
+
2124
+ .py-\\[5px\\] {
2125
+ padding-top: 5px;
2126
+ padding-bottom: 5px
2127
+ }
2128
+
2129
+ .py-\\[7px\\] {
2130
+ padding-top: 7px;
2131
+ padding-bottom: 7px
2132
+ }
2133
+
2134
+ .pl-\\[var\\(--w-prefix-width\\,_40px\\)\\] {
2135
+ padding-left: var(--w-prefix-width, 40px)
2136
+ }
2137
+
2138
+ .invisible {
2139
+ visibility: hidden
2140
+ }
2141
+
2142
+ .backface-hidden {
2143
+ backface-visibility: hidden
2144
+ }
2145
+
2146
+ .break-words {
2147
+ overflow-wrap: break-word
2148
+ }
2149
+
2150
+ .before\\:content-\\[\\"–\\"\\]:before {
2151
+ content: "–"
2152
+ }
2153
+
2154
+ .before\\:content-\\[\\"\\"\\]:before {
2155
+ content: ""
2156
+ }
2157
+
2158
+ .cursor-default {
2159
+ cursor: default
2160
+ }
2161
+
2162
+ .cursor-pointer {
2163
+ cursor: pointer
2164
+ }
2165
+
2166
+ .antialiased {
2167
+ -webkit-font-smoothing: antialiased;
2168
+ -moz-osx-font-smoothing: grayscale;
2169
+ font-smoothing: grayscale
2170
+ }
2171
+
2172
+ .font-bold {
2173
+ font-weight: 700
2174
+ }
2175
+
2176
+ .before\\:font-bold:before {
2177
+ font-weight: 700
2178
+ }
2179
+
2180
+ .font-normal {
2181
+ font-weight: 400
2182
+ }
2183
+
2184
+ .pointer-events-auto {
2185
+ pointer-events: auto
2186
+ }
2187
+
2188
+ .pointer-events-none {
2189
+ pointer-events: none
2190
+ }
2191
+
2192
+ .before\\:pointer-events-none:before {
2193
+ pointer-events: none
2194
+ }
2195
+
2196
+ .pb-safe-\\[32\\] {
2197
+ padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px))
2198
+ }
2199
+
2200
+ .sr-only {
2201
+ position: absolute;
2202
+ width: 1px;
2203
+ height: 1px;
2204
+ padding: 0;
2205
+ margin: -1px;
2206
+ overflow: hidden;
2207
+ clip: rect(0, 0, 0, 0);
2208
+ white-space: nowrap;
2209
+ border-width: 0
2210
+ }
2211
+
2212
+ .touch-pan-y {
2213
+ touch-action: pan-y
2214
+ }
2215
+
2216
+ .select-none {
2217
+ -webkit-user-select: none;
2218
+ user-select: none
2219
+ }
2220
+
2221
+ .translate-x-20 {
2222
+ --w-translate-x: 2rem;
2223
+ transform: translate(var(--w-translate-x)) translateY(var(--w-translate-y)) translateZ(var(--w-translate-z)) rotate(var(--w-rotate)) rotateX(var(--w-rotate-x)) rotateY(var(--w-rotate-y)) rotate(var(--w-rotate-z)) skew(var(--w-skew-x)) skewY(var(--w-skew-y)) scaleX(var(--w-scale-x)) scaleY(var(--w-scale-y)) scaleZ(var(--w-scale-z))
2224
+ }
2225
+
2226
+ .translate-z-0 {
2227
+ --w-translate-z: 0rem;
2228
+ transform: translate(var(--w-translate-x)) translateY(var(--w-translate-y)) translateZ(var(--w-translate-z)) rotate(var(--w-rotate)) rotateX(var(--w-rotate-x)) rotateY(var(--w-rotate-y)) rotate(var(--w-rotate-z)) skew(var(--w-skew-x)) skewY(var(--w-skew-y)) scaleX(var(--w-scale-x)) scaleY(var(--w-scale-y)) scaleZ(var(--w-scale-z))
2229
+ }
2230
+
2231
+ .-rotate-180, .part-\\[w-icon-chevron-down-16-part\\]\\:-rotate-180::part(w-icon-chevron-down-16-part) {
2232
+ --w-rotate-x: 0;
2233
+ --w-rotate-y: 0;
2234
+ --w-rotate-z: 0;
2235
+ --w-rotate: -180deg;
2236
+ transform: translate(var(--w-translate-x)) translateY(var(--w-translate-y)) translateZ(var(--w-translate-z)) rotate(var(--w-rotate)) rotateX(var(--w-rotate-x)) rotateY(var(--w-rotate-y)) rotate(var(--w-rotate-z)) skew(var(--w-skew-x)) skewY(var(--w-skew-y)) scaleX(var(--w-scale-x)) scaleY(var(--w-scale-y)) scaleZ(var(--w-scale-z))
2237
+ }
2238
+
2239
+ .part-\\[w-icon-chevron-up-16-part\\]\\:rotate-180::part(w-icon-chevron-up-16-part), .rotate-180 {
2240
+ --w-rotate-x: 0;
2241
+ --w-rotate-y: 0;
2242
+ --w-rotate-z: 0;
2243
+ --w-rotate: 180deg;
2244
+ transform: translate(var(--w-translate-x)) translateY(var(--w-translate-y)) translateZ(var(--w-translate-z)) rotate(var(--w-rotate)) rotateX(var(--w-rotate-x)) rotateY(var(--w-rotate-y)) rotate(var(--w-rotate-z)) skew(var(--w-skew-x)) skewY(var(--w-skew-y)) scaleX(var(--w-scale-x)) scaleY(var(--w-scale-y)) scaleZ(var(--w-scale-z))
2245
+ }
2246
+
2247
+ .rotate-90 {
2248
+ --w-rotate-x: 0;
2249
+ --w-rotate-y: 0;
2250
+ --w-rotate-z: 0;
2251
+ --w-rotate: 90deg;
2252
+ transform: translate(var(--w-translate-x)) translateY(var(--w-translate-y)) translateZ(var(--w-translate-z)) rotate(var(--w-rotate)) rotateX(var(--w-rotate-x)) rotateY(var(--w-rotate-y)) rotate(var(--w-rotate-z)) skew(var(--w-skew-x)) skewY(var(--w-skew-y)) scaleX(var(--w-scale-x)) scaleY(var(--w-scale-y)) scaleZ(var(--w-scale-z))
2253
+ }
2254
+
2255
+ .part-\\[w-icon-chevron-down-16-part\\]\\:transform::part(w-icon-chevron-down-16-part), .part-\\[w-icon-chevron-up-16-part\\]\\:transform::part(w-icon-chevron-up-16-part), .transform {
2256
+ transform: translate(var(--w-translate-x)) translateY(var(--w-translate-y)) translateZ(var(--w-translate-z)) rotate(var(--w-rotate)) rotateX(var(--w-rotate-x)) rotateY(var(--w-rotate-y)) rotate(var(--w-rotate-z)) skew(var(--w-skew-x)) skewY(var(--w-skew-y)) scaleX(var(--w-scale-x)) scaleY(var(--w-scale-y)) scaleZ(var(--w-scale-z))
2257
+ }
2258
+
2259
+ .part-\\[w-icon-chevron-down-16-part\\]\\:transform-gpu::part(w-icon-chevron-down-16-part), .part-\\[w-icon-chevron-up-16-part\\]\\:transform-gpu::part(w-icon-chevron-up-16-part), .transform-gpu {
2260
+ transform: translate3d(var(--w-translate-x), var(--w-translate-y), var(--w-translate-z)) rotate(var(--w-rotate)) rotateX(var(--w-rotate-x)) rotateY(var(--w-rotate-y)) rotate(var(--w-rotate-z)) skew(var(--w-skew-x)) skewY(var(--w-skew-y)) scaleX(var(--w-scale-x)) scaleY(var(--w-scale-y)) scaleZ(var(--w-scale-z))
2261
+ }
2262
+
2263
+ .part-\\[w-icon-chevron-down-16-part\\]\\:transition-transform::part(w-icon-chevron-down-16-part), .part-\\[w-icon-chevron-up-16-part\\]\\:transition-transform::part(w-icon-chevron-up-16-part), .transition-transform {
2264
+ transition-property: transform;
2265
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2266
+ transition-duration: .15s
2267
+ }
2268
+
2269
+ .transition-300 {
2270
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
2271
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2272
+ transition-duration: .3s
2273
+ }
2274
+
2275
+ .transition-all {
2276
+ transition-property: all;
2277
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2278
+ transition-duration: .15s
2279
+ }
2280
+
2281
+ .transition-colors {
2282
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
2283
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2284
+ transition-duration: .15s
2285
+ }
2286
+
2287
+ .transition-shadow {
2288
+ transition-property: box-shadow;
2289
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2290
+ transition-duration: .15s
2291
+ }
2292
+
2293
+ .before\\:transition-all:before {
2294
+ transition-property: all;
2295
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1);
2296
+ transition-duration: .15s
2297
+ }
2298
+
2299
+ .duration-300 {
2300
+ transition-duration: .3s
2301
+ }
2302
+
2303
+ .ease-in-out, .part-\\[w-icon-chevron-down-16-part\\]\\:ease-in-out::part(w-icon-chevron-down-16-part), .part-\\[w-icon-chevron-up-16-part\\]\\:ease-in-out::part(w-icon-chevron-up-16-part) {
2304
+ transition-timing-function: cubic-bezier(.4, 0, .2, 1)
2305
+ }
2306
+
2307
+ .text-m {
2308
+ font-size: var(--w-font-size-m);
2309
+ line-height: var(--w-line-height-m)
2310
+ }
2311
+
2312
+ .text-s {
2313
+ font-size: var(--w-font-size-s);
2314
+ line-height: var(--w-line-height-s)
2315
+ }
2316
+
2317
+ .text-xs {
2318
+ font-size: var(--w-font-size-xs);
2319
+ line-height: var(--w-line-height-xs)
2320
+ }
2321
+
2322
+ .leading-m {
2323
+ line-height: var(--w-line-height-m)
2324
+ }
2325
+
2326
+ .before\\:leading-xs:before {
2327
+ line-height: var(--w-line-height-xs)
2328
+ }
2329
+
2330
+ .leading-\\[24\\] {
2331
+ line-height: 2.4rem
2332
+ }
2333
+
2334
+ @media (max-width: 479.9px) {
2335
+ .lt-sm\\:rounded-b-0 {
2336
+ border-bottom-left-radius: 0;
2337
+ border-bottom-right-radius: 0
2338
+ }
2339
+ }
2340
+ @media (min-width: 480px) {
2341
+ .sm\\:border-b-0 {
2342
+ border-bottom-width: 0
2343
+ }
2344
+
2345
+ .sm\\:rounded-8 {
2346
+ border-radius: 8px
2347
+ }
2348
+
2349
+ .sm\\:rounded-b-8 {
2350
+ border-bottom-left-radius: 8px;
2351
+ border-bottom-right-radius: 8px
2352
+ }
2353
+
2354
+ .sm\\:gap-16 {
2355
+ gap: 1.6rem
2356
+ }
2357
+
2358
+ .sm\\:place-content-center {
2359
+ place-content: center
2360
+ }
2361
+
2362
+ .sm\\:place-items-center {
2363
+ place-items: center
2364
+ }
2365
+
2366
+ .sm\\:h-24 {
2367
+ height: 2.4rem
2368
+ }
2369
+
2370
+ .sm\\:min-h-48 {
2371
+ min-height: 4.8rem
2372
+ }
2373
+
2374
+ .sm\\:w-24 {
2375
+ width: 2.4rem
2376
+ }
2377
+
2378
+ .sm\\:min-h-\\[32px\\] {
2379
+ min-height: 32px
2380
+ }
2381
+
2382
+ .sm\\:min-h-\\[44px\\] {
2383
+ min-height: 44px
2384
+ }
2385
+
2386
+ .sm\\:min-h-\\[45\\] {
2387
+ min-height: 4.5rem
2388
+ }
2389
+
2390
+ .sm\\:min-w-\\[32px\\] {
2391
+ min-width: 32px
2392
+ }
2393
+
2394
+ .sm\\:min-w-\\[44px\\] {
2395
+ min-width: 44px
2396
+ }
2397
+
2398
+ .sm\\:mx-0 {
2399
+ margin-left: 0rem;
2400
+ margin-right: 0rem
2401
+ }
2402
+
2403
+ .sm\\:mx-16 {
2404
+ margin-left: 1.6rem;
2405
+ margin-right: 1.6rem
2406
+ }
2407
+
2408
+ .sm\\:-ml-12 {
2409
+ margin-left: -1.2rem
2410
+ }
2411
+
2412
+ .sm\\:-mr-12 {
2413
+ margin-right: -1.2rem
2414
+ }
2415
+
2416
+ .sm\\:-mt-8 {
2417
+ margin-top: -.8rem
2418
+ }
2419
+
2420
+ .sm\\:px-32 {
2421
+ padding-left: 3.2rem;
2422
+ padding-right: 3.2rem
2423
+ }
2424
+
2425
+ .sm\\:py-0 {
2426
+ padding-top: 0rem;
2427
+ padding-bottom: 0rem
2428
+ }
2429
+
2430
+ .sm\\:pb-32 {
2431
+ padding-bottom: 3.2rem
2432
+ }
2433
+
2434
+ .sm\\:pt-24 {
2435
+ padding-top: 2.4rem
2436
+ }
2437
+
2438
+ .sm\\:pt-32 {
2439
+ padding-top: 3.2rem
2440
+ }
2441
+ }
2442
+ @media (min-width: 768px) {
2443
+ .md\\:block {
2444
+ display: block
2445
+ }
2446
+
2447
+ .md\\:hidden {
2448
+ display: none
2449
+ }
2450
+ }
2451
+ `;var Er=E`*,:before,:after{--w-rotate:0;--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-scale-x:1;--w-scale-y:1;--w-scale-z:1;--w-skew-x:0;--w-skew-y:0;--w-translate-x:0;--w-translate-y:0;--w-translate-z:0}.t4{font-weight:700;font-size:var(--w-font-size-m);line-height:var(--w-line-height-m)}.text-left{text-align:left}.align-middle{vertical-align:middle}.bg-transparent{background-color:#0000}.appearance-none{-webkit-appearance:none;appearance:none}.will-change-height{will-change:height}.border-0{border-width:0}.border-2{border-width:2px}.rounded-8{border-radius:8px}.rounded-l-0{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-0{border-top-right-radius:0;border-bottom-right-radius:0}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.hover\\:underline:hover{text-decoration-line:underline}.focus-visible\\:underline:focus-visible{text-decoration-line:underline}.overflow-hidden{overflow:hidden}.focus\\:outline-none:focus{outline-offset:2px;outline:2px solid #0000}.items-center{align-items:center}.justify-between{justify-content:space-between}.relative{position:relative}.static{position:static}.s-bg{background-color:var(--w-s-color-background)}.s-bg-info-subtle{background-color:var(--w-s-color-background-info-subtle)}.hover\\:s-bg-hover:hover{background-color:var(--w-s-color-background-hover)}.active\\:s-bg-active:active{background-color:var(--w-s-color-background-active)}.s-text{color:var(--w-s-color-text)}.s-icon{color:var(--w-s-color-icon)}.s-border{border-color:var(--w-s-color-border)}.s-surface-sunken{background-color:var(--w-s-color-surface-sunken)}.h-0{height:0}.w-full{width:100%}.m-0{margin:0}.-mx-16{margin-left:-1.6rem;margin-right:-1.6rem}.last-child\\:mb-0>:last-child{margin-bottom:0}.ml-8{margin-left:.8rem}.p-16{padding:1.6rem}.px-0{padding-left:0;padding-right:0}.py-0{padding-top:0;padding-bottom:0}.pt-0{padding-top:0}.invisible{visibility:hidden}.break-words{overflow-wrap:break-word}.cursor-pointer{cursor:pointer}.-rotate-180{--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-rotate:-180deg;transform:translateX(var(--w-translate-x))translateY(var(--w-translate-y))translateZ(var(--w-translate-z))rotate(var(--w-rotate))rotateX(var(--w-rotate-x))rotateY(var(--w-rotate-y))rotateZ(var(--w-rotate-z))skewX(var(--w-skew-x))skewY(var(--w-skew-y))scaleX(var(--w-scale-x))scaleY(var(--w-scale-y))scaleZ(var(--w-scale-z))}.part-\\[w-icon-chevron-down-16-part\\]\\:-rotate-180::part(w-icon-chevron-down-16-part){--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-rotate:-180deg;transform:translateX(var(--w-translate-x))translateY(var(--w-translate-y))translateZ(var(--w-translate-z))rotate(var(--w-rotate))rotateX(var(--w-rotate-x))rotateY(var(--w-rotate-y))rotateZ(var(--w-rotate-z))skewX(var(--w-skew-x))skewY(var(--w-skew-y))scaleX(var(--w-scale-x))scaleY(var(--w-scale-y))scaleZ(var(--w-scale-z))}.rotate-180{--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-rotate:180deg;transform:translateX(var(--w-translate-x))translateY(var(--w-translate-y))translateZ(var(--w-translate-z))rotate(var(--w-rotate))rotateX(var(--w-rotate-x))rotateY(var(--w-rotate-y))rotateZ(var(--w-rotate-z))skewX(var(--w-skew-x))skewY(var(--w-skew-y))scaleX(var(--w-scale-x))scaleY(var(--w-scale-y))scaleZ(var(--w-scale-z))}.part-\\[w-icon-chevron-up-16-part\\]\\:rotate-180::part(w-icon-chevron-up-16-part){--w-rotate-x:0;--w-rotate-y:0;--w-rotate-z:0;--w-rotate:180deg;transform:translateX(var(--w-translate-x))translateY(var(--w-translate-y))translateZ(var(--w-translate-z))rotate(var(--w-rotate))rotateX(var(--w-rotate-x))rotateY(var(--w-rotate-y))rotateZ(var(--w-rotate-z))skewX(var(--w-skew-x))skewY(var(--w-skew-y))scaleX(var(--w-scale-x))scaleY(var(--w-scale-y))scaleZ(var(--w-scale-z))}.transform{transform:translateX(var(--w-translate-x))translateY(var(--w-translate-y))translateZ(var(--w-translate-z))rotate(var(--w-rotate))rotateX(var(--w-rotate-x))rotateY(var(--w-rotate-y))rotateZ(var(--w-rotate-z))skewX(var(--w-skew-x))skewY(var(--w-skew-y))scaleX(var(--w-scale-x))scaleY(var(--w-scale-y))scaleZ(var(--w-scale-z))}.part-\\[w-icon-chevron-down-16-part\\]\\:transform::part(w-icon-chevron-down-16-part){transform:translateX(var(--w-translate-x))translateY(var(--w-translate-y))translateZ(var(--w-translate-z))rotate(var(--w-rotate))rotateX(var(--w-rotate-x))rotateY(var(--w-rotate-y))rotateZ(var(--w-rotate-z))skewX(var(--w-skew-x))skewY(var(--w-skew-y))scaleX(var(--w-scale-x))scaleY(var(--w-scale-y))scaleZ(var(--w-scale-z))}.part-\\[w-icon-chevron-up-16-part\\]\\:transform::part(w-icon-chevron-up-16-part){transform:translateX(var(--w-translate-x))translateY(var(--w-translate-y))translateZ(var(--w-translate-z))rotate(var(--w-rotate))rotateX(var(--w-rotate-x))rotateY(var(--w-rotate-y))rotateZ(var(--w-rotate-z))skewX(var(--w-skew-x))skewY(var(--w-skew-y))scaleX(var(--w-scale-x))scaleY(var(--w-scale-y))scaleZ(var(--w-scale-z))}.transform-gpu{transform:translate3d(var(--w-translate-x),var(--w-translate-y),var(--w-translate-z))rotate(var(--w-rotate))rotateX(var(--w-rotate-x))rotateY(var(--w-rotate-y))rotateZ(var(--w-rotate-z))skewX(var(--w-skew-x))skewY(var(--w-skew-y))scaleX(var(--w-scale-x))scaleY(var(--w-scale-y))scaleZ(var(--w-scale-z))}.part-\\[w-icon-chevron-down-16-part\\]\\:transform-gpu::part(w-icon-chevron-down-16-part){transform:translate3d(var(--w-translate-x),var(--w-translate-y),var(--w-translate-z))rotate(var(--w-rotate))rotateX(var(--w-rotate-x))rotateY(var(--w-rotate-y))rotateZ(var(--w-rotate-z))skewX(var(--w-skew-x))skewY(var(--w-skew-y))scaleX(var(--w-scale-x))scaleY(var(--w-scale-y))scaleZ(var(--w-scale-z))}.part-\\[w-icon-chevron-up-16-part\\]\\:transform-gpu::part(w-icon-chevron-up-16-part){transform:translate3d(var(--w-translate-x),var(--w-translate-y),var(--w-translate-z))rotate(var(--w-rotate))rotateX(var(--w-rotate-x))rotateY(var(--w-rotate-y))rotateZ(var(--w-rotate-z))skewX(var(--w-skew-x))skewY(var(--w-skew-y))scaleX(var(--w-scale-x))scaleY(var(--w-scale-y))scaleZ(var(--w-scale-z))}.transition-transform{transition-property:transform;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.part-\\[w-icon-chevron-down-16-part\\]\\:transition-transform::part(w-icon-chevron-down-16-part){transition-property:transform;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.part-\\[w-icon-chevron-up-16-part\\]\\:transition-transform::part(w-icon-chevron-up-16-part){transition-property:transform;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.part-\\[w-icon-chevron-down-16-part\\]\\:ease-in-out::part(w-icon-chevron-down-16-part){transition-timing-function:cubic-bezier(.4,0,.2,1)}.part-\\[w-icon-chevron-up-16-part\\]\\:ease-in-out::part(w-icon-chevron-up-16-part){transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:480px){.sm\\:rounded-8{border-radius:8px}.sm\\:mx-0{margin-left:0;margin-right:0}}`;var Dt={base:"group block relative break-words last-child:mb-0 p-16 rounded-8",bleed:"-mx-16 sm:mx-0 rounded-l-0 rounded-r-0 sm:rounded-8",info:"s-bg-info-subtle",neutral:"s-surface-sunken",bordered:"border-2 s-border s-bg"},b={wrapper:"will-change-height s-text",box:"s-surface-sunken hover:s-bg-hover active:s-bg-active py-0 px-0 group block relative break-words last-child:mb-0 rounded-8",bleed:"-mx-16 rounded-l-0 rounded-r-0 sm:mx-0 sm:rounded-8",chevron:"inline-block align-middle s-icon",chevronNonBox:"ml-8",chevronTransform:"transform transition-transform transform-gpu ease-in-out",chevronExpand:"-rotate-180",chevronCollapse:"rotate-180",elementsChevronDownTransform:"part-[w-icon-chevron-down-16-part]:transform part-[w-icon-chevron-down-16-part]:transition-transform part-[w-icon-chevron-down-16-part]:transform-gpu part-[w-icon-chevron-down-16-part]:ease-in-out",elementsChevronUpTransform:"part-[w-icon-chevron-up-16-part]:transform part-[w-icon-chevron-up-16-part]:transition-transform part-[w-icon-chevron-up-16-part]:transform-gpu part-[w-icon-chevron-up-16-part]:ease-in-out",elementsChevronExpand:"part-[w-icon-chevron-down-16-part]:-rotate-180",elementsChevronCollapse:"part-[w-icon-chevron-up-16-part]:rotate-180",expansion:"overflow-hidden",expansionNotExpanded:"h-0 invisible",button:"focus:outline-none appearance-none cursor-pointer bg-transparent border-0 m-0 hover:underline focus-visible:underline",buttonBox:"w-full text-left relative inline-flex items-center justify-between group relative break-words last-child:mb-0 p-16 rounded-8",contentWithTitle:"pt-0",title:"flex w-full justify-between items-center",titleType:"t4"},m,Cr,zr,Or,Mr,Pr,Nr,g=class extends k{constructor(){super(...arguments);Le(this,m);this.expanded=!1;this.box=!1;this.bleed=!1;this.noChevron=!1;this.animated=!1;this._hasTitle=!0;this._showChevronUp=!1}updated(r){r.has("expanded")&&setTimeout(()=>{this._showChevronUp=this.expanded},200)}firstUpdated(){var a;let r=!!this.title,t=((a=this.renderRoot.querySelector("slot[name='title']"))==null?void 0:a.assignedNodes().length)>0;this._hasTitle=r||t}get _expandableSlot(){return w`<div class="${P(this,m,Pr)}">
2452
+ <slot></slot>
2453
+ </div>`}render(){return w` <div class="${P(this,m,Cr)}">
2454
+ ${this._hasTitle?w`<w-unstyled-heading level=${this.headingLevel}>
2455
+ <button
2456
+ type="button"
2457
+ aria-expanded="${this.expanded}"
2458
+ class="${P(this,m,zr)}"
2459
+ @click=${()=>this.expanded=!this.expanded}>
2460
+ <div class="${b.title}">
2461
+ ${this.title?w`<span class="${b.titleType}">${this.title}</span>`:w`<slot name="title"></slot>`}
2462
+ ${this.noChevron?"":w`<div class="${P(this,m,Or)}">${P(this,m,Mr)}</div>`}
2463
+ </div>
2464
+ </button>
2465
+ </w-unstyled-heading>`:""}
2466
+ ${this.animated?w`<w-expand-transition ?show=${this.expanded}> ${this._expandableSlot} </w-expand-transition>`:w`<div class="${P(this,m,Nr)}" aria-hidden=${sr(this.expanded?void 0:!0)}>
2467
+ ${this._expandableSlot}
2468
+ </div>`}
2469
+ </div>`}};m=new WeakSet,Cr=function(){return A([b.wrapper,this.box&&b.box,this.bleed&&b.bleed])},zr=function(){return A(this.buttonClass,[b.button,this.box&&b.buttonBox])},Or=function(){return A([b.chevron,!this.box&&b.chevronNonBox])},Mr=function(){let r=A([b.elementsChevronUpTransform,!this.expanded&&this._showChevronUp&&b.elementsChevronCollapse]),t=A([b.elementsChevronDownTransform,this.expanded&&!this._showChevronUp&&b.elementsChevronExpand]);return this._showChevronUp?w`<w-icon-chevron-up-16 class="${r}"></w-icon-chevron-up-16>`:w`<w-icon-chevron-down-16 class="${t}"></w-icon-chevron-down-16>`},Pr=function(){return A(this.contentClass,[this.box&&Dt.base,this._hasTitle&&this.box&&b.contentWithTitle])},Nr=function(){return A([b.expansion,!this.expanded&&b.expansionNotExpanded])},g.styles=[Sr,Er,E`
2470
+ :host {
2471
+ display: block;
2472
+ }
2473
+ ::slotted(:last-child) {
2474
+ margin-bottom: 0px !important;
2475
+ }
2476
+ `],y([f({type:Boolean,reflect:!0})],g.prototype,"expanded",2),y([f({type:String})],g.prototype,"title",2),y([f({type:Boolean})],g.prototype,"box",2),y([f({type:Boolean})],g.prototype,"bleed",2),y([f({attribute:"button-class",type:String})],g.prototype,"buttonClass",2),y([f({attribute:"content-class",type:String})],g.prototype,"contentClass",2),y([f({attribute:"no-chevron",type:Boolean})],g.prototype,"noChevron",2),y([f({type:Boolean})],g.prototype,"animated",2),y([f({attribute:"heading-level",type:Number})],g.prototype,"headingLevel",2),y([f({type:Boolean,state:!0})],g.prototype,"_hasTitle",2),y([f({type:Boolean,state:!0})],g.prototype,"_showChevronUp",2);customElements.get("w-expandable")||customElements.define("w-expandable",g);export{g as WarpExpandable,Dt as ccBox,b as ccExpandable};
2477
+ /*! Bundled license information:
2478
+
2479
+ @lit/reactive-element/css-tag.js:
2480
+ (**
2481
+ * @license
2482
+ * Copyright 2019 Google LLC
2483
+ * SPDX-License-Identifier: BSD-3-Clause
2484
+ *)
2485
+
2486
+ @lit/reactive-element/reactive-element.js:
2487
+ (**
2488
+ * @license
2489
+ * Copyright 2017 Google LLC
2490
+ * SPDX-License-Identifier: BSD-3-Clause
2491
+ *)
2492
+
2493
+ lit-html/lit-html.js:
2494
+ (**
2495
+ * @license
2496
+ * Copyright 2017 Google LLC
2497
+ * SPDX-License-Identifier: BSD-3-Clause
2498
+ *)
2499
+
2500
+ lit-element/lit-element.js:
2501
+ (**
2502
+ * @license
2503
+ * Copyright 2017 Google LLC
2504
+ * SPDX-License-Identifier: BSD-3-Clause
2505
+ *)
2506
+
2507
+ lit-html/is-server.js:
2508
+ (**
2509
+ * @license
2510
+ * Copyright 2022 Google LLC
2511
+ * SPDX-License-Identifier: BSD-3-Clause
2512
+ *)
2513
+
2514
+ @lit/reactive-element/decorators/custom-element.js:
2515
+ (**
2516
+ * @license
2517
+ * Copyright 2017 Google LLC
2518
+ * SPDX-License-Identifier: BSD-3-Clause
2519
+ *)
2520
+
2521
+ @lit/reactive-element/decorators/property.js:
2522
+ (**
2523
+ * @license
2524
+ * Copyright 2017 Google LLC
2525
+ * SPDX-License-Identifier: BSD-3-Clause
2526
+ *)
2527
+
2528
+ @lit/reactive-element/decorators/state.js:
2529
+ (**
2530
+ * @license
2531
+ * Copyright 2017 Google LLC
2532
+ * SPDX-License-Identifier: BSD-3-Clause
2533
+ *)
2534
+
2535
+ @lit/reactive-element/decorators/event-options.js:
2536
+ (**
2537
+ * @license
2538
+ * Copyright 2017 Google LLC
2539
+ * SPDX-License-Identifier: BSD-3-Clause
2540
+ *)
2541
+
2542
+ @lit/reactive-element/decorators/base.js:
2543
+ (**
2544
+ * @license
2545
+ * Copyright 2017 Google LLC
2546
+ * SPDX-License-Identifier: BSD-3-Clause
2547
+ *)
2548
+
2549
+ @lit/reactive-element/decorators/query.js:
2550
+ (**
2551
+ * @license
2552
+ * Copyright 2017 Google LLC
2553
+ * SPDX-License-Identifier: BSD-3-Clause
2554
+ *)
2555
+
2556
+ @lit/reactive-element/decorators/query-all.js:
2557
+ (**
2558
+ * @license
2559
+ * Copyright 2017 Google LLC
2560
+ * SPDX-License-Identifier: BSD-3-Clause
2561
+ *)
2562
+
2563
+ @lit/reactive-element/decorators/query-async.js:
2564
+ (**
2565
+ * @license
2566
+ * Copyright 2017 Google LLC
2567
+ * SPDX-License-Identifier: BSD-3-Clause
2568
+ *)
2569
+
2570
+ @lit/reactive-element/decorators/query-assigned-elements.js:
2571
+ (**
2572
+ * @license
2573
+ * Copyright 2021 Google LLC
2574
+ * SPDX-License-Identifier: BSD-3-Clause
2575
+ *)
2576
+
2577
+ @lit/reactive-element/decorators/query-assigned-nodes.js:
2578
+ (**
2579
+ * @license
2580
+ * Copyright 2017 Google LLC
2581
+ * SPDX-License-Identifier: BSD-3-Clause
2582
+ *)
2583
+
2584
+ lit-html/directives/if-defined.js:
2585
+ (**
2586
+ * @license
2587
+ * Copyright 2018 Google LLC
2588
+ * SPDX-License-Identifier: BSD-3-Clause
2589
+ *)
2590
+
2591
+ lit-html/static.js:
2592
+ (**
2593
+ * @license
2594
+ * Copyright 2020 Google LLC
2595
+ * SPDX-License-Identifier: BSD-3-Clause
2596
+ *)
2597
+ */
2346
2598
  //# sourceMappingURL=index.js.map