(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[389],{8579:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[targetedlandingpage]",function(){return r(8539)}])},7256:function(e,t,r){"use strict";r.d(t,{y:function(){return o}});var n=r(5893),i=r(5675),a=r.n(i),s=r(2417),l=r(1664),c=r.n(l);let o=e=>{let{bannerImage:t,bannerText:r,ctaButton:i,subText:l,podcastSubText:o=!1}=e;return(0,n.jsxs)("div",{className:"relative z-10 h-[430px] w-screen overflow-hidden md:h-[409px] lg:h-[570.75px]",children:[(0,n.jsx)(a(),{src:t.url,alt:t.name,layout:"fill",objectFit:"cover",className:"inset-0 object-[right_70%] lg:object-[right_40%] xl:object-[right_30%] xxl:object-[right_25%]",priority:!0}),(0,n.jsx)("div",{className:"absolute inset-0 bg-blue-primary opacity-80 md:opacity-[0.69] lg:hidden"}),(0,n.jsxs)("div",{className:"relative z-10 flex size-full flex-col items-center justify-center px-5 text-center md:w-[65%] md:max-w-screen-lg md:items-start md:px-[30px] md:text-left lg:mx-auto lg:w-[1140px] lg:grow lg:px-0",children:[(0,n.jsx)("h1",{className:"-mt-4 mb-5 text-3xl font-bold text-white md:mb-6 md:mt-[-60px] md:text-[35px] lg:mb-5 lg:mt-[-12px] lg:w-1/2 lg:text-[45px] lg:leading-[54px]",children:r}),l&&(0,n.jsx)("p",{className:"text-[18px] leading-[21.6px] text-blue-light md:leading-[25.2px] lg:w-1/2 lg:text-xl",children:l}),o&&(0,n.jsxs)("p",{className:"mt-10 text-[16px] leading-[21.6px] md:text-[18px] md:leading-[25.2px]",children:[(0,n.jsx)("span",{className:"text-orange-400",children:"New episodes every: "}),(0,n.jsx)("br",{}),(0,n.jsx)("span",{className:"text-white",children:"Monday | Wednesday | Friday"})]}),i&&(0,n.jsx)(s.z,{className:"mt-8 rounded-md bg-orange-600 px-[55px] py-6 text-base text-white hover:bg-orange-500",children:(0,n.jsx)(c(),{href:i.url,"aria-label":i.description,children:i.text})})]})]})}},3754:function(e,t,r){"use strict";r.d(t,{z:function(){return s}});var n=r(5893),i=r(1664),a=r.n(i);let s=e=>{let{navPath:t,currentPage:r,totalPages:i}=e,s=Math.max(1,r-Math.floor(2.5)),l=Math.min(i,s+5-1);return(0,n.jsx)("nav",{className:"pagination-nav",children:(0,n.jsxs)("ul",{className:"flex flex-row space-x-2 text-blue-primary text-lg",children:[r>1&&(0,n.jsx)("li",{children:(0,n.jsx)(a(),{href:"/".concat(t,"/").concat(r-1),children:(0,n.jsx)("span",{children:"\xab Previous"})})}),s>1&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("li",{children:(0,n.jsx)(a(),{href:"/".concat(t,"/1"),children:(0,n.jsx)("span",{children:"1"})})}),s>2&&(0,n.jsx)("li",{children:(0,n.jsx)("span",{children:"…"})})]}),Array.from({length:l-s+1},(e,i)=>(0,n.jsx)("li",{children:(0,n.jsx)(a(),{href:"/".concat(t,"/").concat(s+i),children:(0,n.jsx)("span",{className:r===s+i?"text-blue-secondary":"",children:s+i})})},s+i)),l{let{className:r,variant:i,size:s,asChild:o=!1,...d}=e,x=o?a.g7:"button";return(0,n.jsx)(x,{className:(0,l.cn)(c({variant:i,size:s,className:r})),ref:t,...d})});o.displayName="Button"},3917:function(e,t,r){"use strict";r.d(t,{cn:function(){return a}});var n=r(512),i=r(8388);function a(){for(var e=arguments.length,t=Array(e),r=0;rnew Date(t.attributes.publish_date).getTime()-new Date(e.attributes.publish_date).getTime());return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(o(),{children:[(0,n.jsxs)("title",{children:["Dentists Who Invest Articles page ",r]}),(0,n.jsx)("meta",{name:"title",content:"Dentists Who Invest Articles page ".concat(r)}),(0,n.jsx)("meta",{name:"description",content:"Page of ".concat(s," dental and finance articles. Page ").concat(r,"/").concat(i)}),(0,n.jsx)("meta",{name:"keywords",content:"Dentistry, Finance, Article, News"}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:title",content:"Dentists Who Invest Articles page ".concat(r)}),(0,n.jsx)("meta",{property:"og:description",content:"Page of ".concat(s," dental and finance articles. Page ").concat(r,"/").concat(i)}),(0,n.jsx)("meta",{property:"og:url",content:"https://www.dentistswhoinvest.com/articles/".concat(r)}),(0,n.jsx)("meta",{property:"og:image",content:"https://assets.dentistswhoinvest.com/blog_hero_cover_95c157286b/blog_hero_cover_95c157286b.webp"}),(0,n.jsx)("meta",{property:"og:site_name",content:"Dentists Who Invest"})]}),(0,n.jsxs)("main",{className:"flex flex-col",children:[(0,n.jsx)(u.y,{bannerText:"Articles",subText:"Read to understand how you can accelerate your financial goals​",bannerImage:{url:"https://assets.dentistswhoinvest.com/blog_hero_cover_95c157286b/blog_hero_cover_95c157286b.webp",name:"blog_hero_cover_95c157286b"}}),(0,n.jsx)("div",{className:"py-[40px] text-center text-3xl font-bold text-blue-secondary lg:py-[70px] lg:text-[45px]",children:"All Articles"}),(0,n.jsx)("ul",{className:"grid grid-cols-1 gap-4 self-center md:grid-cols-2 xl:mx-[40px] xl:grid-cols-3",children:c.map(e=>{let t=h(e.attributes.title);return(0,n.jsx)("li",{children:(0,n.jsx)(a(),{href:"/article/".concat(t),children:(0,n.jsxs)("div",{className:"m-6 flex w-[315px] grow flex-col justify-evenly rounded-2xl border-2 border-blue-secondary bg-white text-center shadow-custom md:h-[500px] lg:h-[567px] lg:w-[430px]",children:[(0,n.jsx)(l(),{src:e.attributes.cover.data.attributes.url,alt:e.attributes.title,width:311,height:311,className:"h-[311px] rounded-t-xl border border-blue-secondary bg-blue-secondary object-cover md:h-[442px] lg:size-[430px]"}),(0,n.jsx)("div",{className:"grow px-5 pt-5 text-center text-xl text-blue-primary",dangerouslySetInnerHTML:{__html:e.attributes.title}})]})})},e.id)})}),(0,n.jsx)("div",{className:"mt-6 self-center pb-10",children:(0,n.jsx)("div",{children:(0,n.jsx)(m.z,{navPath:"articles",currentPage:r,totalPages:i})})})]})]})}},230:function(e,t,r){"use strict";r.d(t,{i:function(){return m}});var n=r(5893),i=r(7294);let a=({text:e,...t})=>{let{modifiers:r,missingModifierTypes:i}=u();return Object.keys(t).reduce((e,a)=>{if(!t[a])return e;let s=r[a];return s?(0,n.jsx)(s,{children:e}):(i.includes(a)||(console.warn(`[@strapi/block-react-renderer] No component found for modifier "${a}"`),i.push(a)),e)},(0,n.jsx)(n.Fragment,{children:e}))},s=["image"],l=e=>{let{children:t,type:r,...n}=e;if("code"===r){let t=e=>e.reduce((e,r)=>"text"===r.type?e.concat(r.text):"link"===r.type?e.concat(t(r.children)):e,"");return{...n,plainText:t(e.children)}}return n},c=({content:e})=>{let{children:t,type:r,...o}=e,{blocks:d,missingBlockTypes:x}=u(),m=d[r];if(!m)return x.includes(r)||(console.warn(`[@strapi/block-react-renderer] No component found for block type "${r}"`),x.push(r)),null;if(s.includes(r))return(0,n.jsx)(m,{...o});if("paragraph"===r&&1===t.length&&"text"===t[0].type&&""===t[0].text)return(0,n.jsx)("br",{});let p=l(e);return(0,n.jsx)(m,{...p,children:t.map((e,t)=>{if("text"===e.type){let{type:r,...n}=e;return(0,i.createElement)(a,{...n,key:t})}return(0,n.jsx)(c,{content:e},t)})})},o={blocks:{paragraph:e=>(0,n.jsx)("p",{children:e.children}),quote:e=>(0,n.jsx)("blockquote",{children:e.children}),code:e=>(0,n.jsx)("pre",{children:(0,n.jsx)("code",{children:e.plainText})}),heading:({level:e,children:t})=>{switch(e){case 1:return(0,n.jsx)("h1",{children:t});case 2:return(0,n.jsx)("h2",{children:t});case 3:return(0,n.jsx)("h3",{children:t});case 4:return(0,n.jsx)("h4",{children:t});case 5:return(0,n.jsx)("h5",{children:t});case 6:return(0,n.jsx)("h6",{children:t})}},link:e=>(0,n.jsx)("a",{href:e.url,children:e.children}),list:e=>"ordered"===e.format?(0,n.jsx)("ol",{children:e.children}):(0,n.jsx)("ul",{children:e.children}),"list-item":e=>(0,n.jsx)("li",{children:e.children}),image:e=>(0,n.jsx)("img",{src:e.image.url,alt:e.image.alternativeText||void 0})},modifiers:{bold:e=>(0,n.jsx)("strong",{children:e.children}),italic:e=>(0,n.jsx)("em",{children:e.children}),underline:e=>(0,n.jsx)("u",{children:e.children}),strikethrough:e=>(0,n.jsx)("del",{children:e.children}),code:e=>(0,n.jsx)("code",{children:e.children})},missingBlockTypes:[],missingModifierTypes:[]},d=i.createContext(o),x=({children:e,value:t=o})=>{let r=i.useMemo(()=>t,[t]);return(0,n.jsx)(d.Provider,{value:r,children:e})};function u(){return i.useContext(d)}let m=e=>{let t={...o.blocks,...e.blocks},r={...o.modifiers,...e.modifiers},a=i.useRef([]),s=i.useRef([]);return(0,n.jsx)(x,{value:{blocks:t,modifiers:r,missingBlockTypes:a.current,missingModifierTypes:s.current},children:e.content.map((e,t)=>(0,n.jsx)(c,{content:e},t))})}}},function(e){e.O(0,[945,786,888,774,179],function(){return e(e.s=8579)}),_N_E=e.O()}]);