PageSourceSearch

https://visityaroslavia.ru/_next/static/chunks/4129.3d50f35697d643fe.js

js visityaroslavia.ru collected 2026-10-02 04:12:32 UTC 2,095 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4129],{44129:function(i,t,n){"use strict";n.r(t),n.d(t,{Notifications:function(){return N}});var o=n(67168),e=n(18381),c=n(65989),s=n(33333),a=n.n(s),f=n(10655),l=n(64382),r=n(49375),u=n(22297),_=n(8360),d=n(79134),g=n(77623),h=n.n(g);let m=i=>{let{notification:t}=i,n=(0,c.I0)(),s=(0,e.useRef)(null),f=(0,e.useRef)(),l=t.id,{content:u,type:d}=t.data,[g,m]=(0,e.useState)("auto"),[N,v]=(0,e.useState)(!1);(0,e.useEffect)(()=>(f.current=setTimeout(E,3e3),()=>{}),[]);let E=()=>{clearTimeout(f.current),s.current&&m(s.current.clientWidth),v(!0)};return(0,o.jsxs)("div",{onAnimationEnd:()=>n((0,r.K0)({id:l})),style:{width:g},ref:s,onClick:()=>E(),className:a()(h().notification,{[h().notification_closing]:N}),children:[(0,o.jsx)("div",{className:h().image,children:(0,o.jsx)(_.E,{width:24,height:24,src:"/images/notifications/".concat(d,".svg"),alt:"notification icon"})}),(0,o.jsx)("div",{className:h().content,children:u})]})},N=()=>{let i=(0,u.CG)(i=>{let{notifications:t}=i;return t.notifications}),t=(0,f.useRouter)(),n=(0,c.I0)(),{t:s}=(0,l.Z)("notifications"),_={content:s("mailSuccessfullyChanged"),type:"success"},g={content:s("linkInvalid"),type:"error"};return(0,e.useEffect)(()=>{let{query:i}=t;return"success"===i.changeEmailStatus&&(localStorage.setItem(d.rO,"1"),n((0,r.A4)(_))),"fail"===i.changeEmailStatus&&n((0,r.A4)(g)),()=>{}},[]),(0,o.jsx)("div",{className:a()(h().notifications,"bvi-no-styles"),children:i.map(i=>(0,o.jsx)(m,{notification:i},i.id))})}},8360:function(i,t,n){"use strict";n.d(t,{E:function(){return s}});var o=n(67168);n(18381);var e=n(38114),c=n.n(e);let s=i=>(0,o.jsx)(c(),{quality:90,...i})},77623:function(i){i.exports={notifications:"Notifications_notifications__lWWRy",notification:"Notifications_notification__5uEdQ",notification_closing:"Notifications_notification_closing__1tnfV","notification-closing":"Notifications_notification-closing__jstHG",content:"Notifications_content__vaoAL",image:"Notifications_image__f4eYA","notification-showing":"Notifications_notification-showing__7Yg6E"}}}]);

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.