PageSourceSearch

https://www.embracepetinsurance.com/_nuxt/CwTSG-kQ.js

js embracepetinsurance.com collected 2026-09-24 17:19:03 UTC 2,962 bytes, 1 lines download raw bytes

1import{d as B,G as C,B as N,ah as V,e as x,a as D,u as S,at as p,au as _,av as W,C as A,c as w,_ as I,b,w as k,g as M,r as E,o as g,q as R,l as j,h as $,n as v,t as G,ag as L,a5 as T}from"./BfSjgb_p.js";const q=B({components:{BreadcrumbComponent:N,GeneralPage:C},async setup(){try{const e=x();let{path:t}=e;t=t.endsWith("/")?t.slice(0,-1):t;const d=t.split("/"),n=d.pop(),a=D(),l=S(),{$contentfulClient:i,$contentfulClientV2:o}=a,m=await i.getEntries({content_type:"pressRelease",limit:1,include:5,"fields.slug":n}),[c]=m.items;if(c)return a.runWithContext(()=>p("default")),{page:c,isPressRelease:!0,genericComponent:null,genericPage:null};const r=d.join("/"),f=()=>r?{"fields.path[in]":[r,`${r}/`,r.substring(1),`${r.substring(1)}/`].join(",")}:{"fields.path[exists]":!1},h=await i.getEntries({content_type:"contentPage",limit:1,include:4,"fields.slug":n,...f()}),P=await o.getEntries({content_type:"contentPage",limit:1,include:4,"fields.slug":n,...f(),"fields.pageType[nin]":"customer-story"}),y=await o.getEntries({content_type:"contentPage",limit:1,include:4,"fields.pageType":"landing-page","fields.slug":n,...f()});let s=null,u=null;if(y.total?([s]=y.items,s?.fields.disclaimers&&l.setPageDisclaimer(s.fields.disclaimers),u=_(W),a.runWithContext(()=>p("blank"))):P.total?([s]=P.items,s?.fields.disclaimers&&l.setPageDisclaimer(s.fields.disclaimers),u=_(A),a.runWithContext(()=>p("default"))):h.total&&([s]=h.items,s?.fields.disclaimers&&l.setPageDisclaimer(s.fields.disclaimers),u=_(C),a.runWithContext(()=>p("default"))),!s)throw w({statusCode:404,statusMessage:"Page Not Found"});return{page:null,isPressRelease:!1,genericPage:s,genericComponent:u}}catch(e){throw e?.statusCode?e:(console.error("Error fetching data:",e),w({statusCode:500,statusMessage:"Internal Server Error"}))}},data(){return{page:null,isPressRelease:!1,genericPage:null,genericComponent:null,breakpoints:V}},computed:{breadcrumbs(){return[{url:"/",label:"Home"},{url:"/about-us",label:"About Us"},{url:"/about-us/press-media/press-release-list",label:"Embrace in the Press"},{url:"",label:this.page?.fields.title||""}]}}}),F={class:"o-container"},H={class:"pressrelease__content o-container"}
1,Q={key:0,class:"pressrelease__subtitle m--subtitle"};function U(e,t,d,n,a,l){const i=E("breadcrumb-component"),o=L,m=T,c=E("general-page");return e.isPressRelease?(g(),b(c,{key:0,class:"pressrelease",page:e.page},{breadcrumbs:k(()=>[R("div",F,[v(i,{items:e.breadcrumbs},null,8,["items"])])]),default:k(()=>[R("div",H,[e.page.fields.summary?(g(),j("p",Q,G(e.page.fields.summary),1)):$("",!0),e.page.fields.image?(g(),b(o,{key:1,class:"pressrelease__image",image:e.page.fields.image,transform:{w:375}},null,8,["image"])):$("",!0),v(m,{class:"pressrelease__body",document:e.page.fields.body},null,8,["document"])])]),_:1},8,["page"])):(g(),b(M(e.genericComponent),{key:1,page:e.genericPage},null,8,["page"]))}const K=I(q,[["render",U],["__scopeId","data-v-dcbabfbe"]]);export{K as default};

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.