PageSourceSearch

https://cybershoke.net/assets/Missions-Wep-FatM.js

js cybershoke.net collected 2026-10-04 05:23:39 UTC 7,762 bytes, 121 lines download raw bytes

1import{j as t,r as m}from"./vendor-react-BGN68_Lp.js";import{az as S,g as d,b as B,u as w,N as C,t as N}from"./index-uear5Vpj.js";import{g as l}from"./vendor-styled-pkIKgjgv.js";import{W as I,S as z,I as _,M as L,T as E,P as T,g as O,b as P}from"./Mission-BA0gDWeS.js";import{u as f}from"./vendor-i18n-BWleq_Sd.js";import{a as A,u as g}from"./vendor-redux-D8sX5Eqv.js";const F=({num:s})=>{const{t:o}=f(),a=O("CYBERSHOKE","#58627D");return t.jsxs(I,{children:[t.jsxs(z,{children:[t.jsx(_,{dangerouslySetInnerHTML:{__html:a}}),t.jsxs("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("path",{d:"M21 1.87564C18.8717 0.646888 16.4575 2.93057e-08 14 0C14.5866 0 15.1727 0.0368708 15.7547 0.110394L15.4037 2.88831C16.8779 3.07454 18.3051 3.5529 19.6 4.30052C21.3026 5.28352 22.7165 6.69739 23.6995 8.4C24.6825 10.1026 25.2 12.034 25.2 14C25.2 15.966 24.6825 17.8974 23.6995 19.6L26.1244 21C27.3531 18.8717 28 16.4575 28 14C28 11.5425 27.3531 9.12827 26.1244 7C24.8956 4.87173 23.1283 3.1044 21 1.87564Z",fill:"#404964"}),t.jsx("path",{d:"M25.1514 22.4643C25.5061 21.9971 25.8311 21.508 26.1244 20.9999C24.8956 23.1282 23.1283 24.8956 21 26.1243C18.8718 27.3531 16.4575 28 14 28C11.5425 28 9.1283 27.3531 7.00003 26.1243C4.87176 24.8956 3.10443 23.1282 1.87567 21L4.30054 19.6C5.28355 21.3026 6.69741 22.7165 8.40003 23.6995C10.1026 24.6825 12.034 25.2 14 25.2C15.966 25.2 17.8974 24.6825 19.6 23.6995C20.8949 22.9518 22.0228 21.955 22.9212 20.7715L25.1514 22.4643Z",fill:"#404964"}),t.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.67515 18.3402C3.09935 16.9704 2.8 15.4952 2.8 14C2.8 12.034 3.31751 10.1026 4.30052 8.4C5.28352 6.69738 6.69739 5.28352 8.4 4.30051C10.1026 3.31751 12.034 2.8 14 2.8V0C11.5425 0 9.12827 0.646887 7 1.87564C4.87173 3.1044 3.1044 4.87173 1.87565 7C0.646888 9.12827 0 11.5425 0 14C0 15.8815 0.379193 17.7377 1.1084 19.4596C1.10356 19.4481 1.09874 19.4367 1.09393 19.4253L3.67515 18.3402Z",fill:"#404964"})]})]}),t.jsxs(L,{children:[t.jsxs(E,{children:[t.jsxs("h3",{style:{textTransform:"none"},children:[o("Mission")," ",s]}),t.jsx("h5",{children:o("MISSION-N-S")})]}),t.jsxs(T,{children:[t.jsx("p",{children:"0/0"}),t.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"52",height:"3",viewBox:"0 0 52 3",fill:"none",children:[t.jsx("rect",{width:"52",height:"3",rx:"1.5",fill:"#0F1624",fillOpacity:"0.74"}),t.jsx("rect",{width:"3",height:"3",rx:"1.5",fill:"#80E496"})]})]})]})]})},R=l.div`
2    display: flex;
3    flex-direction: column;
4    gap: 8px;
5`,W=l.div`
6    display: grid;
7    grid-template-columns: 1fr 1fr 1fr 1fr;
8    gap: 4px;
9    padding-bottom: 8px;
10    border-bottom: 1px solid #394360;
11`,D=l.button`
12    border-radius: 6px;
13    background: #273047;
14    padding: 8px;
15    display: flex;
16    align-items: center;
17    gap: 6px;
18    color: #cfd9ef;
19    font-size: 12px;
20    font-weight: 500;
21    line-height: 16px;
22    text-transform: uppercase;
23
24    img {
25        width: 14px;
26    }
27`,x=l.ul`
28    display: flex;
29    flex-direction: column;
30    gap: 4px;
31
32    &.blocked {
33        pointer-events: none;
34    }
35`,y=l.img`
36    position: absolute;
37    left: 0;
38    opacity: 0.4;
39    top: 0;
40    width: 100%;
41    height: 100%;
42    object-fit: cover;
43    transition: transform 0.5s ease;
44`,$=l.div`
45    overflow: hidden;
46    border-radius: 10px;
47    background: linear-gradient(239deg, #172b61 1.81%, #5174f0 105.83%);
48    backdrop-filter: blur(12px);
49    padding: 16px;
50
51    h2 {
52        margin-bottom: 4px;
53        font-size: 21px;
54        font-weight: 900;
55        line-height: 27px;
56        display: flex;
57        align-items: center;
58        gap: 4px;
59
60        img {
61            transition: all 0.5s ease;
62            width: 24px;
63            opacity: 0;
64            transform: translateX(-3px);
65        }
66    }
67
68    p {
69        width: 230px;
70        color: #c5d5ff;
71        font-size: 10px;
72        font-weight: 500;
73        line-height: 140%;
74        margin-bottom: 16px;
75        white-space: normal;
76    }
77
78    .banner-action {
79        height: 40px;
80        border-radius: 6px;
81        border: 1px solid #ffc875;
82        width: 100%;
83        display: flex;
84        align-items: center;
85        justify-content: center;
86        color: #ffc875;
87        font-size: 10px;
88        font-weight: 700;
89        gap: 6px;
90        background: transparent;
91
92        img {
93            width: 18px;
94        }
95
96        &.auth {
97            background: #6080ff;
98            color: #fff;
99            border: none;
100        }
101
102        &.premium {
103            background: #ffc875;
104            color: #282b36;
105            border: none;
106        }
107    }
108
109    &:hover {
110        ${y} {
111            transform: scale(1.1);
112        }
113
114        h2 {
115            img {
116                opacity: 1;
117                transform: translateX(0);
118            }
119        }
120    }
121`,H=l.div``,U=l.div``,k={to:"/missions",title:"um1-1",text:"MissionsBanner",background:d("/pages/other/header/missions-bg.png"),arrow:d("/pages/other/header/arrow.svg"),analyticsSource:"header_missions"},u=(s,o)=>
121s?typeof s!="string"?s:o(s):null,Z=s=>s?.mission??Object.values(s?.data_stages??{}).find(o=>o.current)?.data,X=({banner:s,isAuth:o,notAllowed:a})=>{const{t:i}=f(),c=w();if(s.button===!1)return null;if(s.button){const e=t.jsxs(m.Fragment,{children:[u(s.button.text,i),s.button.icon&&t.jsx("img",{loading:"lazy",src:s.button.icon,alt:""})]}),r=["banner-action",s.button.className].filter(Boolean).join(" ");return s.button.href?t.jsx("a",{className:r,href:s.button.href,onClick:s.button.onClick,children:e}):s.button.to?t.jsx(C,{className:r,to:s.button.to,click:s.button.onClick,children:e}):t.jsx("button",{className:r,onClick:s.button.onClick??(()=>s.to&&c(s.to)),children:e})}return o?a?t.jsxs(C,{className:"banner-action premium",to:"/premium",children:[i("UnlockPrize"),t.jsx("img",{loading:"lazy",src:d("/pages/other/header/premium.svg"),alt:""})]}):t.jsxs("button",{className:"banner-action",onClick:()=>s.to&&c(s.to),children:[i("PremiumActivated"),t.jsx("img",{loading:"lazy",src:d("/pages/other/header/check.svg"),alt:""})]}):t.jsxs("a",{className:"banner-action auth",href:"//auth.cybershoke.net/steam",onClick:e=>{N("login_click",{source:s.analyticsSource}),e.stopPropagation()},children:[i("LOGIN-WITH")," Steam",t.jsx("img",{loading:"lazy",src:d("/pages/other/header/steam.svg"),alt:""})]})},G=({banner:s,isAuth:o,notAllowed:a})=>{const{t:i}=f(),c=w(),e={...k,...s},r=t.jsxs(m.Fragment,{children:[t.jsxs("h2",{children:[u(e.title,i),e.arrow&&t.jsx("img",{loading:"lazy",src:e.arrow,alt:""})]}),t.jsx("p",{children:u(e.text,i)}),t.jsx(X,{banner:e,isAuth:o,notAllowed:a})]});return t.jsxs($,{className:e.className,children:[e.background&&t.jsx(y,{src:e.background,alt:""}),e.to?t.jsx(H,{onClick:p=>{p.target.closest("a, button")||c(e.to)},children:r}):t.jsx(U,{children:r})]})},K=({list:s,missions:o=s??[],banner:a=k,hideBalance:i=!1,hideRewardActions:c=!1})=>{const e=A(),r=g(n=>n.auth.isAuth),{balance:p,tokens_modal:v}=g(n=>n.wheelPage),h=g(n=>n.auth.premium),M=o??[],j=!h?.group||h?.free||h?.group==="LITE";return t.jsxs(R,{children:[r?t.jsxs(m.Fragment,{children:[!i&&t.jsx(W,{children:Object.keys(S).map(n=>t.jsxs(D,{onClick:()=>v.enable&&e(B("MISSIONS_DEPOSIT",{initialCurrency:n})),children:[t.jsx("img",{loading:"lazy",src:d(`/pages/missions/icons/${n}.svg`),alt:""}),p[n]??0]},n))}),t.jsx(x,{children:M.map((n,b)=>t.jsx("li",{children:t.jsx(P,{i:n,index:b,mission:Z(n),notAllowed:j,hideRewardActions:c})},n.id_slot??n.id??b))})]}):t.jsx(x,{children:[1,2,3,4,5].map(n=>t.jsx(F,{num:n},n))}),a&&t.jsx(G,{banner:a,isAuth:r,notAllowed:j})]})},st=Object.freeze(Object.defineProperty({__proto__:null,List:x,default:K},Symbol.toStringTag,{value:"Module"}));export{F as E,x as L,st as M};

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.