PageSourceSearch

https://www.delawarelife.com/chunk-OFW5BKTO.js

js delawarelife.com collected 2026-09-25 18:58:24 UTC 6,537 bytes, 1 lines download raw bytes

1import{a as V}from"./chunk-EJVKZDOO.js";import{a as O,b as M}from"./chunk-GP6C5D2Z.js";import{a as L,b as E}from"./chunk-6QVJBPZ7.js";import{a as W}from"./chunk-P5DHYCKG.js";import{a as H}from"./chunk-ELHK5TUY.js";import{a as B}from"./chunk-ESH4OYCW.js";import"./chunk-HTMDZJ2B.js";import{fa as A,ha as R}from"./chunk-UEMYW2QW.js";import"./chunk-DUKSTT3K.js";import{a as N}from"./chunk-MACQKU6K.js";import{a as F}from"./chunk-DAY3Q7G4.js";import{Cb as p,Cc as C,Dc as x,Ga as r,Mc as I,Pa as c,Pb as S,Ta as P,Wc as b,Xc as w,Za as u,aa as y,cd as j,da as g,ea as v,fd as D,jb as s,kb as l,lb as d,mb as f,na as _,ya as T}from"./chunk-J3OM6467.js";import"./chunk-TJICSKBO.js";var U=(()=>{let n=class n{constructor(e){this.doc=e}addJsonLd(e){let a={"@context":"https://schema.org","@type":"ProfilePage",url:this.testForHttps(this.doc.URL)},o={"@type":"Person"};if(e?.fields.fullName&&(o.name=e?.fields.fullName),e?.fields.firstName&&e?.fields.lastName&&(o.name=e?.fields.firstName+" "+e?.fields.lastName),e?.fields.title&&(o.jobTitle=e?.fields.title),e?.fields.designation&&(o.jobTitle=e?.fields.designation),e?.fields.description&&(o.description=e?.fields.description),e?.fields.bio&&(o.description=e?.fields.bio),e?.fields.emailAddress&&(o.email=e?.fields.emailAddress),e?.fields.phoneNumber&&(o.telephone=e?.fields.phoneNumber),e?.fields.personImage&&(o.image=this.castToBfAsset(e?.fields.personImage)?.cdn_url),e?.fields.wholesalerImage&&(o.image=this.castToBfAsset(e?.fields.wholesalerImage)?.cdn_url),e?.fields.jsonldPerson){let h=e?.fields.jsonldPerson;h?.fields.certification&&(o.hasCertification=h?.fields.certification)}a.mainEntity=o;let m=this.doc.createElement("script");m.type="application/ld+json",m.text=JSON.stringify(a),this.doc.head.appendChild(m)}castToBfAsset(e){return e?.fields?.bfAsset?e?.fields?.bfAsset[0]:null}testForHttps(e){return e.startsWith("https:")?e:e.startsWith("http:")?e.replace("http:","https:"):e}};n.\u0275fac=function(a){return new(a||n)(g(_))},n.\u0275prov=y({token:n,factory:n.\u0275fac,providedIn:"root"});let t=n;return t})();function z(t,n){t&1&&f(0,"app-not-found-content")}function G(t,n){if(t&1&&(l(0,"section"),f(1,"app-hero",7),d()),t&2){let i=p().$implicit,e=p(2);S(i.fields.heroBackground),r(),s("heroSection",e.typeCastToHero(i))}}function Q(t,n){if(t&1&&(l(0,"section"),u(1,G,2,3,"section",6),d()),t&2){let i=n.$implicit,e=p(2);r(),s("ngIf",i.sys.contentType.sys.id==e.environment.contentful.contentTypeIds.heroSection)}}function X(t,n){if(t&1&&(l(0,"section",9),f(1,"app-person",10),d()),t&2){let i=p(3);r(),s("person",i.typeCastToPerson(i.person))("preview",i.preview)}}function Y(t,n){if(t&1&&(l(0,"section",9),f(1,"app-person",11),d()),t&2){let i=p(3);r(),s("wholesaler",i.typeCastToWholesaler(i.person))("preview",i.preview)}}function Z(t,n){if(t&1&&(l(0,"section",9),f(1,"app-person",12),d()),t&2){let i=p(3);r(),s("hybridWholesaler",i.typeCastToHybridWholesaler(i.person))("preview",i.preview)}}function ee(t,n){if(t&1&&(l(0,"section"),u(1,X,2,2,"section",8)(2,Y,2,2,"section",8)(3,Z,2,2,"section",8),d()),t&2){let i=p(2);r(),s("ngIf",i.person.sys.contentType.sys.id==i.environment.contentful.contentTypeIds.person),r(),s("ngIf",i.person.sys.contentType.sys.id==i.environment.contentful.contentTypeIds.wholesaler),r(),s("ngIf",i.person.sys.contentType.sys.id==i.environment.contentful.contentTypeIds.hybridWholesaler)}}function te(t,n){if(t&1&&(l(0,"main",4),u(1,Q,2,1,"section",5)(2,ee,4,3,"section",1),d()),t&2){let i=p();r(),s("ngForOf",i.sectionList),r(),s("ngIf",i.person!=null)}}var Pe=(()=>{let n=class n{constructor(e,a,o,m,h,k,J,K){this.contentTypeService=e,this.contentfulService=a,this.titleService=o,this.metaService=m,this.route=h,this.seoService=k,this.router=J,this.jsonldPersonService=K,this.notFound=!1,this.page=null,this.preview=!1,this.person=null,this.sectionList=[],this.metaData=null,this.defaultPubs="",this.expiryDate="",this.robotsValue=[],this.persona=[],this.contentType="",this.slug="",this.isServer=I(v(T)),this.response=v(L,{optional:!0}),this.environment=F,h.params.subscribe(ie=>{this.contentType=this.contentTypeService.getContentType(),this.slug=this.contentTypeService.getSlug(),this.preview=this.contentTypeService.getPreview(),this.loadPersonPage()})}loadPersonPage(){this.contentfulService.getPersonPageBySlug(this.slug,this.preview).then(e=>{if(this.page=e,this.page==null){E(this.isServer,this.response),this.titleService.setTitle("Page Not Found"),this.metaService.updateTag({name:"robots",content:"noindex,nofollow"}),this.persona=O,this.notFound=!0;return}this.notFound=!1,this.seoService.createLinkForCanonicalURL(),this.person=this.page?.fields?.person,this.sectionList=this.page?.fields?.sectionList??[],this.metaData=this.page?.fields?.pageMetaData,this.defaultPubs=this.metaData?.fields?.defaultPubs??"",this.expiryDate=this.metaData?.fields?.expiryDate??"",this.persona=this.page?.fields?.personaList??[],this.titleService.setTitle(this.metaData?.fields?.seoTitle),this.metaService.updateTag({name:"description",content:this.metaData?.fields?.seoDescription}),this.metaService.updateTag({name:"keywords",content:this.metaData?.fields?.seoKeywords}),this.robotsValue=[],this.metaData?.fields?.noIndex==!0&&this.robotsValue.push("noindex"),this.metaData?.fields?.noFollow==!0&&this.robotsValue.push("nofollow"),this.robotsValue.length>0?this.metaService.updateTag({name:"robots",content:this.robotsValue.join(",")}):this.metaService.removeTag("name='robots'"),this.jsonldPersonService.addJsonLd(this.person)})}typeCastToHero(e){return e}typeCastToPerson(e){return e}typeCastToWholesaler(e){return e}typeCastToHybridWholesaler(e){return e}};n.\u0275fac=function(a){return new(a||n)(c(N),c(A),c(w),c(b),c(j),c(H),c(D),c(U))},n.\u0275cmp=P({type:n,selectors:[["app-person-page"]],decls:4,vars:6,consts:[[3,"persona"],[4,"ngIf"],["id","main-content","tabindex","-1",4,"ngIf"],[3,"preview","defaultPUBS","expiryDate"],["id","main-content","tabindex","-1"],[4,"ngFor","ngForOf"],[3,"class",4,"ngIf"],[3,"heroSection"],["class","py-5",4,"ngIf"],[1,"py-5"],[3,"person","preview"],[3,"wholesaler","preview"],[3,"hybridWholesaler","preview"]],template:function(a,o){a&1&&(f(0,"app-header",0),u(1,z,1,0,"app-not-found-content",1)(2,te,3,2,"main",2),f(3,"app-footer",3)),a&2&&(s("persona",o.persona),r(),s("ngIf",o.notFound),r(),s("ngIf",!o.notFound),r(),s("preview",o.preview)("defaultPUBS",o.defaultPubs)("expiryDate",o.expiryDate))},dependencies:[R,C,x,W,V,B,M],encapsulation:2});let t=n;return t})();export{Pe as PersonPageComponent};

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.