PageSourceSearch

https://stryda-prototype.netlify.app/_next/static/chunks/pages/pro…/modal-selectyourgame-af0e23af5984d8b8.js

js stryda-prototype.netlify.app collected 2026-10-03 11:31:37 UTC 3,104 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[59973],{10248:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/prototype/modal-selectyourgame",function(){return t(71116)}])},71116:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return r}});var s=t(85893),a=t(67294),o=t(51136),c=t(95799),l=t(94313);function r(e){var n=function(){d(!0),setTimeout((function(){t.openToastr({size:"medium",text:"Your profile has been updated",color:"green",autoDelete:!0,autoDeleteDelay:2500}),t.closeModal(),d(!1)}),1e3)},t=(0,a.useContext)(o.K),r=(0,l.C)(),i=((0,a.useContext)(c.c),(0,a.useState)(!1)),u=i[0],d=i[1],m=(0,a.useState)(r.games.filter((function(e){return e.isFavorite})).length),p=(m[0],m[1],(0,a.useState)(null)),x=p[0],b=p[1],h=(0,a.useState)(!1),j=(h[0],h[1],function(e){b(r.getGameBySlug(e.target.id))});return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"relative z-10 max-w-md w-full",children:(0,s.jsxs)("div",{className:"modal modal-center w-full",children:[(0,s.jsx)("button",{type:"button",className:"button button-secondary button-close",onClick:t.closeModal,children:(0,s.jsx)("span",{className:"icon icon-e-remove"})}),(0,s.jsxs)("div",{className:"modal-content",children:[(0,s.jsxs)("div",{className:"modal-body text-center",children:[(0,s.jsx)("h2",{className:"modal-title",children:"Select your game"}),(0,s.jsx)("p",{children:"Add or edit more games later."}),(0,s.jsx)("div",{className:"border-t border-ui-700 mt-4 pt-4",children:(0,s.jsx)("div",{className:"form-group flex flex-wrap justify-center gap-4",children:r.games.map((function(e,n){return(0,s.jsxs)("label",{className:"form-radio form-image",children:[(0,s.jsx)("input",{type:"radio",name:"games",id:e.slug,onChange:j}),(0,s.jsx)("span",{className:"sr-only",children:e.name}),(0,s.jsx)("div",{className:"w-28 h-40 bg-cover rounded-md",style:{backgroundImage:"url(".concat(e.assets.cover,")")}})]},e.id)}))})})]}),(0,s.jsx)("div",{className:"modal-action justify-center",children:x?(0,s.jsxs)(s.Fragment,{children:[x.hasAPI&&(0,s.jsxs)("button",{type:"button",onClick:function(){return n()},className:"button w-80 button-primary ".concat(u?"is-loading":""),children:[(0,s.jsx)("span",{className:"icon icon-game-".concat(x.slug,"-symbol")}),(0,s.jsx)("span",{children:"Connect my account"})]}),"pubg"===x&&(0,s.jsxs)("button",{type:"button",onClick:function(){return n()},className:"button w-80 button-primary ".concat(u?"is-loading":""),children:[(0,s.jsx)("span",{className:"icon icon-".concat(x)}),(0,s.jsx)("span",{children:"Connect with Steam"})]}),"pubg"!==x&&!x.hasAPI&&(0,s.jsxs)("button",{type:"button",onClick:function(){return n()},className:"button w-80 button-primary ".concat(u?"is-loading":""),children:[(0,s.jsx)("span",{className:"icon icon-data-download"}),(0,s.jsx)("span",{children:"Download Stryda"})]})]}):(0,s.jsx)("button",{type:"button",className:"button w-80 button-primary is-disabled",children:(0,s.jsx)("span",{children:"Connect"})})})]})]})})})}}},function(e){e.O(0,[49774,92888,40179],(function(){return n=10248,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.