PageSourceSearch

https://profi.ru/_next/static/chunks/pages/catalog/[metaId]/[specialty]-b17089c4a40efad3.js

js profi.ru collected 2026-10-02 02:29:46 UTC 6,710 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93091],{4259:(e,a,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/catalog/[metaId]/[specialty]",function(){return t(88986)}])},25915:(e,a,t)=>{"use strict";t.d(a,{d:()=>N});var s=t(62021),i=t(74361),o=t(540),c=t.n(o),l=t(55470),r=t(41717),n=t(69934),d=t(68689),_=t(20901),p=t(27874),h=t(43727),m=t(60209),g=t(96683),u=t(80837),j=t(30305),f=t.n(j),x=t(75578),v=t.n(x),w=t(34821);let N=e=>{let{data:a,activeFolderId:t,fromSection:o}=e,{wrapLinkWithGeo:j}=(0,_.AX)(),[x,N]=(0,i.useState)(t),{beforePopState:b,back:C}=(0,l.useRouter)();(0,i.useEffect)(()=>(b(e=>(e.options.scroll=!1,!0)),()=>{b(e=>(e.options.scroll=!0,!0))}),[b]);let{clickBackAnalytics:k,clickCategoryAnalytics:S,showCatalogAnalytics:E}=(0,w.z)();(0,i.useEffect)(()=>{var e;E({from_section:o,seamless_z_id:a.projectData.id,page_catalog_pservice_id:null!=(e=null==D?void 0:D.id)?e:null})},[]),(0,i.useEffect)(()=>{function e(){N(null)}return window.addEventListener("popstate",e),()=>{window.removeEventListener("popstate",e)}},[]);let D=(0,i.useMemo)(()=>a.specialties.find(e=>e.folder===x),[a,x]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:f().mobileHeader,children:[(0,s.jsx)(r.$,{className:f().mobileHeaderBtn,design:"transparent",onClick:()=>{x?C():window.location.assign(j("/#catalog")),D&&k({seamless_z_id:a.projectData.id,page_catalog_pservice_id:D.id})},"data-shmid":"return_back_button",children:(0,s.jsx)(h.A,{color:"#808080"})}),(0,s.jsx)(g.z,{className:f().mobileSage,"data-shmid":"search",fromSection:"page_catalog_search",hideBubbles:!0})]}),!x&&(0,s.jsx)(d.B,{design:"high",size:"l",boldItemMainText:!0,className:f().list,children:a.specialties.map(e=>{let t;return(0,s.jsx)(d.B.Item,{onClick:(t=e.folder,()=>{let e=window.location.search,s=new URLSearchParams(e);N(t),window.history.pushState(window.history.state,"",j("/catalog/".concat(a.projectData.folder,"/").concat(t,"/").concat(e?"?".concat(s.toString()):""))),window.scrollTo({top:0,behavior:"instant"})}),children:(0,s.jsx)(n.N,{to:j("/catalog/".concat(a.projectData.folder,"/").concat(e.folder,"/")),onClick:e=>e.preventDefault(),"data-shmid":"catalog_category_link",children:(0,s.jsxs)("div",{className:v().row,children:[(0,s.jsx)("div",{className:v().iconContainer,children:e.icon&&(0,s.jsx)(c(),{width:17,height:17,src:e.icon,alt:e.folder})}),(0,p.Z)(e.name)]})})},e.id)})}),x&&(0,s.jsx)(u.W,{isMobile:!0,data:D,categoryId:a.projectData.folder,sectionId:x,onClick:(e,t)=>{S({from_section:o,page_catalog_pservice_id:D.id,pservice_id:t,page_catalog_link_type:e,seamless_z_id:a.projectData.id})}}),(0,s.jsx)(m.H,{})]})}},78615:(e,a,t)=>{"use strict";t.d(a,{d:()=>h});var s=t(62021),i=t(74361),o=t(15466),c=t(20901),l=t(126),r=t(23715),n=t(80837),d=t(34821),_=t(30305),p=t.n(_);let h=e=>{let{data:a,activeFolderId:t,fromSection:_}=e,{wrapLinkWithGeo:h}=(0,c.AX)(),[m,g]=(0,i.useState)(t||a.specialties[0].folder),{hoverAnalytics:u,clickBackAnalytics:j,clickCategoryAnalytics:f,showCatalogAnalytics:x}=(0,d.z)();(0,i.useEffect)(()=>{var e;x({from_section:_,seamless_z_id:a.projectData.id,page_catalog_pservice_id:null!=(e=null==w?void 0:w.id)?e:null})},[]);let v=(0,i.useRef)(null),w=(0,i.useMemo)(()=>a.specialties.find(e=>e.folder===m),[a,m]);return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(o.xA.Container,{children:[(0,s.jsx)(l.J,{className:p().searchForm,fromSection:"page_catalog_search",hideBubbles:!0,"data-shmid":"search"}),(0,s.jsxs)(o.xA.Row,{className:p().sectionWrap,children:[(0,s.jsx)(o.xA.Col,{span:4,className:p().leftColumn,children:(0,s.jsx)(r.z,{returnBackText:a.projectData.name,specialties:a.specialties,activeFolder:m,handleReturnBack:()=>{j({seamless_z_id:a.projectData.id,page_catalog_pservice_id:w.id}),window.location.assign(h("/#catalog"))},handleHover:e=>{var t;if(e===m)return;let s=window.location.search,i=new URLSearchParams(s);g(e),window.history.replaceState(window.history.state,"",h("/catalog/".concat(a.projectData.folder,"/").concat(e,"/").concat(s?"?".concat(i.toString()):""))),null==(t=v.current)||t.scrollTo({top:0,behavior:"instant"}),u({from_section:_,seamless_z_id:a.projectData.id,page_catalog_pservice_id:w.id})},baseUrl:h("/catalog/".concat(a.projectData.folder,"/")),"data-shmid":"sidebar"})}),(0,s.jsx)(o.xA.Col,{className:p().rightColumn,ref:v,children:m&&(0,s.jsx)(n.W,{isMobile:!1,data:w,categoryId:a.projectData.folder,sectionId:m,onClick:(e,t)=>{f({from_section:_,page_catalog_pservice_id:w.id,pservice_id:t,page_catalog_link_type:e,seamless_z_id:a.projectData.id})},"data-shmid":"catalog"})})]})]})})}},80837:(e,a,t)=>{"use strict";t.d(a,{W:()=>w});var s=t(62021);t(74361);var i=t(540),o=t.n(i),c=t(43466),l=t(11230),r=t.n(l),n=t(71107),d=t(69934),_=t(40863),p=t(27874),h=t(88034),m=t(96194),g=t(69259),u=t(8502),j=t.n(u),f=t(64738),x=t(6145),v=t(34821);let w=e=>{let{data:a,categoryId:t,sectionId:i,isMobile:l=!1,headerLinkUriProps:u,onClick:w}=e,{generateCatalogSeamlessUri:N,generateCatalogGoToProps:b}=(0,n.S)();return a?(0,s.jsxs)("div",{className:r()(l&&j().catalogWrapper),"data-shmid":"catalog",children:[(0,s.jsxs)("header",{className:j().header,children:[(0,s.jsxs)(d.N,{...b(u||{categoryId:t,sectionId:i,fromSection:"page_catalog_header"},()=>w&&w(v.i.SPEC_TITLE,a.id)),bold:!0,size:l?"xl":"xxl","data-shmid":"catalog_title",children:[(0,p.Z)(a.name)," ›"]}
1),!!a.prepsCount&&!!a.specPhrase&&(0,s.jsxs)(_.E,{color:"muted",className:j().description,"data-shmid":"catalog_count",children:[(0,s.jsx)(o(),{src:g.A,alt:"specialist"}),(0,h.A)(a.prepsCount)," ",a.specPhrase]})]}),(0,s.jsxs)(c.A,{columnsCount:l?1:2,gutter:"20px",className:j().catalog,"data-shmid":"masonry_grid",children:[a.services.slice(0,3).map(e=>(0,s.jsx)(m.$,{onClick:w,categoryId:t,service:e},e.id)),a.services.length>20&&(0,s.jsx)(x._,{isMobile:l,onClick:()=>w&&w(v.i.SPEC_BANNER,null==a?void 0:a.id),url:N({categoryId:t,sectionId:i,fromSection:"page_catalog_specialist_find_block"})}),a.services.slice(3,a.services.length).map(e=>(0,s.jsx)(m.$,{onClick:w,categoryId:t,service:e},e.id))]}),(0,s.jsx)(f.b,{onClick:()=>w&&w(v.i.SNOW_WHITE,null==a?void 0:a.id),isMobile:l})]}):"Empty!"}},88986:(e,a,t)=>{"use strict";t.r(a),t.d(a,{__N_SSP:()=>_,default:()=>p});var s=t(62021);t(74361);var i=t(27773),o=t(33185),c=t(39273),l=t(78615),r=t(25915);let n={desktop:l.d,mobile:r.d},d=e=>{let a=n[e.version];return(0,s.jsx)(a,{...e})};d.getLayout=(e,a)=>(0,s.jsx)(c.P,{...(0,i.Q7)(a),pageType:o.G,headerDesign:"default",staticHeader:!1,footerDesign:"hide",fit:!0,showGeoConfirmation:!1,children:e});var _=!0;let p=d}},e=>{e.O(0,[79801,64805,15599,62834,84602,7626,98324,89145,11842,36018,77149,85989,63975,72963,90636,46593,38792],()=>e(e.s=4259)),_N_E=e.O()}]);

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.