https://wutheringwaves.gg/wp-content/plugins/dotgg-game/common/js/async/5611.f2130bf854f46ae83ecc.js
1"use strict";(self.webpackChunkallyourbasedotgg=self.webpackChunkallyourbasedotgg||[]).push([[5611],{22192(e,r,t){var d=t(15073),o=t(17705),a=t(84668);const n=(0,a.A)({loader:async()=>await t.e(2803).then(()=>t(72803)),loading:()=>(0,d.Y)(o.k,{}),render(e,r){const t=e.CardPriceChart;return(0,d.Y)(t,{...r})}}),i=(0,a.A)({loader:async()=>await t.e(2772).then(()=>t(62772)),loading:()=>(0,d.Y)(o.k,{}),render(e,r){const t=e.CardPriceChartMobile;return(0,d.Y)(t,{...r})}}),c=(0,a.A)({loader:async()=>await t.e(4244).then(()=>t(4244)),loading:()=>(0,d.Y)(o.k,{}),render(e,r){const t=e.ProductPriceChart;return(0,d.Y)(t,{...r})}});t.d(r,["SL",0,i,"po",0,c,"s3",0,n])},38615(e,r,t){t.d(r,{P:()=>a});var d=t(86031),o=t(4738);function a(){const e=d.SA.cards.setPageName;return e?{href:`/${e}`,label:e.split("-").map(o.g3).join(" ")}:null}},15611(e,r,t){t.r(r),t.d(r,{ProductsPage:()=>G});var d=t(15073),o=t(58468),a=t(9299),n=t(63679),i=t(16133),c=t(88609),l=t(40661),p=t(77758),h=t(22192),s=t(22882),u=t(30174),x=t(86031),g=t(7062),m=t(89629),y=t(65161);const w=({productId:e})=>{const[r,t]=(0,o.J0)([]),[a,n]=(0,o.J0)(void 0);(0,o.vJ)(()=>{(async()=>{try{const e=await(0,c.d)();t(e)}catch(e){(0,m.N7)(e,"getProducts")}})(),window.DotGGUser&&(0,l.u)().catch(e=>(0,m.N7)(e,"getProductsOwned"))},[]),(0,o.vJ)(()=>{const t=r.find(r=>r.slug===e);n(t),t&&w(t.productName)},[r,e]);const w=e=>{const r=document.getElementsByClassName("page-title");r.length>0&&(r[0].textContent=e),document.title=`${e} ${x.SA.core.gameNameForTitle} Product`};return a?""===a.productName?(0,d.Y)(o.Ay.Fragment,{}):(0,d.FD)(F,{children:[(0,d.Y)(A,{children:(0,d.Y)(f,{style:{backgroundImage:`url(${a.image})`}})}),(0,d.Y)(k,{children:(0,d.Y)(P,{children:(0,d.FD)(N,{children:[(0,d.Y)(p._X,{children:a.productName}),(0,d.Y)(v,{children:(0,d.FD)(D,{children:[(0,d.FD)(p.dN,{children:[(0,d.Y)(p.ro,{children:"Product Title"}),(0,d.Y)(p.eS,{children:a.productName})]}),(0,d.FD)(p.dN,{children:[(0,d.Y)(p.ro,{children:"Type"}),(0,d.Y)(p.eS,{children:(0,d.Y)(b,{href:`/products/?type=${encodeURIComponent((0,y.gr)(a))}`,"data-native":!0,children:(0,y.gr)(a)})})]}),(0,d.FD)(p.dN,{children:[(0,d.Y)(p.ro,{children:"Current Price"}),(0,d.Y)(p.eS,{children:(0,d.FD)(Y,{children:[a.marketPrice," USD"]})})]}),window.DotGGUser?(0,d.FD)(p.dN,{children:[(0,d.Y)(p.ro,{children:"In Your Collection"}),(0,d.Y)(p.eS,{children:(0,d.Y)(s.d,{productId:a.productId})})]}):(0,d.Y)(d.FK,{}),(0,d.FD)(p.dN,{children:[(0,d.Y)(p.ro,{children:"Release Date"}),(0,d.Y)(p.eS,{children:(0,i.GP)(parseInt(`${a.releaseDate}000`,10),"MMM dd, yyyy")})]}),(0,d.FD)(p.dN,{children:[(0,d.Y)(p.ro,{children:"Description"}),(0,d.Y)(p.eS,{$fontWeight:"normal",$wide:!0,children:(0,g.x)(a.description)})]})]})})]})})}),null===a.marketPrice||0===+a.marketPrice?(0,d.Y)(d.FK,{}):(0,d.FD)(N,{children:[(0,d.FD)(p._X,{$color:"var(--theme-palette-color-5)",children:[a.productName," Market and Price Data"]}),(0,d.Y)(v,{children:""===a.productId?(0,d.Y)(d.FK,{}):(0,d.Y)(h.po,{TheProduct:a})})]})]}):(0,d.Y)(u.l,{})},Y=n.Ay.div` 2 background-color: green; 3 padding: 2px 5px; 4 border: 1px solid grey; 5 border-radius: 6px; 6 color: var(--theme-palette-color-4); 7 font-weight: bold; 8 box-shadow: 1px 2px 5px 2px rgba(0, 0, 0, 0.5); 9`,b=n.Ay.a` 10 display: block; 11 background-color: var(--theme-palette-color-2); 12 padding: 2px 5px; 13 border: 1px solid grey; 14 border-radius: 6px; 15 color: var(--dotgg-on-accent-2, var(--theme-palette-color-8)); 16 font-weight: bold; 17 box-shadow: 1px 2px 5px 2px rgba(0, 0, 0, 0.5); 18 &:hover { 19 background-color: var(--theme-palette-color-1); 20 color: var(--dotgg-on-accent, var(--theme-palette-color-8)) !important; 21 } 22`,f=n.Ay.div` 23 border-radius: 3.6%; 24 height: 600px; 25 width: 400px; 26 background-size: contain; 27 background-repeat: no-repeat; 28 background-position: center center; 29`,v=n.Ay.div` 30 display: flex; 31 width: 100%; 32 flex-direction: column; 33 gap: 10px; 34 padding: 10px; 35 @media only screen and (max-width: 1300px) { 36 flex-direction: column; 37 } 38`,D=n.Ay.section` 39 width: 100%; 40 display: flex; 41 flex-direction: column; 42 gap: 10px; 43`,P=n.Ay.div` 44 display: flex; 45 flex-direction: column; 46 gap: 10px; 47 height: 100%; 48 width: 100%; 49`,k=n.Ay.div` 50 display: flex; 51 gap: 10px; 52 width: calc(100% - 440px); 53 @media only screen and (max-width: 800px) { 54 flex-wrap: wrap; 55 width: 100%; 56 } 57`,A=n.Ay.div` 58 display: flex; 59 width: 430px; 60 min-height: 600px; 61 @media only screen and (max-width: 800px) { 62 width: 100%; 63 height: auto; 64 } 65`,F=n.Ay.div` 66 width: 100%; 67 margin-right: auto; 68 margin-left: auto; 69 display: flex; 70 flex-wrap: wrap; 71 gap: 10px; 72 justify-content: center; 73 @media only screen and (max-width: 800px) { 74 max-width: unset; 75 } 76`,N=n.Ay.div` 77 flex-basis: ${e=>e.$basis?e.$basis:"auto"}; 78 display: flex; 79 flex-direction: column; 80 justify-content: flex-start; 81 align-items: flex-start; 82 83 background-color: var(--theme-palette-color-8); 84 border-radius: 6px; 85 padding: 0; 86 flex-wrap: nowrap; 87 width: 100%; 88 color: white; 89 min-height: 600px; 90 box-shadow: rgb(66, 68, 90) 2px 2px 12px 0px; 91 border-radius: 10px 10px 0px 0px; 92 @media only screen and (max-width: 800px) { 93 width: 100%; 94 } 95`;var C=t(69292),I=t(38615),$=t(70994);function S(){const e=(0,I.P)();return(0,o.vJ)(()=>{e&&window.location.replace(e.href)},[e]),e?(0,d.Y)(o.Ay.Fragment,{}):(0,d.Y)(C.E,{})}function G(){const e=(0,$.RQ)("/products/:productID");return e?.params.productID?(0,d.Y)(o.Ay.Fragment,{children:(0,d.Y)(a.t,{children:(0,d.Y)(w,{productId:e.params.productID})})}):(0,d.Y)(o.Ay.Fragment,{children:(0,d.Y)(a.t,{children:!1===x.SA.core.productsListPage?(0,d.Y)(S,{}):(0,d.Y)(C.E,{})})})}}}]);
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.