PageSourceSearch

https://gamedistribution.com/_next/static/chunks/pages/developers/faq-278d03f9aa533cb3.js

js gamedistribution.com collected 2026-10-01 10:14:46 UTC 4,060 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2804],{5737:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/developers/faq",function(){return l(97985)}])},47742:function(e,t,l){"use strict";l.d(t,{Z:function(){return j}});var n=l(85893),a=l(67294),i=l(37887),s=l(11163),r=l(31304),c=l.n(r),o=l(54421),u=l(25935),d=l(41664),f=l.n(d),v=l(45526);let h=e=>{let t=(0,s.useRouter)(),{query:l}=t,i=(null==l?void 0:l.dev)==="show",r=(null==l?void 0:l.faqBackButton)==="hide",{type:o,title:d,imgSrc:h,articles:m,faqElement:x,moreClicked:p,showContentCount:j,handleContainer:q}=e,[g,_]=(0,a.useState)(x),w=()=>{q&&q({title:d,count:m.length||3,more:!0})},C=()=>{_(null),q&&q({}),t.push("/".concat(o,"/faq").concat(i?"?dev=show":""))};(0,a.useEffect)(()=>{x&&q({more:!0})},[x]);let N=()=>null==m?void 0:m.map((e,t)=>t<j?(0,n.jsx)("li",{children:(0,n.jsx)(f(),{href:"/".concat(o,"/faq/").concat(c()(d,{lower:!0}),"/").concat(c()(e.title,{lower:!0})).concat(i?"?dev=show":""),children:e.title})},"content-".concat(t)):(0,n.jsx)(a.Fragment,{},"content-".concat(t))),b=(0,a.useCallback)(()=>{if(g){var e;return(0,n.jsxs)("li",{className:"faqItemElementTitle",children:[(0,n.jsx)("p",{className:"title",children:g.title}),(0,u.ZP)(g.body)]},null===(e=g.title)||void 0===e?void 0:e.replaceAll(" ",""))}return N()},[g]);return(0,n.jsxs)("div",{className:"".concat(p?"more-active":""," basis-full lg:basis-5/12 2xl:basis-2/5"),children:[(0,n.jsxs)("div",{className:"faqCardHead",children:[(0,n.jsx)("img",{alt:"src",src:"/assets/faq/".concat(h),width:"72px",height:"72px"}),(0,n.jsx)("p",{className:"faqP",children:d}),!r&&p?(0,n.jsx)(v.zx,{buttonType:"buttonWhite",text:"Back to FAQ",className:"xm float-right ml-auto order-2",onClick:()=>{C()}}):(0,n.jsx)(n.Fragment,{})]}),(0,n.jsxs)("div",{className:"faqCardBody",children:[(0,n.jsx)("ul",{children:b()}),!p&&(null==m?void 0:m.length)>j?(0,n.jsx)(v.zx,{buttonType:"buttonWhite",text:"See all ".concat(m.length," articles"),className:"xm mt-5",onClick:w}):(0,n.jsx)(n.Fragment,{})]})]})};var m=l(17609),x=l.n(m);let p=e=>{let t=(0,s.useRouter)(),[l,r]=(0,a.useState)(""),[u,d]=(0,a.useState)(3),[f,v]=(0,a.useState)(!1),[m,p]=(0,a.useState)(""),[j,q]=(0,a.useState)([]),{type:g}=e,{data:_}=(0,i.a)(o.eZ.GET_FAQ),w="";w="developers"===g?"I am a Developer":"I am a Publisher";let C=e=>{var t;(null==e?void 0:e.title)&&r(e.title),((null==e?void 0:e.count)||"number"==typeof(null==e?void 0:e.count))&&d(e.count),v((null==e?void 0:e.more)||!1),(null===(t=Object.keys(e))||void 0===t?void 0:t.length)<1&&(r(""),d(3),v(!1))};return(0,a.useEffect)(()=>{var e;(null===(e=t.query)||void 0===e?void 0:e.id)&&(r(t.query.slug),p(t.query.id))},[t.query]),(0,a.useEffect)(()=>{if(null==_?void 0:_.faqZendesk){let e=_.faqZendesk.categories.find(e=>e.title===w).sections,t=[];e.forEach(e=>{let l=c()(e.title,{lower:!0});t.push({title:e.title,articles:e.articles,imgSrc:"dev-".concat(l,".svg")})}),q(t)}},[_]),(0,n.jsxs)("div",{className:"container",children:[e.title&&(0,n.jsxs)("h1",{className:"page-title mt-10",children:["Browse FAQs for ",(e=>{let t=e.charAt(0),l=t.toUpperCase()+e.slice(1);return l})(g),"s"]}),(0,n.jsx)("div",{className:x().faqCardContainer,style:l?{display:"block"}:{},children:(()=>{let e=j,t=null;if(l){let n=j.find(e=>c()(e.title,{lower:!0})===c()(l,{lower:!0})?e:null);if(n){var a;t=null==n?void 0:null===(a=n.articles)||void 0===a?void 0:a.find(e=>c()(e.title,{lower:!0})===m?e:null)}n&&(e=[n])}return(null==e?void 0:e.length)>-1?e.map((e,l)=>(0,n.jsx)(h,{type:g,title:e.title,imgSrc:e.imgSrc,articles:e.articles,faqElement:t,moreClicked:f,showContentCount:u,handleContainer:C},"".concat(c()(e.title),"-").concat(l))):null})()})]})};var j=p},97985:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return s}});var n=l(85893);l(67294);var a=l(47742);let i=()=>(0,n.jsx)(a.Z,{type:"developers"});var s=!0;t.default=i},17609:function(e){e.exports={faqCardContainer:"faq_faqCardContainer__2rWuO"}}},function(e){e.O(0,[5935,9774,2888,179],function(){return e(e.s=5737)}),_N_E=e.O()}]);

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.