PageSourceSearch

https://www.bspb.ru/_next/static/chunks/2072.002c8448c0013e7e.js

js bspb.ru collected 2026-10-09 16:48:29 UTC 15,667 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2072],{25013:function(e,t,r){r.d(t,{O:function(){return s}});var n=r(85893),a=r(91639),o=r(33838),i=r(11163),l=r(67294),c=r(26739);let s=(0,l.forwardRef)((e,t)=>{let{...r}=e,{isButtonStyle:s,variant:u,children:d,href:m="",asComponent:p,withCurrentPath:f,query:h,onClick:C,isExternal:g,replace:x,disabled:v,preventNavigation:y,postfixHrefForAnalytics:b,idAnalytic:j,as:k,getActiveStyles:_,activeStyles:w,...L}=r,H=(0,i.useRouter)(),{asPath:Z,query:M,replace:S,push:T}=H,I=f?Z:m||"",B=(0,a.mq)("Button",{variant:u}),E=(0,l.useMemo)(()=>(0,c.Wi)({getActiveStyles:_,withCurrentPath:f,currentQuery:h,as:k,activeStyles:w,query:M,asPath:Z,currentHref:I}),[r,h,M,Z,I]),N=(0,l.useMemo)(()=>(0,c.wS)({href:m,withCurrentPath:f,currentQuery:h,asPath:Z,query:M}),[m,f,h,Z,M]),R=(0,l.useMemo)(()=>(0,c.Es)(N),[N]),W={onClick:e=>(0,c.lx)(e,{customHrefString:R,customHref:N,routerReplace:S,push:T,asPath:Z,onClick:C,isExternal:g,replace:x,disabled:v,preventNavigation:y,postfixHrefForAnalytics:b,idAnalytic:j}),href:R,as:p,ref:t,"aria-disabled":v||void 0,tabIndex:v?-1:void 0,cursor:v?"not-allowed":void 0,opacity:v?.4:void 0,...L,...E};return s?(0,n.jsx)(o.r,{sx:{display:"inline-flex",alignItems:"center",...B,_hover:{...B._hover}},...W,children:d}):(0,n.jsx)(o.r,{variant:u,...W,children:d})});s.displayName="ActiveLink"},92742:function(e,t,r){r.d(t,{O:function(){return n.O},Z:function(){return n.O}});var n=r(25013)},26739:function(e,t,r){r.d(t,{Bm:function(){return isExternalLink},Es:function(){return hrefToString},K2:function(){return isValidURL},WD:function(){return addUtmToExterntalLink},Wi:function(){return getStyles},lx:function(){return customLinkOnClick},tY:function(){return delSlugFromQuery},wS:function(){return getHref}});var n=r(63282),a=r(78949),o=r(11340),i=r(15695),l=r(45077);let delSlugFromQuery=e=>{let{slug:t,...r}=e;return r},isExternalLink=e=>e.includes("http"),isValidURL=e=>{try{return new URL(e),!0}catch(e){return!1}},correctHref=e=>(0,l.H)(e.includes("http")||(null==e?void 0:e[0])==="/"||e.includes(":")||e.includes(".")?e:"/".concat(e)),queryToString=e=>{let t=Object.keys(e);return null==t?void 0:t.reduce((t,r,n)=>0===n?"".concat(r,"=").concat(e[r]):"".concat(t,"&").concat(r,"=").concat(e[r]),"")},hrefToString=e=>{if("string"==typeof e)return e;let t=Object.keys(null==e?void 0:e.query),r=t.length?"?"+queryToString(null==e?void 0:e.query):"",n=(null==e?void 0:e.hash)?"#"+e.hash:"";return"".concat(e.pathname).concat(r).concat(n)},addUtmToExterntalLink=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,a.PB)(t),n=new URL(e),o=Object.fromEntries(new URLSearchParams(n.search));return{pathname:n.origin+n.pathname,query:{...o,...r},hash:n.hash.slice(1)}},getHref=e=>{let{href:t,withCurrentPath:r,currentQuery:n,asPath:a,query:i}=e;if("string"==typeof t){let e=(0,l.H)(t);if(isExternalLink(e)&&isValidURL(e))return addUtmToExterntalLink(e,i);if(e.split("#")[1]||e.includes("?"))return e;let c={...i},s=Object.keys(n||{}).reduce((e,t)=>(c.hasOwnProperty(t)&&delete c[t],void 0===n[t])?e:{[t]:n[t],...e},{});return{pathname:r?(0,o.u)(a):correctHref(e)||"",query:r?{...delSlugFromQuery(c),...s}:{}}}return t||""},analitics=(e,t)=>{let{customHref:r,customHrefString:a}=e,{postfixHrefForAnalytics:o,idAnalytic:l}=t;(0,i.B)({action:i.yk.CLICK,label:"string"!=typeof r?null==r?void 0:r.pathname:a,category:i.pN.LINK,urlPostfix:o}),l&&(0,n.ZP)("reachGoal",l)},normalizeHref=e=>{if(!e)return"";try{let t=window.location.origin,r=new URL(e,t);return"".concat(r.pathname).concat(r.search).concat(r.hash)}catch(t){return e}},customLinkOnClick=(e,t)=>{let{customHrefString:r,routerReplace:n,push:a,customHref:o,asPath:i,onClick:l,isExternal:c,replace:s,disabled:u,preventNavigation:d,postfixHrefForAnalytics:m,idAnalytic:p}=t;if(e.preventDefault(),!u&&(analitics({customHref:o,customHrefString:r},{postfixHrefForAnalytics:m,idAnalytic:p}),l&&l(e),!d)){if(c){window.open(r,"_blank");return}normalizeHref(r)!==normalizeHref(i)&&(s?n(o):a(o))}},getStyles=e=>{let{getActiveStyles:t,withCurrentPath:r,currentQuery:n,as:a,activeStyles:o,query:i,asPath:l,currentHref:c}=e;if(t)return t();if(r){let e=Object.keys(n||{}).every(e=>i.hasOwnProperty(e)&&(i[e]||"")===(n[e]||""));return e?o:{}}return l===c||l===a?o:{}}},39307:function(e,t,r){r.d(t,{M:function(){return ContactCard}});
1var n=r(85893),a=r(204),o=r(88911),i=r(91669),l=r(35393),c=r(7212),s=r(27761);let ContactCard=e=>{let{title:t,description:r,phoneLabel1:u,phoneValue1:d,phoneLabel2:m,phoneValue2:p,email1:f,email2:h,locationLabel1:C,locationValue1:g,locationLabel2:x,locationValue2:v,siteLabel:y,siteValue:b,...j}=e;return(0,n.jsxs)(c.Z,{withOutHover:!0,maxW:{base:"auto",sm:"568px"},zIndex:"2",w:"100%",p:"space.20",display:"flex",flexDirection:"column",gap:"space.16",...j,children:[(0,n.jsxs)(a.k,{flexDirection:"column",gap:"space.8",children:[(0,n.jsx)(l.Z,{variant:"h3",children:t}),!!r&&(0,n.jsx)(o.x,{color:"text.light.secondary",children:r})]}),(0,n.jsxs)(i.g,{spacing:"space.16",align:"stretch",children:[u&&d&&(0,n.jsx)(s.v,{type:"phone",label:u,value:d}),m&&p&&(0,n.jsx)(s.v,{type:"phone",label:m,value:p}),f&&(0,n.jsx)(s.v,{type:"email",label:f,value:f}),h&&(0,n.jsx)(s.v,{type:"email",label:h,value:h}),C&&g&&(0,n.jsx)(s.v,{type:"location",label:C,value:g}),x&&v&&(0,n.jsx)(s.v,{type:"location",label:x,value:v}),y&&b&&(0,n.jsx)(s.v,{type:"site",label:y,value:b})]})]})};t.Z=ContactCard},27761:function(e,t,r){r.d(t,{v:function(){return ContactLink}});var n=r(85893),a=r(88911),o=r(204),i=r(92742),l=r(56877);let c={email:(0,n.jsx)(e=>(0,n.jsx)(l.J,{width:"20px",height:"14px",viewBox:"0 0 20 14",fill:"none",...e,children:(0,n.jsx)("path",{d:"M1.7 0H18.3C19.24 0 20 0.76 20 1.7V12.3C20 13.24 19.24 14 18.3 14H1.7C0.76 14 0 13.24 0 12.3V1.7C0 0.76 0.76 0 1.7 0ZM18.3 1.5H1.7C1.59 1.5 1.5 1.59 1.5 1.7V2.91L9.58 6.95C9.85 7.08 10.16 7.08 10.43 6.95L18.5 2.91V1.7C18.5 1.59 18.41 1.5 18.3 1.5ZM1.7 12.5H18.3C18.41 12.5 18.5 12.41 18.5 12.3V4.59L11.1 8.29C10.76 8.46 10.38 8.55 10 8.55C9.62 8.55 9.25 8.47 8.9 8.29L1.5 4.59V12.3C1.5 12.41 1.59 12.5 1.7 12.5Z",fill:"currentColor"})}),{}),phone:(0,n.jsx)(e=>(0,n.jsxs)(l.J,{width:"12px",height:"20px",viewBox:"0 0 12 20",fill:"none",...e,children:[(0,n.jsx)("path",{d:"M1.7 0H10.3C11.24 0 12 0.76 12 1.7V18.3C12 19.24 11.24 20 10.3 20H1.7C0.76 20 0 19.24 0 18.3V1.7C0 0.76 0.76 0 1.7 0ZM1.5 18.3C1.5 18.41 1.59 18.5 1.7 18.5H10.3C10.41 18.5 10.5 18.41 10.5 18.3V1.7C10.5 1.59 10.41 1.5 10.3 1.5H1.7C1.59 1.5 1.5 1.59 1.5 1.7V18.3Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M3.5 15.75H8.5C8.91 15.75 9.25 16.09 9.25 16.5C9.25 16.91 8.91 17.25 8.5 17.25H3.5C3.09 17.25 2.75 16.91 2.75 16.5C2.75 16.09 3.09 15.75 3.5 15.75Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M7.5 4.25H4.5C4.09 4.25 3.75 3.91 3.75 3.5C3.75 3.09 4.09 2.75 4.5 2.75H7.5C7.91 2.75 8.25 3.09 8.25 3.5C8.25 3.91 7.91 4.25 7.5 4.25Z",fill:"currentColor"})]}),{}),location:(0,n.jsx)(e=>(0,n.jsxs)(l.J,{width:"14px",height:"20px",viewBox:"0 0 14 20",fill:"none",...e,children:[(0,n.jsx)("path",{d:"M1.08018 3.48C2.36818 1.3 4.58473 0 7.00098 0C9.41722 0 11.6338 1.3 12.9218 3.48C14.3196 5.84 14.3595 8.69 13.0416 11.1L8.76823 18.92C8.3988 19.6 7.73983 20 7.00098 20C6.26213 20 5.60315 19.6 5.23372 18.92L0.960367 11.1C-0.357584 8.68 -0.317645 5.83 1.08018 3.48ZM2.27832 10.38L6.55168 18.2C6.76135 18.58 7.25059 18.58 7.46026 18.2L11.7336 10.38C12.792 8.43 12.762 6.14 11.6338 4.24C10.6154 2.52 8.88804 1.5 7.00098 1.5C5.11391 1.5 3.3866 2.53 2.36818 4.24C1.24992 6.14 1.20998 8.43 2.27832 10.38Z",fill:"currentColor"}),(0,n.jsx)("path",{d:"M6.99023 3.75C8.51023 3.75 9.74023 4.98 9.74023 6.5C9.74023 8.02 8.51023 9.25 6.99023 9.25C5.47023 9.25 4.24023 8.02 4.24023 6.5C4.24023 4.98 5.47023 3.75 6.99023 3.75ZM6.99023 7.75C7.68023 7.75 8.24023 7.19 8.24023 6.5C8.24023 5.81 7.68023 5.25 6.99023 5.25C6.30023 5.25 5.74023 5.81 5.74023 6.5C5.74023 7.19 6.30023 7.75 6.99023 7.75Z",fill:"currentColor"})]}),{}),site:(0,n.jsx)(e=>(0,n.jsx)(l.J,{width:"20px",height:"20px",viewBox:"0 0 20 20",...e,children:(0,n.jsx)("path",{d:"M10 0C15.51 0 20 4.49 20 10C20 15.51 15.51 20 10 20C4.49 20 0 15.51 0 10C0 4.49 4.49 0 10 0ZM1.54 9.25H5.02C5.11 6.86 5.61 4.64 6.47 2.93C6.63 2.61 6.79 2.33 6.95 2.08C3.99 3.22 1.83 5.97 1.54 9.25ZM10 18.5C10.72 18.5 11.54 17.71 12.19 16.4C12.93 14.91 13.39 12.89 13.48 10.75H6.52C6.61 12.89 7.06 14.91 7.81 16.4C8.47 17.71 9.29 18.5 10 18.5ZM13.48 9.25C13.39 7.11 12.94 5.09 12.19 3.6C11.53 2.29 10.71 1.5 10 1.5C9.29 1.5 8.46 2.28 7.81 3.6C7.07 5.09 6.61 7.11 6.52 9.25H13.48ZM13.05 2.08C13.21 2.33 13.37 2.62 13.53 2.93C14.39 4.64 14.89 6.86 14.98 9.25H18.46C18.17 5.97 16.01 3.22 13.05 2.08ZM18.46 10.75H14.98C14.89 13.14 14.39 15.36 13.53 17.07C13.37 17.39 13.21 17.67 13.05 17.92C16.01 16.78 18.17 14.03 18.46 10.75ZM6.95 17.92C6.79 
117.67 6.63 17.38 6.47 17.07C5.61 15.36 5.11 13.14 5.02 10.75H1.54C1.83 14.03 3.99 16.78 6.95 17.92Z",fill:"currentColor"})}),{})},s={email:"mailto:",phone:"tel:"},formatProtocol=e=>"http"===e.slice(0,4)?e:"http://".concat(e),ContactLink=e=>{let{type:t,label:r,value:l}=e,u=c[t],d=s[t],m=d?"".concat(d).concat(l):l;return"location"===t&&(m=formatProtocol(l)),(0,n.jsx)(i.Z,{href:m,..."site"===t||"location"===t?{target:"_blank"}:{},children:(0,n.jsxs)(a.x,{as:"span",display:"flex",children:[(0,n.jsx)(o.k,{justifyContent:"center",alignItems:"center",mr:"10px",w:"24px",h:"24px",children:u}),r]})})}},27197:function(e,t,r){r.d(t,{X:function(){return Heading}});var n=r(85893),a=r(23100);r(67294);var o=r(72151),i=r(27455);let Heading=e=>{let t,{variant:r,children:l,accent:c=!1,defaultSpace:s,...u}=e,d=(0,o.vZ)(i.default.text.accent);return!0===s||"lg"===s?t={base:"space.32",sm:"space.40"}:"sm"===s&&(t={base:"space.20",sm:"space.40"}),(0,n.jsx)(a.xu,{as:r,textStyle:r,color:c&&d,mb:t,...u,children:l})};t.Z=Heading},35393:function(e,t,r){r.d(t,{Z:function(){return n.X}});var n=r(27197)},79610:function(e,t,r){r.d(t,{X:function(){return Paper}});var n=r(85893),a=r(23100),o=r(72151),i=r(27455);let Paper=e=>{let{children:t,withOutHover:r=!1,withOutBorderRadius:l=!1,withBoxShadow:c=!1,variant:s="primary_bg",...u}=e,d=(0,o.vZ)(i.default.bg.component.accent.default),m=(0,o.vZ)(i.default.bg.component.accent.hover);return(0,n.jsx)(a.xu,{...{primary_bg:{bgColor:"bg.component.primary.default",_hover:r?{}:{bgColor:"bg.component.primary.hover"}},secondary_bg:{bgColor:"bg.component.secondary.default",_hover:r?{}:{bgColor:"bg.component.secondary.hover"}},dark_bg:{bgColor:"bg.component.dark"},light_bg:{bgColor:"bg.component.primary.default"},accent_bg:{bgColor:d,_hover:r?{}:{bgColor:m}},variant_1:{bgColor:"bg.component.variant_1"},variant_2:{bgColor:"bg.component.variant_2"},hero_banner_primary:{bgColor:"primary.default.yarko"},hero_banner_secondary:{bgColor:"secondary.default.light"},hero_banner_premium_light:{bgColor:"secondary.default.premium_light"},hero_banner_premium:{bgColor:"secondary.default.premium"}}[s],borderRadius:l?0:16,boxShadow:c?"0 0 5px 0 ".concat(i.default.grey.default_transparent):"",transition:"0.2s ease-in-out",...u,children:t})};t.Z=Paper},7212:function(e,t,r){r.d(t,{Z:function(){return n.X}});var n=r(79610)},12072:function(e,t,r){r.r(t),r.d(t,{default:function(){return ContactsSection}});var n=r(85893),a=r(36979),o=r(31708),i=r(39307),l=r(35393);let ContactsSection=e=>{let{isFirstSection:t,title:r,content:c}=e;return(0,n.jsxs)(a.W,{variant:"p-all-outside-md",style:{paddingTop:t&&"0"},children:[(0,n.jsx)(l.Z,{variant:"h2",mb:{base:"space.20",sm:"space.40"},children:r}),(0,n.jsx)(o.r,{gridGap:"space.20",gridTemplateColumns:{base:"1fr",sm:"1fr 1fr"},gridAutoRows:"minmax(auto, auto)",children:null==c?void 0:c.map((e,t)=>(0,n.jsx)(i.M,{...e},"contact-card-".concat(e.title,"-").concat(t)))})]})}},45077:function(e,t,r){r.d(t,{H:function(){return normalizeInternalUrl},X:function(){return normalizeInternalLinksInHtml}});let n=["www.bspb.ru","bspb.ru"],normalizeInternalUrl=e=>{if(!e||!/^https?:\/\//i.test(e))return e;try{let t=new URL(e);if(!n.includes(t.host))return e;return"".concat(t.pathname).concat(t.search).concat(t.hash)||"/"}catch(t){return e}},normalizeInternalLinksInHtml=e=>null==e?void 0:e.replace(/href="(https?:\/\/[^\"]+)"/gi,(e,t)=>'href="'.concat(normalizeInternalUrl(t),'"'))},31708:function(e,t,r){r.d(t,{r:function(){return i}});var n=r(35059),a=r(66384),o=r(85893),i=(0,n.G)(function(e,t){let{templateAreas:r,gap:n,rowGap:i,columnGap:l,column:c,row:s,autoFlow:u,autoRows:d,templateRows:m,autoColumns:p,templateColumns:f,...h}=e;return(0,o.jsx)(a.m.div,{ref:t,__css:{display:"grid",gridTemplateAreas:r,gridGap:n,gridRowGap:i,gridColumnGap:l,gridAutoColumns:p,gridColumn:c,gridRow:s,gridAutoFlow:u,gridAutoRows:d,gridTemplateRows:m,gridTemplateColumns:f},...h})});i.displayName="Grid"},91669:function(e,t,r){r.d(t,{g:function(){return i}});var n=r(76684),a=r(35059),o=r(85893),i=(0,a.G)((e,t)=>(0,o.jsx)(n.K,{align:"center",...e,direction:"column",ref:t}));i.displayName="VStack"},76684:function(e,t,r){r.d(t,{K:function(){return d}});var n=r(66384),a=r(85893),StackItem=e=>(0,a.jsx)(n.m.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});StackItem.displayName="StackItem";var o=r(33951),i="& > *:not(style) ~ *:not(style)",l=r(35059),c=r(25432),s=r(92495),u=r(67294),d=(0,l.G)((e,t)=>{let{isInline:r,direction:l,align:d,justify:m,spacing:p="0.5rem",wrap:f,children:h,divider:C,className:g,shouldWrapChildren:x,...v}=e,y=r?"row":null!=l?l:"column",b=(0,u.useMemo)(()=>(function(e){let{spacing:t,direction:r}=e,n={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:r,[i]:(0,o.XQ)(r,e=>n[e])}})({direction:y,spacing:p}),[y,p]),j=(0,u.useMemo)(()=>(function(e){let{spacing:t,direction:r}=e,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":(0,o.XQ)(r,e=>n[e])}})({spacing:p,direction:y}
1),[p,y]),k=!!C,_=!x&&!k,w=(0,u.useMemo)(()=>{let e=(0,s.W)(h);return _?e:e.map((t,r)=>{let n=void 0!==t.key?t.key:r,o=r+1===e.length,i=(0,a.jsx)(StackItem,{children:t},n),l=x?i:t;if(!k)return l;let c=(0,u.cloneElement)(C,{__css:j});return(0,a.jsxs)(u.Fragment,{children:[l,o?null:c]},n)})},[C,j,k,_,x,h]),L=(0,c.cx)("chakra-stack",g);return(0,a.jsx)(n.m.div,{ref:t,display:"flex",alignItems:d,justifyContent:m,flexDirection:b.flexDirection,flexWrap:f,className:L,__css:k?{}:{[i]:b[i]},...v,children:w})});d.displayName="Stack"},88911:function(e,t,r){r.d(t,{x:function(){return u}});var n=r(35059),a=r(91639),o=r(33179),i=r(66384),l=r(25432),c=r(20888),s=r(85893),u=(0,n.G)(function(e,t){let r=(0,a.mq)("Text",e),{className:n,align:u,decoration:d,casing:m,...p}=(0,o.Lr)(e),f=(0,c.oA)({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,s.jsx)(i.m.p,{ref:t,className:(0,l.cx)("chakra-text",e.className),...f,...p,__css:r})});u.displayName="Text"},33838:function(e,t,r){r.d(t,{r:function(){return s}});var n=r(35059),a=r(91639),o=r(33179),i=r(66384),l=r(25432),c=r(85893),s=(0,n.G)(function(e,t){let r=(0,a.mq)("Link",e),{className:n,isExternal:s,...u}=(0,o.Lr)(e);return(0,c.jsx)(i.m.a,{target:s?"_blank":void 0,rel:s?"noopener":void 0,ref:t,className:(0,l.cx)("chakra-link",n),...u,__css:r})});s.displayName="Link"}}]);

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.