(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7375],{20551:function(e,t,n){Promise.resolve().then(n.bind(n,82778)),Promise.resolve().then(n.bind(n,81418))},33145:function(e,t,n){"use strict";n.d(t,{default:function(){return s.a}});var a=n(48461),s=n.n(a)},99376:function(e,t,n){"use strict";var a=n(35475);n.o(a,"usePathname")&&n.d(t,{usePathname:function(){return a.usePathname}}),n.o(a,"useRouter")&&n.d(t,{useRouter:function(){return a.useRouter}})},48461:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return o},getImageProps:function(){return i}});let a=n(47043),s=n(55346),r=n(65878),l=a._(n(5084));function i(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let o=r.Image},81418:function(e,t,n){"use strict";n.d(t,{GlossaryDetail:function(){return z}});var a=n(57437),s=n(99376),r=n(35563),l=n(75461),i=n(20777),o=n(90422),c=n(46295),d=n(17730),p=n(2265),u=n(54365);let _=()=>{let e="";for(let t=0;t<36;t++){let n=16*Math.random()|0;[8,13,18,23].includes(t)&&(e+="-");let a=n;14===t?a=4:19===t&&(a=3&n|8),e+=a.toString(16)}return e};var m=n(49286),h=n.n(m);let v=e=>{let{params:t,children:n,className:s,config:r}=e,[l,i]=(0,p.useState)(!1),[o,c]=(0,p.useState)(""),d=(0,p.useRef)(null),m=(0,p.useRef)("");return(0,p.useEffect)(()=>{m.current&&(null==r?void 0:r.yaContextCb)&&(null==r?void 0:r.Ya)&&r.yaContextCb.push(()=>{r.Ya.adfoxCode.destroy(m.current)}),c(_())},[null==r?void 0:r.Ya,null==r?void 0:r.yaContextCb,t.pp]),(0,p.useEffect)(()=>{if(m.current===o)return;if(!r){i(!0);return}let e=()=>{var e,t;let n=null===(e=d.current)||void 0===e?void 0:e.querySelector("iframe");n?n.style.height="".concat(null===(t=n.contentWindow)||void 0===t?void 0:t.document.body.scrollHeight,"px"):console.warn("ads blocked"),i(!n)};r.yaContextCb&&r.yaContextCb.push(()=>{r.Ya.adfoxCode.create({ownerId:r.ownerId,containerId:"adfox_".concat(o),params:t,onRender:e})}),setTimeout(e,5e3),m.current=o},[o,r,t]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:(0,u.Z)(l&&h().hide,s),ref:d,id:"adfox_".concat(o)},o),l&&n]})},x=()=>{let[e,t]=(0,p.useState)();return(0,p.useEffect)(()=>{window&&window.Ya&&window.yaContextCb&&t({ownerId:406293,Ya:window.Ya,yaContextCb:window.yaContextCb})},[]),e};var g=n(89487),y=n(33145),j=n(43828),f=n.n(j),b={src:"/service-main/_next/static/media/glossary_banner.bc2c832d.png",height:303,width:577,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAMAAACEE47CAAAAP1BMVEXUqn/h6/WOjsuuyPfIzuO1z/+nxP/IzNS8zMy1yPWWmrOurqxeacCpqamNkbW4uLtmbchKUr11e7s4S8+rq6flaJ2yAAAAFHRSTlMBGk9GYlBgRlowcIuPxdiQRj7UG3WTCxsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAApSURBVHicBcGFAQAgDMCwottw+/9WErQrWID5KhKTIeM0rzHD3auI4wMRSwD+xMaZWAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:4};let C=()=>(0,a.jsxs)("div",{className:f().content,children:[(0,a.jsx)("h3",{className:f().bannerTitle,children:"Управляйте финансами через приложение Финуслуг"}),(0,a.jsx)(y.default,{src:b,alt:"glossary_banner",className:f().bannerPicture,unoptimized:!0})]});var k=n(27648),N=n(80684),w=n(62268),S=n(34669),A=n.n(S);let T=e=>{let{className:t,data:n}=e;if(!Array.isArray(n))return null;let s=(()=>{let e;let t=[],s=1,r=0;return n.forEach((t,a)=>{"header"===t.type&&(3==++r&&("banner"===n[a-1].type&&(e=n.splice(a-1,1)),"banner"===n[a+1].type&&(e=n.splice(a+1,1))),e&&4===r&&n.splice(a,0,e[0]))}),n.forEach((t,a)=>{"header"===t.type&&(3==++r&&("banner"===n[a-1].type&&(e=n.splice(a-1,1)),"banner"===n[a+1].type&&(e=n.splice(a+1,1))),e&&4===r&&n.splice(a,0,e[0]))}),n.forEach((e,n)=>{var r,l,i,o,c,d,p,u,_,m,h,v,x;switch(e.type){case"header":t.push((0,a.jsx)("h2",{id:"content_header_".concat(s),children:null===(r=e.data)||void 0===r?void 0:r.text},n)),s++;break;case"sub_header":t.push((0,a.jsx)("h3",{children:null===(l=e.data)||void 0===l?void 0:l.text},n));break;case"paragraph":t.push((0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:(null===(i=e.data)||void 0===i?void 0:i.text)||""}},n));break;case"link":t.push((0,a.jsx)("div",{className:A().blockLink,children:(0,a.jsx)("a",{target:"_blank",href:null===(o=e.data)||void 0===o?void 0:o.url,rel:"noreferrer",children:null===(c=e.data)||void 0===c?void 0:c.text})},n));break;case"dossier":t.push((0,a.jsxs)("div",{className:A().dossierDateItem,children:[(0,a.jsx)("span",{className:A().date,children:null===(d=e.data)||void 0===d?void 0:d.year}),(0,a.jsx)("div",{className:A().text,dangerouslySetInnerHTML:{__html:(null===(p=e.data)||void 0===p?void 0:p.text)||""}})]},n));break;case"html":t.push((0,a.jsx)("div",{className:A().htmlBlock,dangerouslySetInnerHTML:{__html:(0,w.$)((null===(u=e.data)||void 0===u?void 0:u.html)||"")}},n));break;case"annotation":t.push((0,a.jsx)("div",{className:A().annotation,dangerouslySetInnerHTML:{__html:(0,w.$)((null===(_=e.data)||void 0===_?void 0:_.text)||"")}},n));break;case"company-annotation":t.push((0,a.jsx)("div",{className:A().companyAnnotation,dangerouslySetInnerHTML:{__html:(null===(m=e.data)||void 0===m?void 0:m.text)||""}},n));break;case"keynote":t.push((0,a.jsx)("div",{className:A().keynoteWrapper,children:(0,a.jsx)("p",{className:A().keynote,dangerouslySetInnerHTML:{__html:(null===(h=e.data)||void 0===h?void 0:h.text)||""}})},n));break;case"image":t.push((0,a.jsx)(y.default,{src:(null===(v=e.data)||void 0===v?void 0:v.url)||"",alt:"image"},n));break;case"table":(null===(x=e.data)||void 0===x?void 0:x.html)&&t.push((0,a.jsxs)("div",{className:A().contentTableWrapper,children:[e.data.title?(0,a.jsx)("h4",{children:e.data.title}):"",(0,a.jsx)("div",{className:A().contentTableContent,dangerouslySetInnerHTML:{__html:(0,w.$)(e.data.html||"")}})]},n))}}),t})();return(0,a.jsx)("div",{className:(0,u.Z)(A().contentBlocks,t),children:s})},D=e=>e.replace(/<[^>]*>/g,"");var B=n(71333),L=n.n(B);let W=e=>{let{data:t}=e,[n,s]=(0,p.useState)(!0),[i,o]=(0,p.useState)(!1),c=(0,p.useRef)(null),d=(0,p.useRef)(null);if((0,p.useEffect)(()=>{let e=()=>{c.current&&d.current&&c.current.scrollWidth>d.current.offsetWidth?o(!0):o(!1)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),t.term.content.length>0){var _;let e={html:D((null===(_=t.term.content[0].data)||void 0===_?void 0:_.html)||"")};t.term.content[0].data=e}return(0,a.jsx)("section",{className:L().content,children:(0,a.jsx)(r.W2,{className:L().termContainer,children:(0,a.jsx)("div",{className:L().wrapper,children:(0,a.jsxs)("div",{className:L().termBlock,children:[(0,a.jsxs)("div",{className:L().term,children:[(0,a.jsx)("div",{className:L().title,children:t.term.name}),(0,a.jsx)(T,{className:L().description,data:t.term.content})]}),(0,a.jsxs)("div",{ref:d,className:L().relatedTerms,children:[(0,a.jsx)("label",{children:"Связанные термины"}),(0,a.jsxs)("div",{ref:c,className:(0,u.Z)(L().tags,n&&L().hiddenTags),children:[t.term.similar_terms.map(e=>(0,a.jsx)(k.default,{href:"/glossariy/".concat(e.url),children:e.name},e.id)),i&&(0,a.jsx)("div",{"data-element":"dropdown",className:(0,u.Z)({[L().hiddenLinkedTermsWrapper]:n}),children:(0,a.jsx)(l.zx,{className:L().showMoreButton,variant:"purple",size:"xs",onClick:()=>{s(e=>!e)},label:n?"Еще":"Скрыть",iconLeft:(0,a.jsx)(N.IconArrowHead,{size:20,className:(0,u.Z)(n?L().arrowDown:L().arrowUp,L().showMoreArrow)})})})]})]}),(t.term.prev_term||t.term.next_term)&&(0,a.jsxs)("div",{className:L().linkContainer,children:[(0,a.jsx)("label",{className:L().linkContainerText,children:"Листаем словарь"}),(0,a.jsxs)("div",{className:L().linkContainerButtons,children:[t.term.prev_term?(0,a.jsxs)("div",{className:L().linkContainerButton,children:[(0,a.jsx)(l.zx,{as:"a",className:(0,u.Z)(L().button,L().prev),href:"/glossariy/".concat(t.term.prev_term.url),label:"Предыдущий термин",size:"s",appearance:"ghost",variant:"purple",iconLeft:(0,a.jsx)(N.IconArrowHead,{size:20})}),(0,a.jsx)("div",{className:L().linkContainerTitle,children:t.term.prev_term.name})]}):(0,a.jsx)("div",{}),t.term.next_term?(0,a.jsxs)("div",{className:L().linkContainerButton,children:[(0,a.jsx)(l.zx,{as:"a",className:L().button,href:"/glossariy/".concat(t.term.next_term.url),label:"Следующий термин",size:"s",appearance:"ghost",variant:"purple",iconRight:(0,a.jsx)(N.IconArrowHead,{size:20})}),(0,a.jsx)("div",{className:L().linkContainerTitle,children:t.term.next_term.name})]}):(0,a.jsx)("div",{})]})]})]})})})})},E={};var G=n(65507),I=n.n(G);let z=e=>{var t;let{data:n,bestOffersData:p,supportBlockData:u,navigatorBlockData:_}=e,m=(0,s.usePathname)(),h=(0,c.S)(),y=x(),j=JSON.stringify({"@context":"https://schema.org","@type":"DefinedTerm",name:n.term.name,description:D((null===(t=n.term.content[0].data)||void 0===t?void 0:t.html)||""),termCode:n.term.id,url:"".concat(h.NEXT_PUBLIC_BASE_URL).concat(m)});return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("main",{className:I().page,children:[(0,a.jsx)(r.W2,{children:(0,a.jsx)(l.Oo,{style:{padding:"16px 0"},items:[{href:"/",label:"Главная"},{label:"Финансовый словарь",href:"/glossariy"},{label:n.term.name}]})}),(0,a.jsx)("div",{children:(0,a.jsxs)(r.W2,{className:I().contentWrapper,children:[(0,a.jsx)("div",{className:I().detailSectionWrapper,children:(0,a.jsx)(W,{data:n})}),(0,a.jsxs)("div",{className:I().leftSideBlock,children:[(0,a.jsx)(v,{config:y,params:E,className:I().adFox}),(0,a.jsx)(C,{})]})]})}),p&&(0,a.jsx)(i.MJ,{tabs:p,baseUrl:h.NEXT_PUBLIC_BASE_URL,s3Assets:"".concat(h.NEXT_PUBLIC_S3_ASSETS,"/mp-assets"),dataLayerPush:g.l}),_&&(0,a.jsx)(o.t,{data:_,eventCategory:"glossariy_journal"}),(0,a.jsx)("div",{style:{marginTop:"-32px"}}),u&&(0,a.jsx)(d.B,{...u,s3Assets:h.NEXT_PUBLIC_S3_ASSETS}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:j}})]})})}},62268:function(e,t,n){"use strict";n.d(t,{$:function(){return r}});let a=["finuslugi.ru","inguru.dev","moex.com"],s=e=>e.includes("//")&&!a.find(t=>e&&e.indexOf(t)>=0),r=e=>e?e=e.replace(/href="(.*?)"/gi,(e,t)=>"".concat(e).concat(s(t)?' rel="nofollow"':"")):""},89487:function(e,t,n){"use strict";n.d(t,{l:function(){return r},y:function(){return l}});var a=n(30631);let s=[{path:"banki",category:"service_bank"},{path:"strahovanie_kompanija",category:"service_sk"},{path:"adresa_sk",category:"service_sk"},{path:"adresa_mfo",category:"service_mfo"},{path:"adresa",category:"service_bank"},{path:"mfo",category:"service_mfo"}],r=(e,t)=>{let n=sessionStorage.getItem("pushedEvents"),s=n?JSON.parse(n):[];e.event||(e.event="data-event"),"string"==typeof e.eventAction&&(e.eventAction=e.eventAction.toLowerCase().replaceAll(" ","_")),"string"==typeof e.eventLabel&&(e.eventLabel=e.eventLabel.toLowerCase().replaceAll(" ","_"));let r=s.find(n=>n.eventCategory===e.eventCategory&&n.eventAction===e.eventAction&&n.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===n.url));if(!t||!r){if(t){let t={...e};t.url=window.location.pathname,s.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(s))}(0,a.AB)(e)}},l=e=>{s.some(t=>{if(e.includes(t.path)){let n=e.match(/str_(\d+)/),a=(null==n?void 0:n[1])?Number(n[1]):1;return setTimeout(()=>{r({event:"data-event",eventCategory:t.category,eventAction:"stay_15_seconds",eventLabel:e,eventValue:a})},15e3),!0}return!1})}},49286:function(e){e.exports={hide:"YaAdFoxBanner_hide__EEjEP"}},34669:function(e){e.exports={contentBlocks:"ContentBlocks_contentBlocks__7acMS",annotation:"ContentBlocks_annotation__BaHgh",contentTableWrapper:"ContentBlocks_contentTableWrapper__nKjwZ",keynoteWrapper:"ContentBlocks_keynoteWrapper__MMDgN",keynote:"ContentBlocks_keynote__TEf7n",blockLink:"ContentBlocks_blockLink__hVZSu"}},65507:function(e){e.exports={page:"GlossaryDetail_page__i8qFo",contentWrapper:"GlossaryDetail_contentWrapper__1qqD0",detailSectionWrapper:"GlossaryDetail_detailSectionWrapper__FL_vz",leftSideBlock:"GlossaryDetail_leftSideBlock__Jkb_Z",adFox:"GlossaryDetail_adFox__ZVw7z"}},43828:function(e){e.exports={content:"GlossaryDetailBannerSection_content__Zb0z7",bannerTitle:"GlossaryDetailBannerSection_bannerTitle__4hotK",bannerPicture:"GlossaryDetailBannerSection_bannerPicture__PXQGt"}},71333:function(e){e.exports={title:"GlossaryDetailContentSection_title__j8R_z",catalogLinkWrapper:"GlossaryDetailContentSection_catalogLinkWrapper__EfUjR",shareWrapper:"GlossaryDetailContentSection_shareWrapper__Lrov_",relatedTerms:"GlossaryDetailContentSection_relatedTerms__N8F7S",content:"GlossaryDetailContentSection_content__a7lh2",wrapper:"GlossaryDetailContentSection_wrapper__Ombyy",termBlock:"GlossaryDetailContentSection_termBlock__hlaGO",term:"GlossaryDetailContentSection_term__VP_Hg",description:"GlossaryDetailContentSection_description__q4aEi",linkContainer:"GlossaryDetailContentSection_linkContainer__C_xVX",linkContainerText:"GlossaryDetailContentSection_linkContainerText__9Hk1S",linkContainerButtons:"GlossaryDetailContentSection_linkContainerButtons__9VJuD",linkContainerButton:"GlossaryDetailContentSection_linkContainerButton__tw4cn",linkContainerTitle:"GlossaryDetailContentSection_linkContainerTitle__H_FkM",button:"GlossaryDetailContentSection_button__VjeSR",prev:"GlossaryDetailContentSection_prev__i_26_",additional:"GlossaryDetailContentSection_additional__RtdlP",tagsClose:"GlossaryDetailContentSection_tagsClose__znjhT",showMoreButton:"GlossaryDetailContentSection_showMoreButton__f26hc",tags:"GlossaryDetailContentSection_tags__vvY72",hiddenTags:"GlossaryDetailContentSection_hiddenTags__eIQJ9",hiddenLinkedTermsWrapper:"GlossaryDetailContentSection_hiddenLinkedTermsWrapper__iavJd",showMoreArrow:"GlossaryDetailContentSection_showMoreArrow__YHhx9",arrowUp:"GlossaryDetailContentSection_arrowUp__0szb0",arrowDown:"GlossaryDetailContentSection_arrowDown__vdCV0",termContainer:"GlossaryDetailContentSection_termContainer__uPmjt",buttonIcon:"GlossaryDetailContentSection_buttonIcon__og3Ez"}},90422:function(e,t,n){"use strict";n.d(t,{t:function(){return v}});var a=n(57437),s=n(2265),r=n(35563),l=n(75461),i=n(54365),o=n(6554),c=n(56891),d=n(31620),p=n(10855);let u=(0,n(52074).g)("journal","sc"),_=Object.freeze({wrapper:"".concat(u,"__wrapper"),title:"".concat(u,"__title"),subtitle:"".concat(u,"__subtitle"),scrollableWrapper:"".concat(u,"__scrollable-wrapper"),chipsWrapper:"".concat(u,"__chips-wrapper"),slider:"".concat(u,"__slider"),sliderItem:"".concat(u,"__slider-item"),article:"".concat(u,"__article"),imgWrapper:"".concat(u,"__img-wrapper"),articleBody:"".concat(u,"__article-body"),articleTitle:"".concat(u,"__article-title"),articleDate:"".concat(u,"__article-date"),checkAllLink:"".concat(u,"__check-all-link")}),m="https://assets.finuslugi.ru/mp-assets/widgets/journal/default_post_image.png",h=e=>{if(!e||!/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/.test(e))return"";let t=new Date(e.replace(" ","T"));if(isNaN(t.getTime()))return"";let n=t.getDate(),a=t.getMonth();return"".concat(n," ").concat(["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"][a])},v=e=>{var t;let{data:n,eventCategory:u="finkit-widgets-sc-journal",className:v}=e,x=(0,l._m)("xl"),[g,y]=(0,s.useState)(!0),[j,f]=(0,s.useState)(0),b=n.chips||[],C=(null==(t=null==b?void 0:b[Number(j)])?void 0:t.items)||[];if((0,s.useEffect)(()=>{y(!x)},[x]),0===b.length||0===C.length)return null;let k=(e,t)=>()=>{(0,o.h)({eventCategory:u,eventActionType:o.D.block,eventActionText:e||"",eventLabel:t})},N=e=>{e.target.src!==m&&(e.target.src=m)};return(0,a.jsxs)("div",{className:(0,i.Z)(_.wrapper,v),children:[(0,a.jsxs)(r.W2,{children:[(0,a.jsx)("h2",{className:_.title,children:null==n?void 0:n.title}),(0,a.jsx)("div",{className:_.subtitle,children:null==n?void 0:n.description})]}),(0,a.jsx)("div",{className:_.scrollableWrapper,children:(0,a.jsx)(r.W2,{children:(0,a.jsx)("div",{className:_.chipsWrapper,children:b.length>1&&(0,a.jsx)(l.cL,{chips:b,value:j,variant:"secondary",size:g?"m":"l",onChipClick:e=>{var t;let n=(null==(t=b[Number(e)])?void 0:t.label)||"";(0,o.h)({eventCategory:u,eventActionType:o.D.tab,eventActionText:n}),f(e)}})})})}),(0,a.jsxs)(r.W2,{children:[(0,a.jsx)(l.iR,{className:_.slider,options:{slidesPerView:"auto",spaceBetween:0,autoplay:{delay:3500,disableOnInteraction:!0},loop:!0},pagination:!0,navigation:!0,navigationVariant:"secondary",navigationSize:"s",children:C.map(e=>(0,a.jsx)(l.wI,{className:_.sliderItem,children:(0,a.jsxs)("a",{className:_.article,href:e.url,onClick:k(e.title,e.url),children:[(0,a.jsx)("div",{className:_.imgWrapper,children:(0,a.jsx)("img",{src:e.img,alt:"изображение: ".concat(e.title),onError:N})}),(0,a.jsxs)("div",{className:_.articleBody,children:[(0,a.jsx)("div",{className:_.articleTitle,children:e.title}),(0,a.jsx)("div",{className:_.articleDate,children:h(e.dt)})]})]})},e.title))},j),(0,a.jsx)(p.C,{href:(null==n?void 0:n.url)||"",event:{event:"data-event",eventCategory:u,eventAction:"link_".concat((0,d.t)((null==n?void 0:n.urlText)||"Показать все статьи")),eventLabel:(null==n?void 0:n.url)||""},dataLayerPush:c.d,className:_.checkAllLink,children:(null==n?void 0:n.urlText)||"Показать все статьи"})]})]})}},17730:function(e,t,n){"use strict";n.d(t,{B:function(){return j}});var a=n(57437),s=n(35563),r=n(54365),l=n(80684),i=n(75461),o=n(6554),c=n(52074),d=n(2265);let p=(0,c.g)("support","sc"),u=Object.freeze({support:p,title:`${p}__title`,cardsContainer:`${p}__cards-container`}),_="cb-support",m=(0,c.g)("support-app-card","sc"),h=Object.freeze({supportAppCard:m,textWrapper:`${m}__text-wrapper`,imageContainer:`${m}__image-container`,title:`${m}__title`,description:`${m}__description`,button:`${m}__button`,imageWrapper:`${m}__image-wrapper`,image:`${m}__image`}),v=({title:e,linkUrl:t,s3Assets:n,description:s})=>{let r=(0,i.aF)("s");return(0,a.jsxs)("div",{className:h.supportAppCard,onClick:()=>{r&&((0,o.h)({eventCategory:_,eventActionType:o.D.banner,eventActionText:e,eventLabel:t}),window.open(t,"_blank","noreferrer"))},children:[(0,a.jsx)(i.zx,{className:h.button,iconLeft:(0,a.jsx)(l.IconFdsArrowUpRightSmallO,{size:24}),shape:"circle-icon",size:"xs"}),(0,a.jsxs)("div",{className:h.textWrapper,children:[(0,a.jsx)("div",{className:h.title,children:e}),!!s&&(0,a.jsx)("div",{className:h.description,children:s})]}),(0,a.jsx)("div",{className:h.imageContainer,children:(0,a.jsxs)("picture",{className:h.imageWrapper,children:[(0,a.jsx)("source",{media:"(max-width: 767px)",srcSet:`${n}/mp-assets/widgets/SupportBlock/mobile-app.png 1x, ${n}/mp-assets/widgets/SupportBlock/mobile-app@2x.png 2x`}),(0,a.jsx)("img",{className:h.image,loading:"lazy",src:`${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg`,srcSet:`${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg 1x, ${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app@2x.jpg 2x`})]})})]})},x=(0,c.g)("support-phone-card","sc"),g=Object.freeze({supportPhoneCard:x,contacts:`${x}__contacts`,contactsExtra:`${x}__contacts-extra`,phone:`${x}__phone`,phonesExtra:`${x}__phones-extra`,phoneExtra:`${x}__phone-extra`,chat:`${x}__chat`,text:`${x}__text`,image:`${x}__image`}),y=({phones:e,phonesExtra:t,description:n,s3Assets:s})=>{let r=(0,d.useCallback)(()=>{var e,t,n;null==(n=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)||n.call(t),(0,o.h)({eventCategory:_,eventActionType:o.D.button,eventActionText:"messenger",eventLabel:"chat"})},[]),l=e=>{let t=e.replace(/[\s-]/g,"");(0,o.h)({eventCategory:_,eventActionType:o.D.link,eventActionText:"phone",eventLabel:t})};return(0,a.jsxs)("div",{className:g.supportPhoneCard,children:[(0,a.jsxs)("div",{className:g.contacts,children:[e.map(e=>(0,a.jsx)("a",{className:g.phone,href:e.href,onClick:()=>l(e.label),children:e.label},e.label)),(0,a.jsx)("span",{className:g.chat,onClick:r,children:"Онлайн чат"})]}),(null==t?void 0:t.length)>0&&(0,a.jsxs)("div",{className:g.contactsExtra,children:[(0,a.jsx)("p",{className:g.text,children:"Дополнительные телефоны"}),(0,a.jsx)("div",{className:g.phonesExtra,children:t.map(e=>(0,a.jsx)("a",{className:g.phoneExtra,href:e.href,onClick:()=>l(e.label),children:e.label},e.label))})]}),(0,a.jsx)("p",{className:g.text,children:n}),(0,a.jsx)("img",{className:g.image,src:`${s}/mp-assets/widgets/SupportBlock/bannerSupportGirl.png`})]})},j=({className:e,phoneCard:t,appCard:n,s3Assets:l})=>(0,a.jsx)("section",{className:(0,r.Z)(u.support,e),children:(0,a.jsxs)(s.W2,{children:[(0,a.jsx)(s.X6,{as:"h2",type:"display",weight:"bold",className:u.title,children:"Поддержка"}),(0,a.jsxs)("div",{className:u.cardsContainer,children:[(0,a.jsx)(y,{s3Assets:l,...t}),(0,a.jsx)(v,{s3Assets:l,...n})]})]})});j.displayName="Support"}},function(e){e.O(0,[7681,3544,5501,207,6810,3317,7648,5878,4648,2971,2117,1744],function(){return e(e.s=20551)}),_N_E=e.O()}]);