(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1491],{69362:function(e,t,s){Promise.resolve().then(s.bind(s,82778)),Promise.resolve().then(s.bind(s,95175))},77493:function(e,t,s){"use strict";s.d(t,{z:function(){return r}});let r=300},66153:function(e,t,s){"use strict";s.d(t,{L:function(){return c}});var r=s(57437),n=s(2265),l=s(54365),o=s(77493),a=s(78582),i=s.n(a);let c=e=>{let{onClose:t,onToucheMove:s,isOpen:a,delay:c=o.z}=e,d=(0,n.useRef)(null),p=(0,n.useCallback)(()=>{t&&(d.current=setTimeout(()=>{t()},c))},[c,t]),u=(0,n.useCallback)(e=>{"Escape"===e.key&&p()},[p]);return(0,n.useEffect)(()=>(a&&window.addEventListener("keydown",u),()=>{d.current&&clearTimeout(d.current),window.removeEventListener("keydown",u)}),[a,u]),(0,r.jsx)("div",{className:(0,l.Z)(i().overlay,{[i().open]:a,[i().close]:!a}),onTouchStart:s,onClick:p})}},49689:function(e,t,s){"use strict";s.d(t,{j:function(){return h}});var r=s(57437),n=s(2265),l=s(54365),o=s(66153),a=s(27033),i=s(87752),c=s(53582),d=s.n(c);let p=e=>{let{footer:t,isSmallPopup:s=!1,footerClassName:n}=e;return(0,r.jsx)("div",{className:(0,l.Z)(d().footer,s&&d().footerWithoutShadow,n),children:"function"==typeof t?t():t})};var u=s(16565),m=s.n(u);let _=e=>{let{children:t,footer:s,isOpen:i,isSmallPopup:c,onClose:d,hasCloseButton:u=!0,full:_,touchDistance:h=100,withDisabledScroll:v=!0,contentClassName:f,className:g,title:w,closeButton:y,footerClassName:x}=e,[A,b]=(0,n.useState)(!1),[C,j]=(0,n.useState)(!1),[S,N]=(0,n.useState)(!0),[T,G]=(0,n.useState)("120%"),k=(0,n.useRef)(null),M=(0,n.useRef)(0),L=(0,n.useRef)(!1),E=e=>{var t,s,r;let n=null===(t=k.current)||void 0===t?void 0:t.offsetTop,l=null===(s=k.current)||void 0===s?void 0:s.offsetHeight;if(L.current=!0,N(!1),n&&l){let t=(null==e?void 0:null===(r=e.touches[0])||void 0===r?void 0:r.clientY)-n,s=0;t>=0&&t<=l+30&&(s=t),t>l+30&&(s=l+30),G("".concat(s,"px")),M.current=s}},F=()=>{L.current&&(M.current>h&&d?null==d||d():G("0"),N(!0),L.current=!1),window.removeEventListener("touchmove",E),window.removeEventListener("touchend",F)};(0,n.useEffect)(()=>{i&&setTimeout(()=>{b(!0),j(!0),G("0")},100),!i&&C&&(G("120%"),b(!1),j(!1))},[C,i]),(0,a.o)(i&&v);let W=null;return y&&(W="function"==typeof y?y():y),(0,r.jsxs)("div",{"data-portal":!0,className:(0,l.Z)(m().mobilePopup,C&&m().mobilePopupOpen,g),children:[(0,r.jsx)(o.L,{onClose:()=>{i&&(null==d||d())},onToucheMove:()=>{i&&(b(!1),window.addEventListener("touchmove",E),window.addEventListener("touchend",F))},isOpen:i,delay:0}),(0,r.jsxs)("div",{className:(0,l.Z)(m().content,_&&m().contentFull,S&&m().contentTransition,S&&A&&m().contentTransitionOpen),ref:k,style:{transform:"translateY(".concat(T,")")},children:[(0,r.jsx)("div",{className:m().contentLine}),(0,r.jsxs)("div",{className:(0,l.Z)(m().contentContainer,c&&m().smallContentContainer,{[m().min]:!w&&!u},f),children:[!!w&&(0,r.jsx)("div",{className:m().title,children:w}),u?(0,r.jsxs)("div",{className:m().closeContainer,children:[W,y?null:(0,r.jsx)("button",{onClick:d,className:m().closeButton,children:(0,r.jsx)("img",{src:"https://assets.finuslugi.ru/mp-assets/images/sc/close_gray.svg",alt:"close",loading:"lazy"})})]}):null,t]}),s&&(0,r.jsx)(p,{footerClassName:x,isSmallPopup:c,footer:s})]})]})},h=e=>{let{children:t,isSmallPopup:s=!1,isOpen:n=!1,...l}=e,{mounted:o}=(0,i.b)({opened:n});return o?(0,r.jsx)(_,{isSmallPopup:s,isOpen:n,...l,children:t}):null};h.displayName="UiMobilePopup"},13466:function(e,t,s){"use strict";s.d(t,{h:function(){return o}});var r=s(57437),n=s(2265),l=s(54887);let o=e=>{let{children:t,id:s="portal-root"}=e,[o,a]=(0,n.useState)(null);return(0,n.useEffect)(()=>{var e,t,r;let n=null===(e=document)||void 0===e?void 0:e.getElementById(s);if(n)a(n);else{let e=null===(t=document)||void 0===t?void 0:t.createElement("div");return null===(r=document)||void 0===r||r.body.appendChild(e),a(e),()=>{var t;null===(t=document)||void 0===t||t.body.removeChild(e)}}},[]),(0,r.jsx)(r.Fragment,{children:o&&(0,l.createPortal)(t,o)})}},27033:function(e,t,s){"use strict";s.d(t,{o:function(){return n}});var r=s(2265);let n=e=>{let t=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let s=t.current;if(e){let e=window.scrollY||window.pageYOffset;document.body.dataset.scrollY=String(e),document.body.style.overflow="hidden",s&&s.setAttribute("data-portal","")}else{if(document.querySelectorAll("[data-portal]").length>1||(document.body.style.overflow=""),document.body.dataset.scrollY){let e=parseInt(document.body.dataset.scrollY,10);window.scrollTo(0,e),delete document.body.dataset.scrollY}s&&s.removeAttribute("data-portal")}return()=>{if(document.body.style.overflow="",document.body.dataset.scrollY){let e=parseInt(document.body.dataset.scrollY,10);window.scrollTo(0,e),delete document.body.dataset.scrollY}}},[e]),t}},87752:function(e,t,s){"use strict";s.d(t,{b:function(){return l}});var r=s(2265),n=s(77493);let l=e=>{let{opened:t}=e,[s,l]=(0,r.useState)(!1),o=(0,r.useRef)(null),a=(0,r.useRef)(!1);return(0,r.useEffect)(()=>(t&&!a.current?(a.current=!0,l(!0)):!t&&a.current&&(o.current=setTimeout(()=>{a.current=!1,l(!1)},n.z)),()=>{o.current&&clearTimeout(o.current)}),[t]),{mounted:s}}},95175:function(e,t,s){"use strict";s.d(t,{Glossary:function(){return z}});var r=s(57437),n=s(20777),l=s(90422),o=s(46295),a=s(17730),i=s(89487),c=s(2265),d=s(27648),p=s(80684),u=s(35563),m=s(75461),_=s(54365),h=s(13466),v=s(49689);let f=(e,t)=>{if("0"===e&&"9"===t)return["0 - 9"];let s=[],r=e.charCodeAt(0);if(t){let e=t.charCodeAt(0);for(;r<=e;)s.push(String.fromCharCode(r)),r++}else s.push(String.fromCharCode(r));return s},g=e=>{let t={},[s,r]=e.split(" - ");return t[e]=f(s,r),t},w=(e,t)=>{if(!t)return e;let s=g(t)[t].map(e=>String(e).toLowerCase());return e.filter(e=>s.includes(e.char))},y=(e,t)=>e.replace("ё","е").replace("й","и")===t.replace("ё","е").replace("й","и"),x=e=>{if(!e||!e.length)return[];let t=[];return e.forEach(e=>{let s=t.findIndex(t=>y(t.char,e.name.charAt(0).toLowerCase())||!isNaN(parseInt(e.name.charAt(0)))&&"0 - 9"===t.char);s>=0?t[s].terms.push(e):t.push({char:isNaN(parseInt(e.name.charAt(0)))?e.name.charAt(0).toLowerCase():"0 - 9",terms:[e]})}),t.sort((e,t)=>e.char.localeCompare(t.char,void 0,{sensitivity:"base"})),t.sort((e,t)=>{let s=e=>/^[А-ЯЁа-яё]*$/.test(e.toUpperCase())?3:/^[A-Za-z]*$/.test(e.toUpperCase())?2:1;return s(t.char)-s(e.char)}),t.forEach(e=>{e.terms.sort((e,t)=>e.name.localeCompare(t.name))}),t},A=()=>{let e=0,t=getComputedStyle(document.documentElement),s=t.getPropertyValue("--new-header-height-desktop").trim(),r=t.getPropertyValue("--new-header-height-mobile").trim(),n=window.matchMedia("(max-width: 767px)").matches?r:s,l=parseFloat(n)||0;if(n.includes("px")&&(l=parseFloat(n.replace("px",""))||0),0===l){let e=document.querySelector("header, .cb-header");if(e){let t=e.getBoundingClientRect(),s=window.getComputedStyle(e);("fixed"===s.position||"sticky"===s.position)&&t.height>0?l=t.height:t.top>=0&&t.top<100&&t.height>0&&(l=t.height)}}e+=l;let o=document.querySelector("[data-glossary-fixed-filter]");if(o){let t=o.getBoundingClientRect(),s=window.getComputedStyle(o),r=t.height>0&&"none"!==s.display&&"hidden"!==s.visibility&&"0"!==s.opacity,n="fixed"===s.position&&t.top>=0&&t.top<300;r&&n&&(e+=t.height)}return e},b=null,C=e=>{var t,s,r;null!==b&&(window.cancelAnimationFrame(b),b=null);let n=A(),l=null!==(r=null===(s=window.performance)||void 0===s?void 0:null===(t=s.now)||void 0===t?void 0:t.call(s))&&void 0!==r?r:Date.now(),o=0,a=null,i=()=>{null!==b&&(window.cancelAnimationFrame(b),b=null),window.removeEventListener("wheel",i),window.removeEventListener("touchstart",i),window.removeEventListener("keydown",i)};window.addEventListener("wheel",i,{passive:!0}),window.addEventListener("touchstart",i,{passive:!0}),window.addEventListener("keydown",i);let c=()=>{var t,s,r,d,p,u,m;let _=null!==(r=null===(s=window.performance)||void 0===s?void 0:null===(t=s.now)||void 0===t?void 0:t.call(s))&&void 0!==r?r:Date.now(),h=null!==(p=null!==(d=window.pageYOffset)&&void 0!==d?d:window.scrollY)&&void 0!==p?p:0,v=e.getBoundingClientRect().top-(n+6);if(1.25>Math.abs(v)?o+=1:o=0,o>=6){window.scrollTo({top:Math.max(0,h+v),behavior:"auto"}),i();return}let f=Math.sign(v)*Math.min(Math.abs(.18*v),Math.min(110,Math.max(18,.35*Math.abs(v))));if(null!==a&&0!==Math.sign(a)&&0!==Math.sign(v)&&Math.sign(a)!==Math.sign(v)&&(f*=.55),a=v,window.scrollTo({top:Math.max(0,h+f),behavior:"auto"}),_-l>1100){let t=e.getBoundingClientRect().top-(n+6),s=null!==(m=null!==(u=window.pageYOffset)&&void 0!==u?u:window.scrollY)&&void 0!==m?m:0;window.scrollTo({top:Math.max(0,s+t),behavior:"auto"}),i();return}b=window.requestAnimationFrame(c)};b=window.requestAnimationFrame(c)},j=(e,t,s,r)=>{if(s&&r.current){let s="A - Z"===e?"a":e,n=t.findIndex(e=>e.char===(null==s?void 0:s.toLowerCase()));if(-1!==n){let e=r.current.childNodes[n];e instanceof HTMLElement&&C(e)}}};var S=s(67728),N=s.n(S);let T=e=>{var t;let{symbols:s,terms:n}=e,[l,o]=(0,c.useState)(),a=(0,c.useMemo)(()=>w(x(n)),[n]),i=(null===(t=a.find(e=>e.char===l))||void 0===t?void 0:t.terms)||[],f=(0,c.useRef)(null),g=(0,c.useRef)(null),y=(0,m.aF)("l");return(0,c.useEffect)(()=>{j(s,a,!y,f),j(s,a,y,g)},[s,a,y]),(0,r.jsx)("section",{className:N().terms,children:(0,r.jsx)(u.W2,{children:(0,r.jsxs)("div",{className:N().wrapper,children:[(0,r.jsx)("div",{ref:f,className:(0,_.Z)("desktopOnly",N().desktopOnly),children:a.map(e=>{let t=e.terms.length<=5,s=!t&&e.terms.length<=14;return(0,r.jsxs)("div",{className:N().letterBlock,children:[(0,r.jsx)("div",{className:N().letter,children:e.char}),(0,r.jsx)("div",{className:(0,_.Z)(N().termsColumns,{[N().one]:t,[N().two]:s}),children:e.terms.map(e=>(0,r.jsx)(d.default,{suppressHydrationWarning:!0,className:N().term,href:"/glossariy/".concat(e.url),children:e.name},e.id))})]},e.char)})}),(0,r.jsx)("div",{className:N().termsMobileOnly,children:(0,r.jsxs)("div",{ref:g,className:N().lettersList,children:[a.map(e=>(0,r.jsxs)("div",{className:N().letterItem,onClick:()=>o(e.char),"data-char":e.char,children:[(0,r.jsx)("div",{className:N().text,children:e.char}),(0,r.jsx)(p.IconArrowHead,{className:N().arrowIcon})]},e.char)),(0,r.jsx)(h.h,{children:(0,r.jsxs)(v.j,{className:N().popup,contentClassName:N().popupContent,isOpen:!!l&&!!i.length,onClose:()=>o(null),hasCloseButton:!0,children:[(0,r.jsx)("div",{className:N().popupTitle,children:l}),(0,r.jsx)("div",{className:N().termsList,children:i.map(e=>(0,r.jsx)(d.default,{className:N().termItem,href:"/glossariy/".concat(e.url),children:(0,r.jsx)("label",{children:e.name})},e.id))})]})})]})})]})})})};var G=s(33145),k={src:"/service-main/_next/static/media/SearchInputIcon.65dbb3a1.svg",height:20,width:20,blurWidth:0,blurHeight:0};let M=["А","Б","В","Г","Д","Е","Ё","Ж","З","И","Й","К","Л","М","Н","О","П","Р","С","Т","У","Ф","Х","Ц","Ч","Ш","Щ","Ъ","Ы","Ь","Э","Ю","Я","A - Z","0 - 9"].map(e=>({label:e,id:e})),L=["А - Ж","З - О","П - Х","Ц - Я","A - Z","0 - 9"].map(e=>({label:e,id:e}));var E=s(94100),F=s(32007),W=s.n(F);let I=e=>{let{isFixed:t=!1,symbols:s,onSetTerms:n}=e,l=(0,c.useRef)(null),[o,a]=(0,c.useState)(!1),[i,d]=(0,c.useState)(!0),h=(0,m.aF)("m"),v=(0,m.aF)("s");(0,c.useEffect)(()=>{function e(e){l.current&&e.target instanceof Node&&!l.current.contains(e.target)&&a(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[l]);let f=(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:(0,_.Z)(W().termsWrapper,{[W().termsWrapperColumn]:o||!t}),children:[!o&&t&&(0,r.jsx)("div",{className:W().rolledUpSearchMobile,onClick:()=>a(!0),children:(0,r.jsx)(G.default,{src:k,alt:"search",unoptimized:!0})}),(!h||t)&&(0,r.jsx)(E.A,{className:(0,_.Z)(W().searchChipsBlock,W().tags,{[W().fixedTags]:t&&i}),options:v?L:M,value:s,onChange:n}),h&&!t&&(0,r.jsx)(E.A,{className:(0,_.Z)(W().tags,W().tagsM,{[W().fixedTags]:t&&i}),options:L,value:s,onChange:n}),t&&(0,r.jsx)("div",{"data-element":"dropdown",className:(0,_.Z)({[W().showMoreWrapper]:i,[W().hideChipsWrapper]:!i}),children:!o&&(0,r.jsx)(m.zx,{className:W().showMoreButton,variant:"purple",size:"xs",onClick:()=>{d(e=>!e)},iconLeft:(0,r.jsx)(p.IconArrowHead,{size:20}),label:i?"Еще":"Скрыть"})})]})});return(0,r.jsxs)(u.W2,{children:[!t&&(0,r.jsxs)("div",{className:(0,_.Z)(W().filter,W().notFixed),children:[(0,r.jsx)("div",{className:W().contentTitle,children:"Содержание"}),f]}),t&&(0,r.jsx)("div",{className:W().fixed,"data-glossary-fixed-filter":!0,children:(0,r.jsx)(u.W2,{className:W().filter,children:f})})]})};var B=s(99881),P=s.n(B),O={src:"/service-main/_next/static/media/cat-d.35ab7325.png",height:870,width:1005,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAY1BMVEVMaXF5aGpBLEEmITFMHTFtACL5HSErJDQsHjMnIDIeGSw2MEJUSlSmq6/mbGnOiYcSEiP/GRnuuq7XxMSzcXToioaSMklwHDaCSmD0aWJgTlbPvbleI0D/VVXx69ibUWCIgoQ7Zei+AAAAGnRSTlMA+HhcGgf+MYf57az9hJSNzL3iDf6r7/7f/G3Y5wkAAAAJcEhZcwAAITgAACE4AUWWMWAAAAA9SURBVHicHcZHEoAgEADBAZEVE+aIyv9facGpG0QQDVDUjatSjGuvnHJQd5f0Kr5TD2b7lvMZYT7Cbu3KDzM9AkCNcILUAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:7},D={src:"/service-main/_next/static/media/cat-m.b602703c.png",height:585,width:576,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAclBMVEVMaXGciIfq+Oo1JTwiHS4eFydlV2BFPFIoHzEyJzogGicoIjWlNUyHID2/dHgeHi27nqR+RFrs8uTd0s7ut6lfIkD9Wlr3T0v/ERL/BwfwxrpYTleELUXbzcHqS0s9NkaujIZjJj+bWWP/MTH0d3PcFB3EFw6HAAAAG3RSTlMA/hHz6vj6GDiEJ745PurRLfrtRPv+/Ir8bGiaXXVgAAAACXBIWXMAACE4AAAhOAFFljFgAAAARklEQVR4nBXGRRLAIBAEwIEgu3E3JP7/L6boUwOUA0wAWHGRWQCkD6NTrHLCpMjGhX6QKOtThPFdUHl/x/nZ0HbX9K1x/wFSEAN7mOIyAwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8};let R=e=>{let{terms:t,symbols:s,onSetTerms:n}=e,[l,o]=(0,c.useState)(!1),a=(0,c.useRef)(null),i=(0,c.useRef)(null);return(0,c.useEffect)(()=>{let e=()=>{var e;o(!!a.current&&window.scrollY>(null===(e=a.current)||void 0===e?void 0:e.clientHeight))};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("section",{ref:a,className:P().top,children:[(0,r.jsx)(u.W2,{children:(0,r.jsx)(m.Oo,{style:{padding:"16px 0"},items:[{href:"/",label:"Главная"},{label:"Финансовый глоссарий"}]})}),(0,r.jsx)(u.W2,{children:(0,r.jsxs)("div",{className:P().wrapper,children:[(0,r.jsx)(G.default,{className:(0,_.Z)("mobileOnly",P().imgM),src:D,alt:"cat",unoptimized:!0}),(0,r.jsxs)("div",{className:P().info,children:[(0,r.jsx)("h1",{className:P().title,children:"Финансовый глоссарий"}),(0,r.jsxs)("p",{className:P().subtitle,children:["У нас здесь просто о сложном.",(0,r.jsx)("br",{}),"Введите нужный финансовый термин, а мы расскажем как его понять"]})]}),(0,r.jsx)(G.default,{className:(0,_.Z)("desktopOnly",P().imgD),src:O,alt:"cat",unoptimized:!0})]})}),(0,r.jsx)("div",{ref:i,children:(0,r.jsx)(I,{isFixed:l,terms:t,symbols:s,onSetTerms:n})})]})})},U=e=>{let{terms:t}=e,[s,n]=(0,E.W)("symbols");return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(R,{terms:t,symbols:s,onSetTerms:n}),(0,r.jsx)(T,{terms:t,symbols:s})]})};var H=s(28945),Z=s.n(H);let z=e=>{let{terms:t,bestOffersData:s,supportBlockData:c,navigatorBlockData:d}=e,p=(0,o.S)();return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("main",{className:Z().page,children:[(0,r.jsx)(U,{terms:t}),s&&(0,r.jsx)(n.MJ,{tabs:s,baseUrl:p.NEXT_PUBLIC_BASE_URL,s3Assets:"".concat(p.NEXT_PUBLIC_S3_ASSETS,"/mp-assets"),dataLayerPush:i.l}),d&&(0,r.jsx)(l.t,{data:d,eventCategory:"glossariy_journal"}),(0,r.jsx)("div",{style:{marginTop:"-32px"}}),c&&(0,r.jsx)(a.B,{...c,s3Assets:p.NEXT_PUBLIC_S3_ASSETS})]})})}},94100:function(e,t,s){"use strict";s.d(t,{A:function(){return p},W:function(){return d}});var r=s(57437),n=s(2265),l=s(75461),o=s(54365),a=s(85196),i=s.n(a);let c=()=>{let[e,t]=(0,n.useState)(!1);return(0,n.useCallback)(()=>t(e=>!e),[e,t])},d=e=>{let t=c();return[new URLSearchParams(window.location.search).get(e)||null,s=>{let r=new URLSearchParams(window.location.search);s?r.set(e,s):r.delete(e),window.history.pushState({},"",window.location.pathname+"?"+r.toString()),t()}]},p=e=>{let{options:t,value:s,onChange:a,...c}=e,[d,p]=(0,n.useState)();(0,n.useEffect)(()=>{p(t.find(e=>e.id===s))},[s,t]);let u=(0,n.useCallback)(e=>{e&&a(e)},[a]);return(0,r.jsx)(l.cL,{size:"l",chips:t,value:null==d?void 0:d.label,onChipClick:u,className:(0,o.Z)(c.className,i().chips)})}},89487:function(e,t,s){"use strict";s.d(t,{l:function(){return l},y:function(){return o}});var r=s(30631);let n=[{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"}],l=(e,t)=>{let s=sessionStorage.getItem("pushedEvents"),n=s?JSON.parse(s):[];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 l=n.find(s=>s.eventCategory===e.eventCategory&&s.eventAction===e.eventAction&&s.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===s.url));if(!t||!l){if(t){let t={...e};t.url=window.location.pathname,n.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(n))}(0,r.AB)(e)}},o=e=>{n.some(t=>{if(e.includes(t.path)){let s=e.match(/str_(\d+)/),r=(null==s?void 0:s[1])?Number(s[1]):1;return setTimeout(()=>{l({event:"data-event",eventCategory:t.category,eventAction:"stay_15_seconds",eventLabel:e,eventValue:r})},15e3),!0}return!1})}},78582:function(e){e.exports={overlay:"ClickOutside_overlay__YQi9L",open:"ClickOutside_open__bmtsz",fade:"ClickOutside_fade__io1xj",close:"ClickOutside_close__AC078","fade-out":"ClickOutside_fade-out__wJ_pJ"}},16565:function(e){e.exports={mobilePopup:"MobilePopup_mobilePopup__NCFCK",content:"MobilePopup_content__B5iF0",contentFull:"MobilePopup_contentFull__DBrvo",contentLine:"MobilePopup_contentLine__eykLy",contentContainer:"MobilePopup_contentContainer___ZbOq",min:"MobilePopup_min__D0Hml",contentTransition:"MobilePopup_contentTransition__7_kGL",contentTransitionOpen:"MobilePopup_contentTransitionOpen__GDGpr",title:"MobilePopup_title__IEYZk",closeContainer:"MobilePopup_closeContainer__HSRUL",closeButton:"MobilePopup_closeButton__Bse_M",smallContentContainer:"MobilePopup_smallContentContainer__8jHeS"}},53582:function(e){e.exports={footer:"MobileModalFooter_footer__5dRCK",footerWithoutShadow:"MobileModalFooter_footerWithoutShadow__zHKVO"}},28945:function(e){e.exports={page:"Glossary_page__WxNkt"}},85196:function(e){e.exports={title:"GlossaryContent_title__kiX59",letter:"GlossaryContent_letter__Bj5A8",text:"GlossaryContent_text__kmQLt",popupTitle:"GlossaryContent_popupTitle__Cbw7E",terms:"GlossaryContent_terms__HT5zD",wrapper:"GlossaryContent_wrapper__p9SmS",filter:"GlossaryContent_filter__0StqI",tags:"GlossaryContent_tags__6ZXld",letterBlock:"GlossaryContent_letterBlock__biGAy",termsColumns:"GlossaryContent_termsColumns__Bopxr",two:"GlossaryContent_two__qDELl",one:"GlossaryContent_one__hoV9T",term:"GlossaryContent_term__kM9pd",lettersList:"GlossaryContent_lettersList__f_Xig",letterItem:"GlossaryContent_letterItem__U7YVq",arrowIcon:"GlossaryContent_arrowIcon__fmxkV",popup:"GlossaryContent_popup__GKz6P",popupContent:"GlossaryContent_popupContent__L2WWl",termsList:"GlossaryContent_termsList__UMZAU",termItem:"GlossaryContent_termItem__mPF94",chips:"GlossaryContent_chips__vS3eL"}},32007:function(e){e.exports={contentTitle:"GlossaryFilter_contentTitle__KgUSu",fixed:"GlossaryFilter_fixed__1lDhy",filter:"GlossaryFilter_filter__Ogc6S",fixedTags:"GlossaryFilter_fixedTags__D_pt4",tags:"GlossaryFilter_tags__sB1tx",termsWrapper:"GlossaryFilter_termsWrapper__Xkrcq",notFixed:"GlossaryFilter_notFixed__oOZGe",tagsD:"GlossaryFilter_tagsD__I0IJB",tagsM:"GlossaryFilter_tagsM__ifYRq",rolledUpSearchMobile:"GlossaryFilter_rolledUpSearchMobile__vAUh6",expandedMobileSearchWrapper:"GlossaryFilter_expandedMobileSearchWrapper__BbOMw",activeSearchWrapper:"GlossaryFilter_activeSearchWrapper__LND4X",termsWrapperColumn:"GlossaryFilter_termsWrapperColumn__IcmFI",mobileSearchWrapper:"GlossaryFilter_mobileSearchWrapper__bE7i6",searchWrapperD:"GlossaryFilter_searchWrapperD__KfPpP",hideChipsWrapper:"GlossaryFilter_hideChipsWrapper__0YTtK",showMoreWrapper:"GlossaryFilter_showMoreWrapper___f5IN",showMoreButton:"GlossaryFilter_showMoreButton__qOtTl",showMoreArrow:"GlossaryFilter_showMoreArrow__4Mnee",searchChipsBlock:"GlossaryFilter_searchChipsBlock__1wvEz"}},67728:function(e){e.exports={title:"GlossaryTermsSection_title__oan4e",letter:"GlossaryTermsSection_letter__4K8y6",text:"GlossaryTermsSection_text__nlubx",popupTitle:"GlossaryTermsSection_popupTitle__ueIDD",terms:"GlossaryTermsSection_terms__5Pypb",wrapper:"GlossaryTermsSection_wrapper__nufbu",desktopOnly:"GlossaryTermsSection_desktopOnly__AbPql",termsMobileOnly:"GlossaryTermsSection_termsMobileOnly__WDbKH",filter:"GlossaryTermsSection_filter__p5T9J",tags:"GlossaryTermsSection_tags__qVH44",letterBlock:"GlossaryTermsSection_letterBlock__Ie8PG",termsColumns:"GlossaryTermsSection_termsColumns__BrCBX",two:"GlossaryTermsSection_two__jrX5d",one:"GlossaryTermsSection_one__nYr3K",term:"GlossaryTermsSection_term__M_fBy",lettersList:"GlossaryTermsSection_lettersList__lUcjM",letterItem:"GlossaryTermsSection_letterItem__NwzYs",arrowIcon:"GlossaryTermsSection_arrowIcon__dZelm",popup:"GlossaryTermsSection_popup__dJip9",popupContent:"GlossaryTermsSection_popupContent__ihlXX",termsList:"GlossaryTermsSection_termsList__7yRk0",termItem:"GlossaryTermsSection_termItem__cN1rG"}},99881:function(e){e.exports={title:"GlossaryTopSection_title__EF7Yl",top:"GlossaryTopSection_top__V0whH",wrapper:"GlossaryTopSection_wrapper__WNNqa",imgM:"GlossaryTopSection_imgM__nwrkx",info:"GlossaryTopSection_info__eA3ZJ",subtitle:"GlossaryTopSection_subtitle__Frg6X",imgD:"GlossaryTopSection_imgD__juetA"}},90422:function(e,t,s){"use strict";s.d(t,{t:function(){return v}});var r=s(57437),n=s(2265),l=s(35563),o=s(75461),a=s(54365),i=s(6554),c=s(56891),d=s(31620),p=s(10855);let u=(0,s(52074).g)("journal","sc"),m=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")}),_="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 s=t.getDate(),r=t.getMonth();return"".concat(s," ").concat(["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"][r])},v=e=>{var t;let{data:s,eventCategory:u="finkit-widgets-sc-journal",className:v}=e,f=(0,o._m)("xl"),[g,w]=(0,n.useState)(!0),[y,x]=(0,n.useState)(0),A=s.chips||[],b=(null==(t=null==A?void 0:A[Number(y)])?void 0:t.items)||[];if((0,n.useEffect)(()=>{w(!f)},[f]),0===A.length||0===b.length)return null;let C=(e,t)=>()=>{(0,i.h)({eventCategory:u,eventActionType:i.D.block,eventActionText:e||"",eventLabel:t})},j=e=>{e.target.src!==_&&(e.target.src=_)};return(0,r.jsxs)("div",{className:(0,a.Z)(m.wrapper,v),children:[(0,r.jsxs)(l.W2,{children:[(0,r.jsx)("h2",{className:m.title,children:null==s?void 0:s.title}),(0,r.jsx)("div",{className:m.subtitle,children:null==s?void 0:s.description})]}),(0,r.jsx)("div",{className:m.scrollableWrapper,children:(0,r.jsx)(l.W2,{children:(0,r.jsx)("div",{className:m.chipsWrapper,children:A.length>1&&(0,r.jsx)(o.cL,{chips:A,value:y,variant:"secondary",size:g?"m":"l",onChipClick:e=>{var t;let s=(null==(t=A[Number(e)])?void 0:t.label)||"";(0,i.h)({eventCategory:u,eventActionType:i.D.tab,eventActionText:s}),x(e)}})})})}),(0,r.jsxs)(l.W2,{children:[(0,r.jsx)(o.iR,{className:m.slider,options:{slidesPerView:"auto",spaceBetween:0,autoplay:{delay:3500,disableOnInteraction:!0},loop:!0},pagination:!0,navigation:!0,navigationVariant:"secondary",navigationSize:"s",children:b.map(e=>(0,r.jsx)(o.wI,{className:m.sliderItem,children:(0,r.jsxs)("a",{className:m.article,href:e.url,onClick:C(e.title,e.url),children:[(0,r.jsx)("div",{className:m.imgWrapper,children:(0,r.jsx)("img",{src:e.img,alt:"изображение: ".concat(e.title),onError:j})}),(0,r.jsxs)("div",{className:m.articleBody,children:[(0,r.jsx)("div",{className:m.articleTitle,children:e.title}),(0,r.jsx)("div",{className:m.articleDate,children:h(e.dt)})]})]})},e.title))},y),(0,r.jsx)(p.C,{href:(null==s?void 0:s.url)||"",event:{event:"data-event",eventCategory:u,eventAction:"link_".concat((0,d.t)((null==s?void 0:s.urlText)||"Показать все статьи")),eventLabel:(null==s?void 0:s.url)||""},dataLayerPush:c.d,className:m.checkAllLink,children:(null==s?void 0:s.urlText)||"Показать все статьи"})]})]})}},17730:function(e,t,s){"use strict";s.d(t,{B:function(){return y}});var r=s(57437),n=s(35563),l=s(54365),o=s(80684),a=s(75461),i=s(6554),c=s(52074),d=s(2265);let p=(0,c.g)("support","sc"),u=Object.freeze({support:p,title:`${p}__title`,cardsContainer:`${p}__cards-container`}),m="cb-support",_=(0,c.g)("support-app-card","sc"),h=Object.freeze({supportAppCard:_,textWrapper:`${_}__text-wrapper`,imageContainer:`${_}__image-container`,title:`${_}__title`,description:`${_}__description`,icon:`${_}__icon`,imageWrapper:`${_}__image-wrapper`,image:`${_}__image`}),v=({title:e,linkUrl:t,s3Assets:s,description:n})=>{let l=(0,a.aF)("s");return(0,r.jsxs)("div",{className:h.supportAppCard,onClick:()=>{l&&((0,i.h)({eventCategory:m,eventActionType:i.D.banner,eventActionText:e,eventLabel:t}),window.open(t,"_blank","noreferrer"))},children:[(0,r.jsx)(o.IconFdsArrowUpRightSmallO,{className:h.icon,size:32}),(0,r.jsxs)("div",{className:h.textWrapper,children:[(0,r.jsx)("div",{className:h.title,children:e}),!!n&&(0,r.jsx)("div",{className:h.description,children:n})]}),(0,r.jsx)("div",{className:h.imageContainer,children:(0,r.jsxs)("picture",{className:h.imageWrapper,children:[(0,r.jsx)("source",{media:"(max-width: 767px)",srcSet:`${s}/mp-assets/widgets/SupportBlock/mobile-app.png 1x, ${s}/mp-assets/widgets/SupportBlock/mobile-app@2x.png 2x`}),(0,r.jsx)("img",{className:h.image,loading:"lazy",src:`${s}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg`,srcSet:`${s}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg 1x, ${s}/mp-assets/widgets/SupportBlock/qr-code-mobile-app@2x.jpg 2x`})]})})]})},f=(0,c.g)("support-phone-card","sc"),g=Object.freeze({supportPhoneCard:f,contacts:`${f}__contacts`,phone:`${f}__phone`,chat:`${f}__chat`,info:`${f}__info`,image:`${f}__image`}),w=({phones:e,description:t,s3Assets:s})=>{let n=(0,d.useCallback)(()=>{var e,t,s;null==(s=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)||s.call(t),(0,i.h)({eventCategory:m,eventActionType:i.D.button,eventActionText:"messenger",eventLabel:"chat"})},[]),l=e=>{let t=e.replace(/[\s-]/g,"");(0,i.h)({eventCategory:m,eventActionType:i.D.link,eventActionText:"phone",eventLabel:t})};return(0,r.jsxs)("div",{className:g.supportPhoneCard,children:[(0,r.jsxs)("div",{className:g.contacts,children:[e.map(e=>(0,r.jsx)("a",{className:g.phone,href:e.href,onClick:()=>l(e.label),children:e.label},e.label)),(0,r.jsx)("span",{className:g.chat,onClick:n,children:"Онлайн чат"})]}),(0,r.jsx)("div",{className:g.info,children:t}),(0,r.jsx)("img",{className:g.image,src:`${s}/mp-assets/widgets/SupportBlock/bannerSupportGirl.png`})]})},y=({className:e,phoneCard:t,appCard:s,s3Assets:o})=>(0,r.jsx)("section",{className:(0,l.Z)(u.support,e),children:(0,r.jsxs)(n.W2,{children:[(0,r.jsx)(n.X6,{as:"h2",type:"display",weight:"bold",className:(0,l.Z)(u.title,"mb-6"),children:"Поддержка"}),(0,r.jsxs)("div",{className:u.cardsContainer,children:[(0,r.jsx)(w,{s3Assets:o,...t}),(0,r.jsx)(v,{s3Assets:o,...s})]})]})});y.displayName="Support"}},function(e){e.O(0,[9510,5826,3544,5501,207,7339,8281,5726,8269,4648,2971,2117,1744],function(){return e(e.s=69362)}),_N_E=e.O()}]);