PageSourceSearch

https://www.policygenius.com/component---src-templates-bespoke-lif…companies-index-tsx-a24cbb5de950a338f4d6.js

js policygenius.com collected 2026-09-24 15:25:01 UTC 5,518 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpg_gatsby=self.webpackChunkpg_gatsby||[]).push([[7774],{5257:function(e,t,a){a.d(t,{Z:function(){return g}});var n=a(7294),i=a(4046),l=a(4293),r=a(6010),o=a(625),c="index-module--button--ac8a2",u=a(2722),s=a(9539);var d=e=>{let{headline:t,type:a,buttonDestination:i,buttonText:d,fieldPlaceholder:m}=e;const{trackEvent:g}=(0,l.rS)(),[h,p]=(0,n.useState)(""),M=()=>{if(g({href:i,name:"Clicked CTA",source:"Article Hero",text:d}),i){if(i.startsWith("/")||i.startsWith("#")){const e=(0,o.Z)(i,h);window.location.href=e}else try{const e=new URL(i,window.location.origin);if(e.hostname===window.location.hostname||"policygenius.com"===e.hostname||e.hostname.endsWith(".policygenius.com")){const e=(0,o.Z)(i,h);window.location.href=e}}catch{}}};return n.createElement("div",{className:"index-module--article-hero--1ae2a"},n.createElement("div",{className:u.oI},n.createElement("div",{className:"index-module--inner-container--43e54"},n.createElement("p",{className:"index-module--headline--73483"},t),"Single Field"===a&&n.createElement(n.Fragment,null,n.createElement("form",{className:"index-module--form--b73b6",onSubmit:e=>{e.preventDefault()}},n.createElement("input",{"aria-label":m||"",className:"index-module--input--7331d",inputMode:"numeric",maxLength:5,onChange:e=>{p(e.target.value)},placeholder:m||""}),n.createElement("button",{type:"submit",className:(0,r.Z)(s.ou,s.bb,s.Lg,c),onClick:M},d)),n.createElement("p",{className:"index-module--security-text--12f4c"},"Your data security is our priority.")),"Single Button"===a&&n.createElement("button",{type:"button",className:(0,r.Z)(s.ou,s.bb,s.h0,c),onClick:M},d))))},m=a(92);var g=()=>{const{heroHeader:e,author:t,author2:a,editor:l,headline:r,subtitle:o,parentEntry:c,reviewer:u,seoSection:s,processedFields:g}=(0,n.useContext)(i.z);return"ContentfulArticleHero"===(null==e?void 0:e.__typename)?n.createElement(n.Fragment,null,n.createElement(d,e),n.createElement(m.Z,{author:t,author2:a,editor:l,reviewer:u,parentEntry:c,headline:r,subtitle:o,seoSection:s,readTimeMinutes:null==g?void 0:g.readTimeMinutes})):n.createElement(m.Z,{author:t,author2:a,editor:l,reviewer:u,parentEntry:c,headerImage:null==e?void 0:e.imageEntry,headline:r,subtitle:o,seoSection:s,readTimeMinutes:null==g?void 0:g.readTimeMinutes})}},5099:function(e,t,a){a.r(t),a.d(t,{default:function(){return S}});var n=a(7294),i=a(4293),l=a(6069),r=a(9888);var o=()=>n.createElement("div",{className:"styles-module--wrapper--cf44a"},n.createElement("div",{className:"styles-module--title--df542"},n.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBmaWxsPSIjMzgzODM4IiBkPSJNOCAzdi41QzggNC4zNSA4LjY1IDUgOS41IDVoNWMuODUgMCAxLjUtLjY1IDEuNS0xLjVWM2gyYzEuMSAwIDIgLjkgMiAydjE2YzAgMS4xLS45IDItMiAySDZjLTEuMSAwLTItLjktMi0yVjVjMC0xLjEuOS0yIDItMmgyWiIvPjxwYXRoIGZpbGw9InNpbHZlciIgZD0iTTEwLjkgMTUuNzVjLS4yNSAwLS41LS4xLS42NS0uM2wtMS45LTEuOWMtLjQtLjQtLjQtLjk1IDAtMS4zNS40LS40IDEtLjQgMS4zNSAwbDEuMjUgMS4yNSAzLjE1LTMuMTVjLjQtLjQuOTUtLjQgMS4zNSAwIC40LjQuNC45NSAwIDEuMzVMMTEuNiAxNS41Yy0uMjUuMTUtLjUuMjUtLjcuMjVaIi8+PHBhdGggZmlsbD0iIzM4MzgzOCIgZD0iTTExIDJjMC0uNTUuNDUtMSAxLTFzMSAuNDUgMSAxaDEuNWMuMyAwIC41LjIuNS41djFjMCAuMy0uMi41LS41LjVoLTVjLS4zIDAtLjUtLjItLjUtLjV2LTFjMC0uMy4yLS41LjUtLjVIMTFaIi8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0iYSI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTAgMGgyNHYyNEgweiIvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPg==",alt:"Clipboard check",className:"styles-module--icon--db222",height:24,width:24}),n.createElement("p",{className:`${l.ld} ${l.FG} ${l.Zk}`},"How we choose the best life insurance companies")),n.createElement("p",{className:`${l.ld} ${l.Zk} styles-module--body-container--1f864`},"We use industry data, pricing from Policygenius carrier partners, and ratings from third parties like AM Best and J.D. Power to pick the best insurers on the market. Our independent recommendations will help you get life insurance coverage with confidence.",n.createElement("a",{href:"#methodology-how-we-chose-the-best-life-insurance-companies-of-2023",className:`${r.p4} ${r.BD} styles-module--link--9da69`},"Read more about our reviews methodology"))),c=a(8029),u=a.n(c),s=a(8742),d=a(2984),m=a(966),g=a(6894),h=a(4
1046),p=a(9999),M=a(5257),E=a(2722),y=a(3678),j=a(6465);var S=e=>{let{data:{contentfulRichTextArticle:t},location:a}=e;const{author:l,author2:r,contentful_id:c,headline:S,heroHeader:L,internalTitle:w,productVertical:I,seoSection:N,slug:b}=t,v=a.pathname,{Track:f,trackEvent:T}=(0,i.rS)({navigate_from:v,page_type:j.yp.RTA.DEFAULT},{dispatch:e=>(0,j.ec)(e.name,e)}),{titleTag:Z,indexByGoogle:D}=N||{};return(0,y.j)(T),(0,n.useEffect)((()=>{const e={author_2:null==r?void 0:r.name,author:null==l?void 0:l.name,category:I,h1:S,last_update_date:null==N?void 0:N.dateModified,page_name:w,pageTitle:Z,product:u()(I),publish_date:null==N?void 0:N.datePublished,referrer:window&&window.document.referrer,slug:b},t="Viewed landing page";T({...e,event:t,indexable:D,name:t,pageEvent:!0}),(0,j.mL)({category:I,internalTitle:w,pageType:j.yp.RTA.DEFAULT,slug:b,titleTag:Z}),(0,s.D)(c)}),[]),n.createElement(d.Z,{pageInfo:{productVertical:I}},n.createElement(h.z.Provider,{value:t},n.createElement(f,null,n.createElement(m.Z,{seoSection:N,pagePath:v,productVertical:I,heroHeader:L}),n.createElement(p.Z,{location:a}),n.createElement(M.Z,null),n.createElement("div",{className:E.iQ},n.createElement(o,null)),n.createElement(g.Z,null))))}}}]);

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.