import{l as C,j as e,n as y,C as _,R as B,bx as T,at as L,r as u,z as R,b as v,a7 as z,ak as M,u as H,w as $,au as I,am as P,N as w,e as j,P as N,J as V,ce as U,S as F,F as D}from"./index-Bt7ohjT1.js";import{u as W,B as O,a as K,e as q}from"./useBlogPosts-DVou2Wnk.js";import{u as G}from"./useAdminCheck-CswAYrG9.js";import{S as p}from"./skeleton-f2GsyDr_.js";import{p as Z}from"./purify.es-D6gMnemd.js";import{U as J}from"./user-DffLKhk-.js";import{C as X}from"./clock-Dim94Qys.js";import{C as Q}from"./copy-Cu8Q5xgw.js";import{E as Y}from"./eye-Be1l-Tar.js";import"./file-text-Bg8xNIjU.js";import"./useAuth-CV2iIlD6.js";/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ee=C("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
* @license lucide-react v0.462.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const te=C("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);function se({title:r,excerpt:n,categoryLabel:a,authorName:i,publishedAt:s,readingTime:t,featuredImageUrl:o,embedMode:l}){return e.jsxs("section",{className:"relative w-full overflow-hidden bg-secondary text-secondary-foreground",style:{minHeight:l?"70vh":"min(80vh, 720px)"},children:[o?e.jsx("img",{src:o,alt:"","aria-hidden":"true",className:"absolute inset-0 w-full h-full object-cover",loading:"eager"}):e.jsx("div",{className:"absolute inset-0 bg-secondary"}),e.jsx("div",{className:`absolute inset-0 ${o?"bg-black/55":"bg-black/85"}`,"aria-hidden":"true"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/90 via-black/30 to-transparent","aria-hidden":"true"}),e.jsx("div",{className:"absolute inset-0 pointer-events-none opacity-[0.04]","aria-hidden":"true",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`}}),e.jsx("div",{className:"relative z-10 container mx-auto px-4 flex flex-col justify-end",style:{minHeight:l?"70vh":"min(80vh, 720px)",paddingTop:l?"max(4rem, env(safe-area-inset-top))":"9rem",paddingBottom:"3rem"},children:e.jsxs("div",{className:"max-w-3xl",children:[!l&&e.jsxs(y,{to:"/blog",className:"inline-flex items-center text-sm md:text-base text-white/70 hover:text-white transition-colors mb-6 md:mb-8",children:[e.jsx(_,{className:"w-4 h-4 mr-2"}),"Back to Inside Spartacus"]}),e.jsx(B,{variant:"default",className:"mb-4 md:mb-6 inline-block uppercase tracking-wider font-bold bg-primary text-primary-foreground hover:bg-primary",children:a}),e.jsx("h1",{className:"font-display text-5xl md:text-7xl lg:text-8xl font-bold italic text-white uppercase tracking-tight leading-[0.9] mb-4 md:mb-6 break-words hyphens-auto",children:r}),n&&e.jsx("p",{className:"text-base md:text-xl text-white/80 mb-6 md:mb-8 max-w-2xl leading-relaxed",children:n}),e.jsxs("div",{className:"flex flex-wrap items-center gap-x-5 gap-y-2 text-sm md:text-base text-white/80 uppercase tracking-wider font-semibold",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(J,{className:"w-4 h-4"}),e.jsx("span",{children:i})]}),s&&e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(T,{className:"w-4 h-4"}),e.jsx("span",{children:L(new Date(s),"MMM d, yyyy")})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(X,{className:"w-4 h-4"}),e.jsxs("span",{children:[t," min read"]})]})]})]})})]})}function re(r){const[n,a]=u.useState(0);return u.useEffect(()=>{const i=r.current;if(!i)return;let s=0;const t=()=>{const l=i.getBoundingClientRect(),m=window.innerHeight||1,d=l.height-m;if(d<=0){a(l.top<=0?1:0);return}const c=Math.min(Math.max(-l.top,0),d);a(c/d)},o=()=>{cancelAnimationFrame(s),s=requestAnimationFrame(t)};return t(),window.addEventListener("scroll",o,{passive:!0}),window.addEventListener("resize",o),()=>{cancelAnimationFrame(s),window.removeEventListener("scroll",o),window.removeEventListener("resize",o)}},[r]),n}function ae({targetRef:r,offsetTop:n=0}){const a=re(r);return e.jsx("div",{className:"fixed left-0 right-0 z-[60] h-[3px] bg-transparent pointer-events-none",style:{top:n},"aria-hidden":"true",children:e.jsx("div",{className:"h-full bg-primary origin-left transition-transform duration-100 ease-out",style:{transform:`scaleX(${a})`,width:"100%"}})})}function ie(r){return e.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",width:"16",height:"16","aria-hidden":"true",...r,children:e.jsx("path",{d:"M20.52 3.48A11.78 11.78 0 0 0 12.04 0C5.5 0 .2 5.3.2 11.83c0 2.08.55 4.12 1.6 5.92L0 24l6.4-1.68a11.8 11.8 0 0 0 5.64 1.43h.01c6.53 0 11.83-5.3 11.83-11.83 0-3.16-1.23-6.12-3.46-8.34Zm-8.48 18.2h-.01a9.84 9.84 0 0 1-5.01-1.37l-.36-.21-3.8 1 1.02-3.7-.24-.38a9.83 9.83 0 0 1-1.5-5.2c0-5.43 4.42-9.85 9.86-9.85 2.63 0 5.1 1.03 6.96 2.89a9.78 9.78 0 0 1 2.88 6.97c0 5.43-4.42 9.85-9.85 9.85Zm5.4-7.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.66.15-.2.3-.76.97-.93 1.17-.17.2-.34.22-.64.07-.3-.15-1.26-.46-2.4-1.48-.88-.78-1.48-1.75-1.65-2.05-.17-.3-.02-.46.13-.6.13-.13.3-.34.45-.51.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.66-1.6-.91-2.18-.24-.58-.49-.5-.66-.5h-.56c-.2 0-.5.07-.76.37-.27.3-1 1-1 2.43 0 1.43 1.03 2.82 1.17 3.02.15.2 2.03 3.1 4.92 4.34.69.3 1.22.47 1.64.6.69.22 1.32.19 1.81.12.55-.08 1.76-.72 2.01-1.41.25-.7.25-1.29.18-1.41-.07-.12-.27-.2-.57-.34Z"})})}function S({url:r,title:n,variant:a="horizontal"}){const{toast:i}=R(),[s,t]=u.useState(!1),o=(()=>{if(typeof window>"u")return r;try{return new URL(r,window.location.origin).toString()}catch{return r}})(),l=encodeURIComponent(o),m=encodeURIComponent(n),d=[{key:"twitter",label:"Share on X",icon:te,href:`https://twitter.com/intent/tweet?text=${m}&url=${l}`},{key:"facebook",label:"Share on Facebook",icon:M,href:`https://www.facebook.com/sharer/sharer.php?u=${l}`},{key:"linkedin",label:"Share on LinkedIn",icon:ee,href:`https://www.linkedin.com/sharing/share-offsite/?url=${l}`},{key:"whatsapp",label:"Share on WhatsApp",icon:ie,href:`https://wa.me/?text=${m}%20${l}`}],c=async()=>{try{await navigator.clipboard.writeText(o),t(!0),i({title:"Link copied",description:"Share it anywhere."}),setTimeout(()=>t(!1),1800)}catch{i({title:"Copy failed",description:"Long-press the URL bar.",variant:"destructive"})}},g=a==="vertical";return e.jsxs("div",{className:`flex items-center gap-1 ${g?"flex-col bg-card border border-border rounded-sm p-1.5 shadow-sm":"flex-wrap"}`,role:"group","aria-label":"Share this article",children:[d.map(({key:h,label:b,icon:f,href:x})=>e.jsx(v,{variant:"ghost",size:"icon",asChild:!0,className:"h-9 w-9 text-muted-foreground hover:text-primary hover:bg-primary/10",children:e.jsx("a",{href:x,target:"_blank",rel:"noopener noreferrer","aria-label":b,title:b,children:e.jsx(f,{className:"w-4 h-4"})})},h)),e.jsx(v,{variant:"ghost",size:"icon",onClick:c,"aria-label":"Copy link",title:"Copy link",className:"h-9 w-9 text-muted-foreground hover:text-primary hover:bg-primary/10",children:s?e.jsx(z,{className:"w-4 h-4 text-primary"}):e.jsx(Q,{className:"w-4 h-4"})})]})}function oe(r){return r.split(/\s+/).filter(Boolean).slice(0,2).map(n=>{var a;return((a=n[0])==null?void 0:a.toUpperCase())??""}).join("")}function ne({name:r,role:n="Spartacus Team",bio:a="Real coaches, real experiences. We're the team behind the UK's #1 rated bubble football.",shareUrl:i,shareTitle:s}){return e.jsx("aside",{className:"border border-border bg-card rounded-sm p-6 md:p-8",children:e.jsxs("div",{className:"flex items-start gap-4 md:gap-6",children:[e.jsx("div",{"aria-hidden":"true",className:"shrink-0 w-14 h-14 md:w-16 md:h-16 rounded-full bg-primary text-primary-foreground font-heading font-black text-xl uppercase grid place-items-center",children:oe(r)||"S"}),e.jsxs("div",{className:"min-w-0 flex-1",children:[e.jsx("p",{className:"text-xs uppercase tracking-wider text-muted-foreground font-bold mb-1",children:"Written by"}),e.jsx("h3",{className:"font-heading uppercase tracking-tight text-xl md:text-2xl font-black text-foreground",children:r}),e.jsx("p",{className:"text-sm text-muted-foreground font-semibold uppercase tracking-wide mb-3",children:n}),e.jsx("p",{className:"text-sm md:text-base text-muted-foreground leading-relaxed mb-4",children:a}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs uppercase tracking-wider text-muted-foreground font-bold mb-2",children:"Share this"}),e.jsx(S,{url:i,title:s})]})]})]})})}function k({headline:r="Ready to play?",body:n="Meet your coach before you book. No subcontractors, ever.",ctaLabel:a="Book Now"}){const{openCitySelection:i}=H();return e.jsx("div",{className:"my-10 md:my-14 not-prose",children:e.jsxs("div",{className:"relative overflow-hidden bg-secondary text-secondary-foreground rounded-sm border-l-4 border-primary",children:[e.jsx("div",{className:"absolute inset-0 pointer-events-none opacity-[0.05]","aria-hidden":"true",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`}}),e.jsxs("div",{className:"relative z-10 p-6 md:p-8 flex flex-col md:flex-row md:items-center gap-4 md:gap-6",children:[e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"font-heading uppercase tracking-tight text-2xl md:text-3xl font-black text-white mb-2",children:r}),e.jsx("p",{className:"text-white/80 leading-relaxed",children:n})]}),e.jsxs(v,{size:"lg",onClick:()=>i({source:"blog-inline-cta"}),className:"bg-primary text-primary-foreground hover:bg-primary/90 font-heading uppercase tracking-wide font-black",children:[a,e.jsx($,{className:"ml-2 w-4 h-4"})]})]})]})})}function le({excludeSlug:r,limit:n=3}){const{data:a}=W(),i=(a??[]).filter(s=>s.slug!==r).slice(0,n);return i.length===0?null:e.jsx("section",{className:"py-12 md:py-20 px-4 bg-muted/40 border-t border-border",children:e.jsxs("div",{className:"container mx-auto max-w-6xl",children:[e.jsxs("div",{className:"mb-8 md:mb-12",children:[e.jsx("p",{className:"text-xs uppercase tracking-[0.2em] text-primary font-bold mb-2",children:"Keep reading"}),e.jsx("h2",{className:"font-heading uppercase tracking-tight text-3xl md:text-4xl font-black text-foreground",children:"More from Inside Spartacus"})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:i.map(s=>e.jsx(O,{post:s},s.id))})]})})}const E="<!--SPARTACUS_INLINE_CTA-->";function ce(r,n=2){if(!r)return{html:r,injected:!1};const a=[...r.matchAll(/<h2\b[^>]*>[\s\S]*?<\/h2>/gi)];if(a.length<n+1)return{html:r,injected:!1};const i=a[n],s=(i.index??0)+i[0].length;return{html:r.slice(0,s)+E+r.slice(s),injected:!0}}const de={"what-to-wear-for-bubble-football":"Not sure what to wear for bubble football? Discover the best clothing and footwear for staying comfortable and safe during your session.","is-bubble-football-safe-for-kids":"Wondering if bubble football is safe for kids? How it works for children, recommended ages, and safety measures parents should know.","how-much-does-bubble-football-cost":"Wondering how much bubble football costs? Average UK pricing, what affects cost, and what to expect when booking a professional provider.","bubble-football-on-ice":"Bubble football on ice nearly didn't happen. From cancellations to a last-minute breakthrough — here's how we pulled it off live.","planning-bubble-football-on-ice":"We planned bubble football on an ice rink during a live hockey game. Here's what happened behind the scenes, from slipping to pitching clubs."};function me(r){if(!r)return"";const n=/^<\/?(?:p|h[1-6]|ul|ol|li|blockquote|pre|hr|img|figure|div|iframe|table)[\s>/]/i,a="PARA",i=t=>{const o=t.replace(/<[^>]+>/g,"").trim();return o.length>40||/[.!?]"?$/.test(o)};let s=r.replace(/ |\u00a0|\u200b/g," ");return s=s.replace(/<p[^>]*>\s*(?:<br\s*\/?>\s*)*<\/p>/gi,a),s=s.replace(/(?:\s*<br\s*\/?>\s*){2,}/gi,a),s=s.replace(/<p([^>]*)>([\s\S]*?)<\/p>/gi,(t,o,l)=>{if(!/<br\s*\/?>/i.test(l))return`<p${o}>${l}</p>`;const m=l.split(/<br\s*\/?>/i).map(c=>c.trim()).filter(Boolean);if(m.length<=1)return`<p${o}>${m[0]||""}</p>`;const d=[m[0]];for(let c=1;c<m.length;c++){const g=d[d.length-1],h=m[c];i(g)&&i(h)?d.push(h):d[d.length-1]=`${g}<br>${h}`}return d.map(c=>`<p${o}>${c}</p>`).join(a)}),s=s.replace(/>\s*<br\s*\/?>\s*</gi,"><"),s=s.replace(/>\s*</g,`>
<`),s.split(new RegExp(`(?:${a}|\\n{2,})`)).map(t=>{const o=t.trim();return o?n.test(o)?o:`<p>${o.replace(/\n+/g," ")}</p>`:""}).filter(Boolean).join(`
`)}const he={ALLOWED_TAGS:["p","br","strong","em","u","h2","h3","ul","ol","li","a","blockquote","code","pre","hr","img","div","iframe"],ALLOWED_ATTR:["href","src","alt","class","target","rel","width","height","allow","allowfullscreen","frameborder","loading","referrerpolicy","title"],ALLOW_DATA_ATTR:!1,ADD_TAGS:["iframe"],ADD_ATTR:["allow","allowfullscreen","frameborder","referrerpolicy"]};function ke(){const{slug:r}=I(),[n]=P(),{isAdmin:a}=G(),i=n.get("preview")==="1"&&a,s=n.get("embed")==="1"&&i,{data:t,isLoading:o,error:l}=K(r||"",{preview:i}),m=u.useRef(null),d=u.useMemo(()=>q(t==null?void 0:t.content),[t==null?void 0:t.content]),c=u.useMemo(()=>{if(!(t!=null&&t.content))return{segments:[],injected:!1};const f=Z.sanitize(me(t.content),he),{html:x,injected:A}=ce(f,2);return{segments:x.split(E),injected:A}},[t==null?void 0:t.content]);if(o)return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(w,{}),e.jsx("section",{className:"pt-32 pb-16 px-4",children:e.jsxs("div",{className:"container mx-auto max-w-3xl",children:[e.jsx(p,{className:"h-8 w-32 mb-8"}),e.jsx(p,{className:"h-12 w-3/4 mb-4"}),e.jsx(p,{className:"h-6 w-1/2 mb-8"}),e.jsx(p,{className:"h-64 w-full rounded-lg mb-8"}),e.jsxs("div",{className:"space-y-4",children:[e.jsx(p,{className:"h-4 w-full"}),e.jsx(p,{className:"h-4 w-full"}),e.jsx(p,{className:"h-4 w-3/4"})]})]})}),e.jsx(j,{})]});if(l||!t)return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(N,{title:"Post Not Found | Spartacus Bubble Soccer",description:"This blog post could not be found. Browse all Spartacus Bubble Soccer articles.",noindex:!0}),e.jsx(w,{}),e.jsx("section",{className:"pt-32 pb-16 px-4",children:e.jsxs("div",{className:"container mx-auto max-w-3xl text-center",children:[e.jsx("h1",{className:"text-3xl font-bold text-foreground mb-4",children:"Post Not Found"}),e.jsx("p",{className:"text-muted-foreground mb-8",children:"The blog post you're looking for doesn't exist or has been removed."}),e.jsx(v,{asChild:!0,children:e.jsxs(y,{to:"/blog",children:[e.jsx(_,{className:"w-4 h-4 mr-2"}),"Back to Inside Spartacus"]})})]})}),e.jsx(j,{})]});const g=t.category==="tips"?"Tips & Guides":"Company News",h=`/blog/${t.slug}/`,b="prose-blog prose prose-base md:prose-lg max-w-none text-foreground prose-headings:text-foreground prose-headings:font-black prose-headings:uppercase prose-headings:tracking-tight prose-headings:break-words prose-headings:hyphens-auto prose-h2:text-2xl md:prose-h2:text-4xl prose-h2:mt-10 md:prose-h2:mt-14 prose-h2:mb-4 md:prose-h2:mb-5 prose-h2:leading-[1.05] prose-h3:text-xl md:prose-h3:text-2xl prose-h3:mt-8 md:prose-h3:mt-10 prose-h3:mb-3 prose-h3:leading-tight prose-p:text-foreground/85 prose-p:my-5 md:prose-p:my-6 prose-p:leading-[1.75] prose-p:break-words prose-strong:text-foreground prose-a:text-primary prose-a:font-semibold prose-a:no-underline hover:prose-a:underline prose-a:break-words prose-ul:my-5 prose-ol:my-5 prose-li:my-2 prose-li:text-foreground/85 prose-img:my-8 md:prose-img:my-10 [&_.video-embed]:relative [&_.video-embed]:w-full [&_.video-embed]:aspect-video [&_.video-embed]:my-8 md:[&_.video-embed]:my-10 [&_.video-embed]:rounded-md [&_.video-embed]:overflow-hidden [&_.video-embed]:shadow-lg [&_.video-embed_iframe]:absolute [&_.video-embed_iframe]:inset-0 [&_.video-embed_iframe]:w-full [&_.video-embed_iframe]:h-full [&_.video-embed_iframe]:border-0";return e.jsxs("div",{className:"min-h-screen bg-background",style:{paddingLeft:"env(safe-area-inset-left)",paddingRight:"env(safe-area-inset-right)"},children:[e.jsx(N,{title:`${t.title} | Spartacus Bubble Soccer`,description:de[t.slug]||t.excerpt||t.title,canonicalPath:`/blog/${t.slug}/`}),e.jsx(V,{id:`blog-${t.slug}`,data:U({title:t.title,slug:t.slug,excerpt:t.excerpt,authorName:t.author_name,publishedAt:t.published_at,imageUrl:t.featured_image_url})}),!s&&e.jsx(w,{}),i&&!s&&e.jsxs("div",{className:"bg-amber-500 text-black text-sm font-medium px-4 py-2 text-center sticky top-0 z-50 flex items-center justify-center gap-2",style:{paddingTop:"max(0.5rem, env(safe-area-inset-top))"},children:[e.jsx(Y,{className:"w-4 h-4"}),"Preview mode — this ",t.status==="published"?"post is live":"draft is not published",".",e.jsx(y,{to:`/admin/blog/${t.id}`,className:"underline ml-2",children:"Edit"})]}),!i&&e.jsx(ae,{targetRef:m}),e.jsx(se,{title:t.title,excerpt:t.excerpt,categoryLabel:g,authorName:t.author_name,publishedAt:t.published_at,readingTime:d,featuredImageUrl:t.featured_image_url,embedMode:s}),e.jsx("div",{className:"h-6 bg-background border-b border-border/40",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`},"aria-hidden":"true"}),e.jsx("article",{ref:m,className:"relative py-10 md:py-16 px-4",children:e.jsx("div",{className:"container mx-auto max-w-[1100px] relative",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[60px_minmax(0,1fr)] gap-6 lg:gap-10",children:[e.jsx("aside",{className:"hidden lg:block",children:e.jsx("div",{className:"sticky top-28",children:e.jsx(S,{url:h,title:t.title,variant:"vertical"})})}),e.jsx("div",{className:"max-w-[680px] mx-auto w-full",children:e.jsxs(F,{delay:.1,children:[c.segments.map((f,x)=>e.jsxs("div",{children:[e.jsx("div",{className:b,dangerouslySetInnerHTML:{__html:f}}),x<c.segments.length-1&&e.jsx(k,{})]},x)),!c.injected&&c.segments.length>0&&e.jsx(k,{}),e.jsx("div",{className:"mt-12 md:mt-16",style:{paddingBottom:"calc(var(--mobile-sticky-cta-height, 0px) + env(safe-area-inset-bottom) + 3rem)"},children:e.jsx(ne,{name:t.author_name,shareUrl:h,shareTitle:t.title})})]})})]})})}),!s&&e.jsx(le,{excludeSlug:t.slug}),!s&&e.jsx(D,{}),!s&&e.jsx(j,{}),e.jsx("div",{"aria-hidden":"true",style:{height:"env(safe-area-inset-bottom)"}})]})}export{ke as default};