(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[87],{84966:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/debetovye_karty/detail",function(){return a(79230)}])},86092:function(e,t,a){"use strict";a.d(t,{r:function(){return i}});var n=a(26270);let l=()=>(0,n.t)("/money_data/CpaPartners.json"),i=async()=>{var e;let t=await l();return(null===(e=t.data)||void 0===e?void 0:e.cpa_partners)?t.data.cpa_partners.reduce((e,t)=>({...e,[t.aggregator_id]:!0}),{}):{}}},36081:function(e,t,a){"use strict";a.d(t,{G:function(){return l}});var n=a(87354);async function l(){let e=await n.c.getPageData("PageHeaderWidget","homepage"),t=await n.c.getPageData("PageFooter","homepage");return{headerData:(null==e?void 0:e.value)||null,footer:(null==t?void 0:t.value)||null}}},87354:function(e,t,a){"use strict";a.d(t,{c:function(){return l}});var n=a(26270);let l={async getPageData(e,t){let a=new URLSearchParams({scLayoutName:e,scPageUrl:t}).toString();return(await (0,n.t)("/api/v1/data/page-data?".concat(a),null,{isMpScApi:!0})).data||null}}},33016:function(e,t,a){"use strict";a.d(t,{Z:function(){return b}});var n=a(85893),l=a(90210),i=a(35862),o=a(89993),r=a(7612),s=a(21340),c=a(67294),u=a(11163),d=a(61593);let _=function(e){var t,a,n,l;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"?",o=null!==(l=null===(n=e.split(i))||void 0===n?void 0:null===(a=n[1])||void 0===a?void 0:null===(t=a.split("?"===i?"#":"?")[0])||void 0===t?void 0:t.split("&"))&&void 0!==l?l:[],r={};return o.forEach(e=>{let[t,a]=e.split("="),n=null!=a?a:"";if(t in r){let e=r[t];if(Array.isArray(e)){r[t]=[...e,n];return}if(!Array.isArray(e)&&e){r[t]=[e,n];return}}r[t]=n}),r},m=e=>_(e);var M=a(59081);let p=(e,t)=>{let a=m(e);if(a&&a.aggregator_id){let e={...a,create_date:new Date().toISOString()},l={payload:[]};try{var n;l=JSON.parse((null===(n=(0,d.$)())||void 0===n?void 0:n.cpa_click)||"{}")}catch(e){return}l.payload||(l.payload=[]),l.payload.push(e);let i={event:"data-event",eventCategory:String(a.aggregator_id),eventAction:"CPA_click",eventLabel:window.location.pathname,eventValue:String(a.utm_term||a.click_id),utm_source:String(a.utm_source),utm_campaign:String(a.utm_campaign),utm_medium:String(a.utm_medium)};t[String(a.aggregator_id)]&&((0,d.L)("cpa_click",l,30),(0,M.l)(i))}};var v=a(9008),g=a.n(v),h=a(4298),x=a.n(h);let T=(0,l.OB)("NEXT_PUBLIC_ASSETS_BASE_URL");function N(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(g(),{children:[(0,n.jsx)("link",{rel:"preload",as:"style",crossOrigin:"use-credentials",href:"".concat(T,"/mp-assets/widgets/support/index-BuAapbJQ.css")}),(0,n.jsx)("link",{rel:"stylesheet",crossOrigin:"use-credentials",href:"".concat(T,"/mp-assets/widgets/support/index-BuAapbJQ.css")})]}),(0,n.jsx)(x(),{crossOrigin:"use-credentials",type:"module",src:"".concat(T,"/mp-assets/widgets/support/index-D2xclPDV.js")})]})}var j=a(47400),w=a(83454);function b(e){let{children:t,aggregatorIds:a,headerDto:d,footerDto:_}=e,m=w.env.NEXT_PUBLIC_BASE_URL||(0,l.OB)("NEXT_PUBLIC_BASE_URL"),v=w.env.NEXT_PUBLIC_ASSETS_BASE_URL||(0,l.OB)("NEXT_PUBLIC_ASSETS_BASE_URL"),g=v?"".concat(v,"/mp-assets"):void 0;return!function(e){let{asPath:t,basePath:a}=(0,u.useRouter)();(0,c.useEffect)(()=>{let n=a+t;(0,M.y)(n),p(n,e)},[e,t,a])}(a),(0,n.jsxs)(n.Fragment,{children:[d&&(0,n.jsx)(r.H,{data:d,showcaseUrl:m,minioUrl:g,lkUrl:s.LK}),t,_&&(0,n.jsx)(o.F,{data:_,showcaseUrl:m,minioUrl:g}),(0,n.jsxs)(j.h,{children:[(0,n.jsx)(i.z,{}),(0,n.jsx)(N,{})]})]})}},541:function(e,t,a){"use strict";a.d(t,{t:function(){return r}});var n=a(85893),l=a(86010),i=a(95255),o=a.n(i);let r=e=>{let{children:t,className:a}=e;return(0,n.jsx)("div",{className:(0,l.Z)(o().mainContainer,a),children:t})};r.displayName="MainContainer"},47400:function(e,t,a){"use strict";a.d(t,{h:function(){return i}});var n=a(67294),l=a(73935);let i=e=>{let{children:t}=e,[a,i]=(0,n.useState)(null);return(0,n.useEffect)(()=>{var e;let t=null===(e=document)||void 0===e?void 0:e.getElementById("portal-root");t&&i(t)},[]),a&&(0,l.createPortal)(t,a)}},21340:function(e,t,a){"use strict";a.d(t,{LK:function(){return l},_:function(){return n}});let n=a(83454).env.NEXT_PUBLIC_BASE_URL||"https://finuslugi.ru",l="https://lk.finuslugi.ru/registration/"},61593:function(e,t,a){"use strict";a.d(t,{$:function(){return u},L:function(){return d}});var n=a(90210);let l=e=>/^https:\/\//gi.test(e),i=e=>["",...e.replace(/^http(s)?:\/\//gi,"").replace(/\/$/,"").split(".").slice(-2)].join("."),o=()=>window.location.host.indexOf("localhost")>=0,r=e=>('"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)),s=e=>encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent),c=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[(]/g,"%28").replace(/[)]/g,"%29"),u=()=>{if("undefined"!=typeof document&&document.cookie)return Object.fromEntries(document.cookie.split("; ").map(e=>e.split("=")).map(e=>e.map(e=>r(e))))},d=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:365,r=(0,n.OB)("NEXT_PUBLIC_BASE_URL");if(!r)throw Error("Не определена переменная окружения NEXT_PUBLIC_BASE_URL");let u=o()?"":"; domain=".concat(i(r)),d=new Date(new Date().getTime()+864e5*a).toUTCString();document.cookie="".concat(c(e),"=").concat(s("string"==typeof t?t:JSON.stringify(t)),"; SameSite=Strict").concat(l(r)?"; Secure":"").concat(u,"; expires=").concat(d,"; path=/;")}},59081:function(e,t,a){"use strict";a.d(t,{l:function(){return i},y:function(){return o}});var n=a(77607);let l=[{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"},{path:"navigator",category:"service_navigator"},{path:"stat_",category:"service_navigator"}],i=(e,t)=>{let a=sessionStorage.getItem("pushedEvents"),l=a?JSON.parse(a):[];e.event=e.event?e.event:"data-event",e.eventValue=e.eventValue?e.eventValue:null,e.eventAction=e.eventAction&&"string"==typeof e.eventAction?e.eventAction.toLowerCase().replaceAll(/[ \xa0]/g,"_"):"",e.eventLabel=e.eventLabel&&"string"==typeof e.eventLabel?e.eventLabel.toLowerCase().replaceAll(/[ \xa0]/g,"_"):"";let i=l.find(a=>a.eventCategory===e.eventCategory&&a.eventAction===e.eventAction&&a.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===a.url));if(!t||!i){if(t){let t={...e};t.url=window.location.pathname,l.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(l))}(0,n.AB)(e)}},o=e=>{for(let t of l)if(e.indexOf(t.path)>=0){let a=e.match(/str_(\d+)/),n=Array.isArray(a)&&a[1]?Number(a[1]):1;setTimeout(()=>{i({event:"data-event",eventCategory:t.category,eventAction:"stay_15_seconds",eventLabel:e,eventValue:n})},15e3);return}}},79230:function(e,t,a){"use strict";let n;a.r(t),a.d(t,{__N_SSP:function(){return a0},default:function(){return a1}});var l,i,o,r,s,c,u,d,_,m,M,p,v,g,h,x,T,N,j,w,b,D=a(85893),k=a(33016),L=a(67294),y=a(41664),A=a.n(y),C=a(11163),f=a(90210),O=a(24602),z=a(6024),I=a(55269),E=a(57769);class S extends Error{}var U={src:"/debit-cards/_next/static/media/bike.cc844e23.svg"},Y={src:"/debit-cards/_next/static/media/car.13cbdc55.svg"},P=a(90630),Q=a(86010),B=a(34988),R=a.n(B);let W=e=>{if(!e.length)return[];let t=[{label:"Главная",href:"/"},...e];return t[t.length-1].href=void 0,t};var H=(0,L.memo)(function(e){let{items:t=[],isMobile:a,className:n,...l}=e,i=(0,I._m)("l"),o=(0,L.useMemo)(()=>W(t),[t]);return(0,D.jsx)(P.Oo,{items:o,className:(0,Q.Z)(R().breadcrumbs,n),isMobile:null!=a?a:!i,...l})}),F=a(25675),Z=a.n(F),V=["finuslugi.ru","inguru.dev","moex.com"];let J=e=>e.includes("//")&&!V.find(t=>e&&e.indexOf(t)>=0),X=e=>e?e=e.replace(/href="(.*?)"/gi,(e,t)=>"".concat(e).concat(J(t)?' rel="nofollow"':"")):"",K=e=>{e.data.forEach((t,a)=>{"header"===t.type&&(e.headerBlocksCount++,3===e.headerBlocksCount&&("banner"===e.data[a-1].type&&(e.banner=e.data.splice(a-1,1)),"banner"===e.data[a+1].type&&(e.banner=e.data.splice(a+1,1))),e.banner&&4===e.headerBlocksCount&&e.data.splice(a,0,e.banner[0]))})};var G=a(48210),q=a.n(G);let $=e=>{let{className:t,data:a}=e;if(!Array.isArray(a))return null;let n=(()=>{let e=[],t=1,n={data:a,headerBlocksCount:0,banner:[]};return K(n),K(n),a.forEach((a,n)=>{switch(a.type){case"header":e.push((0,D.jsx)("h2",{id:"content_header_".concat(t),role:"header",children:a.data.text||""},n)),t++;break;case"sub_header":e.push((0,D.jsx)("h3",{role:"sub-header",children:a.data.text||""},n));break;case"paragraph":e.push((0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:a.data.text||""},role:"paragraph"},n));break;case"link":e.push((0,D.jsx)("div",{className:q().blockLink,children:(0,D.jsx)("a",{target:"_blank",href:a.data.url||"",role:"link",rel:"noreferrer",children:a.data.text||""})},n));break;case"dossier":e.push((0,D.jsxs)("div",{className:q().dossierDateItem,children:[(0,D.jsx)("span",{className:q().date,role:"dossier-year",children:a.data.year||""}),(0,D.jsx)("div",{className:q().text,dangerouslySetInnerHTML:{__html:a.data.text||""},role:"dossier-text"})]},n));break;case"html":e.push((0,D.jsx)("div",{className:q().htmlBlock,dangerouslySetInnerHTML:{__html:X(a.data.html||"")},role:"html"},n));break;case"annotation":e.push((0,D.jsx)("div",{className:q().annotation,dangerouslySetInnerHTML:{__html:X(a.data.text||"")},role:"annotation"},n));break;case"company-annotation":e.push((0,D.jsx)("div",{className:q().companyAnnotation,dangerouslySetInnerHTML:{__html:a.data.text||""},role:"company-annotation"},n));break;case"keynote":e.push((0,D.jsx)("div",{className:q().keynoteWrapper,children:(0,D.jsx)("p",{className:q().keynote,dangerouslySetInnerHTML:{__html:a.data.text||""},role:"keynote"})},n));break;case"image":e.push((0,D.jsx)(Z(),{src:a.data.url||"",alt:"image",fill:!0},n));break;case"table":e.push((0,D.jsxs)("div",{className:q().contentTableWrapper,children:[a.data.title?(0,D.jsx)("h4",{role:"table-title",children:a.data.title}):"",(0,D.jsx)("div",{className:q().contentTableContent,dangerouslySetInnerHTML:{__html:X(a.data.html||"")},role:"table-content"})]},n))}}),e})();return(0,D.jsx)("div",{className:(0,Q.Z)(q().contentBlocks,t),role:"blocks",children:n})};var ee=a(59081);let et={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"y",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sch",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya"},ea=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();if(t in et){let a=et[t];return t===e?a:a.charAt(0).toUpperCase()+a.slice(1)}return e});(l=c||(c={})).link="link",l.button="button",l.popup="popup",l.filterCatalog="filter_catalog";let en=e=>{let{eventCategory:t,eventAction:a,eventActionText:n="",eventLabel:l,eventValue:i,url:o}=e,r="boolean"==typeof i?i?"on":"off":i,s="filter_catalog"!==a?/[а-я]/i.test(n.toLowerCase()):"string"!=typeof l||/[а-я]/i.test(l.toLowerCase()),c="filter_catalog"!==a?{event:"data-event",eventCategory:t,eventAction:({link:"click_link",button:"click_button_",popup:"show_pop_up_",utm:"save_utm"})[a]+(s?n:ea(n)),eventLabel:l,eventValue:r,url:o}:{event:"data-event",eventAction:t,eventCategory:a,eventLabel:"string"==typeof l?s?l:ea(l):l,eventValue:r,url:o};(0,ee.l)(c)};var el=a(2869),ei=a.n(el);function eo(){return(eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(null,arguments)}var er=function(e){return L.createElement("svg",eo({width:25,height:24,viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),u||(u=L.createElement("rect",{x:.5,width:24,height:24,rx:12,fill:"#F3F4F6"})),d||(d=L.createElement("path",{d:"m15.024 10.152-4.888-1.31a.667.667 0 0 1 .345-1.287l6.44 1.725a.667.667 0 0 1 .471.816l-1.725 6.44a.667.667 0 0 1-1.288-.345l1.31-4.887-6.771 3.914a.666.666 0 0 1-.914-.245.666.666 0 0 1 .245-.914l6.775-3.907Z",fill:"#525BBB"})))};let es=(0,L.memo)(e=>{let{onClick:t,text:a,href:n,target:l,iconColor:i,mainPageUrl:o,offPadding:r,widthMaxContent:s,className:u,isCustomMarkup:d=!1}=e,_=()=>{en({eventCategory:o,eventAction:c.link,eventActionText:a,eventLabel:n})},m=(0,L.useCallback)(e=>n?(0,D.jsx)(A(),{onClick:e.onClick,href:n,target:l,...e}):(0,D.jsx)("button",{onClick:e.onClick,...e}),[n,l]);return(0,D.jsx)("div",{className:(0,Q.Z)(ei().linkWrapper,{[ei().padding]:!r,[ei().width]:s},u),"data-testid":"check-full-info-link",onClick:()=>!d&&_(),children:(0,D.jsxs)(m,{onClick:t,className:ei().link,children:[a,(0,D.jsx)(er,{className:(0,Q.Z)(ei().icon,{[ei().light]:"light"===i})})]})})});es.displayName="CheckFullInfoLink";var ec=a(21340);let eu=()=>{let[e,t]=(0,L.useState)(!1),[a,n]=(0,L.useState)(!1),l=(0,L.useRef)({x:0,y:0});return{isDragged:e,isTouched:a,onMouseDown:(0,L.useCallback)(e=>{n(!0),l.current={x:e.screenX,y:e.screenY},l.current&&l.current.x===e.screenX&&l.current.y===e.screenY&&t(!1)},[]),onMouseMove:(0,L.useCallback)(e=>{l.current&&l.current.x===e.screenX&&l.current.y===e.screenY||(t(!0),l.current={x:e.screenX,y:e.screenY})},[]),resetState:(0,L.useCallback)(()=>{t(!1),n(!1)},[])}};var ed=a(91196),e_=a.n(ed);let em=(0,L.memo)(e=>{let{pageUrl:t,posts:a,categories:n}=e,l=(0,I._m)("l"),{isDragged:i,isTouched:o,onMouseDown:r,onMouseMove:s,resetState:u}=eu(),d=(e,a,n)=>{en({eventCategory:t,eventAction:c.link,eventActionText:n,eventLabel:a,url:e}),window.open(e,"_self")},_=e=>()=>!(i&&o)&&d("".concat(ec._,"/").concat(e.url),e.id,e.title),m=(0,L.useMemo)(()=>l?348:300,[l]);return(0,D.jsx)(I.Fp,{width:m,height:l?316:280,spaceBetween:l?32:16,sliderPerView:l?3:1,hideNavigationControl:!l,overflowVisible:!l,startDelay:1e4,classSliderWrapper:e_().sliderWrapper,autoPlayTime:5e3,isDependsOnWidth:!1,children:a.map(e=>{var t,a;let i=null==n?void 0:null===(t=n.find(t=>t.id===(null==e?void 0:e.ctg_id)))||void 0===t?void 0:t.name;return(0,D.jsx)("a",{href:"".concat(ec._,"/").concat(e.url),className:e_().bannerCardLink,children:(0,D.jsxs)("div",{className:e_().bannerCard,onMouseDown:r,onMouseMove:s,onMouseLeave:u,onMouseUp:u,onMouseUpCapture:_(e),children:[(0,D.jsx)("div",{className:e_().cardHead,children:(0,D.jsx)(Z(),{unoptimized:!0,className:e_().image,width:m,height:l?168:140,alt:"иконка",src:"".concat(ec._,"/img/posts/small/").concat(null===(a=e.img)||void 0===a?void 0:a.file)})}),(0,D.jsxs)("div",{className:e_().cardBody,children:[i&&(0,D.jsxs)("div",{className:e_().status,children:[i," ",e.publ_date?"• ".concat(e.publ_date.slice(8,10),".").concat(e.publ_date.slice(5,7)):""]}),(0,D.jsx)("p",{className:e_().text,children:e.title})]})]})},e.id)})})});em.displayName="Slider";let eM=e=>{let{posts:t,categories:a,pageUrl:n}=e;return t.length?(0,D.jsxs)("section",{className:e_().container,children:[(0,D.jsx)("h2",{className:e_().title,children:"Журнал Финуслуги"}),(0,D.jsx)("div",{className:e_().sliderContainer,children:(0,D.jsx)(em,{posts:t,categories:a,pageUrl:n})}),(0,D.jsx)(es,{offPadding:!0,text:"Смотреть все статьи",href:"".concat(ec._,"/navigator/nakopit-i-sohranit"),mainPageUrl:n})]}):null};var ep=a(9008),ev=a.n(ep);let eg=(0,L.memo)(e=>{let{title:t,description:a,productId:n,path:l,noIndex:i}=e,o=l;l.includes("?")&&(l=l.split("?")[0]),(0===l.indexOf("/debetovye_karty")||0===l.indexOf("/vklady"))&&(o=l.split("&")[0]);let r=(0,f.OB)("NEXT_PUBLIC_BASE_URL");return(0,D.jsxs)(ev(),{children:[(0,D.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"},"viewport"),(0,D.jsx)("link",{rel:"icon",href:"".concat(r,"/icons/favicon/favicon-32x32.png")},"icon"),t&&(0,D.jsx)("title",{children:t},"title"),a&&(0,D.jsx)("meta",{name:"description",content:a},"description"),n&&(0,D.jsx)("script",{dangerouslySetInnerHTML:{__html:"dataLayer = [{'view_product_id': '".concat(n,"'}];")}},"viewProduct"),i&&(0,D.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,D.jsx)("meta",{property:"og:url",content:"".concat(r).concat(l||"")},"og:url"),(0,D.jsx)("meta",{property:"og:title",content:t},"og:title"),(0,D.jsx)("meta",{property:"og:description",content:a},"og:description"),(0,D.jsx)("meta",{property:"og:site_name",content:"Финуслуги"},"og:site_name"),(0,D.jsx)("meta",{property:"og:image",content:"".concat(r,"/icons/favicon/favicon-32x32.png")},"og:image"),(0,D.jsx)("meta",{property:"og:type",content:"website"},"og:type"),(0,D.jsx)("link",{rel:"canonical",href:"".concat(r).concat(o)},"canonical"),(0,D.jsx)("link",{rel:"preload",href:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0i0KHQu9C+0LlfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHdpZHRoPSIxNjcuMTExMTE0NXB4IiBoZWlnaHQ9IjQycHgiIHZpZXdCb3g9IjAgMCAxNjcuMTExMTE0NSA0MiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTY3LjExMTExNDUgNDI7Ig0KCSB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+DQoJLnN0MHtmaWxsOiNGRjA1MDg7fQ0KCS5zdDF7ZmlsbDojRkZGRkZGO30NCjwvc3R5bGU+DQo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNODAuNDAzNzAxOCwwSDI3LjcyNjYwMDZ2MTcuOTgxMTk5M0gwVjQyaDgwLjQwMzcwMThWMHoiLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik00MC4xODg1OTg2LDguMDk4MTMwMmwtMC41NjQzMDA1LDAuMDI2MjQ5OWMtMi4xNTI0OTYzLDAuMTExNTcwNC0zLjQ4NDY5OTIsMS40NDM3NDk0LTMuNDg0Njk5MiwzL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z4NCg==",as:"image",type:"image/svg+xml"},"logoPreload")]})});eg.displayName="HeadMeta";var eh=a(541);let ex=["utm_campaign","utm_term","utm_content","agent_id","utm_medium","utm_source"];(i=_||(_={})).VKLADY="vklady",i.VKLADY_TAGS="vklady_tags",i.DEPOSITS_ADVANTAGES="deposits_advantages",i.DEPOSITS_DETAIL="deposit_detail",i.DEBIT_CARD_DETAIL="debetovye_karty_detail",i.DEBIT_CARDS="debetovye_karty";let eT=[I.Xz.deposits,I.Xz.savingsAccounts,I.Xz.debitCards];var eN=a(96010);(o=m||(m={})).MASS="mass",o.ARCHIVE="archive",o.LEAD="lead",(M||(M={})).HTML="html";let ej=e=>{switch(e){case 2:case"2":case"USD":return{shortName:"долл.",unit:"$",name:"долларах",code:"USD",locale:"en",num:2};case 3:case"3":case"EUR":return{shortName:"евро",unit:"€",name:"евро",code:"EUR",locale:"en",num:3};case 4:case"4":case"CNY":return{shortName:"юань",unit:"\xa5",name:"юанях",code:"CNY",locale:"zh-CN",num:4};case 5:case"5":case"CHF":return{shortName:"франк",unit:"₣",name:"франках",code:"CHF",locale:"en",num:5};case 6:case"6":case"GBP":return{shortName:"фунт",unit:"\xa3",name:"фунтах",code:"GBP",locale:"en",num:6};case 7:case"7":case"JPY":return{shortName:"иена",unit:"\xa5",name:"иенах",code:"JPY",locale:"ja-JP",num:7};default:return{shortName:"руб.",unit:"₽",name:"рублях",code:"RUB",locale:"ru",num:1}}},ew=()=>{let[e,t]=(0,L.useState)(null);return(0,L.useEffect)(()=>{document.referrer.length&&t(document.referrer)},[]),e};function eb(e){let{asPath:t,query:a}=(0,C.useRouter)();return(0,L.useMemo)(()=>{if(t.includes("#")){let a=t.split("?")[1];return a?a.split("&").filter(t=>e.includes(t.split("=")[0])):[]}return e.reduce((e,t)=>a[t]?[...e,"".concat(t,"=").concat(a[t])]:e,[])},[t,a,e])}var eD=a(64181),ek=a.n(eD);let eL=e=>{let{maxHeight:t=300,className:a,style:n,children:l,...i}=e,[o,r]=(0,L.useState)(t),[s,c]=(0,L.useState)(!1),u=(0,L.useRef)(null);return(0,L.useEffect)(()=>{let e=()=>{u.current&&u.current.scrollHeight>t&&c(!0)};return e(),window&&window.addEventListener("resize",e),window.removeEventListener("resize",e)},[t]),(0,D.jsxs)("div",{...i,ref:u,className:(0,Q.Z)(ek().container,{[ek().containerOverflow]:s,[ek().containerOpen]:s&&o===t},a),style:{height:s?o:"auto",...n},children:[l,s&&(0,D.jsx)("button",{className:ek().button,onClick:()=>{r(e=>e===t?"auto":t)},children:o===t?"Показать ещё":"Скрыть"})]})};var ey={src:"/debit-cards/_next/static/media/detailed-large.fea212bb.svg",height:24,width:24,blurWidth:0,blurHeight:0},eA=a(47400),eC=a(73935);let ef=e=>{let{children:t}=e,[a]=(0,L.useState)(()=>document.createElement("div"));return((0,L.useEffect)(()=>(document.body.appendChild(a),()=>{document.body.removeChild(a)})),t)?(0,D.jsx)(D.Fragment,{children:(0,eC.createPortal)(t,a)}):null},eO=e=>{let t=e.bottom,a="bottom";return Object.entries(e).forEach(e=>{let[n,l]=e;l>t&&(t=l,a=n)}),a};var ez=e=>{let{anchorElement:t,positioningElement:a,offset:n=0,selectSide:l=null}=e,i={top:"unset",right:"unset",left:"unset",bottom:"unset"},o=t.getBoundingClientRect(),r=a.getBoundingClientRect(),s=r.width,c=r.height,u=window.innerHeight,d=window.innerWidth,_=o.top,m=u-o.bottom,M=d-o.right,p=o.left,v=o.bottom,g=o.right,h=p+o.width/2,x=_+o.height/2,T=h-s/2,N=x-c/2,j=T<-n||T+s-n-10>d?M>p?0-n:d-s+n-16:T,w=N<-n||N+c-n-10>u?_<m?0-n:u-c+n-10:N,b=[{side:"bottom",priority:2,isFreeSpace:m>=c-n,position:{...i,top:"".concat(v,"px"),left:"".concat(j,"px")}},{side:"top",priority:3,isFreeSpace:_>=c-n,position:{...i,top:"".concat(_-c,"px"),left:"".concat(j,"px")}},{side:"right",priority:4,isFreeSpace:M>=s-n,position:{...i,left:"".concat(g,"px"),top:"".concat(w,"px")}},{side:"left",priority:5,isFreeSpace:p>=s-n,position:{...i,left:"".concat(p-s,"px"),top:"".concat(w,"px")}}];if(l){let e=b.find(e=>e.side===l);e&&(e.priority=1)}b.sort((e,t)=>e.priority-t.priority);let D=b.find(e=>e.isFreeSpace);if(D)i={...i,...D.position};else{let e=eO({top:_-c,bottom:m-c,right:M-s,left:p-s}),t=b.find(t=>t.side===e);t&&(i={...i,...t.position})}return i},eI=a(42688),eE=a.n(eI);let eS=e=>{let{children:t,text:a,offset:n=10,trigger:l="hover",tooltipClassName:i,selectSide:o,disabled:r}=e,[s,c]=(0,L.useState)(null),[u,d]=(0,L.useState)(null),[_,m]=(0,L.useState)(!0),M=(0,L.useRef)(null),p=(0,L.useRef)(null),v="click"===l,g=(0,L.useCallback)(()=>{m(!0),p.current=setTimeout(()=>{d(null)},200),window.removeEventListener("scroll",g,!1)},[]);(0,L.useEffect)(()=>{if(!a)return;let e=M.current;if(u&&e)return c(ez({anchorElement:u,positioningElement:e,offset:n,selectSide:o})),()=>{d(null),p.current&&clearTimeout(p.current),window.removeEventListener("scroll",g,!1)}},[u,a,g,n,_,o]);let h=e=>({onMouseEnter:t=>{(null==e?void 0:e.onMouseEnter)&&e.onMouseEnter(t),v||r||(m(!1),d(t.currentTarget),window.addEventListener("scroll",g,!1))},onClick:t=>{(null==e?void 0:e.onClick)&&e.onClick(t),v&&!r&&(m(!1),d(t.currentTarget),window.addEventListener("scroll",g,!1))}}),x=()=>{m(!0),p.current=setTimeout(()=>{d(null)},300)},T="string"!=typeof t&&"number"!=typeof t?(0,L.createElement)(t.type,{...t.props,...h(t.props)}):(0,L.createElement)("span",{children:t,...h()}),N=e=>{var t;u===e.target||(null==u?void 0:u.contains(e.target))||e.target===M.current||(null===(t=M.current)||void 0===t?void 0:t.contains(e.target))||x()};return(0,L.useEffect)(()=>(v||(_?window.removeEventListener("mousemove",N):window.addEventListener("mousemove",N)),()=>{window.removeEventListener("mousemove",N)}),[u,N,_]),(0,D.jsxs)(D.Fragment,{children:[u&&a?(0,D.jsx)(ef,{children:(0,D.jsx)("div",{className:(0,Q.Z)(eE().tooltipWrapper,{[eE().clickedTooltip]:v}),onClick:()=>{v&&x()},children:(0,D.jsx)("div",{ref:M,className:(0,Q.Z)(eE().tooltipWrapperForPadding,{[eE().open]:u,[eE().close]:_}),style:{padding:n,...s},children:(0,D.jsx)("div",{className:(0,Q.Z)(eE().tooltip,i),children:a})})})}):null,T]})};eS.displayName="Tooltip";var eU=a(31507),eY=a.n(eU);let eP=(0,L.memo)(e=>{let{text:t,className:a,tooltipClassName:n,iconSrc:l=ey,iconClassName:i,children:o,withDisabledScroll:r,trigger:s="click",icon:c,iconPlacement:u="right",onOpen:d,onClose:_}=e,[m,M]=(0,L.useState)(!1),p=(0,L.useCallback)(()=>{M(e=>(e||null==d||d(),!e))},[d]),v=(0,L.useCallback)(()=>{M(!1),null==_||_()},[_]),g=null!=c?c:l&&(0,D.jsx)(Z(),{unoptimized:!0,className:(0,Q.Z)(eY().icon,i),src:l,alt:"detailed"}),h="left"===u;return(0,D.jsxs)("div",{"data-testid":"tip-component",children:[(0,D.jsx)(eS,{trigger:s,tooltipClassName:n,selectSide:"bottom",text:"string"==typeof t?(0,D.jsx)("span",{className:eY().content,dangerouslySetInnerHTML:{__html:t}}):(0,D.jsx)("span",{className:eY().content,children:t}),children:(0,D.jsxs)("button",{"data-testid":"button-tip-click-on-open",className:(0,Q.Z)(eY().button,a),onClick:d,children:[h&&g," ",o," ",!h&&g]})}),(0,D.jsxs)("button",{"data-testid":"button-tip-click-toggle-modal",onClick:p,className:(0,Q.Z)(eY().buttonMobile,a),children:[h&&g," ",o," ",!h&&g]}),(0,D.jsx)(eA.h,{children:(0,D.jsx)(I.jr,{withDisabledScroll:r,className:eY().popup,isOpen:m,onClose:v,children:"string"==typeof t?(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:t}}):t})})]})});eP.displayName="Tip";var eQ=a(4372),eB=a.n(eQ);let eR=e=>{let{text:t,title:a}=e;return(0,D.jsxs)(eL,{className:eB().valueText,children:[a&&(0,D.jsx)("p",{dangerouslySetInnerHTML:{__html:a}}),t&&(0,D.jsx)("span",{dangerouslySetInnerHTML:{__html:t}})]})},eW=e=>!!(e.includes("https://")&&e.includes("</a>")),eH=e=>{var t,a,n;let{size:l="m",containerClassName:i,onTooltipClick:o,tipIcon:r,...s}=e,c=Array.isArray(s.value)?s.value.filter(e=>"string"==typeof e&&e.length):[],u=s.value?Array.isArray(s.value)?s.value.filter(e=>"object"==typeof e&&e):[s.value].filter(e=>{var t,a;return"object"==typeof e&&e&&((null===(t=e.text)||void 0===t?void 0:t.length)||(null===(a=e.title)||void 0===a?void 0:a.length))}):null;return("string"==typeof s.value?s.value.length:c.length||(null==u?void 0:u.length))?(0,D.jsxs)("li",{className:(0,Q.Z)(eB().row,{[eB().mediumRow]:"m"===l},i),children:[(null===(t=s.label)||void 0===t?void 0:t.length)?(0,D.jsx)("div",{className:eB().rowLabel,children:(null===(a=s.toolltip)||void 0===a?void 0:a.length)?(0,D.jsx)(eP,{text:(0,D.jsx)("span",{dangerouslySetInnerHTML:{__html:s.toolltip}}),iconClassName:eB().iconTooltip,tooltipClassName:eB().tooltip,className:eB().tooltipContent,onOpen:()=>null==o?void 0:o(s.label,s.value),icon:r,children:s.label},s.label):(0,D.jsx)(eL,{className:eB().valueText,children:(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:s.label.charAt(0).toUpperCase()+s.label.slice(1)}})})}):null,(0,D.jsxs)("div",{className:eB().rowValue,children:["string"==typeof s.value&&s.value.length>0&&(0,D.jsx)(eL,{className:(0,Q.Z)(eB().valueText,{[eB().linkValue]:eW(s.value)}),children:(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:s.value}})}),c.length&&c.length>1?(0,D.jsx)("ul",{children:c.map(e=>e&&(0,D.jsx)("li",{className:eB().listItem,children:(0,D.jsx)(eL,{children:(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:e}})})},e))}):(null===(n=c[0])||void 0===n?void 0:n.length)?(0,D.jsx)(eL,{className:eB().valueText,children:(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:c[0]}})}):null,u&&!!u.length&&(0,D.jsx)("ul",{children:u.map(e=>e&&(0,D.jsx)(L.Fragment,{children:(0,D.jsx)(eR,{...e})},e.title||e.text))})]})]},s.text||s.label||JSON.stringify(s.value)):null},eF=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0;return(void 0===t&&(t=e,e=0),a||t%1||e%1)?Math.min(e+Math.random()*(t-e+parseFloat("1e-14")),t):(e=Math.ceil(e),Math.floor(Math.random()*((t=Math.floor(t))-e+1))+e)};var eZ=a(8853),eV=a.n(eZ);let eJ=(0,L.memo)(e=>{let{isMobile:t,pageUrl:a,bank:n}=e;return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("div",{className:eV().bankInformation,"data-testid":"bank-short-info",children:(0,D.jsxs)("div",{children:[(0,D.jsxs)("div",{"data-testid":"bank-short-info-header",className:eV().header,children:[n.logoMobile&&(0,D.jsx)("div",{className:eV().logoWrapper,children:(0,D.jsx)(Z(),{className:eV().icon,src:n.logoMobile,width:t?24:32,height:t?24:32,alt:"logo bank"})}),(0,D.jsx)("p",{className:eV().bankTitle,children:n.name})]}),(null==n?void 0:n.description)&&(0,D.jsx)("p",{className:eV().bankText,dangerouslySetInnerHTML:{__html:null==n?void 0:n.description}})]})}),(0,D.jsx)(es,{className:eV().bankLink,text:"Перейти к полному досье",href:"".concat(ec._,"/banki/").concat(n.url),target:"_self",iconColor:"light",mainPageUrl:a})]})});eJ.displayName="BankShortInfo";var eX=a(37853),eK=a.n(eX);let eG=e=>{let{isOpenModal:t,title:a,content:n,onClose:l}=e;return(0,D.jsx)(eA.h,{children:(0,D.jsxs)(I.jr,{className:eK().mobilePopup,contentClassName:eK().content,isOpen:t,onClose:l,children:[(0,D.jsx)("h3",{className:eK().title,children:a}),(0,D.jsx)("div",{children:n})]})})};var eq={src:"/debit-cards/_next/static/media/arrow.e5fbf461.svg",height:24,width:24,blurWidth:0,blurHeight:0},e$=a(7964),e0=a.n(e$);let e1=(0,L.memo)(e=>{let{tabsList:t,getActiveElementClick:a}=e;return(0,D.jsx)("ul",{className:e0().tabsList,children:t.map((e,t)=>(0,D.jsxs)("li",{className:e0().tabItem,"data-testid":"mobile-tab-".concat(t+1),onClick:()=>a(e.id),children:[e.label,(0,D.jsx)(Z(),{src:eq,alt:"иконка",width:"16",height:"16",unoptimized:!0})]},"".concat(e.id,"-").concat(t)))})});e1.displayName="MobileTabs";var e4=a(13814),e5=a.n(e4);let e2="aboutBank",e3={id:(n=new Date().getTime(),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t=(n+eF(16))%16|0;return n=Math.floor(n/16),("x"===e?t:3&t|8).toString(16)})),label:"О банке",name:e2},e6=(0,L.memo)(e=>{let{pageUrl:t,title:a,tabsList:n,tabsContent:l,bank:i,seoText:o,disclaimer:r,scrollBlockId:s,className:u}=e,d=(0,I._m)("l"),[_,m]=(0,L.useState)(n[0]),M=(0,L.useMemo)(()=>[...n,e3],[n]),p=(0,L.useMemo)(()=>({...l,[e2]:[{label:"Регистрационный номер",value:null==i?void 0:i.registrationNumber},{label:"По объему кредитов",value:(null==i?void 0:i.creditRating)?i.creditRating+" место":""},{label:"По объему чистых активов",value:(null==i?void 0:i.netAssetsPlace)?i.netAssetsPlace+" место":"",toolltip:"Показатель реальной стоимости имущества банка. Для его подсчета из стоимости всех активов банка вычитают сумму его долговых обязательств."},{label:"По объему чистой прибыли",value:(null==i?void 0:i.netProfitRating)?i.netProfitRating+" место":"",toolltip:"Показатель дохода банка после вычета расходов и налогов."}]}),[null==i?void 0:i.creditRating,null==i?void 0:i.netAssetsPlace,null==i?void 0:i.netProfitRating,null==i?void 0:i.registrationNumber,l]),[v,g]=(0,L.useState)(!1),h=e=>{let a=M.find(t=>e&&e===t.id)||M[0];m(a),en({eventCategory:t,eventAction:c.link,eventLabel:a.label,eventValue:a.name}),d||(en({eventCategory:t,eventAction:c.link,eventActionText:a.label,eventLabel:a.id}),g(!0))},x=(0,D.jsx)(eJ,{isMobile:!d,pageUrl:t,bank:i}),T=e=>(0,D.jsxs)("ul",{className:(0,Q.Z)(e5().list,e!==_.name&&e5().hiddenList),"data-testid":"about-product-tabs-list",children:[p[e].map(e=>e.value?(0,D.jsx)(L.Fragment,{children:(0,D.jsx)(eH,{size:"m",containerClassName:e5().listRow,...e})},e.label):null),(0,D.jsx)(L.Fragment,{children:!d&&_.name===e2&&x})]},e);return(0,D.jsxs)("section",{id:s,className:(0,Q.Z)(e5().container,u),children:[(0,D.jsx)("p",{className:e5().title,children:a}),o&&(0,D.jsx)("p",{className:e5().seotext,children:o}),d&&(0,D.jsx)(I.mQ,{tabs:M,activeTabId:_.id,onTabChange:h,className:e5().tabsList}),d&&M.map(e=>{let{name:t}=e;return T(t)}),!d&&(0,D.jsx)(e1,{tabsList:M,getActiveElementClick:h}),!d&&(0,D.jsx)(eG,{title:_.label,content:T(_.name),isOpenModal:v,onClose:()=>g(!1)}),d&&_.name===e2&&x,(0,D.jsx)("div",{className:e5().dateTime,children:r})]})});e6.displayName="AboutProduct";let e8="place",e9="aboutBlock",e7=e=>e<10?"0"+e:e.toString(),te=(e,t)=>{if(!e)return"";let a=new Date(e).getDate(),n=new Date(e).getMonth()+1,l=new Date(e).getFullYear(),i=t?"":"".concat(e7(a),".").concat(e7(n),".").concat(l);return((null==t?void 0:t.hasDay)&&(i="".concat(e7(a))),(null==t?void 0:t.hasMonth)&&(i="".concat(i.length?i+".":"").concat(e7(n))),null==t?void 0:t.hasYear)?"".concat(i.length?i+".":"").concat(l):i};(r=p||(p={})).conditions="conditions",r.requirements="requirements",r.bonuses="bonuses",r.commissions="commissions";let tt=e=>{var t,a,n,l,i,o,r,s,c,u,d,_;return(null===(t=e.service_cost)||void 0===t?void 0:t.first_year_cost)!==(null===(a=e.service_cost)||void 0===a?void 0:a.second_year_cost)?[{title:"1-й год",text:"<h6>".concat(null!==(r=null===(n=e.service_cost)||void 0===n?void 0:n.first_year_cost)&&void 0!==r?r:"","<h6>").concat(null!==(s=null===(l=e.service_cost)||void 0===l?void 0:l.first_year_cost_comment)&&void 0!==s?s:""),isTable:!0},{title:"Со 2-го года",text:"<h6>".concat(null!==(c=null===(i=e.service_cost)||void 0===i?void 0:i.second_year_cost)&&void 0!==c?c:"","</h6>").concat(null!==(u=null===(o=e.service_cost)||void 0===o?void 0:o.second_year_cost_comment)&&void 0!==u?u:""),isTable:!0}]:[{title:(null===(d=e.service_cost)||void 0===d?void 0:d.second_year_cost)||"",text:(null===(_=e.service_cost)||void 0===_?void 0:_.second_year_cost_comment)||""}]},ta=(e,t)=>{var a,n,l,i,o,r,s,c,u,d;return[{label:"SMS-оповещение",value:{title:e.sms.text,text:e.sms.comment}},{label:"Снятие наличных",value:[{title:"Снятие наличных в банкоматах банка",text:"".concat(null===(a=e.cash_withdrawal)||void 0===a?void 0:a.atm," ").concat(null===(n=e.cash_withdrawal)||void 0===n?void 0:n.atm_comment),isBold:!0},{title:"Снятие наличных в отделениях банка",text:"".concat(null===(l=e.cash_withdrawal)||void 0===l?void 0:l.bank," ").concat(null===(i=e.cash_withdrawal)||void 0===i?void 0:i.bank_comment),isBold:!0}]},{label:"Перевод на карту другого банка",value:e.transfer_to_custom_bank_card?{title:(null===(o=e.transfer_to_custom_bank_card)||void 0===o?void 0:o.comment)?null===(r=e.transfer_to_custom_bank_card)||void 0===r?void 0:r.text:void 0,text:(null===(s=e.transfer_to_custom_bank_card)||void 0===s?void 0:s.comment)||(null===(c=e.transfer_to_custom_bank_card)||void 0===c?void 0:c.text)}:"Нет"},{label:"Лимит на снятие наличных",value:{title:null===(u=e.cash_withdrawal_limit)||void 0===u?void 0:u.text,text:null===(d=e.cash_withdrawal_limit)||void 0===d?void 0:d.comment}},{label:"Бесконтактная оплата",value:{title:t.join(" / ")||"Нет"}},{label:"3D Secure",value:{title:e["3d_secure"]?"Есть":"Нет"}}]},tn=(e,t,a)=>{var n,l,i;return[{label:"Тип карты",value:{title:t.join(" / ")}},{label:"Стоимость обслуживания",value:[{text:e.service_cost?e.service_cost.release_cost:"Нет",title:"Плата за выпуск",isTable:!0},...a]},{label:"Порядок оформления",value:null===(n=e.registration_procedure)||void 0===n?void 0:n.text},{label:"Срок изготовления",value:null===(l=e.manufacturing_term)||void 0===l?void 0:l.text},{label:"Мобильное приложение",value:(null==e?void 0:e.mobile_app)?{title:e.mobile_app.comment?null==e?void 0:e.mobile_app.text:void 0,text:e.mobile_app.comment||(null==e?void 0:e.mobile_app.text)}:"Нет"},{label:"Дополнительная информация",value:null===(i=e.additional_requirements)||void 0===i?void 0:i.comment}]},tl=e=>{var t,a,n;return[{label:"Возраст держателя",value:{title:null===(t=e.age)||void 0===t?void 0:t.text,text:null===(a=e.age)||void 0===a?void 0:a.comment}},{label:"Категория клиента",value:(null===(n=e.borrower)||void 0===n?void 0:n.text)||"Нет"}]},ti=(e,t)=>{var a,n,l,i;return[{label:"Кешбэк",value:(null===(a=e.cash_back)||void 0===a?void 0:a.comment)||"Нет"},{label:"Проценты на остаток",value:e.balance_interest.has?{title:e.balance_interest.text,text:e.balance_interest.comment}:"Нет"},{label:"Скидки и бонусы",value:{title:e.discounts.text,text:e.discounts.comment}},{label:"Индивидуальный дизайн карты",value:e.individual_design.comment||(null===(n=e.individual_design)||void 0===n?void 0:n.text)},{label:"Оплата мобильным устройством",value:(null==e?void 0:null===(l=e.mobile_pay)||void 0===l?void 0:l.comment)?{title:e.mobile_pay.comment?null===(i=e.mobile_pay)||void 0===i?void 0:i.text:void 0,text:e.mobile_pay.comment}:"Нет"},{label:"Бесконтактная оплата",value:{title:t.join(" / ")||"Нет"}}]},to=(e,t,a,n)=>{var l,i,o;return[{label:"Тип карты",value:{title:e.join(" / ")}},{label:"Валюта карты",value:{title:e.join(" / ")}},{label:"Стоимость обслуживания",value:[{text:t.service_cost?t.service_cost.release_cost:"Нет",title:"Плата за выпуск",isTable:!0},...a]},{label:"Срок изготовления",value:null===(l=t.manufacturing_term)||void 0===l?void 0:l.text},{label:"Проценты на остаток",value:t.balance_interest.has?{title:t.balance_interest.text,text:t.balance_interest.comment}:"Нет"},{label:"Скидки и бонусы",value:{title:t.discounts.text,text:t.discounts.comment}},{label:"Кешбэк",value:(null===(i=t.cash_back)||void 0===i?void 0:i.has)&&t.cash_back.comment||"Нет"},{label:"Бесконтактная оплата",value:{title:n.join(" / ")||"Нет"}},{label:"Индивидуальный дизайн карты",value:t.individual_design.comment||(null===(o=t.individual_design)||void 0===o?void 0:o.text)}]},tr=(e,t)=>{let a=[];return e.card_type.ids.forEach(e=>{let n=t.find(t=>t.id===e);n&&a.push(n.title)}),e.card_type.custom&&a.push(e.card_type.custom),a},ts=(e,t)=>{let a=[];return e.contactless_payment.ids.forEach(e=>{let n=t.find(t=>t.id===e);n&&a.push(n.title)}),a},tc=(e,t,a)=>{let n=tr(e,t),l=ts(e,a),i=tt(e);return{conditions:tn(e,n,i),requirements:tl(e),commissions:ta(e,l),bonuses:ti(e,l)}},tu=(e,t,a)=>{let n=tr(e,t),l=ts(e,a),i=tt(e);return{params:to(n,e,i,l),terms:[]}},td="debetovye_karty",t_=[{id:1,label:"Условия",name:p.conditions},{id:2,label:"Требования",name:p.requirements},{id:3,label:"Лимиты и комиссии",name:p.commissions},{id:4,label:"Привилегии и бонусы",name:p.bonuses}],tm=e=>{let{data:t,cardTypes:a,contactlessCardTypes:n}=e,[l,i]=(0,L.useState)(t_),o=(0,L.useMemo)(()=>t?tc(t,a,n):{[p.conditions]:[],[p.requirements]:[],[p.commissions]:[],[p.bonuses]:[]},[t,a,n]);return(0,L.useEffect)(()=>{i(t_.filter(e=>{let{name:t}=e;return o[t].some(e=>!!e.value)}))},[o]),{tabsContent:o,tabsList:l}},tM=(0,L.memo)(e=>{var t;let{data:a,pageUrl:n,cardTypes:l,contactlessCardTypes:i,bank:o}=e,{tabsContent:r,tabsList:s}=tm({data:a,cardTypes:l,contactlessCardTypes:i});return(0,D.jsx)(e6,{pageUrl:n,seoText:(null==a?void 0:a.short_description)&&(null==a?void 0:a.short_description.length)>5?null==a?void 0:a.short_description:void 0,title:"О дебетовой карте",disclaimer:"Информация о дебетовой карте актуальна на ".concat(te((null==a?void 0:a.m_updated_at)||new Date)),bank:{logoMobile:null==o?void 0:o.logo_mob,description:null==o?void 0:o.short_description,url:null==o?void 0:o.url,name:null==o?void 0:o.name,creditRating:null==o?void 0:o.credit_rating,netAssetsPlace:null==o?void 0:null===(t=o.ratings)||void 0===t?void 0:t.net_assets_place,netProfitRating:null==o?void 0:o.net_profit_rating},tabsList:s,tabsContent:r,scrollBlockId:e9})});tM.displayName="DebitCardAbout";var tp={src:"/debit-cards/_next/static/media/banner-1.cbec846c.svg",height:208,width:301,blurWidth:0,blurHeight:0},tv={src:"/debit-cards/_next/static/media/banner-2.9368ea40.svg",height:218,width:318,blurWidth:0,blurHeight:0},tg={src:"/debit-cards/_next/static/media/banner-6.5d66df25.svg",height:230,width:256,blurWidth:0,blurHeight:0},th=a(5389),tx=a.n(th);let tT=e=>{var t,a;let{item:n,eventCategory:l,productId:i,withNewMarkup:o}=e,r=(0,L.useRef)(null),s=ea(null!==(a=n.buttonText)&&void 0!==a?a:"");return!function(e){let{itemRef:t,eventCategory:a,eventAction:n,eventLabel:l,disabled:i=!1}=e,o=(0,L.useRef)(null),[r,s]=(0,L.useState)(!1),c=(0,L.useCallback)(e=>{let[i]=e;1===i.intersectionRatio&&!r&&((0,ee.l)({event:"data-event",eventLabel:l,eventCategory:a,eventAction:n,eventValue:""}),s(!0),o.current&&t.current&&o.current.unobserve(t.current))},[n,a,l,r,t]);(0,L.useEffect)(()=>{i||(o.current&&t.current&&o.current.unobserve(t.current),!r&&t.current&&(o.current=new IntersectionObserver(c,{root:null,threshold:[1]}),o.current.observe(t.current)))},[i,c,r,t]),(0,L.useCallback)(()=>{s(!1)},[])}({disabled:!o,itemRef:r,eventCategory:l,eventAction:"show_where_to_open_".concat(s),eventLabel:null!=i?i:""}),(0,D.jsxs)("div",{className:tx().card,ref:r,children:[(0,D.jsxs)("div",{className:tx().head,children:[n.title&&(0,D.jsx)("p",{className:tx().titemleHead,children:n.title}),(0,D.jsx)("p",{className:tx().text,dangerouslySetInnerHTML:{__html:n.text}})]}),(0,D.jsx)("div",{className:tx().cardImgWrapper,children:(0,D.jsx)(Z(),{className:tx().cardImg,width:300,height:208,alt:"banner"+n.id,src:n.image})}),!!(null==n?void 0:null===(t=n.buttonText)||void 0===t?void 0:t.length)&&(0,D.jsx)(I.zx,{className:tx().cardButton,size:"s",variant:"purple",onClick:n.link?()=>{(0,ee.l)({eventCategory:l,eventAction:o?"click_where_to_open_"+s:"click_button_"+n.buttonText,eventLabel:o?i:n.id,url:o?void 0:n.link}),window.open(n.link,"_self")}:void 0,children:n.buttonText})]},n.id)},tN=e=>{let{slides:t,id:a,title:n,isMobile:l,className:i,eventCategory:o,withNewMarkup:r,productId:s}=e,c=t.length>1?2:1;return l&&(c=1),(0,D.jsxs)("section",{className:(0,Q.Z)(tx().container,i),id:a,children:[(0,D.jsx)("h2",{className:tx().title,children:n}),(0,D.jsx)("div",{className:tx().sliderContainer,children:(0,D.jsx)(I.Fp,{width:l?300:348,height:392,spaceBetween:l?16:32,sliderPerView:c,overflowVisible:l,hideNavigationControl:l,classSliderWrapper:(0,Q.Z)(tx().sliderWrapper),isDependsOnWidth:!1,children:t.map(e=>(0,D.jsx)(tT,{item:e,eventCategory:o,productId:s,withNewMarkup:r},e.id))})})]})};var tj=a(61593);let tw=()=>{let[e]=eb(["aggregator_id"]),t=e?e.split("=")[1]:null,a=(0,tj.$)(),n=null==a?void 0:a["auth.gtm_customer_id"],l=(null==a?void 0:a.cpa_click)||'{ "payload": [] }',i={payload:[]};try{i=JSON.parse(l)}catch(e){console.error("cpa_click cookie parsing error")}let o=(i.payload||[]).pop()||{aggregator_id:"",create_date:""},r=new Date(new Date().getTime()-36e5),s=new Date(o.create_date)>r,c="agents"===o.aggregator_id&&s;return("agents"===t||c)&&!n};var tb=a(25593),tD=a.n(tb);let tk=e=>{let{url:t,pageUrl:a,bannerUrl:n,pageType:l,isMobile:i,className:o}=e,r=tw(),s=(0,L.useMemo)(()=>[{id:3,image:tg,text:"Перейдите на сайт банка,<br /> чтобы оформить заявку",types:[m.LEAD],buttonText:"Оформить на сайте банка",link:t},{id:4,image:tp,text:"Эту карту сейчас нельзя оформить через Финуслуги",types:[m.MASS,m.LEAD],buttonText:"Выбрать другую карту",link:"/".concat(a)},{id:5,image:tv,text:"Чтобы оформить карту,<br /> обратитесь в банк",types:[m.MASS]}].filter(e=>e.types.find(e=>e===l)&&!(e.link===n&&r)),[t,n,l,a,r]);return(0,D.jsx)("div",{className:tD().container,children:(0,D.jsx)(tN,{className:o,title:"Где оформить дебетовую карту",id:e8,isMobile:i,slides:s,eventCategory:a,withNewMarkup:!1})})};var tL={src:"/debit-cards/_next/static/media/edit.c0611721.svg",height:16,width:16,blurWidth:0,blurHeight:0};function ty(e){let{src:t,alt:a,fallbackSrc:n,...l}=e,[i,o]=(0,L.useState)(t);return(0,D.jsx)(Z(),{...l,src:i,alt:a,onError:()=>o(n)})}let tA=(e,t)=>(t>0&&!Number.isInteger(e)&&!Number.isNaN(e)&&String(e).split(".")[1].length>t&&(e=+e.toFixed(t)),e),tC=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return e=tA(e,t),new Intl.NumberFormat("ru-RU",{useGrouping:"min2"}).format(e)};var tf=a(95236),tO=a.n(tf),tz={src:"/debit-cards/_next/static/media/debitCard.cce7ba50.png"};let tI=(0,L.memo)(e=>{let{value:t,isArchive:a,title:n,captionTitle:l,isMobile:i,titleImage:o,onEdit:r,onChartClick:s}=e,c=t?tC(t).split(","):null,u={width:(null==o?void 0:o.isSquare)?i?50:76:42,height:(null==o?void 0:o.isSquare)?i?32:48:42},d=!a&&c&&(0,D.jsxs)("h5",{className:tO().result,children:[(0,D.jsxs)("span",{className:tO().resultText,children:[c[0],c[1]?(0,D.jsxs)(D.Fragment,{children:[",",(0,D.jsxs)("span",{className:tO().resultTextFloat,children:[c[1]," ₽"]})]}):" ₽"]}),!a&&r&&(0,D.jsx)("button",{className:tO().resultButton,onClick:s,children:(0,D.jsx)(Z(),{className:tO().resultIcon,src:tL,alt:"edit"})})]});return(0,D.jsxs)("div",{className:tO().head,children:[(0,D.jsxs)("div",{className:tO().computedTitle,children:[(0,D.jsxs)("div",{className:tO().titleWrapper,children:[l&&(0,D.jsx)("p",{className:tO().captionTitle,children:l}),n?(0,D.jsx)("h3",{className:tO().title,children:n}):d]}),n&&o&&(0,D.jsx)(ty,{...u,className:tO().img,unoptimized:!0,src:o.url,fallbackSrc:tz.src,alt:"logo"})]}),n&&d]})});tI.displayName="ComputeHead";var tE={src:"/debit-cards/_next/static/media/detailed.37f1b990.svg",height:16,width:16,blurWidth:0,blurHeight:0},tS=a(28453),tU=a.n(tS);let tY=e=>{let{className:t,text:a,tooltipText:n,theme:l="primary",tipIcon:i,onTooltipOpen:o}=e;return(0,D.jsx)("div",{className:(0,Q.Z)(tU().tag,{[tU().tagPrimary]:"primary"===l,[tU().tagSecondary]:"secondary"===l,[tU().tagPink]:"pink"===l,[tU().tagYellow]:"yellow"===l},t),children:n&&(0,D.jsx)(eP,{className:tU().detail,iconSrc:tE,text:n,iconClassName:tU().detailIcon,icon:i,onOpen:()=>null==o?void 0:o(a),children:(0,D.jsx)("span",{className:tU().text,children:a})})})};var tP=a(14443),tQ=a.n(tP);let tB=(0,L.memo)(e=>{let{className:t,sum:a,overpayment:n,isMobile:l}=e,i=[{value:a,color:"#FFE576",title:"Сумма кредита"},{value:n,color:"#6A80EF",title:"Переплата"}];return(0,D.jsxs)("div",{className:(0,Q.Z)(tQ().wrapper,t),children:[(0,D.jsx)("ul",{className:tQ().legend,children:i.map(e=>(0,D.jsxs)("li",{className:tQ().legendItem,children:[(0,D.jsx)("div",{style:{backgroundColor:e.color},className:tQ().legendColor}),(0,D.jsx)("div",{className:tQ().legendTitle,children:e.title}),(0,D.jsxs)("div",{className:tQ().legendValue,children:[tC(e.value,2)," ₽"]})]},e.color))}),(0,D.jsxs)("div",{className:tQ().chart,children:[(0,D.jsx)(I.HB,{stroke:"#fff",strokeWidth:l?2:0,items:i.map(e=>({...e,value:e.value||.01})),className:tQ().chartValues}),(0,D.jsxs)("div",{className:tQ().chartResult,children:[tC(a+n,2)," ₽"]})]})]})});tB.displayName="ComputeChart";var tR=a(49929),tW=a.n(tR);let tH=(0,L.memo)(e=>{let{className:t,label:a,value:n,description:l}=e;return(0,D.jsxs)("li",{className:(0,Q.Z)(tW().value,t),children:[(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:a}}),l&&(0,D.jsx)(I.qQ,{text:l,className:tW().detail,keyValue:n}),(0,D.jsx)("div",{className:tW().valueDash}),(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:String(n)}})]})});tH.displayName="ComputeRow";var tF=a(96746),tZ=a.n(tF);let tV=(0,L.memo)(e=>{let{pageUrl:t,isArchive:a,title:n,captionTitle:l,titleImage:i,tag:o,tagTheme:r,valuesList:s,disclaimer:u,agreement:d,footerActions:_,onEdit:m,amount:M,repayment:p,isMobile:v,className:g}=e,[h,x]=(0,L.useState)(!1),T=(0,L.useCallback)(()=>{en({eventCategory:t,eventAction:c.popup,eventActionText:"chart"}),x(e=>!e)},[t]);return(0,D.jsxs)(I.W2,{className:(0,Q.Z)(tZ().container,h&&tZ().containerChart,g),children:[(0,D.jsx)(tI,{isArchive:a,title:n,captionTitle:l,titleImage:i,isChartOpen:h,onChartClick:T,onEdit:m,value:M,isMobile:!!v}),(0,D.jsxs)("div",{className:tZ().info,children:["number"==typeof p&&M&&M>0&&(0,D.jsx)(tB,{isMobile:v,className:(0,Q.Z)(tZ().chart,h&&tZ().chartVisible),sum:M,overpayment:p}),o&&!a&&(0,D.jsx)(tY,{className:tZ().tag,text:o,theme:r}),(0,D.jsx)("ul",{className:tZ().valueContainer,children:s.map(e=>(0,D.jsx)(tH,{description:e.description,label:e.label,value:e.value,className:tZ().value},e.label))}),!a&&(null==u?void 0:u.length)&&(0,D.jsx)("p",{className:tZ().disclaimer,children:u}),_&&(0,D.jsx)("div",{className:tZ().footerActions,children:_}),d&&(0,D.jsx)("p",{className:tZ().agreement,children:d})]})]})});tV.displayName="ComputedBlock";var tJ=a(59194),tX=a(82588),tK=a.n(tX);let tG=e=>{let{isOpen:t,className:a,direction:n="vertical",style:l={},scrollTo:i,isMobile:o,isMoreVisible:r=!1,isAnimationDisabled:s=!1,onOpen:c,...u}=e,d=(0,L.useRef)(()=>null),_=(0,L.useRef)(null),[m,M]=(0,L.useState)(t?"auto":0),[p,v]=(0,L.useState)(null),[g,h]=(0,L.useState)(!0);return(0,L.useEffect)(()=>{if(_.current&&clearTimeout(_.current),d.current&&window&&window.removeEventListener("resize",d.current),d.current=()=>{t&&p?(M("vertical"===n?p.scrollHeight:p.scrollWidth),_.current=setTimeout(()=>{h(!1)},300)):t||(h(!0),_.current=setTimeout(()=>{M(0)}))},d.current(),i&&t&&p&&(0,I.ld)(p,{offset:64,position:"bottom"}),window)return window.addEventListener("resize",d.current),()=>window.removeEventListener("resize",d.current)},[n,p,t,i]),(0,D.jsxs)("div",{className:(0,Q.Z)(tK().wrapper,s&&tK().disableAnimation),children:[(0,D.jsx)("div",{role:"collapse-container",ref:v,className:(0,Q.Z)(tK().container,(g||!t)&&tK().containerHidden,a),style:{...l,["vertical"===n?"height":"width"]:!g&&t?"auto":m},"data-testid":"collapse-container",...u}),r&&o&&(0,D.jsx)(I.zx,{className:tK().button,label:t?"Свернуть":"Подробнее",onClick:c,size:"xs",variant:"secondary",iconRight:(0,D.jsx)(tJ.IconFdsChevronDownO,{className:(0,Q.Z)(tK().icon,t&&tK().expanded)}),stretch:!0})]})};(s=v||(v={})).addToList="addToList",s.like="like",s.share="share",s.chart="chart",s.arrow="arrow",s.arrowBack="arrowBack";let tq={[v.addToList]:{src:"/debit-cards/_next/static/media/add-to-list.4c5b9b95.svg",height:16,width:16,blurWidth:0,blurHeight:0},[v.like]:{src:"/debit-cards/_next/static/media/like.cbfb0fe7.svg",height:16,width:16,blurWidth:0,blurHeight:0},[v.share]:{src:"/debit-cards/_next/static/media/share.eccc37fd.svg",height:16,width:16,blurWidth:0,blurHeight:0},[v.chart]:{src:"/debit-cards/_next/static/media/chart.daf7390a.svg",height:48,width:48,blurWidth:0,blurHeight:0},[v.arrow]:eq,[v.arrowBack]:{src:"/debit-cards/_next/static/media/arrow-back.09de234e.svg",height:24,width:24,blurWidth:0,blurHeight:0}};var t$=a(95216),t0=a.n(t$);let t1=(0,L.memo)(e=>{let{icon:t,alt:a,iconClassName:n,className:l,href:i,onClick:o,name:r,...s}=e,c=(0,D.jsx)(Z(),{className:(0,Q.Z)(t0().icon,n),src:tq[t],alt:a}),u=(0,Q.Z)(t0().action,l),d=()=>null==o?void 0:o(r);return i?(0,D.jsx)(A(),{className:u,href:i,onClick:d,...s,children:c}):(0,D.jsx)("button",{className:u,onClick:d,...s,children:c})});t1.displayName="Action";var t4=a(25294),t5=a.n(t4);let t2=(0,L.memo)(e=>{let{list:t,isMobile:a,onClickChild:n,onClickItem:l,className:i}=e,[o,r]=(0,L.useState)(null),s=(e,t)=>()=>{t&&r(t=>e===t?null:e),l(e)};return(0,L.useEffect)(()=>{r(null)},[a]),(0,D.jsx)("div",{className:(0,Q.Z)(t5().container,i),children:t.map(e=>(0,D.jsxs)(L.Fragment,{children:[e.childList&&(0,D.jsxs)(tG,{isOpen:o===e.name,direction:"horizontal",className:(0,Q.Z)(t5().childContainer,a&&t5().childContainerMobile),children:[e.childList.map(t=>(0,D.jsx)("button",{title:t.name,onClick:()=>n(e.name,t.name),className:(0,Q.Z)(t5().action,t5().actionSocial),children:t.icon},t.name)),a&&(0,D.jsx)(t1,{onClick:()=>r(null),alt:"close",icon:v.arrow,name:"share",className:(0,Q.Z)(t5().action,t5().actionArrow),iconClassName:t5().actionArrowIcon})]}),(0,D.jsx)(t1,{onClick:s(e.name,!!e.childList),name:e.name,alt:e.name,icon:o!==e.name||a?e.icon:v.arrow,className:(0,Q.Z)(t5().action,o===e.name&&!a&&t5().actionArrow),iconClassName:(0,Q.Z)(o===e.name&&!a&&t5().actionArrowIcon),title:e.title})]},e.name))})});t2.displayName="Actions";let t3=e=>e.length?e[0].toUpperCase()+e.slice(1):"";function t6(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=(0,I._m)("m"),l=(0,I._m)("l");return a?n?-(80+(l?e:t)):-(56+t):l?-e:-t}var t8={src:"/debit-cards/_next/static/media/warning-cat.19d38374.svg",height:329,width:348,blurWidth:0,blurHeight:0},t9=a(16636),t7=a.n(t9);let ae=e=>{let{onClose:t,text:a,title:n}=e;return(0,D.jsxs)("div",{children:[(0,D.jsx)(Z(),{className:t7().image,src:t8,alt:"warning cat",width:347.46,height:328}),(0,D.jsx)("h5",{className:t7().title,children:n}),(0,D.jsx)("p",{className:t7().text,children:a}),(0,D.jsx)(I.zx,{onClick:t,size:"s",className:t7().button,children:"Понятно, спасибо"})]})},at=(0,L.memo)(e=>(0,D.jsxs)(eA.h,{children:[!e.isMobile&&(0,D.jsx)(I.dy,{contentClassName:t7().drawer,isOpen:e.isOpen,onClose:e.onClose,children:(0,D.jsx)(ae,{...e})}),e.isMobile&&(0,D.jsx)(I.jr,{className:t7().mobilePopup,isOpen:e.isOpen,onClose:e.onClose,children:(0,D.jsx)(ae,{...e})})]}));function aa(){return(aa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(null,arguments)}at.displayName="PromoStubModal";var an=function(e){return L.createElement("svg",aa({width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),g||(g=L.createElement("rect",{width:28,height:28,rx:14,fill:"#F80"})),h||(h=L.createElement("path",{d:"M13.984 4.163a5.025 5.025 0 1 0 0 10.05 5.025 5.025 0 0 0 0-10.05Zm0 7.102a2.077 2.077 0 1 1 0-4.154 2.077 2.077 0 0 1 0 4.154ZM15.758 18.21c2.012-.409 3.217-1.362 3.281-1.413a1.366 1.366 0 1 0-1.71-2.132c-.012.01-1.297.997-3.413.998-2.115-.001-3.428-.988-3.44-.998a1.366 1.366 0 0 0-1.71 2.132c.065.052 1.32 1.03 3.388 1.43l-2.882 3.012a1.366 1.366 0 1 0 1.967 1.896l2.677-2.852 2.948 2.87a1.366 1.366 0 1 0 1.93-1.933l-3.036-3.01ZM13.916 15.663c-.003 0 .003 0 0 0s.003 0 0 0Z",fill:"#fff"})))};function al(){return(al=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(null,arguments)}var ai=function(e){return L.createElement("svg",al({width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),x||(x=L.createElement("rect",{width:28,height:28,rx:14,fill:"#20A0E1"})),T||(T=L.createElement("path",{d:"m9.477 15.023 1.66 4.598s.208.43.43.43c.223 0 3.53-3.44 3.53-3.44l3.678-7.105-9.239 4.33-.06 1.187Z",fill:"#E3E7EC"})),N||(N=L.createElement("path",{d:"m11.679 16.202-.319 3.39s-.133 1.038.905 0c1.038-1.04 2.032-1.84 2.032-1.84",fill:"#C2C2C6"})),j||(j=L.createElement("path",{d:"M9.507 15.187 6.09 14.074s-.408-.165-.277-.541c.027-.078.082-.143.245-.257.757-.527 14.012-5.292 14.012-5.292s.375-.126.596-.042a.323.323 0 0 1 .22.24c.023.098.033.2.03.301-.002.088-.013.17-.02.297-.081 1.303-2.497 11.024-2.497 11.024s-.145.569-.663.588a.948.948 0 0 1-.691-.267c-1.016-.874-4.529-3.235-5.305-3.754a.148.148 0 0 1-.064-.105c-.01-.055.049-.122.049-.122s6.116-5.437 6.279-6.008c.013-.044-.035-.066-.099-.046-.406.149-7.448 4.596-8.226 5.087a.373.373 0 0 1-.172.01Z",fill:"#fff"})))};function ao(){return(ao=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e}).apply(null,arguments)}var ar=function(e){return L.createElement("svg",ao({width:28,height:28,viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),w||(w=L.createElement("rect",{width:28,height:28,rx:14,fill:"#4A76A8"})),b||(b=L.createElement("path",{d:"M15.099 19.367a.453.453 0 0 1-.304.437c-2.578.861-6.39-1.142-8.85-5.39-.76-1.315-1.486-2.83-1.934-4.552 0-.065-.003-.126-.006-.184-.023-.454-.034-.675 1.511-.675 1.152 0 1.586-.04 1.83.151.303.238.311.835 1.046 2.313 1.495 3.012 2.835 4.188 3.085 3.59a.306.306 0 0 0 .02-.123c-.004-.418-.025-2.832-.025-3.717 0-.603-.271-.977-.575-1.277-.457-.451-.184-.937.466-.937h2.289c1.392 0 1.447.069 1.444.651h.003v4.388c.017.084.047.14.087.182a.316.316 0 0 0 .217.091c.503.02 1.31-.652 2.69-3.035.326-.564.533-1 .69-1.33.195-.412.311-.656.48-.77.212-.142.45-.141 1.265-.138h.41c1.26 0 1.508 0 1.62.28.061.151.046.32-.007.473-.438 1.269-1.564 2.87-2.468 4.154l-.383.546c-.17.244-.186.54.014.762.184.204.444.466.737.762 1.36 1.374 3.45 3.485 2.128 3.923a.753.753 0 0 1-.233.032h-2.282c-.503.035-1.04-.558-1.617-1.196-.131-.145-.264-.291-.4-.434l-.312-.292c-.664-.627-1.325-1.25-2.074-1.346a.591.591 0 0 0-.282.03c-.133.05-.206.115-.246.208l-.032.073-.002.006v2.345Z",fill:"#fff"})))};let as=e=>{let{dataUrl:t,pageUrl:a,title:n}=e,l=(0,E.xn)((0,f.OB)("NEXT_PUBLIC_BASE_URL")||"",a,t),i=[{icon:(0,D.jsx)(ar,{}),url:"https://vk.com/share.php?url=".concat(l,"&title=").concat(n),name:"vk"},{icon:(0,D.jsx)(an,{}),url:"https://connect.ok.ru/offer?url=".concat(l,"&title=").concat(n),name:"Ok"},{icon:(0,D.jsx)(ai,{}),url:"https://telegram.me/share/url?url=".concat(l,"&text=").concat(n),name:"telegram"}];return[{name:"share",icon:v.share,title:"Поделиться",childList:i}]};var ac=a(20696),au=a.n(ac);let ad=(0,f.OB)("NEXT_PUBLIC_BASE_URL"),a_=(0,L.memo)(e=>{let{className:t,data:a,bank:n,isArchive:l,pageUrl:i,titlePromo:o,title:r,scrollBlockId:s,isMobile:u,isSmall:d,tagTheme:_="orange",moreAboutLinkText:m="",withNewMarkup:M,eventCategory:p="",hideShareLinks:v=!1,isTag:g=!0}=e,{id:h}=a,x=(0,L.useRef)({title:"",text:""}),[T,N]=(0,L.useState)(!1),j=(0,L.useMemo)(()=>as({dataUrl:a.url,pageUrl:i,title:r}),[a.url,i,r]),w=t6(),b=(0,L.useCallback)(e=>{switch(e){case"share":(0,ee.l)({eventCategory:p,eventAction:M?"click_share":"show_pop_up_share",eventLabel:M?String(h):void 0});break;case"compare":x.current={title:"Скоро заработает",text:"Мы уже заканчиваем работу над разделом. Скоро вы сможете сравнивать предложения и выбирать выгодные условия по кредиту"},N(!0);break;case"like":x.current={title:"\xabИзбранное\xbb скоро заработает",text:"Мы уже доделываем этот раздел и скоро представим его вам. Вы сможете добавлять в него лучшие предложения"},N(!0)}},[p,h,M]),k=(0,L.useCallback)((e,t)=>{if("share"===e){var a;let e=null===(a=j.find(e=>"share"===e.name))||void 0===a?void 0:a.childList,n=null==e?void 0:e.find(e=>e.name===t);n&&((0,ee.l)({eventCategory:p,eventAction:M?"click_share_"+n.name:"click_button_share",eventLabel:M?String(h):void 0,url:M?void 0:n.url}),window.open(n.url,"","toolbar=0,status=0,scrollbars=1,resizable=1,width=500,height=300"))}},[j,M,p,h]),y=(0,L.useCallback)(()=>{en({eventCategory:i,eventAction:c.popup,eventActionText:"warning"}),N(!1)},[i]),C=(0,L.useCallback)(()=>s?(0,I.ld)(s,{offset:w,position:"top"}):null,[s,w]);return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)("section",{className:(0,Q.Z)(au().wrapper,{[au().wrapperArchive]:l,[au().wrapperSmall]:l||d,[au().wrapperHideShareLinks]:v},t),children:[(0,D.jsxs)(I.W2,{className:(0,Q.Z)(au().company,d&&au().companySmall),children:[(0,D.jsx)("div",{children:(0,D.jsxs)("h1",{className:au().title,children:[r,(0,D.jsxs)("span",{className:(0,Q.Z)(au().subTitle,l&&au().subTitleArchive),children:[!d&&(0,D.jsx)(I.$,{className:(0,Q.Z)(au().chip,au().chipDesc),text:t3(o),color:_})," ",(0,D.jsxs)("span",{className:au().subTitleText,children:["\xab",a.title,"\xbb"]})]})]})}),(null==n?void 0:n.logoMob)&&(0,D.jsx)(A(),{href:"".concat(ad,"/banki/").concat(n.url,"/").concat(i),className:(0,Q.Z)(au().logoContainer,(l||d)&&au().logoContainerArchive),target:"_self",onClick:()=>{(null==n?void 0:n.name)&&(0,ee.l)({eventCategory:"vklady",eventAction:M?"click_company_logo_"+ea(n.name):"click_link"+n.name,eventLabel:M?String(h):void 0,url:M?void 0:"".concat(ad,"/banki/").concat(n.url)})},children:(0,D.jsx)(Z(),{className:au().logo,src:n.logoMob,alt:"логотип банка",width:48,height:48})})]}),(0,D.jsxs)(I.W2,{className:(0,Q.Z)(au().actionsContainer,d&&au().actionsContainerSmall),children:[(0,D.jsxs)("div",{className:au().actions,children:[g&&(0,D.jsx)(I.$,{className:(0,Q.Z)(au().chip,(!d||u)&&au().chipMob),text:t3(o),color:_}),!l&&!v&&(0,D.jsx)(t2,{isMobile:u||d,list:j,onClickItem:b,onClickChild:k})]}),!l&&!!(null==m?void 0:m.length)&&(0,D.jsx)(es,{offPadding:!0,text:m,iconColor:"light",mainPageUrl:i,className:au().link,onClick:C})]})]}),(0,D.jsx)(at,{isMobile:u,onClose:y,text:x.current.text,title:x.current.title,isOpen:T})]})});a_.displayName="Promo";var am=a(82941),aM=a.n(am);let ap=(0,L.memo)(e=>{let{className:t,url:a,text:n,title:l}=e;return(0,D.jsxs)(I.W2,{className:(0,Q.Z)(aM().container,t),children:[(0,D.jsx)("h3",{className:aM().title,dangerouslySetInnerHTML:{__html:l}}),(0,D.jsx)("h4",{className:aM().text,dangerouslySetInnerHTML:{__html:n}}),(0,D.jsx)(I.zx,{as:"a",variant:"purple",href:"/".concat(a),onClick:()=>{en({eventCategory:a,eventAction:c.button,eventActionText:"Подобрать предложение",url:"".concat((0,f.OB)("NEXT_PUBLIC_BASE_URL"),"/").concat(a)})},className:aM().button,children:"Подобрать предложения"})]})});ap.displayName="ArchivePromo";var av={src:"/debit-cards/_next/static/media/app-qr.cccd9ede.svg",height:256,width:256,blurWidth:0,blurHeight:0},ag=a(810),ah=a.n(ag),ax={src:"/debit-cards/_next/static/media/adv-apps.5ef11a39.png",height:132,width:210,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAP1BMVEX08vq0v+n/+/+2mrDK3PXm7Pnl3u9MaXHj5/zx+f+coKiSzL3ExttwdIKH1e7Pr7/K5t+vyfmdu/icvPj////+rJWWAAAAFXRSTlM3bx6lQxRWAC49hMqnwXxwaoGizwNh61ZuAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAMElEQVR4nAXBhwHAIAwEsQMMb5NCSfafFQnVNOxbP8p3cc8JCWyyUQ3eqzmKp0dzOxvZATbJf2l8AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5};let aT=(0,L.memo)(e=>{let{bannerUrl:t,className:a,isSmall:n}=e;return tw()?null:(0,D.jsx)(I.KF,{className:(0,Q.Z)(a,ah().qrAd),QrImage:e=>{let{className:t}=e;return(0,D.jsx)(Z(),{alt:"qr",unoptimized:!0,src:av,className:t})},Link:e=>(0,D.jsx)(A(),{...e,href:t||e.href,target:"_self"}),BgImage:e=>{let{className:t}=e;return(0,D.jsx)(Z(),{alt:"qr",unoptimized:!0,src:ax,className:t})},isSmall:n})});aT.displayName="QrAd";let aN=()=>{var e,t;let a="browserId",n=(0,tj.$)();return{browserId:(null===(e=localStorage)||void 0===e?void 0:e.getItem(a))||(null==n?void 0:n[a])||null,sessionId:null===(t=sessionStorage)||void 0===t?void 0:t.getItem(a),customerId:(null==n?void 0:n["auth.gtm_customer_id"])||null}},aj=e=>{var t,a;let n=null==e?void 0:null===(t=e.online_application)||void 0===t?void 0:t.links;if(!n||!Array.isArray(n)||0===n.length)return null;let l=["akcii_special","akcii_special1","akcii_special2","akcii_special3"].reduce((e,t)=>(window.location.href.includes(t)&&(e=t),e),"akcii5");for(let e of n)if((null===(a=e.description)||void 0===a?void 0:a.includes(l))&&e.url)return e.url;return null},aw=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t=Object.fromEntries(new URLSearchParams(window.location.search).entries());let a=aN(),n=(0,tj.$)(),l=e.includes("?")?"&":"?",i=null==n?void 0:n._ym_uid,o=t.utm_campaign?"&utm_campaign="+t.utm_campaign+"&t1="+t.utm_campaign:"",r=t.utm_source?"&utm_source="+t.utm_source+"&t2="+t.utm_source:"",s=t.utm_content?"&utm_content="+t.utm_content+"&t3="+t.utm_content:"",c=t.utm_medium?"&utm_medium="+t.utm_medium+"&t4="+t.utm_medium:"",u=t.utm_term?"&utm_term="+t.utm_term+"&t5="+t.utm_term:"",d=a.sessionId?"&t7="+a.sessionId:"";return e+l+(i?"yandex_client_id="+i:"")+o+r+s+c+u+(i?"&t6="+i:"")+d+(a.browserId?"&t8="+a.browserId:"")+(a.customerId?"&t9="+a.customerId:"")},ab=function(e){var t;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=aj(e);return n?aw(n,a):aw((null===(t=e.online_application)||void 0===t?void 0:t.url)||"".concat((0,f.OB)("NEXT_PUBLIC_BASE_URL"),"/mikrozajmy/").concat(e.url),a)};var aD=a(30736),ak=a.n(aD);let aL=e=>{var t;let{pageType:a,pageUrl:n,data:l,isMobile:i,bank:o,contactlessCardTypes:r,cardTypes:s}=e,{query:u}=(0,C.useRouter)(),d=(0,L.useRef)(""),_=t6();(0,L.useEffect)(()=>{d.current=ab(l,u)},[l,u]);let M=a===m.ARCHIVE,p=()=>{var e;return(0,D.jsx)(a_,{data:{id:l.id,url:l.url,title:l.title},bank:{logoMob:null==o?void 0:o.logo_mob,url:null==o?void 0:o.url,name:null!==(e=null==o?void 0:o.name)&&void 0!==e?e:l.bank_name},pageUrl:n,titlePromo:" Дебетовая карта",title:l.bank_name,moreAboutLinkText:"Подробнее о карте",scrollBlockId:e9,isSmall:!0,tagTheme:"yellow",isMobile:i,isArchive:M,className:ak().promo,withNewMarkup:!1})},v=(0,L.useMemo)(()=>{let e=[],t=[];return l.card_type.ids.forEach(t=>{let a=s.find(e=>e.id===t);a&&e.push(a.title)}),l.card_type.custom&&e.push(l.card_type.custom),l.card_type.ids.forEach(e=>{let a=r.find(t=>t.id===e);a&&t.push(a.title)}),e.join(" / ")},[l,r,s]),g=(0,L.useMemo)(()=>{var e,t,n;let i=[{label:"Плата за выпуск",value:l.service_cost.release_cost},{label:"Тип карты",value:v},{label:"Обслуживание",value:l.service_cost.second_year_cost||l.service_cost.first_year_cost},{label:"Лимит на снятие наличных",value:(null===(e=l.cash_withdrawal_limit)||void 0===e?void 0:e.text)||(null===(t=l.cash_withdrawal_limit)||void 0===t?void 0:t.comment)||""},{label:"Процент на остаток",value:l.balance_interest_number?"".concat((0,I.$1)(+l.balance_interest_number),"%"):"Нет"},{label:"Кешбэк",value:l.cash_back.has&&((null===(n=l.cash_back.action)||void 0===n?void 0:n.toLocaleLowerCase())||l.cash_back.custom)||"Нет"},{label:"3D Secure",value:l["3d_secure"]?"Есть":"Нет"}],o=[i[0],i[1]],r=[i[2],i[0],i[4],i[5],i[1]];return a!==m.ARCHIVE?r:o},[v,l,a]),h=(e,t)=>{en({eventCategory:n,eventAction:c.button,eventActionText:e}),(0,I.ld)(t,{offset:_,position:"top"})};return(0,D.jsxs)("div",{className:(0,Q.Z)(ak().container,{[ak().containerFull]:!M&&!1,[ak().containerArchive]:M}),children:[(0,D.jsxs)("div",{className:ak().left,children:[!M&&p(),M&&(0,D.jsx)(ap,{title:"Карта в архиве",url:n,text:"Ее уже нельзя открыть. Но мы можем подобрать для вас другие предложения по дебетовым картам от разных банков"}),(0,D.jsx)(aT,{isSmall:!0,className:ak().qrDesc})]}),(0,D.jsxs)("div",{className:ak().right,children:[M&&p(),(0,D.jsx)(tV,{title:"Дебетовая карта ".concat(null!==(t=null==o?void 0:o.name)&&void 0!==t?t:l.bank_name),captionTitle:M?"Карта в архиве":"",titleImage:{url:"".concat(ec._,"/img/d_cards/").concat(l.image),isSquare:!0},pageUrl:n,tag:l.online_application.commercial_desc,tagTheme:"yellow",footerActions:!M&&(0,D.jsxs)(D.Fragment,{children:[a===m.LEAD&&!!l.online_application.commercial&&(0,D.jsx)(I.zx,{as:"a",onClick:e=>{var t;en({eventCategory:n,eventAction:c.link,eventActionText:null!==(t=e.currentTarget.textContent)&&void 0!==t?t:""})},href:d.current,target:"_blank",className:ak().button,variant:"primary",children:"Оформить на сайте банка"}),(0,D.jsx)(I.zx,{onClick:e=>{var t;return h(null!==(t=e.currentTarget.textContent)&&void 0!==t?t:"",e8)},className:ak().button,variant:"secondary",children:"Где оформить карту"})]}),isArchive:M,valuesList:g}),(0,D.jsx)(aT,{isSmall:!0,className:ak().qrMob})]})]})};var ay=a(98219),aA=a.n(ay);let aC=(0,L.memo)(e=>{var t;let{data:a,className:n,onClickDetail:l,onClick:i,eventCategory:o}=e,r=(0,L.useRef)(null),s=(0,L.useRef)(!1),u=(0,L.useRef)(null),d={name:"",caption:""},_={name:"",caption:""},m={name:"",caption:""};d.caption="Обслуживание в год",d.name=a.service,_.caption="Процент на остаток",_.name=a.balanceInterest?"".concat((0,I.$1)(+a.balanceInterest),"%"):"Нет";let M=a.cashBackValue?"".concat(a.bonusText," ").concat(a.cashBackValue):a.bonusText;m.caption="Бонусы",m.name=(0,D.jsx)("div",{className:aA().bonusText,children:M});let p=(0,L.useMemo)(()=>(function(e,t){let a=[{text:"Дебетовая карта",backGround:"orange"}];return e&&a.push({text:e,backGround:"purple"}),t&&a.push({text:t,backGround:"white"}),a})(a.typeText,a.tag),[a.tag,a.typeText]),v=e=>{o&&(0,ee.l)({event:"data-event",eventAction:e,eventCategory:o,eventLabel:a.id,eventValue:a.eventValue}),null==i||i(a)},g=()=>{l(a),o&&en({eventCategory:o,eventAction:c.button,eventActionText:"open_modal"})},h=(0,L.useCallback)(e=>{let[t]=e;1===t.intersectionRatio&&!s.current&&(o&&(0,ee.l)({event:"data-event",eventAction:"show_in_catalog",eventCategory:o,eventLabel:a.id}),s.current=!0,r.current&&u.current&&r.current.unobserve(u.current))},[a.id,o]);return(0,L.useEffect)(()=>{r.current&&u.current&&r.current.unobserve(u.current),!s.current&&u.current&&(r.current=new IntersectionObserver(h,{root:null,threshold:[1]}),r.current.observe(u.current))},[h]),(0,D.jsx)("div",{ref:u,className:n,onClick:()=>v("click_button_".concat(ea("Подать заявку"))),"data-testid":"card-list-item",children:(0,D.jsx)(I.Ad,{type:"credit",icon:{type:"rectangle",element:(0,D.jsx)(ty,{className:aA().img,unoptimized:!0,width:76,height:46,src:null!==(t=a.image)&&void 0!==t?t:"",fallbackSrc:tz.src,alt:"logo"})},title:a.bankName,titleCaption:a.title,href:a.url,tags:p,target:"_self",advantageAmountFrom:d,advantageBonus:_,advantageAmountTo:m,onOpenDetailModal:g,onDetailClick:g,className:aA().plate})})});aC.displayName="CardListItem";var af=a(99337),aO=a.n(af);let az=e=>{let{data:t,cardTypes:a,contactlessCardTypes:n}=e,l=(0,L.useMemo)(()=>t&&a&&n?tu(t,a,n):null,[a,n,t]);return t?(0,D.jsxs)("div",{className:aO().content,children:[(0,D.jsx)("p",{className:aO().listTitle,children:"Условия оформления карты"}),(0,D.jsx)("ul",{className:aO().list,children:null==l?void 0:l.params.map(e=>(0,D.jsx)(L.Fragment,{children:(0,D.jsx)(eH,{...e})},e.label))}),l&&l.terms.length>0&&(0,D.jsxs)(D.Fragment,{children:[(0,D.jsx)("p",{className:aO().listTitle,children:"Условия"}),(0,D.jsx)("ul",{className:aO().list})]})]}):null},aI=e=>{var t;let a=(0,I._m)("l"),n="Все условия по картам",l=t=>{var a;en({eventAction:c.link,eventActionText:t,eventCategory:e.mainPageUrl,eventLabel:null===(a=e.data)||void 0===a?void 0:a.id})};(0,L.useEffect)(()=>{var t,a;e.bankName&&(null===(t=e.data)||void 0===t?void 0:t.id)&&en({eventAction:c.popup,eventActionText:null==e?void 0:e.bankName,eventCategory:e.mainPageUrl,eventLabel:String(null===(a=e.data)||void 0===a?void 0:a.id)})},[e.isOpen,e.mainPageUrl,e.bankName,null===(t=e.data)||void 0===t?void 0:t.id]);let i=(0,D.jsxs)("div",{className:aO().buttons,children:[(0,D.jsx)(I.zx,{as:"a",onClick:()=>l(n),target:"_blank",href:"".concat(ec._).concat(e.subUrl||e.url),variant:"secondary",className:aO().button,children:n}),(0,D.jsx)(I.zx,{as:"a",onClick:()=>l("Оформить онлайн"),target:"_blank",href:"".concat(ec._).concat(e.url),variant:"primary",className:aO().button,children:"Оформить онлайн"})]});return(0,D.jsx)(eA.h,{children:a?(0,D.jsx)(I.dy,{title:(0,D.jsxs)("div",{className:aO().title,children:[e.logo&&(0,D.jsx)("div",{className:aO().logoContainer,children:(0,D.jsx)(Z(),{className:aO().logo,unoptimized:!0,width:50,height:50,src:e.logo,alt:"logo"})})," ",e.bankName]}),rowTitle:!0,titleAlign:"left",className:aO().drawer,contentClassName:aO().container,isOpen:e.isOpen,onClose:e.onClose,footer:i,children:(0,D.jsx)(az,{...e})}):(0,D.jsx)(I.jr,{className:aO().mobilePopup,contentClassName:aO().container,isOpen:e.isOpen,onClose:e.onClose,footer:i,children:(0,D.jsx)(az,{...e})})})},aE=e=>{let{productList:t,anotherList:a,count:n}=e;return[...t.filter(e=>3===e.online_application.type),...a.filter(e=>3!==e.online_application.type&&1===e.online_application.unplatform_banks),...a.filter(e=>3!==e.online_application.type&&1!==e.online_application.unplatform_banks&&1===e.online_application.commercial),...a.filter(e=>3!==e.online_application.type&&1!==e.online_application.unplatform_banks&&1!==e.online_application.commercial)].slice(0,n)};var aS=a(26270);let aU=e=>(0,aS.t)("/money_data/ServiceDetail.json?url=".concat(e,"&archive=0&service=debitCard")),aY=e=>(0,aS.t)("/money_data/DebitCards.json?limit=".concat(e,"&archive=0"));a(87354),a(36081),a(86092);let aP=e=>{if(1==+e.archive)return m.ARCHIVE;if(1===e.has_online_application||1===e.online_application.commercial)return m.LEAD;if(3!==e.online_application.type&&!e.online_application.unplatform_banks)return m.MASS;throw new S},aQ=e=>{if(!e)return 0;let t=e.split("").filter(e=>Number(e)&&!isNaN(Number(e))||"0"===e).join("");return t.length?Number(t):0},aB=e=>{var t,a,n,l,i,o,r,s,c,u,d;let{banks:_,card:M,currencyUnit:p="₽"}=e,v=_.find(e=>+M.bank_id==+e.id),g="/".concat(td,"/").concat(M.url),h="",x=aQ(M.service_cost.first_year_cost),T=null,N=aP(M);N===m.LEAD&&(T="Подача заявки на сайте банка"),N===m.MASS&&(T="Открытие в банке"),h="non_commercial";let j="Нет",w="";return M.discounts.text&&!M.discounts.text.includes("Нет")&&(j="Есть"),M.cash_back.has&&(j="Кэшбэк",w=null!==(o=null!==(i=null===(l=M.cash_back.action)||void 0===l?void 0:l.toLocaleLowerCase())&&void 0!==i?i:M.cash_back.custom)&&void 0!==o?o:""),M.discounts.text.includes("Путешествия")&&(j="Мили",w=""),{id:M.id,title:M.title,bankId:null!==(r=null==v?void 0:v.id)&&void 0!==r?r:"",bankName:null!==(s=null==v?void 0:v.name)&&void 0!==s?s:M.bank_name,logo:null!==(c=null==v?void 0:v.logo_mob)&&void 0!==c?c:"",url:g,legalName:("string"==typeof(null==v?void 0:v.legal_entities)?JSON.parse(null==v?void 0:v.legal_entities)[0].name:null==v?void 0:null===(t=v.legal_entities)||void 0===t?void 0:t[0].name)||"",service:"".concat(tC(x)," ").concat(p),limitPermonth:Number(null!==(u=null===(a=M.cash_withdrawal_limit)||void 0===a?void 0:a.comment)&&void 0!==u?u:0),limitPerday:Number(null!==(d=null===(n=M.cash_withdrawal_limit)||void 0===n?void 0:n.text)&&void 0!==d?d:0),currency:"₽",tag:M.online_application.commercial_desc,typeText:T,eventValue:h,image:M.image?"".concat(ec._,"/img/d_cards/").concat(M.image):tz.src,balanceInterest:M.balance_interest_number,bonusText:j,cashBackValue:w}};var aR=a(24369),aW=a.n(aR);let aH=(0,L.memo)(e=>{var t;let{pageUrl:a,bank:n,banks:l,currentCardId:i,debitCards:o,debitCardsFinuslugi:r,cardTypes:s,contactlessCardTypes:u,className:d}=e,{town:_}=(0,eN.k)(),[m,M]=(0,L.useState)(null),p=(0,L.useCallback)(()=>{M(null)},[]),v=(0,L.useCallback)(e=>{en({eventCategory:a,eventAction:c.link,eventActionText:e.title,eventLabel:e.id,url:e.url})},[a]),g=(0,L.useCallback)(e=>{M(e),e&&en({eventCategory:a,eventAction:c.popup,eventActionText:e.title,eventLabel:e.id})},[a]),h=(0,L.useMemo)(()=>{let e=o?o.filter(e=>e.id!==i):[];return aE({productList:e,anotherList:e,count:3})},[o,i]),x=(0,L.useMemo)(()=>{let e=r||[];return aE({productList:e,anotherList:e,count:5-h.length})},[h.length,r]),T=(0,L.useMemo)(()=>({bankList:h.map(e=>aB({banks:[n],card:e})),finuslugiList:x.map(e=>aB({banks:l,card:e}))}),[n,l,h,x]),N=(0,L.useMemo)(()=>{if(m)return[h,x].reduce((e,t)=>[...e,...t],[]).find(e=>e.id===m.id)},[h,m,x]),j="".concat(ec._,"/banki/").concat(n.url,"/debetovye_karty").concat((null==_?void 0:_.url.length)?"/reg_"+_.url:"");return(0,D.jsxs)(D.Fragment,{children:[(0,D.jsxs)("section",{id:"productsList",className:(0,Q.Z)(aW().container,d),children:[(0,D.jsx)("h3",{className:aW().title,children:"Другие предложения"}),(0,D.jsxs)(eh.t,{children:[T.bankList.length?(0,D.jsxs)("section",{className:aW().offersListContainer,children:[(0,D.jsxs)("p",{className:aW().listTitle,children:["Дебетовые карты от ",n.name]}),T.bankList.map(e=>(0,D.jsx)(L.Fragment,{children:(0,D.jsx)(aC,{onClickDetail:g,className:aW().listItem,data:e,onClick:v,eventCategory:a,text:"Подать заявку"},e.url)},e.id)),(0,D.jsx)(es,{offPadding:!0,text:"Bсе предложения от банка",href:j,target:"_self",iconColor:"light",mainPageUrl:a})]}):null,T.finuslugiList.length?(0,D.jsxs)("section",{className:aW().offersListContainer,children:[(0,D.jsx)("p",{className:aW().listTitle,children:"Предложения на Финуслугах"}),T.finuslugiList.map(e=>(0,D.jsx)(L.Fragment,{children:(0,D.jsx)(aC,{onClickDetail:g,className:aW().listItem,data:e,onClick:v,eventCategory:a,text:"Подать заявку"},e.url)},e.id)),(0,D.jsx)(es,{offPadding:!0,text:"Bсе предложения на Финуслугах",href:"".concat(ec._,"/debetovye_karty"),target:"_self",iconColor:"light",mainPageUrl:a})]}):null]})]}),(0,D.jsx)(aI,{data:N,isOpen:!!N,onClose:p,cardTypes:s,contactlessCardTypes:u,bankName:null==m?void 0:m.bankName,logo:null==m?void 0:m.logo,url:null!==(t=null==m?void 0:m.url)&&void 0!==t?t:"",mainPageUrl:a})]})});aH.displayName="DebitCardsList";let aF=()=>(0,aS.t)("/money_data/MfoShort.json"),aZ=e=>{let{bankUrl:t,pageType:a}=e,n=(0,L.useRef)(!1),l=(0,L.useRef)(t).current,[i,o]=(0,L.useState)({debitCards:[],debitCardsFinuslugi:[],mfo:[]});return(0,L.useEffect)(()=>{if(!n.current&&l)return n.current=!0,(async()=>{var e,t,n;let i=[],r=[],s=[],[c,u,d]=await Promise.allSettled([aU(l),aY(5),a===m.ARCHIVE?aF():null]);"fulfilled"===c.status&&(null===(e=c.value)||void 0===e?void 0:e.data)&&(i=c.value.data.debitCards),"fulfilled"===u.status&&(null===(t=u.value)||void 0===t?void 0:t.data)&&(r=u.value.data.debitCards),(null==d?void 0:d.status)==="fulfilled"&&(null===(n=d.value)||void 0===n?void 0:n.data)&&(s=d.value.data.companies),o({debitCards:i,debitCardsFinuslugi:r,mfo:s})})(),()=>{n.current=!0}},[]),i};var aV=a(62273),aJ=a.n(aV),aX=a(83454);let aK=e=>(0,D.jsx)(A(),{...e}),aG=e=>{var t;let{data:a,pageType:n,cardTypes:l,questions:i,advicePosts:o,contactlessCardTypes:r,stores:s,regions:c,searchTags:u,refererTag:d,banks:M,supportData:p}=e,{asPath:v}=(0,C.useRouter)(),{debitCards:g,debitCardsFinuslugi:h,mfo:x}=aZ({bankUrl:a.bank_url,pageType:n}),T=(0,I._m)("l"),N=eb(ex),j=function(e){let{bannersTitle:t,queryParams:a,stores:n}=e,l=(0,I._m)("l"),i=ew(),o=(0,L.useMemo)(()=>{let e=i?[...a,"referer=".concat(i)]:a;return e.length?"?".concat(e.join("&")):""},[i,a]);return(0,L.useMemo)(()=>t.reduce((e,t)=>{let a=null==n?void 0:n.find(e=>e.title===t);if(a){let n=l?a.url_desktop:a.url_mobile;e[t]=n?n+o:""}return e},{}),[t,n,l,o])}({bannersTitle:[_.DEBIT_CARD_DETAIL],queryParams:N,stores:s}),{region:w,town:b}=(0,eN.k)(),k=null==M?void 0:M.find(e=>+e.id===a.bank_id);if(!k)throw new S('The "'.concat(a.bank_name,'" bank not found by ID #').concat(a.bank_id));let y=(null==i?void 0:i.map(e=>({question:e.title,answer:(0,D.jsx)($,{data:[{type:"html",data:{html:e.text.map(e=>e.data.html).join("")}}]})})))||[],A="Дебетовая карта ".concat(a.title," от ").concat(k.name_r," заказать онлайн — условия обслуживания, остаток на проценты"),P="".concat(a.short_description," от ").concat(k.name_r,": условия, требования, лимиты и комиссии, бонусы."),Q=(()=>{let e=(null==b?void 0:b.name_p)||(null==w?void 0:w.name_p)?" в ".concat((null==b?void 0:b.name_p)||(null==w?void 0:w.name_p)):"",t="".concat((null==w?void 0:w.url)?"/reg_".concat(null==w?void 0:w.url):"").concat((null==b?void 0:b.url)?"/".concat(null==b?void 0:b.url):""),n=[{label:"Дебетовые карты".concat(e),href:"/".concat(td).concat(t)}];return d&&n.push({label:"".concat(d.name).concat(e),href:"/".concat(td,"/teg_").concat(d.url).concat(t)}),n.push({label:"".concat(a.bank_name," Дебетовая карта ").concat(a.title)}),n})(),B=(0,L.useMemo)(()=>{var e,t;return JSON.stringify({"@context":"https://schema.org","@type":"BankOrCreditUnion",name:a.bank_name,url:(0,E.xn)(ec._,"banki",a.bank_url),image:a.image?(0,E.xn)(ec._,"img/d_card/220",a.image):void 0,address:{"@type":"PostalAddress",addressLocality:"Россия"},telephone:(null===(t=a.online_application)||void 0===t?void 0:null===(e=t.phones)||void 0===e?void 0:e[0])||void 0})},[a.bank_name,a.bank_url,a.image,null===(t=a.online_application)||void 0===t?void 0:t.phones]),R=(0,L.useMemo)(()=>{var e;let{release_cost:t}=a.service_cost;return JSON.stringify({"@context":"https://schema.org","@type":"Product",name:"Дебетовая карта \xab".concat(a.title,"\xbb"),description:P,image:"".concat(ec._,"/img/d_cards/").concat(a.image),brand:{"@type":"Brand",name:"".concat(a.bank_name)},offers:{"@type":"Offer",price:"Бесплатно"===t?"0":t.replace(/\D/g,""),priceCurrency:ej(a.currency_id).code,url:"".concat(ec._,"/debetovye_karty/").concat(a.url),availability:"https://schema.org/InStock",eligibleRegion:{"@type":"Place",name:"Россия"}},additionalProperty:[{"@type":"PropertyValue",name:"Кэшбэк",value:(null===(e=a.cash_back.action)||void 0===e?void 0:e.toLocaleLowerCase())||a.cash_back.custom||""},{"@type":"PropertyValue",name:"Обслуживание",value:a.service_cost.second_year_cost||a.service_cost.first_year_cost}],aggregateRating:{"@type":"AggregateRating",ratingValue:"4.8",reviewCount:"1276",bestRating:"5",worstRating:"1"}})},[a.title,P,a.image,a.bank_name,a.service_cost,a.currency_id,a.url,a.cash_back]);return(0,D.jsxs)("main",{className:aJ().page,children:[(0,D.jsx)(eg,{productId:String(a.id),title:A,description:P,path:v}),(0,D.jsx)("div",{className:aJ().navigationWrapper,children:(0,D.jsx)(eh.t,{children:(0,D.jsx)(H,{items:Q,isMobile:!T})})}),(0,D.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:B}}),(0,D.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:R}}),(0,D.jsx)(eh.t,{children:(0,D.jsx)(aL,{pageType:n,pageUrl:td,data:a,bank:k,cardTypes:l,contactlessCardTypes:r,isMobile:!T})}),(0,D.jsx)(eh.t,{children:(0,D.jsx)(tM,{data:a,pageUrl:td,cardTypes:l,contactlessCardTypes:r,bank:k})}),n===m.ARCHIVE&&(0,D.jsx)("section",{className:aJ().pickerSection,children:(0,D.jsx)(eh.t,{children:(0,D.jsx)(I.HE,{defaultIndex:2,searchTags:u,carImg:Y.src,bikeImg:U.src,banks:M||[],isMobile:!T,regions:c,mfo:x,cardTypes:l,mainProducts:eT})})}),n!==m.ARCHIVE&&(0,D.jsx)(tk,{pageUrl:td,bannerUrl:j.debetovye_karty_detail,isMobile:!T,pageType:n,url:a.online_application.url}),n!==m.ARCHIVE&&k&&(0,D.jsx)(aH,{pageUrl:td,bank:k,banks:M||[],currentCardId:a.id,debitCards:g,debitCardsFinuslugi:h,cardTypes:l,contactlessCardTypes:r}),o&&(0,D.jsx)(eM,{posts:o.posts,categories:o.ctgs,pageUrl:td}),p&&(0,D.jsx)(z.B,{...p,s3Assets:aX.env.NEXT_PUBLIC_ASSETS_BASE_URL||(0,f.OB)("NEXT_PUBLIC_ASSETS_BASE_URL")||""}),(0,D.jsx)(O.C,{Link:aK,dataLayerPush:ee.l,questions:y,eventCategory:"cards_support_block"})]})},aq=e=>{let{isShort:t}=e;return(0,aS.t)("/money_data/Root.json".concat(t?"?short=1":""))},a$=(e,t)=>{let[a,n]=(0,L.useState)({regions:[],town_duplicates:[],region:(null==t?void 0:t.region)||null,town:(null==t?void 0:t.town)||null});return(0,L.useEffect)(()=>{e||(async()=>{let e=await aq({isShort:!0});e.data&&n(e.data)})()},[e]),a};var a0=!0;function a1(e){var t,a;let n=a$(!1,{region:null,town:null});return(0,D.jsx)(k.Z,{aggregatorIds:e.aggregatorIds,headerDto:e.headerData,footerDto:e.footer,children:(0,D.jsx)(aG,{stores:null===(t=e.config)||void 0===t?void 0:t.stores,regions:n.regions,searchTags:null===(a=e.searchSettings)||void 0===a?void 0:a.tags,...e})})}},13814:function(e){e.exports={title:"AboutProduct_title__yo_wJ",container:"AboutProduct_container__wyYAk",seotext:"AboutProduct_seotext__5xjfd",tabsList:"AboutProduct_tabsList__UoHs8",accordionGroup:"AboutProduct_accordionGroup__rYdWK",accordion:"AboutProduct_accordion__w57x6",listTitle:"AboutProduct_listTitle__fvv9H",list:"AboutProduct_list__oM8aT",hiddenList:"AboutProduct_hiddenList___vhbT",listRow:"AboutProduct_listRow__7kL_w",dateTime:"AboutProduct_dateTime__40Gnm"}},8853:function(e){e.exports={bankInformation:"BankShortInfo_bankInformation__8RRep",header:"BankShortInfo_header__vrjG3",logoWrapper:"BankShortInfo_logoWrapper__3PHge",icon:"BankShortInfo_icon__o_zuW",bankTitle:"BankShortInfo_bankTitle__kk2Uq",bankText:"BankShortInfo_bankText__6H5iD",bankLink:"BankShortInfo_bankLink__3lYry"}},37853:function(e){e.exports={title:"MobileContentModal_title__AwLsx",mobilePopup:"MobileContentModal_mobilePopup__XToel"}},7964:function(e){e.exports={tabsList:"MobileTabs_tabsList__rcFSU",tabItem:"MobileTabs_tabItem__tgnPt"}},5389:function(e){e.exports={title:"ApplyStepsSlider_title__shr3F",container:"ApplyStepsSlider_container__hErN9",sliderContainer:"ApplyStepsSlider_sliderContainer__kPWIT",sliderWrapper:"ApplyStepsSlider_sliderWrapper__WNiMM",card:"ApplyStepsSlider_card__fRiNt",head:"ApplyStepsSlider_head__wzJom",titleHead:"ApplyStepsSlider_titleHead__6HVQy",text:"ApplyStepsSlider_text__MT8rY",cardImgWrapper:"ApplyStepsSlider_cardImgWrapper__ML05d",cardImg:"ApplyStepsSlider_cardImg__krevN",cardButton:"ApplyStepsSlider_cardButton__h1q0k"}},34988:function(e){e.exports={breadcrumbs:"Breadcrumbs_breadcrumbs__wgDQB"}},98219:function(e){e.exports={img:"CardListItem_img__jEKYb",placeholderLogo:"CardListItem_placeholderLogo__f4dHZ",bonusText:"CardListItem_bonusText__XyB8C"}},99337:function(e){e.exports={listTitle:"CardListModal_listTitle__3SJqn",container:"CardListModal_container__boLvc",drawer:"CardListModal_drawer__Yjcm9",content:"CardListModal_content__cUzoP",mobilePopup:"CardListModal_mobilePopup__7U6mQ",title:"CardListModal_title__sDlJ7",logo:"CardListModal_logo__U9__k",logoContainer:"CardListModal_logoContainer__BW7x8",list:"CardListModal_list__pXP88",valueText:"CardListModal_valueText__mcqW_",row:"CardListModal_row__dqVNP",rowLabel:"CardListModal_rowLabel__VlJ7k",rowValue:"CardListModal_rowValue__TX_0E",buttons:"CardListModal_buttons__PHQzP",button:"CardListModal_button__odRvU"}},2869:function(e){e.exports={linkWrapper:"CheckFullInfoLink_linkWrapper__8Ft0B",width:"CheckFullInfoLink_width__UQCKE",padding:"CheckFullInfoLink_padding__igPaU",link:"CheckFullInfoLink_link__VaFXA",icon:"CheckFullInfoLink_icon__n4rol",light:"CheckFullInfoLink_light__XIqI2"}},82588:function(e){e.exports={wrapper:"CollapseContainer_wrapper__STKqz",container:"CollapseContainer_container__Em2u9",containerHidden:"CollapseContainer_containerHidden__AFhLa",disableAnimation:"CollapseContainer_disableAnimation__bHHyL",icon:"CollapseContainer_icon__2EAe0",expanded:"CollapseContainer_expanded__qF596",button:"CollapseContainer_button__acaCR"}},96746:function(e){e.exports={container:"ComputedBlock_container__AuR1c",containerChart:"ComputedBlock_containerChart__QZSst",info:"ComputedBlock_info__7Kj1H",chart:"ComputedBlock_chart__B_weV",chartVisible:"ComputedBlock_chartVisible__5nDWG",tag:"ComputedBlock_tag__0L2aP",valueContainer:"ComputedBlock_valueContainer__NiXTF",value:"ComputedBlock_value__019M2",disclaimer:"ComputedBlock_disclaimer__qA6Nw",agreement:"ComputedBlock_agreement__6hIO1",footerActions:"ComputedBlock_footerActions__Zg0Gb"}},14443:function(e){e.exports={wrapper:"ComputeChart_wrapper__dP_7K",chart:"ComputeChart_chart__HVbHH",chartValues:"ComputeChart_chartValues__7_ql4",chartResult:"ComputeChart_chartResult__r98zD",legend:"ComputeChart_legend__zejNV",legendItem:"ComputeChart_legendItem__OMTUC",legendColor:"ComputeChart_legendColor__NegVS",legendTitle:"ComputeChart_legendTitle__ugVDm",legendValue:"ComputeChart_legendValue__4hJUq"}},95236:function(e){e.exports={title:"ComputeHead_title__DoVut",head:"ComputeHead_head__Agy2p",result:"ComputeHead_result__54_0V",resultText:"ComputeHead_resultText__OhAgX",resultTextFloat:"ComputeHead_resultTextFloat__PLSj_",resultButton:"ComputeHead_resultButton__vICvv",resultIcon:"ComputeHead_resultIcon__PIy8R",chartButton:"ComputeHead_chartButton__J18cG",computedTitle:"ComputeHead_computedTitle__LQ4tD",titleWrapper:"ComputeHead_titleWrapper__aL39n",captionTitle:"ComputeHead_captionTitle__RQx8v",img:"ComputeHead_img__EtvgK"}},49929:function(e){e.exports={value:"ComputeRow_value__20Ysi",valueDash:"ComputeRow_valueDash__b37fh",detail:"ComputeRow_detail__2lMgT"}},48210:function(e){e.exports={contentBlocks:"FaqContentBlock_contentBlocks__mnwTn",annotation:"FaqContentBlock_annotation__Wf7Rs",contentTableWrapper:"FaqContentBlock_contentTableWrapper__kfDxm",keynoteWrapper:"FaqContentBlock_keynoteWrapper__rLeWD",keynote:"FaqContentBlock_keynote__fOgm2",blockLink:"FaqContentBlock_blockLink__TQvJY"}},91196:function(e){e.exports={title:"FinancialServicesJournal_title__06JFD",container:"FinancialServicesJournal_container__YbC9_",tabsFilter:"FinancialServicesJournal_tabsFilter__7RIml",sliderContainer:"FinancialServicesJournal_sliderContainer__iyYI1",sliderWrapper:"FinancialServicesJournal_sliderWrapper__5pk_7",bannerCard:"FinancialServicesJournal_bannerCard__fHClX",cardHead:"FinancialServicesJournal_cardHead__CBVF0",image:"FinancialServicesJournal_image__tSm_t",cardBody:"FinancialServicesJournal_cardBody__58L6K",status:"FinancialServicesJournal_status__c7dMf",text:"FinancialServicesJournal_text__cKF2w",bannerCardLink:"FinancialServicesJournal_bannerCardLink__EXzn0"}},95255:function(e){e.exports={mainContainer:"MainContainer_mainContainer__i0H2X"}},20696:function(e){e.exports={title:"Promo_title__eC3ED",wrapper:"Promo_wrapper__vgwxR",wrapperArchive:"Promo_wrapperArchive__3KLxe",wrapperSmall:"Promo_wrapperSmall__TKQ1G",wrapperHideShareLinks:"Promo_wrapperHideShareLinks__6_vt9",company:"Promo_company__zx2_S",companySmall:"Promo_companySmall__gHEn_",subTitle:"Promo_subTitle__irHjT",subTitleArchive:"Promo_subTitleArchive__ROtWb",subTitleText:"Promo_subTitleText__jiWkv",chip:"Promo_chip__bmI_G",chipDesc:"Promo_chipDesc__Iz92I",chipMob:"Promo_chipMob___jeRS",actionsContainer:"Promo_actionsContainer__wjB_T",actionsContainerSmall:"Promo_actionsContainerSmall__VUz8S",actions:"Promo_actions__TDZMq",action:"Promo_action__AnAZl",actionArrow:"Promo_actionArrow__kHdxS",actionMobile:"Promo_actionMobile__ZEfBz",actionArrowIcon:"Promo_actionArrowIcon__ftM5n",actionSocial:"Promo_actionSocial___3l_t",link:"Promo_link__P1bNh",logo:"Promo_logo__9YwGQ",logoContainer:"Promo_logoContainer__RACcr",logoContainerArchive:"Promo_logoContainerArchive__CYoB0"}},95216:function(e){e.exports={action:"Action_action__NPK0s",icon:"Action_icon__Luo_o"}},25294:function(e){e.exports={container:"Actions_container__QDQi6",childContainer:"Actions_childContainer__yB_gN",actionArrow:"Actions_actionArrow__424PL",childContainerMobile:"Actions_childContainerMobile__o4Srw",action:"Actions_action__jKVRm",actionArrowIcon:"Actions_actionArrowIcon__2EJQ6",actionSocial:"Actions_actionSocial___y87Y"}},82941:function(e){e.exports={title:"ArchivePromo_title__TJIJ7",container:"ArchivePromo_container__5L_r6",text:"ArchivePromo_text__nMo9K",button:"ArchivePromo_button__f_l5V"}},16636:function(e){e.exports={drawer:"PromoStubModal_drawer__5jHrh",mobilePopup:"PromoStubModal_mobilePopup__PvuVf",image:"PromoStubModal_image__H5G_m",title:"PromoStubModal_title__2vWJm",text:"PromoStubModal_text__RrSGC",button:"PromoStubModal_button__wlHv7"}},810:function(e){e.exports={qrAd:"QrAd_qrAd__PvxtR"}},4372:function(e){e.exports={valueText:"RowItem_valueText__LXpQ7",row:"RowItem_row__vgB3X",listItem:"RowItem_listItem__eNlXk",mediumRow:"RowItem_mediumRow__vU0sj",rowLabel:"RowItem_rowLabel__O_g3i",tooltip:"RowItem_tooltip__A1WaC",iconTooltip:"RowItem_iconTooltip__wiKEA",rowValue:"RowItem_rowValue__5_W1S",linkValue:"RowItem_linkValue__Metgd",labelText:"RowItem_labelText__9zSW4"}},28453:function(e){e.exports={tag:"Tag_tag__F7OOH",tagPrimary:"Tag_tagPrimary__avetL",tagSecondary:"Tag_tagSecondary__RMaKP",tagPink:"Tag_tagPink__YGm7U",tagYellow:"Tag_tagYellow__wh7Mz",text:"Tag_text__nOOMV",detail:"Tag_detail__xPW1b",detailIcon:"Tag_detailIcon__LNOTP"}},64181:function(e){e.exports={container:"TextOverflow_container__5IiXl",containerOverflow:"TextOverflow_containerOverflow__DgbX6",containerOpen:"TextOverflow_containerOpen__kA_JK",button:"TextOverflow_button__y5lCH"}},31507:function(e){e.exports={popup:"Tip_popup__8fMO9",button:"Tip_button__g5mPA",icon:"Tip_icon__zTERB",buttonMobile:"Tip_buttonMobile__OTn9W",content:"Tip_content__ab_0d"}},42688:function(e){e.exports={tooltipWrapper:"DeprecatedTooltip_tooltipWrapper__efWsY",clickedTooltip:"DeprecatedTooltip_clickedTooltip__dqSIp",tooltip:"DeprecatedTooltip_tooltip__c_Ytv",tooltipWrapperForPadding:"DeprecatedTooltip_tooltipWrapperForPadding__EfwrY",open:"DeprecatedTooltip_open__R9eNb",fade:"DeprecatedTooltip_fade__wSmny",close:"DeprecatedTooltip_close__8_fcP","fade-out":"DeprecatedTooltip_fade-out__pUhDp"}},62273:function(e){e.exports={page:"DebitCardDetail_page__mBurF",pickerSection:"DebitCardDetail_pickerSection__bjn4x"}},25593:function(e){e.exports={container:"DebitCardApplySteps_container__W2pzq"}},30736:function(e){e.exports={container:"DebitCardInfo_container__f7JuG",containerFull:"DebitCardInfo_containerFull__0KrJu",containerArchive:"DebitCardInfo_containerArchive__e1qVL",promo:"DebitCardInfo_promo__06nno",left:"DebitCardInfo_left__mK1kd",right:"DebitCardInfo_right__RJp1l",qrDesc:"DebitCardInfo_qrDesc__FJSeE",qrMob:"DebitCardInfo_qrMob__JqsNK",button:"DebitCardInfo_button__f5qI_",buttonLink:"DebitCardInfo_buttonLink__2VGh4"}},24369:function(e){e.exports={title:"DebitCardsList_title__ArhR9",offersListContainer:"DebitCardsList_offersListContainer__kVwkT",listTitle:"DebitCardsList_listTitle__P2vkS",container:"DebitCardsList_container__lTEn7",listItem:"DebitCardsList_listItem__IYSqx"}}},function(e){e.O(0,[303,370,888,774,179],function(){return e(e.s=84966)}),_N_E=e.O()}]);