@mindful-web/marko-web-theme-monorail 1.81.1 → 1.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (153) hide show
  1. package/I18N_GUIDE.md +53 -6
  2. package/components/ads/fixed-ad-bottom.marko.js +2 -2
  3. package/components/ads/reveal-ad-handler.marko.js +2 -2
  4. package/components/blocks/author-bios.marko.js +2 -2
  5. package/components/blocks/callout-cards.marko.js +2 -2
  6. package/components/blocks/company-inquiry-form.marko.js +2 -2
  7. package/components/blocks/company-search.marko.js +2 -2
  8. package/components/blocks/content-card-deck.marko.js +2 -2
  9. package/components/blocks/content-meter.marko +10 -0
  10. package/components/blocks/content-meter.marko.js +9 -2
  11. package/components/blocks/full-width-native-ad.marko.js +2 -2
  12. package/components/blocks/geo-summary.marko.js +2 -2
  13. package/components/blocks/header-announcement.marko.js +2 -2
  14. package/components/blocks/hero-card.marko.js +2 -2
  15. package/components/blocks/latest-content-list.marko.js +2 -2
  16. package/components/blocks/latest-podcast.marko.js +2 -2
  17. package/components/blocks/latest-products-feed.marko.js +2 -2
  18. package/components/blocks/more-products.marko.js +2 -2
  19. package/components/blocks/most-popular-list.marko.js +2 -2
  20. package/components/blocks/most-popular.marko.js +2 -2
  21. package/components/blocks/native-x-card-deck.marko.js +2 -2
  22. package/components/blocks/native-x-promo-card.marko.js +2 -2
  23. package/components/blocks/newsletter-signup-banner-external.marko.js +2 -2
  24. package/components/blocks/newsletter-signup-banner-large.marko.js +2 -2
  25. package/components/blocks/newsletter-signup-banner.marko.js +2 -2
  26. package/components/blocks/opinion.marko.js +2 -2
  27. package/components/blocks/primary-image.marko.js +2 -2
  28. package/components/blocks/products.marko.js +2 -2
  29. package/components/blocks/read-next.marko.js +2 -2
  30. package/components/blocks/related-stories.marko.js +2 -2
  31. package/components/blocks/resource-library.marko.js +2 -2
  32. package/components/blocks/section-body-feed.marko.js +2 -2
  33. package/components/blocks/section-card-deck-featured.marko.js +2 -2
  34. package/components/blocks/section-card-deck.marko.js +2 -2
  35. package/components/blocks/section-card-list.marko.js +2 -2
  36. package/components/blocks/section-feed.marko.js +2 -2
  37. package/components/blocks/section-forbes.marko.js +2 -2
  38. package/components/blocks/section-list-deck.marko.js +2 -2
  39. package/components/blocks/section-list.marko.js +2 -2
  40. package/components/blocks/section-search.marko.js +2 -2
  41. package/components/blocks/section-title-feed.marko.js +2 -2
  42. package/components/blocks/top-stories-menu.marko.js +2 -2
  43. package/components/blocks/top-stories.marko.js +2 -2
  44. package/components/blocks/white-papers.marko.js +2 -2
  45. package/components/breadcrumbs/content-page.marko.js +2 -2
  46. package/components/breadcrumbs/index.marko.js +2 -2
  47. package/components/breadcrumbs/website-section.marko.js +2 -2
  48. package/components/breadcrumbs/with-home.marko.js +2 -2
  49. package/components/client-side-block-loader.marko.js +2 -2
  50. package/components/client-side-blocks/most-popular-list.marko.js +2 -2
  51. package/components/client-side-blocks/most-popular.marko.js +2 -2
  52. package/components/content/body-with-injection.marko.js +2 -2
  53. package/components/content/contact-details/index.marko.js +2 -2
  54. package/components/content/contact-details/section.marko.js +2 -2
  55. package/components/content/download/form-dot-com.marko.js +2 -2
  56. package/components/content/download/identity-x.marko.js +2 -2
  57. package/components/content/download/index.marko.js +2 -2
  58. package/components/content/download/link.marko.js +2 -2
  59. package/components/content/download/wufoo.marko.js +2 -2
  60. package/components/content/link-url/index.marko.js +2 -2
  61. package/components/content/sections-listed-in.marko.js +2 -2
  62. package/components/content-attribution/attribution.marko.js +2 -2
  63. package/components/content-attribution/components/authors.marko.js +2 -2
  64. package/components/content-attribution/components/byline.marko.js +2 -2
  65. package/components/content-attribution/components/company.marko.js +2 -2
  66. package/components/content-attribution/components/contributors.marko.js +2 -2
  67. package/components/content-attribution/components/photographers.marko.js +2 -2
  68. package/components/content-attribution/components/source.marko.js +2 -2
  69. package/components/content-attribution/components/speakers.marko.js +2 -2
  70. package/components/content-attribution/components/sponsors.marko.js +2 -2
  71. package/components/content-attribution/index.marko.js +2 -2
  72. package/components/directory-facets/facet-container/facet-container.marko.js +2 -2
  73. package/components/directory-facets/facet-list/facet-list.marko.js +2 -2
  74. package/components/directory-facets/facet.marko.js +2 -2
  75. package/components/directory-facets/index.marko.js +2 -2
  76. package/components/facebook-connect.marko.js +2 -2
  77. package/components/flows/card-deck.marko.js +2 -2
  78. package/components/flows/content/card-deck-col.marko.js +2 -2
  79. package/components/flows/content/directory-section.marko.js +2 -2
  80. package/components/flows/content/list.marko.js +2 -2
  81. package/components/flows/section-feed.marko.js +2 -2
  82. package/components/gam/components/define-display-ad.marko.js +2 -2
  83. package/components/gam/define-display-ad.marko.js +2 -2
  84. package/components/gam/inject-ads.marko.js +2 -2
  85. package/components/gam/wallpaper-ad.marko.js +2 -2
  86. package/components/identity-x/comment-stream.marko.js +2 -2
  87. package/components/identity-x/content-page-gate.marko.js +2 -2
  88. package/components/identity-x/newsletter-footer.marko.js +2 -2
  89. package/components/identity-x/newsletter-inline.marko.js +2 -2
  90. package/components/identity-x/newsletter-modal.marko.js +2 -2
  91. package/components/identity-x/newsletter-pushdown.marko.js +2 -2
  92. package/components/layouts/ad-preview.marko.js +2 -2
  93. package/components/menu-toggle-button.marko.js +2 -2
  94. package/components/native-x/render.marko.js +2 -2
  95. package/components/nodes/author-bio.marko.js +2 -2
  96. package/components/nodes/author-card.marko.js +2 -2
  97. package/components/nodes/author-published.marko.js +2 -2
  98. package/components/nodes/author.marko.js +2 -2
  99. package/components/nodes/components/attribution.marko.js +2 -2
  100. package/components/nodes/components/authors.marko.js +2 -2
  101. package/components/nodes/components/company-name.marko.js +2 -2
  102. package/components/nodes/components/dates.marko.js +2 -2
  103. package/components/nodes/components/section-sponsor.marko.js +2 -2
  104. package/components/nodes/content-published.marko.js +2 -2
  105. package/components/nodes/content.marko.js +2 -2
  106. package/components/nodes/directory-section-feed-content.marko.js +2 -2
  107. package/components/nodes/featured-products-card.marko.js +2 -2
  108. package/components/nodes/product-feed-content.marko.js +2 -2
  109. package/components/nodes/section-feed-content.marko.js +2 -2
  110. package/components/nodes/standard-promo.marko.js +2 -2
  111. package/components/nodes/youtube-card.marko.js +2 -2
  112. package/components/page/attribution.marko.js +2 -2
  113. package/components/page/contact-details.marko.js +2 -2
  114. package/components/page/content.marko.js +2 -2
  115. package/components/page/contents.marko.js +2 -2
  116. package/components/page/dates.marko.js +2 -2
  117. package/components/page/default.marko.js +2 -2
  118. package/components/page/website-section.marko.js +2 -2
  119. package/components/pagination-controls.marko.js +2 -2
  120. package/components/query-total-count.marko.js +2 -2
  121. package/components/reveal-ad-handler.marko.js +2 -2
  122. package/components/site-footer/container.marko.js +2 -2
  123. package/components/site-footer/copyright.marko.js +2 -2
  124. package/components/site-footer/index.marko.js +2 -2
  125. package/components/site-footer/social-icons.marko.js +2 -2
  126. package/components/site-header.marko.js +2 -2
  127. package/components/site-menu/components/search.marko.js +2 -2
  128. package/components/site-menu/components/social-icons.marko.js +2 -2
  129. package/components/site-menu/header.marko.js +2 -2
  130. package/components/site-menu/index.marko.js +2 -2
  131. package/components/site-menu/section.marko.js +2 -2
  132. package/components/site-navbar/brand.marko.js +2 -2
  133. package/components/site-navbar/index.marko.js +2 -2
  134. package/components/site-navbar/item.marko.js +2 -2
  135. package/components/site-navbar/items.marko.js +2 -2
  136. package/components/site-navbar/logo.marko.js +2 -2
  137. package/components/site-navbar/search.marko.js +2 -2
  138. package/components/site-newsletter-menu.marko.js +2 -2
  139. package/components/social/icon-link.marko.js +2 -2
  140. package/components/social/icons.marko.js +2 -2
  141. package/components/social-follow.marko.js +2 -2
  142. package/components/sponsored-label-logo.marko.js +2 -2
  143. package/components/sponsored-section-logo.marko.js +2 -2
  144. package/components/sponsored-section-name-logo.marko.js +2 -2
  145. package/components/ssr-html-inject.marko.js +2 -2
  146. package/package.json +2 -2
  147. package/templates/ad-preview.marko.js +2 -2
  148. package/templates/content/components/presented-by.marko.js +2 -2
  149. package/templates/content/native-x-story.marko.js +2 -2
  150. package/templates/content/print.marko.js +2 -2
  151. package/templates/email-preview.marko.js +2 -2
  152. package/templates/search.marko.js +2 -2
  153. package/templates/taxonomy.marko.js +2 -2
package/I18N_GUIDE.md CHANGED
@@ -19,9 +19,9 @@ Sites provide an i18n function that maps English strings to their translated equ
19
19
  **Example: `sites/mundopmmi.com/config/i18n.js`**
20
20
  ```javascript
21
21
  module.exports = {
22
- "We hope you've enjoyed your articles.": "Esperamos haya disfrutado sus artículos.",
23
- "Create a free account": "Cree una cuenta gratuita",
24
- "account to continue reading": "cuenta gratuita para continuar leyendo",
22
+ "we hope you've enjoyed your articles.": "Esperamos haya disfrutado sus artículos.",
23
+ 'create a free account': 'Cree una cuenta gratuita',
24
+ 'account to continue reading': 'para continuar leyendo',
25
25
  // ... hundreds more translations
26
26
  };
27
27
  ```
@@ -39,6 +39,16 @@ module.exports = startServer({
39
39
 
40
40
  This makes `out.global.i18n` available to all theme components.
41
41
 
42
+ > ⚠️ **Key casing.** Note the `.toLowerCase()` above — on this site the keys must be
43
+ > **lowercase**, even though the theme passes mixed-case English. A key written as
44
+ > `'Create a free account'` never matches, and because the lookup ends in `|| v` it
45
+ > fails **silently**, rendering the English string as though no translation existed.
46
+ >
47
+ > Normalization is a per-site choice, so check the site's own function before adding
48
+ > keys. When adding a batch, verify them *through that function* rather than by
49
+ > checking the config object directly — a direct property check passes on keys the
50
+ > site can never look up.
51
+
42
52
  ### For Theme Components
43
53
 
44
54
  #### Marko Components (Server-side)
@@ -117,6 +127,40 @@ export default {
117
127
  </script>
118
128
  ```
119
129
 
130
+ **Watch for Vue components you render indirectly.** A Marko component is not
131
+ finished just because its own strings are wrapped — any browser component it
132
+ renders is a separate surface with its own hardcoded English, and it will not
133
+ inherit `out.global.i18n`.
134
+
135
+ `content-meter.marko` hit this. Its login form is a Marko tag that renders the
136
+ Vue component `IdentityXLogin`, whose submit button is:
137
+
138
+ ```vue
139
+ {{ buttonLabels.continue || "Continue" }}
140
+ ```
141
+
142
+ Every string in the meter translated, and the button stayed English, because
143
+ nothing passed `button-labels` down. Adding a `'continue'` key to the site
144
+ config does nothing here — the string never reaches the server-side `i18n`.
145
+ The fix belongs in the theme:
146
+
147
+ ```marko
148
+ $ const buttonLabels = defaultValue(input.buttonLabels, {
149
+ continue: i18nFunc("Continue"),
150
+ profile: i18nFunc("Modify Profile"),
151
+ logout: i18nFunc("Logout"),
152
+ });
153
+
154
+ <marko-web-identity-x-form-login button-labels=buttonLabels ... />
155
+ ```
156
+
157
+ Keep the English defaults byte-identical to the Vue component's own prop
158
+ defaults, so sites without i18n render exactly as before.
159
+
160
+ When converting a component, grep its subtree for `marko-web-browser-component`
161
+ and for any tag that forwards a label prop, and check each one — the failure is
162
+ silent and looks like "the translations didn't take".
163
+
120
164
  ---
121
165
 
122
166
  ## Best Practices
@@ -233,9 +277,10 @@ Sites using the component add translations to their i18n config:
233
277
 
234
278
  ```javascript
235
279
  // sites/example-spanish/config/i18n.js
280
+ // Keys lowercase — this site's lookup lowercases before indexing.
236
281
  module.exports = {
237
- "View All Products": "Ver Todos los Productos",
238
- "No products found.": "No se encontraron productos.",
282
+ 'view all products': 'Ver Todos los Productos',
283
+ 'no products found.': 'No se encontraron productos.',
239
284
  };
240
285
  ```
241
286
 
@@ -282,7 +327,9 @@ The following new translation strings are required:
282
327
  - `Create a free`
283
328
  - `account to continue reading`
284
329
 
285
- **Action:** Add these strings to your site's `config/i18n.js` file and provide translations.
330
+ **Action:** Add these strings to your site's `config/i18n.js` file and provide translations,
331
+ keyed in whatever form your site's i18n function looks up (most lowercase — see the
332
+ key-casing warning in the guide).
286
333
 
287
334
  See [I18N_GUIDE.md](./I18N_GUIDE.md) for details.
288
335
  ```
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/ads/fixed-ad-bottom.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/ads/fixed-ad-bottom.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  marko_assign = require("marko/dist/runtime/helpers/assign"),
8
8
  marko_web_gam_fixed_ad_bottom_template = require("@mindful-web/marko-web-gam/components/fixed-ad-bottom.marko"),
@@ -29,7 +29,7 @@ marko_template._ = marko_renderer(render, {
29
29
  });
30
30
 
31
31
  marko_template.meta = {
32
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/ads/fixed-ad-bottom.marko",
32
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/ads/fixed-ad-bottom.marko",
33
33
  tags: [
34
34
  "@mindful-web/marko-web-gam/components/fixed-ad-bottom.marko"
35
35
  ]
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/ads/reveal-ad-handler.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/ads/reveal-ad-handler.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  marko_web_browser_component_template = require("@mindful-web/marko-web/components/browser-component.marko"),
8
8
  marko_loadTag = require("marko/dist/runtime/helpers/load-tag"),
@@ -31,7 +31,7 @@ marko_template._ = marko_renderer(render, {
31
31
  });
32
32
 
33
33
  marko_template.meta = {
34
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/ads/reveal-ad-handler.marko",
34
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/ads/reveal-ad-handler.marko",
35
35
  tags: [
36
36
  "@mindful-web/marko-web/components/browser-component.marko"
37
37
  ]
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/author-bios.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/author-bios.marko",
6
6
  marko_component = require("./author-bios.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
@@ -67,7 +67,7 @@ marko_template._ = marko_renderer(render, {
67
67
  }, marko_component);
68
68
 
69
69
  marko_template.meta = {
70
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/author-bios.marko",
70
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/author-bios.marko",
71
71
  component: "./author-bios.marko",
72
72
  tags: [
73
73
  "../nodes/author-bio.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/callout-cards.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/callout-cards.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  module_objectPath_module = require("@mindful-web/object-path"),
8
8
  objectPath_module = module_objectPath_module.default || module_objectPath_module,
@@ -66,7 +66,7 @@ marko_template._ = marko_renderer(render, {
66
66
  });
67
67
 
68
68
  marko_template.meta = {
69
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/callout-cards.marko",
69
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/callout-cards.marko",
70
70
  tags: [
71
71
  "@mindful-web/marko-web/components/element/index.marko",
72
72
  "@mindful-web/marko-web/components/element/block.marko"
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/company-inquiry-form.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/company-inquiry-form.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
8
8
  defaultValue = module_defaultValue.default || module_defaultValue,
@@ -83,7 +83,7 @@ marko_template._ = marko_renderer(render, {
83
83
  });
84
84
 
85
85
  marko_template.meta = {
86
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/company-inquiry-form.marko",
86
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/company-inquiry-form.marko",
87
87
  tags: [
88
88
  "@mindful-web/marko-web/components/browser-component.marko",
89
89
  "@mindful-web/marko-web-p1-events/components/track-inquiry-submission.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/company-search.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/company-search.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  marko_web_browser_component_template = require("@mindful-web/marko-web/components/browser-component.marko"),
8
8
  marko_loadTag = require("marko/dist/runtime/helpers/load-tag"),
@@ -22,7 +22,7 @@ marko_template._ = marko_renderer(render, {
22
22
  });
23
23
 
24
24
  marko_template.meta = {
25
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/company-search.marko",
25
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/company-search.marko",
26
26
  tags: [
27
27
  "@mindful-web/marko-web/components/browser-component.marko"
28
28
  ]
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/content-card-deck.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/content-card-deck.marko",
6
6
  marko_component = require("./content-card-deck.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_utils_module = require("@mindful-web/marko-web/utils"),
@@ -317,7 +317,7 @@ marko_template._ = marko_renderer(render, {
317
317
  }, marko_component);
318
318
 
319
319
  marko_template.meta = {
320
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/content-card-deck.marko",
320
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/content-card-deck.marko",
321
321
  component: "./content-card-deck.marko",
322
322
  tags: [
323
323
  "@mindful-web/marko-web/components/element/link.marko",
@@ -68,6 +68,15 @@ $ const allTextVariables = {
68
68
  };
69
69
  $ const { title, collapsedTitle, callToAction } = allTextVariables;
70
70
 
71
+ // The login form renders as a browser (Vue) component and so never sees
72
+ // out.global.i18n. Its labels have to be translated here and passed down.
73
+ // Defaults match the Vue component's own, so English output is unchanged.
74
+ $ const buttonLabels = defaultValue(input.buttonLabels, {
75
+ continue: i18nFunc("Continue"),
76
+ profile: i18nFunc("Modify Profile"),
77
+ logout: i18nFunc("Logout"),
78
+ });
79
+
71
80
  $ const classes = [
72
81
  "content-meter",
73
82
  "content-meter--open",
@@ -105,6 +114,7 @@ $ const classes = [
105
114
  login-email-placeholder="your@email.com"
106
115
  source="content_meter_login"
107
116
  additional-event-data=additionalEventData
117
+ button-labels=buttonLabels
108
118
  redirect=redirect
109
119
  />
110
120
  </div>
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/content-meter.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/content-meter.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
8
8
  defaultValue = module_defaultValue.default || module_defaultValue,
@@ -93,6 +93,12 @@ function render(input, out, __component, component, state) {
93
93
 
94
94
  const { title, collapsedTitle, callToAction } = allTextVariables;
95
95
 
96
+ const buttonLabels = defaultValue(input.buttonLabels, {
97
+ continue: i18nFunc("Continue"),
98
+ profile: i18nFunc("Modify Profile"),
99
+ logout: i18nFunc("Logout"),
100
+ });
101
+
96
102
  const classes = [
97
103
  "content-meter",
98
104
  "content-meter--open",
@@ -141,6 +147,7 @@ function render(input, out, __component, component, state) {
141
147
  source: "content_meter_login",
142
148
  loginEmailPlaceholder: "your@email.com",
143
149
  additionalEventData: additionalEventData,
150
+ buttonLabels: buttonLabels,
144
151
  redirect: redirect
145
152
  }, out, __component, "9");
146
153
 
@@ -154,7 +161,7 @@ marko_template._ = marko_renderer(render, {
154
161
  });
155
162
 
156
163
  marko_template.meta = {
157
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/content-meter.marko",
164
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/content-meter.marko",
158
165
  tags: [
159
166
  "@mindful-web/marko-web/components/browser-component.marko",
160
167
  "../menu-toggle-button.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/full-width-native-ad.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/full-width-native-ad.marko",
6
6
  marko_component = require("./full-width-native-ad.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_objectPath_module = require("@mindful-web/object-path"),
@@ -52,7 +52,7 @@ marko_template._ = marko_renderer(render, {
52
52
  }, marko_component);
53
53
 
54
54
  marko_template.meta = {
55
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/full-width-native-ad.marko",
55
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/full-width-native-ad.marko",
56
56
  component: "./full-width-native-ad.marko",
57
57
  tags: [
58
58
  "../nodes/section-feed-content.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/geo-summary.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/geo-summary.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  module_objectPath_module = require("@mindful-web/object-path"),
8
8
  objectPath_module = module_objectPath_module.default || module_objectPath_module,
@@ -150,7 +150,7 @@ marko_template._ = marko_renderer(render, {
150
150
  });
151
151
 
152
152
  marko_template.meta = {
153
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/geo-summary.marko",
153
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/geo-summary.marko",
154
154
  tags: [
155
155
  "../menu-toggle-button.marko",
156
156
  "@mindful-web/marko-web/components/element/index.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/header-announcement.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/header-announcement.marko",
6
6
  marko_component = require("./header-announcement.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  marko_str = require("marko/dist/runtime/helpers/to-string"),
@@ -107,7 +107,7 @@ marko_template._ = marko_renderer(render, {
107
107
  }, marko_component);
108
108
 
109
109
  marko_template.meta = {
110
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/header-announcement.marko",
110
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/header-announcement.marko",
111
111
  component: "./header-announcement.marko",
112
112
  tags: [
113
113
  "@mindful-web/marko-web/components/element/index.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/hero-card.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/hero-card.marko",
6
6
  marko_component = require("./hero-card.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
@@ -194,7 +194,7 @@ marko_template._ = marko_renderer(render, {
194
194
  }, marko_component);
195
195
 
196
196
  marko_template.meta = {
197
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/hero-card.marko",
197
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/hero-card.marko",
198
198
  component: "./hero-card.marko",
199
199
  tags: [
200
200
  "@mindful-web/marko-web/components/element/index.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/latest-content-list.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/latest-content-list.marko",
6
6
  marko_component = require("./latest-content-list.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_objectPath_module = require("@mindful-web/object-path"),
@@ -144,7 +144,7 @@ marko_template._ = marko_renderer(render, {
144
144
  }, marko_component);
145
145
 
146
146
  marko_template.meta = {
147
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/latest-content-list.marko",
147
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/latest-content-list.marko",
148
148
  component: "./latest-content-list.marko",
149
149
  tags: [
150
150
  "@mindful-web/marko-web/components/element/link.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/latest-podcast.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/latest-podcast.marko",
6
6
  marko_component = require("./latest-podcast.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_queryFragment = require("../../graphql/fragments/latest-podcast-block"),
@@ -157,7 +157,7 @@ marko_template._ = marko_renderer(render, {
157
157
  }, marko_component);
158
158
 
159
159
  marko_template.meta = {
160
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/latest-podcast.marko",
160
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/latest-podcast.marko",
161
161
  component: "./latest-podcast.marko",
162
162
  tags: [
163
163
  "@mindful-web/marko-web-icons/components/icon.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/latest-products-feed.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/latest-products-feed.marko",
6
6
  marko_component = require("./latest-products-feed.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
@@ -154,7 +154,7 @@ marko_template._ = marko_renderer(render, {
154
154
  }, marko_component);
155
155
 
156
156
  marko_template.meta = {
157
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/latest-products-feed.marko",
157
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/latest-products-feed.marko",
158
158
  component: "./latest-products-feed.marko",
159
159
  tags: [
160
160
  "../query-total-count.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/more-products.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/more-products.marko",
6
6
  marko_component = require("./more-products.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_queryFragment = require("../../graphql/fragments/products-block"),
@@ -122,7 +122,7 @@ marko_template._ = marko_renderer(render, {
122
122
  }, marko_component);
123
123
 
124
124
  marko_template.meta = {
125
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/more-products.marko",
125
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/more-products.marko",
126
126
  component: "./more-products.marko",
127
127
  tags: [
128
128
  "@mindful-web/marko-web/components/element/index.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/most-popular-list.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/most-popular-list.marko",
6
6
  marko_component = require("./most-popular-list.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_objectPath_module = require("@mindful-web/object-path"),
@@ -137,7 +137,7 @@ marko_template._ = marko_renderer(render, {
137
137
  }, marko_component);
138
138
 
139
139
  marko_template.meta = {
140
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/most-popular-list.marko",
140
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/most-popular-list.marko",
141
141
  component: "./most-popular-list.marko",
142
142
  tags: [
143
143
  "./latest-content-list.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/most-popular.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/most-popular.marko",
6
6
  marko_component = require("./most-popular.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_objectPath_module = require("@mindful-web/object-path"),
@@ -180,7 +180,7 @@ marko_template._ = marko_renderer(render, {
180
180
  }, marko_component);
181
181
 
182
182
  marko_template.meta = {
183
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/most-popular.marko",
183
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/most-popular.marko",
184
184
  component: "./most-popular.marko",
185
185
  tags: [
186
186
  "@mindful-web/marko-web/components/element/index.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/native-x-card-deck.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/native-x-card-deck.marko",
6
6
  marko_component = require("./native-x-card-deck.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_utils_module = require("@mindful-web/marko-web/utils"),
@@ -217,7 +217,7 @@ marko_template._ = marko_renderer(render, {
217
217
  }, marko_component);
218
218
 
219
219
  marko_template.meta = {
220
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/native-x-card-deck.marko",
220
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/native-x-card-deck.marko",
221
221
  component: "./native-x-card-deck.marko",
222
222
  tags: [
223
223
  "@mindful-web/marko-web/components/element/index.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/native-x-promo-card.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/native-x-promo-card.marko",
6
6
  marko_component = require("./native-x-promo-card.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_utils_module = require("@mindful-web/marko-web/utils"),
@@ -124,7 +124,7 @@ marko_template._ = marko_renderer(render, {
124
124
  }, marko_component);
125
125
 
126
126
  marko_template.meta = {
127
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/native-x-promo-card.marko",
127
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/native-x-promo-card.marko",
128
128
  component: "./native-x-promo-card.marko",
129
129
  tags: [
130
130
  "../nodes/standard-promo.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/newsletter-signup-banner-external.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/newsletter-signup-banner-external.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  module_defaultValue = require("@mindful-web/marko-core/utils/default-value"),
8
8
  defaultValue = module_defaultValue.default || module_defaultValue,
@@ -95,7 +95,7 @@ marko_template._ = marko_renderer(render, {
95
95
  });
96
96
 
97
97
  marko_template.meta = {
98
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/newsletter-signup-banner-external.marko",
98
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/newsletter-signup-banner-external.marko",
99
99
  tags: [
100
100
  "@mindful-web/marko-web/components/element/index.marko",
101
101
  "@mindful-web/marko-web/components/element/block.marko"
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/newsletter-signup-banner-large.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/newsletter-signup-banner-large.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  helpers_escape_xml = require("marko/dist/runtime/html/helpers/escape-xml"),
8
8
  marko_escapeXml = helpers_escape_xml.x,
@@ -85,7 +85,7 @@ marko_template._ = marko_renderer(render, {
85
85
  });
86
86
 
87
87
  marko_template.meta = {
88
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/newsletter-signup-banner-large.marko",
88
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/newsletter-signup-banner-large.marko",
89
89
  tags: [
90
90
  "@mindful-web/marko-web/components/element/index.marko",
91
91
  "@mindful-web/marko-web/components/element/block.marko"
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/newsletter-signup-banner.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/newsletter-signup-banner.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  module_image_module = require("@mindful-web/image"),
8
8
  image_module = module_image_module.default || module_image_module,
@@ -62,7 +62,7 @@ marko_template._ = marko_renderer(render, {
62
62
  });
63
63
 
64
64
  marko_template.meta = {
65
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/newsletter-signup-banner.marko",
65
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/newsletter-signup-banner.marko",
66
66
  tags: [
67
67
  "@mindful-web/marko-web/components/browser-component.marko"
68
68
  ]
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/opinion.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/opinion.marko",
6
6
  marko_component = require("./opinion.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_queryFragment = require("../../graphql/fragments/opinion-block"),
@@ -83,7 +83,7 @@ marko_template._ = marko_renderer(render, {
83
83
  }, marko_component);
84
84
 
85
85
  marko_template.meta = {
86
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/opinion.marko",
86
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/opinion.marko",
87
87
  component: "./opinion.marko",
88
88
  tags: [
89
89
  "@mindful-web/marko-web/components/element/website-section/name.marko",
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/primary-image.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/primary-image.marko",
6
6
  marko_renderer = require("marko/dist/runtime/components/renderer"),
7
7
  module_image_module = require("@mindful-web/image"),
8
8
  image_module = module_image_module.default || module_image_module,
@@ -215,7 +215,7 @@ marko_template._ = marko_renderer(render, {
215
215
  });
216
216
 
217
217
  marko_template.meta = {
218
- id: "/@mindful-web/marko-web-theme-monorail$1.81.1/components/blocks/primary-image.marko",
218
+ id: "/@mindful-web/marko-web-theme-monorail$1.82.0/components/blocks/primary-image.marko",
219
219
  tags: [
220
220
  "@mindful-web/marko-web/components/element/image/display-name.marko",
221
221
  "@mindful-web/marko-web/components/element/picture.marko",