
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="07105820-f4fe-535f-96b5-f982133025b7")}catch(e){}}();
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1127],{70195:function(e,t,n){Promise.resolve().then(n.bind(n,61010)),Promise.resolve().then(n.bind(n,90668))},90657:function(e,t,n){"use strict";n.d(t,{O:function(){return d}});var i=n(57437),r=n(63726),s=n(90523),o=n(27569),a=n(22136),c=n(27267),l=n.n(c);let d=e=>{let{title:t,description:n,items:c,eventCategory:d}=e,u=e=>{(0,a.D)({eventCategory:d,eventActionType:a.i.link,eventActionText:e})};return 0===c.length?null:(0,i.jsx)("div",{className:l().section,"data-sentry-component":"YouCanTrust","data-sentry-source-file":"YouCanTrust.tsx",children:(0,i.jsx)(s.W2,{"data-sentry-element":"Container","data-sentry-source-file":"YouCanTrust.tsx",children:(0,i.jsxs)("div",{className:l().wrapper,children:[(0,i.jsxs)("div",{className:l().heading,children:[(0,i.jsx)("h2",{className:l().title,children:t}),n&&(0,i.jsx)("p",{className:l().description,children:n})]}),(0,i.jsx)("div",{className:(0,o.Z)(l().cards,{[l().cardsWithThreeItems]:3===c.length}),children:c.map((e,t)=>{let{img:n,title:s}=e;return(0,i.jsxs)("div",{className:l().card,onClick:()=>u(s),children:[(0,i.jsx)(r.default,{className:l().image,src:n,alt:s,width:288,height:160}),(0,i.jsx)("span",{className:l().text,children:s})]},t)})})]})})})}},90668:function(e,t,n){"use strict";n.d(t,{Security:function(){return b}});var i=n(57437),r=n(90523),s=n(64238),o=n(8404),a=n(37928),c=n(90657),l=n(93532),d=n(22136),u=n(18978),p=n.n(u);let m=e=>{var t;let{data:n}=e,s=null!==(t=n.securityCards)&&void 0!==t?t:[];if(!s.length)return null;let o=e=>{(0,d.D)({eventCategory:n.eventCategory||"",eventActionType:d.i.banner,eventActionText:e.title,eventLabel:e.link.href})};return(0,i.jsx)(r.W2,{"data-sentry-element":"Container","data-sentry-component":"SecurityCards","data-sentry-source-file":"SecurityCards.tsx",children:(0,i.jsx)("section",{className:p().wrapper,children:(0,i.jsx)("div",{className:p().cards,children:s.map(e=>{var t,n,r,s,a;return(0,i.jsxs)("a",{className:p().card,href:null===(t=e.link)||void 0===t?void 0:t.href,target:null===(n=e.link)||void 0===n?void 0:n.target,onClick:()=>o(e),children:[(0,i.jsxs)("div",{className:p().content,children:[(0,i.jsx)("h4",{className:p().title,children:e.title}),(0,i.jsx)("div",{className:p().paragraphs,children:e.description.map((t,n)=>(0,i.jsx)("p",{className:p().description,children:t},"".concat(e.title,"-").concat(n)))}),(0,i.jsx)(l.IconFdsArrowUpRightSmallO,{className:p().icon,size:32})]}),(0,i.jsx)("div",{className:p().media,children:(0,i.jsxs)("picture",{className:p().picture,children:[(0,i.jsx)("source",{media:"(max-width: 1024px)",srcSet:null===(r=e.image)||void 0===r?void 0:r.mobile}),(0,i.jsx)("img",{className:p().image,src:null===(s=e.image)||void 0===s?void 0:s.desktop,alt:null===(a=e.image)||void 0===a?void 0:a.alt,loading:"lazy"})]})})]},e.title)})})})})};var _=n(34780),g=n(12893),f=n.n(g);let h=e=>{var t,n,s;let{data:a}=e,c=(0,o.S)(),{hero:l}=a;if(l)return(0,i.jsx)(r.W2,{"data-sentry-element":"Container","data-sentry-component":"SecurityHero","data-sentry-source-file":"SecurityHero.tsx",children:(0,i.jsx)("section",{className:f().wrapper,children:(0,i.jsxs)("div",{className:f().content,children:[(0,i.jsxs)("div",{className:f().info,children:[(0,i.jsx)("h1",{className:f().title,children:l.title}),(0,i.jsx)("p",{className:f().description,dangerouslySetInnerHTML:{__html:l.descriptionHtml}})]}),(0,i.jsxs)("aside",{className:f().card,children:[(0,i.jsx)("h4",{className:f().cardTitle,children:l.cardTitle}),(0,i.jsx)("p",{className:f().cardDescription,dangerouslySetInnerHTML:{__html:l.cardDescriptionHtml}}),(0,i.jsx)(_.j,{className:f().moreInfoLink,text:null===(t=l.moreInfoLink)||void 0===t?void 0:t.text,href:null===(n=l.moreInfoLink)||void 0===n?void 0:n.href,target:null===(s=l.moreInfoLink)||void 0===s?void 0:s.target,mainPageUrl:a.eventCategory||c.NEXT_PUBLIC_BASE_URL,offPadding:!0,widthMaxContent:!0,iconColor:"white","data-sentry-element":"CheckFullInfoLink","data-sentry-source-file":"SecurityHero.tsx"})]})]})})})};var v=n(30023),y=n.n(v);let b=e=>{let{data:t,supportData:n,trustData:l}=e,d=(0,o.S)();return(0,i.jsxs)("div",{className:y().page,"data-sentry-component":"Security","data-sentry-source-file":"Security.tsx",children:[(0,i.jsx)(r.W2,{"data-sentry-element":"Container","data-sentry-source-file":"Security.tsx",children:(0,i.jsx)(s.Oo,{className:y().breadcrumbs,items:t.breadcrumbs,"data-sentry-element":"Breadcrumbs","data-sentry-source-file":"Security.tsx"})}),(0,i.jsx)(h,{data:t,"data-sentry-element":"SecurityHero","data-sentry-source-file":"Security.tsx"}),(0,i.jsx)(c.O,{title:(null==l?void 0:l.title)||"",description:(null==l?void 0:l.description)||"",items:(null==l?void 0:l.items)||[],eventCategory:(null==t?void 0:t.eventCategory)||"","data-sentry-element":"YouCanTrust","data-sentry-source-file":"Security.tsx"}),(0,i.jsx)(m,{data:t,"data-sentry-element":"SecurityCards","data-sentry-source-file":"Security.tsx"}),n&&(0,i.jsx)(a.B,{...n,s3Assets:d.NEXT_PUBLIC_S3_ASSETS})]})}},63726:function(e,t,n){"use strict";n.d(t,{default:function(){return r.a}});var i=n(20717),r=n.n(i)},20717:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return c},getImageProps:function(){return a}});let i=n(43150),r=n(10249),s=n(92267),o=i._(n(46208));function a(e){let{props:t}=(0,r.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let c=s.Image},34780:function(e,t,n){"use strict";n.d(t,{j:function(){return d}});var i=n(57437),r=n(2265),s=n(93532),o=n(27569),a=n(22136),c=n(24561),l=n.n(c);let d=(0,r.memo)(e=>{let{onClick:t,text:n,href:c,target:d,iconColor:u="light",mainPageUrl:p,offPadding:m,widthMaxContent:_,className:g,icon:f}=e,h=(0,r.useCallback)(e=>c?(0,i.jsx)("a",{onClick:e.onClick,href:c,target:d,...e}):(0,i.jsx)("button",{onClick:e.onClick,...e}),[c,d]),v=f||s.IconFdsArrowUpRightSmallO;return(0,i.jsx)("div",{className:(0,o.Z)(l().linkWrapper,{[l().padding]:!m,[l().width]:_},g),onClick:()=>{(0,a.D)({eventCategory:p,eventActionType:a.i.link,eventActionText:n,eventLabel:c})},children:(0,i.jsxs)(h,{onClick:t,className:l().link,children:[n,(0,i.jsx)(v,{size:22,className:(0,o.Z)(l().icon,l()[u])})]})})});d.displayName="CheckFullInfoLink"},22136:function(e,t,n){"use strict";n.d(t,{i:function(){return r},D:function(){return c}});var i,r,s=n(25999);let o={а:"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"},a=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in o?o[t]:e}).replaceAll(" ","_").replaceAll("\xa0","_");(i=r||(r={})).icon="icon",i.chip="chip",i.accordion="accordion",i.button="button",i.checkbox="checkbox",i.radio="radio",i.select="select",i.toggle="toggle",i.tooltip="tooltip",i.link="link",i.banner="banner",i.tag="tag",i.date="date",i.field="field",i.offer="offer",i.tab="tab",i.submit_button="submit_button",i.popup="popup",i.block="block";let c=e=>{let{eventCategory:t,eventActionType:n,eventActionText:i="",eventLabel:r}=e,o={event:"data-event",eventCategory:t,eventAction:{icon:"click_icon_",chip:"click_chip_",accordion:"show_acc_",button:"click_button_",checkbox:"click_check_",radio:"click_radio_",select:"click_sel_",toggle:"click_togg_",tooltip:"click_tip_",link:"click_link_",banner:"click_bnr_",tag:"click_tag_",date:"input_date_",field:"input_field_",offer:"click_offer_",tab:"click_tab_",submit_button:"form_button_",popup:"show_pop_up_",block:"click_block_"}[n]+a(i)};void 0!==r&&(o.eventLabel=a("string"==typeof r?r:r.toString())),(0,s.l)(o)}},25999:function(e,t,n){"use strict";n.d(t,{l:function(){return s},y:function(){return o}});var i=n(37035);let r=[{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"}],s=(e,t)=>{let n=sessionStorage.getItem("pushedEvents"),r=n?JSON.parse(n):[];e.event||(e.event="data-event"),"string"==typeof e.eventAction&&(e.eventAction=e.eventAction.toLowerCase().replaceAll(" ","_")),"string"==typeof e.eventLabel&&(e.eventLabel=e.eventLabel.toLowerCase().replaceAll(" ","_"));let s=r.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||!s){if(t){let t={...e};t.url=window.location.pathname,r.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(r))}(0,i.AB)(e)}},o=e=>{r.some(t=>{if(e.includes(t.path)){let n=e.match(/str_(\d+)/),i=(null==n?void 0:n[1])?Number(n[1]):1;return setTimeout(()=>{s({event:"data-event",eventCategory:t.category,eventAction:"stay_15_seconds",eventLabel:e,eventValue:i})},15e3),!0}return!1})}},24561:function(e){e.exports={linkWrapper:"CheckFullInfoLink_linkWrapper__MewQV",width:"CheckFullInfoLink_width__wZeUL",padding:"CheckFullInfoLink_padding__Lh4bJ",link:"CheckFullInfoLink_link__7whuk",icon:"CheckFullInfoLink_icon__fQD9U",light:"CheckFullInfoLink_light__lJeRc",white:"CheckFullInfoLink_white__MzFzv"}},27267:function(e){e.exports={section:"YouCanTrust_section__OtGS1",title:"YouCanTrust_title__kvM5x",card:"YouCanTrust_card__WclVs",text:"YouCanTrust_text__TgBgw",wrapper:"YouCanTrust_wrapper__XUXUY",description:"YouCanTrust_description__zw6jY",cards:"YouCanTrust_cards__vbqjP",cardsWithThreeItems:"YouCanTrust_cardsWithThreeItems__clux5",image:"YouCanTrust_image__fMUny"}},30023:function(e){e.exports={page:"Security_page__J4zFa",breadcrumbs:"Security_breadcrumbs___4WLa"}},18978:function(e){e.exports={title:"SecurityCards_title__bUYCf",wrapper:"SecurityCards_wrapper__vdnQg",cards:"SecurityCards_cards__Z57V3",card:"SecurityCards_card__j3PSi",icon:"SecurityCards_icon__5NaOV",content:"SecurityCards_content__3NnT1",paragraphs:"SecurityCards_paragraphs__5dLby",description:"SecurityCards_description__2JmaB",media:"SecurityCards_media__cSfGa",picture:"SecurityCards_picture__rwP8X",image:"SecurityCards_image__0QK9n"}},12893:function(e){e.exports={title:"SecurityHero_title__NKOPF",wrapper:"SecurityHero_wrapper__6PYl3",content:"SecurityHero_content__E_mFw",info:"SecurityHero_info___hhYS",description:"SecurityHero_description__CsOQo",card:"SecurityHero_card__fVMyq",cardTitle:"SecurityHero_cardTitle__8oYBs",cardDescription:"SecurityHero_cardDescription__uAc1l",moreInfoLink:"SecurityHero_moreInfoLink__b_Fsv"}},93756:function(e,t,n){"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});let i=n(2265);t.TagManagerNoscript=function({gtmID:e,mtmURL:t,mtmID:n}){return i.createElement(i.Fragment,null,i.createElement("noscript",{id:"analytics-gtm-noscript",dangerouslySetInnerHTML:{__html:function({gtmID:e}){return`<iframe src="https://www.googletagmanager.com/ns.html?id=${e}" height="0" width="0" style="display:none;visibility:hidden"></iframe>`}({gtmID:e})}}),i.createElement("noscript",{id:"analytics-mtm-noscript",dangerouslySetInnerHTML:{__html:function({mtmURL:e,mtmID:t}){return`<img src="${e}/matomo.php?idsite=${t}&rec=1" alt="Matomo Tracker" style="display:none;visibility:hidden" />`}({mtmURL:t,mtmID:n})}}))},t.TagManagerScript=function({gtmID:e,mtmURL:t,mtmID:n,autoInit:r=!0}){return i.createElement(i.Fragment,null,i.createElement("script",{id:"analytics-session-script",dangerouslySetInnerHTML:{__html:`
    (function(w) {
  /*! js-cookie v3.0.5 | MIT */
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self,function(){var n=e.Cookies,o=e.Cookies=t();o.noConflict=function(){return e.Cookies=n,o}}())}(this,(function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}var t=function t(n,o){function r(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var u in i)i[u]&&(c+="; "+u,!0!==i[u]&&(c+="="+i[u].split(";")[0]));return document.cookie=t+"="+n.write(r,t)+c}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],o={},r=0;r<t.length;r++){var i=t[r].split("="),c=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(o[u]=n.read(c,u),e===u)break}catch(e){}}return e?o[e]:o}},remove:function(t,n){r(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});return t}));
  function uuidv4(){return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(a){return (a^Math.random()*16>>a/4).toString(16)})}
  function normalizeDomain(domain) {return '.'+domain.replace(/^http(s)?:\\/\\//gi, '').replace(/\\/$/, '').split('.').slice(-2).join('.')}
  var uuidv4re=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
  var browserId=Cookies.get('browserId')||w.browserId||(function(){
    try{return w.localStorage.getItem('browserId');}catch(e){return null;}
  })()||uuidv4();
  var sessionId=Cookies.get('browserSessionId')||w.browserSessionId||(function(){
    try{return w.sessionStorage.getItem('browserSessionId')||w.sessionStorage.getItem('browserId');}catch(e){return null;}
  })()||uuidv4();
  if(!browserId.match(uuidv4re)){browserId=uuidv4();}
  if(!sessionId.match(uuidv4re)){sessionId=uuidv4();}
  w.browserId=browserId;
  w.browserSessionId=sessionId;
  try{
    w.localStorage.setItem('browserId', browserId);
    w.sessionStorage.setItem('browserId', sessionId);
    w.sessionStorage.setItem('browserSessionId', sessionId);
  }catch(e){}
  var domain=normalizeDomain(w.location.hostname);
  var cookieOptions={path:'/',secure:true,domain:domain,sameSite:w.location.protocol==='https:'?'None':'Lax'};
  Cookies.set('browserId',browserId,Object.assign({},cookieOptions,{expires: 365}));
  Cookies.set('browserSessionId',sessionId,cookieOptions);
  w.dataLayer=w.dataLayer||[];w._mtm=w._mtm||[];
  w.dataLayer.push({browser_id:browserId,session_id:sessionId});
  w._mtm.push({event:'setBrowserSession',browser_id:browserId,session_id:sessionId});
})(window);
  `}}),i.createElement("script",{id:"analytics-gtm-script",dangerouslySetInnerHTML:{__html:function({gtmID:e}){return`
    (function(w,l,d){
      w._gtm_initialized=false;
      w[l]=w[l]||[];
      w[l].push({...(w._session||{})});
      w._init_gtm=function(){
        if(w._gtm_initialized)return;
        w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});
        var g=d.createElement('script'),s=d.getElementsByTagName('script')[0];
        g.type='text/javascript';
        g.async=true;
        g.src='https://www.googletagmanager.com/gtm.js?id=${e}&l=dataLayer';
        s.parentNode.insertBefore(g,s);
        g.onload=function(){
          w._gtm_initialized=true;
        };
      }
    })(window,'dataLayer',document);
  `}({gtmID:e})}}),i.createElement("script",{id:"analytics-mtm-script",dangerouslySetInnerHTML:{__html:function({mtmURL:e,mtmID:t}){return`
    (function(w,l,d){
      w._mtm_initialized=false;
      w[l]=w[l]||[];
      w[l].push({...(w._session||{})});
      w._init_mtm=function(){
        if(w._mtm_initialized)return;
        w[l].push({'mtm.startTime':(new Date().getTime()),'event':'mtm.Start'});
        var g=d.createElement('script'),s=d.getElementsByTagName('script')[0];
        g.type='text/javascript';
        g.async=true;
        g.src='${e}/js/container_${t}.js';
        s.parentNode.insertBefore(g,s);
        g.onload=function(){
          w._mtm_initialized=true;
        };
      }
    })(window,'_mtm',document);
  `}({mtmURL:t,mtmID:n})}}),r&&i.createElement("script",{id:"analytics-auto-init-script",dangerouslySetInnerHTML:{__html:`
    (function(w,g,m){
      if(typeof w[g]==='function')w[g]();
      if(typeof w[m]==='function')w[m]();
    })(window,'_init_gtm','_init_mtm');
  `}}))}},863:function(e,t,n){n(93756)},46714:function(e,t,n){"use strict";function i(e,t){return`finkit-widgets-${t}-${e}`}n.d(t,{g:function(){return i}})},48559:function(e,t,n){"use strict";let i;n.d(t,{D:function(){return o},h:function(){return c}});var r=n(2292),s=n(53133),o=((i=o||{}).icon="icon",i.chip="chip",i.accordion="accordion",i.button="button",i.checkbox="checkbox",i.radio="radio",i.select="select",i.toggle="toggle",i.tooltip="tooltip",i.link="link",i.banner="banner",i.tag="tag",i.date="date",i.field="field",i.offer="offer",i.tab="tab",i.submitButton="submitButton",i.popup="popup",i.block="block",i);let a={icon:"click_icon_",chip:"click_chip_",accordion:"show_acc_",button:"click_button_",checkbox:"click_check_",radio:"click_radio_",select:"click_sel_",toggle:"click_togg_",tooltip:"click_tip_",link:"click_link_",banner:"click_bnr_",tag:"click_tag_",date:"input_date_",field:"input_field_",offer:"click_offer_",tab:"click_tab_",submitButton:"form_button_",popup:"show_pop_up_",block:"click_block_"},c=({eventCategory:e,eventActionType:t,eventActionText:n="",eventLabel:i})=>{let o={event:"data-event",eventCategory:e,eventAction:a[t]+(0,r.t)(n)};void 0!==i&&(o.eventLabel=(0,r.t)("string"==typeof i?i:i.toString())),(0,s.d)(o)}},53133:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});var i=n(37035);let r=(e,t)=>{if(typeof window>"u")return;let n=sessionStorage.getItem("pushedEvents"),r=n?JSON.parse(n):[];e.event||(e.event="data-event"),"string"==typeof e.eventAction&&(e.eventAction=e.eventAction.toLowerCase().replaceAll(" ","_")),"string"==typeof e.eventLabel&&(e.eventLabel=e.eventLabel.toLowerCase().replaceAll(" ","_")),e.eventLabel||(e.eventLabel="undefined");let s=r.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||!s){if(t){let t={...e};t.url=window.location.pathname,r.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(r))}(0,i.AB)(e)}}},2292:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});let i={а:"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"},r=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in i?i[t]:e}).replaceAll(/[ \u00A0]/g,"_")},8404:function(e,t,n){"use strict";n.d(t,{S:function(){return a}}),n(57437),n(863);var i=n(61010),r=n(46714),s=n(37658);let o=(0,r.g)("root-layout","sc"),a=(Object.freeze({layout:`${o}__layout`,body:`${o}__body`}),()=>{if(typeof window>"u")return{...s.env};let e=(0,i.g)();if(!e)throw Error("getEnvValue() вызвана на клиенте до инициализации контекста. Убедитесь, что env передан в RootLayout (LayoutClientInitializer вызовет setEnvStore).");return e})},37928:function(e,t,n){"use strict";n.d(t,{B:function(){return b}});var i=n(57437),r=n(90523),s=n(27569),o=n(93532),a=n(64238),c=n(48559),l=n(46714),d=n(2265);let u=(0,l.g)("support","sc"),p=Object.freeze({support:u,title:`${u}__title`,cardsContainer:`${u}__cards-container`}),m="cb-support",_=(0,l.g)("support-app-card","sc"),g=Object.freeze({supportAppCard:_,textWrapper:`${_}__text-wrapper`,imageContainer:`${_}__image-container`,title:`${_}__title`,description:`${_}__description`,button:`${_}__button`,imageWrapper:`${_}__image-wrapper`,image:`${_}__image`}),f=({title:e,linkUrl:t,s3Assets:n,description:r})=>{let s=(0,a.aF)("s");return(0,i.jsxs)("div",{className:g.supportAppCard,onClick:()=>{s&&((0,c.h)({eventCategory:m,eventActionType:c.D.banner,eventActionText:e,eventLabel:t}),window.open(t,"_blank","noreferrer"))},children:[(0,i.jsx)(a.zx,{className:g.button,iconLeft:(0,i.jsx)(o.IconFdsArrowUpRightSmallO,{size:24}),shape:"circle-icon",size:"xs"}),(0,i.jsxs)("div",{className:g.textWrapper,children:[(0,i.jsx)("div",{className:g.title,children:e}),!!r&&(0,i.jsx)("div",{className:g.description,children:r})]}),(0,i.jsx)("div",{className:g.imageContainer,children:(0,i.jsxs)("picture",{className:g.imageWrapper,children:[(0,i.jsx)("source",{media:"(max-width: 767px)",srcSet:`${n}/mp-assets/widgets/SupportBlock/mobile-app.png 1x, ${n}/mp-assets/widgets/SupportBlock/mobile-app@2x.png 2x`}),(0,i.jsx)("img",{className:g.image,loading:"lazy",src:`${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg`,srcSet:`${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app.jpg 1x, ${n}/mp-assets/widgets/SupportBlock/qr-code-mobile-app@2x.jpg 2x`})]})})]})},h=(0,l.g)("support-phone-card","sc"),v=Object.freeze({supportPhoneCard:h,contacts:`${h}__contacts`,contactsExtra:`${h}__contacts-extra`,phone:`${h}__phone`,phonesExtra:`${h}__phones-extra`,phoneExtra:`${h}__phone-extra`,chat:`${h}__chat`,text:`${h}__text`,image:`${h}__image`}),y=({phones:e,phonesExtra:t,description:n,s3Assets:r})=>{let s=(0,d.useCallback)(()=>{var e,t,n;null==(n=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)||n.call(t),(0,c.h)({eventCategory:m,eventActionType:c.D.button,eventActionText:"messenger",eventLabel:"chat"})},[]),o=e=>{let t=e.replace(/[\s-]/g,"");(0,c.h)({eventCategory:m,eventActionType:c.D.link,eventActionText:"phone",eventLabel:t})};return(0,i.jsxs)("div",{className:v.supportPhoneCard,children:[(0,i.jsxs)("div",{className:v.contacts,children:[e.map(e=>(0,i.jsx)("a",{className:v.phone,href:e.href,onClick:()=>o(e.label),children:e.label},e.label)),(0,i.jsx)("span",{className:v.chat,onClick:s,children:"Онлайн чат"})]}),(null==t?void 0:t.length)>0&&(0,i.jsxs)("div",{className:v.contactsExtra,children:[(0,i.jsx)("p",{className:v.text,children:"Дополнительные телефоны"}),(0,i.jsx)("div",{className:v.phonesExtra,children:t.map(e=>(0,i.jsx)("a",{className:v.phoneExtra,href:e.href,onClick:()=>o(e.label),children:e.label},e.label))})]}),(0,i.jsx)("p",{className:v.text,children:n}),(0,i.jsx)("img",{className:v.image,src:`${r}/mp-assets/widgets/SupportBlock/bannerSupportGirl.png`})]})},b=({className:e,phoneCard:t,appCard:n,s3Assets:o})=>(0,i.jsx)("section",{className:(0,s.Z)(p.support,e),children:(0,i.jsxs)(r.W2,{children:[(0,i.jsx)(r.X6,{as:"h2",type:"display",weight:"bold",className:p.title,children:"Поддержка"}),(0,i.jsxs)("div",{className:p.cardsContainer,children:[(0,i.jsx)(y,{s3Assets:o,...t}),(0,i.jsx)(f,{s3Assets:o,...n})]})]})});b.displayName="Support"}},function(e){e.O(0,[601,218,3544,5501,207,4942,9864,991,2971,3873,1744],function(){return e(e.s=70195)}),_N_E=e.O()}]);
//# debugId=07105820-f4fe-535f-96b5-f982133025b7
