{"version":3,"file":"BlogPagination.B_mk9Oza.mjs","names":["Button","React.useContext","React.useMemo","React.Fragment","React.useState","React.forwardRef","useRef","React.useId","sharedStyle.className","sharedStyle1.className","className","Image1","RichText","sharedStyle.css","sharedStyle1.css","sharedStyle.fonts","sharedStyle1.fonts","useMemo"],"sources":["https:/framerusercontent.com/modules/v5YmyiQJavnC5ruKf3aO/ze7jPYmLfOrA3XYpAoz7/ngmkbycFH.js","https:/framerusercontent.com/modules/GRY9xAAs9H5E2HnLan3M/hP9dfLY7dZQkTl3QfUyU/BlogPagination.js"],"sourcesContent":["// Generated by Framer (1a93ff7)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,forwardLoader,getFonts,getFontsFromSharedStyle,getLoadingLazyAtYPosition,Image as Image1,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/7x1ps4YTYm4ZBvXvrdYW/SdPkB0CHz4Bs06mH9pC8/JpETUk2kx.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/6gbpKpKRCLWCpF7POUrf/t7uRnaS0p94MkfSoUx88/nYkna7_zu.js\";import Button from\"https://framerusercontent.com/modules/0wjI7G9x47sxtpSp8X5r/B0hSzqPoRw1COvhfBdvW/ZaEBpvtaK.js\";const ButtonFonts=getFonts(Button);const serializationHash=\"framer-wZ83w\";const variantClassNames={dK6N3OXdt:\"framer-v-16vrhvc\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const ghHmIV5VI=undefined;const lfrmmn2CS=undefined;const d5_BUiMb1=undefined;const w994gQuLo=undefined;const xuGx3b4Uy=undefined;const setw994gQuLo=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const matchVariant=(...args)=>{for(const arg of args){if(arg&&typeof arg===\"string\")return arg;}return undefined;};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const useStateVariable=(externalState,setExternalState)=>{const[internalState,setInternalState]=React.useState(externalState);const[previousExternalState,setPreviousExternalState]=React.useState(externalState);if(setExternalState){return[externalState,setExternalState];}if(externalState!==previousExternalState){setInternalState(externalState);setPreviousExternalState(externalState);}return[internalState,setInternalState];};const getProps=({cTA,height,id,link,shortDescription,thumbnail,title,width,...props})=>{return{...props,d5_BUiMb1:shortDescription??props.d5_BUiMb1??\"Many companies and professional email newsletter writers are either considering launching a podcast or have already launched one.\",ghHmIV5VI:thumbnail??props.ghHmIV5VI,lfrmmn2CS:title??props.lfrmmn2CS??\"How To Promote Your Company's Podcast\",w994gQuLo:cTA??props.w994gQuLo??\"Read more\",xuGx3b4Uy:link??props.xuGx3b4Uy};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,ghHmIV5VI,lfrmmn2CS,d5_BUiMb1,xuGx3b4Uy,\"w994gQuLo\":externalw994gQuLo,\"onw994gQuLoChange\":setExternalw994gQuLo,...restProps}=getProps(props);const[w994gQuLo,setw994gQuLo]=useStateVariable(externalw994gQuLo,setExternalw994gQuLo);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"dK6N3OXdt\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-16vrhvc\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"dK6N3OXdt\",ref:refBinding,style:{...style},children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-58pplz\",\"data-border\":true,layoutDependency:layoutDependency,layoutId:\"GQ5XUikdT\",style:{\"--border-bottom-width\":\"2px\",\"--border-color\":\"rgb(34, 34, 34)\",\"--border-left-width\":\"2px\",\"--border-right-width\":\"2px\",\"--border-style\":\"solid\",\"--border-top-width\":\"2px\",backgroundColor:\"var(--token-cb4bfdfd-5b2e-4ee9-b8aa-05d268ff531a, rgb(242, 233, 222))\",boxShadow:\"6px 7px 0px -2px var(--token-efbc5fab-b48f-49e0-a3b3-4151a9a14244, rgb(12, 83, 79))\"},children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-lh6h0u\",layoutDependency:layoutDependency,layoutId:\"Tg_S3Axfw\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-143jjv\",layoutDependency:layoutDependency,layoutId:\"ua6IZArTY\",style:{background:\"linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgb(242, 233, 222) 100%)\"},children:/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+(((componentViewport?.height||500)-0-718)/2+0+0)+0+0+0+0+0),sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(ghHmIV5VI)},className:\"framer-10a72ym\",\"data-border\":true,layoutDependency:layoutDependency,layoutId:\"AXBr_Qffv\",style:{\"--border-bottom-width\":\"2px\",\"--border-color\":\"var(--token-982c085e-f1cd-4910-a5a3-1a34e3218d45, rgb(35, 8, 10))\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0px\"}})})}),/*#__PURE__*/_jsxs(motion.div,{className:\"framer-rqdn1h\",layoutDependency:layoutDependency,layoutId:\"hnnIcI0Cx\",children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h2,{className:\"framer-styles-preset-z2437p\",\"data-styles-preset\":\"nYkna7_zu\",dir:\"auto\",children:\"How To Promote Your Company's Podcast\"})}),className:\"framer-18zhzv1\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"MmjWqGXi4\",text:lfrmmn2CS,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-94ur7e\",\"data-styles-preset\":\"JpETUk2kx\",dir:\"auto\",children:\"Many companies and professional email newsletter writers are either considering launching a podcast or have already launched one.\"})}),className:\"framer-kckxkd\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"WQqNiGjKP\",text:d5_BUiMb1,verticalAlignment:\"top\",withExternalLayout:true})]}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-164zbpp\",layoutDependency:layoutDependency,layoutId:\"W4RMaiv3S\",children:/*#__PURE__*/_jsx(ComponentViewportProvider,{height:200,y:(componentViewport?.y||0)+0+(((componentViewport?.height||500)-0-718)/2+0+0)+0+488+0+0,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-oii56q-container\",layoutDependency:layoutDependency,layoutId:\"lifqwYrJW-container\",nodeId:\"lifqwYrJW\",rendersWithMotion:true,scopeId:\"ngmkbycFH\",children:/*#__PURE__*/_jsx(Button,{AVSEnoYLd:w994gQuLo,height:\"100%\",id:\"lifqwYrJW\",JBBoHivOS:xuGx3b4Uy,layoutId:\"lifqwYrJW\",onAVSEnoYLdChange:setw994gQuLo,variant:matchVariant(\"LRoF4TSqL\"),width:\"100%\",zoAoz6FWX:false})})})})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-wZ83w.framer-kl50md, .framer-wZ83w .framer-kl50md { display: block; }\",\".framer-wZ83w.framer-16vrhvc { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; min-height: 500px; overflow: visible; padding: 0px; position: relative; width: 379px; }\",\".framer-wZ83w .framer-58pplz { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 9px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 100%; z-index: 2; }\",\".framer-wZ83w .framer-lh6h0u { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 310px; justify-content: flex-start; overflow: hidden; padding: 0px; position: relative; width: 100%; z-index: 0; }\",\".framer-wZ83w .framer-143jjv { flex: none; height: 100%; overflow: var(--overflow-clip-fallback, clip); position: relative; width: 100%; }\",\".framer-wZ83w .framer-10a72ym { bottom: 0px; flex: none; left: 0px; mix-blend-mode: darken; position: absolute; right: 0px; top: 0px; }\",\".framer-wZ83w .framer-rqdn1h { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 10px 30px 10px 30px; position: relative; width: 100%; z-index: 9; }\",'.framer-wZ83w .framer-18zhzv1 { --text-truncation-display-inline-for-safari-16: inline; --text-truncation-display-none-for-safari-16: none; --text-truncation-line-break-for-safari-16: \"\\\\A\"; -webkit-box-orient: vertical; -webkit-line-clamp: 1; display: -webkit-box; flex: none; height: auto; overflow: var(--overflow-clip-fallback, clip); position: relative; white-space: pre-line; width: 100%; word-break: break-word; word-wrap: break-word; }','.framer-wZ83w .framer-kckxkd { --framer-text-wrap-override: balance; --text-truncation-display-inline-for-safari-16: inline; --text-truncation-display-none-for-safari-16: none; --text-truncation-line-break-for-safari-16: \"\\\\A\"; -webkit-box-orient: vertical; -webkit-line-clamp: 3; display: -webkit-box; flex: none; height: auto; overflow: var(--overflow-clip-fallback, clip); position: relative; width: 100%; }',\".framer-wZ83w .framer-164zbpp { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: flex-start; overflow: var(--overflow-clip-fallback, clip); padding: 0px 30px 30px 30px; position: relative; width: 100%; z-index: 9; }\",\".framer-wZ83w .framer-oii56q-container { flex: none; height: auto; position: relative; width: auto; }\",...sharedStyle.css,...sharedStyle1.css,'.framer-wZ83w[data-border=\"true\"]::after, .framer-wZ83w [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 523\n * @framerIntrinsicWidth 379\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"],\"constraints\":[null,null,\"500px\",null]}}}\n * @framerVariables {\"ghHmIV5VI\":\"thumbnail\",\"lfrmmn2CS\":\"title\",\"d5_BUiMb1\":\"shortDescription\",\"xuGx3b4Uy\":\"link\",\"w994gQuLo\":\"cTA\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerngmkbycFH=withCSS(Component,css,\"framer-wZ83w\");export default FramerngmkbycFH;FramerngmkbycFH.displayName=\"Blog Card\";FramerngmkbycFH.defaultProps={height:523,width:379};addPropertyControls(FramerngmkbycFH,{ghHmIV5VI:{title:\"Thumbnail\",type:ControlType.ResponsiveImage},lfrmmn2CS:{defaultValue:\"How To Promote Your Company's Podcast\",title:\"Title\",type:ControlType.String},onlfrmmn2CSChange:{changes:\"lfrmmn2CS\",type:ControlType.ChangeHandler},d5_BUiMb1:{defaultValue:\"Many companies and professional email newsletter writers are either considering launching a podcast or have already launched one.\",title:\"Short description\",type:ControlType.String},ond5_BUiMb1Change:{changes:\"d5_BUiMb1\",type:ControlType.ChangeHandler},xuGx3b4Uy:{title:\"Link\",type:ControlType.Link},w994gQuLo:{defaultValue:\"Read more\",displayTextArea:false,title:\"CTA\",type:ControlType.String},onw994gQuLoChange:{changes:\"w994gQuLo\",type:ControlType.ChangeHandler}});addFonts(FramerngmkbycFH,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...ButtonFonts,...getFontsFromSharedStyle(sharedStyle.fonts),...getFontsFromSharedStyle(sharedStyle1.fonts)],{supportsExplicitInterCodegen:true});FramerngmkbycFH.loader={load:(props,context)=>{const locale=context.locale;return Promise.allSettled([forwardLoader(Button,{},context)]);}};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerngmkbycFH\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"523\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"379\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"],\\\"constraints\\\":[null,null,\\\"500px\\\",null]}}}\",\"framerVariables\":\"{\\\"ghHmIV5VI\\\":\\\"thumbnail\\\",\\\"lfrmmn2CS\\\":\\\"title\\\",\\\"d5_BUiMb1\\\":\\\"shortDescription\\\",\\\"xuGx3b4Uy\\\":\\\"link\\\",\\\"w994gQuLo\\\":\\\"cTA\\\"}\",\"framerComponentViewportWidth\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ngmkbycFH.map","// Pagination controls for the Aloudable Insights (/blog) listing.\n// Requested: split blog posts across paginated pages instead of one growing page.\n// Shows numbered page links plus Previous/Next, marks the current page, uses\n// real <a href> links to distinct URLs (/blog, /blog/page/2, /blog/page/3) so\n// crawlers, the back/forward buttons, refresh and link sharing all work.\n// Collapses to \"Previous / Page X of Y / Next\" on small screens.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const INK=\"rgb(35, 8, 10)\";const SUBTLE=\"rgb(250, 250, 247)\";const TAN=\"rgb(214, 157, 99)\";const ORANGE=\"rgb(234, 98, 61)\";const FONT_MEDIUM='\"Graphik Web Medium\", \"Graphik Web Medium Placeholder\", sans-serif';function buildHref(basePath,page){const root=basePath.replace(/\\/+$/,\"\")||\"/blog\";return page<=1?root:root+\"/page/\"+page;}function buildPageList(current,total){if(total<=7){const all=[];for(let i=1;i<=total;i++)all.push(i);return all;}const wanted=[1,total,current-1,current,current+1];const kept=[];for(let i=1;i<=total;i++){if(wanted.indexOf(i)!==-1)kept.push(i);}return kept;}/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function BlogPagination(props){const{currentPage,totalPages,basePath,style}=props;const total=Math.max(1,Math.round(totalPages));const current=Math.min(Math.max(1,Math.round(currentPage)),total);const pages=useMemo(()=>buildPageList(current,total),[current,total]);const css=`\n.ald-pagination {\n    position: relative;\n    display: flex;\n    flex-flow: row wrap;\n    align-items: center;\n    justify-content: center;\n    gap: 12px;\n    width: 100%;\n    padding: 36px 0 4px 0;\n    box-sizing: border-box;\n    font-family: ${FONT_MEDIUM};\n}\n.ald-pagination .ald-numbers {\n    display: flex;\n    align-items: center;\n    gap: 12px;\n}\n.ald-pagination a,\n.ald-pagination span.ald-page {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    box-sizing: border-box;\n    min-width: 46px;\n    height: 46px;\n    padding: 0 14px;\n    border: 2px solid ${INK};\n    background-color: ${SUBTLE};\n    color: ${INK};\n    font-family: ${FONT_MEDIUM};\n    font-size: 16px;\n    font-weight: 500;\n    line-height: 1.4em;\n    letter-spacing: -0.02em;\n    text-decoration: none;\n    transition: box-shadow 0.16s ease-out;\n}\n.ald-pagination a.ald-step {\n    padding: 0 22px;\n    gap: 8px;\n}\n.ald-pagination a:hover {\n    box-shadow: 6px 7px 0px -3px ${ORANGE};\n}\n.ald-pagination a:focus-visible {\n    outline: 2px solid ${ORANGE};\n    outline-offset: 3px;\n}\n.ald-pagination span.ald-page[aria-current=\"page\"] {\n    background-color: ${TAN};\n    box-shadow: 6px 7px 0px -3px ${INK};\n}\n.ald-pagination span.ald-gap {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    min-width: 20px;\n    height: 46px;\n    color: ${INK};\n    font-size: 16px;\n    letter-spacing: -0.02em;\n    opacity: 0.55;\n}\n.ald-pagination .ald-compact {\n    display: none;\n    align-items: center;\n    height: 46px;\n    color: ${INK};\n    font-size: 16px;\n    letter-spacing: -0.02em;\n    white-space: nowrap;\n}\n@media (max-width: 700px) {\n    .ald-pagination {\n        gap: 10px;\n        padding-top: 28px;\n        flex-wrap: nowrap;\n        justify-content: space-between;\n    }\n    .ald-pagination .ald-numbers {\n        display: none;\n    }\n    .ald-pagination .ald-compact {\n        display: inline-flex;\n    }\n    .ald-pagination a.ald-step {\n        padding: 0 16px;\n    }\n}\n`;const numbers=[];for(let i=0;i<pages.length;i++){const page=pages[i];const previous=pages[i-1];if(previous!==undefined&&page-previous>1){numbers.push(/*#__PURE__*/_jsx(\"span\",{className:\"ald-gap\",\"aria-hidden\":\"true\",children:\"…\"},\"gap-\"+page));}if(page===current){numbers.push(/*#__PURE__*/_jsx(\"span\",{className:\"ald-page\",\"aria-current\":\"page\",children:page},page));}else{numbers.push(/*#__PURE__*/_jsx(\"a\",{href:buildHref(basePath,page),\"aria-label\":\"Go to page \"+page,children:page},page));}}if(total<=1)return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"relative\"}});return /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\"},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}}),/*#__PURE__*/_jsxs(\"nav\",{className:\"ald-pagination\",\"aria-label\":\"Insights pagination\",children:[current>1?/*#__PURE__*/_jsx(\"a\",{className:\"ald-step\",href:buildHref(basePath,current-1),rel:\"prev\",\"aria-label\":\"Go to the previous page of Insights\",children:\"Previous\"}):null,/*#__PURE__*/_jsx(\"div\",{className:\"ald-numbers\",children:numbers}),/*#__PURE__*/_jsxs(\"span\",{className:\"ald-compact\",children:[\"Page \",current,\" of \",total]}),current<total?/*#__PURE__*/_jsx(\"a\",{className:\"ald-step\",href:buildHref(basePath,current+1),rel:\"next\",\"aria-label\":\"Go to the next page of Insights\",children:\"Next\"}):null]})]});}BlogPagination.defaultProps={currentPage:1,totalPages:3,basePath:\"/blog\"};addPropertyControls(BlogPagination,{currentPage:{type:ControlType.Number,title:\"Current page\",defaultValue:1,min:1,max:50,step:1,displayStepper:true},totalPages:{type:ControlType.Number,title:\"Total pages\",defaultValue:3,min:1,max:50,step:1,displayStepper:true},basePath:{type:ControlType.String,title:\"Base path\",defaultValue:\"/blog\",placeholder:\"/blog\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BlogPagination\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BlogPagination.map"],"mappings":"okBACwD,IAAqR,IAAkE,IAA4B,IAAoJ,KAAyH,IAAiH,EAAO,EAAY,EAASA,CAAM,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,EAA8V,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,EAAkB,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB,EAAc,OAAO,GAAQ,SAAS,CAAC,IAAI,CAAK,EAAE,IAAA,GAAkB,GAAc,GAAG,IAAO,CAAC,IAAI,IAAM,KAAO,EAAM,GAAG,GAAK,OAAO,GAAM,SAAS,OAAO,CAAsB,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,CAAmB,EAAQ,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,YAAU,GAAG,CAAC,KAAK,UAAU,CAAU,CAAC,CAAC,EAAE,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,UAAQ,CAAC,CAAE,EAAQ,EAAS,EAAO,OAAOC,CAAc,EAAQ,GAAkB,EAAc,IAAmB,CAAC,GAAK,CAAC,EAAc,GAAkBC,EAAe,CAAa,EAAO,CAAC,EAAsB,GAA0BA,EAAe,CAAa,EAAkL,OAA7K,EAAwB,CAAC,EAAc,CAAgB,GAAM,IAAgB,IAAuB,EAAiB,C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