efficient-web-builder 67.4.0 → 67.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/editor/lib/document/block-offer.d.ts +6 -0
  3. package/dist/editor/lib/document/block-offer.js +1 -1
  4. package/dist/editor/lib/document/blocks/general/Flex/fields.js +1 -1
  5. package/dist/editor/lib/document/blocks/general/Footprint/fields.js +1 -1
  6. package/dist/editor/lib/document/blocks/general/ParagraphsA/fields.js +1 -1
  7. package/dist/editor/lib/document/blocks/general/ProcessSteps/fields.js +1 -1
  8. package/dist/editor/lib/document/blocks/general/StatsParagraph/fields.js +1 -1
  9. package/dist/editor/lib/document/blocks/general/Timeline/fields.js +1 -1
  10. package/dist/editor/lib/document/blocks/general/TimelineTrack/fields.js +1 -1
  11. package/dist/editor/lib/document/blocks/general/TitleWithButtons/fields.js +1 -1
  12. package/dist/editor/lib/document/field-groups.js +1 -1
  13. package/dist/format/lib/content/accordion-row-style.d.ts +4 -1
  14. package/dist/format/lib/content/accordion-row-style.js +1 -1
  15. package/dist/format/lib/document/passes/types.d.ts +2 -0
  16. package/dist/render/components/BoxAccordionRow.d.ts +2 -1
  17. package/dist/render/components/BoxAccordionRow.js +1 -1
  18. package/dist/render/components/Flex.js +1 -1
  19. package/dist/render/components/Footprint.d.ts +3 -1
  20. package/dist/render/components/Footprint.js +1 -1
  21. package/dist/render/components/ParagraphsA.d.ts +3 -1
  22. package/dist/render/components/ParagraphsA.js +1 -1
  23. package/dist/render/components/ProcessSteps.d.ts +3 -1
  24. package/dist/render/components/ProcessSteps.js +1 -1
  25. package/dist/render/components/StatsParagraph.d.ts +3 -1
  26. package/dist/render/components/StatsParagraph.js +1 -1
  27. package/dist/render/components/Timeline.d.ts +3 -1
  28. package/dist/render/components/Timeline.js +1 -1
  29. package/dist/render/components/TimelineTrack.d.ts +3 -1
  30. package/dist/render/components/TimelineTrack.js +1 -1
  31. package/dist/render/components/TitleWithButtons.d.ts +3 -1
  32. package/dist/render/components/TitleWithButtons.js +1 -1
  33. package/dist/render/lib/content/section-padding.d.ts +20 -0
  34. package/dist/render/lib/content/section-padding.js +1 -1
  35. package/dist/render/lib/document/blocks/general/Footprint/render.js +1 -1
  36. package/dist/render/lib/document/blocks/general/ParagraphsA/render.js +1 -1
  37. package/dist/render/lib/document/blocks/general/ProcessSteps/render.js +1 -1
  38. package/dist/render/lib/document/blocks/general/StatsParagraph/render.js +1 -1
  39. package/dist/render/lib/document/blocks/general/Timeline/render.js +1 -1
  40. package/dist/render/lib/document/blocks/general/TimelineTrack/render.js +1 -1
  41. package/dist/render/lib/document/blocks/general/TitleWithButtons/render.js +1 -1
  42. package/dist/render/lib/document/blocks/general/section-to-box-row-parts.js +1 -1
  43. package/dist/render/lib/document/blocks/general/section-to-box-rows-head.js +1 -1
  44. package/dist/render/lib/document/passes/section-padding.d.ts +4 -0
  45. package/dist/render/lib/document/passes/section-padding.js +1 -1
  46. package/dist/render/lib/sections/section-to-box.d.ts +1 -0
  47. package/dist/render/lib/sections/section-to-box.js +1 -1
  48. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 67.5.0 - 2026-11-11
4
+
5
+ From main at `bd876886`: #718, #719, #720. A minor: no `!`, no export is removed, the peers stay `efficient-easel` `^34.1.0` and `efficient-shell` `^12.33.0`. New exports, one widened type and optional props only. No stored key or value moves.
6
+
7
+ **For hosts:**
8
+ - Nothing to change. Plain and Numbered accordion rows draw the bytes they drew (#720). An inner section with no band padding keeps its old top and bottom padding (#719).
9
+ - The `padTop` / `padBottom` component props of the seven inner sections are deprecated (#719); they still work. Move to the band's Padding row; they are removed in a later major.
10
+ - storefront-blocks: check each host row with `hostPressOutsideItsList` (#718); the side filter rail can fold with row style `chevron` (#720); DetailRows, ProductGrid and FooterLogo can take the band padding (#719).
11
+
12
+ ### Added
13
+
14
+ - **Each host press names its blocks** (#718): new `HOST_PRESS_BLOCKS` (each host-row press type and the host blocks its row lays down), `HostPressFault` and `hostPressOutsideItsList`. `HOST_PRESS_TYPES` is now `Object.keys(HOST_PRESS_BLOCKS)`: same names, order and type. A guard checks every named block for a set before a release.
15
+ - **Inner sections join the one Padding row** (#719): the seven inner sections take the four-side Padding row on their band. New exports `BAND_PAD_KEYS`, `BAND_PAD_UNIT_KEY`, `BandPad`, `bandPadAttrs`, `bandTopBottom`, `BAND_TO_SECTION_PAD`, `SECTION_PAD_CLASS`, `innerPaddingFallback`; optional `bandPad` on 7 components.
16
+ - **A chevron row style for an accordion** (#720): `AccordionRowStyle` gains `"chevron"` (set by a host's template, not a panel choice): a rule above each row, 12 px rows, the shell's chevron that turns when open. New exports `CHEVRON_ROW_CLASS`, `CHEVRON_ROW_SUMMARY_CLASS`, `CHEVRON_ROW_MARK_CLASS`; `BoxAccordionRow` optional prop `chevron`. A Box that stores chevron hides the Row style choice.
17
+
3
18
  ## 67.4.0 - 2026-11-11
4
19
 
5
20
  From main at `95e3acc7`: #715, #716. A minor: no `!`, no export is removed, the peers stay `efficient-easel` `^34.1.0` and `efficient-shell` `^12.33.0`. One new export and one optional field. No stored key or value moves.
@@ -7,6 +7,12 @@ export interface BlockOffer {
7
7
  }
8
8
  export declare function blocksLaidDownBy(type: string): readonly string[];
9
9
  export declare function blocksOutsideItsSet(type: string, laid?: readonly string[], setOf?: (type: string) => BlockSet | undefined, needs?: Readonly<Record<string, PressNeedsSet>>): readonly string[];
10
+ export type HostPressFault = {
11
+ readonly type: string;
12
+ readonly block: string;
13
+ readonly fault: "unlisted" | "not laid down";
14
+ };
15
+ export declare function hostPressOutsideItsList(list?: Readonly<Record<string, readonly string[]>>, laidOf?: (type: string) => readonly string[], setOf?: (type: string) => BlockSet | undefined): readonly HostPressFault[];
10
16
  export declare function resolveBlockOffer(blocks: EditorBlocks | null | undefined): BlockOffer | null;
11
17
  export declare function blockOfferOf(session?: EditorSession): BlockOffer | null;
12
18
  export declare function blockIsOffered(type: string, session?: EditorSession): boolean;
@@ -1 +1 @@
1
- import{offeredSets as h}from"../editor-blocks.js";import{currentEaselSession as d}from"efficient-easel/screen/lib/session";import{blocksOf as p}from"../website-session.js";import{layoutPresetFor as k}from"../sections/text-layouts.js";import{blockTypesIn as u}from"efficient-easel/screen/lib/document/block-types-in";import{blockSetOf as w,PRESS_NEEDS_SET as T}from"../../../format/lib/document/section-catalog.js";import{SLOT_SECTION_SPECS as _}from"../../../render/lib/document/slot-specs.js";import{ownEntry as S}from"../../../format/lib/own-entry.js";const m=()=>({}),E=new Map;function O(e){const s=E.get(e);if(s)return s;const t=new Set,i=S(_,e);if(i)for(const o of i.seeds(m))for(const c of u({type:i.childType,props:o}))t.add(c);const f=k(e);if(f){let o=0;for(const c of u(f(m,n=>`${n}-${o+=1}`)))t.add(c)}t.delete(e);const l=[...t].sort();return E.set(e,l),l}function C(e,s=O(e),t=w,i=T){const f=new Set(["general"]),l=t(e);l&&f.add(l);const o=S(i,e);o&&!o.blocks&&f.add(o.set);const c=new Set(o?.blocks??[]);return s.filter(n=>{const r=t(n);return r&&r===o?.set&&c.has(n)?!1:!r||!f.has(r)})}function x(e){if(!e||!e.sets&&!e.allow&&!e.deny?.length)return null;const s=h(e),t=e.allow?new Set(e.allow):null,i=new Set(e.deny??[]),f=new Set(Object.keys(e.host??{})),l=n=>{if(i.has(n))return!1;if(f.has(n))return!0;const r=w(n);return!r||!s[r]?!1:t?t.has(n):!0},o=new Map,c=n=>{const r=o.get(n);if(r!==void 0)return r;o.set(n,!1);const a=l(n)&&O(n).every(c);return o.set(n,a),a};return{sets:s,offers:c}}const b="block-offer";function g(e=d()){return e.cache(b,()=>x(p(e)))}function M(e,s=d()){const t=g(s);return t?t.offers(e):!0}export{M as blockIsOffered,g as blockOfferOf,O as blocksLaidDownBy,C as blocksOutsideItsSet,x as resolveBlockOffer};
1
+ import{offeredSets as h}from"../editor-blocks.js";import{currentEaselSession as S}from"efficient-easel/screen/lib/session";import{blocksOf as E}from"../website-session.js";import{layoutPresetFor as k}from"../sections/text-layouts.js";import{blockTypesIn as w}from"efficient-easel/screen/lib/document/block-types-in";import{blockSetOf as u,PRESS_NEEDS_SET as _}from"../../../format/lib/document/section-catalog.js";import{SLOT_SECTION_SPECS as b}from"../../../render/lib/document/slot-specs.js";import{ownEntry as m}from"../../../format/lib/own-entry.js";import{HOST_PRESS_BLOCKS as T}from"../../../render/lib/sections/section-to-box.js";const p=()=>({}),O=new Map;function d(e){const f=O.get(e);if(f)return f;const o=new Set,c=m(b,e);if(c)for(const t of c.seeds(p))for(const n of w({type:c.childType,props:t}))o.add(n);const s=k(e);if(s){let t=0;for(const n of w(s(p,r=>`${r}-${t+=1}`)))o.add(n)}o.delete(e);const i=[...o].sort();return O.set(e,i),i}function v(e,f=d(e),o=u,c=_){const s=new Set(["general"]),i=o(e);i&&s.add(i);const t=m(c,e);t&&!t.blocks&&s.add(t.set);const n=new Set(t?.blocks??[]);return f.filter(r=>{const l=o(r);return l&&l===t?.set&&n.has(r)?!1:!l||!s.has(l)})}function K(e=T,f=d,o=u){const c=[];for(const[s,i]of Object.entries(e)){const t=f(s);if(t.length!==0){for(const n of t)o(n)!=="general"&&!i.includes(n)&&c.push({type:s,block:n,fault:"unlisted"});for(const n of i)t.includes(n)||c.push({type:s,block:n,fault:"not laid down"})}}return c}function g(e){if(!e||!e.sets&&!e.allow&&!e.deny?.length)return null;const f=h(e),o=e.allow?new Set(e.allow):null,c=new Set(e.deny??[]),s=new Set(Object.keys(e.host??{})),i=r=>{if(c.has(r))return!1;if(s.has(r))return!0;const l=u(r);return!l||!f[l]?!1:o?o.has(r):!0},t=new Map,n=r=>{const l=t.get(r);if(l!==void 0)return l;t.set(r,!1);const a=i(r)&&d(r).every(n);return t.set(r,a),a};return{sets:f,offers:n}}const x="block-offer";function I(e=S()){return e.cache(x,()=>g(E(e)))}function M(e,f=S()){const o=I(f);return o?o.offers(e):!0}export{M as blockIsOffered,I as blockOfferOf,d as blocksLaidDownBy,v as blocksOutsideItsSet,K as hostPressOutsideItsList,g as resolveBlockOffer};
@@ -1 +1 @@
1
- import{jsx as r}from"react/jsx-runtime";import{phoneKey as i,tabletKey as l}from"efficient-easel/draw";import{BOX_CARD_PAD as E,BOX_SWATCH_PROP as ko,boxCardProps as Ho,boxIsCard as I}from"../../../../../../format/lib/content/box-background.js";import{BOX_IS_CARD_RULE as Fo,BOX_IS_NOT_CARD_RULE as Wo,BOX_ROW_IMAGE_PROP as yo}from"../../../../../../format/lib/content/box-card-rule.js";import{CARD_ROW_FACTS as Bo,cardRowField as M,cardRowFields as xo,cardRowLinkField as Uo,typedLinkField as Mo}from"../../../card-row-fields.js";import{CARD_ROW_LINK_PROP as Ko,cardCopyPlace as K,cardTemplateCardOwner as Xo}from"../../../../../../format/lib/content/card-template.js";import{BOX_SHOW_KEY as Go,HOVER_GROUP_KEY as Yo,HOVER_KEY as T}from"../../../../../../format/lib/animation/hover.js";import{BOX_HIGHLIGHT_ROW as vo,BOX_NEXT_PICTURE_ROW as jo}from"../../../../animation/hover-fields.js";import{darkenFields as Vo}from"../../../darken-fields.js";import{BOX_TAB_SHAPES as Jo,REEL_SHAPE_LABELS as zo}from"../../../../../../format/lib/reel.js";import{LAYOUT_CELL as X,CARD_LIST_STYLE_PICTURES as qo,TAB_SHAPE_PICTURES as Qo}from"../../../choice-pictures.js";import{CARD_STYLE_KEY as A,CARD_STYLE_POINTS as Zo,applyCardStyle as $o,isCardStyle as oe}from"../../../../../../render/lib/sections/card-list-style.js";import{deviceField as a}from"efficient-easel/screen/lib/document/device-fields";import{ChevronDownIcon as ee,ClockIcon as ne,CropIcon as G,GapIcon as te,MediaLayoutStackedIcon as Y,LineBetweenIcon as re,LineSolidIcon as ie,ListIcon as le,NumberedListIcon as v,ShadowIcon as ae,StylesIcon as j,TableIcon as V,TargetIcon as se,WrapIcon as J}from"efficient-easel/icons";import{boxBlockSpacingField as de,boxFillField as ce,boxColumnsFields as _e,boxShareField as pe,boxSharePhoneField as Oe,boxShareTabletField as Se,containerDirectionField as me,containerGapRows as fe,linkField as Re,plainText as ue,swapPadding as z,toggle as c,upload as q,withPanelOnly as he}from"../../../controls.js";import{BOX_STACK_LINE as L,BOX_STACK_RANGE as R,STACK_BELOW_PROP as N}from"../../../../../../render/lib/content/box-stack-line.js";import{BOX_SHAPES as Q,boxShapeOf as Ce}from"../../../../../../format/lib/content/box-shape.js";import{BOX_ANGLE_PROP as Ae}from"../../../../../../format/lib/content/box-angle.js";import{shapeLines as Z}from"../../../../../../format/lib/content/gallery-card-layout.js";import{shapePickerRow as $}from"../../../shape-picker.js";import{ACCORDION_COLUMN_COUNTS as we,ACCORDION_PHONE_COLUMN_COUNTS as Ee,BOX_COLUMNS_MAX as g,BOX_COLUMNS_MIN as b,boxPhoneRowOneLine as Te,boxWrapWordOf as oo}from"../../../../../../format/lib/content/box-layout.js";import{BOX_SEPARATOR_POINTS as eo}from"../../../../../../format/lib/content/box-separator.js";import{BOX_WRAP_LABEL as no,VIEW_KEY_ACCESS as s,group as u,phoneTwinFields as d}from"efficient-easel/screen/lib/document/box-fields";import{angleRow as Ne,boxAlignField as De,boxJustifyField as Ie,boxWrapField as D,iconPickerRow as P,placementField as Le,select as k,sidesPaddingFields as to,slider as ro}from"../../../box-fields.js";import{withRowRules as ge,withShowWhen as H}from"../../../../../../render/lib/document/show-when.js";import{separatorField as be}from"../../../separator-field.js";import{LOOP_SCROLLS as Pe}from"../../../../../../format/lib/animation/index.js";import{DEFAULT_TICKER_JOIN as ke,TICKER_JOIN_OPTIONS as He}from"../../../../../../format/lib/sections/ticker-join.js";import{NOT_HELD_BY_A_NODE as io}from"../../../../../../format/lib/document/passes/document-position.js";import{BOX_SIDE_SPACE_PROP as lo}from"../../../../../../format/lib/content/box-side-space.js";import{boxSideSpaceField as Fe}from"../../../box-side-space-field.js";import{accordionOnSet as We}from"../../../box-accordion-seed.js";import{ACCORDION_ROW_STYLE_POINTS as ye,ACCORDION_ROW_STYLE_PROP as F}from"../../../../../../format/lib/content/accordion-row-style.js";import{FlexSlots as ao}from"../../../../../../format/lib/document/blocks/general/Flex/meta.js";import{BOX_TYPE as Be,CONTAINER_BLOCKS_SLOT as xe}from"../../../../../../format/lib/document/container-blocks.js";import{boxPhoneOrderField as Ue}from"../../../box-phone-order-field.js";import{CARD_BOX_FACTS as Me,ON_A_CARD as so,ON_A_PICTURE_OR_CARD as Ke,cardDisplayField as W}from"../../../card-display-chips.js";import{MIRROR_CARDS_FACTS as Xe,MIRROR_CARDS_MIRRORS as Ge,mirrorCardsField as Ye}from"../../../mirror-cards-field.js";import{handedRowOf as co}from"../../../../../../format/lib/document/row-hand.js";import{SHOW_FOR_FACTS as ve,showForField as je,showForFields as Ve}from"../../../show-for-field.js";import{SHARED_COLUMNS_KEY as h,SHARED_COLUMNS_LABEL as _o,SHARED_COLUMNS_OFF as po,sharedColumnsDrawn as Oo,sharedColumnsFits as So,SHARED_COLUMNS_PHONE_POINTS as Je,SHARED_COLUMNS_POINTS as ze,sharedRowsDrawn as qe}from"../../../../../../render/lib/content/box-shared-columns.js";const mo=Fo,fo={all:[{field:"phoneRow",in:[2,3]},{not:{field:"direction",is:"accordion"}}]},Qe={field:"direction",is:"tabs"},Ze={field:"line",in:[!0,!1]},$e={field:"anchor",set:!0},y=["fixed","screen","fill"],on={not:{any:[{field:"sectionHeightMode",in:y},{field:"sectionHeightModeTablet",in:y},{field:"sectionHeightModePhone",in:y}]}},en={context:"parent.line",is:!0},_={not:{field:"direction",is:"accordion"}},Ro={field:"direction",is:"accordion"},uo={any:[_,{not:{field:F,is:"numbered"}},{field:"columns",in:[...we]},{field:"phoneRow",in:[...Ee]}]},ho="notAccordionRow",nn={not:{context:ho,is:!0}},tn={[ho]:(o,e)=>e.parent?.props?.direction!=="accordion"},B={field:"direction",is:"row",default:"row"},p={not:Pe},O={all:[B,p,{not:{field:"separator",in:eo.map(o=>o.value)}},{not:{field:"line",is:!0}}]},rn={field:"direction",is:"column"},Co={all:[O,...["columns",l("columns")].map(o=>({not:{field:o,in:Array.from({length:g},(e,n)=>n+b)}}))]},ln={all:[p,{not:{all:[B,{field:"separator",in:eo.map(o=>o.value)}]}}]},x={not:{all:[O,{field:"columns",in:Array.from({length:g},(o,e)=>e+b)}]}},an="sharedColumnsFits",Ao="sharedColumnsMisfit",wo="sharedColumnsDraws",Eo="sharedColumnsPhoneDraws";function S(o,e){return Ho(o.props??{},K(e.appState,o.props?.id)?.inCopy!==!1)}const sn={[an]:(o,e)=>So(S(o,e)),[Ao]:(o,e)=>!So(S(o,e)),[wo]:(o,e)=>Oo(S(o,e)).desktop,[Eo]:(o,e)=>Oo(S(o,e)).phone};function To(o){return{all:[{not:{context:Ao,is:!0}},{any:[so,{field:o,set:!0}]}]}}const m={not:{context:wo,is:!0}},C={not:{context:Eo,is:!0}},No="sharedRowsDraws",dn={[No]:(o,e)=>qe(S(o,e))&&co(e.appState,o.props?.id)?.row===void 0},w={not:{context:No,is:!0}},cn={any:[m,C]},U=Wo,_n={not:{context:Ge,is:!0}},Do="rowHanded",pn={not:{context:Do,is:!0}},On={[Do]:(o,e)=>{const n=co(e.appState,o.props?.id);return n===void 0?void 0:n?.row!==void 0}},Io={all:[_,U,m,C,_n]},Sn={field:"direction",is:"row"},mn={field:"align",in:["start","center","end"]},fn={all:[{field:"darken",set:!0},{not:{field:"darken",in:[0,"0"]}}]};function Rn(){const{darken:o,darkenStyle:e}=Vo();return{...d("darken",o,s),...d("darkenStyle",e,s)}}const Lo={not:{all:[O,{field:l("columns"),in:Array.from({length:g},(o,e)=>e+b)}]}};function un(){const o=c(no,!1,r(J,{})),e=n=>{const t=oo(n);return t===void 0?void 0:t==="wrap"};return{...D(),render:n=>o.render({...n,value:e(n.value),follows:e(n.follows)??!1,onChange:t=>n.onChange(t===void 0?void 0:t?"wrap":"nowrap")})}}function hn(){const o=c(no,!0,r(J,{})),e=n=>{const t=oo(n);return t===void 0?void 0:t==="wrap"};return{...D(),render:n=>{const t=n.followsView==="tablet";return o.render({...n,value:e(n.value),follows:!Te(void 0,t?n.follows:void 0),followsNoView:!t,onChange:f=>n.onChange(f===void 0?void 0:f?"wrap":"nowrap")})}}}const go={hint:L},bo={all:[U,{any:[rn,{all:[O,Lo,{not:{all:[Co,{field:l("share"),set:!0}]}}]}]}]},Cn=H(a("desktop",ro("Narrows below",r(Y,{}),R.min,R.max,R.step,L,{kind:"breakpoint"},{clear:go,hint:"Under this screen width the side space narrows and the Phone Padding is used."})),bo);function An(o,e){const n=o;return!(N in n)||e.direction!=="column"?o:{...n,[N]:Cn}}const St={fields:ge({_gContent:u("Content"),rowTitle:ao.rowTitle,content:ao.content,_gCardDisplay:u("Display"),cardDisplay:W("desktop"),cardDisplayTablet:W("tablet"),cardDisplayPhone:W("mobile"),showFor:je(),_gLayout:u("Layout"),direction:me("Flex"),tabShape:P("Tab shape",r(j,{}),Jo.map(o=>({label:zo[o],value:o,picture:Qo[o]})),"tabs",{columns:2,cell:X}),mirrorCards:Ye(),[N]:a("desktop",ro("Stacks below",r(Y,{}),R.min,R.max,R.step,L,{kind:"breakpoint"},{clear:go,hint:"Under this screen width the blocks stand one under another, with the Phone Gap and Padding."})),[lo]:Fe(),startsOpen:a("desktop",c("Starts open",!1,r(ee,{}))),[F]:a("desktop",P("Row style",r(v,{}),ye.map(o=>({...o,picture:o.value==="numbered"?r(v,{}):r(le,{})})),"plain",{columns:2})),label:he(ue("Tab name")),...fe("Flex"),...d("justify",Ie(),s),...d("align",De(),s),...(()=>{const o=d("wrap",D(),s,{phoneRow:hn()}),e=d("wrap",D(),s,{phoneRow:un()});return{wrap:e.wrap,[l("wrap")]:e[l("wrap")],[i("wrap")]:o[i("wrap")]}})(),[i("order")]:Ue(),...d("boxShape",$("Box shape",r(G,{}),Z(Q),"shape","auto"),s,{phoneRow:$("Box shape",r(G,{}),Z(Q),"shape","auto",{phoneRest:o=>Ce(o)})}),[Ae]:a("desktop",Ne(0,{clear:{hint:0},hint:"Turns the box. 0° is straight."})),separator:be(r(re,{size:18}),"none"),[A]:a("desktop",P("Card style",r(j,{}),Zo.map(o=>({...o,picture:qo[o.value]})),"table",{columns:2,cell:X})),share:a("desktop",pe()),[l("share")]:Se(),[i("share")]:Oe(),[h]:a("desktop",k(_o,r(V,{}),[...ze],po)),[i(h)]:a("mobile",k(_o,r(V,{}),[...Je],po)),..._e(),...d("blockSpacing",de(),s),line:c("Line",!1,r(ie,{}),"A line across the blocks, with a dot on each."),upcoming:c("Upcoming",!1,r(ne,{}),"Still to come: a hollow dot, and the gold line stops before it."),join:k("Join",r(te,{}),He,ke),_gShadow:u("Shadow"),...d("shadow",c("Shadow",!1,r(ae,{})),s),...d("fillColor",ce(),s),[ko]:M("Fill content","colour"),_gBackground:u("Background image"),bgImage:a("desktop",q("Image","image/*")),bgImagePhone:a("mobile",q("Image","image/*")),[yo]:M("Image content","image",{content:!0}),...Rn(),placement:Le("Content position"),_gLink:u("Link"),link:Mo(Re("Link to")),[Ko]:Uo(),jumpHighlight:c("Highlight when a link jumps here",!1,r(se,{}),"When a link lands on this Box's anchor, the Box gets a main color outline and its first block turns the main color.")},[[["darken","darkenStyle","placement"],mo],[[i("share")],{all:[fo,C]}],[[h],To(h)],[[i(h)],To(i(h))],[[i("wrap")],{all:[fo,p,C,w]}],[[i("order")],{all:[O,C,m]}],[["phoneRow"],C],[[F],Ro],[["tabShape"],Qe],[["rowTitle","startsOpen"],nn],[["align","blockSpacing",l("blockSpacing"),i("blockSpacing")],_],[[l("justify"),i("justify")],{all:[p,Io,w]}],[[l("align"),i("align")],{all:[Sn,mn,Io]}],[[l("wrap")],{all:[p,x,Lo,m,_,w]}],[[l("shadow"),i("shadow")],U],[[l("darken"),i("darken"),l("darkenStyle"),i("darkenStyle")],{all:[mo,fn]}],[["separator"],B],[[A],{field:A,set:!0}],[["columns"],{any:[O,Ro]}],[[l("columns")],O],[[N],bo],[[l("gap")],{all:[ln,uo]}],[["gap",i("gap")],uo],[["justify"],{all:[p,cn,_,w]}],[["wrap"],{all:[p,x,m,_,w]}],[["share"],{all:[x,m,_]}],[[l("share")],{all:[Co,m]}],[["line"],Ze],[["upcoming"],en],[["jumpHighlight"],$e],[["boxShape",l("boxShape"),i("boxShape")],on],[["direction","share",i("order")],pn],[["join"],io],[[lo],io]]),resolveData:(o,e)=>{const n=o.props,t=n[A];return e.changed?.[A]===!0&&oe(t)?{...o,props:$o(n,t,Be,xe)}:n.direction==="accordion"&&(e.trigger==="insert"||e.changed?.direction===!0)?{...o,props:We(n)}:o},resolveFields:(o,e)=>{const n=K(e.appState,o.props?.id)?.inCopy===!0,t=n&&Xo(e.appState,o.props?.id)===null;return An(Tn(Nn(Ve(Dn(o,{...e,fields:xo(e.fields,o,e)}),o.props),S(o,e),n),t),o.props)},showWhenFacts:{...Bo,...Me,...Xe,...On,...sn,...dn,...ve,...tn}},wn=H(vo,so),En=["darken","darkenStyle",Yo,Go];function Tn(o,e){if(!e)return o;const n={...o};for(const t of En){if(!(t in n))continue;const{showWhen:f,...Po}=n[t];n[t]=Po}return n}function Nn(o,e,n=!1){const t=o;return T in t&&I(e)&&n?{...t,[T]:H(jo,Ke)}:!(T in t)||I(e)?o:{...t,[T]:wn}}function Dn(...[o,e]){const{fields:n}=e;{if(I(S(o,e))){const f=to({fallback:{top:E.desktop,bottom:E.desktop,left:E.side,right:E.side},tablet:!0,siteSide:!0});return z(n,f)}return o.props.padV2!==!0?z(n,to({fallback:{top:24,bottom:24},tablet:!0,siteSide:!0})):n}}export{St as FlexFields};
1
+ import{jsx as r}from"react/jsx-runtime";import{phoneKey as i,tabletKey as l}from"efficient-easel/draw";import{BOX_CARD_PAD as E,BOX_SWATCH_PROP as ko,boxCardProps as Ho,boxIsCard as L}from"../../../../../../format/lib/content/box-background.js";import{BOX_IS_CARD_RULE as Fo,BOX_IS_NOT_CARD_RULE as Wo,BOX_ROW_IMAGE_PROP as yo}from"../../../../../../format/lib/content/box-card-rule.js";import{CARD_ROW_FACTS as Bo,cardRowField as M,cardRowFields as xo,cardRowLinkField as Uo,typedLinkField as Mo}from"../../../card-row-fields.js";import{CARD_ROW_LINK_PROP as Ko,cardCopyPlace as K,cardTemplateCardOwner as Xo}from"../../../../../../format/lib/content/card-template.js";import{BOX_SHOW_KEY as Go,HOVER_GROUP_KEY as Yo,HOVER_KEY as T}from"../../../../../../format/lib/animation/hover.js";import{BOX_HIGHLIGHT_ROW as vo,BOX_NEXT_PICTURE_ROW as jo}from"../../../../animation/hover-fields.js";import{darkenFields as Vo}from"../../../darken-fields.js";import{BOX_TAB_SHAPES as Jo,REEL_SHAPE_LABELS as zo}from"../../../../../../format/lib/reel.js";import{LAYOUT_CELL as X,CARD_LIST_STYLE_PICTURES as qo,TAB_SHAPE_PICTURES as Qo}from"../../../choice-pictures.js";import{CARD_STYLE_KEY as A,CARD_STYLE_POINTS as Zo,applyCardStyle as $o,isCardStyle as oe}from"../../../../../../render/lib/sections/card-list-style.js";import{deviceField as a}from"efficient-easel/screen/lib/document/device-fields";import{ChevronDownIcon as ee,ClockIcon as ne,CropIcon as G,GapIcon as te,MediaLayoutStackedIcon as Y,LineBetweenIcon as re,LineSolidIcon as ie,ListIcon as le,NumberedListIcon as v,ShadowIcon as ae,StylesIcon as j,TableIcon as V,TargetIcon as se,WrapIcon as J}from"efficient-easel/icons";import{boxBlockSpacingField as de,boxFillField as ce,boxColumnsFields as _e,boxShareField as pe,boxSharePhoneField as Oe,boxShareTabletField as Se,containerDirectionField as me,containerGapRows as fe,linkField as Re,plainText as he,swapPadding as z,toggle as c,upload as q,withPanelOnly as ue}from"../../../controls.js";import{BOX_STACK_LINE as g,BOX_STACK_RANGE as R,STACK_BELOW_PROP as N}from"../../../../../../render/lib/content/box-stack-line.js";import{BOX_SHAPES as Q,boxShapeOf as Ce}from"../../../../../../format/lib/content/box-shape.js";import{BOX_ANGLE_PROP as Ae}from"../../../../../../format/lib/content/box-angle.js";import{shapeLines as Z}from"../../../../../../format/lib/content/gallery-card-layout.js";import{shapePickerRow as $}from"../../../shape-picker.js";import{ACCORDION_COLUMN_COUNTS as we,ACCORDION_PHONE_COLUMN_COUNTS as Ee,BOX_COLUMNS_MAX as b,BOX_COLUMNS_MIN as P,boxPhoneRowOneLine as Te,boxWrapWordOf as oo}from"../../../../../../format/lib/content/box-layout.js";import{BOX_SEPARATOR_POINTS as eo}from"../../../../../../format/lib/content/box-separator.js";import{BOX_WRAP_LABEL as no,VIEW_KEY_ACCESS as s,group as h,phoneTwinFields as d}from"efficient-easel/screen/lib/document/box-fields";import{angleRow as Ne,boxAlignField as De,boxJustifyField as Ie,boxWrapField as D,iconPickerRow as k,placementField as Le,select as H,sidesPaddingFields as to,slider as ro}from"../../../box-fields.js";import{withRowRules as ge,withShowWhen as F}from"../../../../../../render/lib/document/show-when.js";import{separatorField as be}from"../../../separator-field.js";import{LOOP_SCROLLS as Pe}from"../../../../../../format/lib/animation/index.js";import{DEFAULT_TICKER_JOIN as ke,TICKER_JOIN_OPTIONS as He}from"../../../../../../format/lib/sections/ticker-join.js";import{NOT_HELD_BY_A_NODE as io}from"../../../../../../format/lib/document/passes/document-position.js";import{BOX_SIDE_SPACE_PROP as lo}from"../../../../../../format/lib/content/box-side-space.js";import{boxSideSpaceField as Fe}from"../../../box-side-space-field.js";import{accordionOnSet as We}from"../../../box-accordion-seed.js";import{ACCORDION_ROW_STYLE_POINTS as ye,ACCORDION_ROW_STYLE_PROP as I}from"../../../../../../format/lib/content/accordion-row-style.js";import{FlexSlots as ao}from"../../../../../../format/lib/document/blocks/general/Flex/meta.js";import{BOX_TYPE as Be,CONTAINER_BLOCKS_SLOT as xe}from"../../../../../../format/lib/document/container-blocks.js";import{boxPhoneOrderField as Ue}from"../../../box-phone-order-field.js";import{CARD_BOX_FACTS as Me,ON_A_CARD as so,ON_A_PICTURE_OR_CARD as Ke,cardDisplayField as W}from"../../../card-display-chips.js";import{MIRROR_CARDS_FACTS as Xe,MIRROR_CARDS_MIRRORS as Ge,mirrorCardsField as Ye}from"../../../mirror-cards-field.js";import{handedRowOf as co}from"../../../../../../format/lib/document/row-hand.js";import{SHOW_FOR_FACTS as ve,showForField as je,showForFields as Ve}from"../../../show-for-field.js";import{SHARED_COLUMNS_KEY as u,SHARED_COLUMNS_LABEL as _o,SHARED_COLUMNS_OFF as po,sharedColumnsDrawn as Oo,sharedColumnsFits as So,SHARED_COLUMNS_PHONE_POINTS as Je,SHARED_COLUMNS_POINTS as ze,sharedRowsDrawn as qe}from"../../../../../../render/lib/content/box-shared-columns.js";const mo=Fo,fo={all:[{field:"phoneRow",in:[2,3]},{not:{field:"direction",is:"accordion"}}]},Qe={field:"direction",is:"tabs"},Ze={field:"line",in:[!0,!1]},$e={field:"anchor",set:!0},y=["fixed","screen","fill"],on={not:{any:[{field:"sectionHeightMode",in:y},{field:"sectionHeightModeTablet",in:y},{field:"sectionHeightModePhone",in:y}]}},en={context:"parent.line",is:!0},_={not:{field:"direction",is:"accordion"}},Ro={field:"direction",is:"accordion"},ho={any:[_,{not:{field:I,in:["numbered","chevron"]}},{field:"columns",in:[...we]},{field:"phoneRow",in:[...Ee]}]},uo="notAccordionRow",nn={not:{context:uo,is:!0}},tn={[uo]:(o,e)=>e.parent?.props?.direction!=="accordion"},B={field:"direction",is:"row",default:"row"},p={not:Pe},O={all:[B,p,{not:{field:"separator",in:eo.map(o=>o.value)}},{not:{field:"line",is:!0}}]},rn={field:"direction",is:"column"},Co={all:[O,...["columns",l("columns")].map(o=>({not:{field:o,in:Array.from({length:b},(e,n)=>n+P)}}))]},ln={all:[p,{not:{all:[B,{field:"separator",in:eo.map(o=>o.value)}]}}]},x={not:{all:[O,{field:"columns",in:Array.from({length:b},(o,e)=>e+P)}]}},an="sharedColumnsFits",Ao="sharedColumnsMisfit",wo="sharedColumnsDraws",Eo="sharedColumnsPhoneDraws";function S(o,e){return Ho(o.props??{},K(e.appState,o.props?.id)?.inCopy!==!1)}const sn={[an]:(o,e)=>So(S(o,e)),[Ao]:(o,e)=>!So(S(o,e)),[wo]:(o,e)=>Oo(S(o,e)).desktop,[Eo]:(o,e)=>Oo(S(o,e)).phone};function To(o){return{all:[{not:{context:Ao,is:!0}},{any:[so,{field:o,set:!0}]}]}}const m={not:{context:wo,is:!0}},C={not:{context:Eo,is:!0}},No="sharedRowsDraws",dn={[No]:(o,e)=>qe(S(o,e))&&co(e.appState,o.props?.id)?.row===void 0},w={not:{context:No,is:!0}},cn={any:[m,C]},U=Wo,_n={not:{context:Ge,is:!0}},Do="rowHanded",pn={not:{context:Do,is:!0}},On={[Do]:(o,e)=>{const n=co(e.appState,o.props?.id);return n===void 0?void 0:n?.row!==void 0}},Io={all:[_,U,m,C,_n]},Sn={field:"direction",is:"row"},mn={field:"align",in:["start","center","end"]},fn={all:[{field:"darken",set:!0},{not:{field:"darken",in:[0,"0"]}}]};function Rn(){const{darken:o,darkenStyle:e}=Vo();return{...d("darken",o,s),...d("darkenStyle",e,s)}}const Lo={not:{all:[O,{field:l("columns"),in:Array.from({length:b},(o,e)=>e+P)}]}};function hn(){const o=c(no,!1,r(J,{})),e=n=>{const t=oo(n);return t===void 0?void 0:t==="wrap"};return{...D(),render:n=>o.render({...n,value:e(n.value),follows:e(n.follows)??!1,onChange:t=>n.onChange(t===void 0?void 0:t?"wrap":"nowrap")})}}function un(){const o=c(no,!0,r(J,{})),e=n=>{const t=oo(n);return t===void 0?void 0:t==="wrap"};return{...D(),render:n=>{const t=n.followsView==="tablet";return o.render({...n,value:e(n.value),follows:!Te(void 0,t?n.follows:void 0),followsNoView:!t,onChange:f=>n.onChange(f===void 0?void 0:f?"wrap":"nowrap")})}}}const go={hint:g},bo={all:[U,{any:[rn,{all:[O,Lo,{not:{all:[Co,{field:l("share"),set:!0}]}}]}]}]},Cn=F(a("desktop",ro("Narrows below",r(Y,{}),R.min,R.max,R.step,g,{kind:"breakpoint"},{clear:go,hint:"Under this screen width the side space narrows and the Phone Padding is used."})),bo);function An(o,e){const n=o;return!(N in n)||e.direction!=="column"?o:{...n,[N]:Cn}}const St={fields:ge({_gContent:h("Content"),rowTitle:ao.rowTitle,content:ao.content,_gCardDisplay:h("Display"),cardDisplay:W("desktop"),cardDisplayTablet:W("tablet"),cardDisplayPhone:W("mobile"),showFor:je(),_gLayout:h("Layout"),direction:me("Flex"),tabShape:k("Tab shape",r(j,{}),Jo.map(o=>({label:zo[o],value:o,picture:Qo[o]})),"tabs",{columns:2,cell:X}),mirrorCards:Ye(),[N]:a("desktop",ro("Stacks below",r(Y,{}),R.min,R.max,R.step,g,{kind:"breakpoint"},{clear:go,hint:"Under this screen width the blocks stand one under another, with the Phone Gap and Padding."})),[lo]:Fe(),startsOpen:a("desktop",c("Starts open",!1,r(ee,{}))),[I]:a("desktop",k("Row style",r(v,{}),ye.map(o=>({...o,picture:o.value==="numbered"?r(v,{}):r(le,{})})),"plain",{columns:2})),label:ue(he("Tab name")),...fe("Flex"),...d("justify",Ie(),s),...d("align",De(),s),...(()=>{const o=d("wrap",D(),s,{phoneRow:un()}),e=d("wrap",D(),s,{phoneRow:hn()});return{wrap:e.wrap,[l("wrap")]:e[l("wrap")],[i("wrap")]:o[i("wrap")]}})(),[i("order")]:Ue(),...d("boxShape",$("Box shape",r(G,{}),Z(Q),"shape","auto"),s,{phoneRow:$("Box shape",r(G,{}),Z(Q),"shape","auto",{phoneRest:o=>Ce(o)})}),[Ae]:a("desktop",Ne(0,{clear:{hint:0},hint:"Turns the box. 0° is straight."})),separator:be(r(re,{size:18}),"none"),[A]:a("desktop",k("Card style",r(j,{}),Zo.map(o=>({...o,picture:qo[o.value]})),"table",{columns:2,cell:X})),share:a("desktop",pe()),[l("share")]:Se(),[i("share")]:Oe(),[u]:a("desktop",H(_o,r(V,{}),[...ze],po)),[i(u)]:a("mobile",H(_o,r(V,{}),[...Je],po)),..._e(),...d("blockSpacing",de(),s),line:c("Line",!1,r(ie,{}),"A line across the blocks, with a dot on each."),upcoming:c("Upcoming",!1,r(ne,{}),"Still to come: a hollow dot, and the gold line stops before it."),join:H("Join",r(te,{}),He,ke),_gShadow:h("Shadow"),...d("shadow",c("Shadow",!1,r(ae,{})),s),...d("fillColor",ce(),s),[ko]:M("Fill content","colour"),_gBackground:h("Background image"),bgImage:a("desktop",q("Image","image/*")),bgImagePhone:a("mobile",q("Image","image/*")),[yo]:M("Image content","image",{content:!0}),...Rn(),placement:Le("Content position"),_gLink:h("Link"),link:Mo(Re("Link to")),[Ko]:Uo(),jumpHighlight:c("Highlight when a link jumps here",!1,r(se,{}),"When a link lands on this Box's anchor, the Box gets a main color outline and its first block turns the main color.")},[[["darken","darkenStyle","placement"],mo],[[i("share")],{all:[fo,C]}],[[u],To(u)],[[i(u)],To(i(u))],[[i("wrap")],{all:[fo,p,C,w]}],[[i("order")],{all:[O,C,m]}],[["phoneRow"],C],[[I],{all:[Ro,{not:{field:I,is:"chevron"}}]}],[["tabShape"],Qe],[["rowTitle","startsOpen"],nn],[["align","blockSpacing",l("blockSpacing"),i("blockSpacing")],_],[[l("justify"),i("justify")],{all:[p,Io,w]}],[[l("align"),i("align")],{all:[Sn,mn,Io]}],[[l("wrap")],{all:[p,x,Lo,m,_,w]}],[[l("shadow"),i("shadow")],U],[[l("darken"),i("darken"),l("darkenStyle"),i("darkenStyle")],{all:[mo,fn]}],[["separator"],B],[[A],{field:A,set:!0}],[["columns"],{any:[O,Ro]}],[[l("columns")],O],[[N],bo],[[l("gap")],{all:[ln,ho]}],[["gap",i("gap")],ho],[["justify"],{all:[p,cn,_,w]}],[["wrap"],{all:[p,x,m,_,w]}],[["share"],{all:[x,m,_]}],[[l("share")],{all:[Co,m]}],[["line"],Ze],[["upcoming"],en],[["jumpHighlight"],$e],[["boxShape",l("boxShape"),i("boxShape")],on],[["direction","share",i("order")],pn],[["join"],io],[[lo],io]]),resolveData:(o,e)=>{const n=o.props,t=n[A];return e.changed?.[A]===!0&&oe(t)?{...o,props:$o(n,t,Be,xe)}:n.direction==="accordion"&&(e.trigger==="insert"||e.changed?.direction===!0)?{...o,props:We(n)}:o},resolveFields:(o,e)=>{const n=K(e.appState,o.props?.id)?.inCopy===!0,t=n&&Xo(e.appState,o.props?.id)===null;return An(Tn(Nn(Ve(Dn(o,{...e,fields:xo(e.fields,o,e)}),o.props),S(o,e),n),t),o.props)},showWhenFacts:{...Bo,...Me,...Xe,...On,...sn,...dn,...ve,...tn}},wn=F(vo,so),En=["darken","darkenStyle",Yo,Go];function Tn(o,e){if(!e)return o;const n={...o};for(const t of En){if(!(t in n))continue;const{showWhen:f,...Po}=n[t];n[t]=Po}return n}function Nn(o,e,n=!1){const t=o;return T in t&&L(e)&&n?{...t,[T]:F(jo,Ke)}:!(T in t)||L(e)?o:{...t,[T]:wn}}function Dn(...[o,e]){const{fields:n}=e;{if(L(S(o,e))){const f=to({fallback:{top:E.desktop,bottom:E.desktop,left:E.side,right:E.side},tablet:!0,siteSide:!0});return z(n,f)}return o.props.padV2!==!0?z(n,to({fallback:{top:24,bottom:24},tablet:!0,siteSide:!0})):n}}export{St as FlexFields};
@@ -1 +1 @@
1
- import{jsx as t}from"react/jsx-runtime";import{FOOTPRINT_DEFAULTS as T}from"../../../../../../format/lib/content/footprint.js";import{HeadquartersIcon as R,LayoutIcon as P,LocationIcon as C,SearchIcon as _,ThemeIcon as w}from"efficient-easel/icons";import{CoordsField as I,copyText as v,plainText as r,sourceField as k,text as n,textarea as g,toggle as a,withPanelOnly as S}from"../../../controls.js";import{group as c,section as A}from"efficient-easel/screen/lib/document/box-fields";import{segmented as y}from"../../../box-fields.js";import{withShowWhen as i}from"../../../../../../render/lib/document/show-when.js";import{needsGeocodeWork as D,resolveGeocodeRows as x}from"../../../geocode-resolve.js";import{deviceField as s}from"efficient-easel/screen/lib/document/device-fields";import{SPLITTABLE_SECTIONS as B,headFieldsForPlacement as H}from"../../../../../../format/lib/sections/section-head-placement.js";import{innerSpacingFields as N}from"../../shared-fields.js";import{BLOCK_SOURCE_PROP as p,DEALERS_SOURCE as U,registerBlockSources as j}from"../../../../../../format/lib/content/block-sources.js";import{blockSourceField as q,blockSourceFields as G}from"../../../block-source-fields.js";import{DEALERS_BLOCK_SOURCE as M}from"../../../../../../render/lib/dealer-source.js";import{FOOTPRINT_PH as f,FootprintSlots as K}from"../../../../../../format/lib/document/blocks/general/Footprint/meta.js";import{withFootprintListTemplate as W}from"../../../../../../format/lib/document/blocks/general/Footprint/card-seed.js";const F={field:p,is:U,default:""},Q={field:"listPosition",in:["left","right"],default:"below"},L={any:[F,Q]},O={all:[L,{field:"search",is:!0,default:!1}]};j([M]);const ce={fields:{_gContent:c("Section"),sectionNumber:n("Section number",f.sectionNumber),heading:g("Heading",f.heading),tagline:g("Body",f.tagline),_gOffices:c("Offices"),[p]:q("Office content","Manual"),offices:{type:"array",label:"Offices",arrayFields:{role:r("Role"),city:r("City"),country:r("Region · country"),address:v("Address"),phone:r("Phone"),group:r("Group"),hq:a("HQ",!1,t(R,{})),geocode:k(I,{label:"Coordinates"})},defaultItemProps:{role:"Sales & Distribution",city:"City",country:"Country",address:"",phone:"",group:"",hq:!1,lat:0,lng:0},getItemSummary:e=>e?.city||"Office"},...K,mapTheme:y("Map theme",t(w,{}),[{label:"Auto",value:"auto"},{label:"Dark",value:"dark"},{label:"Light",value:"light"}],T.mapTheme),_gList:c("List"),listPosition:s("desktop",y("Position",t(P,{}),[{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Below",value:"below"}],"below")),search:s("desktop",i(a("Search",!1,t(_,{})),L)),searchHint:s("desktop",i(S(n("Hint","Type a postcode or address")),O)),noMatchText:s("desktop",i(S(n("No match","No place found. Try another postcode.")),O)),showDistance:i(a("Distance",!0,t(C,{})),F),_dLayout:A("Layout"),...N("Footprint")},resolveData:async(e,l)=>{const d=l?.changed,m=e.props;if(d?.listPosition===!0||d?.[p]===!0){const o=W(m);o!==m&&(e={...e,props:o})}const u=e.props,h=u.offices??[];if(!D(h))return e;const b=await x(h,o=>[o.address,o.city,o.country].map(E=>String(E??"").replace(/\*/g,"").trim()).filter(Boolean).join(", "));return{...e,props:{...u,offices:b}}},resolveFields:(e,{fields:l})=>H(G("Footprint",l,e.props,{hides:["offices"]}),e.props.headPlacement,B.Footprint.headRows)};export{ce as FootprintFields};
1
+ import{jsx as t}from"react/jsx-runtime";import{FOOTPRINT_DEFAULTS as L}from"../../../../../../format/lib/content/footprint.js";import{HeadquartersIcon as R,LayoutIcon as P,LocationIcon as C,SearchIcon as _,ThemeIcon as w}from"efficient-easel/icons";import{CoordsField as I,copyText as v,plainText as r,sourceField as k,text as n,textarea as g,toggle as a,withPanelOnly as S}from"../../../controls.js";import{group as c}from"efficient-easel/screen/lib/document/box-fields";import{segmented as y}from"../../../box-fields.js";import{withShowWhen as i}from"../../../../../../render/lib/document/show-when.js";import{needsGeocodeWork as A,resolveGeocodeRows as D}from"../../../geocode-resolve.js";import{deviceField as s}from"efficient-easel/screen/lib/document/device-fields";import{SPLITTABLE_SECTIONS as x,headFieldsForPlacement as B}from"../../../../../../format/lib/sections/section-head-placement.js";import{BLOCK_SOURCE_PROP as p,DEALERS_SOURCE as H,registerBlockSources as N}from"../../../../../../format/lib/content/block-sources.js";import{blockSourceField as U,blockSourceFields as j}from"../../../block-source-fields.js";import{DEALERS_BLOCK_SOURCE as q}from"../../../../../../render/lib/dealer-source.js";import{FOOTPRINT_PH as f,FootprintSlots as G}from"../../../../../../format/lib/document/blocks/general/Footprint/meta.js";import{withFootprintListTemplate as M}from"../../../../../../format/lib/document/blocks/general/Footprint/card-seed.js";const F={field:p,is:H,default:""},K={field:"listPosition",in:["left","right"],default:"below"},O={any:[F,K]},b={all:[O,{field:"search",is:!0,default:!1}]};N([q]);const le={fields:{_gContent:c("Section"),sectionNumber:n("Section number",f.sectionNumber),heading:g("Heading",f.heading),tagline:g("Body",f.tagline),_gOffices:c("Offices"),[p]:U("Office content","Manual"),offices:{type:"array",label:"Offices",arrayFields:{role:r("Role"),city:r("City"),country:r("Region · country"),address:v("Address"),phone:r("Phone"),group:r("Group"),hq:a("HQ",!1,t(R,{})),geocode:k(I,{label:"Coordinates"})},defaultItemProps:{role:"Sales & Distribution",city:"City",country:"Country",address:"",phone:"",group:"",hq:!1,lat:0,lng:0},getItemSummary:e=>e?.city||"Office"},...G,mapTheme:y("Map theme",t(w,{}),[{label:"Auto",value:"auto"},{label:"Dark",value:"dark"},{label:"Light",value:"light"}],L.mapTheme),_gList:c("List"),listPosition:s("desktop",y("Position",t(P,{}),[{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Below",value:"below"}],"below")),search:s("desktop",i(a("Search",!1,t(_,{})),O)),searchHint:s("desktop",i(S(n("Hint","Type a postcode or address")),b)),noMatchText:s("desktop",i(S(n("No match","No place found. Try another postcode.")),b)),showDistance:i(a("Distance",!0,t(C,{})),F)},resolveData:async(e,l)=>{const d=l?.changed,m=e.props;if(d?.listPosition===!0||d?.[p]===!0){const o=M(m);o!==m&&(e={...e,props:o})}const u=e.props,h=u.offices??[];if(!A(h))return e;const E=await D(h,o=>[o.address,o.city,o.country].map(T=>String(T??"").replace(/\*/g,"").trim()).filter(Boolean).join(", "));return{...e,props:{...u,offices:E}}},resolveFields:(e,{fields:l})=>B(j("Footprint",l,e.props,{hides:["offices"]}),e.props.headPlacement,x.Footprint.headRows)};export{le as FootprintFields};
@@ -1 +1 @@
1
- import{copyText as a,text as n,textarea as t}from"../../../controls.js";import{group as r}from"efficient-easel/screen/lib/document/box-fields";import{PH as d}from"../../../../../../format/lib/document/blocks/placeholders.js";import{innerSpacingFields as i}from"../../shared-fields.js";import{PARAGRAPHS_A_PH as e}from"../../../../../../format/lib/document/blocks/general/ParagraphsA/meta.js";const p={fields:{_gContent:r("Content"),eyebrow:n("Eyebrow",e.eyebrow),lead:t("Lead",d.body),stats:{type:"array",label:"Stats",arrayFields:{value:a("Number"),label:a("Unit")},getItemSummary:o=>o.label||o.value||"Stat"},_gFounders:r("Founders"),foundersHeading:t("Founders heading",e.foundersHeading),foundersBody:t("Founders statement",e.foundersBody),attribution:n("Attribution",e.attribution),_gStyle:r("Style"),...i("ParagraphsA")}};export{p as ParagraphsAFields};
1
+ import{copyText as o,text as a,textarea as t}from"../../../controls.js";import{group as n}from"efficient-easel/screen/lib/document/box-fields";import{PH as d}from"../../../../../../format/lib/document/blocks/placeholders.js";import{PARAGRAPHS_A_PH as e}from"../../../../../../format/lib/document/blocks/general/ParagraphsA/meta.js";const m={fields:{_gContent:n("Content"),eyebrow:a("Eyebrow",e.eyebrow),lead:t("Lead",d.body),stats:{type:"array",label:"Stats",arrayFields:{value:o("Number"),label:o("Unit")},getItemSummary:r=>r.label||r.value||"Stat"},_gFounders:n("Founders"),foundersHeading:t("Founders heading",e.foundersHeading),foundersBody:t("Founders statement",e.foundersBody),attribution:a("Attribution",e.attribution)}};export{m as ParagraphsAFields};
@@ -1 +1 @@
1
- import{jsx as r}from"react/jsx-runtime";import{ColumnWidthsIcon as f,ColumnsIcon as _,LayoutIcon as P,MediaLayoutStackedIcon as T,PlacementIcon as g}from"efficient-easel/icons";import{deviceField as E}from"efficient-easel/screen/lib/document/device-fields";import{cardImageFields as O,text as i,textarea as b}from"../../../controls.js";import{group as n,section as s}from"efficient-easel/screen/lib/document/box-fields";import{iconPickerRow as I,segmented as l,slider as R}from"../../../box-fields.js";import{IMAGE_TEXT_ARRANGEMENT_PICTURES as h,LAYOUT_CELL as C}from"../../../choice-pictures.js";import{BLOCK_SOURCE_EDIT_PROP as L,blockSourceEditField as x,blockSourceField as A,blockSourceFields as w}from"../../../block-source-fields.js";import{declaredBlockSource as a}from"../../../../../../format/lib/content/block-sources.js";import{ARRANGEMENT_OPTIONS as N,IMAGE_WIDTH_OPTIONS as v,PHONE_ORDER_OPTIONS as F}from"../../../../../../format/lib/content/image-text-rows.js";import{imageTextRowTemplate as y}from"../../../../../../format/lib/document/blocks/general/ProcessSteps/row-seed.js";import{SPLITTABLE_SECTIONS as D,headFieldsForPlacement as G}from"../../../../../../format/lib/sections/section-head-placement.js";import{PH as H}from"../../../../../../format/lib/document/blocks/placeholders.js";import{innerSpacingFields as W}from"../../shared-fields.js";import{withRowRules as k}from"../../../../../../render/lib/document/show-when.js";import{isNodeList as m}from"efficient-easel/data";import{PROCESS_PH as p,ProcessStepsSlots as c}from"../../../../../../format/lib/document/blocks/general/ProcessSteps/meta.js";const u={field:"arrangement",in:["rows-left","rows-right"]},d="drawsLegacySteps",S={not:{context:d,is:!0}},M={[d]:e=>{const o=e.props??{};return!a(o)&&!m(o.boxes)}},B=e=>e?.data?.root?.props??null,le={fields:k({_gSource:n("Source"),dataSource:A("Item content","Manual"),[L]:x(),_sHeader:s("Header"),_gContent:n("Content"),num:i("Number",p.num),title:i("Heading",p.title),description:b("Body",H.body),boxes:c.boxes,template:c.template,_dDesign:s("Design"),arrangement:I("Arrangement",r(P,{}),N.map(e=>({label:e.label,value:e.value,picture:h[e.value]})),"columns",{columns:3,cell:C}),imageWidth:l("Image width",r(f,{}),v.map(e=>({label:e.label,value:e.value})),"half"),phoneOrder:E("mobile",l("Order",r(T,{}),F.map(e=>({label:e.label,value:e.value})),"picture")),columns:R("Columns",r(_,{}),2,4,1,3),...O(),cardText:l("Text position",r(g,{}),[{label:"Below picture",value:"below"},{label:"On picture",value:"on-image"}],"below"),_dLayout:s("Layout"),...W("ProcessSteps")},[[["cardText"],{not:{field:"boxes",set:!0}}],[["arrangement"],S],[["imageWidth","phoneOrder"],{all:[u,S]}],[["columns"],{not:u}]]),showWhenFacts:M,resolveFields:(e,o)=>w("ProcessSteps",G(o.fields,e.props.headPlacement,D.ProcessSteps.headRows),e.props,{root:B(o.appState)}),resolveData:(e,o)=>{const t=e.props;return o?.changed?.dataSource!==!0||!a(t)||m(t.template)?e:{...e,props:{...t,template:y(String(t.id??"ProcessSteps"))}}}};export{le as ProcessStepsFields};
1
+ import{jsx as r}from"react/jsx-runtime";import{ColumnWidthsIcon as f,ColumnsIcon as _,LayoutIcon as P,MediaLayoutStackedIcon as T,PlacementIcon as E}from"efficient-easel/icons";import{deviceField as g}from"efficient-easel/screen/lib/document/device-fields";import{cardImageFields as O,text as s,textarea as b}from"../../../controls.js";import{group as i,section as n}from"efficient-easel/screen/lib/document/box-fields";import{iconPickerRow as I,segmented as l,slider as R}from"../../../box-fields.js";import{IMAGE_TEXT_ARRANGEMENT_PICTURES as h,LAYOUT_CELL as C}from"../../../choice-pictures.js";import{BLOCK_SOURCE_EDIT_PROP as x,blockSourceEditField as A,blockSourceField as w,blockSourceFields as L}from"../../../block-source-fields.js";import{declaredBlockSource as m}from"../../../../../../format/lib/content/block-sources.js";import{ARRANGEMENT_OPTIONS as N,IMAGE_WIDTH_OPTIONS as v,PHONE_ORDER_OPTIONS as F}from"../../../../../../format/lib/content/image-text-rows.js";import{imageTextRowTemplate as D}from"../../../../../../format/lib/document/blocks/general/ProcessSteps/row-seed.js";import{SPLITTABLE_SECTIONS as G,headFieldsForPlacement as H}from"../../../../../../format/lib/sections/section-head-placement.js";import{PH as W}from"../../../../../../format/lib/document/blocks/placeholders.js";import{withRowRules as k}from"../../../../../../render/lib/document/show-when.js";import{isNodeList as a}from"efficient-easel/data";import{PROCESS_PH as p,ProcessStepsSlots as c}from"../../../../../../format/lib/document/blocks/general/ProcessSteps/meta.js";const u={field:"arrangement",in:["rows-left","rows-right"]},d="drawsLegacySteps",S={not:{context:d,is:!0}},M={[d]:e=>{const o=e.props??{};return!m(o)&&!a(o.boxes)}},y=e=>e?.data?.root?.props??null,te={fields:k({_gSource:i("Source"),dataSource:w("Item content","Manual"),[x]:A(),_sHeader:n("Header"),_gContent:i("Content"),num:s("Number",p.num),title:s("Heading",p.title),description:b("Body",W.body),boxes:c.boxes,template:c.template,_dDesign:n("Design"),arrangement:I("Arrangement",r(P,{}),N.map(e=>({label:e.label,value:e.value,picture:h[e.value]})),"columns",{columns:3,cell:C}),imageWidth:l("Image width",r(f,{}),v.map(e=>({label:e.label,value:e.value})),"half"),phoneOrder:g("mobile",l("Order",r(T,{}),F.map(e=>({label:e.label,value:e.value})),"picture")),columns:R("Columns",r(_,{}),2,4,1,3),...O(),cardText:l("Text position",r(E,{}),[{label:"Below picture",value:"below"},{label:"On picture",value:"on-image"}],"below")},[[["cardText"],{not:{field:"boxes",set:!0}}],[["arrangement"],S],[["imageWidth","phoneOrder"],{all:[u,S]}],[["columns"],{not:u}]]),showWhenFacts:M,resolveFields:(e,o)=>L("ProcessSteps",H(o.fields,e.props.headPlacement,G.ProcessSteps.headRows),e.props,{root:y(o.appState)}),resolveData:(e,o)=>{const t=e.props;return o?.changed?.dataSource!==!0||!m(t)||a(t.template)?e:{...e,props:{...t,template:D(String(t.id??"ProcessSteps"))}}}};export{te as ProcessStepsFields};
@@ -1 +1 @@
1
- import{jsx as s}from"react/jsx-runtime";import{AccentIcon as i}from"efficient-easel/icons";import{backgroundField as p,plainText as e,plainTextarea as m,text as f,textarea as t,toggle as u}from"../../../controls.js";import{group as o}from"efficient-easel/screen/lib/document/box-fields";import{SPLITTABLE_SECTIONS as d,headFieldsForPlacement as n}from"../../../../../../format/lib/sections/section-head-placement.js";import{innerSpacingFields as S}from"../../shared-fields.js";import{SECTION_BG_BUILT_IN as g}from"../../../../../../format/lib/document/blocks/general/section-bg-built-in.js";import{STATS_PARAGRAPH_PH as r}from"../../../../../../format/lib/document/blocks/general/StatsParagraph/meta.js";const A={fields:{_gContent:o("Content"),eyebrow:f("Eyebrow",r.eyebrow),title:t("Heading",r.title),desc:t("Body",r.desc),stats:{type:"array",label:"Stats",arrayFields:{value:e("Number"),prefix:e("Prefix"),suffix:e("Unit"),supSuffix:e("Superscript"),emphasizeAll:u("Whole number Theme Color",!1,s(i,{})),label:e("Label"),sub:m("Body")},defaultItemProps:{value:"",prefix:"",suffix:"",supSuffix:"",emphasizeAll:!1,label:"",sub:""},getItemSummary:a=>a.label||a.value||"Stat"},_gStyle:o("Style"),background:p("Background color",g.StatsParagraph,!0),...S("StatsParagraph")},resolveFields:(a,{fields:l})=>n(l,a.props.headPlacement,d.StatsParagraph.headRows)};export{A as StatsParagraphFields};
1
+ import{jsx as s}from"react/jsx-runtime";import{AccentIcon as i}from"efficient-easel/icons";import{backgroundField as p,plainText as e,plainTextarea as m,text as f,textarea as t,toggle as u}from"../../../controls.js";import{group as l}from"efficient-easel/screen/lib/document/box-fields";import{SPLITTABLE_SECTIONS as d,headFieldsForPlacement as n}from"../../../../../../format/lib/sections/section-head-placement.js";import{SECTION_BG_BUILT_IN as S}from"../../../../../../format/lib/document/blocks/general/section-bg-built-in.js";import{STATS_PARAGRAPH_PH as r}from"../../../../../../format/lib/document/blocks/general/StatsParagraph/meta.js";const T={fields:{_gContent:l("Content"),eyebrow:f("Eyebrow",r.eyebrow),title:t("Heading",r.title),desc:t("Body",r.desc),stats:{type:"array",label:"Stats",arrayFields:{value:e("Number"),prefix:e("Prefix"),suffix:e("Unit"),supSuffix:e("Superscript"),emphasizeAll:u("Whole number Theme Color",!1,s(i,{})),label:e("Label"),sub:m("Body")},defaultItemProps:{value:"",prefix:"",suffix:"",supSuffix:"",emphasizeAll:!1,label:"",sub:""},getItemSummary:a=>a.label||a.value||"Stat"},_gStyle:l("Style"),background:p("Background color",S.StatsParagraph,!0)},resolveFields:(a,{fields:o})=>n(o,a.props.headPlacement,d.StatsParagraph.headRows)};export{T as StatsParagraphFields};
@@ -1 +1 @@
1
- import{jsx as l}from"react/jsx-runtime";import{ClockIcon as g,EyeIcon as u}from"efficient-easel/icons";import{backgroundField as d,copyText as y,plainTextarea as m,text as o,textarea as p,toggle as T,upload as I}from"../../../controls.js";import{group as s,section as i}from"efficient-easel/screen/lib/document/box-fields";import{iconPickerRow as b}from"../../../box-fields.js";import{LAYOUT_CELL as f,TIMELINE_PICTURES as r}from"../../../choice-pictures.js";import{ctaField as _,innerSpacingFields as k}from"../../shared-fields.js";import{SECTION_BG_BUILT_IN as E}from"../../../../../../format/lib/document/blocks/general/section-bg-built-in.js";import{withRowRules as C}from"../../../../../../render/lib/document/show-when.js";import{TIMELINE_PH as e}from"../../../../../../format/lib/document/blocks/general/Timeline/meta.js";const c={field:"layout",is:"track"},S={not:c},N={fields:C({_dLayout:i("Layout"),layout:b("Display",l(u,{}),[{label:"Split",hint:"Split (editorial aside)",value:"split",picture:r.split},{label:"Spine",hint:"Spine (single rail)",value:"spine",picture:r.spine},{label:"Alternating",hint:"Alternating (zig-zag)",value:"alternating",picture:r.alternating},{label:"Track",hint:"Track (year rail)",value:"track",picture:r.track}],"split",{columns:2,cell:f}),...k("Timeline"),_dDesign:i("Design"),background:d("Background color",E.TimelineTrack),_sHeader:i("Header"),_gContent:s("Content"),eyebrow:o("Eyebrow",e.eyebrow),title:p("Heading",e.title),intro:p("Intro",e.intro),imageSrc:I("Image","image/*"),imageCaption:o("Image caption",e.imageCaption),imageMeta:o("Image meta",e.imageMeta),_gButton:s("Button"),..._,_sEntries:i("Timeline entries"),entries:{type:"array",label:"Entries",arrayFields:{date:y("Sub-title"),title:m("Title"),body:m("Body")},defaultItemProps:{date:"",title:"",body:""},getItemSummary:t=>t?.date||t?.title||"Entry"}},[[["imageSrc","imageCaption","imageMeta"],S],[["background"],c]]),resolveFields:(t,{fields:a})=>{if(t.props.layout!=="track")return a;const n=a.entries;return{...a,entries:{...n,arrayFields:{...n?.arrayFields,future:T("Upcoming",!1,l(g,{}))}}}}};export{N as TimelineFields};
1
+ import{jsx as l}from"react/jsx-runtime";import{ClockIcon as g,EyeIcon as u}from"efficient-easel/icons";import{backgroundField as d,copyText as y,plainTextarea as m,text as o,textarea as p,toggle as T,upload as I}from"../../../controls.js";import{group as s,section as i}from"efficient-easel/screen/lib/document/box-fields";import{iconPickerRow as b}from"../../../box-fields.js";import{LAYOUT_CELL as f,TIMELINE_PICTURES as r}from"../../../choice-pictures.js";import{ctaField as _}from"../../shared-fields.js";import{SECTION_BG_BUILT_IN as k}from"../../../../../../format/lib/document/blocks/general/section-bg-built-in.js";import{withRowRules as E}from"../../../../../../render/lib/document/show-when.js";import{TIMELINE_PH as e}from"../../../../../../format/lib/document/blocks/general/Timeline/meta.js";const c={field:"layout",is:"track"},C={not:c},M={fields:E({_dLayout:i("Layout"),layout:b("Display",l(u,{}),[{label:"Split",hint:"Split (editorial aside)",value:"split",picture:r.split},{label:"Spine",hint:"Spine (single rail)",value:"spine",picture:r.spine},{label:"Alternating",hint:"Alternating (zig-zag)",value:"alternating",picture:r.alternating},{label:"Track",hint:"Track (year rail)",value:"track",picture:r.track}],"split",{columns:2,cell:f}),_dDesign:i("Design"),background:d("Background color",k.TimelineTrack),_sHeader:i("Header"),_gContent:s("Content"),eyebrow:o("Eyebrow",e.eyebrow),title:p("Heading",e.title),intro:p("Intro",e.intro),imageSrc:I("Image","image/*"),imageCaption:o("Image caption",e.imageCaption),imageMeta:o("Image meta",e.imageMeta),_gButton:s("Button"),..._,_sEntries:i("Timeline entries"),entries:{type:"array",label:"Entries",arrayFields:{date:y("Sub-title"),title:m("Title"),body:m("Body")},defaultItemProps:{date:"",title:"",body:""},getItemSummary:t=>t?.date||t?.title||"Entry"}},[[["imageSrc","imageCaption","imageMeta"],C],[["background"],c]]),resolveFields:(t,{fields:a})=>{if(t.props.layout!=="track")return a;const n=a.entries;return{...a,entries:{...n,arrayFields:{...n?.arrayFields,future:T("Upcoming",!1,l(g,{}))}}}}};export{M as TimelineFields};
@@ -1 +1 @@
1
- import{jsx as l}from"react/jsx-runtime";import{ClockIcon as n}from"efficient-easel/icons";import{backgroundField as s,plainText as d,plainTextarea as o,text as m,textarea as i,toggle as T}from"../../../controls.js";import{section as e}from"efficient-easel/screen/lib/document/box-fields";import{SPLITTABLE_SECTIONS as c,headFieldsForPlacement as p}from"../../../../../../format/lib/sections/section-head-placement.js";import{ctaField as f,innerSpacingFields as u}from"../../shared-fields.js";import{SECTION_BG_BUILT_IN as _}from"../../../../../../format/lib/document/blocks/general/section-bg-built-in.js";import{TIMELINE_TRACK_PH as r}from"../../../../../../format/lib/document/blocks/general/TimelineTrack/meta.js";const E={fields:{_sHeader:e("Header"),eyebrow:m("Eyebrow",r.eyebrow),title:i("Heading",r.title),intro:i("Body",r.intro),_sEntries:e("Milestones"),entries:{type:"array",label:"Milestones",arrayFields:{date:d("Year"),title:o("Title"),blurb:o("Body"),future:T("Upcoming",!1,l(n,{}))},defaultItemProps:{date:"",title:"",blurb:"",future:!1},getItemSummary:t=>t?.date||t?.title||"Milestone"},_sButton:e("Button"),...f,_dDesign:e("Design"),background:s("Background color",_.TimelineTrack),_dLayout:e("Layout"),...u("TimelineTrack")},resolveFields:(t,{fields:a})=>p(a,t.props.headPlacement,c.TimelineTrack.headRows)};export{E as TimelineTrackFields};
1
+ import{jsx as l}from"react/jsx-runtime";import{ClockIcon as s}from"efficient-easel/icons";import{backgroundField as n,plainText as d,plainTextarea as o,text as m,textarea as i,toggle as p}from"../../../controls.js";import{section as e}from"efficient-easel/screen/lib/document/box-fields";import{SPLITTABLE_SECTIONS as T,headFieldsForPlacement as c}from"../../../../../../format/lib/sections/section-head-placement.js";import{ctaField as f}from"../../shared-fields.js";import{SECTION_BG_BUILT_IN as u}from"../../../../../../format/lib/document/blocks/general/section-bg-built-in.js";import{TIMELINE_TRACK_PH as r}from"../../../../../../format/lib/document/blocks/general/TimelineTrack/meta.js";const E={fields:{_sHeader:e("Header"),eyebrow:m("Eyebrow",r.eyebrow),title:i("Heading",r.title),intro:i("Body",r.intro),_sEntries:e("Milestones"),entries:{type:"array",label:"Milestones",arrayFields:{date:d("Year"),title:o("Title"),blurb:o("Body"),future:p("Upcoming",!1,l(s,{}))},defaultItemProps:{date:"",title:"",blurb:"",future:!1},getItemSummary:t=>t?.date||t?.title||"Milestone"},_sButton:e("Button"),...f,_dDesign:e("Design"),background:n("Background color",u.TimelineTrack),_dLayout:e("Layout")},resolveFields:(t,{fields:a})=>c(a,t.props.headPlacement,T.TimelineTrack.headRows)};export{E as TimelineTrackFields};
@@ -1 +1 @@
1
- import{jsx as r}from"react/jsx-runtime";import{StylesIcon as a}from"efficient-easel/icons";import{plainText as i,readHidable as s,textarea as m,withOffPage as u}from"../../../controls.js";import{group as o}from"efficient-easel/screen/lib/document/box-fields";import{blockAlignmentFields as d,select as p}from"../../../box-fields.js";import{VIEW_KEY_ACCESS as f}from"efficient-easel/screen/lib/document/box-fields";import{innerSpacingFields as b}from"../../shared-fields.js";import{TITLE_WITH_BUTTONS_PH as g}from"../../../../../../format/lib/document/blocks/general/TitleWithButtons/meta.js";const A={fields:{_gContent:o("Content"),title:m("Heading",g.title),buttons:{type:"array",label:"Buttons",arrayFields:{label:i("Button"),href:u(i("Button link")),variant:p("Style",r(a,{}),[{label:"Filled",value:"primary"},{label:"Outline",value:"outline"}],"outline")},defaultItemProps:{label:"",href:"#",variant:"outline"},getItemSummary:t=>t?.label||"Button"},_gStyle:o("Style"),...d("buttonsAlign",{fallback:"right",access:f}),...b("TitleWithButtons")},resolveFields:(t,{fields:e})=>{const l=s(t.props.title);if(!(!l.hidden&&!!l.text.trim()))return e;const{buttonsAlign:h,buttonsAlignPhone:_,...n}=e;return n}};export{A as TitleWithButtonsFields};
1
+ import{jsx as r}from"react/jsx-runtime";import{StylesIcon as a}from"efficient-easel/icons";import{plainText as i,readHidable as s,textarea as m,withOffPage as u}from"../../../controls.js";import{group as o}from"efficient-easel/screen/lib/document/box-fields";import{blockAlignmentFields as d,select as p}from"../../../box-fields.js";import{VIEW_KEY_ACCESS as f}from"efficient-easel/screen/lib/document/box-fields";import{TITLE_WITH_BUTTONS_PH as b}from"../../../../../../format/lib/document/blocks/general/TitleWithButtons/meta.js";const v={fields:{_gContent:o("Content"),title:m("Heading",b.title),buttons:{type:"array",label:"Buttons",arrayFields:{label:i("Button"),href:u(i("Button link")),variant:p("Style",r(a,{}),[{label:"Filled",value:"primary"},{label:"Outline",value:"outline"}],"outline")},defaultItemProps:{label:"",href:"#",variant:"outline"},getItemSummary:t=>t?.label||"Button"},_gStyle:o("Style"),...d("buttonsAlign",{fallback:"right",access:f})},resolveFields:(t,{fields:e})=>{const l=s(t.props.title);if(!(!l.hidden&&!!l.text.trim()))return e;const{buttonsAlign:c,buttonsAlignPhone:h,...n}=e;return n}};export{v as TitleWithButtonsFields};
@@ -1 +1 @@
1
- import{anchorFields as m,bucketHeader as L,cardMediaFields as Y,cardShowFields as U,designGroupHeader as x,foldMarker as W,foldMetaOf as C,quietMarker as z,heightFields as w,sectionShapeFields as E,sectionThemeFields as O,stickFields as P,widthField as D}from"./controls.js";import{group as q}from"efficient-easel/screen/lib/document/box-fields";import{sidesPaddingFields as T}from"./box-fields.js";import{deviceField as J,deviceMetaOf as $}from"efficient-easel/screen/lib/document/device-fields";import{entranceFields as B}from"../animation/entrance-fields.js";import{DESIGN_GROUPS as S,SETTINGS_BUCKETS as Q}from"efficient-easel/panel";import{BUCKET_KEY as d,DESIGN_GROUP_KEY as p}from"efficient-easel/screen/lib/document/field-buckets";import{ownEntry as g,hasOwnEntry as V}from"../../../format/lib/own-entry.js";const A=Q;function X(t){return t==="Animation"?"Animation":"Design"}const Z="Editor only — not shown live",R={"Archive link":"Content",Article:"Content",Blocks:"Content","Blog posts":"Content","Browser mock":"Content",Button:"Content","Call to action":"Content","Car prompt":"Content","Card link":"Content","Card list":"Content",Cards:"Content","Claims bars":"Content","Contact info":"Content",Content:"Content",Display:"Content","Content source":"Content",Contents:"Content",Filters:"Content","Show on a card":"Content",Footnote:"Content",Form:"Content",Founders:"Content","Gallery A":"Content","Gallery B":"Content","Gallery link":"Content",Header:"Content","Header link":"Content","Image caption":"Content","In this issue":"Content",Items:"Content","Kanban columns":"Content",Lead:"Content","Left panel":"Content",Link:"Content",Links:"Content",List:"Content","Message form":"Content",Metadata:"Content",Milestones:"Content","Mockup card":"Content","Newsletter panel":"Content",Offices:"Content",Options:"Content","Others gallery":"Content","Overlay button":"Content",Product:"Content","Product page":"Content",Products:"Content","Pull quote":"Content",Questions:"Content","Recent issues":"Content","Recent posts":"Content",Reviews:"Content","Right panel · actions":"Content","Right panel · choices":"Content","Right panel · form":"Content","Routing groups":"Content",Rows:"Content",Section:"Content","Section header":"Content",Sections:"Content","Signup form":"Content",Source:"Content","Source product":"Content","Stat & note":"Content",Stats:"Content","Submit button":"Content","Success state":"Content",Wheel:"Content",Terminal:"Content",Text:"Content","Text column":"Content","Timeline entries":"Content","Top row":"Content",Total:"Content","Trailing note":"Content","“Other” reason":"Content","Background images":"Design",Gallery:"Content",Image:"Content","Image column":"Content",Images:"Content",Logo:"Content",Map:"Content",Media:"Content","Background image":"Design",Color:"Design","Image tint":"Design",Style:"Design",Shape:"Design",Shadow:"Design",Texture:"Design",Overlay:"Design","Text style":"Design",Entrance:"Animation",Hover:"Animation",Loop:"Animation",Scroll:"Animation",Anchor:"Anchor",Arrangement:"Layout","Auto-slide":"Layout",Bar:"Layout","Cell width":"Size",Behavior:"Layout",Schedule:"Layout",Controls:"Layout",Diagram:"Layout",[Z]:"Layout","Filters shown":"Layout","Slide picker":"Layout",Arrows:"Layout","On a phone":"Layout",Placement:"Position",Nudge:"Position","Stick to top":"Position","Image gallery":"Layout",Grid:"Layout",Layout:"Layout",Padding:"Layout",Price:"Layout",Preview:"Layout",Setup:"Layout","Show / hide elements":"Layout","Show in the buy box":"Layout",Visibility:"Layout",Width:"Size",Size:"Size",Height:"Size"},H={"AlloyWheelsListing._gCards":"Design"},G={"Text._gSpacing":"Size","Heading._gSpacing":"Size"};function F(t,e,o){const a=`${t}.${e}`;return g(G,a)??g(H,a)??g(R,o)}function pe(t,e,o){const a=F(t,e,o);return a?X(a):void 0}function ee(t){return t==="Animation"?[d.Animation]:[d.Design,p[t]]}function _(...t){const e=[];for(const o of t)for(const a of Object.values(o)){const h=$(a),b=C(h?h.inner:a),l=b?g(R,b.label):void 0;if(l)for(const y of ee(l))e.includes(y)||e.push(y)}return e}const ge=[..._(T({tablet:!0,siteSide:!0}),D("full"),w(),m(),P()),...Object.keys(T({tablet:!0,siteSide:!0})),...Object.keys(D("full")),...Object.keys(w()),...Object.keys(m()),...Object.keys(P())],ye=[..._(O()),...Object.keys(O())],ke=[..._(E()),...Object.keys(E())],Se=[..._(B()),...Object.keys(B())],_e=Object.keys(Y()),ve=Object.keys(U()),te={"ImageBlock._gStyle":"duplicated the Style bucket header above it (2026-09-04)","ButtonBlock._gStyle":"duplicated the Style bucket header above it (2026-09-04)","HeroGroup._gContent":"duplicated the Content bucket header above it (2026-09-04)","HeroGroup._gLayout":"duplicated the Layout bucket header above it (2026-09-04)","Footer._gLayout":"duplicated the Layout bucket header above it (2026-09-04)","FooterLogo._gContent":"duplicated the Content bucket header above it (2026-09-04)","FooterLogo._gStyle":"duplicated the Style bucket header above it (2026-09-04)","FooterMenu._gContent":"duplicated the Content bucket header above it (2026-09-04)","FooterMenu._gStyle":"duplicated the Style bucket header above it (2026-09-04)","FooterGroup._gLayout":"duplicated the Layout bucket header above it (2026-09-04)","FooterText._gContent":"duplicated the Content bucket header above it (2026-09-04)","FooterText._gStyle":"duplicated the Style bucket header above it (2026-09-04)","FooterSocial._gStyle":"duplicated the Style bucket header above it (born tabbed, 2026-09-17)","FooterSocial._gLayout":"duplicated the Layout bucket header above it (born tabbed, 2026-09-17)","MenuBlock._gContent":"duplicated the Content bucket header above it (born tabbed, H.1)","MenuBlock._gStyle":"duplicated the Style bucket header above it (born tabbed, H.1)","SocialLogosBlock._gStyle":"duplicated the Style bucket header above it (born tabbed, H.1)","SocialLogosBlock._gLayout":"duplicated the Layout bucket header above it (born tabbed, H.1)","SearchBlock._gStyle":"duplicated the Style bucket header above it (born tabbed, H.2)","CartBlock._gStyle":"duplicated the Style bucket header above it (born tabbed, H.2)","CountrySwitchBlock._gStyle":"duplicated the Style bucket header above it (born tabbed with its Show as, 2026-10-17)","Split._gContent":"duplicated the Content bucket header above it (2026-09-04)","Gallery._gVehicleContent":"duplicated the Content bucket header above it (2026-09-04)","Gallery._gWheelContent":"duplicated the Content bucket header above it (2026-09-04)","Gallery._gOthersContent":"duplicated the Content bucket header above it (2026-09-04)","Subscribe._gHeadCopy":"duplicated the Content bucket header above it (2026-09-04)","Subscribe._gLeftCopy":"duplicated the Content bucket header above it (2026-09-04)","Subscribe._gRightCopy":"duplicated the Content bucket header above it (2026-09-04)","CollectionCard._gContent":"duplicated the Content bucket header above it (A Card Sets Its Own Corners)","HeroSlide._gContent":"duplicated the Content bucket header above it (Hero Slide Tabs And Theme)","KeyFeatures._gContent":"duplicated the Content bucket header above it (66049)","KeyFeatures._gStyle":"duplicated the Style bucket header above it (66049)","ParagraphsA._gContent":"duplicated the Content bucket header above it (66049)","ParagraphsA._gStyle":"duplicated the Style bucket header above it (66049)","Chart._gContent":"duplicated the Content bucket header above it (66049)","Chart._gStyle":"duplicated the Style bucket header above it (66049)","Logos._gContent":"duplicated the Content bucket header above it (66049)","Logos._gStyle":"duplicated the Style bucket header above it (66049)","Mockup._gContent":"duplicated the Content bucket header above it (66049)","Mockup._gStyle":"duplicated the Style bucket header above it (66049)","Stats._gContent":"duplicated the Content bucket header above it (66049)","Stats._gStyle":"duplicated the Style bucket header above it (66049)","StatsParagraph._gContent":"duplicated the Content bucket header above it (66049)","StatsParagraph._gStyle":"duplicated the Style bucket header above it (66049)","Testimonials._gContent":"duplicated the Content bucket header above it (66049)","Testimonials._gStyle":"duplicated the Style bucket header above it (66049)","AppointmentBooking._gContent":"duplicated the Content bucket header above it (66050)","BookingBox._gContent":"duplicated the Content bucket header above it ([SPLIT] Booking Form Into Three Boxes) — the same fault its own section retired in 66050, one level down","FAQ._gContent":"duplicated the Content bucket header above it (66050, family sweep)","FAQ._gLayout":"duplicated the Layout bucket header above it (66050, family sweep)","Form._gContent":"duplicated the Content bucket header above it (66050)","ReviewForm._gContent":"duplicated the Content bucket header above it (66050)","SubmitBuild._gContent":"duplicated the Content bucket header above it (66050)","SubmitBox._gContent":"duplicated the Content bucket header above it ([SPLIT] SubmitBuild Keeps Its Two Columns) — the same fault its own section retired in 66050, one level down","CheckoutCTA._gContent":"duplicated the Content bucket header above it (66051)","CheckoutCTA._gLayout":"duplicated the Layout bucket header above it (66051)","DeliveryOptions._gContent":"duplicated the Content bucket header above it (66051)","DeliveryOptions._gLayout":"duplicated the Layout bucket header above it (66051)","OrderSummary._gContent":"duplicated the Content bucket header above it (66051)","OrderSummary._gLayout":"duplicated the Layout bucket header above it (66051)","PaymentBadges._gContent":"duplicated the Content bucket header above it (66051)","PaymentBadges._gLayout":"duplicated the Layout bucket header above it (66051)","Collections._gContent":"duplicated the Content bucket header above it (66052)","Collections._gLayout":"duplicated the Layout bucket header above it (66052)","DocMasthead._gContent":"duplicated the Content bucket header above it (66053)","Events._gContent":"duplicated the Content bucket header above it (66054)","Events._gLayout":"duplicated the Layout bucket header above it (66054)","FeaturedCover._gContent":"duplicated the Content bucket header above it (66054)","Series._gStyle":"duplicated the Style bucket header above it (66054)","Flex._gContent":"duplicated the Content bucket header above it (66055)","Flex._gLayout":"duplicated the Layout bucket header above it (66055)","SectionHeader._gContent":"duplicated the Content bucket header above it (66055)","Breadcrumb._gContent":"duplicated the Content bucket header above it (66056)","CategoryBar._gStyle":"duplicated the Style bucket header above it (66056)","Hero._gContent":"duplicated the Content bucket header above it (66056)","Hero._gStyle":"duplicated the Style bucket header above it (66056)","HeroSingle._gStyle":"duplicated the Style bucket header above it (66056)","IntroBleed._gContent":"duplicated the Content bucket header above it (66056)","IntroBleed._gLayout":"duplicated the Layout bucket header above it (66056)","BundleOffer._gLayout":"duplicated the Layout bucket header above it (66059)","ProcessSteps._gContent":"duplicated the Content bucket header above it (66059)","Banner._gContent":"duplicated the Content bucket header above it (66060.1)","Banner._gLayout":"duplicated the Layout bucket header above it, and governed no controls (66060.1)","Manifesto._gContent":"duplicated the Content bucket header above it (66060.1)","SubscribeBlogs._gHeadCopy":"duplicated the Content bucket header above it (66060.1)","SubscribeBlogs._gLeftCopy":"duplicated the Content bucket header above it (66060.1)","SubscribeBlogs._gRightCopy":"duplicated the Content bucket header above it (66060.1)","Ticker._gContent":"duplicated the Content bucket header above it (66060.1)","Ticker._gStyle":"duplicated the Style bucket header above it (66060.1)","Timeline._gContent":"duplicated the Content bucket header above it (66060.1)","TitleWithButtons._gContent":"duplicated the Content bucket header above it (66060.1)","TitleWithButtons._gStyle":"duplicated the Style bucket header above it (66060.1)","Cards._gContent":"duplicated the Content bucket header above it (66218)","Cards._gStyle":"duplicated the Style bucket header above it (66218)","Prose._gContent":"duplicated the Content bucket header above it (66218)","Reviews._gContent":"duplicated the Content bucket header above it (66218)","Reviews._gStyle":"duplicated the Style bucket header above it (66218)"},K={Content:["Content"],Size:["Size"],Design:["Design","Style"],Layout:["Layout"],Position:["Position"],Anchor:["Anchor"],Animation:["Animation"]},M={_gAnchor:"repeated the Anchor group heading above it (two tabs, 11.0.0)"};{const t={...T({tablet:!0,siteSide:!0}),...D("full"),...w(),...m(),...O(),...E(),...B()};for(const e of Object.keys(M)){const o=C(t[e]),a=o?g(R,o.label):void 0;if(!o||o.level!==2||!a||!K[a].includes(o.label))throw new Error(`INJECTED_RETIRED (lib/document/field-groups.ts) lists "${e}", but no uniform builder makes a level-2 heading by that key whose label repeats its place's word. The heading was renamed, moved or removed and the row is stale — a list that quietly matches nothing is worse than no list.`)}}const ne=new Set(["_sContent","_sStyle","_sLayout","_sMedia"]),oe=new Map([[d.Design,"Content"],[d.Animation,"Animation"],...S.map(t=>[p[t],t])]);function ae(t){const e=`${t}.`;return Object.keys(te).filter(o=>o.startsWith(e)).map(o=>o.slice(e.length))}function ie(t,e){const o=$(t),a=q(e);return o?J(o.tier,a):a}function re(t,e){const o=C(e);return o?t==="Content"||t==="Animation"?W(e,o.label):z(e):e}function j(t){return t==="Design"?S:["Animation"]}function fe(t,e){const o=[],a=new Set(ae(e)),h=new Set;let b=!1,l=null;for(const[n,r]of Object.entries(t)){const i=C(r);if(ne.has(n))throw new Error(`${e}.${n}: that key was a tab header until efficient-web-builder 11.0.0, when the panel moved to two tabs (Design · Animation). Its tab is gone, so the key may not come back. Give the heading a key of the section's own (\`_g…\`), or open a Design group with its own key (\`_dDesign: section("Design")\`, \`_dLayout: section("Layout")\`).`);const c=oe.get(n);if(c!==void 0){if(i?.level!==1)throw new Error(`${e}.${n}: that key is reserved for the ${c} heading of the settings panel, but this field is ${i?`a level-${i.level} "${i.label}" header`:"not a header"}, so it cannot serve as one. Rename the section's own field.`);(n===d.Design||n===d.Animation)&&(b=!0),o.push(l={place:c,entries:[],adopted:!0});continue}if(!i){l||o.push(l={place:"Content",entries:[]}),l.entries.push([n,r]);continue}if(a.has(n)||V(M,n)){const s=F(e,n,i.label);if(i.level!==2||!s||!K[s].includes(i.label))throw new Error(`${e}.${n}: ${a.has(n)?"RETIRED":"INJECTED_RETIRED"} (lib/document/field-groups.ts) lists this sub-heading as one whose name repeats the place it sits in, but it is a level-${i.level} "${i.label}" header in the ${s??"(unclassified)"} place. Only a level-2 header whose label is one of its place's words (PLACE_WORDS) may be retired — anything else is a heading a merchant reads for its own sake. Fix the row or drop it.`);a.has(n)&&h.add(n),o.push(l={place:s,entries:[]});continue}const u=F(e,n,i.label);if(!u)throw new Error(`${e}.${n}: the inspector group "${i.label}" is not classified in LABEL_GROUP (lib/document/field-groups.ts), so there is no way to say which of ${[...S,"Animation"].join(" / ")} its controls belong under. Classify it — an unclassified group silently lands wherever it was declared, which is the whole bug.`);o.push(l={place:u,entries:[[n,i.level===2?r:ie(r,i.label)]]})}const y=new Set(Object.entries(t).filter(([,n])=>C(n)).map(([n])=>n));for(const[n,r]of[["BLOCK_KEY_GROUP",G],["KEY_GROUP",H]]){const i=Object.keys(r).filter(c=>c.startsWith(`${e}.`)).filter(c=>!y.has(c.slice(e.length+1)));if(i.length)throw new Error(`${e}: ${n} (lib/document/field-groups.ts) lists ${JSON.stringify(i)}, but no fold header by that key is in this section's panel. Either the heading was renamed or removed and the row is stale, or the row names the wrong key — an override that quietly matches nothing is worse than no override.`)}const v=b?[]:[...a].filter(n=>!h.has(n));if(v.length)throw new Error(`${e}: RETIRED (lib/document/field-groups.ts) lists ${JSON.stringify(v)}, but this section has no such fold header${v.length>1?"s":""}. Either the heading was renamed or removed and the row is stale, or the row names the wrong section — a list that quietly matches nothing is worse than no list.`);const I=new Set(o.filter(n=>n.entries.length>0).map(n=>n.place)),f=A.filter(n=>j(n).some(r=>I.has(r))),k={};for(const n of f){k[d[n]]=L(n,n===f[0]?f:null);for(const r of j(n)){if(!I.has(r))continue;const i=o.filter(u=>u.place===r),c=i.findIndex(u=>u.adopted);c>0&&i.unshift(...i.splice(c,1)),n==="Design"&&(k[p[r]]=x(r));for(const u of i)for(const[s,N]of u.entries)k[s]=re(r,N)}}return k}function me(t){return d.Design in t?t:{[d.Design]:L("Design",null),[p.Content]:x("Content"),...t}}function Le(t){return A.some(e=>d[e]in t)}function we(t){const e=A.filter(a=>d[a]in t);if(e.length===0)return t;const o={...t};for(const a of e)o[d[a]]=L(a,a===e[0]?e:null);return o}export{G as BLOCK_KEY_GROUP,A as BUCKETS,d as BUCKET_KEY,_e as CARD_MEDIA_FIELD_KEYS,ve as CARD_SHOW_FIELD_KEYS,S as DESIGN_GROUPS,p as DESIGN_GROUP_KEY,Z as EDITOR_ONLY_GROUP,M as INJECTED_RETIRED,H as KEY_GROUP,R as LABEL_GROUP,ge as LAYOUT_FIELD_KEYS,K as PLACE_WORDS,te as RETIRED,Se as SECTION_ANIM_FIELD_KEYS,ke as SECTION_SHAPE_FIELD_KEYS,ye as SECTION_THEME_FIELD_KEYS,fe as assignSectionGroups,pe as bucketOf,X as bucketOfPlace,Le as hasBucketTabs,_ as headerKeysOf,ee as headerKeysOfPlace,F as placeOf,we as reseatBucketTabs,ae as retiredHeadings,me as seatDesignBucket};
1
+ import{anchorFields as m,bucketHeader as L,cardMediaFields as Y,cardShowFields as U,designGroupHeader as x,foldMarker as W,foldMetaOf as C,quietMarker as z,heightFields as w,sectionShapeFields as E,sectionThemeFields as O,stickFields as P,widthField as D}from"./controls.js";import{group as q}from"efficient-easel/screen/lib/document/box-fields";import{sidesPaddingFields as T}from"./box-fields.js";import{deviceField as J,deviceMetaOf as $}from"efficient-easel/screen/lib/document/device-fields";import{entranceFields as B}from"../animation/entrance-fields.js";import{DESIGN_GROUPS as S,SETTINGS_BUCKETS as Q}from"efficient-easel/panel";import{BUCKET_KEY as d,DESIGN_GROUP_KEY as p}from"efficient-easel/screen/lib/document/field-buckets";import{ownEntry as g,hasOwnEntry as V}from"../../../format/lib/own-entry.js";const A=Q;function X(t){return t==="Animation"?"Animation":"Design"}const Z="Editor only — not shown live",R={"Archive link":"Content",Article:"Content",Blocks:"Content","Blog posts":"Content","Browser mock":"Content",Button:"Content","Call to action":"Content","Car prompt":"Content","Card link":"Content","Card list":"Content",Cards:"Content","Claims bars":"Content","Contact info":"Content",Content:"Content",Display:"Content","Content source":"Content",Contents:"Content",Filters:"Content","Show on a card":"Content",Footnote:"Content",Form:"Content",Founders:"Content","Gallery A":"Content","Gallery B":"Content","Gallery link":"Content",Header:"Content","Header link":"Content","Image caption":"Content","In this issue":"Content",Items:"Content","Kanban columns":"Content",Lead:"Content","Left panel":"Content",Link:"Content",Links:"Content",List:"Content","Message form":"Content",Metadata:"Content",Milestones:"Content","Mockup card":"Content","Newsletter panel":"Content",Offices:"Content",Options:"Content","Others gallery":"Content","Overlay button":"Content",Product:"Content","Product page":"Content",Products:"Content","Pull quote":"Content",Questions:"Content","Recent issues":"Content","Recent posts":"Content",Reviews:"Content","Right panel · actions":"Content","Right panel · choices":"Content","Right panel · form":"Content","Routing groups":"Content",Rows:"Content",Section:"Content","Section header":"Content",Sections:"Content","Signup form":"Content",Source:"Content","Source product":"Content","Stat & note":"Content",Stats:"Content","Submit button":"Content","Success state":"Content",Wheel:"Content",Terminal:"Content",Text:"Content","Text column":"Content","Timeline entries":"Content","Top row":"Content",Total:"Content","Trailing note":"Content","“Other” reason":"Content","Background images":"Design",Gallery:"Content",Image:"Content","Image column":"Content",Images:"Content",Logo:"Content",Map:"Content",Media:"Content","Background image":"Design",Color:"Design","Image tint":"Design",Style:"Design",Shape:"Design",Shadow:"Design",Texture:"Design",Overlay:"Design","Text style":"Design",Entrance:"Animation",Hover:"Animation",Loop:"Animation",Scroll:"Animation",Anchor:"Anchor",Arrangement:"Layout","Auto-slide":"Layout",Bar:"Layout","Cell width":"Size",Behavior:"Layout",Schedule:"Layout",Controls:"Layout",Diagram:"Layout",[Z]:"Layout","Filters shown":"Layout","Slide picker":"Layout",Arrows:"Layout","On a phone":"Layout",Placement:"Position",Nudge:"Position","Stick to top":"Position","Image gallery":"Layout",Grid:"Layout",Layout:"Layout",Padding:"Layout",Price:"Layout",Preview:"Layout",Setup:"Layout","Show / hide elements":"Layout","Show in the buy box":"Layout",Visibility:"Layout",Width:"Size",Size:"Size",Height:"Size"},H={"AlloyWheelsListing._gCards":"Design"},G={"Text._gSpacing":"Size","Heading._gSpacing":"Size"};function F(t,e,o){const a=`${t}.${e}`;return g(G,a)??g(H,a)??g(R,o)}function pe(t,e,o){const a=F(t,e,o);return a?X(a):void 0}function ee(t){return t==="Animation"?[d.Animation]:[d.Design,p[t]]}function _(...t){const e=[];for(const o of t)for(const a of Object.values(o)){const h=$(a),b=C(h?h.inner:a),l=b?g(R,b.label):void 0;if(l)for(const y of ee(l))e.includes(y)||e.push(y)}return e}const ge=[..._(T({tablet:!0,siteSide:!0}),D("full"),w(),m(),P()),...Object.keys(T({tablet:!0,siteSide:!0})),...Object.keys(D("full")),...Object.keys(w()),...Object.keys(m()),...Object.keys(P())],ye=[..._(O()),...Object.keys(O())],ke=[..._(E()),...Object.keys(E())],Se=[..._(B()),...Object.keys(B())],_e=Object.keys(Y()),ve=Object.keys(U()),te={"ImageBlock._gStyle":"duplicated the Style bucket header above it (2026-09-04)","ButtonBlock._gStyle":"duplicated the Style bucket header above it (2026-09-04)","HeroGroup._gContent":"duplicated the Content bucket header above it (2026-09-04)","HeroGroup._gLayout":"duplicated the Layout bucket header above it (2026-09-04)","Footer._gLayout":"duplicated the Layout bucket header above it (2026-09-04)","FooterLogo._gContent":"duplicated the Content bucket header above it (2026-09-04)","FooterLogo._gStyle":"duplicated the Style bucket header above it (2026-09-04)","FooterMenu._gContent":"duplicated the Content bucket header above it (2026-09-04)","FooterMenu._gStyle":"duplicated the Style bucket header above it (2026-09-04)","FooterGroup._gLayout":"duplicated the Layout bucket header above it (2026-09-04)","FooterText._gContent":"duplicated the Content bucket header above it (2026-09-04)","FooterText._gStyle":"duplicated the Style bucket header above it (2026-09-04)","FooterSocial._gStyle":"duplicated the Style bucket header above it (born tabbed, 2026-09-17)","FooterSocial._gLayout":"duplicated the Layout bucket header above it (born tabbed, 2026-09-17)","MenuBlock._gContent":"duplicated the Content bucket header above it (born tabbed, H.1)","MenuBlock._gStyle":"duplicated the Style bucket header above it (born tabbed, H.1)","SocialLogosBlock._gStyle":"duplicated the Style bucket header above it (born tabbed, H.1)","SocialLogosBlock._gLayout":"duplicated the Layout bucket header above it (born tabbed, H.1)","SearchBlock._gStyle":"duplicated the Style bucket header above it (born tabbed, H.2)","CartBlock._gStyle":"duplicated the Style bucket header above it (born tabbed, H.2)","CountrySwitchBlock._gStyle":"duplicated the Style bucket header above it (born tabbed with its Show as, 2026-10-17)","Split._gContent":"duplicated the Content bucket header above it (2026-09-04)","Gallery._gVehicleContent":"duplicated the Content bucket header above it (2026-09-04)","Gallery._gWheelContent":"duplicated the Content bucket header above it (2026-09-04)","Gallery._gOthersContent":"duplicated the Content bucket header above it (2026-09-04)","Subscribe._gHeadCopy":"duplicated the Content bucket header above it (2026-09-04)","Subscribe._gLeftCopy":"duplicated the Content bucket header above it (2026-09-04)","Subscribe._gRightCopy":"duplicated the Content bucket header above it (2026-09-04)","CollectionCard._gContent":"duplicated the Content bucket header above it (A Card Sets Its Own Corners)","HeroSlide._gContent":"duplicated the Content bucket header above it (Hero Slide Tabs And Theme)","KeyFeatures._gContent":"duplicated the Content bucket header above it (66049)","KeyFeatures._gStyle":"duplicated the Style bucket header above it (66049)","ParagraphsA._gContent":"duplicated the Content bucket header above it (66049)","Chart._gContent":"duplicated the Content bucket header above it (66049)","Chart._gStyle":"duplicated the Style bucket header above it (66049)","Logos._gContent":"duplicated the Content bucket header above it (66049)","Logos._gStyle":"duplicated the Style bucket header above it (66049)","Mockup._gContent":"duplicated the Content bucket header above it (66049)","Mockup._gStyle":"duplicated the Style bucket header above it (66049)","Stats._gContent":"duplicated the Content bucket header above it (66049)","Stats._gStyle":"duplicated the Style bucket header above it (66049)","StatsParagraph._gContent":"duplicated the Content bucket header above it (66049)","StatsParagraph._gStyle":"duplicated the Style bucket header above it (66049)","Testimonials._gContent":"duplicated the Content bucket header above it (66049)","Testimonials._gStyle":"duplicated the Style bucket header above it (66049)","AppointmentBooking._gContent":"duplicated the Content bucket header above it (66050)","BookingBox._gContent":"duplicated the Content bucket header above it ([SPLIT] Booking Form Into Three Boxes) — the same fault its own section retired in 66050, one level down","FAQ._gContent":"duplicated the Content bucket header above it (66050, family sweep)","FAQ._gLayout":"duplicated the Layout bucket header above it (66050, family sweep)","Form._gContent":"duplicated the Content bucket header above it (66050)","ReviewForm._gContent":"duplicated the Content bucket header above it (66050)","SubmitBuild._gContent":"duplicated the Content bucket header above it (66050)","SubmitBox._gContent":"duplicated the Content bucket header above it ([SPLIT] SubmitBuild Keeps Its Two Columns) — the same fault its own section retired in 66050, one level down","CheckoutCTA._gContent":"duplicated the Content bucket header above it (66051)","CheckoutCTA._gLayout":"duplicated the Layout bucket header above it (66051)","DeliveryOptions._gContent":"duplicated the Content bucket header above it (66051)","DeliveryOptions._gLayout":"duplicated the Layout bucket header above it (66051)","OrderSummary._gContent":"duplicated the Content bucket header above it (66051)","OrderSummary._gLayout":"duplicated the Layout bucket header above it (66051)","PaymentBadges._gContent":"duplicated the Content bucket header above it (66051)","PaymentBadges._gLayout":"duplicated the Layout bucket header above it (66051)","Collections._gContent":"duplicated the Content bucket header above it (66052)","Collections._gLayout":"duplicated the Layout bucket header above it (66052)","DocMasthead._gContent":"duplicated the Content bucket header above it (66053)","Events._gContent":"duplicated the Content bucket header above it (66054)","Events._gLayout":"duplicated the Layout bucket header above it (66054)","FeaturedCover._gContent":"duplicated the Content bucket header above it (66054)","Series._gStyle":"duplicated the Style bucket header above it (66054)","Flex._gContent":"duplicated the Content bucket header above it (66055)","Flex._gLayout":"duplicated the Layout bucket header above it (66055)","SectionHeader._gContent":"duplicated the Content bucket header above it (66055)","Breadcrumb._gContent":"duplicated the Content bucket header above it (66056)","CategoryBar._gStyle":"duplicated the Style bucket header above it (66056)","Hero._gContent":"duplicated the Content bucket header above it (66056)","Hero._gStyle":"duplicated the Style bucket header above it (66056)","HeroSingle._gStyle":"duplicated the Style bucket header above it (66056)","IntroBleed._gContent":"duplicated the Content bucket header above it (66056)","IntroBleed._gLayout":"duplicated the Layout bucket header above it (66056)","BundleOffer._gLayout":"duplicated the Layout bucket header above it (66059)","ProcessSteps._gContent":"duplicated the Content bucket header above it (66059)","Banner._gContent":"duplicated the Content bucket header above it (66060.1)","Banner._gLayout":"duplicated the Layout bucket header above it, and governed no controls (66060.1)","Manifesto._gContent":"duplicated the Content bucket header above it (66060.1)","SubscribeBlogs._gHeadCopy":"duplicated the Content bucket header above it (66060.1)","SubscribeBlogs._gLeftCopy":"duplicated the Content bucket header above it (66060.1)","SubscribeBlogs._gRightCopy":"duplicated the Content bucket header above it (66060.1)","Ticker._gContent":"duplicated the Content bucket header above it (66060.1)","Ticker._gStyle":"duplicated the Style bucket header above it (66060.1)","Timeline._gContent":"duplicated the Content bucket header above it (66060.1)","TitleWithButtons._gContent":"duplicated the Content bucket header above it (66060.1)","TitleWithButtons._gStyle":"duplicated the Style bucket header above it (66060.1)","Cards._gContent":"duplicated the Content bucket header above it (66218)","Cards._gStyle":"duplicated the Style bucket header above it (66218)","Prose._gContent":"duplicated the Content bucket header above it (66218)","Reviews._gContent":"duplicated the Content bucket header above it (66218)","Reviews._gStyle":"duplicated the Style bucket header above it (66218)"},K={Content:["Content"],Size:["Size"],Design:["Design","Style"],Layout:["Layout"],Position:["Position"],Anchor:["Anchor"],Animation:["Animation"]},M={_gAnchor:"repeated the Anchor group heading above it (two tabs, 11.0.0)"};{const t={...T({tablet:!0,siteSide:!0}),...D("full"),...w(),...m(),...O(),...E(),...B()};for(const e of Object.keys(M)){const o=C(t[e]),a=o?g(R,o.label):void 0;if(!o||o.level!==2||!a||!K[a].includes(o.label))throw new Error(`INJECTED_RETIRED (lib/document/field-groups.ts) lists "${e}", but no uniform builder makes a level-2 heading by that key whose label repeats its place's word. The heading was renamed, moved or removed and the row is stale — a list that quietly matches nothing is worse than no list.`)}}const ne=new Set(["_sContent","_sStyle","_sLayout","_sMedia"]),oe=new Map([[d.Design,"Content"],[d.Animation,"Animation"],...S.map(t=>[p[t],t])]);function ae(t){const e=`${t}.`;return Object.keys(te).filter(o=>o.startsWith(e)).map(o=>o.slice(e.length))}function ie(t,e){const o=$(t),a=q(e);return o?J(o.tier,a):a}function re(t,e){const o=C(e);return o?t==="Content"||t==="Animation"?W(e,o.label):z(e):e}function j(t){return t==="Design"?S:["Animation"]}function fe(t,e){const o=[],a=new Set(ae(e)),h=new Set;let b=!1,l=null;for(const[n,r]of Object.entries(t)){const i=C(r);if(ne.has(n))throw new Error(`${e}.${n}: that key was a tab header until efficient-web-builder 11.0.0, when the panel moved to two tabs (Design · Animation). Its tab is gone, so the key may not come back. Give the heading a key of the section's own (\`_g…\`), or open a Design group with its own key (\`_dDesign: section("Design")\`, \`_dLayout: section("Layout")\`).`);const c=oe.get(n);if(c!==void 0){if(i?.level!==1)throw new Error(`${e}.${n}: that key is reserved for the ${c} heading of the settings panel, but this field is ${i?`a level-${i.level} "${i.label}" header`:"not a header"}, so it cannot serve as one. Rename the section's own field.`);(n===d.Design||n===d.Animation)&&(b=!0),o.push(l={place:c,entries:[],adopted:!0});continue}if(!i){l||o.push(l={place:"Content",entries:[]}),l.entries.push([n,r]);continue}if(a.has(n)||V(M,n)){const s=F(e,n,i.label);if(i.level!==2||!s||!K[s].includes(i.label))throw new Error(`${e}.${n}: ${a.has(n)?"RETIRED":"INJECTED_RETIRED"} (lib/document/field-groups.ts) lists this sub-heading as one whose name repeats the place it sits in, but it is a level-${i.level} "${i.label}" header in the ${s??"(unclassified)"} place. Only a level-2 header whose label is one of its place's words (PLACE_WORDS) may be retired — anything else is a heading a merchant reads for its own sake. Fix the row or drop it.`);a.has(n)&&h.add(n),o.push(l={place:s,entries:[]});continue}const u=F(e,n,i.label);if(!u)throw new Error(`${e}.${n}: the inspector group "${i.label}" is not classified in LABEL_GROUP (lib/document/field-groups.ts), so there is no way to say which of ${[...S,"Animation"].join(" / ")} its controls belong under. Classify it — an unclassified group silently lands wherever it was declared, which is the whole bug.`);o.push(l={place:u,entries:[[n,i.level===2?r:ie(r,i.label)]]})}const y=new Set(Object.entries(t).filter(([,n])=>C(n)).map(([n])=>n));for(const[n,r]of[["BLOCK_KEY_GROUP",G],["KEY_GROUP",H]]){const i=Object.keys(r).filter(c=>c.startsWith(`${e}.`)).filter(c=>!y.has(c.slice(e.length+1)));if(i.length)throw new Error(`${e}: ${n} (lib/document/field-groups.ts) lists ${JSON.stringify(i)}, but no fold header by that key is in this section's panel. Either the heading was renamed or removed and the row is stale, or the row names the wrong key — an override that quietly matches nothing is worse than no override.`)}const v=b?[]:[...a].filter(n=>!h.has(n));if(v.length)throw new Error(`${e}: RETIRED (lib/document/field-groups.ts) lists ${JSON.stringify(v)}, but this section has no such fold header${v.length>1?"s":""}. Either the heading was renamed or removed and the row is stale, or the row names the wrong section — a list that quietly matches nothing is worse than no list.`);const I=new Set(o.filter(n=>n.entries.length>0).map(n=>n.place)),f=A.filter(n=>j(n).some(r=>I.has(r))),k={};for(const n of f){k[d[n]]=L(n,n===f[0]?f:null);for(const r of j(n)){if(!I.has(r))continue;const i=o.filter(u=>u.place===r),c=i.findIndex(u=>u.adopted);c>0&&i.unshift(...i.splice(c,1)),n==="Design"&&(k[p[r]]=x(r));for(const u of i)for(const[s,N]of u.entries)k[s]=re(r,N)}}return k}function me(t){return d.Design in t?t:{[d.Design]:L("Design",null),[p.Content]:x("Content"),...t}}function Le(t){return A.some(e=>d[e]in t)}function we(t){const e=A.filter(a=>d[a]in t);if(e.length===0)return t;const o={...t};for(const a of e)o[d[a]]=L(a,a===e[0]?e:null);return o}export{G as BLOCK_KEY_GROUP,A as BUCKETS,d as BUCKET_KEY,_e as CARD_MEDIA_FIELD_KEYS,ve as CARD_SHOW_FIELD_KEYS,S as DESIGN_GROUPS,p as DESIGN_GROUP_KEY,Z as EDITOR_ONLY_GROUP,M as INJECTED_RETIRED,H as KEY_GROUP,R as LABEL_GROUP,ge as LAYOUT_FIELD_KEYS,K as PLACE_WORDS,te as RETIRED,Se as SECTION_ANIM_FIELD_KEYS,ke as SECTION_SHAPE_FIELD_KEYS,ye as SECTION_THEME_FIELD_KEYS,fe as assignSectionGroups,pe as bucketOf,X as bucketOfPlace,Le as hasBucketTabs,_ as headerKeysOf,ee as headerKeysOfPlace,F as placeOf,we as reseatBucketTabs,ae as retiredHeadings,me as seatDesignBucket};
@@ -1,5 +1,5 @@
1
1
  export declare const ACCORDION_ROW_STYLE_PROP = "rowStyle";
2
- export type AccordionRowStyle = "plain" | "numbered";
2
+ export type AccordionRowStyle = "plain" | "numbered" | "chevron";
3
3
  export declare const ACCORDION_ROW_STYLE_POINTS: readonly {
4
4
  label: string;
5
5
  value: AccordionRowStyle;
@@ -8,3 +8,6 @@ export declare function accordionRowStyleOf(value: unknown): AccordionRowStyle;
8
8
  export declare const QA_ROW_SUMMARY_CLASS = "flex cursor-pointer list-none items-center gap-6 py-7 [&::-webkit-details-marker]:hidden max-view-wide:gap-4 max-view-wide:py-5";
9
9
  export declare const QA_ROW_NUMBER_CLASS = "font-mono text-[length:var(--size-label,14px)] tracking-[0.2em] text-accent";
10
10
  export declare const QA_ROW_ANSWER_CLASS = "pb-8 pl-11 pr-8 max-view-wide:pl-0 max-view-wide:pr-0";
11
+ export declare const CHEVRON_ROW_CLASS = "border-t border-line";
12
+ export declare const CHEVRON_ROW_SUMMARY_CLASS = "flex w-full cursor-pointer list-none items-center justify-between py-3 text-left [&::-webkit-details-marker]:hidden";
13
+ export declare const CHEVRON_ROW_MARK_CLASS = "shrink-0 text-fg-dim transition-transform [details[open]>summary_&]:rotate-180";
@@ -1 +1 @@
1
- const t="rowStyle",n=[{label:"Plain",value:"plain"},{label:"Numbered",value:"numbered"}];function r(e){return e==="numbered"?"numbered":"plain"}const o="flex cursor-pointer list-none items-center gap-6 py-7 [&::-webkit-details-marker]:hidden max-view-wide:gap-4 max-view-wide:py-5",i="font-mono text-[length:var(--size-label,14px)] tracking-[0.2em] text-accent",a="pb-8 pl-11 pr-8 max-view-wide:pl-0 max-view-wide:pr-0";export{n as ACCORDION_ROW_STYLE_POINTS,t as ACCORDION_ROW_STYLE_PROP,a as QA_ROW_ANSWER_CLASS,i as QA_ROW_NUMBER_CLASS,o as QA_ROW_SUMMARY_CLASS,r as accordionRowStyleOf};
1
+ const t="rowStyle",r=[{label:"Plain",value:"plain"},{label:"Numbered",value:"numbered"}];function n(e){return e==="numbered"||e==="chevron"?e:"plain"}const o="flex cursor-pointer list-none items-center gap-6 py-7 [&::-webkit-details-marker]:hidden max-view-wide:gap-4 max-view-wide:py-5",i="font-mono text-[length:var(--size-label,14px)] tracking-[0.2em] text-accent",a="pb-8 pl-11 pr-8 max-view-wide:pl-0 max-view-wide:pr-0",l="border-t border-line",p="flex w-full cursor-pointer list-none items-center justify-between py-3 text-left [&::-webkit-details-marker]:hidden",_="shrink-0 text-fg-dim transition-transform [details[open]>summary_&]:rotate-180";export{r as ACCORDION_ROW_STYLE_POINTS,t as ACCORDION_ROW_STYLE_PROP,l as CHEVRON_ROW_CLASS,_ as CHEVRON_ROW_MARK_CLASS,p as CHEVRON_ROW_SUMMARY_CLASS,a as QA_ROW_ANSWER_CLASS,i as QA_ROW_NUMBER_CLASS,o as QA_ROW_SUMMARY_CLASS,n as accordionRowStyleOf};
@@ -37,6 +37,8 @@ export type PassInspector = {
37
37
  tablet?: boolean;
38
38
  group?: boolean;
39
39
  siteSide?: boolean;
40
+ unitKey?: string;
41
+ fallback?: Partial<Record<"top" | "right" | "bottom" | "left", number>>;
40
42
  }) => FieldMap;
41
43
  sectionShapeFields: () => FieldMap;
42
44
  cardShapeFields: () => FieldMap;
@@ -1,9 +1,10 @@
1
1
  import type { ReactNode } from "react";
2
2
  export declare const ACCORDION_COUNTER_RESET = "[counter-reset:sf-accordion-row]";
3
- export default function BoxAccordionRow({ title, startsOpen, editing, numbered, children, }: {
3
+ export default function BoxAccordionRow({ title, startsOpen, editing, numbered, chevron, children, }: {
4
4
  title: ReactNode;
5
5
  startsOpen: boolean;
6
6
  editing: boolean;
7
7
  numbered?: boolean;
8
+ chevron?: boolean;
8
9
  children: ReactNode;
9
10
  }): import("react").JSX.Element;
@@ -1 +1 @@
1
- import{jsx as e,jsxs as n}from"react/jsx-runtime";import a from"./AccordionMark.js";import{QA_ROW_ANSWER_CLASS as l,QA_ROW_NUMBER_CLASS as t,QA_ROW_SUMMARY_CLASS as m}from"../../format/lib/content/accordion-row-style.js";const i=r=>r.preventDefault(),N="[counter-reset:sf-accordion-row]",p=`${t} [counter-increment:sf-accordion-row] before:content-[counter(sf-accordion-row,decimal-leading-zero)]`;function u({title:r,startsOpen:s,editing:o,numbered:d=!1,children:c}){return d?n("details",{open:o||s,className:"border-b border-line",children:[n("summary",{onClick:o?i:void 0,className:m,children:[e("span",{"aria-hidden":!0,className:p}),r,e(a,{open:"turn"})]}),e("div",{className:l,children:c})]}):n("details",{open:o||s,className:"border-b border-line",children:[n("summary",{onClick:o?i:void 0,className:"flex cursor-pointer list-none items-center gap-4 py-4 [&::-webkit-details-marker]:hidden",children:[r,e(a,{open:"minus"})]}),e("div",{className:"pb-4",children:c})]})}export{N as ACCORDION_COUNTER_RESET,u as default};
1
+ import{jsx as r,jsxs as a}from"react/jsx-runtime";import{ChevronDownIcon as t}from"efficient-shell/icons/efficient";import s from"./AccordionMark.js";import{CHEVRON_ROW_CLASS as l,CHEVRON_ROW_MARK_CLASS as _,CHEVRON_ROW_SUMMARY_CLASS as p,QA_ROW_ANSWER_CLASS as R,QA_ROW_NUMBER_CLASS as u,QA_ROW_SUMMARY_CLASS as S}from"../../format/lib/content/accordion-row-style.js";const A=o=>o.preventDefault(),k="[counter-reset:sf-accordion-row]",f=`${u} [counter-increment:sf-accordion-row] before:content-[counter(sf-accordion-row,decimal-leading-zero)]`,C={plain:{row:"border-b border-line",summary:"flex cursor-pointer list-none items-center gap-4 py-4 [&::-webkit-details-marker]:hidden",mark:r(s,{open:"minus"}),body:"pb-4"},numbered:{row:"border-b border-line",summary:S,lead:r("span",{"aria-hidden":!0,className:f}),mark:r(s,{open:"turn"}),body:R},chevron:{row:l,summary:p,mark:r("span",{"aria-hidden":!0,className:_,children:r(t,{size:12})})}};function b({title:o,startsOpen:c,editing:n,numbered:i=!1,chevron:m=!1,children:d}){const e=C[m?"chevron":i?"numbered":"plain"];return a("details",{open:n||c,className:e.row,children:[a("summary",{onClick:n?A:void 0,className:e.summary,children:[e.lead,o,e.mark]}),r("div",{className:e.body,children:d})]})}export{k as ACCORDION_COUNTER_RESET,b as default};
@@ -1 +1 @@
1
- import{Fragment as O,jsx as e,jsxs as A}from"react/jsx-runtime";import{useContext as ir,useId as ar,useState as cr}from"react";import dr from"./BoxTabs.js";import{AccordionRowStyleContext as ze,BoxTabPaneContext as Ye,useAccordionRowStyle as ur,useBoxPaneKind as mr,useFirstCopyOpens as fr,useIsTabPane as hr}from"./BoxTabPaneContext.js";import Cr,{ACCORDION_COUNTER_RESET as br}from"./BoxAccordionRow.js";import{ACCORDION_MARK_SHEET as Sr}from"./AccordionMark.js";import{accordionRowStyleOf as wr}from"../../format/lib/content/accordion-row-style.js";import{boxPhoneCell as xr,boxPhoneOrder as pr}from"../../format/lib/content/box-phone-place.js";import{CellFillContext as ws,InBoxContext as xs,useCellOfStretchedRow as _r,useFillsCell as vr}from"./InBoxContext.js";import Rr,{InsideSiteColumn as ps,useInsideSiteGutter as Pr,useSectionRoot as Or}from"./SiteGutterFrame.js";import{BoxSurfaceProvider as Ar}from"./BoxSurfaceContext.js";import $r from"./PictureWash.js";import{BoxCellContext as _s,NoCellBound as Lr}from"./BoxCellContext.js";import{boxCellFractions as yr}from"../lib/content/box-cell-bound.js";import{boundOf as Nr}from"../../format/lib/content/cell-picture-sizes.js";import{useInSiteHeader as Er}from"./PhoneMenuTools.js";import{useCardRow as kr}from"./CardRowContext.js";import{cardLineBetween as Je,framesItsCards as Ir}from"../../format/lib/content/card-place.js";import{rowLinkText as Br}from"../../format/lib/content/card-template.js";import{HandedMirrorContext as gr,MirrorContext as Tr,RowHandContext as vs,boxPlace as Hr,useHandedMirrorAbove as Fr,useHandedRows as Dr,useMirroredCopy as Vr,useUnderCardBox as Mr}from"./MirrorContext.js";import{boxChildrenHand as Wr,isMirroredCopy as Xr,mirrorCardsActs as Rs,mirrorCardsOf as Gr,mirroredBoxClass as jr,MIRROR_ROW_CLASS as Kr,ownsCard as Ur}from"../../format/lib/content/mirror-cards.js";import{FRAME_BASE as Ze,frameGutterOf as zr}from"./BlockFrame.js";import{BOX_SIDE_SPACE_SITE as Yr,boxSideSpaceOf as Jr}from"../../format/lib/content/box-side-space.js";import{containerGapProps as Ps}from"../../format/lib/content/container-gap.js";import{boxLayoutClasses as Zr,boxAlignViewClasses as qr,boxBlockSpacingClass as Qr,boxBlockSpacingViewClasses as et,boxJustifyViewClasses as ot,boxWrapTabletClass as st,boxFitContentClass as nt,boxAccordionColumnsClass as Os,boxRowColumnsClass as rt,boxRowTabletColumnsClass as tt,boxRowTabletShareClass as lt,boxPhoneCellsShareLine as it,boxPhoneRowClasses as ie,boxPhoneRowFits as at,boxShareClasses as K,boxShareVars as ct,boxWrapClass as dt,BOX_GAP_ONLY_CLASS as ut}from"../../format/lib/content/box-layout.js";import{boxSeparatorClasses as mt,boxSeparatorSeamClass as ft,boxSeparatorStyle as ht,isStripBox as Ct}from"../../format/lib/content/box-separator.js";import{DEFAULT_LOOP_DELAY as bt,DEFAULT_LOOP_DIRECTION as St,DEFAULT_LOOP_SECONDS as wt,isVerticalLoop as xt}from"../../format/lib/animation/index.js";import{LoopTrack as pt}from"../lib/animation/LoopTrack.js";import{BOX_CARD_PAD as $,BOX_OWNS_SIDES_CLASS as _t,boxDarkenStyle as As,boxPaintOf as vt,boxFillViews as Rt,boxPlacementClasses as Pt,boxCardProps as Ot,boxIsCard as $s,boxRowPicture as At,boxSwatchFill as $t,boxWashViews as Lt,CARD_SHADOW_CLASS as yt,isBackgroundBox as Ls}from"../../format/lib/content/box-background.js";import{BOX_ROW_IMAGE_PROP as w}from"../../format/lib/content/box-card-rule.js";import{boxShadowAttrs as Nt,boxShadowOnAnyView as Et,boxShadowViewAttrs as kt}from"../../format/lib/content/box-shadow.js";import{boxRunsEdgeToEdge as It,drawsSiteGutter as Bt}from"../../format/lib/content/site-gutter.js";import{boxShapeClass as gt,boxShapeClasses as Tt}from"../../format/lib/content/box-shape.js";import{boxAngleStyle as Ht}from"../../format/lib/content/box-angle.js";import{BOX_JUMP_ATTR as Ft,BOX_LINK_ATTR as ys,BOX_LINK_CLASS as Ns,BOX_LINKED_CLASS as Dt,boxJumpBlocksClass as Vt,boxJumpCss as Mt,boxJumpSlug as Wt,boxLinkOf as Xt,siteLinkDraws as Gt}from"../../format/lib/content/box-link.js";import{SiteLink as jt}from"../lib/site-runtime.js";import{sectionBorderStyle as Es}from"../../format/lib/content/borders.js";import{finiteNumber as _e}from"../../format/lib/finite-number.js";import{padDefaultIn as L,padSideValue as ve,sectionPadAttrs as Kt}from"../lib/content/section-padding.js";import{SECTION_FILL_CLASS as Re}from"../../format/lib/content/section-min-height.js";import{ON_MEDIA_INK_STYLE as Ut,rowFillInkStyle as zt}from"../../format/lib/content/ink.js";import{useThemeLightInk as Yt}from"./ThemeLightInkContext.js";import{sizedBackground as qe}from"../../format/lib/sized-image.js";import{BOX_REVEAL_CLASS as Jt,BOX_REVEAL_CSS as Zt,BOX_REVEAL_SHEET as qt,PHOTO_HOST_ATTR as Qt,resolveImageTreatment as el}from"../../format/lib/content/image-treatment.js";import ol,{HoverArrowsSlot as sl,HoverMediaArrows as nl}from"./HoverMediaLayer.js";import{HOVER_ARROWS_HOST_ATTR as rl,HOVER_ARROWS_HOST_CLASS as tl,HOVER_LAYER_GROUND as ll,cardRowHoverMedia as il,hoverLayerName as al}from"../../format/lib/content/hover-media.js";import{BOX_HIGHLIGHT_CLASS as cl,BOX_HIGHLIGHT_OVER_ROW_INK_CLASS as dl,BOX_SHOW_ON_CARD_HOVER as ul}from"../../format/lib/animation/hover.js";import{BoxRail as ml,BoxRailStop as fl,RAIL_STOPS_CLASS as hl,useTimelineRail as Cl}from"./TimelineRail.js";import{SHARED_PLAIN_ATTR as bl,sharedColumnsClasses as Sl,sharedColumnsCss as wl,sharedRowsClasses as xl,sharedRowsCss as pl}from"../lib/content/box-shared-columns.js";import ks from"./PhotoHoverSheet.js";import{PICTURE_FRAME_ONLY as _l,PictureHoverMoveSheet as vl,PictureHoverZoom as Rl,pictureHoverMoveOf as Pl}from"./PictureHoverMove.js";import{BOX_DESKTOP_LINE as Ol,stackGutterClass as Al,stackLineCss as $l,stackOuterClass as Ll,stackRowClass as yl,storedStackLine as Qe}from"../lib/content/box-stack-line.js";const eo={"--sf-site-gutter":"0px"},Nl={overflowX:"clip",overflowY:"visible"},El={stretchedRow:!1,fillingColumn:!1,columnsRow:!1},Is={desktop:!1,phone:!1},Bs="bg-cover bg-center bg-[image:var(--sf-box-bg)] max-view-wide:bg-[image:var(--sf-box-bg-p)]",oo=u=>u==null||u==="",so=u=>!oo(u)&&Number(u)===0;function kl({children:u}){return e(O,{children:u(ar())})}function Il({direction:u,label:gs,tabShape:Ts,gap:no,gapPhone:Hs,gapTablet:Pe,justify:U,align:y,wrap:ae,share:Fs,sharePhone:z,shareTablet:g,wrapPhone:Ds,orderPhone:Vs,phoneRow:x,columns:m,columnsTablet:T,separator:f,stackBelow:ce,blockSpacing:ro,bgImage:Ms,bgImagePhone:Ws,rowImage:Xs,hoverShow:Gs,pictureHover:H,darken:Oe,darkenStyle:de,darkenTablet:js,darkenPhone:Ks,darkenStyleTablet:Us,darkenStylePhone:zs,placement:Ys,padV2:to=!1,border:Js,borderTablet:Zs,borderPhone:qs,borderUnits:lo,pad:r={},contained:Ae=!0,fillHeight:N=!1,shadow:$e,shadowTablet:io,shadowPhone:ao,justifyTablet:co,justifyPhone:Qs,alignTablet:en,alignPhone:on,wrapTablet:uo,blockSpacingTablet:sn,blockSpacingPhone:nn,loop:h,scrollDirection:Le=St,loopSeconds:rn=wt,loopDelay:tn=bt,editing:E=!1,fillColor:mo,fillColorTablet:ln,fillColorPhone:an,swatch:cn,line:p,upcoming:dn,link:un,rowLink:fo,highlight:mn,boxShape:ho,boxShapePhone:fn,boxShapeTablet:hn,angle:Cn,jumpHighlight:bn,anchor:Sn,sharedSides:wn=Is,sharedRows:xn=!1,boxId:F,slotCount:pn,mirrorCards:Co,content:i,rowTitle:ye,startsOpen:_n,rowStyle:vn,sideSpace:Rn}){const n=kr(),k=Ot({[w]:Xs},n!==null)[w],bo=$s({[w]:k}),a=bo?Is:wn,Pn=bo?!1:xn,So=At({[w]:k},n?.row),_=So??Ms,wo=So===null?Ws:void 0,xo=ir(_s),[po,On]=cr(null),An=Fr(),_o=Mr()&&!(An&&n!==null),v=Dr(),C=Ur({inCopy:n!==null,nestedCopy:n?.nested===!0,underBox:_o}),Ne=Gs===ul&&n!==null&&!C&&!(E&&n.previewHover===!0),vo=Je(Js,n,C),Ro=Je(Zs,n,C),Po=Je(qs,n,C),Oo=n===null&&!_o&&v?.ids&&F?v.ids.indexOf(F):-1,ue=Oo>=0&&v&&F?Hr(v,F,Oo):-1,b=ue>=0?v?.hand??null:C&&v?.copies===!0?v.hand:null,s=b?.row?"row":u,d=b?.row?b.row.share:Fs,$n=b?.row?b.row.phoneReverse?[...i.blockIds??[]].reverse():void 0:Vs,me=Pn&&!b?.row,D=E?"":fo&&n?Br(n.row,fo)??"":Xt(un),R=N?"":Tt(ho,fn,hn),Ln=!N&&gt(ho)!=="",I=Wt(bn,Sn),Ee=$t({swatch:cn},n?.row),fe=Ee??vt(mo),V=Ee?{className:"",style:{}}:Rt(mo,ln,an),yn=Yt(),Ao=zt(Ee,yn??void 0),$o=fe||V.className?{...fe?{backgroundColor:fe}:{},...V.style,...Ao}:void 0,Lo=Cl(),Y=p===!0&&s!=="tabs"&&s!=="accordion",t=$s({bgImage:_,[w]:k}),yo=Ht(Cn),No=t?void 0:$o,he=t?null:mn??null,Nn=yo||he?{...No,...yo,...he}:No,Ce=Er(),En=Or(),kn=hr(),Eo=mr(),In=ur(),Bn=fr(),l=s==="accordion",ko=wr(vn),J=l&&ko==="numbered",ke=vr(),gn=_r(),M=Ct(s,f),c=h==="scroll"&&s!=="tabs"&&!l,Tn=Vr(),be=C||ue>=0&&b!==null,Io=b?b.mirror:Co,Hn=ue>=0?ue:n?.index,Z=C&&Ir(n?.ownerType),Bo=Rs({direction:s,separator:f,loop:h,line:p,bgImage:_,[w]:k,columns:m,columnsTablet:T,share:d,wrap:ae},be,a.desktop)&&Xr(Io,Hn),Fn=Rs({direction:s,separator:f,loop:h,line:p,bgImage:_,[w]:k,columns:m,columnsTablet:T,share:d,wrap:ae},be,a.desktop)&&Gr(Io)!==null,W=rt({direction:s,separator:f,loop:h,line:p,columns:m}),B=tt({direction:s,separator:f,loop:h,line:p,columnsTablet:T}),q=lt({direction:s,separator:f,loop:h,line:p,columns:m,columnsTablet:T,share:d,shareTablet:g}),Q=Jr(Rn)===Yr,Ie=zr(Q),go=Y&&Qe(ce)===Ol,X=s==="row"&&!t&&!M&&!c&&(!Y||go)&&B===""&&q===""?Qe(ce):void 0,G=X??(s==="column"&&!t?Qe(ce):void 0),Dn=Pr(),Se=Sl(a,i.blockCount??0,X),Vn=(Se&&(!n||n.index===0)?wl(a,i.blockCount??0,X):"")+(me&&(!n||n.index===0)?pl(me,i.blockCount??0):""),To=xl(me,i.blockCount??0),Ho=B!==""?Number(T)>=2:q===""||K(g)!=="",Fo=B!==""||q!=="",Do=s==="row"&&!M&&!c&&p!==!0,Be=Do&&!a.phone&&!a.desktop?xr(pr($n,i.blockIds??[]),{editing:E}):void 0,Vo=Be!==void 0&&!E,Mn=W!==""?Number(m)>=2:K(d)!=="",Mo=!t&&!l&&!Fn&&!a.desktop&&!a.phone,we=Mo&&!c?ot(U,co,Qs):"",ge=t||be?"":jr(Tn,s,c?void 0:U,y,we?co:void 0),Wn=/view-wide:max-view-desktop:justify-/.test(ge)?we.split(" ").filter(o=>!o.startsWith("view-wide:max-view-desktop:justify-")).join(" "):we,Xn=Mo&&s==="row"?qr(y,en,on):"",Gn=!c&&!l&&W===""&&B===""&&!a.desktop?st(ae,uo):"",Wo=[l?"":K(d),s==="row"?nt(d):"",W,B,q,Qr(l?"gap":ro),mt(s,f),l&&!J?"border-t border-line":"",Wn,Xn,Gn,l?"":et(ro,sn,nn),l?Os(m,x,J):"",J?br:""].filter(Boolean).join(" "),jn=Wo?` ${Wo}`:"",Xo=["flex",s==="row"?M||c?"flex-row":`flex-row ${ie(x,z,Ds,uo)}`:"flex-col",dt(c||l?!1:ae),t?Pt(Ys??"center",s):Zr(c||l?void 0:U,l?void 0:y)+(ge?` ${ge}`:"")].join(" ")+jn,ee=N||t||R||ke?` ${Re}`:"",Te=Ln?` ${R}`:R?`${ee} ${R}`:ee,Go=gn&&s==="column"&&!t&&!c&&K(d)===""&&(typeof U=="string"&&U!=="start"||we!==""),jo=ee||(Go?` ${Re}`:""),He=D?` ${Dt}`:"",Fe=t||Ce||to?"":" py-6",Kn=X===void 0?"":` ${yl(X)}`,Ko=G===void 0||Q?"":` ${Al(G)}`,De=G===void 0?"":` ${Ll(G)}`,Un=`${Ze}${Fe} ${Ie}${Te}${He}${Ko}${De}`,zn=Ce?`${Te}${He}${De}`.trim():`w-full${Fe}${Te}${He}${De}`,oe=J&&Os(m,x)===""?Ps("Flex",0,"block"):Ps("Flex",no,s==="row"?"inline":"block",Hs,M||c?void 0:Pe),Uo=ct(d,g,s==="row"?i.blockCount??0:0),zo=M?{...oe.style,...ht(s,f)}:oe.style,Yn=Uo?{...zo,...Uo}:zo,Ve=(o="")=>e(i,{className:`${Xo}${Bo?` ${Kr}`:""}${oe.className}${jo}${Kn}${o?` ${o}`:""}${Y?` ${hl}`:""}${I?` ${Vt(I)}`:""}${Se}${To}`,style:Yn,minEmptyHeight:120,...Be?{cell:Be}:null}),Yo=xt(Le)?"":ft(s,f),Jo=c?e(pt,{direction:Le,seconds:rn,delay:tn,editing:E,copy:o=>Ve(o&&Yo?`${o} ${Yo}`:o)}):J?A(O,{children:[e("style",{children:Sr}),Ve()]}):Ve(),Me=s==="tabs"?e(dr,{className:`${Xo}${oe.className}${ke&&!N&&!t&&!R?"":ee}`,style:oe.style,shape:Ts,children:Jo}):Jo,We=l?e(Ye.Provider,{value:"accordion",children:e(ze.Provider,{value:ko,children:Me})}):Eo?e(Ye.Provider,{value:!1,children:e(ze.Provider,{value:"plain",children:Me})}):Me,Zo=s==="row"&&!t&&(y===void 0||y==="stretch"),Jn={stretchedRow:Zo,fillingColumn:s==="column"&&(ke||Go),columnsRow:W!==""||B!==""||Se!==""||To!==""||s==="row"&&(Array.isArray(d)||Array.isArray(g))||Vo,...Vo?{phoneCells:!0}:null,...Zo&&Do&&(i.blockCount??0)>=2&&Mn?{picturesFillRow:!0}:null,...Fo&&!Ho?{fillFrom:"desktop"}:null,...it(x,z)&&(!Fo||Ho)?{phoneRowFills:!0}:null,...F?{id:F}:null},qo=n===null?Wr({direction:s,loop:h,bgImage:_,[w]:k,columns:m,mirrorCards:Co},!1):null,Qo=qo?e(vs.Provider,{value:{hand:qo,ids:i.blockIds??[],boxes:[]},children:We}):v?e(vs.Provider,{value:null,children:We}):We,es=e(xs.Provider,{value:Jn,children:e(ws.Provider,{value:!1,children:be?e(Tr.Provider,{value:Bo,children:e(gr.Provider,{value:!C,children:Qo})}):Qo})}),Zn=ye?.blockCount??0,os=Eo==="accordion"&&!!ye&&(E||Zn>0)?e(Cr,{startsOpen:_n===!0||Bn&&C&&n?.index===0,editing:E,numbered:In==="numbered",title:e(xs.Provider,{value:El,children:e(ws.Provider,{value:!1,children:e(Ye.Provider,{value:!1,children:e(ze.Provider,{value:"plain",children:e(ye,{className:`min-w-0 flex-1 ${ut}`,minEmptyHeight:24})})})})}),children:es}):es,Xe=Y?e(ml,{row:s==="row",stops:i.blockCount??0,desktopLine:X!==void 0&&go,children:os}):os,qn=gs?.trim()||(kn?"":void 0),Qn={values:r,frame:Fe?24:0},er=o=>Lo?e(fl,{on:Lo,future:dn===!0,children:o}):o,or=o=>Gt(D)?e(jt,{href:D,newTab:"auto",className:Ns,"aria-labelledby":o,[ys]:""}):e("a",{href:D,className:Ns,"aria-labelledby":o,[ys]:""}),ss=(I?Mt(I):"")+Vn+(G===void 0||n&&n.index!==0?"":$l(G,{gutter:!Q})),ns=ss?e("style",{dangerouslySetInnerHTML:{__html:ss}}):null,se=It({loop:h,direction:s,scrollDirection:Le,bgImage:_,[w]:k}),sr=a.desktop&&Se!==""&&!fe&&!V.className&&!Es(vo,Po,Ro,lo)&&!Et($e,io,ao)&&!D&&!R&&!N&&!I&&!Bt(Ae&&!se,Dn)&&so(no)&&(oo(Pe)||so(Pe))&&to&&Object.values(r).every(o=>oo(o)||so(o)),nr=o=>({...sr?{[bl]:""}:null,...t?null:{...Nt($e),...kt($e,io,ao)},...I?{[Ft]:I}:null,...o?{id:o}:null}),rs=W!==""?Number(m):0,rr=ie(x,z)===ie(void 0),tr=(s==="column"||s==="row"&&!M&&!c&&(rs===1&&rr||rs===0&&i.blockCount===1))&&!t&&!Y&&!Ce,ts=t&&En&&!Ce,xe=!t&&n!==null?As(Oe,de):null,ls=Ne||xe?A(O,{children:[Ne?e(ks,{sheet:Zt,name:qt}):null,xe?e("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 -z-10 rounded-[inherit]",style:xe}):null]}):null,is=[Ne?Jt:"",xe?"relative isolate":""].filter(Boolean).join(" "),as=o=>ls?A(O,{children:[ls,o]}):o,cs=(o,P)=>er(e(Rr,{contained:Ae&&!se,style:se?eo:void 0,framedClass:Un,fillClass:zn,columnClass:`${Ze} ${Ie}${jo}${Ko}`,tabLabel:qn,pad:t?void 0:Qn,border:Es(vo,Po,Ro,lo),outerAttrs:nr(P),box:!0,edge:tr,outerStyle:Nn,outerClass:t?is||void 0:[V.className,he?cl:"",he&&Ao?dl:"",is].filter(Boolean).join(" ")||void 0,bleed:ts,siteSide:Q,children:ns||P?A(O,{children:[ns,P?or(P):null,se?e(ps,{children:o}):o]}):se?e(ps,{children:o}):o})),Ge=o=>D?e(kl,{children:P=>cs(as(o),P)}):cs(as(o)),ds=o=>xo.bound?e(Lr,{children:o}):o;if(!t){const o=y===void 0||y==="stretch",P=(K(d)!==""||W!==""||B!=="")&&!at(x,z)&&!(q!==""&&K(g)==="")&&(o||ie(x)!==ie(void 0));if(!(s==="row"?P:s==="column"&&o))return Ge(ds(Xe));const Ss=yr({direction:s,separator:f,loop:h,line:p,share:d,shareTablet:g,sharePhone:z,phoneRow:x,columns:m,columnsTablet:T,stackBelow:ce,shared:a.desktop||a.phone||me,count:pn}),lr={hasWidth:!0,...Ss?{bound:Nr(Ss,xo.bound)}:null};return Ge(e(_s.Provider,{value:lr,children:Xe}))}const ne=Ls(_),re=ne?As(Oe,de):null,pe=ne?Lt({darken:Oe,darkenStyle:de,darkenTablet:js,darkenStyleTablet:Us,darkenPhone:Ks,darkenStylePhone:zs}):{className:"",style:{}},je=Ls(wo),us=ne?je?{"--sf-box-bg":qe(_??""),"--sf-box-bg-p":qe(wo??"")}:{backgroundImage:qe(_??""),backgroundSize:"cover",backgroundPosition:"center"}:{},ms=el(void 0,void 0,H),j=ms.className?ms:null,te=ne&&n&&H?.kind==="nextImage"&&H.media?il(n,H.media):null,S=ne?Pl(H,de)??(te?_l:null):null,fs=H?.media?.cover??"picture",Ke=te?e("div",{className:`absolute inset-0 isolate${Z?" rounded-[inherit]":""}`,children:e(sl.Provider,{value:On,children:e(ol,{media:te,name:al(n?.row),cover:fs,ground:ll[fs],arrowsAbove:!0})})}):null,le=j!==null||!!S?.zoom,hs=le?e("div",{"aria-hidden":!0,className:`absolute inset-0${Z?" rounded-[inherit]":""}${je?` ${Bs}`:""}${j?` ${j.className}`:""}`,style:{...us,...j?.style??{}}}):null,Ue=Kt({...r,top:_e(r.top)??L($.desktop,r.unit,"desktop"),bottom:_e(r.bottom)??L($.desktop,r.unit,"desktop"),topPhone:_e(r.topPhone)??L($.phone,r.unitPhone,"mobile"),bottomPhone:_e(r.bottomPhone)??L($.phone,r.unitPhone,"mobile"),left:ve(r.left)??L($.side,r.unit,"desktop"),right:ve(r.right)??L($.side,r.unit,"desktop"),leftPhone:ve(r.leftPhone)??L($.sidePhone,r.unitPhone,"mobile"),rightPhone:ve(r.rightPhone)??L($.sidePhone,r.unitPhone,"mobile"),sideSpace:Q?"site":"box"}),Cs=e("div",{className:`relative z-[1] ${_t} ${Ue?.className??""}${N||R?` ${Re}`:""}`.trimEnd(),style:re?{...Ue?.style,...eo,...Ut}:{...Ue?.style,...eo},children:ds(Xe)}),bs=ts&&Ae?e("div",{className:`${Ze} ${Ie}${N||R?` ${Re}`:""}`,children:Cs}):Cs;return Ge(e(O,{children:A("div",{className:`relative isolate overflow-hidden ${yt}${ee}${je&&!le?` ${Bs}`:""}${V.className?` ${V.className}`:""}${S?` ${S.className}`:""}`,style:{...Z?Nl:{},...$o,...le?{}:us,...S?S.style:{}},...j||te?{[Qt]:""}:{},children:[e(vl,{move:S}),le&&A(O,{children:[e(ks,{sheet:j?.sheet}),S?.zoom?e("div",{className:`absolute inset-0 overflow-hidden${Z?" rounded-[inherit]":""}`,children:A(Rl,{move:S,className:"absolute inset-0",children:[hs,Ke]})}):A(O,{children:[hs,Ke]})]}),!le&&Ke,e($r,{wash:re&&pe.className?{...re,...pe.style}:re,hover:S?.washHover,...Z?{className:"rounded-[inherit]"}:{},...pe.className?{restClassName:pe.className}:{}}),re?e(Ar,{children:bs}):bs,te?e("div",{[rl]:"",className:tl,children:po?e(nl,{state:po}):null}):null]})}))}export{Il as default};
1
+ import{Fragment as O,jsx as e,jsxs as A}from"react/jsx-runtime";import{useContext as cr,useId as ar,useState as dr}from"react";import ur from"./BoxTabs.js";import{AccordionRowStyleContext as Je,BoxTabPaneContext as Ze,useAccordionRowStyle as mr,useBoxPaneKind as fr,useFirstCopyOpens as hr,useIsTabPane as Cr}from"./BoxTabPaneContext.js";import br,{ACCORDION_COUNTER_RESET as Sr}from"./BoxAccordionRow.js";import{ACCORDION_MARK_SHEET as wr}from"./AccordionMark.js";import{accordionRowStyleOf as xr}from"../../format/lib/content/accordion-row-style.js";import{boxPhoneCell as pr,boxPhoneOrder as _r}from"../../format/lib/content/box-phone-place.js";import{CellFillContext as ps,InBoxContext as _s,useCellOfStretchedRow as vr,useFillsCell as Rr}from"./InBoxContext.js";import Pr,{InsideSiteColumn as vs,useInsideSiteGutter as Or,useSectionRoot as Ar}from"./SiteGutterFrame.js";import{BoxSurfaceProvider as $r}from"./BoxSurfaceContext.js";import Lr from"./PictureWash.js";import{BoxCellContext as Rs,NoCellBound as yr}from"./BoxCellContext.js";import{boxCellFractions as Nr}from"../lib/content/box-cell-bound.js";import{boundOf as Er}from"../../format/lib/content/cell-picture-sizes.js";import{useInSiteHeader as kr}from"./PhoneMenuTools.js";import{useCardRow as Ir}from"./CardRowContext.js";import{cardLineBetween as qe,framesItsCards as Br}from"../../format/lib/content/card-place.js";import{rowLinkText as gr}from"../../format/lib/content/card-template.js";import{HandedMirrorContext as Tr,MirrorContext as Hr,RowHandContext as Ps,boxPlace as Fr,useHandedMirrorAbove as Dr,useHandedRows as Vr,useMirroredCopy as Mr,useUnderCardBox as Wr}from"./MirrorContext.js";import{boxChildrenHand as Xr,isMirroredCopy as Gr,mirrorCardsActs as Os,mirrorCardsOf as jr,mirroredBoxClass as Kr,MIRROR_ROW_CLASS as Ur,ownsCard as zr}from"../../format/lib/content/mirror-cards.js";import{FRAME_BASE as Qe,frameGutterOf as Yr}from"./BlockFrame.js";import{BOX_SIDE_SPACE_SITE as Jr,boxSideSpaceOf as Zr}from"../../format/lib/content/box-side-space.js";import{containerGapProps as As}from"../../format/lib/content/container-gap.js";import{boxLayoutClasses as qr,boxAlignViewClasses as Qr,boxBlockSpacingClass as et,boxBlockSpacingViewClasses as ot,boxJustifyViewClasses as st,boxWrapTabletClass as nt,boxFitContentClass as rt,boxAccordionColumnsClass as $s,boxRowColumnsClass as tt,boxRowTabletColumnsClass as lt,boxRowTabletShareClass as it,boxPhoneCellsShareLine as ct,boxPhoneRowClasses as ie,boxPhoneRowFits as at,boxShareClasses as K,boxShareVars as dt,boxWrapClass as ut,BOX_GAP_ONLY_CLASS as mt}from"../../format/lib/content/box-layout.js";import{boxSeparatorClasses as ft,boxSeparatorSeamClass as ht,boxSeparatorStyle as Ct,isStripBox as bt}from"../../format/lib/content/box-separator.js";import{DEFAULT_LOOP_DELAY as St,DEFAULT_LOOP_DIRECTION as wt,DEFAULT_LOOP_SECONDS as xt,isVerticalLoop as pt}from"../../format/lib/animation/index.js";import{LoopTrack as _t}from"../lib/animation/LoopTrack.js";import{BOX_CARD_PAD as $,BOX_OWNS_SIDES_CLASS as vt,boxDarkenStyle as Ls,boxPaintOf as Rt,boxFillViews as Pt,boxPlacementClasses as Ot,boxCardProps as At,boxIsCard as ys,boxRowPicture as $t,boxSwatchFill as Lt,boxWashViews as yt,CARD_SHADOW_CLASS as Nt,isBackgroundBox as Ns}from"../../format/lib/content/box-background.js";import{BOX_ROW_IMAGE_PROP as w}from"../../format/lib/content/box-card-rule.js";import{boxShadowAttrs as Et,boxShadowOnAnyView as kt,boxShadowViewAttrs as It}from"../../format/lib/content/box-shadow.js";import{boxRunsEdgeToEdge as Bt,drawsSiteGutter as gt}from"../../format/lib/content/site-gutter.js";import{boxShapeClass as Tt,boxShapeClasses as Ht}from"../../format/lib/content/box-shape.js";import{boxAngleStyle as Ft}from"../../format/lib/content/box-angle.js";import{BOX_JUMP_ATTR as Dt,BOX_LINK_ATTR as Es,BOX_LINK_CLASS as ks,BOX_LINKED_CLASS as Vt,boxJumpBlocksClass as Mt,boxJumpCss as Wt,boxJumpSlug as Xt,boxLinkOf as Gt,siteLinkDraws as jt}from"../../format/lib/content/box-link.js";import{SiteLink as Kt}from"../lib/site-runtime.js";import{sectionBorderStyle as Is}from"../../format/lib/content/borders.js";import{finiteNumber as _e}from"../../format/lib/finite-number.js";import{padDefaultIn as L,padSideValue as ve,sectionPadAttrs as Ut}from"../lib/content/section-padding.js";import{SECTION_FILL_CLASS as Re}from"../../format/lib/content/section-min-height.js";import{ON_MEDIA_INK_STYLE as zt,rowFillInkStyle as Yt}from"../../format/lib/content/ink.js";import{useThemeLightInk as Jt}from"./ThemeLightInkContext.js";import{sizedBackground as eo}from"../../format/lib/sized-image.js";import{BOX_REVEAL_CLASS as Zt,BOX_REVEAL_CSS as qt,BOX_REVEAL_SHEET as Qt,PHOTO_HOST_ATTR as el,resolveImageTreatment as ol}from"../../format/lib/content/image-treatment.js";import sl,{HoverArrowsSlot as nl,HoverMediaArrows as rl}from"./HoverMediaLayer.js";import{HOVER_ARROWS_HOST_ATTR as tl,HOVER_ARROWS_HOST_CLASS as ll,HOVER_LAYER_GROUND as il,cardRowHoverMedia as cl,hoverLayerName as al}from"../../format/lib/content/hover-media.js";import{BOX_HIGHLIGHT_CLASS as dl,BOX_HIGHLIGHT_OVER_ROW_INK_CLASS as ul,BOX_SHOW_ON_CARD_HOVER as ml}from"../../format/lib/animation/hover.js";import{BoxRail as fl,BoxRailStop as hl,RAIL_STOPS_CLASS as Cl,useTimelineRail as bl}from"./TimelineRail.js";import{SHARED_PLAIN_ATTR as Sl,sharedColumnsClasses as wl,sharedColumnsCss as xl,sharedRowsClasses as pl,sharedRowsCss as _l}from"../lib/content/box-shared-columns.js";import Bs from"./PhotoHoverSheet.js";import{PICTURE_FRAME_ONLY as vl,PictureHoverMoveSheet as Rl,PictureHoverZoom as Pl,pictureHoverMoveOf as Ol}from"./PictureHoverMove.js";import{BOX_DESKTOP_LINE as Al,stackGutterClass as $l,stackLineCss as Ll,stackOuterClass as yl,stackRowClass as Nl,storedStackLine as oo}from"../lib/content/box-stack-line.js";const so={"--sf-site-gutter":"0px"},El={overflowX:"clip",overflowY:"visible"},kl={stretchedRow:!1,fillingColumn:!1,columnsRow:!1},gs={desktop:!1,phone:!1},Ts="bg-cover bg-center bg-[image:var(--sf-box-bg)] max-view-wide:bg-[image:var(--sf-box-bg-p)]",no=u=>u==null||u==="",ro=u=>!no(u)&&Number(u)===0;function Il({children:u}){return e(O,{children:u(ar())})}function Bl({direction:u,label:Hs,tabShape:Fs,gap:to,gapPhone:Ds,gapTablet:Pe,justify:U,align:y,wrap:ce,share:Vs,sharePhone:z,shareTablet:g,wrapPhone:Ms,orderPhone:Ws,phoneRow:x,columns:m,columnsTablet:T,separator:f,stackBelow:ae,blockSpacing:lo,bgImage:Xs,bgImagePhone:Gs,rowImage:js,hoverShow:Ks,pictureHover:H,darken:Oe,darkenStyle:de,darkenTablet:Us,darkenPhone:zs,darkenStyleTablet:Ys,darkenStylePhone:Js,placement:Zs,padV2:io=!1,border:qs,borderTablet:Qs,borderPhone:en,borderUnits:co,pad:r={},contained:Ae=!0,fillHeight:N=!1,shadow:$e,shadowTablet:ao,shadowPhone:uo,justifyTablet:mo,justifyPhone:on,alignTablet:sn,alignPhone:nn,wrapTablet:fo,blockSpacingTablet:rn,blockSpacingPhone:tn,loop:h,scrollDirection:Le=wt,loopSeconds:ln=xt,loopDelay:cn=St,editing:E=!1,fillColor:ho,fillColorTablet:an,fillColorPhone:dn,swatch:un,line:p,upcoming:mn,link:fn,rowLink:Co,highlight:hn,boxShape:bo,boxShapePhone:Cn,boxShapeTablet:bn,angle:Sn,jumpHighlight:wn,anchor:xn,sharedSides:pn=gs,sharedRows:_n=!1,boxId:F,slotCount:vn,mirrorCards:So,content:i,rowTitle:ye,startsOpen:Rn,rowStyle:Pn,sideSpace:On}){const n=Ir(),k=At({[w]:js},n!==null)[w],wo=ys({[w]:k}),c=wo?gs:pn,An=wo?!1:_n,xo=$t({[w]:k},n?.row),_=xo??Xs,po=xo===null?Gs:void 0,_o=cr(Rs),[vo,$n]=dr(null),Ln=Dr(),Ro=Wr()&&!(Ln&&n!==null),v=Vr(),C=zr({inCopy:n!==null,nestedCopy:n?.nested===!0,underBox:Ro}),Ne=Ks===ml&&n!==null&&!C&&!(E&&n.previewHover===!0),Po=qe(qs,n,C),Oo=qe(Qs,n,C),Ao=qe(en,n,C),$o=n===null&&!Ro&&v?.ids&&F?v.ids.indexOf(F):-1,ue=$o>=0&&v&&F?Fr(v,F,$o):-1,b=ue>=0?v?.hand??null:C&&v?.copies===!0?v.hand:null,s=b?.row?"row":u,d=b?.row?b.row.share:Vs,yn=b?.row?b.row.phoneReverse?[...i.blockIds??[]].reverse():void 0:Ws,me=An&&!b?.row,D=E?"":Co&&n?gr(n.row,Co)??"":Gt(fn),R=N?"":Ht(bo,Cn,bn),Nn=!N&&Tt(bo)!=="",I=Xt(wn,xn),Ee=Lt({swatch:un},n?.row),fe=Ee??Rt(ho),V=Ee?{className:"",style:{}}:Pt(ho,an,dn),En=Jt(),Lo=Yt(Ee,En??void 0),yo=fe||V.className?{...fe?{backgroundColor:fe}:{},...V.style,...Lo}:void 0,No=bl(),Y=p===!0&&s!=="tabs"&&s!=="accordion",t=ys({bgImage:_,[w]:k}),Eo=Ft(Sn),ko=t?void 0:yo,he=t?null:hn??null,kn=Eo||he?{...ko,...Eo,...he}:ko,Ce=kr(),In=Ar(),Bn=Cr(),Io=fr(),Bo=mr(),gn=hr(),l=s==="accordion",ke=xr(Pn),J=l&&ke==="numbered",Ie=l&&ke==="chevron",Be=Rr(),Tn=vr(),M=bt(s,f),a=h==="scroll"&&s!=="tabs"&&!l,Hn=Mr(),be=C||ue>=0&&b!==null,go=b?b.mirror:So,Fn=ue>=0?ue:n?.index,Z=C&&Br(n?.ownerType),To=Os({direction:s,separator:f,loop:h,line:p,bgImage:_,[w]:k,columns:m,columnsTablet:T,share:d,wrap:ce},be,c.desktop)&&Gr(go,Fn),Dn=Os({direction:s,separator:f,loop:h,line:p,bgImage:_,[w]:k,columns:m,columnsTablet:T,share:d,wrap:ce},be,c.desktop)&&jr(go)!==null,W=tt({direction:s,separator:f,loop:h,line:p,columns:m}),B=lt({direction:s,separator:f,loop:h,line:p,columnsTablet:T}),q=it({direction:s,separator:f,loop:h,line:p,columns:m,columnsTablet:T,share:d,shareTablet:g}),Q=Zr(On)===Jr,ge=Yr(Q),Ho=Y&&oo(ae)===Al,X=s==="row"&&!t&&!M&&!a&&(!Y||Ho)&&B===""&&q===""?oo(ae):void 0,G=X??(s==="column"&&!t?oo(ae):void 0),Vn=Or(),Se=wl(c,i.blockCount??0,X),Mn=(Se&&(!n||n.index===0)?xl(c,i.blockCount??0,X):"")+(me&&(!n||n.index===0)?_l(me,i.blockCount??0):""),Fo=pl(me,i.blockCount??0),Do=B!==""?Number(T)>=2:q===""||K(g)!=="",Vo=B!==""||q!=="",Mo=s==="row"&&!M&&!a&&p!==!0,Te=Mo&&!c.phone&&!c.desktop?pr(_r(yn,i.blockIds??[]),{editing:E}):void 0,Wo=Te!==void 0&&!E,Wn=W!==""?Number(m)>=2:K(d)!=="",Xo=!t&&!l&&!Dn&&!c.desktop&&!c.phone,we=Xo&&!a?st(U,mo,on):"",He=t||be?"":Kr(Hn,s,a?void 0:U,y,we?mo:void 0),Xn=/view-wide:max-view-desktop:justify-/.test(He)?we.split(" ").filter(o=>!o.startsWith("view-wide:max-view-desktop:justify-")).join(" "):we,Gn=Xo&&s==="row"?Qr(y,sn,nn):"",jn=!a&&!l&&W===""&&B===""&&!c.desktop?nt(ce,fo):"",Go=[l?"":K(d),s==="row"?rt(d):"",W,B,q,et(l?"gap":lo),ft(s,f),l&&!J&&!Ie?"border-t border-line":"",Xn,Gn,jn,l?"":ot(lo,rn,tn),l?$s(m,x,J||Ie):"",J?Sr:""].filter(Boolean).join(" "),Kn=Go?` ${Go}`:"",jo=["flex",s==="row"?M||a?"flex-row":`flex-row ${ie(x,z,Ms,fo)}`:"flex-col",ut(a||l?!1:ce),t?Ot(Zs??"center",s):qr(a||l?void 0:U,l?void 0:y)+(He?` ${He}`:"")].join(" ")+Kn,ee=N||t||R||Be?` ${Re}`:"",Fe=Nn?` ${R}`:R?`${ee} ${R}`:ee,Ko=Tn&&s==="column"&&!t&&!a&&K(d)===""&&(typeof U=="string"&&U!=="start"||we!==""),Uo=ee||(Ko?` ${Re}`:""),De=D?` ${Vt}`:"",Ve=t||Ce||io?"":" py-6",Un=X===void 0?"":` ${Nl(X)}`,zo=G===void 0||Q?"":` ${$l(G)}`,Me=G===void 0?"":` ${yl(G)}`,zn=`${Qe}${Ve} ${ge}${Fe}${De}${zo}${Me}`,Yn=Ce?`${Fe}${De}${Me}`.trim():`w-full${Ve}${Fe}${De}${Me}`,oe=(J||Ie)&&$s(m,x)===""?As("Flex",0,"block"):As("Flex",to,s==="row"?"inline":"block",Ds,M||a?void 0:Pe),Yo=dt(d,g,s==="row"?i.blockCount??0:0),Jo=M?{...oe.style,...Ct(s,f)}:oe.style,Jn=Yo?{...Jo,...Yo}:Jo,We=(o="")=>e(i,{className:`${jo}${To?` ${Ur}`:""}${oe.className}${Uo}${Un}${o?` ${o}`:""}${Y?` ${Cl}`:""}${I?` ${Mt(I)}`:""}${Se}${Fo}`,style:Jn,minEmptyHeight:120,...Te?{cell:Te}:null}),Zo=pt(Le)?"":ht(s,f),qo=a?e(_t,{direction:Le,seconds:ln,delay:cn,editing:E,copy:o=>We(o&&Zo?`${o} ${Zo}`:o)}):J?A(O,{children:[e("style",{children:wr}),We()]}):We(),Xe=s==="tabs"?e(ur,{className:`${jo}${oe.className}${Be&&!N&&!t&&!R?"":ee}`,style:oe.style,shape:Fs,children:qo}):qo,Ge=l?e(Ze.Provider,{value:"accordion",children:e(Je.Provider,{value:ke,children:Xe})}):Io?e(Ze.Provider,{value:!1,children:e(Je.Provider,{value:"plain",children:Xe})}):Xe,Qo=s==="row"&&!t&&(y===void 0||y==="stretch"),Zn={stretchedRow:Qo,fillingColumn:s==="column"&&(Be||Ko),columnsRow:W!==""||B!==""||Se!==""||Fo!==""||s==="row"&&(Array.isArray(d)||Array.isArray(g))||Wo,...Wo?{phoneCells:!0}:null,...Qo&&Mo&&(i.blockCount??0)>=2&&Wn?{picturesFillRow:!0}:null,...Vo&&!Do?{fillFrom:"desktop"}:null,...ct(x,z)&&(!Vo||Do)?{phoneRowFills:!0}:null,...F?{id:F}:null},es=n===null?Xr({direction:s,loop:h,bgImage:_,[w]:k,columns:m,mirrorCards:So},!1):null,os=es?e(Ps.Provider,{value:{hand:es,ids:i.blockIds??[],boxes:[]},children:Ge}):v?e(Ps.Provider,{value:null,children:Ge}):Ge,ss=e(_s.Provider,{value:Zn,children:e(ps.Provider,{value:!1,children:be?e(Hr.Provider,{value:To,children:e(Tr.Provider,{value:!C,children:os})}):os})}),qn=ye?.blockCount??0,ns=Io==="accordion"&&!!ye&&(E||qn>0)?e(br,{startsOpen:Rn===!0||gn&&C&&n?.index===0,editing:E,numbered:Bo==="numbered",chevron:Bo==="chevron",title:e(_s.Provider,{value:kl,children:e(ps.Provider,{value:!1,children:e(Ze.Provider,{value:!1,children:e(Je.Provider,{value:"plain",children:e(ye,{className:`min-w-0 flex-1 ${mt}`,minEmptyHeight:24})})})})}),children:ss}):ss,je=Y?e(fl,{row:s==="row",stops:i.blockCount??0,desktopLine:X!==void 0&&Ho,children:ns}):ns,Qn=Hs?.trim()||(Bn?"":void 0),er={values:r,frame:Ve?24:0},or=o=>No?e(hl,{on:No,future:mn===!0,children:o}):o,sr=o=>jt(D)?e(Kt,{href:D,newTab:"auto",className:ks,"aria-labelledby":o,[Es]:""}):e("a",{href:D,className:ks,"aria-labelledby":o,[Es]:""}),rs=(I?Wt(I):"")+Mn+(G===void 0||n&&n.index!==0?"":Ll(G,{gutter:!Q})),ts=rs?e("style",{dangerouslySetInnerHTML:{__html:rs}}):null,se=Bt({loop:h,direction:s,scrollDirection:Le,bgImage:_,[w]:k}),nr=c.desktop&&Se!==""&&!fe&&!V.className&&!Is(Po,Ao,Oo,co)&&!kt($e,ao,uo)&&!D&&!R&&!N&&!I&&!gt(Ae&&!se,Vn)&&ro(to)&&(no(Pe)||ro(Pe))&&io&&Object.values(r).every(o=>no(o)||ro(o)),rr=o=>({...nr?{[Sl]:""}:null,...t?null:{...Et($e),...It($e,ao,uo)},...I?{[Dt]:I}:null,...o?{id:o}:null}),ls=W!==""?Number(m):0,tr=ie(x,z)===ie(void 0),lr=(s==="column"||s==="row"&&!M&&!a&&(ls===1&&tr||ls===0&&i.blockCount===1))&&!t&&!Y&&!Ce,is=t&&In&&!Ce,xe=!t&&n!==null?Ls(Oe,de):null,cs=Ne||xe?A(O,{children:[Ne?e(Bs,{sheet:qt,name:Qt}):null,xe?e("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 -z-10 rounded-[inherit]",style:xe}):null]}):null,as=[Ne?Zt:"",xe?"relative isolate":""].filter(Boolean).join(" "),ds=o=>cs?A(O,{children:[cs,o]}):o,us=(o,P)=>or(e(Pr,{contained:Ae&&!se,style:se?so:void 0,framedClass:zn,fillClass:Yn,columnClass:`${Qe} ${ge}${Uo}${zo}`,tabLabel:Qn,pad:t?void 0:er,border:Is(Po,Ao,Oo,co),outerAttrs:rr(P),box:!0,edge:lr,outerStyle:kn,outerClass:t?as||void 0:[V.className,he?dl:"",he&&Lo?ul:"",as].filter(Boolean).join(" ")||void 0,bleed:is,siteSide:Q,children:ts||P?A(O,{children:[ts,P?sr(P):null,se?e(vs,{children:o}):o]}):se?e(vs,{children:o}):o})),Ke=o=>D?e(Il,{children:P=>us(ds(o),P)}):us(ds(o)),ms=o=>_o.bound?e(yr,{children:o}):o;if(!t){const o=y===void 0||y==="stretch",P=(K(d)!==""||W!==""||B!=="")&&!at(x,z)&&!(q!==""&&K(g)==="")&&(o||ie(x)!==ie(void 0));if(!(s==="row"?P:s==="column"&&o))return Ke(ms(je));const xs=Nr({direction:s,separator:f,loop:h,line:p,share:d,shareTablet:g,sharePhone:z,phoneRow:x,columns:m,columnsTablet:T,stackBelow:ae,shared:c.desktop||c.phone||me,count:vn}),ir={hasWidth:!0,...xs?{bound:Er(xs,_o.bound)}:null};return Ke(e(Rs.Provider,{value:ir,children:je}))}const ne=Ns(_),re=ne?Ls(Oe,de):null,pe=ne?yt({darken:Oe,darkenStyle:de,darkenTablet:Us,darkenStyleTablet:Ys,darkenPhone:zs,darkenStylePhone:Js}):{className:"",style:{}},Ue=Ns(po),fs=ne?Ue?{"--sf-box-bg":eo(_??""),"--sf-box-bg-p":eo(po??"")}:{backgroundImage:eo(_??""),backgroundSize:"cover",backgroundPosition:"center"}:{},hs=ol(void 0,void 0,H),j=hs.className?hs:null,te=ne&&n&&H?.kind==="nextImage"&&H.media?cl(n,H.media):null,S=ne?Ol(H,de)??(te?vl:null):null,Cs=H?.media?.cover??"picture",ze=te?e("div",{className:`absolute inset-0 isolate${Z?" rounded-[inherit]":""}`,children:e(nl.Provider,{value:$n,children:e(sl,{media:te,name:al(n?.row),cover:Cs,ground:il[Cs],arrowsAbove:!0})})}):null,le=j!==null||!!S?.zoom,bs=le?e("div",{"aria-hidden":!0,className:`absolute inset-0${Z?" rounded-[inherit]":""}${Ue?` ${Ts}`:""}${j?` ${j.className}`:""}`,style:{...fs,...j?.style??{}}}):null,Ye=Ut({...r,top:_e(r.top)??L($.desktop,r.unit,"desktop"),bottom:_e(r.bottom)??L($.desktop,r.unit,"desktop"),topPhone:_e(r.topPhone)??L($.phone,r.unitPhone,"mobile"),bottomPhone:_e(r.bottomPhone)??L($.phone,r.unitPhone,"mobile"),left:ve(r.left)??L($.side,r.unit,"desktop"),right:ve(r.right)??L($.side,r.unit,"desktop"),leftPhone:ve(r.leftPhone)??L($.sidePhone,r.unitPhone,"mobile"),rightPhone:ve(r.rightPhone)??L($.sidePhone,r.unitPhone,"mobile"),sideSpace:Q?"site":"box"}),Ss=e("div",{className:`relative z-[1] ${vt} ${Ye?.className??""}${N||R?` ${Re}`:""}`.trimEnd(),style:re?{...Ye?.style,...so,...zt}:{...Ye?.style,...so},children:ms(je)}),ws=is&&Ae?e("div",{className:`${Qe} ${ge}${N||R?` ${Re}`:""}`,children:Ss}):Ss;return Ke(e(O,{children:A("div",{className:`relative isolate overflow-hidden ${Nt}${ee}${Ue&&!le?` ${Ts}`:""}${V.className?` ${V.className}`:""}${S?` ${S.className}`:""}`,style:{...Z?El:{},...yo,...le?{}:fs,...S?S.style:{}},...j||te?{[el]:""}:{},children:[e(Rl,{move:S}),le&&A(O,{children:[e(Bs,{sheet:j?.sheet}),S?.zoom?e("div",{className:`absolute inset-0 overflow-hidden${Z?" rounded-[inherit]":""}`,children:A(Pl,{move:S,className:"absolute inset-0",children:[bs,ze]})}):A(O,{children:[bs,ze]})]}),!le&&ze,e(Lr,{wash:re&&pe.className?{...re,...pe.style}:re,hover:S?.washHover,...Z?{className:"rounded-[inherit]"}:{},...pe.className?{restClassName:pe.className}:{}}),re?e($r,{children:ws}):ws,te?e("div",{[tl]:"",className:ll,children:vo?e(rl,{state:vo}):null}):null]})}))}export{Bl as default};
@@ -1,3 +1,4 @@
1
+ import { type BandPad } from "../lib/content/section-padding.js";
1
2
  import type { SlotComponent } from "efficient-easel/blocks";
2
3
  import type { CardPressTitle } from "../lib/document/card-press-titles.js";
3
4
  import type { MapThemeMode } from "../../format/lib/map-styles.js";
@@ -11,6 +12,7 @@ export interface FootprintProps {
11
12
  mapTheme?: MapThemeMode;
12
13
  padTop?: number;
13
14
  padBottom?: number;
15
+ bandPad?: BandPad;
14
16
  editing?: boolean;
15
17
  omitHead?: boolean;
16
18
  dealers?: boolean;
@@ -23,4 +25,4 @@ export interface FootprintProps {
23
25
  ownerId?: string;
24
26
  pressTitles?: readonly CardPressTitle[];
25
27
  }
26
- export default function Footprint({ sectionNumber, heading, tagline, offices, mapTheme, padTop, padBottom, editing, omitHead, dealers, search, searchHint, noMatchText, listPosition, showDistance, template, ownerId, pressTitles, }: FootprintProps): import("react").JSX.Element | null;
28
+ export default function Footprint({ sectionNumber, heading, tagline, offices, mapTheme, padTop, padBottom, bandPad, editing, omitHead, dealers, search, searchHint, noMatchText, listPosition, showDistance, template, ownerId, pressTitles, }: FootprintProps): import("react").JSX.Element | null;