efficient-storefront-blocks 0.125.3 → 0.125.4

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 (29) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/chunks/{CustomHtmlCodeWindow-VRZ524JP.js → CustomHtmlCodeWindow-KB7QEJAG.js} +1 -1
  3. package/dist/chunks/{EditorPreviewCheckout-OMVFLWD5.js → EditorPreviewCheckout-3ZX2DIIL.js} +1 -1
  4. package/dist/chunks/SiteEditorProvider-TYNFV3WZ.js +1 -0
  5. package/dist/chunks/{chunk-4KN3VTQU.js → chunk-4M7WJPOZ.js} +6 -6
  6. package/dist/chunks/{chunk-PULBLZRR.js → chunk-4WRJWM6K.js} +1 -1
  7. package/dist/chunks/{chunk-TXL5UDD5.js → chunk-5SWY36EZ.js} +1 -1
  8. package/dist/chunks/{chunk-FNCEZSDY.js → chunk-ACYEMD5J.js} +1 -1
  9. package/dist/chunks/chunk-DHKJAYUG.js +337 -0
  10. package/dist/chunks/chunk-HKL2EKLO.js +96 -0
  11. package/dist/chunks/{chunk-TVMCJUOE.js → chunk-RGLTNGJH.js} +1 -1
  12. package/dist/chunks/{fitment-data-C2NHZBPR.js → fitment-data-CFDAFXJB.js} +1 -1
  13. package/dist/chunks/{section-css-style-BECHWIDU.js → section-css-style-TKWJ7WU2.js} +1 -1
  14. package/dist/editor.css +1 -1
  15. package/dist/index.js +66 -29
  16. package/dist/render/built-with.json +1 -1
  17. package/dist/routine-index.json +1 -1
  18. package/dist/value-index.json +1 -1
  19. package/dist/words.d.ts +1 -0
  20. package/dist/words.js +1 -1
  21. package/package.json +2 -2
  22. package/dist/chunks/SiteEditorProvider-OBXLJM7I.js +0 -1
  23. package/dist/chunks/chunk-6ABZ7XWF.js +0 -96
  24. package/dist/chunks/chunk-J6SPMJBT.js +0 -337
  25. /package/dist/chunks/{chunk-7UJXVH57.js → chunk-3DCSW3PN.js} +0 -0
  26. /package/dist/chunks/{chunk-EZ5QLDA5.js → chunk-5NGS7VFJ.js} +0 -0
  27. /package/dist/chunks/{chunk-FNCEZSDY.js.LEGAL.txt → chunk-ACYEMD5J.js.LEGAL.txt} +0 -0
  28. /package/dist/chunks/{chunk-UV27QVUD.js → chunk-AEBQM5LZ.js} +0 -0
  29. /package/dist/chunks/{chunk-J6SPMJBT.js.LEGAL.txt → chunk-DHKJAYUG.js.LEGAL.txt} +0 -0
@@ -1,96 +0,0 @@
1
- var pe=[{key:"space-grotesk",label:"Space Grotesk",cssVar:"--font-display",category:"sans",italic:!1,italicLoaded:!1},{key:"inter",label:"Inter",cssVar:"--font-body",category:"sans",italic:!0,italicLoaded:!0},{key:"poppins",label:"Poppins",cssVar:"--font-poppins",category:"sans",italic:!0,italicLoaded:!0},{key:"dm-sans",label:"DM Sans",cssVar:"--font-dm-sans",category:"sans",italic:!0,italicLoaded:!0},{key:"sora",label:"Sora",cssVar:"--font-sora",category:"sans",italic:!1,italicLoaded:!1},{key:"oswald",label:"Oswald",cssVar:"--font-oswald",category:"sans",italic:!1,italicLoaded:!1},{key:"archivo",label:"Archivo",cssVar:"--font-archivo",category:"sans",italic:!0,italicLoaded:!0},{key:"outfit",label:"Outfit",cssVar:"--font-outfit",category:"sans",italic:!1,italicLoaded:!1},{key:"manrope",label:"Manrope",cssVar:"--font-manrope",category:"sans",italic:!1,italicLoaded:!1},{key:"big-shoulders",label:"Big Shoulders",cssVar:"--font-big-shoulders",category:"sans",italic:!1,italicLoaded:!1},{key:"michroma",label:"Michroma",cssVar:"--font-michroma",category:"sans",italic:!1,italicLoaded:!1},{key:"assistant",label:"Assistant",cssVar:"--font-assistant",category:"sans",italic:!1,italicLoaded:!1},{key:"jost",label:"Jost",cssVar:"--font-jost",category:"sans",italic:!0,italicLoaded:!0},{key:"fraunces",label:"Fraunces",cssVar:"--font-serif",category:"serif",italic:!0,italicLoaded:!0},{key:"playfair-display",label:"Playfair Display",cssVar:"--font-playfair",category:"serif",italic:!0,italicLoaded:!0},{key:"cormorant",label:"Cormorant",cssVar:"--font-cormorant",category:"serif",italic:!0,italicLoaded:!0},{key:"jetbrains-mono",label:"JetBrains Mono",cssVar:"--font-mono-loaded",category:"mono",italic:!0,italicLoaded:!0}],q=new Map(pe.map(e=>[e.key,e]));function tu(e){return q.get(e)}var Ze=["heading","heading2","heading3","body","accent","label"];function ou(e){return typeof e=="string"&&Ze.includes(e)?e:null}var au={heading:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",body:"Body",accent:"Emphasis",label:"Labels"},pi=[["font-heading2","heading2"],["font-heading3","heading3"],["font-display","heading"],["font-serif","accent"],["font-mono","label"],["font-body","body"]],mi=/var\(--size-(headingLarge|headingMedium|headingSmall|accent|body|label)\s*,/,su={heading:"headingLarge",heading2:"headingMedium",heading3:"headingSmall",accent:"accent",body:"body",label:"label"},fi={headingLarge:"heading",headingMedium:"heading2",headingSmall:"heading3",accent:"accent",body:"body",label:"label"};function nu(e){let t=e?mi.exec(e):null;return t?fi[t[1]]??null:wi(e)}function wi(e){if(!e)return null;let t=e.split(/\s+/).filter(o=>!o.slice(0,o.lastIndexOf(":")+1).includes("&")).map(o=>o.slice(o.lastIndexOf(":")+1));for(let[o,a]of pi)if(t.includes(o))return a;return null}var M={heading:"space-grotesk",heading2:"space-grotesk",heading3:"space-grotesk",body:"inter",accent:"fraunces",label:"jetbrains-mono"};function gi(e){let t=o=>{let a=e?.[o];if(a&&q.has(a))return a;if(o==="heading2"||o==="heading3"){let s=e?.heading;return s&&q.has(s)?s:M.heading}return M[o]};return Object.fromEntries(Ze.map(o=>[o,t(o)]))}function bi(e,t){return q.get(e[t])??q.get(M[t])}function z(e,t){return`var(${bi(e,t).cssVar})`}var iu=[...new Set(Ze.map(e=>q.get(M[e]).cssVar))],ru=[...new Set(pe.map(e=>e.cssVar))];function lu(e){let t=gi(e);return{"--font-role-heading":z(t,"heading"),"--font-role-heading2":z(t,"heading2"),"--font-role-heading3":z(t,"heading3"),"--font-role-body":z(t,"body"),"--font-role-accent":z(t,"accent"),"--font-role-label":z(t,"label"),fontFamily:"var(--font-role-body)"}}import{VIEW_DESKTOP_MIN as yi,VIEW_TABLET_MIN as Ti}from"efficient-easel/screen/lib/content/view-tiers";var Go="v1",Wo=800,Fo={"view-tablet":Ti,"view-desktop":yi,"view-wide":Wo};function hu(e){let t=e.startsWith("max-"),o=t?e.slice(4):e;if(o in Fo)return{px:Fo[o],max:t};let a=/^(max|min)-\[(\d+)px\]$/.exec(e);return a?{px:Number(a[2]),max:a[1]==="max"}:void 0}var uu=`(min-width: ${Wo}px)`,Ei="data-sf-line",Si="edge",pu={[Ei]:Si},mu=(e,t)=>e==="edge"||e!=="section"&&t;import{contrastRatio as ku,hexToRgb as Oe,parseHexColor as N,readableInk as jo,relativeLuminance as ve,parseOption as lt}from"efficient-shell/format";import{DEFAULT_SHADOW_COLOR as Ai,pictureShadowColor as Ri}from"efficient-easel/screen/lib/document/shadow-values";import{isLengthUnit as Li}from"efficient-easel/screen/lib/content/length-units";import{CORNER_RADIUS_MAX as Xo}from"efficient-easel/screen/lib/content/style-keys";import{VIEW_TIERS as _i,viewKeyAt as Uo}from"efficient-easel/screen/lib/content/view-tiers";var C=e=>typeof e=="number"&&Number.isFinite(e)?e:void 0;import{isLengthUnit as Je,lengthOf as Oi,rowGrid as vi}from"efficient-easel/screen/lib/content/length-units";function et(e,t){let o=Oi(e,tt(t));return typeof o=="number"?`${o}px`:o}function tt(e,t="px"){return Je(e)?e:t}function Tu(e,t,o){return t.unitKey?tt(e[Uo(t.unitKey,o)],t.base??"px"):t.base??"px"}function Eu(e,t=_i){return e.unitKey?t.map(o=>Uo(e.unitKey,o)):[]}function xi(e,t,o){let a=vi({kind:e},t,o);return t!=="px"&&o.min>0?{...a,min:a.step}:a}function ot(e,t,o,a){let s=C(e);if(!Je(t)||t==="px"||s===void 0)return null;let n=xi(o,t,a),i=Math.min(n.max,Math.max(n.min,s));return Math.round(i*100)/100}function Su(e,t,o,a){let s=ot(e,t,o,a);return s===null?null:et(s,t)}var ki={cornerRadiusUnit:"corner_radius_unit",siteWidthUnit:"site_width_unit",siteGutterUnit:"site_gutter_unit",siteGutterPhoneUnit:"site_gutter_phone_unit",blockGapUnit:"block_gap_unit",blockGapPhoneUnit:"block_gap_phone_unit"};function _u(e){let t=e;return Object.fromEntries(Object.entries(ki).map(([o,a])=>[o,tt(t[a])]))}function Ou(e,t,o){let a=C(e);return Je(t)&&t!=="px"&&a!==void 0?a:o(a??null)}import{DEFAULT_SHADOW_COLOR as rp}from"efficient-easel/screen/lib/document/shadow-values";var Iu="storefront-theme",Pu="sf:theme-mode",Nu="sf:theme-switch",Hu="hide",Du=["light","dark","auto"],ut="light",pt=!1,Ci=7,Ii=18;function Pi(e){return e>=Ci&&e<Ii}function Bu(e){let{mode:t,override:o,switchShown:a,hour:s}=e;return a&&(o==="light"||o==="dark")?o:t==="auto"?Pi(s)?"light":"dark":lt(["light","dark"],"dark",t)}var Q={background:"#0a0a0a",surface:"#131313",line:"#2a2a2a",muted:"#9a9388"},Ni=[{text:"#2e2e2e",accent:"#2e2e2e",background:"#ffffff",surface:"#f7f7f7",line:"#e0e0e0",muted:"#5c5c5c"},{text:"#f7f7f7",accent:"#f7f7f7",background:"#0a0a0a",surface:"#1b1b1b",line:"#363636",muted:"#a3a3a3"},{text:"#ffffff",accent:"#ffffff",background:"#2e2e2e",surface:"#3d3d3d",line:"#545454",muted:"#b0b0b0"},{text:"#0a0a0a",accent:"#0a0a0a",background:"#f7f7f7",surface:"#ffffff",line:"#d9d9d9",muted:"#5c5c5c"}],xe={selected:0,themes:Ni};function zo(e){return!e||!Array.isArray(e.themes)||e.themes.length===0?{...xe}:{selected:Math.min(Math.max(0,e.selected??0),e.themes.length-1),themes:e.themes}}function at(e,t,o){let a=Oe(e),s=Oe(t);if(a===null||s===null)return e;let n=(i,r)=>Math.max(0,Math.min(255,Math.round(i+(r-i)*o))).toString(16).padStart(2,"0");return`#${n(a.r,s.r)}${n(a.g,s.g)}${n(a.b,s.b)}`}var Hi={light:"#ffffff",dark:"#0a0a0a"},Mu=["light","dark"];function Fu(e,t){let o=Hi[t],a=t==="light"?"#ffffff":"#000000";return{text:o,accent:o,background:e,surface:at(e,a,.1),line:at(e,a,.22),muted:at(o,e,.35),brandInk:t}}function J(e){let t=zo(e);return t.themes[t.selected]}function Z(e){return{text:e.text,accent:e.accent,background:e.background||Q.background,surface:e.surface||Q.surface,line:e.line||Q.line,muted:e.muted||Q.muted}}var Di=.4,Bi="#f5f1e8",Yo="#0a0a0a";function Mi(e){let t=J(e).text,o=ve(t);return o===null||o>=Di?t:null}var Fi=4.5,Gi=3,Gu={good:"Good","large-only":"Large text only",hard:"Hard to read"};function Wu(e){return e>=Fi?"good":e>=Gi?"large-only":"hard"}var Wi=["#000000","#ffffff"];function ke(e){return jo(e,Wi)}function qo(e,t){let o=t!==void 0&&ve(t)!==null?t:Bi;return jo(e,[Yo,o])===o&&o!==Yo}var Ui=[.25,.4,.55];function Uu(e){let t=Oe(e);return t===null?[]:Ui.map(o=>"#"+[t.r,t.g,t.b].map(a=>Math.round(a*(1-o)).toString(16).padStart(2,"0")).join(""))}function Yu(e){let t={"--theme-fg":J(e).text},o=Mi(e);return o!==null&&(t["--overlay-fg"]=o),t}var Yi=82;function mt(e){return`color-mix(in srgb, ${e} ${Yi}%, #000)`}function Ku(e){let t=J(e);return{"--theme-accent":t.accent,"--theme-accent-2":mt(t.accent),"--theme-accent-ink":ke(t.accent)}}function ft(e){let t=e?.button;return t&&N(t)===t.toLowerCase()?t.toLowerCase():null}function $u(e){let t=J(e),o=ft(t),a=Qo(t);if(o===null&&a===null)return{};let s={};return o!==null&&(s["--theme-btn"]=o,s["--theme-btn-2"]=mt(o)),s["--theme-btn-ink"]=a??ke(o),s}function Qo(e){let t=e?.buttonInk;return t&&N(t)===t.toLowerCase()?t.toLowerCase():null}function Ki(e,t){return Qo(e)??ke(ft(e)??t)}function Vu(e){let t=J(e);return{fill:ft(t)??t.accent.toLowerCase(),ink:Ki(t,t.accent)}}function ju(e){let t={};return zo(e).themes.forEach((o,a)=>{let s=Z(o);t[`--theme-preset-${a}-accent`]=s.accent,t[`--theme-preset-${a}-accent-2`]=mt(s.accent),t[`--theme-preset-${a}-accent-ink`]=ke(s.accent),t[`--theme-preset-${a}-bg`]=s.background,t[`--theme-preset-${a}-fg`]=s.text,t[`--theme-preset-${a}-surface`]=s.surface,t[`--theme-preset-${a}-surface-2`]=`color-mix(in srgb, ${s.surface} 60%, ${s.line})`,t[`--theme-preset-${a}-line`]=s.line,t[`--theme-preset-${a}-muted`]=s.muted}),t}var st=e=>{let t=e/255;return t<=.04045?t/12.92:((t+.055)/1.055)**2.4},nt=e=>255*(e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055);function Ko([e,t,o]){let[a,s,n]=[st(e),st(t),st(o)],i=Math.cbrt(.4122214708*a+.5363325363*s+.0514459929*n),r=Math.cbrt(.2119034982*a+.6806995451*s+.1073969566*n),c=Math.cbrt(.0883024619*a+.2817188376*s+.6299787005*n);return[.2104542553*i+.793617785*r-.0040720468*c,1.9779984951*i-2.428592205*r+.4505937099*c,.0259040371*i+.7827717662*r-.808675766*c]}function $i([e,t,o]){let a=(e+.3963377774*t+.2158037573*o)**3,s=(e-.1055613458*t-.0638541728*o)**3,n=(e-.0894841775*t-1.291485548*o)**3;return[nt(4.0767416621*a-3.3077115913*s+.2309699292*n),nt(-1.2684380046*a+2.6097574011*s-.3413193965*n),nt(-.0041960863*a-.7034186147*s+1.707614701*n)]}var ct=e=>{let t=Oe(e);return t===null?[0,0,0]:[t.r,t.g,t.b]},Zo=(e,t,o)=>[e[0]*o+t[0]*(1-o),e[1]*o+t[1]*(1-o),e[2]*o+t[2]*(1-o)],Jo=e=>`#${e.map(t=>Math.max(0,Math.min(255,Math.round(t))).toString(16).padStart(2,"0")).join("")}`,ea=e=>Zo(ct(e.surface),ct(e.line),.6);function Xu(e){return Jo(ea(Z(e)))}function Vi(e){let t=Z(e);return Jo($i(Zo(Ko(ea(t)),Ko(ct(t.text)),.92)))}function ta(e,t,o,a){let s=e[t];if(!s)return-1;let n=o(s);if(!n)return-1;let i=Z(s);return e.findIndex((r,c)=>{if(c===t)return!1;let h=Z(r);return N(h.background)!==n?!1:!a||N(h.text??"")===N(i.text??"")&&N(h.accent??"")===N(i.accent??"")})}function zu(e,t){return ta(e,t,Vi,!1)}function qu(e,t){return ta(e,t,o=>N(o.surface??""),!0)}var ji=1;function Xi(e,t){let o=(e??[]).flatMap((a,s)=>{let n=ve(a.background??""),i=ve(a.text??"");return n!==null&&i!==null&&n<i?[s]:[]});return o.find(a=>a!==t)??o[0]??ji}function Qu(e){return Xi(e?.themes,e?.selected)}var Zu=["--theme-bg","--theme-surface","--theme-surface-2","--theme-line","--theme-muted"];function Ju(e){let t=Z(J(e)),o=`color-mix(in srgb, ${t.surface} 60%, ${t.line})`,a={"--theme-bg":t.background,"--theme-surface":t.surface,"--theme-line":t.line,"--theme-muted":t.muted};return(t.surface!==Q.surface||t.line!==Q.line)&&(a["--theme-surface-2"]=o),a}var zi=["heading","body","label"];function ep(e){if(!e)return null;for(let t of zi)if(e.includes(`--size-${t}`))return t;return/--size-heading(Large|Medium|Small)/.test(e)?"heading":null}var oa=["headingLarge","headingMedium","headingSmall","accent","body","label"];var wt={headingLarge:null,headingMedium:null,headingSmall:null,accent:null,body:null,label:null},qi=8,Qi=200;function Zi(e){if(typeof e!="number"||!Number.isFinite(e))return null;let t=Math.round(e);return t>=qi&&t<=Qi?t:null}function Ji(e){let t={};for(let o of oa)t[o]=Zi(e?.[o]);return t}function tp(e){let t=Ji(e),o={};for(let a of oa){let s=t[a];s!==null&&(o[`--size-${a}`]=`${s}px`)}return o}var er=["square","small","large"],tr="small";function op(e){return er.includes(e??"")?e:tr}var Ae=0,or={min:Ae,max:Xo,step:1},ap={square:0,small:null,large:16},dt={"--sf-card-radius":1,"--sf-button-radius":.5,"--site-radius":.5,"--site-radius-xs":.25,"--site-radius-sm":.5,"--site-radius-md":.75,"--site-radius-lg":1,"--site-radius-xl":1.25,"--site-radius-2xl":1.5,"--site-radius-3xl":2,"--site-radius-4xl":2.5};function gt(e){if(e==null||typeof e=="string"&&e.trim()==="")return null;let t=typeof e=="string"?Number(e):e;return Number.isFinite(t)?Math.min(Xo,Math.max(Ae,Math.round(t))):null}function $o(e,t){if(Li(t)&&t!=="px"){if(typeof e!="number"||!Number.isFinite(e))return{};let a=Math.max(0,e);return Object.fromEntries(Object.entries(dt).map(([s,n])=>{let i=Math.round(a*n*1e4)/1e4;return[s,i===0?"0":et(i,t)]}))}let o=gt(e);return o===null?{}:Object.fromEntries(Object.entries(dt).map(([a,s])=>{let n=o*s/16;return[a,n===0?"0":`${n}rem`]}))}function sp(e){return(gt(e)??Ae)*dt["--sf-button-radius"]}function np(e,t){let o=ot(e,t,"radius",or);return o!==null?$o(o,t):$o(gt(e)??Ae)}var ar=["none","soft","lifted"],sr="soft",aa="none",nr=["tight","normal","roomy"],ir="normal",Re="normal",rr=["none","lift","highlight"],lr="lift",cr="highlight";function sa(e){return ar.includes(e??"")?e:sr}function dr(e){return nr.includes(e??"")?e:ir}function na(e){return rr.includes(e??"")?e:lr}function lp(e){let t=sa(e);return t===aa?void 0:t}function cp(e){let t=dr(e);return t===Re?void 0:t}function dp(e){let t=na(e);return t===cr?void 0:t}function hp(e,t,o){let a=Ri(t);return a===Ai?{}:sa(e)!==aa||na(o)==="lift"?{"--sf-shadow-color":a}:{}}var hr=["normal","tight","compressed"],me="normal";function ia(e){return hr.includes(e??"")?e:me}function up(e){let t=ia(e);return t===me?void 0:t}function pp(e){switch(ia(e)){case"tight":return{lineHeight:.95,letterSpacing:-.01};case"compressed":return{lineHeight:.86,letterSpacing:-.01};default:return{}}}var Vo=["authored","sentence"],bt={case:"authored",weight:null,weightStrong:null,italicStrong:null,maxPx:null,weight2:null,weight3:null,case2:"authored",case3:"authored"},it=100,rt=900,ur=24,pr=200;function _e(e,t,o){return typeof e!="number"||!Number.isFinite(e)?null:Math.round(Math.min(Math.max(e,t),o))}function ra(e){let t=_e(e?.weight,it,rt),o=lt(Vo,"authored",e?.case),a=n=>n==null?t:_e(n,it,rt),s=n=>lt(Vo,o,n);return{case:o,weight:t,weightStrong:_e(e?.weightStrong,it,rt),italicStrong:typeof e?.italicStrong=="boolean"?e.italicStrong:null,maxPx:_e(e?.maxPx,ur,pr),weight2:a(e?.weight2),weight3:a(e?.weight3),case2:s(e?.case2),case3:s(e?.case3)}}function mp(e){let t=ra(e),o={};return t.case==="sentence"&&(o["--sf-heading-case"]="none"),t.weight!==null&&(o["--sf-heading-weight"]=String(t.weight)),t.weightStrong!==null&&(o["--sf-heading-weight-strong"]=String(t.weightStrong)),t.maxPx!==null&&(o["--sf-heading-max"]=`${t.maxPx}px`),t.weight2!==null&&t.weight2!==t.weight&&(o["--sf-heading-2-weight"]=String(t.weight2)),t.weight3!==null&&t.weight3!==t.weight&&(o["--sf-heading-3-weight"]=String(t.weight3)),t.case2!==t.case&&(o["--sf-heading-2-case"]=t.case2==="sentence"?"none":"uppercase"),t.case3!==t.case&&(o["--sf-heading-3-case"]=t.case3==="sentence"?"none":"uppercase"),o}function fp(e){return ra({case:e?.heading_case??void 0,weight:e?.heading_weight,weightStrong:e?.heading_weight_strong,italicStrong:e?.accent_italic,maxPx:e?.heading_max_px,weight2:e?.heading_2_weight??void 0,weight3:e?.heading_3_weight??void 0,case2:e?.heading_2_case??void 0,case3:e?.heading_3_case??void 0})}var ht="siteTheme";function mr(e){let t=e;if(!t||typeof t!="object"||!Array.isArray(t.themes)||!t.themes.every(a=>!!a&&typeof a=="object"))return{};let o=typeof t.selected=="number"&&Number.isInteger(t.selected)&&t.selected>=0?t.selected:0;return{[ht]:{selected:o,themes:t.themes}}}function wp(e){return mr(e?.[ht])[ht]}import{parseHexColor as fr}from"efficient-shell/format";var yt=[{role:"bg",token:"--bg",ink:!1},{role:"fg",token:"--fg",ink:!0},{role:"surface",token:"--site-surface",ink:!1},{role:"surface-2",token:"--site-surface-2",ink:!1},{role:"line",token:"--site-line",ink:!0},{role:"muted",token:"--fg-dim",ink:!0}],wr=yt.filter(e=>e.ink);function la(e){let t={color:e.fg};for(let{role:o,token:a}of wr)t[a]=e[o];return t}var gr={fg:"var(--overlay-fg)",line:"color-mix(in srgb, var(--overlay-fg) 24%, transparent)",muted:"color-mix(in srgb, var(--overlay-fg) 76%, transparent)"},br=Object.freeze(la(gr)),yr={fg:"var(--overlay-fg-on-light)",line:"color-mix(in srgb, var(--overlay-fg-on-light) 24%, transparent)",muted:"color-mix(in srgb, var(--overlay-fg-on-light) 76%, transparent)"},Tr=Object.freeze(la(yr));function Tp(e,t){let o=e?fr(e):null;return o?qo(o,t)?br:Tr:null}import{jsx as ha}from"react/jsx-runtime";import{createContext as _r,useCallback as m,useContext as Or,useMemo as vr,useState as xr}from"react";import{createContext as da,useContext as Tt}from"react";import{createContext as Er}from"react";var ca=Er(null);var Sr=da(null),Et=da({logo:null,placeholder:!1,wordmark:null});function xp(){let e=Tt(ca),t=Tt(Sr),o=Tt(Et),a=!e&&o.placeholder,s=e?e.logoUrl:o.logo?.logoUrl??t?.logoUrl??null;return{src:a?null:s,reversedSrc:e?e.logoReversed:o.logo?.logoReversed??t?.logoReversed??null,inkIsDark:e?e.logoInkIsDark:o.logo?.logoInkIsDark??t?.logoInkIsDark??null,wordmark:e?null:o.wordmark,siteName:e?.siteName??t?.siteName}}var ua={},pa=_r({settings:null,setSettings:()=>{},primeSettings:()=>{},websiteName:null,templateChrome:!1,templateName:null,chromePlaceholder:!1,themeMode:ut,setThemeMode:()=>{},themeSwitchShown:pt,setThemeSwitchShown:()=>{},theme:xe,themeRow:"none",setTheme:()=>{},fonts:M,setFonts:()=>{},sizes:wt,setSizes:()=>{},cornerRadiusPx:null,setCornerRadiusPx:()=>{},cardShadow:null,setCardShadow:()=>{},shadowColor:null,setShadowColor:()=>{},cardGap:Re,setCardGap:()=>{},hoverEffect:null,setHoverEffect:()=>{},headingCompression:me,setHeadingCompression:()=>{},siteWidth:null,setSiteWidth:()=>{},siteGutter:null,siteGutterPhone:null,blockGap:null,blockGapPhone:null,siteLengthUnits:ua,setSiteLengthUnits:()=>{},setSiteGutter:()=>{},setSiteGutterPhone:()=>{},setBlockGap:()=>{},setBlockGapPhone:()=>{},headingTypography:bt,setHeadingTypography:()=>{},textStyles:null,setTextStyles:()=>{},wordStyles:null,heroBackgroundFollowsWidth:null,setHeroBackgroundFollowsWidth:()=>{},sectionBackgroundWidth:null,setSectionBackgroundWidth:()=>{},sectionContentWidth:null,setSectionContentWidth:()=>{},photographyGrayscale:null,setPhotographyGrayscale:()=>{},shareButtonOnPosts:null,setShareButtonOnPosts:()=>{},themeFromDocument:!1});function Pp({children:e,websiteName:t=null,templateChrome:o=!1,templateName:a=null,chromePlaceholder:s=!1,themeMode:n=ut,onThemeModeChange:i,themeSwitchShown:r=pt,onThemeSwitchShownChange:c,theme:h=xe,themeRow:_="none",onThemeChange:O,fonts:Qe=M,onFontsChange:po,sizes:bn=wt,onSizesChange:mo,cornerRadiusPx:yn=null,onCornerRadiusPxChange:fo,cardShadow:Tn=null,onCardShadowChange:wo,shadowColor:En=null,onShadowColorChange:go,cardGap:Sn=Re,onCardGapChange:bo,hoverEffect:_n=null,onHoverEffectChange:yo,headingCompression:On=me,onHeadingCompressionChange:To,siteWidth:vn=null,onSiteWidthChange:Eo,siteGutter:xn=null,siteGutterPhone:kn=null,blockGap:An=null,blockGapPhone:Rn=null,siteLengthUnits:Ln=ua,onSiteLengthUnitsChange:So,onSiteGutterChange:_o,onSiteGutterPhoneChange:Oo,onBlockGapChange:vo,onBlockGapPhoneChange:xo,headingTypography:Cn=bt,onHeadingTypographyChange:ko,textStyles:In=null,onTextStylesChange:Ao,wordStyles:Pn=null,heroBackgroundFollowsWidth:Nn=null,onHeroBackgroundFollowsWidthChange:Ro,sectionBackgroundWidth:Hn=null,onSectionBackgroundWidthChange:Lo,sectionContentWidth:Dn=null,onSectionContentWidthChange:Co,photographyGrayscale:Bn=null,onPhotographyGrayscaleChange:Io,shareButtonOnPosts:Mn=null,onShareButtonOnPostsChange:Po,themeFromDocument:Fn=!1}){let[ue,No]=xr(null),Gn=m(l=>No(ui=>ui??l),[]),Wn=m(l=>i?.(l),[i]),Un=m(l=>c?.(l),[c]),Yn=m(l=>O?.(l),[O]),Kn=m(l=>po?.(l),[po]),$n=m(l=>mo?.(l),[mo]),Vn=m(l=>Eo?.(l),[Eo]),jn=m(l=>_o?.(l),[_o]),Xn=m(l=>Oo?.(l),[Oo]),zn=m(l=>vo?.(l),[vo]),qn=m(l=>xo?.(l),[xo]),Qn=m(l=>So?.(l),[So]),Zn=m(l=>Ro?.(l),[Ro]),Jn=m(l=>Lo?.(l),[Lo]),ei=m(l=>Co?.(l),[Co]),ti=m(l=>Io?.(l),[Io]),oi=m(l=>Po?.(l),[Po]),ai=m(l=>fo?.(l),[fo]),si=m(l=>wo?.(l),[wo]),ni=m(l=>go?.(l),[go]),ii=m(l=>bo?.(l),[bo]),ri=m(l=>yo?.(l),[yo]),li=m(l=>To?.(l),[To]),ci=m(l=>ko?.(l),[ko]),di=m(l=>Ao?.(l),[Ao]),Ho=ue?.logoUrl,Do=ue?.logoReversed,Bo=ue?.logoInkIsDark,Mo=ue!==null,hi=vr(()=>({logo:Mo?{logoUrl:Ho,logoReversed:Do,logoInkIsDark:Bo}:null,placeholder:o||s,wordmark:o?a:t}),[Mo,Ho,Do,Bo,o,s,a,t]);return ha(Et.Provider,{value:hi,children:ha(pa.Provider,{value:{settings:ue,setSettings:No,primeSettings:Gn,websiteName:t,templateChrome:o,templateName:a,chromePlaceholder:s,themeMode:n,setThemeMode:Wn,themeSwitchShown:r,setThemeSwitchShown:Un,theme:h,themeRow:_,setTheme:Yn,fonts:Qe,setFonts:Kn,sizes:bn,setSizes:$n,cornerRadiusPx:yn,setCornerRadiusPx:ai,cardShadow:Tn,setCardShadow:si,shadowColor:En,setShadowColor:ni,cardGap:Sn,setCardGap:ii,hoverEffect:_n,setHoverEffect:ri,headingCompression:On,setHeadingCompression:li,siteWidth:vn,setSiteWidth:Vn,siteGutter:xn,siteGutterPhone:kn,blockGap:An,blockGapPhone:Rn,siteLengthUnits:Ln,setSiteLengthUnits:Qn,setSiteGutter:jn,setSiteGutterPhone:Xn,setBlockGap:zn,setBlockGapPhone:qn,headingTypography:Cn,setHeadingTypography:ci,textStyles:In,setTextStyles:di,wordStyles:Pn,heroBackgroundFollowsWidth:Nn,setHeroBackgroundFollowsWidth:Zn,sectionBackgroundWidth:Hn,setSectionBackgroundWidth:Jn,sectionContentWidth:Dn,setSectionContentWidth:ei,photographyGrayscale:Bn,setPhotographyGrayscale:ti,shareButtonOnPosts:Mn,setShareButtonOnPosts:oi,themeFromDocument:Fn},children:e})})}var kr=()=>Or(pa);function Np(e,t,o){return e?t===o?"read":"loading":"none"}function Hp(e,t){return{value:e,readFor:t}}function Dp(e,t,o){return{value:t,readFor:e.readFor===o?o:null}}function Bp(){let{sectionContentWidth:e,themeFromDocument:t}=kr();return t?null:e}var I=e=>typeof e=="string"&&e?e:void 0;function fe(e,t){return Object.hasOwn(e,t)?e[t]:void 0}function ee(e,t){return Object.hasOwn(e,t)}var Up=["general","commerce","service"],te=[{key:"openers",title:"Hero & intros",defaultExpanded:!0,templateable:!0,sections:[{type:"Hero",label:"Hero",set:"general"},{type:"IntroBleed",label:"Scroll-Over Text",set:"general"}]},{key:"shop",title:"Shop & galleries",templateable:!0,sections:[{type:"Collections",label:"Collections",set:"commerce"},{type:"AlloyWheelsListing",label:"List",set:"commerce"},{type:"CatalogFilterBar",label:"Catalog Filter Bar",set:"commerce"},{type:"ProductGrid",label:"Product Grid",set:"commerce"},{type:"FitmentFinder",label:"Fitment Form",set:"commerce"},{type:"GalleryB",label:"Gallery",set:"commerce"}]},{key:"product",title:"Product page",templateable:!0,sections:[{type:"ProductHero",label:"Product Hero",set:"commerce"},{type:"SpecTable",label:"Spec Table",set:"commerce"},{type:"ProcessSteps",label:"Image & Text Columns",set:"general"},{type:"DetailRows",label:"Feature Rows",set:"commerce"},{type:"FitmentTable",label:"Fitment Table",set:"commerce"},{type:"TyreSizes",label:"Tyre Sizes",set:"commerce"}]},{key:"checkout",title:"Checkout & ordering",templateable:!0,sections:[{type:"OrderSummary",label:"Order Table",set:"general"},{type:"CheckoutCTA",label:"Ready-to-Order Banner",set:"commerce"}]},{key:"about",title:"About & brand story",templateable:!0,sections:[{type:"Footprint",label:"Locations Map",set:"general"}]},{key:"content",title:"Text & content",templateable:!0,sections:[{type:"Cards",label:"Cards",set:"general"}]},{key:"proof",title:"Stats & social proof",templateable:!0,sections:[{type:"Stats",label:"Stats",set:"general"},{type:"Chart",label:"Chart",set:"general"},{type:"Mockup",label:"Mockup Card",set:"general"},{type:"Reviews",label:"Reviews",set:"service"}]},{key:"promo",title:"Promotions & sign-ups",templateable:!0,sections:[{type:"Countdown",label:"Countdown",set:"general"}]},{key:"blog",title:"Blog & journal",templateable:!0,sections:[{type:"FeaturedCover",label:"Feature Banner",set:"general"},{type:"LongRead",label:"Article Text",set:"general"},{type:"ArticleBody",label:"Article Body",set:"service"},{type:"Events",label:"Latest Posts",set:"service"}]},{key:"navigation",title:"Navigation & wayfinding",templateable:!0,sections:[{type:"Breadcrumb",label:"Breadcrumb",set:"general"}]},{key:"legal",title:"Legal & documents",templateable:!0,sections:[{type:"DocBody",label:"Document Text",set:"general"}]},{key:"contact",title:"Contact, FAQ & forms",templateable:!0,sections:[{type:"FAQ",label:"Q&A",set:"general"},{type:"ContactRouting",label:"Contact Form",set:"service"},{type:"SubmitBuild",label:"Photo Submission Form",set:"service"},{type:"ReviewForm",label:"Review Form",set:"service"},{type:"Form",label:"Form",set:"service"},{type:"AppointmentBooking",label:"Booking Form",set:"service"}]},{key:"structure",title:"Layout, structure & embeds",templateable:!1,sections:[{type:"SectionHeader",label:"Section Header",set:"general"},{type:"Flex",label:"Box",set:"general"},{type:"Divider",label:"Divider",set:"general"},{type:"CustomHTML",label:"Custom HTML",set:"general"}]},{key:"layouts",title:"Layouts",templateable:!0,sections:[{type:"Manifesto",label:"Brand Text",set:"general"},{type:"Split",label:"Image & Text Split",set:"general"},{type:"Subscribe",label:"Signup Form",set:"service"},{type:"Ticker",label:"Scrolling Bar",set:"general"},{type:"SpecStrip",label:"Spec Strip",set:"general"},{type:"TimelineTrack",label:"Milestone Timeline",set:"general"},{type:"Timeline",label:"Story Timeline",set:"general"},{type:"Logos",label:"Logos",set:"general"},{type:"DocMasthead",label:"Page Header",set:"general"},{type:"DocTabs",label:"Tab Bar",set:"general"},{type:"Prose",label:"Editorial Text",set:"general"},{type:"ParagraphsA",label:"Lead Text",set:"general"},{type:"TitleWithButtons",label:"Call-to-Action Heading",set:"general"},{type:"Banner",label:"Banner",set:"general"}]}];function Yp(){return Object.fromEntries(te.map(e=>[e.key,{title:e.title,components:e.sections.map(t=>t.type),...e.defaultExpanded?{defaultExpanded:!0}:{}}]))}var Ar="2027-02-05",Rr="2027-02-14",ma={CategoryBar:{label:"Category bar",note:`The reviewer, 2026-11-06 (the page headers and the tab bars become TWO Layouts rows, Page Header and Tab Bar): Category Bar folds into the Tab Bar. Retired from the Add menu with no second preset.
2
-
3
- WHAT REPLACES IT: Tab Bar, a Box pinned under the header that stays above the sections after it, with a line below, holding the Menu block (One row, Menu style Tabs, Current page). Set the Menu's content to Blog categories: the blog's own categories, most posts first, each with its count in its cell (the host seeds the count card, Count on). Its converter row (\`section-to-box-rows-tabbar\` \`categoryBar\`, OFF) draws that bar for a stored page that moves later.
4
-
5
- WHAT A MERCHANT LOSES: typed tabs with typed counts (the Menu draws the blog's categories, or a Console menu); the Archive and RSS links at the bar's right end (a Box beside the Menu holds Buttons, if wanted); the first tab marked when no page matches (the Menu marks the page's own entry); the blur behind the bar.
6
-
7
- 0 Category Bars are stored on the US sites (34 pages, draft and published; read only, 2026-11-09). Old sites stay as they are (owner, 2026-11-06).
8
-
9
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A page holding a Category Bar still renders through it and can still be edited; no document is rewritten. Delete the component when CategoryBar is on SECTION_TO_BOX_ON and the stored count on the US sites is 0.`},Masthead:{label:"Issue Header",note:`Owner, 2026-10-10 (the page headers become ONE Layouts row): Issue Header and Document Header are one Page Header. Retired from the Add menu with no second preset (reviewer, 2026-11-06).
10
-
11
- WHAT REPLACES IT: Page Header, a Box of Text blocks: a Header Box (the eyebrow, the title, a Details Box of one Text per line) over a Deck Box. Every Issue Header field is plain words with no data source, so the merchant makes the issue shape from Text blocks in that Box: the issue lines are Details lines, the lead is the Deck, and the "In this issue" panel is a Box of Texts beside it. Its converter row (\`section-to-box-rows-pageheader\` \`masthead\`, OFF) stays for a stored page that moves later.
12
-
13
- WHAT A MERCHANT LOSES: a press that lays down the two-row issue shape with its "In this issue" panel; the merchant builds it from Boxes and Text blocks. No field is lost.
14
-
15
- 1 Issue Header is stored on the US sites (journal, draft and published; read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06).
16
-
17
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A page holding an Issue Header still renders through it and can still be edited; no document is rewritten.`},Grid:{label:"Grid",note:'Lewis, 2026-09-14: Box and Grid duplicate each other and it feels confusing. 2026-09-15 he chose the order: give Box uneven widths FIRST, then merge Grid into Box. Shown three ways to pick the widths (mockup "Uneven Box Widths"), he chose A \u2014 shape pictures on the Box\'s `Block widths` row, the same "a row is a shape, pick a picture of it" rule he set for the photo wall on 2026-09-07.\n\nWHAT REPLACES IT: a Box set to One row, with `Block widths` at Equal or Custom, and its own `Columns` in the Phone view. Measured on PRODUCTION 2026-09-16 ~09:28 AEST (database `efficient-system`, all 10 tenant schemas, 128 storefront pages, both `layout` and `published_layout` \u2014 256 documents): 2 Grid nodes, and they are ONE Grid counted twice \u2014 the 9DIEM homepage on 9diem.com (`xtreme_mudder` schema), once as draft and once as published. It is top-level, holds three `ImageBlock`s at `columns` 3 \u2014 equal thirds \u2014 and NO block sets `Positions`. A Box draws that with `Block widths` at Equal.\n\n\u26A0\uFE0F THE COUNT MOVES; THE RULE MUST NOT DEPEND ON IT. This entry has already carried three different readings. A local-clone snapshot said no Grid used `Positions`. A PRODUCTION reading on 2026-09-15 ~13:15 AEST found 6 nodes on two sites, 4 of them spanned \u2014 hartesmetal.com.au homepage and about, 4 columns, spans 1 + 3. That one was TRUE when it was taken and stopped being true the same day: those two pages were rebuilt on Box (`Block widths: Bigger right`), and on 2026-09-16 they hold zero Grid nodes and are built from `Flex`. \u26D4 So the rule is NOT "there are still N spanned Grids". NEVER delete the Grid component or its `gridSpan` handling, whatever a census says \u2014 Grid still renders, still edits, still drags, and a merchant may rebuild a page either way on any day. Re-run the census on production before anyone PROPOSES deleting either, and read any number written here as the reading of its own day, not as the state of the world.\n\nWHAT A MERCHANT LOSES: a new Grid, and with it a fixed "N per row" that wraps by itself past three across, and the per-block `Positions` number. Box wraps with `Wrap`, but by content width, not by a fixed count.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Grid still renders through it and can still be edited, dragged and added to; no document is rewritten and NO MIGRATION RUNS \u2014 the owner redoes live sections himself.\n\n\u26A0\uFE0F AND IT STAYS DROPPABLE WHERE IT LIVES. The drop rule in lib/document/config.tsx read the nestable containers off the catalogue\'s `structure` row, so leaving the catalogue would have made every open slot \u2014 a Box included \u2014 refuse a Grid already stored inside one. `scripts/test-retired-grid-stays-editable.tsx` \xA73 pins it.'},CompatibleTyres:{label:"Compatible Tyres",note:'Lewis, 2026-09-09: "Do not bother counting. Delete Compatible Tyres and use the new one. The new one needs complete settings \u2014 it must have every setting our cards have." Shown three ways to finish it, he chose C: retire from the menu now, and take styling the card text as its own card.\n\nWHAT REPLACES IT: `RelatedProducts` with its `Show` dropdown set to "Tyres that fit this product". That block is the GENERIC relationship section from card 1128 \u2014 it knows nothing about wheels or tyres, it asks the registry for a relationship by name. The two have rendered through the SAME renderer (`DynamicRelatedProducts`) since that card; this one is the pre-registry one-off that was never removed.\n\n\u26A0\uFE0F THE SWAP WAS NOT SAFE UNTIL #1305, AND SAYING SO IS THE POINT. The first old-versus-new table put in front of the owner was WRONG. `DynamicRelatedProducts` returns EARLY on a tyre answer and draws this component, so the seven card settings, the head split and the Width control all stopped at that call \u2014 nine settings, measured NO EFFECT, on precisely the relationship that replaces this block. #1283 gave the new block the card settings, #1299 the head split and its own Width, #1305 carried all of it onto the tyre branch. Only then was the claim true.\n\nWHAT WAS MEASURED BEFORE RETIRING, four ways, because the premise decides the card:\n \u2022 settable text kinds (SECTION_TEXT_KINDS): both blocks ABSENT \u2014 the map holds only TimelineTrack and Footprint, both AUTHORED lists\n \u2022 read-only text regions: neither `components/CompatibleTyres` nor `components/TyreCard` stamps one\n \u2022 panel rows through resolveFields: this block 31, `RelatedProducts` 42. This block\'s only style-ish key is `_sStyle`, the bucket HEADER, not a control\n \u2022 head text (num/title/description) is authored on both, so `_partStyles` reaches it identically\nSo on the CARD runs the two are zero against zero \u2014 neither can style them \u2014 and everywhere else the new block is ahead. Styling those runs needs a section-level prop family and a paint path for DERIVED text, which no section has yet: a part is anchored by matching an AUTHORED prop\'s string against the DOM, and `lib/document/source-bound-parts` keeps hydrated copy unreachable on purpose so a merchant cannot type into a copy of a product name and lose it at the next sync. That is its own card, and `lib/sections/text-regions` is the read-only half that already ships.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT, the same contract Subscribe, Split and SubscribeBlogs have. Every page holding a `CompatibleTyres` still renders through it, no published document is rewritten, and NO MIGRATION RUNS \u2014 the owner\'s standing ruling of 2026-09-05: he redoes live sections himself and deletes the old ones when he does. He also said explicitly not to count them first.\n\n\u26A0\uFE0F AND THIS COMPONENT IS LOAD-BEARING FOR ITS OWN REPLACEMENT: `DynamicRelatedProducts` draws it for EVERY tyre answer. Deleting it would blank the block that replaces it, not just the pages still holding this one.'},Spacer:{label:"Spacer",note:`Lewis, 2026-10-10 (section-merges.md group 19, approved): one Divider holds space and lines. Style = None (was Spacer) / Line / Stripes; the space above and below as number boxes. Retired by card [MERGE] Spacer Into Divider (2026-10-26).
18
-
19
- WHAT REPLACES IT: a Divider with Style set to None. It draws no line, only its space, and that space is the Divider's Padding row (top and bottom, each with its phone value): the Spacer's 24 / 48 / 96 / 160 px are None with Padding 12 + 12, 24 + 24, 48 + 48, 80 + 80. \`scripts/test-divider-holds-the-spacer.tsx\` \xA75 holds it.
20
-
21
- WHAT A MERCHANT LOSES on a NEW space: nothing the Spacer had. Four fixed sizes become any number on the 4px grid, top and bottom apart, and a phone value.
22
-
23
- NO CONVERTER ROW: 0 Spacer nodes on any page, draft or published, in any schema of the local production clone (read-only count, 2026-10-26), and none in the backend's seed files. This entry is its reason in the guard (\`scripts/test-section-to-box.tsx\` \xA75: a retired type is accounted for).
24
-
25
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A Spacer anywhere still renders through it and can still be edited; no document is rewritten.`},KeyFeatures:{label:"Key Features",note:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds Cards and Key Features; Key Features' diamond cells are the card style "Label only". Retired by card [MERGE] One Text Block And Click Through Parts (2026-10-22).
26
-
27
- WHAT REPLACES IT: a Cards section with Card style set to Label only. Every cell is a copy of the Label only card template (Cards/card-seed \`labelOnlyCardSeed\`): a cell Box (its link from the row's \`href\`), a 9px Mark Box in the main colour turned 45 degrees, and the label Text; the eyebrow starts on the pill look when none is stored. A cell's words are the card's \`title\` (row "Feature label"), its link the card's \`href\` (row "Link"). The Key Features conversion lands on the same card (\`scripts/test-key-features-diamond.tsx\`).
28
-
29
- WHAT A MERCHANT LOSES on a NEW Label only section: nothing this section had. It GAINS the Cards head split (its head can move into a box of its own), which Key Features never had: that head draws the shared \`simple\` head, eyebrow ABOVE the heading, where Key Features drew it beside.
30
-
31
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT, until the stored nodes move (delete date ${Ar}). Every page holding a Key Features still renders through it and can still be edited; no document is rewritten and NO MIGRATION RUNS.`},DeliveryOptions:{label:"Delivery Options",note:"Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids \u2014 Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).\n\nWHAT REPLACES IT: Cards with Card content set to Delivery options, drawn from its card template: the backend's `delivery-options` rows (name, price, time, note), one card each, in the website's own currency. The one Highlighted card row and the Highlight badge replace the per-option Highlight switch.\n\nWHAT A MERCHANT LOSES: more than one highlighted option (Lewis approved ONE Highlighted card row, 2026-10-10). No stored node held two.\n\nNO CONVERTER ROW: 0 DeliveryOptions nodes on the US sites, draft or published (read only, 2026-11-04). This entry is its reason in the guard (`scripts/test-section-to-box.tsx` \xA75).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks). A Delivery Options anywhere still renders through it and can still be edited; no document is rewritten.\n\nDELETE DATE 2026-12-18: the retired component in efficient-storefront-blocks (`components/DeliveryOptions`, `DeliveryOptionsSource`, `blocks/commerce/DeliveryOptions`) goes then, in a storefront-blocks follow-up. 0 stored DeliveryOptions nodes on the 34 US pages, draft or published (read only, 2026-11-08), and no converter row is coming."},Series:{label:"Recurring Columns",note:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids \u2014 Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).
32
-
33
- WHAT REPLACES IT: Cards drawn from its card template. A column's number is Number, its "Right Top Text" Corner note, its title Card title, its words Card body, its count and label one Count, and the one \`viewLabel\` a plain Text typed once in the template, so every card shows it; the background is the Box's. The converter row (\`section-to-box-rows-cards.ts\`, OFF) lays down that Cards inside a Box.
34
-
35
- WHAT A MERCHANT LOSES (the LOOK GAPS in that file): the grid takes the Cards block's own gaps and breakpoints; a short row no longer keeps 4 columns; the count is one plain Text, its figure no longer in the text ink; a card with no count still draws the footer line.
36
-
37
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Recurring Columns still renders through it and can still be edited; no document is rewritten.`},DocMetaCards:{label:"Document Detail Cards",note:`Lewis, 2026-10-10 (section-merges.md group 4, approved): one Cards section holds the five card grids \u2014 Cards, Key Features, Document Detail Cards, Recurring Columns and Delivery Options. Card content = Manual / Delivery options; the card's parts are Display chips; one Highlighted card row with its Highlight badge. Retired by card [MERGE] Delivery Options, Detail Cards And Recurring Columns Into Cards (M3, 2026-11-04).
38
-
39
- WHAT REPLACES IT: Cards drawn from its card template, each card a Label, a Value and a Card body. The converter row (\`section-to-box-rows-cards.ts\`, OFF) lays down that Cards inside a Box.
40
-
41
- WHAT A MERCHANT LOSES (the LOOK GAPS in that file): the grid takes the Cards block's own gaps and breakpoints, not the old 40 (16 on a phone).
42
-
43
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Document Detail Cards still renders through it and can still be edited; no document is rewritten.`},StatsParagraph:{label:"Stats with Text",note:`Lewis, 2026-10-10 (approved): one Stats holds Stats and Stats with Text. Its head (eyebrow, heading, body) and each number's Prefix, Unit, Superscript, Label, "Use accent color" and text go into Stats; Card style Table (the old Stats with Text) or List (the old Stats). 2026-10-27: no Number block, the cards are Box + Text. Retired when the two became one Stats (2026-11-06).
44
-
45
- WHAT REPLACES IT: a Stats press, a Box of real parts: three head Texts, then a Stats Box holding ONE Card list, Card style Table. Each number is a row of the Card list; its card is a figure Text (the prefix and number typed in it, the unit marked \`==_yr_==\`, which draws the section theme's Main colour; a whole number in that colour is \`==_8_==\`), a superscript Text beside it, a label Text and a body Text, each showing its row's field, and a row may link its own live number. The Stats Box's Card style row (Table / List) writes the Box's Gap and the card's own Border, Padding and Height.
46
-
47
- WHAT A MERCHANT LOSES: the numbers do not count up (the Text block's Count up numbers setting is its own change, held); the figure has no tabular numbers; a unit is not a lighter weight than its number; rows of four stack below 800px, not two columns from 1100px.
48
-
49
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. Every page holding a Stats with Text still renders through it and can still be edited; no document is rewritten (owner 2026-11-06: old sites stay as they are).`},Testimonials:{label:"Testimonials",note:"Lewis, 2026-10-10 (section-merges.md group 6, approved): Testimonials goes into Reviews, whose Review content is Manual (typed quotes) or Reviews (the store's approved reviews), with a product choice in place of the old Design code. Retired by card [MERGE] Remaining Section Merges (2026-11-06), after Reviews took typed quotes and a card template (efficient-storefront-blocks #242) and the product choice (#359).\n\nWHAT REPLACES IT: Reviews with Review content set to Manual. Every Testimonials key has the same key there: `eyebrow`, `eyebrowLook`, `title`, `items[]` (`quote`, `name`, `role`), `columns` 1-3 and `headPlacement` (both split their head). A typed review also has a `title` and a `rating`, empty for a quote that has none.\n\nWHAT A MERCHANT LOSES on a NEW quote list: nothing this section had. Reviews is in the service set where this section was general; no host narrows the sets (2026-11-06).\n\nNO CONVERTER ROW HERE: its Box row is efficient-storefront-blocks' (`section-to-box-rows-reviews`, OFF). 0 Testimonials nodes on the US sites, draft or published (read only, 2026-11-06). Old sites stay as they are (owner, 2026-11-06).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. A Testimonials anywhere still renders through it and can still be edited; no document is rewritten."},SubscribeBlogs:{label:"Subscribe with Posts",note:"card 66396 \u2014 folded into `Subscribe`, which now chooses its rail's content with a `Type` control (the newsletter's own issues, or live blog posts). The two shared 21 of their fields and rendered THE SAME BYTES from equivalent rows, so offering both asked a merchant to choose between two names for one section. The type key stays because it is stored on published pages, and the component stays because those pages still render through it."},RelatedProducts:{label:"Related Products",note:`Owner, 2026-11-06 (plan productgrid-card-template-2026-11-06, inovit row 19): a Product Grid with "Show the current product's related" on IS the related grid, so offering both asked a merchant to choose between two names for one section.
50
-
51
- WHAT REPLACES IT: Product Grid, bound to the current product. Both draw every card through the grid's ONE card template (efficient-storefront-blocks, lib/content/product-card-seed).
52
-
53
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Related Products node is read as that grid by the host (\`relatedToGrid\`) and draws the same cards; no document is rewritten. Its footnote is the one value the grid has no home for.`},BundleOffer:{label:"Bundle Products",note:`Plan section-parts bundles grid source (2026-11-07): a Product Grid that shows "Bundles with this product" IS the bundle section, so offering both asked a merchant to choose between two names for one section.
54
-
55
- WHAT REPLACES IT: Product Grid, bound to the current product, Show set to its bundles. Both draw every kit through the grid's ONE card template (efficient-storefront-blocks, lib/content/product-card-seed).
56
-
57
- THE TYPE KEY STAYS AND SO DOES THE DRAWING. A stored Bundle Products node is read as that grid by the host (\`bundleToGrid\`) and draws its kits; no document is rewritten.`},TyreFitment:{label:"Tyre Fitment Form",note:`Owner, 2026-10-10 (approved): the Tyre Fitment Form goes into the Fitment Form, whose answer follows the page. One vehicle section, not two.
58
-
59
- WHAT REPLACES IT: the Fitment Form, a Box of a head, the vehicle picker (\`FitmentPicker\`), its answer (\`StockFitment\`) and a Button. On a tyre product page the answer part draws one verdict per size against the picked car, the same \`TyreFitVerdicts\` drawing this section made; on every other page it draws the car's OEM fitment card (efficient-storefront-blocks 0.87.0). The old escape link is the Box's Button.
60
-
61
- WHAT A MERCHANT LOSES: the tyre-only head copy ("Will it fit your car?"); a press seeds the Fitment Form's own head. The page decides the answer, so there is no mode row.
62
-
63
- NO CONVERTER ROW: 0 TyreFitment nodes on the US sites, draft or published (read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06).
64
-
65
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks). A stored Tyre Fitment Form still renders through it and can still be edited, its head split, width, heading level, settings groups and cover included; no document is rewritten.`},EuTyreLabel:{label:"EU Tyre Label",note:`Owner, 2026-10-10 (approved): the EU Tyre Label becomes a Spec Table display chip. One place for a tyre's sheet, not two sections.
66
-
67
- WHAT REPLACES IT: the Spec Table's "EU tyre label" Display chip (efficient-storefront-blocks, default off), which draws this page's grades under the tyre sheet; and the EU Tyre Label block (\`EuTyreLabelBlock\`, efficient-storefront-blocks), the same grades as a block of their own. Both read the grades live through the one grades draw (\`EuTyreLabelGrades\`), as this section did. Default on for sites that sell to the EU or UK waits for a site market source (a later step).
68
-
69
- WHAT A MERCHANT LOSES: the label as a section of its own, with its fixed head ("EU tyre label.") and its section number (\`num\`, its only field). The grades, their source line and the live read are not lost.
70
-
71
- NO CONVERTER ROW: 0 EU Tyre Labels are stored on the US and AU sites (inovit_us and inovit_au, \`layout\` and \`published_layout\`; read only, 2026-11-10). Old sites stay as they are (owner, 2026-11-06).
72
-
73
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks EuTyreLabels). A stored EU Tyre Label still renders through it and can still be edited, its width, heading level, settings groups and cover included; no document is rewritten.`},Integrations:{label:"Integrations Grid",note:`Never listed: the Integrations Grid was registered but never offered (2026-11-14: a press of this type lays down a Box of real parts, SECTION_TO_BOX_PRESS, and its converter row \`section-to-box-rows-integrations\` moves a stored one).
74
-
75
- WHAT REPLACES IT: a Box. \`eyebrow\`, \`title\` and \`body\` are Text blocks; each of \`apps\` is a Logo block named by the app in a Logos wall, Logo style Chips (the shell's brand mark beside the name, efficient-shell/icons/brands), dealt round-robin into three scrolling rows; \`statValue\`, \`statLabel\` and \`note\` are Text blocks.
76
-
77
- 0 Integrations nodes are stored on the US sites (76 pages, read only, 2026-11-14). Old sites stay as they are (owner, 2026-11-06).
78
-
79
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT, until ${Rr}. A stored Integrations node still renders through it and can still be edited; no document is rewritten.`},HeroSingle:{label:"Hero Single",note:`Owner, 2026-10-10: three heroes into one, the Hero (the slideshow) is the base; a single hero is a Hero with one slide. Every row the single Hero has is a slide row now: the picture is Media \u203A Image, Image 2 on the slide as it was on the single Hero (lib/document/hero-media-parts), with the same rows from one home (blocks/hero-shared-fields: the two-picture Layout, Image 2 and its tint); the height, corners, border, stick, anchor, entrance, scroll, width and hide are the Hero's own section rows.
80
-
81
- WHAT REPLACES IT: a Hero with one slide (Hero \u203A Slide \u203A Box). The words are Boxes on the slide, as they were Boxes on the single Hero.
82
-
83
- WHAT A MERCHANT LOSES: nothing a row sets. The single Hero's own copy rows (eyebrow, title, level, alignment) were deleted on 2026-09-09; their words were already Box blocks.
84
-
85
- Old sites stay as they are; moving a stored page (lib/sections/hero-single-to-hero) is a separate write that needs the owner's word.
86
-
87
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Hero Single still renders through it and can still be edited; no document is rewritten.`},ContactLocations:{label:"Contact / Locations",note:`Owner, 2026-10-27/30: Contact / Locations is TWO sections, each with its own look, the city photo wall and the city cards with their own map. Its row (\`section-to-box-rows-locations\`) makes two Boxes, so the old row leaves the Add menu and each Box is a preset of its own (lib/sections/city-presets). A press of this type lays down that row (SECTION_TO_BOX_PRESS).
88
-
89
- WHAT REPLACES IT: City maps, a Box with one Box per region group (its head: key, name, "N locations"), and in it one City Box per city: Words (name, state and country, time zone, address, a Directions button, hours) and a Map block (LocationMap); then the OpenStreetMap credit. City pictures, the head (number, heading, tagline) over the photo wall, comes back to the menu when the wall is redone: the owner, 2026-11-02, hid the photo groups until then (\`CITY_PHOTO_WALL_HIDDEN\`).
90
-
91
- WHAT A MERCHANT LOSES until the wall is redone: the photo wall and the section head on a new insert (a Text section gives a heading). The look gaps of the Boxes are listed in the row.
92
-
93
- Old sites stay as they are (owner, 2026-11-06); moving a stored page is a separate write that needs the owner's word.
94
-
95
- THE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Contact / Locations node still renders through it and can still be edited; no document is rewritten.`},PaymentBadges:{label:"Payment Methods",note:"Owner, 2026-10-10: Logos and Payment Methods are one block, and a payment wall is a Logos block with the payment chip for its look. 2026-11-07: the dot before each line is a Mark Box at full strength (approved).\n\nWHAT REPLACES IT: the Logos row (Layouts group), Logo style Cards. Field by field, as its converter row (`section-to-box-rows-logos`) moves it: `heading` is a Text block; each of `badges` is a Logo block in the wall, its name the Logo's name and its `src` the Logo's picture; `dataSource` is the wall's own Logo content row (\"Ways to pay here\" or \"Ways to pay at checkout\", served by the backend to Logos too), and the wall draws ONE Logo card template per served method, the same chip; `assurances` are a Reassurance Box of lines, each a Mark Box (an empty Box, 4 x 4, Corners 2, Fill main) before a Text; `contained` is the Box's site frame. A press of this type lays down that Box (SECTION_TO_BOX_PRESS).\n\nWHAT A MERCHANT LOSES: the 60% and 70% opacity of the old dot and words (a Box and a Text have no opacity: the dot is the main colour, the words the label ink) and the 4px gap between wrapped lines (a Box has one Gap). No field is lost.\n\n4 Payment Methods nodes are stored on the US sites, all on template pages, draft only, all fed by a source; 0 on pages (read only, 2026-11-07). Old sites stay as they are (owner, 2026-11-06); moving a page is a separate write.\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT. A stored Payment Methods node still renders through it, its dot included, and can still be edited; no document is rewritten."},Gallery:{label:"Tabbed Gallery",note:'Owner, 2026-10-10 (approved): the Tabbed Gallery goes into the Customer Photo Grid, and the one that is left is called Gallery; its vehicle / wheel / others halves become a Tabs list, and its wall becomes one of the photo layouts. Retired from the Add menu with no preset row and no migration.\n\nWHAT REPLACES IT, field by field: the Gallery (`GalleryB`). `mode` both = a Box in Tabs mode with one Gallery per panel; one mode = one Gallery, no Tabs Box. `vehicleTabLabel` / `wheelTabLabel` = the Box\'s panel names, Tab shape "Large tabs" (this strip is the Tabbed Gallery\'s own, class for class); `showTabs` off = the Box Stacked. `source` (one product, or All products and a `category`) = each Gallery\'s `dataSource: "product-pictures"`, with `product`, `designCode`, `mediaZone` (lifestyle = the vehicle half, photos = the wheel half, others) and `category`; it reads live on every view, nothing is baked. `kicker`, the titles, `*Body1` / `*Body2` = Text blocks in the panel\'s Box (Heading N, Body N); `showIntro` off = the Layers eye. `*Stats` = a Stats block; `breadcrumbLabel` = a Breadcrumb block; `showFilters`, `showCount`, `showSort` = a Filter chips block over the Gallery (`showCount`, `showSort`). A card\'s `image`, `photos`, `href`, `name`, `meta`, `process` (the Tag) and `eyebrow` (the caption line over the title) = a Gallery Item\'s, or the served row\'s. The wall (two half, then thirds, 4:3, one across on a phone) = layout "Two, then threes" (`twoThenThreesPhoto`), the default for product pictures. Words at rest, the tile number, the hover zoom and the lightbox\'s "View product" are the Gallery card\'s. `previewTab` = the Box Tabs pane switch; `previewHover` = the Gallery\'s own. `anchor`, `sectionAccent` and `_partStyles` are the same injected keys on the Box and the Gallery.\n\nWHAT A MERCHANT LOSES: the per-tab note under each tab ("N items \xB7 Community photos" / "Featured photos", desktop only): Large tabs draws the letter and the name only. Accepted only because nothing stored moves now. \u26D4 A "Tab note" Box setting MUST exist before the /gallery move: a moved page with no home for it loses a line the shopper sees. Also lost: the empty line ("No items in this gallery yet." / "No items match this filter."); an empty Gallery draws nothing, and the chips come from the tiles, so "no match" cannot happen.\n\nNO CONVERTER ROW: no stored node is rewritten and SECTION_TO_BOX_ON stays without it (owner, 2026-11-06: old sites stay as they are). 2 Tabbed Gallery nodes are stored on the US sites, both top level, draft equal to published (read only, 2026-11-08): `Gallery-f1eb706a` (inovit.com /gallery: mode both, every show flag on, All products, 10 + 10 cards, 20 of 20 with a caption, 3 + 3 stats) and `Gallery-ce49eb98` (hartesmetal.com /gallery: mode vehicles, count and stats on, All products, 49 cards, 0 with a caption, 2 stats).\n\nTHE MOVE RECIPE, for the day the owner orders the /gallery move (a live write, his word): a Box in Tabs mode (inovit) or one Gallery (hartes); each Gallery `dataSource: "product-pictures"`, `mediaZone` lifestyle / photos, and `displayPhone: {tag:true}` (a new Gallery stores `{tag:false}`, and the Tabbed Gallery drew its Tag at every width). The captions: the stored ones are frozen copies that live only in the page; a product-pictures row serves its media group\'s `vehicle` as `eyebrow`, and that is empty on every group today (the editor\'s product binding clears `eyebrow` and reads only `vehicle`). So carry them as typed Gallery Items with the stored `eyebrow` copies, OR fill each media group\'s `vehicle` first (a data write). It needs efficient-storefront-blocks 0.91.0 (the photo layout default and the stored cards kept on open) and the backend\'s product-pictures source (106.0.0).\n\nTHE TYPE KEY STAYS AND SO DOES THE COMPONENT (efficient-storefront-blocks GalleryShowcase). A stored Tabbed Gallery still renders through it and can still be edited, its source row, cover, width, heading level and settings groups included; in Layers it keeps its block\'s own label, "Tabbed Gallery". Delete the component only when the last stored `Gallery` node is gone.'}},Lr=Object.fromEntries(Object.entries(ma).map(([e,t])=>[e,t.note])),Kp=["Grid","Spacer","TyreFitment"],$p=Array.from(new Set([...te.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(Lr)])),Cr=Object.fromEntries(Object.entries(ma).map(([e,t])=>[e,t.label])),Vp={...Cr,...Object.fromEntries(te.flatMap(e=>e.sections.map(t=>[t.type,t.label])))},Ir={Heading:"general",Text:"general",Eyebrow:"general",ImageBlock:"general",LogoBlock:"general",LocationMap:"general",Contents:"general",ListSearch:"general",ButtonBlock:"general",CardList:"general",HostPart:"general",PostCard:"general",HeroSlide:"general",HeroGroup:"general",Integrations:"general",Grid:"general",KeyFeatures:"general",Spacer:"general",Series:"general",DocMetaCards:"general",StatsParagraph:"general",Testimonials:"general",Masthead:"general",CategoryBar:"general",CollectionCard:"commerce",GalleryItem:"commerce",ProductRef:"commerce",CompatibleTyres:"commerce",DeliveryOptions:"commerce",Header:"commerce",SearchBlock:"commerce",CartBlock:"commerce",CountrySwitchBlock:"commerce",AccountBlock:"commerce",ThemeSwitchBlock:"commerce",ProductGallery:"commerce",EuTyreLabelBlock:"commerce",WheelDiagram:"commerce",SubmitBox:"service",BookingBox:"service",SubscribeBlogs:"service",RatingBlock:"service",Footer:"service",FooterLogo:"service",FooterMenu:"service",FooterDivider:"service",FooterGroup:"service",FooterText:"service",FooterEmailSignup:"service",FooterSocial:"service",FooterPayment:"service",MenuBlock:"service",MenuLinkBlock:"service",ProductPrice:"commerce",ProductSize:"commerce",ProductColour:"commerce",ProductPicture:"commerce",ProductEyebrow:"commerce",ProductName:"commerce",ProductSpecs:"commerce",ProductBuy:"commerce",ProductBuyButton:"commerce",ProductSku:"commerce",FitmentPicker:"commerce",StockFitment:"commerce",RelatedProducts:"commerce",BundleOffer:"commerce",TyreFitment:"commerce",EuTyreLabel:"commerce",PaymentBadges:"general",ContactLocations:"general",HeroSingle:"general",Gallery:"commerce",EmailFormBlock:"service",SocialLogosBlock:"service",PaymentLogosBlock:"service",LegalLineBlock:"service",SiteHeader:"service",SiteFooter:"service"},St={...Ir,...Object.fromEntries(te.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function jp(e){return fe(St,e)}function _t(e){return Object.keys(St).filter(t=>fe(St,t)===e).sort()}var Xp=_t("general"),zp=_t("commerce"),qp=_t("service"),Pr="Flex",Le="Box",Qp=`${Le}es`;function Nr(e){return e==="section"?"Blank section":Le}function Zp(e,t,o){return e===Pr?Nr(t):o}var F=["highlight","strong","quiet"],G={highlight:"Highlight",strong:"Bold",quiet:"Quiet"},L={highlight:{kind:"wordHighlight",delimiter:"@@"},strong:{kind:"wordStrong",delimiter:"++"},quiet:{kind:"wordQuiet",delimiter:"^^"}},tm=Object.fromEntries(F.map(e=>[L[e].kind,e])),om="data-sf-ws",Hr=["accent","text","labels"],Dr={accent:"var(--accent)",text:"var(--fg)",labels:"var(--fg-dim)"},Br=80,Mr=120,Fr=100,Gr=900,Wr=.5,Ur=3,Yr=-.1,Kr=.5,$r=3,Ot={font:null,size:null,weight:null,bold:null,italic:null,lineGap:null,textGap:null,colour:null},Vr={highlight:{...Ot},strong:{...Ot},quiet:{...Ot}};function fa(e,t,o){return typeof e!="number"||!Number.isFinite(e)?null:Math.round(Math.min(Math.max(e,t),o))}function wa(e,t,o){if(typeof e!="number"||!Number.isFinite(e))return null;let a=10**$r;return Math.round(Math.min(Math.max(e,t),o)*a)/a}function ga(e){return typeof e=="boolean"?e:null}function jr(e){let t=typeof e?.font=="string"&&pe.some(a=>a.key===e.font)?e.font:null,o=typeof e?.colour=="string"&&Hr.includes(e.colour)?e.colour:null;return{font:t,size:fa(e?.size,Br,Mr),weight:fa(e?.weight,Fr,Gr),bold:ga(e?.bold),italic:ga(e?.italic),lineGap:wa(e?.lineGap,Wr,Ur),textGap:wa(e?.textGap,Yr,Kr),colour:o}}function ba(e){let t={};for(let o of F)t[o]=e&&o in e&&e[o]?jr(e[o]):{...Vr[o]};return t}function am(e){let t=ba(e),o={};for(let a of F){let s=t[a],n=`--sf-ws-${a}`;if(s.font){let i=pe.find(r=>r.key===s.font);i&&(o[`${n}-font`]=`var(${i.cssVar})`)}s.size!==null&&(o[`${n}-size`]=`${s.size/100}em`),s.weight!==null&&(o[`${n}-weight`]=String(s.weight)),s.bold!==null&&(o[`${n}-weight-bold`]=s.bold?"700":"400"),s.italic!==null&&(o[`${n}-style`]=s.italic?"italic":"normal"),s.lineGap!==null&&(o[`${n}-line`]=String(s.lineGap)),s.textGap!==null&&(o[`${n}-track`]=`${s.textGap}em`),s.colour!==null&&(o[`${n}-color`]=Dr[s.colour])}return o}function sm(e){let t=e?.word_styles??void 0,o={};for(let a of F)t&&a in t&&(o[a]=t[a]??null);return ba(o)}import{applyMark as rm,markupTools as lm,MARKUP_TOOLS as cm,COPY_FIELD_TOOLS as dm,STOREFRONT_MARKUP as hm,tokenizeInline as um,stripInline as pm,isSafeLinkHref as mm}from"efficient-shell/markup";import{applyMark as Xr,clearStyle as zr,markedAt as qr,markupTools as Qr,MARKUP_TOOLS as Zr,parseMarkup as Jr,RETIRED_MARKS as el,STOREFRONT_MARKUP as tl,tokenizeInline as wm}from"efficient-shell/markup";var ol=new Set(["strong"]),ya=F.map(e=>({open:L[e].delimiter,close:L[e].delimiter,kind:L[e].kind,...ol.has(e)?{wordStart:!0}:{}})),bm=[{style:L.highlight.kind,label:G.highlight,title:`${G.highlight} word style`},{style:L.strong.kind,label:G.strong,title:`${G.strong} word style`},{style:L.quiet.kind,label:G.quiet,title:`${G.quiet} word style`}],al=new Set(ya.map(e=>e.open)),vt=[...tl.filter(e=>!al.has(e.open)),...ya];function sl(e){return e.bullet?"- ":e.number!=null?`${e.number}. `:""}function Ta(e){return Jr(typeof e=="string"?e:"",vt)}var nl=Zr.map(e=>e.style).filter(e=>!el.includes(e)).filter(e=>vt.some(t=>t.kind===e));function ym(){return Qr(nl)}var Ea=Object.fromEntries(F.map(e=>[L[e].kind,L[e].delimiter]));function Tm(e,t,o,a){let s=Ea[a];if(!s)return Xr(e,t,o,a);let n=e.slice(t,o),i=e.slice(Math.max(0,t-s.length),t),r=e.slice(o,o+s.length);if(i===s&&r===s)return{text:e.slice(0,t-s.length)+n+e.slice(o+s.length),selectionStart:t-s.length,selectionEnd:t-s.length+n.length};let c=n||"styled text";return{text:e.slice(0,t)+s+c+s+e.slice(o),selectionStart:t+s.length,selectionEnd:t+s.length+c.length}}function Em(e,t,o,a){let s=Ea[a];return s?t>=s.length&&e.slice(t-s.length,t)===s&&e.slice(o,o+s.length)===s:qr(e,t,o,a)}function Sa(e){return e.replace(/==(.+?)==/g,(t,o)=>o.startsWith("_")&&o.endsWith("_")?t:`==_${o}_==`)}function Sm(e){return Ta(e).map(t=>sl(t)+_a(t.children)).join(`
96
- `)}function _m(e,t,o){return zr(e,t,o,vt)}function _a(e){return e.map(t=>t.kind==="text"?t.text:_a(t.children)).join("")}function Om(e){let t=o=>o.some(a=>a.kind==="link"||"children"in a&&t(a.children));return Ta(e).some(o=>t(o.children))}import{AUTO_RULES as il,FOLLOW_RULES as rl,isAuto as ll,resolveViewValue as cl}from"efficient-easel/screen/lib/content/view-tiers";function dl(){return Go==="v2"?il:rl}function Ce(e,t,o,a,s=dl()){let n=cl(e,t,o,a,s),i={},r=(c,h)=>!ll(c)||h!=null&&h!==t;return r(o,n.tablet)&&(i.tablet=n.tablet),r(a,n.phone)&&(i.phone=n.phone),i}var Oa=-1,hl="sf-section-accent",Lm="Color",Cm=new Set(["CategoryBar","DocTabs"]),Im=new Set(["Flex"]),ul=0;function pl(e){return e===Oa?null:typeof e=="number"&&Number.isInteger(e)&&e>=0?e:ul}function Pm(e){return e??Oa}function ml(e){let t=`--theme-preset-${e}`,o={"--sf-sec-accent":`var(${t}-accent)`,"--sf-sec-accent-2":`var(${t}-accent-2)`,"--sf-sec-accent-ink":`var(${t}-accent-ink)`};for(let{role:a}of yt)o[`--sf-sec-${a}`]=`var(${t}-${a}, var(--theme-${a}))`;return o}function Nm(e){let t=pl(e.sectionAccent);return t===null?null:{className:hl,style:ml(t)}}import{isNodeList as fl}from"efficient-easel/data";import{parseOption as wl}from"efficient-shell/format";var Ie=["top-left","top-center","top-right","left","center","right","bottom-left","bottom-center","bottom-right"],xa="bottom-left",W=4,gl=W+1,va=40,bl=30,yl=100,Tl=60,Mm=100;var xt={"top-left":"Top left","top-center":"Top center","top-right":"Top right",left:"Left",center:"Center",right:"Right","bottom-left":"Bottom left","bottom-center":"Bottom center","bottom-right":"Bottom right"};function El(e){let t=Ie.indexOf(oe(e));return{band:Math.floor(t/3),column:["start","center","end"][t%3]}}function Sl(e){return 1+El(e).band*(gl+1)}function Fm(e){return Sl(e)+1}function oe(e){return wl(Ie,xa,e)}function Gm(e){let t=typeof e=="number"&&Number.isFinite(e)?e:0;return Math.max(-va,Math.min(va,Math.round(t)))}function Wm(e,t=Tl){let o=typeof e=="number"&&Number.isFinite(e)?e:t;return Math.max(bl,Math.min(yl,Math.round(o)))}function kt(e,t){let o=oe(t);return e.filter(a=>oe(a?.props?.placement)===o).length}function ka(e){return`${xt[oe(e)]} already holds ${W} boxes. Move one somewhere else first.`}function Um(e,t){let o=e.filter(a=>a?.props?.id!==t);return Ie.map(a=>{let s=kt(o,a)>=W,n=xt[a];return s?{value:a,label:n,disabled:!0,title:ka(a)}:{value:a,label:n}})}function _l(e,t){let o=t===void 0?xa:oe(t?.props?.placement);return kt(e,o)>=W?ka(o):null}var Aa="HeroGroup";function Ym(e){let t=new Map,o=!1,a=e.filter(s=>{let n=oe(s?.props?.placement),i=(t.get(n)??0)+1;return t.set(n,i),i<=W?!0:(o=!0,!1)});return o?a:e}function Ol(e){return Ie.map(t=>{let o=kt(e,t);return{anchor:t,total:o,hidden:o-W}}).filter(t=>t.hidden>0)}function Km(e){let t=Ol(e);return t.length===0?null:t.map(({anchor:o,total:a,hidden:s})=>{let n=xt[o],i=s===1?"1 is not shown":`${s} are not shown`;return`${n} holds ${a} boxes. The published page draws the first ${W}, so ${i}. ${s===1?"Move it":"Move them"} somewhere else.`}).join(" ")}function $m(e,t){let o=t;if(o?.type!==Aa)return null;let a=o.props?.id===void 0?"":String(o.props.id);return a?_l(vl(e,a),o):null}function vl(e,t){let o=Ra(e,t);return o&&o.ownerType===kl?o.siblings:[]}function Vm(e,t){let o=Ra(e,t);return o?o.ancestorTypes.filter(a=>a===Aa).length:xl}var xl=1,kl="HeroSlide";function Ra(e,t){let o=(a,s,n)=>{if(s>12||!a||typeof a!="object")return null;if(fl(a)){if(a.some(i=>i?.props?.id===t))return{siblings:a,ownerType:n.at(-1)??null,ancestorTypes:n};for(let i of a){let r=i.type,c=o(i,s+1,[...n,String(r)]);if(c)return c}return null}for(let i of Object.values(a)){let r=o(i,s+1,n);if(r)return r}return null};return o(e,0,[])}var At={desktop:"desktop",tablet:"tablet",phone:"mobile"},Al=Object.keys(At);function La(e){return At[e??"desktop"]}function Xm(e){return Al.find(t=>At[t]===e)??"desktop"}import{FOLLOW_RULES as Rl,resolveViewValue as Ll,viewKeyAt as Cl}from"efficient-easel/screen/lib/content/view-tiers";var Il=["desktop","tablet","phone"],Lt=(e,t)=>Cl(e,La(t)),Zm=e=>e.flatMap(t=>Il.map(o=>Lt(t,o))),Rt=e=>e===null||e===""?void 0:e,Pl=(e,t,o)=>Ll("same",Rt(e),Rt(t),Rt(o),Rl);function Jm(e,t,o,a=e[t]){return Pl(a,e[Lt(t,"tablet")],e[Lt(t,"phone")])[o]}var Nl="Website";function tf(e){return e?.trim()||Nl}function ae(e,t){let o=globalThis,a=Symbol.for(e),s=o[a];return s===void 0&&(s=t(),o[a]=s),s}function we(){return ae("efficient.slot-field-blocks",()=>new Set)}var Hl="dataSource",df="dataSourceOptions",Dl="dataRows",hf="countKey",uf="counts",pf="location-payment-methods",mf="shop-payment-methods",ff="delivery-options",wf="blog-categories",Ct="dealers",Bl="site-offices";function Ml(e){return typeof e.open=="function"}var Pa=/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/;function gf(e){return typeof e=="string"&&Pa.test(e)}var Ca=new Set([Ct,Bl]);function ge(){return ae("efficient.block-sources",()=>({sources:new Map,revision:0}))}var Fl=e=>[e?.key,e?.label,e?.value].every(t=>typeof t=="string"&&t.trim()!==""),Gl=e=>[e?.key,e?.label].every(t=>typeof t=="string"&&t.trim()!==""),Ia=e=>typeof e=="string"&&e.trim()!=="";function Wl(e){if(!e||!Ia(e.label))return null;if(Ml(e))return{label:e.label.trim(),open:e.open};let t=e.href;return Ia(t)?{label:e.label.trim(),href:t.trim()}:null}function Ul(e){if(typeof e.key!="string"||!Pa.test(e.key))throw new Error(`A block source key is lower-case words joined by hyphens, not ${JSON.stringify(e.key)}.`);if(typeof e.label!="string"||!e.label.trim())throw new Error(`The block source ${e.key} has no label.`);if(!Array.isArray(e.blocks)||!e.blocks.length||e.blocks.some(a=>typeof a!="string"||!a))throw new Error(`The block source ${e.key} names no block it can fill.`);let t=e.blocks.find(a=>we().has(a));if(t)throw new Error(`The block source ${e.key} names ${t}, whose card template declares slot fields: slot fields take the place of a source's fields, so a block with slot fields reads no source.`);let o=Wl(e.edit);return{key:e.key,label:e.label.trim(),blocks:[...e.blocks],...e.sample?{sample:e.sample.map(a=>Ha(a)).filter(a=>a!==null)}:{},...Array.isArray(e.choices)?{choices:e.choices.filter(Fl)}:{},...Array.isArray(e.fields)?{fields:e.fields.filter(Gl).map(a=>({...a}))}:{},...o?{edit:o}:{},...typeof e.useRows=="function"?{useRows:e.useRows}:{},...Array.isArray(e.records)?{records:e.records.filter(a=>typeof a=="string"&&a.trim()!=="").map(a=>a.trim())}:{}}}function bf(e){let t=e.map(Ul),o=ge();for(let a of t)o.sources.set(a.key,a);t.length&&(o.revision+=1)}function Na(e){let t=[...ge().sources.values()],o=[...t.filter(a=>!Ca.has(a.key)),...t.filter(a=>Ca.has(a.key))];return e===void 0?o:o.filter(a=>a.blocks.includes(e))}function Pe(e){return ge().sources.get(e)??null}function yf(e){return ge().sources.get(e)?.choices??[]}function Tf(){return ge().revision}function v(e){let t=e?.[Hl];return typeof t=="string"?t.trim():""}function Ha(e){if(!e||typeof e!="object"||Array.isArray(e))return null;let t={};for(let[o,a]of Object.entries(e)){let s=I(a);s&&(t[o]=s)}return Object.keys(t).length?t:null}function Yl(e){let t=e?.[Dl];return Array.isArray(t)?t.map(Ha).filter(o=>o!==null):null}function Ef(e,t,o=[]){let a=Yl(e);if(a!==null&&(a.length||!t))return{rows:a,sample:!1};if(!t)return{rows:[],sample:!1};let s=Pe(v(e))?.sample;return{rows:s?.length?s:o,sample:!0}}var w="rowField",x="rowLinkField",d="template",A="CardList",be="hideWhenRowEmpty",It=["Text","ImageBlock","ButtonBlock","Flex"];function U(){return{type:"slot",allow:[...It]}}var Da=It.filter(e=>e!=="ButtonBlock");function Pt(){return{type:"slot",allow:[...Da]}}var Kl="boxes",Ba={CardList:{template:Pt()},Cards:{template:U()},FAQ:{template:U()},Flex:{rowTitle:{type:"slot",allow:["Text"]},content:{type:"slot"}},Footprint:{template:U()},Grid:{content:{type:"slot"}},Hero:{slides:{type:"slot",ownPictures:!0},strip:{type:"slot",allow:["Flex"]}},HeroGroup:{content:{type:"slot"}},HeroSingle:{boxes:{type:"slot",allow:["HeroGroup"]}},HeroSlide:{groups:{type:"slot",allow:["HeroGroup"]}},Logos:{logos:{type:"slot",allow:["LogoBlock"]},template:{type:"slot",allow:["LogoBlock"]}},OrderSummary:{template:U()},ProcessSteps:{[Kl]:{type:"slot"},template:U()}};import{isNodeList as Ma,slotsOf as $l,storedKeyOrder as Vl}from"efficient-easel/data";var jl={},Xl=null;function zl(){let e=Object.fromEntries(Object.entries(Ba).map(([t,o])=>[t,{fields:o}]));return Xl??={components:{...e,...jl}}}function se(e){let t=e.props??{},o=typeof e.type=="string"?e.type:"",a=zl(),s=o!==""&&Object.prototype.hasOwnProperty.call(a.components,o)?$l({type:o,props:t},a).map(r=>r.slot).filter(r=>!r.includes(".")):[],n=s.filter(r=>Ma(t[r])),i=Vl(Object.keys(t).filter(r=>!s.includes(r)&&Ma(t[r])));return[...n,...i]}function Af(e){let t=e.props??{};return se(e).map(o=>t[o])}function Rf(e,t){let o=null;return e.forEach((a,s)=>{let n=t(a,s);n!==a&&((o??=e.slice())[s]=n)}),o??e}function Lf(e,t){let o=null;for(let a of se(e)){let s=e.props[a],n=t(s,a);n!==s&&((o??={...e.props})[a]=n)}return o?{...e,props:o}:e}function ql(e,t){let o=e;if(!o||!Array.isArray(o.content))return e;let a=t(o.content);return a===o.content?e:{...o,content:a}}function Cf(e,t){let o=ql(e,t),a=e?.zones;if(!a||typeof a!="object")return o;let s=null;for(let[n,i]of Object.entries(a)){if(!Array.isArray(i))continue;let r=t(i);r!==i&&((s??={...a})[n]=r)}return s?{...o,zones:s}:o}var p="content",f="Flex",Ql="Text & media",Zl="Layout & structure",Ga=[{type:"Eyebrow",label:"Eyebrow",retired:!0},{type:"Heading",label:"Heading",retired:!0},{type:"Text",label:"Text"},{type:"ImageBlock",label:"Image"},{type:"LogoBlock",label:"Logo"},{type:"LocationMap",label:"Map"},{type:"ButtonBlock",label:"Button"},{type:"Contents",label:"Contents"}],Jl=[...Ga,{type:"ListSearch",label:"List search"},{type:"Form",label:"Form"},{type:"PostCard",label:"Post Card"},{type:"Stats",label:"Stats",retired:!0},{type:"MenuBlock",label:"Menu"},{type:"EmailFormBlock",label:"Email Form"},{type:"SocialLogosBlock",label:"Social Logos"},{type:"PaymentLogosBlock",label:"Payment Logos",retired:!0},{type:"LegalLineBlock",label:"Legal Line"},{type:"SearchBlock",label:"Search"},{type:"CartBlock",label:"Cart"},{type:"CountrySwitchBlock",label:"Country Switch"},{type:"AccountBlock",label:"Account"},{type:"ThemeSwitchBlock",label:"Theme Switch"}].map(e=>({...e,group:Ql})),ec=(te.find(e=>e.key==="structure")?.sections??[]).map(e=>({type:e.type,label:e.label,group:Zl})),Fa=[...Jl,...ec],Nt=[...Ga,{type:"HeroGroup",label:Le}],Hf=Nt.map(e=>e.type),tc=1,oc=Nt.filter(e=>e.type!=="HeroGroup");function ac(e){return e<tc?Nt:oc}var sc={Flex:{slot:p,choices:()=>Fa},Grid:{slot:p,choices:()=>Fa},HeroGroup:{slot:p,choices:ac}};function Df(e,t=0){let o=fe(sc,e);return o?{slot:o.slot,choices:o.choices(t)}:null}import{MEDIA_ZONES as nc,MEDIA_ZONE_LABELS as ic}from"efficient-easel/screen/lib/content/media-zones";import{HOVER_MOTION as rc,hoverKindsOf as He,motionSeconds as Ne,parseOption as ye}from"efficient-shell/format";var ne={min:0,max:360,step:1},Wa="angle";function Ff(e){let t=C(e);if(t===void 0)return null;let o=Math.min(ne.max,Math.max(ne.min,t));return o===ne.min||o===ne.max?null:{rotate:`${o}deg`}}var R="hover",$f="_gHover",lc={none:"None",nextImage:"Show next image",rotate:"Rotate",zoom:"Zoom",lift:"Lift",mono:"Black and white"},Y="highlight",cc="Highlight",Vf=["none",Y],jf={none:lc.none,[Y]:cc};function dc(e){return e[R]===Y?Y:"none"}var Xf="transition-colors hover:bg-[var(--sf-hl-bg)]! hover:[--fg:var(--sf-hl-ink)] active:bg-[var(--sf-hl-bg)]! active:[--fg:var(--sf-hl-ink)]",zf="hover:[--fg:var(--sf-hl-ink)]! hover:[--fg-dim:inherit]! hover:[--site-line:inherit]! hover:[color:inherit]! active:[--fg:var(--sf-hl-ink)]! active:[--fg-dim:inherit]! active:[--site-line:inherit]! active:[color:inherit]!";function qf(e,t){return dc(e)!==Y?null:{"--sf-hl-bg":t("surface"),"--sf-hl-ink":t("main")}}var hc=He(["none","lift"]);function Qf(e){let t=e[R];return ye(hc,"none",t)}var Ka=He(["none","nextImage","rotate"]),k={kind:R,angle:"hoverAngle",duration:"hoverDuration",delay:"hoverDelay",mediaKind:"hoverKind",mediaGroup:"hoverGroup",cover:"hoverCover"},Bt="spinOnHover",Ua=ne,$a={ProductGrid:"rotate",RelatedProducts:"rotate",AlloyWheelsListing:"none"},Zf=Object.keys($a);function uc(e){return $a[e]??"none"}var pc=rc.rotateFallbackDeg,mc=e=>e==="rendering"?"renderings":e,fc=e=>e==="renderings"?"rendering":e,Va=Object.freeze(nc.filter(e=>e!=="videos").map(mc)),Jf=Object.freeze(Object.fromEntries(Va.map(e=>[e,ic[fc(e)]]))),wc=["finish","first"],ew={finish:"Same finish",first:"First group"},gc=["card","picture"],tw={card:"Whole card",picture:"Picture"},Ht={kind:"photos",group:"finish",cover:"card"};function ja(e){return{kind:ye(Va,Ht.kind,e[k.mediaKind]),group:ye(wc,Ht.group,e[k.mediaGroup]),cover:ye(gc,Ht.cover,e[k.cover])}}function ow(){return{field:k.kind,is:"nextImage"}}function bc(e,t){let o=e[k.kind];if(Ka.includes(o))return o;let a=e[Bt];return typeof a=="boolean"?a?"rotate":"none":t}function yc(e){let t=C(e);return t===void 0?pc:Math.min(Ua.max,Math.max(Ua.min,t))}function aw(e,t){let o=uc(t),a=bc(e,o);return{kind:a,angle:a==="rotate"?yc(e[k.angle]):null,duration:Ne("hover","duration",a==="rotate"?e[k.duration]:void 0),delay:Ne("hover","delay",a==="rotate"?e[k.delay]:void 0),...a==="nextImage"?{media:ja(e)}:{}}}function sw(e){let t={field:k.kind,in:[...Ka]};return{any:[{field:k.kind,is:"rotate"},{all:[{not:t},e==="rotate"?{not:{field:Bt,is:!1}}:{field:Bt,is:!0}]}]}}var Xa=He(["none","mono"]),Tc=He(["none","nextImage","mono"]),za={ImageBlock:"none",Manifesto:"none",Split:"none",ContactLocations:"mono"},nw=Object.keys(za);function Ec(e){return za[e]??"none"}var qa={zoom:"hoverZoom",darken:"hoverDarken"},Dt={min:100,max:150,step:1,unit:"%"};function Sc(e){let t=C(e[qa.zoom]);if(t===void 0)return null;let o=Math.min(Dt.max,Math.max(Dt.min,t));return o===Dt.min?null:String(o/100)}function _c(e){let t=C(e[qa.darken]);return t!==void 0&&t>0?t:null}var iw="hoverShow",rw="cardHover",lw="always",Oc=["ImageBlock","Flex"];function vc(e,t,o=Xa){let a=e[R];return ye(o,t,a)}function cw(e,t=""){let o=Oc.includes(t)?Tc:Xa,a=vc(e,Ec(t),o),s=a==="mono";return{kind:a,duration:Ne("hover","duration",s?e[k.duration]:void 0),delay:Ne("hover","delay",s?e[k.delay]:void 0),...a==="nextImage"?{media:ja(e),...t==="Flex"?Ya(e):{}}:Ya(e)}}function Ya(e){let t=Sc(e),o=_c(e);return{...t?{zoom:t}:{},...o?{darken:o}:{}}}function dw(){return{not:{field:R,is:"nextImage"}}}function hw(e){return e==="none"?{field:R,in:["mono","nextImage"]}:{not:{field:R,is:"none"}}}function uw(e){return e==="none"?{field:R,is:"mono"}:{not:{field:R,in:["none","nextImage"]}}}var fw={left:"start",center:"center",right:"end"},ww={left:"justify-start",center:"justify-center",right:"justify-end"},gw={left:"",center:"mx-auto",right:"ml-auto"},Qa={left:"",center:"text-center",right:"text-right"},xc={text:{left:"view-wide:max-view-desktop:text-left",center:"view-wide:max-view-desktop:text-center",right:"view-wide:max-view-desktop:text-right"},place:{left:"view-wide:max-view-desktop:mx-0",center:"view-wide:max-view-desktop:mx-auto",right:"view-wide:max-view-desktop:ml-auto view-wide:max-view-desktop:mr-0"},items:{left:"view-wide:max-view-desktop:grid-cols-1 view-wide:max-view-desktop:justify-items-start",center:"view-wide:max-view-desktop:grid-cols-1 view-wide:max-view-desktop:justify-items-center",right:"view-wide:max-view-desktop:justify-items-end"},justify:{left:"view-wide:max-view-desktop:justify-start",center:"view-wide:max-view-desktop:justify-center",right:"view-wide:max-view-desktop:justify-end"}},kc={text:{left:"max-view-wide:text-left",center:"max-view-wide:text-center",right:"max-view-wide:text-right"},place:{left:"max-view-wide:mx-0",center:"max-view-wide:mx-auto",right:"max-view-wide:ml-auto max-view-wide:mr-0"},items:{left:"max-view-wide:grid-cols-1 max-view-wide:justify-items-start",center:"max-view-wide:grid-cols-1 max-view-wide:justify-items-center",right:"max-view-wide:justify-items-end"},justify:{left:"max-view-wide:justify-start",center:"max-view-wide:justify-center",right:"max-view-wide:justify-end"}},Ac={text:{left:"view-tablet:max-view-desktop:text-left",center:"view-tablet:max-view-desktop:text-center",right:"view-tablet:max-view-desktop:text-right"},place:{left:"view-tablet:max-view-desktop:mx-0",center:"view-tablet:max-view-desktop:mx-auto",right:"view-tablet:max-view-desktop:ml-auto view-tablet:max-view-desktop:mr-0"},items:{left:"view-tablet:max-view-desktop:grid-cols-1 view-tablet:max-view-desktop:justify-items-start",center:"view-tablet:max-view-desktop:grid-cols-1 view-tablet:max-view-desktop:justify-items-center",right:"view-tablet:max-view-desktop:justify-items-end"},justify:{left:"view-tablet:max-view-desktop:justify-start",center:"view-tablet:max-view-desktop:justify-center",right:"view-tablet:max-view-desktop:justify-end"}},Rc={text:{left:"max-view-tablet:text-left",center:"max-view-tablet:text-center",right:"max-view-tablet:text-right"},place:{left:"max-view-tablet:mx-0",center:"max-view-tablet:mx-auto",right:"max-view-tablet:ml-auto max-view-tablet:mr-0"},items:{left:"max-view-tablet:grid-cols-1 max-view-tablet:justify-items-start",center:"max-view-tablet:grid-cols-1 max-view-tablet:justify-items-center",right:"max-view-tablet:justify-items-end"},justify:{left:"max-view-tablet:justify-start",center:"max-view-tablet:justify-center",right:"max-view-tablet:justify-end"}};function De(e){return e==="left"||e==="center"||e==="right"?e:void 0}function bw(e){return e==="start"?"left":e==="end"?"right":De(e)}function Lc(e,t,o){let a=De(e)??"left",s=Ce("same",a,De(t),De(o)),n={};return s.tablet&&s.tablet!==a&&(n.tablet=s.tablet),s.phone&&s.phone!==a&&(n.phone=s.phone),n}function yw(e,t,o,a,{atSectionLine:s=!1}={}){let n=Lc(t,o,a),i=s?Ac:xc,r=s?Rc:kc;return[n.tablet?i[e][n.tablet]:"",n.phone?r[e][n.phone]:""].filter(Boolean).join(" ")}var Mt="rowImageField",Cc="boxOutsideCopy",Ic={all:[{field:Mt,set:!0},{not:{context:Cc,is:!0}}]},Ew={any:[{field:"bgImage",set:!0},Ic]},Za="boxInCopy",Pc={any:[{not:{field:Mt,set:!0}},{not:{context:Za,is:!0}}]},Sw={all:[{not:{field:"bgImage",set:!0}},Pc]},Ja={all:[{not:{context:"parent.bgImage",set:!0}},{any:[{not:{context:`parent.${Mt}`,set:!0}},{not:{context:Za,is:!0}}]}]};import{parseOption as es}from"efficient-shell/format";var Nc="small",Hc="dot",Dc=[{label:"Small",value:"small"},{label:"Display",value:"display"}],Ft=[{label:"Dot \u25CF",value:"dot"},{label:"Cross \u2715",value:"cross"},{label:"Slash /",value:"slash"},{label:"Triangle \u25BC",value:"triangle"},{label:"None",value:"none"}],ts={dot:"\u25CF",cross:"\u2715",slash:"/",triangle:"\u25BC",none:""},Bc={small:"font-mono text-[length:var(--size-label,14px)] uppercase tracking-[0.25em] max-view-wide:text-[length:var(--size-label,12px)]",display:"font-display font-medium text-[length:var(--size-headingMedium,44px)] uppercase leading-none tracking-[0.005em] max-view-wide:text-[length:var(--size-headingMedium,28px)]"},Mc={small:{dot:"",cross:"text-[0.77em]",slash:"text-[0.77em]",triangle:"",none:""},display:{dot:"text-[0.3em]",cross:"text-[0.64em]",slash:"text-[0.64em]",triangle:"text-[0.3em]",none:""}};function vw(e){return es(Dc,Nc,e)}function os(e){return es(Ft,Hc,e)}function xw(e){return Bc[e]}function as(e,t){return Mc[e][t]}var Rw=[{value:"none"},{value:"dot"},{value:"cross"},{value:"slash"},{value:"triangle"}];function ss(e){return Ft.some(t=>t.value===e)?os(e):void 0}var Fc="overflow-x-clip [&>*]:shrink-0 [&>[data-sf-box-items]>*]:shrink-0 [&>*]:max-view-wide:basis-[content] [&>[data-sf-box-items]>*]:max-view-wide:basis-[content] [&>*_:is(p,h1,h2,h3,h4,h5,h6)]:max-w-none [&>[data-sf-box-items]>*_:is(p,h1,h2,h3,h4,h5,h6)]:max-w-none [&>*_:is(.sf-button-block>div)]:font-mono [&>[data-sf-box-items]>*_:is(.sf-button-block>div)]:font-mono [&>*_:is(.sf-button-block>div)]:text-[length:var(--size-label,14px)] [&>[data-sf-box-items]>*_:is(.sf-button-block>div)]:text-[length:var(--size-label,14px)] [&>*_:is(.sf-button-block>div)]:tracking-[0.2em] [&>[data-sf-box-items]>*_:is(.sf-button-block>div)]:tracking-[0.2em] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:inline-flex [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:inline-flex [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:items-center [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:items-center [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:align-top [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:align-top [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:h-[calc(1lh/var(--sf-sep-k,1))] [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:h-[calc(1lh/var(--sf-sep-k,1))] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:mr-[var(--sf-gap-len,0px)] [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:mr-[var(--sf-gap-len,0px)] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:max-view-wide:before:mr-[var(--sf-gap-len-phone,calc(var(--sf-gap-len,0px)/2))] [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:max-view-wide:before:mr-[var(--sf-gap-len-phone,calc(var(--sf-gap-len,0px)/2))] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:text-accent [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:text-accent [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:text-[length:calc(var(--sf-sep-k,1)*1em)] [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:text-[length:calc(var(--sf-sep-k,1)*1em)] [&>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:content-[var(--sf-sep-mark)] [&>[data-sf-box-items]>*+*_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:before:content-[var(--sf-sep-mark)]";function K(e,t){return e==="row"&&ss(t)!==void 0}function Lw(e,t){return K(e,t)?Fc:""}var Gc="[&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:inline-flex [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:items-center [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:align-top [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:h-[calc(1lh/var(--sf-sep-k,1))] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:ml-[var(--sf-gap-len,0px)] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:max-view-wide:after:ml-[var(--sf-gap-len-phone,calc(var(--sf-gap-len,0px)/2))] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:text-accent [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:text-[length:calc(var(--sf-sep-k,1)*1em)] [&>*:last-child_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:content-[var(--sf-sep-mark)] [&>[data-sf-box-items]:last-child>*:not(:last-child)_:is(:is(p,h1,h2,h3,h4,h5,h6):first-child,.sf-button-block>div)]:after:content-none";function Cw(e,t){return K(e,t)?Gc:""}function Iw(e,t){if(!K(e,t))return{};let o=ss(t),a=/^text-\[([\d.]+)em\]$/.exec(as("small",o))?.[1],s=ts[o];return{"--sf-sep-mark":s===""?"none":JSON.stringify(s),...a?{"--sf-sep-k":a}:{}}}import{parseOption as Wc}from"efficient-shell/format";var ls={sectionPaddingTop:0,sectionPaddingBottom:0},Te={start:"justify-start",center:"justify-center",between:"justify-between",end:"justify-end"},re={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch"},Gw=[...new Set([...Object.keys(re),...Object.keys(Qa)])];function Ww(e,t){let o=typeof e=="string"&&ee(Te,e)?Te[e]:"",a=typeof t=="string"&&ee(re,t)?re[t]:"";return[o,a].filter(Boolean).join(" ")}function Uc(e){return e===!0||e==="wrap"?"flex-wrap":""}var Yc={start:"view-wide:max-view-desktop:justify-start!",center:"view-wide:max-view-desktop:justify-center!",between:"view-wide:max-view-desktop:justify-between!",end:"view-wide:max-view-desktop:justify-end!"},Kc={start:"max-view-wide:justify-start",center:"max-view-wide:justify-center",between:"max-view-wide:justify-between",end:"max-view-wide:justify-end"},$c={start:"view-wide:max-view-desktop:items-start!",center:"view-wide:max-view-desktop:items-center!",end:"view-wide:max-view-desktop:items-end!",stretch:"view-wide:max-view-desktop:items-stretch!"},Vc={start:"max-view-wide:items-start",center:"max-view-wide:items-center",end:"max-view-wide:items-end",stretch:"max-view-wide:items-stretch"},jc={wrap:"view-wide:max-view-desktop:flex-wrap!",nowrap:"view-wide:max-view-desktop:flex-nowrap!"};function j(e,t){return typeof t=="string"&&ee(e,t)?t:void 0}function Wt(e,t,o){let a=Ce("same",e,t,o),s={};return a.tablet!==void 0&&a.tablet!==e&&(s.tablet=a.tablet),a.phone!==void 0&&a.phone!==e&&(s.phone=a.phone),s}function Ut(e,t,o){return[e.tablet?t[e.tablet]:"",e.phone?o[e.phone]:""].filter(Boolean).join(" ")}function Xc(e,t,o){return Wt(j(Te,e)??"start",j(Te,t),j(Te,o))}function Uw(e,t,o){return Ut(Xc(e,t,o),Yc,Kc)}function Yw(e,t,o){let a=j(re,e)??"stretch";if(a==="stretch")return"";let s=Wt(a,j(re,t),j(re,o));return Ut(s,$c,Vc)}function Gt(e){if(e===!0||e==="wrap")return"wrap";if(e===!1||e==="nowrap")return"nowrap"}function Kw(e,t){let o=Uc(e)===""?"nowrap":"wrap",a=Gt(t);return a&&a!==o?jc[a]:""}var $w="Block widths",cs=[{label:"Fit content",value:"content",weights:null},{label:"Equal",value:"equal",weights:[1,1]},{value:"bigLeft",weights:[2,1]},{value:"bigRight",weights:[1,2]},{value:"biggerLeft",weights:[3,1]},{value:"biggerRight",weights:[1,3]},{value:"twoThree",weights:[2,3]}],zc="data-sf-box-items",Vw=new RegExp(`[ \\t]+[^\\s"'\`]*\\[${zc}\\][^\\s"'\`]*`,"g");var jw=[{label:"Fit content",value:"content",weights:null},{label:"Equal",value:"equal",weights:[1,1]},{label:"Custom",value:"custom",weights:[2,1]}];function Xw(e){return Array.isArray(e)?"custom":e==="equal"?"equal":typeof e=="string"&&e in Be?"custom":"content"}var ds=4,ns=10;function qc(e,t){if(!Number.isInteger(t)||t<2||t>ds||e.length!==t-1||!e.every(s=>typeof s=="number"&&Number.isFinite(s)))return;let o=[],a=0;return e.forEach((s,n)=>{let i=100-a-ns*(t-1-n),r=Math.min(i,Math.max(ns,Math.round(s)));o.push(r),a+=r}),o}function is(e,t,o){if(!Array.isArray(t))return;let a=qc(t,o),s=a?[...a,100-a.reduce((i,r)=>i+r,0)]:[],n={};for(let i=0;i<ds;i+=1)n[`--${e}-${i+1}`]=s[i]??1;return n}function zw(e,t,o){let a=is("sf-share",e,o),s=is("sf-share-tablet",t,o);return a||s?{...a,...s}:void 0}function Qc(e,t){let o=Array.from({length:t},()=>1),a=cs.find(i=>i.value===e);if(!a?.weights||t<1)return o;let[s,n]=a.weights;return s>1&&(o[0]=s),n>1&&(o[t-1]=n),o}function qw(e,t){if(typeof e!="string"||!(e in Be)||e==="equal")return e;let o=Qc(e,t),a=o.reduce((s,n)=>s+n,0);return o.slice(0,-1).map(s=>Math.round(s/a*100))}var $="[&>*]:min-w-0 [&>[data-sf-box-items]>*]:min-w-0 [&>*]:flex-1 [&>[data-sf-box-items]>*]:flex-1 [&>*]:basis-0 [&>[data-sf-box-items]>*]:basis-0",Be={equal:$,bigLeft:`${$} [&>*:first-child]:view-wide:grow-[2] [&>[data-sf-box-items]:first-child>*:first-child]:view-wide:grow-[2]`,bigRight:`${$} [&>*:last-child]:view-wide:grow-[2] [&>[data-sf-box-items]:last-child>*:last-child]:view-wide:grow-[2]`,biggerLeft:`${$} [&>*:first-child]:view-wide:grow-[3] [&>[data-sf-box-items]:first-child>*:first-child]:view-wide:grow-[3]`,biggerRight:`${$} [&>*:last-child]:view-wide:grow-[3] [&>[data-sf-box-items]:last-child>*:last-child]:view-wide:grow-[3]`,twoThree:`${$} [&>*:first-child]:view-wide:grow-[2] [&>[data-sf-box-items]:first-child>*:first-child]:view-wide:grow-[2] [&>*:last-child]:view-wide:grow-[3] [&>[data-sf-box-items]:last-child>*:last-child]:view-wide:grow-[3]`},Zc=`${$} [&>*:nth-child(1)]:view-wide:grow-[var(--sf-share-1,1)] [&>[data-sf-box-items]>*:nth-child(1)]:view-wide:grow-[var(--sf-share-1,1)] [&>*:nth-child(2)]:view-wide:grow-[var(--sf-share-2,1)] [&>[data-sf-box-items]>*:nth-child(2)]:view-wide:grow-[var(--sf-share-2,1)] [&>*:nth-child(3)]:view-wide:grow-[var(--sf-share-3,1)] [&>[data-sf-box-items]>*:nth-child(3)]:view-wide:grow-[var(--sf-share-3,1)] [&>*:nth-child(4)]:view-wide:grow-[var(--sf-share-4,1)] [&>[data-sf-box-items]>*:nth-child(4)]:view-wide:grow-[var(--sf-share-4,1)]`;function Jc(e){return Array.isArray(e)?Zc:typeof e=="string"?Be[e]??"":""}var Qw={all:[{context:"parentType",is:"Flex"},{context:"parent.direction",is:"row"},{any:[{not:{context:"parent.align",set:!0}},{context:"parent.align",is:"stretch"}]},{not:{context:"parent.separator",set:!0}},{not:{context:"parent.loop",is:"scroll"}},{not:{context:"parent.line",is:!0}},Ja,{any:[{context:"parent.columns",in:[2,3,4,5,6]},{all:[{not:{context:"parent.columns",is:1}},{context:"parent.share",in:Object.keys(Be)}]}]}]},hs="view-wide:max-view-desktop:flex-row!",V=`${hs} [&>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:grow! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-0!`,us={content:`${hs} [&>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-[content]! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-[content]!`,equal:V,bigLeft:`${V} [&>*:first-child:nth-child(n)]:view-wide:max-view-desktop:grow-[2]! [&>[data-sf-box-items]:first-child>*:first-child:nth-child(n)]:view-wide:max-view-desktop:grow-[2]!`,bigRight:`${V} [&>*:last-child:nth-child(n)]:view-wide:max-view-desktop:grow-[2]! [&>[data-sf-box-items]:last-child>*:last-child:nth-child(n)]:view-wide:max-view-desktop:grow-[2]!`,biggerLeft:`${V} [&>*:first-child:nth-child(n)]:view-wide:max-view-desktop:grow-[3]! [&>[data-sf-box-items]:first-child>*:first-child:nth-child(n)]:view-wide:max-view-desktop:grow-[3]!`,biggerRight:`${V} [&>*:last-child:nth-child(n)]:view-wide:max-view-desktop:grow-[3]! [&>[data-sf-box-items]:last-child>*:last-child:nth-child(n)]:view-wide:max-view-desktop:grow-[3]!`,twoThree:`${V} [&>*:first-child:nth-child(n)]:view-wide:max-view-desktop:grow-[2]! [&>[data-sf-box-items]:first-child>*:first-child:nth-child(n)]:view-wide:max-view-desktop:grow-[2]! [&>*:last-child:nth-child(n)]:view-wide:max-view-desktop:grow-[3]! [&>[data-sf-box-items]:last-child>*:last-child:nth-child(n)]:view-wide:max-view-desktop:grow-[3]!`},ed=`${V} [&>*:nth-child(1):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-1,1)]! [&>[data-sf-box-items]>*:nth-child(1):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-1,1)]! [&>*:nth-child(2):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-2,1)]! [&>[data-sf-box-items]>*:nth-child(2):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-2,1)]! [&>*:nth-child(3):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-3,1)]! [&>[data-sf-box-items]>*:nth-child(3):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-3,1)]! [&>*:nth-child(4):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-4,1)]! [&>[data-sf-box-items]>*:nth-child(4):nth-child(n)]:view-wide:max-view-desktop:grow-[var(--sf-share-tablet-4,1)]!`;function td(e){return Array.isArray(e)||typeof e=="string"&&e in us?e:null}function Zw(e){if(e.direction!=="row"||K(e.direction,e.separator)||e.loop==="scroll"||e.line===!0||ps(e.columns)!==""||ms(e.columnsTablet)!=="")return"";let t=td(e.shareTablet);return t===null?"":typeof t=="string"?us[t]:ed}var od="[&>*]:view-wide:basis-[content] [&>[data-sf-box-items]>*]:view-wide:basis-[content]";function Jw(e){return Jc(e)===""?od:""}var eg="Columns",tg=1,og=3,Yt={2:"max-view-wide:flex-wrap [&>*]:max-view-wide:min-w-0 [&>[data-sf-box-items]>*]:max-view-wide:min-w-0 [&>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px)))/2)] [&>[data-sf-box-items]>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px)))/2)]",3:"max-view-wide:flex-wrap [&>*]:max-view-wide:min-w-0 [&>[data-sf-box-items]>*]:max-view-wide:min-w-0 [&>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px))_*_2)/3)] [&>[data-sf-box-items]>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px))_*_2)/3)]"},ag=cs.filter(e=>e.value==="content"||e.value==="equal"),sg="equal",ng=1,ig=6,ie="view-wide:flex-wrap [&>*]:view-wide:min-w-0 [&>[data-sf-box-items]>*]:view-wide:min-w-0 [&>*]:view-wide:grow-0! [&>[data-sf-box-items]>*]:view-wide:grow-0!",ad={1:`${ie} [&>*]:view-wide:basis-[calc(100%/1)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc(100%/1)]!`,2:`${ie} [&>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px))/2)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px))/2)]!`,3:`${ie} [&>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_2)/3)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_2)/3)]!`,4:`${ie} [&>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_3)/4)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_3)/4)]!`,5:`${ie} [&>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_4)/5)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_4)/5)]!`,6:`${ie} [&>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_5)/6)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc((100%_-_var(--sf-gap-len,0px)_*_5)/6)]!`};function ps(e){return typeof e=="number"?ad[e]??"":""}var sd={1:"view-wide:max-view-desktop:flex-row! view-wide:max-view-desktop:flex-wrap! [&>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc(100%/1)]! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc(100%/1)]!",2:"view-wide:max-view-desktop:flex-row! view-wide:max-view-desktop:flex-wrap! [&>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px)))/2)]! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px)))/2)]!",3:"view-wide:max-view-desktop:flex-row! view-wide:max-view-desktop:flex-wrap! [&>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_2)/3)]! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_2)/3)]!",4:"view-wide:max-view-desktop:flex-row! view-wide:max-view-desktop:flex-wrap! [&>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_3)/4)]! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_3)/4)]!",5:"view-wide:max-view-desktop:flex-row! view-wide:max-view-desktop:flex-wrap! [&>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_4)/5)]! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_4)/5)]!",6:"view-wide:max-view-desktop:flex-row! view-wide:max-view-desktop:flex-wrap! [&>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:min-w-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:grow-0! [&>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_5)/6)]! [&>[data-sf-box-items]>*:nth-child(n)]:view-wide:max-view-desktop:basis-[calc((100%_-_var(--sf-gap-len-tablet,var(--sf-gap-len,0px))_*_5)/6)]!"};function ms(e){return typeof e=="number"?sd[e]??"":""}function rg(e){return e.direction!=="row"||K(e.direction,e.separator)||e.loop==="scroll"||e.line===!0?"":ms(e.columnsTablet)}function lg(e){return e.direction!=="row"||K(e.direction,e.separator)||e.loop==="scroll"||e.line===!0?"":ps(e.columns)}var fs={2:"view-wide:grid view-wide:grid-cols-2",3:"view-wide:grid view-wide:grid-cols-3",4:"view-wide:grid view-wide:grid-cols-4",5:"view-wide:grid view-wide:grid-cols-5",6:"view-wide:grid view-wide:grid-cols-6"},ws={2:"max-view-wide:grid max-view-wide:grid-cols-2",3:"max-view-wide:grid max-view-wide:grid-cols-3"},cg=Object.keys(fs).map(Number),dg=Object.keys(ws).map(Number);function hg(e,t,o=!1){let a=typeof e=="number"?fs[e]??"":"",s=ws[Number(t)]??"";return!a&&!s?"":[a,s,o?"gap-y-0!":""].filter(Boolean).join(" ")}var nd="max-view-wide:flex-wrap [&>*]:max-view-wide:min-w-0 [&>[data-sf-box-items]>*]:max-view-wide:min-w-0 [&>*]:max-view-wide:grow-0 [&>[data-sf-box-items]>*]:max-view-wide:grow-0 [&>*]:max-view-wide:basis-[content] [&>[data-sf-box-items]>*]:max-view-wide:basis-[content]",id={2:"max-view-wide:flex-nowrap [&>*]:max-view-wide:min-w-0 [&>[data-sf-box-items]>*]:max-view-wide:min-w-0 [&>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px)))/2)] [&>[data-sf-box-items]>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px)))/2)]",3:"max-view-wide:flex-nowrap [&>*]:max-view-wide:min-w-0 [&>[data-sf-box-items]>*]:max-view-wide:min-w-0 [&>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px))_*_2)/3)] [&>[data-sf-box-items]>*]:max-view-wide:basis-[calc((100%_-_var(--sf-gap-len-phone,var(--sf-gap-len,0px))_*_2)/3)]"},rd="max-view-wide:flex-nowrap [&>*]:max-view-wide:grow-0 [&>[data-sf-box-items]>*]:max-view-wide:grow-0 [&>*]:max-view-wide:basis-[content] [&>[data-sf-box-items]>*]:max-view-wide:basis-[content]";function ld(e,t){return(Gt(e)??Gt(t)??"wrap")==="nowrap"}function ug(e,t,o,a){let s=Yt[Number(e)];if(!s)return"max-view-wide:flex-col";let n=ld(o,a);return gs(e,t)?n?rd:nd:n?id[Number(e)]:s}function pg(e,t){return Number(e)in Yt&&!gs(e,t)}function gs(e,t){return Number(e)in Yt&&t==="content"}var mg="Block spacing",cd=[{label:"Each block",value:"each"},{label:"Gap only",value:"gap"}],dd="sf-box-gap-only";function fg(e){return e==="gap"?dd:""}var rs={each:"sf-box-each-tablet",gap:"sf-box-gap-only-tablet"},hd={each:"sf-box-each-phone",gap:"sf-box-gap-only-phone"};function wg(e,t,o){let a=n=>j(rs,n),s=Wt(Wc(cd,"each",e),a(t),a(o));return Ut(s,rs,hd)}var bs={label:"Text",defaultProps:{text:"",align:"left",tone:"default",tag:"p",contained:!0}};var{text:Eg,tag:Sg,...ud}=bs.defaultProps,b=ud,E={...b,tone:"dim"},pd={justify:"start",align:"stretch",wrap:!1,blockSpacing:"gap",padV2:!0},g={...pd,direction:"column",...ls},P=(e,t=e,o=e,a=t)=>({sectionPaddingTop:e,sectionPaddingRight:t,sectionPaddingBottom:e,sectionPaddingLeft:t,sectionPaddingTopPhone:o,sectionPaddingRightPhone:a,sectionPaddingBottomPhone:o,sectionPaddingLeftPhone:a}),md=e=>({fillColor:e}),ys=(e,t,o={})=>({...g,widthFit:"fixed",width:e,minWidth:e,sectionHeightMode:"fixed",sectionHeightValue:e,sectionHeightUnit:"px",...t?md(t):{},...o}),y=(e,t,o,a)=>({sizeToken:{step:e,px:t,...a?{stepPhone:a}:{},...o?{pxPhone:o}:{}}}),_g=e=>({textStyle:"body-1",...y("body",e),lineHeight:1.625}),Ts={case:"upper"},Kt={textStyle:"body-5",...Ts},$t=(e,t)=>({...y("label",e,t),letterSpacing:.2,...Ts}),Vt=(e,t)=>({...Kt,...$t(e,t)});function T(e,t,o=""){return e.map((a,s)=>{let n=o?`${o}.${s}`:String(s),i={...a.props??{}};for(let[r,c]of Object.entries(a.slots??{}))i[r]=T(c,t,n);return{type:a.type,props:{...i,id:t(a.type,n)}}})}function H(e,t){return typeof e.id=="string"&&e.id.trim()?e.id:t}var le=(e,t)=>(o,a)=>a==="0"?`${e}~${t}`:`${e}~${t}.${a.slice(2)}`;function D(e,t,o,a){return e[t]!==void 0?e:{...e,[t]:a(H(e,o))}}var xg=()=>({tag:"h2",_partStyles:{text:{textStyle:"heading-2"}}}),Es=()=>({_partStyles:{text:{...Kt,color:"accent",letterSpacing:.3,lineHeight:1.5}}});var ce="Cards",fd={...g,gap:12,gapPhone:12,...P(32,32,28,28)},wd={textStyle:"heading-3",...y("headingSmall",20),weight:500,case:"upper",lineHeight:1.5,letterSpacing:.02},Ee={textStyle:"body-1",...y("body",15),lineHeight:1.6},u=(e,t,o,a=!1)=>({type:"Text",props:{...t,text:"",[w]:e,_partStyles:{text:{...a?Es()._partStyles?.text??{}:{},...o}}}}),de={title:"title",body:"body"},Me={title:"name",body:"note"},gd=(e=de)=>({type:f,props:{...fd,name:"Card"},slots:{[p]:[u(e.title,{...b,tag:"p",widthFit:"fill"},wd),u(e.body,{...E,tag:"p",widthFit:"fill"},Ee)]}}),_s=(e,t)=>T([gd(t)],e),Ss={label:de.title,href:"href"},bd={textStyle:"body-1",fontRole:"heading",color:"text",...y("body",17),weight:500,case:"upper",letterSpacing:.06,lineHeight:1.5},yd=ys(9,"main",{[Wa]:45}),Td=(e=!1)=>({type:f,props:{...g,name:"Card",direction:"row",align:"center",gap:16,gapPhone:16,phoneRow:2,sharePhone:"content",wrapPhone:!1,...P(32,28),[x]:Ss.href,...e?{[R]:Y}:{}},slots:{[p]:[{type:f,props:{...yd,name:"Mark"}},u(Ss.label,{...b,tag:"p",widthFit:"fill"},bd)]}}),Os=e=>le(e,"card"),vs=(e,t=!1)=>T([Td(t)],e);var jt="ArticleBody",Ed={textStyle:"heading-3",...y("headingSmall",20),weight:500,lineHeight:1.4,align:"center"},Sd={...Ee,align:"center"},xs=640,_d=()=>[u("heading",{...b,tag:"h2",align:"center",maxWidth:xs},Ed),u("paragraph",{...E,tag:"p",align:"center",maxWidth:xs},Sd)],Od=e=>T(_d(),e);function vd(e){return Od((t,o)=>`${e}~${o==="0"?"heading":"paragraph"}`)}function ks(e){return D(e,d,jt,vd)}import{addShowWhenFacts as xd}from"efficient-shell/format";import{showWhenOf as Wg,shownForOption as Ug,truthy as Yg,withRowRules as Kg,withRowsShownWhen as As,withShowWhen as $g}from"efficient-shell/format";var Vg=xd;function jg(e,t,o){return e.slice(0,-1).reduceRight((a,s)=>({any:[{all:[t(s),o(s)]},{all:[{not:t(s)},a]}]}),o(e[e.length-1]))}import{parseOption as kd}from"efficient-shell/format";var Ad="inline",Rd=[{label:"In this section",value:"inline"},{label:"In its own box",value:"own-box"},{label:"In the list column",value:"list-column",only:["Footprint"]}],Rs="list-column";var Ld={ProductGrid:{num:"num",title:"title",description:"description",headRows:["num","title","titleSize","description","linkText","linkHref"],renderer:"ProductGridSection",padKey:"padTop",linkProp:"link"},TyreSizes:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"DynamicTyreSizes"},FitmentFinder:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"FitmentFinder"},TyreFitment:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"DynamicTyreFitment"},BundleOffer:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"DynamicRelatedProducts"},CompatibleTyres:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"DynamicRelatedProducts"},RelatedProducts:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"DynamicRelatedProducts"},SpecTable:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"SpecTable"},FAQ:{num:"num",title:"title",linkProp:"link",headRows:["num","title","linkText","linkHref"],renderer:"FAQ"},GalleryB:{num:"num",title:"title",headRows:["num","title","linkText","linkHref"],renderer:"GalleryGrid"},FitmentTable:{num:"num",title:"title",description:"description",headRows:["num","title","description"],renderer:"FitmentTable"},Events:{num:"num",title:"title",linkProp:"link",headRows:["num","title","linkText","linkHref"],renderer:"Events"},ProcessSteps:{num:"num",title:"title",description:"description",headRows:["num","title","description"],headStyle:"editorial",renderer:"ProcessSteps",padKey:"padTop"},LongRead:{num:"headNum",title:"headTitle",description:"headDesc",headRows:["headNum","headTitle","headDesc"],headStyle:"editorial",renderer:"LongRead"},Series:{num:"headNum",title:"headTitle",description:"headDesc",headRows:["headNum","headTitle","headDesc"],headStyle:"editorial",renderer:"Series"},Subscribe:{num:"headNum",title:"headTitle",description:"headDesc",headRows:["headNum","headTitle","headDesc"],headStyle:"editorial",renderer:"Subscribe"},TimelineTrack:{num:"eyebrow",title:"title",description:"intro",headRows:["eyebrow","title","intro"],headStyle:"editorial",renderer:"TimelineTrack",padKey:"padTop"},StatsParagraph:{num:"eyebrow",title:"title",description:"desc",headRows:["eyebrow","title","desc"],headStyle:"editorial",renderer:"StatsParagraph"},Footprint:{num:"sectionNumber",title:"heading",description:"tagline",headRows:["sectionNumber","heading","tagline"],headStyle:"editorial",renderer:"Footprint",padKey:"padTop"},Collections:{num:"eyebrow",title:"heading",headRows:["eyebrow","heading"],renderer:"Collections"},Cards:{num:"eyebrow",title:"title",headRows:["eyebrow","eyebrowLook","title"],headStyle:"simple",renderer:"Cards"},Testimonials:{num:"eyebrow",title:"title",headRows:["eyebrow","eyebrowLook","title"],headStyle:"simple",renderer:"Testimonials"},Reviews:{num:"eyebrow",title:"title",headRows:["eyebrow","eyebrowLook","title"],headStyle:"simple",renderer:"Reviews"},Prose:{num:"eyebrow",title:"title",headRows:["eyebrow","title"],headStyle:"essay",renderer:"Prose"},ReviewForm:{num:"eyebrow",title:"title",headRows:["eyebrow","title"],headStyle:"simple",renderer:"ReviewForm"},DeliveryOptions:{num:"eyebrow",title:"title",description:"body",headRows:["eyebrow","title","body"],headStyle:"natural",headRowGap:"gap-3",headDescriptionSize:"text-[15px]",renderer:"DeliveryOptions"}},Zg="SectionHeader";function Jg(e){return ee(Ld,e)}function Fe(e){return kd(Rd,Ad,e)}var Cd=new Set(["Flex"]);function eb(e){return!!e?.type&&Cd.has(e.type)}var Ls={not:{field:"headPlacement",is:"own-box"}},tb={not:Ls};function ob(e,t,o){return As(e,o,Ls)}var sb="data-sf-spec-region";function nb(e){return e.writable===!0&&e.sized===!0}function ib(e,t,o){if(!e)return;let a=o[e];if(a)return{fontFamily:`var(--font-role-${e})`,fontSize:`var(--size-${a}, ${t.builtIn})`}}function rb(e){let t=/var\(--size-[A-Za-z]+, ?([0-9.]+px)\)/.exec(e);if(!t)throw new Error(`builtInOf: no --size-* fallback in ${e}`);return t[1]}function Cs(e){return`@${e}`}function lb(e,t){if(!t.startsWith("@"))return null;let o=t.slice(1);return o in e?o:null}function cb(e,t){return t&&t in e?t:null}function Ps(e,t){if(e!==ce)return t;if(t[d]!==void 0)return Is(t);let o=H(t,ce),a=Os(o);if(t.cardStyle==="label-only"){let n=Array.isArray(t.items)&&t.items.some(i=>I(i?.href)!==void 0);return Is({...t,[d]:vs(a,n)})}let s=v(t)?Me:de;return{...t,[d]:_s(a,s)}}var Id=e=>{let[t,o]=e?[de,Me]:[Me,de];return new Map([[t.title,o.title],[t.body,o.body]])};function Ns(e,t){let o=null;return e.forEach((a,s)=>{let n=a?.props;if(!n)return;let i=n,r=n[w];a.type==="Text"&&typeof r=="string"&&t.has(r)&&(i={...i,[w]:t.get(r)});let c=n[p];if(Array.isArray(c)){let h=Ns(c,t);h!==c&&(i={...i,[p]:h})}i!==n&&(o??=[...e],o[s]={...a,props:i})}),o??e}function Is(e,t){if(!Array.isArray(e[d]))return e;let o=Id(!!v(e)),a=t?new Map([...o].filter(([n,i])=>t(i)&&!t(n))):o;if(!a.size)return e;let s=Ns(e[d],a);return s===e[d]?e:{...e,[d]:s}}var Hs="OrderSummary";var Pd="label";function Ge(e){return D(e,d,A,t=>T([Nd()],le(t,"item")))}function Nd(){return{type:f,props:{...g,name:"Item"},slots:{[p]:[u(Pd,{...b,tag:"p"},Ee)]}}}var Ds="ProcessSteps",Hd={eyebrow:"eyebrow",title:"title",copy:"copy",image:"image",tag:"tag",specs:"specs"},he=Hd,Dd=()=>({type:f,props:{...g,name:"Row",direction:"row",share:"equal",align:"center",gap:48,sectionPaddingTop:60,sectionPaddingBottom:60,sectionPaddingTopPhone:60,sectionPaddingBottomPhone:60},slots:{[p]:[{type:f,props:{...g,name:"Picture",direction:"column",gap:12},slots:{[p]:[{type:"ImageBlock",props:{[w]:he.image,aspect:"1/1",fit:"contain"}},u(he.tag,{...E,tag:"p"},Vt(11))]}},{type:f,props:{...g,name:"Words",direction:"column",gap:16},slots:{[p]:[u(he.eyebrow,{...b,tag:"p"},{...Vt(13),color:"accent"}),u(he.title,{...b,tag:"h2"},{textStyle:"heading-2",...y("headingMedium",42,28),lineHeight:1.1,letterSpacing:-.02}),u(he.copy,{...E,tag:"p"},{textStyle:"body-1",...y("body",15),lineHeight:1.6}),{type:A,props:{[w]:he.specs}}]}}]}});function Bs(e){return e.map(t=>{let o=t.props;for(let a of se(t))o={...o,[a]:Bs(o[a])};return t.type===A?{...t,props:Ge(o)}:{...t,props:o}})}function Lb(e){return Bs(T([Dd()],le(e,"row")))}var Bd="label",Md=()=>({type:"LogoBlock",props:{[w]:Bd}}),We="Logos",Ms=e=>T([Md()],()=>`${e}~logo`);function Fs(e){return v(e)?D(e,d,We,Ms):e}function Hb(e){if(!v(e))return e;let t=e[d];return t!==void 0&&!(Array.isArray(t)&&t.length===0)?e:{...e,[d]:Ms(H(e,We))}}var Xt={number:{label:"Number",follows:"Labels",builtIn:"14px",writable:!0,sized:!0},question:{label:"Question",follows:"Body",builtIn:"18px",writable:!0,sized:!0},answer:{label:"Answer",follows:"Body",builtIn:"15px",writable:!0,sized:!0}},Bb=Xt;var zt="FAQ",Fd="question",Gd="answer",Wd={textStyle:"body-1",fontRole:"heading",...y("body",18,15),weight:500,case:"upper",letterSpacing:.02,lineHeight:1.5},Ud={textStyle:"body-1",...y("body",15),lineHeight:1.7};function jb(){return Object.keys(Xt).map(Cs)}var Yd=()=>({type:f,props:{...g,gap:0,name:"Question"},slots:{rowTitle:[u(Fd,{...b,tag:"p",widthFit:"fill"},Wd)],[p]:[u(Gd,{...E,tag:"p",widthFit:"fill",maxWidth:760},Ud)]}});function Kd(e){return Fe(e.headPlacement)==="own-box"?!1:["num","title","linkText"].some(t=>I(e[t])!==void 0)}function Gs(e){return Kd(e)?e:D(e,d,zt,t=>{let o=0;return T([Yd()],a=>a===f?`${t}~row`:`${t}~row.${o++}`)})}import{rootIsDark as $d}from"efficient-shell/format";function qb(e="auto"){return e==="light"?!0:e==="dark"?!1:!$d({whenUnset:!0})}function Ws(e,t){return Number.isFinite(e)&&Number.isFinite(t)&&!(e===0&&t===0)}function qt(e){let t=Number.parseFloat(e??"");return Number.isFinite(t)?t:0}function Zb(e,t,o){let a=[];return e.forEach((s,n)=>{let i=t(s),r=a.find(c=>c.key===i);r||(r={key:i,name:o(s),items:[]},a.push(r)),r.items.push({item:s,index:n})}),a}function Us(e){return Vd[Qt(e)]}var Vd={1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4"};function Qt(e){if(e<=1)return 1;if(e<=4)return e;let t=o=>e%o||o;return t(4)>=t(3)?4:3}import{parseOption as Zt}from"efficient-shell/format";import{parseOption as jd}from"efficient-shell/format";var Xd=["below","left","right"];function Ys(e){return jd(Xd,"below",e)}var zd=/^https?:\/\//i;function ry(e){let t=(e.href??"").trim(),o=(e.linkLabel??"").trim();return{role:e.role??"",city:e.city??"",country:e.country??"",address:e.address??"",hq:e.hq==="true",lat:qt(e.lat),lng:qt(e.lng),...t&&o&&zd.test(t)?{href:t,linkLabel:o}:{}}}function ly(e){let t=o=>typeof o=="string"?o:"";return{badge:e.hq?"HQ":"",role:t(e.role),city:t(e.city),country:t(e.country),address:t(e.address),phone:t(e.phone),...e.href&&e.linkLabel?{href:e.href,linkLabel:e.linkLabel}:{}}}function cy(e){return[e.city,e.country,e.address,e.role].map(t=>typeof t=="string"?t.replace(/[=*]/g,"").trim():"").filter(Boolean).join(" ")}var dy={sectionNumber:"",heading:"",tagline:"",mapTheme:"auto"};function hy(e){let t=[];return e.forEach((o,a)=>{Ws(o.lat,o.lng)&&t.push({key:String(a),label:o.city||o.role||"Office",lat:o.lat,lng:o.lng,glyph:"",tone:"",...o.hq?{badge:"HQ"}:{}})}),t}var qd=["both","map","list"],uy="shows",$s="both";function Qd(e){return Zt(qd,$s,e.shows)}function Ye(e){return Qd(e)===$s?Ys(e.listPosition):"below"}var Zd=["fixed","full"],Jd="mapHeight",Ks="fixed",py="full",Vs=e=>Ye(e)!=="below";function my(e){return Vs(e)?Zt(Zd,Ks,e[Jd]):Ks}function fy(e){return Vs(e)&&Fe(e.headPlacement)===Rs}var eh=[1,2,3,4],Ue="auto",th=2,oh=1,ah=[Ue,...eh.map(String)];function wy(e){let t=Zt(ah,Ue,e.listColumns);return t===Ue?t:Number(t)}var sh="max-view-desktop:grid-cols-2",nh="max-[700px]:grid-cols-1";function gy(e,t){let o=e===Ue?Qt(t):e;return[Us(o),[o>th?sh:"",o>oh?nh:""].filter(Boolean).join(" ")].join(" ")}function Jt(e){return Array.isArray(e)?e.map(Jt):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).filter(([t,o])=>t!=="id"&&o!==void 0&&!(Array.isArray(o)&&o.length===0)).sort(([t],[o])=>t<o?-1:t>o?1:0).map(([t,o])=>[t,Jt(o)]))}var B=e=>JSON.stringify(Jt(e));var $e="Footprint",zs=e=>v(e)===Ct,Ke=$t(11),ih={textStyle:"body-1",...y("body",18),weight:500,lineHeight:1.2},ky=()=>({type:f,props:{...g,gap:8,gapPhone:8,...P(20,24,20,20),name:"Office"},slots:{[p]:[u("badge",{...b,tag:"p",widthFit:"fill"},Ke,!0),u("role",{...b,tag:"p",widthFit:"fill"},Ke,!0),u("city",{...b,tag:"p",widthFit:"fill"},ih),u("country",{...E,tag:"p",widthFit:"fill"},Ke),u("address",{...E,tag:"p",widthFit:"fill"},Ke),{type:"ButtonBlock",props:{variant:"link",label:"",href:"",[w]:"linkLabel",[x]:"href"}}]}}),qs={textStyle:"body-1",fontRole:"heading",...y("body",16),weight:500,lineHeight:1.25},to={textStyle:"body-1",...y("body",14),lineHeight:1.5},rh=()=>({type:f,props:{...g,gap:4,gapPhone:4,...P(16,4),sectionBorder:{bottom:1},name:"Office"},slots:{[p]:[u("city",{...b,tag:"p",widthFit:"fill"},qs),u("address",{...E,tag:"p",widthFit:"fill"},to),u("phone",{...E,tag:"p",widthFit:"fill"},to)]}});function Qs(e){let t=H(e,$e),o=0;return T([rh()],a=>a===f?`${t}~office`:`${t}~office.${o++}`)}function Zs(e){return Array.isArray(e[d])&&e[d].length>0&&B(e[d])===B(Qs(e))}var Js=e=>e===void 0||Array.isArray(e)&&e.length===0;function js(e){return Ye(e)==="below"?Zs(e)?{...e,[d]:[]}:e:!Js(e[d])||zs(e)?e:{...e,[d]:Qs(e)}}var lh=qs,ch=to,dh={textFit:"line"},oo=(e,t,o="",a={},s={})=>{let n=u(e,{...t?E:b,tag:"p",...a},{...ch,...s});return o?{...n,props:{...n.props,[x]:o}}:n},eo=(e,t,o,a)=>({type:f,props:{...g,gap:0,gapPhone:0,[be]:[e],name:a},slots:{[p]:[oo(e,t,o,dh,{align:"right"})]}}),hh=e=>({type:f,props:{...g,direction:"row",justify:"between",share:"content",phoneRow:2,sharePhone:"content",wrapPhone:"nowrap",gap:12,gapPhone:12,...e?P(20,24):{...P(16,4),sectionBorder:{bottom:1}},name:"Dealer"},slots:{[p]:[{type:f,props:{...g,justify:"center",gap:0,gapPhone:0,widthFit:"fill",name:"Dealer words"},slots:{[p]:[{type:f,props:{...g,gap:4,gapPhone:4,widthFit:"fill",name:"Dealer name"},slots:{[p]:[u("name",{...b,tag:"p",widthFit:"fill"},lh),oo("address",!0)]}},oo("place",!0,"",{widthFit:"fill"})]}},{type:f,props:{...g,align:"end",gap:4,gapPhone:4,name:"Dealer contact"},slots:{[p]:[eo("distance",!0,"","Dealer distance"),eo("phone",!1,"phoneHref","Dealer phone"),eo("website",!1,"websiteHref","Dealer website")]}}]}}),uh=e=>{let t=hh(e),o={type:f,props:{...g,...P(0,12),name:"Dealer"},slots:{[p]:[{...t,props:{...t.props,name:"Dealer row"}}]}};return e?t:o};function ao(e,t){let o=H(e,$e),a=0;return T([uh(t)],(s,n)=>n==="0"?`${o}~dealer`:`${o}~dealer.${a++}`)}function Xs(e){if(!Array.isArray(e[d])||e[d].length===0)return!1;let t=B(e[d]);return t===B(ao(e,!0))||t===B(ao(e,!1))}function en(e){if(zs(e)){let o=ao(e,Ye(e)==="below");return!(Js(e[d])||Zs(e)||Xs(e))||B(e[d]??[])===B(o)?e:{...e,[d]:o}}if(!Xs(e))return js(e);let t={...e,[d]:[]};return js(t)}var ph="Card template",on="items",an="itemFields";function X(e,t){if(!t)return e;let o=typeof t=="string"?[t]:t;return e.filter(a=>o.includes(a.kind??"text"))}var mh=[{block:Hs,typedRows:"rows",linesBetween:!0,fields:[{key:"label",label:"Item"},{key:"meta",label:"Meta line"},{key:"amount",label:"Amount"}]},{block:zt,typedRows:"items",fields:[{key:"question",label:"Question"},{key:"answer",label:"Answer",multiline:!0}],seedOnInsert:e=>Gs(e)},{block:$e,typedRows:"offices",fields:[{key:"badge",label:"HQ",plain:!0},{key:"role",label:"Role"},{key:"city",label:"City"},{key:"country",label:"Region \xB7 country"},{key:"address",label:"Address"},{key:"phone",label:"Phone"},{key:"linkLabel",label:"Button"},{key:"href",label:"Link",kind:"link"}],seed:e=>en(e)},{block:ce,typedRows:"items",fields:[{key:"num",label:"Number"},{key:"since",label:"Corner note"},{key:"label",label:"Label"},{key:"title",label:"Card title"},{key:"value",label:"Value"},{key:"body",label:"Card body",multiline:!0},{key:"href",label:"Link",kind:"link"},{key:"count",label:"Count"},{key:"badge",label:"Highlight badge",everySource:!0,plain:!0}],seed:e=>Ps(ce,e)},{block:Ds,fields:[{key:"eyebrow",label:"Eyebrow"},{key:"title",label:"Title",mark:"accentItalic"},{key:"copy",label:"Body",multiline:!0},{key:"image",label:"Image",kind:"image",alt:"title"},{key:"tag",label:"Image tag"},{key:"specs",label:"Specs",kind:"list",fields:[{key:"label",label:"Label"},{key:"value",label:"Value"}]}],blocks:[{type:A,label:"Card list"}]},{block:We,fields:[{key:"label",label:"Name"},{key:"kind",label:"Kind"}],seed:e=>Fs(e)},{block:A,fields:[{key:"badge",label:"Highlight badge",everySource:!0,plain:!0}],typedRows:on,seed:e=>Ge(e)},{block:jt,fields:[{key:"heading",label:"Subhead"},{key:"paragraph",label:"Paragraph",multiline:!0}],seed:e=>ks(e)}];function S(){return ae("efficient.card-templates",()=>new Map(mh.map(e=>[e.block,e])))}function jy(e){for(let t of e){if(typeof t.block!="string"||!t.block)throw new Error("A card template names no block.");let o=[];for(let i of t.blocks??[]){if(typeof i?.type!="string"||!i.type)throw new Error(`The card template of ${t.block} names an empty block.`);if(i.type===tn)throw new Error(`The card template of ${t.block} names "${tn}" in its blocks. Only a host's seed puts a host part in a card template; a merchant never adds one. Take it out.`);o.some(r=>r.type===i.type)||o.push({type:i.type,label:i.label||i.type})}let a=[];for(let i of t.slots??[]){if(typeof i?.slot!="string"||!i.slot)throw new Error(`The card template of ${t.block} names an empty slot.`);let r=I(i.label),c=Array.isArray(i.fields)?{fields:i.fields.map(h=>({...h}))}:null;a.some(h=>h.slot===i.slot)||a.push({slot:i.slot,...r?{label:r}:null,...c})}let s=a.some(i=>i.fields);if(s&&(t.fields.some(i=>i.everySource)||Na(t.block).length))throw new Error(`The card template of ${t.block} declares slot fields, but the block reads a source: slot fields take the place of a source's fields, so a block with slot fields reads no source.`);s?we().add(t.block):we().delete(t.block);let n=I(t.typedRows);S().set(t.block,{block:t.block,...a.length?{slots:a}:{},fields:t.fields.map(i=>({...i})),blocks:o,typedRows:n,...t.seed?{seed:t.seed}:{},...t.seedOnInsert?{seedOnInsert:t.seedOnInsert}:{},...t.linesBetween===!0?{linesBetween:!0}:{}})}}function fh(e,t){let o=e?S().get(e)?.seed:void 0;return o?o(t):t}function Xy(e,t){let o=gh(e),a=(o.length?o:[d]).filter(r=>t[r]===void 0||Array.isArray(t[r])&&t[r].length===0);if(!a.length)return t;let s={...t};for(let r of a)delete s[r];let n=e?S().get(e)?.seedOnInsert:void 0,i=n?n(s):fh(e,s);return i===s?t:i}function zy(){for(let e of S().values())if(e.blocks?.length)return!0;return!1}function qy(e){return S().get(e)?.blocks??[]}function Qy(e){for(let t of S().values())if(t.blocks?.some(o=>o.type===e))return!0;return!1}function Zy(e){return typeof e=="string"&&S().get(e)?.typedRows||""}function Jy(e){return typeof e=="string"&&S().get(e)?.linesBetween===!0}function eT(e){return typeof e=="string"&&S().has(e)}var wh=[{slot:d}];function Ve(e){if(typeof e!="string")return[];let t=S().get(e);return t?t.slots??wh:[]}function gh(e){return Ve(e).map(t=>t.slot)}function bh(e,t){return Ve(e).some(o=>o.slot===t)}function tT(e,t){let o=Ve(e).find(a=>a.slot===t);return o?o.label??ph:null}function so(e,t){return t?Ve(e).find(o=>o.slot===t)?.fields:void 0}function yh(e,t){let o=S().get(e)?.fields??[];return X(o,t)}function Th(e,t){if(typeof e!="string")return"";let o=so(e,t);return(o?X(o,"list"):yh(e,"list"))[0]?.key??""}function Eh(e,t,o){return io(e)||Th(t,o)}function sn(e,t,o){let a=typeof e?.type=="string"?e.type:"";if(!a)return[];let s=so(a,o);if(s)return X(s,t);let n=S().get(a)?.fields??[],i=Pe(v(e?.props))?.fields,r=i?.length?[...i.map(c=>({...c})),...n.filter(c=>c.everySource&&!i.some(h=>h.key===c.key))]:n;return X(r,t)}function Sh(e,t,o,a){if(!e)return null;let s=so(e,a);return s?s.find(n=>n.key===t)??null:o?sn(o).find(n=>n.key===t)??null:S().get(e)?.fields.find(n=>n.key===t)??null}function no(e,t){return!e||!t?null:e.fields?.find(o=>o.key===t)??Sh(e.ownerType,t,e.owner,e.slot)}function oT(e,t){return no(e,t)?.plain===!0}function aT(e,t){return no(e,t)?.kind==="date"}function io(e,t=w){let o=e?.[t];return typeof o=="string"?o.trim():""}function sT(e,t){return e.key||String(t+1)}function nT(e){let t={};if(e&&typeof e=="object"&&!Array.isArray(e))for(let[o,a]of Object.entries(e))typeof a=="string"&&(t[o]=a);return t}function iT(e,t){let o=e[be];return!t||!Array.isArray(o)||!o.length?!1:o.every(a=>typeof a!="string"||!t[a]?.trim())}var ro={Text:{text:w,href:x},ImageBlock:{src:w,href:x},ButtonBlock:{label:w,href:x},LogoBlock:{alt:w,href:x},Breadcrumb:{currentCrumb:w}},rT=ro,_h=new Set(["ButtonBlock.label","LogoBlock.alt"]);function lT(e,t,o){return Oh(e,t,o)&&!_h.has(`${e}.${o}`)}function Oh(e,t,o){return vh(e,t,o)!==""}function vh(e,t,o){let a=ro[e]?.[o];return a?io(t,a):""}function nn(e,t){return!t||!e?null:e[t]??""}function xh(e,t){return nn(e,t)?.trim()||void 0}function cT(e,t,o,a,s,n){if(!o)return t;let i=null;for(let[r,c]of Object.entries(ro[e]??{})){let h=io(t,c),_=nn(o,h);if(_!==null){if(i??={...t},c===x){i[r]=xh(o,h);continue}i[r]=no({ownerType:a,fields:s,slot:n},h)?.mark==="accentItalic"?Sa(_):_}}return i??t}function je(e,t){let o=e?.data?.content;if(!Array.isArray(o)||typeof t!="string")return;let a=(n,i)=>{for(let r of n){if(r?.props?.id===t)return i;for(let c of se(r??{})){let h=r.props[c],_=bh(r.type,c)?{owner:r,slot:c,direct:!0,nested:i!==null,underBox:!1}:i&&{owner:i.owner,slot:i.slot,direct:!1,nested:i.nested,underBox:i.underBox||r.type===f},O=a(h,_);if(O!==void 0)return O}}},s=a(o,null);return s===void 0?null:s}function kh(e,t){let o=je(e,t);return o&&o.owner}function Ah(e,t){let o=je(e,t);return o&&o.slot}function dT(e,t){let o=je(e,t);return o&&(o.direct?o.owner:null)}function hT(e,t){let o=je(e,t);if(o!==void 0)return o===null?{inCopy:!1,nestedCopy:!1,underBox:!1}:{inCopy:!0,nestedCopy:o.nested,underBox:o.underBox}}function uT(e,t,o){if(t?.type!==A)return[];let a=kh(e,t.props?.id);if(!a){let r=Pe(v(t.props))?.fields,c=r?.length?r.map(O=>({...O})):Rh(t.props),h=(S().get(A)?.fields??[]).filter(O=>O.everySource&&!c.some(Qe=>Qe.key===O.key)),_=[...c,...h];return X(_,o)}let s=Ah(e,t.props?.id)??void 0,n=Eh(t.props,a.type,s),i=n&&sn(a,"list",s).find(r=>r.key===n)?.fields||[];return X(i,o)}function pT(e,t){return{[w]:"",[on]:e.map(o=>({...o})),[an]:t.map(o=>({...o}))}}function Rh(e,t){let o=e?.[an];if(!Array.isArray(o))return[];let a=o.flatMap(s=>{if(!s||typeof s!="object")return[];let{key:n,label:i,kind:r,multiline:c,alt:h,next:_}=s;if(typeof n!="string"||!n||typeof i!="string")return[];let O=r==="image"||r==="link"||r==="colour"||r==="date"?r:void 0;return[{key:n,label:i,...O?{kind:O}:{},...c===!0?{multiline:!0}:{},...typeof h=="string"&&h?{alt:h}:{},...typeof _=="string"&&_?{next:_}:{}}]});return X(a,t)}var tn="HostPart";function Xe(e){return`color-mix(in srgb, var(--overlay-scrim) ${Math.round(Math.min(1,Math.max(0,e))*1e3)/10}%, transparent)`}import{FOLLOW_RULES as Lh,VIEW_TIERS as Ch,resolveViewValue as Ih}from"efficient-easel/screen/lib/content/view-tiers";import{LENGTH_UNITS as Ph}from"efficient-easel/screen/lib/content/length-units";var Nh=["auto","fixed","screen","fill"],Hh=Ph.filter(e=>e==="px"||e==="%"),Dh="svh",Bh="vh",Mh="var(--sf-header-h, 88px)",Fh={min:40,max:2e3,step:10,fallback:600},Gh={min:10,max:200,step:5,fallback:100},Wh="sf-section-minh",Se="grid-cols-[minmax(0,1fr)]",rn={base:"--sf-section-minh",small:"--sf-section-minh-s"},co=e=>typeof e=="string"&&Nh.includes(e),Uh=e=>typeof e=="string"&&Hh.includes(e);function ze(e){let t=co(e.sectionHeightMode)?e.sectionHeightMode:"auto",o=t==="screen"?"%":Uh(e.sectionHeightUnit)?e.sectionHeightUnit:"px",a=t==="screen"?Gh.fallback:Fh.fallback,s=typeof e.sectionHeightValue=="number"?e.sectionHeightValue:a;return{mode:t,value:s,unit:o}}function dn(e){let{mode:t,value:o,unit:a}=ze(e);if(t==="auto"||t==="fill")return;if(t==="fixed"&&a==="px")return[`${o}px`,null];let s=o/100,n=i=>t==="screen"?`(100${i} - ${Mh})`:`100${i}`;return[`calc(${n(Bh)} * ${s})`,`calc(${n(Dh)} * ${s})`]}function hn(e){let t=dn(e);if(!t)return;let[o,a]=t;return{display:"grid",[rn.base]:o,...a?{[rn.small]:a}:{}}}var bT=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),yT="Height",un="sf-section-minh-phone",ln={base:"--sf-section-minh-p",small:"--sf-section-minh-ps"};function pn(e){return co(e.sectionHeightModePhone)}function Yh(e){return ze({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone})}var mn="sf-section-minh-tablet",cn={base:"--sf-section-minh-t",small:"--sf-section-minh-ts"};function fn(e){return co(e.sectionHeightModeTablet)}function Kh(e){return ze({sectionHeightMode:e.sectionHeightModeTablet,sectionHeightValue:e.sectionHeightValueTablet,sectionHeightUnit:e.sectionHeightUnitTablet})}function ho(e){let t=hn(e),o=(r,c,h)=>dn({sectionHeightMode:r,sectionHeightValue:c,sectionHeightUnit:h})??(t?["auto",null]:void 0),a=fn(e)?o(e.sectionHeightModeTablet,e.sectionHeightValueTablet,e.sectionHeightUnitTablet):void 0,s=pn(e)?o(e.sectionHeightModePhone,e.sectionHeightValuePhone,e.sectionHeightUnitPhone):a;if(!t&&!a&&!s)return null;let n=[Wh,Se],i={...t??{}};return a&&(n.push(mn),i[cn.base]=a[0],a[1]&&(i[cn.small]=a[1])),s&&(n.push(un),i[ln.base]=s[0],s[1]&&(i[ln.small]=s[1])),{className:n.join(" "),style:i}}function TT(e){return ho(e)!==null||qe(e).length>0}var lo=`grid ${Se}`,ET="h-full",$h="view-tablet:max-view-desktop:grid",wn="max-view-tablet:grid",Vh="view-wide:max-view-desktop:grid",jh="max-view-wide:grid",Xh=`${wn} ${Se}`;function ST(e,{atSectionLine:t=!1}={}){if(qe(e).length>0)return lo;let o=ho(e);if(!o)return"";if(hn(e))return lo;let a=o.className.split(" "),s=t?$h:Vh,n=t?wn:jh;if(!a.includes(mn))return t?Xh:`${n} ${Se}`;let i=a.includes(un);return[s,i?n:"",Se].filter(Boolean).join(" ")}var _T="data-sf-height-fill",zh=Ch,qh={desktop:"view-desktop:[.flex-col>&]:grow! view-desktop:[.flex-row>&]:self-stretch",tablet:"view-wide:max-view-desktop:[.flex-col>&]:grow! view-wide:max-view-desktop:[.flex-row>&]:self-stretch",mobile:"max-view-wide:[.flex-col>&]:grow!"};function qe(e){let t=e,o=Ih("heightMode",ze(t).mode,fn(t)?Kh(t).mode:null,pn(t)?Yh(t).mode:null,Lh),a={desktop:o.desktop==="fill",tablet:o.tablet==="fill",mobile:o.phone==="fill"};return zh.filter(s=>a[s])}function OT(e){return qe(e).map(t=>qh[t]).join(" ")}function vT(e){let t=ho(e);return qe(e).length===0?t:t?{className:`${t.className} grid`,style:t.style}:{className:lo}}function AT(e){switch(e){case"tall":return"aspect-[3/4]";case"wide":return"aspect-[2/1]";case"landscape":return"aspect-[4/3]";case"screen":return"aspect-[16/10]";case"portrait":return"aspect-[4/5]";case"video":return"aspect-[16/9]";case"panorama":return"aspect-[21/9]";case"story":return"aspect-[9/16]";case"poster":return"aspect-[2/3]";case"auto":return"";case"custom":return"aspect-[var(--shape-ratio)]";default:return"aspect-square"}}var uo=[{shape:"auto",image:"auto",ratio:null,label:"Auto"},{shape:"story",image:"9/16",ratio:[9,16],label:"Story 9:16"},{shape:"poster",image:"2/3",ratio:[2,3],label:"Poster 2:3"},{shape:"tall",image:"3/4",ratio:[3,4],label:"Tall 3:4"},{shape:"portrait",image:"4/5",ratio:[4,5],label:"Portrait 4:5"},{shape:"square",image:"1/1",ratio:[1,1],label:"Square 1:1"},{shape:"landscape",image:"4/3",ratio:[4,3],label:"Landscape 4:3"},{shape:"screen",image:"16/10",ratio:[16,10],label:"Screen 16:10"},{shape:"video",image:"16/9",ratio:[16,9],label:"Video 16:9"},{shape:"wide",image:"2/1",ratio:[2,1],label:"Wide 2:1"},{shape:"panorama",image:"21/9",ratio:[21,9],label:"Panorama 21:9"},{shape:"custom",image:"custom",ratio:null,label:"Custom W:H"}],RT="custom",Qh=/^(\d{1,4}(?:\.\d{1,2})?)\/(\d{1,4}(?:\.\d{1,2})?)$/;function gn(e){if(typeof e!="string")return null;let t=Qh.exec(e);if(!t)return null;let o=Number(t[1]),a=Number(t[2]);return o>0&&a>0?[o,a]:null}function Zh(e){return uo.every(t=>t.shape!==e&&t.image!==e)&&gn(e)!==null}function LT(e,t,o){let a=uo.find(s=>s.ratio!==null&&s.ratio[0]*t===s.ratio[1]*e);return a?a[o]:`${e}/${t}`}function Jh(e){return`${e[0]} / ${e[1]}`}var eu={desktop:"--shape-ratio",tablet:"--shape-ratio-tablet",phone:"--shape-ratio-phone"};function CT(e){let t={};for(let o of["desktop","phone","tablet"]){let a=Zh(e[o])?gn(e[o]):null;a&&(t[eu[o]]=Jh(a))}return Object.keys(t).length?t:null}function IT(e){return uo.filter(t=>e.includes(t.shape))}function PT(e){return e==="below"}var NT=`linear-gradient(180deg, transparent 40%, ${Xe(.85)} 100%)`,HT=`linear-gradient(0deg, transparent 40%, ${Xe(.85)} 100%)`,DT=Xe(.45);export{ae as a,I as b,Hl as c,df as d,Dl as e,hf as f,uf as g,pf as h,mf as i,ff as j,wf as k,Ct as l,Bl as m,Ml as n,gf as o,bf as p,Na as q,Pe as r,yf as s,Tf as t,v as u,Yl as v,Ef as w,w as x,x as y,d as z,A,be as B,U as C,Kl as D,Ba as E,se as F,Af as G,Rf as H,Lf as I,ql as J,Cf as K,fe as L,ee as M,Up as N,te as O,Yp as P,Lr as Q,Kp as R,$p as S,Vp as T,jp as U,Pr as V,Le as W,Zp as X,p as Y,f as Z,Fa as _,Hf as $,Df as aa,pe as ba,tu as ca,Ze as da,ou as ea,au as fa,su as ga,nu as ha,wi as ia,M as ja,gi as ka,lu as la,tm as ma,om as na,Dr as oa,am as pa,sm as qa,mm as ra,vt as sa,sl as ta,Ta as ua,ym as va,Tm as wa,Em as xa,Sa as ya,Sm as za,_m as Aa,Om as Ba,C as Ca,ne as Da,Wa as Ea,Ff as Fa,R as Ga,$f as Ha,lc as Ia,Y as Ja,cc as Ka,Vf as La,jf as Ma,Xf as Na,zf as Oa,qf as Pa,hc as Qa,Qf as Ra,Ka as Sa,k as Ta,Bt as Ua,Zf as Va,uc as Wa,pc as Xa,Va as Ya,Jf as Za,wc as _a,ew as $a,gc as ab,tw as bb,Ht as cb,ow as db,bc as eb,yc as fb,aw as gb,sw as hb,Xa as ib,Tc as jb,nw as kb,Ec as lb,qa as mb,Dt as nb,iw as ob,rw as pb,lw as qb,Oc as rb,vc as sb,cw as tb,dw as ub,hw as vb,uw as wb,Wo as xb,Fo as yb,hu as zb,uu as Ab,pu as Bb,mu as Cb,dl as Db,Ce as Eb,fw as Fb,ww as Gb,gw as Hb,Qa as Ib,De as Jb,bw as Kb,Lc as Lb,yw as Mb,Mt as Nb,Cc as Ob,Ew as Pb,Za as Qb,Sw as Rb,Nc as Sb,Hc as Tb,Dc as Ub,ts as Vb,vw as Wb,os as Xb,xw as Yb,as as Zb,Rw as _b,ss as $b,K as ac,Lw as bc,Cw as cc,Iw as dc,ls as ec,re as fc,Ww as gc,Uc as hc,Xc as ic,Uw as jc,Yw as kc,Gt as lc,Kw as mc,$w as nc,zc as oc,jw as pc,Xw as qc,zw as rc,qw as sc,Jc as tc,Qw as uc,td as vc,Zw as wc,Jw as xc,eg as yc,tg as zc,og as Ac,ag as Bc,sg as Cc,ng as Dc,ig as Ec,ps as Fc,ms as Gc,rg as Hc,lg as Ic,cg as Jc,dg as Kc,hg as Lc,ld as Mc,ug as Nc,pg as Oc,gs as Pc,mg as Qc,cd as Rc,dd as Sc,fg as Tc,wg as Uc,bs as Vc,b as Wc,E as Xc,pd as Yc,g as Zc,P as _c,md as $c,ys as ad,y as bd,_g as cd,Kt as dd,$t as ed,Vt as fd,T as gd,H as hd,xg as id,Es as jd,ce as kd,Ee as ld,u as md,de as nd,Me as od,gd as pd,_s as qd,Ss as rd,Td as sd,Os as td,Is as ud,Ds as vd,Lb as wd,jt as xd,Od as yd,ks as zd,Md as Ad,Hb as Bd,Wg as Cd,Ug as Dd,Yg as Ed,Kg as Fd,As as Gd,$g as Hd,Vg as Id,jg as Jd,Ld as Kd,Zg as Ld,Jg as Md,Fe as Nd,eb as Od,Ls as Pd,tb as Qd,ob as Rd,sb as Sd,nb as Td,ib as Ud,rb as Vd,Cs as Wd,lb as Xd,cb as Yd,Xt as Zd,Bb as _d,jb as $d,Yd as ae,qb as be,Ws as ce,qt as de,Zb as ee,Us as fe,Qt as ge,ry as he,ly as ie,cy as je,dy as ke,hy as le,uy as me,$s as ne,Qd as oe,Ye as pe,Jd as qe,Ks as re,py as se,my as te,fy as ue,eh as ve,Ue as we,wy as xe,gy as ye,B as ze,ky as Ae,en as Be,on as Ce,an as De,X as Ee,jy as Fe,fh as Ge,Xy as He,zy as Ie,qy as Je,Qy as Ke,Zy as Le,Jy as Me,eT as Ne,gh as Oe,bh as Pe,tT as Qe,yh as Re,Eh as Se,sn as Te,no as Ue,oT as Ve,aT as We,io as Xe,sT as Ye,nT as Ze,iT as _e,rT as $e,lT as af,Oh as bf,vh as cf,nn as df,xh as ef,cT as ff,kh as gf,Ah as hf,dT as if,hT as jf,uT as kf,pT as lf,tn as mf,et as nf,tt as of,Tu as pf,Eu as qf,xi as rf,ot as sf,Su as tf,ki as uf,_u as vf,Ou as wf,ku as xf,Xo as yf,Iu as zf,Pu as Af,Nu as Bf,Hu as Cf,Du as Df,ut as Ef,pt as Ff,Bu as Gf,Q as Hf,Ni as If,zo as Jf,Mu as Kf,Fu as Lf,J as Mf,Z as Nf,Bi as Of,Mi as Pf,Gu as Qf,Wu as Rf,ke as Sf,qo as Tf,Uu as Uf,Yu as Vf,Ku as Wf,ft as Xf,$u as Yf,Qo as Zf,Ki as _f,Vu as $f,ju as ag,Xu as bg,Vi as cg,zu as dg,qu as eg,Qu as fg,Zu as gg,Ju as hg,ep as ig,wt as jg,Ji as kg,tp as lg,op as mg,Ae as ng,or as og,ap as pg,gt as qg,$o as rg,sp as sg,np as tg,ar as ug,sr as vg,aa as wg,Re as xg,rr as yg,lr as zg,cr as Ag,sa as Bg,dr as Cg,na as Dg,lp as Eg,cp as Fg,dp as Gg,hp as Hg,me as Ig,ia as Jg,up as Kg,pp as Lg,bt as Mg,ra as Ng,mp as Og,fp as Pg,wp as Qg,yt as Rg,wr as Sg,br as Tg,Tp as Ug,Oa as Vg,Lm as Wg,Cm as Xg,Im as Yg,ul as Zg,pl as _g,Pm as $g,ml as ah,Nm as bh,Ie as ch,xa as dh,va as eh,bl as fh,yl as gh,Tl as hh,Mm as ih,El as jh,Fm as kh,oe as lh,Gm as mh,Wm as nh,Um as oh,_l as ph,Aa as qh,Ym as rh,Km as sh,$m as th,vl as uh,Vm as vh,kl as wh,Xe as xh,AT as yh,uo as zh,RT as Ah,gn as Bh,Zh as Ch,LT as Dh,Jh as Eh,CT as Fh,IT as Gh,PT as Hh,At as Ih,La as Jh,Xm as Kh,Il as Lh,Lt as Mh,Zm as Nh,Pl as Oh,Jm as Ph,Nh as Qh,Hh as Rh,Fh as Sh,Gh as Th,Se as Uh,ze as Vh,bT as Wh,yT as Xh,pn as Yh,fn as Zh,Kh as _h,TT as $h,lo as ai,ET as bi,ST as ci,_T as di,qe as ei,OT as fi,vT as gi,ca as hi,xp as ii,Pp as ji,kr as ki,Np as li,Hp as mi,Dp as ni,Bp as oi,Nl as pi,tf as qi};