PageSourceSearch

https://expenseincms.netlify.app/_next/static/chunks/pages/blog/[categorySlug]/[slug]-44ad26b4c1a42750.js

js expenseincms.netlify.app collected 2026-10-03 10:44:08 UTC 14,870 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[969],{2764:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[categorySlug]/[slug]",function(){return n(6928)}])},185:function(e,t){"use strict";t.Z=function(){var e,t,n,l;let s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,c=arguments.length>1?arguments[1]:void 0,i=(null==s?void 0:null===(e=s.content)||void 0===e?void 0:e.meta_title)?s.content.meta_title:null,a=(null==s?void 0:null===(t=s.content)||void 0===t?void 0:t.meta_description)?s.content.meta_description:null,o=(null==s?void 0:null===(n=s.content)||void 0===n?void 0:n.og_image)?s.content.og_image.filename:null,r=(null==s?void 0:null===(l=s.content)||void 0===l?void 0:l.og_image)?s.content.og_image.alt:null,d=Object.assign({},i&&{title:i,openGraph:{title:i}},a&&{description:a,openGraph:{description:a}},o&&{openGraph:{images:[{url:o,alt:r}]}},c&&c);return d}},1604:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return r},default:function(){return d}});var l=n(5893),s=n(9008),c=n.n(s),i=n(3277),a=n(6147),o=n(155),r=!0;function d(e){let{global:t}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(c(),{children:[(0,l.jsx)("title",{children:"Page Not Found | E
1xpenseIn"}),(0,l.jsx)(i.Z,{})]}),(0,l.jsx)(a.Z,{refBlok:t.find(e=>"header"==e.slug)}),(0,l.jsxs)("div",{className:"container space-4",children:[(0,l.jsx)("h1",{children:"Uh oh! 404."}),(0,l.jsx)("p",{children:"We couldn't find the page you were looking for."}),(0,l.jsx)("a",{href:"/",children:"Go to ExpenseIn home"})]}),(0,l.jsx)(o.Z,{refBlok:t.find(e=>"footer"==e.slug)})]})}},6928:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return L},default:function(){return q}});var l=n(5893),s=n(9008),c=n.n(s),i=n(2308),a=n(3277),o=n(5203),r=n(1604),d=n(1163),m=n(2962),h=n(185),x=n(8297),u=n(1664),b=n.n(u),g=e=>{var t;let{article:n,shareLinks:s,sidebar:c=!1}=e,i=n.first_published_at||n.created_at;return(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:"mb-4",children:[(0,l.jsx)("nav",{"aria-label":"breadcrumb",children:(0,l.jsxs)("ol",{className:"breadcrumb pl-0 space-bottom-2",children:[(0,l.jsx)("li",{className:"breadcrumb-item",children:(0,l.jsx)("a",{href:"/blog",children:"Blog"})}),(0,l.jsx)("li",{className:"breadcrumb-item",children:(0,l.jsx)(b(),{href:"/blog/".concat(n.content.categories[0].slug),children:n.content.categories[0].name})}),(0,l.jsx)("li",{className:"breadcrumb-item active","aria-current":"page",children:n.name})]})}),(0,l.jsx)("h1",{className:"h2 ".concat(c?"space-bottom-2":""),children:n.name})]}),(0,l.jsx)("div",{className:"border-top border-bottom py-4 mb-5",children:(0,l.jsxs)("div",{className:"row align-items-md-center",children:[(0,l.jsx)("div",{className:"col-md-7 mb-5 mb-md-0",children:(0,l.jsx)("div",{className:"align-items-center",children:(0,l.jsxs)("div",{className:"font-size-1",children:[(0,l.jsxs)("span",{className:"h6",children:["By ",null===(t=n.content.author)||void 0===t?void 0:t.name]}),!n.content.hide_date&&(0,l.jsx)("span",{className:"d-block text-muted",children:new Date(i).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})})]})})}),(0,l.jsx)("div",{className:"col-md-5",children:(0,l.jsxs)("div",{className:"d-flex justify-content-md-end align-items-center",children:[(0,l.jsx)("span",{className:"d-block small font-weight-bold text-cap mr-2",children:"Share:"}),Object.entries(s).map(e=>{let[t,n]=e;return(0,l.jsx)("a",{target:"_blank",className:"btn btn-xs btn-icon btn-ghost-secondary rounded-circle mr-2",href:n,children:(0,l.jsx)("i",{className:"fab fa".concat("twitter"==t?"-x-":"-").concat(t).concat("facebook"==t?"-f":"")})},t)})]})})]})})]})},j=n(455),p=n(2884),v=n(388),f=n(6952),k=n(9823),N=n(6689),w=n(7294),_=(e,t)=>{(0,w.useEffect)(()=>{let n=document.createElement("script");return n.src=e,n.async=!1,document.head.appendChild(n),n.onload=t,()=>{document.head.removeChild(n)}},[e])},y=e=>e.toLowerCase().replace(/[^\w ]+/g,"").replace(/ +/g,"-"),Z=e=>{let{blok:t,content:n}=e;_("/assets/vendor/hs-scroll-nav/dist/hs-scroll-nav.min.js",function(){$(".js-scroll-nav").each(function(){new HSScrollNav($(this)).init()})});let s=n.content.filter(e=>"heading"==e.type&&e.attrs.level==t.level),c=s.reduce((e,t)=>{let n=t.content.find(e=>"text"==e.type);return n&&e.push(n),e},[]);return(0,l.jsx)("ul",{className:"contents-blok js-scroll-nav px-".concat("bullets"==t.list_style?"5":"4"),children:c&&c.map((e,n)=>(0,l.jsxs)("li",{className:"".concat("bullets"!==t.list_style?"list-unstyled":""," mb-2"),children:["ordered"==t.list_style?"".concat(n+1,"."):"",(0,l.jsx)("a",{className:"ordered"==t.list_style?"ml-2":"",href:"#".concat(y(e.text)),children:e.text})]},"contents-item_".concat(n)))})},S=n(6608),E=n(3603),B=n(1900),P=e=>{let{blok:t}=e,n=t.animation;return(void 0!==(null==n?void 0:n.filename)&&n.filename||(n.filename="https://a.storyblok.com/f/103607/1640x924/480ed85560/fallback-image.jpg"),n.filename.endsWith(".json")||n.filename.endsWith(".lottie"))?(0,l.jsx)("p",{class:"my-4",children:(0,l.jsx)("div",{class:"lottie-container",children:(0,l.jsx)(B.nI,{src:n.filename,autoplay:!0,loop:!0})})}):(0,l.jsx)("img",{src:n.filename,alt:n.alt,class:"img-fluid"})};let O=e=>{let{children:t,props:n}=e;return(0,l.jsx)("blockquote",{className:"blockquote text-center border-0 my-5",children:t&&t.map((e,t)=>{switch(t){case 0:return(0,l.jsx)("p",{className:"mb-0 text-dark",children:e.props.children},"bq-".concat(t));case 1:return(0,l.jsx)("footer",{className:"blockquote-footer",children:e.props.children},"bq-".concat(t))}})})};
1var C=e=>{let{article:t}=e;return(0,j.sY)(t.content.content,{markResolvers:{[j.TT]:(e,t)=>(0,l.jsx)("span",{className:t.class,children:e})},nodeResolvers:{[j.MM]:(e,t)=>(0,l.jsx)(p.Z,{image:{filename:t.src,alt:t.alt},newSizes:[450,510,558,665,690,1330,1380],sizes:"(max-width: 460px) 450px, (max-width: 768px) 510px, (max-width: 991px) 690px, (max-width: 1200px) 558px, 665px",classes:"mw-100 my-4 blog-article-image"}),[j.Bo]:(e,t)=>(0,l.jsx)(O,{children:e,props:t}),[j.tw]:(e,t)=>{let{level:n}=t,s="h".concat(n);if(!e)return(0,l.jsx)(s,{children:"\xa0"});let c=e.map(e=>{if("string"==typeof e)return e;if("object"==typeof e){var t,n;return"string"==typeof(null===(t=e.props)||void 0===t?void 0:t.children)?null===(n=e.props)||void 0===n?void 0:n.children:""}}),i=y(c.toString());return(0,l.jsx)(s,{id:i,children:e})},[j.Eu]:(e,t)=>(0,l.jsx)("div",{className:"rounded-lg border blog-table",children:(0,l.jsx)("table",{className:"table table-bordered rounded-lg overflow-hidden mb-0",children:(0,l.jsx)("tbody",{children:e})})}),[j.S2]:(e,t)=>{let{colspan:n,rowspan:s,backgroundColor:c,colwidth:i}=t;return(0,l.jsx)("td",{style:{backgroundColor:c},colSpan:n,rowSpan:s,"data-colwidth":i,children:e})},[j.e3]:(e,t)=>(0,l.jsx)("p",{style:{textAlign:null==t?void 0:t.textAlign},children:e})},blokResolvers:{button:e=>(0,l.jsx)(v.Z,{blok:e,classes:"mb-3"}),divider:e=>(0,l.jsx)(f.Z,{blok:e}),alert:e=>(0,l.jsx)(k.Z,{blok:e}
1),article_contents:e=>(0,l.jsx)(Z,{blok:e,content:t.content.content}),cta_7:e=>(0,l.jsx)(N.Z,{blok:e}),video_1:e=>(0,l.jsx)(S.Z,{blok:e}),collapse_1:e=>(0,l.jsx)(E.Z,{blok:e}),blog_animation:e=>(0,l.jsx)(P,{blok:e})}})},I=n(729),R=n(6364),F=n(5830),G=e=>{let{categories:t,shareLinks:n,relatedArticles:s,bloks:c,allCategories:i,sidebar:a}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"container space-bottom-1",children:[(0,l.jsx)("div",{className:"row",children:(0,l.jsxs)("div",{className:"".concat(a?"col-lg-8 col-xl-7 offset-lg-4 offset-xl-5":"w-lg-60 mx-lg-auto"," space-bottom-2"),children:[(0,l.jsx)("div",{className:"mt-5",children:t.map(e=>(0,l.jsx)(b(),{href:"/blog/".concat(e.slug),className:"btn btn-xs btn-soft-secondary mb-1",children:e.name},e.uuid))}),(0,l.jsxs)("div",{className:"row justify-content-sm-between align-items-sm-center mt-5",children:[(0,l.jsx)("div",{className:"col-sm-6 mb-2 mb-sm-0",children:(0,l.jsxs)("div",{className:"d-flex align-items-center",children:[(0,l.jsx)("span",{className:"d-block small font-weight-bold text-cap mr-2",children:"Share:"}),Object.entries(n).map(e=>{let[t,n]=e;return(0,l.jsx)("a",{target:"_blank",className:"btn btn-xs btn-icon btn-ghost-secondary rounded-circle mr-2",href:n,children:(0,l.jsx)("i",{className:"fab fa".concat("twitter"==t?"-x-":"-").concat(t).concat("facebook"==t?"-f":"")})},"footer-".concat(t))})]})}),(0,l.jsx)("div",{className:"col-sm-6 text-sm-right"})]})]})}),c&&c.map((e,t)=>{if("cta_7"===e.component){var n,s,c,i,o,r;let d=e.bg_color?e.bg_color:"bg-primary text-white",m=e.bg_image&&e.bg_image.filename?{backgroundImage:"url(".concat(e.bg_image.filename,")"),minHeight:"280px"}:{minHeight:"180px"},h=(null===(n=e.link)||void 0===n?void 0:n.url)||(null===(s=e.link)||void 0===s?void 0:s.cached_url)?"a":"div";return(0,l.jsx)(x.Z,{content:e,children:(0,l.jsxs)(h,{href:(null===(c=e.link)||void 0===c?void 0:c.url)||(null===(i=e.link)||void 0===i?void 0:i.cached_url)?(0,F.Z)(e.link):null,target:(null===(o=e.link)||void 0===o?void 0:o.target)?null===(r=e.link)||void 0===r?void 0:r.target:null,className:"card justify-content-center text-center p-".concat(Object.keys(m).length?"8":"4"," my-3 ").concat(a?"w-lg-75":"w-lg-60"," mx-lg-auto bg-img-hero ").concat(d),style:m,children:[e.heading&&(0,l.jsx)("h2",{className:-1!==d.indexOf("text-white")?"text-white":"",children:e.heading}),e.sub_heading&&(0,l.jsx)("h4",{className:"mb-3 ".concat(-1!==d.indexOf("text-white")?"text-white":""," ").concat(e.heading.length>=1?"font-weight-normal":""),children:e.sub_heading}),(0,l.jsx)("div",{children:e.buttons&&e.buttons.map(e=>(0,l.jsx)(v.Z,{blok:e},e._uid))})]})},"footer-blok-".concat(t))}return"richtext_block"===e.component?(0,l.jsx)(x.Z,{content:e,children:(0,l.jsx)(R.Z,{blok:e,params:{classes:"mx-lg-auto w-lg-60"}})},"footer-blok-".concat(t)):"divider"===e.component?(0,l.jsx)(x.Z,{content:e,children:(0,l.jsx)(f.Z,{blok:e})},"footer-blok-".concat(t)):void 0}),(0,l.jsxs)("div",{className:"space-1 mx-lg-auto related-stories",children:[(0,l.jsx)("hr",{}),(0,l.jsx)("div",{className:"mb-3 mb-sm-5 space-top-1",children:(0,l.jsx)("h3",{children:"Related stories"})}),(0,l.jsx)("div",{className:"row",children:s.map((e,t)=>{let n=e.content.categories[0].uuid?e.content.categories[0].uuid:e.content.categories[0],s=i.find(e=>e.uuid==n);return(0,l.jsx)("article",{className:"".concat(0===t?"col-lg-6":"col-md-6 col-lg-3"," mb-5 mb-lg-0"),children:(0,l.jsxs)("div",{className:"card shadow-none h-100",children:[(0,l.jsx)(b(),{href:"/".concat(e.path),prefetch:!1,className:"text-inherit",children:(0,l.jsx)(p.Z,{image:e.content.featured_image,newSizes:[450,550,900,1100],sizes:0===t?"(min-width: 992px) 540px, (min-width: 768px) 690px, 90vw":"(min-width: 992px) 255px, (min-width: 768px) 330px, 90vw",classes:"rounded-xl mb-3 w-100"})}),(0,l.jsx)("div",{className:"badge badge-soft-primary badge-pill p-3 align-self-start",children:s.name}),(0,l.jsx)("h4",{className:"card-title my-3",children:(0,l.jsx)(b(),{href:"/".concat(e.path),className:"text-inherit",prefetch:!1,children:e.name})}),0===t&&(0,l.jsx)("div",{className:"excerpt line-clamp-2 mb-3",children:(0,j.sY)(e.content.excerpt)}),(0,l.jsx)(b(),{href:"/".concat(e.path),className:"text-primary mt-auto",prefetch:!1,children:(0,l.jsx)("u",{children:"Read more"})})]})},e.name)})})]})]}),(0,l.jsx)(I.Z,{})]})},A=n(5308),L=!0;function q(e){var t,n,s,u,b,j,p,f,k,N;let{story:w=null,global:_=null,relatedArticlesData:y=null,allCategories:S=null,preview:E=null,extraData:B=null}=e,P=(0,d.useRouter)();if(P.isFallback)return(0,l.jsx)(o.Z,{});if(!P.isFallback&&!(null===(t=w)||void 0===t?void 0:t.slug))return(0,l.jsx)(r.default,{global:_});(void 0===(null===(n=w=(0,A.Z)(w,E))||void 0===n?void 0:n.content.categories)||(null===(u=w)||void 0===u?void 0:null===(s=u.content.categories)||void 0===s?void 0:s.length)==0)&&(w.content.categories=[{name:"General Articles",slug:"general-articles"}]);let O="true"==B.noindex?{noindex:!0,nofollow:!0}:null;(null===(j=w)||void 0===j?void 0:null===(b=j.content)||void 0===b?void 0:b.featured_image)&&(w.content.og_image=w.content.featured_image);let I=(0,h.Z)(w,O),F="https://www.expensein.com/blog/".concat(null===(f=w)||void 0===f?void 0:null===(p=f.content.categories[0])||void 0===p?void 0:p.slug,"/").concat(null===(N=w)||void 0===N?void 0:null===(k=N.slug)||void 0===k?void 0:k.replace(/\/+$/,"")),L={facebook:"https://www.facebook.com/sharer/sharer.php?u=".concat(encodeURIComponent(F)),twitter:"https://twitter.com/intent/tweet?text=".concat(encodeURIComponent(F)),linkedin:"https://www.linkedin.com/shareArticle?mini=true&url=".concat(encodeURIComponent(F),"&title=&summary=&source=")},q=w.content.related_articles?w.content.related_articles.concat(y):y;return q.length=3,(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(c(),{children:[(0,l.jsxs)("title",{children:[w?w.name:"ExpenseIn"," | ExpenseIn"]}),(0,l.jsx)(a.Z,{preview:E})]}),(0,l.jsx)(m.PB,{...I,canonical:F}),(0,l.jsx)(i.Z,{layout:w.content.layout,global:_,preview:E,story:w,children:(0,l.jsxs)("main",{children:[(0,l.jsx)("div",{className:"container",children:w.
1content.sidebar?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c(),{children:(0,l.jsx)("script",{src:"/assets/vendor/hs-sticky-block/dist/hs-sticky-block.min.js",onLoad:"initSidebar()"})}),(0,l.jsx)("div",{className:"mx-lg-auto pt-4",children:(0,l.jsx)(g,{article:w,shareLinks:L,sidebar:!0})}),(0,l.jsxs)("div",{className:"row",children:[(0,l.jsx)("div",{className:"col-lg-4",id:"stickyBlockStartPoint",children:(0,l.jsx)("div",{className:"js-sticky-block blog-sidebar pr-md-3 pr-lg-4 pr-xl-6 mb-6 mb-lg-0","data-hs-sticky-block-options":'{ "parentSelector": "#stickyBlockStartPoint", "targetSelector": "#logoAndNav", "startPoint": "#stickyBlockStartPoint", "endPoint": "#stickyBlockEndPoint", "stickyOffsetTop": 24, "stickyOffsetBottom": 24 }',children:(0,l.jsx)("div",{className:"card bg-white",children:(0,l.jsx)("div",{className:"card-body",children:w.content.sidebar_bloks&&w.content.sidebar_bloks.map((e,t)=>(0,l.jsxs)(x.Z,{content:e,children:["article_contents"==e.component&&(0,l.jsx)(Z,{content:w.content.content,blok:e}),"richtext_block"==e.component&&(0,l.jsx)(R.Z,{blok:e,params:{classes:""}}),"button"==e.component&&(0,l.jsx)(v.Z,{blok:e,classes:"mt-4 btn-block"})]},"footer-blok-".concat(t)))})})})}),(0,l.jsxs)("div",{className:"col-lg-8 col-xl-7 ml-xl-5",children:[(0,l.jsx)(C,{article:w}),(0,l.jsx)("div",{id:"stickyBlockEndPoint"})]})]})]}):(0,l.jsxs)("div",{className:"w-lg-60 mx-lg-auto pt-4",children:[(0,l.jsx)(g,{article:w,shareLinks:L}),(0,l.jsx)(C,{article:w})]})}),(0,l.jsx)(G,{categories:w.content.categories,shareLinks:L,relatedArticles:q,bloks:w.content.footer,allCategories:S,sidebar:w.content.sidebar})]})})]})}}},function(e){e.O(0,[164,89,541,10,776,698,774,888,179],function(){return e(e.s=2764)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.