1import{x as $,o as v,F as A,G as L,B as C,_ as F,k as S,O as T,J as V,A as z,b as D}from"./CRPgzFOd.js";import{M as P,S as f,h as e,d as i,e as u,f as l,t as x,F as j,v as E,i as k,j as d,g as o,k as B,l as w,E as O}from"./DOcsbB5K.js";import{A as R}from"./DXeBo_L3.js";import{u as H}from"./bGLhuvbi.js";import{D as y}from"./CfOMoTwH.js";import{F as M}from"./DUMTUuiN.js";import{H as G}from"./_KL5Ui4z.js";import{P as J}from"./reoGbyX0.js";import{u as I}from"./D-bRAEzj.js";import{R as Q}from"./D-yG7XS5.js";import{T as Y}from"./B4KoJ3Rc.js";import{_ as q,a as K}from"./BF4JPZ8C.js";import"./HxfjAc6W.js";import"./DqbQYMbM.js";import"./yu1fYWEw.js";import"./Cgwp-GSz.js";import"./j7J6U2ZE.js";import"./6_H72ZI-.js";import"./C5Fx_OBC.js";import"./C6-C2yT3.js";import"./DkKQR705.js";import"./CkU888ze.js";import"./DG-4mY7Y.js";import"./VrNhYybm.js";import"./BIX32OHs.js";import"./pOzA7fod.js";import"./DF6NXoTh.js";import"./wFqie7Y-.js";import"./nISE0zcA.js";import"./BF85Cyw5.js";import"./BscKxqa5.js";import"./CLzKBFRn.js";import"./CHjOE6dW.js";import"./DoAVVf42.js";import"./NavPE_Cv.js";import"./OD0_qkwu.js";import"./DisLO7P7.js";import"./BL7nyeuj.js";import"./B0vXkIX6.js";import"./Cg4EBrcY.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"f3fe955ba95e6487a22d8a0fd22a9a6c5324527e"};var t=new n.Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="c6b9236b-5b18-4001-bd76-b4f3915a07dd",n._sentryDebugIdIdentifier="sentry-dbid-c6b9236b-5b18-4001-bd76-b4f3915a07dd")}catch{}})();const U={key:0,class:"bg-gradient-to-b from-theme-600 px-4 py-8"},W={class:"mx-auto max-w-screen-lg"},X={class:"mb-3 text-2xl text-white"},Z={class:"grid grid-cols-2 gap-6 md:grid-cols-4"},tt=["src","alt","width","height"],et={class:"flex w-full justify-center"},ot=P({__name:"PopularLoans",async setup(n){let t,s;const{data:r}=([t,s]=f(()=>$().fetchStatic()),t=await t,s(),t),a=r.value.filter(p=>p.body),c=([t,s]=f(()=>v().fetchPageContent()),t=await t,s(),t),m=A().fromPageType(L.Provider),h=A().fromPageType(L.ProductListAll);return(p,g)=>{const b=F,N=C;return e(c)&&e(a).length>0?(i(),u("div",U,[l("div",W,[l("h2",X,x(e(c).popularLoans.title),1),l("div",Z,[(i(!0),u(j,null,E(e(a),_=>(i(),k(b,{key:_.id,to:e(m)?.replace(":provider",_.slugifyName),class:"cursor-pointer overflow-hidden rounded-lg bg-white shadow-sm transition-all duration-150 hover:-translate-y-1 hover:shadow-lg"},{default:d(()=>[l("img",{src:_.media.url,alt:_.name,width:_.media.width,height:_.media.height,loading:"lazy",class:"mx-auto"},null,8,tt)]),_:2},1032,["to"]))),128))]),l("div",et,[o(b,{to:e(h)??""},{default:d(()=>[o(N,{class:"mt-8"},{default:d(()=>[B(x(e(c).popularLoans.findMoreLoans),1)]),_:1})]),_:1},8,["to"])])])])):w("",!0)}}}),st=Object.assign(ot,{__name:"PopularLoans"}),at={key:0,class:"mx-auto max-w-screen-md px-4"},nt=["videoid"],rt=P({__name:"ArticleVideo",async setup(n){let t,s;const r=([t,s]=f(()=>v().fetchPageContent()),t=await t,s(),t),a=c=>T({youtubeId:V.string},c);return a(r.video)&&S(H().parseVideo(r.video)),(c,m)=>a(e(r).video)?(i(),u("div",at,[l("lite-youtube",{videoid:e(r).video.youtubeId,style:O(`background-image: url('https://i.ytimg.com/vi/${e(r).video.youtubeId}/maxresdefault.jpg')`),class:"mt-4 aspect-video h-auto w-full"},null,12,nt)])):w("",!0)}}),it=Object.assign(rt,{__name:"ArticleVideo"}),ct={class:"inline-block"},dt={key:0},lt={key:1,class:"h-6 w-[200px] animate-pulse rounded-lg bg-gray-100"},ut=P({__name:"ProductsFound",props:{count:{},loading:{type:Boolean}},async setup(n){let t,s;const{filter:r}=([t,s]=f(()=>v().fetchPageContent()),t=await t,s(),t),a=I(),{tRaw:c}=z().$i18n;return(m,h)=>{const p=D,g=F;return i(),u("div",ct,[o(g,{to:"#products-anchor",class:"mb-2 flex w-full cursor-pointer items-center justify-between space-x-2 self-center rounded-full bg-white px-5 py-2 text-base text-theme-900 shadow-sm"},{default:d(()=>[!n.loading||n.count?(i(),u("div",dt,x(e(c)(e(r).productsFound,{count:e(a).count.value??n.count})),1)):(i(),u("span",lt)),o(p,{name:"material-symbols:arrow-downward-rounded",class:"ml-2 text-theme-600",size:"20"})]),_:1})])}}}),mt=Object.assign(ut,{__name:"ProductProductsFound"}),pt={class:"relative z-0 hidden items-center pr-4 md:flex md:pl-8"},te=P({__name:"ProductListStatic",async setup(n){let t,s;const{data:r}=([t,s]=f(()=>$().fetchStatic()),t=await t,s(),t),a=([t,s]=f(()=>v().fetchPage()),t=await t,s(),t);return I().initialize({pageContent:a.content,products:r.value}),(c,m)=>{const h=C,p=st;return i(),u("div",null,[o(G,{content:e(a).content.hero,class:"md:-mb-28"},{bottom:d(()=>[o(mt,{class:"relative z-20 self-start",count:e(r)?.length},null,8,["count"])]),default:d(()=>[l("div",pt,[o(q,{class:"z-10 w-[400px] rounded-xl shadow-2xl"},{button:d(({close:g,findLoan:b})=>[o(h,{class:"py-3 text-center",onClick:g},{default:d(()=>[B(x(b),1)]),_:2},1032,["onClick"])]),_:1}),m[0]||(m[0]=l("div",{class:"absolute left-1/2 m-auto h-[750px] w-[1000px] -translate-x-1/2 transform bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] from-theme-300 via-trans
1parent"},null,-1))])]),_:1},8,["content"]),o(J,{products:e(r)},{"product-filter":d(()=>[o(K)]),_:1},8,["products"]),o(Y),e(a).content.video?.youtubeId?(i(),k(it,{key:0})):w("",!0),e(a).content.article?(i(),k(R,{key:1,article:e(a).content.article,"updated-at":e(a).updatedAt,"hide-product":"","show-details":""},null,8,["article","updated-at"])):w("",!0),o(y),o(p),o(y),o(M),o(y),o(Q,{"related-articles":e(a).content.relatedArticles},null,8,["related-articles"]),o(y)])}}});export{te 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.