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