(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[87],{84966:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/debetovye_karty/detail",function(){return n(14790)}])},86092:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var a=n(26270);let l=()=>(0,a.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,n){"use strict";n.d(t,{G:function(){return l}});var a=n(87354);async function l(){let e=await a.c.getPageData("PageHeaderWidget","homepage"),t=await a.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,n){"use strict";n.d(t,{c:function(){return l}});var a=n(26270);let l={async getPageData(e,t){let n=new URLSearchParams({scLayoutName:e,scPageUrl:t}).toString();return(await (0,a.t)("/api/v1/data/page-data?".concat(n),null,{isMpScApi:!0})).data||null}}},33016:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var a=n(85893),l=n(90210),i=n(35862),o=n(89993),r=n(7612),s=n(21340),c=n(67294),u=n(11163),d=n(61593);let _=function(e){var t,n,a,l;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"?",o=null!==(l=null===(a=e.split(i))||void 0===a?void 0:null===(n=a[1])||void 0===n?void 0:null===(t=n.split("?"===i?"#":"?")[0])||void 0===t?void 0:t.split("&"))&&void 0!==l?l:[],r={};return o.forEach(e=>{let[t,n]=e.split("="),a=null!=n?n:"";if(t in r){let e=r[t];if(Array.isArray(e)){r[t]=[...e,a];return}if(!Array.isArray(e)&&e){r[t]=[e,a];return}}r[t]=a}),r},m=e=>_(e);var M=n(59081);let p=(e,t)=>{let n=m(e);if(n&&n.aggregator_id){let e={...n,create_date:new Date().toISOString()},l={payload:[]};try{var a;l=JSON.parse((null===(a=(0,d.$1)())||void 0===a?void 0:a.cpa_click)||"{}")}catch(e){return}l.payload||(l.payload=[]),l.payload.push(e);let i={event:"data-event",eventCategory:String(n.aggregator_id),eventAction:"CPA_click",eventLabel:window.location.pathname,eventValue:String(n.utm_term||n.click_id),utm_source:String(n.utm_source),utm_campaign:String(n.utm_campaign),utm_medium:String(n.utm_medium)};t[String(n.aggregator_id)]&&((0,d.LM)("cpa_click",l,30),(0,M.lQ)(i))}};var v=n(9008),g=n.n(v),h=n(4298),x=n.n(h);let T=(0,l.OB)("NEXT_PUBLIC_ASSETS_BASE_URL");function N(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(g(),{children:[(0,a.jsx)("link",{rel:"preload",as:"style",crossOrigin:"use-credentials",href:"".concat(T,"/mp-assets/widgets/support/index-BuAapbJQ.css")}),(0,a.jsx)("link",{rel:"stylesheet",crossOrigin:"use-credentials",href:"".concat(T,"/mp-assets/widgets/support/index-BuAapbJQ.css")})]}),(0,a.jsx)(x(),{crossOrigin:"use-credentials",type:"module",src:"".concat(T,"/mp-assets/widgets/support/index-D2xclPDV.js")})]})}var j=n(47400),w=n(83454);function b(e){let{children:t,aggregatorIds:n,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:n}=(0,u.useRouter)();(0,c.useEffect)(()=>{let a=n+t;(0,M.yr)(a),p(a,e)},[e,t,n])}(n),(0,a.jsxs)(a.Fragment,{children:[d&&(0,a.jsx)(r.H,{data:d,showcaseUrl:m,minioUrl:g,lkUrl:s.LK}),t,_&&(0,a.jsx)(o.F,{data:_,showcaseUrl:m,minioUrl:g}),(0,a.jsxs)(j.h,{children:[(0,a.jsx)(i.z,{}),(0,a.jsx)(N,{})]})]})}},541:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});var a=n(85893),l=n(86010),i=n(95255),o=n.n(i);let r=e=>{let{children:t,className:n}=e;return(0,a.jsx)("div",{className:(0,l.Z)(o().mainContainer,n),children:t})};r.displayName="MainContainer"},47400:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var a=n(67294),l=n(73935);let i=e=>{let{children:t}=e,[n,i]=(0,a.useState)(null);return(0,a.useEffect)(()=>{var e;let t=null===(e=document)||void 0===e?void 0:e.getElementById("portal-root");t&&i(t)},[]),n&&(0,l.createPortal)(t,n)}},21340:function(e,t,n){"use strict";n.d(t,{LK:function(){return l},_n:function(){return a}});let a=n(83454).env.NEXT_PUBLIC_BASE_URL||"https://finuslugi.ru",l="https://lk.finuslugi.ru/registration/"},61593:function(e,t,n){"use strict";n.d(t,{$1:function(){return u},LM:function(){return d}});var a=n(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 n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:365,r=(0,a.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*n).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,n){"use strict";n.d(t,{lQ:function(){return i},yr:function(){return o}});var a=n(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 n=sessionStorage.getItem("pushedEvents"),l=n?JSON.parse(n):[];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(n=>n.eventCategory===e.eventCategory&&n.eventAction===e.eventAction&&n.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===n.url));if(!t||!i){if(t){let t={...e};t.url=window.location.pathname,l.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(l))}(0,a.AB)(e)}},o=e=>{for(let t of l)if(e.indexOf(t.path)>=0){let n=e.match(/str_(\d+)/),a=Array.isArray(n)&&n[1]?Number(n[1]):1;setTimeout(()=>{i({event:"data-event",eventCategory:t.category,eventAction:"stay_15_seconds",eventLabel:e,eventValue:a})},15e3);return}}},14790:function(e,t,n){"use strict";let a;n.r(t),n.d(t,{__N_SSP:function(){return n0},default:function(){return n1}});var l,i,o,r,s,c,u,d,_,m,M,p,v,g,h,x,T,N,j,w,b,D=n(85893),k=n(33016),L=n(67294),y=n(41664),A=n.n(y),C=n(11163),f=n(90210),O=n(24602),z=n(6024),I=n(55269),E=n(57769);class S extends Error{}var U={src:"/debit-cards/_next/static/media/bike.cc844e23.svg"},Q={src:"/debit-cards/_next/static/media/car.13cbdc55.svg"},Y=n(90630),P=n(86010),B=n(34988),R=n.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:n,className:a,...l}=e,i=(0,I._m)("l"),o=(0,L.useMemo)(()=>W(t),[t]);return(0,D.jsx)(Y.Oo,{items:o,className:(0,P.Z)(R().breadcrumbs,a),isMobile:null!=n?n:!i,...l})}),F=n(25675),Z=n.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,n)=>{"header"===t.type&&(e.headerBlocksCount++,3===e.headerBlocksCount&&("banner"===e.data[n-1].type&&(e.banner=e.data.splice(n-1,1)),"banner"===e.data[n+1].type&&(e.banner=e.data.splice(n+1,1))),e.banner&&4===e.headerBlocksCount&&e.data.splice(n,0,e.banner[0]))})};var G=n(48210),q=n.n(G);let $=e=>{let{className:t,data:n}=e;if(!Array.isArray(n))return null;let a=(()=>{let e=[],t=1,a={data:n,headerBlocksCount:0,banner:[]};return K(a),K(a),n.forEach((n,a)=>{switch(n.type){case"header":e.push((0,D.jsx)("h2",{id:"content_header_".concat(t),role:"header",children:n.data.text||""},a)),t++;break;case"sub_header":e.push((0,D.jsx)("h3",{role:"sub-header",children:n.data.text||""},a));break;case"paragraph":e.push((0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:n.data.text||""},role:"paragraph"},a));break;case"link":e.push((0,D.jsx)("div",{className:q().blockLink,children:(0,D.jsx)("a",{target:"_blank",href:n.data.url||"",role:"link",rel:"noreferrer",children:n.data.text||""})},a));break;case"dossier":e.push((0,D.jsxs)("div",{className:q().dossierDateItem,children:[(0,D.jsx)("span",{className:q().date,role:"dossier-year",children:n.data.year||""}),(0,D.jsx)("div",{className:q().text,dangerouslySetInnerHTML:{__html:n.data.text||""},role:"dossier-text"})]},a));break;case"html":e.push((0,D.jsx)("div",{className:q().htmlBlock,dangerouslySetInnerHTML:{__html:X(n.data.html||"")},role:"html"},a));break;case"annotation":e.push((0,D.jsx)("div",{className:q().annotation,dangerouslySetInnerHTML:{__html:X(n.data.text||"")},role:"annotation"},a));break;case"company-annotation":e.push((0,D.jsx)("div",{className:q().companyAnnotation,dangerouslySetInnerHTML:{__html:n.data.text||""},role:"company-annotation"},a));break;case"keynote":e.push((0,D.jsx)("div",{className:q().keynoteWrapper,children:(0,D.jsx)("p",{className:q().keynote,dangerouslySetInnerHTML:{__html:n.data.text||""},role:"keynote"})},a));break;case"image":e.push((0,D.jsx)(Z(),{src:n.data.url||"",alt:"image",fill:!0},a));break;case"table":e.push((0,D.jsxs)("div",{className:q().contentTableWrapper,children:[n.data.title?(0,D.jsx)("h4",{role:"table-title",children:n.data.title}):"",(0,D.jsx)("div",{className:q().contentTableContent,dangerouslySetInnerHTML:{__html:X(n.data.html||"")},role:"table-content"})]},a))}}),e})();return(0,D.jsx)("div",{className:(0,P.Z)(q().contentBlocks,t),role:"blocks",children:a})};var ee=n(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"},en=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();if(t in et){let n=et[t];return t===e?n:n.charAt(0).toUpperCase()+n.slice(1)}return e});(l=c||(c={})).link="link",l.button="button",l.popup="popup",l.filterCatalog="filter_catalog",l.utm="utm";let ea=e=>{let{eventCategory:t,eventAction:n,eventActionText:a="",eventLabel:l,eventValue:i,url:o}=e,r="boolean"==typeof i?i?"on":"off":i,s="filter_catalog"!==n?/[а-я]/i.test(a.toLowerCase()):"string"!=typeof l||/[а-я]/i.test(l.toLowerCase()),c="filter_catalog"!==n?{event:"data-event",eventCategory:t,eventAction:({link:"click_link",button:"click_button_",popup:"show_pop_up_",utm:"save_utm"})[n]+(s?a:en(a)),eventLabel:l,eventValue:r,url:o}:{event:"data-event",eventAction:t,eventCategory:n,eventLabel:"string"==typeof l?s?l:en(l):l,eventValue:r,url:o};(0,ee.lQ)(c)};var el=n(2869),ei=n.n(el);function eo(){return(eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}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:n,href:a,target:l,iconColor:i,mainPageUrl:o,offPadding:r,widthMaxContent:s,className:u,isCustomMarkup:d=!1}=e,_=()=>{ea({eventCategory:o,eventAction:c.link,eventActionText:n,eventLabel:a})},m=(0,L.useCallback)(e=>a?(0,D.jsx)(A(),{onClick:e.onClick,href:a,target:l,...e}):(0,D.jsx)("button",{onClick:e.onClick,...e}),[a,l]);return(0,D.jsx)("div",{className:(0,P.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:[n,(0,D.jsx)(er,{className:(0,P.Z)(ei().icon,{[ei().light]:"light"===i})})]})})});es.displayName="CheckFullInfoLink";var ec=n(21340);let eu=()=>{let[e,t]=(0,L.useState)(!1),[n,a]=(0,L.useState)(!1),l=(0,L.useRef)({x:0,y:0});return{isDragged:e,isTouched:n,onMouseDown:(0,L.useCallback)(e=>{a(!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),a(!1)},[])}};var ed=n(91196),e_=n.n(ed);let em=(0,L.memo)(e=>{let{pageUrl:t,posts:n,categories:a}=e,l=(0,I._m)("l"),{isDragged:i,isTouched:o,onMouseDown:r,onMouseMove:s,resetState:u}=eu(),d=(e,n,a)=>{ea({eventCategory:t,eventAction:c.link,eventActionText:a,eventLabel:n,url:e}),window.open(e,"_self")},_=e=>()=>!(i&&o)&&d("".concat(ec._n,"/").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:n.map(e=>{var t,n;let i=null==a?void 0:null===(t=a.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._n,"/").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._n,"/img/posts/small/").concat(null===(n=e.img)||void 0===n?void 0:n.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:n,pageUrl:a}=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:n,pageUrl:a})}),(0,D.jsx)(es,{offPadding:!0,text:"Смотреть все статьи",href:"".concat(ec._n,"/navigator/nakopit-i-sohranit"),mainPageUrl:a})]}):null};var ep=n(9008),ev=n.n(ep);let eg=(0,L.memo)(e=>{let{title:t,description:n,productId:a,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"),n&&(0,D.jsx)("meta",{name:"description",content:n},"description"),a&&(0,D.jsx)("script",{dangerouslySetInnerHTML:{__html:"dataLayer = [{'view_product_id': '".concat(a,"'}];")}},"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:n},"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+DQo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNODAuNDAzNzAxOCwwSDI3LjcyNjYwMDZ2MTcuOTgxMTk5M0gwVjQyaDgwLjQwMzcwMThWMHoiLz4NCjxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik00MC4xODg1OTg2LDguMDk4MTMwMmwtMC41NjQzMDA1LDAuMDI2MjQ5OWMtMi4xNTI0OTYzLDAuMTExNTcwNC0zLjQ4NDY5OTIsMS40NDM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TE5ODl6Ii8+DQo8L3N2Zz4NCg==",as:"image",type:"image/svg+xml"},"logoPreload")]})});eg.displayName="HeadMeta";var eh=n(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=n(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:n}=(0,C.useRouter)();return(0,L.useMemo)(()=>{if(t.includes("#")){let n=t.split("?")[1];return n?n.split("&").filter(t=>e.includes(t.split("=")[0])):[]}return e.reduce((e,t)=>n[t]?[...e,"".concat(t,"=").concat(n[t])]:e,[])},[t,n,e])}var eD=n(64181),ek=n.n(eD);let eL=e=>{let{maxHeight:t=300,className:n,style:a,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,P.Z)(ek().container,{[ek().containerOverflow]:s,[ek().containerOpen]:s&&o===t},n),style:{height:s?o:"auto",...a},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=n(47400),eC=n(73935);let ef=e=>{let{children:t}=e,[n]=(0,L.useState)(()=>document.createElement("div"));return((0,L.useEffect)(()=>(document.body.appendChild(n),()=>{document.body.removeChild(n)})),t)?(0,D.jsx)(D.Fragment,{children:(0,eC.createPortal)(t,n)}):null},eO=e=>{let t=e.bottom,n="bottom";return Object.entries(e).forEach(e=>{let[a,l]=e;l>t&&(t=l,n=a)}),n};var ez=e=>{let{anchorElement:t,positioningElement:n,offset:a=0,selectSide:l=null}=e,i={top:"unset",right:"unset",left:"unset",bottom:"unset"},o=t.getBoundingClientRect(),r=n.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<-a||T+s-a-10>d?M>p?0-a:d-s+a-16:T,w=N<-a||N+c-a-10>u?_<m?0-a:u-c+a-10:N,b=[{side:"bottom",priority:2,isFreeSpace:m>=c-a,position:{...i,top:"".concat(v,"px"),left:"".concat(j,"px")}},{side:"top",priority:3,isFreeSpace:_>=c-a,position:{...i,top:"".concat(_-c,"px"),left:"".concat(j,"px")}},{side:"right",priority:4,isFreeSpace:M>=s-a,position:{...i,left:"".concat(g,"px"),top:"".concat(w,"px")}},{side:"left",priority:5,isFreeSpace:p>=s-a,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=n(42688),eE=n.n(eI);let eS=e=>{let{children:t,text:n,offset:a=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(!n)return;let e=M.current;if(u&&e)return c(ez({anchorElement:u,positioningElement:e,offset:a,selectSide:o})),()=>{d(null),p.current&&clearTimeout(p.current),window.removeEventListener("scroll",g,!1)}},[u,n,g,a,_,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&&n?(0,D.jsx)(ef,{children:(0,D.jsx)("div",{className:(0,P.Z)(eE().tooltipWrapper,{[eE().clickedTooltip]:v}),onClick:()=>{v&&x()},children:(0,D.jsx)("div",{ref:M,className:(0,P.Z)(eE().tooltipWrapperForPadding,{[eE().open]:u,[eE().close]:_}),style:{padding:a,...s},children:(0,D.jsx)("div",{className:(0,P.Z)(eE().tooltip,i),children:n})})})}):null,T]})};eS.displayName="Tooltip";var eU=n(31507),eQ=n.n(eU);let eY=(0,L.memo)(e=>{let{text:t,className:n,tooltipClassName:a,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,P.Z)(eQ().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:a,selectSide:"bottom",text:"string"==typeof t?(0,D.jsx)("span",{className:eQ().content,dangerouslySetInnerHTML:{__html:t}}):(0,D.jsx)("span",{className:eQ().content,children:t}),children:(0,D.jsxs)("button",{"data-testid":"button-tip-click-on-open",className:(0,P.Z)(eQ().button,n),onClick:d,children:[h&&g," ",o," ",!h&&g]})}),(0,D.jsxs)("button",{"data-testid":"button-tip-click-toggle-modal",onClick:p,className:(0,P.Z)(eQ().buttonMobile,n),children:[h&&g," ",o," ",!h&&g]}),(0,D.jsx)(eA.h,{children:(0,D.jsx)(I.jr,{withDisabledScroll:r,className:eQ().popup,isOpen:m,onClose:v,children:"string"==typeof t?(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:t}}):t})})]})});eY.displayName="Tip";var eP=n(4372),eB=n.n(eP);let eR=e=>{let{text:t,title:n}=e;return(0,D.jsxs)(eL,{className:eB().valueText,children:[n&&(0,D.jsx)("p",{dangerouslySetInnerHTML:{__html:n}}),t&&(0,D.jsx)("span",{dangerouslySetInnerHTML:{__html:t}})]})},eW=e=>!!(e.includes("https://")&&e.includes("</a>")),eH=e=>{var t,n,a;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,n;return"object"==typeof e&&e&&((null===(t=e.text)||void 0===t?void 0:t.length)||(null===(n=e.title)||void 0===n?void 0:n.length))}):null;return("string"==typeof s.value?s.value.length:c.length||(null==u?void 0:u.length))?(0,D.jsxs)("li",{className:(0,P.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===(n=s.toolltip)||void 0===n?void 0:n.length)?(0,D.jsx)(eY,{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,P.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===(a=c[0])||void 0===a?void 0:a.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,n=arguments.length>2?arguments[2]:void 0;return(void 0===t&&(t=e,e=0),n||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=n(8853),eV=n.n(eZ);let eJ=(0,L.memo)(e=>{let{isMobile:t,pageUrl:n,bank:a}=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:[a.logoMobile&&(0,D.jsx)("div",{className:eV().logoWrapper,children:(0,D.jsx)(Z(),{className:eV().icon,src:a.logoMobile,width:t?24:32,height:t?24:32,alt:"logo bank"})}),(0,D.jsx)("p",{className:eV().bankTitle,children:a.name})]}),(null==a?void 0:a.description)&&(0,D.jsx)("p",{className:eV().bankText,dangerouslySetInnerHTML:{__html:null==a?void 0:a.description}})]})}),(0,D.jsx)(es,{className:eV().bankLink,text:"Перейти к полному досье",href:"".concat(ec._n,"/banki/").concat(a.url),target:"_self",iconColor:"light",mainPageUrl:n})]})});eJ.displayName="BankShortInfo";var eX=n(37853),eK=n.n(eX);let eG=e=>{let{isOpenModal:t,title:n,content:a,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:n}),(0,D.jsx)("div",{children:a})]})})};var eq={src:"/debit-cards/_next/static/media/arrow.e5fbf461.svg",height:24,width:24,blurWidth:0,blurHeight:0},e$=n(7964),e0=n.n(e$);let e1=(0,L.memo)(e=>{let{tabsList:t,getActiveElementClick:n}=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:()=>n(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=n(13814),e5=n.n(e4);let e2="aboutBank",e3={id:(a=new Date().getTime(),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){let t=(a+eF(16))%16|0;return a=Math.floor(a/16),("x"===e?t:3&t|8).toString(16)})),label:"О банке",name:e2},e6=(0,L.memo)(e=>{let{pageUrl:t,title:n,tabsList:a,tabsContent:l,bank:i,seoText:o,disclaimer:r,scrollBlockId:s,className:u}=e,d=(0,I._m)("l"),[_,m]=(0,L.useState)(a[0]),M=(0,L.useMemo)(()=>[...a,e3],[a]),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 n=M.find(t=>e&&e===t.id)||M[0];m(n),ea({eventCategory:t,eventAction:c.link,eventLabel:n.label,eventValue:n.name}),d||(ea({eventCategory:t,eventAction:c.link,eventActionText:n.label,eventLabel:n.id}),g(!0))},x=(0,D.jsx)(eJ,{isMobile:!d,pageUrl:t,bank:i}),T=e=>(0,D.jsxs)("ul",{className:(0,P.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,P.Z)(e5().container,u),children:[(0,D.jsx)("p",{className:e5().title,children:n}),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 n=new Date(e).getDate(),a=new Date(e).getMonth()+1,l=new Date(e).getFullYear(),i=t?"":"".concat(e7(n),".").concat(e7(a),".").concat(l);return((null==t?void 0:t.hasDay)&&(i="".concat(e7(n))),(null==t?void 0:t.hasMonth)&&(i="".concat(i.length?i+".":"").concat(e7(a))),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,n,a,l,i,o,r,s,c,u,d,_;return(null===(t=e.service_cost)||void 0===t?void 0:t.first_year_cost)!==(null===(n=e.service_cost)||void 0===n?void 0:n.second_year_cost)?[{title:"1-й год",text:"<h6>".concat(null!==(r=null===(a=e.service_cost)||void 0===a?void 0:a.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)||""}]},tn=(e,t)=>{var n,a,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===(n=e.cash_withdrawal)||void 0===n?void 0:n.atm," ").concat(null===(a=e.cash_withdrawal)||void 0===a?void 0:a.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"]?"Есть":"Нет"}}]},ta=(e,t,n)=>{var a,l,i;return[{label:"Тип карты",value:{title:t.join(" / ")}},{label:"Стоимость обслуживания",value:[{text:e.service_cost?e.service_cost.release_cost:"Нет",title:"Плата за выпуск",isTable:!0},...n]},{label:"Порядок оформления",value:null===(a=e.registration_procedure)||void 0===a?void 0:a.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,n,a;return[{label:"Возраст держателя",value:{title:null===(t=e.age)||void 0===t?void 0:t.text,text:null===(n=e.age)||void 0===n?void 0:n.comment}},{label:"Категория клиента",value:(null===(a=e.borrower)||void 0===a?void 0:a.text)||"Нет"}]},ti=(e,t)=>{var n,a,l,i;return[{label:"Кешбэк",value:(null===(n=e.cash_back)||void 0===n?void 0:n.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===(a=e.individual_design)||void 0===a?void 0:a.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,n,a)=>{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},...n]},{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:a.join(" / ")||"Нет"}},{label:"Индивидуальный дизайн карты",value:t.individual_design.comment||(null===(o=t.individual_design)||void 0===o?void 0:o.text)}]},tr=(e,t)=>{let n=[];return e.card_type.ids.forEach(e=>{let a=t.find(t=>t.id===e);a&&n.push(a.title)}),e.card_type.custom&&n.push(e.card_type.custom),n},ts=(e,t)=>{let n=[];return e.contactless_payment.ids.forEach(e=>{let a=t.find(t=>t.id===e);a&&n.push(a.title)}),n},tc=(e,t,n)=>{let a=tr(e,t),l=ts(e,n),i=tt(e);return{conditions:ta(e,a,i),requirements:tl(e),commissions:tn(e,l),bonuses:ti(e,l)}},tu=(e,t,n)=>{let a=tr(e,t),l=ts(e,n),i=tt(e);return{params:to(a,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:n,contactlessCardTypes:a}=e,[l,i]=(0,L.useState)(t_),o=(0,L.useMemo)(()=>t?tc(t,n,a):{[p.conditions]:[],[p.requirements]:[],[p.commissions]:[],[p.bonuses]:[]},[t,n,a]);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:n,pageUrl:a,cardTypes:l,contactlessCardTypes:i,bank:o}=e,{tabsContent:r,tabsList:s}=tm({data:n,cardTypes:l,contactlessCardTypes:i});return(0,D.jsx)(e6,{pageUrl:a,seoText:(null==n?void 0:n.short_description)&&(null==n?void 0:n.short_description.length)>5?null==n?void 0:n.short_description:void 0,title:"О дебетовой карте",disclaimer:"Информация о дебетовой карте актуальна на ".concat(te((null==n?void 0:n.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=n(5389),tx=n.n(th);let tT=e=>{var t,n;let{item:a,eventCategory:l,productId:i,withNewMarkup:o}=e,r=(0,L.useRef)(null),s=en(null!==(n=a.buttonText)&&void 0!==n?n:"");return!function(e){let{itemRef:t,eventCategory:n,eventAction:a,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.lQ)({event:"data-event",eventLabel:l,eventCategory:n,eventAction:a,eventValue:""}),s(!0),o.current&&t.current&&o.current.unobserve(t.current))},[a,n,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:[a.title&&(0,D.jsx)("p",{className:tx().titemleHead,children:a.title}),(0,D.jsx)("p",{className:tx().text,dangerouslySetInnerHTML:{__html:a.text}})]}),(0,D.jsx)("div",{className:tx().cardImgWrapper,children:(0,D.jsx)(Z(),{className:tx().cardImg,width:300,height:208,alt:"banner"+a.id,src:a.image})}),!!(null==a?void 0:null===(t=a.buttonText)||void 0===t?void 0:t.length)&&(0,D.jsx)(I.zx,{className:tx().cardButton,size:"s",variant:"purple",onClick:a.link?()=>{(0,ee.lQ)({eventCategory:l,eventAction:o?"click_where_to_open_"+s:"click_button_"+a.buttonText,eventLabel:o?i:a.id,url:o?void 0:a.link}),window.open(a.link,"_self")}:void 0,children:a.buttonText})]},a.id)},tN=e=>{let{slides:t,id:n,title:a,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,P.Z)(tx().container,i),id:n,children:[(0,D.jsx)("h2",{className:tx().title,children:a}),(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,P.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=n(61593);let tw=()=>{let[e]=eb(["aggregator_id"]),t=e?e.split("=")[1]:null,n=(0,tj.$1)(),a=null==n?void 0:n["auth.gtm_customer_id"],l=(null==n?void 0:n.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)&&!a};var tb=n(25593),tD=n.n(tb);let tk=e=>{let{url:t,pageUrl:n,bannerUrl:a,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(n)},{id:5,image:tv,text:"Чтобы оформить карту,<br /> обратитесь в банк",types:[m.MASS]}].filter(e=>e.types.find(e=>e===l)&&!(e.link===a&&r)),[t,a,l,n,r]);return(0,D.jsx)("div",{className:tD().container,children:(0,D.jsx)(tN,{className:o,title:"Где оформить дебетовую карту",id:e8,isMobile:i,slides:s,eventCategory:n,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:n,fallbackSrc:a,...l}=e,[i,o]=(0,L.useState)(t);return(0,D.jsx)(Z(),{...l,src:i,alt:n,onError:()=>o(a)})}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=n(95236),tO=n.n(tf),tz={src:"/debit-cards/_next/static/media/debitCard.cce7ba50.png"};let tI=(0,L.memo)(e=>{let{value:t,isArchive:n,title:a,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=!n&&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]," ₽"]})]}):" ₽"]}),!n&&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}),a?(0,D.jsx)("h3",{className:tO().title,children:a}):d]}),a&&o&&(0,D.jsx)(ty,{...u,className:tO().img,unoptimized:!0,src:o.url,fallbackSrc:tz.src,alt:"logo"})]}),a&&d]})});tI.displayName="ComputeHead";var tE={src:"/debit-cards/_next/static/media/detailed.37f1b990.svg",height:16,width:16,blurWidth:0,blurHeight:0},tS=n(28453),tU=n.n(tS);let tQ=e=>{let{className:t,text:n,tooltipText:a,theme:l="primary",tipIcon:i,onTooltipOpen:o}=e;return(0,D.jsx)("div",{className:(0,P.Z)(tU().tag,{[tU().tagPrimary]:"primary"===l,[tU().tagSecondary]:"secondary"===l,[tU().tagPink]:"pink"===l,[tU().tagYellow]:"yellow"===l},t),children:a&&(0,D.jsx)(eY,{className:tU().detail,iconSrc:tE,text:a,iconClassName:tU().detailIcon,icon:i,onOpen:()=>null==o?void 0:o(n),children:(0,D.jsx)("span",{className:tU().text,children:n})})})};var tY=n(14443),tP=n.n(tY);let tB=(0,L.memo)(e=>{let{className:t,sum:n,overpayment:a,isMobile:l}=e,i=[{value:n,color:"#FFE576",title:"Сумма кредита"},{value:a,color:"#6A80EF",title:"Переплата"}];return(0,D.jsxs)("div",{className:(0,P.Z)(tP().wrapper,t),children:[(0,D.jsx)("ul",{className:tP().legend,children:i.map(e=>(0,D.jsxs)("li",{className:tP().legendItem,children:[(0,D.jsx)("div",{style:{backgroundColor:e.color},className:tP().legendColor}),(0,D.jsx)("div",{className:tP().legendTitle,children:e.title}),(0,D.jsxs)("div",{className:tP().legendValue,children:[tC(e.value,2)," ₽"]})]},e.color))}),(0,D.jsxs)("div",{className:tP().chart,children:[(0,D.jsx)(I.HB,{stroke:"#fff",strokeWidth:l?2:0,items:i.map(e=>({...e,value:e.value||.01})),className:tP().chartValues}),(0,D.jsxs)("div",{className:tP().chartResult,children:[tC(n+a,2)," ₽"]})]})]})});tB.displayName="ComputeChart";var tR=n(49929),tW=n.n(tR);let tH=(0,L.memo)(e=>{let{className:t,label:n,value:a,description:l}=e;return(0,D.jsxs)("li",{className:(0,P.Z)(tW().value,t),children:[(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:n}}),l&&(0,D.jsx)(I.qQ,{text:l,className:tW().detail,keyValue:a}),(0,D.jsx)("div",{className:tW().valueDash}),(0,D.jsx)("div",{dangerouslySetInnerHTML:{__html:String(a)}})]})});tH.displayName="ComputeRow";var tF=n(96746),tZ=n.n(tF);let tV=(0,L.memo)(e=>{let{pageUrl:t,isArchive:n,title:a,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)(()=>{ea({eventCategory:t,eventAction:c.popup,eventActionText:"chart"}),x(e=>!e)},[t]);return(0,D.jsxs)(I.W2,{className:(0,P.Z)(tZ().container,h&&tZ().containerChart,g),children:[(0,D.jsx)(tI,{isArchive:n,title:a,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,P.Z)(tZ().chart,h&&tZ().chartVisible),sum:M,overpayment:p}),o&&!n&&(0,D.jsx)(tQ,{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))}),!n&&(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=n(59194),tX=n(82588),tK=n.n(tX);let tG=e=>{let{isOpen:t,className:n,direction:a="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"===a?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)},[a,p,t,i]),(0,D.jsxs)("div",{className:(0,P.Z)(tK().wrapper,s&&tK().disableAnimation),children:[(0,D.jsx)("div",{role:"collapse-container",ref:v,className:(0,P.Z)(tK().container,(g||!t)&&tK().containerHidden,n),style:{...l,["vertical"===a?"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,P.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$=n(95216),t0=n.n(t$);let t1=(0,L.memo)(e=>{let{icon:t,alt:n,iconClassName:a,className:l,href:i,onClick:o,name:r,...s}=e,c=(0,D.jsx)(Z(),{className:(0,P.Z)(t0().icon,a),src:tq[t],alt:n}),u=(0,P.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=n(25294),t5=n.n(t4);let t2=(0,L.memo)(e=>{let{list:t,isMobile:n,onClickChild:a,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)},[n]),(0,D.jsx)("div",{className:(0,P.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,P.Z)(t5().childContainer,n&&t5().childContainerMobile),children:[e.childList.map(t=>(0,D.jsx)("button",{title:t.name,onClick:()=>a(e.name,t.name),className:(0,P.Z)(t5().action,t5().actionSocial),children:t.icon},t.name)),n&&(0,D.jsx)(t1,{onClick:()=>r(null),alt:"close",icon:v.arrow,name:"share",className:(0,P.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||n?e.icon:v.arrow,className:(0,P.Z)(t5().action,o===e.name&&!n&&t5().actionArrow),iconClassName:(0,P.Z)(o===e.name&&!n&&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,n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=(0,I._m)("m"),l=(0,I._m)("l");return n?a?-(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=n(16636),t7=n.n(t9);let ne=e=>{let{onClose:t,text:n,title:a}=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:a}),(0,D.jsx)("p",{className:t7().text,children:n}),(0,D.jsx)(I.zx,{onClick:t,size:"s",className:t7().button,children:"Понятно, спасибо"})]})},nt=(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)(ne,{...e})}),e.isMobile&&(0,D.jsx)(I.jr,{className:t7().mobilePopup,isOpen:e.isOpen,onClose:e.onClose,children:(0,D.jsx)(ne,{...e})})]}));function nn(){return(nn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}nt.displayName="PromoStubModal";var na=function(e){return L.createElement("svg",nn({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 nl(){return(nl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var ni=function(e){return L.createElement("svg",nl({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 no(){return(no=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)({}).hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(null,arguments)}var nr=function(e){return L.createElement("svg",no({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 ns=e=>{let{dataUrl:t,pageUrl:n,title:a}=e,l=(0,E.xn)((0,f.OB)("NEXT_PUBLIC_BASE_URL")||"",n,t),i=[{icon:(0,D.jsx)(nr,{}),url:"https://vk.com/share.php?url=".concat(l,"&title=").concat(a),name:"vk"},{icon:(0,D.jsx)(na,{}),url:"https://connect.ok.ru/offer?url=".concat(l,"&title=").concat(a),name:"Ok"},{icon:(0,D.jsx)(ni,{}),url:"https://telegram.me/share/url?url=".concat(l,"&text=").concat(a),name:"telegram"}];return[{name:"share",icon:v.share,title:"Поделиться",childList:i}]};var nc=n(20696),nu=n.n(nc);let nd=(0,f.OB)("NEXT_PUBLIC_BASE_URL"),n_=(0,L.memo)(e=>{let{className:t,data:n,bank:a,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}=n,x=(0,L.useRef)({title:"",text:""}),[T,N]=(0,L.useState)(!1),j=(0,L.useMemo)(()=>ns({dataUrl:n.url,pageUrl:i,title:r}),[n.url,i,r]),w=t6(),b=(0,L.useCallback)(e=>{switch(e){case"share":(0,ee.lQ)({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 n;let e=null===(n=j.find(e=>"share"===e.name))||void 0===n?void 0:n.childList,a=null==e?void 0:e.find(e=>e.name===t);a&&((0,ee.lQ)({eventCategory:p,eventAction:M?"click_share_"+a.name:"click_button_share",eventLabel:M?String(h):void 0,url:M?void 0:a.url}),window.open(a.url,"","toolbar=0,status=0,scrollbars=1,resizable=1,width=500,height=300"))}},[j,M,p,h]),y=(0,L.useCallback)(()=>{ea({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,P.Z)(nu().wrapper,{[nu().wrapperArchive]:l,[nu().wrapperSmall]:l||d,[nu().wrapperHideShareLinks]:v},t),children:[(0,D.jsxs)(I.W2,{className:(0,P.Z)(nu().company,d&&nu().companySmall),children:[(0,D.jsx)("div",{children:(0,D.jsxs)("h1",{className:nu().title,children:[r,(0,D.jsxs)("span",{className:(0,P.Z)(nu().subTitle,l&&nu().subTitleArchive),children:[!d&&(0,D.jsx)(I.$,{className:(0,P.Z)(nu().chip,nu().chipDesc),text:t3(o),color:_})," ",(0,D.jsxs)("span",{className:nu().subTitleText,children:["\xab",n.title,"\xbb"]})]})]})}),(null==a?void 0:a.logoMob)&&(0,D.jsx)(A(),{href:"".concat(nd,"/banki/").concat(a.url,"/").concat(i),className:(0,P.Z)(nu().logoContainer,(l||d)&&nu().logoContainerArchive),target:"_self",onClick:()=>{(null==a?void 0:a.name)&&(0,ee.lQ)({eventCategory:"vklady",eventAction:M?"click_company_logo_"+en(a.name):"click_link"+a.name,eventLabel:M?String(h):void 0,url:M?void 0:"".concat(nd,"/banki/").concat(a.url)})},children:(0,D.jsx)(Z(),{className:nu().logo,src:a.logoMob,alt:"логотип банка",width:48,height:48})})]}),(0,D.jsxs)(I.W2,{className:(0,P.Z)(nu().actionsContainer,d&&nu().actionsContainerSmall),children:[(0,D.jsxs)("div",{className:nu().actions,children:[g&&(0,D.jsx)(I.$,{className:(0,P.Z)(nu().chip,(!d||u)&&nu().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:nu().link,onClick:C})]})]}),(0,D.jsx)(nt,{isMobile:u,onClose:y,text:x.current.text,title:x.current.title,isOpen:T})]})});n_.displayName="Promo";var nm=n(82941),nM=n.n(nm);let np=(0,L.memo)(e=>{let{className:t,url:n,text:a,title:l}=e;return(0,D.jsxs)(I.W2,{className:(0,P.Z)(nM().container,t),children:[(0,D.jsx)("h3",{className:nM().title,dangerouslySetInnerHTML:{__html:l}}),(0,D.jsx)("h4",{className:nM().text,dangerouslySetInnerHTML:{__html:a}}),(0,D.jsx)(I.zx,{as:"a",variant:"purple",href:"/".concat(n),onClick:()=>{ea({eventCategory:n,eventAction:c.button,eventActionText:"Подобрать предложение",url:"".concat((0,f.OB)("NEXT_PUBLIC_BASE_URL"),"/").concat(n)})},className:nM().button,children:"Подобрать предложения"})]})});np.displayName="ArchivePromo";var nv={src:"/debit-cards/_next/static/media/app-qr.cccd9ede.svg",height:256,width:256,blurWidth:0,blurHeight:0},ng=n(810),nh=n.n(ng),nx={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 nT=(0,L.memo)(e=>{let{bannerUrl:t,className:n,isSmall:a}=e;return tw()?null:(0,D.jsx)(I.KF,{className:(0,P.Z)(n,nh().qrAd),QrImage:e=>{let{className:t}=e;return(0,D.jsx)(Z(),{alt:"qr",unoptimized:!0,src:nv,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:nx,className:t})},isSmall:a})});nT.displayName="QrAd";let nN=()=>{var e,t;let n="browserId",a=(0,tj.$1)();return{browserId:(null===(e=localStorage)||void 0===e?void 0:e.getItem(n))||(null==a?void 0:a[n])||null,sessionId:null===(t=sessionStorage)||void 0===t?void 0:t.getItem(n),customerId:(null==a?void 0:a["auth.gtm_customer_id"])||null}},nj=e=>{var t,n;let a=null==e?void 0:null===(t=e.online_application)||void 0===t?void 0:t.links;if(!a||!Array.isArray(a)||0===a.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 a)if((null===(n=e.description)||void 0===n?void 0:n.includes(l))&&e.url)return e.url;return null},nw=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 n=nN(),a=(0,tj.$1)(),l=e.includes("?")?"&":"?",i=null==a?void 0:a._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=n.sessionId?"&t7="+n.sessionId:"";return e+l+(i?"yandex_client_id="+i:"")+o+r+s+c+u+(i?"&t6="+i:"")+d+(n.browserId?"&t8="+n.browserId:"")+(n.customerId?"&t9="+n.customerId:"")},nb=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=nj(e);return a?nw(a,n):nw((null===(t=e.online_application)||void 0===t?void 0:t.url)||"".concat((0,f.OB)("NEXT_PUBLIC_BASE_URL"),"/mikrozajmy/").concat(e.url),n)};var nD=n(30736),nk=n.n(nD);let nL=e=>{var t;let{pageType:n,pageUrl:a,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=nb(l,u)},[l,u]);let M=n===m.ARCHIVE,p=()=>{var e;return(0,D.jsx)(n_,{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:a,titlePromo:" Дебетовая карта",title:l.bank_name,moreAboutLinkText:"Подробнее о карте",scrollBlockId:e9,isSmall:!0,tagTheme:"yellow",isMobile:i,isArchive:M,className:nk().promo,withNewMarkup:!1})},v=(0,L.useMemo)(()=>{let e=[],t=[];return l.card_type.ids.forEach(t=>{let n=s.find(e=>e.id===t);n&&e.push(n.title)}),l.card_type.custom&&e.push(l.card_type.custom),l.card_type.ids.forEach(e=>{let n=r.find(t=>t.id===e);n&&t.push(n.title)}),e.join(" / ")},[l,r,s]),g=(0,L.useMemo)(()=>{var e,t,a;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===(a=l.cash_back.action)||void 0===a?void 0:a.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 n!==m.ARCHIVE?r:o},[v,l,n]),h=(e,t)=>{ea({eventCategory:a,eventAction:c.button,eventActionText:e}),(0,I.ld)(t,{offset:_,position:"top"})};return(0,D.jsxs)("div",{className:(0,P.Z)(nk().container,{[nk().containerFull]:!M&&!1,[nk().containerArchive]:M}),children:[(0,D.jsxs)("div",{className:nk().left,children:[!M&&p(),M&&(0,D.jsx)(np,{title:"Карта в архиве",url:a,text:"Ее уже нельзя открыть. Но мы можем подобрать для вас другие предложения по дебетовым картам от разных банков"}),(0,D.jsx)(nT,{isSmall:!0,className:nk().qrDesc})]}),(0,D.jsxs)("div",{className:nk().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._n,"/img/d_cards/").concat(l.image),isSquare:!0},pageUrl:a,tag:l.online_application.commercial_desc,tagTheme:"yellow",footerActions:!M&&(0,D.jsxs)(D.Fragment,{children:[n===m.LEAD&&!!l.online_application.commercial&&(0,D.jsx)(I.zx,{as:"a",onClick:e=>{var t;ea({eventCategory:a,eventAction:c.link,eventActionText:null!==(t=e.currentTarget.textContent)&&void 0!==t?t:""})},href:d.current,target:"_blank",className:nk().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:nk().button,variant:"secondary",children:"Где оформить карту"})]}),isArchive:M,valuesList:g}),(0,D.jsx)(nT,{isSmall:!0,className:nk().qrMob})]})]})};var ny=n(98219),nA=n.n(ny);let nC=(0,L.memo)(e=>{var t;let{data:n,className:a,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=n.service,_.caption="Процент на остаток",_.name=n.balanceInterest?"".concat((0,I.$1)(+n.balanceInterest),"%"):"Нет";let M=n.cashBackValue?"".concat(n.bonusText," ").concat(n.cashBackValue):n.bonusText;m.caption="Бонусы",m.name=(0,D.jsx)("div",{className:nA().bonusText,children:M});let p=(0,L.useMemo)(()=>(function(e,t){let n=[{text:"Дебетовая карта",backGround:"orange"}];return e&&n.push({text:e,backGround:"purple"}),t&&n.push({text:t,backGround:"white"}),n})(n.typeText,n.tag),[n.tag,n.typeText]),v=e=>{o&&(0,ee.lQ)({event:"data-event",eventAction:e,eventCategory:o,eventLabel:n.id,eventValue:n.eventValue}),null==i||i(n)},g=()=>{l(n),o&&ea({eventCategory:o,eventAction:c.button,eventActionText:"open_modal"})},h=(0,L.useCallback)(e=>{let[t]=e;1===t.intersectionRatio&&!s.current&&(o&&(0,ee.lQ)({event:"data-event",eventAction:"show_in_catalog",eventCategory:o,eventLabel:n.id}),s.current=!0,r.current&&u.current&&r.current.unobserve(u.current))},[n.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:a,onClick:()=>v("click_button_".concat(en("Подать заявку"))),"data-testid":"card-list-item",children:(0,D.jsx)(I.Ad,{type:"credit",icon:{type:"rectangle",element:(0,D.jsx)(ty,{className:nA().img,unoptimized:!0,width:76,height:46,src:null!==(t=n.image)&&void 0!==t?t:"",fallbackSrc:tz.src,alt:"logo"})},title:n.bankName,titleCaption:n.title,href:n.url,tags:p,target:"_self",advantageAmountFrom:d,advantageBonus:_,advantageAmountTo:m,onOpenDetailModal:g,onDetailClick:g,className:nA().plate})})});nC.displayName="CardListItem";var nf=n(99337),nO=n.n(nf);let nz=e=>{let{data:t,cardTypes:n,contactlessCardTypes:a}=e,l=(0,L.useMemo)(()=>t&&n&&a?tu(t,n,a):null,[n,a,t]);return t?(0,D.jsxs)("div",{className:nO().content,children:[(0,D.jsx)("p",{className:nO().listTitle,children:"Условия оформления карты"}),(0,D.jsx)("ul",{className:nO().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:nO().listTitle,children:"Условия"}),(0,D.jsx)("ul",{className:nO().list})]})]}):null},nI=e=>{var t;let n=(0,I._m)("l"),a="Все условия по картам",l=t=>{var n;ea({eventAction:c.link,eventActionText:t,eventCategory:e.mainPageUrl,eventLabel:null===(n=e.data)||void 0===n?void 0:n.id})};(0,L.useEffect)(()=>{var t,n;e.bankName&&(null===(t=e.data)||void 0===t?void 0:t.id)&&ea({eventAction:c.popup,eventActionText:null==e?void 0:e.bankName,eventCategory:e.mainPageUrl,eventLabel:String(null===(n=e.data)||void 0===n?void 0:n.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:nO().buttons,children:[(0,D.jsx)(I.zx,{as:"a",onClick:()=>l(a),target:"_blank",href:"".concat(ec._n).concat(e.subUrl||e.url),variant:"secondary",className:nO().button,children:a}),(0,D.jsx)(I.zx,{as:"a",onClick:()=>l("Оформить онлайн"),target:"_blank",href:"".concat(ec._n).concat(e.url),variant:"primary",className:nO().button,children:"Оформить онлайн"})]});return(0,D.jsx)(eA.h,{children:n?(0,D.jsx)(I.dy,{title:(0,D.jsxs)("div",{className:nO().title,children:[e.logo&&(0,D.jsx)("div",{className:nO().logoContainer,children:(0,D.jsx)(Z(),{className:nO().logo,unoptimized:!0,width:50,height:50,src:e.logo,alt:"logo"})})," ",e.bankName]}),rowTitle:!0,titleAlign:"left",className:nO().drawer,contentClassName:nO().container,isOpen:e.isOpen,onClose:e.onClose,footer:i,children:(0,D.jsx)(nz,{...e})}):(0,D.jsx)(I.jr,{className:nO().mobilePopup,contentClassName:nO().container,isOpen:e.isOpen,onClose:e.onClose,footer:i,children:(0,D.jsx)(nz,{...e})})})},nE=e=>{let{productList:t,anotherList:n,count:a}=e;return[...t.filter(e=>3===e.online_application.type),...n.filter(e=>3!==e.online_application.type&&1===e.online_application.unplatform_banks),...n.filter(e=>3!==e.online_application.type&&1!==e.online_application.unplatform_banks&&1===e.online_application.commercial),...n.filter(e=>3!==e.online_application.type&&1!==e.online_application.unplatform_banks&&1!==e.online_application.commercial)].slice(0,a)};var nS=n(26270);let nU=e=>(0,nS.t)("/money_data/ServiceDetail.json?url=".concat(e,"&archive=0&service=debitCard")),nQ=e=>(0,nS.t)("/money_data/DebitCards.json?limit=".concat(e,"&archive=0"));n(87354),n(36081),n(86092);let nY=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},nP=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},nB=e=>{var t,n,a,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=nP(M.service_cost.first_year_cost),T=null,N=nY(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===(n=M.cash_withdrawal_limit)||void 0===n?void 0:n.comment)&&void 0!==u?u:0),limitPerday:Number(null!==(d=null===(a=M.cash_withdrawal_limit)||void 0===a?void 0:a.text)&&void 0!==d?d:0),currency:"₽",tag:M.online_application.commercial_desc,typeText:T,eventValue:h,image:M.image?"".concat(ec._n,"/img/d_cards/").concat(M.image):tz.src,balanceInterest:M.balance_interest_number,bonusText:j,cashBackValue:w}};var nR=n(24369),nW=n.n(nR);let nH=(0,L.memo)(e=>{var t;let{pageUrl:n,bank:a,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=>{ea({eventCategory:n,eventAction:c.link,eventActionText:e.title,eventLabel:e.id,url:e.url})},[n]),g=(0,L.useCallback)(e=>{M(e),e&&ea({eventCategory:n,eventAction:c.popup,eventActionText:e.title,eventLabel:e.id})},[n]),h=(0,L.useMemo)(()=>{let e=o?o.filter(e=>e.id!==i):[];return nE({productList:e,anotherList:e,count:3})},[o,i]),x=(0,L.useMemo)(()=>{let e=r||[];return nE({productList:e,anotherList:e,count:5-h.length})},[h.length,r]),T=(0,L.useMemo)(()=>({bankList:h.map(e=>nB({banks:[a],card:e})),finuslugiList:x.map(e=>nB({banks:l,card:e}))}),[a,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._n,"/banki/").concat(a.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,P.Z)(nW().container,d),children:[(0,D.jsx)("h3",{className:nW().title,children:"Другие предложения"}),(0,D.jsxs)(eh.t,{children:[T.bankList.length?(0,D.jsxs)("section",{className:nW().offersListContainer,children:[(0,D.jsxs)("p",{className:nW().listTitle,children:["Дебетовые карты от ",a.name]}),T.bankList.map(e=>(0,D.jsx)(L.Fragment,{children:(0,D.jsx)(nC,{onClickDetail:g,className:nW().listItem,data:e,onClick:v,eventCategory:n,text:"Подать заявку"},e.url)},e.id)),(0,D.jsx)(es,{offPadding:!0,text:"Bсе предложения от банка",href:j,target:"_self",iconColor:"light",mainPageUrl:n})]}):null,T.finuslugiList.length?(0,D.jsxs)("section",{className:nW().offersListContainer,children:[(0,D.jsx)("p",{className:nW().listTitle,children:"Предложения на Финуслугах"}),T.finuslugiList.map(e=>(0,D.jsx)(L.Fragment,{children:(0,D.jsx)(nC,{onClickDetail:g,className:nW().listItem,data:e,onClick:v,eventCategory:n,text:"Подать заявку"},e.url)},e.id)),(0,D.jsx)(es,{offPadding:!0,text:"Bсе предложения на Финуслугах",href:"".concat(ec._n,"/debetovye_karty"),target:"_self",iconColor:"light",mainPageUrl:n})]}):null]})]}),(0,D.jsx)(nI,{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:n})]})});nH.displayName="DebitCardsList";let nF=()=>(0,nS.t)("/money_data/MfoShort.json"),nZ=e=>{let{bankUrl:t,pageType:n}=e,a=(0,L.useRef)(!1),l=(0,L.useRef)(t).current,[i,o]=(0,L.useState)({debitCards:[],debitCardsFinuslugi:[],mfo:[]});return(0,L.useEffect)(()=>{if(!a.current&&l)return a.current=!0,(async()=>{var e,t,a;let i=[],r=[],s=[],[c,u,d]=await Promise.allSettled([nU(l),nQ(5),n===m.ARCHIVE?nF():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===(a=d.value)||void 0===a?void 0:a.data)&&(s=d.value.data.companies),o({debitCards:i,debitCardsFinuslugi:r,mfo:s})})(),()=>{a.current=!0}},[]),i};var nV=n(62273),nJ=n.n(nV),nX=n(83454);let nK=e=>(0,D.jsx)(A(),{...e}),nG=e=>{var t;let{data:n,pageType:a,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}=nZ({bankUrl:n.bank_url,pageType:a}),T=(0,I._m)("l"),N=eb(ex),j=function(e){let{bannersTitle:t,queryParams:n,stores:a}=e,l=(0,I._m)("l"),i=ew(),o=(0,L.useMemo)(()=>{let e=i?[...n,"referer=".concat(i)]:n;return e.length?"?".concat(e.join("&")):""},[i,n]);return(0,L.useMemo)(()=>t.reduce((e,t)=>{let n=null==a?void 0:a.find(e=>e.title===t);if(n){let a=l?n.url_desktop:n.url_mobile;e[t]=a?a+o:""}return e},{}),[t,a,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===n.bank_id);if(!k)throw new S('The "'.concat(n.bank_name,'" bank not found by ID #').concat(n.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(n.title," от ").concat(k.name_r," заказать онлайн — условия обслуживания, остаток на проценты"),Y="".concat(n.short_description," от ").concat(k.name_r,": условия, требования, лимиты и комиссии, бонусы."),P=(()=>{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):""),a=[{label:"Дебетовые карты".concat(e),href:"/".concat(td).concat(t)}];return d&&a.push({label:"".concat(d.name).concat(e),href:"/".concat(td,"/teg_").concat(d.url).concat(t)}),a.push({label:"".concat(n.bank_name," Дебетовая карта ").concat(n.title)}),a})(),B=(0,L.useMemo)(()=>{var e,t;return JSON.stringify({"@context":"https://schema.org","@type":"BankOrCreditUnion",name:n.bank_name,url:(0,E.xn)(ec._n,"banki",n.bank_url),image:n.image?(0,E.xn)(ec._n,"img/d_card/220",n.image):void 0,address:{"@type":"PostalAddress",addressLocality:"Россия"},telephone:(null===(t=n.online_application)||void 0===t?void 0:null===(e=t.phones)||void 0===e?void 0:e[0])||void 0})},[n.bank_name,n.bank_url,n.image,null===(t=n.online_application)||void 0===t?void 0:t.phones]),R=(0,L.useMemo)(()=>{var e;let{release_cost:t}=n.service_cost;return JSON.stringify({"@context":"https://schema.org","@type":"Product",name:"Дебетовая карта \xab".concat(n.title,"\xbb"),description:Y,image:"".concat(ec._n,"/img/d_cards/").concat(n.image),brand:{"@type":"Brand",name:"".concat(n.bank_name)},offers:{"@type":"Offer",price:"Бесплатно"===t?"0":t.replace(/\D/g,""),priceCurrency:ej(n.currency_id).code,url:"".concat(ec._n,"/debetovye_karty/").concat(n.url),availability:"https://schema.org/InStock",eligibleRegion:{"@type":"Place",name:"Россия"}},additionalProperty:[{"@type":"PropertyValue",name:"Кэшбэк",value:(null===(e=n.cash_back.action)||void 0===e?void 0:e.toLocaleLowerCase())||n.cash_back.custom||""},{"@type":"PropertyValue",name:"Обслуживание",value:n.service_cost.second_year_cost||n.service_cost.first_year_cost}],aggregateRating:{"@type":"AggregateRating",ratingValue:"4.8",reviewCount:"1276",bestRating:"5",worstRating:"1"}})},[n.title,Y,n.image,n.bank_name,n.service_cost,n.currency_id,n.url,n.cash_back]);return(0,D.jsxs)("main",{className:nJ().page,children:[(0,D.jsx)(eg,{productId:String(n.id),title:A,description:Y,path:v}),(0,D.jsx)("div",{className:nJ().navigationWrapper,children:(0,D.jsx)(eh.t,{children:(0,D.jsx)(H,{items:P,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)(nL,{pageType:a,pageUrl:td,data:n,bank:k,cardTypes:l,contactlessCardTypes:r,isMobile:!T})}),(0,D.jsx)(eh.t,{children:(0,D.jsx)(tM,{data:n,pageUrl:td,cardTypes:l,contactlessCardTypes:r,bank:k})}),a===m.ARCHIVE&&(0,D.jsx)("section",{className:nJ().pickerSection,children:(0,D.jsx)(eh.t,{children:(0,D.jsx)(I.HE,{defaultIndex:2,searchTags:u,carImg:Q.src,bikeImg:U.src,banks:M||[],isMobile:!T,regions:c,mfo:x,cardTypes:l,mainProducts:eT})})}),a!==m.ARCHIVE&&(0,D.jsx)(tk,{pageUrl:td,bannerUrl:j.debetovye_karty_detail,isMobile:!T,pageType:a,url:n.online_application.url}),a!==m.ARCHIVE&&k&&(0,D.jsx)(nH,{pageUrl:td,bank:k,banks:M||[],currentCardId:n.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:nX.env.NEXT_PUBLIC_ASSETS_BASE_URL||(0,f.OB)("NEXT_PUBLIC_ASSETS_BASE_URL")||""}),(0,D.jsx)(O.C,{Link:nK,dataLayerPush:ee.lQ,questions:y,eventCategory:"cards_support_block"})]})},nq=e=>{let{isShort:t}=e;return(0,nS.t)("/money_data/Root.json".concat(t?"?short=1":""))},n$=(e,t)=>{let[n,a]=(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 nq({isShort:!0});e.data&&a(e.data)})()},[e]),n};var n0=!0;function n1(e){var t,n;let a=n$(!1,{region:null,town:null});return(0,D.jsx)(k.Z,{aggregatorIds:e.aggregatorIds,headerDto:e.headerData,footerDto:e.footer,children:(0,D.jsx)(nG,{stores:null===(t=e.config)||void 0===t?void 0:t.stores,regions:a.regions,searchTags:null===(n=e.searchSettings)||void 0===n?void 0:n.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()}]);