PageSourceSearch

https://www.gazprombank.ru/_next/c2e2cf5515281430d1da46b535fb5d23/…/static/chunks/49210.5ae6a8f992607d1c.js

js gazprombank.ru collected 2026-10-01 10:28:33 UTC 8,801 bytes, 1 lines download raw bytes

1try{!function(){var 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]="1b676a3b-3a0f-4368-9dcb-286cb643e407",e._sentryDebugIdIdentifier="sentry-dbid-1b676a3b-3a0f-4368-9dcb-286cb643e407")}()}catch(e){}!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=Object.assign({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:gpb":!0})}(),("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"edfe07338426f04fb27c8d9998ddcc7423a52ad2"},(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[49210],{14609:(e,t,s)=>{"use strict";s.d(t,{A:()=>M,o:()=>p});var r=s(46045),o=s(37876),i=s(89482),a=s.n(i),n=s(35916),d=s.n(n),l=s(58103),_=s.n(l),c=s(16690),u=s(68946);let f=1;class h{constructor(){this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.create=e=>{let{message:t}=e,s=(0,u._)(e,["message"]),o=(null==e?void 0:e.id)||f++;return this.toasts.find(e=>e.id===o)?this.toasts=this.toasts.map(s=>s.id===o?(this.publish((0,c._)((0,r._)({},s,e),{id:o,title:t})),(0,c._)((0,r._)({},s,e),{id:o,title:t})):s):this.addToast((0,c._)((0,r._)({title:t},s),{id:o})),o},this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.error=(e,t)=>this.create((0,c._)((0,r._)({},t),{message:e,type:"error"})),this.success=(e,t)=>this.create((0,c._)((0,r._)({},t),{type:"success",message:e})),this.info=(e,t)=>this.create((0,c._)((0,r._)({},t),{type:"info",message:e})),this.warning=(e,t)=>this.create((0,c._)((0,r._)({},t),{type:"warning",message:e})),this.loading=(e,t)=>
1this.create((0,c._)((0,r._)({},t),{type:"loading",message:e})),this.subscribers=[],this.toasts=[]}}h.getText=(e,t)=>"function"==typeof e?e(t):e;let g=new h,p=Object.assign((e,t)=>{let s=(null==t?void 0:t.id)||f++;return g.addToast((0,c._)((0,r._)({title:e},t),{id:s})),s},{success:g.success,info:g.info,warning:g.warning,error:g.error,loading:g.loading});var b=s(41403),m=s(35526),T=s(10828),y=s(97856),w=s(97071),v=s(47279),C=s(75920),x=s(17030),R=s.n(x);let j=e=>{let{index:t,toast:s,toastsLength:n,visibleToasts:d,position:l,duration:u,gap:f,theme:h,hasCross:g,isHover:p,onRemove:x,heights:j,setHeights:k}=e,{type:I="default",title:M,description:E,link:S,classes:A={}}=s,[N,L]=l.split("-"),z=(null==s?void 0:s.duration)||u||5e3,D=a().useRef(null),q=a().useRef(0),O=a().useRef(0),P=a().useRef(0),[B,V]=a().useState(!1),[Y,H]=a().useState(!1),[K,F]=a().useState(0),[W,G]=a().useState(0),J=(0,i.useMemo)(()=>{switch(I){case"info":return"notification";case"success":return"status-ok";case"warning":return"status-attention";case"error":return"status-error";case"loading":return"status-waiting2";default:return""}},[I]),Q=(0,i.useMemo)(()=>j.findIndex(e=>e.toastId===s.id)||0,[j,s.id]),X=a().useMemo(()=>j.reduce((e,t,s)=>s>=Q?e:e+t.height,0),[j,Q]);q.current=(0,i.useMemo)(()=>Q*f+X,[Q,X]);let Z=e=>e&&"string"==typeof e?(0,o.jsx)(T.A,{html:e}):e,U=(0,i.useCallback)(()=>{var e;H(!0),F(q.current),k(e=>e.filter(e=>e.toastId!==s.id)),null==(e=s.onClose)||e.call(s,s),setTimeout(()=>{x(s)},300)},[s,x,k,q]);return(0,i.useEffect)(()=>V(!0)),(0,b.default)(()=>{if(!B||!(null==D?void 0:D.current))return;let e=D.current,t=e.style.height;e.style.height="auto";let o=e.getBoundingClientRect().height;e.style.height=t,G(o),k(e=>e.find(e=>e.toastId===s.id)?e.map(e=>e.toastId===s.id?(0,c._)((0,r._)({},e),{height:o}):e):[{toastId:s.id,height:o,position:s.position},...e])},[B,s.title,s.description,k,s.id]),(0,i.useEffect)(()=>{let e;if(s.duration===1/0||"loading"===I)return;let t=z;return p?(()=>{if(P.current<O.current){let e=new Date().getTime()-O.current;t-=e}P.current=new Date().getTime()})():t!==1/0&&(O.current=new Date().getTime(),e=setTimeout(()=>U(),t)),()=>clearTimeout(e)},[p,s,z,U,I]),(0,i.useEffect)(()=>{if(!(null==D?void 0:D.current))return;let{height:e}=D.current.getBoundingClientRect();return G(e),k(t=>[{toastId:s.id,height:e,position:s.position},...t]),()=>k(e=>e.filter(e=>e.toastId!==s.id))},[k,s.id]),(0,o.jsx)("li",(0,c._)((0,r._)({},(0,C.A)(h)),{ref:D,className:_()(R().root,R()[I],R()[N],R()[L],{[R().animate]:B,[R().removed]:Y,[R().visible]:t+1<=d,[R().first]:0===t,[R().disabled]:"loading"===I}),style:{"--wh-toaster-card-z-index":n-t,"--wh-toaster-card-offset":"".concat(Y?K:q.current,"px"),"--wh-toaster-card-initial-height":"".concat(W,"px")},children:(0,o.jsxs)("div",{className:_()(R().root__inner,A.root),children:[J&&(0,o.jsx)("div",{className:_()(R().root__icon,A.icon),children:(0,o.jsx)(w.A,{icon:{code:J}})}),(0,o.jsx)("div",{className:_()(R().root__content,A.content),children:"loading"===I?(0,o.jsx)("span",{children:Z(M)?Z(M):"Загрузка..."}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v.A,{variant:"p1",subtitleVariant:"p2",subtitle:Z(E),isBold:!0,isCssVarsEnabled:!0,classes:{root:A.title,subtitle:_()(R().root__description,A.description)},children:Z(M)}),(null==S?void 0:S.href)&&(0,o.jsx)(y.A,{target:S.target,href:S.href,onClick:S.clickHandler,className:_()(R().root__link,A.link),children:S.name})]})}),g&&(0,o.jsx)(m.A,{onClick:U,classes:{root:_()(R().root__cross,A.cross)},size:"S",type:h})]})}))};var k=s(16128),I=s.n(k);let M=e=>{let{containerId:t,wrapperElement:s=document.body,position:a="top-right",duration:l,zIndex:c=100,gap:u=14,offset:f=32,visibleToasts:h=3,hasCross:p=!0,theme:b,className:m}=e,[T,y]=(0,i.useState)([]),w=(0,i.useMemo)(()=>T.filter(e=>t?(null==e?void 0:e.containerId)===t:!(null==e?void 0:e.containerId)),[T,t]),[v,C]=(0,i.useMemo)(()=>a.split("-"),[a]),[x,R]=(0,i.useState)([]),[k,M]=(0,i.useState)(!1),E=(0,i.useCallback)(e=>y(t=>t.filter(t=>{let{id:s}=t;return s!==e.id})),[]);(0,i.useEffect)(()=>g.subscribe(e=>{setTimeout(()=>{d().flushSync(()=>{y(t=>{let s=t.findIndex(t=>t.id===e.id);return -1!==s?[...t.slice(0,s),(0,r._)({},t[s],e),...t.slice(s+1)]:[e,...t]})})})}),[]);let S=()=>(0,o.jsx)("ol",{className:_()(I().root,I()[v],I()[C],m),style:{"--wh-toaster-offset":"".concat(f,"px"),"--wh-toaster-width":"".concat(300,"px"),"--wh-toaster-gap":"".concat(u,"px"),"--wh-toaster-z-index":c},onMouseEnter:()=>M(!0),onMouseMove:()=>M(!0),onMouseLeave:()=>M(!1),children:null==w?void 0:w.map((e,t)=>(0,o.jsx)(j,{index:t,toast:e,position:a,duration:l,gap:u,hasCross:null==p||p,toastsLength:(null==T?void 0:T.length)||0,visibleToasts:h,isHover:k,onRemove:E,theme:b,heights:x.filter(t=>t.position===e.position),setHeights:R},e.id))},a);return w.length&&s?"self"===s?(0,o.jsx)(o.Fragment,{children:S()}):(0,n.createPortal)(S(),s):null}},16128:e=>{e.exports={root:"Toaster_root__jLNeK",top:"Toaster_top__R1imJ",bottom:"Toaster_bottom__8en6A",left:"Toaster_left__HGdMz",right:"Toaster_right__e36i_",center:"Toaster_center__1vk00",shimmer:"Toaster_shimmer__AufhV",timerRotateRight:"Toaster_timerRotateRight__RyDkx",timerRotateLeft:"Toaster_timerRotateLeft__uORsu"}},17030:e=>{e.exports={root:"ToasterCard_root__WPWF8",top:"ToasterCard_top__SkSYK",bottom:"ToasterCard_bottom__sjdQs",animate:"ToasterCard_animate__0zCIS",removed:"ToasterCard_removed____q_y",first:"ToasterCard_first__gj7x8",visible:"ToasterCard_visible__MTGzR",disabled:"ToasterCard_disabled__79cOX",root__inner:"ToasterCard_root__inner__TqKPZ",root__icon:"ToasterCard_root__icon__1c7bj",info:"ToasterCard_info__NPVyw",success:"ToasterCard_success__0mnCz",w
1arning:"ToasterCard_warning__gcYBq",error:"ToasterCard_error__0Xkqq",loading:"ToasterCard_loading___RqLt",root__content:"ToasterCard_root__content___yiVj",root__description:"ToasterCard_root__description__gAn4E",root__link:"ToasterCard_root__link__IO_7N",root__cross:"ToasterCard_root__cross__aeqQc",shimmer:"ToasterCard_shimmer__IPYWu",timerRotateRight:"ToasterCard_timerRotateRight__omJc_",timerRotateLeft:"ToasterCard_timerRotateLeft__IYhki"}},41403:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(89482);t.default=s(98159).isBrowser?r.useLayoutEffect:r.useEffect},49210:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>i,toast:()=>o.o});var r=s(37876),o=s(14609);let i=e=>{let{containerId:t,wrapperElement:s,position:i="top-right",duration:a,zIndex:n,gap:d,offset:l,visibleToasts:_,hasCross:c=!0,theme:u,className:f}=e;return(0,r.jsx)(o.A,{containerId:t,wrapperElement:s,position:i,duration:a,zIndex:n,gap:d,offset:l,visibleToasts:_,hasCross:c,theme:u,className:f})}}}]);

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.