1import{aL as g,bk as b,b8 as _,bn as p,aN as l,aO as u,aP as h,aU as w,aS as f,aQ as r,aR as y,aT as B,bq as v,b9 as k,bD as E,b2 as x,aW as M}from"#entry";import{l as H}from"./Cou7ff5E.js";import{u as C}from"./B8cuP3cs.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(a){for(var d=1;d<arguments.length;d++){var t=arguments[d];if(t!=null)for(var o in t)t.hasOwnProperty(o)&&(a[o]=t[o])}return a})({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:crezu-nuxt-frontend":!0});var n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ed0bb388-8486-4922-8de0-9de7f50ee6e7",e._sentryDebugIdIdentifier="sentry-dbid-ed0bb388-8486-4922-8de0-9de7f50ee6e7")}catch{}})();const L={class:"pinned-btn__container"},P={key:0,class:"pinned-btn__wrapper"},R={class:"pinned-btn__text"},A=["src"],D=g({__name:"PinnedRegButton",props:{showAfterBlock:{},offset:{default:200},image:{default:"pinned-btn-img.webp"},text:{default:""},pageHasAds:{type:Boolean,default:!1}},setup(e){b(s=>({c1c56ca2:f(a)}));const n=e,a=x(()=>n.pageHasAds?"70px":"22px"),{redirectToLeadForm:d}=C(),t=k(!1);function o(){const s=n.showAfterBlock?.getBoundingClientRect();if(!s||!s.height)return;const c=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight);if(window.innerHeight+window.scrollY>=c-100){t.value=!1;return}t.value=s.bottom<=n.offset}const i=E(o,300);function m(){H({event:"pinnedButtonClick"}),d({},1)}return _(()=>{o(),window.addEventListener("scroll",i)}),p(()=>{window.removeEventListener("scroll",i)}),(s,c)=>(l(),u("div",L,[h(v,{name:"slide"},{default:w(()=>[f(t)?(l(),u("div",P,[r("div",{class:"pinned-btn",onClick:m},[r("span",R,y(e.text||s.$t("requestLoan.main")),1),r("img",{class:"pinned-btn__img",src:`/img/${e.image}`,alt:"",loading:"lazy"},null,8,A)])])):B("",!0)]),_:1})]))}}),V=Object.assign(M(D,[["__scopeId","data-v-f5148c6e"]]),{__name:"UiPinnedRegButton"});export{V 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.