(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1491],{45515:function(e,t,s){Promise.resolve().then(s.bind(s,32534)),Promise.resolve().then(s.bind(s,95175))},33145:function(e,t,s){"use strict";s.d(t,{default:function(){return n.a}});var r=s(48461),n=s.n(r)},48461:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var s in t)Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}(t,{default:function(){return i},getImageProps:function(){return a}});let r=s(47043),n=s(55346),l=s(65878),o=r._(s(5084));function a(e){let{props:t}=(0,n.getImgProps)(e,{defaultLoader:o.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,s]of Object.entries(t))void 0===s&&delete t[e];return{props:t}}let i=l.Image},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(54365),l=s(2265),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,l.useRef)(null),u=(0,l.useCallback)(()=>{t&&(d.current=setTimeout(()=>{t()},c))},[c,t]),p=(0,l.useCallback)(e=>{"Escape"===e.key&&u()},[u]);return(0,l.useEffect)(()=>(a&&window.addEventListener("keydown",p),()=>{d.current&&clearTimeout(d.current),window.removeEventListener("keydown",p)}),[a,p]),(0,r.jsx)("div",{className:(0,n.Z)(i().overlay,{[i().open]:a,[i().close]:!a}),onTouchStart:s,onClick:u})}},49689:function(e,t,s){"use strict";s.d(t,{j:function(){return h}});var r=s(57437),n=s(54365),l=s(2265),o=s(66153),a=s(27033),i=s(87752),c=s(53582),d=s.n(c);let u=e=>{let{footer:t,isSmallPopup:s=!1,footerClassName:l}=e;return(0,r.jsx)("div",{className:(0,n.Z)(d().footer,s&&d().footerWithoutShadow,l),children:"function"==typeof t?t():t})};var p=s(16565),m=s.n(p);let _=e=>{let{children:t,footer:s,isOpen:i,isSmallPopup:c,onClose:d,hasCloseButton:p=!0,full:_,touchDistance:h=100,withDisabledScroll:v=!0,contentClassName:f,className:g,title:w,closeButton:y,footerClassName:x}=e,[b,A]=(0,l.useState)(!1),[C,j]=(0,l.useState)(!1),[S,N]=(0,l.useState)(!0),[T,G]=(0,l.useState)("120%"),k=(0,l.useRef)(null),M=(0,l.useRef)(0),L=(0,l.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}},W=()=>{L.current&&(M.current>h&&d?null==d||d():G("0"),N(!0),L.current=!1),window.removeEventListener("touchmove",E),window.removeEventListener("touchend",W)};return(0,l.useEffect)(()=>{i&&setTimeout(()=>{A(!0),j(!0),G("0")},100),!i&&C&&(G("120%"),A(!1),j(!1))},[C,i]),(0,a.o)(i&&v),(0,r.jsxs)("div",{"data-portal":!0,className:(0,n.Z)(m().mobilePopup,C&&m().mobilePopupOpen,g),children:[(0,r.jsx)(o.L,{onClose:()=>{i&&(null==d||d())},onToucheMove:()=>{i&&(A(!1),window.addEventListener("touchmove",E),window.addEventListener("touchend",W))},isOpen:i,delay:0}),(0,r.jsxs)("div",{className:(0,n.Z)(m().content,_&&m().contentFull,S&&m().contentTransition,S&&b&&m().contentTransitionOpen),ref:k,style:{transform:"translateY(".concat(T,")")},children:[(0,r.jsx)("div",{className:m().contentLine}),(0,r.jsxs)("div",{className:(0,n.Z)(m().contentContainer,c&&m().smallContentContainer,{[m().min]:!w&&!p},f),children:[!!w&&(0,r.jsx)("div",{className:m().title,children:w}),p?(0,r.jsxs)("div",{className:m().closeContainer,children:[y?"function"==typeof y?y():y:null,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)(u,{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(80684),d=s(35563),u=s(75461),p=s(54365),m=s(27648),_=s(2265),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},b=()=>{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},A=null,C=e=>{var t,s,r;null!==A&&(window.cancelAnimationFrame(A),A=null);let n=b(),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!==A&&(window.cancelAnimationFrame(A),A=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,u,p,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!==(u=null!==(d=window.pageYOffset)&&void 0!==d?d:window.scrollY)&&void 0!==u?u: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!==(p=window.pageYOffset)&&void 0!==p?p:window.scrollY)&&void 0!==m?m:0;window.scrollTo({top:Math.max(0,s+t),behavior:"auto"}),i();return}A=window.requestAnimationFrame(c)};A=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,_.useState)(),a=(0,_.useMemo)(()=>w(x(n)),[n]),i=(null===(t=a.find(e=>e.char===l))||void 0===t?void 0:t.terms)||[],f=(0,_.useRef)(null),g=(0,_.useRef)(null),y=(0,u.aF)("l");return(0,_.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)(d.W2,{children:(0,r.jsxs)("div",{className:N().wrapper,children:[(0,r.jsx)("div",{ref:f,className:(0,p.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,p.Z)(N().termsColumns,{[N().one]:t,[N().two]:s}),children:e.terms.map(e=>(0,r.jsx)(m.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)(c.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)(m.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/cat-d.35ab7325.png",height:870,width:1005,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAY1BMVEVMaXF5aGpBLEEmITFMHTFtACL5HSErJDQsHjMnIDIeGSw2MEJUSlTmbGmmq6/OiYcSEiPuuq7/GRmSMkmzcXToioZwHDbXxMSCSmD0aWJgTlbPvbmbUWCIgoReI0Dx69j/VVWBSV5xAAAAGnRSTlMA+HhcGgf+MYf57az9lISNzOK97/6r/g3f/D8yia8AAAAJcEhZcwAAITgAACE4AUWWMWAAAAA9SURBVHicHcZHEoAgEADBAZEVE+aIyv9facGpG0QQDVDUjatSjGuvnHJQd5/06vnGDswcljNOsB/vZu3KDzL8AkAVkRiuAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:7},M={src:"/service-main/_next/static/media/cat-m.b602703c.png",height:585,width:576,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAclBMVEVMaXGciIfq+Oo1JTwiHS4eFydlV2BFPFIoHzEyJzogGicoIjWlNUyHID0eHi2/dHi7nqR+RFrs8uTd0s7ut6lfIkD9Wlr/Bwf3T0v/ERLwxrpYTleELUXbzcHqS0s9NkaujIabWWNjJj/cFB3/MTH0d3OCtrLvAAAAG3RSTlMA/hHz6vj6GDiEJ745PtHqLfrtRPv+/GyK/GjNfzX6AAAACXBIWXMAACE4AAAhOAFFljFgAAAARklEQVR4nBXGRRLAIBAEwIEgu3E3JP7/L6boUwOUA0wAWHGRWQCkD6NTrHLCpMjahX6QKJtThPFbUXl/xfld0Hb39Gxx/wFSGQN7wsNQvwAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},L={src:"/service-main/_next/static/media/SearchInputIcon.65dbb3a1.svg",height:20,width:20,blurWidth:0,blurHeight:0};let E=["А","Б","В","Г","Д","Е","Ё","Ж","З","И","Й","К","Л","М","Н","О","П","Р","С","Т","У","Ф","Х","Ц","Ч","Ш","Щ","Ъ","Ы","Ь","Э","Ю","Я","A - Z","0 - 9"].map(e=>({label:e,id:e})),W=["А - Ж","З - О","П - Х","Ц - Я","A - Z","0 - 9"].map(e=>({label:e,id:e}));var I=s(94100),F=s(32007),B=s.n(F);let O=e=>{let{isFixed:t=!1,symbols:s,onSetTerms:n}=e,l=(0,_.useRef)(null),[o,a]=(0,_.useState)(!1),[i,m]=(0,_.useState)(!0),h=(0,u.aF)("m"),v=(0,u.aF)("s");(0,_.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,p.Z)(B().termsWrapper,{[B().termsWrapperColumn]:o||!t}),children:[!o&&t&&(0,r.jsx)("div",{className:B().rolledUpSearchMobile,onClick:()=>a(!0),children:(0,r.jsx)(G.default,{src:L,alt:"search",unoptimized:!0})}),(!h||t)&&(0,r.jsx)(I.A,{className:(0,p.Z)(B().searchChipsBlock,B().tags,{[B().fixedTags]:t&&i}),options:v?W:E,value:s,onChange:n}),h&&!t&&(0,r.jsx)(I.A,{className:(0,p.Z)(B().tags,B().tagsM,{[B().fixedTags]:t&&i}),options:W,value:s,onChange:n}),t&&(0,r.jsx)("div",{"data-element":"dropdown",className:(0,p.Z)({[B().showMoreWrapper]:i,[B().hideChipsWrapper]:!i}),children:!o&&(0,r.jsx)(u.zx,{className:B().showMoreButton,variant:"purple",size:"xs",onClick:()=>{m(e=>!e)},iconLeft:(0,r.jsx)(c.IconArrowHead,{size:20}),label:i?"Еще":"Скрыть"})})]})});return(0,r.jsxs)(d.W2,{children:[!t&&(0,r.jsxs)("div",{className:(0,p.Z)(B().filter,B().notFixed),children:[(0,r.jsx)("div",{className:B().contentTitle,children:"Содержание"}),f]}),t&&(0,r.jsx)("div",{className:B().fixed,"data-glossary-fixed-filter":!0,children:(0,r.jsx)(d.W2,{className:B().filter,children:f})})]})};var P=s(99881),D=s.n(P);let R=e=>{let{terms:t,symbols:s,onSetTerms:n}=e,[l,o]=(0,_.useState)(!1),a=(0,_.useRef)(null),i=(0,_.useRef)(null);return(0,_.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:D().top,children:[(0,r.jsx)(d.W2,{children:(0,r.jsx)(u.Oo,{style:{padding:"16px 0"},items:[{href:"/",label:"Главная"},{label:"Финансовый глоссарий"}]})}),(0,r.jsx)(d.W2,{children:(0,r.jsxs)("div",{className:D().wrapper,children:[(0,r.jsx)(G.default,{className:(0,p.Z)("mobileOnly",D().imgM),src:M,alt:"cat",unoptimized:!0}),(0,r.jsxs)("div",{className:D().info,children:[(0,r.jsx)("h1",{className:D().title,children:"Финансовый глоссарий"}),(0,r.jsxs)("p",{className:D().subtitle,children:["У нас здесь просто о сложном.",(0,r.jsx)("br",{}),"Введите нужный финансовый термин, а мы расскажем как его понять"]})]}),(0,r.jsx)(G.default,{className:(0,p.Z)("desktopOnly",D().imgD),src:k,alt:"cat",unoptimized:!0})]})}),(0,r.jsx)("div",{ref:i,children:(0,r.jsx)(O,{isFixed:l,terms:t,symbols:s,onSetTerms:n})})]})})},U=e=>{let{terms:t}=e,[s,n]=(0,I.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 z=s(28945),H=s.n(z);let Z=e=>{let{terms:t,bestOffersData:s,supportBlockData:c,navigatorBlockData:d}=e,u=(0,o.S)();return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("main",{className:H().page,children:[(0,r.jsx)(U,{terms:t}),s&&(0,r.jsx)(n.MJ,{tabs:s,baseUrl:u.NEXT_PUBLIC_BASE_URL,s3Assets:"".concat(u.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:u.NEXT_PUBLIC_S3_ASSETS})]})})}},94100:function(e,t,s){"use strict";s.d(t,{A:function(){return u},W:function(){return d}});var r=s(57437),n=s(75461),l=s(54365),o=s(2265),a=s(85196),i=s.n(a);let c=()=>{let[e,t]=(0,o.useState)(!1);return(0,o.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()}]},u=e=>{let{options:t,value:s,onChange:a,...c}=e,[d,u]=(0,o.useState)();(0,o.useEffect)(()=>{u(t.find(e=>e.id===s))},[s,t]);let p=(0,o.useCallback)(e=>{e&&a(e)},[a]);return(0,r.jsx)(n.cL,{size:"l",chips:t,value:null==d?void 0:d.label,onChipClick:p,className:(0,l.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 h}});var r=s(57437),n=s(35563),l=s(75461),o=s(54365),a=s(2265),i=s(10992),c=s(31620),d=s(10855);let u=(0,s(52074).g)("journal","sc"),p=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",_=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])},h=e=>{var t;let{data:s,eventCategory:u="finkit-widgets-sc-journal",className:h}=e,v=(0,l._m)("xl"),[f,g]=(0,a.useState)(!0),[w,y]=(0,a.useState)(0),x=s.chips||[],b=(null==(t=null==x?void 0:x[Number(w)])?void 0:t.items)||[];if((0,a.useEffect)(()=>{g(!v)},[v]),0===x.length||0===b.length)return null;let A=(e,t)=>()=>{(0,i.h)({eventCategory:u,eventActionType:i.D.block,eventActionText:e||"",eventLabel:t})},C=e=>{e.target.src!==m&&(e.target.src=m)};return(0,r.jsxs)("div",{className:(0,o.Z)(p.wrapper,h),children:[(0,r.jsxs)(n.W2,{children:[(0,r.jsx)("h2",{className:p.title,children:null==s?void 0:s.title}),(0,r.jsx)("div",{className:p.subtitle,children:null==s?void 0:s.description})]}),(0,r.jsx)("div",{className:p.scrollableWrapper,children:(0,r.jsx)(n.W2,{children:(0,r.jsx)("div",{className:p.chipsWrapper,children:x.length>1&&(0,r.jsx)(l.cL,{chips:x,value:w,variant:"secondary",size:f?"m":"l",onChipClick:e=>{var t;let s=(null==(t=x[Number(e)])?void 0:t.label)||"";(0,i.h)({eventCategory:u,eventActionType:i.D.tab,eventActionText:s}),y(e)}})})})}),(0,r.jsxs)(n.W2,{children:[(0,r.jsx)(l.iR,{className:p.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)(l.wI,{className:p.sliderItem,children:(0,r.jsxs)("a",{className:p.article,href:e.url,onClick:A(e.title,e.url),children:[(0,r.jsx)("div",{className:p.imgWrapper,children:(0,r.jsx)("img",{src:e.img,alt:"изображение: ".concat(e.title),onError:C})}),(0,r.jsxs)("div",{className:p.articleBody,children:[(0,r.jsx)("div",{className:p.articleTitle,children:e.title}),(0,r.jsx)("div",{className:p.articleDate,children:_(e.dt)})]})]})},e.title))},w),(0,r.jsx)(d.C,{href:(null==s?void 0:s.url)||"",event:{event:"data-event",eventCategory:u,eventAction:"link_".concat((0,c.t)((null==s?void 0:s.urlText)||"Показать все статьи")),eventLabel:(null==s?void 0:s.url)||""},dataLayerPush:i.d,className:p.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(10992),c=s(52074),d=s(2265);let u=(0,c.g)("support","sc"),p=Object.freeze({support:u,title:`${u}__title`,cardsContainer:`${u}__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)(p.support,e),children:(0,r.jsxs)(n.W2,{children:[(0,r.jsx)(n.X6,{as:"h2",type:"display",weight:"bold",className:(0,l.Z)(p.title,"mb-6"),children:"Поддержка"}),(0,r.jsxs)("div",{className:p.cardsContainer,children:[(0,r.jsx)(w,{s3Assets:o,...t}),(0,r.jsx)(v,{s3Assets:o,...s})]})]})});y.displayName="Support"}},function(e){e.O(0,[5484,5826,3544,5501,207,7339,3017,7648,8668,4648,2971,2117,1744],function(){return e(e.s=45515)}),_N_E=e.O()}]);