1import{r as f,j as t}from"./vendor-react-BGN68_Lp.js";import{a as w,u as v}from"./vendor-redux-D8sX5Eqv.js";import{u as C,g as j,w as y,x as k,M as L,N,b as S}from"./index-uear5Vpj.js";import{g as i}from"./vendor-styled-pkIKgjgv.js";import{u as M}from"./vendor-i18n-BWleq_Sd.js";import"./vendor-socket-DSYo_sTV.js";import"./vendor-router-CYD8mbvC.js";const T=i.div``,D=i.div` 2 background: #171c2b; 3 width: 558px; 4 border-radius: 16px; 5 border-top: 4px solid #171c2b; 6 border-right: 4px solid #171c2b; 7 border-left: 4px solid #171c2b; 8 9 @media (max-width: 650px) { 10 width: 90%; 11 } 12`,c=i.div` 13 position: absolute; 14 width: 100%; 15 height: 100%; 16 top: 0; 17 left: 0; 18 overflow: hidden; 19`,_=i.div` 20 height: 314px; 21 22 img, 23 video { 24 width: 100%; 25 height: 100%; 26 object-fit: cover; 27 border-radius: 16px 16px 0px 0px; 28 } 29 30 &:hover { 31 ${c} { 32 &::after { 33 transform: translateX(170%) skew(40deg); 34 opacity: 1; 35 } 36 } 37 } 38`,P=i.div` 39 font-size: 26px; 40 margin-bottom: 16px; 41 font-weight: 700; 42 display: flex; 43 align-items: center; 44 text-transform: none; 45 46 img { 47 margin-left: 8px; 48 } 49`,A=i.div` 50 max-height: 140px; 51 overflow: auto; 52 width: calc(100% + 7px); 53 padding-right: 7px; 54 padding-bottom: 24px; 55 56 a { 57 color: #fff; 58 } 59 60 &, 61 * { 62 color: #adbcd0; 63 font-size: 14px; 64 line-height: 23px; 65 } 66 67 &::-webkit-scrollbar {
68 background: transparent; 69 } 70 71 &.login-help { 72 max-height: none; 73 overflow: visible; 74 75 p { 76 margin: 0; 77 } 78 79 p + p { 80 margin-top: 12px; 81 } 82 83 a { 84 color: #759cff; 85 overflow-wrap: anywhere; 86 } 87 88 a:hover { 89 text-decoration: underline; 90 } 91 92 .lead { 93 color: #dee2ed; 94 } 95 96 .badge { 97 padding: 2px 6px; 98 border-radius: 4px; 99 background: rgba(145, 175, 253, 0.07); 100 white-space: nowrap; 101 } 102 103 .badge img { 104 display: inline-block; 105 width: 12px; 106 height: 12px; 107 margin-right: 4px; 108 vertical-align: -1px; 109 opacity: 0.8; 110 } 111 } 112 113 ul { 114 margin-bottom: 20px; 115 116 li { 117 padding-left: 22px; 118 119 &::before { 120 content: ''; 121 position: absolute; 122 width: 3px; 123 height: 3px; 124 display: block; 125 border-radius: 50%; 126 background: #afb7c6; 127 left: 8px; 128 top: 8px; 129 } 130 } 131 } 132`,z=i.div` 133 padding: 40px 50px; 134 135 @media (max-width: 700px) { 136 padding: 25px; 137 } 138`,E=i.div` 139 max-height: 305px; 140 min-height: 185px; 141 padding-right: 25px; 142 width: calc(100% + 27px); 143`,I=i.div` 144 display: flex; 145 align-items: center; 146 right: 16px; 147 bottom: 16px; 148 position: absolute; 149 gap: 8px; 150`,R=i.button` 151 width: 36px; 152 height: 36px; 153 display: flex; 154 align-items: center; 155 justify-content: center; 156 align-items: center; 157 border-radius: 32px; 158 background: rgba(24, 30, 41, 0.9); 159 160 &:first-child { 161 svg { 162 transform: rotate(180deg); 163 } 164 } 165`,$=i.div` 166 display: flex; 167 align-items: center; 168 gap: 8px; 169 margin-top: 24px; 170 justify-content: center; 171 172 span { 173 background: #6c7387; 174 width: 8px; 175 height: 8px; 176 display: block; 177 transition: transform 0.2s ease; 178 179 &.active { 180 background: rgb(96, 128, 255); 181 transform: scale(1.3); 182 } 183 } 184`,p=i.button` 185 border-radius: 6px; 186 background: rgb(96, 128, 255); 187 box-sizing: border-box; 188 display: flex; 189 align-items: center; 190 justify-content: center; 191 color: rgb(31, 37, 55); 192 font-family: Roboto; 193 font-size: 14px; 194 font-style: normal; 195 font-weight: 500; 196 height: 56px; 197 width: 100%; 198 padding: 0 15px; 199 margin: 0 auto; 200 201 @media (max-width: 700px) { 202 height: 42px; 203 } 204`,Z=()=>{const{t:o}=M(),x=C(),g=w(),[a,d]=f.useState(1),h=v(n=>n.modals.data.UPDATE_MODAL),{content:m}=h??{},l=()=>g(S(null)),b=[{id:1,title:"x2dropNews",subtitle:"x2dropNewsText",img:j(`/img/modals/update/png/x2${y.get("lang_g")=="ru"?"":"_en"}.jpg`),flyingImages:[],date:`15 ${o("September")} 2025`,btn:o("BuySubscription"),btnLink:"/premium"}],r=m||b,e=r[a-1],u=(n,s)=>{s.stopPropagation(),d(n?r.length>a?a+1:1:a==1?r.length:a-1)};return t.jsxs(D,{children:[t.jsx(k,{}),t.jsxs(T,{children:[e.img||e.video?t.jsxs(_,{onClick:()=>{e.imageLink&&(x(e.imageLink),l())},children:[t.jsx(c,{}),t.jsx(L,{src:o(e.video||e.img),isVideo:!!e.video,autoPlay:!0,loop:!0,muted:!0,borderRadius:"16px 16px 0 0"}),r.length>1&&t.jsx(I,{children:[!1,!0].map(n=>t.jsx(R,{onClick:s=>u(n,s),children:t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:t.jsx("path",{d:"M13.2802 9.53025L6.53021 16.2802C6.46063 16.3502 6.37795 16.4057 6.28689 16.4436C6.19584 16.4815 6.0982 16.5011 5.99956 16.5012C5.90093 16.5013 5.80324 16.482 5.71209 16.4443C5.62094 16.4066 5.53812 16.3513 5.46837 16.2816C5.39863 16.2118 5.34332 16.129 5.30563 16.0378C5.26794 15.9467 5.2486 15.849 5.24872 15.7504C5.24884 15.6517 5.26841 15.5541 5.30632 15.463C5.34423 15.372 5.39973 15.2893 5.46965 15.2197L11.6894 8.99999L5.46965 2.78025C5.39973 2.71067 5.34423 2.62799 5.30632 2.53693C5.26841 2.44587 5.24884 2.34823 5.24872 2.2496C5.2486 2.15096 5.26794 2.05328 5.30563 1.96213C5.34332 1.87098 5.39863 1.78816 5.46837 1.71842C5.53812 1.64867 5.62094 1.59337 5.71209 1.55568C5.80324 1.518 5.90093 1.49866 5.99956 1.49878C6.0982 1.4989 6.19584 1.51848 6.28689 1.55639C6.37795 1.59431 6.46063 1.64981 6.53021 1.71973L13.2802 8.46973C13.3499 8.53935 13.4051 8.62201 13.4428 8.713C13.4805 8.80398 13.4999 8.9015 13.4999 8.99999C13.4999 9.09847 13.4805 9.19599 13.4428 9.28698C13.4051 9.37796 13.3499 9.46063 13.2802 9.53025Z",fill:"#D1DAFF"})})}))})]}):null,t.jsx(z,{children:t.jsxs(E,{className:"grey-scroll",children:[t.jsx(P,{dangerouslySetInnerHTML:{__html:o(e.title,e.titleParams)}}),t.jsx(A,{dangerouslySetInnerHTML:{__html:o(e.subtitle,e.subtitleParams)},className:e.textClass?`grey-scroll ${e.textClass}`:"grey-scroll"}),e.btn&&(e.btnLink?t.jsx(N,{to:e.btnLink,children:t.jsx(p,{onClick:l,children:o(e.btn)})}):t.jsx(p,{onClick:l,children:o(e.btn)}
204)),r.length>1&&t.jsx($,{children:r.map((n,s)=>t.jsx("span",{className:n.id==a&&"active"},s))})]})})]})]})};export{Z as default};
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.