1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5847],{25847:(e,t,i)=>{i.r(t),i.d(t,{default:()=>Q});var a=i(54568),n=i(52546),o=i(80455),r=i(97654),d=i(32536),l=i(18768),c=i(35553),s=i(34226);let p=l.Ay.section.withConfig({componentId:"sc-bdf6f417-0"})(["padding:0 16px;padding-bottom:",";display:flex;position:relative;align-items:center;flex-direction:column;min-height:",";z-index:",";@media ","{padding:0 0 100px 0;max-width:440px;min-height:auto;align-items:flex-start;}"],e=>e.$isMobileApp?"0":"77px",e=>e.$isMobileApp?"calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 180px)":`calc(var(--screen-height) - ${s.uF.mobile}px - env(safe-area-inset-bottom))`,e=>e.theme.zIndex.level1,e=>e.theme.device.laptop),m=l.Ay.div.withConfig({componentId:"sc-bdf6f417-1"})(["width:343px;height:215px;position:relative;border-radius:8px;background:",";"," @media ","{width:440px;height:auto;position:static;border-radius:0;background:transparent;box-shadow:none;display:flex;justify-content:space-between;align-items:center;padding:18px 0;pointer-events:none;}"],e=>e.theme.color.accent_palette_level_3,e=>e.theme.variables.shadow.cardShadow,e=>e.theme.device.laptop),h=l.Ay.div.withConfig({componentId:"sc-bdf6f417-2"})(["position:absolute;top:20px;left:16px;@media ","{display:none;}"],e=>e.theme.device.laptop),f=(0,l.Ay)(d.default).withConfig({componentId:"sc-bdf6f417-3"})(["width:118px;height:32px;"]),x=l.Ay.div.withConfig({componentId:"sc-bdf6f417-4"})(["position:absolute;top:17px;right:20px;display:flex;flex-direction:column;align-items:flex-end;@media ","{position:static;align-items:flex-start;}"],e=>e.theme.device.laptop),u=(0,l.Ay)(o.A).withConfig({componentId:"sc-bdf6f417-5"})(["color:",";@media ","{color:",";}"],e=>e.theme.color.primary_white,e=>e.theme.device.laptop,e=>e.theme.color.primary_black),g=l.Ay.div.withConfig({componentId:"sc-bdf6f417-6"})(["position:absolute;bottom:20px;left:20px;display:flex;flex-direction:column;@media ","{position:static;text-align:right;}"],e=>e.theme.device.laptop),y=(0,l.Ay)(o.A).withConfig({componentId:"sc-bdf6f417-7"})(["color:",";@media ","{color:",";}"],e=>e.theme.color.primary_white,e=>e.theme.device.laptop,e=>e.theme.color.primary_black),b=(0,l.Ay)(d.default).withConfig({componentId:"sc-bdf6f417-8"})(["position:absolute;bottom:20px;right:20px;width:24px;height:24px;cursor:pointer;@media ","{display:none;}"],e=>e.theme.device.laptop),v=l.Ay.div.withConfig({componentId:"sc-bdf6f417-9"})(["flex:1;min-height:30px;@media ","{display:none;}"],e=>e.theme.device.laptop),w=(0,l.Ay)(c.A).withConfig({componentId:"sc-bdf6f417-10"})(["margin-top:20px;width:100%;flex:0 0 auto;.accordion-item__title span{letter-spacing:0;}@media ","{margin-top:0;flex:none;}"],e=>e.theme.device.laptop),A=l.Ay.div.withConfig({componentId:"sc-bdf6f417-11"})(["display:flex;align-items:center;justify-content:center;width:100%;background:",";margin-top:auto;margin-bottom:",";@media ","{width:100%;justify-content:flex-start;margin-top:30px;padding:0;background:transparent;}"],e=>e.theme.color.primary_white,e=>e.$isMobileApp?"-60px":"0",e=>e.theme.device.laptop),_=l.Ay.button.withConfig({componentId:"sc-bdf6f417-12"})(["display:flex;align-items:center;gap:8px;background:none;border:none;padding-right:8px;color:",";svg{color:",";}@media ","{cursor:pointer;align-items:left;}"],e=>e.theme.color.primary_black,e=>e.theme.color.primary_black,e=>e.theme.device.laptop),j=l.Ay.div.withConfig({componentId:"sc-bdf6f417-13"})(["padding-bottom:16px;"]);var C=i(27107),k=i(53610),I=i(9329),$=i(14409);let M=l.Ay.div.withConfig({componentId:"sc-c0ffd5f5-0"})(["position:fixed;top:0;left:0;right:0;bottom:0;background:",";display:",";align-items:center;justify-content:center;z-index:",";"],e=>e.theme.utils.opacity(e.theme.color.primary_black,70),e=>e.$isOpen?"flex":"none",e=>e.theme.zIndex.modal),O=l.Ay.div.withConfig({componentId:"sc-c0ffd5f5-1"})(["width:328px;padding:32px 29px;background:",";display:flex;flex-direction:column;align-items:center;gap:20px;"],e=>e.theme.color.primary_white),E=(0,l.Ay)($.Ay).withConfig({componentId:"sc-c0ffd5f5-2"})(["width:270px;height:270px;"]),T=(0,l.Ay)(o.A).withConfig({componentId:"sc-c0ffd5f5-3"})(["margin-bottom:8px;"]),S=l.Ay.div.withConfig({componentId:"sc-c0ffd5f5-4"})(["width:199px;"]),z=e=>{let{isOpen:t,cardNumber:i,handleClose:n}=e;return(0,I.A)(t,n),(0,k.A)(t),(0,a.jsx)(M,{$isOpen:t,onClick:n,"data-testid":"mycard-qr-modal-overlay",children:(0,a.jsxs)(O,{onClick:e=>e.stopPropagation(),"data-testid":"mycard-qr-modal-container",children:[(0,a.jsx)(E,{value:i,"data-testid":"mycard-qr-code"}),(0,a.jsxs)("div",{children:[(0,a.jsxs)(T,{align:"center",variant:"header4","data-testid":"mycard-qr-modal-card-number",children:["â",i]}),(0,a.jsxs)(o.A,{variant:"text3",align:"center",uppercase:!0,"data-testid":"mycard-qr-modal-description",children:["покажи QR-код ÑоÑÑÑдникÑ",(0,a.jsx)("br",{}),"магазина"]})]}),(0,a.jsx)(S,{children:(0,a.jsx)(C.A,{type:"button",onClick:n,variant:"outline",fullWidth:!0,dataTestId:"mycard-qr-modal-ok-button",children:"ÐÐ"})})]})})};var N=i(13451),H=i(71976),q=i(7620),R=i(37825),L=i(53744),B=i(69075),V=i(74230),F=i(29922),P=i(67014),D=i(80269);let G=[{id:"1",testId:"mycard-accordion-how-to-apply",title:(0,a.jsx)(o.A,{asTag:"span",variant:"basic_text",color:"typography_level_1",uppercase:!0,"data-testid":"mycard-accordion-title-how-to-apply",children:"Ðак пÑимениÑÑ MyCard на ÑайÑе befree.ru?"}),children:(0,a.jsx)(j,{children:(0,a.jsx)(o.A,{variant:"text2",color:"typography_level_1","data-testid":"mycard-accordion-content-how-to-apply",children:D.A.execute("ЧÑÐ¾Ð±Ñ Ð¸ÑполÑзоваÑÑ ÑÐºÐ¸Ð´ÐºÑ Ð¿Ð¾ MyCard пÑи оплаÑе, на ÑÑÑаниÑе оÑоÑÐ¼Ð»ÐµÐ½Ð¸Ñ Ð·Ð°ÐºÐ°Ð·Ð° нÑжно нажаÑÑ Ð½Ð° \xabÐÑимениÑÑ ÑÐºÐ¸Ð´ÐºÑ Ð¿Ð¾ MyCard\xbb.")})})},{id:"2",testId:"mycard-accordion-discount-calculation",title:(0,a.jsx)(o.A,{asTag:"span",variant:"basic_text",color:"typography_level_1",uppercase:!0,"data-testid":"mycard-accordion-title-discount-calculation",children:"Ðак ÑаÑÑÑиÑÑваеÑÑÑ Ñкидка по MyCard?"}),children:(0,a.jsx)(j,{children:(0,a.jsx)(o.A,{variant:"text2",color:"typography_level_1","data-testid":"mycard-accordion-content-discount-calculation",children:D.A.execute("Скидка 50% по MyCard пÑименÑеÑÑÑ ÐºÐ¾ вÑем ÑоваÑам в Ñом ÑиÑле к ÑоваÑам Ñ ÑаÑпÑодажи. Скидка ÑаÑÑÑиÑÑваеÑÑÑ Ð¾Ñ Ð¿ÐµÑвой ÑенÑ. Ðе ÑÑммиÑÑеÑÑÑ Ñ Ð´ÑÑгими Ñкидками Ð
1½Ð° ÑоваÑ, баллами и пÑомокодами и не ÑаÑпÑоÑÑÑанÑеÑÑÑ Ð½Ð° доÑÑавкÑ.")})})},{id:"3",testId:"mycard-accordion-limit-write-off",title:(0,a.jsx)(o.A,{asTag:"span",variant:"basic_text",color:"typography_level_1",uppercase:!0,"data-testid":"mycard-accordion-title-limit-write-off",children:"СпиÑание лимиÑа"}),children:(0,a.jsx)(j,{children:(0,a.jsxs)(o.A,{variant:"text2",color:"typography_level_1","data-testid":"mycard-accordion-content-limit-write-off",children:[D.A.execute("ÐÐ¸Ð¼Ð¸Ñ Ð¿Ð¾ MyCard ÑÑиÑаеÑÑÑ Ð² ÑозниÑнÑÑ
ÑенаÑ
â ÑеÑ
, ÑÑо ÑÐºÐ°Ð·Ð°Ð½Ñ Ð½Ð° Ñеннике без ÑÑеÑа Ñкидки. ÐапÑимеÑ, еÑли Ñена плаÑÑÑ 1999 ÑÑб., Ñо поÑле пÑÐ¸Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ Ñкидки его ÑÑоимоÑÑÑ Ð±ÑÐ´ÐµÑ 999,5 ÑÑб., а Ñ Ð»Ð¸Ð¼Ð¸Ñа ÑпиÑеÑÑÑ 1999 ÑÑб."),(0,a.jsx)("br",{}),D.A.execute("СпиÑание лимиÑа пÑоиÑÑ
Ð¾Ð´Ð¸Ñ ÑÑÐ°Ð·Ñ Ð¿Ð¾Ñле оÑоÑÐ¼Ð»ÐµÐ½Ð¸Ñ Ð·Ð°ÐºÐ°Ð·Ð°."),(0,a.jsx)("br",{}),D.A.execute("ÐонÑÑолиÑоваÑÑ Ð¿Ð¾ÐºÑпки и Ð»Ð¸Ð¼Ð¸Ñ Ð¼Ð¾Ð¶Ð½Ð¾ Ñамим в 1С в Ñазделе ÐÑÑÐµÑ â \xabÐокÑпки по MyCard\xbb, коÑоÑÑй Ñакже пÑиÑ
Ð¾Ð´Ð¸Ñ Ð½Ð° ÑлекÑÑоннÑÑ Ð¿Ð¾ÑÑÑ (поÑле покÑпок)."),(0,a.jsx)("br",{}),D.A.execute("ÐÐ¾Ð·Ð¼Ð¾Ð¶Ð½Ñ Ð·Ð°Ð´ÐµÑжки в обновлении лимиÑов.")]})})},{id:"4",testId:"mycard-accordion-return",title:(0,a.jsx)(o.A,{asTag:"span",variant:"basic_text",color:"typography_level_1",uppercase:!0,"data-testid":"mycard-accordion-title-return",children:"ÐозвÑаÑ"}),children:(0,a.jsx)(j,{children:(0,a.jsx)(o.A,{variant:"text2",color:"typography_level_1","data-testid":"mycard-accordion-content-return",children:D.A.execute("ÐÐ¸Ð¼Ð¸Ñ Ð²Ð¾Ð·Ð²ÑаÑаеÑÑÑ, еÑли покÑпка оÑменилаÑÑ Ð¸Ð·-за оÑÑÑÑÑÑÐ²Ð¸Ñ ÑоваÑа на Ñкладе, оÑÐ¼ÐµÐ½Ñ Ð·Ð°ÐºÐ°Ð·Ð° до полÑÑениÑ, а Ñакже в ÑлÑÑае бÑака ÑоваÑа.")})})},{id:"5",testId:"mycard-accordion-link-to-another-account",title:(0,a.jsx)(o.A,{asTag:"span",variant:"basic_text",color:"typography_level_1",uppercase:!0,"data-testid":"mycard-accordion-title-link-to-another-account",children:"Ðожно ли пÑивÑзаÑÑ ÐºÐ°ÑÑÑ Ðº\xa0дÑÑÐ³Ð¾Ð¼Ñ Ð°ÐºÐºÐ°ÑнÑÑ?"}),children:(0,a.jsx)(j,{children:(0,a.jsxs)(o.A,{variant:"text2",color:"typography_level_1","data-testid":"mycard-accordion-content-link-to-another-account",children:[D.A.execute("ЧÑÐ¾Ð±Ñ Ð°ÐºÑивиÑоваÑÑ MyCard на дÑÑгом аккаÑнÑе, авÑоÑизÑйÑеÑÑ Ð½Ð° ÑайÑе под новÑм аккаÑнÑом и пÑивÑжиÑе ÐµÑ Ð·Ð°Ð½Ð¾Ð²Ð¾. Ðна авÑомаÑиÑеÑки оÑвÑжеÑÑÑ Ð¾Ñ ÑÑаÑого аккаÑнÑа и акÑивиÑÑеÑÑÑ Ð½Ð° новом."),(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),D.A.execute("ÐÑи необÑ
одимоÑÑи пеÑеоÑоÑÐ¼Ð»ÐµÐ½Ð¸Ñ MyCard на дÑÑгой Ð½Ð¾Ð¼ÐµÑ ÑелеÑона, оÑпÑавÑÑе заÑÐ²ÐºÑ Ð½Ð° ÑлекÑÑоннÑй адÑеÑ")," ",(0,a.jsx)("a",{href:`mailto:${s.Mx.myСardEmail}`,children:(0,a.jsx)(o.A,{variant:"text2",asTag:"span",underlined:!0,children:s.Mx.myСardEmail})}),". ",D.A.execute("Ð Ñеме пиÑÑма ÑказаÑÑ Ñвой Ð½Ð¾Ð¼ÐµÑ ÑелеÑона и СÐÐÐС.")]})})}],Q=()=>{let{balance:e,isLoading:t,cardNumber:i,showQRCodeModal:d,isMobileApp:l,handleEmployeeCardClick:c,handleEmployeeCardDelete:j,handleEmployeeCardModalClose:C}=(()=>{let[e,t]=(0,q.useState)(0),[i,a]=(0,q.useState)(!1),[n,o]=(0,q.useState)(!1),r=(0,R.A)(),d=(0,P.J)(e=>e.isMobileApp),l=(0,B.A)(),c=(0,V.A)(),p=(0,F.n)(e=>e.user?.employeeNumber||"");return(0,q.useEffect)(()=>{p&&(async()=>{a(!0);try{let{data:e}=await N.A.post("/employee/cards/balance",{},{headers:{Accept:"application/json",Authorization:`Bearer ${await L.A.get(s.Hz.Token)}`}});t(e?.data.balance??0)}catch(t){let e="";e=t instanceof H.G&&t.response?.data?.message||"ÐÑибка пÑи полÑÑении баланÑа",l.showError({title:e})}finally{a(!1)}})()},[]),{isMobile:r,isMobileApp:d,balance:e,isLoading:i,cardNumber:p,showQRCodeModal:n,handleEmployeeCardClick:()=>{o(!0)},handleEmployeeCardDelete:async()=>{a(!0);try{await N.A.post("/employee/cards/delete",{},{headers:{Authorization:`Bearer ${await L.A.get(s.Hz.Token)}`}}),c()}catch{l.showError({title:"Ðе ÑдалоÑÑ Ð¾ÑвÑзаÑÑ ÐºÐ°ÑÑÑ"})}finally{a(!1)}},handleEmployeeCardModalClose:()=>{o(!1)}}})();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(p,{$isMobileApp:l,children:[(0,a.jsx)(n.A,{isVisible:t,variant:"backdrop"}),(0,a.jsxs)(m,{onClick:c,"data-testid":"mycard-card-container",children:[(0,a.jsx)(h,{children:(0,a.jsx)(f,{src:"/images/logo-white.svg",alt:"Befree",width:118,height:32,"data-testid":"mycard-logo-befree"})}),(0,a.jsxs)(x,{"data-testid":"mycard-number-container",children:[(0,a.jsx)(u,{asTag:"span",variant:"text2",uppercase:!0,"data-testid":"mycard-number-label",children:"MyCard"}),(0,a.jsxs)(u,{asTag:"span",variant:"header4",uppercase:!0,"data-testid":"mycard-number-value",children:["â",i]})]}),(0,a.jsxs)(g,{"data-testid":"mycard-limit-container",children:[(0,a.jsx)(y,{asTag:"span",variant:"text2",uppercase:!0,"data-testid":"mycard-limit-label",children:"оÑÑаÑок лимиÑа"}),(0,a.jsxs)(y,{asTag:"span",variant:"header4",uppercase:!0,"data-testid":"mycard-limit-value",children:[e.toLocaleStr
1ing(),"â½"]})]}),(0,a.jsx)(b,{src:"/images/svg/qr-code.svg",alt:"QR Code",width:24,height:24,"data-testid":"mycard-qr-code-icon"})]}),(0,a.jsx)(w,{items:G,"data-testid":"mycard-info-accordion"}),(0,a.jsx)(v,{}),(0,a.jsx)(A,{$isMobileApp:l,children:(0,a.jsxs)(_,{onClick:j,type:"button","data-testid":"mycard-unlink-button",children:[(0,a.jsx)(r.lB,{}),(0,a.jsx)(o.A,{variant:"basic_text",underlined:!0,uppercase:!0,children:"оÑвÑзаÑÑ ÐºÐ°ÑÑÑ"})]})})]}),(0,a.jsx)(z,{isOpen:d,cardNumber:i,handleClose:C})]})}},35553:(e,t,i)=>{i.d(t,{A:()=>l});var a=i(54568),n=i(51439);let o=i(18768).Ay.div.withConfig({componentId:"sc-a90bc6f-0"})(["border-top:1px solid ",";"],e=>e.theme.color.gray_palette_level_4);var r=i(7620),d=i(47384);let l=e=>{let{items:t,className:i,defaultOpen:l,scrollOnOpen:c=!1}=e,{openedItems:s,handleChange:p,registerItemRef:m}=(e=>{let{defaultOpen:t=[],scrollOnOpen:i=!1}=e,[a,n]=(0,r.useState)(t),o=(0,r.useRef)(new Map),l=(0,r.useRef)(null);(0,r.useEffect)(()=>()=>l.current?.(),[]);let c=(0,r.useCallback)((e,t)=>{if(t)return void o.current.set(e,t);o.current.delete(e)},[]);return{openedItems:a,handleChange:(0,r.useCallback)(e=>{let{id:t,isOpen:a}=e;if(!a)return void n(e=>e.filter(e=>e!==t));i&&(l.current?.(),l.current=(0,d.A)(t,o.current)),n([t])},[i]),registerItemRef:c}})({defaultOpen:l,scrollOnOpen:c});return(0,a.jsx)(o,{"data-bui-id":"Accordion",className:i,children:t.map(e=>(0,a.jsx)(n.A,{ref:t=>m(e.id,t),...e,isOpen:s.includes(e.id),onChange:p},e.id))})}},47384:(e,t,i)=>{i.d(t,{A:()=>a});let a=(e,t)=>{let i=t.get(e);if(!i)return()=>void 0;let a=i.querySelector(".accordion-item__title")??i,n=[...t.values()].find(e=>e!==i&&"true"===e.dataset.isOpen&&!!(e.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING)),o=n?n.querySelector(".accordion-item__title")?.nextElementSibling?.offsetHeight??0:0,r=Math.max(0,a.getBoundingClientRect().top+window.scrollY-o-50),d=window.scrollY,l=r-d;if(1>Math.abs(l))return()=>void 0;let c=0,s=performance.now(),p=e=>{let t=Math.min(1,(e-s)/700);window.scrollTo({top:d+l*(.5-Math.cos(t*Math.PI)/2)}),t<1&&(c=requestAnimationFrame(p))};return c=requestAnimationFrame(p),()=>cancelAnimationFrame(c)}},51439:(e,t,i)=>{i.d(t,{A:()=>x});var a=i(54568),n=i(7620),o=i(37310),r=i(80455),d=i(18768);let l=d.Ay.div.withConfig({componentId:"sc-1252a654-0"})(["position:relative;z-index:",";background-color:",";border-bottom:1px solid ",";"],e=>e.$isOpen?1:"auto",e=>e.$isOpen?e.theme.color.background_level_1:"transparent",e=>e.theme.color.gray_palette_level_4),c=d.Ay.div.withConfig({componentId:"sc-1252a654-1"})(["cursor:pointer;padding:16px 0;display:flex;align-items:center;justify-content:space-between;"]),s=d.Ay.div.withConfig({componentId:"sc-1252a654-2"})(["height:100%;display:flex;align-items:center;justify-content:center;min-width:24px;"]),p=d.Ay.span.withConfig({componentId:"sc-1252a654-3"})(["position:relative;display:block;width:14px;height:14px;flex-shrink:0;margin-top:2px;&::before,&::after{content:'';position:absolute;left:50%;top:50%;background:",";transition:transform 0.5s ease;}&::before{width:1px;height:12px;transform:translate3d(-50%,-50%,0) ",";}&::after{width:12px;height:1px;transform:translate3d(-50%,-50%,0);}"],e=>e.theme.color.typography_level_1,e=>e.$isOpen?"rotate(90deg)":""),m=d.Ay.div.withConfig({componentId:"sc-1252a654-4"})(["overflow:",";display:block;max-height:",";transition:max-height 0.7s ease;"],e=>e.$hasVisibleOverflow?"visible":"hidden",e=>e.$isOpen?`${Math.max(e.$contentHeight,0)}px`:"0"),h=d.Ay.div.withConfig({componentId:"sc-1252a654-5"})(["overflow:",";transition:padding 300ms cubic-bezier(0.4,0,0.2,1);"],e=>e.$hasVisibleOverflow?"visible":"hidden"),f=(0,n.forwardRef)((e,t)=>{let{id:i,title:d,isOpen:f,children:x,className:u,testId:g,icon:y,onChange:b}=e,{contentRef:v,isItemOpen:w,containerRef:A,contentHeight:_,hasVisibleOverflow:j,handleClick:C}=(e=>{let{id:t,isOpen:i,onChange:a}
1=e,[o,r]=(0,n.useState)(!1),[d,l]=(0,n.useState)(0),[c,s]=(0,n.useState)(!1),p=(0,n.useRef)(null),m=(0,n.useRef)(null);return(0,n.useEffect)(()=>{r(i??!1),i||s(!1)},[i]),(0,n.useEffect)(()=>{let e=m.current;if(!e)return;let t=e=>{"max-height"===e.propertyName&&o&&s(!0)};return e.addEventListener("transitionend",t),o||s(!1),()=>{e.removeEventListener("transitionend",t)}},[o]),(0,n.useLayoutEffect)(()=>{let e=p.current;if(!e)return;let t=()=>{l(Math.max(e.scrollHeight,0))};t();let i=new ResizeObserver(t);return i.observe(e),()=>{i.disconnect()}},[o]),{hasVisibleOverflow:c,containerRef:m,isItemOpen:o,contentRef:p,contentHeight:d,handleClick:()=>{let e=!o;a?a({id:t,isOpen:e}):r(e)}}})({id:i,isOpen:f,onChange:b});return(0,a.jsxs)(l,{ref:t,$isOpen:w,"data-bui-id":"AccordionItem","data-testid":g,"data-is-open":w,className:(0,o.A)("accordion-item",u),children:[(0,a.jsxs)(c,{onClick:C,className:"accordion-item__title",children:[(0,n.isValidElement)(d)?d:(0,a.jsx)(r.A,{asTag:"span",variant:"header4",children:d}),(0,a.jsx)(s,{"data-testid":g?`${g}-arrow`:void 0,children:y||(0,a.jsx)(p,{$isOpen:w,"aria-hidden":!0})})]}),(0,a.jsx)(m,{ref:A,$isOpen:w,$contentHeight:_,$hasVisibleOverflow:j,children:(0,a.jsx)(h,{ref:v,className:"accordion-item__content",$hasVisibleOverflow:j,children:x})})]})});f.displayName="AccordionItem";let x=f},52546:(e,t,i)=>{i.d(t,{A:()=>c});var a,n=i(54568),o=i(18768),r=i(7620);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)({}).hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e}).apply(null,arguments)}let l=[["lg","md","md","sm","sm","md","md"],["md","lg","md","md","sm","sm","md"],["md","md","lg","md","md","sm","sm"],["sm","md","md","lg","md","md","sm"],["sm","md","md","md","lg","md","sm"],["sm","sm","md","md","md","lg","md"],["md","md","sm","sm","md","md","lg"]],c=e=>{let{variant:t="default",isVisible:i=!1,className:a}=e,{activeIndex:o,birdSizeMap:d}=(e=>{let[t,i]=(0,r.useState)(3);return(0,r.useEffect)(()=>{e&&setTimeout(()=>{let e=t+1;e>6&&(e=0),i(e)},300)},[e,t]),{activeIndex:t,birdSizeMap:l}})(i);return(0,n.jsx)(m,{$variant:t,$isVisible:i,className:a,"data-bui-id":"Loader",children:d.map((e,t)=>(0,n.jsx)(s,{$size:d[o][t]},e.toString()))})},s=(0,o.Ay)(e=>r.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",width:26,height:19,fill:"none",viewBox:"0 0 26 19"},e),a||(a=r.createElement("path",{fill:"#00A8B4",d:"m26 5.97-2.478-.94c-.18-2.042-2.435-3.312-4.89-2.13-1.134.545-2.968 2.465-2.968 2.465L.006 0s-.5 9.131 7.8 11.815l-7.01 5.746S17.348 21.342 23.03 7.23z"})))).withConfig({componentId:"sc-86085ca7-0"})(["transition:width 0.3s;path{transition:fill 0.3s;}",""],e=>{let{theme:t,$size:i}=e;return p(t,i)}),p=(e,t)=>({sm:(0,o.AH)(["width:14px;path{fill:",";}"],e.color.accent_palette_level_4),md:(0,o.AH)(["width:18px;path{fill:",";}"],e.color.accent_palette_level_3),lg:(0,o.AH)(["width:26px;path{fill:",";}"],e.color.accent_palette_level_2)})[t],m=o.Ay.div.withConfig({componentId:"sc-86085ca7-1"})(["gap:16px;width:max-content;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;z-index:12;",";",";"],e=>{let{$isVisible:t}=e;return t&&` 2 opacity: 1; 3 visibility: visible; 4 ${x}; 5 `},e=>{let{$variant:t}=e;return h[t]}),h={default:(0,o.AH)(["transition:none;"]),backdrop:(0,o.AH)(["position:absolute;top:0;left:0;right:0;bottom:0;width:100%;background-color:#ffffffe5;"]),fullscreen:(0,o.AH)(["position:fixed;top:0;left:0;right:0;bottom:0;width:100%;background-color:#ffffffe5;"])},f=(0,o.i7)(["from{opacity:0;visibility:hidden;}to{opacity:1;visibility:visible;}"]),x=()=>(0,o.AH)(["animation:"," 1s ease forwards;"],f)},80269:(e,t,i)=>{i.d(t,{A:()=>a});let a=new(i(61162)).A({locale:["ru"]})}}]); 6//# sourceMappingURL=5847.f9f5c7f1f280f689.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.