1import{_ as $}from"./CxNbrKrM.js";import A from"./bxZpM_ri.js";import{_ as R}from"./DSC0wfBw.js";import{aL as V,a$ as B,aM as H,by as O,bc as j,bd as z,bb as F,be as Y,b0 as K,aS as s,aN as b,aO as g,aP as y,aQ as c,aR as k,aY as Q,aZ as U,aV as x,aU as Z,aT as q,b2 as f}from"#entry";import{u as G}from"./B2JSWvXw.js";import{u as J}from"./Cl7EwFlW.js";import{u as W}from"./D1TcvS-p.js";import"./Bo6wDvV9.js";import"./Ca3mQnmc.js";import"./CFaLY3hw.js";import"./B8cuP3cs.js";import"./BIA2HcZW.js";import"./Csr525Q-.js";import"./CoKSQDLM.js";import"./fw7knVx0.js";import"./DWz9dJb-.js";import"./D13U4lsq.js";import"./DnDRm5-l.js";import"./CHN41Ly_.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"4402cdae80812147f1cba58e5d384d2e6461bac2"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=(function(l){for(var u=1;u<arguments.length;u++){var a=arguments[u];if(a!=null)for(var r in a)a.hasOwnProperty(r)&&(l[r]=a[r])}return l})({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:crezu-nuxt-frontend":!0});var i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="d8f64c29-2368-46e8-81b4-160c4cb53d2f",e._sentryDebugIdIdentifier="sentry-dbid-d8f64c29-2368-46e8-81b4-160c4cb53d2f")}catch{}})();const X={key:0},tt={class:"document"},et={class:"document__header"},nt={class:"container"},ot={class:"font-h1 document__title"},at=["innerHTML"],st={class:"document__body"},ct={class:"container"},it={class:"document__versions"},rt=V({__name:"Page",async setup(e){let i,l;const u=G(),a=B(),{locale:r,t:T}=H(),{host:C}=O(r.value),{data:L,status:E}=([i,l]=j(()=>z("docs",()=>u.seo.pages({domain:C,page_type:"doc",nocache:+new Date}))),i=await i,l(),i),n=f(()=>L.value?.find(t=>t.path===a.path));(E.value==="error"||!n.value)&&F({status:404,message:"Page Not Found"});const N=f(()=>n.value.content.type),p=t=>new Date(t.split(".").reverse().join("-")).getTime();Y(n,t=>{if(t.content.localeLinks.length){const o=t.content.localeLinks.find(d=>d.link===a.path);r.value=o?.locale}},{immediate:!0});const w=L.value?.filter(t=>{if(t.content.type!==N.value)return!1;if(!t.content.localeLinks.length)return!0;const d=t.content.localeLinks.find(h=>h.locale===r.value);return t.path===d?.link}).sort((t,o)=>t.content.published?o.content.published?p(o.content.published)-p(t.content.published):1:0),I=w?.filter(t=>{const o=t.content.published;return t.path!==n.value.path&&(!o||p(o)<p(n.value.content.published))});J();const m=f(()=>n.value?.content.title),_=f(()=>n.value?.content.meta_description),M=[{name:"description",content:_.value},{name:"og:name",content:m.value},{name:"og:title",content:m.value},{name:"og:description",content:_.value},{name:"og:type",content:"article"},{name:"og:site_name",content:"Crezu"},{name:"og:url",content:_.value}],D=w?.findIndex(t=>t.path===n.value.path)===0;D||M.push({name:"robots",content:"noindex, nofollow"}),K({title:m.value,meta:M,link:[{rel:"canonical",href:`https://${T("sitename")}${a.path}`}]});const{additionalMeta:P}=W();return P({withoutRobots:!D}),(t,o)=>{const d=$,h=A,S=R;return s(n)?(b(),g("div",X,[y(d,{title:s(m),description:s(_),"locale-links":s(n).content.localeLinks},null,8,["title","description","locale-links"]),c("div",tt,[c("div",et,[c("div",nt,[c("h1",ot,k(s(n).content.main.title),1),c("div",{class:"document__subtitle",innerHTML:s(n).content.main.subtitle},null,8,at)])]),c("div",st,[c("div",ct,[y(h,{"page-type":"lender",content:s(n).content.main.content},null,8,["content"]),c("ul",it,[(b(!0),g(Q,null,U(s(I),v=>(b(),g("li",{key:v.id,class:"document__version"},[x(k(t.$t("docs.previous"))+": ",1),y(S,{to:v.path},{default:Z(()=>[x(k("https://"+t.$t("sitename")+v.path),1)]),_:2},1032,["to"])]))),128))])])])])])):q("",!0)}}}),Ct=Object.assign(rt,{__name:"DocumentPage"});export{Ct 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.