@vectoriox/iox-ui 5.205.0 → 5.206.1

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 (49) hide show
  1. package/data-core/index.d.ts +13 -4
  2. package/design-core/index.d.ts +269 -6
  3. package/fesm2022/vectoriox-iox-ui-data-core.mjs +23 -4
  4. package/fesm2022/vectoriox-iox-ui-data-core.mjs.map +1 -1
  5. package/fesm2022/vectoriox-iox-ui-design-core.mjs +3064 -2682
  6. package/fesm2022/vectoriox-iox-ui-design-core.mjs.map +1 -1
  7. package/fesm2022/vectoriox-iox-ui-generation-core.mjs +1184 -173
  8. package/fesm2022/vectoriox-iox-ui-generation-core.mjs.map +1 -1
  9. package/fesm2022/vectoriox-iox-ui-harness-core.mjs +71 -19
  10. package/fesm2022/vectoriox-iox-ui-harness-core.mjs.map +1 -1
  11. package/fesm2022/vectoriox-iox-ui-scene-core.mjs +32 -4
  12. package/fesm2022/vectoriox-iox-ui-scene-core.mjs.map +1 -1
  13. package/generation-core/index.d.ts +421 -34
  14. package/harness-core/index.d.ts +52 -12
  15. package/package.json +1 -1
  16. package/scene-core/index.d.ts +16 -2
  17. package/src/data-core/placeholder-rows.ts +24 -3
  18. package/src/design-core/colour-eval.ts +22 -0
  19. package/src/design-core/contrast-audit.ts +96 -2
  20. package/src/design-core/design-token.model.ts +2 -0
  21. package/src/design-core/flavor-spec.generated.ts +184 -0
  22. package/src/design-core/font-metrics.ts +14 -1
  23. package/src/design-core/font-vertical.ts +80 -0
  24. package/src/design-core/public-api.ts +1 -0
  25. package/src/design-core/style-presets.ts +20 -1
  26. package/src/design-core/token-css.ts +3 -1
  27. package/src/generation-core/audit-site.ts +5 -3
  28. package/src/generation-core/compose-free.ts +1 -1
  29. package/src/generation-core/compose-layout.ts +197 -23
  30. package/src/generation-core/critic-calibration.ts +26 -9
  31. package/src/generation-core/critic-numbers.ts +259 -0
  32. package/src/generation-core/critic-prompt.ts +53 -6
  33. package/src/generation-core/critic-rubric.generated.ts +6 -6
  34. package/src/generation-core/critic-sheet.ts +112 -1
  35. package/src/generation-core/layout-render-check.ts +35 -2
  36. package/src/generation-core/layout-space.ts +2 -1
  37. package/src/generation-core/nav-shape.ts +67 -8
  38. package/src/generation-core/opening-mix.ts +61 -17
  39. package/src/generation-core/public-api.ts +2 -0
  40. package/src/generation-core/social-links.ts +47 -8
  41. package/src/generation-core/stock-photos.ts +149 -14
  42. package/src/generation-core/stock-search.ts +108 -19
  43. package/src/generation-core/stock-subjects.ts +204 -0
  44. package/src/harness-core/business-types.ts +3 -0
  45. package/src/harness-core/harness-spec.generated.ts +54 -15
  46. package/src/harness-core/intake.ts +18 -5
  47. package/src/scene-core/scene.ts +34 -3
  48. package/styles/iox-design.css +41 -2
  49. package/styles/iox-forms.css +7 -6
@@ -1,11 +1,11 @@
1
- import { localeDirection, LocaleDirection, NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, elementStyleById, ownedTraitsOf, applyElementStyle, SPEC_AXES, QUIET_MOVE, QUIET_LEVELS, EntranceParam, staggerDelay, ScrubId, isScrubId, columnWordOf, contentWidthOf, stylePresetOfChoices, resolveDesignChoices, presetModes, STYLE_PRESETS, presetChoices, textWidthEm, elementStyleFace, toHexColor, relativeLuminance, sectionEdgeClass, SECTION_EDGE_TYPES, colorSchemeOf, planSectionShape, SectionShape as SectionShape$1, setSectionShape, sectionShapeOf as sectionShapeOf$1, setSectionEdge, resolveColourWords, resolveTokenValues, designTokenRows, parseCssColour, scrubOfChoices, parseHexColor, rgbToOklab, OpticalSize, FOOTER_MIX_PROP, SECTION_SHAPE_TRAIT, COLOR_SCHEME_TYPES, schemeOfGround, decomposeCssFunctions, FILTER_FUNCTIONS, schemeTokenResolver, wcagContrastRatio, LinkType, MenuShows, MenuTrait, menuDialogProps, menuShowsOf, MenuButtonKind, menuButtonOf, menuButtonProps, setColorScheme, LIST_MIX_PROP, ColorScheme, COLOR_SCHEMES, withSignatureMove, motionLanguageForPlan, headerInkOf, headerGroundOf, headerShapeOf, headerBrandOf, DEFAULT_MENU_LOOK, COLOR_SCHEME_TRAIT, colorSchemeClass, HeaderTrait, headerShapeFloats, HeaderShape, HeaderBrand, HeaderGround, headerGroundIsOver, headerGroundIsGlass, resolveSchemeTokenValues, menuFormOf, MenuForm, MenuPhoneForm, menuHoverOf, menuRevealOf, flavorPackById, ARRIVE_IDS, MOVE_IDS, PRELOADER_IDS, SCRUB_IDS, readDesignConfig, ANIMATE_IDS, renderedContrastFindings, auditDesignContrast, isDecorativeImage, compositeOver, HeaderBehaviour, headerBehaviourOf, headerEdgeOf, COLUMN_IDS, COLUMN_SETTING, ElementStyleState, LEAVE_SHARE } from '@vectoriox/iox-ui/design-core';
1
+ import { localeDirection, LocaleDirection, NEW_NODE_STYLE_DEFAULTS, defaultElementStyleFor, elementStyleById, ownedTraitsOf, applyElementStyle, SPEC_AXES, QUIET_MOVE, QUIET_LEVELS, EntranceParam, staggerDelay, ScrubId, isScrubId, columnWordOf, contentWidthOf, stylePresetOfChoices, resolveDesignChoices, presetModes, STYLE_PRESETS, presetChoices, textWidthEm, elementStyleFace, toHexColor, relativeLuminance, sectionEdgeClass, SECTION_EDGE_TYPES, colorSchemeOf, planSectionShape, SectionShape as SectionShape$1, setSectionShape, sectionShapeOf as sectionShapeOf$1, setSectionEdge, resolveColourWords, resolveTokenValues, designTokenRows, parseCssColour, scrubOfChoices, parseHexColor, rgbToOklab, OpticalSize, FOOTER_MIX_PROP, SECTION_SHAPE_TRAIT, COLOR_SCHEME_TYPES, schemeOfGround, decomposeCssFunctions, FILTER_FUNCTIONS, schemeTokenResolver, wcagContrastRatio, LinkType, elementStyleDropCss, MenuShows, MenuTrait, menuDialogProps, menuShowsOf, MenuButtonKind, menuButtonOf, menuButtonProps, setColorScheme, LIST_MIX_PROP, ColorScheme, COLOR_SCHEMES, withSignatureMove, motionLanguageForPlan, headerInkOf, headerGroundOf, headerShapeOf, headerBrandOf, DEFAULT_MENU_LOOK, COLOR_SCHEME_TRAIT, colorSchemeClass, HeaderTrait, headerShapeFloats, HeaderShape, HeaderBrand, HeaderGround, headerGroundIsOver, headerGroundIsGlass, resolveSchemeTokenValues, menuFormOf, MenuForm, MenuPhoneForm, menuHoverOf, menuRevealOf, flavorPackById, ARRIVE_IDS, MOVE_IDS, PRELOADER_IDS, SCRUB_IDS, readDesignConfig, ANIMATE_IDS, renderedContrastFindings, auditDesignContrast, scrimLayerFindings, isDecorativeImage, compositeOver, HeaderBehaviour, headerBehaviourOf, headerEdgeOf, COLUMN_IDS, COLUMN_SETTING, ElementStyleState, LEAVE_SHARE } from '@vectoriox/iox-ui/design-core';
2
2
  export { HeaderInk } from '@vectoriox/iox-ui/design-core';
3
3
  import { SLIDER_TYPE, badgeToneOf, isAnyCompositeRoot, MarqueeRole, NO_ELEMENT_STYLE, PopupKind, PopupTrait, POPUP_KIND_MIX, PopupForm, popupWords, PopupArt, POPUP_BODY_MAX_CHARS, POPUP_TITLE_MAX_WORDS, buildPopupRecipe, findByRole, PopupRole, removeFromComposite, pickTabsAutoBinds, pickAccordionAutoBinds, ShopRole, AccountRole, CardPart, SceneRole, SLIDER_PLACEMENT_TRAIT, SliderPlacement, syncSliderParts, SliderRole, CardLayout, buildCardRecipe, CardRole, SHOP_RECIPES, ShopRecipe, bindShopPart, ShopBindTarget, MarqueeDirection, MarqueeSpeed, buildMarqueeRecipe, setMarqueeSettings, segmentedOptions, ITEM_OPEN_STATE, CARD_LAYOUTS, CARD_PARTS, BADGE_TONES, buildSegmentedRecipe, AccordionRole, buildAccordionRecipe, accordionWords, accordionItems, accordionQuestionOf, accordionAnswerOf, ACCORDION_BIND_PROP, ACCORDION_CONTENT_LIMIT, buildTabsRecipe, tabsWords, tabsTriggers, tabLabelNodeOf, TABS_LABEL_BIND_PROP, tabsPanels, tabPanelTextOf, TABS_TEXT_BIND_PROP, tabPanelImageOf, tabsListOf, tabsPanelsOf, TABS_CONTENT_LIMIT, TABS_IMAGE_BIND_PROP, ACCOUNT_RECIPES, AccountRecipe, carouselQuoteLabel, buildCarouselRecipe, SLIDE_TYPE, buildLightboxRecipe, canOpenAtClickedItem, SLIDE_TO_ROW, CAROUSEL_QUOTE_LABELS, pickCarouselAutoBinds, buildSlideshowRecipe, LIGHTBOX_LABEL, setHeaderBehaviour, setHeaderInk, setHeaderGround, setHeaderShape, setHeaderBrand, ConsentActionType, buildConsentRecipe, PopupArrive, popupFormOf, buildReadingBarRecipe, buildDisclosureRecipe, buildCounterRecipe, TabsRole } from '@vectoriox/iox-ui/composite-core';
4
- import { channelHref, ChannelKind, ControlType, FIELD_NODE_TYPE, FORM_NODE_TYPE, FormPresetId, FormAfterSend, FORM_AFTER_SEND_TRAIT, busyWord, channelWords, FORM_ACTIONS_ROLE, channelOpensNewTab, FORM_CHANNEL_ROLE, formPresetById, presetFormActions, planFormPresetIds, collectFormSpec, isChannelFilled } from '@vectoriox/iox-ui/forms-core';
4
+ import { channelHref, ChannelKind, FORM_CHANNEL_ROLE, parseChannelHref, ControlType, FIELD_NODE_TYPE, FORM_NODE_TYPE, FormPresetId, FormAfterSend, FORM_AFTER_SEND_TRAIT, busyWord, channelWords, FORM_ACTIONS_ROLE, channelOpensNewTab, formPresetById, presetFormActions, planFormPresetIds, collectFormSpec, isChannelFilled } from '@vectoriox/iox-ui/forms-core';
5
5
  import { normalizeFrameSequence, filmScreensFor, VideoMode, VideoSource, FILM_PREPARED_PICTURES, FrameExtension } from '@vectoriox/iox-ui/media-core';
6
6
  import { fitSeoText, SEO_TITLE_MAX, SEO_DESCRIPTION_MAX, SEO_ROBOTS_OPTIONS, SEO_ROBOTS_NOINDEX, redirectPath } from '@vectoriox/iox-ui/seo-core';
7
7
  import { VARIANT_NAME_SEPARATOR, commerceLanguage, CommerceLanguage, CHECKOUT_GATE_RULES, labelIn, CheckoutGateCode } from '@vectoriox/iox-ui/commerce-core';
8
- import { ParallaxDepth, parallaxShift, rangeDistance, ScrollRange, normalizeParallaxPhone, parallaxRest, rangeProgress, parallaxOffset, TextRevealBy, SCENE_LAND_TRIGGER, SceneRange, SceneProp, SceneRevealFrom, SceneEase, SCENE_TRACK_EASE, buildSceneRecipe, normalizeTracks } from '@vectoriox/iox-ui/scene-core';
8
+ import { ParallaxDepth, parallaxShift, rangeDistance, ScrollRange, normalizeParallaxPhone, parallaxRest, rangeProgress, parallaxOffset, TextRevealBy, SCENE_LAND_TRIGGER, SceneRange, SceneProp, SceneRevealFrom, SceneEase, SCENE_TRACK_EASE, mergeSceneTracks, buildSceneRecipe, normalizeTracks } from '@vectoriox/iox-ui/scene-core';
9
9
  import { SCROLL_PROGRESS_TRIGGER, ELEMENT_ACTION_DESCRIPTORS, actionOfferedUnder, DISSOLVE_ACTION, resolveActionAvailability, POPUP_RULES, popupEnded, COUNT_UP_TRIGGERS, ENTRANCE_ACTION_TYPES, EXIT_ACTION_TYPES } from '@vectoriox/iox-ui/actions-core';
10
10
  import { ConsentCategory } from '@vectoriox/iox-ui/consent-core';
11
11
  import { isNumberedPlaceholderTitle } from '@vectoriox/iox-ui/data-core';
@@ -23955,7 +23955,7 @@ function layoutWireJsonSchema(options = {}) {
23955
23955
  return closed$1({ ...page, sections: listOf$2(section, '4..8 sections') }, 'one composed page in the layout language');
23956
23956
  }
23957
23957
  const nonEmpty$3 = (v) => typeof v === 'string' && v.trim() !== '';
23958
- const num = (v, fallback = 0) => (typeof v === 'number' && Number.isFinite(v) ? v : fallback);
23958
+ const num$1 = (v, fallback = 0) => (typeof v === 'number' && Number.isFinite(v) ? v : fallback);
23959
23959
  const strings$1 = (v) => (Array.isArray(v) ? v.filter((x) => typeof x === 'string') : []);
23960
23960
  function expandForm(l, preset) {
23961
23961
  const form = { preset: preset };
@@ -23983,7 +23983,7 @@ function expandGallery(l, flags, variant) {
23983
23983
  };
23984
23984
  if (GALLERY_EFFECTS.includes(variant))
23985
23985
  gallery.effect = variant;
23986
- const perView = num(l['perView']);
23986
+ const perView = num$1(l['perView']);
23987
23987
  if (perView > 0)
23988
23988
  gallery.perView = perView;
23989
23989
  for (const f of ['centered', 'freeMode', 'loop', 'drift', 'scroll'])
@@ -24058,12 +24058,12 @@ function listMixToWire(mix, source) {
24058
24058
  return { mix: listMixWords(mix), parts: mix.parts.map(r => `${source}${PART_SEPARATOR}${r}`) };
24059
24059
  }
24060
24060
  function expandTrack(t) {
24061
- const v = Array.isArray(t['values']) ? t['values'].map(x => num(x)) : [];
24061
+ const v = Array.isArray(t['values']) ? t['values'].map(x => num$1(x)) : [];
24062
24062
  return { prop: String(t['prop']), from: v[0] ?? 0, to: v[1] ?? 0, at: [v[2] ?? 0, v[3] ?? 1], ease: String(t['ease']) };
24063
24063
  }
24064
24064
  function expandLayer(l, beat) {
24065
24065
  const kind = String(l['kind']);
24066
- const box = Array.isArray(l['box']) ? l['box'].map(x => num(x)) : [];
24066
+ const box = Array.isArray(l['box']) ? l['box'].map(x => num$1(x)) : [];
24067
24067
  const flags = new Set(strings$1(l['flags']));
24068
24068
  const variant = String(l['variant'] ?? NONE$3);
24069
24069
  const out = {
@@ -24091,12 +24091,12 @@ function expandLayer(l, beat) {
24091
24091
  out.color = String(l['color']);
24092
24092
  if (nonEmpty$3(l['align']))
24093
24093
  out.align = String(l['align']);
24094
- if (num(l['z']))
24095
- out.z = num(l['z']);
24094
+ if (num$1(l['z']))
24095
+ out.z = num$1(l['z']);
24096
24096
  if (nonEmpty$3(l['bleed']) && l['bleed'] !== NONE$3)
24097
24097
  out.bleed = String(l['bleed']);
24098
- if (num(l['rotate']))
24099
- out.rotate = num(l['rotate']);
24098
+ if (num$1(l['rotate']))
24099
+ out.rotate = num$1(l['rotate']);
24100
24100
  if (nonEmpty$3(l['to']))
24101
24101
  out.to = String(l['to']).trim();
24102
24102
  if (flags.has('scrim'))
@@ -24118,8 +24118,8 @@ function expandLayer(l, beat) {
24118
24118
  out.beat = beat;
24119
24119
  if (nonEmpty$3(l['depth']) && l['depth'] !== NONE$3)
24120
24120
  out.depth = String(l['depth']);
24121
- if (num(l['inner']))
24122
- out.inner = num(l['inner']);
24121
+ if (num$1(l['inner']))
24122
+ out.inner = num$1(l['inner']);
24123
24123
  const motion = (Array.isArray(l['motion']) ? l['motion'] : []).filter(isPlainObject).map(expandTrack);
24124
24124
  if (motion.length)
24125
24125
  out.motion = motion;
@@ -24140,7 +24140,7 @@ function derivedBeats(layers) {
24140
24140
  }
24141
24141
  function expandSection(s) {
24142
24142
  const kind = String(s['kind']);
24143
- const hold = Math.max(0, Math.round(num(s['hold'])));
24143
+ const hold = Math.max(0, Math.round(num$1(s['hold'])));
24144
24144
  const wired = (Array.isArray(s['layers']) ? s['layers'] : []).filter(isPlainObject);
24145
24145
  // RD-D20: a section whose ONLY layer names a bound part, a block or a kept section IS that part — a section place.
24146
24146
  const whole = wired.length === 1 && nonEmpty$3(wired[0]['carry']) && isSectionCarryHandle(String(wired[0]['carry']).trim())
@@ -24151,12 +24151,12 @@ function expandSection(s) {
24151
24151
  const layers = wired.map((l, i) => expandLayer(l, beats[i]));
24152
24152
  const out = {
24153
24153
  id: String(s['id'] ?? ''),
24154
- screens: num(s['screens'], 1),
24155
- rows: num(s['rows'], 8),
24154
+ screens: num$1(s['screens'], 1),
24155
+ rows: num$1(s['rows'], 8),
24156
24156
  ground: String(s['ground'] ?? 'ground'),
24157
24157
  transition: String(s['transition'] ?? 'cut'),
24158
24158
  layers,
24159
- phone: Array.isArray(s['phone']) ? s['phone'].map(x => num(x, -1)) : [],
24159
+ phone: Array.isArray(s['phone']) ? s['phone'].map(x => num$1(x, -1)) : [],
24160
24160
  };
24161
24161
  if (kind === 'inhale')
24162
24162
  out.kind = 'inhale';
@@ -24577,7 +24577,7 @@ const MIN_ANALYSIS_HEIGHT = 48;
24577
24577
  const PHOTO_CALM_DETAIL = 0.045;
24578
24578
  /** Light: above the luminance where black and white words have the same contrast (√(1.05 × 0.05) − 0.05). */
24579
24579
  const PHOTO_LIGHT_LUMINANCE = 0.179;
24580
- const COLOURS = 5;
24580
+ const COLOURS$1 = 5;
24581
24581
  const KMEANS_ROUNDS = 12;
24582
24582
  /** Shape by width ÷ height (the prototype's `shapeOf`). */
24583
24583
  const SHAPE_FROM_RATIO = [
@@ -24623,7 +24623,7 @@ function downsample(rgba, width, height) {
24623
24623
  /** Up to five colours by k-means over the analysed pixels, seeded from evenly spread pixels (the prototype's), most
24624
24624
  * first; centres that land on one colour are one colour. */
24625
24625
  function mainColours(px, n) {
24626
- const k = Math.min(COLOURS, n);
24626
+ const k = Math.min(COLOURS$1, n);
24627
24627
  let centres = Array.from({ length: k }, (_, i) => {
24628
24628
  const p = Math.floor(((i + 0.5) * n) / k);
24629
24629
  return [px[p * 3], px[p * 3 + 1], px[p * 3 + 2]];
@@ -25532,7 +25532,8 @@ function layoutDriftPhoto(s) {
25532
25532
  /** The drift a still hold's photo takes: a slow scale over the whole hold — transform only, inside the track's bounds. */
25533
25533
  const LAYOUT_DRIFT = { prop: LayoutTrackProp.Scale, from: 1, to: 1.08, at: [0, 1] };
25534
25534
  /** A section whose screen is spoken for: what is on it never leaves it (held, sideways, a photo ground, ready-made), or
25535
- * its space is the point (an inhale — the page's one breath, a word in the quiet). */
25535
+ * its space is the point (an inhale — the page's one breath, a word in the quiet; the composer lays its words in the
25536
+ * middle of its screens, `inhaleRows`, so the quiet is shared above and below them — iox-ui#220). */
25536
25537
  const filled$3 = (s) => !!s.pin || (s.track ?? 1) > 1 || !!s.readyMade || !!s.carry || String(s.ground ?? '').startsWith('photo:')
25537
25538
  || s.kind === LayoutSectionKind.Inhale;
25538
25539
  /** Where a layer's ink is in its section (px from the section's top): its cell for what stretches, its words' lines in the
@@ -29388,7 +29389,7 @@ function freeWireJsonSchema(options = {}) {
29388
29389
  nodes: jsonListOf(node),
29389
29390
  }, 'one free page, flat');
29390
29391
  }
29391
- const str = (v) => (typeof v === 'string' ? v : '');
29392
+ const str$1 = (v) => (typeof v === 'string' ? v : '');
29392
29393
  const list$1 = (v) => (Array.isArray(v) ? v.filter((x) => typeof x === 'string') : []);
29393
29394
  const nodeAt = (i, id) => `nodes[${i}]${id ? ` ("${id}")` : ''}`;
29394
29395
  /** `["fontSize:4rem", …]` → a style map, split at each line's FIRST colon; a line with none is a fault. */
@@ -29436,9 +29437,9 @@ function expandFreeWire(wire) {
29436
29437
  faults.push({ path: `nodes[${i}]`, message: 'not a node' });
29437
29438
  return;
29438
29439
  }
29439
- const id = str(raw['id']);
29440
+ const id = str$1(raw['id']);
29440
29441
  const at = nodeAt(i, id);
29441
- const type = str(raw['type']);
29442
+ const type = str$1(raw['type']);
29442
29443
  if (!Object.values(FreeNodeType).includes(type)) {
29443
29444
  faults.push({ path: at, message: `"${type}" is not a node type — ${Object.values(FreeNodeType).join(', ')}` });
29444
29445
  return;
@@ -29449,21 +29450,21 @@ function expandFreeWire(wire) {
29449
29450
  }
29450
29451
  const node = { id, type, styleProps: styleOf$1(raw['base'], `${at}.base`, faults) };
29451
29452
  if (type === FreeNodeType.Section)
29452
- node.purpose = str(raw['purpose']);
29453
- if (str(raw['style']))
29454
- node.elementStyle = str(raw['style']);
29453
+ node.purpose = str$1(raw['purpose']);
29454
+ if (str$1(raw['style']))
29455
+ node.elementStyle = str$1(raw['style']);
29455
29456
  if (type === FreeNodeType.Heading)
29456
29457
  node.level = typeof raw['level'] === 'number' ? raw['level'] : 0;
29457
- if (str(raw['role']))
29458
- node.role = str(raw['role']);
29458
+ if (str$1(raw['role']))
29459
+ node.role = str$1(raw['role']);
29459
29460
  if (FREE_WORD_TYPES.includes(type))
29460
- node.text = str(raw['text']);
29461
- if (str(raw['src']))
29462
- node.src = str(raw['src']);
29461
+ node.text = str$1(raw['text']);
29462
+ if (str$1(raw['src']))
29463
+ node.src = str$1(raw['src']);
29463
29464
  if (type === FreeNodeType.Button)
29464
- node.href = str(raw['href']);
29465
+ node.href = str$1(raw['href']);
29465
29466
  if (type === FreeNodeType.Slot) {
29466
- node.slot = str(raw['slot']);
29467
+ node.slot = str$1(raw['slot']);
29467
29468
  node.opts = list$1(raw['opts']);
29468
29469
  }
29469
29470
  // FV2: a footer Section says its ground as a word (`ground:inverse`), never as a painted colour.
@@ -29480,13 +29481,13 @@ function expandFreeWire(wire) {
29480
29481
  const hover = styleOf$1(raw['hover'], `${at}.hover`, faults);
29481
29482
  if (Object.keys(hover).length)
29482
29483
  node.hover = hover;
29483
- const motion = str(raw['motion']);
29484
+ const motion = str$1(raw['motion']);
29484
29485
  const move = freeMoveOf(motion);
29485
29486
  if (move)
29486
29487
  node.move = move;
29487
29488
  else if (motion && motion !== NONE$2)
29488
29489
  faults.push({ path: `${at}.motion`, message: `"${motion}" is not a move — ${freeMoveWords().join(', ')}` });
29489
- const parentId = str(raw['parent']);
29490
+ const parentId = str$1(raw['parent']);
29490
29491
  if (!parentId) {
29491
29492
  if (type !== FreeNodeType.Section) {
29492
29493
  faults.push({ path: at, message: 'only a Section sits at the top of the page — give it a parent' });
@@ -29516,8 +29517,8 @@ function expandFreeWire(wire) {
29516
29517
  paths[pathOf.get(node)] = i;
29517
29518
  });
29518
29519
  const page = {
29519
- read: { idea: str(read['idea']), why: str(read['why']), followed: str(read['followed']) },
29520
- pictures: str(w['pictures']),
29520
+ read: { idea: str$1(read['idea']), why: str$1(read['why']), followed: str$1(read['followed']) },
29521
+ pictures: str$1(w['pictures']),
29521
29522
  sections,
29522
29523
  };
29523
29524
  return { page, paths, faults };
@@ -29937,7 +29938,7 @@ const A_NUMBER = /^\D{0,3}\d[\d,.]*\D{0,3}$/;
29937
29938
  const PAGE_GROUND = 'page-bg';
29938
29939
  const tokensIn = (v) => [...v.matchAll(TOKEN_REF)].map(m => m[1]);
29939
29940
  const oneToken = (v) => ONE_TOKEN.exec(String(v ?? '').trim())?.[1];
29940
- const px = (v) => { const m = /^(-?[\d.]+)px$/.exec(String(v ?? '').trim()); return m ? Number(m[1]) : null; };
29941
+ const px$1 = (v) => { const m = /^(-?[\d.]+)px$/.exec(String(v ?? '').trim()); return m ? Number(m[1]) : null; };
29941
29942
  const columnsOf$1 = (v) => {
29942
29943
  const s = String(v ?? '').trim();
29943
29944
  const rep = /repeat\(\s*(\d+)/.exec(s);
@@ -30052,9 +30053,9 @@ function freePhoneNeeds(node) {
30052
30053
  needs.push('its columns');
30053
30054
  if (base['position'] === 'absolute')
30054
30055
  needs.push('its absolute place');
30055
- if ((px(base['width']) ?? 0) > FREE_PHONE_LIMITS.width || (px(base['minWidth']) ?? 0) > FREE_PHONE_LIMITS.width)
30056
+ if ((px$1(base['width']) ?? 0) > FREE_PHONE_LIMITS.width || (px$1(base['minWidth']) ?? 0) > FREE_PHONE_LIMITS.width)
30056
30057
  needs.push('its fixed width');
30057
- if ((px(base['fontSize']) ?? 0) > FREE_PHONE_LIMITS.fontSize)
30058
+ if ((px$1(base['fontSize']) ?? 0) > FREE_PHONE_LIMITS.fontSize)
30058
30059
  needs.push('its type size (or write it as clamp(min, cqi, max))');
30059
30060
  if (base['rotate'] && FREE_WORD_TYPES.includes(node.type) && Math.abs(parseFloat(base['rotate'])) > FREE_PHONE_LIMITS.turn)
30060
30061
  needs.push('its turn');
@@ -30750,8 +30751,9 @@ function freeFooterBrief(ctx, worn = []) {
30750
30751
  * - `SITE_SOCIAL_FIELDS`, `siteSocialLinks`, `siteSocialPatch` — the Site settings record's fields, read and written;
30751
30752
  * - `statedWhatsAppHref` — a stated WhatsApp link as the contact form's WhatsApp channel (forms-core `channelHref`);
30752
30753
  * - `withFollowRow` — a contact section with the footer's social part ("Follow" and the links) beside its contact facts;
30753
- * - `followSiteSocials` — every follow row a saved layout holds, drawn from Site settings ▸ Socials AT RENDER (iox-ui#201):
30754
- * the engine and the builder both apply it, so a link changed in Site settings reaches every site, old builds included.
30754
+ * - `followSiteSocials` — every follow row a saved layout holds, drawn from Site settings ▸ Socials AT RENDER (iox-ui#201),
30755
+ * and every form's WhatsApp channel with them (iox-ui#205): the engine and the builder both apply it, so a link changed in
30756
+ * Site settings reaches every site, old builds included.
30755
30757
  *
30756
30758
  * Pure and framework-free (iox-cms imports it).
30757
30759
  */
@@ -30928,16 +30930,33 @@ const ICON_PROP = 'iconClass';
30928
30930
  const PH_WEIGHT = /^ph(-(thin|light|regular|bold|fill|duotone))?$/;
30929
30931
  /** The suffix a copy's id carries — stripped to find the template's own id on the next pass. */
30930
30932
  const NETWORK_SUFFIX = new RegExp(`-(${FOOTER_SOCIAL_NETWORKS.map(n => n.id).join('|')})$`);
30931
- /** True when the tree holds a follow row (a stamped follow link) — a renderer reads Site settings only then. */
30933
+ /** Where a channel (a ButtonBlock that links) writes its address. */
30934
+ const CHANNEL_URL_SLOT = 'href';
30935
+ /** A form's WhatsApp channel (iox-ui#205): role `form.channel`, its address a WhatsApp chat (forms-core `parseChannelHref`). */
30936
+ function isWhatsAppChannel(n) {
30937
+ if (n?.role !== FORM_CHANNEL_ROLE)
30938
+ return false;
30939
+ const { kind, value } = parseChannelHref(n.props?.[CHANNEL_URL_SLOT]);
30940
+ return kind === ChannelKind.WhatsApp && !!value;
30941
+ }
30942
+ /** A node Site settings ▸ Socials draws: a follow row, or a form's WhatsApp channel. */
30943
+ const isFollowed = (n) => isFollowRow(n) || isWhatsAppChannel(n);
30944
+ /** True when the tree holds a follow row (a stamped follow link) or a form's WhatsApp channel — a renderer reads Site
30945
+ * settings only then. */
30932
30946
  function holdsFollowRow(nodes) {
30933
- return (nodes ?? []).some(n => n?.role === FOLLOW_LINK_ROLE || holdsFollowRow(n?.children));
30947
+ return (nodes ?? []).some(n => n?.role === FOLLOW_LINK_ROLE || isWhatsAppChannel(n) || holdsFollowRow(n?.children));
30934
30948
  }
30935
30949
  /** Every follow row of `roots` drawn from Site settings' links (`siteSocialLinks` of the record) — see above. Pure. */
30936
30950
  function followSiteSocials(roots, site, view) {
30937
30951
  if (site == null || !holdsFollowRow(roots))
30938
30952
  return roots;
30939
30953
  const links = footerSocialLinks(site).links;
30954
+ const whatsApp = statedWhatsAppHref(site);
30940
30955
  return splice(roots, n => {
30956
+ if (isWhatsAppChannel(n)) {
30957
+ const channel = followChannel(n, whatsApp, view);
30958
+ return channel ? [channel] : [];
30959
+ }
30941
30960
  if (!isFollowRow(n))
30942
30961
  return undefined;
30943
30962
  const row = followRow(n, links, view);
@@ -30974,10 +30993,10 @@ function firstWithRole(n, role) {
30974
30993
  const holdsLink = (n) => (n.children ?? []).some(k => k.type in FOLLOW_URL_SLOT || holdsLink(k));
30975
30994
  /** A row: the `footer.social` block, or (a one-line footer) the bare box its stamped links sit in. */
30976
30995
  const isFollowRow = (n) => n.role === FOLLOW_ROW_ROLE || (n.children ?? []).some(k => k.role === FOLLOW_LINK_ROLE);
30977
- /** Every follow row of a tree by its id (the outermost — a row is never looked inside). */
30996
+ /** Every node Site settings draws (a follow row, a WhatsApp channel) by its id — the outermost, never looked inside. */
30978
30997
  function followRowsById(nodes, out = new Map()) {
30979
30998
  for (const n of nodes) {
30980
- if (isFollowRow(n))
30999
+ if (isFollowed(n))
30981
31000
  out.set(n.id, n);
30982
31001
  else if (n.children)
30983
31002
  followRowsById(n.children, out);
@@ -30999,7 +31018,7 @@ function keepSavedFollowRows(serialized, drawn, saved) {
30999
31018
  return serialized;
31000
31019
  const drawnRows = followRowsById(drawn);
31001
31020
  return splice(serialized, n => {
31002
- if (!isFollowRow(n))
31021
+ if (!isFollowed(n))
31003
31022
  return undefined;
31004
31023
  const stored = storedRows.get(n.id);
31005
31024
  const asDrawn = drawnRows.get(n.id);
@@ -31017,6 +31036,18 @@ function followRow(row, links, view) {
31017
31036
  const next = { ...row, children: splice(row.children ?? [], n => (n.role !== FOLLOW_LINK_ROLE ? undefined : n === template ? copies : [])) };
31018
31037
  return links.length || holdsLink(next) ? next : null;
31019
31038
  }
31039
+ /**
31040
+ * A form's WhatsApp channel drawn: Site settings' WhatsApp as its address (any `?text=` the owner added kept), the same node
31041
+ * when it already is; no WhatsApp in Site settings — gone on the live site, as saved in the builder.
31042
+ */
31043
+ function followChannel(channel, whatsApp, view) {
31044
+ if (!whatsApp)
31045
+ return view === FollowRowView.Edit ? channel : null;
31046
+ const current = String(channel.props?.[CHANNEL_URL_SLOT] ?? '').trim();
31047
+ const suffix = current.match(/[?#].*$/)?.[0] ?? '';
31048
+ const href = `${whatsApp}${suffix}`;
31049
+ return href === current ? channel : { ...channel, props: { ...channel.props, [CHANNEL_URL_SLOT]: href } };
31050
+ }
31020
31051
  /** The template drawn for one network: its address (external), its words, its glyph, ids derived. */
31021
31052
  function followLink(template, link) {
31022
31053
  const glyph = FOOTER_SOCIAL_NETWORKS.find(n => n.id === link.network)?.icon;
@@ -31065,9 +31096,9 @@ function withGlyph(current, glyph) {
31065
31096
  */
31066
31097
  const WRITES_WORDS = SPEC_SITE_LAYOUT.footer.rules.writesWords;
31067
31098
  /** A Hebrew word may carry one prefix letter before its stem (ו ה ב ל מ ש כ). */
31068
- const HE_PREFIX = '[והבלמשכ]?';
31099
+ const HE_PREFIX$1 = '[והבלמשכ]?';
31069
31100
  const escape = (w) => w.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
31070
- const WRITES_RE = new RegExp(`(?:^|[^\\p{L}])${HE_PREFIX}(?:${WRITES_WORDS.map(escape).join('|')})`, 'iu');
31101
+ const WRITES_RE = new RegExp(`(?:^|[^\\p{L}])${HE_PREFIX$1}(?:${WRITES_WORDS.map(escape).join('|')})`, 'iu');
31071
31102
  /**
31072
31103
  * AW12-D6: whether the site has a reason to write — it sells (a shop's new pieces), its kind of business closes with a
31073
31104
  * sign-up (`typeSignUp`, harness FOOTER_SIGNUP: a hotel's seasons, a salon's offers), the owner ticked the newsletter popup,
@@ -31162,14 +31193,14 @@ function legalKindRow(kind) {
31162
31193
  throw new Error(`no legal kind "${kind}"`);
31163
31194
  return row;
31164
31195
  }
31165
- const pick = (words, lang) => (lang === 'he' ? words.he : words.en);
31196
+ const pick$1 = (words, lang) => (lang === 'he' ? words.he : words.en);
31166
31197
  /** A kind's page title in the site's language. */
31167
31198
  function legalTitle(kind, lang) {
31168
- return pick(legalKindRow(kind).title, lang);
31199
+ return pick$1(legalKindRow(kind).title, lang);
31169
31200
  }
31170
31201
  /** What belongs on the page, in the site's language — the placeholder it shows until the owner writes it. */
31171
31202
  function legalLabel(kind, lang) {
31172
- return pick(legalKindRow(kind).label, lang);
31203
+ return pick$1(legalKindRow(kind).label, lang);
31173
31204
  }
31174
31205
  /** True when a kind holds Publish while it is the placeholder (yes, or with the checkout's own). */
31175
31206
  function legalKindBlocks(kind) {
@@ -31236,7 +31267,7 @@ const LINE_KEY = /\{(terms|privacy)\}/g;
31236
31267
  * pieces read as one sentence when drawn inline.
31237
31268
  */
31238
31269
  function legalFormLine(lang, withTerms) {
31239
- const template = pick((withTerms ? L.formLine : L.formLinePrivacy), lang);
31270
+ const template = pick$1((withTerms ? L.formLine : L.formLinePrivacy), lang);
31240
31271
  const parts = [];
31241
31272
  let at = 0;
31242
31273
  for (const m of template.matchAll(LINE_KEY)) {
@@ -31757,7 +31788,9 @@ const MIN_PHONE_DISPLAY_PX = 36;
31757
31788
  /** What the frame keeps beside a display line (its inset and a little air), per side. */
31758
31789
  const LAPTOP_SIDE_PX = 32;
31759
31790
  const PHONE_SIDE_PX = 24;
31760
- const faceOf = (ctx) => elementStyleFace(ctx.design ?? resolveDesignChoices({}), 'display');
31791
+ /** The element style the opening's display line wears (`title`'s). */
31792
+ const EDGE_STYLE = 'display';
31793
+ const faceOf = (ctx) => elementStyleFace(ctx.design ?? resolveDesignChoices({}), EDGE_STYLE);
31761
31794
  const nameWords$1 = (name) => name.trim().split(/\s+/).filter(Boolean);
31762
31795
  /** How wide the name stands, in em of the display face: the whole line, and its longest word. */
31763
31796
  function nameEm(ctx) {
@@ -31768,6 +31801,27 @@ function nameEm(ctx) {
31768
31801
  longest: Math.max(0, ...words.map(w => textWidthEm(w, face))),
31769
31802
  };
31770
31803
  }
31804
+ /** How many lines the name wraps into at `size` px across `room` px — word by word on the display face's own widths, as a
31805
+ * browser breaks it (`text-wrap: balance` evens the lines, never adds one). */
31806
+ function wordWrapper(ctx) {
31807
+ const face = faceOf(ctx);
31808
+ const widths = nameWords$1(ctx.name).map(w => textWidthEm(w, face));
31809
+ const space = textWidthEm(' ', face);
31810
+ return (size, room) => {
31811
+ let lines = 1;
31812
+ let run = 0;
31813
+ for (const w of widths) {
31814
+ const next = run ? run + (space + w) * size : w * size;
31815
+ if (run && next > room) {
31816
+ lines++;
31817
+ run = w * size;
31818
+ }
31819
+ else
31820
+ run = next;
31821
+ }
31822
+ return lines;
31823
+ };
31824
+ }
31771
31825
  /** A display-size name fits: one line across a laptop at a size that reads, and every word across a phone (R-H6). */
31772
31826
  function nameFits(ctx, oneLine) {
31773
31827
  const { line, longest } = nameEm(ctx);
@@ -31806,15 +31860,18 @@ function openingDisplaySize(ctx, panel) {
31806
31860
  return null;
31807
31861
  const [tokenPhone, tokenLaptop] = [Number(token[1]), Number(token[2])];
31808
31862
  const pad = panel ? Number(PX.exec(rows.get('space-pad') ?? '')?.[1] ?? PANEL_PAD_PX) : 0;
31809
- /** The largest size that keeps the words within `lines` lines of `room`, their longest word on one, the lines within
31810
- * `screen` px — never above the cap. */
31863
+ const leading = Number(rows.get('leading-display')) > 0 ? Number(rows.get('leading-display')) : 1;
31864
+ const wrap = wordWrapper(ctx);
31865
+ /** The largest size that keeps the words within `lines` lines of `room` AS THEY WRAP (word by word, on the face's own
31866
+ * widths — pro-law: a filled-to-82% guess said three lines where its words broke into four and pushed the button
31867
+ * under the first screen), their longest word on one, the lines' height within `screen` px — never above the cap. */
31811
31868
  const fitted = (room, lines, screen) => {
31812
- let size = 0;
31813
- for (let n = 1; n <= lines; n++) {
31814
- const across = (room * n * (n === 1 ? FIT : R.fill)) / line;
31815
- size = Math.max(size, Math.min(R.capBody * body, across, (room * FIT) / longest, screen / n));
31869
+ for (let size = Math.floor(Math.min(R.capBody * body, (room * FIT) / longest)); size > 0; size--) {
31870
+ const n = wrap(size, room * FIT);
31871
+ if (n <= lines && n * size * leading <= screen)
31872
+ return size;
31816
31873
  }
31817
- return Math.floor(size);
31874
+ return 0;
31818
31875
  };
31819
31876
  const laptop = fitted(Math.min(R.roomPx, LAPTOP_PX - 2 * LAPTOP_SIDE_PX) - 2 * pad, R.lines, R.screenShare * LAPTOP_SCREEN_H);
31820
31877
  const phone = Math.min(laptop, fitted(PHONE_PX - 2 * PHONE_FRAME_PX - 2 * pad, R.phoneLines, R.phoneScreenShare * PHONE_SCREEN_H));
@@ -31911,6 +31968,9 @@ const OPENING_HEIGHT = '88svh';
31911
31968
  const TYPE_LED_HEIGHT = 'min(64svh, 600px)';
31912
31969
  const typeLedHeights = (mix) => mix.words === OpeningWords.Apart ? { laptop: OPENING_HEIGHT } : { laptop: TYPE_LED_HEIGHT, phone: '0px' };
31913
31970
  const INSET_LAPTOP = '24px';
31971
+ /** iox-ui#196: the cue stands at the end inset (`inset-inline-end: 4%`, iox-design.css) and keeps the same inset on its
31972
+ * start side — every word inside the screen, at 1440 and 390, in both directions. */
31973
+ const OPENING_CUE_MAX_WIDTH = '92%';
31914
31974
  const ABS_FILL = { position: 'absolute', top: '0px', left: '0px', width: '100%', height: '100%', zIndex: '0' };
31915
31975
  const MEDIA_FILL = { ...ABS_FILL, aspectRatio: 'auto', borderRadius: '0px', objectFit: 'cover' };
31916
31976
  const OVER = (z) => ({ position: 'relative', zIndex: String(z) });
@@ -31935,13 +31995,32 @@ const insetClip = (inset) => `inset(${inset} round var(--iox-card-radius))`;
31935
31995
  const phoneFramePad = (mix) => (mix.frame === OpeningFrame.Inset || mix.frame === OpeningFrame.Shrinks ? `calc(${openingPhoneInset()} + 20px)` : FRAME_PAD);
31936
31996
  /** A display size that keeps `em` of text within the width (`side` kept per side — px, or a CSS length), never above `cap`. */
31937
31997
  const sizedPx = (em, side, cap) => `min(calc((100vw - ${typeof side === 'number' ? `${2 * side}px` : `2 * ${side}`}) * ${FIT} / ${Math.max(em, 1).toFixed(3)}), ${cap})`;
31998
+ /** The name on the edge is set tight on a laptop; a phone's line leaves room should a face still break it. */
31999
+ const EDGE_LINE_HEIGHT = 0.82;
32000
+ const EDGE_PHONE_LINE_HEIGHT = 0.9;
31938
32001
  /**
31939
32002
  * The name standing on the bottom edge (`words:on-edge`): ONE display line on a laptop AND on a phone (iox-ui#150) — a
31940
32003
  * phone sizes it by the whole name across the room beside it (`phoneSide`), never by its longest word: sized by a word,
31941
- * a long name wrapped to four lines at 80 px, its lines touching, and pushed the page a screen down. A phone's line
31942
- * height leaves room should a face still break it.
31943
- */
31944
- const edgeTitle = (line, phoneSide) => title({ fontSize: sizedPx(line, LAPTOP_SIDE_PX, '50svh'), lineHeight: '0.82', margin: '0px', translateY: '0.16em' }, { resp: { mobile: { fontSize: sizedPx(line, phoneSide, '22vw'), lineHeight: '0.9' } } });
32004
+ * a long name wrapped to four lines at 80 px, its lines touching, and pushed the page a screen down.
32005
+ * iox-ui#206: the frame crops the name at its BASELINE — the line drops by the display face's own amount at each line
32006
+ * height (design-core `baselineDropEm`), so its descenders go under the edge and its letters stand whole on it. A fixed
32007
+ * 0.16em put Fraunces' baseline 0.11em under the edge: the store's capitals were cut through.
32008
+ * iox-ui#215: the drop is CSS that reads the display family's derived metric tokens (design-core `elementStyleDropCss`),
32009
+ * so a font changed in Design moves the line with it, in the builder and on the live site; it falls back to the face
32010
+ * composed with.
32011
+ */
32012
+ function edgeTitle(line, phoneSide, ctx) {
32013
+ const design = ctx.design ?? resolveDesignChoices({});
32014
+ return title({
32015
+ fontSize: sizedPx(line, LAPTOP_SIDE_PX, '50svh'), lineHeight: String(EDGE_LINE_HEIGHT), margin: '0px',
32016
+ translateY: elementStyleDropCss(design, EDGE_STYLE, EDGE_LINE_HEIGHT),
32017
+ }, {
32018
+ resp: { mobile: {
32019
+ fontSize: sizedPx(line, phoneSide, '22vw'), lineHeight: String(EDGE_PHONE_LINE_HEIGHT),
32020
+ translateY: elementStyleDropCss(design, EDGE_STYLE, EDGE_PHONE_LINE_HEIGHT),
32021
+ } },
32022
+ });
32023
+ }
31945
32024
  function frameNode(mix, children) {
31946
32025
  const inset = mix.frame === OpeningFrame.Inset || mix.frame === OpeningFrame.Shrinks;
31947
32026
  const height = mix.media === OpeningMedia.None ? typeLedHeights(mix) : { laptop: OPENING_HEIGHT };
@@ -32079,7 +32158,7 @@ function typeLedWordsNodes(mix, ctx) {
32079
32158
  lay: { position: 'absolute', left: '0px', bottom: '0px', width: '100%', zIndex: '1', padding: `0px ${LAPTOP_SIDE_PX}px`, overflow: 'visible' },
32080
32159
  resp: { mobile: { position: 'relative', left: 'auto', bottom: 'auto', padding: '0px', margin: `auto 0px calc(-1 * ${phoneFramePad(mix)}) 0px` } },
32081
32160
  // The words sit inside the frame's own padding on a phone: the line is sized across what it leaves.
32082
- c: [edgeTitle(line, `max(${phoneFramePad(mix)}, ${LAYOUT_INSET})`)],
32161
+ c: [edgeTitle(line, `max(${phoneFramePad(mix)}, ${LAYOUT_INSET})`, ctx)],
32083
32162
  }];
32084
32163
  case OpeningWords.Wordmark:
32085
32164
  case OpeningWords.Behind:
@@ -32119,7 +32198,7 @@ function wordsNodes(mix, ctx) {
32119
32198
  t: 'Container', es: 'box', role: OpeningRole.Words,
32120
32199
  lay: { position: 'absolute', left: '0px', bottom: '0px', width: '100%', zIndex: '1', padding: `0px ${LAPTOP_SIDE_PX}px`, overflow: 'visible' },
32121
32200
  resp: { mobile: { padding: `0px ${PHONE_SIDE_PX}px` } },
32122
- c: [edgeTitle(line, PHONE_SIDE_PX)],
32201
+ c: [edgeTitle(line, PHONE_SIDE_PX, ctx)],
32123
32202
  }];
32124
32203
  case OpeningWords.Wordmark:
32125
32204
  case OpeningWords.Behind:
@@ -32190,7 +32269,9 @@ function extrasNodes(mix) {
32190
32269
  });
32191
32270
  }
32192
32271
  if (mix.extras.includes(OpeningExtra.Cue)) {
32193
- out.push({ t: 'Text', es: 'eyebrow', role: OpeningRole.Cue, text: 'Scroll', textHe: 'גללו', lay: { position: 'absolute', bottom: '20px', zIndex: '2', margin: '0px' } });
32272
+ // iox-ui#196: as wide as its words (a Text is 100% by default — at the end inset it started 4% off the screen), and
32273
+ // never wider than the room between the two insets (the shared CSS holds that for a cue saved before).
32274
+ out.push({ t: 'Text', es: 'eyebrow', role: OpeningRole.Cue, text: 'Scroll', textHe: 'גללו', lay: { position: 'absolute', bottom: '20px', zIndex: '2', margin: '0px', width: 'auto', maxWidth: OPENING_CUE_MAX_WIDTH } });
32194
32275
  }
32195
32276
  return out;
32196
32277
  }
@@ -33278,8 +33359,8 @@ const LINK$1 = 'Link';
33278
33359
  const LINKED = 'LinkedContainer';
33279
33360
  const BUTTON = 'ButtonBlock';
33280
33361
  const ICON$1 = 'Icon';
33281
- const TEXT$1 = 'Text';
33282
- const HEADING$1 = 'Heading';
33362
+ const TEXT$2 = 'Text';
33363
+ const HEADING$2 = 'Heading';
33283
33364
  const IMAGE$1 = 'Image';
33284
33365
  const NAV_STYLE = 'nav';
33285
33366
  const DISPLAY = 'display';
@@ -33375,6 +33456,59 @@ const MORE_ICON = 'ph-thin ph-dots-three';
33375
33456
  function barIconForRoute(route) {
33376
33457
  return ROUTE_ICONS.find(([re]) => re.test(route))?.[1] ?? FALLBACK_ICON;
33377
33458
  }
33459
+ /** iox-ui#196: the narrowest phone a bar is drawn for, and its label's size (`tabbar-label-size`: the live bars measured
33460
+ * 11–11.7 px) — the bar's `6px 8px` padding, its 4 px gaps and an item's 2 px sides are the bar's own (`bar`,
33461
+ * `BAR_ITEM_LAY`). A label is measured in Poppins at 500, a wide sans of the looks, so a narrower face fits too. */
33462
+ const BAR_PHONE_PX = 360;
33463
+ const BAR_LABEL_PX = 12;
33464
+ const BAR_SIDES_PX = 16;
33465
+ const BAR_GAP_PX = 4;
33466
+ const BAR_ITEM_SIDES_PX = 4;
33467
+ const BAR_LABEL_FACE = { stack: 'Poppins', weight: 500, tracking: 0 };
33468
+ /** The short word a page is said by in a bar, by its address (its page name aside) — only where its name does not fit. */
33469
+ const BAR_SHORT_WORDS = [
33470
+ // first match wins — "workshops" holds both "work" and "shop"
33471
+ [/workshop|class|course/i, { en: 'Classes', he: 'סדנאות' }],
33472
+ [/menu/i, { en: 'Menu', he: 'תפריט' }],
33473
+ [/book|reserv/i, { en: 'Booking', he: 'הזמנה' }],
33474
+ [/contact/i, { en: 'Contact', he: 'צור קשר' }],
33475
+ [/visit|find|location|directions/i, { en: 'Visit', he: 'הגעה' }],
33476
+ [/about|story/i, { en: 'About', he: 'אודות' }],
33477
+ [/team/i, { en: 'Team', he: 'צוות' }],
33478
+ [/shop|store|product/i, { en: 'Shop', he: 'חנות' }],
33479
+ [/work|project|portfolio/i, { en: 'Work', he: 'עבודות' }],
33480
+ [/journal|blog|news/i, { en: 'Journal', he: 'בלוג' }],
33481
+ [/service|treatment/i, { en: 'Services', he: 'שירותים' }],
33482
+ [/room|stay/i, { en: 'Rooms', he: 'חדרים' }],
33483
+ [/galler/i, { en: 'Gallery', he: 'גלריה' }],
33484
+ [/faq|question/i, { en: 'FAQ', he: 'שאלות' }],
33485
+ [/pric/i, { en: 'Prices', he: 'מחירים' }],
33486
+ [/event/i, { en: 'Events', he: 'אירועים' }],
33487
+ ];
33488
+ /** True when `words` stand on one line inside one of `items` bar items on the narrowest phone (iox-ui#196). */
33489
+ function barLabelFits(words, items) {
33490
+ const n = Math.max(1, items);
33491
+ const room = (BAR_PHONE_PX - BAR_SIDES_PX - BAR_GAP_PX * (n - 1)) / n - BAR_ITEM_SIDES_PX;
33492
+ return textWidthEm(words, BAR_LABEL_FACE) * BAR_LABEL_PX <= room;
33493
+ }
33494
+ /**
33495
+ * What a bar item says (iox-ui#196): the page's name where it fits its item on the narrowest phone, else the short word
33496
+ * its address is said by in the site's language ("Request a booking" → Booking, "יצירת קשר והגעה" → צור קשר) unless
33497
+ * another item already says it; a page no short word names keeps its name (the shared CSS ends it with …). The item's
33498
+ * layer name stays the page's name. Pure.
33499
+ */
33500
+ function barLabels(pages, items, locale) {
33501
+ const lang = commerceLanguage(locale) === 'he' ? 'he' : 'en';
33502
+ const out = pages.map(p => p.label);
33503
+ pages.forEach((page, i) => {
33504
+ if (barLabelFits(page.label, items))
33505
+ return;
33506
+ const word = BAR_SHORT_WORDS.find(([re]) => re.test(page.route))?.[1][lang];
33507
+ if (word && barLabelFits(word, items) && !out.some(l => navWordKey(l, lang) === navWordKey(word, lang)))
33508
+ out[i] = word;
33509
+ });
33510
+ return out;
33511
+ }
33378
33512
  // ── reading ─────────────────────────────────────────────────────────────────────────────────
33379
33513
  const roleOf$1 = (n) => n?.role;
33380
33514
  function find(nodes, role) {
@@ -33420,7 +33554,7 @@ function textOf$2(n) {
33420
33554
  if (n.type === LINK$1)
33421
33555
  return String(prop(n, 'label') ?? '');
33422
33556
  let words = '';
33423
- walkSerialized(n.children ?? [], c => { if (!words && (c.type === TEXT$1 || c.type === HEADING$1))
33557
+ walkSerialized(n.children ?? [], c => { if (!words && (c.type === TEXT$2 || c.type === HEADING$2))
33424
33558
  words = String(prop(c, 'content') ?? ''); });
33425
33559
  return words;
33426
33560
  }
@@ -33564,7 +33698,7 @@ function iconNode(kit, suffix, iconClass) {
33564
33698
  return part$2(kit, suffix, ICON$1, { iconClass }, null);
33565
33699
  }
33566
33700
  function labelText(kit, suffix, words) {
33567
- return part$2(kit, suffix, TEXT$1, { content: words, tag: 'span' }, 'button-label');
33701
+ return part$2(kit, suffix, TEXT$2, { content: words, tag: 'span' }, 'button-label');
33568
33702
  }
33569
33703
  /** The menu button and the drawer's Close are ONE size — and the shared CSS pads the drawer like the header
33570
33704
  * (`.iox-role-nav-drawer` re-declares dialog-pad as nav-pad) — so the Close lands where the menu button is and
@@ -33591,7 +33725,7 @@ function drawer(kit, root, pages, at, words, shows = MenuShows.Links, collection
33591
33725
  const close = part$2(kit, 'drawer-close', BUTTON, { tag: 'button', ariaLabel: words.closeMenu }, 'button-ghost', NavRole.DrawerClose, { ...MENU_BUTTON_LAY });
33592
33726
  close.children = [iconNode(kit, 'drawer-close-icon', CLOSE_ICON)];
33593
33727
  close.interactions = [clickTo(kit, 'drawer-close', NavDialogAction.Close, dr.id)];
33594
- head.children = [part$2(kit, 'drawer-brand', HEADING$1, { content: brandWords, level: 'h3' }, 'h3'), close];
33728
+ head.children = [part$2(kit, 'drawer-brand', HEADING$2, { content: brandWords, level: 'h3' }, 'h3'), close];
33595
33729
  dr.children = [head, ...menuShelf(kit, root, pages, shows, collections, words)];
33596
33730
  const cta = find([root], NavRole.Cta);
33597
33731
  if (cta) {
@@ -33602,7 +33736,7 @@ function drawer(kit, root, pages, at, words, shows = MenuShows.Links, collection
33602
33736
  copy.styleProps = { ...copy.styleProps, alignSelf: 'stretch' };
33603
33737
  // Board 1: the full-width drawer button centres its words — a label filling its line would sit at the start.
33604
33738
  for (const label of copy.children ?? [])
33605
- if (label.type === TEXT$1)
33739
+ if (label.type === TEXT$2)
33606
33740
  label.styleProps = { ...label.styleProps, width: 'auto' };
33607
33741
  dr.children.push(copy);
33608
33742
  }
@@ -33645,7 +33779,7 @@ function shelfCard(kit, suffix, page, labelled, aspectRatio, lay) {
33645
33779
  const picture = part$2(kit, `${suffix}-picture`, IMAGE$1, { src: '', alt: '' }, 'media', NavRole.DrawerPicture, { aspectRatio, height: 'auto' });
33646
33780
  card.children = [picture];
33647
33781
  if (labelled)
33648
- card.children.push(part$2(kit, `${suffix}-label`, TEXT$1, { content: page.label, tag: 'span' }, 'eyebrow', null));
33782
+ card.children.push(part$2(kit, `${suffix}-label`, TEXT$2, { content: page.label, tag: 'span' }, 'eyebrow', null));
33649
33783
  return card;
33650
33784
  }
33651
33785
  /**
@@ -33684,7 +33818,7 @@ function menuShelf(kit, root, pages, shows, collections, words) {
33684
33818
  if (rest.length) {
33685
33819
  const column = part$2(kit, 'drawer-more-links', CONTAINER$1, {}, 'box', NavRole.DrawerMoreLinks, { display: 'flex', flexDirection: 'column', gap: '2px', flexGrow: '1', flexShrink: '1', flexBasis: '140px', minWidth: '0px' });
33686
33820
  column.children = [
33687
- part$2(kit, 'drawer-more-caption', TEXT$1, { content: words.more, tag: 'span' }, 'eyebrow', null),
33821
+ part$2(kit, 'drawer-more-caption', TEXT$2, { content: words.more, tag: 'span' }, 'eyebrow', null),
33688
33822
  ...rest.map((p, i) => plain(p, count + i, { display: 'flex', alignItems: 'center', minHeight: '32px', width: 'auto' })),
33689
33823
  ];
33690
33824
  more.children.push(column);
@@ -33750,10 +33884,10 @@ function dressMenu(kit, dr, menu, look, words) {
33750
33884
  if (close)
33751
33885
  dressButton(kit, close, 'drawer-close', look.button, true, words);
33752
33886
  }
33753
- function barItem(kit, i, page) {
33887
+ function barItem(kit, i, page, says) {
33754
33888
  const item = part$2(kit, `bar-item-${i}`, LINKED, { linkType: LinkType.Page, pageRoute: page.route, target: '_self' }, 'bottom-bar-item', NavRole.BarItem, BAR_ITEM_LAY);
33755
33889
  item.label = page.label;
33756
- item.children = [iconNode(kit, `bar-item-${i}-icon`, barIconForRoute(page.route)), labelText(kit, `bar-item-${i}-label`, page.label)];
33890
+ item.children = [iconNode(kit, `bar-item-${i}-icon`, barIconForRoute(page.route)), labelText(kit, `bar-item-${i}-label`, says)];
33757
33891
  return item;
33758
33892
  }
33759
33893
  const BAR_ITEM_LAY = {
@@ -33777,13 +33911,15 @@ function withHome(root, pages, words) {
33777
33911
  function barPages(root, pages, count, words) {
33778
33912
  return withHome(root, pages, words).slice(0, count);
33779
33913
  }
33780
- function bar(kit, root, pages, shape, count, drawerId, at, words) {
33914
+ function bar$1(kit, root, pages, shape, count, drawerId, at, words, locale) {
33781
33915
  // The node IS fixed (not only its element style): the builder canvas forces a node's own `position`
33782
33916
  // with !important, so a stored `static` default would pin the bar into the flow there.
33783
33917
  const b = part$2(kit, 'bar', CONTAINER$1, { htmlTag: 'nav' }, 'bottom-bar', NavRole.Bar, { position: 'fixed', justifyContent: 'space-around', alignItems: 'stretch', gap: '4px', padding: '6px 8px', width: 'auto' });
33784
33918
  phoneOnly(b, at, 'flex');
33785
33919
  const itemCount = shape === NavShape.Both ? count - 1 : count;
33786
- b.children = barPages(root, pages, itemCount, words).map((p, i) => barItem(kit, i, p));
33920
+ const shown = barPages(root, pages, itemCount, words);
33921
+ const says = barLabels(shown, shown.length + (shape === NavShape.Both && drawerId ? 1 : 0), locale);
33922
+ b.children = shown.map((p, i) => barItem(kit, i, p, says[i]));
33787
33923
  if (shape === NavShape.Both && drawerId)
33788
33924
  b.children.push(moreItem(kit, drawerId, words));
33789
33925
  b.isGlobal = true;
@@ -33988,7 +34124,7 @@ function planNavShape(globals, shape, options = {}, navId) {
33988
34124
  if (wantBar) {
33989
34125
  const count = clampBarCount(options.barItems, shape);
33990
34126
  if (!b)
33991
- b = bar(kit, root, pages, shape, count, dr?.id ?? null, at, words);
34127
+ b = bar$1(kit, root, pages, shape, count, dr?.id ?? null, at, words, options.locale);
33992
34128
  else {
33993
34129
  moveDisplayOverride(b, at);
33994
34130
  more = (b.children ?? []).find(c => c.role === NavRole.More) ?? null;
@@ -33999,8 +34135,10 @@ function planNavShape(globals, shape, options = {}, navId) {
33999
34135
  const extra = barPages(root, pages, BAR_ITEMS_MAX, words).filter(p => !items.some(c => prop(c, 'pageRoute') === p.route));
34000
34136
  while (items.length > want)
34001
34137
  items.pop();
34002
- while (items.length < want && extra.length)
34003
- items.push(barItem(kit, items.length, extra.shift()));
34138
+ while (items.length < want && extra.length) {
34139
+ const page = extra.shift();
34140
+ items.push(barItem(kit, items.length, page, barLabels([page], want + (shape === NavShape.Both ? 1 : 0), options.locale)[0]));
34141
+ }
34004
34142
  }
34005
34143
  if (shape === NavShape.Both && dr)
34006
34144
  b.children.push(retarget(more ?? moreItem(kit, dr.id, words), dr.id));
@@ -34066,7 +34204,7 @@ function addBarItem(globals, options = {}) {
34066
34204
  const words = menuWords(options.locale, sitePages.map(p => p.label));
34067
34205
  const page = barPages(root, sitePages, BAR_ITEMS_MAX + 1, words).find(p => !linked.has(p.route))
34068
34206
  ?? { label: words.home, route: HOME_ROUTE$1 };
34069
- const item = barItem(makeKit(out, root.id, options.newId), kids.length, page);
34207
+ const item = barItem(makeKit(out, root.id, options.newId), kids.length, page, barLabels([page], kids.length + 1, options.locale)[0]);
34070
34208
  const more = kids.findIndex(c => c.role === NavRole.More);
34071
34209
  if (more >= 0)
34072
34210
  kids.splice(more, 0, item);
@@ -34408,6 +34546,8 @@ const ZERO$1 = '0px';
34408
34546
  const RULE_PX = '1px';
34409
34547
  const PHONE_GROUND_BRIGHTNESS = '0.75';
34410
34548
  const GALLERY_BAR_TOP = '12px';
34549
+ /** How a list the section's rows are sized by stands in them (iox-ui#207). */
34550
+ const CONTENT_SIZED_ALIGN = 'start';
34411
34551
  const STRETCH_KINDS = new Set([LayoutLayerKind.Photo, LayoutLayerKind.Shape, LayoutLayerKind.Gallery, LayoutLayerKind.Form]);
34412
34552
  const STACKED_EFFECTS = new Set(['fade', 'cube', 'flip', 'cards']);
34413
34553
  const SHADOW_UNDER_LIGHT = '0 1px 2px rgba(0,0,0,.55), 0 6px 34px rgba(0,0,0,.6)';
@@ -34536,18 +34676,140 @@ function isLight(colour, mode) {
34536
34676
  const ground = name === LayoutColour.Ground || name === LayoutColour.Soft;
34537
34677
  return mode === LayoutColourMode.Light ? ground : !ground;
34538
34678
  }
34539
- const gridTemplate = (count) => `repeat(${count}, minmax(0, 1fr))`;
34679
+ /** The plan's equal row. */
34680
+ const EQUAL_ROW = 'minmax(0, 1fr)';
34681
+ const gridTemplate = (count) => `repeat(${count}, ${EQUAL_ROW})`;
34540
34682
  /** The grid a section's layers are placed on: 12 columns per screen between an outer track a side (the page's column,
34541
- * award §0c CW2 — `layoutGridColumns`), its rows. No inline padding: a bleed spans into an outer track. */
34683
+ * award §0c CW2 — `layoutGridColumns`), its rows (`sectionRows`, or the plan's equal rows). No inline padding: a bleed
34684
+ * spans into an outer track. */
34542
34685
  function gridLayout(rows, track) {
34543
34686
  return {
34544
34687
  display: 'grid',
34545
34688
  gridTemplateColumns: layoutGridColumns(track),
34546
- gridTemplateRows: gridTemplate(rows),
34689
+ gridTemplateRows: typeof rows === 'number' ? gridTemplate(rows) : rows,
34547
34690
  gap: `${ZERO$1} ${LAYOUT_COLUMN_GAP}`,
34548
34691
  padding: ZERO$1,
34549
34692
  };
34550
34693
  }
34694
+ /** The rows [first, end) the section's content-sized lists stand in, or null when it holds none. */
34695
+ function contentSizedBand(layers) {
34696
+ if (!layers.length)
34697
+ return null;
34698
+ return [Math.min(...layers.map(l => l.row[0])), Math.max(...layers.map(l => l.row[1]))];
34699
+ }
34700
+ /**
34701
+ * iox-ui#207: a laid section that holds a list grid is sized by its content. A list's height is its DATA's (how many
34702
+ * items, at the card's aspect), never the plan's: the café's four dishes ended 1105 px above the bottom of a two-screen
34703
+ * section, two empty screens at rest. So the rows the lists stand in are `auto` (as tall as the list), every other row
34704
+ * keeps its planned share of the plan's screens, and the section is as tall as its rows (`height: auto`, min-height 0):
34705
+ * a list of three is short, a list of twelve grows the section instead of being clipped. Null: the plan's equal rows.
34706
+ */
34707
+ function sectionRows(rows, screens, band) {
34708
+ if (!band)
34709
+ return null;
34710
+ const planned = plannedRow(screens, rows);
34711
+ return joinTracks(Array.from({ length: rows }, (_, i) => (i + 1 >= band[0] && i + 1 < band[1] ? AUTO_ROW : planned)));
34712
+ }
34713
+ /**
34714
+ * iox-ui#220: an inhale — the page's one breath, a word in the quiet — is laid with its words in the MIDDLE of its screens.
34715
+ * The model places a breath's line where it likes (every stored Pro plan put it in row 2 of 4), and laid on the plan's
34716
+ * equal rows that left 0.6 of a screen of flat ground under it: the café's "We save you a seat." (iox-ui#207 blank 2),
34717
+ * which the render judge (`RENDER_CHECK.emptyBelow`) now rightly refuses — so every Pro Home with an inhale fell back to
34718
+ * sections. The rows its layers stand in keep their planned share of the screens, the empty rows above and below take
34719
+ * no height, and the section centres what is left (`alignContent: center`): the quiet is shared above and below the word,
34720
+ * never a screen of it at rest. Null when the layers cover every row (the plan's equal rows already) or there are none.
34721
+ */
34722
+ function inhaleRows(rows, screens, band) {
34723
+ if (!band || (band[0] <= 1 && band[1] > rows))
34724
+ return null;
34725
+ const planned = plannedRow(screens, rows);
34726
+ return joinTracks(Array.from({ length: rows }, (_, i) => (i + 1 >= band[0] && i + 1 < band[1] ? planned : EMPTY_ROW)));
34727
+ }
34728
+ /** An inhale's empty row (`inhaleRows`), and how its rows stand in its screens. */
34729
+ const EMPTY_ROW = '0px';
34730
+ const INHALE_ALIGN = 'center';
34731
+ const AUTO_ROW = 'auto';
34732
+ /** A row's planned share of the section's screens. */
34733
+ const plannedRow = (screens, rows) => `calc(${screens * 100}svh / ${rows})`;
34734
+ /** Tracks as a `grid-template-rows` value, a run of equal tracks as one `repeat()`. */
34735
+ function joinTracks(tracks) {
34736
+ const runs = [];
34737
+ for (const track of tracks) {
34738
+ const last = runs[runs.length - 1];
34739
+ if (last?.track === track)
34740
+ last.n++;
34741
+ else
34742
+ runs.push({ track, n: 1 });
34743
+ }
34744
+ return runs.map(({ track, n }) => (n === 1 ? track : `repeat(${n}, ${track})`)).join(' ');
34745
+ }
34746
+ /** A `grid-template-rows` value as one track per row (`repeat(n, x)` expanded); null when it is not a list of tracks
34747
+ * this composer writes (`none`, a named area, a nested repeat). */
34748
+ function splitTracks(value) {
34749
+ const tokens = [];
34750
+ let depth = 0, buf = '';
34751
+ for (const ch of value.trim()) {
34752
+ if (ch === '(')
34753
+ depth++;
34754
+ if (ch === ')')
34755
+ depth--;
34756
+ if (/\s/.test(ch) && depth === 0) {
34757
+ if (buf)
34758
+ tokens.push(buf);
34759
+ buf = '';
34760
+ continue;
34761
+ }
34762
+ buf += ch;
34763
+ }
34764
+ if (buf)
34765
+ tokens.push(buf);
34766
+ const out = [];
34767
+ for (const t of tokens) {
34768
+ const rep = /^repeat\(\s*(\d+)\s*,\s*(.+)\)$/.exec(t);
34769
+ if (rep) {
34770
+ if (rep[2].includes('repeat('))
34771
+ return null;
34772
+ for (let i = 0; i < Number(rep[1]); i++)
34773
+ out.push(rep[2].trim());
34774
+ }
34775
+ else if (t === 'none' || t.startsWith('['))
34776
+ return null;
34777
+ else
34778
+ out.push(t);
34779
+ }
34780
+ return out.length ? out : null;
34781
+ }
34782
+ const GRID_ROW = /^\s*(\d+)\s*\/\s*(\d+)\s*$/;
34783
+ const SCREENS_HEIGHT = /^(\d+(?:\.\d+)?)svh$/;
34784
+ /**
34785
+ * iox-ui#216: the section a recomposed list frame stands in, sized for it — the half of `composeListFrame` that is not the
34786
+ * frame. A list re-mixed from a row slider to a grid (a Repeater, as tall as its data) needs the rows it stands in `auto`
34787
+ * and the section `height: auto`, exactly as `composeLayout` lays a section composed with that grid (`sectionRows`); every
34788
+ * other row keeps its planned share of the section's screens (an equal `1fr` row becomes `calc(<screens>svh / rows)`).
34789
+ * `section` is the laid section (its grid is itself or its transition body); `frameId` the frame's id. A frame that is
34790
+ * not content-sized, not in a grid cell, or a grid this composer did not write → the section unchanged. Pure.
34791
+ */
34792
+ function listSectionRows(section, frameId, contentSized) {
34793
+ if (!contentSized)
34794
+ return section;
34795
+ const out = structuredClone(section);
34796
+ const grid = [out, ...(out.children ?? [])].find(n => (n.children ?? []).some(c => c.id === frameId));
34797
+ const frame = grid?.children?.find(c => c.id === frameId);
34798
+ const cell = GRID_ROW.exec(String(frame?.styleProps?.['gridRow'] ?? ''));
34799
+ const tracks = splitTracks(String(grid?.styleProps?.['gridTemplateRows'] ?? ''));
34800
+ if (!grid || !frame || !cell || !tracks)
34801
+ return section;
34802
+ const screens = SCREENS_HEIGHT.exec(String(out.styleProps?.['height'] ?? ''));
34803
+ const share = screens ? plannedRow(Number(screens[1]) / 100, tracks.length) : null;
34804
+ const [from, to] = [Number(cell[1]), Number(cell[2])];
34805
+ const sized = tracks.map((t, i) => (i + 1 >= from && i + 1 < to ? AUTO_ROW : t === EQUAL_ROW && share ? share : t));
34806
+ if (sized.some(t => t === EQUAL_ROW))
34807
+ return section; // a 1fr row of a section with no screens to share: leave it
34808
+ setStyleProps(grid, { gridTemplateRows: joinTracks(sized) });
34809
+ setStyleProps(out, { height: 'auto' });
34810
+ setStyleProps(frame, { alignSelf: CONTENT_SIZED_ALIGN });
34811
+ return out;
34812
+ }
34551
34813
  /** The same grid on a phone: one column, in the section's `phone` order, with the M1.3 padding. */
34552
34814
  function phoneStack(first) {
34553
34815
  return {
@@ -34748,11 +35010,13 @@ function restingTracks(tracks) {
34748
35010
  }
34749
35011
  /** The node that sits on the grid: its cell, its stacking, its bleed and its tilt — and on a phone, its place in the stack. */
34750
35012
  function place(node, l, lc, ctx) {
34751
- const stretch = STRETCH_KINDS.has(l.kind);
35013
+ // iox-ui#207: a list as tall as its data stands at the top of its rows and takes no height from them — what a
35014
+ // recompose reads as "in flow" (`listFrameInFlow`), so a grid re-mixed to a row keeps its height in the auto rows.
35015
+ const stretch = STRETCH_KINDS.has(l.kind) && !lc.contentSized;
34752
35016
  const values = {
34753
35017
  gridColumn: gridColumnOf(l),
34754
35018
  gridRow: `${l.row[0]} / ${l.row[1]}`,
34755
- alignSelf: stretch ? 'stretch' : 'center',
35019
+ alignSelf: lc.contentSized ? CONTENT_SIZED_ALIGN : stretch ? 'stretch' : 'center',
34756
35020
  zIndex: String(1 + (l.z ?? 0)),
34757
35021
  position: 'relative',
34758
35022
  minWidth: ZERO$1,
@@ -35188,6 +35452,11 @@ function composeList(id, l, mix, source, list, lc, ctx) {
35188
35452
  }
35189
35453
  const masonry = arrange === LayoutListArrange.Masonry || arrange === LayoutListArrange.Hang;
35190
35454
  const item = listItem(`${id}-item`, mix, source, list, masonry, lc.path, ctx, strips);
35455
+ // iox-ui#207: a list laid as a Repeater (strips, a grid, a wall, a round-two arrangement) is as tall as its rows of
35456
+ // DATA — the section sizes the rows it stands in by it. A slider or a deck fills the cell it is given.
35457
+ const slides = arrange === LayoutListArrange.Row || deck || (arrange === LayoutListArrange.Fan && mix.move.includes(LayoutListMove.Drag));
35458
+ if (!slides)
35459
+ lc.contentSized = true;
35191
35460
  if (strips)
35192
35461
  return composeStrips(id, frame, item, mix, source, ctx, listItemRadius(mix));
35193
35462
  // AW11-D16: drifting picture rows — the Marquee holding the list's pictures, twice.
@@ -35206,7 +35475,7 @@ function composeList(id, l, mix, source, list, lc, ctx) {
35206
35475
  // LI4: the one that stands out — a deck's top card IS its standing out; strips draw their own (wider).
35207
35476
  const shown = standout && !standWait && !deck ? standWrap(`${id}-stand`, item, standout) : item;
35208
35477
  const fanDragged = arrange === LayoutListArrange.Fan && mix.move.includes(LayoutListMove.Drag);
35209
- if (arrange === LayoutListArrange.Row || deck || fanDragged) {
35478
+ if (slides) {
35210
35479
  const scrollPlays = mix.move.includes(LayoutListMove.Page) && !lc.held;
35211
35480
  const played = scrollPlays || lc.held;
35212
35481
  const drag = mix.move.includes(LayoutListMove.Drag);
@@ -35225,6 +35494,9 @@ function composeList(id, l, mix, source, list, lc, ctx) {
35225
35494
  setStyleProps(slider, scrollPlays ? { width: FULL, height: FULL, minHeight: ZERO$1 } : deck ? {
35226
35495
  // A deck fills its holder (below); the cards behind show past its edges.
35227
35496
  width: FULL, height: FULL, minHeight: ZERO$1, display: 'flex', flexDirection: 'column', overflow: 'visible',
35497
+ } : lc.flow ? {
35498
+ // iox-ui#197: in flow there is no cell to fill — `inset: 0` in a frame of no height drew the row 0 px tall.
35499
+ position: 'relative', width: FULL, height: 'auto', minHeight: ZERO$1, display: 'flex', flexDirection: 'column',
35228
35500
  } : {
35229
35501
  position: 'absolute', top: ZERO$1, right: ZERO$1, bottom: ZERO$1, left: ZERO$1, width: FULL, height: FULL, minHeight: ZERO$1,
35230
35502
  display: 'flex', flexDirection: 'column',
@@ -35252,7 +35524,7 @@ function composeList(id, l, mix, source, list, lc, ctx) {
35252
35524
  if (node.role === SliderRole.Prev || node.role === SliderRole.Next)
35253
35525
  node.props[LAYOUT_TOOLTIP_TRAIT] = node.props['ariaLabel'];
35254
35526
  });
35255
- frame.children = [oneWide ? deckHolder(`${id}-deck`, slider) : slider];
35527
+ frame.children = [oneWide ? deckHolder(`${id}-deck`, slider, !!lc.flow) : slider];
35256
35528
  return frame;
35257
35529
  }
35258
35530
  // AW11: a round-two arrangement is a Repeater whose role the shared CSS draws from each row's index (D1).
@@ -35300,14 +35572,33 @@ const LIST_FRAME_PROPS = [LIST_MIX_PROP, 'colorScheme'];
35300
35572
  * arrangement, role, room and classes. Pure.
35301
35573
  */
35302
35574
  function composeListFrame(input, previous) {
35575
+ if (input.flow === undefined && previous)
35576
+ input = { ...input, flow: listFrameInFlow(previous) };
35303
35577
  const composed = composeListOnly(input, previous?.id ?? input.id ?? 'list');
35304
35578
  if (!previous)
35305
- return { frame: composed.frame, gaps: composed.gaps, edits: [] };
35579
+ return { frame: composed.frame, gaps: composed.gaps, edits: [], contentSized: composed.contentSized };
35306
35580
  // What the composer draws for the mix the frame wears now: anything else on the page is the owner's (#122).
35307
35581
  const was = input.was ?? listMixOfFrame(previous, input.list);
35308
35582
  const baseline = was ? composeListOnly({ ...input, mix: was }, previous.id).frame : null;
35309
35583
  const kept = keepListParts(previous, baseline, composed.frame);
35310
- return { frame: keepPlace(previous, { ...composed.frame, children: kept.children }), gaps: composed.gaps, edits: kept.edits };
35584
+ return { frame: keepPlace(previous, { ...composed.frame, children: kept.children }), gaps: composed.gaps, edits: kept.edits, contentSized: composed.contentSized };
35585
+ }
35586
+ /**
35587
+ * iox-ui#216: recompose the list frame `frameId` INSIDE its laid section — the frame (`composeListFrame`) and the section's
35588
+ * rows for it (`listSectionRows`), the one call a re-mix applies, so a row slider re-mixed to a grid gets the rows a
35589
+ * section composed with that grid has. `list` is null (and the section unchanged) when the section holds no such frame.
35590
+ */
35591
+ function composeListInSection(section, frameId, input) {
35592
+ let previous = null;
35593
+ walkSerialized([section], n => { if (!previous && n.id === frameId)
35594
+ previous = n; });
35595
+ if (!previous)
35596
+ return { section, list: null };
35597
+ const list = composeListFrame(input, previous);
35598
+ const replaced = structuredClone(section);
35599
+ walkSerialized([replaced], n => { if (n.children)
35600
+ n.children = n.children.map(c => (c.id === frameId ? list.frame : c)); });
35601
+ return { section: listSectionRows(replaced, frameId, list.contentSized), list };
35311
35602
  }
35312
35603
  /** `composeList` for one frame under an id. */
35313
35604
  function composeListOnly(input, id) {
@@ -35323,8 +35614,9 @@ function composeListOnly(input, id) {
35323
35614
  const col = input.col ?? [1, 13];
35324
35615
  const layer = { kind: LayoutLayerKind.Gallery, col: [col[0], col[1]], row: [1, 2], text: input.label, gallery: { slides: [], source: input.source, list: input.mix } };
35325
35616
  const path = input.path ?? 'list';
35326
- const lc = { section: { ground: input.ground }, si: 0, li: 0, path, held: !!input.held, track: 1, order: 0, phoneGap: 0, phoneAlign: 'start' };
35327
- return { frame: composeList(id, layer, input.mix, input.source, input.list, lc, ctx), gaps: ctx.gaps };
35617
+ const lc = { section: { ground: input.ground }, si: 0, li: 0, path, held: !!input.held, track: 1, order: 0, phoneGap: 0, phoneAlign: 'start', flow: !!input.flow };
35618
+ const frame = composeList(id, layer, input.mix, input.source, input.list, lc, ctx);
35619
+ return { frame, gaps: ctx.gaps, contentSized: !!lc.contentSized };
35328
35620
  }
35329
35621
  /** The props a part's field is bound to when the card SHOWS it (an image's alt and an item's page link only follow). */
35330
35622
  const LIST_PART_PROPS = new Set(['content', 'src']);
@@ -35368,6 +35660,13 @@ function keepPlace(previous, composed) {
35368
35660
  frame.children = composed.children;
35369
35661
  return frame;
35370
35662
  }
35663
+ /** A list frame on the page stands in flow when no layout placed it in a grid cell (`place` writes its `gridRow`): a free
35664
+ * section's slot (iox-ui#197) — or when its cell gives it no height: a list the section's rows are sized by stands at
35665
+ * their top (iox-ui#207, `place`). A Container's own `gridRow` is `auto`. */
35666
+ function listFrameInFlow(frame) {
35667
+ const row = frame.styleProps?.['gridRow'];
35668
+ return !row || row === 'auto' || frame.styleProps?.['alignSelf'] === CONTENT_SIZED_ALIGN;
35669
+ }
35371
35670
  /** The page that shows one item, as a composed list frame links to it (`linkToDetail`) — so a recompose keeps the link.
35372
35671
  * Undefined when its items link nowhere (or to an address of their own). */
35373
35672
  function listDetailOf(frame) {
@@ -35393,9 +35692,13 @@ function listItemRadius(mix) {
35393
35692
  * scoped `.swiper { width: 100% }` out-ranks a node's width class. On a phone the holder is the cell's width and the
35394
35693
  * shared `.swiper.swiper-cards` rule (iox-design.css) makes the deck a centred card with its neighbours peeking.
35395
35694
  */
35396
- function deckHolder(id, slider) {
35695
+ function deckHolder(id, slider, flow) {
35397
35696
  const holder = create$1(id, T$1.Container, {}, NO_ELEMENT_STYLE);
35398
- setStyleProps(holder, {
35697
+ // In flow (a free section's slot, iox-ui#197) the deck stands as tall as its cards; in a cell it fills the cell.
35698
+ setStyleProps(holder, flow ? {
35699
+ position: 'relative', width: LIST_DECK_WIDTH, maxWidth: FULL, height: 'auto', minHeight: ZERO$1, margin: '0px auto',
35700
+ display: 'flex', flexDirection: 'column',
35701
+ } : {
35399
35702
  position: 'absolute', top: ZERO$1, right: ZERO$1, bottom: ZERO$1, left: ZERO$1, width: LIST_DECK_WIDTH, maxWidth: FULL, height: FULL,
35400
35703
  minHeight: ZERO$1, margin: '0px auto', display: 'flex', flexDirection: 'column',
35401
35704
  });
@@ -35692,8 +35995,10 @@ function composeLayer(l, lc, ctx) {
35692
35995
  if (l.kinetic && textual)
35693
35996
  tracks.push({ prop: 'words', keys: [[0, 0], [KINETIC_ALL_LIT, 100]] });
35694
35997
  if (tracks.length) {
35695
- outer.sceneTracks = tracks;
35696
- outer.scenePhoneTracks = restingTracks(tracks);
35998
+ // A step's in and out are one timeline (iox-ui#195): stamped as one track, as the editor and both renderers read it.
35999
+ const merged = mergeSceneTracks(tracks);
36000
+ outer.sceneTracks = merged;
36001
+ outer.scenePhoneTracks = restingTracks(merged);
35697
36002
  gap(ctx, LayoutGapCode.PhoneRest, lc.path, 'stands at rest on a phone');
35698
36003
  }
35699
36004
  }
@@ -35778,6 +36083,7 @@ function composeSection$1(s, si, prevGround, ctx) {
35778
36083
  const order = Array.isArray(s.phone) && s.phone.length ? s.phone : s.layers.map((_, i) => i);
35779
36084
  const textKinds = s.layers.filter(x => LAYOUT_TEXT_KINDS.has(x.kind) || x.kind === LayoutLayerKind.Button);
35780
36085
  const phoneAlign = textKinds.length && textKinds.every(x => x.align === 'center') ? 'center' : 'start';
36086
+ const contentSized = [];
35781
36087
  const layers = s.layers.map((l, li) => {
35782
36088
  const at = order.indexOf(li);
35783
36089
  const prevIdx = at > 0 ? order[at - 1] : -1;
@@ -35786,8 +36092,19 @@ function composeSection$1(s, si, prevGround, ctx) {
35786
36092
  section: s, si, li, path: `sections[${si}].layers[${li}]`, held, track: held ? track : 1,
35787
36093
  order: at < 0 ? s.layers.length + li : at, phoneGap: phoneGapBefore(visiblePrev, l), phoneAlign,
35788
36094
  };
35789
- return composeLayer(l, lc, ctx);
36095
+ const node = composeLayer(l, lc, ctx);
36096
+ if (lc.contentSized)
36097
+ contentSized.push(l);
36098
+ return node;
35790
36099
  });
36100
+ // iox-ui#207: a section holding a list grid is as tall as what it holds (a held stage is one screen — never).
36101
+ const rowsByContent = held ? null : sectionRows(s.rows, s.screens, contentSizedBand(contentSized));
36102
+ const sized = rowsByContent ? { height: 'auto' } : {};
36103
+ // iox-ui#220: an inhale's words stand in the middle of its screens (a held inhale is a stage — never).
36104
+ const breath = held || rowsByContent || s.kind !== LayoutSectionKind.Inhale ? null
36105
+ : inhaleRows(s.rows, s.screens, contentSizedBand(s.layers.filter(l => Array.isArray(l.row))));
36106
+ const rowsOf = rowsByContent ?? breath ?? s.rows;
36107
+ const centred = breath ? { alignContent: INHALE_ALIGN } : {};
35791
36108
  const root = create$1(id, T$1.Section, {}, NO_ELEMENT_STYLE);
35792
36109
  root.label = s.id;
35793
36110
  const paint = ground.startsWith('photo:') ? LAYOUT_COLOUR_TOKEN[LayoutColour.Ink] : groundPaint(ground);
@@ -35800,11 +36117,11 @@ function composeSection$1(s, si, prevGround, ctx) {
35800
36117
  const transition = transitionOf(s, prevGround, ctx, si);
35801
36118
  if (!held && transition) {
35802
36119
  // The previous ground behind; the section's own ground and layers in its body, opened together.
35803
- setStyleProps(root, { ...base, backgroundColor: transition.under, display: 'block', padding: ZERO$1, overflow: 'clip' });
36120
+ setStyleProps(root, { ...base, ...sized, backgroundColor: transition.under, display: 'block', padding: ZERO$1, overflow: 'clip' });
35804
36121
  phone(root, { height: 'auto', backgroundColor: veilPaint(ground) });
35805
36122
  const body = create$1(`${id}-body`, T$1.Container, {}, NO_ELEMENT_STYLE);
35806
36123
  body.label = `${s.id} · ${s.transition}`;
35807
- setStyleProps(body, { position: 'relative', width: FULL, height: FULL, minHeight: ZERO$1, backgroundColor: veilPaint(ground), ...gridLayout(s.rows, 1) });
36124
+ setStyleProps(body, { position: 'relative', width: FULL, height: FULL, minHeight: ZERO$1, backgroundColor: veilPaint(ground), ...gridLayout(rowsOf, 1), ...centred });
35808
36125
  phone(body, phoneStack(si === 0));
35809
36126
  body.interactions = [transition.clip];
35810
36127
  body.children = layers;
@@ -35812,7 +36129,7 @@ function composeSection$1(s, si, prevGround, ctx) {
35812
36129
  return root;
35813
36130
  }
35814
36131
  if (!held) {
35815
- setStyleProps(root, { ...base, ...gridLayout(s.rows, 1), overflow: 'clip' });
36132
+ setStyleProps(root, { ...base, ...sized, ...gridLayout(rowsOf, 1), ...centred, overflow: 'clip' });
35816
36133
  phone(root, phoneStack(si === 0));
35817
36134
  root.children = [...behind, ...layers];
35818
36135
  return root;
@@ -36236,6 +36553,11 @@ const WORD_KINDS = new Set(['word', 'heading', 'text', 'label', 'number', 'list'
36236
36553
  const textOf$1 = (el) => String(el.textContent ?? '').trim();
36237
36554
  /** A layer node's class (`iox-node-<id>`) — what both renderers put on every node. */
36238
36555
  const layoutNodeClass = (prefix, i, j) => `iox-node-${prefix}-s${i}${j === undefined ? '' : `-l${j}`}`;
36556
+ /** The kinds whose box is a cell they stretch over, not what they hold (a list's frame): their content is measured. */
36557
+ const HOLDER_KINDS = new Set(['gallery']);
36558
+ const union = (rects) => (rects.length ? {
36559
+ l: Math.min(...rects.map(r => r.l)), t: Math.min(...rects.map(r => r.t)), r: Math.max(...rects.map(r => r.r)), b: Math.max(...rects.map(r => r.b)),
36560
+ } : null);
36239
36561
  /** In the browser: the reader of the nodes rendered under `root`, in the root's own coordinates. */
36240
36562
  function layerMetricsOf(root) {
36241
36563
  const origin = root.getBoundingClientRect();
@@ -36260,8 +36582,11 @@ function layerMetricsOf(root) {
36260
36582
  words = tight && tight.width > 0 ? rel(tight) : box;
36261
36583
  }
36262
36584
  }
36585
+ const held = HOLDER_KINDS.has(kind)
36586
+ ? union(Array.from(el.children).map(c => rel(c.getBoundingClientRect())).filter(r => r.r > r.l && r.b > r.t))
36587
+ : null;
36263
36588
  return {
36264
- kind, z: Number(style?.zIndex) || 0, box, words,
36589
+ kind, z: Number(style?.zIndex) || 0, box, words, ...(held ? { content: held } : {}),
36265
36590
  size: parseFloat(style?.fontSize ?? '') || 16, weight: Number(style?.fontWeight) || 400, color: style?.color ?? '',
36266
36591
  };
36267
36592
  },
@@ -36371,7 +36696,17 @@ const RENDER_CHECK = {
36371
36696
  contrastBody: 4.5,
36372
36697
  /** The light's spread over which a part of a photo is busy. */
36373
36698
  busy: 0.11,
36699
+ /** iox-ui#207: a laid section's content may end at most this share of a screen above its bottom — more reads as an
36700
+ * empty screen at rest (the café's dish grid ended 1105 px above its section's bottom; one line held a whole screen). */
36701
+ emptyBelow: 0.5,
36374
36702
  };
36703
+ /** Kinds that decorate, never hold: a shape over a whole section does not make it full. */
36704
+ const DECORATION_KINDS = new Set(['shape']);
36705
+ /** Where a section's content ends, by the bottoms of its layers' words, held content or boxes; null with none measured. */
36706
+ function contentEnd(layers) {
36707
+ const ends = layers.filter(l => !DECORATION_KINDS.has(l.kind)).map(l => (l.words ?? l.content ?? l.box).b);
36708
+ return ends.length ? Math.max(...ends) : null;
36709
+ }
36375
36710
  const ratio = (a, b) => (Math.max(a, b) + 0.05) / (Math.min(a, b) + 0.05);
36376
36711
  /** Measured boxes (each viewport) + the pixels under the words on photos → the render issues, by path, said once each. */
36377
36712
  function judgeLayoutRender(measured, pixels = []) {
@@ -36432,6 +36767,15 @@ function judgeLayoutRender(measured, pixels = []) {
36432
36767
  }
36433
36768
  if (on === LayoutViewport.Phone && m.scrollWidth > m.width + 1)
36434
36769
  say('sideways', 'sections', `the page scrolls sideways on a phone (${m.scrollWidth - m.width}px too wide)`);
36770
+ // iox-ui#207: no resting screen of flat ground — a section (not a held stage: its runway scrolls under it) whose
36771
+ // content ends more than half a screen above its bottom.
36772
+ m.sections.forEach((sec, i) => {
36773
+ const end = sec.held || sec.height <= 0 ? null : contentEnd(m.layers.filter(l => l.section === i));
36774
+ const empty = end === null ? 0 : sec.top + sec.height - end;
36775
+ if (empty > RENDER_CHECK.emptyBelow * m.height) {
36776
+ say(`empty:${i}:${on}`, `sections[${i}]`, `sections[${i}]: its content ends ${Math.round(empty)}px (${(empty / m.height).toFixed(1)} of a screen) above its bottom on the ${on} — fewer screens or rows, or something in the empty rows`);
36777
+ }
36778
+ });
36435
36779
  }
36436
36780
  const layerAt = new Map(measured.flatMap(m => m.layers.map(l => [`${m.viewport}:${l.path}`, l])));
36437
36781
  for (const px of pixels) {
@@ -36677,7 +37021,7 @@ function slotOf(n, id, ctx) {
36677
37021
  const asked = (n.opts ?? []).filter(o => o && o !== FREE_OPEN_LIGHTBOX);
36678
37022
  const words = [...LIST_SLOT_WORDS.filter(w => !asked.some(a => a.split(':')[0] === w.split(':')[0])), ...asked];
36679
37023
  const mix = listMixFromWords(words, Object.keys(list.roles));
36680
- const frame = composeListFrame({ id: `${id}-list`, mix, source: slot.ref, list, locale, label: n.purpose ?? slot.ref, path: n.id, ...(ctx.o.motion ? { motion: ctx.o.motion } : {}) }).frame;
37024
+ const frame = composeListFrame({ id: `${id}-list`, mix, source: slot.ref, list, locale, label: n.purpose ?? slot.ref, path: n.id, flow: true, ...(ctx.o.motion ? { motion: ctx.o.motion } : {}) }).frame;
36681
37025
  if (!(n.opts ?? []).includes(FREE_OPEN_LIGHTBOX))
36682
37026
  return [frame];
36683
37027
  const image = list.roles[IMAGE_ROLE];
@@ -36857,7 +37201,7 @@ const FIELD_GROUP = 'FieldGroup';
36857
37201
  /** The second channel beside Send (premium N2): the quieter button. */
36858
37202
  const CHANNEL_STYLE = 'button-secondary';
36859
37203
  const LABEL_TAG = 'span';
36860
- const TEXT = 'Text';
37204
+ const TEXT$1 = 'Text';
36861
37205
  /** A button's label reads the button's own type and ink (contract element style, W1.1 Q6). */
36862
37206
  const BUTTON_LABEL_STYLE = 'button-label';
36863
37207
  const ITEM_VALUE_PATH = '$';
@@ -37217,7 +37561,7 @@ function presetChildren(preset, id, locale, whatsApp = '') {
37217
37561
  const submit = create(`${id}-${n}`, SUBMIT_BUTTON, { label: preset.submitLabel, loadingLabel: busyWord(locale) });
37218
37562
  const blocks = [[FORM_SUCCESS, preset.successText], [FORM_ERROR, preset.errorText]].map(([type, words], i) => {
37219
37563
  const block = create(`${id}-${n + 1 + i}`, type);
37220
- block.children = [create(`${id}-${n + 1 + i}-0`, TEXT, { content: words })];
37564
+ block.children = [create(`${id}-${n + 1 + i}-0`, TEXT$1, { content: words })];
37221
37565
  return block;
37222
37566
  });
37223
37567
  const channel = formChannel(preset, locale, whatsApp);
@@ -37247,7 +37591,7 @@ function actionsRow(submit, channel, id, whatsApp = '') {
37247
37591
  const href = channel.kind === ChannelKind.WhatsApp ? whatsApp : '';
37248
37592
  const button = create(`${id}-channel`, BUTTON_BLOCK, { tag: 'a', linkType: LinkType.External, href, target: channelOpensNewTab(channel.kind) ? '_blank' : '_self' }, CHANNEL_STYLE);
37249
37593
  button.role = FORM_CHANNEL_ROLE;
37250
- button.children = [create(`${id}-channel-0`, TEXT, { content: channel.label }, BUTTON_LABEL_STYLE)];
37594
+ button.children = [create(`${id}-channel-0`, TEXT$1, { content: channel.label }, BUTTON_LABEL_STYLE)];
37251
37595
  row.children = [submit, button];
37252
37596
  return row;
37253
37597
  }
@@ -37379,7 +37723,7 @@ function composeNode(given, id, repeater, ctx) {
37379
37723
  }
37380
37724
  if (words.value !== undefined) {
37381
37725
  if (type === BUTTON_BLOCK) {
37382
- node.children = [create(`${id}-label`, TEXT, { content: words.value, tag: LABEL_TAG }, BUTTON_LABEL_STYLE)];
37726
+ node.children = [create(`${id}-label`, TEXT$1, { content: words.value, tag: LABEL_TAG }, BUTTON_LABEL_STYLE)];
37383
37727
  }
37384
37728
  else {
37385
37729
  const prop = TEXT_PROP[type];
@@ -37687,7 +38031,7 @@ function copyPlaceholders(card, ctx) {
37687
38031
  ctx.placeholders.push({ nodeId: part.id, owner: ctx.owner, kind: PlaceholderKind.Copy, text: String(part.props?.['content'] ?? '') });
37688
38032
  }
37689
38033
  const badge = findByRole(card, CardRole.Badge);
37690
- const words = badge?.children?.find(c => c.type === TEXT);
38034
+ const words = badge?.children?.find(c => c.type === TEXT$1);
37691
38035
  if (words)
37692
38036
  ctx.placeholders.push({ nodeId: words.id, owner: ctx.owner, kind: PlaceholderKind.Copy, text: String(words.props?.['content'] ?? '') });
37693
38037
  }
@@ -38816,7 +39160,7 @@ function withPopup(plan, globals, issues) {
38816
39160
  }
38817
39161
  // ── AW1: the law (award-ingredients-plan §4) ──────────────────────────────────────────────────────────────────────
38818
39162
  const LINK = 'Link';
38819
- const HEADING = 'Heading';
39163
+ const HEADING$1 = 'Heading';
38820
39164
  const SECTION = 'Section';
38821
39165
  const CONTAINER = 'Container';
38822
39166
  /** Inline words: the legal line reads as one sentence, its links inside it. */
@@ -38844,8 +39188,8 @@ function composeLegalPage(kind, key, route, plan, placeholders) {
38844
39188
  section.label = 'Legal page';
38845
39189
  const column = create(`${key}-0`, CONTAINER, {}, 'box');
38846
39190
  setStyleProps(column, { display: 'flex', flexDirection: 'column', gap: '18px', maxWidth: '720px', width: '100%', margin: '0px auto 0px auto' });
38847
- const heading = create(`${key}-0-0`, HEADING, { content: title, level: 'h1' }, 'h1');
38848
- const text = create(`${key}-0-1`, TEXT, { content: label }, 'body');
39191
+ const heading = create(`${key}-0-0`, HEADING$1, { content: title, level: 'h1' }, 'h1');
39192
+ const text = create(`${key}-0-1`, TEXT$1, { content: label }, 'body');
38849
39193
  column.children = [heading, text];
38850
39194
  section.children = [column];
38851
39195
  placeholders.push({ nodeId: text.id, owner: key, kind: PlaceholderKind.Policy, text: label });
@@ -38897,7 +39241,7 @@ function formLegalLine(form, routes, locale) {
38897
39241
  line.children = legalFormLine(locale, routes.has(LegalKind.Terms)).map((part, i) => ('kind' in part
38898
39242
  ? legalLink(`${id}-${i}`, part.kind, routes.get(part.kind), locale, { ...INLINE, ...LEGAL_SENTENCE_TYPE })
38899
39243
  : (() => {
38900
- const words = create(`${id}-${i}`, TEXT, { content: part.text, tag: 'span' }, 'small');
39244
+ const words = create(`${id}-${i}`, TEXT$1, { content: part.text, tag: 'span' }, 'small');
38901
39245
  setStyleProps(words, INLINE);
38902
39246
  return words;
38903
39247
  })()));
@@ -39600,7 +39944,7 @@ const STOP_WORDS = new Set([
39600
39944
  'tell', 'story', 'item', 'service', 'project',
39601
39945
  ]);
39602
39946
  const MIN_WORD = 3;
39603
- const HTML_TAG = /<[^>]*>/g;
39947
+ const HTML_TAG$1 = /<[^>]*>/g;
39604
39948
  const WORD_SPLIT = /[^\p{L}\p{N}]+/u;
39605
39949
  /** Nominal ratios (width / height) of an orientation when the manifest gives no size. */
39606
39950
  const ORIENTATION_RATIO = {
@@ -39637,7 +39981,7 @@ function stockWords(...texts) {
39637
39981
  for (const text of texts) {
39638
39982
  if (typeof text !== 'string')
39639
39983
  continue;
39640
- for (const raw of text.replace(HTML_TAG, ' ').split(WORD_SPLIT)) {
39984
+ for (const raw of text.replace(HTML_TAG$1, ' ').split(WORD_SPLIT)) {
39641
39985
  const w = stockWord(raw);
39642
39986
  if (w.length >= MIN_WORD && !STOP_WORDS.has(w) && !/^\d+$/.test(w))
39643
39987
  out.add(w);
@@ -39716,6 +40060,209 @@ function scoreStockPhoto(photo, need, imagery = []) {
39716
40060
  return subjectPoints + shapePoints + WORD_POINTS * Math.min(MAX_WORD_MATCHES, matched) + IMAGERY_POINTS * Math.min(MAX_IMAGERY_MATCHES, imageryMatched);
39717
40061
  }
39718
40062
 
40063
+ /**
40064
+ * What a stock photo is ABOUT, against what its place is about (iox-cms#130) — the closed tables the relevance check
40065
+ * (`stockRelevance`, stock-search.ts) and the query (`stockSearchFocus`) read. Pure data and word helpers, English (the
40066
+ * provider's tags) with a small Hebrew table for the place's own words (a Hebrew site's heading says "החלקה", the photo's
40067
+ * tags say "manicure").
40068
+ *
40069
+ * - PARTS of a business (`STOCK_FACETS`): a salon does hair, nails, make-up; a hotel has rooms, a table, a pool. A place
40070
+ * whose own words name a part takes a photo of THAT part — the "straightening" card never a manicure.
40071
+ * - Words that say a photo is about SOMETHING ELSE (`STOCK_UNRELATED_WORDS`): a laptop on a café's table, a cruise ship in
40072
+ * the bay, a drain in a basin. Off-subject unless the place or the business names it.
40073
+ * - Places on the map (`STOCK_PLACE_NAMES`): a photo tagged "china, sanya" shows somewhere else. Off-subject unless the
40074
+ * place's words name one of them (a Haifa hotel keeps a photo tagged "haifa").
40075
+ * - Scenery words (`STOCK_GENERIC_WORDS`): "bay", "sea", "view" — never what a query asks alone (Pixabay answers "hotel
40076
+ * view" with resort towers).
40077
+ */
40078
+ /** Words that only say where a photo looks — never a query's focus, never enough to tie a photo to a place. */
40079
+ const STOCK_GENERIC_WORDS = new Set([
40080
+ 'view', 'landscape', 'scenery', 'scenic', 'panorama', 'horizon', 'beach', 'sea', 'ocean', 'bay', 'coast', 'coastline', 'shore',
40081
+ 'sky', 'sunset', 'sunrise', 'cloud', 'city', 'town', 'mountain', 'hill', 'forest', 'nature', 'water', 'lake', 'river', 'island',
40082
+ 'outdoor', 'outside', 'travel', 'holiday', 'vacation', 'tourism', 'summer', 'morning', 'evening', 'night', 'below', 'above',
40083
+ ].map(stockWord));
40084
+ /**
40085
+ * The parts of a business a photo shows (English, compared as `stockWord`s). A word of five letters or more counts in its
40086
+ * longer forms (`straighten` → `straightening`). Keys are stable ids, never shown.
40087
+ */
40088
+ const STOCK_FACETS = {
40089
+ hair: [
40090
+ 'hair', 'haircut', 'hairdresser', 'hairdressing', 'hairstyle', 'hairstylist', 'straighten', 'straightening', 'straightener',
40091
+ 'keratin', 'blowout', 'blowdry', 'barber', 'barbershop', 'shampoo', 'comb', 'scissors', 'curl', 'curly', 'braid', 'highlights',
40092
+ 'balayage', 'clipper', 'beard',
40093
+ ],
40094
+ nails: ['manicure', 'manicurist', 'pedicure', 'nail', 'fingernail', 'toenail'],
40095
+ makeup: ['makeup', 'lipstick', 'mascara', 'eyeshadow', 'eyeliner', 'foundation', 'blush'],
40096
+ brows: ['eyelash', 'lash', 'eyebrow', 'brow'],
40097
+ skin: ['facial', 'skincare', 'peel', 'serum'],
40098
+ massage: ['massage', 'masseur', 'masseuse'],
40099
+ sleep: ['bedroom', 'bed', 'suite', 'pillow', 'bedding', 'duvet', 'headboard', 'mattress', 'linen'],
40100
+ meal: ['breakfast', 'brunch', 'dinner', 'lunch', 'meal', 'dining', 'buffet'],
40101
+ coffee: ['coffee', 'espresso', 'cappuccino', 'latte', 'barista'],
40102
+ baking: ['bread', 'pastry', 'croissant', 'cake', 'cookie', 'muffin', 'baguette', 'dough', 'patisserie'],
40103
+ pool: ['pool', 'swimming', 'jacuzzi'],
40104
+ };
40105
+ /**
40106
+ * Words that say a photo shows something no place of a small business asked for — a device on the table, a vehicle in the
40107
+ * frame, plumbing, a skyline. Off-subject unless the place's words or the business's own vocabulary name it.
40108
+ */
40109
+ const STOCK_UNRELATED_WORDS = new Set([
40110
+ // devices
40111
+ 'laptop', 'computer', 'keyboard', 'smartphone', 'iphone', 'phone', 'mobile', 'tablet', 'ipad', 'monitor', 'screen', 'macbook',
40112
+ // vehicles and their places
40113
+ 'cruise', 'cruiser', 'ship', 'cruiseship', 'ferry', 'tanker', 'airplane', 'aeroplane', 'aircraft', 'airport', 'plane', 'train',
40114
+ 'railway', 'truck', 'bus', 'car', 'vehicle', 'traffic', 'motorcycle', 'highway',
40115
+ // plumbing
40116
+ 'sink', 'drain', 'faucet', 'tap', 'plughole', 'washbasin', 'basin', 'toilet', 'plumbing',
40117
+ // a skyline, not a house
40118
+ 'skyscraper', 'highrise', 'skyline', 'cityscape', 'downtown', 'metropolis', 'tower',
40119
+ ].map(stockWord));
40120
+ /** Places on the map a stock photo is tagged with (compared as plain phrases: `new york`, `tel aviv`). */
40121
+ const STOCK_PLACE_NAMES = [
40122
+ // countries
40123
+ 'afghanistan', 'albania', 'algeria', 'argentina', 'armenia', 'australia', 'austria', 'azerbaijan', 'bahamas', 'bangladesh',
40124
+ 'belgium', 'bolivia', 'bosnia', 'brazil', 'bulgaria', 'cambodia', 'cameroon', 'canada', 'chile', 'china', 'colombia', 'costa rica',
40125
+ 'croatia', 'cuba', 'cyprus', 'czech', 'czechia', 'denmark', 'dominican republic', 'ecuador', 'egypt', 'england', 'estonia',
40126
+ 'ethiopia', 'fiji', 'finland', 'france', 'georgia', 'germany', 'ghana', 'greece', 'guatemala', 'hungary', 'iceland', 'india',
40127
+ 'indonesia', 'iran', 'iraq', 'ireland', 'israel', 'italy', 'jamaica', 'japan', 'jordan', 'kazakhstan', 'kenya', 'korea', 'laos',
40128
+ 'latvia', 'lebanon', 'lithuania', 'luxembourg', 'madagascar', 'malaysia', 'maldives', 'malta', 'mauritius', 'mexico', 'mongolia',
40129
+ 'montenegro', 'morocco', 'myanmar', 'namibia', 'nepal', 'netherlands', 'holland', 'new zealand', 'nigeria', 'norway', 'oman',
40130
+ 'pakistan', 'panama', 'peru', 'philippines', 'poland', 'portugal', 'qatar', 'romania', 'russia', 'saudi arabia', 'scotland',
40131
+ 'serbia', 'seychelles', 'singapore', 'slovakia', 'slovenia', 'south africa', 'spain', 'sri lanka', 'sweden', 'switzerland',
40132
+ 'syria', 'taiwan', 'tanzania', 'thailand', 'tunisia', 'ukraine', 'united arab emirates', 'uae', 'united kingdom', 'uk',
40133
+ 'united states', 'usa', 'america', 'uruguay', 'uzbekistan', 'venezuela', 'vietnam', 'wales', 'zambia', 'zimbabwe',
40134
+ // regions and islands a photo is tagged by
40135
+ 'bali', 'hainan', 'hawaii', 'tuscany', 'provence', 'andalusia', 'sicily', 'sardinia', 'corsica', 'crete', 'santorini', 'mykonos',
40136
+ 'ibiza', 'mallorca', 'majorca', 'tenerife', 'canary islands', 'madeira', 'phuket', 'zanzibar', 'caribbean', 'patagonia', 'bavaria',
40137
+ 'alps', 'dolomites', 'amalfi', 'cinque terre', 'lake como', 'galilee', 'golan', 'negev', 'phoenix island',
40138
+ // cities
40139
+ 'sanya', 'beijing', 'shanghai', 'hong kong', 'macau', 'tokyo', 'kyoto', 'osaka', 'seoul', 'bangkok', 'hanoi', 'saigon',
40140
+ 'ho chi minh', 'kuala lumpur', 'manila', 'jakarta', 'dubai', 'abu dhabi', 'doha', 'istanbul', 'athens', 'rome',
40141
+ 'venice', 'florence', 'milan', 'naples', 'paris', 'marseille', 'lyon', 'london', 'edinburgh', 'dublin', 'amsterdam',
40142
+ 'brussels', 'berlin', 'munich', 'hamburg', 'vienna', 'prague', 'budapest', 'warsaw', 'krakow', 'copenhagen', 'stockholm', 'oslo',
40143
+ 'helsinki', 'lisbon', 'porto', 'madrid', 'barcelona', 'seville', 'valencia', 'zurich', 'geneva', 'moscow', 'new york', 'manhattan',
40144
+ 'brooklyn', 'chicago', 'los angeles', 'san francisco', 'las vegas', 'miami', 'boston', 'seattle', 'toronto', 'vancouver',
40145
+ 'montreal', 'mexico city', 'cancun', 'havana', 'rio de janeiro', 'buenos aires', 'lima', 'cairo', 'marrakech', 'cape town',
40146
+ 'sydney', 'melbourne', 'auckland', 'mumbai', 'delhi', 'jerusalem', 'tel aviv', 'haifa', 'eilat', 'jaffa', 'nazareth',
40147
+ 'akko', 'tiberias', 'caesarea', 'netanya', 'herzliya', 'beersheba',
40148
+ ];
40149
+ /** The same, as a set of plain phrases. */
40150
+ const PLACE_NAMES = new Set(STOCK_PLACE_NAMES);
40151
+ /** The longest place name, in words. */
40152
+ const PLACE_MAX_WORDS = Math.max(...STOCK_PLACE_NAMES.map(p => p.split(' ').length));
40153
+ /**
40154
+ * A Hebrew site's own words for the parts and subjects above, as the English word a provider's tags carry (a heading
40155
+ * "החלקת קרטין" is about `hair`). Compared whole after a one- or two-letter prefix (ה, ו, ב, ל, מ, ש, כ) is taken off;
40156
+ * a two-word phrase first ("ארוחת בוקר" is breakfast, "ארוחת ערב" dinner).
40157
+ */
40158
+ const STOCK_SUBJECTS_HE = {
40159
+ 'ארוחת בוקר': 'breakfast', 'ארוחות בוקר': 'breakfast', 'ארוחת ערב': 'dinner', 'ארוחת צהריים': 'lunch', 'חדר שינה': 'bedroom',
40160
+ 'שיער': 'hair', 'תספורת': 'haircut', 'תספורות': 'haircut', 'החלקה': 'straightening', 'החלקת': 'straightening', 'החלקות': 'straightening',
40161
+ 'קרטין': 'keratin', 'תסרוקת': 'hairstyle', 'תסרוקות': 'hairstyle', 'גוונים': 'highlights',
40162
+ 'מניקור': 'manicure', 'פדיקור': 'pedicure', 'ציפורניים': 'nail', 'ציפורן': 'nail', 'לק': 'manicure', 'איפור': 'makeup',
40163
+ 'ריסים': 'eyelash', 'גבות': 'eyebrow', 'עיסוי': 'massage', 'עיסויים': 'massage', 'טיפולי פנים': 'facial', 'טיפול פנים': 'facial',
40164
+ 'בראנץ': 'brunch', 'בראנץ׳': 'brunch', 'קפה': 'coffee', 'אספרסו': 'espresso', 'לחם': 'bread', 'מאפים': 'pastry', 'מאפה': 'pastry',
40165
+ 'עוגה': 'cake', 'עוגות': 'cake', 'קרואסון': 'croissant', 'סוויטה': 'suite', 'סוויטות': 'suite', 'מיטה': 'bed', 'בריכה': 'pool',
40166
+ 'ג׳קוזי': 'jacuzzi', "ג'קוזי": 'jacuzzi', 'גג': 'rooftop', 'מרפסת': 'terrace', 'גינה': 'garden', 'חצר': 'courtyard',
40167
+ };
40168
+ const HE_PREFIX = /^[הובלמשכ]/;
40169
+ const HE_LETTERS = /[֐-׿]/;
40170
+ const HTML_TAG = /<[^>]*>/g;
40171
+ const TOKEN_SPLIT = /[^\p{L}\p{N}'׳]+/u;
40172
+ /** A facet word this long counts in its longer forms. */
40173
+ const FACET_STEM_MIN = 5;
40174
+ /** A Hebrew word's English subject, trying it whole, then without one and two prefix letters. */
40175
+ function hebrewSubject(word) {
40176
+ let w = word;
40177
+ for (let i = 0; i < 3 && w.length >= 2; i++) {
40178
+ const hit = STOCK_SUBJECTS_HE[w];
40179
+ if (hit)
40180
+ return hit;
40181
+ if (!HE_PREFIX.test(w))
40182
+ return undefined;
40183
+ w = w.slice(1);
40184
+ }
40185
+ return undefined;
40186
+ }
40187
+ /** The English subject words a Hebrew text names (phrases first), in order, as `stockWord`s. */
40188
+ function stockSubjectsHe(...texts) {
40189
+ const out = [];
40190
+ for (const text of texts) {
40191
+ if (typeof text !== 'string' || !HE_LETTERS.test(text))
40192
+ continue;
40193
+ const tokens = text.replace(HTML_TAG, ' ').split(TOKEN_SPLIT).filter(Boolean);
40194
+ for (let i = 0; i < tokens.length; i++) {
40195
+ const pair = i + 1 < tokens.length ? hebrewSubject(`${tokens[i]} ${tokens[i + 1]}`) ?? phraseWithPrefix(tokens[i], tokens[i + 1]) : undefined;
40196
+ if (pair) {
40197
+ out.push(stockWord(pair));
40198
+ i++;
40199
+ continue;
40200
+ }
40201
+ const one = hebrewSubject(tokens[i]);
40202
+ if (one)
40203
+ out.push(stockWord(one));
40204
+ }
40205
+ }
40206
+ return [...new Set(out)];
40207
+ }
40208
+ /** A two-word phrase whose first word wears a prefix ("וארוחת בוקר"). */
40209
+ function phraseWithPrefix(first, second) {
40210
+ let w = first;
40211
+ for (let i = 0; i < 2 && HE_PREFIX.test(w); i++) {
40212
+ w = w.slice(1);
40213
+ const hit = STOCK_SUBJECTS_HE[`${w} ${second}`];
40214
+ if (hit)
40215
+ return hit;
40216
+ }
40217
+ return undefined;
40218
+ }
40219
+ /**
40220
+ * The words a place's OWN text says (the heading beside a picture, a sample item's name): its meaningful words in order,
40221
+ * then — a Hebrew text — the English subjects it names (`STOCK_SUBJECTS_HE`). What the place's part and query are read from.
40222
+ */
40223
+ function stockNearWords(...texts) {
40224
+ return [...new Set([...stockWords(...texts), ...stockSubjectsHe(...texts)])];
40225
+ }
40226
+ /** Per facet, its words as compared. */
40227
+ const FACET_WORDS = Object.entries(STOCK_FACETS).map(([id, words]) => [id, new Set(words.map(stockWord))]);
40228
+ /** Does `word` name a word of `words` — whole, or a longer form of one of `FACET_STEM_MIN` letters or more? */
40229
+ function namesFacetWord(word, words) {
40230
+ if (words.has(word))
40231
+ return true;
40232
+ for (const w of words)
40233
+ if (w.length >= FACET_STEM_MIN && word.length > w.length && word.startsWith(w))
40234
+ return true;
40235
+ return false;
40236
+ }
40237
+ /** The parts of a business some words name (`STOCK_FACETS` ids), in the table's order. */
40238
+ function stockFacetsOf(words) {
40239
+ return FACET_WORDS.filter(([, set]) => words.some(w => namesFacetWord(w, set))).map(([id]) => id);
40240
+ }
40241
+ /** Every facet word (as asked: the table's spelling), by its compared form — a closed vocabulary a query may carry. */
40242
+ const STOCK_FACET_VOCABULARY = new Map(Object.values(STOCK_FACETS).flat().map(w => [stockWord(w), w]));
40243
+ /** A photo's tags as plain phrases (accents gone, lower case, single spaces) — what a place name is looked for in. */
40244
+ function stockTagPhrases(tags) {
40245
+ return tags.map(t => String(t ?? '').normalize('NFD').replace(/\p{M}+/gu, '').toLowerCase().replace(/[^\p{L}\p{N}]+/gu, ' ').trim()).filter(Boolean);
40246
+ }
40247
+ /** The places on the map some phrases name (each a `STOCK_PLACE_NAMES` entry), each once. */
40248
+ function stockPlaceNamesIn(phrases) {
40249
+ const out = new Set();
40250
+ for (const phrase of phrases) {
40251
+ const words = phrase.split(' ');
40252
+ for (let i = 0; i < words.length; i++) {
40253
+ for (let n = Math.min(PLACE_MAX_WORDS, words.length - i); n >= 1; n--) {
40254
+ const name = words.slice(i, i + n).join(' ');
40255
+ if (PLACE_NAMES.has(name)) {
40256
+ out.add(name);
40257
+ i += n - 1;
40258
+ break;
40259
+ }
40260
+ }
40261
+ }
40262
+ }
40263
+ return [...out];
40264
+ }
40265
+
39719
40266
  /** LS-D4: the most searches one build asks — the type's base query first, then the places' own. */
39720
40267
  const STOCK_MAX_SEARCHES = 4;
39721
40268
  /**
@@ -39768,17 +40315,17 @@ const STOCK_TRADE_WORDS = {
39768
40315
  vet: ['cat', 'puppy', 'kitten', 'veterinarian', 'paw', 'animal'],
39769
40316
  restaurant: ['dining', 'dinner', 'dish', 'meal', 'plate', 'cuisine', 'cooking', 'gourmet', 'table'],
39770
40317
  'cafe-bakery': ['espresso', 'cappuccino', 'latte', 'barista', 'croissant', 'pastry', 'cake', 'bread', 'muffin', 'dessert', 'breakfast', 'brunch', 'cookie'],
39771
- 'bar-winery': ['beer', 'whiskey', 'whisky', 'vineyard', 'grape', 'barrel', 'pub', 'bartender', 'glass'],
40318
+ 'bar-winery': ['beer', 'whiskey', 'whisky', 'vineyard', 'grape', 'barrel', 'pub', 'bartender', 'glass', 'tap', 'draft'],
39772
40319
  boutique: ['dress', 'apparel', 'garment', 'outfit', 'shoe', 'handbag', 'textile', 'wardrobe'],
39773
40320
  florist: ['rose', 'tulip', 'blossom', 'floral', 'peony', 'orchid', 'succulent', 'greenery', 'vase'],
39774
40321
  'home-goods': ['sofa', 'chair', 'table', 'lamp', 'interior', 'cushion', 'armchair', 'shelf', 'vase'],
39775
- consultant: ['meeting', 'business', 'planning', 'presentation', 'chart', 'office', 'desk', 'teamwork'],
39776
- coach: ['meeting', 'conversation', 'notebook', 'goal', 'growth', 'motivation'],
40322
+ consultant: ['meeting', 'business', 'planning', 'presentation', 'chart', 'office', 'desk', 'teamwork', 'laptop', 'computer'],
40323
+ coach: ['meeting', 'conversation', 'notebook', 'goal', 'growth', 'motivation', 'laptop'],
39777
40324
  'law-accounting': ['justice', 'court', 'judge', 'gavel', 'contract', 'notary', 'tax', 'finance', 'paperwork', 'document', 'signature', 'desk', 'agreement'],
39778
40325
  nonprofit: ['donation', 'solidarity', 'fundraising', 'charity'],
39779
40326
  'venue-events': ['banquet', 'ballroom', 'celebration', 'reception', 'ceremony', 'catering', 'party'],
39780
40327
  'hotel-bnb': ['bedroom', 'bed', 'suite', 'resort', 'hospitality', 'lobby', 'pillow', 'accommodation', 'villa', 'inn', 'hostel'],
39781
- classes: ['classroom', 'education', 'learning', 'student', 'study', 'piano', 'guitar', 'blackboard'],
40328
+ classes: ['classroom', 'education', 'learning', 'student', 'study', 'piano', 'guitar', 'blackboard', 'laptop', 'computer'],
39782
40329
  };
39783
40330
  /**
39784
40331
  * iox-ui#175 — words that name a KIND of business by its place (compared as `stockWord`s). For a type whose vocabulary
@@ -39859,19 +40406,33 @@ function stockSearchTerm(type) {
39859
40406
  }
39860
40407
  /** Per subject, its vocabulary as compared (`stockWord`) → as asked (the vocabulary's own spelling). */
39861
40408
  const SUBJECT_VOCABULARY = new Map(Object.values(StockSubject).map(subject => [subject, new Map(STOCK_SUBJECT_WORDS[subject].map(w => [stockWord(w), w]))]));
40409
+ /** Every subject word, as compared → as asked. */
40410
+ const ALL_SUBJECT_VOCABULARY = new Map([...SUBJECT_VOCABULARY.values()].flatMap(m => [...m]));
40411
+ /** The words a place's OWN text says: a section's text beside the picture (`near`), an item's name (`near`, else `subject`). */
40412
+ function stockPlaceNear(slot) {
40413
+ return slot.near?.length ? slot.near : slot.subject ?? [];
40414
+ }
39862
40415
  /**
39863
- * The one subject word a place adds to its query: among the words that say what it is about — a sample item's own name
39864
- * first, then the words around the place, then the type's imagery line — the first that names a subject its intent takes,
39865
- * its best subject first. None: the base query.
40416
+ * The one subject word a place adds to its query (iox-cms#130: the place's own subject, never scenery). First, the place's
40417
+ * OWN words in the order written (the heading beside it, an item's name — "Breakfast on the roof, the bay below" asks
40418
+ * `breakfast`): the first that is a closed subject word (`STOCK_SUBJECT_WORDS`, a part of a business `STOCK_FACETS`, the
40419
+ * type's imagery). Else, among the words around the place and the type's imagery line, the first that names a subject its
40420
+ * intent takes, its best subject first. Never a scenery word (`STOCK_GENERIC_WORDS` — "hotel view" is answered with resort
40421
+ * towers), never another trade's place, never the type's own word. None: the base query.
39866
40422
  */
39867
40423
  function stockSearchFocus(slot, type, term) {
39868
40424
  // iox-ui#175: another trade's place word is never the subject ("Boutique law firm" → never "law boutique").
39869
40425
  const vocabulary = 'label' in type ? stockFitFor(type).vocabulary : new Set();
39870
- const words = [...(slot.kind === 'item' ? slot.subject ?? [] : []), ...slot.words, ...stockWords(type.imagery)].filter(w => !foreignTrade(w, vocabulary));
39871
40426
  const asked = new Set(term.split(' ').map(stockWord));
40427
+ const open = (w) => !asked.has(w) && !STOCK_GENERIC_WORDS.has(w) && !foreignTrade(w, vocabulary);
40428
+ const imagery = stockWords(type.imagery).filter(w => !IMAGERY_NOISE.has(w));
40429
+ const own = stockPlaceNear(slot).find(w => open(w) && (ALL_SUBJECT_VOCABULARY.has(w) || STOCK_FACET_VOCABULARY.has(w) || imagery.includes(w)));
40430
+ if (own)
40431
+ return ALL_SUBJECT_VOCABULARY.get(own) ?? STOCK_FACET_VOCABULARY.get(own) ?? own;
40432
+ const words = [...(slot.kind === 'item' ? slot.subject ?? [] : []), ...slot.words, ...stockWords(type.imagery)].filter(open);
39872
40433
  for (const subject of STOCK_INTENT_SUBJECTS[slot.intent] ?? []) {
39873
40434
  const vocabulary = SUBJECT_VOCABULARY.get(subject);
39874
- const hit = words.find(w => vocabulary.has(w) && !asked.has(w));
40435
+ const hit = words.find(w => vocabulary.has(w));
39875
40436
  if (hit)
39876
40437
  return vocabulary.get(hit);
39877
40438
  }
@@ -39915,23 +40476,80 @@ function photoPhrases(photo) {
39915
40476
  const tags = photo.tags?.length ? photo.tags : String(photo.alt ?? '').split(',');
39916
40477
  return [...tags, photo.review?.notes ?? ''].map(t => ` ${plain(String(t ?? '')).replace(/[^\p{L}\p{N}]+/gu, ' ').trim()} `);
39917
40478
  }
39918
- /**
39919
- * Whether a photo may stand in a place on a site held to `fit`: none of its words is a never-word or phrase, and a photo no
39920
- * operator approved SHOWS THE BUSINESS — it names the type's vocabulary `STOCK_OPENING_TYPE_WORDS` times in an opening and
39921
- * `STOCK_PLACE_TYPE_WORDS` times anywhere else (iox-ui#175); an item's own name counts as the business's there (a
39922
- * "Bridal makeup" service, a makeup photo). Another trade's place word never counts. An approved library photo was seen for
39923
- * its type and needs no word. No type known (`STOCK_FIT_ANY`): the never-words only.
39924
- */
39925
- function stockPhotoFits(photo, slot, fit = STOCK_FIT_ANY) {
40479
+ /** Why a photo may not stand in a place (`stockRelevance`). */
40480
+ var StockOffSubject;
40481
+ (function (StockOffSubject) {
40482
+ /** A never-word or phrase: crime, ruin, a joke, the trade's fears. */
40483
+ StockOffSubject["Never"] = "never";
40484
+ /** It shows somewhere else on the map ("china, sanya" for a hotel in Haifa). */
40485
+ StockOffSubject["Elsewhere"] = "elsewhere";
40486
+ /** It shows something no word of the place or the business names: a laptop, a cruise ship, a drain. */
40487
+ StockOffSubject["Unrelated"] = "unrelated";
40488
+ /** It shows another part of the business than the place names: a manicure under "straightening". */
40489
+ StockOffSubject["OtherPart"] = "other-part";
40490
+ /** It does not name the business (twice in an opening). */
40491
+ StockOffSubject["NotTheBusiness"] = "not-the-business";
40492
+ })(StockOffSubject || (StockOffSubject = {}));
40493
+ /**
40494
+ * THE relevance of a stock photo to a place (iox-cms#130; iox-cms#123, iox-ui#175) — pure and deterministic, no model.
40495
+ * In order, a photo is off-subject when:
40496
+ * 1. any word is a never-word or phrase of the site (`fit.never`, `STOCK_NEVER_PHRASES`);
40497
+ * 2. (unreviewed, type known) it names a place on the map (`STOCK_PLACE_NAMES`) and the place's words name none of them;
40498
+ * 3. (unreviewed, type known) it carries a word that shows something else (`STOCK_UNRELATED_WORDS`) that neither the place's
40499
+ * words nor the business's vocabulary name;
40500
+ * 4. the place's own words name a part of the business (`STOCK_FACETS`: hair, nails, a meal, a bed…) and the photo names
40501
+ * other parts but none of those — an approved library photo too: it was seen for its type, never for this place;
40502
+ * 5. (unreviewed, type known) it does not name the business `STOCK_OPENING_TYPE_WORDS` times in an opening,
40503
+ * `STOCK_PLACE_TYPE_WORDS` times elsewhere (iox-ui#175).
40504
+ * No type known (`STOCK_FIT_ANY`): the never-words only. The counts are reported for reading a choice; the ranking among the
40505
+ * photos that fit stays `scoreStockPhoto` (which already counts the place's words).
40506
+ */
40507
+ function stockRelevance(photo, place, fit = STOCK_FIT_ANY) {
39926
40508
  const words = stockPhotoWords(photo);
39927
- if (words.some(w => fit.never.has(w)))
39928
- return false;
40509
+ const near = new Set(stockPlaceNear(place));
40510
+ const counts = { business: businessWordsOf(words, place, fit), near: words.filter(w => near.has(w)).length };
40511
+ const off = (why, offWords) => ({ off: why, offWords, ...counts });
40512
+ const never = words.filter(w => fit.never.has(w));
40513
+ if (never.length)
40514
+ return off(StockOffSubject.Never, never);
39929
40515
  const phrases = photoPhrases(photo);
39930
- if (STOCK_NEVER_PHRASES.some(phrase => phrases.some(p => p.includes(` ${phrase} `))))
39931
- return false;
39932
- if (photo.review?.verdict === StockReviewVerdict.Approved || !fit.vocabulary.size)
39933
- return true;
39934
- return businessWordsOf(words, slot, fit) >= (OPENING_INTENTS.has(slot.intent) ? STOCK_OPENING_TYPE_WORDS : STOCK_PLACE_TYPE_WORDS);
40516
+ const neverPhrases = STOCK_NEVER_PHRASES.filter(phrase => phrases.some(p => p.includes(` ${phrase} `)));
40517
+ if (neverPhrases.length)
40518
+ return off(StockOffSubject.Never, neverPhrases);
40519
+ if (!fit.vocabulary.size)
40520
+ return { off: null, offWords: [], ...counts };
40521
+ const reviewed = photo.review?.verdict === StockReviewVerdict.Approved;
40522
+ const said = new Set([...(place.words ?? []), ...near, ...(place.subject ?? [])]);
40523
+ if (!reviewed) {
40524
+ const places = stockPlaceNamesIn(stockTagPhrases(photo.tags?.length ? photo.tags : String(photo.alt ?? '').split(',')));
40525
+ if (places.length && !places.some(name => namedBy(name, said)))
40526
+ return off(StockOffSubject.Elsewhere, places);
40527
+ const unrelated = words.filter(w => STOCK_UNRELATED_WORDS.has(w) && !said.has(w) && !fit.vocabulary.has(w));
40528
+ if (unrelated.length)
40529
+ return off(StockOffSubject.Unrelated, unrelated);
40530
+ }
40531
+ const parts = stockFacetsOf([...near]);
40532
+ const shown = parts.length ? stockFacetsOf(words) : [];
40533
+ if (shown.length && !shown.some(f => parts.includes(f)))
40534
+ return off(StockOffSubject.OtherPart, shown);
40535
+ if (!reviewed && counts.business < (OPENING_INTENTS.has(place.intent) ? STOCK_OPENING_TYPE_WORDS : STOCK_PLACE_TYPE_WORDS)) {
40536
+ return off(StockOffSubject.NotTheBusiness, []);
40537
+ }
40538
+ return { off: null, offWords: [], ...counts };
40539
+ }
40540
+ /**
40541
+ * Whether a photo may stand in a place on a site held to `fit` — `stockRelevance` finds nothing off-subject: no never-word
40542
+ * or phrase; an unreviewed photo shows the business (its vocabulary twice in an opening, once elsewhere — an item's own
40543
+ * name counts there, iox-ui#175), no other place on the map and nothing unrelated (iox-cms#130); and no photo shows another
40544
+ * part of the business than the place names. No type known (`STOCK_FIT_ANY`): the never-words only.
40545
+ */
40546
+ function stockPhotoFits(photo, slot, fit = STOCK_FIT_ANY) {
40547
+ return stockRelevance(photo, slot, fit).off === null;
40548
+ }
40549
+ /** A place on the map the place's words name (every word of it; a name too short to compare — `uk` — never). */
40550
+ function namedBy(name, said) {
40551
+ const words = stockWords(name);
40552
+ return words.length > 0 && words.every(w => said.has(w));
39935
40553
  }
39936
40554
  /** How many distinct words of a photo name the business (the opening: its vocabulary; elsewhere an item's name too). */
39937
40555
  function businessWordsOf(words, slot, fit) {
@@ -39970,9 +40588,9 @@ function planStockSearch(type, targets, max = STOCK_MAX_SEARCHES) {
39970
40588
  * never a person (testimonials, the team — nor a sample item of a type that lists people, iox-ui#172: `stockMayFill`),
39971
40589
  * never anywhere when the business type says `stock: false` — and, since I2.1
39972
40590
  * (Doron, 2026-10-28), in the picture of a MARKED sample item (a product, a service, a dish) of a type that may show
39973
- * stock. Which photo goes where is chosen by what the slot is about (`stock-match.ts`). Its alt text is
39974
- * the provider's description of what it shows (never a claim), and the credit line its licence requires — when it
39975
- * requires one — is placed in the footer. Pure: the build step does the copying.
40591
+ * stock. Which photo goes where is chosen by what the slot is about (`stock-match.ts`, `stockRelevance`). Its alt text is
40592
+ * the place's own words (`stockPhotoAlt`, iox-cms#130 — never the provider's tags), and the credit line its licence
40593
+ * requires — when it requires one — is placed in the footer. Pure: the build step does the copying.
39976
40594
  */
39977
40595
  /** Where a stock photo comes from (the library's provider). */
39978
40596
  var StockProviderId;
@@ -40038,6 +40656,10 @@ function ownPhotosFor(photos, subject, words) {
40038
40656
  * The owner's photos come before any stock or sample picture. A composed section's empty picture takes them in order and
40039
40657
  * never repeats one. A sample item takes only one that shows it (`ownPhotoFit`), never twice in one type's samples; an
40040
40658
  * item none fits keeps its sample picture or goes on to the library (`rest`) — never an unrelated photo under its name.
40659
+ *
40660
+ * iox-cms#133 (Pro ceramics, 2026-11-29: "Handled Cup" kept the placeholder art between two real photos): a type's samples
40661
+ * share its photos by ONE assignment (`matchOwnPhotos`) — the most samples that a photo fits get one, then the best fits —
40662
+ * never first come, first served, where an early sample took the only photo a later one could wear.
40041
40663
  */
40042
40664
  function planOwnPhotos(slots, photos) {
40043
40665
  const own = photos.map(ownPhotoOf).filter(p => !!p.url);
@@ -40045,7 +40667,7 @@ function planOwnPhotos(slots, photos) {
40045
40667
  return { placements: [], rest: [...slots] };
40046
40668
  const placements = [];
40047
40669
  const rest = [];
40048
- const shown = new Map();
40670
+ const matched = matchOwnPhotos(slots.filter((s) => s.kind === StockSlotKind.Item), own);
40049
40671
  let next = 0;
40050
40672
  for (const slot of slots) {
40051
40673
  if (slot.kind === StockSlotKind.Section) {
@@ -40055,18 +40677,102 @@ function planOwnPhotos(slots, photos) {
40055
40677
  rest.push(slot);
40056
40678
  continue;
40057
40679
  }
40058
- const group = shown.get(slot.contentType) ?? new Set();
40059
- const best = ownPhotosFor(own.filter(p => !group.has(p.url)), slot.subject ?? [], slot.words)[0];
40060
- if (!best) {
40680
+ const photo = matched.get(slot);
40681
+ if (!photo) {
40061
40682
  rest.push(slot);
40062
40683
  continue;
40063
40684
  }
40064
- group.add(best.url);
40065
- shown.set(slot.contentType, group);
40066
- placements.push({ item: { contentType: slot.contentType, index: slot.index, field: slot.field }, url: best.url });
40685
+ placements.push({ item: { contentType: slot.contentType, index: slot.index, field: slot.field }, url: photo.url });
40067
40686
  }
40068
40687
  return { placements, rest };
40069
40688
  }
40689
+ /** Per content type (a list shows its samples together, so a photo stands under one of them only): which of the owner's
40690
+ * photos each sample wears — the assignment that dresses the most samples, then fits them best (`bestAssignment`). */
40691
+ function matchOwnPhotos(slots, own) {
40692
+ const byType = new Map();
40693
+ for (const slot of slots)
40694
+ byType.set(slot.contentType, [...(byType.get(slot.contentType) ?? []), slot]);
40695
+ const out = new Map();
40696
+ for (const group of byType.values()) {
40697
+ const fits = group.map(slot => own.map(photo => ownPhotoFit(photo, slot.subject ?? [], slot.words)));
40698
+ bestAssignment(fits).forEach((column, row) => { if (column >= 0)
40699
+ out.set(group[row], own[column]); });
40700
+ }
40701
+ return out;
40702
+ }
40703
+ /** Above any total fit: a sample dressed always outweighs a better fit elsewhere. */
40704
+ const ASSIGN_FILLED = 1e6;
40705
+ /** Tie-breaks far below a fit point (fits are whole numbers): the earlier sample, then the owner's earlier photo. */
40706
+ const ASSIGN_ROW_TIE = 1e-3;
40707
+ const ASSIGN_COLUMN_TIE = 1e-6;
40708
+ /**
40709
+ * Rows (samples) to distinct columns (photos) by their scores (`ownPhotoFit`; 0 = does not fit): the most rows on a column
40710
+ * that fits, then the highest total score; a tie goes to the earlier row, then the earlier column. The row's column, or -1.
40711
+ * Kuhn–Munkres (the Hungarian method) on a square matrix padded with "takes nothing" columns, O(n²·m) — a type holds a
40712
+ * handful of samples and the owner a handful of photos. Exported for its spec.
40713
+ */
40714
+ function bestAssignment(scores) {
40715
+ const n = scores.length;
40716
+ if (!n)
40717
+ return [];
40718
+ const columns = Math.max(0, ...scores.map(r => r.length));
40719
+ const m = columns + n;
40720
+ const weight = (i, j) => {
40721
+ const fit = j < columns ? scores[i][j] ?? 0 : 0;
40722
+ return fit > 0 ? ASSIGN_FILLED + fit - ASSIGN_ROW_TIE * i - ASSIGN_COLUMN_TIE * j : 0;
40723
+ };
40724
+ // Minimum cost = maximum weight; 1-based potentials as in the classic formulation (row 0 / column 0 are the sentinels).
40725
+ const u = new Array(n + 1).fill(0);
40726
+ const v = new Array(m + 1).fill(0);
40727
+ const p = new Array(m + 1).fill(0);
40728
+ const way = new Array(m + 1).fill(0);
40729
+ for (let i = 1; i <= n; i++) {
40730
+ p[0] = i;
40731
+ let j0 = 0;
40732
+ const minv = new Array(m + 1).fill(Infinity);
40733
+ const used = new Array(m + 1).fill(false);
40734
+ do {
40735
+ used[j0] = true;
40736
+ const i0 = p[j0];
40737
+ let delta = Infinity;
40738
+ let j1 = 0;
40739
+ for (let j = 1; j <= m; j++) {
40740
+ if (used[j])
40741
+ continue;
40742
+ const cur = -weight(i0 - 1, j - 1) - u[i0] - v[j];
40743
+ if (cur < minv[j]) {
40744
+ minv[j] = cur;
40745
+ way[j] = j0;
40746
+ }
40747
+ if (minv[j] < delta) {
40748
+ delta = minv[j];
40749
+ j1 = j;
40750
+ }
40751
+ }
40752
+ for (let j = 0; j <= m; j++) {
40753
+ if (used[j]) {
40754
+ u[p[j]] += delta;
40755
+ v[j] -= delta;
40756
+ }
40757
+ else
40758
+ minv[j] -= delta;
40759
+ }
40760
+ j0 = j1;
40761
+ } while (p[j0] !== 0);
40762
+ do {
40763
+ const j1 = way[j0];
40764
+ p[j0] = p[j1];
40765
+ j0 = j1;
40766
+ } while (j0);
40767
+ }
40768
+ const out = new Array(n).fill(-1);
40769
+ for (let j = 1; j <= columns; j++) {
40770
+ const row = p[j] - 1;
40771
+ if (row >= 0 && (scores[row][j - 1] ?? 0) > 0)
40772
+ out[row] = j - 1;
40773
+ }
40774
+ return out;
40775
+ }
40070
40776
  /**
40071
40777
  * Each marked sample's gallery shows the owner's photos that fit the item (`ownPhotoFit`) instead of bundled samples; an
40072
40778
  * item none fits keeps its samples.
@@ -40100,11 +40806,55 @@ function itemWords(type, item) {
40100
40806
  const title = item[roleField(type, ContentRole.Title) ?? ''];
40101
40807
  return { subject: stockWords(title), words: stockWords(type.label, type.name, title, item[roleField(type, ContentRole.Summary) ?? '']) };
40102
40808
  }
40809
+ /** The longest alt a stock photo is given (a screen reader's sentence, not a paragraph). */
40810
+ const STOCK_ALT_MAX = 125;
40811
+ /** Text as an alt carries it: markup gone, one line, cut at a word to `STOCK_ALT_MAX`. */
40812
+ function altText(value) {
40813
+ if (typeof value !== 'string')
40814
+ return '';
40815
+ const text = value.replace(/<[^>]*>/g, ' ').replace(/&nbsp;/g, ' ').replace(/\s+/g, ' ').trim();
40816
+ if (text.length <= STOCK_ALT_MAX)
40817
+ return text;
40818
+ const cut = text.slice(0, STOCK_ALT_MAX + 1);
40819
+ const space = cut.lastIndexOf(' ');
40820
+ return (space > STOCK_ALT_MAX / 2 ? cut.slice(0, space) : cut.slice(0, STOCK_ALT_MAX)).replace(/[\s,;:–—-]+$/u, '');
40821
+ }
40822
+ /** A place's words as written, for its alt: an item's name; a section picture's heading beside it (`caption`). */
40823
+ function captionOf(row, skip) {
40824
+ if (!row)
40825
+ return '';
40826
+ let heading = '';
40827
+ let text = '';
40828
+ walkSerialized([row], n => {
40829
+ if (n.id === skip || typeof n.props['content'] !== 'string')
40830
+ return;
40831
+ if (n.type === HEADING && !heading)
40832
+ heading = altText(n.props['content']);
40833
+ else if (n.type === TEXT && !text)
40834
+ text = altText(n.props['content']);
40835
+ });
40836
+ return heading || text;
40837
+ }
40838
+ /**
40839
+ * The alt of a stock photo in a place (iox-cms#130): the place's OWN words, in the site's language — a sample item's name,
40840
+ * the heading (else the text) beside a section's picture, else the first thing its section says. Never the provider's tags
40841
+ * (a tag list read aloud is noise, and an English one on a Hebrew site). Nothing written there: '' (a picture that only
40842
+ * sets the mood, which a screen reader passes).
40843
+ */
40844
+ function stockPhotoAlt(target) {
40845
+ const caption = altText(target.caption);
40846
+ if (caption)
40847
+ return caption;
40848
+ const about = 'about' in target ? target.about ?? '' : '';
40849
+ return altText(about.split(' — ')[0].replace(/…$/, ''));
40850
+ }
40103
40851
  /** Where a photo may not appear twice: one page; one content type's samples (a list shows them together). */
40104
40852
  function stockGroupOf(target) {
40105
40853
  return target.kind === StockSlotKind.Section ? `page:${target.owner}` : `items:${target.contentType}`;
40106
40854
  }
40107
40855
  const TEXT_PROPS = ['content', 'label'];
40856
+ const HEADING = 'Heading';
40857
+ const TEXT = 'Text';
40108
40858
  /** The words of a subtree's text (Headings, Text, Links), the given node left out. */
40109
40859
  function textOf(nodes, skip) {
40110
40860
  const out = [];
@@ -40185,10 +40935,13 @@ function stockSlots(plan, composed) {
40185
40935
  if (n.type !== 'Image' || !empty.has(n.id) || n.bindings.length)
40186
40936
  return;
40187
40937
  const row = ancestors[ancestors.length - 1];
40938
+ const beside = row ? textOf([row], n.id) : [];
40939
+ const caption = captionOf(row, n.id);
40188
40940
  out.push({
40189
40941
  kind: StockSlotKind.Section, nodeId: n.id, owner: page.key, ...read, intent, about,
40190
40942
  aspect: aspectRatioOf(n.styleProps['aspectRatio']),
40191
- words: stockWords(...(row ? textOf([row], n.id) : []), ...sectionWords),
40943
+ words: stockWords(...beside, ...sectionWords),
40944
+ near: stockNearWords(...beside), ...(caption ? { caption } : {}),
40192
40945
  });
40193
40946
  });
40194
40947
  });
@@ -40212,6 +40965,7 @@ function stockItemSlots(plan, composed) {
40212
40965
  out.push({
40213
40966
  kind: StockSlotKind.Item, contentType: ShopResource.Products, index, field: SHOP_IMAGE_FIELD, intent: StockIntent.Product, aspect: STOCK_ITEM_ASPECT,
40214
40967
  words: stockWords(product.title, product.category, product.description), subject: stockWords(product.title),
40968
+ near: stockNearWords(product.title), ...(altText(product.title) ? { caption: altText(product.title) } : {}),
40215
40969
  });
40216
40970
  });
40217
40971
  for (const type of plan.contentTypes) {
@@ -40223,8 +40977,10 @@ function stockItemSlots(plan, composed) {
40223
40977
  if (!item.isSample || parseSampleImageRef(item[field]) === null)
40224
40978
  return;
40225
40979
  const { subject, words } = itemWords(type, item);
40980
+ const title = item[roleField(type, ContentRole.Title) ?? ''];
40226
40981
  out.push({
40227
40982
  kind: StockSlotKind.Item, contentType: type.name, index, field, intent: StockIntent.Product, aspect: STOCK_ITEM_ASPECT, words, subject,
40983
+ near: stockNearWords(title), ...(altText(title) ? { caption: altText(title) } : {}),
40228
40984
  ...(person ? { person: true } : {}),
40229
40985
  });
40230
40986
  });
@@ -40290,7 +41046,8 @@ function planStockPhotos(slots, photos, stockAllowed, opts = {}) {
40290
41046
  used.add(best.key);
40291
41047
  here.add(best.key);
40292
41048
  shownIn.set(group, here);
40293
- placed.set(i, { ...slot, photo: best });
41049
+ // iox-cms#130: the photo as placed HERE carries this place's alt — the provider's words stay on `credit.title`.
41050
+ placed.set(i, { ...slot, photo: { ...best, alt: stockPhotoAlt(slot) } });
40294
41051
  }
40295
41052
  return slots.map((_, i) => placed.get(i)).filter((p) => !!p);
40296
41053
  }
@@ -40298,7 +41055,7 @@ function planStockPhotos(slots, photos, stockAllowed, opts = {}) {
40298
41055
  function stockCopyKey(photo) {
40299
41056
  return `media/stock/${photo.key.replace(/[^a-zA-Z0-9._-]+/g, '-')}`;
40300
41057
  }
40301
- /** Put the studio's copy of each photo into its slot (src + the provider's alt). Returns the nodes changed. */
41058
+ /** Put the studio's copy of each photo into its slot (src + its alt: the place's words, `stockPhotoAlt`). Returns the nodes changed. */
40302
41059
  function applyStockPhotos(trees, placed) {
40303
41060
  const byId = new Map(placed.map(p => [p.nodeId, p]));
40304
41061
  let changed = 0;
@@ -46747,8 +47504,10 @@ function checkAccessibility(ctx, snapshot, pages) {
46747
47504
  }
46748
47505
  const rendered = renderedTrees(snapshot);
46749
47506
  for (const mode of snapshot.design?.modes ?? []) {
46750
- // AD0 A6: only the pairs the site's pages render — the sweep judges every pairing the look COULD make.
46751
- const failing = renderedContrastFindings(auditDesignContrast(snapshot.design.rows, mode), rendered).filter(f => !f.pass);
47507
+ // AD0 A6: only the pairs the site's pages render — the sweep judges every pairing the look COULD make. iox-ui#211:
47508
+ // and what stands over a scrim layer, over the scrim.
47509
+ const rows = snapshot.design.rows;
47510
+ const failing = renderedContrastFindings([...auditDesignContrast(rows, mode), ...scrimLayerFindings(rows, mode)], rendered).filter(f => !f.pass);
46752
47511
  if (failing.length)
46753
47512
  add(ctx, SiteFindingCode.LowContrast, { variant: mode, count: failing.length });
46754
47513
  }
@@ -50433,20 +51192,20 @@ function designOpsOfLook(look) {
50433
51192
  // re-run npm run gen:critic-rubric. The tester's rubric, ported for the AI designer's critic (ai-designer-plan §2d).
50434
51193
  /* eslint-disable */
50435
51194
  /** Where the rubric came from, and a hash of its section (a changed rubric is a new hash). */
50436
- const CRITIC_RUBRIC_SOURCE = { file: 'team/reference-score.md', section: '§2', hash: "8cd817ffacc8" };
51195
+ const CRITIC_RUBRIC_SOURCE = { file: 'team/reference-score.md', section: '§2', hash: "08ab197d4bfd" };
50437
51196
  /** The eight dimensions in the rubric's order: the key the critic answers under, the name, what is compared. */
50438
51197
  const CRITIC_RUBRIC_DIMENSIONS = [
50439
- { n: 1, key: "colour", name: "Colour", compares: "ground colour, how much accent and where, dark bands vs grey-black, palette harmony. Numbers: dominant colours, ΔE to the nearest target palette, contrast" },
51198
+ { n: 1, key: "colour", name: "Colour", compares: "ground colour, how much accent and where, dark bands vs grey-black, palette harmony. A Scene's ground (a dark runway, a film's night) is judged at the Scene views with its picture, never as a band on the whole-page still. Numbers: dominant colours, ΔE to the nearest target palette, contrast" },
50440
51199
  { n: 2, key: "type", name: "Type", compares: "the display face's character, hero size ÷ body size, weights, tracking, uppercase use. Numbers: hero px, ratio, families" },
50441
51200
  { n: 3, key: "composition", name: "Composition", compares: "column width, whitespace rhythm, asymmetry and overlap, section variety (two sections in a row on one skeleton = a fault). Numbers: content width, section padding, distinct skeletons per page" },
50442
51201
  { n: 4, key: "imagery", name: "Imagery", compares: "share of the screen that is picture, full-bleed use, crops, on-subject (an empty picture frame is a Polish bug, not scored here again). Numbers: picture area % per screen" },
50443
- { n: 5, key: "header", name: "Header", compares: "shape, behaviour on scroll, menu (shelves, full screen), how it sits on the opening picture" },
51202
+ { n: 5, key: "header", name: "Header", compares: "how well it is made: its craft, legibility, the menu (shelves, full screen), its behaviour on scroll, how it sits on the opening picture. Judged at its own level: a shape or a scroll behaviour different from the targets' is not a fault (a slim bar beside a floating pill, solid beside transparent), say it as a change, never a lower score. A header defect (the name against the edge, a button over the bar's edge, no menu control on the phone) is scored here, once" },
50444
51203
  { n: 6, key: "footer", name: "Footer", compares: "layout, richness (newsletter, social, facts), ground, legal row" },
50445
- { n: 7, key: "motion", name: "Motion & feel", compares: "scroll scenes, reveals, hover, page transitions, smoothness on the phone" },
50446
- { n: 8, key: "polish", name: "Polish (UI bugs)", compares: "overlaps, clipped text, misalignment, broken 390 layout, contrast fails, placeholder text, empty boxes. A bug is a fault in the build, counted here once and never again in 1–7; a design choice (spacing, rhythm, palette) is scored in its own dimension, not here. A still capture's blank Scene runway, an unplayed reveal or a menu caught mid-fade is not a bug. Each bug −1. Any bug a visitor would call broken caps the whole score at 5. Every bug becomes a GitHub issue" },
51204
+ { n: 7, key: "motion", name: "Motion & feel", compares: "scroll scenes, reveals, hover, page transitions, smoothness on the phone. Stills cannot show motion: judge it from the Scene views and from the motion rows, the card's and ours, measured the same way on both live pages (smooth scroll, sticky, animations running, transitions declared). Motion a target has is a fault only when ours has nothing in its place" },
51205
+ { n: 8, key: "polish", name: "Polish (UI bugs)", compares: "overlaps, clipped text, misalignment, broken 390 layout, contrast fails, placeholder text, empty boxes. A bug is a fault in the build, counted here once and never again in 1–7; a design choice (spacing, rhythm, palette) is scored in its own dimension, not here, and a header defect is scored under Header, not again here. Content faults (a placeholder, a mislabelled picture, a list repeated) are the gate's to fix: they are listed together as ONE bug. Marks only the phone shows (a focus ring, a few px off) are listed together as ONE bug, never broken. A still capture's blank Scene runway, an unplayed reveal or a menu caught mid-fade is not a bug. Each bug −1. Any bug a visitor would call broken caps the whole score at 5. Every bug becomes a GitHub issue" },
50447
51206
  ];
50448
51207
  /** The headline rule, in the rubric's words. */
50449
- const CRITIC_RUBRIC_HEADLINE = "Headline = the mean of 1–7, capped by 8. Every score has one sentence of evidence: \"hotelaurelia does X; ours does Y\", with the two crops side by side. The scale: 9–10 the reference's own level (a target reference scores 8–10, §3.1); 8 it stands beside the reference; 6 a careful template; 5 competent and plain; 3 unfinished.";
51208
+ const CRITIC_RUBRIC_HEADLINE = "Headline = the mean of 1–7, capped by 8. Every score has one sentence of evidence: \"hotelaurelia does X; ours does Y\", with the two crops side by side. The scale: 9–10 the reference's own level (a target reference scores 8–10, §3.1); 8 it stands beside the reference; 6 a careful template; 5 competent and plain; 3 unfinished. A capability a target has and ours lacks lowers a score only where a visitor would feel the page is poorer for it; a different choice made with the same care scores the same. The card's numbers describe the target's level, not a target to reach: a size, a height, a share or a count is never better for being nearer the target's (a footer 850px tall is not worse for being shorter than 1,270px); ours is read from its own numbers, measured the same way. The scale does not soften: a page that is plain, careless or unfinished scores 3–6 however different it is, and a page is never raised for being unlike the targets.";
50450
51209
  /** The polish row's numbers: what each bug costs, and the cap a bug a visitor would call broken puts on the page. */
50451
51210
  const CRITIC_RUBRIC_POLISH = { bugPenalty: 1, brokenCap: 5 };
50452
51211
 
@@ -50593,6 +51352,136 @@ function criticVerdict(answer) {
50593
51352
  return { designMean, polish: polishOf(answer), broken, headline: capped ? CRITIC_RUBRIC_POLISH.brokenCap : designMean, capped };
50594
51353
  }
50595
51354
 
51355
+ const obj = (v) => (v && typeof v === 'object' && !Array.isArray(v) ? v : undefined);
51356
+ const num = (v) => (typeof v === 'number' && Number.isFinite(v) ? v : undefined);
51357
+ const str = (v) => (typeof v === 'string' && v.trim() ? v : undefined);
51358
+ const bool = (v) => (typeof v === 'boolean' ? v : undefined);
51359
+ const strs = (v) => (Array.isArray(v) ? v.filter((x) => typeof x === 'string') : undefined);
51360
+ const nums = (v) => (Array.isArray(v) ? v.filter((x) => typeof x === 'number' && Number.isFinite(x)) : undefined);
51361
+ /** The keys of `o` that `read` gives a value for; undefined when none. */
51362
+ function pick(raw, read) {
51363
+ const o = obj(raw);
51364
+ if (!o)
51365
+ return undefined;
51366
+ const out = {};
51367
+ for (const k of Object.keys(read)) {
51368
+ const v = read[k](o[k]);
51369
+ if (v !== undefined)
51370
+ out[k] = v;
51371
+ }
51372
+ return Object.keys(out).length ? out : undefined;
51373
+ }
51374
+ const COLOURS = { top: strs, meanSat: num, meanLum: num };
51375
+ const TYPE = {
51376
+ heroPx: num, heroText: str, heroFam: str, heroWeight: (v) => str(v) ?? (num(v) !== undefined ? String(v) : undefined), largestPx: num,
51377
+ largestFam: str, bodyPx: num, families: strs, headingFaces: strs, upperSharePct: num,
51378
+ };
51379
+ const LAYOUT = { paraWidthMedian: num, textLeftP10: num, contentSpan: num, docHeight: num, screens: num };
51380
+ const SECTIONS = { count: num, distinctSkeletons: num, consecutiveRepeats: num, padTopMedian: num };
51381
+ const HEADER = { pos: str, top: num, h: num, bg: str, backdrop: str, visibleLinks: num };
51382
+ const FOOTER = { h: num, bg: str, bgImage: bool, links: num, columnsApprox: num, hasForm: bool, social: strs, legal: bool, largestTextPx: num };
51383
+ /**
51384
+ * The card's numbers out of one width's measures (a visit's `metrics.json`, a round's `measures.<width>.visit`): each part
51385
+ * kept only when it has its type — a measure that failed (`{ error }`) or was never taken is left out, never read as 0.
51386
+ */
51387
+ function visitNumbersOf(raw) {
51388
+ return pick(raw, {
51389
+ colourFirst: v => pick(v, COLOURS),
51390
+ colourFull: v => pick(v, COLOURS),
51391
+ colourFooter: v => pick(v, COLOURS),
51392
+ typeLayoutFirst: v => pick(v, { type: t => pick(t, TYPE) }),
51393
+ typeLayout: v => pick(v, {
51394
+ type: t => pick(t, TYPE), layout: l => pick(l, LAYOUT), sections: s => pick(s, SECTIONS),
51395
+ }),
51396
+ firstPictureAreaPct: num,
51397
+ pictureAreaByScreen: v => { const a = nums(v); return a?.length ? a : undefined; },
51398
+ pictureAreaMean: num,
51399
+ headerAtLoad: v => pick(v, HEADER),
51400
+ headerScrolledUp: v => pick(v, HEADER),
51401
+ footer: v => pick(v, FOOTER),
51402
+ overflow: v => pick(v, { docW: num, vw: num }),
51403
+ });
51404
+ }
51405
+ /** The rows the numbers fill, in the card's order. Motion (row 7) is `motionLine`'s, beside these. */
51406
+ const CARD_NUMBER_ROWS = [
51407
+ CriticDimension.Colour, CriticDimension.Type, CriticDimension.Composition, CriticDimension.Imagery,
51408
+ CriticDimension.Header, CriticDimension.Footer, CriticDimension.Polish,
51409
+ ];
51410
+ const px = (v) => `${Math.round(v)}px`;
51411
+ /** The row's parts that were measured, joined; a part is a string, or a falsy guard (`0` from an empty list's length). */
51412
+ const parts = (...p) => p.filter((x) => typeof x === 'string' && x !== '').join('; ');
51413
+ /** How much of the hero's words the row quotes (enough to see what was counted as the hero — a clock, a label). */
51414
+ const CARD_HERO_TEXT_MAX = 32;
51415
+ function colourRow(n) {
51416
+ const mean = n.colourFull ?? n.colourFirst;
51417
+ return parts(n.colourFirst?.top?.length && `first screen ${n.colourFirst.top.slice(0, 5).join(', ')}`, n.colourFull?.top?.length && `whole page ${n.colourFull.top.slice(0, 5).join(', ')}`, mean && mean.meanSat !== undefined && mean.meanLum !== undefined && `mean saturation ${mean.meanSat}, luminance ${mean.meanLum}`, n.colourFooter?.top?.length && `footer ${n.colourFooter.top.slice(0, 3).join(', ')}`);
51418
+ }
51419
+ function typeRow(n) {
51420
+ const hero = n.typeLayoutFirst?.type;
51421
+ const page = n.typeLayout?.type;
51422
+ const text = hero?.heroText?.replace(/\s+/g, ' ').trim();
51423
+ return parts(hero?.heroPx !== undefined && `first-screen largest ${px(hero.heroPx)}${hero.heroFam ? ` ${hero.heroFam}` : ''}${hero.heroWeight ? ` ${hero.heroWeight}` : ''}`
51424
+ + `${text ? ` ("${text.length > CARD_HERO_TEXT_MAX ? `${text.slice(0, CARD_HERO_TEXT_MAX)}…` : text}")` : ''}`, page?.largestPx !== undefined && `largest text ${px(page.largestPx)}${page.largestFam ? ` (${page.largestFam})` : ''}`, page?.bodyPx !== undefined && `body ${px(page.bodyPx)}`, hero?.heroPx !== undefined && !!page?.bodyPx && `hero ÷ body ${(hero.heroPx / page.bodyPx).toFixed(1)}`, page?.families?.length && `families by characters: ${page.families.join(' · ')}`, page?.headingFaces?.length && `heading faces: ${page.headingFaces.join(' · ')}`, page?.upperSharePct !== undefined && `caps share ${page.upperSharePct}%`);
51425
+ }
51426
+ function compositionRow(n) {
51427
+ const l = n.typeLayout?.layout;
51428
+ const s = n.typeLayout?.sections;
51429
+ return parts(l?.docHeight !== undefined && `page ${px(l.docHeight)}${l.screens !== undefined ? ` = ${l.screens} screens` : ''}`, l?.contentSpan !== undefined && `text span ${px(l.contentSpan)}${l.textLeftP10 !== undefined ? ` from x=${Math.round(l.textLeftP10)}` : ''}`, l?.paraWidthMedian !== undefined && `paragraph width median ${px(l.paraWidthMedian)}`, s?.count !== undefined && `${s.count} blocks${s.distinctSkeletons !== undefined ? `, ${s.distinctSkeletons} distinct skeletons` : ''}`
51430
+ + `${s.consecutiveRepeats !== undefined ? `, ${s.consecutiveRepeats} back-to-back repeats` : ''}`, s?.padTopMedian !== undefined && `first text sits ${px(s.padTopMedian)} into a block (median)`);
51431
+ }
51432
+ function imageryRow(n) {
51433
+ return parts(n.firstPictureAreaPct !== undefined && `picture area: first screen ${n.firstPictureAreaPct}%`, n.pictureAreaMean !== undefined && `mean per screen ${n.pictureAreaMean}%${n.pictureAreaByScreen?.length ? ` (per screen ${n.pictureAreaByScreen.join('/')})` : ''}`);
51434
+ }
51435
+ const bar = (h, scrolled) => [
51436
+ h.pos, scrolled && h.top !== undefined ? `top ${Math.round(h.top)}` : '', h.h !== undefined ? px(h.h) : '', h.bg ? `bg ${h.bg}` : '',
51437
+ h.backdrop && h.backdrop !== 'none' ? h.backdrop : '', !scrolled && h.visibleLinks !== undefined ? `links ${h.visibleLinks}` : '',
51438
+ ].filter(Boolean).join(' ');
51439
+ function headerRow(n) {
51440
+ return parts(n.headerAtLoad && bar(n.headerAtLoad, false) && `at load: ${bar(n.headerAtLoad, false)}`, n.headerScrolledUp && bar(n.headerScrolledUp, true) && `after down→up: ${bar(n.headerScrolledUp, true)}`);
51441
+ }
51442
+ /** A footer measured 0 px tall is a measure that missed (an empty `<footer>` landmark), never a fact: the row is left out. */
51443
+ function footerRow(n) {
51444
+ const f = n.footer;
51445
+ if (!f || !(f.h > 0))
51446
+ return '';
51447
+ return [
51448
+ px(f.h), f.bg ? `bg ${f.bg}${f.bgImage ? ' +image' : ''}` : '', f.links !== undefined ? `links ${f.links}` : '',
51449
+ f.columnsApprox !== undefined ? `cols~${f.columnsApprox}` : '', f.hasForm !== undefined ? `form ${f.hasForm}` : '',
51450
+ f.social ? `social [${f.social.join(',')}]` : '', f.legal !== undefined ? `legal ${f.legal}` : '',
51451
+ f.largestTextPx !== undefined ? `biggest ${px(f.largestTextPx)}` : '',
51452
+ ].filter(Boolean).join(' ');
51453
+ }
51454
+ function polishRow(n) {
51455
+ const o = n.overflow;
51456
+ if (o?.docW === undefined || o.vw === undefined)
51457
+ return '';
51458
+ return o.docW > o.vw ? `sideways overflow ${Math.round(o.docW)}px > ${Math.round(o.vw)}px` : 'sideways overflow: none';
51459
+ }
51460
+ const ROW_FORMATS = {
51461
+ [CriticDimension.Colour]: colourRow,
51462
+ [CriticDimension.Type]: typeRow,
51463
+ [CriticDimension.Composition]: compositionRow,
51464
+ [CriticDimension.Imagery]: imageryRow,
51465
+ [CriticDimension.Header]: headerRow,
51466
+ [CriticDimension.Footer]: footerRow,
51467
+ [CriticDimension.Polish]: polishRow,
51468
+ };
51469
+ /**
51470
+ * ONE width's numbers in the reference card's words, row by row (`CARD_NUMBER_ROWS`) — the same function for the
51471
+ * reference's visit and our round, so the critic compares numbers with numbers. Only what was measured is printed.
51472
+ */
51473
+ function cardNumbers(n) {
51474
+ const out = {};
51475
+ if (!n)
51476
+ return out;
51477
+ for (const row of CARD_NUMBER_ROWS) {
51478
+ const line = ROW_FORMATS[row]?.(n);
51479
+ if (line)
51480
+ out[row] = line;
51481
+ }
51482
+ return out;
51483
+ }
51484
+
50596
51485
  /**
50597
51486
  * THE CRITIC'S SHEET (ai-designer-plan §2c–§2d, AD3): what the critic looks at — the reference beside ours, view by view,
50598
51487
  * laptop then phone, then 4–6 zoomed crops (a defect under ~20px is invisible at sheet scale, law HARNESS §1.5). The
@@ -50631,6 +51520,18 @@ var CaptureView;
50631
51520
  CaptureView["Full"] = "full";
50632
51521
  })(CaptureView || (CaptureView = {}));
50633
51522
  const CAPTURE_VIEW_ORDER = Object.values(CaptureView);
51523
+ /**
51524
+ * A motion measure in the reference card's words (`team/reference-cards/*.md`, row 7's numbers):
51525
+ * `lenis true gsap false swiper false videos 3 canvas 0 sticky 0 anims 21 transitions 33`, then `scenes N` when known.
51526
+ * A count the measure did not take is left out, never printed as 0.
51527
+ */
51528
+ function motionLine(m) {
51529
+ const parts = [
51530
+ ['lenis', m.lenis], ['gsap', m.gsap], ['swiper', m.swiper], ['videos', m.videos], ['canvas', m.canvases],
51531
+ ['sticky', m.stickyEls], ['anims', m.animationsRunning], ['transitions', m.transitionsDeclared], ['scenes', m.scenes],
51532
+ ];
51533
+ return parts.filter(([, v]) => typeof v === 'boolean' || (typeof v === 'number' && Number.isFinite(v))).map(([k, v]) => `${k} ${v}`).join(' ');
51534
+ }
50634
51535
  /**
50635
51536
  * Image tokens a vision model reads for a picture of w × h (ai-cost-plan, ai-designer-plan §6b): ⌈w/28⌉ × ⌈h/28⌉,
50636
51537
  * capped — a bigger picture is scaled down to the cap.
@@ -50642,6 +51543,45 @@ function visionImageTokens(w, h) {
50642
51543
  }
50643
51544
  /** The views the sheet shows of ours even when the reference has none: the Scene stops, where motion is judged. */
50644
51545
  const OURS_ALONE_VIEWS = [CaptureView.Scene25, CaptureView.Scene50, CaptureView.Scene90];
51546
+ /** The motion counts out of a measure's raw object (iox-render `MOTION`), each kept only when it has its type. */
51547
+ function captureMotionOf(raw) {
51548
+ if (!raw || typeof raw !== 'object')
51549
+ return undefined;
51550
+ const r = raw;
51551
+ const out = {};
51552
+ for (const k of ['lenis', 'gsap', 'swiper'])
51553
+ if (typeof r[k] === 'boolean')
51554
+ out[k] = r[k];
51555
+ for (const k of ['videos', 'canvases', 'stickyEls', 'animationsRunning', 'transitionsDeclared', 'scenes']) {
51556
+ if (typeof r[k] === 'number' && Number.isFinite(r[k]))
51557
+ out[k] = r[k];
51558
+ }
51559
+ return Object.keys(out).length ? out : undefined;
51560
+ }
51561
+ /**
51562
+ * The measures the sheet uses, from one width's `metrics.json` of a visit (iox-render `visit.mjs`, the reference captures
51563
+ * and the tester's): the header at load, the polish findings boxed on the whole page, what moves, the card's numbers
51564
+ * (AD-D29). A malformed box is skipped; nothing found is `{}`.
51565
+ */
51566
+ function visitMetricsOf(metrics) {
51567
+ const m = metrics;
51568
+ const out = {};
51569
+ const h = m?.headerAtLoad;
51570
+ if (h && [h.left, h.top, h.w, h.h].every(Number.isFinite) && h.h > 0)
51571
+ out.header = { x: h.left, y: h.top, w: h.w, h: h.h };
51572
+ const flagged = (m?.polish ?? [])
51573
+ .filter(p => Array.isArray(p.box) && p.box.length === 4 && p.box.every(Number.isFinite))
51574
+ .map(p => ({ view: CaptureView.Full, box: { x: p.box[0], y: p.box[1], w: p.box[2], h: p.box[3] }, why: `${p.kind}: "${String(p.text ?? '').slice(0, 60)}"` }));
51575
+ if (flagged.length)
51576
+ out.flagged = flagged;
51577
+ const motion = captureMotionOf(m?.motion);
51578
+ if (motion)
51579
+ out.motion = motion;
51580
+ const numbers = visitNumbersOf(m);
51581
+ if (numbers)
51582
+ out.numbers = numbers;
51583
+ return out;
51584
+ }
50645
51585
  const CRITIC_CROP_RECIPES = [
50646
51586
  { width: CaptureWidth.Laptop, view: CaptureView.First, box: { x: 0, y: 0, w: 1, h: 0.16 }, why: 'the header on the opening' },
50647
51587
  { width: CaptureWidth.Laptop, view: CaptureView.First, box: { x: 0, y: 0.16, w: 0.6, h: 0.6 }, why: 'the opening\'s words' },
@@ -50771,12 +51711,33 @@ function planCritiqueSheet(ours, reference, maxImages = CRITIC_SHEET_MAX_IMAGES)
50771
51711
  : fraction(o, recipe.box));
50772
51712
  crops.push({ width: recipe.width, view: recipe.view, why: recipe.why, ours: { ref: o.ref, box }, reference: { ref: r.ref, box: clip(r, fraction(r, recipe.box)) }, zoom: zoomOf(box) });
50773
51713
  }
51714
+ const motion = [];
51715
+ for (const width of Object.values(CaptureWidth)) {
51716
+ const o = ours.metrics?.[width]?.motion;
51717
+ const r = reference.metrics?.[width]?.motion;
51718
+ const line = (m) => (m ? motionLine(m) : '');
51719
+ if (line(o) || line(r))
51720
+ motion.push({ width, ...(line(r) ? { reference: line(r) } : {}), ...(line(o) ? { ours: line(o) } : {}) });
51721
+ }
51722
+ const numbers = [];
51723
+ // re-read on the way in (idempotent): a capture source may hand its measures over as they were written
51724
+ const rowsOf = (set) => Object.fromEntries(Object.values(CaptureWidth).map(w => [w, cardNumbers(visitNumbersOf(set.metrics?.[w]?.numbers))]));
51725
+ const ourRows = rowsOf(ours);
51726
+ const theirRows = rowsOf(reference);
51727
+ for (const dimension of CARD_NUMBER_ROWS) {
51728
+ for (const width of Object.values(CaptureWidth)) {
51729
+ const o = ourRows[width][dimension];
51730
+ const r = theirRows[width][dimension];
51731
+ if (o || r)
51732
+ numbers.push({ dimension, width, ...(r ? { reference: r } : {}), ...(o ? { ours: o } : {}) });
51733
+ }
51734
+ }
50774
51735
  const dropped = fitSheet(pairs, crops, maxImages);
50775
51736
  const referenceImageTokens = pairs.reduce((n, p) => n + (p.reference ? visionImageTokens(p.reference.w, p.reference.h) : 0), 0);
50776
51737
  const pairTokens = referenceImageTokens + pairs.reduce((n, p) => n + visionImageTokens(p.ours.w, p.ours.h), 0);
50777
51738
  const cropTokens = crops.reduce((n, c) => n + visionImageTokens(c.ours.box.w * c.zoom, c.ours.box.h * c.zoom)
50778
51739
  + (c.reference ? visionImageTokens(c.reference.box.w * c.zoom, c.reference.box.h * c.zoom) : 0), 0);
50779
- return { pairs, crops, missing, dropped, imageTokens: pairTokens + cropTokens, referenceImageTokens };
51740
+ return { pairs, crops, motion, numbers, missing, dropped, imageTokens: pairTokens + cropTokens, referenceImageTokens };
50780
51741
  }
50781
51742
 
50782
51743
  /** One item of the round's turn: words, a shot, or a zoomed crop of a shot (the host cuts and enlarges it). `cache` marks
@@ -50800,11 +51761,20 @@ var CriticSheetLayout;
50800
51761
  CriticSheetLayout["Cached"] = "cached";
50801
51762
  CriticSheetLayout["Paired"] = "paired";
50802
51763
  })(CriticSheetLayout || (CriticSheetLayout = {}));
51764
+ /** AD-D29 (2): the card's numbers describe the reference's level, never a target (the AD3 Opus answers marked every hotel
51765
+ * footer down for being ≈ 850px beside the reference's ≈ 1,270px). Part of `CRITIC_LEVEL_RULE`. */
51766
+ const CRITIC_CARD_LEVEL_WORDS = 'The card\'s numbers describe the reference\'s level, not a target: a size, a height, a share or '
51767
+ + 'a count is never better for being nearer the reference\'s — a footer 850px tall is not worse for being shorter than the '
51768
+ + 'reference\'s 1,270px. Judge what ours does with its own numbers.';
50803
51769
  /** AD-D18, in the words the critic reads. */
50804
51770
  const CRITIC_LEVEL_RULE = 'Score the LEVEL, never the likeness. Ask "is this page as good as the reference?", never "does it look '
50805
51771
  + 'like it?". Resemblance earns nothing: a page that borrows the reference\'s arrangement scores no higher than a different page made '
50806
51772
  + 'with the same care, and a page unlike the reference can score 10. The reference and its card show the standard to reach — its '
50807
- + 'precision, its restraint, its finish — not a design to copy.';
51773
+ + 'precision, its restraint, its finish — not a design to copy. A capability the reference has and ours lacks lowers a score only '
51774
+ + 'where a visitor would feel the page is poorer for it; a different choice made with the same care scores the same (a slim bar '
51775
+ + 'beside a floating pill, a solid header beside a transparent one — say it as a change, never a lower score). This never '
51776
+ + 'softens the scale: a page that is plain, careless or unfinished scores 3–6 however different it is, and nothing is raised '
51777
+ + 'for being unlike the reference. ' + CRITIC_CARD_LEVEL_WORDS;
50808
51778
  /** What a still sheet cannot show (AD3 calibration: a third of the critic's bugs, and every 5.0 cap on a proof page, were
50809
51779
  * a Scene's scroll runway or an unplayed reveal on the whole-page view, or a menu caught mid-fade). */
50810
51780
  const CRITIC_STILL_RULE = 'THE SHOTS ARE STILL. The whole-page view is taken in one frame: a Scene pins its picture while '
@@ -50812,12 +51782,23 @@ const CRITIC_STILL_RULE = 'THE SHOTS ARE STILL. The whole-page view is taken in
50812
51782
  + 'empty band. That band is not a bug and not a fault of composition: judge the Scene and the reveals under motion, from the '
50813
51783
  + 'Scene views when the sheet has them. A band is a bug only when a screen-sized view, taken while scrolling like a visitor (the '
50814
51784
  + 'first screen, the header after scrolling, the footer, a list), shows it empty too. Likewise a view that shows two states at '
50815
- + 'once (a menu half over the page, a logo drawn twice) was caught mid-transition: say so under motion, never mark it broken.';
51785
+ + 'once (a menu half over the page, a logo drawn twice) was caught mid-transition: say so under motion, never mark it broken. '
51786
+ + 'The same holds for COLOUR: a Scene\'s ground — a dark runway, a film\'s night — seen on the whole-page view is judged at the '
51787
+ + 'Scene views, where the visitor sees it with its picture, never as a band of colour on its own (AD-D29).';
50816
51788
  /** What a bug is, so one fault is scored once (AD3 calibration: the critic listed ≈ 3× the tester's bugs). */
50817
51789
  const CRITIC_BUG_RULE = 'A BUG is a fault in the build a visitor would notice: words over words, a cut-off line, an empty '
50818
51790
  + 'frame where a picture belongs, a dead button, a contrast fail, placeholder text. A design choice — spacing, rhythm, an '
50819
51791
  + 'off palette, a weak picture — is not a bug: it is scored in its own dimension, once. Never list one fault twice, and never '
50820
- + 'list it as a bug AND lower a design dimension for it.';
51792
+ + 'list it as a bug AND lower a design dimension for it: a header defect (the name against the edge, a button over the bar\'s '
51793
+ + 'edge) lowers Header and is not listed again. Content faults — a placeholder, a mislabelled picture, a list repeated — are '
51794
+ + 'the gate\'s to fix: list them together as ONE bug. Marks only the phone shows — a focus ring, a few px off — are listed '
51795
+ + 'together as ONE bug, never broken.';
51796
+ /** How motion is judged when the shots are still (AD-D27; the AD3 calibration on 5.205.0: motion −0.92 below the tester, the
51797
+ * reference card listing its motion while ours was read off stills). */
51798
+ const CRITIC_MOTION_RULE = 'MOTION is judged from the Scene views and from THE MOTION rows: what moves on each live page, '
51799
+ + 'counted the same way on both at the first screen (the card\'s Motion row prints the same counts — lenis is smooth scroll, '
51800
+ + 'sticky the pinned elements, anims the animations running, transitions the controls that ease). Compare those rows, not '
51801
+ + 'what a still cannot show: motion the reference has is a fault only when ours has nothing in its place.';
50821
51802
  const WIDTH_WORDS = { [CaptureWidth.Laptop]: 'Laptop 1440', [CaptureWidth.Phone]: 'Phone 390' };
50822
51803
  const VIEW_WORDS = {
50823
51804
  [CaptureView.First]: 'the first screen',
@@ -50836,6 +51817,24 @@ const VIEW_WORDS = {
50836
51817
  /** The label of a view the reference has no shot of (a Scene stop): ours is judged for motion on its own. */
50837
51818
  const OURS_ALONE_WORDS = 'ours alone (the reference has no such view) — judge our motion: the Scene as the visitor scrolls';
50838
51819
  const where = (width, view) => `${WIDTH_WORDS[width]} · ${VIEW_WORDS[view]}`;
51820
+ /** THE MOTION rows (AD-D27): each width, the reference's count then ours, in the card's words; a side not measured says so. */
51821
+ function motionText(motion, reference) {
51822
+ return [
51823
+ 'THE MOTION, counted the same way on both live pages at the first screen (the stills cannot show it):',
51824
+ ...motion.map(m => `${WIDTH_WORDS[m.width]} — ${reference}: ${m.reference ?? 'not measured'}; ours: ${m.ours ?? 'not measured'}`),
51825
+ ].join('\n');
51826
+ }
51827
+ /** The rubric's name of a dimension (`Imagery`), for the numbers' rows. */
51828
+ const DIMENSION_WORDS = (d) => CRITIC_RUBRIC_DIMENSIONS.find(r => r.key === d)?.name ?? d;
51829
+ /** THE NUMBERS (AD-D29): row by row, each width, the reference's numbers then ours, in the card's words; a side not
51830
+ * measured says so. */
51831
+ function numbersText(numbers, reference) {
51832
+ return [
51833
+ 'THE NUMBERS, row by row as the reference\'s card prints them, measured the same way on both live pages (read sizes and '
51834
+ + 'shares here, never off a scaled-down picture; the reference\'s numbers show its level, not a target):',
51835
+ ...numbers.map(n => `${DIMENSION_WORDS(n.dimension)} · ${WIDTH_WORDS[n.width]} — ${reference}: ${n.reference ?? 'not measured'}; ours: ${n.ours ?? 'not measured'}`),
51836
+ ].join('\n');
51837
+ }
50839
51838
  /** The rubric as the critic reads it: each dimension with what it compares, then the headline and the polish rule. */
50840
51839
  function criticRubricText() {
50841
51840
  return [
@@ -50857,11 +51856,13 @@ function criticSystem() {
50857
51856
  },
50858
51857
  { text: CRITIC_LEVEL_RULE },
50859
51858
  { text: criticRubricText() },
50860
- { text: `${CRITIC_STILL_RULE}\n${CRITIC_BUG_RULE}` },
51859
+ { text: `${CRITIC_STILL_RULE}\n${CRITIC_MOTION_RULE}\n${CRITIC_BUG_RULE}` },
50861
51860
  {
50862
51861
  text: [
50863
51862
  'EVIDENCE: one line per dimension, read off the sheet as a position, a size or a colour — "<reference> sets the hero at '
50864
- + '≈ 100px on paper #FFFFFC; ours sets it at 64px on #F3F0EA". A line with no measurement is refused.',
51863
+ + '≈ 100px on paper #FFFFFC; ours sets it at 64px on #F3F0EA". A line with no measurement is refused. Where THE '
51864
+ + 'NUMBERS give a size or a share, take it from there: the pictures are scaled down, and a size read off them runs '
51865
+ + 'small.',
50865
51866
  `CHANGES: ${CRITIC_CHANGES.min}–${CRITIC_CHANGES.max}, the ones that move the LOWEST score most, at least one aimed at it. Write `
50866
51867
  + 'each as a brief for the designer, in our own terms (what to change, where, by how much). Never name the reference in a '
50867
51868
  + 'brief, and never ask to copy it or make it look like it.',
@@ -50905,6 +51906,10 @@ function criticRoundContent(input, sheet, layout = CriticSheetLayout.Cached) {
50905
51906
  out.push(text(`${head} — the reference:`), { kind: CriticContentKind.Crop, ref: c.reference.ref, box: c.reference.box, zoom: c.zoom });
50906
51907
  out.push(text(`${head} — ours:`), { kind: CriticContentKind.Crop, ref: c.ours.ref, box: c.ours.box, zoom: c.zoom });
50907
51908
  });
51909
+ if (sheet.numbers?.length)
51910
+ out.push(text(numbersText(sheet.numbers, input.reference)));
51911
+ if (sheet.motion?.length)
51912
+ out.push(text(motionText(sheet.motion, input.reference)));
50908
51913
  if (input.measures?.length)
50909
51914
  out.push(text(`THE MEASURES (ours):\n${input.measures.join('\n')}`));
50910
51915
  if (input.gateFindings?.length)
@@ -50929,6 +51934,9 @@ function criticRoundContent(input, sheet, layout = CriticSheetLayout.Cached) {
50929
51934
  const CALIBRATION_MAX_ERROR = 0.5;
50930
51935
  /** AD-D3: how close the cheaper critic must stay to the dearer one for a round to switch to it. */
50931
51936
  const CRITIC_SWITCH_WITHIN = 0.3;
51937
+ /** R-H22 (AD-D28): on the mean over the copy/distinct pairs, the copy may score at most this much above the distinct pages —
51938
+ * one half point on one dimension moves a design mean by 0.07, so a strict ≤ failed on a tie the tester scored alike. */
51939
+ const R_H22_TOLERANCE = 0.25;
50932
51940
  var CalibrationKind;
50933
51941
  (function (CalibrationKind) {
50934
51942
  /** A page of the designer-loop proof (law, hotel). */
@@ -51004,12 +52012,15 @@ function calibrationReport(pages, answers, options) {
51004
52012
  const meanDifference = both.length === pages.length ? mean(both) : null;
51005
52013
  agreement = { ...options.compare, meanDifference, within: meanDifference !== null && meanDifference <= CRITIC_SWITCH_WITHIN };
51006
52014
  }
51007
- const likeness = models.flatMap(m => (options.likenessProbes ?? []).map(probe => {
52015
+ const probes = options.likenessProbes ?? [];
52016
+ const likeness = probes.length ? models.map(m => {
51008
52017
  const designMean = (id) => m.rows.find(r => r.pageId === id)?.criticMean ?? null;
51009
- const copyMean = designMean(probe.copy);
51010
- const distinctMean = designMean(probe.distinct);
51011
- return { model: m.model, ...probe, copyMean, distinctMean, passes: copyMean !== null && distinctMean !== null && copyMean <= distinctMean };
51012
- }));
52018
+ const pairs = probes.map(probe => ({ ...probe, copyMean: designMean(probe.copy), distinctMean: designMean(probe.distinct) }));
52019
+ const answered = pairs.every(p => p.copyMean !== null && p.distinctMean !== null);
52020
+ const copyMean = answered ? mean(pairs.map(p => p.copyMean)) : null;
52021
+ const distinctMean = answered ? mean(pairs.map(p => p.distinctMean)) : null;
52022
+ return { model: m.model, pairs, copyMean, distinctMean, passes: copyMean !== null && distinctMean !== null && copyMean <= distinctMean + R_H22_TOLERANCE };
52023
+ }) : [];
51013
52024
  return { models, agreement, likeness };
51014
52025
  }
51015
52026
 
@@ -52757,5 +53768,5 @@ function roundBrief(input) {
52757
53768
  * Generated bundle index. Do not edit.
52758
53769
  */
52759
53770
 
52760
- export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_LOOK, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_MODEL_STEPS, AI_PICTURE_MAKERS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_RUNS_AS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiPictureMaker, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyPace, BodyRepairCode, BodySeam, BodySectionWord, BodyTexture, BorrowKind, BuildNoticeCode, BuildStep, CALIBRATION_MAX_ERROR, CAPTURE_VIEWPORTS, CAPTURE_VIEW_ORDER, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, COLOUR_TOKEN$1 as COLOUR_TOKEN, COMPOSITION, CONCEPT_MIN_DISTANCE, CONCEPT_SECTIONS, CONTENT_ROLE_MEANINGS, COPY_OUT, COUNT_ACTION, CREDITS_PER_USD, CRITIC_BUG_RULE, CRITIC_CHANGES, CRITIC_CROPS, CRITIC_CROP_MAX_ZOOM, CRITIC_CROP_RECIPES, CRITIC_DESIGN_DIMENSIONS, CRITIC_DIMENSIONS, CRITIC_FLAGGED_CROPS, CRITIC_LEVEL_RULE, CRITIC_OUTPUT_NAME, CRITIC_RUBRIC_DIMENSIONS, CRITIC_RUBRIC_HEADLINE, CRITIC_RUBRIC_POLISH, CRITIC_RUBRIC_SOURCE, CRITIC_SCORE, CRITIC_SHEET_DROP_ORDER, CRITIC_SHEET_MAX_IMAGES, CRITIC_STILL_RULE, CRITIC_SWITCH_WITHIN, CalibrationKind, CaptureView, CaptureWidth, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ColourAccent, ColourAction, ColourBands, ColourDark, ColourGround, ColourIngredient, ColourMixError, ColourPictures, ColourRepairCode, ColourRhythm, ColourSource, ColourWash, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, CriticContentKind, CriticDimension, CriticIssueCode, CriticSheetLayout, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, DESIGNER_CAP_OVER_ESTIMATE, DESIGNER_CONCEPTS, DESIGNER_CONCEPTS_OUTPUT_NAME, DESIGNER_CONCEPT_ROUNDS, DESIGNER_DIRECTION_OUTPUT_NAME, DESIGNER_DONE, DESIGNER_FLAT_ROUNDS, DESIGNER_FLAT_STEP, DESIGNER_LESSONS, DESIGNER_LESSONS_SEED, DESIGNER_LESSONS_SOURCE, DESIGNER_MORE_CONCEPTS, DESIGNER_ROUNDS_EXPECTED, DESIGNER_ROUND_CAPS, DESIGNER_ROUND_RULES, DESIGNER_ROUND_TOKENS, DESIGN_ACTION_KEY_ORDER, DESIGN_ACT_VALUES, DESIGN_BASE_LAYER, DESIGN_END_INDEX, DESIGN_ENTRANCE_TRIGGERS, DESIGN_FONTS_CHOICE, DESIGN_LAYERS, DESIGN_NODE_KEY_ORDER, DESIGN_NONE, DESIGN_NO_STYLE, DESIGN_PAGE_PARENT, DESIGN_PARAM_PREFIX, DESIGN_PICTURE_PROPS, DESIGN_POINTER_STATES, DESIGN_RECIPES, DESIGN_ROW_KEY_ORDER, DESIGN_SAID_PROPS, DESIGN_STATES, DESIGN_TOOL_SCHEMAS, DESIGN_TRACK_KEY_ORDER, DESIGN_TRIGGER_META, DESIGN_TRIGGER_ON_STATE, DESIGN_WIDTHS, DESIGN_WORD_PROPS, DIRECTION_NAMED_PARTS, DIRECTION_PICTURE_FAMILIES, DOM_HEADER_BAR_MAX_PX, DOM_INHALE_MAX_PX, DOM_SIGNATURES, DOM_STRUCTURE_VERSION, DRAWER_BEAT_MS, DRAWER_KINDS, DRAWER_LETTER_MS, DRAWER_LINE_MS, DRAWER_SPINE, DRAWER_STEPS, DesignDocIndex, DesignIssueCode, DesignMeta, DesignRecipe, DesignTool, DesignTurn, DesignerDirectionIssueCode, DesignerPageRole, DesignerQuoteRow, DesignerSpendStop, DesignerStop, DirectionIssueCode, DirectionTypeRole, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOLLOW_LINK_ROLE, FOLLOW_ROW_FAMILY, FOLLOW_ROW_ROLE, FOLLOW_TARGET, FOOTER_FRAMED_STYLES, FOOTER_GROUND_SCHEME, FOOTER_INSET_STYLES, FOOTER_LEGAL_ROLE, FOOTER_ROW_HOLDS, FOOTER_SOCIAL_NETWORKS, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREEDOM_COPY_DISTANCE, FREEDOM_REPEAT_DISTANCE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_FOOTER_CENTRED, FREE_FOOTER_NO_PART, FREE_FOOTER_PAGE_ROW, FREE_FORM_PRESET, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_OPENING_BOXES, FREE_OPEN_LIGHTBOX, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_SLOT_SEPARATOR, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FollowRowView, FooterArrange, FooterBefore, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterNameStyle, FooterPhone, FooterRepairCode, FooterRole, FreeFooterPart, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeSlotKind, FreeTrigger, FreedomIssueCode, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_BAR_PX, HEADER_REST_FRAMES, HEADER_TOKEN, HEADER_VEIL, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPORT_NAV_MAX, IMPRINT_COUNTRIES, ISRAEL, ITEM_PAGE_ONLY_ROLES, ImportPattern, JOINED_HEADER_PADDING, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAID_CONTACT_FAMILY, LAID_FIRST_FAMILY, LAID_PLAIN_FAMILY, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_ENTRANCE_TRIGGERS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_WORDS, LAYOUT_NEAR_MISS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_SETTLE_PASSES, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGACY_BODY_INGREDIENTS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LESSON_ALL_KINDS, LESSON_MIN_MOVE, LESSON_WEIGHT, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_SAY_WORDS, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, LessonIssueCode, LessonSource, LessonStatus, ListPartChange, ListPartOutcome, ListSayCode, ListWordRefusal, LookEditKind, MAX_SITE_PICTURES, MENU_SHELF_RULES, MIN_REFERENCE_SECTIONS, MOTION_ENTRANCE_TRIGGERS, MOTION_PICTURE_TYPES, MOTION_POINTER_TRIGGERS, MOTION_TRIGGERS, MOTION_UI_TYPES, MOVING_OPENING_MEDIA, MenuSide, MotionRule, MoveOp, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_DISSOLVE, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OURS_ALONE_VIEWS, OURS_ALONE_WORDS, OpeningExtra, OpeningFrame, OpeningGround, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_HOVER_MAX_MS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_SETTLE_MAX_MS, PICTURE_TEXT_CONTRAST, PICTURE_TOKENS_UNKNOWN_MAKER, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, POPUP_GLOBAL_ID, POPUP_LINK_WORD, POPUP_WIRE_INGREDIENTS, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PatternScrolls, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PicturesRefused, PlaceOp, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PopupMixError, PopupRefusal, PreflightRefusalCode, PriceBindTarget, PromptLimit, PublishRefusalCode, PublishScope, READING_SHAPES, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, RoundRuleId, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRIM_WORDS_PAD, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SETTLE_ACTION, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_FINDING_WORDS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PAGE_MOVED_ASIDE, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_SOCIAL_FIELDS, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_FIT_ANY, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MAX_SEARCHES, STOCK_MIN_KEPT, STOCK_NEVER_PHRASES, STOCK_NEVER_WORDS, STOCK_OPENING_TYPE_WORDS, STOCK_PLACE_TYPE_WORDS, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STOCK_TRADE_NEVER_WORDS, STOCK_TRADE_PLACE_WORDS, STOCK_TRADE_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STRUCTURE_WEIGHTS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionShape, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, SocialLinkRefusal, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, StructureReader, StructureSignature, TEMPLATE_TYPE_WORDS, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, UI_MOTION_MAX_MS, VISION_TOKEN_CAP, VISION_TOKEN_TILE, WORDS_AREA_DEFAULT_SHARE, WordsEdge, YIELD_MIN_COLUMNS, YIELD_MIN_ROW_SHARE, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiModelStep, aiRefusalNext, aiStepParts, applyDesignOps, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, archetypeRank, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, baseOrder, beforeOf, bentoFill, bentoFillsParams, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWithColourBands, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, boxSides, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calibrationReport, calmParts, calmUnder, canonicalDesignNode, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, carrySection, checkAdditions, checkBody, checkCarry, checkColour, checkFooter, checkFree, checkFreeFooter, checkFreeSection, checkHeader, checkLayout, checkList, checkOpening, checkPopup, chooseOpeningWay, chooseScrim, chooseTypeLedOpening, colourAccentMax, colourCheckOf, colourDesignWords, colourGroundsMax, colourMeaning, colourMix, colourMixFromWords, colourMixOfPlan, colourMixWords, colourReferences, colourRhythmIssues, colourTokenOf, colourWireWords, colourWordDrawn, colourWordOffered, colourWordTier, colourWordWaits, colourWords, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListAccordion, composeListFrame, composeListLightbox, composeListTabs, composeNavHeader, composeOpening, composePopup, composePresetForm, composeQuoteCarousel, composeReferenceFooter, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composesPage, composingShare, compositionBorrows, compositionSwaps, conceptsDistinct, conceptsIssues, contactFactsOf, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, criticAnswerIssues, criticAnswerSchema, criticRoundContent, criticRubricText, criticSystem, criticVerdict, critiqueCostUsd, cssMs, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, designDocIssues, designForPlan, designFreedomIssues, designMotionIssues, designOpIssues, designOpsOfLayout, designOpsOfLook, designSceneTracks, designSideName, designToolSchema, designTraitSlots, designerConceptsSchema, designerDirectionIssues, designerDirectionSchema, designerLessonsIssues, designerQuote, designerRoundCredits, designerRoundScore, designerSpendGate, designerStopDecision, dissolveInteraction, distinctFallbackSections, distinctFooter, distinctHeader, domSectionShapeOf, drawerRamp, drawerRestX, drawerStepCount, drawerSteps, drawerWidth, drawersTiming, drawnBodyMix, drawnColourMix, drawnFooterMix, drawnHeaderMix, drawnMenuShows, drawnOpeningMix, dressMenuPictures, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeFooter, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, expectedRounds, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, fieldsOf, figuresNotIn, fillContactFacts, filledItemNumbers, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followSiteSocials, followedAfter, followedIssues, footerCallLine, footerCallWord, footerClosingRefusal, footerFaceOf, footerMeaning, footerMix, footerMixFromFree, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPart, footerPartNode, footerPattern, footerPatternIdOf, footerReferences, footerSignsUp, footerSocialLinks, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWordOffered, footerWordTier, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeFooterBrief, freeFooterContextOf, freeFooterFaceOf, freeFooterGrounds, freeFooterOrMix, freeFooterPartMeaning, freeFooterSlotOffers, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeNodeStyleIssues, freeOpeningOffer, freePhoneNeeds, freeSchemeOf, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeSlotLine, freeSlotOf, freeSlotOffers, freeSlotWord, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerGroundWhenUnreadable, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerReadableOfSite, headerReadsAtRest, headerRecipe, headerReferences, headerRestInks, headerRestTokenOf, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerVeilAt, headerWireWords, headerWordDrawn, headerWords, holdsFollowRow, holdsStatedSocial, importRedirects, importSlug, importedPicturesOf, isActiveBuild, isAdditionKey, isDesignRecipe, isDrawers, isFilledItem, isFreeBox, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPeopleContentType, isPerItemPage, isPictureWorld, isPlainObject, isPopupNode, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, itemFillApplies, joinPageHeader, joinSameGround, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, keepSavedFollowRows, layerMetricsOf, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutCounterDepth, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNearMiss, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutSectionKindsOffered, layoutShapeHasPurpose, layoutSignatureOffered, layoutSignaturesOffered, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, lessonLine, lessonRank, lessonsForPrompt, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, listedContentType, lookHasGlass, lowestDimensions, luminanceOf, measureFree, measureLayout, measuredCategories, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuCardPicture, menuCollectionsOfPlan, menuLookOf, menuWords, modelCanDo, moreConceptsOffer, motionIssueCounts, motionIssueKey, moveBarItem, moveEntrance, nameStyleOf, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, neighbourFaults, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingDisplaySize, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingPictureSrc, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, opensFullUnderFloat, opensOnPicture, orderPlaces, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, ownerSocialLink, paceIssues, paddingKeepingClear, pageBuildSource, pageKindOf, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternPartSlots, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneOf, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureSlotPage, pictureTargets, pictureTokensFor, pictureTryFits, picturedOpeningWays, picturelessTypes, picturesRefusedOf, pinnedPagesOf, pixelsUnder, placeFilm, placedDesignNode, placeholderContentTypes, plainCarryText, planCritiqueSheet, planDesignChoices, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFooterContext, planFromTemplate, planHasShopSource, planHeader, planImport, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planStockSearch, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, planWrites, plannedStructure, plateYields, polishOf, popupKeptNotices, popupMeaning, popupMixFromWords, popupMixOfPlan, popupTokenOf, popupWireWords, presetColourMix, previousRoute, pricesIn, proHeader, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quoteItemOf, quoteListOf, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, recipeListBinds, recipeOptionValue, recognisedSocialLinks, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, referenceFooterLayout, refitBuiltPage, refitPage, refreshSectionStamps, refusesStock, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, roleField, roughTokens, roundBrief, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionPictureFamily, sectionPictured, sectionShapeOf, sectionSkeleton, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceRepeats, sequenceShare, sequenceTokenOf, setStyleProps, settleLayoutPage, shapeKeys, sheetImageCount, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteMeasures, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteSocialLinks, siteSocialPatch, siteTreeOf, siteTreeOfPlan, skeletonOf, slotBudget, socialLinkOf, socialLinksByNetwork, socialLinksList, socialLinksPart, splitCssValue, splitFreeFooter, splitSide, stampFooterMix, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, statedWhatsAppHref, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFitFor, stockFits, stockGroupOf, stockItemSlots, stockKept, stockMayFill, stockPhotoFits, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSearchFocus, stockSearchQuery, stockSearchTerm, stockSlotFamily, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, structureDistance, structureOfDom, structureOfFingerprint, structureOfLayoutPage, structureOfReading, structureOfReference, structureOfTree, swapOf, swapParts, tierOf, tierOffers, toneOf, typeLedGroundFor, typeLedGrounds, typeLedNotices, typeLedOpeningSection, typeLedOpeningWays, typeLedPlateColour, typeLedPlates, typeLedRound, typeLedSection, typeLedYield, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, visionImageTokens, walkFree, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withConsentBanner, withDerivedSources, withDistinctFooter, withDistinctHeader, withFollowRow, withHeaderWord, withListWord, withOpeningWord, withShownList, withTypeOpening, withTypeSignUp, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
53771
+ export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_LOOK, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_MODEL_STEPS, AI_PICTURE_MAKERS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_RUNS_AS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiPictureMaker, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyPace, BodyRepairCode, BodySeam, BodySectionWord, BodyTexture, BorrowKind, BuildNoticeCode, BuildStep, CALIBRATION_MAX_ERROR, CAPTURE_VIEWPORTS, CAPTURE_VIEW_ORDER, CARD_HERO_TEXT_MAX, CARD_NUMBER_ROWS, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, COLOUR_TOKEN$1 as COLOUR_TOKEN, COMPOSITION, CONCEPT_MIN_DISTANCE, CONCEPT_SECTIONS, CONTENT_ROLE_MEANINGS, COPY_OUT, COUNT_ACTION, CREDITS_PER_USD, CRITIC_BUG_RULE, CRITIC_CARD_LEVEL_WORDS, CRITIC_CHANGES, CRITIC_CROPS, CRITIC_CROP_MAX_ZOOM, CRITIC_CROP_RECIPES, CRITIC_DESIGN_DIMENSIONS, CRITIC_DIMENSIONS, CRITIC_FLAGGED_CROPS, CRITIC_LEVEL_RULE, CRITIC_MOTION_RULE, CRITIC_OUTPUT_NAME, CRITIC_RUBRIC_DIMENSIONS, CRITIC_RUBRIC_HEADLINE, CRITIC_RUBRIC_POLISH, CRITIC_RUBRIC_SOURCE, CRITIC_SCORE, CRITIC_SHEET_DROP_ORDER, CRITIC_SHEET_MAX_IMAGES, CRITIC_STILL_RULE, CRITIC_SWITCH_WITHIN, CalibrationKind, CaptureView, CaptureWidth, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ColourAccent, ColourAction, ColourBands, ColourDark, ColourGround, ColourIngredient, ColourMixError, ColourPictures, ColourRepairCode, ColourRhythm, ColourSource, ColourWash, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, CriticContentKind, CriticDimension, CriticIssueCode, CriticSheetLayout, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, DESIGNER_CAP_OVER_ESTIMATE, DESIGNER_CONCEPTS, DESIGNER_CONCEPTS_OUTPUT_NAME, DESIGNER_CONCEPT_ROUNDS, DESIGNER_DIRECTION_OUTPUT_NAME, DESIGNER_DONE, DESIGNER_FLAT_ROUNDS, DESIGNER_FLAT_STEP, DESIGNER_LESSONS, DESIGNER_LESSONS_SEED, DESIGNER_LESSONS_SOURCE, DESIGNER_MORE_CONCEPTS, DESIGNER_ROUNDS_EXPECTED, DESIGNER_ROUND_CAPS, DESIGNER_ROUND_RULES, DESIGNER_ROUND_TOKENS, DESIGN_ACTION_KEY_ORDER, DESIGN_ACT_VALUES, DESIGN_BASE_LAYER, DESIGN_END_INDEX, DESIGN_ENTRANCE_TRIGGERS, DESIGN_FONTS_CHOICE, DESIGN_LAYERS, DESIGN_NODE_KEY_ORDER, DESIGN_NONE, DESIGN_NO_STYLE, DESIGN_PAGE_PARENT, DESIGN_PARAM_PREFIX, DESIGN_PICTURE_PROPS, DESIGN_POINTER_STATES, DESIGN_RECIPES, DESIGN_ROW_KEY_ORDER, DESIGN_SAID_PROPS, DESIGN_STATES, DESIGN_TOOL_SCHEMAS, DESIGN_TRACK_KEY_ORDER, DESIGN_TRIGGER_META, DESIGN_TRIGGER_ON_STATE, DESIGN_WIDTHS, DESIGN_WORD_PROPS, DIRECTION_NAMED_PARTS, DIRECTION_PICTURE_FAMILIES, DOM_HEADER_BAR_MAX_PX, DOM_INHALE_MAX_PX, DOM_SIGNATURES, DOM_STRUCTURE_VERSION, DRAWER_BEAT_MS, DRAWER_KINDS, DRAWER_LETTER_MS, DRAWER_LINE_MS, DRAWER_SPINE, DRAWER_STEPS, DesignDocIndex, DesignIssueCode, DesignMeta, DesignRecipe, DesignTool, DesignTurn, DesignerDirectionIssueCode, DesignerPageRole, DesignerQuoteRow, DesignerSpendStop, DesignerStop, DirectionIssueCode, DirectionTypeRole, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOLLOW_LINK_ROLE, FOLLOW_ROW_FAMILY, FOLLOW_ROW_ROLE, FOLLOW_TARGET, FOOTER_FRAMED_STYLES, FOOTER_GROUND_SCHEME, FOOTER_INSET_STYLES, FOOTER_LEGAL_ROLE, FOOTER_ROW_HOLDS, FOOTER_SOCIAL_NETWORKS, FOOTER_TOKEN, FORM_LEGAL_ROLE, FREEDOM_COPY_DISTANCE, FREEDOM_REPEAT_DISTANCE, FREE_BUILDER_TYPE, FREE_CONTRAST, FREE_ELEMENT_STYLES, FREE_FOOTER_CENTRED, FREE_FOOTER_NO_PART, FREE_FOOTER_PAGE_ROW, FREE_FORM_PRESET, FREE_HOLDERS, FREE_HOVER_PROPS, FREE_LEAD_ROLE, FREE_MOVES, FREE_OPENING_BOXES, FREE_OPEN_LIGHTBOX, FREE_PHONE_LAYERS, FREE_PHONE_LIMITS, FREE_SECTIONS, FREE_SLOT_SEPARATOR, FREE_STYLE_PROPS, FREE_TOKEN_PROPS, FREE_TO_LAYOUT_CODE, FREE_WIRE_NODE_KEYS, FREE_WORD_TYPES, FallbackOpeningKept, FilmUnplaced, FindingGrouping, FollowRowView, FooterArrange, FooterBefore, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterNameStyle, FooterPhone, FooterRepairCode, FooterRole, FreeFooterPart, FreeIssueCode, FreeLayer, FreeNodeType, FreePictures, FreePurpose, FreeSlotKind, FreeTrigger, FreedomIssueCode, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_BAR_PX, HEADER_REST_FRAMES, HEADER_TOKEN, HEADER_VEIL, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPORT_NAV_MAX, IMPRINT_COUNTRIES, ISRAEL, ITEM_PAGE_ONLY_ROLES, ImportPattern, JOINED_HEADER_PADDING, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAID_CONTACT_FAMILY, LAID_FIRST_FAMILY, LAID_PLAIN_FAMILY, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_COLUMN_MENDED, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_ENTRANCE_TRIGGERS, LAYOUT_FONT_SIZE, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_WORDS, LAYOUT_NEAR_MISS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_SETTLE_PASSES, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGACY_BODY_INGREDIENTS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LESSON_ALL_KINDS, LESSON_MIN_MOVE, LESSON_WEIGHT, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_FRAME_STYLE_KEYS, LIST_INGREDIENTS, LIST_ITEM_MIN_PX, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_SAY_WORDS, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, LessonIssueCode, LessonSource, LessonStatus, ListPartChange, ListPartOutcome, ListSayCode, ListWordRefusal, LookEditKind, MAX_SITE_PICTURES, MENU_SHELF_RULES, MIN_REFERENCE_SECTIONS, MOTION_ENTRANCE_TRIGGERS, MOTION_PICTURE_TYPES, MOTION_POINTER_TRIGGERS, MOTION_TRIGGERS, MOTION_UI_TYPES, MOVING_OPENING_MEDIA, MenuSide, MotionRule, MoveOp, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_CUE_MAX_WIDTH, OPENING_DISSOLVE, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OURS_ALONE_VIEWS, OURS_ALONE_WORDS, OpeningExtra, OpeningFrame, OpeningGround, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_HOVER_MAX_MS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_SETTLE_MAX_MS, PICTURE_TEXT_CONTRAST, PICTURE_TOKENS_UNKNOWN_MAKER, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, POPUP_GLOBAL_ID, POPUP_LINK_WORD, POPUP_WIRE_INGREDIENTS, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PatternScrolls, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PicturesRefused, PlaceOp, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PopupMixError, PopupRefusal, PreflightRefusalCode, PriceBindTarget, PromptLimit, PublishRefusalCode, PublishScope, READING_SHAPES, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, R_H22_TOLERANCE, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, RoundRuleId, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRIM_WORDS_PAD, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SETTLE_ACTION, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_FINDING_WORDS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PAGE_MOVED_ASIDE, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_SOCIAL_FIELDS, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, STOCK_ALT_MAX, STOCK_FACETS, STOCK_FACET_VOCABULARY, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_FIT_ANY, STOCK_GENERIC_WORDS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MAX_SEARCHES, STOCK_MIN_KEPT, STOCK_NEVER_PHRASES, STOCK_NEVER_WORDS, STOCK_OPENING_TYPE_WORDS, STOCK_PLACE_NAMES, STOCK_PLACE_TYPE_WORDS, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECTS_HE, STOCK_SUBJECT_WORDS, STOCK_TRADE_NEVER_WORDS, STOCK_TRADE_PLACE_WORDS, STOCK_TRADE_WORDS, STOCK_UNRELATED_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STRUCTURE_WEIGHTS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionShape, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePageStatus, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, SocialLinkRefusal, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOffSubject, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, StructureReader, StructureSignature, TEMPLATE_TYPE_WORDS, TYPE_LED_KEPT, TYPE_LED_OPTIONAL_PARTS, TYPE_LED_SWAPS, TypeLedChangeKind, UI_MOTION_MAX_MS, VISION_TOKEN_CAP, VISION_TOKEN_TILE, WORDS_AREA_DEFAULT_SHARE, WordsEdge, YIELD_MIN_COLUMNS, YIELD_MIN_ROW_SHARE, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiModelStep, aiRefusalNext, aiStepParts, applyDesignOps, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, archetypeRank, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, barLabelFits, barLabels, baseOrder, beforeOf, bentoFill, bentoFillsParams, bestAssignment, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWithColourBands, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, boxSides, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calibrationReport, calmParts, calmUnder, canonicalDesignNode, canonicalNodeJson, canonicalValue, captureMotionOf, cardNumbers, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, carrySection, checkAdditions, checkBody, checkCarry, checkColour, checkFooter, checkFree, checkFreeFooter, checkFreeSection, checkHeader, checkLayout, checkList, checkOpening, checkPopup, chooseOpeningWay, chooseScrim, chooseTypeLedOpening, colourAccentMax, colourCheckOf, colourDesignWords, colourGroundsMax, colourMeaning, colourMix, colourMixFromWords, colourMixOfPlan, colourMixWords, colourReferences, colourRhythmIssues, colourTokenOf, colourWireWords, colourWordDrawn, colourWordOffered, colourWordTier, colourWordWaits, colourWords, columnIssues, composablePage, composeContextOf, composeFreePage, composeFreeSection, composeLayout, composeListAccordion, composeListFrame, composeListInSection, composeListLightbox, composeListTabs, composeNavHeader, composeOpening, composePopup, composePresetForm, composeQuoteCarousel, composeReferenceFooter, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composesPage, composingShare, compositionBorrows, compositionSwaps, conceptsDistinct, conceptsIssues, contactFactsOf, contentSizedBand, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, criticAnswerIssues, criticAnswerSchema, criticRoundContent, criticRubricText, criticSystem, criticVerdict, critiqueCostUsd, cssMs, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, designDocIssues, designForPlan, designFreedomIssues, designMotionIssues, designOpIssues, designOpsOfLayout, designOpsOfLook, designSceneTracks, designSideName, designToolSchema, designTraitSlots, designerConceptsSchema, designerDirectionIssues, designerDirectionSchema, designerLessonsIssues, designerQuote, designerRoundCredits, designerRoundScore, designerSpendGate, designerStopDecision, dissolveInteraction, distinctFallbackSections, distinctFooter, distinctHeader, domSectionShapeOf, drawerRamp, drawerRestX, drawerStepCount, drawerSteps, drawerWidth, drawersTiming, drawnBodyMix, drawnColourMix, drawnFooterMix, drawnHeaderMix, drawnMenuShows, drawnOpeningMix, dressMenuPictures, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, emptyPictures, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandFreeFooter, expandFreeWire, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, expectedRounds, factIssues, failedBuildStep, fallBackBySection, fallBackFree, fallbackFingerprintOf, fallbackFingerprintOfPlanPage, fieldToWire, fieldsOf, figuresNotIn, fillContactFacts, filledItemNumbers, filmOfPlan, filmPlacement, findNavRoot, findOpening, findingMessageOf, findingSentence, fingerprintOf, fingerprintOfPlanPage, followSiteSocials, followedAfter, followedIssues, footerCallLine, footerCallWord, footerClosingRefusal, footerFaceOf, footerMeaning, footerMix, footerMixFromFree, footerMixFromWords, footerMixOfPlan, footerMixWords, footerNameFits, footerPart, footerPartNode, footerPattern, footerPatternIdOf, footerReferences, footerSignsUp, footerSocialLinks, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWordOffered, footerWordTier, footerWords, formAsksPersonalData, formLegalFacts, frameWords, freeContrastIssues, freeControlsOf, freeFooterBrief, freeFooterContextOf, freeFooterFaceOf, freeFooterGrounds, freeFooterOrMix, freeFooterPartMeaning, freeFooterSlotOffers, freeMoveOf, freeMoveWord, freeMoveWords, freeNodeId, freeNodeStyleIssues, freeOpeningOffer, freePhoneNeeds, freeSchemeOf, freeSectionAsLayout, freeSectionOwner, freeSignaturePage, freeSlotIssues, freeSlotLine, freeSlotOf, freeSlotOffers, freeSlotWord, freeStampedId, freeStyleIssues, freeStyleToSlots, freeStyleWithoutSlot, freeToWire, freeWireJsonSchema, freeWirePath, generationTierOf, groundToneOf, groupSentence, groupSiteFindings, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerGroundWhenUnreadable, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerReadableOfSite, headerReadsAtRest, headerRecipe, headerReferences, headerRestInks, headerRestTokenOf, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerVeilAt, headerWireWords, headerWordDrawn, headerWords, holdsFollowRow, holdsStatedSocial, importRedirects, importSlug, importedPicturesOf, inhaleRows, isActiveBuild, isAdditionKey, isDesignRecipe, isDrawers, isFilledItem, isFreeBox, isHandPageKey, isImportPlan, isLayoutRule, isLegalKind, isNonEmptyString, isPeopleContentType, isPerItemPage, isPictureWorld, isPlainObject, isPopupNode, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, itemFillApplies, joinPageHeader, joinSameGround, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, keepListParts, keepSavedFollowRows, layerMetricsOf, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsOffered, layoutColumnsVw, layoutCounterDepth, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNearMiss, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutSectionKindsOffered, layoutShapeHasPurpose, layoutSignatureOffered, layoutSignaturesOffered, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, lessonLine, lessonRank, lessonsForPrompt, listBindingOfType, listBuiltWords, listColumns, listDetailOf, listFrameInFlow, listIngredientWords, listMeaning, listMixFromWords, listMixOfFrame, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listSaidSentence, listSectionRows, listSentence, listShapeOfType, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRef, listWordRefs, listWordRefusal, listWordTier, listWords, listedContentType, lookHasGlass, lowestDimensions, luminanceOf, measureFree, measureLayout, measuredCategories, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuCardPicture, menuCollectionsOfPlan, menuLookOf, menuWords, modelCanDo, moreConceptsOffer, motionIssueCounts, motionIssueKey, motionLine, motionText, moveBarItem, moveEntrance, nameStyleOf, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, neighbourFaults, nestSitePages, nextSourceOf, nodeBindPaths, numbersText, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingDisplaySize, openingFromSection, openingGallery, openingGalleryIdOf, openingHarnessWord, openingIsTypeLed, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingPictureSrc, openingRecipe, openingReferences, openingTokenOf, openingTokenParts, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, opensFullUnderFloat, opensOnPicture, orderPlaces, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, ownerSocialLink, paceIssues, paddingKeepingClear, pageBuildSource, pageKindOf, pageListIssues, pageShowsShop, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternPartSlots, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneOf, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, pictureMakerOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureSlotPage, pictureTargets, pictureTokensFor, pictureTryFits, picturedOpeningWays, picturelessTypes, picturesRefusedOf, pinnedPagesOf, pixelsUnder, placeFilm, placedDesignNode, placeholderContentTypes, plainCarryText, planCritiqueSheet, planDesignChoices, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFooterContext, planFromTemplate, planHasShopSource, planHeader, planImport, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planStockSearch, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, planWrites, plannedStructure, plateYields, polishOf, popupKeptNotices, popupMeaning, popupMixFromWords, popupMixOfPlan, popupTokenOf, popupWireWords, presetColourMix, previousRoute, pricesIn, proHeader, promptLimitsOf, publishRefusal, publishVerdict, quietMoveEntrance, quoteItemOf, quoteListOf, quotesIn, readHeader, readOpening, readyMadeColumn, readyMadeToken, recipeListBinds, recipeOptionValue, recognisedSocialLinks, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, referenceFooterLayout, refitBuiltPage, refitPage, refreshSectionStamps, refusesStock, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, roleField, roughTokens, roundBrief, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBreaks, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionPictureFamily, sectionPictured, sectionRows, sectionShapeOf, sectionSkeleton, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceRepeats, sequenceShare, sequenceTokenOf, setStyleProps, settleLayoutPage, shapeKeys, sheetImageCount, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteMeasures, siteNavPages, sitePages, sitePagesOf, siteParentRoute, siteSells, siteSocialLinks, siteSocialPatch, siteTreeOf, siteTreeOfPlan, skeletonOf, slotBudget, socialLinkOf, socialLinksByNetwork, socialLinksList, socialLinksPart, splitCssValue, splitFreeFooter, splitSide, stampFooterMix, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, statedWhatsAppHref, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFacetsOf, stockFitFor, stockFits, stockGroupOf, stockItemSlots, stockKept, stockMayFill, stockNearWords, stockPhotoAlt, stockPhotoFits, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockPlaceNamesIn, stockPlaceNear, stockRelevance, stockSearchFocus, stockSearchQuery, stockSearchTerm, stockSlotFamily, stockSlots, stockSubjectsHe, stockTagPhrases, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, structureDistance, structureOfDom, structureOfFingerprint, structureOfLayoutPage, structureOfReading, structureOfReference, structureOfTree, swapOf, swapParts, tierOf, tierOffers, toneOf, typeLedGroundFor, typeLedGrounds, typeLedNotices, typeLedOpeningSection, typeLedOpeningWays, typeLedPlateColour, typeLedPlates, typeLedRound, typeLedSection, typeLedYield, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, visionImageTokens, visitMetricsOf, visitNumbersOf, walkFree, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withConsentBanner, withDerivedSources, withDistinctFooter, withDistinctHeader, withFollowRow, withHeaderWord, withListWord, withOpeningWord, withShownList, withTypeOpening, withTypeSignUp, withoutFreeOrphans, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, wornOpenings, writtenTexts };
52761
53772
  //# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map