efficient-web-builder 74.2.0 → 74.4.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 (127) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/editor/components/SectionTextPartBridge.d.ts +2 -8
  3. package/dist/editor/components/SectionTextPartBridge.js +1 -1
  4. package/dist/editor/lib/document/blocks/general/Contents/fields.js +1 -1
  5. package/dist/editor/lib/document/blocks/general/FAQ/fields.js +1 -1
  6. package/dist/editor/lib/document/own-pad-fields.d.ts +4 -3
  7. package/dist/editor/lib/document/own-pad-fields.js +1 -1
  8. package/dist/format/lib/content/faq-row-anchor.d.ts +1 -0
  9. package/dist/format/lib/content/faq-row-anchor.js +1 -0
  10. package/dist/format/lib/content/unique-ids.d.ts +1 -0
  11. package/dist/format/lib/content/unique-ids.js +1 -0
  12. package/dist/format/lib/document/passes/types.d.ts +3 -2
  13. package/dist/format/lib/document/section-catalog.js +2 -2
  14. package/dist/format/lib/editor-words-catalogue.d.ts +4 -0
  15. package/dist/format/lib/editor-words-catalogue.js +3 -3
  16. package/dist/render/components/Banner.d.ts +3 -1
  17. package/dist/render/components/Banner.js +1 -1
  18. package/dist/render/components/BoxAccordionRow.d.ts +2 -1
  19. package/dist/render/components/BoxAccordionRow.js +1 -1
  20. package/dist/render/components/BoxTabPaneContext.d.ts +12 -0
  21. package/dist/render/components/BoxTabPaneContext.js +1 -1
  22. package/dist/render/components/Cards.d.ts +3 -1
  23. package/dist/render/components/Cards.js +1 -1
  24. package/dist/render/components/ChartSection.d.ts +3 -1
  25. package/dist/render/components/ChartSection.js +1 -1
  26. package/dist/render/components/ContactLocations.d.ts +3 -1
  27. package/dist/render/components/ContactLocations.js +2 -2
  28. package/dist/render/components/ContentsCurrentMark.d.ts +7 -0
  29. package/dist/render/components/ContentsCurrentMark.js +1 -0
  30. package/dist/render/components/ContentsList.d.ts +2 -1
  31. package/dist/render/components/ContentsList.js +1 -1
  32. package/dist/render/components/Countdown.d.ts +3 -1
  33. package/dist/render/components/Countdown.js +1 -1
  34. package/dist/render/components/DocBody.d.ts +3 -1
  35. package/dist/render/components/DocBody.js +5 -5
  36. package/dist/render/components/DocMasthead.d.ts +3 -1
  37. package/dist/render/components/DocMasthead.js +1 -1
  38. package/dist/render/components/DocMetaCards.d.ts +3 -1
  39. package/dist/render/components/DocMetaCards.js +1 -1
  40. package/dist/render/components/FAQ.d.ts +5 -1
  41. package/dist/render/components/FAQ.js +1 -1
  42. package/dist/render/components/FeaturedCover.d.ts +3 -1
  43. package/dist/render/components/FeaturedCover.js +1 -1
  44. package/dist/render/components/Flex.js +1 -1
  45. package/dist/render/components/Grid.d.ts +3 -1
  46. package/dist/render/components/Grid.js +1 -1
  47. package/dist/render/components/IntegrationsSection.d.ts +3 -1
  48. package/dist/render/components/IntegrationsSection.js +1 -1
  49. package/dist/render/components/KeyFeatures.d.ts +3 -1
  50. package/dist/render/components/KeyFeatures.js +1 -1
  51. package/dist/render/components/Logos.d.ts +3 -1
  52. package/dist/render/components/Logos.js +1 -1
  53. package/dist/render/components/LongRead.d.ts +3 -1
  54. package/dist/render/components/LongRead.js +1 -1
  55. package/dist/render/components/Masthead.d.ts +3 -1
  56. package/dist/render/components/Masthead.js +1 -1
  57. package/dist/render/components/MockupSection.d.ts +3 -1
  58. package/dist/render/components/MockupSection.js +1 -1
  59. package/dist/render/components/OpenFromLink.d.ts +3 -0
  60. package/dist/render/components/OpenFromLink.js +1 -0
  61. package/dist/render/components/OrderSummary.d.ts +3 -1
  62. package/dist/render/components/OrderSummary.js +1 -1
  63. package/dist/render/components/PaymentBadges.d.ts +3 -1
  64. package/dist/render/components/PaymentBadges.js +1 -1
  65. package/dist/render/components/Prose.d.ts +3 -1
  66. package/dist/render/components/Prose.js +1 -1
  67. package/dist/render/components/SectionHeader.d.ts +2 -1
  68. package/dist/render/components/SectionHeader.js +1 -1
  69. package/dist/render/components/Series.d.ts +3 -1
  70. package/dist/render/components/Series.js +1 -1
  71. package/dist/render/components/Stats.d.ts +3 -1
  72. package/dist/render/components/Stats.js +1 -1
  73. package/dist/render/components/Testimonials.d.ts +3 -1
  74. package/dist/render/components/Testimonials.js +1 -1
  75. package/dist/render/components/TickerSection.d.ts +3 -1
  76. package/dist/render/components/TickerSection.js +1 -1
  77. package/dist/render/lib/content/section-own-pads.d.ts +35 -0
  78. package/dist/render/lib/content/section-own-pads.js +1 -0
  79. package/dist/render/lib/content/section-padding.d.ts +9 -3
  80. package/dist/render/lib/content/section-padding.js +1 -1
  81. package/dist/render/lib/document/blocks/general/Banner/render.js +1 -1
  82. package/dist/render/lib/document/blocks/general/Cards/render.js +1 -1
  83. package/dist/render/lib/document/blocks/general/Chart/render.js +1 -1
  84. package/dist/render/lib/document/blocks/general/ContactLocations/render.js +1 -1
  85. package/dist/render/lib/document/blocks/general/Contents/render.js +1 -1
  86. package/dist/render/lib/document/blocks/general/Countdown/render.js +1 -1
  87. package/dist/render/lib/document/blocks/general/DocBody/render.js +1 -1
  88. package/dist/render/lib/document/blocks/general/DocMasthead/render.js +1 -1
  89. package/dist/render/lib/document/blocks/general/DocMetaCards/render.js +1 -1
  90. package/dist/render/lib/document/blocks/general/FAQ/render.js +1 -1
  91. package/dist/render/lib/document/blocks/general/FeaturedCover/render.js +1 -1
  92. package/dist/render/lib/document/blocks/general/Grid/render.js +1 -1
  93. package/dist/render/lib/document/blocks/general/Integrations/render.js +2 -2
  94. package/dist/render/lib/document/blocks/general/KeyFeatures/render.js +1 -1
  95. package/dist/render/lib/document/blocks/general/Logos/render.js +1 -1
  96. package/dist/render/lib/document/blocks/general/LongRead/render.js +1 -1
  97. package/dist/render/lib/document/blocks/general/Masthead/render.js +1 -1
  98. package/dist/render/lib/document/blocks/general/Mockup/render.js +2 -2
  99. package/dist/render/lib/document/blocks/general/OrderSummary/render.js +1 -1
  100. package/dist/render/lib/document/blocks/general/PaymentBadges/render.js +1 -1
  101. package/dist/render/lib/document/blocks/general/Prose/render.js +1 -1
  102. package/dist/render/lib/document/blocks/general/SectionHeader/render.js +1 -1
  103. package/dist/render/lib/document/blocks/general/Series/render.js +1 -1
  104. package/dist/render/lib/document/blocks/general/Stats/render.js +1 -1
  105. package/dist/render/lib/document/blocks/general/Testimonials/render.js +1 -1
  106. package/dist/render/lib/document/blocks/general/Ticker/render.js +1 -1
  107. package/dist/render/lib/document/blocks/general/section-to-box-rows-cards.js +1 -1
  108. package/dist/render/lib/document/blocks/general/section-to-box-rows-docbody.js +2 -2
  109. package/dist/render/lib/document/blocks/general/section-to-box-rows-head.js +1 -1
  110. package/dist/render/lib/document/blocks/general/section-to-box-rows-integrations.js +1 -1
  111. package/dist/render/lib/document/blocks/general/section-to-box-rows-locations.js +1 -1
  112. package/dist/render/lib/document/blocks/general/section-to-box-rows-logos.js +1 -1
  113. package/dist/render/lib/document/blocks/general/section-to-box-rows-pageheader.js +1 -1
  114. package/dist/render/lib/document/blocks/general/section-to-box-rows-promo.js +1 -1
  115. package/dist/render/lib/document/blocks/general/section-to-box-rows-proof.js +1 -1
  116. package/dist/render/lib/document/blocks/general/section-to-box-rows-stats.js +1 -1
  117. package/dist/render/lib/document/blocks/general/section-to-box-rows.js +1 -1
  118. package/dist/render/lib/document/editing-bridges.d.ts +5 -1
  119. package/dist/render/lib/document/editing-bridges.js +1 -1
  120. package/dist/render/lib/document/part-styles.d.ts +3 -1
  121. package/dist/render/lib/document/part-styles.js +2 -2
  122. package/dist/render/lib/document/passes/clickable-parts.js +1 -1
  123. package/dist/render/lib/document/passes/section-padding.d.ts +3 -3
  124. package/dist/render/lib/document/passes/section-padding.js +1 -1
  125. package/dist/routine-index.json +1 -1
  126. package/dist/value-index.json +1 -1
  127. package/package.json +1 -1
@@ -1 +1 @@
1
- import{jsx as t,jsxs as f,Fragment as M}from"react/jsx-runtime";import{PagePicture as u}from"../lib/first-screen.js";import{BrandNameMark as H}from"efficient-shell/icons/brands";import{PaymentMark as y,paymentMarkItems as Y}from"efficient-shell/icons/payment";import Z from"./BlockFrame.js";import{MarkZoom as h}from"./PictureZoom.js";import{renderChrome as U,renderGold as _,renderHeadline as J}from"./goldPhrases.js";import{LogoWallProvider as I}from"./LogoWallContext.js";import{useBoxCell as V}from"./InBoxContext.js";import{EMPTY_ELSE_CLASS as X,EMPTY_HIDES_CLASS as q,EmptyHidesStyle as Q}from"../lib/content/empty-hides.js";import{media as x}from"../lib/media.js";import{sizedImage as v}from"../../format/lib/sized-image.js";import{stripMarkup as g}from"../../format/lib/markup.js";import{DEFAULT_LOGO_LOOK as ee}from"../../format/lib/sections/logo-look.js";import{paymentRowMark as R}from"../lib/sections/payment-rows.js";import{alignViewClasses as ne,BLOCK_ALIGN_JUSTIFY as te,blockAlignOf as re}from"../../format/lib/content/block-align.js";import{FOOTER_MARK_SIZES as P}from"../../format/lib/document/box-footer.js";import{say as ae}from"../../format/lib/editor-words.js";const N={label:"text-[length:var(--size-label,13px)]",chip:"text-[length:var(--size-label,14px)]"},p="sf-logo-wall",se="sf-logo-items",le="flex flex-wrap items-center",ie="flex flex-nowrap items-center",oe=(n,e,r,a=!1)=>{const o=re(n)??"center";return[a?ie:le,te[o],ne("justify",o,e,r,{atSectionLine:!0})].filter(Boolean).join(" ")},O="plain",$={plain:{x:3.5,y:2},cards:{x:.75,y:.75},marks:{x:.75,y:.5},chips:{x:.75,y:.75}},w=n=>({columnGap:`${$[n].x}rem`,rowGap:`${$[n].y}rem`}),L=(n,e)=>`calc((100% - ${(n-1)*$[e].x}rem) / ${n})`;function ce({items:n,contained:e,heading:r,columns:a,grayscale:o,logoHeight:c,bandPadding:s,logos:i,look:l=ee,omitHead:m=!1,cards:d,align:j,alignTablet:T,alignPhone:G,labelledBy:D}){const S=oe(j,T,G,V()?.loops===!0),C=l==="marks",F=a!=null?{flex:`0 0 ${L(a,O)}`}:void 0,b=!m;return f(Z,{contained:e,fillWidth:C&&m?"w-auto max-w-full":void 0,className:b&&s==null?"py-10":"",style:!b||s==null?void 0:{paddingTop:`${s}px`,paddingBottom:`${s}px`},children:[!m&&r!=null&&r!==""?t("h2",{className:`mb-8 text-center font-mono ${N.label} uppercase tracking-[0.2em] text-fg-dim`,children:J(r,!1)}):null,f(me,{listed:C,labelledBy:D,children:[d!==void 0?f(I,{value:{look:l,logoHeight:c,grayscale:o},children:[a!=null?t("style",{children:`.${p}-c${a}>*{flex:0 0 ${L(a,l)}}`}):null,t("div",{className:[p,a!=null?`${p}-c${a}`:"",S].filter(Boolean).join(" "),style:w(l),children:d})]}):i?f(I,{value:{look:l,logoHeight:c,grayscale:o},children:[t(Q,{}),a!=null?t("style",{children:`.${p}-c${a}>*{flex:0 0 ${L(a,l)}}`}):null,t(i,{className:[p,q,a!=null?`${p}-c${a}`:"",S].filter(Boolean).join(" "),style:w(l),minEmptyHeight:80})]}):null,d!==void 0?null:t("div",{className:`${se} ${X} ${S}`,style:w(O),children:(n??[]).map((E,K)=>t("div",{className:"text-center",style:F,children:t(Ne,{src:E.src,alt:E.alt,look:O,logoHeight:c,grayscale:o})},K))})]})]})}function me({listed:n,labelledBy:e,children:r}){return n?t("div",{className:"contents",role:"list",...e?{"aria-labelledby":e}:{"aria-label":ae("Ways to pay")},children:r}):t(M,{children:r})}const k="font-mono text-[12px] uppercase tracking-[0.18em]";function W(n){const e=Y({name:g(n)});return!e.length||e.length===1&&e[0].kind==="words"&&!e[0].glyph?[]:e}function de({item:n,children:e}){return n.kind==="brand"?t(h,{children:e}):t(M,{children:e})}function pe(n){return n.length?t("span",{className:"flex items-center gap-3",children:n.map((e,r)=>t(y,{item:e,size:20,className:k},r))}):null}const fe="shrink-0 gap-2 whitespace-nowrap rounded bg-bg px-5",ue=`${N.chip} font-medium tracking-wide text-fg-dim`,he="sf-logo-chip flex h-10 items-center border border-line",xe={lead:"sf-card",tail:"bg-surface px-4"},z={lead:"",tail:fe};function B({look:n,children:e}){const r=[n.lead,he,n.tail].filter(Boolean).join(" ");return n===z?t("div",{className:r,"data-sf-chip":"",children:e}):t("div",{className:r,children:e})}function Se({src:n,alt:e}){return f(B,{look:z,children:[n?t(u,{...A(x(n)),alt:"",className:"h-4 w-auto"}):e?t(H,{name:e,size:16,className:"shrink-0 text-fg"}):null,e?t("span",{className:ue,children:_(e)}):null]})}const ye=P.sm.mark,_e=Object.values(P),ge=n=>_e.reduce((e,r)=>Math.abs(r.mark-n)<Math.abs(e.mark-n)?r:e).words;function Ne({src:n,alt:e,look:r,logoHeight:a,grayscale:o,kind:c}){if(r==="marks"){const s=a??ye,i=!n&&c!==void 0?R({label:e,kind:c}):null,l=i?[i]:!n&&e?W(e):[];return t("span",{role:"listitem",className:"flex items-center gap-3",style:{fontSize:`${ge(s)}px`},children:l.length?l.map((m,d)=>t(de,{item:m,children:t(y,{item:m,size:s})},d)):n?t(h,{children:t(u,{...A(x(n)),alt:g(e||""),className:"w-auto",style:{height:`${s}px`}})}):e&&t("span",{children:_(e)})})}if(r==="chips")return t(Se,{src:n,alt:e});if(r==="cards"){const s=!n&&c!==void 0?R({label:e,kind:c}):null,i=!s&&!n&&e?W(e):[],l=t(B,{look:xe,children:s?t(y,{item:s,size:20,className:k}):i.length?pe(i):n?t(u,{...A(x(n)),alt:g(e||""),className:o===!1?"max-h-5 w-auto opacity-90":"max-h-5 w-auto opacity-90 grayscale"}):e&&t("span",{className:k,children:_(e)})});return(n?!0:s?s.kind==="brand":i.length>0&&i.every(d=>d.kind==="brand"))?t(h,{children:l}):l}return n?t(h,{children:t(u,{...Oe(x(n)),alt:e,className:["mx-auto w-auto opacity-60 transition-opacity hover:opacity-100",a==null?"h-7":"",o===!1?"":"grayscale"].filter(Boolean).join(" "),style:a==null?void 0:{height:`${a}px`}})}):t("span",{className:`font-mono ${N.label} uppercase tracking-[0.2em] text-fg-dim`,children:U(e||"Logo")})}function A(n){const e=v(n,{fallbackWidth:320,maxWidth:640});return e.srcSet?{src:e.src,srcSet:e.srcSet,sizes:"120px"}:{src:n}}function Oe(n){const e=v(n,{fallbackWidth:640,maxWidth:960});return e.srcSet?{src:e.src,srcSet:e.srcSet,sizes:"240px"}:{src:n}}export{Se as AppChip,k as CARD_WORDS_CLASS,Ne as LogoWallMark,ce as default};
1
+ import{jsx as n,jsxs as f,Fragment as I}from"react/jsx-runtime";import{PagePicture as u}from"../lib/first-screen.js";import{BrandNameMark as Y}from"efficient-shell/icons/brands";import{PaymentMark as y,paymentMarkItems as Z}from"efficient-shell/icons/payment";import U from"./BlockFrame.js";import{MarkZoom as h}from"./PictureZoom.js";import{renderChrome as J,renderGold as _,renderHeadline as V}from"./goldPhrases.js";import{LogoWallProvider as R}from"./LogoWallContext.js";import{useBoxCell as X}from"./InBoxContext.js";import{EMPTY_ELSE_CLASS as q,EMPTY_HIDES_CLASS as Q,EmptyHidesStyle as ee}from"../lib/content/empty-hides.js";import{media as x}from"../lib/media.js";import{sizedImage as v}from"../../format/lib/sized-image.js";import{stripMarkup as g}from"../../format/lib/markup.js";import{DEFAULT_LOGO_LOOK as te}from"../../format/lib/sections/logo-look.js";import{paymentRowMark as P}from"../lib/sections/payment-rows.js";import{alignViewClasses as ne,BLOCK_ALIGN_JUSTIFY as re,blockAlignOf as ae}from"../../format/lib/content/block-align.js";import{FOOTER_MARK_SIZES as W}from"../../format/lib/document/box-footer.js";import{say as le}from"../../format/lib/editor-words.js";import{withRootPad as se}from"../lib/content/section-own-pads.js";const w={label:"text-[length:var(--size-label,13px)]",chip:"text-[length:var(--size-label,14px)]"},p="sf-logo-wall",ie="sf-logo-items",oe="flex flex-wrap items-center",ce="flex flex-nowrap items-center",me=(t,e,r,a=!1)=>{const o=ae(t)??"center";return[a?ce:oe,re[o],ne("justify",o,e,r,{atSectionLine:!0})].filter(Boolean).join(" ")},O="plain",$={plain:{x:3.5,y:2},cards:{x:.75,y:.75},marks:{x:.75,y:.5},chips:{x:.75,y:.75}},N=t=>({columnGap:`${$[t].x}rem`,rowGap:`${$[t].y}rem`}),L=(t,e)=>`calc((100% - ${(t-1)*$[e].x}rem) / ${t})`;function de({items:t,contained:e,heading:r,columns:a,grayscale:o,logoHeight:c,bandPadding:l,logos:i,look:s=te,omitHead:m=!1,cards:d,align:T,alignTablet:G,alignPhone:D,labelledBy:F,pad:C}){const S=me(T,G,D,X()?.loops===!0),b=s==="marks",K=a!=null?{flex:`0 0 ${L(a,O)}`}:void 0,E=!m;return f(U,{contained:e,fillWidth:b&&m?"w-auto max-w-full":void 0,...se(E&&l==null?"py-10":"",C,C||!E||l==null?void 0:{paddingTop:`${l}px`,paddingBottom:`${l}px`}),children:[!m&&r!=null&&r!==""?n("h2",{className:`mb-8 text-center font-mono ${w.label} uppercase tracking-[0.2em] text-fg-dim`,children:V(r,!1)}):null,f(pe,{listed:b,labelledBy:F,children:[d!==void 0?f(R,{value:{look:s,logoHeight:c,grayscale:o},children:[a!=null?n("style",{children:`.${p}-c${a}>*{flex:0 0 ${L(a,s)}}`}):null,n("div",{className:[p,a!=null?`${p}-c${a}`:"",S].filter(Boolean).join(" "),style:N(s),children:d})]}):i?f(R,{value:{look:s,logoHeight:c,grayscale:o},children:[n(ee,{}),a!=null?n("style",{children:`.${p}-c${a}>*{flex:0 0 ${L(a,s)}}`}):null,n(i,{className:[p,Q,a!=null?`${p}-c${a}`:"",S].filter(Boolean).join(" "),style:N(s),minEmptyHeight:80})]}):null,d!==void 0?null:n("div",{className:`${ie} ${q} ${S}`,style:N(O),children:(t??[]).map((M,H)=>n("div",{className:"text-center",style:K,children:n($e,{src:M.src,alt:M.alt,look:O,logoHeight:c,grayscale:o})},H))})]})]})}function pe({listed:t,labelledBy:e,children:r}){return t?n("div",{className:"contents",role:"list",...e?{"aria-labelledby":e}:{"aria-label":le("Ways to pay")},children:r}):n(I,{children:r})}const k="font-mono text-[12px] uppercase tracking-[0.18em]";function z(t){const e=Z({name:g(t)});return!e.length||e.length===1&&e[0].kind==="words"&&!e[0].glyph?[]:e}function fe({item:t,children:e}){return t.kind==="brand"?n(h,{children:e}):n(I,{children:e})}function ue(t){return t.length?n("span",{className:"flex items-center gap-3",children:t.map((e,r)=>n(y,{item:e,size:20,className:k},r))}):null}const he="shrink-0 gap-2 whitespace-nowrap rounded bg-bg px-5",xe=`${w.chip} font-medium tracking-wide text-fg-dim`,Se="sf-logo-chip flex h-10 items-center border border-line",ye={lead:"sf-card",tail:"bg-surface px-4"},B={lead:"",tail:he};function j({look:t,children:e}){const r=[t.lead,Se,t.tail].filter(Boolean).join(" ");return t===B?n("div",{className:r,"data-sf-chip":"",children:e}):n("div",{className:r,children:e})}function _e({src:t,alt:e}){return f(j,{look:B,children:[t?n(u,{...A(x(t)),alt:"",className:"h-4 w-auto"}):e?n(Y,{name:e,size:16,className:"shrink-0 text-fg"}):null,e?n("span",{className:xe,children:_(e)}):null]})}const ge=W.sm.mark,we=Object.values(W),Oe=t=>we.reduce((e,r)=>Math.abs(r.mark-t)<Math.abs(e.mark-t)?r:e).words;function $e({src:t,alt:e,look:r,logoHeight:a,grayscale:o,kind:c}){if(r==="marks"){const l=a??ge,i=!t&&c!==void 0?P({label:e,kind:c}):null,s=i?[i]:!t&&e?z(e):[];return n("span",{role:"listitem",className:"flex items-center gap-3",style:{fontSize:`${Oe(l)}px`},children:s.length?s.map((m,d)=>n(fe,{item:m,children:n(y,{item:m,size:l})},d)):t?n(h,{children:n(u,{...A(x(t)),alt:g(e||""),className:"w-auto",style:{height:`${l}px`}})}):e&&n("span",{children:_(e)})})}if(r==="chips")return n(_e,{src:t,alt:e});if(r==="cards"){const l=!t&&c!==void 0?P({label:e,kind:c}):null,i=!l&&!t&&e?z(e):[],s=n(j,{look:ye,children:l?n(y,{item:l,size:20,className:k}):i.length?ue(i):t?n(u,{...A(x(t)),alt:g(e||""),className:o===!1?"max-h-5 w-auto opacity-90":"max-h-5 w-auto opacity-90 grayscale"}):e&&n("span",{className:k,children:_(e)})});return(t?!0:l?l.kind==="brand":i.length>0&&i.every(d=>d.kind==="brand"))?n(h,{children:s}):s}return t?n(h,{children:n(u,{...Ne(x(t)),alt:e,className:["mx-auto w-auto opacity-60 transition-opacity hover:opacity-100",a==null?"h-7":"",o===!1?"":"grayscale"].filter(Boolean).join(" "),style:a==null?void 0:{height:`${a}px`}})}):n("span",{className:`font-mono ${w.label} uppercase tracking-[0.2em] text-fg-dim`,children:J(e||"Logo")})}function A(t){const e=v(t,{fallbackWidth:320,maxWidth:640});return e.srcSet?{src:e.src,srcSet:e.srcSet,sizes:"120px"}:{src:t}}function Ne(t){const e=v(t,{fallbackWidth:640,maxWidth:960});return e.srcSet?{src:e.src,srcSet:e.srcSet,sizes:"240px"}:{src:t}}export{_e as AppChip,k as CARD_WORDS_CLASS,$e as LogoWallMark,de as default};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  export interface LongReadProps {
2
3
  omitHead?: boolean;
3
4
  headNum?: string;
@@ -17,5 +18,6 @@ export interface LongReadProps {
17
18
  metaPublished?: string;
18
19
  metaPublishedAt?: string;
19
20
  metaReads?: string;
21
+ pad?: RootPadAttrs | null;
20
22
  }
21
- export default function LongRead({ headNum, headTitle, headDesc, category, metaMiddle, readLabel, title, dek, quote, quoteAttribution, ctaText, ctaHref, image, imageLabel, metaPublished, metaPublishedAt, metaReads, omitHead, }: LongReadProps): import("react").JSX.Element;
23
+ export default function LongRead({ headNum, headTitle, headDesc, category, metaMiddle, readLabel, title, dek, quote, quoteAttribution, ctaText, ctaHref, image, imageLabel, metaPublished, metaPublishedAt, metaReads, omitHead, pad, }: LongReadProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- import{jsx as e,jsxs as r,Fragment as m}from"react/jsx-runtime";import{EDITORIAL_COLUMN as E,withSideOnce as B}from"../../format/lib/content/page-width.js";import{HideTaker as F}from"./ViewHideRoot.js";import{Fragment as w}from"react";import{SiteLink as I}from"../lib/site-runtime.js";import T from"./PostDate.js";import{stripMarkup as C}from"../../format/lib/markup.js";import D from"./EditorialSectionHead.js";import H from"./Placeholder.js";import M from"./SectionEyebrow.js";import{renderGold as a,renderHeadline as S}from"./goldPhrases.js";import{scrim as z}from"../../format/lib/content/scrim.js";import{useSideSpaceOnce as G}from"./SideSpaceOnce.js";const n={bodySmall:"text-[length:var(--size-body,14px)]",body:"text-[length:var(--size-body,17px)]",bodyLarge:"text-[length:var(--size-body,22px)]",labelSmall:"text-[length:var(--size-label,12px)]",labelLarge:"text-[length:var(--size-label,13px)]"};function R({headNum:L,headTitle:f,headDesc:x,category:g,metaMiddle:b,readLabel:h,title:i,dek:v,quote:o,quoteAttribution:s,ctaText:u,ctaHref:$,image:O,imageLabel:k,metaPublished:d,metaPublishedAt:t,metaReads:c,omitHead:y=!1}){const _=G(),N=[g?e("span",{className:"text-accent",children:a(g)}):null,b?e("span",{children:a(b)}):null,h?e("span",{children:a(h)}):null].filter(Boolean),j=!!t||!!d||!!c;return e(F,{as:"section",className:y?"border-b border-line pt-0 pb-[120px] max-view-desktop:pt-0 max-view-desktop:pb-20":"border-b border-line py-[120px] max-view-desktop:py-20",children:r("div",{className:B(E,_),children:[y?null:e(D,{num:L,title:f?S(f,!0):void 0,desc:x?a(x):void 0}),r("article",{className:"sf-card grid min-h-[640px] grid-cols-[1fr_1.2fr] border border-line max-view-desktop:grid-cols-1",children:[r("div",{className:"flex flex-col justify-center gap-7 border-r border-line bg-surface px-14 py-16 max-view-desktop:border-r-0 max-view-desktop:border-b max-view-desktop:px-7 max-view-desktop:py-12",children:[N.length>0&&e("div",{className:`flex items-center gap-3.5 font-mono ${n.labelSmall} uppercase tracking-[0.3em] text-fg-dim`,children:N.map((p,l)=>r(w,{children:[l>0&&e("span",{className:"opacity-40",children:"·"}),p]},l))}),i&&e("h2",{className:"font-heading2 text-[length:min(var(--size-headingMedium,clamp(36px,4.2vw,68px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-[0.95] tracking-[-0.035em]",children:S(i,!0)}),v&&e("p",{className:`font-serif ${n.bodyLarge} italic leading-[1.45] text-fg`,children:a(v)}),(o||s)&&r("blockquote",{className:`max-w-[520px] border-l-2 border-accent py-1.5 pl-[22px] font-serif ${n.body} italic leading-[1.6] text-fg-dim`,children:[o&&r(m,{children:["“",a(o),"”"]}),s&&e("strong",{className:`mt-2.5 block font-display ${n.bodySmall} font-normal not-italic uppercase tracking-[0.22em] text-fg`,children:a(s)})]}),u&&r(I,{newTab:"auto",href:$||"#",className:`inline-flex items-center gap-3.5 self-start border border-btn px-7 py-4 font-mono ${n.labelLarge} uppercase tracking-[0.3em] text-btn transition-colors hover:bg-btn hover:text-btn-ink`,children:[a(u)," ",e("span",{children:"→"})]})]}),r("div",{className:"relative overflow-hidden bg-surface-2 max-view-desktop:aspect-[4/3]",children:[e(H,{label:"long-read",src:O||void 0,alt:C(i||"Long read"),sizes:"(max-width: 1100px) 100vw, 56vw"}),e("div",{className:"pointer-events-none absolute inset-0 z-[1]",style:{background:`linear-gradient(180deg, ${z(.55)} 0%, transparent 25%, transparent 60%, ${z(.7)} 100%)`}}),k&&e(M,{text:k,size:12,className:"absolute right-6 top-6 z-[2]"}),j&&e("div",{className:`absolute bottom-6 left-6 z-[2] font-mono ${n.labelSmall} uppercase leading-[1.8] tracking-[0.22em] text-overlay-fg`,children:[t||d?r(m,{children:[e("strong",{className:"font-normal text-accent",children:"Published"})," ",t?e(T,{at:t}):a(d)]}):null,c?r(m,{children:[e("strong",{className:"font-normal text-accent",children:"Reads in"})," ",a(c)]}):null].filter(Boolean).map((p,l)=>r(w,{children:[l>0&&e("br",{}),p]},l))})]})]})]})})}export{R as default};
1
+ import{jsx as e,jsxs as r,Fragment as m}from"react/jsx-runtime";import{EDITORIAL_COLUMN as B,withSideOnce as F}from"../../format/lib/content/page-width.js";import{HideTaker as I}from"./ViewHideRoot.js";import{Fragment as N}from"react";import{SiteLink as T}from"../lib/site-runtime.js";import C from"./PostDate.js";import{stripMarkup as D}from"../../format/lib/markup.js";import H from"./EditorialSectionHead.js";import M from"./Placeholder.js";import R from"./SectionEyebrow.js";import{renderGold as n,renderHeadline as S}from"./goldPhrases.js";import{scrim as z}from"../../format/lib/content/scrim.js";import{withRootPad as G}from"../lib/content/section-own-pads.js";import{useSideSpaceOnce as U}from"./SideSpaceOnce.js";const a={bodySmall:"text-[length:var(--size-body,14px)]",body:"text-[length:var(--size-body,17px)]",bodyLarge:"text-[length:var(--size-body,22px)]",labelSmall:"text-[length:var(--size-label,12px)]",labelLarge:"text-[length:var(--size-label,13px)]"};function X({headNum:L,headTitle:f,headDesc:x,category:g,metaMiddle:b,readLabel:h,title:o,dek:v,quote:i,quoteAttribution:s,ctaText:u,ctaHref:$,image:O,imageLabel:k,metaPublished:d,metaPublishedAt:l,metaReads:c,omitHead:y=!1,pad:_}){const j=U(),w=[g?e("span",{className:"text-accent",children:n(g)}):null,b?e("span",{children:n(b)}):null,h?e("span",{children:n(h)}):null].filter(Boolean),E=!!l||!!d||!!c;return e(I,{as:"section",...G(y?"border-b border-line pt-0 pb-[120px] max-view-desktop:pt-0 max-view-desktop:pb-20":"border-b border-line py-[120px] max-view-desktop:py-20",_),children:r("div",{className:F(B,j),children:[y?null:e(H,{num:L,title:f?S(f,!0):void 0,desc:x?n(x):void 0}),r("article",{className:"sf-card grid min-h-[640px] grid-cols-[1fr_1.2fr] border border-line max-view-desktop:grid-cols-1",children:[r("div",{className:"flex flex-col justify-center gap-7 border-r border-line bg-surface px-14 py-16 max-view-desktop:border-r-0 max-view-desktop:border-b max-view-desktop:px-7 max-view-desktop:py-12",children:[w.length>0&&e("div",{className:`flex items-center gap-3.5 font-mono ${a.labelSmall} uppercase tracking-[0.3em] text-fg-dim`,children:w.map((p,t)=>r(N,{children:[t>0&&e("span",{className:"opacity-40",children:"·"}),p]},t))}),o&&e("h2",{className:"font-heading2 text-[length:min(var(--size-headingMedium,clamp(36px,4.2vw,68px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-[0.95] tracking-[-0.035em]",children:S(o,!0)}),v&&e("p",{className:`font-serif ${a.bodyLarge} italic leading-[1.45] text-fg`,children:n(v)}),(i||s)&&r("blockquote",{className:`max-w-[520px] border-l-2 border-accent py-1.5 pl-[22px] font-serif ${a.body} italic leading-[1.6] text-fg-dim`,children:[i&&r(m,{children:["“",n(i),"”"]}),s&&e("strong",{className:`mt-2.5 block font-display ${a.bodySmall} font-normal not-italic uppercase tracking-[0.22em] text-fg`,children:n(s)})]}),u&&r(T,{newTab:"auto",href:$||"#",className:`inline-flex items-center gap-3.5 self-start border border-btn px-7 py-4 font-mono ${a.labelLarge} uppercase tracking-[0.3em] text-btn transition-colors hover:bg-btn hover:text-btn-ink`,children:[n(u)," ",e("span",{children:"→"})]})]}),r("div",{className:"relative overflow-hidden bg-surface-2 max-view-desktop:aspect-[4/3]",children:[e(M,{label:"long-read",src:O||void 0,alt:D(o||"Long read"),sizes:"(max-width: 1100px) 100vw, 56vw"}),e("div",{className:"pointer-events-none absolute inset-0 z-[1]",style:{background:`linear-gradient(180deg, ${z(.55)} 0%, transparent 25%, transparent 60%, ${z(.7)} 100%)`}}),k&&e(R,{text:k,size:12,className:"absolute right-6 top-6 z-[2]"}),E&&e("div",{className:`absolute bottom-6 left-6 z-[2] font-mono ${a.labelSmall} uppercase leading-[1.8] tracking-[0.22em] text-overlay-fg`,children:[l||d?r(m,{children:[e("strong",{className:"font-normal text-accent",children:"Published"})," ",l?e(C,{at:l}):n(d)]}):null,c?r(m,{children:[e("strong",{className:"font-normal text-accent",children:"Reads in"})," ",n(c)]}):null].filter(Boolean).map((p,t)=>r(N,{children:[t>0&&e("br",{}),p]},t))})]})]})]})})}export{X as default};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  export interface MastheadMetaLine {
2
3
  lead?: string;
3
4
  rest?: string;
@@ -12,5 +13,6 @@ export interface MastheadProps {
12
13
  }[];
13
14
  issueTotal?: string;
14
15
  editing?: boolean;
16
+ pad?: RootPadAttrs | null;
15
17
  }
16
- export default function Masthead({ eyebrow, issueMeta, lead, issueHeading, issueList, issueTotal, }: MastheadProps): import("react").JSX.Element;
18
+ export default function Masthead({ eyebrow, issueMeta, lead, issueHeading, issueList, issueTotal, pad, }: MastheadProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- import{jsx as t,Fragment as k,jsxs as a}from"react/jsx-runtime";import{EDITORIAL_COLUMN as w,withSideOnce as N}from"../../format/lib/content/page-width.js";import{HideTaker as S}from"./ViewHideRoot.js";import u from"./SectionEyebrow.js";import{renderGold as r,renderHeadline as _,splitParagraphs as j}from"./goldPhrases.js";import{useSideSpaceOnce as O}from"./SideSpaceOnce.js";const i={body:"text-[length:var(--size-body,18px)]",headingSmall:"text-[length:var(--size-headingSmall,20px)]",label:"text-[length:var(--size-label,13px)]"};function y({eyebrow:l,issueMeta:x,lead:g,issueHeading:n,issueList:h,issueTotal:o}){const f=O(),d=(x??[]).filter(e=>(e?.lead??"").trim()||(e?.rest??"").trim()),c=(h??[]).map(e=>e?.text??"").filter(e=>e.trim()),m=j(g??""),b=!!l||d.length>0,p=!!n||c.length>0||!!o,v=m.length>0||p;return t(S,{as:"section",className:"border-b border-line pt-20 pb-10 max-view-desktop:pt-[60px] max-view-desktop:pb-8",children:a("div",{className:N(w,f),children:[b&&a("div",{className:"flex items-end justify-between gap-[60px] pb-8 max-view-desktop:flex-col max-view-desktop:items-start max-view-desktop:gap-4",children:[l&&t(u,{text:l,size:14,className:"pb-3.5"}),d.length>0&&t("div",{className:`pb-3.5 text-right font-mono ${i.label} uppercase leading-[1.8] tracking-[0.18em] text-fg-dim max-view-desktop:text-left`,children:d.map((e,s)=>a("div",{children:[t("strong",{className:"font-normal text-fg",children:r(e.lead??"")}),e.rest?.trim()?a(k,{children:[" ",r(e.rest)]}):null]},s))})]}),v&&a("div",{className:"grid grid-cols-[1fr_auto] items-start gap-[60px] border-t border-line pt-8 max-view-desktop:grid-cols-1 max-view-desktop:gap-4",children:[m.length>0&&t("div",{className:"max-w-[720px]",children:m.map((e,s)=>t("p",{className:`font-heading3 ${i.headingSmall} leading-[1.5] tracking-[-0.005em] text-fg [&:not(:first-child)]:mt-4`,children:r(e,!0)},s))}),p&&a("div",{className:`min-w-[240px] text-right font-mono ${i.label} uppercase leading-[1.9] tracking-[0.22em] text-fg-dim max-view-desktop:text-left`,children:[n&&t("strong",{className:`mb-1.5 block font-display ${i.body} font-normal tracking-[-0.01em] normal-case text-fg`,children:_(n,!1)}),c.map((e,s)=>a("span",{children:[r(e),t("br",{})]},s)),o&&t("span",{className:"text-accent",children:r(o)})]})]})]})})}export{y as default};
1
+ import{jsx as t,Fragment as w,jsxs as a}from"react/jsx-runtime";import{EDITORIAL_COLUMN as N,withSideOnce as S}from"../../format/lib/content/page-width.js";import{withRootPad as u}from"../lib/content/section-own-pads.js";import{HideTaker as _}from"./ViewHideRoot.js";import j from"./SectionEyebrow.js";import{renderGold as i,renderHeadline as O,splitParagraphs as y}from"./goldPhrases.js";import{useSideSpaceOnce as z}from"./SideSpaceOnce.js";const s={body:"text-[length:var(--size-body,18px)]",headingSmall:"text-[length:var(--size-headingSmall,20px)]",label:"text-[length:var(--size-label,13px)]"};function E({eyebrow:l,issueMeta:x,lead:g,issueHeading:n,issueList:h,issueTotal:o,pad:f}){const b=z(),d=(x??[]).filter(e=>(e?.lead??"").trim()||(e?.rest??"").trim()),c=(h??[]).map(e=>e?.text??"").filter(e=>e.trim()),m=y(g??""),v=!!l||d.length>0,p=!!n||c.length>0||!!o,k=m.length>0||p;return t(_,{as:"section",...u("border-b border-line pt-20 pb-10 max-view-desktop:pt-[60px] max-view-desktop:pb-8",f),children:a("div",{className:S(N,b),children:[v&&a("div",{className:"flex items-end justify-between gap-[60px] pb-8 max-view-desktop:flex-col max-view-desktop:items-start max-view-desktop:gap-4",children:[l&&t(j,{text:l,size:14,className:"pb-3.5"}),d.length>0&&t("div",{className:`pb-3.5 text-right font-mono ${s.label} uppercase leading-[1.8] tracking-[0.18em] text-fg-dim max-view-desktop:text-left`,children:d.map((e,r)=>a("div",{children:[t("strong",{className:"font-normal text-fg",children:i(e.lead??"")}),e.rest?.trim()?a(w,{children:[" ",i(e.rest)]}):null]},r))})]}),k&&a("div",{className:"grid grid-cols-[1fr_auto] items-start gap-[60px] border-t border-line pt-8 max-view-desktop:grid-cols-1 max-view-desktop:gap-4",children:[m.length>0&&t("div",{className:"max-w-[720px]",children:m.map((e,r)=>t("p",{className:`font-heading3 ${s.headingSmall} leading-[1.5] tracking-[-0.005em] text-fg [&:not(:first-child)]:mt-4`,children:i(e,!0)},r))}),p&&a("div",{className:`min-w-[240px] text-right font-mono ${s.label} uppercase leading-[1.9] tracking-[0.22em] text-fg-dim max-view-desktop:text-left`,children:[n&&t("strong",{className:`mb-1.5 block font-display ${s.body} font-normal tracking-[-0.01em] normal-case text-fg`,children:O(n,!1)}),c.map((e,r)=>a("span",{children:[i(e),t("br",{})]},r)),o&&t("span",{className:"text-accent",children:i(o)})]})]})]})})}export{E as default};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  export type MockupVariant = "spec-card" | "fitment" | "portal" | "kanban" | "claims" | "browser" | "terminal";
2
3
  export interface MockupPill {
3
4
  label?: string;
@@ -56,5 +57,6 @@ export interface MockupSectionProps {
56
57
  align?: "right" | "left";
57
58
  editing?: boolean;
58
59
  omitHead?: boolean;
60
+ pad?: RootPadAttrs | null;
59
61
  }
60
- export default function MockupSection({ eyebrow, title, body, variant, cardHeader, badge, cardTitle, cardSubtitle, pills, tiles, rows, button, footnote, col1Title, col1Cards, col2Title, col2Cards, col3Title, col3Cards, col4Title, col4Cards, barsHeading, bars, termLines, urlText, heroTitle, heroButton, products, align, editing, omitHead, }?: MockupSectionProps): import("react").JSX.Element | null;
62
+ export default function MockupSection({ eyebrow, title, body, variant, cardHeader, badge, cardTitle, cardSubtitle, pills, tiles, rows, button, footnote, col1Title, col1Cards, col2Title, col2Cards, col3Title, col3Cards, col4Title, col4Cards, barsHeading, bars, termLines, urlText, heroTitle, heroButton, products, align, editing, omitHead, pad, }?: MockupSectionProps): import("react").JSX.Element | null;
@@ -1 +1 @@
1
- import{jsx as e,jsxs as r,Fragment as I}from"react/jsx-runtime";import{HideTaker as ne}from"./ViewHideRoot.js";import{renderGold as se,renderHeadline as ce}from"./goldPhrases.js";import{withSideOnce as ie}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as de}from"./SideSpaceOnce.js";const F={headingMediumUpTo800:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMedium:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]"},_="#ffffff",i="#16181d",o="#5b6470",u="#9aa3ae",x="#f4f6f8",m="#e3e7ec",g="#1f9d55";function oe({rows:n}){return e("div",{className:"flex flex-col gap-3",children:n.map((t,c)=>{const a=t.state??"ok",s=a==="no";return r("div",{className:"flex items-center gap-3 rounded-lg border px-4 py-3",style:{background:s?"#fbfbfc":x,borderColor:m},children:[a==="no"?e("span",{"aria-hidden":!0,className:"text-[15px] font-bold",style:{color:u},children:"✕"}):e("span",{"aria-hidden":!0,className:"h-[11px] w-[11px] flex-shrink-0 rounded-full",style:{background:a==="warn"?"var(--accent)":g}}),e("span",{className:"text-[14px] font-semibold",style:{color:s?u:i},children:t.lead}),e("span",{className:"text-[13px]",style:{color:s?u:o},children:t.detail}),(t.status??"").trim()&&e("span",{className:"ml-auto whitespace-nowrap text-[12px] font-bold",style:{color:a==="ok"?g:a==="warn"?"var(--accent)":u},children:t.status})]},c)})})}const O=["#c7cdd5","var(--accent)","#c7cdd5",g];function me({columns:n}){return e("div",{className:"grid gap-2 rounded-xl p-3",style:{background:x,gridTemplateColumns:`repeat(${n.length}, minmax(0, 1fr))`},children:n.map((t,c)=>r("div",{className:"flex flex-col gap-2",children:[r("div",{className:"flex items-baseline justify-between px-1",children:[e("span",{className:"font-mono text-[9px] font-semibold uppercase tracking-[0.14em]",style:{color:o},children:t.title}),e("span",{className:"font-mono text-[9px] font-bold",style:{color:"var(--accent)"},children:t.cards.length})]}),t.cards.map((a,s)=>r("div",{className:"rounded-md border px-2.5 py-2",style:{background:_,borderColor:c===n.length-1?"#bfe3ce":m},children:[e("span",{"aria-hidden":!0,className:"mb-1.5 block h-[8px] w-[8px] rounded-full",style:{background:O[c%O.length]}}),e("span",{className:"block text-[11px] font-semibold leading-snug",style:{color:i},children:a})]},s))]},c))})}function pe({heading:n,bars:t}){const c=Math.max(...t.map(s=>s.value),0)||1,a=t.findIndex(s=>s.value===c);return r("div",{className:"border-t pt-4",style:{borderColor:m},children:[n.trim()&&e("div",{className:"mb-3 font-mono text-[10px] font-semibold uppercase tracking-[0.18em]",style:{color:o},children:n}),e("div",{className:"flex flex-col gap-2.5",children:t.map((s,d)=>r("div",{className:"flex items-center gap-3",children:[e("span",{className:"w-[84px] flex-shrink-0 text-[12px] font-bold",style:{color:i},children:s.label}),e("span",{className:"h-[12px] rounded-full",style:{width:`${Math.max(s.value/c*60,4)}%`,background:d===a?"var(--accent)":d%2?"#c7cdd5":"#9aa3ae"}}),r("span",{className:"text-[12px]",style:{color:o},children:[s.value,"%"]})]},d))})]})}function W({size:n}){const t=n/2;return r("svg",{width:n,height:n,viewBox:`0 0 ${n} ${n}`,"aria-hidden":!0,children:[e("circle",{cx:t,cy:t,r:t*.82,fill:"none",stroke:"#9aa3ae",strokeWidth:"2.5"}),e("circle",{cx:t,cy:t,r:t*.5,fill:"none",stroke:"var(--accent)",strokeWidth:"2"}),e("circle",{cx:t,cy:t,r:t*.14,fill:"var(--accent)"})]})}function xe({header:n,lines:t}){return r("div",{style:{background:"#0c0e11"},children:[r("div",{className:"relative flex items-center gap-2 px-4 py-3",style:{background:"#161a20"},children:[e("span",{"aria-hidden":!0,className:"h-[10px] w-[10px] rounded-full",style:{background:"#e85d5d"}}),e("span",{"aria-hidden":!0,className:"h-[10px] w-[10px] rounded-full",style:{background:"#efc65a"}}),e("span",{"aria-hidden":!0,className:"h-[10px] w-[10px] rounded-full",style:{background:"#6fcf7e"}}),n.trim()&&e("span",{className:"absolute inset-x-0 text-center font-mono text-[11px]",style:{color:"rgba(244,246,242,0.45)"},children:n})]}),r("div",{className:"flex flex-col gap-1.5 px-5 py-5 font-mono text-[13px] leading-relaxed",children:[t.map((c,a)=>c.startsWith("$ ")?r("div",{children:[e("span",{style:{color:"var(--accent)"},children:"$ "}),e("span",{style:{color:"#f4f6f2"},children:c.slice(2)})]},a):c.startsWith("✓")?e("div",{style:{color:"#6fcf7e"},children:c},a):e("div",{style:{color:"rgba(244,246,242,0.55)"},children:c},a)),e("div",{"aria-hidden":!0,className:"mt-1 h-[15px] w-[8px]",style:{background:"var(--accent)"}})]})]})}function he({urlText:n,heroTitle:t,heroButton:c,products:a}){return r("div",{children:[r("div",{className:"flex items-center gap-2 px-4 py-3",style:{background:x},children:[e("span",{"aria-hidden":!0,className:"h-[10px] w-[10px] rounded-full",style:{background:"#e85d5d"}}),e("span",{"aria-hidden":!0,className:"h-[10px] w-[10px] rounded-full",style:{background:"#efc65a"}}),e("span",{"aria-hidden":!0,className:"h-[10px] w-[10px] rounded-full",style:{background:"#6fcf7e"}}),n.trim()&&e("span",{className:"mx-auto rounded border px-6 py-1 text-[11px]",style:{background:_,borderColor:m,color:o},children:n}),e("span",{className:"w-[54px]","aria-hidden":!0})]}),r("div",{className:"relative overflow-hidden px-5 py-6",style:{background:i},children:[e("div",{className:"absolute -right-4 top-1/2 -translate-y-1/2 opacity-90",children:e(W,{size:104})}),t.trim()&&e("div",{className:"max-w-[240px] text-[15px] font-bold uppercase leading-snug tracking-wide text-white",children:t}),c.trim()&&e("div",{className:"mt-3 inline-block rounded px-3.5 py-1.5 text-[11px] font-bold text-white",style:{background:"var(--accent)"},"aria-hidden":!0,children:c})]}),a.length>0&&e("div",{className:"grid grid-cols-3 gap-3 p-4",children:a.map((s,d)=>r("div",{className:"overflow-hidden rounded-lg border",style:{borderColor:m},children:[e("div",{className:"flex items-center justify-center py-3",style:{background:x},children:e(W,{size:56})}),r("div",{className:"flex flex-col gap-1 p-2.5",children:[e("span",{className:"text-[10.5px] font-bold leading-tight",style:{color:i},children:s.name}),e("span",{className:"text-[11px] font-bold",style:{color:"var(--accent)"},children:s.price}),e("span",{className:"mt-0.5 rounded px-2 py-1 text-center text-[9px] font-bold text-white",style:{background:i},"aria-hidden":!0,children:"Add to cart"})]})]},d))})]})}function fe({eyebrow:n,title:t,body:c,variant:a="spec-card",cardHeader:s,badge:d,cardTitle:f,cardSubtitle:b,pills:K,tiles:S,rows:G,button:j,footnote:M,col1Title:L,col1Cards:U,col2Title:P,col2Cards:z,col3Title:X,col3Cards:Z,col4Title:q,col4Cards:J,barsHeading:Q,bars:V,termLines:Y,urlText:H,heroTitle:A,heroButton:ee,products:te,align:R="right",editing:p=!1,omitHead:$=!1}={}){const le=de(),y=(K??[]).filter(l=>p||(l.value??"").trim()),v=(S??[]).filter(l=>p||(l.label??"").trim()),N=(G??[]).filter(l=>p||(l.lead??"").trim()),k=[[L,U],[P,z],[X,Z],[q,J]].map(([l,h])=>({title:(l??"").trim(),cards:(h??[]).map(re=>(re.text??"").trim()).filter(Boolean)})).filter(l=>l.title||l.cards.length>0),w=(V??[]).map(l=>({label:(l.label??"").trim(),value:parseFloat(l.value??"")})).filter(l=>l.label&&Number.isFinite(l.value)),T=(Y??[]).map(l=>l.text??"").filter(l=>p||l.trim()),D=(te??[]).map(l=>({name:(l.name??"").trim(),price:(l.price??"").trim()})).filter(l=>l.name),ae=!$&&(!!(n??"").trim()||!!(t??"").trim()),B=!!(s??"").trim()||!!(f??"").trim()||y.length>0||v.length>0||N.length>0||k.length>0||w.length>0||D.length>0||T.length>0||!!(A??"").trim();if(!p&&!ae&&!B)return null;const C=r("div",{className:`w-full overflow-hidden rounded-2xl shadow-[0_24px_60px_rgba(0,0,0,0.35)] ${a==="kanban"||a==="browser"||a==="terminal"?"max-w-[600px]":"max-w-[520px]"}`,style:{background:_},children:[a!=="terminal"&&(s??"").trim()&&r("div",{className:"flex items-center justify-between px-6 py-4",style:{background:i},children:[e("span",{className:"font-mono text-[12px] font-semibold uppercase tracking-[0.22em] text-white",children:s}),(d??"").trim()&&r("span",{className:"flex items-center gap-2 font-mono text-[11px] font-semibold uppercase tracking-[0.16em] text-white",children:[e("span",{"aria-hidden":!0,className:"h-[9px] w-[9px] rounded-full",style:{background:g}}),d]})]}),a==="terminal"?e(xe,{header:s??"",lines:T}):a==="browser"?e(he,{urlText:H??"",heroTitle:A??"",heroButton:ee??"",products:D}):r("div",{className:"flex flex-col gap-5 p-6",children:[((f??"").trim()||(b??"").trim())&&r("div",{children:[(f??"").trim()&&e("div",{className:"text-[22px] font-bold leading-tight",style:{color:i},children:f}),(b??"").trim()&&e("div",{className:"mt-1 text-[14px]",style:{color:o},children:b})]}),a==="fitment"&&y.length>0&&e("div",{className:"flex flex-wrap gap-2.5",children:y.map((l,h)=>r("span",{className:"flex items-baseline gap-2 rounded border px-4 py-2",style:{background:x,borderColor:m},children:[e("span",{className:"text-[11px]",style:{color:o},children:l.label}),e("span",{className:"text-[13px] font-bold",style:{color:i},children:l.value})]},h))}),a!=="fitment"&&v.length>0&&e("div",{className:"grid grid-cols-2 gap-3",children:v.map((l,h)=>r("div",{className:"rounded-lg px-4 py-3",style:{background:x},children:[e("div",{className:"font-mono text-[10px] font-semibold uppercase tracking-[0.18em]",style:{color:o},children:l.label}),e("div",{className:"mt-1 text-[17px] font-bold",style:{color:i},children:l.value})]},h))}),N.length>0&&e(oe,{rows:N}),(j??"").trim()&&e("div",{className:"self-start rounded-lg px-6 py-2.5 text-[14px] font-bold text-white",style:{background:"var(--accent)"},"aria-hidden":!0,children:j}),a==="kanban"&&k.length>0&&e(me,{columns:k}),a==="claims"&&w.length>0&&e(pe,{heading:Q??"",bars:w}),(M??"").trim()&&e("div",{className:"border-t pt-4",style:{borderColor:m},children:e("span",{className:"text-[15px] font-bold",style:{color:"var(--accent)"},children:M})})]})]});if($)return p||B?e("div",{className:`flex justify-center ${R==="left"?"view-wide:justify-start":"view-wide:justify-end"}`,children:C}):null;const E=r("div",{children:[(n??"").trim()&&e("span",{className:"inline-block bg-accent px-3.5 py-1.5 font-mono text-[12px] font-semibold uppercase tracking-[0.16em] text-bg",children:se(n??"")}),(t??"").trim()&&e("h2",{className:`mt-5 font-heading2 ${F.headingMedium} font-medium uppercase leading-[1.04] tracking-[-0.02em] text-fg ${F.headingMediumUpTo800}`,children:ce(t??"",!1)}),(c??"").trim()&&e("p",{className:"mt-5 max-w-[46ch] text-[15px] leading-relaxed text-fg/65",children:c})]});return e(ne,{as:"section",className:"relative z-[2] border-y border-line bg-surface",children:e("div",{className:ie("mx-auto grid max-w-[var(--sf-site-width,1600px)] items-center gap-14 px-[var(--sf-site-gutter,40px)] py-[76px] min-[960px]:grid-cols-2 max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",le),children:R==="left"?r(I,{children:[e("div",{className:"flex justify-center min-[960px]:justify-start",children:C}),E]}):r(I,{children:[E,e("div",{className:"flex justify-center min-[960px]:justify-end",children:C})]})})})}export{fe as default};
1
+ import{jsx as e,jsxs as r,Fragment as I}from"react/jsx-runtime";import{HideTaker as se}from"./ViewHideRoot.js";import{renderGold as ce,renderHeadline as ie}from"./goldPhrases.js";import{withSideOnce as de}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as oe}from"./SideSpaceOnce.js";import{withRootPad as me}from"../lib/content/section-own-pads.js";const F={headingMediumUpTo800:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMedium:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]"},_="#ffffff",i="#16181d",o="#5b6470",u="#9aa3ae",x="#f4f6f8",m="#e3e7ec",g="#1f9d55";function pe({rows:n}){return e("div",{className:"flex flex-col gap-3",children:n.map((t,c)=>{const a=t.state??"ok",s=a==="no";return r("div",{className:"flex items-center gap-3 rounded-lg border px-4 py-3",style:{background:s?"#fbfbfc":x,borderColor:m},children:[a==="no"?e("span",{"aria-hidden":!0,className:"text-[15px] font-bold",style:{color:u},children:"✕"}):e("span",{"aria-hidden":!0,className:"h-[11px] w-[11px] flex-shrink-0 rounded-full",style:{background:a==="warn"?"var(--accent)":g}}),e("span",{className:"text-[14px] font-semibold",style:{color:s?u:i},children:t.lead}),e("span",{className:"text-[13px]",style:{color:s?u:o},children:t.detail}),(t.status??"").trim()&&e("span",{className:"ml-auto whitespace-nowrap text-[12px] font-bold",style:{color:a==="ok"?g:a==="warn"?"var(--accent)":u},children:t.status})]},c)})})}const O=["#c7cdd5","var(--accent)","#c7cdd5",g];function xe({columns:n}){return e("div",{className:"grid gap-2 rounded-xl p-3",style:{background:x,gridTemplateColumns:`repeat(${n.length}, minmax(0, 1fr))`},children:n.map((t,c)=>r("div",{className:"flex flex-col gap-2",children:[r("div",{className:"flex items-baseline justify-between px-1",children:[e("span",{className:"font-mono text-[9px] font-semibold uppercase tracking-[0.14em]",style:{color:o},children:t.title}),e("span",{className:"font-mono text-[9px] font-bold",style:{color:"var(--accent)"},children:t.cards.length})]}),t.cards.map((a,s)=>r("div",{className:"rounded-md border px-2.5 py-2",style:{background:_,borderColor:c===n.length-1?"#bfe3ce":m},children:[e("span",{"aria-hidden":!0,className:"mb-1.5 block h-[8px] w-[8px] rounded-full",style:{background:O[c%O.length]}}),e("span",{className:"block text-[11px] font-semibold leading-snug",style:{color:i},children:a})]},s))]},c))})}function he({heading:n,bars:t}){const c=Math.max(...t.map(s=>s.value),0)||1,a=t.findIndex(s=>s.value===c);return r("div",{className:"border-t pt-4",style:{borderColor:m},children:[n.trim()&&e("div",{className:"mb-3 font-mono text-[10px] font-semibold uppercase tracking-[0.18em]",style:{color:o},children:n}),e("div",{className:"flex flex-col gap-2.5",children:t.map((s,d)=>r("div",{className:"flex items-center gap-3",children:[e("span",{className:"w-[84px] flex-shrink-0 text-[12px] font-bold",style:{color:i},children:s.label}),e("span",{className:"h-[12px] rounded-full",style:{width:`${Math.max(s.value/c*60,4)}%`,background:d===a?"var(--accent)":d%2?"#c7cdd5":"#9aa3ae"}}),r("span",{className:"text-[12px]",style:{color:o},children:[s.value,"%"]})]},d))})]})}function W({size:n}){const t=n/2;return r("svg",{width:n,height:n,viewBox:`0 0 ${n} ${n}`,"aria-hidden":!0,children:[e("circle",{cx:t,cy:t,r:t*.82,fill:"none",stroke:"#9aa3ae",strokeWidth:"2.5"}),e("circle",{cx:t,cy:t,r:t*.5,fill:"none",stroke:"var(--accent)",strokeWidth:"2"}),e("circle",{cx:t,cy:t,r:t*.14,fill:"var(--accent)"})]})}function fe({header:n,lines:t}){return r("div",{style:{background:"#0c0e11"},children:[r("div",{className:"relative flex items-center gap-2 px-4 py-3",style:{background:"#161a20"},children:[e("span",{"aria-hidden":!0,className:"h-[10px] w-[10px] rounded-full",style:{background:"#e85d5d"}}),e("span",{"aria-hidden":!0,className:"h-[10px] w-[10px] rounded-full",style:{background:"#efc65a"}}),e("span",{"aria-hidden":!0,className:"h-[10px] w-[10px] rounded-full",style:{background:"#6fcf7e"}}),n.trim()&&e("span",{className:"absolute inset-x-0 text-center font-mono text-[11px]",style:{color:"rgba(244,246,242,0.45)"},children:n})]}),r("div",{className:"flex flex-col gap-1.5 px-5 py-5 font-mono text-[13px] leading-relaxed",children:[t.map((c,a)=>c.startsWith("$ ")?r("div",{children:[e("span",{style:{color:"var(--accent)"},children:"$ "}),e("span",{style:{color:"#f4f6f2"},children:c.slice(2)})]},a):c.startsWith("✓")?e("div",{style:{color:"#6fcf7e"},children:c},a):e("div",{style:{color:"rgba(244,246,242,0.55)"},children:c},a)),e("div",{"aria-hidden":!0,className:"mt-1 h-[15px] w-[8px]",style:{background:"var(--accent)"}})]})]})}function ue({urlText:n,heroTitle:t,heroButton:c,products:a}){return r("div",{children:[r("div",{className:"flex items-center gap-2 px-4 py-3",style:{background:x},children:[e("span",{"aria-hidden":!0,className:"h-[10px] w-[10px] rounded-full",style:{background:"#e85d5d"}}),e("span",{"aria-hidden":!0,className:"h-[10px] w-[10px] rounded-full",style:{background:"#efc65a"}}),e("span",{"aria-hidden":!0,className:"h-[10px] w-[10px] rounded-full",style:{background:"#6fcf7e"}}),n.trim()&&e("span",{className:"mx-auto rounded border px-6 py-1 text-[11px]",style:{background:_,borderColor:m,color:o},children:n}),e("span",{className:"w-[54px]","aria-hidden":!0})]}),r("div",{className:"relative overflow-hidden px-5 py-6",style:{background:i},children:[e("div",{className:"absolute -right-4 top-1/2 -translate-y-1/2 opacity-90",children:e(W,{size:104})}),t.trim()&&e("div",{className:"max-w-[240px] text-[15px] font-bold uppercase leading-snug tracking-wide text-white",children:t}),c.trim()&&e("div",{className:"mt-3 inline-block rounded px-3.5 py-1.5 text-[11px] font-bold text-white",style:{background:"var(--accent)"},"aria-hidden":!0,children:c})]}),a.length>0&&e("div",{className:"grid grid-cols-3 gap-3 p-4",children:a.map((s,d)=>r("div",{className:"overflow-hidden rounded-lg border",style:{borderColor:m},children:[e("div",{className:"flex items-center justify-center py-3",style:{background:x},children:e(W,{size:56})}),r("div",{className:"flex flex-col gap-1 p-2.5",children:[e("span",{className:"text-[10.5px] font-bold leading-tight",style:{color:i},children:s.name}),e("span",{className:"text-[11px] font-bold",style:{color:"var(--accent)"},children:s.price}),e("span",{className:"mt-0.5 rounded px-2 py-1 text-center text-[9px] font-bold text-white",style:{background:i},"aria-hidden":!0,children:"Add to cart"})]})]},d))})]})}function ge({eyebrow:n,title:t,body:c,variant:a="spec-card",cardHeader:s,badge:d,cardTitle:f,cardSubtitle:b,pills:K,tiles:S,rows:G,button:j,footnote:M,col1Title:L,col1Cards:P,col2Title:U,col2Cards:z,col3Title:X,col3Cards:Z,col4Title:q,col4Cards:J,barsHeading:Q,bars:V,termLines:Y,urlText:H,heroTitle:R,heroButton:ee,products:te,align:A="right",editing:p=!1,omitHead:$=!1,pad:le}={}){const ae=oe(),y=(K??[]).filter(l=>p||(l.value??"").trim()),v=(S??[]).filter(l=>p||(l.label??"").trim()),N=(G??[]).filter(l=>p||(l.lead??"").trim()),w=[[L,P],[U,z],[X,Z],[q,J]].map(([l,h])=>({title:(l??"").trim(),cards:(h??[]).map(ne=>(ne.text??"").trim()).filter(Boolean)})).filter(l=>l.title||l.cards.length>0),k=(V??[]).map(l=>({label:(l.label??"").trim(),value:parseFloat(l.value??"")})).filter(l=>l.label&&Number.isFinite(l.value)),T=(Y??[]).map(l=>l.text??"").filter(l=>p||l.trim()),D=(te??[]).map(l=>({name:(l.name??"").trim(),price:(l.price??"").trim()})).filter(l=>l.name),re=!$&&(!!(n??"").trim()||!!(t??"").trim()),B=!!(s??"").trim()||!!(f??"").trim()||y.length>0||v.length>0||N.length>0||w.length>0||k.length>0||D.length>0||T.length>0||!!(R??"").trim();if(!p&&!re&&!B)return null;const C=r("div",{className:`w-full overflow-hidden rounded-2xl shadow-[0_24px_60px_rgba(0,0,0,0.35)] ${a==="kanban"||a==="browser"||a==="terminal"?"max-w-[600px]":"max-w-[520px]"}`,style:{background:_},children:[a!=="terminal"&&(s??"").trim()&&r("div",{className:"flex items-center justify-between px-6 py-4",style:{background:i},children:[e("span",{className:"font-mono text-[12px] font-semibold uppercase tracking-[0.22em] text-white",children:s}),(d??"").trim()&&r("span",{className:"flex items-center gap-2 font-mono text-[11px] font-semibold uppercase tracking-[0.16em] text-white",children:[e("span",{"aria-hidden":!0,className:"h-[9px] w-[9px] rounded-full",style:{background:g}}),d]})]}),a==="terminal"?e(fe,{header:s??"",lines:T}):a==="browser"?e(ue,{urlText:H??"",heroTitle:R??"",heroButton:ee??"",products:D}):r("div",{className:"flex flex-col gap-5 p-6",children:[((f??"").trim()||(b??"").trim())&&r("div",{children:[(f??"").trim()&&e("div",{className:"text-[22px] font-bold leading-tight",style:{color:i},children:f}),(b??"").trim()&&e("div",{className:"mt-1 text-[14px]",style:{color:o},children:b})]}),a==="fitment"&&y.length>0&&e("div",{className:"flex flex-wrap gap-2.5",children:y.map((l,h)=>r("span",{className:"flex items-baseline gap-2 rounded border px-4 py-2",style:{background:x,borderColor:m},children:[e("span",{className:"text-[11px]",style:{color:o},children:l.label}),e("span",{className:"text-[13px] font-bold",style:{color:i},children:l.value})]},h))}),a!=="fitment"&&v.length>0&&e("div",{className:"grid grid-cols-2 gap-3",children:v.map((l,h)=>r("div",{className:"rounded-lg px-4 py-3",style:{background:x},children:[e("div",{className:"font-mono text-[10px] font-semibold uppercase tracking-[0.18em]",style:{color:o},children:l.label}),e("div",{className:"mt-1 text-[17px] font-bold",style:{color:i},children:l.value})]},h))}),N.length>0&&e(pe,{rows:N}),(j??"").trim()&&e("div",{className:"self-start rounded-lg px-6 py-2.5 text-[14px] font-bold text-white",style:{background:"var(--accent)"},"aria-hidden":!0,children:j}),a==="kanban"&&w.length>0&&e(xe,{columns:w}),a==="claims"&&k.length>0&&e(he,{heading:Q??"",bars:k}),(M??"").trim()&&e("div",{className:"border-t pt-4",style:{borderColor:m},children:e("span",{className:"text-[15px] font-bold",style:{color:"var(--accent)"},children:M})})]})]});if($)return p||B?e("div",{className:`flex justify-center ${A==="left"?"view-wide:justify-start":"view-wide:justify-end"}`,children:C}):null;const E=r("div",{children:[(n??"").trim()&&e("span",{className:"inline-block bg-accent px-3.5 py-1.5 font-mono text-[12px] font-semibold uppercase tracking-[0.16em] text-bg",children:ce(n??"")}),(t??"").trim()&&e("h2",{className:`mt-5 font-heading2 ${F.headingMedium} font-medium uppercase leading-[1.04] tracking-[-0.02em] text-fg ${F.headingMediumUpTo800}`,children:ie(t??"",!1)}),(c??"").trim()&&e("p",{className:"mt-5 max-w-[46ch] text-[15px] leading-relaxed text-fg/65",children:c})]});return e(se,{as:"section",className:"relative z-[2] border-y border-line bg-surface",children:e("div",{...me(de("mx-auto grid max-w-[var(--sf-site-width,1600px)] items-center gap-14 px-[var(--sf-site-gutter,40px)] py-[76px] min-[960px]:grid-cols-2 max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",ae),le),children:A==="left"?r(I,{children:[e("div",{className:"flex justify-center min-[960px]:justify-start",children:C}),E]}):r(I,{children:[E,e("div",{className:"flex justify-center min-[960px]:justify-end",children:C})]})})})}export{ge as default};
@@ -0,0 +1,3 @@
1
+ export declare const OPEN_FROM_LINK_ATTR = "data-open-from-link";
2
+ export declare function openFromHash(doc: Document, hash: string): boolean;
3
+ export default function OpenFromLink(): import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ "use client";import{jsx as r}from"react/jsx-runtime";import{useEffect as i}from"react";const s="data-open-from-link";function a(e,n){let t=n.startsWith("#")?n.slice(1):n;try{t=decodeURIComponent(t)}catch{}if(!t)return!1;const o=e.getElementById(t);return!o||o.tagName!=="DETAILS"?!1:(o.open=!0,!0)}function c(){return i(()=>{const e=()=>{a(document,window.location.hash)};return e(),window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[]),r("span",{hidden:!0,[s]:""})}export{s as OPEN_FROM_LINK_ATTR,c as default,a as openFromHash};
@@ -1,4 +1,5 @@
1
1
  import type { ReactNode } from "react";
2
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
2
3
  export interface OrderSummaryRow {
3
4
  label?: string;
4
5
  meta?: string;
@@ -14,6 +15,7 @@ interface OrderSummaryProps {
14
15
  note?: string;
15
16
  contained: boolean;
16
17
  cards?: ReactNode;
18
+ pad?: RootPadAttrs | null;
17
19
  }
18
- export default function OrderSummary({ eyebrow, title, rows, subRows, totalLabel, totalAmount, note, contained, cards, }: OrderSummaryProps): import("react").JSX.Element;
20
+ export default function OrderSummary({ eyebrow, title, rows, subRows, totalLabel, totalAmount, note, contained, cards, pad, }: OrderSummaryProps): import("react").JSX.Element;
19
21
  export {};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as n}from"react/jsx-runtime";import h from"./BlockFrame.js";import u from"./SectionEyebrow.js";import{renderGold as i,renderHeadline as g}from"./goldPhrases.js";const o={headingMediumUpTo800:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMedium:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]"};function b({eyebrow:t,title:r,rows:c,subRows:d,totalLabel:l,totalAmount:s,note:p,contained:f,cards:x}){return e(h,{contained:f,className:"py-6",children:n("div",{className:"sf-card mx-auto max-w-[560px] border border-line bg-surface px-8 py-9 max-view-wide:px-5 max-view-wide:py-6",children:[t&&e(u,{text:t,scaled:!1}),r&&e("h2",{className:`mt-2 font-heading2 ${o.headingMedium} font-medium leading-[1.1] tracking-[-0.02em] ${o.headingMediumUpTo800}`,children:g(r,!1)}),x?e("div",{className:"mt-6 flex flex-col",children:x}):c.length>0&&e("ul",{className:"mt-6 flex flex-col",children:c.map((a,m)=>n("li",{className:"flex items-baseline justify-between gap-4 border-t border-line py-3 first:border-t-0",children:[n("span",{className:"min-w-0",children:[a.label&&e("span",{className:"block text-[15px]",children:i(a.label)}),a.meta&&e("span",{className:"block font-mono text-[12px] uppercase tracking-[0.12em] opacity-60",children:i(a.meta)})]}),a.amount&&e("span",{className:"text-[15px] tabular-nums",children:i(a.amount)})]},m))}),d.length>0&&e("ul",{className:"mt-1 flex flex-col border-t border-line pt-3",children:d.map((a,m)=>n("li",{className:"flex items-baseline justify-between gap-4 py-1",children:[e("span",{className:"font-mono text-[12px] uppercase tracking-[0.18em] opacity-70",children:a.label&&i(a.label)}),a.amount&&e("span",{className:"text-[14px] tabular-nums opacity-85",children:i(a.amount)})]},m))}),(l||s)&&n("div",{className:"mt-4 flex items-baseline justify-between gap-4 border-t border-line pt-4",children:[l&&e("span",{className:"font-mono text-[13px] uppercase tracking-[0.3em]",children:i(l)}),s&&e("span",{className:"font-display text-[26px] font-medium text-accent tabular-nums",children:i(s)})]}),p&&e("p",{className:"mt-4 text-[13px] leading-[1.6] opacity-60",children:i(p)})]})})}export{b as default};
1
+ import{jsx as e,jsxs as n}from"react/jsx-runtime";import{withRootPad as u}from"../lib/content/section-own-pads.js";import g from"./BlockFrame.js";import b from"./SectionEyebrow.js";import{renderGold as i,renderHeadline as N}from"./goldPhrases.js";const x={headingMediumUpTo800:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMedium:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]"};function y({eyebrow:s,title:r,rows:d,subRows:c,totalLabel:l,totalAmount:t,note:p,contained:f,cards:o,pad:h}){return e(g,{contained:f,...u("py-6",h),children:n("div",{className:"sf-card mx-auto max-w-[560px] border border-line bg-surface px-8 py-9 max-view-wide:px-5 max-view-wide:py-6",children:[s&&e(b,{text:s,scaled:!1}),r&&e("h2",{className:`mt-2 font-heading2 ${x.headingMedium} font-medium leading-[1.1] tracking-[-0.02em] ${x.headingMediumUpTo800}`,children:N(r,!1)}),o?e("div",{className:"mt-6 flex flex-col",children:o}):d.length>0&&e("ul",{className:"mt-6 flex flex-col",children:d.map((a,m)=>n("li",{className:"flex items-baseline justify-between gap-4 border-t border-line py-3 first:border-t-0",children:[n("span",{className:"min-w-0",children:[a.label&&e("span",{className:"block text-[15px]",children:i(a.label)}),a.meta&&e("span",{className:"block font-mono text-[12px] uppercase tracking-[0.12em] opacity-60",children:i(a.meta)})]}),a.amount&&e("span",{className:"text-[15px] tabular-nums",children:i(a.amount)})]},m))}),c.length>0&&e("ul",{className:"mt-1 flex flex-col border-t border-line pt-3",children:c.map((a,m)=>n("li",{className:"flex items-baseline justify-between gap-4 py-1",children:[e("span",{className:"font-mono text-[12px] uppercase tracking-[0.18em] opacity-70",children:a.label&&i(a.label)}),a.amount&&e("span",{className:"text-[14px] tabular-nums opacity-85",children:i(a.amount)})]},m))}),(l||t)&&n("div",{className:"mt-4 flex items-baseline justify-between gap-4 border-t border-line pt-4",children:[l&&e("span",{className:"font-mono text-[13px] uppercase tracking-[0.3em]",children:i(l)}),t&&e("span",{className:"font-display text-[26px] font-medium text-accent tabular-nums",children:i(t)})]}),p&&e("p",{className:"mt-4 text-[13px] leading-[1.6] opacity-60",children:i(p)})]})})}export{y as default};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  export interface PaymentBadge {
2
3
  label?: string;
3
4
  src?: string;
@@ -11,6 +12,7 @@ interface PaymentBadgesProps {
11
12
  }[];
12
13
  contained: boolean;
13
14
  sourced?: boolean;
15
+ pad?: RootPadAttrs | null;
14
16
  }
15
- export default function PaymentBadges({ heading, badges, assurances, contained, sourced }: PaymentBadgesProps): import("react").JSX.Element;
17
+ export default function PaymentBadges({ heading, badges, assurances, contained, sourced, pad }: PaymentBadgesProps): import("react").JSX.Element;
16
18
  export {};
@@ -1 +1 @@
1
- import{jsx as a,jsxs as n}from"react/jsx-runtime";import{paymentMarkRows as d}from"../lib/sections/payment-rows.js";import f from"./BlockFrame.js";import{LogoWallMark as o}from"./Logos.js";import{renderGold as m}from"./goldPhrases.js";function x({heading:l,badges:t,assurances:s,contained:i,sourced:p=!1}){const c=p?d(t).map(e=>({row:e})):t.map(e=>({src:e.src,label:e.label||""}));return a(f,{contained:i,className:"py-6",children:n("div",{className:"flex flex-col items-center gap-5 border-y border-line py-8 text-center",children:[l&&a("span",{className:"font-mono text-[13px] uppercase tracking-[0.3em] opacity-70",children:m(l)}),c.length>0&&a("ul",{className:"flex flex-wrap items-center justify-center gap-3",children:c.map((e,r)=>a("li",{children:"row"in e?a(o,{look:"cards",alt:e.row.label,kind:e.row.kind}):a(o,{src:e.src,alt:e.label,look:"cards",grayscale:!1})},r))}),s.length>0&&a("ul",{className:"flex flex-wrap items-center justify-center gap-x-6 gap-y-1",children:s.map((e,r)=>e.text&&n("li",{className:"flex items-center gap-2 text-[13px] opacity-60",children:[a("span",{className:"h-1 w-1 rounded-full bg-accent","aria-hidden":!0}),m(e.text)]},r))})]})})}export{x as default};
1
+ import{jsx as r,jsxs as n}from"react/jsx-runtime";import{paymentMarkRows as f}from"../lib/sections/payment-rows.js";import{withRootPad as x}from"../lib/content/section-own-pads.js";import y from"./BlockFrame.js";import{LogoWallMark as c}from"./Logos.js";import{renderGold as m}from"./goldPhrases.js";function g({heading:l,badges:t,assurances:o,contained:i,sourced:p=!1,pad:d}){const s=p?f(t).map(e=>({row:e})):t.map(e=>({src:e.src,label:e.label||""}));return r(y,{contained:i,...x("py-6",d),children:n("div",{className:"flex flex-col items-center gap-5 border-y border-line py-8 text-center",children:[l&&r("span",{className:"font-mono text-[13px] uppercase tracking-[0.3em] opacity-70",children:m(l)}),s.length>0&&r("ul",{className:"flex flex-wrap items-center justify-center gap-3",children:s.map((e,a)=>r("li",{children:"row"in e?r(c,{look:"cards",alt:e.row.label,kind:e.row.kind}):r(c,{src:e.src,alt:e.label,look:"cards",grayscale:!1})},a))}),o.length>0&&r("ul",{className:"flex flex-wrap items-center justify-center gap-x-6 gap-y-1",children:o.map((e,a)=>e.text&&n("li",{className:"flex items-center gap-2 text-[13px] opacity-60",children:[r("span",{className:"h-1 w-1 rounded-full bg-accent","aria-hidden":!0}),m(e.text)]},a))})]})})}export{g as default};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  export interface ProseProps {
2
3
  eyebrow?: string;
3
4
  title?: string;
@@ -5,5 +6,6 @@ export interface ProseProps {
5
6
  topBorder?: boolean;
6
7
  omitHead?: boolean;
7
8
  editing?: boolean;
9
+ pad?: RootPadAttrs | null;
8
10
  }
9
- export default function Prose({ eyebrow, title, body, topBorder, omitHead, editing, }?: ProseProps): import("react").JSX.Element | null;
11
+ export default function Prose({ eyebrow, title, body, topBorder, omitHead, editing, pad, }?: ProseProps): import("react").JSX.Element | null;
@@ -1 +1 @@
1
- import{jsx as e,Fragment as h,jsxs as n}from"react/jsx-runtime";import f from"./SectionEyebrow.js";import{HideTaker as c}from"./ViewHideRoot.js";import{renderGold as u,renderHeadline as v,splitParagraphs as b}from"./goldPhrases.js";import{withSideOnce as w}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as N}from"./SideSpaceOnce.js";const i={headingSmallUpTo800:"max-view-wide:text-[length:var(--size-headingSmall,28px)]",headingMedium:"text-[length:var(--sf-heading-max,var(--size-headingMedium,38px))]",body:"text-[length:var(--size-body,16px)]"},S="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] py-[72px] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",_="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] pt-0 pb-[72px] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]";function E({eyebrow:t,title:a,body:m,topBorder:x=!0,omitHead:r=!1,editing:p=!1}={}){const d=N(),s=b((m??"").trim()),o=!!(t??"").trim()||!!(a??"").trim()||s.length>0;return!p&&!o?null:e(c,{as:"section",className:`relative z-[2] ${x?"border-t border-line ":""}bg-bg`,children:n("div",{className:w(r?_:S,d),children:[r?null:n(h,{children:[(t??"").trim()&&e(f,{text:t??"",className:"mb-4 block"}),(a??"").trim()&&e("h2",{className:`mb-7 font-heading2 ${i.headingMedium} [font-weight:var(--sf-heading-weight,500)] [text-transform:var(--sf-heading-case,uppercase)] [&_em]:[font-weight:var(--sf-heading-weight-strong,inherit)] leading-none tracking-[-0.02em] text-fg ${i.headingSmallUpTo800}`,children:v(a??"",!1)})]}),s.map((l,g)=>e("p",{className:`mb-[18px] max-w-[680px] ${i.body} leading-[1.7] text-fg-dim last:mb-0`,children:u(l)},g))]})})}export{E as default};
1
+ import{jsx as e,Fragment as f,jsxs as n}from"react/jsx-runtime";import c from"./SectionEyebrow.js";import{HideTaker as u}from"./ViewHideRoot.js";import{renderGold as v,renderHeadline as b,splitParagraphs as w}from"./goldPhrases.js";import{withSideOnce as S}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as _}from"./SideSpaceOnce.js";import{withRootPad as N}from"../lib/content/section-own-pads.js";const i={headingSmallUpTo800:"max-view-wide:text-[length:var(--size-headingSmall,28px)]",headingMedium:"text-[length:var(--sf-heading-max,var(--size-headingMedium,38px))]",body:"text-[length:var(--size-body,16px)]"},E="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] py-[72px] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",M="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] pt-0 pb-[72px] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]";function O({eyebrow:t,title:a,body:m,topBorder:o=!0,omitHead:r=!1,editing:p=!1,pad:x}={}){const d=_(),s=w((m??"").trim()),g=!!(t??"").trim()||!!(a??"").trim()||s.length>0;return!p&&!g?null:e(u,{as:"section",className:`relative z-[2] ${o?"border-t border-line ":""}bg-bg`,children:n("div",{...N(S(r?M:E,d),x),children:[r?null:n(f,{children:[(t??"").trim()&&e(c,{text:t??"",className:"mb-4 block"}),(a??"").trim()&&e("h2",{className:`mb-7 font-heading2 ${i.headingMedium} [font-weight:var(--sf-heading-weight,500)] [text-transform:var(--sf-heading-case,uppercase)] [&_em]:[font-weight:var(--sf-heading-weight-strong,inherit)] leading-none tracking-[-0.02em] text-fg ${i.headingSmallUpTo800}`,children:b(a??"",!1)})]}),s.map((l,h)=>e("p",{className:`mb-[18px] max-w-[680px] ${i.body} leading-[1.7] text-fg-dim last:mb-0`,children:v(l)},h))]})})}export{O as default};
@@ -51,6 +51,7 @@ interface Props {
51
51
  titleSize?: string;
52
52
  count?: ReactNode;
53
53
  capped?: boolean;
54
+ rootPadsBottom?: boolean;
54
55
  }
55
- export default function SectionHeader({ num, title, link, logo, description, accent, accentNum, numStyle, look, titleAccent, accentTracking, spaceBelow, rowGap, descriptionSize, className, eyebrowLook, titleSize, count, capped, }: Props): import("react").JSX.Element | null;
56
+ export default function SectionHeader({ num, title, link, logo, description, accent, accentNum, numStyle, look, titleAccent, accentTracking, spaceBelow, rowGap, descriptionSize, className, eyebrowLook, titleSize, count, capped, rootPadsBottom, }: Props): import("react").JSX.Element | null;
56
57
  export {};
@@ -1 +1 @@
1
- import{jsx as a,jsxs as n,Fragment as D}from"react/jsx-runtime";import{PagePicture as R}from"../lib/first-screen.js";import{MarkZoom as j}from"./PictureZoom.js";import{SiteLink as S}from"../lib/site-runtime.js";import{media as C}from"../lib/media.js";import{sizedImage as F}from"../../format/lib/sized-image.js";import{DEFAULT_SECTION_NUMBER_STYLE as A,OUTLINED_NUMBER_CLASS as X,OUTLINED_NUMBER_CSS as Y,OUTLINED_NUMBER_LAYOUT as Z,parseSectionNumberStyle as P}from"../../format/lib/sections/section-number-style.js";import{DEFAULT_SECTION_EYEBROW_LOOK as W}from"../../format/lib/sections/section-eyebrow-look.js";import{STICKY_UNDERHEADER_CLASS as K}from"../lib/document/header-clearance.js";import{renderGold as G,renderHeadline as q}from"./goldPhrases.js";import c from"./SectionEyebrow.js";import{withSideOnce as J}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as Q}from"./SideSpaceOnce.js";const t={headingMediumUpTo800Small:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMediumUpTo800Large:"max-view-wide:text-[length:min(var(--size-headingMedium,36px),var(--sf-heading-max,9999px))]",headingSmallUpTo800:"max-view-wide:text-[length:var(--size-headingSmall,28px)]",headingMedium2:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]",headingMedium3:"text-[length:min(var(--size-headingMedium,56px),var(--sf-heading-max,9999px))]",headingMedium1:"text-[length:var(--sf-heading-max,var(--size-headingMedium,38px))]",bodySmall:"text-[length:var(--size-body,14px)]",bodyLarge:"text-[length:var(--size-body,16px)]",label:"text-[length:var(--size-label,14px)]",shelfLabel:"text-[length:var(--size-label,13px)]",shelfLabelSmall:"text-[length:var(--size-label,12px)]",shelfBody:"text-[length:var(--size-body,13px)]",shelfHeadingUpTo800Xs:"max-view-wide:text-[length:var(--size-headingMedium,28px)]",shelfHeadingUpTo800Small:"max-view-wide:text-[length:var(--size-headingMedium,32px)]",shelfHeadingUpTo800Large:"max-view-wide:text-[length:var(--size-headingMedium,36px)]",shelfHeadingUpTo800Xl:"max-view-wide:text-[length:var(--size-headingMedium,40px)]",shelfHeading1:"text-[length:var(--size-headingMedium,40px)]",shelfHeading2:"text-[length:var(--size-headingMedium,48px)]",shelfHeading3:"text-[length:var(--size-headingMedium,56px)]",shelfHeading4:"text-[length:var(--size-headingMedium,64px)]"},T=[{value:"para",label:"Paragraph size — 13px",cls:`font-mono font-normal uppercase tracking-[0.22em] ${t.shelfLabel}`},{value:"sm",label:"Small — 40px",cls:`font-heading2 font-medium tracking-[-0.03em] ${t.shelfHeading1} ${t.shelfHeadingUpTo800Xs}`},{value:"md",label:"Medium — 48px",cls:`font-heading2 font-medium tracking-[-0.03em] ${t.shelfHeading2} ${t.shelfHeadingUpTo800Small}`},{value:"lg",label:"Large — 56px",cls:`font-heading2 font-medium tracking-[-0.03em] ${t.shelfHeading3} ${t.shelfHeadingUpTo800Large}`},{value:"xl",label:"Extra large — 64px",cls:`font-heading2 font-medium tracking-[-0.03em] ${t.shelfHeading4} ${t.shelfHeadingUpTo800Xl}`}],V="lg";function ee(e){return(T.find(i=>i.value===e)??T.find(i=>i.value===V)).cls}const g=(e,i=!1)=>typeof e=="string"?q(e,i):e,l=(e,i=!1)=>typeof e=="string"?G(e,i):e;function ae({num:e,title:i,link:r,logo:f,description:d,accent:w,accentNum:M,numStyle:E=A,look:m="standard",titleAccent:v,accentTracking:_="-0.02em",spaceBelow:y,rowGap:z,descriptionSize:L,className:h="",eyebrowLook:x=W,titleSize:U,count:u,capped:H=!1}){const k=Q(),o=y??(m==="editorial"?"mb-[60px]":"");if(m==="shelf")return e||i||d||r?n("div",{className:J(`${K} sticky top-[var(--sf-header-h,88px)] z-30 mb-5 flex items-center justify-between gap-4 max-view-wide:flex-wrap max-view-wide:gap-y-2 border-b border-line bg-bg/95 py-3 backdrop-blur-md ${H?"":"-mx-[var(--sf-site-gutter,40px)] px-[var(--sf-site-gutter,40px)] max-view-wide:-mx-[min(20px,var(--sf-site-gutter,40px))] max-view-wide:px-[min(20px,var(--sf-site-gutter,40px))]"}`,k),children:[n("div",{className:"flex min-w-0 items-end gap-6 max-view-wide:flex-col max-view-wide:items-stretch max-view-wide:gap-3",children:[e&&a("span",{className:`font-mono ${t.shelfLabel} leading-none uppercase tracking-[0.22em] text-fg-dim`,children:l(e)}),i&&a("h2",{className:`${ee(U)} leading-none text-fg max-view-wide:leading-[1] [&>span]:block`,children:g(i)})]}),(d||r||u)&&n("div",{className:"flex items-center gap-5 max-view-wide:gap-3 view-wide:grow view-wide:justify-end",children:[d&&a("span",{className:`max-w-[340px] truncate font-display ${t.shelfBody} leading-[1.4] text-fg-dim max-view-wide:hidden view-wide:w-0 view-wide:grow view-wide:text-right`,children:l(d)}),r&&n(S,{newTab:"auto",href:r.href,className:`inline-flex items-center gap-2 whitespace-nowrap font-mono ${t.shelfLabel} uppercase tracking-[0.2em] text-fg-dim transition-colors hover:text-fg`,children:[l(r.text),a("span",{"aria-hidden":!0,children:"→"})]}),u&&a("span",{className:`whitespace-nowrap font-mono ${t.shelfLabelSmall} uppercase tracking-[0.2em] text-fg-dim`,children:u})]})]}):null;if(m==="editorial"){const s=!!i||!!v;return n("header",{className:`${o} grid grid-cols-[auto_1fr_auto] items-end gap-10 border-b border-line pb-8 max-view-desktop:grid-cols-1 max-view-desktop:gap-3.5 ${h}`.trim(),children:[e&&(typeof e=="string"?a(c,{text:e,className:"pb-2"}):a("span",{className:"pb-2",children:e})),s&&n("h2",{className:"font-heading2 text-[length:min(var(--size-headingMedium,clamp(40px,5.5vw,80px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-none tracking-[-0.03em]",children:[i,v&&n(D,{children:[" ",a("em",{className:"font-serif font-normal italic text-accent",style:{letterSpacing:_},children:v})]})]}),d&&a("p",{className:`max-w-[360px] pb-1 text-right font-display ${t.bodySmall} leading-[1.5] text-fg-dim max-view-desktop:max-w-full max-view-desktop:text-left`,children:d})]})}if(m==="simple"){const s=`${o} ${h}`.trim();return n("div",{className:s||void 0,children:[e&&(typeof e=="string"?a(c,{text:e,look:x,className:"mb-4 block"}):a("span",{className:"mb-4 block",children:e})),i&&a("h2",{className:`font-heading2 ${t.headingMedium2} font-medium uppercase leading-none tracking-[-0.02em] text-fg ${t.headingMediumUpTo800Small}`,children:g(i)})]})}if(m==="statement"){const s=`${o} ${h}`.trim();return n("div",{className:s||void 0,children:[e&&(typeof e=="string"?a(c,{text:e,look:x,className:"mb-4 block"}):a("span",{className:"mb-4 block",children:e})),i&&a("h2",{className:"font-heading2 text-[length:min(var(--size-headingMedium,clamp(40px,5vw,72px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-none tracking-[-0.03em] text-fg",children:g(i,!0)})]})}if(m==="natural"){const s=`flex max-w-[680px] flex-col ${z??"gap-5"} ${o} ${h}`.replace(/\s+/g," ").trim();return n("div",{className:s,children:[e&&(typeof e=="string"?a(c,{text:e,look:x}):a("span",{children:e})),i&&a("h2",{className:`font-heading2 ${t.headingMedium2} font-medium leading-[1.05] tracking-[-0.03em] ${t.headingMediumUpTo800Small}`,children:g(i)}),d&&a("p",{className:`${L??`${t.bodyLarge}`} leading-[1.6] opacity-85`,children:d})]})}if(m==="essay"){const s=`${o} ${h}`.trim();return n("div",{className:s||void 0,children:[e&&(typeof e=="string"?a(c,{text:e,look:x,className:"mb-4 block"}):a("span",{className:"mb-4 block",children:e})),i&&a("h2",{className:`font-heading2 ${t.headingMedium1} [font-weight:var(--sf-heading-weight,500)] [text-transform:var(--sf-heading-case,uppercase)] [&_em]:[font-weight:var(--sf-heading-weight-strong,inherit)] leading-none tracking-[-0.02em] text-fg ${t.headingSmallUpTo800}`,children:g(i)})]})}const I=!!d||!!r,O=!!i,b=P(E)==="outlined",N=`font-mono ${t.label} uppercase tracking-[0.3em]`;let p=null;if(e)if(b)p=a("span",{className:`${Z} text-fg-dim ${X}`,children:l(e)});else if(M&&!w&&typeof e=="string"){const s=e.indexOf("/"),B=s===-1?e:e.slice(0,s),$=s===-1?"":e.slice(s);p=n("span",{className:N,children:[a("span",{className:"text-accent",children:l(B)}),$&&a("span",{className:"text-fg-dim",children:l($)})]})}else p=a("span",{className:`${N} ${w?"text-accent":"text-fg-dim"}`,children:l(e)});return n("div",{className:"mb-16 grid grid-cols-[auto_1fr_auto] items-end gap-10 border-b border-line pb-6 max-view-wide:mb-9 max-view-wide:grid-cols-1 max-view-wide:gap-3 max-view-wide:pb-5",children:[b&&e&&a("style",{children:Y}),n("div",{className:"flex flex-col items-start gap-3",children:[f?.src&&a(j,{children:a(R,{...ie(C(f.src)),alt:f.alt,className:"h-8 w-auto object-contain"})}),p]}),O&&a("h2",{className:w?"font-heading2 text-[length:min(var(--size-headingMedium,clamp(36px,5vw,64px)),var(--sf-heading-max,9999px))] [font-weight:var(--sf-heading-weight,500)] [text-transform:var(--sf-heading-case,uppercase)] [&_em]:[font-weight:var(--sf-heading-weight-strong,inherit)] leading-[0.95] tracking-[-0.025em]":`font-heading2 ${t.headingMedium3} [font-weight:var(--sf-heading-weight,500)] [&_em]:[font-weight:var(--sf-heading-weight-strong,inherit)] leading-none tracking-[-0.03em] whitespace-pre-line ${t.headingMediumUpTo800Large} max-view-wide:leading-[1]`,children:g(i)}),I&&n("div",{className:"flex flex-col items-end gap-3 max-view-wide:items-start",children:[d&&a("p",{className:`max-w-[340px] font-display ${t.bodySmall} leading-[1.5] text-fg-dim text-right max-view-wide:max-w-full max-view-wide:text-left`,children:l(d)}),r&&n(S,{newTab:"auto",href:r.href,className:`inline-flex items-center gap-2 whitespace-nowrap font-mono ${t.label} uppercase tracking-[0.2em] text-fg-dim transition-colors hover:text-fg`,children:[l(r.text),a("span",{"aria-hidden":!0,children:"→"})]})]})]})}function ie(e){const i=F(e,{fallbackWidth:640,maxWidth:960});return i.srcSet?{src:i.src,srcSet:i.srcSet,sizes:"240px"}:{src:e}}export{V as DEFAULT_SHELF_TITLE_SIZE,T as SHELF_TITLE_SIZES,ae as default};
1
+ import{jsx as a,jsxs as n,Fragment as R}from"react/jsx-runtime";import{PagePicture as j}from"../lib/first-screen.js";import{MarkZoom as C}from"./PictureZoom.js";import{SiteLink as S}from"../lib/site-runtime.js";import{media as F}from"../lib/media.js";import{sizedImage as A}from"../../format/lib/sized-image.js";import{DEFAULT_SECTION_NUMBER_STYLE as X,OUTLINED_NUMBER_CLASS as Y,OUTLINED_NUMBER_CSS as Z,OUTLINED_NUMBER_LAYOUT as P,parseSectionNumberStyle as W}from"../../format/lib/sections/section-number-style.js";import{DEFAULT_SECTION_EYEBROW_LOOK as K}from"../../format/lib/sections/section-eyebrow-look.js";import{STICKY_UNDERHEADER_CLASS as G}from"../lib/document/header-clearance.js";import{renderGold as q,renderHeadline as J}from"./goldPhrases.js";import c from"./SectionEyebrow.js";import{withSideOnce as Q}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as V}from"./SideSpaceOnce.js";const t={headingMediumUpTo800Small:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMediumUpTo800Large:"max-view-wide:text-[length:min(var(--size-headingMedium,36px),var(--sf-heading-max,9999px))]",headingSmallUpTo800:"max-view-wide:text-[length:var(--size-headingSmall,28px)]",headingMedium2:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]",headingMedium3:"text-[length:min(var(--size-headingMedium,56px),var(--sf-heading-max,9999px))]",headingMedium1:"text-[length:var(--sf-heading-max,var(--size-headingMedium,38px))]",bodySmall:"text-[length:var(--size-body,14px)]",bodyLarge:"text-[length:var(--size-body,16px)]",label:"text-[length:var(--size-label,14px)]",shelfLabel:"text-[length:var(--size-label,13px)]",shelfLabelSmall:"text-[length:var(--size-label,12px)]",shelfBody:"text-[length:var(--size-body,13px)]",shelfHeadingUpTo800Xs:"max-view-wide:text-[length:var(--size-headingMedium,28px)]",shelfHeadingUpTo800Small:"max-view-wide:text-[length:var(--size-headingMedium,32px)]",shelfHeadingUpTo800Large:"max-view-wide:text-[length:var(--size-headingMedium,36px)]",shelfHeadingUpTo800Xl:"max-view-wide:text-[length:var(--size-headingMedium,40px)]",shelfHeading1:"text-[length:var(--size-headingMedium,40px)]",shelfHeading2:"text-[length:var(--size-headingMedium,48px)]",shelfHeading3:"text-[length:var(--size-headingMedium,56px)]",shelfHeading4:"text-[length:var(--size-headingMedium,64px)]"},T=[{value:"para",label:"Paragraph size — 13px",cls:`font-mono font-normal uppercase tracking-[0.22em] ${t.shelfLabel}`},{value:"sm",label:"Small — 40px",cls:`font-heading2 font-medium tracking-[-0.03em] ${t.shelfHeading1} ${t.shelfHeadingUpTo800Xs}`},{value:"md",label:"Medium — 48px",cls:`font-heading2 font-medium tracking-[-0.03em] ${t.shelfHeading2} ${t.shelfHeadingUpTo800Small}`},{value:"lg",label:"Large — 56px",cls:`font-heading2 font-medium tracking-[-0.03em] ${t.shelfHeading3} ${t.shelfHeadingUpTo800Large}`},{value:"xl",label:"Extra large — 64px",cls:`font-heading2 font-medium tracking-[-0.03em] ${t.shelfHeading4} ${t.shelfHeadingUpTo800Xl}`}],ee="lg";function ae(e){return(T.find(i=>i.value===e)??T.find(i=>i.value===ee)).cls}const g=(e,i=!1)=>typeof e=="string"?J(e,i):e,l=(e,i=!1)=>typeof e=="string"?q(e,i):e;function ie({num:e,title:i,link:r,logo:f,description:d,accent:w,accentNum:M,numStyle:_=X,look:m="standard",titleAccent:v,accentTracking:E="-0.02em",spaceBelow:y,rowGap:z,descriptionSize:L,className:h="",eyebrowLook:x=K,titleSize:U,count:b,capped:H=!1,rootPadsBottom:k=!1}){const I=V(),o=y??(m==="editorial"?"mb-[60px]":"");if(m==="shelf")return e||i||d||r?n("div",{className:Q(`${G} sticky top-[var(--sf-header-h,88px)] z-30 mb-5 flex items-center justify-between gap-4 max-view-wide:flex-wrap max-view-wide:gap-y-2 border-b border-line bg-bg/95 py-3 backdrop-blur-md ${H?"":"-mx-[var(--sf-site-gutter,40px)] px-[var(--sf-site-gutter,40px)] max-view-wide:-mx-[min(20px,var(--sf-site-gutter,40px))] max-view-wide:px-[min(20px,var(--sf-site-gutter,40px))]"}`,I),children:[n("div",{className:"flex min-w-0 items-end gap-6 max-view-wide:flex-col max-view-wide:items-stretch max-view-wide:gap-3",children:[e&&a("span",{className:`font-mono ${t.shelfLabel} leading-none uppercase tracking-[0.22em] text-fg-dim`,children:l(e)}),i&&a("h2",{className:`${ae(U)} leading-none text-fg max-view-wide:leading-[1] [&>span]:block`,children:g(i)})]}),(d||r||b)&&n("div",{className:"flex items-center gap-5 max-view-wide:gap-3 view-wide:grow view-wide:justify-end",children:[d&&a("span",{className:`max-w-[340px] truncate font-display ${t.shelfBody} leading-[1.4] text-fg-dim max-view-wide:hidden view-wide:w-0 view-wide:grow view-wide:text-right`,children:l(d)}),r&&n(S,{newTab:"auto",href:r.href,className:`inline-flex items-center gap-2 whitespace-nowrap font-mono ${t.shelfLabel} uppercase tracking-[0.2em] text-fg-dim transition-colors hover:text-fg`,children:[l(r.text),a("span",{"aria-hidden":!0,children:"→"})]}),b&&a("span",{className:`whitespace-nowrap font-mono ${t.shelfLabelSmall} uppercase tracking-[0.2em] text-fg-dim`,children:b})]})]}):null;if(m==="editorial"){const s=!!i||!!v;return n("header",{className:`${o} grid grid-cols-[auto_1fr_auto] items-end gap-10 border-b border-line pb-8 max-view-desktop:grid-cols-1 max-view-desktop:gap-3.5 ${h}`.trim(),children:[e&&(typeof e=="string"?a(c,{text:e,className:"pb-2"}):a("span",{className:"pb-2",children:e})),s&&n("h2",{className:"font-heading2 text-[length:min(var(--size-headingMedium,clamp(40px,5.5vw,80px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-none tracking-[-0.03em]",children:[i,v&&n(R,{children:[" ",a("em",{className:"font-serif font-normal italic text-accent",style:{letterSpacing:E},children:v})]})]}),d&&a("p",{className:`max-w-[360px] pb-1 text-right font-display ${t.bodySmall} leading-[1.5] text-fg-dim max-view-desktop:max-w-full max-view-desktop:text-left`,children:d})]})}if(m==="simple"){const s=`${o} ${h}`.trim();return n("div",{className:s||void 0,children:[e&&(typeof e=="string"?a(c,{text:e,look:x,className:"mb-4 block"}):a("span",{className:"mb-4 block",children:e})),i&&a("h2",{className:`font-heading2 ${t.headingMedium2} font-medium uppercase leading-none tracking-[-0.02em] text-fg ${t.headingMediumUpTo800Small}`,children:g(i)})]})}if(m==="statement"){const s=`${o} ${h}`.trim();return n("div",{className:s||void 0,children:[e&&(typeof e=="string"?a(c,{text:e,look:x,className:"mb-4 block"}):a("span",{className:"mb-4 block",children:e})),i&&a("h2",{className:"font-heading2 text-[length:min(var(--size-headingMedium,clamp(40px,5vw,72px)),var(--sf-heading-max,9999px))] font-medium uppercase leading-none tracking-[-0.03em] text-fg",children:g(i,!0)})]})}if(m==="natural"){const s=`flex max-w-[680px] flex-col ${z??"gap-5"} ${o} ${h}`.replace(/\s+/g," ").trim();return n("div",{className:s,children:[e&&(typeof e=="string"?a(c,{text:e,look:x}):a("span",{children:e})),i&&a("h2",{className:`font-heading2 ${t.headingMedium2} font-medium leading-[1.05] tracking-[-0.03em] ${t.headingMediumUpTo800Small}`,children:g(i)}),d&&a("p",{className:`${L??`${t.bodyLarge}`} leading-[1.6] opacity-85`,children:d})]})}if(m==="essay"){const s=`${o} ${h}`.trim();return n("div",{className:s||void 0,children:[e&&(typeof e=="string"?a(c,{text:e,look:x,className:"mb-4 block"}):a("span",{className:"mb-4 block",children:e})),i&&a("h2",{className:`font-heading2 ${t.headingMedium1} [font-weight:var(--sf-heading-weight,500)] [text-transform:var(--sf-heading-case,uppercase)] [&_em]:[font-weight:var(--sf-heading-weight-strong,inherit)] leading-none tracking-[-0.02em] text-fg ${t.headingSmallUpTo800}`,children:g(i)})]})}const O=!!d||!!r,B=!!i,u=W(_)==="outlined",N=`font-mono ${t.label} uppercase tracking-[0.3em]`;let p=null;if(e)if(u)p=a("span",{className:`${P} text-fg-dim ${Y}`,children:l(e)});else if(M&&!w&&typeof e=="string"){const s=e.indexOf("/"),D=s===-1?e:e.slice(0,s),$=s===-1?"":e.slice(s);p=n("span",{className:N,children:[a("span",{className:"text-accent",children:l(D)}),$&&a("span",{className:"text-fg-dim",children:l($)})]})}else p=a("span",{className:`${N} ${w?"text-accent":"text-fg-dim"}`,children:l(e)});return n("div",{className:k?"grid grid-cols-[auto_1fr_auto] items-end gap-10 border-b border-line pb-6 max-view-wide:grid-cols-1 max-view-wide:gap-3 max-view-wide:pb-5":"mb-16 grid grid-cols-[auto_1fr_auto] items-end gap-10 border-b border-line pb-6 max-view-wide:mb-9 max-view-wide:grid-cols-1 max-view-wide:gap-3 max-view-wide:pb-5",children:[u&&e&&a("style",{children:Z}),n("div",{className:"flex flex-col items-start gap-3",children:[f?.src&&a(C,{children:a(j,{...te(F(f.src)),alt:f.alt,className:"h-8 w-auto object-contain"})}),p]}),B&&a("h2",{className:w?"font-heading2 text-[length:min(var(--size-headingMedium,clamp(36px,5vw,64px)),var(--sf-heading-max,9999px))] [font-weight:var(--sf-heading-weight,500)] [text-transform:var(--sf-heading-case,uppercase)] [&_em]:[font-weight:var(--sf-heading-weight-strong,inherit)] leading-[0.95] tracking-[-0.025em]":`font-heading2 ${t.headingMedium3} [font-weight:var(--sf-heading-weight,500)] [&_em]:[font-weight:var(--sf-heading-weight-strong,inherit)] leading-none tracking-[-0.03em] whitespace-pre-line ${t.headingMediumUpTo800Large} max-view-wide:leading-[1]`,children:g(i)}),O&&n("div",{className:"flex flex-col items-end gap-3 max-view-wide:items-start",children:[d&&a("p",{className:`max-w-[340px] font-display ${t.bodySmall} leading-[1.5] text-fg-dim text-right max-view-wide:max-w-full max-view-wide:text-left`,children:l(d)}),r&&n(S,{newTab:"auto",href:r.href,className:`inline-flex items-center gap-2 whitespace-nowrap font-mono ${t.label} uppercase tracking-[0.2em] text-fg-dim transition-colors hover:text-fg`,children:[l(r.text),a("span",{"aria-hidden":!0,children:"→"})]})]})]})}function te(e){const i=A(e,{fallbackWidth:640,maxWidth:960});return i.srcSet?{src:i.src,srcSet:i.srcSet,sizes:"240px"}:{src:e}}export{ee as DEFAULT_SHELF_TITLE_SIZE,T as SHELF_TITLE_SIZES,ie as default};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  export interface SeriesCard {
2
3
  num?: string;
3
4
  since?: string;
@@ -15,5 +16,6 @@ export interface SeriesProps {
15
16
  background?: string;
16
17
  editing?: boolean;
17
18
  omitHead?: boolean;
19
+ pad?: RootPadAttrs | null;
18
20
  }
19
- export default function Series({ headNum, headTitle, headDesc, cards, viewLabel, background, editing, omitHead, }: SeriesProps): import("react").JSX.Element;
21
+ export default function Series({ headNum, headTitle, headDesc, cards, viewLabel, background, editing, omitHead, pad, }: SeriesProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- import{jsx as t,jsxs as i,Fragment as v}from"react/jsx-runtime";import{EDITORIAL_COLUMN as k,withSideOnce as w}from"../../format/lib/content/page-width.js";import{HideTaker as j}from"./ViewHideRoot.js";import E from"./EditorialSectionHead.js";import{renderGold as n,renderHeadline as c}from"./goldPhrases.js";import{say as L}from"../../format/lib/editor-words.js";import{useSideSpaceOnce as O}from"./SideSpaceOnce.js";const r={body:"text-[length:var(--size-body,14px)]",headingSmall:"text-[length:var(--size-headingSmall,28px)]",labelSmall:"text-[length:var(--size-label,12px)]",labelLarge:"text-[length:var(--size-label,13px)]"};function _({headNum:p,headTitle:s,headDesc:g,cards:x,viewLabel:l,background:a,editing:h=!1,omitHead:m=!1}){const f=O(),o=(x??[]).filter(e=>(e?.title??"").trim()||(e?.desc??"").trim()||(e?.num??"").trim()),b=o.length>0?o:h?[{title:L("Series title")}]:[],d=!!(a&&a!=="transparent");return t(j,{as:"section",className:m?"border-b border-line pt-0 pb-[120px] max-view-desktop:pt-0 max-view-desktop:pb-20":"border-b border-line py-[120px] max-view-desktop:py-20",style:d?{backgroundColor:a}:void 0,children:i("div",{className:w(k,f),children:[m?null:t(E,{num:p,title:s?c(s):void 0,desc:g}),t("div",{className:`grid grid-cols-4 max-view-desktop:grid-cols-2 max-[700px]:grid-cols-1 ${d?"gap-[1px]":"gap-[2px] bg-bg"}`,children:b.map((e,u)=>{const S=!!(e.num?.trim()||e.since?.trim()),y=!!e.title?.trim(),N=!!(e.entries?.trim()||e.entriesLabel?.trim()||l);return i("article",{className:"flex min-h-[340px] flex-col gap-4 bg-bg px-7 pt-9 pb-8",children:[S&&i("div",{className:`flex items-baseline justify-between gap-3 font-mono ${r.labelLarge} uppercase tracking-[0.3em] text-accent`,children:[t("span",{children:e.num?n(e.num):null}),e.since?.trim()?t("span",{children:n(e.since)}):null]}),y&&t("h3",{className:`font-heading3 ${r.headingSmall} font-medium uppercase leading-[1.04] tracking-[-0.02em]`,children:c(e.title??"")}),e.desc?.trim()&&t("p",{className:`font-display ${r.body} leading-[1.6] text-fg-dim`,children:n(e.desc)}),N&&i("div",{className:`mt-auto flex items-center justify-between border-t border-line pt-4 font-mono ${r.labelSmall} uppercase tracking-[0.22em] text-fg-dim`,children:[i("span",{children:[e.entries?.trim()?t("strong",{className:"font-normal text-fg",children:n(e.entries)}):null,e.entriesLabel?.trim()?i(v,{children:[e.entries?.trim()?" ":"",n(e.entriesLabel)]}):null]}),l&&t("span",{className:"text-accent",children:n(l)})]})]},u)})})]})})}export{_ as default};
1
+ import{jsx as t,jsxs as i,Fragment as w}from"react/jsx-runtime";import{EDITORIAL_COLUMN as k,withSideOnce as j}from"../../format/lib/content/page-width.js";import{HideTaker as E}from"./ViewHideRoot.js";import L from"./EditorialSectionHead.js";import{renderGold as r,renderHeadline as c}from"./goldPhrases.js";import{say as O}from"../../format/lib/editor-words.js";import{useSideSpaceOnce as _}from"./SideSpaceOnce.js";import{withRootPad as $}from"../lib/content/section-own-pads.js";const n={body:"text-[length:var(--size-body,14px)]",headingSmall:"text-[length:var(--size-headingSmall,28px)]",labelSmall:"text-[length:var(--size-label,12px)]",labelLarge:"text-[length:var(--size-label,13px)]"};function z({headNum:p,headTitle:s,headDesc:g,cards:x,viewLabel:l,background:a,editing:h=!1,omitHead:m=!1,pad:f}){const b=_(),o=(x??[]).filter(e=>(e?.title??"").trim()||(e?.desc??"").trim()||(e?.num??"").trim()),u=o.length>0?o:h?[{title:O("Series title")}]:[],d=!!(a&&a!=="transparent");return t(E,{as:"section",...$(m?"border-b border-line pt-0 pb-[120px] max-view-desktop:pt-0 max-view-desktop:pb-20":"border-b border-line py-[120px] max-view-desktop:py-20",f,d?{backgroundColor:a}:void 0),children:i("div",{className:j(k,b),children:[m?null:t(L,{num:p,title:s?c(s):void 0,desc:g}),t("div",{className:`grid grid-cols-4 max-view-desktop:grid-cols-2 max-[700px]:grid-cols-1 ${d?"gap-[1px]":"gap-[2px] bg-bg"}`,children:u.map((e,S)=>{const v=!!(e.num?.trim()||e.since?.trim()),y=!!e.title?.trim(),N=!!(e.entries?.trim()||e.entriesLabel?.trim()||l);return i("article",{className:"flex min-h-[340px] flex-col gap-4 bg-bg px-7 pt-9 pb-8",children:[v&&i("div",{className:`flex items-baseline justify-between gap-3 font-mono ${n.labelLarge} uppercase tracking-[0.3em] text-accent`,children:[t("span",{children:e.num?r(e.num):null}),e.since?.trim()?t("span",{children:r(e.since)}):null]}),y&&t("h3",{className:`font-heading3 ${n.headingSmall} font-medium uppercase leading-[1.04] tracking-[-0.02em]`,children:c(e.title??"")}),e.desc?.trim()&&t("p",{className:`font-display ${n.body} leading-[1.6] text-fg-dim`,children:r(e.desc)}),N&&i("div",{className:`mt-auto flex items-center justify-between border-t border-line pt-4 font-mono ${n.labelSmall} uppercase tracking-[0.22em] text-fg-dim`,children:[i("span",{children:[e.entries?.trim()?t("strong",{className:"font-normal text-fg",children:r(e.entries)}):null,e.entriesLabel?.trim()?i(w,{children:[e.entries?.trim()?" ":"",r(e.entriesLabel)]}):null]}),l&&t("span",{className:"text-accent",children:r(l)})]})]},S)})})]})})}export{z as default};
@@ -1,3 +1,4 @@
1
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
1
2
  interface StatItem {
2
3
  value: string;
3
4
  label: string;
@@ -9,6 +10,7 @@ interface StatsProps {
9
10
  columns?: 2 | 3 | 4;
10
11
  background?: string;
11
12
  editing?: boolean;
13
+ pad?: RootPadAttrs | null;
12
14
  }
13
- export default function Stats({ items, contained, heading, columns, background, editing, }: StatsProps): import("react").JSX.Element;
15
+ export default function Stats({ items, contained, heading, columns, background, editing, pad, }: StatsProps): import("react").JSX.Element;
14
16
  export {};
@@ -1 +1 @@
1
- import{jsx as e,jsxs as m}from"react/jsx-runtime";import o from"./BlockFrame.js";import f from"./CountUpText.js";import{renderGold as r}from"./goldPhrases.js";const i={headingMediumUpTo800:"max-view-wide:text-[length:min(var(--size-headingMedium,36px),var(--sf-heading-max,9999px))]",headingMedium:"text-[length:min(var(--size-headingMedium,48px),var(--sf-heading-max,9999px))]",label:"text-[length:var(--size-label,12px)]"},u="grid grid-cols-4 gap-8 max-view-wide:grid-cols-2",h={2:"grid grid-cols-2 gap-8",3:"grid grid-cols-3 gap-8 max-view-wide:grid-cols-2",4:"grid grid-cols-4 gap-8 max-view-wide:grid-cols-2"};function v({items:c,contained:l,heading:d,columns:t,background:a,editing:g}){const p=t===void 0?u:h[t],s=e("div",{className:p,children:(c??[]).map((n,x)=>m("div",{className:"border-t border-line pt-5",children:[e("div",{className:`font-heading2 ${i.headingMedium} font-medium leading-none tracking-[-0.03em] text-fg ${i.headingMediumUpTo800}`,children:g?r(n.value):e(f,{value:n.value})}),e("div",{className:`mt-2 font-mono ${i.label} uppercase tracking-[0.2em] text-fg-dim`,children:r(n.label)})]},x))});return d===void 0&&a===void 0?e(o,{contained:l,className:"py-12",children:s}):e(o,{contained:l,className:"py-12",children:m("div",{style:a?{backgroundColor:a}:void 0,children:[d?e("div",{className:`mb-6 font-mono ${i.label} uppercase tracking-[0.2em] text-fg-dim`,children:r(d)}):null,s]})})}export{v as default};
1
+ import{jsx as e,jsxs as s}from"react/jsx-runtime";import{withRootPad as g}from"../lib/content/section-own-pads.js";import c from"./BlockFrame.js";import h from"./CountUpText.js";import{renderGold as r}from"./goldPhrases.js";const i={headingMediumUpTo800:"max-view-wide:text-[length:min(var(--size-headingMedium,36px),var(--sf-heading-max,9999px))]",headingMedium:"text-[length:min(var(--size-headingMedium,48px),var(--sf-heading-max,9999px))]",label:"text-[length:var(--size-label,12px)]"},v="grid grid-cols-4 gap-8 max-view-wide:grid-cols-2",w={2:"grid grid-cols-2 gap-8",3:"grid grid-cols-3 gap-8 max-view-wide:grid-cols-2",4:"grid grid-cols-4 gap-8 max-view-wide:grid-cols-2"};function b({items:p,contained:t,heading:d,columns:l,background:a,editing:x,pad:o}){const f=l===void 0?v:w[l],m=e("div",{className:f,children:(p??[]).map((n,u)=>s("div",{className:"border-t border-line pt-5",children:[e("div",{className:`font-heading2 ${i.headingMedium} font-medium leading-none tracking-[-0.03em] text-fg ${i.headingMediumUpTo800}`,children:x?r(n.value):e(h,{value:n.value})}),e("div",{className:`mt-2 font-mono ${i.label} uppercase tracking-[0.2em] text-fg-dim`,children:r(n.label)})]},u))});return d===void 0&&a===void 0?e(c,{contained:t,...g("py-12",o),children:m}):e(c,{contained:t,...g("py-12",o),children:s("div",{style:a?{backgroundColor:a}:void 0,children:[d?e("div",{className:`mb-6 font-mono ${i.label} uppercase tracking-[0.2em] text-fg-dim`,children:r(d)}):null,m]})})}export{b as default};
@@ -1,4 +1,5 @@
1
1
  import type { SectionEyebrowLook } from "../../format/lib/sections/section-eyebrow-look.js";
2
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
2
3
  export interface Testimonial {
3
4
  quote?: string;
4
5
  name?: string;
@@ -12,5 +13,6 @@ export interface TestimonialsProps {
12
13
  columns?: number;
13
14
  omitHead?: boolean;
14
15
  editing?: boolean;
16
+ pad?: RootPadAttrs | null;
15
17
  }
16
- export default function Testimonials({ look, eyebrow, title, items, columns, omitHead, editing, }?: TestimonialsProps): import("react").JSX.Element | null;
18
+ export default function Testimonials({ look, eyebrow, title, items, columns, omitHead, editing, pad, }?: TestimonialsProps): import("react").JSX.Element | null;
@@ -1 +1 @@
1
- import{jsx as e,Fragment as b,jsxs as t}from"react/jsx-runtime";import{HideTaker as v}from"./ViewHideRoot.js";import N from"./SectionEyebrow.js";import{renderGold as M,renderHeadline as y,splitParagraphs as w}from"./goldPhrases.js";import{say as S}from"../../format/lib/editor-words.js";import{withSideOnce as z}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as _}from"./SideSpaceOnce.js";const i={headingMediumUpTo800:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMedium1:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]",bodySmall:"text-[length:var(--size-body,12px)]",body:"text-[length:var(--size-body,15px)]",bodyLarge:"text-[length:var(--size-body,16px)]",headingMedium2:"text-[length:var(--size-headingMedium,46px)]"},k="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] py-[84px] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",E="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] pt-0 pb-[84px] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]";function T({look:l,eyebrow:r,title:m,items:p,columns:x,omitHead:n=!1,editing:d=!1}={}){const c=_(),g=Math.min(3,Math.max(1,x??3)),s=(p??[]).filter(a=>d||(a.quote??"").trim()),h=!!(r??"").trim()||!!(m??"").trim();return!d&&!h&&s.length===0?null:e(v,{as:"section",className:"relative z-[2] border-t border-line bg-surface",children:t("div",{className:z(n?E:k,c),children:[n?null:t(b,{children:[(r??"").trim()&&e(N,{text:r??"",look:l,className:"mb-4 block"}),(m??"").trim()&&e("h2",{className:`mb-11 font-heading2 ${i.headingMedium1} font-medium uppercase leading-none tracking-[-0.02em] text-fg max-view-wide:mb-8 ${i.headingMediumUpTo800}`,children:y(m??"",!1)})]}),s.length>0&&e("div",{className:"sf-card grid grid-cols-1 gap-px border border-line bg-line min-[700px]:[grid-template-columns:repeat(var(--tm-cols),minmax(0,1fr))]",style:{"--tm-cols":String(g)},children:s.map((a,f)=>t("figure",{className:"flex flex-col gap-5 bg-bg p-9 max-view-wide:p-7",children:[e("span",{"aria-hidden":!0,className:`font-heading2 ${i.headingMedium2} leading-none text-accent`,children:"“"}),e("blockquote",{className:`flex-1 ${i.bodyLarge} leading-[1.6] text-fg-dim`,children:w((a.quote??"").trim()||S("A short customer quote goes here.")).map((u,o)=>e("p",{className:o?"mt-3":"",children:M(u)},o))}),t("figcaption",{className:"border-t border-line pt-[18px]",children:[e("div",{className:`font-display ${i.body} font-medium uppercase tracking-[0.04em] text-fg`,children:(a.name??"").trim()||"Customer name"}),(a.role??"").trim()&&e("div",{className:`mt-1 ${i.bodySmall} text-fg-dim`,children:a.role})]})]},f))})]})})}export{T as default};
1
+ import{jsx as e,Fragment as v,jsxs as t}from"react/jsx-runtime";import{HideTaker as N}from"./ViewHideRoot.js";import M from"./SectionEyebrow.js";import{renderGold as w,renderHeadline as y,splitParagraphs as S}from"./goldPhrases.js";import{say as z}from"../../format/lib/editor-words.js";import{withSideOnce as _}from"../../format/lib/content/page-width.js";import{useSideSpaceOnce as k}from"./SideSpaceOnce.js";import{withRootPad as E}from"../lib/content/section-own-pads.js";const a={headingMediumUpTo800:"max-view-wide:text-[length:min(var(--size-headingMedium,32px),var(--sf-heading-max,9999px))]",headingMedium1:"text-[length:min(var(--size-headingMedium,44px),var(--sf-heading-max,9999px))]",bodySmall:"text-[length:var(--size-body,12px)]",body:"text-[length:var(--size-body,15px)]",bodyLarge:"text-[length:var(--size-body,16px)]",headingMedium2:"text-[length:var(--size-headingMedium,46px)]"},T="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] py-[84px] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]",$="mx-auto max-w-[var(--sf-site-width,1600px)] px-[var(--sf-site-gutter,40px)] pt-0 pb-[84px] max-[960px]:px-[min(24px,var(--sf-site-gutter,40px))]";function O({look:l,eyebrow:r,title:m,items:p,columns:x,omitHead:s=!1,editing:d=!1,pad:c}={}){const g=k(),h=Math.min(3,Math.max(1,x??3)),n=(p??[]).filter(i=>d||(i.quote??"").trim()),f=!!(r??"").trim()||!!(m??"").trim();return!d&&!f&&n.length===0?null:e(N,{as:"section",className:"relative z-[2] border-t border-line bg-surface",children:t("div",{...E(_(s?$:T,g),c),children:[s?null:t(v,{children:[(r??"").trim()&&e(M,{text:r??"",look:l,className:"mb-4 block"}),(m??"").trim()&&e("h2",{className:`mb-11 font-heading2 ${a.headingMedium1} font-medium uppercase leading-none tracking-[-0.02em] text-fg max-view-wide:mb-8 ${a.headingMediumUpTo800}`,children:y(m??"",!1)})]}),n.length>0&&e("div",{className:"sf-card grid grid-cols-1 gap-px border border-line bg-line min-[700px]:[grid-template-columns:repeat(var(--tm-cols),minmax(0,1fr))]",style:{"--tm-cols":String(h)},children:n.map((i,u)=>t("figure",{className:"flex flex-col gap-5 bg-bg p-9 max-view-wide:p-7",children:[e("span",{"aria-hidden":!0,className:`font-heading2 ${a.headingMedium2} leading-none text-accent`,children:"“"}),e("blockquote",{className:`flex-1 ${a.bodyLarge} leading-[1.6] text-fg-dim`,children:S((i.quote??"").trim()||z("A short customer quote goes here.")).map((b,o)=>e("p",{className:o?"mt-3":"",children:w(b)},o))}),t("figcaption",{className:"border-t border-line pt-[18px]",children:[e("div",{className:`font-display ${a.body} font-medium uppercase tracking-[0.04em] text-fg`,children:(i.name??"").trim()||"Customer name"}),(i.role??"").trim()&&e("div",{className:`mt-1 ${a.bodySmall} text-fg-dim`,children:i.role})]})]},u))})]})})}export{O as default};
@@ -1,5 +1,6 @@
1
1
  import type { TickerSeparator, TickerSize } from "../../format/lib/sections/ticker-style.js";
2
2
  import type { LoopDirection } from "../../format/lib/animation/index.js";
3
+ import type { RootPadAttrs } from "../lib/content/section-padding.js";
3
4
  export type TickerSectionItem = {
4
5
  text?: string;
5
6
  };
@@ -14,6 +15,7 @@ interface Props {
14
15
  scroll?: LoopDirection;
15
16
  join?: string;
16
17
  editing?: boolean;
18
+ pad?: RootPadAttrs | null;
17
19
  }
18
- export default function TickerSection({ items, seconds, delay, tone, borders, size, separator, scroll, join, editing, }: Props): import("react").JSX.Element | null;
20
+ export default function TickerSection({ items, seconds, delay, tone, borders, size, separator, scroll, join, editing, pad, }: Props): import("react").JSX.Element | null;
19
21
  export {};
@@ -1 +1 @@
1
- "use client";import{jsx as r}from"react/jsx-runtime";import{HideTaker as x}from"./ViewHideRoot.js";import h from"./Ticker.js";import{JoinBox as k}from"./JoinBox.js";import{tickerJoinPinClass as y,tickerJoinSide as g}from"../../format/lib/sections/ticker-join.js";import{say as j}from"../../format/lib/editor-words.js";const v=()=>j("item");function B({items:l,seconds:s,delay:c,tone:m="scrim",borders:a=!0,size:d,separator:p,scroll:f,join:u,editing:b}){const i=(l??[]).map(n=>n?.text?.trim()?n.text:b?v():"").filter(Boolean);if(i.length===0)return null;const o=m!=="plain",e=g(u),t=r(x,{className:[e?y(e):"relative z-[2]","py-3.5 max-view-wide:py-3",o?"bg-bg":"",a?"border-y border-line":""].filter(Boolean).join(" "),children:r(h,{items:i,seconds:s,delay:c,size:d,separator:p,scroll:f,backdrop:o?"themed-band":"themed-section"})});return e?r(k,{children:t}):t}export{B as default};
1
+ "use client";import{jsx as r}from"react/jsx-runtime";import{HideTaker as x}from"./ViewHideRoot.js";import k from"./Ticker.js";import{JoinBox as y}from"./JoinBox.js";import{tickerJoinPinClass as g,tickerJoinSide as j}from"../../format/lib/sections/ticker-join.js";import{say as v}from"../../format/lib/editor-words.js";import{withRootPad as w}from"../lib/content/section-own-pads.js";const B=()=>v("item");function J({items:l,seconds:m,delay:s,tone:c="scrim",borders:d=!0,size:a,separator:p,scroll:f,join:u,editing:b,pad:h}){const o=(l??[]).map(n=>n?.text?.trim()?n.text:b?B():"").filter(Boolean);if(o.length===0)return null;const i=c!=="plain",e=j(u),t=r(x,{...w([e?g(e):"relative z-[2]","py-3.5 max-view-wide:py-3",i?"bg-bg":"",d?"border-y border-line":""].filter(Boolean).join(" "),h),children:r(k,{items:o,seconds:m,delay:s,size:a,separator:p,scroll:f,backdrop:i?"themed-band":"themed-section"})});return e?r(y,{children:t}):t}export{J as default};
@@ -0,0 +1,35 @@
1
+ import type { CSSProperties } from "react";
2
+ import { type OwnFrame, type RootPadAttrs } from "./section-padding.js";
3
+ import type { OwnPad } from "../document/blocks/general/section-to-box-row-parts.js";
4
+ export declare const BANNER_OWN: OwnPad;
5
+ export declare const CARDS_OWN: OwnPad;
6
+ export declare const CONTACT_LOCATIONS_OWN: OwnPad;
7
+ export declare const FAQ_OWN: OwnPad;
8
+ export declare const LONG_READ_OWN: OwnPad;
9
+ export declare const PAYMENT_BADGES_OWN: OwnPad;
10
+ export declare const COUNTDOWN_OWN: OwnPad;
11
+ export declare const DOC_BODY_OWN: OwnPad;
12
+ export declare const DOC_MASTHEAD_OWN: OwnPad;
13
+ export declare const DOC_META_CARDS_OWN: OwnPad;
14
+ export declare const FEATURED_COVER_OWN: OwnPad;
15
+ export declare const INTEGRATIONS_OWN: OwnPad;
16
+ export declare const KEY_FEATURES_OWN: OwnPad;
17
+ export declare const MASTHEAD_OWN: OwnPad;
18
+ export declare const PROOF_OWN: OwnPad;
19
+ export declare const PROSE_OWN: OwnPad;
20
+ export declare const SECTION_HEADER_OWN: OwnPad;
21
+ export declare const SERIES_OWN: OwnPad;
22
+ export declare const STATS_OWN: OwnPad;
23
+ type Props = Record<string, unknown>;
24
+ export declare const logosBandOwn: (props: Props) => OwnPad;
25
+ type SectionOwnPad = {
26
+ readonly frame: (props: Props) => OwnFrame;
27
+ readonly edge?: boolean;
28
+ };
29
+ export declare const SECTION_OWN_PADS: Readonly<Record<string, SectionOwnPad>>;
30
+ export declare function sectionRootPad(type: string, props: Props): RootPadAttrs | null;
31
+ export declare function withRootPad(className: string, pad: RootPadAttrs | null | undefined, style?: CSSProperties): {
32
+ className: string;
33
+ style?: CSSProperties;
34
+ } & Readonly<Record<string, unknown>>;
35
+ export {};
@@ -0,0 +1 @@
1
+ import{framePadAttrs as f,padValuesOf as _,SECTION_PAD_KEYS as d}from"./section-padding.js";import{parseSectionHeadPlacement as i}from"../../../format/lib/sections/section-head-placement.js";import{parseSectionHeadStyle as N}from"../../../format/lib/sections/section-head-style.js";import{readHidable as T}from"efficient-easel/draw";import{TICKER_PAD as S}from"../../../format/lib/sections/strip-shape.js";import{finiteNumber as A}from"../../../format/lib/finite-number.js";import{ownEntry as l}from"../../../format/lib/own-entry.js";const E={top:24,bottom:24,topPhone:24,bottomPhone:24},u={top:72,bottom:72,topPhone:72,bottomPhone:72},s={top:100,bottom:100,topPhone:60,bottomPhone:60},x={top:120,bottom:120,topPhone:70,bottomPhone:70},W={top:24,bottom:24,topPhone:24,bottomPhone:24},D=40,C={top:120,bottom:120,topTablet:80,bottomTablet:80,topPhone:80,bottomPhone:80},R={top:24,bottom:24,topPhone:24,bottomPhone:24},g={top:24,bottom:24,topPhone:24,bottomPhone:24},I={top:84,bottom:84,topPhone:84,bottomPhone:84},B={top:48,bottom:48,topPhone:48,bottomPhone:48},M={top:80,bottom:80,topPhone:60,bottomPhone:60},y={top:100,bottom:60,topPhone:60,bottomPhone:40},L={top:60,bottom:60,topPhone:40,bottomPhone:40},F={top:80,bottom:80,topTablet:60,bottomTablet:60,topPhone:60,bottomPhone:60},H={top:76,bottom:76,topPhone:76,bottomPhone:76},G={top:76,bottom:76,topPhone:76,bottomPhone:76},P={top:80,bottom:40,topPhone:60,bottomPhone:32},h={top:76,bottom:76,topPhone:76,bottomPhone:76},k={top:72,bottom:72,topPhone:72,bottomPhone:72},Y={top:40,bottom:64,topPhone:24,bottomPhone:36},w={top:120,bottom:120,topPhone:80,bottomPhone:80,topTablet:80,bottomTablet:80},K={top:48,bottom:48,topPhone:48,bottomPhone:48},U=o=>{const t=A(o.bandPadding)??D;return{top:t,bottom:t,topPhone:t,bottomPhone:t}},c=(o,t,n)=>({desktop:o,tablet:t,mobile:n}),p=o=>i(o.headPlacement)==="own-box",e=(o,t)=>({top:c(o.top,t?.top??o.topTablet??o.top,o.topPhone),bottom:c(o.bottom,t?.bottom??o.bottomTablet??o.bottom,o.bottomPhone)}),O=o=>({top:o.topPhone,bottom:o.bottomPhone}),r=o=>t=>p(t)?{top:0,bottom:o.bottom}:o,V=(o,t)=>{const n=T(o[t]);return n.hidden?!1:!!n.text||o.editor?.isEditing===!0},j={Banner:{frame:()=>e(E)},Cards:{frame:r(e(u))},Chart:{frame:()=>e(h)},ContactLocations:{frame:()=>e(s,O(s))},Countdown:{frame:()=>e(B)},DocBody:{frame:()=>e(M)},DocMasthead:{frame:()=>e(y)},DocMetaCards:{frame:()=>e(L)},FAQ:{frame:o=>{const t=p(o)||!["num","title","linkText"].some(m=>V(o,m)),n=e(x);return t?{top:0,bottom:n.bottom}:n},edge:!0},FeaturedCover:{frame:()=>e(F)},Grid:{frame:()=>e(W)},Integrations:{frame:()=>e(H)},KeyFeatures:{frame:()=>e(G)},Logos:{frame:o=>p(o)?0:e(U(o))},LongRead:{frame:r(e(C))},Masthead:{frame:()=>e(P,O(P))},Mockup:{frame:()=>e(h)},OrderSummary:{frame:()=>e(R)},PaymentBadges:{frame:()=>e(g)},Prose:{frame:r(e(k))},SectionHeader:{frame:o=>{const t=e(Y);return N(o.headStyle)==="standard"?t:{top:t.top,bottom:0}},edge:!0},Series:{frame:r(e(w))},Stats:{frame:()=>e(K)},Testimonials:{frame:r(e(I))},Ticker:{frame:()=>e(S),edge:!0}};function oo(o,t){const n=l(j,o);return n?f({values:_(t,d,!0),frame:n.frame(t),drawsFrame:!0,edge:n.edge},!0).root:null}const v=/^(?:[^\s]*:)?p[ytb]-/;function to(o,t,n){if(!t)return n?{className:o,style:n}:{className:o};const m=o.split(/\s+/).filter(b=>b&&!v.test(b)),a={...n,...t.style};return{className:[...m,t.className].filter(Boolean).join(" "),...Object.keys(a).length?{style:a}:{},...t.attrs}}export{E as BANNER_OWN,u as CARDS_OWN,s as CONTACT_LOCATIONS_OWN,B as COUNTDOWN_OWN,M as DOC_BODY_OWN,y as DOC_MASTHEAD_OWN,L as DOC_META_CARDS_OWN,x as FAQ_OWN,F as FEATURED_COVER_OWN,H as INTEGRATIONS_OWN,G as KEY_FEATURES_OWN,C as LONG_READ_OWN,P as MASTHEAD_OWN,g as PAYMENT_BADGES_OWN,h as PROOF_OWN,k as PROSE_OWN,Y as SECTION_HEADER_OWN,j as SECTION_OWN_PADS,w as SERIES_OWN,K as STATS_OWN,U as logosBandOwn,oo as sectionRootPad,to as withRootPad};
@@ -10,6 +10,12 @@ export declare function sectionPadStyle(pt: unknown, pb: unknown, unit?: unknown
10
10
  type SideFrames = (side: "top" | "bottom", tier: ViewTier) => number;
11
11
  export type TierFrames = Readonly<Record<ViewTier, number>>;
12
12
  export declare const frameAt: (frame: number | TierFrames | undefined, tier: ViewTier) => number;
13
+ type SidedFrames = Readonly<{
14
+ top: number | TierFrames;
15
+ bottom: number | TierFrames;
16
+ }>;
17
+ export type OwnFrame = number | TierFrames | SidedFrames;
18
+ export declare const sideFrameAt: (frame: OwnFrame | undefined, side: "top" | "bottom", tier: ViewTier) => number;
13
19
  export declare const PAD_TOP_PHONE_CLASS = "sf-pad-top-phone";
14
20
  export declare const PAD_BOTTOM_PHONE_CLASS = "sf-pad-bottom-phone";
15
21
  export declare const PAD_TOP_PHONE_VAR = "--sf-pad-t-phone";
@@ -100,7 +106,7 @@ export type PadValues = {
100
106
  unit?: unknown;
101
107
  unitTablet?: unknown;
102
108
  unitPhone?: unknown;
103
- frame?: number | TierFrames;
109
+ frame?: OwnFrame;
104
110
  totals?: readonly string[];
105
111
  sideSpace?: "box" | "site";
106
112
  };
@@ -136,7 +142,7 @@ export declare const tierFramesOf: (own: {
136
142
  }) => TierFrames;
137
143
  export type FramePad = {
138
144
  values: PadValues;
139
- frame: number | TierFrames;
145
+ frame: OwnFrame;
140
146
  drawsFrame?: boolean;
141
147
  edge?: boolean;
142
148
  };
@@ -155,7 +161,7 @@ export declare function wrapperPadAttrs(v: PadValues): {
155
161
  className: string;
156
162
  style: CSSProperties;
157
163
  } | null;
158
- export declare function rootPadAttrs(pad: PadValues, frame: number | TierFrames): {
164
+ export declare function rootPadAttrs(pad: PadValues, frame: OwnFrame): {
159
165
  className: string;
160
166
  style: CSSProperties;
161
167
  } | null;