PageSourceSearch

https://www.policygenius.com/component---src-templates-bespoke-lif…nce-rates-index-tsx-e7dd296734c37d1778a6.js

js policygenius.com collected 2026-09-24 15:24:26 UTC 3,823 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpg_gatsby=self.webpackChunkpg_gatsby||[]).push([[2562],{5257:function(e,t,n){n.d(t,{Z:function(){return h}});var a=n(7294),l=n(4046),r=n(4293),i=n(6010),o=n(625),c="index-module--button--ac8a2",u=n(2722),d=n(9539);var s=e=>{let{headline:t,type:n,buttonDestination:l,buttonText:s,fieldPlaceholder:m}=e;const{trackEvent:h}=(0,r.rS)(),[p,g]=(0,a.useState)(""),v=()=>{if(h({href:l,name:"Clicked CTA",source:"Article Hero",text:s}),l){if(l.startsWith("/")||l.startsWith("#")){const e=(0,o.Z)(l,p);window.location.href=e}else try{const e=new URL(l,window.location.origin);if(e.hostname===window.location.hostname||"policygenius.com"===e.hostname||e.hostname.endsWith(".policygenius.com")){const e=(0,o.Z)(l,p);window.location.href=e}}catch{}}};return a.createElement("div",{className:"index-module--article-hero--1ae2a"},a.createElement("div",{className:u.oI},a.createElement("div",{className:"index-module--inner-container--43e54"},a.createElement("p",{className:"index-module--headline--73483"},t),"Single Field"===n&&a.createElement(a.Fragment,null,a.createElement("form",{className:"index-module--form--b73b6",onSubmit:e=>{e.preventDefault()}},a.createElement("input",{"aria-label":m||"",className:"index-module--input--7331d",inputMode:"numeric",maxLength:5,onChange:e=>{g(e.target.value)},placeholder:m||""}),a.createElement("button",{type:"submit",className:(0,i.Z)(d.ou,d.bb,d.Lg,c),onClick:v},s)),a.createElement("p",{className:"index-module--security-text--12f4c"},"Your data security is our priority.")),"Single Button"===n&&a.createElement("button",{type:"button",className:(0,i.Z)(d.ou,d.bb,d.h0,c),onClick:v},s))))},m=n(92);var h=()=>{const{heroHeader:e,author:t,author2:n,editor:r,headline:i,subtitle:o,parentEntry:c,reviewer:u,seoSection:d,processedFields:h}=(0,a.useContext)(l.z);return"ContentfulArticleHero"===(null==e?void 0:e.__typename)?a.createElement(a.Fragment,null,a.createElement(s,e),a.createElement(m.Z,{author:t,author2:n,editor:r,reviewer:u,parentEntry:c,headline:i,subtitle:o,seoSection:d,readTimeMinutes:null==h?void 0:h.readTimeMinutes})):a.createElement(m.Z,{author:t,author2:n,editor:r,reviewer:u,parentEntry:c,headerImage:null==e?void 0:e.imageEntry,headline:i,subtitle:o,seoSection:d,readTimeMinutes:null==h?void 0:h.readTimeMinutes})}},5900:function(e,t,n){n.r(t);var a=n(7294),l=n(2984),r=n(8029),i=n.n(r),o=n(8742),c=n(4293),u=n(6465),d=n(3678),s=n(966),m=n(6894),h=n(4046),p=n(9999),g=n(5257);t.default=e=>{var t;let{data:{contentfulRichTextArticle:n},location:r}=e;const{contentful_id:v,internalTitle:f,seoSection:E,slug:b,productVertical:y,heroHeader:w,headline:T,author:x,author2:Z,processedFields:_}=n,S=r.pathname,{Track:k,trackEvent:C}=(0,c.rS)({page_type:u.yp.RTA.DEFAULT,navigate_from:S},{dispatch:e=>(0,u.ec)(e.name,e)}),{titleTag:N,indexByGoogle:A}=E||{};var L;((0,d.j)(C),null!=_&&_.toc&&!~(null==_||null===(t=_.toc)||void 0===t?void 0:t.indexOf("Life insurance cost calculator")))&&(null==_||null===(L=_.toc)||void 0===L||L.unshift("Life insurance cost calculator"));return(0,a.useEffect)((()=>{const e={category:y,page_name:f,pageTitle:N,product:i()(y),referrer:window&&window.document.referrer,slug:b,last_update_date:null==E?void 0:E.dateModified,publish_date:null==E?void 0:E.datePublished,h1:T,author:null==x?void 0:x.name,author_2:null==Z?void 0:Z.name},t="Viewed landing page";C({...e,name:t,event:t}),C({...e,name:t,event:t,pageEvent:!0,indexable:A}),(0,u.mL)({category:y,internalTitle:f,titleTag:N,pageType:u.yp.RTA.DEFAULT,slug:b}),(0,o.D)(v)}),[]),a.createElement(l.Z,{pageInfo:{productVertical:y}},a.createElement(h.z.Provider,{value:n},a.createElement(k,null,a.createElement(s.Z,{seoSection:E,pagePath:S,productVertical:y,heroHeader:w}),a.createElement(p.Z,{location:r}),a.createElement(g.Z,null),a.createElement(m.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.