PageSourceSearch

https://predprinimatel.ru/_next/static/chunks/2938.e0b112e77294b264.js

js predprinimatel.ru collected 2026-10-04 23:41:57 UTC 4,385 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="95856927-494c-48c7-a2da-9c60685c2a73",e._sentryDebugIdIdentifier="sentry-dbid-95856927-494c-48c7-a2da-9c60685c2a73")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2938],{42938:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>j});var l=n(95155),i=n(11809),a=n(96122),o=n(74430),s=n(69730),c=n.n(s),r=n(85627),d=n(97621),u=n(25099),w=n(46873),h=n(65892),f=n(37995),p=n(45784),y=n(46301),g=n(12115),_=n(42907),m=n(30088),v=n(69091),x=n(50225),b=n.n(x);function C(){_.p.yaCounter74710243Goal("allo_show_paywall")}let j=(0,g.memo)(e=>{let{show:t,openDuration:n=600,fillAuthData:s,children:_,analyticsSection:x}=e,j=(0,y.x)(),k=(0,d.G)(),I=(0,g.useId)(),[R,N]=(0,g.useState)(!(0,i.B)()||!t||!!j.profile||j.isLoading),[E,T]=(0,g.useState)(!1),L=(0,g.useRef)(null),B=(0,g.useRef)(null),[S,V]=(0,g.useState)(null);(0,a.v)(B,C,{isActive:!R});let D=(()=>{var e;if(!t)return"auto";if(!R)return S||"auto";let n=(null==(e=L.current)?void 0:e.clientHeight)||"auto";return E?n:"auto"})();function G(e){return(0,l.jsx)(o.$n,{size:"m",onClick:()=>{m.t.sendCommonEvent(f.f.CLICK_BUTTON,{section:x,id:e.id,label:"Paywall: Продолжить бесплатно"}),k.open({fillAuthData:s,onClose:(e,t)=>{t&&(0,v.L2)(p.Ki)}})},...e,children:"Продолжить бесплатно"})}return!R||j.profile||j.isLoading||N(!1),R||!j.profile||k.isOpen||(T(!0),N(!0),setTimeout(()=>{T(!1)},n)),(0,g.useEffect)(()=>{let e=L.current;if(R||!e)return;let t=()=>{let t=e.querySelector("#paywall-anchor");if(t&&B.current)V(function(e,t){let n=window.scrollY+e.getBoundingClientRect().top;return window.scrollY+t.getBoundingClientRect().top-n}(e,t)+B.current.getBoundingClientRect().height)};t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[R]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"width-100 p-relative",style:{transition:E?"height ".concat(n,"ms ease-in-out"):void 0,overflow:R?void 0:"hidden",height:D},children:[(0,l.jsx)("div",{className:c()({"paywall-active":!R}),ref:L,children:_}),(0,l.jsxs)("div",{className:c()(b().paywallRoot,"p-absolute width-100"),ref:B,style:{opacity:R?"0":"1",pointerEvents:R?"none":"auto",transition:E?"opacity ".concat(n,"ms ease-in-out"):void 0},children:[(0,l.jsx)("div",{className:b().gradient}),(0,l.jsx)("div",{className:"bg-white",children:(0,l.jsx)(u.t,{variant:"gray100",children:(0,l.jsxs)(r.x,{children:[(0,l.jsxs)(r.E,{xs:4,m:5,l:7,children:[(0,l.jsx)(w.o,{as:"h3",weight:"600",size:"l",className:"mb-1-2",children:"Этот материал доступен бесплатно пользователям Предприниматель.ру"}),(0,l.jsx)(w.o,{as:"p",size:"s",weight:"500",children:"Войдите, чтобы продолжить"})]}),(0,l.jsx)(r.E,{xs:4,m:3,l:5,children:(0,l.jsxs)("div",{className:c()(b().button,"width-100 d-flex"),children:[(0,l.jsx)(h.b,{xs:!0,className:"width-100",children:(0,l.jsx)(G,{id:"paywall-button-".concat(I,"-xs")})}),(0,l.jsx)(h.b,{m:!0,l:!0,children:(0,l.jsx)(G,{id:"paywall-button-".concat(I,"-m-l")})})]})})]})})})]})]}),(0,l.jsx)("div",{id:"paywall-end"})]})})},45784:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>o,FH:()=>s,Ki:()=>i,RC:()=>c,Ti:()=>l,ah:()=>a});let l=n(87358).env.NEXT_PUBLIC_VK_PIXEL_ID||"",i="allo_paywall_auth",a="",o="rb_clickid",s="https://top-fwz1.mail.ru/tracker",c=864e6},50225:e=>{e.exports={paywallRoot:"paywall_paywallRoot__ML60S",gradient:"paywall_gradient__CQ7ML",button:"paywall_button__QvOCV"}},69091:(e,t,n)=>{"use strict";n.d(t,{L2:()=>s,MN:()=>o});var l=n(11809),i=n(45784),a=n(44869);function o(e){e&&a.w.setVkClickId(e)}function s(e){if(!(0,l.B)()||!i.Ti)return;let t=function(){let e=a.w.getVkClickId();return e?Date.now()-e.ts>i.RC?(a.w.clearVkClickId(),null):e.value:null}(),n="".concat(e,":").concat(t||"no-click");if(!a.w.hasVkSentGoal(n)){if(a.w.addVkSentGoal(n),t){new Image().src=function(e,t){let n="RG%3A".concat(i.ah,"/").concat(encodeURIComponent(e)),l="".concat(i.$Z,"=").concat(encodeURIComponent(t));return"".concat(i.FH,"?id=").concat(i.Ti,";e=").concat(n,";").concat(l)}(e,t);return}(window._tmr||(window._tmr=[])).push({id:i.Ti,type:"reachGoal",goal:e})}}}}]);

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.