efficient-storefront-blocks 0.120.2 → 0.121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/dist/chunks/{EditorPreviewCheckout-4OBHQ7YG.js → EditorPreviewCheckout-EZWWWREG.js} +1 -1
- package/dist/chunks/{SiteEditorProvider-YXH7PBRW.js → SiteEditorProvider-LHGHQTP7.js} +1 -1
- package/dist/chunks/{chunk-JM7XA3F6.js → chunk-4M5X72OG.js} +30 -30
- package/dist/chunks/{chunk-ITCY3GG4.js → chunk-DRLNY2UU.js} +1 -1
- package/dist/chunks/{chunk-IRDJZJOH.js → chunk-R7AXTQVA.js} +1 -1
- package/dist/chunks/{chunk-3E2YAOJH.js → chunk-RDOOARQX.js} +1 -1
- package/dist/chunks/{fitment-data-SMLFCY4A.js → fitment-data-62UVC7IY.js} +1 -1
- package/dist/editor/lib/document/blocks/commerce/AlloyWheelsListing/fields.js +1 -1
- package/dist/editor/lib/document/blocks/commerce/FilterBlock/fields.js +1 -1
- package/dist/editor/lib/document/blocks/commerce/filter-look-fields.d.ts +14 -0
- package/dist/editor/lib/document/blocks/commerce/filter-look-fields.js +1 -0
- package/dist/index.js +65 -154
- package/dist/render/built-with.json +1 -1
- package/dist/render/components/catalog/FilterPill.d.ts +7 -1
- package/dist/render/components/catalog/FilterPill.js +1 -1
- package/dist/render/components/catalog/ShopperFilters.js +1 -1
- package/dist/render/components/catalog/SortSelect.js +1 -1
- package/dist/render/components/wheels-plp/AlloyWheelsListing.d.ts +3 -1
- package/dist/render/components/wheels-plp/AlloyWheelsListing.js +1 -1
- package/dist/render/components/wheels-plp/PlpFilterButton.d.ts +7 -0
- package/dist/render/components/wheels-plp/PlpFilterButton.js +1 -0
- package/dist/render/components/wheels-plp/PlpSidebar.d.ts +1 -0
- package/dist/render/components/wheels-plp/PlpSidebar.js +1 -1
- package/dist/render/lib/document/blocks/commerce/AlloyWheelsListing/render.js +1 -1
- package/dist/render/lib/sections/catalog-text-size.d.ts +2 -0
- package/dist/render/lib/sections/catalog-text-size.js +1 -1
- package/dist/render/lib/sections/shopper-filters.d.ts +39 -0
- package/dist/render/lib/sections/shopper-filters.js +1 -1
- package/package.json +3 -3
- /package/dist/chunks/{chunk-JM7XA3F6.js.LEGAL.txt → chunk-4M5X72OG.js.LEGAL.txt} +0 -0
- /package/dist/chunks/{chunk-MR37ISPW.js → chunk-JGBM6X5G.js} +0 -0
|
@@ -93,4 +93,4 @@ WHAT A MERCHANT LOSES until the wall is redone: the photo wall and the section h
|
|
|
93
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
94
|
|
|
95
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.'}},ul=Object.fromEntries(Object.entries(Hs).map(([e,t])=>[e,t.note])),Gm=["Grid","Spacer","TyreFitment"],Wm=Array.from(new Set([...ce.flatMap(e=>e.sections.map(t=>t.type)),...Object.keys(ul)])),pl=Object.fromEntries(Object.entries(Hs).map(([e,t])=>[e,t.label])),Ym={...pl,...Object.fromEntries(ce.flatMap(e=>e.sections.map(t=>[t.type,t.label])))},ml={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",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"},Wt={...ml,...Object.fromEntries(ce.flatMap(e=>e.sections.map(t=>[t.type,t.set])))};function Um(e){return xe(Wt,e)}function Yt(e){return Object.keys(Wt).filter(t=>xe(Wt,t)===e).sort()}var Km=Yt("general"),$m=Yt("commerce"),Vm=Yt("service"),fl="Flex",je="Box",jm=`${je}es`;function wl(e){return e==="section"?"Blank section":je}function Xm(e,t,o){return e===fl?wl(t):o}var j=["highlight","strong","quiet"],X={highlight:"Highlight",strong:"Bold",quiet:"Quiet"},L={highlight:{kind:"wordHighlight",delimiter:"@@"},strong:{kind:"wordStrong",delimiter:"++"},quiet:{kind:"wordQuiet",delimiter:"^^"}},Zm=Object.fromEntries(j.map(e=>[L[e].kind,e])),Qm="data-sf-ws",gl=["accent","text","labels"],bl={accent:"var(--accent)",text:"var(--fg)",labels:"var(--fg-dim)"},yl=80,El=120,Sl=100,Tl=900,_l=.5,vl=3,xl=-.1,Ol=.5,kl=3,Ut={font:null,size:null,weight:null,bold:null,italic:null,lineGap:null,textGap:null,colour:null},Al={highlight:{...Ut},strong:{...Ut},quiet:{...Ut}};function Ds(e,t,o){return typeof e!="number"||!Number.isFinite(e)?null:Math.round(Math.min(Math.max(e,t),o))}function Bs(e,t,o){if(typeof e!="number"||!Number.isFinite(e))return null;let s=10**kl;return Math.round(Math.min(Math.max(e,t),o)*s)/s}function Ms(e){return typeof e=="boolean"?e:null}function Rl(e){let t=typeof e?.font=="string"&&ve.some(s=>s.key===e.font)?e.font:null,o=typeof e?.colour=="string"&&gl.includes(e.colour)?e.colour:null;return{font:t,size:Ds(e?.size,yl,El),weight:Ds(e?.weight,Sl,Tl),bold:Ms(e?.bold),italic:Ms(e?.italic),lineGap:Bs(e?.lineGap,_l,vl),textGap:Bs(e?.textGap,xl,Ol),colour:o}}function Fs(e){let t={};for(let o of j)t[o]=e&&o in e&&e[o]?Rl(e[o]):{...Al[o]};return t}function Jm(e){let t=Fs(e),o={};for(let s of j){let a=t[s],n=`--sf-ws-${s}`;if(a.font){let i=ve.find(r=>r.key===a.font);i&&(o[`${n}-font`]=`var(${i.cssVar})`)}a.size!==null&&(o[`${n}-size`]=`${a.size/100}em`),a.weight!==null&&(o[`${n}-weight`]=String(a.weight)),a.bold!==null&&(o[`${n}-weight-bold`]=a.bold?"700":"400"),a.italic!==null&&(o[`${n}-style`]=a.italic?"italic":"normal"),a.lineGap!==null&&(o[`${n}-line`]=String(a.lineGap)),a.textGap!==null&&(o[`${n}-track`]=`${a.textGap}em`),a.colour!==null&&(o[`${n}-color`]=bl[a.colour])}return o}function ef(e){let t=e?.word_styles??void 0,o={};for(let s of j)t&&s in t&&(o[s]=t[s]??null);return Fs(o)}import{applyMark as sf,markupTools as af,MARKUP_TOOLS as nf,COPY_FIELD_TOOLS as rf,STOREFRONT_MARKUP as lf,tokenizeInline as cf,stripInline as df,isSafeLinkHref as hf}from"efficient-shell/markup";import{applyMark as Cl,clearStyle as Ll,markedAt as Nl,markupTools as Il,MARKUP_TOOLS as Pl,parseMarkup as Hl,RETIRED_MARKS as Dl,STOREFRONT_MARKUP as Bl,tokenizeInline as pf}from"efficient-shell/markup";var Ml=new Set(["strong"]),Gs=j.map(e=>({open:L[e].delimiter,close:L[e].delimiter,kind:L[e].kind,...Ml.has(e)?{wordStart:!0}:{}})),ff=[{style:L.highlight.kind,label:X.highlight,title:`${X.highlight} word style`},{style:L.strong.kind,label:X.strong,title:`${X.strong} word style`},{style:L.quiet.kind,label:X.quiet,title:`${X.quiet} word style`}],Fl=new Set(Gs.map(e=>e.open)),Kt=[...Bl.filter(e=>!Fl.has(e.open)),...Gs];function Gl(e){return e.bullet?"- ":e.number!=null?`${e.number}. `:""}function Ws(e){return Hl(typeof e=="string"?e:"",Kt)}var Wl=Pl.map(e=>e.style).filter(e=>!Dl.includes(e)).filter(e=>Kt.some(t=>t.kind===e));function wf(){return Il(Wl)}var Ys=Object.fromEntries(j.map(e=>[L[e].kind,L[e].delimiter]));function gf(e,t,o,s){let a=Ys[s];if(!a)return Cl(e,t,o,s);let n=e.slice(t,o),i=e.slice(Math.max(0,t-a.length),t),r=e.slice(o,o+a.length);if(i===a&&r===a)return{text:e.slice(0,t-a.length)+n+e.slice(o+a.length),selectionStart:t-a.length,selectionEnd:t-a.length+n.length};let l=n||"styled text";return{text:e.slice(0,t)+a+l+a+e.slice(o),selectionStart:t+a.length,selectionEnd:t+a.length+l.length}}function bf(e,t,o,s){let a=Ys[s];return a?t>=a.length&&e.slice(t-a.length,t)===a&&e.slice(o,o+a.length)===a:Nl(e,t,o,s)}function Us(e){return e.replace(/==(.+?)==/g,(t,o)=>o.startsWith("_")&&o.endsWith("_")?t:`==_${o}_==`)}function yf(e){return Ws(e).map(t=>Gl(t)+Ks(t.children)).join(`
|
|
96
|
-
`)}function Ef(e,t,o){return Ll(e,t,o,Kt)}function Ks(e){return e.map(t=>t.kind==="text"?t.text:Ks(t.children)).join("")}function Sf(e){let t=o=>o.some(s=>s.kind==="link"||"children"in s&&t(s.children));return Ws(e).some(o=>t(o.children))}import{isNodeList as Yl}from"efficient-easel/data";var Xe=["top-left","top-center","top-right","left","center","right","bottom-left","bottom-center","bottom-right"],Vs="bottom-left",z=4,Ul=z+1,$s=40,Kl=30,$l=100,Vl=60,vf=100;var $t={"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 jl(e){let t=Xe.indexOf(de(e));return{band:Math.floor(t/3),column:["start","center","end"][t%3]}}function Xl(e){return 1+jl(e).band*(Ul+1)}function xf(e){return Xl(e)+1}function de(e){return Xe.includes(e)?e:Vs}function Of(e){let t=typeof e=="number"&&Number.isFinite(e)?e:0;return Math.max(-$s,Math.min($s,Math.round(t)))}function kf(e,t=Vl){let o=typeof e=="number"&&Number.isFinite(e)?e:t;return Math.max(Kl,Math.min($l,Math.round(o)))}function Vt(e,t){let o=de(t);return e.filter(s=>de(s?.props?.placement)===o).length}function js(e){return`${$t[de(e)]} already holds ${z} boxes. Move one somewhere else first.`}function Af(e,t){let o=e.filter(s=>s?.props?.id!==t);return Xe.map(s=>{let a=Vt(o,s)>=z,n=$t[s];return a?{value:s,label:n,disabled:!0,title:js(s)}:{value:s,label:n}})}function zl(e,t){let o=t===void 0?Vs:de(t?.props?.placement);return Vt(e,o)>=z?js(o):null}var Xs="HeroGroup";function Rf(e){let t=new Map,o=!1,s=e.filter(a=>{let n=de(a?.props?.placement),i=(t.get(n)??0)+1;return t.set(n,i),i<=z?!0:(o=!0,!1)});return o?s:e}function ql(e){return Xe.map(t=>{let o=Vt(e,t);return{anchor:t,total:o,hidden:o-z}}).filter(t=>t.hidden>0)}function Cf(e){let t=ql(e);return t.length===0?null:t.map(({anchor:o,total:s,hidden:a})=>{let n=$t[o],i=a===1?"1 is not shown":`${a} are not shown`;return`${n} holds ${s} boxes. The published page draws the first ${z}, so ${i}. ${a===1?"Move it":"Move them"} somewhere else.`}).join(" ")}function Lf(e,t){let o=t;if(o?.type!==Xs)return null;let s=o.props?.id===void 0?"":String(o.props.id);return s?zl(Zl(e,s),o):null}function Zl(e,t){let o=zs(e,t);return o&&o.ownerType===Jl?o.siblings:[]}function Nf(e,t){let o=zs(e,t);return o?o.ancestorTypes.filter(s=>s===Xs).length:Ql}var Ql=1,Jl="HeroSlide";function zs(e,t){let o=(s,a,n)=>{if(a>12||!s||typeof s!="object")return null;if(Yl(s)){if(s.some(i=>i?.props?.id===t))return{siblings:s,ownerType:n.at(-1)??null,ancestorTypes:n};for(let i of s){let r=i.type,l=o(i,a+1,[...n,String(r)]);if(l)return l}return null}for(let i of Object.values(s)){let r=o(i,a+1,n);if(r)return r}return null};return o(e,0,[])}import{forwardRef as ec}from"react";import{jsx as sc}from"react/jsx-runtime";function tc(e){if(typeof e=="string")return e;let t=e.query?`?${new URLSearchParams(e.query).toString()}`:"",o=e.hash?e.hash.startsWith("#")?e.hash:`#${e.hash}`:"";return`${e.pathname??""}${t}${o}`}var oc=ec(function({href:t,prefetch:o,replace:s,scroll:a,shallow:n,legacyBehavior:i,passHref:r,locale:l,onClick:d,children:g,...w},P){let H=$=>{d?.($),!($.defaultPrevented||w.target==="_blank")&&$.preventDefault()};return sc("a",{ref:P,href:tc(t),onClick:H,...w,children:g})}),Hf=oc;var ac="Website";function Mf(e){return e?.trim()||ac}var qs=["instagram","facebook","tiktok","youtube","x","linkedin","pinterest","whatsapp","telegram","line","wechat"],nc={instagram:"Instagram",facebook:"Facebook",tiktok:"TikTok",youtube:"YouTube",x:"X",linkedin:"LinkedIn",pinterest:"Pinterest",whatsapp:"WhatsApp",telegram:"Telegram",line:"LINE",wechat:"WeChat"},ic={};function Gf(e){if(!e||typeof e!="object")return ic;let t={};for(let o of qs){let s=e[o];if(typeof s!="string")continue;let a=s.trim();!a||!/^https?:\/\//i.test(a)||(t[o]=a)}return t}function Wf(e){return qs.flatMap(t=>{let o=e[t];return o?[{platform:t,href:o,label:nc[t]}]:[]})}var Yf=e=>`${e}_url`;function he(e,t){let o=globalThis,s=Symbol.for(e),a=o[s];return a===void 0&&(a=t(),o[s]=a),a}function Oe(){return he("efficient.slot-field-blocks",()=>new Set)}var rc="dataSource",qf="dataSourceOptions",lc="dataRows",Zf="countKey",Qf="counts",Jf="location-payment-methods",ew="shop-payment-methods",tw="delivery-options",ow="blog-categories",jt="dealers";function cc(e){return typeof e.open=="function"}var Js=/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/;function sw(e){return typeof e=="string"&&Js.test(e)}var Zs=new Set([jt]);function ke(){return he("efficient.block-sources",()=>({sources:new Map,revision:0}))}var dc=e=>[e?.key,e?.label,e?.value].every(t=>typeof t=="string"&&t.trim()!==""),hc=e=>[e?.key,e?.label].every(t=>typeof t=="string"&&t.trim()!==""),Qs=e=>typeof e=="string"&&e.trim()!=="";function uc(e){if(!e||!Qs(e.label))return null;if(cc(e))return{label:e.label.trim(),open:e.open};let t=e.href;return Qs(t)?{label:e.label.trim(),href:t.trim()}:null}function pc(e){if(typeof e.key!="string"||!Js.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(s=>typeof s!="string"||!s))throw new Error(`The block source ${e.key} names no block it can fill.`);let t=e.blocks.find(s=>Oe().has(s));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=uc(e.edit);return{key:e.key,label:e.label.trim(),blocks:[...e.blocks],...e.sample?{sample:e.sample.map(s=>ta(s)).filter(s=>s!==null)}:{},...Array.isArray(e.choices)?{choices:e.choices.filter(dc)}:{},...Array.isArray(e.fields)?{fields:e.fields.filter(hc).map(s=>({...s}))}:{},...o?{edit:o}:{},...typeof e.useRows=="function"?{useRows:e.useRows}:{},...Array.isArray(e.records)?{records:e.records.filter(s=>typeof s=="string"&&s.trim()!=="").map(s=>s.trim())}:{}}}function aw(e){let t=e.map(pc),o=ke();for(let s of t)o.sources.set(s.key,s);t.length&&(o.revision+=1)}function ea(e){let t=[...ke().sources.values()],o=[...t.filter(s=>!Zs.has(s.key)),...t.filter(s=>Zs.has(s.key))];return e===void 0?o:o.filter(s=>s.blocks.includes(e))}function ze(e){return ke().sources.get(e)??null}function nw(e){return ke().sources.get(e)?.choices??[]}function iw(){return ke().revision}function x(e){let t=e?.[rc];return typeof t=="string"?t.trim():""}function ta(e){if(!e||typeof e!="object"||Array.isArray(e))return null;let t={};for(let[o,s]of Object.entries(e)){let a=B(s);a&&(t[o]=a)}return Object.keys(t).length?t:null}function mc(e){let t=e?.[lc];return Array.isArray(t)?t.map(ta).filter(o=>o!==null):null}function rw(e,t,o=[]){let s=mc(e);if(s!==null&&(s.length||!t))return{rows:s,sample:!1};if(!t)return{rows:[],sample:!1};let a=ze(x(e))?.sample;return{rows:a?.length?a:o,sample:!0}}var b="rowField",O="rowLinkField",h="template",A="CardList",Ae="hideWhenRowEmpty",Xt=["Text","ImageBlock","ButtonBlock","Flex"];function q(){return{type:"slot",allow:[...Xt]}}var oa=Xt.filter(e=>e!=="ButtonBlock");function zt(){return{type:"slot",allow:[...oa]}}var fc="boxes",sa={CardList:{template:zt()},Cards:{template:q()},FAQ:{template:q()},Flex:{rowTitle:{type:"slot",allow:["Text"]},content:{type:"slot"}},Footprint:{template:q()},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:q()},ProcessSteps:{[fc]:{type:"slot"},template:q()}};import{isNodeList as aa,slotsOf as wc,storedKeyOrder as gc}from"efficient-easel/data";var bc={},yc=null;function Ec(){let e=Object.fromEntries(Object.entries(sa).map(([t,o])=>[t,{fields:o}]));return yc??={components:{...e,...bc}}}function ue(e){let t=e.props??{},o=typeof e.type=="string"?e.type:"",s=Ec(),a=o!==""&&Object.prototype.hasOwnProperty.call(s.components,o)?wc({type:o,props:t},s).map(r=>r.slot).filter(r=>!r.includes(".")):[],n=a.filter(r=>aa(t[r])),i=gc(Object.keys(t).filter(r=>!a.includes(r)&&aa(t[r])));return[...n,...i]}function mw(e){let t=e.props??{};return ue(e).map(o=>t[o])}function fw(e,t){let o=null;return e.forEach((s,a)=>{let n=t(s,a);n!==s&&((o??=e.slice())[a]=n)}),o??e}function ww(e,t){let o=null;for(let s of ue(e)){let a=e.props[s],n=t(a,s);n!==a&&((o??={...e.props})[s]=n)}return o?{...e,props:o}:e}function Sc(e,t){let o=e;if(!o||!Array.isArray(o.content))return e;let s=t(o.content);return s===o.content?e:{...o,content:s}}function gw(e,t){let o=Sc(e,t),s=e?.zones;if(!s||typeof s!="object")return o;let a=null;for(let[n,i]of Object.entries(s)){if(!Array.isArray(i))continue;let r=t(i);r!==i&&((a??={...s})[n]=r)}return a?{...o,zones:a}:o}var p="content",f="Flex",Tc="Text & media",_c="Layout & structure",ia=[{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"}],vc=[...ia,{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:Tc})),xc=(ce.find(e=>e.key==="structure")?.sections??[]).map(e=>({type:e.type,label:e.label,group:_c})),na=[...vc,...xc],qt=[...ia,{type:"HeroGroup",label:je}],Sw=qt.map(e=>e.type),Oc=1,kc=qt.filter(e=>e.type!=="HeroGroup");function Ac(e){return e<Oc?qt:kc}var Rc={Flex:{slot:p,choices:()=>na},Grid:{slot:p,choices:()=>na},HeroGroup:{slot:p,choices:Ac}};function Tw(e,t=0){let o=xe(Rc,e);return o?{slot:o.slot,choices:o.choices(t)}:null}import{AUTO_RULES as Pc,FOLLOW_RULES as Hc,isAuto as Dc,resolveViewValue as Bc}from"efficient-easel/screen/lib/content/view-tiers";import{VIEW_DESKTOP_MIN as Cc,VIEW_TABLET_MIN as Lc}from"efficient-easel/screen/lib/content/view-tiers";var la="v1",ca=800,ra={"view-tablet":Lc,"view-desktop":Cc,"view-wide":ca};function xw(e){let t=e.startsWith("max-"),o=t?e.slice(4):e;if(o in ra)return{px:ra[o],max:t};let s=/^(max|min)-\[(\d+)px\]$/.exec(e);return s?{px:Number(s[2]),max:s[1]==="max"}:void 0}var Ow=`(min-width: ${ca}px)`,Nc="data-sf-line",Ic="edge",kw={[Nc]:Ic},Re=(e,t)=>e==="edge"||e!=="section"&&t;function Mc(){return la==="v2"?Pc:Hc}function qe(e,t,o,s,a=Mc()){let n=Bc(e,t,o,s,a),i={},r=(l,d)=>!Dc(l)||d!=null&&d!==t;return r(o,n.tablet)&&(i.tablet=n.tablet),r(s,n.phone)&&(i.phone=n.phone),i}var Iw={left:"start",center:"center",right:"end"},Pw={left:"justify-start",center:"justify-center",right:"justify-end"},Hw={left:"",center:"mx-auto",right:"ml-auto"},da={left:"",center:"text-center",right:"text-right"},Fc={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"}},Gc={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"}},Wc={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"}},Yc={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 Ze(e){return e==="left"||e==="center"||e==="right"?e:void 0}function Dw(e){return e==="start"?"left":e==="end"?"right":Ze(e)}function Uc(e,t,o){let s=Ze(e)??"left",a=qe("same",s,Ze(t),Ze(o)),n={};return a.tablet&&a.tablet!==s&&(n.tablet=a.tablet),a.phone&&a.phone!==s&&(n.phone=a.phone),n}function Bw(e,t,o,s,{atSectionLine:a=!1}={}){let n=Uc(t,o,s),i=a?Wc:Fc,r=a?Yc:Gc;return[n.tablet?i[e][n.tablet]:"",n.phone?r[e][n.phone]:""].filter(Boolean).join(" ")}var Zt="rowImageField",Kc="boxOutsideCopy",$c={all:[{field:Zt,set:!0},{not:{context:Kc,is:!0}}]},Fw={any:[{field:"bgImage",set:!0},$c]},ha="boxInCopy",Vc={any:[{not:{field:Zt,set:!0}},{not:{context:ha,is:!0}}]},Gw={all:[{not:{field:"bgImage",set:!0}},Vc]},ua={all:[{not:{context:"parent.bgImage",set:!0}},{any:[{not:{context:`parent.${Zt}`,set:!0}},{not:{context:ha,is:!0}}]}]};function Ce(e,t,o){return e.some(s=>(typeof s=="object"?s.value:s)===o)?o:t}var jc="small",Xc="dot",zc=[{label:"Small",value:"small"},{label:"Display",value:"display"}],Qt=[{label:"Dot \u25CF",value:"dot"},{label:"Cross \u2715",value:"cross"},{label:"Slash /",value:"slash"},{label:"Triangle \u25BC",value:"triangle"},{label:"None",value:"none"}],pa={dot:"\u25CF",cross:"\u2715",slash:"/",triangle:"\u25BC",none:""},qc={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)]"},Zc={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 Kw(e){return Ce(zc,jc,e)}function ma(e){return Ce(Qt,Xc,e)}function $w(e){return qc[e]}function fa(e,t){return Zc[e][t]}var Xw=[{value:"none"},{value:"dot"},{value:"cross"},{value:"slash"},{value:"triangle"}];function wa(e){return Qt.some(t=>t.value===e)?ma(e):void 0}var Qc="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 Z(e,t){return e==="row"&&wa(t)!==void 0}function zw(e,t){return Z(e,t)?Qc:""}var Jc="[&>*: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 qw(e,t){return Z(e,t)?Jc:""}function Zw(e,t){if(!Z(e,t))return{};let o=wa(t),s=/^text-\[([\d.]+)em\]$/.exec(fa("small",o))?.[1],a=pa[o];return{"--sf-sep-mark":a===""?"none":JSON.stringify(a),...s?{"--sf-sep-k":s}:{}}}var Ea={sectionPaddingTop:0,sectionPaddingBottom:0},Le={start:"justify-start",center:"justify-center",between:"justify-between",end:"justify-end"},me={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch"},ag=[...new Set([...Object.keys(me),...Object.keys(da)])];function ng(e,t){let o=typeof e=="string"&&le(Le,e)?Le[e]:"",s=typeof t=="string"&&le(me,t)?me[t]:"";return[o,s].filter(Boolean).join(" ")}function ed(e){return e===!0||e==="wrap"?"flex-wrap":""}var td={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!"},od={start:"max-view-wide:justify-start",center:"max-view-wide:justify-center",between:"max-view-wide:justify-between",end:"max-view-wide:justify-end"},sd={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!"},ad={start:"max-view-wide:items-start",center:"max-view-wide:items-center",end:"max-view-wide:items-end",stretch:"max-view-wide:items-stretch"},nd={wrap:"view-wide:max-view-desktop:flex-wrap!",nowrap:"view-wide:max-view-desktop:flex-nowrap!"};function ee(e,t){return typeof t=="string"&&le(e,t)?t:void 0}function eo(e,t,o){let s=qe("same",e,t,o),a={};return s.tablet!==void 0&&s.tablet!==e&&(a.tablet=s.tablet),s.phone!==void 0&&s.phone!==e&&(a.phone=s.phone),a}function to(e,t,o){return[e.tablet?t[e.tablet]:"",e.phone?o[e.phone]:""].filter(Boolean).join(" ")}function id(e,t,o){return eo(ee(Le,e)??"start",ee(Le,t),ee(Le,o))}function ig(e,t,o){return to(id(e,t,o),td,od)}function rg(e,t,o){let s=ee(me,e)??"stretch";if(s==="stretch")return"";let a=eo(s,ee(me,t),ee(me,o));return to(a,sd,ad)}function Jt(e){if(e===!0||e==="wrap")return"wrap";if(e===!1||e==="nowrap")return"nowrap"}function lg(e,t){let o=ed(e)===""?"nowrap":"wrap",s=Jt(t);return s&&s!==o?nd[s]:""}var cg="Block widths",Sa=[{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]}],rd="data-sf-box-items",dg=new RegExp(`[ \\t]+[^\\s"'\`]*\\[${rd}\\][^\\s"'\`]*`,"g");var hg=[{label:"Fit content",value:"content",weights:null},{label:"Equal",value:"equal",weights:[1,1]},{label:"Custom",value:"custom",weights:[2,1]}];function ug(e){return Array.isArray(e)?"custom":e==="equal"?"equal":typeof e=="string"&&e in Qe?"custom":"content"}var Ta=4,ga=10;function ld(e,t){if(!Number.isInteger(t)||t<2||t>Ta||e.length!==t-1||!e.every(a=>typeof a=="number"&&Number.isFinite(a)))return;let o=[],s=0;return e.forEach((a,n)=>{let i=100-s-ga*(t-1-n),r=Math.min(i,Math.max(ga,Math.round(a)));o.push(r),s+=r}),o}function ba(e,t,o){if(!Array.isArray(t))return;let s=ld(t,o),a=s?[...s,100-s.reduce((i,r)=>i+r,0)]:[],n={};for(let i=0;i<Ta;i+=1)n[`--${e}-${i+1}`]=a[i]??1;return n}function pg(e,t,o){let s=ba("sf-share",e,o),a=ba("sf-share-tablet",t,o);return s||a?{...s,...a}:void 0}function cd(e,t){let o=Array.from({length:t},()=>1),s=Sa.find(i=>i.value===e);if(!s?.weights||t<1)return o;let[a,n]=s.weights;return a>1&&(o[0]=a),n>1&&(o[t-1]=n),o}function mg(e,t){if(typeof e!="string"||!(e in Qe)||e==="equal")return e;let o=cd(e,t),s=o.reduce((a,n)=>a+n,0);return o.slice(0,-1).map(a=>Math.round(a/s*100))}var Q="[&>*]: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",Qe={equal:Q,bigLeft:`${Q} [&>*:first-child]:view-wide:grow-[2] [&>[data-sf-box-items]:first-child>*:first-child]:view-wide:grow-[2]`,bigRight:`${Q} [&>*:last-child]:view-wide:grow-[2] [&>[data-sf-box-items]:last-child>*:last-child]:view-wide:grow-[2]`,biggerLeft:`${Q} [&>*:first-child]:view-wide:grow-[3] [&>[data-sf-box-items]:first-child>*:first-child]:view-wide:grow-[3]`,biggerRight:`${Q} [&>*:last-child]:view-wide:grow-[3] [&>[data-sf-box-items]:last-child>*:last-child]:view-wide:grow-[3]`,twoThree:`${Q} [&>*: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]`},dd=`${Q} [&>*: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 hd(e){return Array.isArray(e)?dd:typeof e=="string"?Qe[e]??"":""}var _a={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}},ua,{any:[{context:"parent.columns",in:[2,3,4,5,6]},{all:[{not:{context:"parent.columns",is:1}},{context:"parent.share",in:Object.keys(Qe)}]}]}]},va="view-wide:max-view-desktop:flex-row!",J=`${va} [&>*: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!`,xa={content:`${va} [&>*: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:J,bigLeft:`${J} [&>*: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:`${J} [&>*: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:`${J} [&>*: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:`${J} [&>*: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:`${J} [&>*: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]!`},ud=`${J} [&>*: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 pd(e){return Array.isArray(e)||typeof e=="string"&&e in xa?e:null}function fg(e){if(e.direction!=="row"||Z(e.direction,e.separator)||e.loop==="scroll"||e.line===!0||Oa(e.columns)!==""||ka(e.columnsTablet)!=="")return"";let t=pd(e.shareTablet);return t===null?"":typeof t=="string"?xa[t]:ud}var md="[&>*]:view-wide:basis-[content] [&>[data-sf-box-items]>*]:view-wide:basis-[content]";function wg(e){return hd(e)===""?md:""}var gg="Columns",bg=1,yg=3,oo={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)]"},Eg=Sa.filter(e=>e.value==="content"||e.value==="equal"),Sg="equal",Tg=1,_g=6,pe="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!",fd={1:`${pe} [&>*]:view-wide:basis-[calc(100%/1)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc(100%/1)]!`,2:`${pe} [&>*]: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:`${pe} [&>*]: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:`${pe} [&>*]: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:`${pe} [&>*]: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:`${pe} [&>*]: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 Oa(e){return typeof e=="number"?fd[e]??"":""}var wd={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 ka(e){return typeof e=="number"?wd[e]??"":""}function vg(e){return e.direction!=="row"||Z(e.direction,e.separator)||e.loop==="scroll"||e.line===!0?"":ka(e.columnsTablet)}function xg(e){return e.direction!=="row"||Z(e.direction,e.separator)||e.loop==="scroll"||e.line===!0?"":Oa(e.columns)}var Aa={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"},Ra={2:"max-view-wide:grid max-view-wide:grid-cols-2",3:"max-view-wide:grid max-view-wide:grid-cols-3"},Og=Object.keys(Aa).map(Number),kg=Object.keys(Ra).map(Number);function Ag(e,t,o=!1){let s=typeof e=="number"?Aa[e]??"":"",a=Ra[Number(t)]??"";return!s&&!a?"":[s,a,o?"gap-y-0!":""].filter(Boolean).join(" ")}var gd="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]",bd={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)]"},yd="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 Ed(e,t){return(Jt(e)??Jt(t)??"wrap")==="nowrap"}function Rg(e,t,o,s){let a=oo[Number(e)];if(!a)return"max-view-wide:flex-col";let n=Ed(o,s);return Ca(e,t)?n?yd:gd:n?bd[Number(e)]:a}function Cg(e,t){return Number(e)in oo&&!Ca(e,t)}function Ca(e,t){return Number(e)in oo&&t==="content"}var Lg="Block spacing",Ng=[{label:"Each block",value:"each"},{label:"Gap only",value:"gap"}],Sd="sf-box-gap-only";function Ig(e){return e==="gap"?Sd:""}var ya={each:"sf-box-each-tablet",gap:"sf-box-gap-only-tablet"},Td={each:"sf-box-each-phone",gap:"sf-box-gap-only-phone"};function Pg(e,t,o){let s=n=>ee(ya,n),a=eo(e==="gap"?"gap":"each",s(t),s(o));return to(a,ya,Td)}var La={label:"Text",defaultProps:{text:"",align:"left",tone:"default",tag:"p",contained:!0}};var{text:Fg,tag:Gg,..._d}=La.defaultProps,E=_d,_={...E,tone:"dim"},vd={justify:"start",align:"stretch",wrap:!1,blockSpacing:"gap",padV2:!0},y={...vd,direction:"column",...Ea},M=(e,t=e,o=e,s=t)=>({sectionPaddingTop:e,sectionPaddingRight:t,sectionPaddingBottom:e,sectionPaddingLeft:t,sectionPaddingTopPhone:o,sectionPaddingRightPhone:s,sectionPaddingBottomPhone:o,sectionPaddingLeftPhone:s}),xd=e=>({fillColor:e}),Na=(e,t,o={})=>({...y,widthFit:"fixed",width:e,minWidth:e,sectionHeightMode:"fixed",sectionHeightValue:e,sectionHeightUnit:"px",...t?xd(t):{},...o}),S=(e,t,o,s)=>({sizeToken:{step:e,px:t,...s?{stepPhone:s}:{},...o?{pxPhone:o}:{}}}),Wg=e=>({textStyle:"body-1",...S("body",e),lineHeight:1.625}),Ia={case:"upper"},so={textStyle:"body-5",...Ia},ao=(e,t)=>({...S("label",e,t),letterSpacing:.2,...Ia}),no=(e,t)=>({...so,...ao(e,t)});function T(e,t,o=""){return e.map((s,a)=>{let n=o?`${o}.${a}`:String(a),i={...s.props??{}};for(let[r,l]of Object.entries(s.slots??{}))i[r]=T(l,t,n);return{type:s.type,props:{...i,id:t(s.type,n)}}})}function W(e,t){return typeof e.id=="string"&&e.id.trim()?e.id:t}var fe=(e,t)=>(o,s)=>s==="0"?`${e}~${t}`:`${e}~${t}.${s.slice(2)}`;function Y(e,t,o,s){return e[t]!==void 0?e:{...e,[t]:s(W(e,o))}}var we={min:0,max:360,step:1},Pa="angle";function Kg(e){let t=D(e);if(t===void 0)return null;let o=Math.min(we.max,Math.max(we.min,t));return o===we.min||o===we.max?null:{rotate:`${o}deg`}}import{MEDIA_ZONES as Od,MEDIA_ZONE_LABELS as kd}from"efficient-easel/screen/lib/content/media-zones";import{HOVER_MOTION as Ad,hoverKindsOf as et,motionSeconds as Je}from"efficient-shell/format";var R="hover",qg="_gHover",Rd={none:"None",nextImage:"Show next image",rotate:"Rotate",zoom:"Zoom",lift:"Lift",mono:"Black and white"},te="highlight",Cd="Highlight",Zg=["none",te],Qg={none:Rd.none,[te]:Cd};function Ld(e){return e[R]===te?te:"none"}var Jg="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)]",eb="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 tb(e,t){return Ld(e)!==te?null:{"--sf-hl-bg":t("surface"),"--sf-hl-ink":t("main")}}var Nd=et(["none","lift"]);function ob(e){let t=e[R];return Nd.includes(t)?t:"none"}var Ba=et(["none","nextImage","rotate"]),k={kind:R,angle:"hoverAngle",duration:"hoverDuration",delay:"hoverDelay",mediaKind:"hoverKind",mediaGroup:"hoverGroup",cover:"hoverCover"},co="spinOnHover",Ha=we,Ma={ProductGrid:"rotate",RelatedProducts:"rotate",AlloyWheelsListing:"none"},sb=Object.keys(Ma);function Id(e){return Ma[e]??"none"}var Pd=Ad.rotateFallbackDeg,Hd=e=>e==="rendering"?"renderings":e,Dd=e=>e==="renderings"?"rendering":e,Fa=Object.freeze(Od.filter(e=>e!=="videos").map(Hd)),ab=Object.freeze(Object.fromEntries(Fa.map(e=>[e,kd[Dd(e)]]))),Bd=["finish","first"],nb={finish:"Same finish",first:"First group"},Md=["card","picture"],ib={card:"Whole card",picture:"Picture"},io={kind:"photos",group:"finish",cover:"card"},ro=(e,t,o)=>e.includes(t)?t:o;function Ga(e){return{kind:ro(Fa,e[k.mediaKind],io.kind),group:ro(Bd,e[k.mediaGroup],io.group),cover:ro(Md,e[k.cover],io.cover)}}function rb(){return{field:k.kind,is:"nextImage"}}function Fd(e,t){let o=e[k.kind];if(Ba.includes(o))return o;let s=e[co];return typeof s=="boolean"?s?"rotate":"none":t}function Gd(e){let t=D(e);return t===void 0?Pd:Math.min(Ha.max,Math.max(Ha.min,t))}function lb(e,t){let o=Id(t),s=Fd(e,o);return{kind:s,angle:s==="rotate"?Gd(e[k.angle]):null,duration:Je("hover","duration",s==="rotate"?e[k.duration]:void 0),delay:Je("hover","delay",s==="rotate"?e[k.delay]:void 0),...s==="nextImage"?{media:Ga(e)}:{}}}function cb(e){let t={field:k.kind,in:[...Ba]};return{any:[{field:k.kind,is:"rotate"},{all:[{not:t},e==="rotate"?{not:{field:co,is:!1}}:{field:co,is:!0}]}]}}var Wa=et(["none","mono"]),Wd=et(["none","nextImage","mono"]),Ya={ImageBlock:"none",Manifesto:"none",Split:"none",ContactLocations:"mono"},db=Object.keys(Ya);function Yd(e){return Ya[e]??"none"}var Ua={zoom:"hoverZoom",darken:"hoverDarken"},lo={min:100,max:150,step:1,unit:"%"};function Ud(e){let t=D(e[Ua.zoom]);if(t===void 0)return null;let o=Math.min(lo.max,Math.max(lo.min,t));return o===lo.min?null:String(o/100)}function Kd(e){let t=D(e[Ua.darken]);return t!==void 0&&t>0?t:null}var hb="hoverShow",ub="cardHover",pb="always",$d=["ImageBlock","Flex"];function Vd(e,t,o=Wa){let s=e[R];return o.includes(s)?s:t}function mb(e,t=""){let o=$d.includes(t)?Wd:Wa,s=Vd(e,Yd(t),o),a=s==="mono";return{kind:s,duration:Je("hover","duration",a?e[k.duration]:void 0),delay:Je("hover","delay",a?e[k.delay]:void 0),...s==="nextImage"?{media:Ga(e),...t==="Flex"?Da(e):{}}:Da(e)}}function Da(e){let t=Ud(e),o=Kd(e);return{...t?{zoom:t}:{},...o?{darken:o}:{}}}function fb(){return{not:{field:R,is:"nextImage"}}}function wb(e){return e==="none"?{field:R,in:["mono","nextImage"]}:{not:{field:R,is:"none"}}}function gb(e){return e==="none"?{field:R,is:"mono"}:{not:{field:R,in:["none","nextImage"]}}}var Eb=()=>({tag:"h2",_partStyles:{text:{textStyle:"heading-2"}}}),Ka=()=>({_partStyles:{text:{...so,color:"accent",letterSpacing:.3,lineHeight:1.5}}});var ge="Cards",jd={...y,gap:12,gapPhone:12,...M(32,32,28,28)},Xd={textStyle:"heading-3",...S("headingSmall",20),weight:500,case:"upper",lineHeight:1.5,letterSpacing:.02},Ne={textStyle:"body-1",...S("body",15),lineHeight:1.6},u=(e,t,o,s=!1)=>({type:"Text",props:{...t,text:"",[b]:e,_partStyles:{text:{...s?Ka()._partStyles?.text??{}:{},...o}}}}),be={title:"title",body:"body"},tt={title:"name",body:"note"},zd=(e=be)=>({type:f,props:{...jd,name:"Card"},slots:{[p]:[u(e.title,{...E,tag:"p",widthFit:"fill"},Xd),u(e.body,{..._,tag:"p",widthFit:"fill"},Ne)]}}),Va=(e,t)=>T([zd(t)],e),$a={label:be.title,href:"href"},qd={textStyle:"body-1",fontRole:"heading",color:"text",...S("body",17),weight:500,case:"upper",letterSpacing:.06,lineHeight:1.5},Zd=Na(9,"main",{[Pa]:45}),Qd=(e=!1)=>({type:f,props:{...y,name:"Card",direction:"row",align:"center",gap:16,gapPhone:16,phoneRow:2,sharePhone:"content",wrapPhone:!1,...M(32,28),[O]:$a.href,...e?{[R]:te}:{}},slots:{[p]:[{type:f,props:{...Zd,name:"Mark"}},u($a.label,{...E,tag:"p",widthFit:"fill"},qd)]}}),ja=e=>fe(e,"card"),Xa=(e,t=!1)=>T([Qd(t)],e);var ho="ArticleBody",Jd={textStyle:"heading-3",...S("headingSmall",20),weight:500,lineHeight:1.4,align:"center"},eh={...Ne,align:"center"},za=640,th=()=>[u("heading",{...E,tag:"h2",align:"center",maxWidth:za},Jd),u("paragraph",{..._,tag:"p",align:"center",maxWidth:za},eh)],oh=e=>T(th(),e);function sh(e){return oh((t,o)=>`${e}~${o==="0"?"heading":"paragraph"}`)}function qa(e){return Y(e,h,ho,sh)}import{addShowWhenFacts as ah}from"efficient-shell/format";import{showWhenOf as Hb,shownForOption as Db,truthy as Bb,withRowRules as Mb,withRowsShownWhen as Za,withShowWhen as Fb}from"efficient-shell/format";var Gb=ah;function Wb(e,t,o){return e.slice(0,-1).reduceRight((s,a)=>({any:[{all:[t(a),o(a)]},{all:[{not:t(a)},s]}]}),o(e[e.length-1]))}var nh="inline",ih=[{label:"In this section",value:"inline"},{label:"In its own box",value:"own-box"}];var rh={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"}},Vb="SectionHeader";function jb(e){return le(rh,e)}function Qa(e){return Ce(ih,nh,e)}var lh=new Set(["Flex"]);function Xb(e){return!!e?.type&&lh.has(e.type)}var Ja={not:{field:"headPlacement",is:"own-box"}},zb={not:Ja};function qb(e,t,o){return Za(e,o,Ja)}var Qb="data-sf-spec-region";function Jb(e){return e.writable===!0&&e.sized===!0}function ey(e,t,o){if(!e)return;let s=o[e];if(s)return{fontFamily:`var(--font-role-${e})`,fontSize:`var(--size-${s}, ${t.builtIn})`}}function ty(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 en(e){return`@${e}`}function oy(e,t){if(!t.startsWith("@"))return null;let o=t.slice(1);return o in e?o:null}function sy(e,t){return t&&t in e?t:null}function on(e,t){if(e!==ge)return t;if(t[h]!==void 0)return tn(t);let o=W(t,ge),s=ja(o);if(t.cardStyle==="label-only"){let n=Array.isArray(t.items)&&t.items.some(i=>B(i?.href)!==void 0);return tn({...t,[h]:Xa(s,n)})}let a=x(t)?tt:be;return{...t,[h]:Va(s,a)}}var ch=e=>{let[t,o]=e?[be,tt]:[tt,be];return new Map([[t.title,o.title],[t.body,o.body]])};function sn(e,t){let o=null;return e.forEach((s,a)=>{let n=s?.props;if(!n)return;let i=n,r=n[b];s.type==="Text"&&typeof r=="string"&&t.has(r)&&(i={...i,[b]:t.get(r)});let l=n[p];if(Array.isArray(l)){let d=sn(l,t);d!==l&&(i={...i,[p]:d})}i!==n&&(o??=[...e],o[a]={...s,props:i})}),o??e}function tn(e,t){if(!Array.isArray(e[h]))return e;let o=ch(!!x(e)),s=t?new Map([...o].filter(([n,i])=>t(i)&&!t(n))):o;if(!s.size)return e;let a=sn(e[h],s);return a===e[h]?e:{...e,[h]:a}}var an="OrderSummary";var dh="label";function ot(e){return Y(e,h,A,t=>T([hh()],fe(t,"item")))}function hh(){return{type:f,props:{...y,name:"Item"},slots:{[p]:[u(dh,{...E,tag:"p"},Ne)]}}}var nn="ProcessSteps",uh={eyebrow:"eyebrow",title:"title",copy:"copy",image:"image",tag:"tag",specs:"specs"},ye=uh,ph=()=>({type:f,props:{...y,name:"Row",direction:"row",share:"equal",align:"center",gap:48,sectionPaddingTop:60,sectionPaddingBottom:60,sectionPaddingTopPhone:60,sectionPaddingBottomPhone:60},slots:{[p]:[{type:f,props:{...y,name:"Picture",direction:"column",gap:12},slots:{[p]:[{type:"ImageBlock",props:{[b]:ye.image,aspect:"1/1",fit:"contain"}},u(ye.tag,{..._,tag:"p"},no(11))]}},{type:f,props:{...y,name:"Words",direction:"column",gap:16},slots:{[p]:[u(ye.eyebrow,{...E,tag:"p"},{...no(13),color:"accent"}),u(ye.title,{...E,tag:"h2"},{textStyle:"heading-2",...S("headingMedium",42,28),lineHeight:1.1,letterSpacing:-.02}),u(ye.copy,{..._,tag:"p"},{textStyle:"body-1",...S("body",15),lineHeight:1.6}),{type:A,props:{[b]:ye.specs}}]}}]}});function rn(e){return e.map(t=>{let o=t.props;for(let s of ue(t))o={...o,[s]:rn(o[s])};return t.type===A?{...t,props:ot(o)}:{...t,props:o}})}function vy(e){return rn(T([ph()],fe(e,"row")))}var mh="label",fh=()=>({type:"LogoBlock",props:{[b]:mh}}),st="Logos",ln=e=>T([fh()],()=>`${e}~logo`);function cn(e){return x(e)?Y(e,h,st,ln):e}function Ry(e){if(!x(e))return e;let t=e[h];return t!==void 0&&!(Array.isArray(t)&&t.length===0)?e:{...e,[h]:ln(W(e,st))}}var uo={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}},Ly=uo;var po="FAQ",wh="question",gh="answer",bh={textStyle:"body-1",fontRole:"heading",...S("body",18,15),weight:500,case:"upper",letterSpacing:.02,lineHeight:1.5},yh={textStyle:"body-1",...S("body",15),lineHeight:1.7};function Wy(){return Object.keys(uo).map(en)}var Eh=()=>({type:f,props:{...y,gap:0,name:"Question"},slots:{rowTitle:[u(wh,{...E,tag:"p",widthFit:"fill"},bh)],[p]:[u(gh,{..._,tag:"p",widthFit:"fill",maxWidth:760},yh)]}});function Sh(e){return Qa(e.headPlacement)==="own-box"?!1:["num","title","linkText"].some(t=>B(e[t])!==void 0)}function dn(e){return Sh(e)?e:Y(e,h,po,t=>{let o=0;return T([Eh()],s=>s===f?`${t}~row`:`${t}~row.${o++}`)})}var Th=["below","left","right"];function _h(e){return Th.includes(e)?e:"below"}function mo(e){return _h(e)!=="below"}function fo(e){return Array.isArray(e)?e.map(fo):!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,fo(o)]))}var U=e=>JSON.stringify(fo(e));var nt="Footprint",pn=e=>x(e)===jt,at=ao(11),vh={textStyle:"body-1",...S("body",18),weight:500,lineHeight:1.2},Qy=()=>({type:f,props:{...y,gap:8,gapPhone:8,...M(20,24,20,20),name:"Office"},slots:{[p]:[u("badge",{...E,tag:"p",widthFit:"fill"},at,!0),u("role",{...E,tag:"p",widthFit:"fill"},at,!0),u("city",{...E,tag:"p",widthFit:"fill"},vh),u("country",{..._,tag:"p",widthFit:"fill"},at),u("address",{..._,tag:"p",widthFit:"fill"},at),{type:"ButtonBlock",props:{variant:"link",label:"",href:"",[b]:"linkLabel",[O]:"href"}}]}}),mn={textStyle:"body-1",fontRole:"heading",...S("body",16),weight:500,lineHeight:1.25},go={textStyle:"body-1",...S("body",14),lineHeight:1.5},xh=()=>({type:f,props:{...y,gap:4,gapPhone:4,...M(16,4),sectionBorder:{bottom:1},name:"Office"},slots:{[p]:[u("city",{...E,tag:"p",widthFit:"fill"},mn),u("address",{..._,tag:"p",widthFit:"fill"},go),u("phone",{..._,tag:"p",widthFit:"fill"},go)]}});function fn(e){let t=W(e,nt),o=0;return T([xh()],s=>s===f?`${t}~office`:`${t}~office.${o++}`)}function wn(e){return Array.isArray(e[h])&&e[h].length>0&&U(e[h])===U(fn(e))}var gn=e=>e===void 0||Array.isArray(e)&&e.length===0;function hn(e){return mo(e.listPosition)?!gn(e[h])||pn(e)?e:{...e,[h]:fn(e)}:wn(e)?{...e,[h]:[]}:e}var Oh=mn,kh=go,Ah={textFit:"line"},bo=(e,t,o="",s={},a={})=>{let n=u(e,{...t?_:E,tag:"p",...s},{...kh,...a});return o?{...n,props:{...n.props,[O]:o}}:n},wo=(e,t,o,s)=>({type:f,props:{...y,gap:0,gapPhone:0,[Ae]:[e],name:s},slots:{[p]:[bo(e,t,o,Ah,{align:"right"})]}}),Rh=e=>({type:f,props:{...y,direction:"row",justify:"between",share:"content",phoneRow:2,sharePhone:"content",wrapPhone:"nowrap",gap:12,gapPhone:12,...e?M(20,24):{...M(16,4),sectionBorder:{bottom:1}},name:"Dealer"},slots:{[p]:[{type:f,props:{...y,justify:"center",gap:0,gapPhone:0,widthFit:"fill",name:"Dealer words"},slots:{[p]:[{type:f,props:{...y,gap:4,gapPhone:4,widthFit:"fill",name:"Dealer name"},slots:{[p]:[u("name",{...E,tag:"p",widthFit:"fill"},Oh),bo("address",!0)]}},bo("place",!0,"",{widthFit:"fill"})]}},{type:f,props:{...y,align:"end",gap:4,gapPhone:4,name:"Dealer contact"},slots:{[p]:[wo("distance",!0,"","Dealer distance"),wo("phone",!1,"phoneHref","Dealer phone"),wo("website",!1,"websiteHref","Dealer website")]}}]}}),Ch=e=>{let t=Rh(e),o={type:f,props:{...y,...M(0,12),name:"Dealer"},slots:{[p]:[{...t,props:{...t.props,name:"Dealer row"}}]}};return e?t:o};function yo(e,t){let o=W(e,nt),s=0;return T([Ch(t)],(a,n)=>n==="0"?`${o}~dealer`:`${o}~dealer.${s++}`)}function un(e){if(!Array.isArray(e[h])||e[h].length===0)return!1;let t=U(e[h]);return t===U(yo(e,!0))||t===U(yo(e,!1))}function bn(e){if(pn(e)){let o=yo(e,!mo(e.listPosition));return!(gn(e[h])||wn(e)||un(e))||U(e[h]??[])===U(o)?e:{...e,[h]:o}}if(!un(e))return hn(e);let t={...e,[h]:[]};return hn(t)}var Lh="Card template",yn="items",En="itemFields";function oe(e,t){if(!t)return e;let o=typeof t=="string"?[t]:t;return e.filter(s=>o.includes(s.kind??"text"))}var Nh=[{block:an,typedRows:"rows",linesBetween:!0,fields:[{key:"label",label:"Item"},{key:"meta",label:"Meta line"},{key:"amount",label:"Amount"}]},{block:po,typedRows:"items",fields:[{key:"question",label:"Question"},{key:"answer",label:"Answer",multiline:!0}],seedOnInsert:e=>dn(e)},{block:nt,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=>bn(e)},{block:ge,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=>on(ge,e)},{block:nn,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:st,fields:[{key:"label",label:"Name"},{key:"kind",label:"Kind"}],seed:e=>cn(e)},{block:A,fields:[{key:"badge",label:"Highlight badge",everySource:!0,plain:!0}],typedRows:yn,seed:e=>ot(e)},{block:ho,fields:[{key:"heading",label:"Subhead"},{key:"paragraph",label:"Paragraph",multiline:!0}],seed:e=>qa(e)}];function v(){return he("efficient.card-templates",()=>new Map(Nh.map(e=>[e.block,e])))}function bE(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===it)throw new Error(`The card template of ${t.block} names "${it}" 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 s=[];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=B(i.label),l=Array.isArray(i.fields)?{fields:i.fields.map(d=>({...d}))}:null;s.some(d=>d.slot===i.slot)||s.push({slot:i.slot,...r?{label:r}:null,...l})}let a=s.some(i=>i.fields);if(a&&(t.fields.some(i=>i.everySource)||ea(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.`);a?Oe().add(t.block):Oe().delete(t.block);let n=B(t.typedRows);v().set(t.block,{block:t.block,...s.length?{slots:s}:{},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 Ih(e,t){let o=e?v().get(e)?.seed:void 0;return o?o(t):t}function yE(e,t){let o=Hh(e),s=(o.length?o:[h]).filter(r=>t[r]===void 0||Array.isArray(t[r])&&t[r].length===0);if(!s.length)return t;let a={...t};for(let r of s)delete a[r];let n=e?v().get(e)?.seedOnInsert:void 0,i=n?n(a):Ih(e,a);return i===a?t:i}function EE(){for(let e of v().values())if(e.blocks?.length)return!0;return!1}function SE(e){return v().get(e)?.blocks??[]}function TE(e){for(let t of v().values())if(t.blocks?.some(o=>o.type===e))return!0;return!1}function _E(e){return typeof e=="string"&&v().get(e)?.typedRows||""}function vE(e){return typeof e=="string"&&v().get(e)?.linesBetween===!0}function xE(e){return typeof e=="string"&&v().has(e)}var Ph=[{slot:h}];function rt(e){if(typeof e!="string")return[];let t=v().get(e);return t?t.slots??Ph:[]}function Hh(e){return rt(e).map(t=>t.slot)}function Dh(e,t){return rt(e).some(o=>o.slot===t)}function OE(e,t){let o=rt(e).find(s=>s.slot===t);return o?o.label??Lh:null}function Eo(e,t){return t?rt(e).find(o=>o.slot===t)?.fields:void 0}function Bh(e,t){let o=v().get(e)?.fields??[];return oe(o,t)}function Mh(e,t){if(typeof e!="string")return"";let o=Eo(e,t);return(o?oe(o,"list"):Bh(e,"list"))[0]?.key??""}function Fh(e,t,o){return To(e)||Mh(t,o)}function Sn(e,t,o){let s=typeof e?.type=="string"?e.type:"";if(!s)return[];let a=Eo(s,o);if(a)return oe(a,t);let n=v().get(s)?.fields??[],i=ze(x(e?.props))?.fields,r=i?.length?[...i.map(l=>({...l})),...n.filter(l=>l.everySource&&!i.some(d=>d.key===l.key))]:n;return oe(r,t)}function Gh(e,t,o,s){if(!e)return null;let a=Eo(e,s);return a?a.find(n=>n.key===t)??null:o?Sn(o).find(n=>n.key===t)??null:v().get(e)?.fields.find(n=>n.key===t)??null}function So(e,t){return!e||!t?null:e.fields?.find(o=>o.key===t)??Gh(e.ownerType,t,e.owner,e.slot)}function kE(e,t){return So(e,t)?.plain===!0}function AE(e,t){return So(e,t)?.kind==="date"}function To(e,t=b){let o=e?.[t];return typeof o=="string"?o.trim():""}function RE(e,t){return e.key||String(t+1)}function CE(e){let t={};if(e&&typeof e=="object"&&!Array.isArray(e))for(let[o,s]of Object.entries(e))typeof s=="string"&&(t[o]=s);return t}function LE(e,t){let o=e[Ae];return!t||!Array.isArray(o)||!o.length?!1:o.every(s=>typeof s!="string"||!t[s]?.trim())}var _o={Text:{text:b,href:O},ImageBlock:{src:b,href:O},ButtonBlock:{label:b,href:O},LogoBlock:{alt:b,href:O},Breadcrumb:{currentCrumb:b}},NE=_o,Wh=new Set(["ButtonBlock.label","LogoBlock.alt"]);function IE(e,t,o){return Yh(e,t,o)&&!Wh.has(`${e}.${o}`)}function Yh(e,t,o){return Uh(e,t,o)!==""}function Uh(e,t,o){let s=_o[e]?.[o];return s?To(t,s):""}function Tn(e,t){return!t||!e?null:e[t]??""}function Kh(e,t){return Tn(e,t)?.trim()||void 0}function PE(e,t,o,s,a,n){if(!o)return t;let i=null;for(let[r,l]of Object.entries(_o[e]??{})){let d=To(t,l),g=Tn(o,d);if(g!==null){if(i??={...t},l===O){i[r]=Kh(o,d);continue}i[r]=So({ownerType:s,fields:a,slot:n},d)?.mark==="accentItalic"?Us(g):g}}return i??t}function lt(e,t){let o=e?.data?.content;if(!Array.isArray(o)||typeof t!="string")return;let s=(n,i)=>{for(let r of n){if(r?.props?.id===t)return i;for(let l of ue(r??{})){let d=r.props[l],g=Dh(r.type,l)?{owner:r,slot:l,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},w=s(d,g);if(w!==void 0)return w}}},a=s(o,null);return a===void 0?null:a}function $h(e,t){let o=lt(e,t);return o&&o.owner}function Vh(e,t){let o=lt(e,t);return o&&o.slot}function HE(e,t){let o=lt(e,t);return o&&(o.direct?o.owner:null)}function DE(e,t){let o=lt(e,t);if(o!==void 0)return o===null?{inCopy:!1,nestedCopy:!1,underBox:!1}:{inCopy:!0,nestedCopy:o.nested,underBox:o.underBox}}function BE(e,t,o){if(t?.type!==A)return[];let s=$h(e,t.props?.id);if(!s){let r=ze(x(t.props))?.fields,l=r?.length?r.map(w=>({...w})):jh(t.props),d=(v().get(A)?.fields??[]).filter(w=>w.everySource&&!l.some(P=>P.key===w.key)),g=[...l,...d];return oe(g,o)}let a=Vh(e,t.props?.id)??void 0,n=Fh(t.props,s.type,a),i=n&&Sn(s,"list",a).find(r=>r.key===n)?.fields||[];return oe(i,o)}function ME(e,t){return{[b]:"",[yn]:e.map(o=>({...o})),[En]:t.map(o=>({...o}))}}function jh(e,t){let o=e?.[En];if(!Array.isArray(o))return[];let s=o.flatMap(a=>{if(!a||typeof a!="object")return[];let{key:n,label:i,kind:r,multiline:l,alt:d,next:g}=a;if(typeof n!="string"||!n||typeof i!="string")return[];let w=r==="image"||r==="link"||r==="colour"||r==="date"?r:void 0;return[{key:n,label:i,...w?{kind:w}:{},...l===!0?{multiline:!0}:{},...typeof d=="string"&&d?{alt:d}:{},...typeof g=="string"&&g?{next:g}:{}}]});return oe(s,t)}var it="HostPart";import{parseHexColor as Xh}from"efficient-shell/format";var vo=[{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}],zh=vo.filter(e=>e.ink);function _n(e){let t={color:e.fg};for(let{role:o,token:s}of zh)t[s]=e[o];return t}var qh={fg:"var(--overlay-fg)",line:"color-mix(in srgb, var(--overlay-fg) 24%, transparent)",muted:"color-mix(in srgb, var(--overlay-fg) 76%, transparent)"},Zh=Object.freeze(_n(qh)),Qh={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)"},Jh=Object.freeze(_n(Qh));function YE(e,t){let o=e?Xh(e):null;return o?ys(o,t)?Zh:Jh:null}var vn=-1,eu="sf-section-accent",$E="Color",xn=new Set(["CategoryBar","DocTabs"]),VE=new Set(["Flex"]),tu=0;function ou(e){return e===vn?null:typeof e=="number"&&Number.isInteger(e)&&e>=0?e:tu}function jE(e){return e??vn}function su(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:s}of vo)o[`--sf-sec-${s}`]=`var(${t}-${s}, var(--theme-${s}))`;return o}function XE(e){let t=ou(e.sectionAccent);return t===null?null:{className:eu,style:su(t)}}import{FOLLOW_RULES as nu,resolveViewValue as iu,viewKeyAt as ru}from"efficient-easel/screen/lib/content/view-tiers";var xo={desktop:"desktop",tablet:"tablet",phone:"mobile"},au=Object.keys(xo);function On(e){return xo[e??"desktop"]}function qE(e){return au.find(t=>xo[t]===e)??"desktop"}var Ao=["desktop","tablet","phone"],ko=(e,t)=>ru(e,On(t)),kn=e=>e.flatMap(t=>Ao.map(o=>ko(t,o))),Oo=e=>e===null||e===""?void 0:e,lu=(e,t,o)=>iu("same",Oo(e),Oo(t),Oo(o),nu);function An(e,t,o,s=e[t]){return lu(s,e[ko(t,"tablet")],e[ko(t,"phone")])[o]}import{createContext as ni,createElement as He,useContext as De}from"react";import{Fragment as qu,jsx as N}from"react/jsx-runtime";import{createContext as Fo,useContext as I}from"react";import{jsx as Se,Fragment as Gn}from"react/jsx-runtime";import{createContext as vu,useContext as Wn,useEffect as xu,useRef as Ou,useState as ku}from"react";import{SCROLL_ZOOM_VAR as Mn}from"efficient-shell/format";import{readEntrance as du}from"efficient-shell/format";var Ie={kind:"entrance",from:"entranceFrom",duration:"entranceDuration",delay:"entranceDelay"},Ro="sectionAnimation",cu=kn(Object.values(Ie));var Rn="sf-entrance",hu=e=>e!=null&&e!=="";function uu(e,t){let o=e[Ie[t]];return t==="kind"&&!hu(o)?e[Ro]:o}var ct=(e,t,o)=>An(e,Ie[t],o,uu(e,t));function Co(e,t){return du(ct(e,"kind",t),ct(e,"from",t),ct(e,"duration",t),ct(e,"delay",t))}var pu=e=>({desktop:Co(e,"desktop"),tablet:Co(e,"tablet"),phone:Co(e,"phone")});function cS(e){let t=pu(e);return Ao.every(o=>t[o].kind==="none")?null:t}var mu={...Object.fromEntries([...xn].map(e=>[e,"a root position: sticky bar; an outer box becomes its sticky containing block and the pin collapses (the same fact every wrapper pass excludes it for, lib/content/section-surface)"])),HeroSlide:"a slide is a direct child of the Hero's transform track ([&>*]:basis-full); a wrapper would take its width, and the Hero already moves one slide in at a time",HeroGroup:"a slide box is placed by grid-item properties on its own root (--sf-hg-row, justify-self); a wrapper becomes the grid item and the box loses its anchor (lib/document/blocks/general/HeroGroup/meta)",[it]:"a host part draws its data block's answer with no element of its own (lib/content/card-template HOST_PART_TYPE); a wrapper would be one, and the host's content is not the merchant's to animate"},dS=new Set(Object.keys(mu));function Cn(e,t,o,s){return t<=0?1/0:s?2*(e-4)/(t+o):2*(e-o/2-4)/t}function Ln(e,t,o){let s=r=>r.width>0&&r.height>0;if(!s(e)||t.some(r=>r.mark&&!s(r.rect)))return 1;let a=e.left+e.width/2,n=e.top+e.height/2,i=o;for(let{rect:r,mark:l}of t){let d=Math.abs(r.left+r.width/2-a),g=Math.abs(r.top+r.height/2-n),w=Math.max(Cn(d,e.width,r.width,l),Cn(g,e.height,r.height,l));i=Math.min(i,Math.max(1,w))}return i}var Nn=["cover","contain"],fu={cover:"Cover",contain:"Contain"},pS="Image fit";function Lo(e,t){return Nn.includes(e)?e:t}function mS(){return Nn.map(e=>({label:fu[e],value:e}))}function fS(e){return e==="contain"?"object-contain":"object-cover"}function No(e,t){return e!=="auto"&&t==="cover"}function dt(e){return`color-mix(in srgb, var(--overlay-scrim) ${Math.round(Math.min(1,Math.max(0,e))*1e3)/10}%, transparent)`}function yS(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"";default:return"aspect-square"}}var ht=[{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"}];function ES(e){return ht.filter(t=>e.includes(t.shape))}function SS(e){return e==="below"}var TS=`linear-gradient(180deg, transparent 40%, ${dt(.85)} 100%)`,_S=`linear-gradient(0deg, transparent 40%, ${dt(.85)} 100%)`,vS=dt(.45);var wu=ht.map(e=>e.image),F="fill",RS={label:"Fill row",value:F,showWhen:_a},Io="4/3",In={frame:"view-wide:h-full view-wide:min-h-[240px]",img:"view-wide:absolute view-wide:inset-0",figure:"view-wide:h-full"},Hn={all:{frame:"h-full min-h-[240px]",img:"absolute inset-0",figure:"h-full"},wide:In,tablet:In,desktop:{frame:"view-desktop:h-full view-desktop:min-h-[240px] max-view-desktop:aspect-[4/3]",img:"view-desktop:absolute view-desktop:inset-0",figure:"view-desktop:h-full"}};function CS(e,t,o){return t&&!Ee(o)?"all":e??"wide"}function Pn(e){return Hn[e]}var LS=Hn.all;function Dn(e){return e?`${e.img} h-full w-full`:"relative h-full w-full"}var gu={auto:"","3/4":"aspect-[3/4]","2/1":"aspect-[2/1]","21/9":"aspect-[21/9]","16/9":"aspect-[16/9]","4/3":"aspect-[4/3]","16/10":"aspect-[16/10]","1/1":"aspect-square","9/16":"aspect-[9/16]","2/3":"aspect-[2/3]","4/5":"aspect-[4/5]"},bu={auto:"","3/4":"view-wide:aspect-[3/4]","2/1":"view-wide:aspect-[2/1]","21/9":"view-wide:aspect-[21/9]","16/9":"view-wide:aspect-[16/9]","4/3":"view-wide:aspect-[4/3]","16/10":"view-wide:aspect-[16/10]","1/1":"view-wide:aspect-square","9/16":"view-wide:aspect-[9/16]","2/3":"view-wide:aspect-[2/3]","4/5":"view-wide:aspect-[4/5]"},yu={auto:"","3/4":"max-view-wide:aspect-[3/4]","2/1":"max-view-wide:aspect-[2/1]","21/9":"max-view-wide:aspect-[21/9]","16/9":"max-view-wide:aspect-[16/9]","4/3":"max-view-wide:aspect-[4/3]","16/10":"max-view-wide:aspect-[16/10]","1/1":"max-view-wide:aspect-square","9/16":"max-view-wide:aspect-[9/16]","2/3":"max-view-wide:aspect-[2/3]","4/5":"max-view-wide:aspect-[4/5]"},Eu={auto:"max-view-wide:aspect-auto!","3/4":"max-view-wide:aspect-[3/4]!","2/1":"max-view-wide:aspect-[2/1]!","21/9":"max-view-wide:aspect-[21/9]!","16/9":"max-view-wide:aspect-[16/9]!","4/3":"","16/10":"max-view-wide:aspect-[16/10]!","1/1":"max-view-wide:aspect-square!","9/16":"max-view-wide:aspect-[9/16]!","2/3":"max-view-wide:aspect-[2/3]!","4/5":"max-view-wide:aspect-[4/5]!"},Po=e=>wu.includes(e),Ee=Po;function NS(e){let t=Po(e)?ht.find(o=>o.image===e)?.ratio:null;return t?`${t[0]} / ${t[1]}`:null}function IS(e,t,o){return o==="contain"?!0:[e,t??e].every(s=>s!==F&&(!Po(s)||s==="auto"))}function PS(e,t){return e===F&&!t?Io:e}function HS(e){return e===F?Io:Ee(e)?e:void 0}function Bn(e,t){return Ee(t)?t===e?null:t:e===F?Io:null}function Su(e,t){let o=Bn(e,t);return No(e,"cover")||o!==null&&No(o,"cover")}function Tu(e,t,o){return Lo(e,"cover")==="cover"&&Su(t,o)}function DS(e,t,o,s){return e==="desktop"?Tu(t,o,s):Lo(t,"cover")!=="cover"?!1:_u(e==="tablet"?o:Bn(o,s)??o)}var _u=e=>e===F||Ee(e)&&e!=="auto";function BS(e,t,o="wide"){return e===F&&o==="all"?Pn("all").frame:t===null?Ee(e)?gu[e]:"":[e===F?Pn(o).frame:Ee(e)?bu[e]:"",e===F&&o==="desktop"?Eu[t]:yu[t]].filter(Boolean).join(" ")}var pt=vu(null);function $S({attrs:e,style:t,children:o}){return Se(pt.Provider,{value:{attrs:e,style:t},children:o})}function Yn({children:e}){return Se(pt.Provider,{value:null,children:e})}function VS({fill:e=null,children:t}){let o=Wn(pt);return o?Se("div",{className:Dn(e),...o.attrs,style:o.style,children:t}):Se(Gn,{children:t})}var ut="data-sf-mark";function Fn(e){let t=e.getBoundingClientRect(),o=e.firstElementChild,s=o&&typeof o.offsetWidth=="number"?o:e,a=Math.max(s.offsetWidth,e.offsetWidth),n=Math.max(s.offsetHeight,e.offsetHeight);return{left:t.left+t.width/2-a/2,top:t.top+t.height/2-n/2,width:a,height:n}}function Au(e){return e.closest(`[${ut}]`)||e.closest("style, script")?!1:[...e.childNodes].some(t=>t.nodeType===3&&(t.textContent??"").trim()!=="")}var Un=e=>e.closest(`.${Rn}`)??e.ownerDocument.body;function Ru(e,t){let o=Un(e),s=[];for(let a of o.querySelectorAll(`[${ut}]`))a!==e&&s.push({rect:Fn(a),mark:!0});for(let a of o.querySelectorAll("*")){if(a.contains(e)||!Au(a))continue;let n=a.getBoundingClientRect();n.width===0||n.height===0||s.push({rect:{left:n.left,top:n.top,width:n.width,height:n.height},mark:!1})}return Ln(Fn(e),s,t)}function jS({inCell:e=!1,children:t}){let o=Wn(pt),s=Ou(null),[a,n]=ku(null),i=o?Number.parseFloat(String(o.style[Mn])):Number.NaN;if(xu(()=>{let l=s.current;if(!l||!Number.isFinite(i))return;let d=()=>n(Ru(l,i));d();let g=l.ownerDocument.defaultView?.ResizeObserver;if(!g)return;let w=new g(d),P=Un(l);w.observe(l),w.observe(P);for(let H of P.querySelectorAll(`[${ut}]`))H!==l&&w.observe(H);return()=>w.disconnect()},[i]),!o)return Se(Gn,{children:t});let r=Number.isFinite(i)?{...o.style,[Mn]:String(a??1)}:o.style;return Se("span",{ref:s,className:e?"inline-flex min-w-0 max-w-full items-center justify-center":"inline-flex items-center justify-center",[ut]:"",...o.attrs,style:r,children:t})}import{FOLLOW_RULES as Cu,resolveViewValue as Lu}from"efficient-easel/screen/lib/content/view-tiers";import{LENGTH_UNITS as Nu}from"efficient-easel/screen/lib/content/length-units";var Iu=["auto","fixed","screen","fill"],Pu=Nu.filter(e=>e==="px"||e==="%"),Hu="svh",Du="vh",Bu="var(--sf-header-h, 88px)",Mu={min:40,max:2e3,step:10,fallback:600},Fu={min:10,max:200,step:5,fallback:100},Gu="sf-section-minh",Pe="grid-cols-[minmax(0,1fr)]",Kn={base:"--sf-section-minh",small:"--sf-section-minh-s"},Do=e=>typeof e=="string"&&Iu.includes(e),Wu=e=>typeof e=="string"&&Pu.includes(e);function mt(e){let t=Do(e.sectionHeightMode)?e.sectionHeightMode:"auto",o=t==="screen"?"%":Wu(e.sectionHeightUnit)?e.sectionHeightUnit:"px",s=t==="screen"?Fu.fallback:Mu.fallback,a=typeof e.sectionHeightValue=="number"?e.sectionHeightValue:s;return{mode:t,value:a,unit:o}}function jn(e){let{mode:t,value:o,unit:s}=mt(e);if(t==="auto"||t==="fill")return;if(t==="fixed"&&s==="px")return[`${o}px`,null];let a=o/100,n=i=>t==="screen"?`(100${i} - ${Bu})`:`100${i}`;return[`calc(${n(Du)} * ${a})`,`calc(${n(Hu)} * ${a})`]}function Xn(e){let t=jn(e);if(!t)return;let[o,s]=t;return{display:"grid",[Kn.base]:o,...s?{[Kn.small]:s}:{}}}var ZS=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),QS="Height",zn="sf-section-minh-phone",$n={base:"--sf-section-minh-p",small:"--sf-section-minh-ps"};function qn(e){return Do(e.sectionHeightModePhone)}function Yu(e){return mt({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone})}var Zn="sf-section-minh-tablet",Vn={base:"--sf-section-minh-t",small:"--sf-section-minh-ts"};function Qn(e){return Do(e.sectionHeightModeTablet)}function Uu(e){return mt({sectionHeightMode:e.sectionHeightModeTablet,sectionHeightValue:e.sectionHeightValueTablet,sectionHeightUnit:e.sectionHeightUnitTablet})}function Bo(e){let t=Xn(e),o=(r,l,d)=>jn({sectionHeightMode:r,sectionHeightValue:l,sectionHeightUnit:d})??(t?["auto",null]:void 0),s=Qn(e)?o(e.sectionHeightModeTablet,e.sectionHeightValueTablet,e.sectionHeightUnitTablet):void 0,a=qn(e)?o(e.sectionHeightModePhone,e.sectionHeightValuePhone,e.sectionHeightUnitPhone):s;if(!t&&!s&&!a)return null;let n=[Gu,Pe],i={...t??{}};return s&&(n.push(Zn),i[Vn.base]=s[0],s[1]&&(i[Vn.small]=s[1])),a&&(n.push(zn),i[$n.base]=a[0],a[1]&&(i[$n.small]=a[1])),{className:n.join(" "),style:i}}function JS(e){return Bo(e)!==null||ft(e).length>0}var Ho=`grid ${Pe}`,Jn="h-full",Ku="view-tablet:max-view-desktop:grid",ei="max-view-tablet:grid",$u="view-wide:max-view-desktop:grid",Vu="max-view-wide:grid",ju=`${ei} ${Pe}`;function eT(e,{atSectionLine:t=!1}={}){if(ft(e).length>0)return Ho;let o=Bo(e);if(!o)return"";if(Xn(e))return Ho;let s=o.className.split(" "),a=t?Ku:$u,n=t?ei:Vu;if(!s.includes(Zn))return t?ju:`${n} ${Pe}`;let i=s.includes(zn);return[a,i?n:"",Pe].filter(Boolean).join(" ")}var ti="data-sf-height-fill",Xu=["desktop","tablet","mobile"],zu={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 ft(e){let t=e,o=Lu("heightMode",mt(t).mode,Qn(t)?Uu(t).mode:null,qn(t)?Yu(t).mode:null,Cu),s={desktop:o.desktop==="fill",tablet:o.tablet==="fill",mobile:o.phone==="fill"};return Xu.filter(a=>s[a])}function tT(e){return ft(e).map(t=>zu[t]).join(" ")}function oT(e){let t=Bo(e);return ft(e).length===0?t:t?{className:`${t.className} grid`,style:t.style}:{className:Ho}}var oi={stretchedRow:!1,fillingColumn:!1},C=Fo(null),si=()=>I(C)!==null;function dT({line:e,draw:t}){return N(qu,{children:t(Re(e,si()))})}var hT=(e="by-box")=>Re(e,si()),uT=()=>I(C),pT=()=>I(C)?.id??null,K=Fo(!1);function Zu(){let e=I(C)?.stretchedRow===!0,t=I(K);return e&&!t}var Qu=()=>I(K);function Ju(){let e=I(C),t=Zu(),o=Qu();return{fill:o?` ${Jn}`:"",inner:s=>{let a=t||o?N(K.Provider,{value:!0,children:s}):s;return e?.columnsRow?N(C.Provider,{value:{...e,columnsRow:!1},children:a}):a}}}function mT({className:e,style:t,attrs:o,children:s}){let{fill:a,inner:n}=Ju(),i=Go();return i.scope(N("div",{className:Wo(`${e}${a}`,i.className),...t?{style:t}:{},...o,...i.attrs,children:n(s)}))}var Mo=Fo(!1);function fT({children:e}){return N(Mo.Provider,{value:!0,children:N(K.Provider,{value:!0,children:e})})}function wT({children:e,ownPictures:t=!1}){let o=I(C),s=I(Mo),a=I(K),n=s&&a,i=o===null?null:o.id===void 0?oi:{...oi,id:o.id};return N(C.Provider,{value:i,children:N(Mo.Provider,{value:!1,children:N(K.Provider,{value:n,children:t?e:N(Yn,{children:e})})})})}var wt=ni(null),ai="data-sf-view-hide",ii=e=>He(wt.Provider,{value:null},e),ri={className:"",attrs:{},scope:ii},ep=ri,li=ni(null),TT=(e,t)=>e?{className:e,views:t}:null,tp=e=>He(wt.Provider,{value:null},He(li.Provider,{value:null},He(K.Provider,{value:!0},e))),_T=(e,t,o={})=>e?{className:e,words:t,...o}:null,ci=(e,t)=>e.sectionClassName===void 0?{className:e.className,words:e.words}:Re(e.line??"by-box",t)?{className:e.className,words:`${e.words} edge`}:{className:e.sectionClassName,words:e.words};function Go(){let e=De(wt),t=De(li),o=De(C)!==null;if(e===null&&t===null)return ep;let s=e===null?null:ci(e,o);return t===null?{className:s.className,attrs:{[ai]:s.words},scope:ii}:{className:s?`${s.className} ${t.className}`:t.className,attrs:{...s?{[ai]:s.words}:{},[ti]:t.views},scope:tp}}function vT(){let e=De(wt),t=De(C)!==null;return e===null?"":ci(e,t).className}var Wo=(e,t)=>t?e?`${e} ${t}`:t:e;function xT(e){let t=Go(),o=e.takes===!1?ri:t,s={},a=!1;for(let[n,i]of Object.entries(e))n==="as"||n==="takes"||n==="children"||(n==="className"?(s.className=Wo(i,o.className),a=!0):s[n]=i);return!a&&o.className&&(s.className=o.className),o.scope(He(e.as??"div",{...s,...o.attrs},e.children))}var kT={small:54,medium:66,large:84},op=44,sp=16,ap=140,AT={min:sp,max:ap,step:1},RT=op*4;import{forwardRef as np}from"react";import{imageCopyUrl as di,imageSrcSet as hi}from"efficient-shell/image-copies";import{jsx as lp}from"react/jsx-runtime";var ip={position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,color:"transparent"};function ui(e,t,o){if(o){let s=hi(e);return s?{src:di(e,1280),srcSet:s,sizes:o}:{src:e,sizes:o}}if(t&&t>0){let s=hi(e,{maxWidth:t*3});return s?{src:di(e,t*2),srcSet:s,sizes:`${t}px`}:{src:e}}return{src:e}}var rp=np(function({src:t,width:o,height:s,fill:a,priority:n,loading:i,style:r,quality:l,placeholder:d,blurDataURL:g,unoptimized:w,loader:P,overrideSrc:H,sizes:$,...Be},gt){let Me=H??(typeof t=="string"?t:t.src),bt=ui(Me,a?void 0:Number(o)||void 0,$??(a?"100vw":void 0));return lp("img",{ref:gt,...bt,width:a?void 0:o,height:a?void 0:s,loading:n?"eager":i??"lazy",fetchPriority:n?"high":void 0,decoding:"async",style:a?{...ip,...r}:{color:"transparent",...r},...Be})}),IT=rp;function PT(e){let t=e.overrideSrc??(typeof e.src=="string"?e.src:e.src.src),o=e.fill?void 0:Number(e.width)||void 0;return{props:ui(t,o,e.sizes??(e.fill?"100vw":void 0))}}export{he as a,B as b,rc as c,qf as d,lc as e,Zf as f,Qf as g,Jf as h,ew as i,tw as j,ow as k,jt as l,cc as m,sw as n,aw as o,ea as p,ze as q,nw as r,iw as s,x as t,mc as u,rw as v,b as w,O as x,h as y,A as z,Ae as A,q as B,fc as C,sa as D,ue as E,mw as F,fw as G,ww as H,Sc as I,gw as J,xe as K,le as L,Mm as M,ce as N,Fm as O,ul as P,Gm as Q,Wm as R,Ym as S,Um as T,fl as U,je as V,Xm as W,p as X,f as Y,na as Z,Sw as _,Tw as $,ve as aa,fm as ba,Gt as ca,wm as da,gm as ea,bm as fa,ym as ga,ol as ha,V as ia,sl as ja,Tm as ka,Zm as la,Qm as ma,bl as na,Jm as oa,ef as pa,hf as qa,Kt as ra,Gl as sa,Ws as ta,wf as ua,gf as va,bf as wa,Us as xa,yf as ya,Ef as za,Sf as Aa,D as Ba,we as Ca,Pa as Da,Kg as Ea,R as Fa,qg as Ga,Rd as Ha,te as Ia,Cd as Ja,Zg as Ka,Qg as La,Jg as Ma,eb as Na,tb as Oa,Nd as Pa,ob as Qa,Ba as Ra,k as Sa,co as Ta,sb as Ua,Id as Va,Pd as Wa,Fa as Xa,ab as Ya,Bd as Za,nb as _a,Md as $a,ib as ab,io as bb,rb as cb,Fd as db,Gd as eb,lb as fb,cb as gb,Wa as hb,Wd as ib,db as jb,Yd as kb,Ua as lb,lo as mb,hb as nb,ub as ob,pb,$d as qb,Vd as rb,mb as sb,fb as tb,wb as ub,gb as vb,ca as wb,ra as xb,xw as yb,Ow as zb,kw as Ab,Mc as Bb,qe as Cb,Iw as Db,Pw as Eb,Hw as Fb,da as Gb,Ze as Hb,Dw as Ib,Uc as Jb,Bw as Kb,Zt as Lb,Kc as Mb,Fw as Nb,ha as Ob,Gw as Pb,Ce as Qb,jc as Rb,Xc as Sb,zc as Tb,pa as Ub,Kw as Vb,ma as Wb,$w as Xb,fa as Yb,Xw as Zb,wa as _b,Z as $b,zw as ac,qw as bc,Zw as cc,Ea as dc,me as ec,ng as fc,ed as gc,id as hc,ig as ic,rg as jc,Jt as kc,lg as lc,cg as mc,rd as nc,hg as oc,ug as pc,pg as qc,mg as rc,hd as sc,pd as tc,fg as uc,wg as vc,gg as wc,bg as xc,yg as yc,Eg as zc,Sg as Ac,Tg as Bc,_g as Cc,Oa as Dc,ka as Ec,vg as Fc,xg as Gc,Og as Hc,kg as Ic,Ag as Jc,Ed as Kc,Rg as Lc,Cg as Mc,Ca as Nc,Lg as Oc,Ng as Pc,Sd as Qc,Ig as Rc,Pg as Sc,La as Tc,E as Uc,_ as Vc,vd as Wc,y as Xc,M as Yc,xd as Zc,Na as _c,S as $c,Wg as ad,so as bd,ao as cd,no as dd,T as ed,W as fd,Eb as gd,Ka as hd,ge as id,Ne as jd,u as kd,be as ld,tt as md,zd as nd,Va as od,$a as pd,Qd as qd,ja as rd,tn as sd,nn as td,vy as ud,ho as vd,oh as wd,qa as xd,fh as yd,Ry as zd,Hb as Ad,Db as Bd,Bb as Cd,Mb as Dd,Za as Ed,Fb as Fd,Gb as Gd,Wb as Hd,rh as Id,Vb as Jd,jb as Kd,Qa as Ld,Xb as Md,Ja as Nd,zb as Od,qb as Pd,Qb as Qd,Jb as Rd,ey as Sd,ty as Td,en as Ud,oy as Vd,sy as Wd,uo as Xd,Ly as Yd,Wy as Zd,Eh as _d,_h as $d,U as ae,Qy as be,bn as ce,yn as de,En as ee,oe as fe,bE as ge,Ih as he,yE as ie,EE as je,SE as ke,TE as le,_E as me,vE as ne,xE as oe,Hh as pe,Dh as qe,OE as re,Bh as se,Fh as te,Sn as ue,So as ve,kE as we,AE as xe,To as ye,RE as ze,CE as Ae,LE as Be,NE as Ce,IE as De,Yh as Ee,Uh as Fe,Tn as Ge,Kh as He,PE as Ie,$h as Je,Vh as Ke,HE as Le,DE as Me,BE as Ne,ME as Oe,it as Pe,Tt as Qe,_t as Re,yp as Se,Ep as Te,dr as Ue,vt as Ve,Sp as We,hr as Xe,Tp as Ye,_p as Ze,Op as _e,Cp as $e,Lp as af,Np as bf,Ip as cf,It as df,Pt as ef,Pp as ff,se as gf,br as hf,bs as if,Hp as jf,Dp as kf,ne as lf,ae as mf,Tr as nf,Bp as of,Mp as pf,Ke as qf,ys as rf,Fp as sf,Gp as tf,Wp as uf,Dt as vf,Yp as wf,Es as xf,Ar as yf,Up as zf,Kp as Af,$p as Bf,Cr as Cf,Vp as Df,jp as Ef,Xp as Ff,zp as Gf,qp as Hf,Zp as If,Bt as Jf,Br as Kf,Qp as Lf,Jp as Mf,$e as Nf,Os as Of,Gr as Pf,em as Qf,Mt as Rf,ws as Sf,tm as Tf,om as Uf,Wr as Vf,Yr as Wf,ks as Xf,Ve as Yf,$r as Zf,Vr as _f,jr as $f,As as ag,Xr as bg,Rs as cg,nm as dg,im as eg,rm as fg,lm as gg,_e as hg,Cs as ig,cm as jg,dm as kg,Ft as lg,Ls as mg,hm as ng,um as og,pm as pg,vo as qg,zh as rg,Zh as sg,YE as tg,vn as ug,$E as vg,xn as wg,VE as xg,tu as yg,ou as zg,jE as Ag,su as Bg,XE as Cg,Xe as Dg,Vs as Eg,$s as Fg,Kl as Gg,$l as Hg,Vl as Ig,vf as Jg,jl as Kg,xf as Lg,de as Mg,Of as Ng,kf as Og,Af as Pg,zl as Qg,Xs as Rg,Rf as Sg,Cf as Tg,Lf as Ug,Zl as Vg,Nf as Wg,Jl as Xg,dt as Yg,yS as Zg,ht as _g,ES as $g,SS as ah,xo as bh,On as ch,qE as dh,Ao as eh,ko as fh,kn as gh,lu as hh,An as ih,Ie as jh,Ro as kh,cu as lh,Rn as mh,Co as nh,pu as oh,cS as ph,dS as qh,fu as rh,pS as sh,Lo as th,mS as uh,fS as vh,F as wh,RS as xh,CS as yh,Pn as zh,LS as Ah,Dn as Bh,NS as Ch,IS as Dh,PS as Eh,HS as Fh,Bn as Gh,Su as Hh,Tu as Ih,DS as Jh,BS as Kh,$S as Lh,Yn as Mh,VS as Nh,jS as Oh,Iu as Ph,Mu as Qh,Fu as Rh,Pe as Sh,mt as Th,ZS as Uh,QS as Vh,qn as Wh,Qn as Xh,Uu as Yh,JS as Zh,Ho as _h,Jn as $h,eT as ai,ft as bi,tT as ci,oT as di,C as ei,dT as fi,hT as gi,uT as hi,pT as ii,K as ji,Zu as ki,Qu as li,Ju as mi,mT as ni,fT as oi,wT as pi,wt as qi,ri,li as si,TT as ti,_T as ui,Go as vi,vT as wi,Wo as xi,xT as yi,kT as zi,op as Ai,sp as Bi,AT as Ci,RT as Di,IT as Ei,PT as Fi,Hf as Gi,hs as Hi,pp as Ii,Rm as Ji,cl as Ki,Cm as Li,Lm as Mi,Nm as Ni,Im as Oi,ac as Pi,Mf as Qi,qs as Ri,nc as Si,ic as Ti,Gf as Ui,Wf as Vi,Yf as Wi};
|
|
96
|
+
`)}function Ef(e,t,o){return Ll(e,t,o,Kt)}function Ks(e){return e.map(t=>t.kind==="text"?t.text:Ks(t.children)).join("")}function Sf(e){let t=o=>o.some(s=>s.kind==="link"||"children"in s&&t(s.children));return Ws(e).some(o=>t(o.children))}import{VIEW_DESKTOP_MIN as Yl,VIEW_TABLET_MIN as Ul}from"efficient-easel/screen/lib/content/view-tiers";var Vs="v1",js=800,$s={"view-tablet":Ul,"view-desktop":Yl,"view-wide":js};function vf(e){let t=e.startsWith("max-"),o=t?e.slice(4):e;if(o in $s)return{px:$s[o],max:t};let s=/^(max|min)-\[(\d+)px\]$/.exec(e);return s?{px:Number(s[2]),max:s[1]==="max"}:void 0}var xf=`(min-width: ${js}px)`,Kl="data-sf-line",$l="edge",Of={[Kl]:$l},Oe=(e,t)=>e==="edge"||e!=="section"&&t;import{isNodeList as Vl}from"efficient-easel/data";var Xe=["top-left","top-center","top-right","left","center","right","bottom-left","bottom-center","bottom-right"],zs="bottom-left",z=4,jl=z+1,Xs=40,Xl=30,zl=100,ql=60,Rf=100;var $t={"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 Zl(e){let t=Xe.indexOf(de(e));return{band:Math.floor(t/3),column:["start","center","end"][t%3]}}function Ql(e){return 1+Zl(e).band*(jl+1)}function Cf(e){return Ql(e)+1}function de(e){return Xe.includes(e)?e:zs}function Lf(e){let t=typeof e=="number"&&Number.isFinite(e)?e:0;return Math.max(-Xs,Math.min(Xs,Math.round(t)))}function Nf(e,t=ql){let o=typeof e=="number"&&Number.isFinite(e)?e:t;return Math.max(Xl,Math.min(zl,Math.round(o)))}function Vt(e,t){let o=de(t);return e.filter(s=>de(s?.props?.placement)===o).length}function qs(e){return`${$t[de(e)]} already holds ${z} boxes. Move one somewhere else first.`}function If(e,t){let o=e.filter(s=>s?.props?.id!==t);return Xe.map(s=>{let a=Vt(o,s)>=z,n=$t[s];return a?{value:s,label:n,disabled:!0,title:qs(s)}:{value:s,label:n}})}function Jl(e,t){let o=t===void 0?zs:de(t?.props?.placement);return Vt(e,o)>=z?qs(o):null}var Zs="HeroGroup";function Pf(e){let t=new Map,o=!1,s=e.filter(a=>{let n=de(a?.props?.placement),i=(t.get(n)??0)+1;return t.set(n,i),i<=z?!0:(o=!0,!1)});return o?s:e}function ec(e){return Xe.map(t=>{let o=Vt(e,t);return{anchor:t,total:o,hidden:o-z}}).filter(t=>t.hidden>0)}function Hf(e){let t=ec(e);return t.length===0?null:t.map(({anchor:o,total:s,hidden:a})=>{let n=$t[o],i=a===1?"1 is not shown":`${a} are not shown`;return`${n} holds ${s} boxes. The published page draws the first ${z}, so ${i}. ${a===1?"Move it":"Move them"} somewhere else.`}).join(" ")}function Df(e,t){let o=t;if(o?.type!==Zs)return null;let s=o.props?.id===void 0?"":String(o.props.id);return s?Jl(tc(e,s),o):null}function tc(e,t){let o=Qs(e,t);return o&&o.ownerType===sc?o.siblings:[]}function Bf(e,t){let o=Qs(e,t);return o?o.ancestorTypes.filter(s=>s===Zs).length:oc}var oc=1,sc="HeroSlide";function Qs(e,t){let o=(s,a,n)=>{if(a>12||!s||typeof s!="object")return null;if(Vl(s)){if(s.some(i=>i?.props?.id===t))return{siblings:s,ownerType:n.at(-1)??null,ancestorTypes:n};for(let i of s){let r=i.type,l=o(i,a+1,[...n,String(r)]);if(l)return l}return null}for(let i of Object.values(s)){let r=o(i,a+1,n);if(r)return r}return null};return o(e,0,[])}import{forwardRef as ac}from"react";import{jsx as rc}from"react/jsx-runtime";function nc(e){if(typeof e=="string")return e;let t=e.query?`?${new URLSearchParams(e.query).toString()}`:"",o=e.hash?e.hash.startsWith("#")?e.hash:`#${e.hash}`:"";return`${e.pathname??""}${t}${o}`}var ic=ac(function({href:t,prefetch:o,replace:s,scroll:a,shallow:n,legacyBehavior:i,passHref:r,locale:l,onClick:d,children:g,...w},P){let H=$=>{d?.($),!($.defaultPrevented||w.target==="_blank")&&$.preventDefault()};return rc("a",{ref:P,href:nc(t),onClick:H,...w,children:g})}),Gf=ic;var lc="Website";function Uf(e){return e?.trim()||lc}var Js=["instagram","facebook","tiktok","youtube","x","linkedin","pinterest","whatsapp","telegram","line","wechat"],cc={instagram:"Instagram",facebook:"Facebook",tiktok:"TikTok",youtube:"YouTube",x:"X",linkedin:"LinkedIn",pinterest:"Pinterest",whatsapp:"WhatsApp",telegram:"Telegram",line:"LINE",wechat:"WeChat"},dc={};function $f(e){if(!e||typeof e!="object")return dc;let t={};for(let o of Js){let s=e[o];if(typeof s!="string")continue;let a=s.trim();!a||!/^https?:\/\//i.test(a)||(t[o]=a)}return t}function Vf(e){return Js.flatMap(t=>{let o=e[t];return o?[{platform:t,href:o,label:cc[t]}]:[]})}var jf=e=>`${e}_url`;function he(e,t){let o=globalThis,s=Symbol.for(e),a=o[s];return a===void 0&&(a=t(),o[s]=a),a}function ke(){return he("efficient.slot-field-blocks",()=>new Set)}var hc="dataSource",tw="dataSourceOptions",uc="dataRows",ow="countKey",sw="counts",aw="location-payment-methods",nw="shop-payment-methods",iw="delivery-options",rw="blog-categories",jt="dealers";function pc(e){return typeof e.open=="function"}var oa=/^[a-z][a-z0-9]*(-[a-z0-9]+)*$/;function lw(e){return typeof e=="string"&&oa.test(e)}var ea=new Set([jt]);function Ae(){return he("efficient.block-sources",()=>({sources:new Map,revision:0}))}var mc=e=>[e?.key,e?.label,e?.value].every(t=>typeof t=="string"&&t.trim()!==""),fc=e=>[e?.key,e?.label].every(t=>typeof t=="string"&&t.trim()!==""),ta=e=>typeof e=="string"&&e.trim()!=="";function wc(e){if(!e||!ta(e.label))return null;if(pc(e))return{label:e.label.trim(),open:e.open};let t=e.href;return ta(t)?{label:e.label.trim(),href:t.trim()}:null}function gc(e){if(typeof e.key!="string"||!oa.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(s=>typeof s!="string"||!s))throw new Error(`The block source ${e.key} names no block it can fill.`);let t=e.blocks.find(s=>ke().has(s));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=wc(e.edit);return{key:e.key,label:e.label.trim(),blocks:[...e.blocks],...e.sample?{sample:e.sample.map(s=>aa(s)).filter(s=>s!==null)}:{},...Array.isArray(e.choices)?{choices:e.choices.filter(mc)}:{},...Array.isArray(e.fields)?{fields:e.fields.filter(fc).map(s=>({...s}))}:{},...o?{edit:o}:{},...typeof e.useRows=="function"?{useRows:e.useRows}:{},...Array.isArray(e.records)?{records:e.records.filter(s=>typeof s=="string"&&s.trim()!=="").map(s=>s.trim())}:{}}}function cw(e){let t=e.map(gc),o=Ae();for(let s of t)o.sources.set(s.key,s);t.length&&(o.revision+=1)}function sa(e){let t=[...Ae().sources.values()],o=[...t.filter(s=>!ea.has(s.key)),...t.filter(s=>ea.has(s.key))];return e===void 0?o:o.filter(s=>s.blocks.includes(e))}function ze(e){return Ae().sources.get(e)??null}function dw(e){return Ae().sources.get(e)?.choices??[]}function hw(){return Ae().revision}function x(e){let t=e?.[hc];return typeof t=="string"?t.trim():""}function aa(e){if(!e||typeof e!="object"||Array.isArray(e))return null;let t={};for(let[o,s]of Object.entries(e)){let a=B(s);a&&(t[o]=a)}return Object.keys(t).length?t:null}function bc(e){let t=e?.[uc];return Array.isArray(t)?t.map(aa).filter(o=>o!==null):null}function uw(e,t,o=[]){let s=bc(e);if(s!==null&&(s.length||!t))return{rows:s,sample:!1};if(!t)return{rows:[],sample:!1};let a=ze(x(e))?.sample;return{rows:a?.length?a:o,sample:!0}}var b="rowField",O="rowLinkField",h="template",A="CardList",Re="hideWhenRowEmpty",Xt=["Text","ImageBlock","ButtonBlock","Flex"];function q(){return{type:"slot",allow:[...Xt]}}var na=Xt.filter(e=>e!=="ButtonBlock");function zt(){return{type:"slot",allow:[...na]}}var yc="boxes",ia={CardList:{template:zt()},Cards:{template:q()},FAQ:{template:q()},Flex:{rowTitle:{type:"slot",allow:["Text"]},content:{type:"slot"}},Footprint:{template:q()},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:q()},ProcessSteps:{[yc]:{type:"slot"},template:q()}};import{isNodeList as ra,slotsOf as Ec,storedKeyOrder as Sc}from"efficient-easel/data";var Tc={},_c=null;function vc(){let e=Object.fromEntries(Object.entries(ia).map(([t,o])=>[t,{fields:o}]));return _c??={components:{...e,...Tc}}}function ue(e){let t=e.props??{},o=typeof e.type=="string"?e.type:"",s=vc(),a=o!==""&&Object.prototype.hasOwnProperty.call(s.components,o)?Ec({type:o,props:t},s).map(r=>r.slot).filter(r=>!r.includes(".")):[],n=a.filter(r=>ra(t[r])),i=Sc(Object.keys(t).filter(r=>!a.includes(r)&&ra(t[r])));return[...n,...i]}function yw(e){let t=e.props??{};return ue(e).map(o=>t[o])}function Ew(e,t){let o=null;return e.forEach((s,a)=>{let n=t(s,a);n!==s&&((o??=e.slice())[a]=n)}),o??e}function Sw(e,t){let o=null;for(let s of ue(e)){let a=e.props[s],n=t(a,s);n!==a&&((o??={...e.props})[s]=n)}return o?{...e,props:o}:e}function xc(e,t){let o=e;if(!o||!Array.isArray(o.content))return e;let s=t(o.content);return s===o.content?e:{...o,content:s}}function Tw(e,t){let o=xc(e,t),s=e?.zones;if(!s||typeof s!="object")return o;let a=null;for(let[n,i]of Object.entries(s)){if(!Array.isArray(i))continue;let r=t(i);r!==i&&((a??={...s})[n]=r)}return a?{...o,zones:a}:o}var p="content",f="Flex",Oc="Text & media",kc="Layout & structure",ca=[{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"}],Ac=[...ca,{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:Oc})),Rc=(ce.find(e=>e.key==="structure")?.sections??[]).map(e=>({type:e.type,label:e.label,group:kc})),la=[...Ac,...Rc],qt=[...ca,{type:"HeroGroup",label:je}],Ow=qt.map(e=>e.type),Cc=1,Lc=qt.filter(e=>e.type!=="HeroGroup");function Nc(e){return e<Cc?qt:Lc}var Ic={Flex:{slot:p,choices:()=>la},Grid:{slot:p,choices:()=>la},HeroGroup:{slot:p,choices:Nc}};function kw(e,t=0){let o=xe(Ic,e);return o?{slot:o.slot,choices:o.choices(t)}:null}import{AUTO_RULES as Pc,FOLLOW_RULES as Hc,isAuto as Dc,resolveViewValue as Bc}from"efficient-easel/screen/lib/content/view-tiers";function Mc(){return Vs==="v2"?Pc:Hc}function qe(e,t,o,s,a=Mc()){let n=Bc(e,t,o,s,a),i={},r=(l,d)=>!Dc(l)||d!=null&&d!==t;return r(o,n.tablet)&&(i.tablet=n.tablet),r(s,n.phone)&&(i.phone=n.phone),i}var Iw={left:"start",center:"center",right:"end"},Pw={left:"justify-start",center:"justify-center",right:"justify-end"},Hw={left:"",center:"mx-auto",right:"ml-auto"},da={left:"",center:"text-center",right:"text-right"},Fc={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"}},Gc={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"}},Wc={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"}},Yc={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 Ze(e){return e==="left"||e==="center"||e==="right"?e:void 0}function Dw(e){return e==="start"?"left":e==="end"?"right":Ze(e)}function Uc(e,t,o){let s=Ze(e)??"left",a=qe("same",s,Ze(t),Ze(o)),n={};return a.tablet&&a.tablet!==s&&(n.tablet=a.tablet),a.phone&&a.phone!==s&&(n.phone=a.phone),n}function Bw(e,t,o,s,{atSectionLine:a=!1}={}){let n=Uc(t,o,s),i=a?Wc:Fc,r=a?Yc:Gc;return[n.tablet?i[e][n.tablet]:"",n.phone?r[e][n.phone]:""].filter(Boolean).join(" ")}var Zt="rowImageField",Kc="boxOutsideCopy",$c={all:[{field:Zt,set:!0},{not:{context:Kc,is:!0}}]},Fw={any:[{field:"bgImage",set:!0},$c]},ha="boxInCopy",Vc={any:[{not:{field:Zt,set:!0}},{not:{context:ha,is:!0}}]},Gw={all:[{not:{field:"bgImage",set:!0}},Vc]},ua={all:[{not:{context:"parent.bgImage",set:!0}},{any:[{not:{context:`parent.${Zt}`,set:!0}},{not:{context:ha,is:!0}}]}]};function Ce(e,t,o){return e.some(s=>(typeof s=="object"?s.value:s)===o)?o:t}var jc="small",Xc="dot",zc=[{label:"Small",value:"small"},{label:"Display",value:"display"}],Qt=[{label:"Dot \u25CF",value:"dot"},{label:"Cross \u2715",value:"cross"},{label:"Slash /",value:"slash"},{label:"Triangle \u25BC",value:"triangle"},{label:"None",value:"none"}],pa={dot:"\u25CF",cross:"\u2715",slash:"/",triangle:"\u25BC",none:""},qc={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)]"},Zc={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 Kw(e){return Ce(zc,jc,e)}function ma(e){return Ce(Qt,Xc,e)}function $w(e){return qc[e]}function fa(e,t){return Zc[e][t]}var Xw=[{value:"none"},{value:"dot"},{value:"cross"},{value:"slash"},{value:"triangle"}];function wa(e){return Qt.some(t=>t.value===e)?ma(e):void 0}var Qc="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 Z(e,t){return e==="row"&&wa(t)!==void 0}function zw(e,t){return Z(e,t)?Qc:""}var Jc="[&>*: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 qw(e,t){return Z(e,t)?Jc:""}function Zw(e,t){if(!Z(e,t))return{};let o=wa(t),s=/^text-\[([\d.]+)em\]$/.exec(fa("small",o))?.[1],a=pa[o];return{"--sf-sep-mark":a===""?"none":JSON.stringify(a),...s?{"--sf-sep-k":s}:{}}}var Ea={sectionPaddingTop:0,sectionPaddingBottom:0},Le={start:"justify-start",center:"justify-center",between:"justify-between",end:"justify-end"},me={start:"items-start",center:"items-center",end:"items-end",stretch:"items-stretch"},ag=[...new Set([...Object.keys(me),...Object.keys(da)])];function ng(e,t){let o=typeof e=="string"&&le(Le,e)?Le[e]:"",s=typeof t=="string"&&le(me,t)?me[t]:"";return[o,s].filter(Boolean).join(" ")}function ed(e){return e===!0||e==="wrap"?"flex-wrap":""}var td={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!"},od={start:"max-view-wide:justify-start",center:"max-view-wide:justify-center",between:"max-view-wide:justify-between",end:"max-view-wide:justify-end"},sd={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!"},ad={start:"max-view-wide:items-start",center:"max-view-wide:items-center",end:"max-view-wide:items-end",stretch:"max-view-wide:items-stretch"},nd={wrap:"view-wide:max-view-desktop:flex-wrap!",nowrap:"view-wide:max-view-desktop:flex-nowrap!"};function ee(e,t){return typeof t=="string"&&le(e,t)?t:void 0}function eo(e,t,o){let s=qe("same",e,t,o),a={};return s.tablet!==void 0&&s.tablet!==e&&(a.tablet=s.tablet),s.phone!==void 0&&s.phone!==e&&(a.phone=s.phone),a}function to(e,t,o){return[e.tablet?t[e.tablet]:"",e.phone?o[e.phone]:""].filter(Boolean).join(" ")}function id(e,t,o){return eo(ee(Le,e)??"start",ee(Le,t),ee(Le,o))}function ig(e,t,o){return to(id(e,t,o),td,od)}function rg(e,t,o){let s=ee(me,e)??"stretch";if(s==="stretch")return"";let a=eo(s,ee(me,t),ee(me,o));return to(a,sd,ad)}function Jt(e){if(e===!0||e==="wrap")return"wrap";if(e===!1||e==="nowrap")return"nowrap"}function lg(e,t){let o=ed(e)===""?"nowrap":"wrap",s=Jt(t);return s&&s!==o?nd[s]:""}var cg="Block widths",Sa=[{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]}],rd="data-sf-box-items",dg=new RegExp(`[ \\t]+[^\\s"'\`]*\\[${rd}\\][^\\s"'\`]*`,"g");var hg=[{label:"Fit content",value:"content",weights:null},{label:"Equal",value:"equal",weights:[1,1]},{label:"Custom",value:"custom",weights:[2,1]}];function ug(e){return Array.isArray(e)?"custom":e==="equal"?"equal":typeof e=="string"&&e in Qe?"custom":"content"}var Ta=4,ga=10;function ld(e,t){if(!Number.isInteger(t)||t<2||t>Ta||e.length!==t-1||!e.every(a=>typeof a=="number"&&Number.isFinite(a)))return;let o=[],s=0;return e.forEach((a,n)=>{let i=100-s-ga*(t-1-n),r=Math.min(i,Math.max(ga,Math.round(a)));o.push(r),s+=r}),o}function ba(e,t,o){if(!Array.isArray(t))return;let s=ld(t,o),a=s?[...s,100-s.reduce((i,r)=>i+r,0)]:[],n={};for(let i=0;i<Ta;i+=1)n[`--${e}-${i+1}`]=a[i]??1;return n}function pg(e,t,o){let s=ba("sf-share",e,o),a=ba("sf-share-tablet",t,o);return s||a?{...s,...a}:void 0}function cd(e,t){let o=Array.from({length:t},()=>1),s=Sa.find(i=>i.value===e);if(!s?.weights||t<1)return o;let[a,n]=s.weights;return a>1&&(o[0]=a),n>1&&(o[t-1]=n),o}function mg(e,t){if(typeof e!="string"||!(e in Qe)||e==="equal")return e;let o=cd(e,t),s=o.reduce((a,n)=>a+n,0);return o.slice(0,-1).map(a=>Math.round(a/s*100))}var Q="[&>*]: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",Qe={equal:Q,bigLeft:`${Q} [&>*:first-child]:view-wide:grow-[2] [&>[data-sf-box-items]:first-child>*:first-child]:view-wide:grow-[2]`,bigRight:`${Q} [&>*:last-child]:view-wide:grow-[2] [&>[data-sf-box-items]:last-child>*:last-child]:view-wide:grow-[2]`,biggerLeft:`${Q} [&>*:first-child]:view-wide:grow-[3] [&>[data-sf-box-items]:first-child>*:first-child]:view-wide:grow-[3]`,biggerRight:`${Q} [&>*:last-child]:view-wide:grow-[3] [&>[data-sf-box-items]:last-child>*:last-child]:view-wide:grow-[3]`,twoThree:`${Q} [&>*: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]`},dd=`${Q} [&>*: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 hd(e){return Array.isArray(e)?dd:typeof e=="string"?Qe[e]??"":""}var _a={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}},ua,{any:[{context:"parent.columns",in:[2,3,4,5,6]},{all:[{not:{context:"parent.columns",is:1}},{context:"parent.share",in:Object.keys(Qe)}]}]}]},va="view-wide:max-view-desktop:flex-row!",J=`${va} [&>*: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!`,xa={content:`${va} [&>*: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:J,bigLeft:`${J} [&>*: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:`${J} [&>*: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:`${J} [&>*: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:`${J} [&>*: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:`${J} [&>*: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]!`},ud=`${J} [&>*: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 pd(e){return Array.isArray(e)||typeof e=="string"&&e in xa?e:null}function fg(e){if(e.direction!=="row"||Z(e.direction,e.separator)||e.loop==="scroll"||e.line===!0||Oa(e.columns)!==""||ka(e.columnsTablet)!=="")return"";let t=pd(e.shareTablet);return t===null?"":typeof t=="string"?xa[t]:ud}var md="[&>*]:view-wide:basis-[content] [&>[data-sf-box-items]>*]:view-wide:basis-[content]";function wg(e){return hd(e)===""?md:""}var gg="Columns",bg=1,yg=3,oo={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)]"},Eg=Sa.filter(e=>e.value==="content"||e.value==="equal"),Sg="equal",Tg=1,_g=6,pe="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!",fd={1:`${pe} [&>*]:view-wide:basis-[calc(100%/1)]! [&>[data-sf-box-items]>*]:view-wide:basis-[calc(100%/1)]!`,2:`${pe} [&>*]: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:`${pe} [&>*]: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:`${pe} [&>*]: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:`${pe} [&>*]: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:`${pe} [&>*]: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 Oa(e){return typeof e=="number"?fd[e]??"":""}var wd={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 ka(e){return typeof e=="number"?wd[e]??"":""}function vg(e){return e.direction!=="row"||Z(e.direction,e.separator)||e.loop==="scroll"||e.line===!0?"":ka(e.columnsTablet)}function xg(e){return e.direction!=="row"||Z(e.direction,e.separator)||e.loop==="scroll"||e.line===!0?"":Oa(e.columns)}var Aa={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"},Ra={2:"max-view-wide:grid max-view-wide:grid-cols-2",3:"max-view-wide:grid max-view-wide:grid-cols-3"},Og=Object.keys(Aa).map(Number),kg=Object.keys(Ra).map(Number);function Ag(e,t,o=!1){let s=typeof e=="number"?Aa[e]??"":"",a=Ra[Number(t)]??"";return!s&&!a?"":[s,a,o?"gap-y-0!":""].filter(Boolean).join(" ")}var gd="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]",bd={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)]"},yd="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 Ed(e,t){return(Jt(e)??Jt(t)??"wrap")==="nowrap"}function Rg(e,t,o,s){let a=oo[Number(e)];if(!a)return"max-view-wide:flex-col";let n=Ed(o,s);return Ca(e,t)?n?yd:gd:n?bd[Number(e)]:a}function Cg(e,t){return Number(e)in oo&&!Ca(e,t)}function Ca(e,t){return Number(e)in oo&&t==="content"}var Lg="Block spacing",Ng=[{label:"Each block",value:"each"},{label:"Gap only",value:"gap"}],Sd="sf-box-gap-only";function Ig(e){return e==="gap"?Sd:""}var ya={each:"sf-box-each-tablet",gap:"sf-box-gap-only-tablet"},Td={each:"sf-box-each-phone",gap:"sf-box-gap-only-phone"};function Pg(e,t,o){let s=n=>ee(ya,n),a=eo(e==="gap"?"gap":"each",s(t),s(o));return to(a,ya,Td)}var La={label:"Text",defaultProps:{text:"",align:"left",tone:"default",tag:"p",contained:!0}};var{text:Fg,tag:Gg,..._d}=La.defaultProps,E=_d,_={...E,tone:"dim"},vd={justify:"start",align:"stretch",wrap:!1,blockSpacing:"gap",padV2:!0},y={...vd,direction:"column",...Ea},M=(e,t=e,o=e,s=t)=>({sectionPaddingTop:e,sectionPaddingRight:t,sectionPaddingBottom:e,sectionPaddingLeft:t,sectionPaddingTopPhone:o,sectionPaddingRightPhone:s,sectionPaddingBottomPhone:o,sectionPaddingLeftPhone:s}),xd=e=>({fillColor:e}),Na=(e,t,o={})=>({...y,widthFit:"fixed",width:e,minWidth:e,sectionHeightMode:"fixed",sectionHeightValue:e,sectionHeightUnit:"px",...t?xd(t):{},...o}),S=(e,t,o,s)=>({sizeToken:{step:e,px:t,...s?{stepPhone:s}:{},...o?{pxPhone:o}:{}}}),Wg=e=>({textStyle:"body-1",...S("body",e),lineHeight:1.625}),Ia={case:"upper"},so={textStyle:"body-5",...Ia},ao=(e,t)=>({...S("label",e,t),letterSpacing:.2,...Ia}),no=(e,t)=>({...so,...ao(e,t)});function T(e,t,o=""){return e.map((s,a)=>{let n=o?`${o}.${a}`:String(a),i={...s.props??{}};for(let[r,l]of Object.entries(s.slots??{}))i[r]=T(l,t,n);return{type:s.type,props:{...i,id:t(s.type,n)}}})}function W(e,t){return typeof e.id=="string"&&e.id.trim()?e.id:t}var fe=(e,t)=>(o,s)=>s==="0"?`${e}~${t}`:`${e}~${t}.${s.slice(2)}`;function Y(e,t,o,s){return e[t]!==void 0?e:{...e,[t]:s(W(e,o))}}var we={min:0,max:360,step:1},Pa="angle";function Kg(e){let t=D(e);if(t===void 0)return null;let o=Math.min(we.max,Math.max(we.min,t));return o===we.min||o===we.max?null:{rotate:`${o}deg`}}import{MEDIA_ZONES as Od,MEDIA_ZONE_LABELS as kd}from"efficient-easel/screen/lib/content/media-zones";import{HOVER_MOTION as Ad,hoverKindsOf as et,motionSeconds as Je}from"efficient-shell/format";var R="hover",qg="_gHover",Rd={none:"None",nextImage:"Show next image",rotate:"Rotate",zoom:"Zoom",lift:"Lift",mono:"Black and white"},te="highlight",Cd="Highlight",Zg=["none",te],Qg={none:Rd.none,[te]:Cd};function Ld(e){return e[R]===te?te:"none"}var Jg="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)]",eb="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 tb(e,t){return Ld(e)!==te?null:{"--sf-hl-bg":t("surface"),"--sf-hl-ink":t("main")}}var Nd=et(["none","lift"]);function ob(e){let t=e[R];return Nd.includes(t)?t:"none"}var Ba=et(["none","nextImage","rotate"]),k={kind:R,angle:"hoverAngle",duration:"hoverDuration",delay:"hoverDelay",mediaKind:"hoverKind",mediaGroup:"hoverGroup",cover:"hoverCover"},co="spinOnHover",Ha=we,Ma={ProductGrid:"rotate",RelatedProducts:"rotate",AlloyWheelsListing:"none"},sb=Object.keys(Ma);function Id(e){return Ma[e]??"none"}var Pd=Ad.rotateFallbackDeg,Hd=e=>e==="rendering"?"renderings":e,Dd=e=>e==="renderings"?"rendering":e,Fa=Object.freeze(Od.filter(e=>e!=="videos").map(Hd)),ab=Object.freeze(Object.fromEntries(Fa.map(e=>[e,kd[Dd(e)]]))),Bd=["finish","first"],nb={finish:"Same finish",first:"First group"},Md=["card","picture"],ib={card:"Whole card",picture:"Picture"},io={kind:"photos",group:"finish",cover:"card"},ro=(e,t,o)=>e.includes(t)?t:o;function Ga(e){return{kind:ro(Fa,e[k.mediaKind],io.kind),group:ro(Bd,e[k.mediaGroup],io.group),cover:ro(Md,e[k.cover],io.cover)}}function rb(){return{field:k.kind,is:"nextImage"}}function Fd(e,t){let o=e[k.kind];if(Ba.includes(o))return o;let s=e[co];return typeof s=="boolean"?s?"rotate":"none":t}function Gd(e){let t=D(e);return t===void 0?Pd:Math.min(Ha.max,Math.max(Ha.min,t))}function lb(e,t){let o=Id(t),s=Fd(e,o);return{kind:s,angle:s==="rotate"?Gd(e[k.angle]):null,duration:Je("hover","duration",s==="rotate"?e[k.duration]:void 0),delay:Je("hover","delay",s==="rotate"?e[k.delay]:void 0),...s==="nextImage"?{media:Ga(e)}:{}}}function cb(e){let t={field:k.kind,in:[...Ba]};return{any:[{field:k.kind,is:"rotate"},{all:[{not:t},e==="rotate"?{not:{field:co,is:!1}}:{field:co,is:!0}]}]}}var Wa=et(["none","mono"]),Wd=et(["none","nextImage","mono"]),Ya={ImageBlock:"none",Manifesto:"none",Split:"none",ContactLocations:"mono"},db=Object.keys(Ya);function Yd(e){return Ya[e]??"none"}var Ua={zoom:"hoverZoom",darken:"hoverDarken"},lo={min:100,max:150,step:1,unit:"%"};function Ud(e){let t=D(e[Ua.zoom]);if(t===void 0)return null;let o=Math.min(lo.max,Math.max(lo.min,t));return o===lo.min?null:String(o/100)}function Kd(e){let t=D(e[Ua.darken]);return t!==void 0&&t>0?t:null}var hb="hoverShow",ub="cardHover",pb="always",$d=["ImageBlock","Flex"];function Vd(e,t,o=Wa){let s=e[R];return o.includes(s)?s:t}function mb(e,t=""){let o=$d.includes(t)?Wd:Wa,s=Vd(e,Yd(t),o),a=s==="mono";return{kind:s,duration:Je("hover","duration",a?e[k.duration]:void 0),delay:Je("hover","delay",a?e[k.delay]:void 0),...s==="nextImage"?{media:Ga(e),...t==="Flex"?Da(e):{}}:Da(e)}}function Da(e){let t=Ud(e),o=Kd(e);return{...t?{zoom:t}:{},...o?{darken:o}:{}}}function fb(){return{not:{field:R,is:"nextImage"}}}function wb(e){return e==="none"?{field:R,in:["mono","nextImage"]}:{not:{field:R,is:"none"}}}function gb(e){return e==="none"?{field:R,is:"mono"}:{not:{field:R,in:["none","nextImage"]}}}var Eb=()=>({tag:"h2",_partStyles:{text:{textStyle:"heading-2"}}}),Ka=()=>({_partStyles:{text:{...so,color:"accent",letterSpacing:.3,lineHeight:1.5}}});var ge="Cards",jd={...y,gap:12,gapPhone:12,...M(32,32,28,28)},Xd={textStyle:"heading-3",...S("headingSmall",20),weight:500,case:"upper",lineHeight:1.5,letterSpacing:.02},Ne={textStyle:"body-1",...S("body",15),lineHeight:1.6},u=(e,t,o,s=!1)=>({type:"Text",props:{...t,text:"",[b]:e,_partStyles:{text:{...s?Ka()._partStyles?.text??{}:{},...o}}}}),be={title:"title",body:"body"},tt={title:"name",body:"note"},zd=(e=be)=>({type:f,props:{...jd,name:"Card"},slots:{[p]:[u(e.title,{...E,tag:"p",widthFit:"fill"},Xd),u(e.body,{..._,tag:"p",widthFit:"fill"},Ne)]}}),Va=(e,t)=>T([zd(t)],e),$a={label:be.title,href:"href"},qd={textStyle:"body-1",fontRole:"heading",color:"text",...S("body",17),weight:500,case:"upper",letterSpacing:.06,lineHeight:1.5},Zd=Na(9,"main",{[Pa]:45}),Qd=(e=!1)=>({type:f,props:{...y,name:"Card",direction:"row",align:"center",gap:16,gapPhone:16,phoneRow:2,sharePhone:"content",wrapPhone:!1,...M(32,28),[O]:$a.href,...e?{[R]:te}:{}},slots:{[p]:[{type:f,props:{...Zd,name:"Mark"}},u($a.label,{...E,tag:"p",widthFit:"fill"},qd)]}}),ja=e=>fe(e,"card"),Xa=(e,t=!1)=>T([Qd(t)],e);var ho="ArticleBody",Jd={textStyle:"heading-3",...S("headingSmall",20),weight:500,lineHeight:1.4,align:"center"},eh={...Ne,align:"center"},za=640,th=()=>[u("heading",{...E,tag:"h2",align:"center",maxWidth:za},Jd),u("paragraph",{..._,tag:"p",align:"center",maxWidth:za},eh)],oh=e=>T(th(),e);function sh(e){return oh((t,o)=>`${e}~${o==="0"?"heading":"paragraph"}`)}function qa(e){return Y(e,h,ho,sh)}import{addShowWhenFacts as ah}from"efficient-shell/format";import{showWhenOf as Hb,shownForOption as Db,truthy as Bb,withRowRules as Mb,withRowsShownWhen as Za,withShowWhen as Fb}from"efficient-shell/format";var Gb=ah;function Wb(e,t,o){return e.slice(0,-1).reduceRight((s,a)=>({any:[{all:[t(a),o(a)]},{all:[{not:t(a)},s]}]}),o(e[e.length-1]))}var nh="inline",ih=[{label:"In this section",value:"inline"},{label:"In its own box",value:"own-box"}];var rh={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"}},Vb="SectionHeader";function jb(e){return le(rh,e)}function Qa(e){return Ce(ih,nh,e)}var lh=new Set(["Flex"]);function Xb(e){return!!e?.type&&lh.has(e.type)}var Ja={not:{field:"headPlacement",is:"own-box"}},zb={not:Ja};function qb(e,t,o){return Za(e,o,Ja)}var Qb="data-sf-spec-region";function Jb(e){return e.writable===!0&&e.sized===!0}function ey(e,t,o){if(!e)return;let s=o[e];if(s)return{fontFamily:`var(--font-role-${e})`,fontSize:`var(--size-${s}, ${t.builtIn})`}}function ty(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 en(e){return`@${e}`}function oy(e,t){if(!t.startsWith("@"))return null;let o=t.slice(1);return o in e?o:null}function sy(e,t){return t&&t in e?t:null}function on(e,t){if(e!==ge)return t;if(t[h]!==void 0)return tn(t);let o=W(t,ge),s=ja(o);if(t.cardStyle==="label-only"){let n=Array.isArray(t.items)&&t.items.some(i=>B(i?.href)!==void 0);return tn({...t,[h]:Xa(s,n)})}let a=x(t)?tt:be;return{...t,[h]:Va(s,a)}}var ch=e=>{let[t,o]=e?[be,tt]:[tt,be];return new Map([[t.title,o.title],[t.body,o.body]])};function sn(e,t){let o=null;return e.forEach((s,a)=>{let n=s?.props;if(!n)return;let i=n,r=n[b];s.type==="Text"&&typeof r=="string"&&t.has(r)&&(i={...i,[b]:t.get(r)});let l=n[p];if(Array.isArray(l)){let d=sn(l,t);d!==l&&(i={...i,[p]:d})}i!==n&&(o??=[...e],o[a]={...s,props:i})}),o??e}function tn(e,t){if(!Array.isArray(e[h]))return e;let o=ch(!!x(e)),s=t?new Map([...o].filter(([n,i])=>t(i)&&!t(n))):o;if(!s.size)return e;let a=sn(e[h],s);return a===e[h]?e:{...e,[h]:a}}var an="OrderSummary";var dh="label";function ot(e){return Y(e,h,A,t=>T([hh()],fe(t,"item")))}function hh(){return{type:f,props:{...y,name:"Item"},slots:{[p]:[u(dh,{...E,tag:"p"},Ne)]}}}var nn="ProcessSteps",uh={eyebrow:"eyebrow",title:"title",copy:"copy",image:"image",tag:"tag",specs:"specs"},ye=uh,ph=()=>({type:f,props:{...y,name:"Row",direction:"row",share:"equal",align:"center",gap:48,sectionPaddingTop:60,sectionPaddingBottom:60,sectionPaddingTopPhone:60,sectionPaddingBottomPhone:60},slots:{[p]:[{type:f,props:{...y,name:"Picture",direction:"column",gap:12},slots:{[p]:[{type:"ImageBlock",props:{[b]:ye.image,aspect:"1/1",fit:"contain"}},u(ye.tag,{..._,tag:"p"},no(11))]}},{type:f,props:{...y,name:"Words",direction:"column",gap:16},slots:{[p]:[u(ye.eyebrow,{...E,tag:"p"},{...no(13),color:"accent"}),u(ye.title,{...E,tag:"h2"},{textStyle:"heading-2",...S("headingMedium",42,28),lineHeight:1.1,letterSpacing:-.02}),u(ye.copy,{..._,tag:"p"},{textStyle:"body-1",...S("body",15),lineHeight:1.6}),{type:A,props:{[b]:ye.specs}}]}}]}});function rn(e){return e.map(t=>{let o=t.props;for(let s of ue(t))o={...o,[s]:rn(o[s])};return t.type===A?{...t,props:ot(o)}:{...t,props:o}})}function vy(e){return rn(T([ph()],fe(e,"row")))}var mh="label",fh=()=>({type:"LogoBlock",props:{[b]:mh}}),st="Logos",ln=e=>T([fh()],()=>`${e}~logo`);function cn(e){return x(e)?Y(e,h,st,ln):e}function Ry(e){if(!x(e))return e;let t=e[h];return t!==void 0&&!(Array.isArray(t)&&t.length===0)?e:{...e,[h]:ln(W(e,st))}}var uo={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}},Ly=uo;var po="FAQ",wh="question",gh="answer",bh={textStyle:"body-1",fontRole:"heading",...S("body",18,15),weight:500,case:"upper",letterSpacing:.02,lineHeight:1.5},yh={textStyle:"body-1",...S("body",15),lineHeight:1.7};function Wy(){return Object.keys(uo).map(en)}var Eh=()=>({type:f,props:{...y,gap:0,name:"Question"},slots:{rowTitle:[u(wh,{...E,tag:"p",widthFit:"fill"},bh)],[p]:[u(gh,{..._,tag:"p",widthFit:"fill",maxWidth:760},yh)]}});function Sh(e){return Qa(e.headPlacement)==="own-box"?!1:["num","title","linkText"].some(t=>B(e[t])!==void 0)}function dn(e){return Sh(e)?e:Y(e,h,po,t=>{let o=0;return T([Eh()],s=>s===f?`${t}~row`:`${t}~row.${o++}`)})}var Th=["below","left","right"];function _h(e){return Th.includes(e)?e:"below"}function mo(e){return _h(e)!=="below"}function fo(e){return Array.isArray(e)?e.map(fo):!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,fo(o)]))}var U=e=>JSON.stringify(fo(e));var nt="Footprint",pn=e=>x(e)===jt,at=ao(11),vh={textStyle:"body-1",...S("body",18),weight:500,lineHeight:1.2},Qy=()=>({type:f,props:{...y,gap:8,gapPhone:8,...M(20,24,20,20),name:"Office"},slots:{[p]:[u("badge",{...E,tag:"p",widthFit:"fill"},at,!0),u("role",{...E,tag:"p",widthFit:"fill"},at,!0),u("city",{...E,tag:"p",widthFit:"fill"},vh),u("country",{..._,tag:"p",widthFit:"fill"},at),u("address",{..._,tag:"p",widthFit:"fill"},at),{type:"ButtonBlock",props:{variant:"link",label:"",href:"",[b]:"linkLabel",[O]:"href"}}]}}),mn={textStyle:"body-1",fontRole:"heading",...S("body",16),weight:500,lineHeight:1.25},go={textStyle:"body-1",...S("body",14),lineHeight:1.5},xh=()=>({type:f,props:{...y,gap:4,gapPhone:4,...M(16,4),sectionBorder:{bottom:1},name:"Office"},slots:{[p]:[u("city",{...E,tag:"p",widthFit:"fill"},mn),u("address",{..._,tag:"p",widthFit:"fill"},go),u("phone",{..._,tag:"p",widthFit:"fill"},go)]}});function fn(e){let t=W(e,nt),o=0;return T([xh()],s=>s===f?`${t}~office`:`${t}~office.${o++}`)}function wn(e){return Array.isArray(e[h])&&e[h].length>0&&U(e[h])===U(fn(e))}var gn=e=>e===void 0||Array.isArray(e)&&e.length===0;function hn(e){return mo(e.listPosition)?!gn(e[h])||pn(e)?e:{...e,[h]:fn(e)}:wn(e)?{...e,[h]:[]}:e}var Oh=mn,kh=go,Ah={textFit:"line"},bo=(e,t,o="",s={},a={})=>{let n=u(e,{...t?_:E,tag:"p",...s},{...kh,...a});return o?{...n,props:{...n.props,[O]:o}}:n},wo=(e,t,o,s)=>({type:f,props:{...y,gap:0,gapPhone:0,[Re]:[e],name:s},slots:{[p]:[bo(e,t,o,Ah,{align:"right"})]}}),Rh=e=>({type:f,props:{...y,direction:"row",justify:"between",share:"content",phoneRow:2,sharePhone:"content",wrapPhone:"nowrap",gap:12,gapPhone:12,...e?M(20,24):{...M(16,4),sectionBorder:{bottom:1}},name:"Dealer"},slots:{[p]:[{type:f,props:{...y,justify:"center",gap:0,gapPhone:0,widthFit:"fill",name:"Dealer words"},slots:{[p]:[{type:f,props:{...y,gap:4,gapPhone:4,widthFit:"fill",name:"Dealer name"},slots:{[p]:[u("name",{...E,tag:"p",widthFit:"fill"},Oh),bo("address",!0)]}},bo("place",!0,"",{widthFit:"fill"})]}},{type:f,props:{...y,align:"end",gap:4,gapPhone:4,name:"Dealer contact"},slots:{[p]:[wo("distance",!0,"","Dealer distance"),wo("phone",!1,"phoneHref","Dealer phone"),wo("website",!1,"websiteHref","Dealer website")]}}]}}),Ch=e=>{let t=Rh(e),o={type:f,props:{...y,...M(0,12),name:"Dealer"},slots:{[p]:[{...t,props:{...t.props,name:"Dealer row"}}]}};return e?t:o};function yo(e,t){let o=W(e,nt),s=0;return T([Ch(t)],(a,n)=>n==="0"?`${o}~dealer`:`${o}~dealer.${s++}`)}function un(e){if(!Array.isArray(e[h])||e[h].length===0)return!1;let t=U(e[h]);return t===U(yo(e,!0))||t===U(yo(e,!1))}function bn(e){if(pn(e)){let o=yo(e,!mo(e.listPosition));return!(gn(e[h])||wn(e)||un(e))||U(e[h]??[])===U(o)?e:{...e,[h]:o}}if(!un(e))return hn(e);let t={...e,[h]:[]};return hn(t)}var Lh="Card template",yn="items",En="itemFields";function oe(e,t){if(!t)return e;let o=typeof t=="string"?[t]:t;return e.filter(s=>o.includes(s.kind??"text"))}var Nh=[{block:an,typedRows:"rows",linesBetween:!0,fields:[{key:"label",label:"Item"},{key:"meta",label:"Meta line"},{key:"amount",label:"Amount"}]},{block:po,typedRows:"items",fields:[{key:"question",label:"Question"},{key:"answer",label:"Answer",multiline:!0}],seedOnInsert:e=>dn(e)},{block:nt,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=>bn(e)},{block:ge,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=>on(ge,e)},{block:nn,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:st,fields:[{key:"label",label:"Name"},{key:"kind",label:"Kind"}],seed:e=>cn(e)},{block:A,fields:[{key:"badge",label:"Highlight badge",everySource:!0,plain:!0}],typedRows:yn,seed:e=>ot(e)},{block:ho,fields:[{key:"heading",label:"Subhead"},{key:"paragraph",label:"Paragraph",multiline:!0}],seed:e=>qa(e)}];function v(){return he("efficient.card-templates",()=>new Map(Nh.map(e=>[e.block,e])))}function bE(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===it)throw new Error(`The card template of ${t.block} names "${it}" 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 s=[];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=B(i.label),l=Array.isArray(i.fields)?{fields:i.fields.map(d=>({...d}))}:null;s.some(d=>d.slot===i.slot)||s.push({slot:i.slot,...r?{label:r}:null,...l})}let a=s.some(i=>i.fields);if(a&&(t.fields.some(i=>i.everySource)||sa(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.`);a?ke().add(t.block):ke().delete(t.block);let n=B(t.typedRows);v().set(t.block,{block:t.block,...s.length?{slots:s}:{},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 Ih(e,t){let o=e?v().get(e)?.seed:void 0;return o?o(t):t}function yE(e,t){let o=Hh(e),s=(o.length?o:[h]).filter(r=>t[r]===void 0||Array.isArray(t[r])&&t[r].length===0);if(!s.length)return t;let a={...t};for(let r of s)delete a[r];let n=e?v().get(e)?.seedOnInsert:void 0,i=n?n(a):Ih(e,a);return i===a?t:i}function EE(){for(let e of v().values())if(e.blocks?.length)return!0;return!1}function SE(e){return v().get(e)?.blocks??[]}function TE(e){for(let t of v().values())if(t.blocks?.some(o=>o.type===e))return!0;return!1}function _E(e){return typeof e=="string"&&v().get(e)?.typedRows||""}function vE(e){return typeof e=="string"&&v().get(e)?.linesBetween===!0}function xE(e){return typeof e=="string"&&v().has(e)}var Ph=[{slot:h}];function rt(e){if(typeof e!="string")return[];let t=v().get(e);return t?t.slots??Ph:[]}function Hh(e){return rt(e).map(t=>t.slot)}function Dh(e,t){return rt(e).some(o=>o.slot===t)}function OE(e,t){let o=rt(e).find(s=>s.slot===t);return o?o.label??Lh:null}function Eo(e,t){return t?rt(e).find(o=>o.slot===t)?.fields:void 0}function Bh(e,t){let o=v().get(e)?.fields??[];return oe(o,t)}function Mh(e,t){if(typeof e!="string")return"";let o=Eo(e,t);return(o?oe(o,"list"):Bh(e,"list"))[0]?.key??""}function Fh(e,t,o){return To(e)||Mh(t,o)}function Sn(e,t,o){let s=typeof e?.type=="string"?e.type:"";if(!s)return[];let a=Eo(s,o);if(a)return oe(a,t);let n=v().get(s)?.fields??[],i=ze(x(e?.props))?.fields,r=i?.length?[...i.map(l=>({...l})),...n.filter(l=>l.everySource&&!i.some(d=>d.key===l.key))]:n;return oe(r,t)}function Gh(e,t,o,s){if(!e)return null;let a=Eo(e,s);return a?a.find(n=>n.key===t)??null:o?Sn(o).find(n=>n.key===t)??null:v().get(e)?.fields.find(n=>n.key===t)??null}function So(e,t){return!e||!t?null:e.fields?.find(o=>o.key===t)??Gh(e.ownerType,t,e.owner,e.slot)}function kE(e,t){return So(e,t)?.plain===!0}function AE(e,t){return So(e,t)?.kind==="date"}function To(e,t=b){let o=e?.[t];return typeof o=="string"?o.trim():""}function RE(e,t){return e.key||String(t+1)}function CE(e){let t={};if(e&&typeof e=="object"&&!Array.isArray(e))for(let[o,s]of Object.entries(e))typeof s=="string"&&(t[o]=s);return t}function LE(e,t){let o=e[Re];return!t||!Array.isArray(o)||!o.length?!1:o.every(s=>typeof s!="string"||!t[s]?.trim())}var _o={Text:{text:b,href:O},ImageBlock:{src:b,href:O},ButtonBlock:{label:b,href:O},LogoBlock:{alt:b,href:O},Breadcrumb:{currentCrumb:b}},NE=_o,Wh=new Set(["ButtonBlock.label","LogoBlock.alt"]);function IE(e,t,o){return Yh(e,t,o)&&!Wh.has(`${e}.${o}`)}function Yh(e,t,o){return Uh(e,t,o)!==""}function Uh(e,t,o){let s=_o[e]?.[o];return s?To(t,s):""}function Tn(e,t){return!t||!e?null:e[t]??""}function Kh(e,t){return Tn(e,t)?.trim()||void 0}function PE(e,t,o,s,a,n){if(!o)return t;let i=null;for(let[r,l]of Object.entries(_o[e]??{})){let d=To(t,l),g=Tn(o,d);if(g!==null){if(i??={...t},l===O){i[r]=Kh(o,d);continue}i[r]=So({ownerType:s,fields:a,slot:n},d)?.mark==="accentItalic"?Us(g):g}}return i??t}function lt(e,t){let o=e?.data?.content;if(!Array.isArray(o)||typeof t!="string")return;let s=(n,i)=>{for(let r of n){if(r?.props?.id===t)return i;for(let l of ue(r??{})){let d=r.props[l],g=Dh(r.type,l)?{owner:r,slot:l,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},w=s(d,g);if(w!==void 0)return w}}},a=s(o,null);return a===void 0?null:a}function $h(e,t){let o=lt(e,t);return o&&o.owner}function Vh(e,t){let o=lt(e,t);return o&&o.slot}function HE(e,t){let o=lt(e,t);return o&&(o.direct?o.owner:null)}function DE(e,t){let o=lt(e,t);if(o!==void 0)return o===null?{inCopy:!1,nestedCopy:!1,underBox:!1}:{inCopy:!0,nestedCopy:o.nested,underBox:o.underBox}}function BE(e,t,o){if(t?.type!==A)return[];let s=$h(e,t.props?.id);if(!s){let r=ze(x(t.props))?.fields,l=r?.length?r.map(w=>({...w})):jh(t.props),d=(v().get(A)?.fields??[]).filter(w=>w.everySource&&!l.some(P=>P.key===w.key)),g=[...l,...d];return oe(g,o)}let a=Vh(e,t.props?.id)??void 0,n=Fh(t.props,s.type,a),i=n&&Sn(s,"list",a).find(r=>r.key===n)?.fields||[];return oe(i,o)}function ME(e,t){return{[b]:"",[yn]:e.map(o=>({...o})),[En]:t.map(o=>({...o}))}}function jh(e,t){let o=e?.[En];if(!Array.isArray(o))return[];let s=o.flatMap(a=>{if(!a||typeof a!="object")return[];let{key:n,label:i,kind:r,multiline:l,alt:d,next:g}=a;if(typeof n!="string"||!n||typeof i!="string")return[];let w=r==="image"||r==="link"||r==="colour"||r==="date"?r:void 0;return[{key:n,label:i,...w?{kind:w}:{},...l===!0?{multiline:!0}:{},...typeof d=="string"&&d?{alt:d}:{},...typeof g=="string"&&g?{next:g}:{}}]});return oe(s,t)}var it="HostPart";import{parseHexColor as Xh}from"efficient-shell/format";var vo=[{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}],zh=vo.filter(e=>e.ink);function _n(e){let t={color:e.fg};for(let{role:o,token:s}of zh)t[s]=e[o];return t}var qh={fg:"var(--overlay-fg)",line:"color-mix(in srgb, var(--overlay-fg) 24%, transparent)",muted:"color-mix(in srgb, var(--overlay-fg) 76%, transparent)"},Zh=Object.freeze(_n(qh)),Qh={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)"},Jh=Object.freeze(_n(Qh));function YE(e,t){let o=e?Xh(e):null;return o?ys(o,t)?Zh:Jh:null}var vn=-1,eu="sf-section-accent",$E="Color",xn=new Set(["CategoryBar","DocTabs"]),VE=new Set(["Flex"]),tu=0;function ou(e){return e===vn?null:typeof e=="number"&&Number.isInteger(e)&&e>=0?e:tu}function jE(e){return e??vn}function su(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:s}of vo)o[`--sf-sec-${s}`]=`var(${t}-${s}, var(--theme-${s}))`;return o}function XE(e){let t=ou(e.sectionAccent);return t===null?null:{className:eu,style:su(t)}}import{FOLLOW_RULES as nu,resolveViewValue as iu,viewKeyAt as ru}from"efficient-easel/screen/lib/content/view-tiers";var xo={desktop:"desktop",tablet:"tablet",phone:"mobile"},au=Object.keys(xo);function On(e){return xo[e??"desktop"]}function qE(e){return au.find(t=>xo[t]===e)??"desktop"}var Ao=["desktop","tablet","phone"],ko=(e,t)=>ru(e,On(t)),kn=e=>e.flatMap(t=>Ao.map(o=>ko(t,o))),Oo=e=>e===null||e===""?void 0:e,lu=(e,t,o)=>iu("same",Oo(e),Oo(t),Oo(o),nu);function An(e,t,o,s=e[t]){return lu(s,e[ko(t,"tablet")],e[ko(t,"phone")])[o]}import{createContext as ni,createElement as He,useContext as De}from"react";import{Fragment as qu,jsx as N}from"react/jsx-runtime";import{createContext as Fo,useContext as I}from"react";import{jsx as Se,Fragment as Gn}from"react/jsx-runtime";import{createContext as vu,useContext as Wn,useEffect as xu,useRef as Ou,useState as ku}from"react";import{SCROLL_ZOOM_VAR as Mn}from"efficient-shell/format";import{readEntrance as du}from"efficient-shell/format";var Ie={kind:"entrance",from:"entranceFrom",duration:"entranceDuration",delay:"entranceDelay"},Ro="sectionAnimation",cu=kn(Object.values(Ie));var Rn="sf-entrance",hu=e=>e!=null&&e!=="";function uu(e,t){let o=e[Ie[t]];return t==="kind"&&!hu(o)?e[Ro]:o}var ct=(e,t,o)=>An(e,Ie[t],o,uu(e,t));function Co(e,t){return du(ct(e,"kind",t),ct(e,"from",t),ct(e,"duration",t),ct(e,"delay",t))}var pu=e=>({desktop:Co(e,"desktop"),tablet:Co(e,"tablet"),phone:Co(e,"phone")});function cS(e){let t=pu(e);return Ao.every(o=>t[o].kind==="none")?null:t}var mu={...Object.fromEntries([...xn].map(e=>[e,"a root position: sticky bar; an outer box becomes its sticky containing block and the pin collapses (the same fact every wrapper pass excludes it for, lib/content/section-surface)"])),HeroSlide:"a slide is a direct child of the Hero's transform track ([&>*]:basis-full); a wrapper would take its width, and the Hero already moves one slide in at a time",HeroGroup:"a slide box is placed by grid-item properties on its own root (--sf-hg-row, justify-self); a wrapper becomes the grid item and the box loses its anchor (lib/document/blocks/general/HeroGroup/meta)",[it]:"a host part draws its data block's answer with no element of its own (lib/content/card-template HOST_PART_TYPE); a wrapper would be one, and the host's content is not the merchant's to animate"},dS=new Set(Object.keys(mu));function Cn(e,t,o,s){return t<=0?1/0:s?2*(e-4)/(t+o):2*(e-o/2-4)/t}function Ln(e,t,o){let s=r=>r.width>0&&r.height>0;if(!s(e)||t.some(r=>r.mark&&!s(r.rect)))return 1;let a=e.left+e.width/2,n=e.top+e.height/2,i=o;for(let{rect:r,mark:l}of t){let d=Math.abs(r.left+r.width/2-a),g=Math.abs(r.top+r.height/2-n),w=Math.max(Cn(d,e.width,r.width,l),Cn(g,e.height,r.height,l));i=Math.min(i,Math.max(1,w))}return i}var Nn=["cover","contain"],fu={cover:"Cover",contain:"Contain"},pS="Image fit";function Lo(e,t){return Nn.includes(e)?e:t}function mS(){return Nn.map(e=>({label:fu[e],value:e}))}function fS(e){return e==="contain"?"object-contain":"object-cover"}function No(e,t){return e!=="auto"&&t==="cover"}function dt(e){return`color-mix(in srgb, var(--overlay-scrim) ${Math.round(Math.min(1,Math.max(0,e))*1e3)/10}%, transparent)`}function yS(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"";default:return"aspect-square"}}var ht=[{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"}];function ES(e){return ht.filter(t=>e.includes(t.shape))}function SS(e){return e==="below"}var TS=`linear-gradient(180deg, transparent 40%, ${dt(.85)} 100%)`,_S=`linear-gradient(0deg, transparent 40%, ${dt(.85)} 100%)`,vS=dt(.45);var wu=ht.map(e=>e.image),F="fill",RS={label:"Fill row",value:F,showWhen:_a},Io="4/3",In={frame:"view-wide:h-full view-wide:min-h-[240px]",img:"view-wide:absolute view-wide:inset-0",figure:"view-wide:h-full"},Hn={all:{frame:"h-full min-h-[240px]",img:"absolute inset-0",figure:"h-full"},wide:In,tablet:In,desktop:{frame:"view-desktop:h-full view-desktop:min-h-[240px] max-view-desktop:aspect-[4/3]",img:"view-desktop:absolute view-desktop:inset-0",figure:"view-desktop:h-full"}};function CS(e,t,o){return t&&!Ee(o)?"all":e??"wide"}function Pn(e){return Hn[e]}var LS=Hn.all;function Dn(e){return e?`${e.img} h-full w-full`:"relative h-full w-full"}var gu={auto:"","3/4":"aspect-[3/4]","2/1":"aspect-[2/1]","21/9":"aspect-[21/9]","16/9":"aspect-[16/9]","4/3":"aspect-[4/3]","16/10":"aspect-[16/10]","1/1":"aspect-square","9/16":"aspect-[9/16]","2/3":"aspect-[2/3]","4/5":"aspect-[4/5]"},bu={auto:"","3/4":"view-wide:aspect-[3/4]","2/1":"view-wide:aspect-[2/1]","21/9":"view-wide:aspect-[21/9]","16/9":"view-wide:aspect-[16/9]","4/3":"view-wide:aspect-[4/3]","16/10":"view-wide:aspect-[16/10]","1/1":"view-wide:aspect-square","9/16":"view-wide:aspect-[9/16]","2/3":"view-wide:aspect-[2/3]","4/5":"view-wide:aspect-[4/5]"},yu={auto:"","3/4":"max-view-wide:aspect-[3/4]","2/1":"max-view-wide:aspect-[2/1]","21/9":"max-view-wide:aspect-[21/9]","16/9":"max-view-wide:aspect-[16/9]","4/3":"max-view-wide:aspect-[4/3]","16/10":"max-view-wide:aspect-[16/10]","1/1":"max-view-wide:aspect-square","9/16":"max-view-wide:aspect-[9/16]","2/3":"max-view-wide:aspect-[2/3]","4/5":"max-view-wide:aspect-[4/5]"},Eu={auto:"max-view-wide:aspect-auto!","3/4":"max-view-wide:aspect-[3/4]!","2/1":"max-view-wide:aspect-[2/1]!","21/9":"max-view-wide:aspect-[21/9]!","16/9":"max-view-wide:aspect-[16/9]!","4/3":"","16/10":"max-view-wide:aspect-[16/10]!","1/1":"max-view-wide:aspect-square!","9/16":"max-view-wide:aspect-[9/16]!","2/3":"max-view-wide:aspect-[2/3]!","4/5":"max-view-wide:aspect-[4/5]!"},Po=e=>wu.includes(e),Ee=Po;function NS(e){let t=Po(e)?ht.find(o=>o.image===e)?.ratio:null;return t?`${t[0]} / ${t[1]}`:null}function IS(e,t,o){return o==="contain"?!0:[e,t??e].every(s=>s!==F&&(!Po(s)||s==="auto"))}function PS(e,t){return e===F&&!t?Io:e}function HS(e){return e===F?Io:Ee(e)?e:void 0}function Bn(e,t){return Ee(t)?t===e?null:t:e===F?Io:null}function Su(e,t){let o=Bn(e,t);return No(e,"cover")||o!==null&&No(o,"cover")}function Tu(e,t,o){return Lo(e,"cover")==="cover"&&Su(t,o)}function DS(e,t,o,s){return e==="desktop"?Tu(t,o,s):Lo(t,"cover")!=="cover"?!1:_u(e==="tablet"?o:Bn(o,s)??o)}var _u=e=>e===F||Ee(e)&&e!=="auto";function BS(e,t,o="wide"){return e===F&&o==="all"?Pn("all").frame:t===null?Ee(e)?gu[e]:"":[e===F?Pn(o).frame:Ee(e)?bu[e]:"",e===F&&o==="desktop"?Eu[t]:yu[t]].filter(Boolean).join(" ")}var pt=vu(null);function $S({attrs:e,style:t,children:o}){return Se(pt.Provider,{value:{attrs:e,style:t},children:o})}function Yn({children:e}){return Se(pt.Provider,{value:null,children:e})}function VS({fill:e=null,children:t}){let o=Wn(pt);return o?Se("div",{className:Dn(e),...o.attrs,style:o.style,children:t}):Se(Gn,{children:t})}var ut="data-sf-mark";function Fn(e){let t=e.getBoundingClientRect(),o=e.firstElementChild,s=o&&typeof o.offsetWidth=="number"?o:e,a=Math.max(s.offsetWidth,e.offsetWidth),n=Math.max(s.offsetHeight,e.offsetHeight);return{left:t.left+t.width/2-a/2,top:t.top+t.height/2-n/2,width:a,height:n}}function Au(e){return e.closest(`[${ut}]`)||e.closest("style, script")?!1:[...e.childNodes].some(t=>t.nodeType===3&&(t.textContent??"").trim()!=="")}var Un=e=>e.closest(`.${Rn}`)??e.ownerDocument.body;function Ru(e,t){let o=Un(e),s=[];for(let a of o.querySelectorAll(`[${ut}]`))a!==e&&s.push({rect:Fn(a),mark:!0});for(let a of o.querySelectorAll("*")){if(a.contains(e)||!Au(a))continue;let n=a.getBoundingClientRect();n.width===0||n.height===0||s.push({rect:{left:n.left,top:n.top,width:n.width,height:n.height},mark:!1})}return Ln(Fn(e),s,t)}function jS({inCell:e=!1,children:t}){let o=Wn(pt),s=Ou(null),[a,n]=ku(null),i=o?Number.parseFloat(String(o.style[Mn])):Number.NaN;if(xu(()=>{let l=s.current;if(!l||!Number.isFinite(i))return;let d=()=>n(Ru(l,i));d();let g=l.ownerDocument.defaultView?.ResizeObserver;if(!g)return;let w=new g(d),P=Un(l);w.observe(l),w.observe(P);for(let H of P.querySelectorAll(`[${ut}]`))H!==l&&w.observe(H);return()=>w.disconnect()},[i]),!o)return Se(Gn,{children:t});let r=Number.isFinite(i)?{...o.style,[Mn]:String(a??1)}:o.style;return Se("span",{ref:s,className:e?"inline-flex min-w-0 max-w-full items-center justify-center":"inline-flex items-center justify-center",[ut]:"",...o.attrs,style:r,children:t})}import{FOLLOW_RULES as Cu,resolveViewValue as Lu}from"efficient-easel/screen/lib/content/view-tiers";import{LENGTH_UNITS as Nu}from"efficient-easel/screen/lib/content/length-units";var Iu=["auto","fixed","screen","fill"],Pu=Nu.filter(e=>e==="px"||e==="%"),Hu="svh",Du="vh",Bu="var(--sf-header-h, 88px)",Mu={min:40,max:2e3,step:10,fallback:600},Fu={min:10,max:200,step:5,fallback:100},Gu="sf-section-minh",Pe="grid-cols-[minmax(0,1fr)]",Kn={base:"--sf-section-minh",small:"--sf-section-minh-s"},Do=e=>typeof e=="string"&&Iu.includes(e),Wu=e=>typeof e=="string"&&Pu.includes(e);function mt(e){let t=Do(e.sectionHeightMode)?e.sectionHeightMode:"auto",o=t==="screen"?"%":Wu(e.sectionHeightUnit)?e.sectionHeightUnit:"px",s=t==="screen"?Fu.fallback:Mu.fallback,a=typeof e.sectionHeightValue=="number"?e.sectionHeightValue:s;return{mode:t,value:a,unit:o}}function jn(e){let{mode:t,value:o,unit:s}=mt(e);if(t==="auto"||t==="fill")return;if(t==="fixed"&&s==="px")return[`${o}px`,null];let a=o/100,n=i=>t==="screen"?`(100${i} - ${Bu})`:`100${i}`;return[`calc(${n(Du)} * ${a})`,`calc(${n(Hu)} * ${a})`]}function Xn(e){let t=jn(e);if(!t)return;let[o,s]=t;return{display:"grid",[Kn.base]:o,...s?{[Kn.small]:s}:{}}}var ZS=new Set(["Hero","HeroSingle","IntroBleed","CategoryBar","DocTabs"]),QS="Height",zn="sf-section-minh-phone",$n={base:"--sf-section-minh-p",small:"--sf-section-minh-ps"};function qn(e){return Do(e.sectionHeightModePhone)}function Yu(e){return mt({sectionHeightMode:e.sectionHeightModePhone,sectionHeightValue:e.sectionHeightValuePhone,sectionHeightUnit:e.sectionHeightUnitPhone})}var Zn="sf-section-minh-tablet",Vn={base:"--sf-section-minh-t",small:"--sf-section-minh-ts"};function Qn(e){return Do(e.sectionHeightModeTablet)}function Uu(e){return mt({sectionHeightMode:e.sectionHeightModeTablet,sectionHeightValue:e.sectionHeightValueTablet,sectionHeightUnit:e.sectionHeightUnitTablet})}function Bo(e){let t=Xn(e),o=(r,l,d)=>jn({sectionHeightMode:r,sectionHeightValue:l,sectionHeightUnit:d})??(t?["auto",null]:void 0),s=Qn(e)?o(e.sectionHeightModeTablet,e.sectionHeightValueTablet,e.sectionHeightUnitTablet):void 0,a=qn(e)?o(e.sectionHeightModePhone,e.sectionHeightValuePhone,e.sectionHeightUnitPhone):s;if(!t&&!s&&!a)return null;let n=[Gu,Pe],i={...t??{}};return s&&(n.push(Zn),i[Vn.base]=s[0],s[1]&&(i[Vn.small]=s[1])),a&&(n.push(zn),i[$n.base]=a[0],a[1]&&(i[$n.small]=a[1])),{className:n.join(" "),style:i}}function JS(e){return Bo(e)!==null||ft(e).length>0}var Ho=`grid ${Pe}`,Jn="h-full",Ku="view-tablet:max-view-desktop:grid",ei="max-view-tablet:grid",$u="view-wide:max-view-desktop:grid",Vu="max-view-wide:grid",ju=`${ei} ${Pe}`;function eT(e,{atSectionLine:t=!1}={}){if(ft(e).length>0)return Ho;let o=Bo(e);if(!o)return"";if(Xn(e))return Ho;let s=o.className.split(" "),a=t?Ku:$u,n=t?ei:Vu;if(!s.includes(Zn))return t?ju:`${n} ${Pe}`;let i=s.includes(zn);return[a,i?n:"",Pe].filter(Boolean).join(" ")}var ti="data-sf-height-fill",Xu=["desktop","tablet","mobile"],zu={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 ft(e){let t=e,o=Lu("heightMode",mt(t).mode,Qn(t)?Uu(t).mode:null,qn(t)?Yu(t).mode:null,Cu),s={desktop:o.desktop==="fill",tablet:o.tablet==="fill",mobile:o.phone==="fill"};return Xu.filter(a=>s[a])}function tT(e){return ft(e).map(t=>zu[t]).join(" ")}function oT(e){let t=Bo(e);return ft(e).length===0?t:t?{className:`${t.className} grid`,style:t.style}:{className:Ho}}var oi={stretchedRow:!1,fillingColumn:!1},C=Fo(null),si=()=>I(C)!==null;function dT({line:e,draw:t}){return N(qu,{children:t(Oe(e,si()))})}var hT=(e="by-box")=>Oe(e,si()),uT=()=>I(C),pT=()=>I(C)?.id??null,K=Fo(!1);function Zu(){let e=I(C)?.stretchedRow===!0,t=I(K);return e&&!t}var Qu=()=>I(K);function Ju(){let e=I(C),t=Zu(),o=Qu();return{fill:o?` ${Jn}`:"",inner:s=>{let a=t||o?N(K.Provider,{value:!0,children:s}):s;return e?.columnsRow?N(C.Provider,{value:{...e,columnsRow:!1},children:a}):a}}}function mT({className:e,style:t,attrs:o,children:s}){let{fill:a,inner:n}=Ju(),i=Go();return i.scope(N("div",{className:Wo(`${e}${a}`,i.className),...t?{style:t}:{},...o,...i.attrs,children:n(s)}))}var Mo=Fo(!1);function fT({children:e}){return N(Mo.Provider,{value:!0,children:N(K.Provider,{value:!0,children:e})})}function wT({children:e,ownPictures:t=!1}){let o=I(C),s=I(Mo),a=I(K),n=s&&a,i=o===null?null:o.id===void 0?oi:{...oi,id:o.id};return N(C.Provider,{value:i,children:N(Mo.Provider,{value:!1,children:N(K.Provider,{value:n,children:t?e:N(Yn,{children:e})})})})}var wt=ni(null),ai="data-sf-view-hide",ii=e=>He(wt.Provider,{value:null},e),ri={className:"",attrs:{},scope:ii},ep=ri,li=ni(null),TT=(e,t)=>e?{className:e,views:t}:null,tp=e=>He(wt.Provider,{value:null},He(li.Provider,{value:null},He(K.Provider,{value:!0},e))),_T=(e,t,o={})=>e?{className:e,words:t,...o}:null,ci=(e,t)=>e.sectionClassName===void 0?{className:e.className,words:e.words}:Oe(e.line??"by-box",t)?{className:e.className,words:`${e.words} edge`}:{className:e.sectionClassName,words:e.words};function Go(){let e=De(wt),t=De(li),o=De(C)!==null;if(e===null&&t===null)return ep;let s=e===null?null:ci(e,o);return t===null?{className:s.className,attrs:{[ai]:s.words},scope:ii}:{className:s?`${s.className} ${t.className}`:t.className,attrs:{...s?{[ai]:s.words}:{},[ti]:t.views},scope:tp}}function vT(){let e=De(wt),t=De(C)!==null;return e===null?"":ci(e,t).className}var Wo=(e,t)=>t?e?`${e} ${t}`:t:e;function xT(e){let t=Go(),o=e.takes===!1?ri:t,s={},a=!1;for(let[n,i]of Object.entries(e))n==="as"||n==="takes"||n==="children"||(n==="className"?(s.className=Wo(i,o.className),a=!0):s[n]=i);return!a&&o.className&&(s.className=o.className),o.scope(He(e.as??"div",{...s,...o.attrs},e.children))}var kT={small:54,medium:66,large:84},op=44,sp=16,ap=140,AT={min:sp,max:ap,step:1},RT=op*4;import{forwardRef as np}from"react";import{imageCopyUrl as di,imageSrcSet as hi}from"efficient-shell/image-copies";import{jsx as lp}from"react/jsx-runtime";var ip={position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,color:"transparent"};function ui(e,t,o){if(o){let s=hi(e);return s?{src:di(e,1280),srcSet:s,sizes:o}:{src:e,sizes:o}}if(t&&t>0){let s=hi(e,{maxWidth:t*3});return s?{src:di(e,t*2),srcSet:s,sizes:`${t}px`}:{src:e}}return{src:e}}var rp=np(function({src:t,width:o,height:s,fill:a,priority:n,loading:i,style:r,quality:l,placeholder:d,blurDataURL:g,unoptimized:w,loader:P,overrideSrc:H,sizes:$,...Be},gt){let Me=H??(typeof t=="string"?t:t.src),bt=ui(Me,a?void 0:Number(o)||void 0,$??(a?"100vw":void 0));return lp("img",{ref:gt,...bt,width:a?void 0:o,height:a?void 0:s,loading:n?"eager":i??"lazy",fetchPriority:n?"high":void 0,decoding:"async",style:a?{...ip,...r}:{color:"transparent",...r},...Be})}),IT=rp;function PT(e){let t=e.overrideSrc??(typeof e.src=="string"?e.src:e.src.src),o=e.fill?void 0:Number(e.width)||void 0;return{props:ui(t,o,e.sizes??(e.fill?"100vw":void 0))}}export{he as a,B as b,hc as c,tw as d,uc as e,ow as f,sw as g,aw as h,nw as i,iw as j,rw as k,jt as l,pc as m,lw as n,cw as o,sa as p,ze as q,dw as r,hw as s,x as t,bc as u,uw as v,b as w,O as x,h as y,A as z,Re as A,q as B,yc as C,ia as D,ue as E,yw as F,Ew as G,Sw as H,xc as I,Tw as J,xe as K,le as L,Mm as M,ce as N,Fm as O,ul as P,Gm as Q,Wm as R,Ym as S,Um as T,fl as U,je as V,Xm as W,p as X,f as Y,la as Z,Ow as _,kw as $,ve as aa,fm as ba,Gt as ca,wm as da,gm as ea,bm as fa,ym as ga,ol as ha,V as ia,sl as ja,Tm as ka,Zm as la,Qm as ma,bl as na,Jm as oa,ef as pa,hf as qa,Kt as ra,Gl as sa,Ws as ta,wf as ua,gf as va,bf as wa,Us as xa,yf as ya,Ef as za,Sf as Aa,D as Ba,we as Ca,Pa as Da,Kg as Ea,R as Fa,qg as Ga,Rd as Ha,te as Ia,Cd as Ja,Zg as Ka,Qg as La,Jg as Ma,eb as Na,tb as Oa,Nd as Pa,ob as Qa,Ba as Ra,k as Sa,co as Ta,sb as Ua,Id as Va,Pd as Wa,Fa as Xa,ab as Ya,Bd as Za,nb as _a,Md as $a,ib as ab,io as bb,rb as cb,Fd as db,Gd as eb,lb as fb,cb as gb,Wa as hb,Wd as ib,db as jb,Yd as kb,Ua as lb,lo as mb,hb as nb,ub as ob,pb,$d as qb,Vd as rb,mb as sb,fb as tb,wb as ub,gb as vb,js as wb,$s as xb,vf as yb,xf as zb,Of as Ab,Mc as Bb,qe as Cb,Iw as Db,Pw as Eb,Hw as Fb,da as Gb,Ze as Hb,Dw as Ib,Uc as Jb,Bw as Kb,Zt as Lb,Kc as Mb,Fw as Nb,ha as Ob,Gw as Pb,Ce as Qb,jc as Rb,Xc as Sb,zc as Tb,pa as Ub,Kw as Vb,ma as Wb,$w as Xb,fa as Yb,Xw as Zb,wa as _b,Z as $b,zw as ac,qw as bc,Zw as cc,Ea as dc,me as ec,ng as fc,ed as gc,id as hc,ig as ic,rg as jc,Jt as kc,lg as lc,cg as mc,rd as nc,hg as oc,ug as pc,pg as qc,mg as rc,hd as sc,pd as tc,fg as uc,wg as vc,gg as wc,bg as xc,yg as yc,Eg as zc,Sg as Ac,Tg as Bc,_g as Cc,Oa as Dc,ka as Ec,vg as Fc,xg as Gc,Og as Hc,kg as Ic,Ag as Jc,Ed as Kc,Rg as Lc,Cg as Mc,Ca as Nc,Lg as Oc,Ng as Pc,Sd as Qc,Ig as Rc,Pg as Sc,La as Tc,E as Uc,_ as Vc,vd as Wc,y as Xc,M as Yc,xd as Zc,Na as _c,S as $c,Wg as ad,so as bd,ao as cd,no as dd,T as ed,W as fd,Eb as gd,Ka as hd,ge as id,Ne as jd,u as kd,be as ld,tt as md,zd as nd,Va as od,$a as pd,Qd as qd,ja as rd,tn as sd,nn as td,vy as ud,ho as vd,oh as wd,qa as xd,fh as yd,Ry as zd,Hb as Ad,Db as Bd,Bb as Cd,Mb as Dd,Za as Ed,Fb as Fd,Gb as Gd,Wb as Hd,rh as Id,Vb as Jd,jb as Kd,Qa as Ld,Xb as Md,Ja as Nd,zb as Od,qb as Pd,Qb as Qd,Jb as Rd,ey as Sd,ty as Td,en as Ud,oy as Vd,sy as Wd,uo as Xd,Ly as Yd,Wy as Zd,Eh as _d,_h as $d,U as ae,Qy as be,bn as ce,yn as de,En as ee,oe as fe,bE as ge,Ih as he,yE as ie,EE as je,SE as ke,TE as le,_E as me,vE as ne,xE as oe,Hh as pe,Dh as qe,OE as re,Bh as se,Fh as te,Sn as ue,So as ve,kE as we,AE as xe,To as ye,RE as ze,CE as Ae,LE as Be,NE as Ce,IE as De,Yh as Ee,Uh as Fe,Tn as Ge,Kh as He,PE as Ie,$h as Je,Vh as Ke,HE as Le,DE as Me,BE as Ne,ME as Oe,it as Pe,Tt as Qe,_t as Re,yp as Se,Ep as Te,dr as Ue,vt as Ve,Sp as We,hr as Xe,Tp as Ye,_p as Ze,Op as _e,Cp as $e,Lp as af,Np as bf,Ip as cf,It as df,Pt as ef,Pp as ff,se as gf,br as hf,bs as if,Hp as jf,Dp as kf,ne as lf,ae as mf,Tr as nf,Bp as of,Mp as pf,Ke as qf,ys as rf,Fp as sf,Gp as tf,Wp as uf,Dt as vf,Yp as wf,Es as xf,Ar as yf,Up as zf,Kp as Af,$p as Bf,Cr as Cf,Vp as Df,jp as Ef,Xp as Ff,zp as Gf,qp as Hf,Zp as If,Bt as Jf,Br as Kf,Qp as Lf,Jp as Mf,$e as Nf,Os as Of,Gr as Pf,em as Qf,Mt as Rf,ws as Sf,tm as Tf,om as Uf,Wr as Vf,Yr as Wf,ks as Xf,Ve as Yf,$r as Zf,Vr as _f,jr as $f,As as ag,Xr as bg,Rs as cg,nm as dg,im as eg,rm as fg,lm as gg,_e as hg,Cs as ig,cm as jg,dm as kg,Ft as lg,Ls as mg,hm as ng,um as og,pm as pg,vo as qg,zh as rg,Zh as sg,YE as tg,vn as ug,$E as vg,xn as wg,VE as xg,tu as yg,ou as zg,jE as Ag,su as Bg,XE as Cg,Xe as Dg,zs as Eg,Xs as Fg,Xl as Gg,zl as Hg,ql as Ig,Rf as Jg,Zl as Kg,Cf as Lg,de as Mg,Lf as Ng,Nf as Og,If as Pg,Jl as Qg,Zs as Rg,Pf as Sg,Hf as Tg,Df as Ug,tc as Vg,Bf as Wg,sc as Xg,dt as Yg,yS as Zg,ht as _g,ES as $g,SS as ah,xo as bh,On as ch,qE as dh,Ao as eh,ko as fh,kn as gh,lu as hh,An as ih,Ie as jh,Ro as kh,cu as lh,Rn as mh,Co as nh,pu as oh,cS as ph,dS as qh,fu as rh,pS as sh,Lo as th,mS as uh,fS as vh,F as wh,RS as xh,CS as yh,Pn as zh,LS as Ah,Dn as Bh,NS as Ch,IS as Dh,PS as Eh,HS as Fh,Bn as Gh,Su as Hh,Tu as Ih,DS as Jh,BS as Kh,$S as Lh,Yn as Mh,VS as Nh,jS as Oh,Iu as Ph,Mu as Qh,Fu as Rh,Pe as Sh,mt as Th,ZS as Uh,QS as Vh,qn as Wh,Qn as Xh,Uu as Yh,JS as Zh,Ho as _h,Jn as $h,eT as ai,ft as bi,tT as ci,oT as di,C as ei,dT as fi,hT as gi,uT as hi,pT as ii,K as ji,Zu as ki,Qu as li,Ju as mi,mT as ni,fT as oi,wT as pi,wt as qi,ri,li as si,TT as ti,_T as ui,Go as vi,vT as wi,Wo as xi,xT as yi,kT as zi,op as Ai,sp as Bi,AT as Ci,RT as Di,IT as Ei,PT as Fi,Gf as Gi,hs as Hi,pp as Ii,Rm as Ji,cl as Ki,Cm as Li,Lm as Mi,Nm as Ni,Im as Oi,lc as Pi,Uf as Qi,Js as Ri,cc as Si,dc as Ti,$f as Ui,Vf as Vi,jf as Wi};
|