PageSourceSearch

https://www.igx.gg/_nuxt/BiClQ16j.js

js igx.gg collected 2026-09-28 12:10:07 UTC 45,913 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BhdbOpm4.js","./3vrl0Mfu.js","./entry.R6HiIaPl.css","./GameServiceSearch.C-_fbIpL.css"])))=>i.map(i=>d[i]);
2import{o as m,c as y,b as e,t as n,k as L,l as at,u as qe,m as rt,i as lt,n as ct,p as Ee,q as W,g as o,f as x,F as O,s as _,v as B,x as oe,y as ut,j as Je,z as Ge,A as Ke,B as G,e as H,T as mt,d as q,_ as Me,C as $e,D as Q,r as K,a as dt,E as ht,G as _t,H as gt,w as pt,I as yt,J as vt,K as re,L as Fe,M as Be,N as He,O as bt,P as ft,Q as At,R as St,S as wt,U as kt,V as ve,W as De,X as Tt}from"./3vrl0Mfu.js";import{c as Ct}from"./xpbQrjdy.js";import{u as Xe}from"./DnfPPfH6.js";import{b as xt}from"./DiVfKDPD.js";import{S as It}from"./BdrQxYqp.js";import{u as Nt}from"./8oIyIJDU.js";import{u as Pt}from"./lNsNdL3w.js";import"./BiM_31tW.js";import"./D3qPioTH.js";const Lt={class:"home-section-header"},Ut={class:"home-section-header__title"},Bt={key:0,class:"home-section-header__subtitle"},je={__name:"HomeSectionHeader",props:{title:{type:String,required:!0},subtitle:{type:String,default:""}},setup(r){return(v,g)=>(m(),y("div",Lt,[e("div",null,[e("h2",Ut,n(r.title),1),r.subtitle?(m(),y("p",Bt,n(r.subtitle),1)):L("",!0)]),at(v.$slots,"action")]))}},Dt={class:"home-offer-card"},Et={class:"home-offer-card__desktop-layout"},qt={class:"home-offer-card__desktop-head"},Mt=["src"],Rt={class:"home-offer-card__desktop-labels"},Vt={key:0,"aria-hidden":"true"},zt={class:"home-offer-card__type"},Ot={class:"home-offer-card__desktop-title"},Ft={class:"home-offer-card__desktop-body"},Ht={class:"home-offer-card__price-row"},Qt={class:"home-offer-card__desktop-price"},Jt={key:0},Gt={key:0,class:"home-offer-card__discount"},Kt={key:1,class:"home-offer-card__reference-price"},$t=["src"],Xt={class:"home-offer-card__seller-stats"},jt={class:"home-offer-card__quantity-panel"},Wt={class:"home-offer-card__quantity-control"},Zt=["disabled"],Yt=["value"],eo=["disabled"],to={class:"home-offer-card__quantity-meta"},oo={key:0},so=["disabled"],io={class:"home-offer-card__footer"},no={class:"home-offer-card__mobile-layout"},ao=["src"],ro={class:"home-offer-mobile-feature__head"},lo=["src"],co={key:1,class:"home-offer-mobile-feature__offer"},uo=["src"],mo={__name:"HomeOfferStackCard",props:{title:{type:String,required:!0},gameName:{type:String,default:""},subtitle:{type:String,default:""},icon:{type:String,required:!0},image:{type:String,default:""},tags:{type:Array,default:()=>["Currency","Items","Accounts"]},seller:{type:String,default:"IGX Seller"},price:{type:String,default:"$29.99"},buyText:{type:String,default:"Buy Now"},sellerAvatar:{type:String,required:!0},offers:{type:Array,default:()=>[]},offersByService:{type:Object,default:()=>({})},serviceTo:{type:String,default:""},featuredLabel:{type:String,default:"Featured"},dealFilter:{type:String,default:"all"}},setup(r){const v=r,g=qe(),w=rt(),{resolveCurrencyMeta:T}=Xe(),l=lt(),C=ct(),f=B(1),N=_(()=>{const i=v.tags.map(a=>String(a||""));if(v.dealFilter!=="all"){const a=String(v.dealFilter||"").toLowerCase();return i.find(u=>u.toLowerCase()===a)||i[0]||""}return i[0]||""}),$=_(()=>{const i=v.offersByService?.[N.value];return(Array.isArray(i)&&i.length?i:v.offers).map((u,J)=>({id:u?.id||"",key:u?.id||`${u?.seller||v.seller}-${J}`,seller:u?.seller||v.seller,price:u?.price||v.price,referencePrice:u?.referencePrice||"",priceAmount:u?.priceAmount,priceCurrency:String(u?.priceCurrency||"").toUpperCase(),badge:u?.badge||"",avatar:u?.avatar||v.sellerAvatar,unit:String(u?.unit||"").replace(/^\//,""),delivery:u?.guaranteedDeliveryTime||u?.deliveryTime||u?.deliveryMethod||"",minimumQuantity:Ae(u?.minimumQuantity,1),maximumQuantity:u?.maximumQuantity??0,availableQuantity:u?.availableQuantity??"",volumeDiscounts:Array.isArray(u?.volumeDiscounts)?u.volumeDiscounts:[],titleCategoryValues:Array.isArray(u?.titleCategoryValues)?u.titleCategoryValues:[],titleAttributeValues:Array.isArray(u?.titleAttributeValues)?u.titleAttributeValues:[],rating:Se(u?.rating),reviewCount:Number(u?.reviewCount||0),discount:we(u?.discount),sellerCount:u?.sellerCount,to:u?.to||""}))}),h=_(()=>$.value[0]||null),V=_(()=>h.value),se=_(()=>{const i=Number(h.value?.sellerCount);return Number.isFinite(i)&&i>=0?i:0}),M=_(()=>h.value?.minimumQuantity||1),d=_(()=>{const i=h.value?.availableQuantity;if(i===""||i===null||i===void 0)return Number.POSITIVE_INFINITY;const a=Math.floor(Number(i));return Number.isFinite(a)?Math.max(0,a):Number.POSITIVE_INFINITY}),Z=_(()=>{const i=Math.floor(Number(h.value?.maximumQuantity));return Number.isFinite(i)&&i>0?i:Number.POSITIVE_INFINITY}),A=_(()=>Math.min(d.value,Z.value)),k=_(()=>Math.max(0,Math.floor(Number(f.value)||0))),U=_(()=>!!h.value&&k.value>=M.value&&k.value<=A.value),Y=_(()=>U.value&&k.value>M.value),F=_(()=>!!h.value&&k.value<A.value),z=_(()=>Ct(Number(h.value?.priceAmount||0),k.value,h.value?.volumeDiscounts)),le=_(()=>ke(z.value.subtotalAfter,h.value?.priceCurrency,h.value?.price||v.price)),X=_(()=>h.value?.discount||""),ce=_(()=>{const i=String(h.value?.referencePrice||"").trim(),a=String(h.value?.price||v.price||"").trim();return i&&i!==a?i:""}),ue=_(()=>String(N.value||"Offer").toUpperCase()),ie=_(()=>{const i=[v.gameName,...h.value?.titleCategoryValues||[],...h.value?.titleAttributeValues||[]].map(a=>
2String(a||"").trim()).filter(Boolean);return[...new Set(i)].join(" · ")}),me=_(()=>v.featuredLabel.toLowerCase().replace(/[^a-z]+/g,"-"));Ee([h,M,A],()=>{const i=A.value;f.value=Number.isFinite(i)?Math.min(M.value,i):M.value},{immediate:!0});function Ae(i,a){const u=Math.floor(Number(i));return Number.isFinite(u)&&u>0?u:a}function Se(i){const a=String(i??"").trim();return a?a.includes("%")?a:`${a}%`:"98%"}function we(i){const a=String(i??"").trim();return a?/off/i.test(a)?a:`${a.replace(/%$/,"")}% OFF`:""}function ke(i,a,u){const J=Number(i),R=String(a||"").toUpperCase();if(!Number.isFinite(J)||!R)return u;const ne=J.toFixed(2),_e=T(R);return _e.sign?`${_e.sign}${ne}`:`${R} ${ne}`}function ee(i,a=!1){const u=A.value,J=Number.isFinite(u)?Math.min(M.value,u):M.value;let R=Math.max(0,Math.floor(Number(i)||0));return Number.isFinite(u)&&(R=Math.min(R,u)),a&&(R=Math.max(J,R)),R}function Te(i){const a=String(i?.target?.value||"").replace(/[^0-9]/g,"");if(!a){f.value="",i?.target&&(i.target.value="");return}const u=ee(a);f.value=u,i?.target&&(i.target.value=String(u))}function Ce(i){const a=ee(f.value,!0);f.value=a,i?.target&&(i.target.value=String(a))}function de(i){f.value=ee(k.value+i,!0)}function xe(){return{title:v.title,subtitle:ie.value,price:le.value,delivery:h.value?.delivery||""}}async function Ie(){const i=h.value?.id;if(!(!i||!U.value)){if(!C.loggedIn){const{requestLogin:a}=ut();a({returnTo:w.fullPath,onSuccessAction:{type:"checkout",offerId:i,quantity:k.value,summary:xe()}});return}l.init(k.value,i),await oe(g(`/order-summary/${i}`))}}async function he(i){i?.to&&await oe(g(i.to))}async function Ne(){const i=v.serviceTo||h.value?.to;i&&await oe(g(i))}return(i,a)=>(m(),y("article",Dt,[e("div",Et,[e("header",qt,[r.image?(m(),y("img",{key:0,class:"home-offer-card__desktop-bg",src:r.image,alt:"",loading:"lazy",decoding:"async"},null,8,Mt)):L("",!0),a[4]||(a[4]=e("span",{class:"home-offer-card__desktop-shade","aria-hidden":"true"},null,-1)),e("div",Rt,[e("span",{class:W(["home-offer-card__featured",`home-offer-card__featured--${o(me)}`])},[r.featuredLabel==="HOT"?(m(),y("span",Vt,"🔥")):L("",!0),x(n(r.featuredLabel),1)],2),e("span",zt,n(o(ue)),1)]),e("div",Ot,[e("h3",null,n(r.title),1),e("p",null,n(o(ie)),1)])]),e("div",Ft,[e("div",Ht,[e("span",Qt,[e("strong",null,n(o(h)?.price||r.price),1),o(h)?.unit?(m(),y("small",Jt,"/"+n(o(h).unit),1)):L("",!0)]),o(X)?(m(),y("span",Gt,n(o(X)),1)):L("",!0),o(ce)?(m(),y("del",Kt,n(o(ce)),1)):L("",!0)]),e("button",{type:"button",class:"home-offer-card__seller-panel",onClick:a[0]||(a[0]=u=>he(o(h)))},[e("img",{src:o(h)?.avatar||r.sellerAvatar,alt:"",width:"24",height:"24",loading:"lazy",decoding:"async"},null,8,$t),e("strong",null,n(o(h)?.seller||r.seller),1),e("span",Xt,[a[5]||(a[5]=e("span",{class:"home-offer-card__rating-icon icomoon-icon 
2icon icon-thumbs-up","aria-hidden":"true"},null,-1)),x(" "+n(o(h)?.rating||"98%")+" ",1),a[6]||(a[6]=e("i",{"aria-hidden":"true"},null,-1)),x(" "+n(o(h)?.reviewCount||0)+" reviews ",1)])]),e("div",jt,[e("div",Wt,[e("button",{type:"button",disabled:!o(Y),"aria-label":"Decrease quantity",onClick:a[1]||(a[1]=u=>de(-1))},"−",8,Zt),e("input",{value:o(f),type:"text",inputmode:"numeric",pattern:"[0-9]*","aria-label":"Quantity picker field",onInput:Te,onBlur:Ce},null,40,Yt),e("button",{type:"button",disabled:!o(F),"aria-label":"Increase quantity",onClick:a[2]||(a[2]=u=>de(1))},"+",8,eo)]),e("div",to,[e("span",null,[x("Min. qty.: "+n(o(M)),1),o(h)?.unit?(m(),y(O,{key:0},[x(n(o(h).unit),1)],64)):L("",!0)]),o(h)?.availableQuantity!==""?(m(),y("span",oo,[x("In stock: "+n(o(h).availableQuantity),1),o(h)?.unit?(m(),y(O,{key:0},[x(n(o(h).unit),1)],64)):L("",!0)])):L("",!0)])]),e("button",{type:"button",class:"home-offer-card__buy",disabled:!o(h)?.id||!o(U),onClick:Ie},n(o(le))+" | "+n(r.buyText),9,so),e("footer",io,[e("span",null,n(o(se))+" items",1),e("button",{type:"button",onClick:Ne},[...a[7]||(a[7]=[x("Compare all offers ",-1),e("span",{"aria-hidden":"true"},"→",-1)])])])])]),e("div",no,[e("button",{type:"button",class:"home-offer-mobile-feature",onClick:a[3]||(a[3]=u=>he(o(V)))},[r.image?(m(),y("img",{key:0,class:"home-offer-mobile-feature__bg",src:r.image,alt:"",loading:"lazy",decoding:"async"},null,8,ao)):L("",!0),a[9]||(a[9]=e("span",{class:"home-offer-mobile-feature__shade","aria-hidden":"true"},null,-1)),e("span",ro,[e("img",{src:r.icon,alt:"",width:"20",height:"20",loading:"lazy",decoding:"async"},null,8,lo),e("strong",null,n(r.title),1)]),o(V)?(m(),y("span",co,[e("img",{src:o(V).avatar||r.sellerAvatar,alt:"",width:"26",height:"26",loading:"lazy",decoding:"async"},null,8,uo),e("span",null,[a[8]||(a[8]=e("span",{class:"icomoon-icon 
2icon icon-badge"},null,-1)),e("small",null,n(o(V).seller),1),e("strong",null,n(o(V).price),1),e("em",null,n(o(V).badge),1)])])):L("",!0),a[10]||(a[10]=e("span",{class:"icomoon-icon icon icon-Medal"},null,-1)),a[11]||(a[11]=e("span",{class:"txt"},[e("span",{class:"icomoon-icon icon icon-offer-stack__hot"}),x("Hot Deal")],-1))])])]))}},ho={key:0,class:"home-website-toast",role:"status","aria-live":"polite"},_o={class:"home-website-toast__body"},Qe="homeWebsiteToast:dismissed",go={__name:"HomeWebsiteToast",setup(r){const{get:v}=Je(),g=B(null),w=B([]),T=B(4e3),l=B(8e3);let C=null,f=null;Ge(async()=>{if(!se()&&window.matchMedia("(min-width: 1025px)").matches)try{const A=await v("/base/websiteToastMessages");if(A?.code!==200||!A?.data?.enabled)return;const k=Array.isArray(A.data.items)?A.data.items:[];if(w.value=k.filter(U=>U?.title).sort((U,Y)=>Number(U?.sort||0)-Number(Y?.sort||0)),!w.value.length)return;T.value=Z(Number(A.data.displaySeconds||4)*1e3,2500,4e3),l.value=Z(Number(A.data.intervalSeconds||8)*1e3,3e3,8e3),N(1200,3e3)}catch{w.value=[]}}),Ke(()=>{V()});function N(A=2e3,k=l.value){clearTimeout(C);const U=d(A,Math.max(A,k));C=window.setTimeout($,U)}function $(){w.value.length&&(g.value=w.value[Math.floor(Math.random()*w.value.length)],clearTimeout(f),f=window.setTimeout(()=>{g.value=null,N()},T.value))}function h(){M(),g.value=null,V()}function V(){clearTimeout(C),clearTimeout(f)}function se(){try{return window.sessionStorage.getItem(Qe)==="1"}catch{return!1}}function M(){try{window.sessionStorage.setItem(Qe,"1")}
2catch{}}function d(A,k){return Math.floor(Math.random()*(k-A+1))+A}function Z(A,k,U){return Number.isFinite(A)?Math.min(Math.max(A,k),U):k}return(A,k)=>(m(),G(mt,{name:"home-website-toast"},{default:H(()=>[o(g)?(m(),y("aside",ho,[k[0]||(k[0]=e("span",{class:"home-website-toast__icon","aria-hidden":"true"},[e("span",{class:"icomoon-icon icon icon-check2"})],-1)),e("span",_o,[e("strong",null,n(o(g).title),1),e("small",null,n(o(g).subtitle),1)]),e("button",{type:"button",class:"home-website-toast__close","aria-label":"Close notification",onClick:h}," × ")])):L("",!0)]),_:1}))}},po=["src"],yo={class:"home-game-card__content"},vo={class:"img-box"},bo=["src"],fo={class:"home-game-card__desktop-title"},Ao={class:"home-game-card__mobile-title"},So={class:"home-game-card__category"},wo={class:"home-game-card__bottom"},ko={class:"home-game-card__meta"},To={class:"home-game-card__price"},Co={class:"home-game-card__actions"},xo={__name:"HomeGameCard",props:{title:{type:String,required:!0},mobileTitle:{type:String,default:""},category:{type:String,default:"Gold"},image:{type:String,required:!0},icon:{type:String,required:!0},price:{type:String,default:"$29.99"},oldPrice:{type:String,default:"$59.99"},status:{type:String,default:"In Stock"},statusType:{type:String,default:"stock"},to:{type:String,default:"/"},buyText:{type:String,default:"Buy Now"},detailsText:{type:String,default:"Details"}},setup(r){const v=r,g=qe(),w=_(()=>`home-game-card__status home-game-card__status--${v.statusType}`);function T(l){if(!l.target?.closest?.("a, button"))return oe(g(v.to))}return(l,C)=>{const f=Me;return m(),y("article",{class:"home-game-card",onClick:T},[e("img",{class:"home-game-card__bg",src:r.image,alt:"",loading:"lazy",decoding:"async"},null,8,po),C[1]||(C[1]=e("div",{class:"home-game-card__shade"},null,-1)),e("div",yo,[q(f,{to:o(g)(r.to),class:"home-game-card__top"},{default:H(()=>[e("div",vo,[e("img",{src:r.icon,alt:"",width:"32",height:"32",loading:"lazy",decoding:"async"},null,8,bo)]),e("div",null,[e("h3",null,[e("span",fo,n(r.title),1),e("span",Ao,n(r.mobileTitle||r.title),
21)]),e("span",So,n(r.category),1)])]),_:1},8,["to"]),e("div",wo,[e("div",ko,[e("div",To,[e("strong",null,n(r.price),1),e("del",null,n(r.oldPrice),1)]),C[0]||(C[0]=e("span",{class:"home-game-card__status1"},null,-1)),e("span",{class:W(o(w))},n(r.status),3)]),e("div",Co,[q(f,{to:o(g)(r.to)},{default:H(()=>[x(n(r.buyText),1)]),_:1},8,["to"]),q(f,{to:o(g)(r.to),class:"home-game-card__details"},{default:H(()=>[x(n(r.detailsText),1)]),_:1},8,["to"])])])])])}}},Io={class:"why-box__card"},No=["src"],Po={__name:"HomeFeatureCard",props:{icon:{type:String,required:!0},title:{type:String,required:!0},description:{type:String,required:!0}},setup(r){return(v,g)=>(m(),y("article",Io,[e("img",{src:r.icon,alt:"",width:"50",height:"50",loading:"lazy",decoding:"async"},null,8,No),e("h3",null,n(r.title),1),e("p",null,n(r.description),1)]))}},Lo=""+new URL("home-share.BkKBpHzX.mp4",import.meta.url).href,Uo={class:"home-trading-tools"},Bo={class:"container"},Do={class:"home-trading-tools__body"},Eo={class:"home-trading-tools__media"},qo=["src"],Mo=["src"],Ro={class:"home-trading-tools__footer"},Vo={__name:"HomeTradingTools",props:{title:{type:String,required:!0},subtitle:{type:String,required:!0},toolTitle:{type:String,required:!0},description:{type:String,required:!0},buttonText:{type:String,default:"Open Tool"},plannerImage:{type:String,required:!0}},setup(r){const v=B(null),g=B(null),w=B(!1);let T=null;function l(){oe("https://poe2builds.ai",{external:!0,open:{target:"_blank"}})}function C(){const f=g.value;if(!f)return;const N=window.matchMedia("(prefers-reduced-motion: reduce)").matches;w.value&&!N?f.play().catch(()=>{}):f.pause()}return Ge(()=>{v.value&&(T=new IntersectionObserver(([f])=>{f?.isIntersecting?(w.value=!0,$e(C)):w.value&&g.value?.pause()},{rootMargin:"300px 0px",threshold:.01}),T.observe(v.value))}),Ke(()=>{T?.disconnect(),g.value?.pause()}),(f,N)=>{const $=je;return m(),y("section",Uo,[e("div",Bo,[q($,{title:r.title,subtitle:r.subtitle},null,8,["title","subtitle"]),e("div",Do,[e("h3",null,n(r.toolTitle),1),e("div",Eo,[e("img",{src:r.plannerImage,alt:"",width:"631",loading:"lazy",decoding:"async"},null,8,qo),e("div",{ref_key:"videoContainer",ref:v,class:"home-trading-tools__video"},[e("video",{ref_key:"videoElement",ref:g,src:o(w)?o(Lo):void 0,muted:"",loop:"",playsinline:"",preload:"none",onCanplay:C},null,40,Mo)],512)]),e("div",Ro,[e("p",null,n(r.description),1),e("button",{type:"button",onClick:l}
2,[N[0]||(N[0]=e("span",{class:"icomoon-icon icon icon-ai-star","aria-hidden":"true"},null,-1)),x(" "+n(r.buttonText),1)])])])])])}}},zo=""+new URL("home-how-platform.Xr6bVz7w.png",import.meta.url).href,Oo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFIAAABWCAMAAABrYzG/AAAAZlBMVEUAAAAUPkQKNTsKhJoIhpoIhpoHhpkIhpoHh5oQf58Ih5kKiJ0FhJkIh5kVP0ULNTsUQEUSQEYKNDoKiZwMOD4GhJcLNjwOO0IPPUQNOUARPkUJeIkPSFANW2cKb30LZXINUlwKf5FIhTaDAAAADnRSTlMA/v4g38GAnj8Q72Bfr6SXhYsAAAVaSURBVFjDrJWNctpADIQzIiSkQ4dW4Kv5S+j7v2SlleSt58iEJCyHz8G+71bSafJwo1bL5eLhHiJwMD3f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QmCVv5WxzHpIPkqYskWMuFdLhQqf8aMp7a3yx80LhToXMBVQRXBXBmBhCzgAkmXAevVOUCESf9glajiAlZTXv0EA10/hMwgbBSgy0EolN5MQiClhtNxSHkQm6MKCywvCeP3Oi0YJsXeJjZG60gdHKgUh5yuhOUEscd4J0/UmknpLMNJuNRJxHltsVkQkluNw15dQvyUA9shIp1OVm6ZweJPHDFK8fZKY2FBINQEpIthSsT4912Xs7ToSxruHCcg+pNfJ8EhGm2KipWL4Pm/Es6uHndUUe5vn7jF1m2pnii+Heizw17900nf/M8+Ht7eN9g2K+yy6j6nNkItqJLSE6f8+zv/MUlGuKYmYZkGni6GF+t695fjfwDv26oUmx04U8rfJwLA8cGwM/igd0SWqQfbEDou5j4a/jz4ZCjiv0slTd232weS9kbCx5XwIc5cdxNtTC20KVUbIWVIMuF4AI37ICddyke/xZwhvvCBfiPAAH6HVRgir6j5RV67qy10J84KvbWlHXz+JVVrA0tAIeHvo2+LuVqUiQLeaE7TTwiS+YGzT+wawyMJ5WeVDo0hDsOW7fAD4Npdz5V41WeVLoUmOoRLcKwOehl8V5UVHpveeEhgq03hXLfwPHhtLK7HrvBdAU4guAdCm99zIohfgq6OFh4F/u3D9PEeo3mQAAAABJRU5ErkJggg==",Fo={class:"how-works__step"},Ho={class:"how-works__card-wrap"},Qo={class:"how-works__badge"},Jo={__name:"HomeHowStep",props:{index:{type:Number,required:!0},title:{type:String,required:!0},text:{type:String,required:!0}},setup(r){return(v,g)=>(m(),y("article",Fo,[g[1]||(g[1]=e("img",{class:"how-works__platform",src:zo,alt:"",width:"170",height:"52",loading:"lazy",decoding:"async"},null,-1)),e("div",Ho,[e("div",{class:W(["how-works__card",`how-works__card--${r.index+1}`])},[e("h3",null,n(r.title),1),e("p",null,n(r.text),1)],2),e("div",Qo,[g[0]||(g[0]=e("img",{src:Oo,alt:"",width:"41",height:"43",loading:"lazy",decoding:"async"},null,-1)),e("span",null,n(r.index+1),1)])])]))}},Go=Q("/img/optimized/home/home-community-bg-640.avif"),Ko=Q("/img/optimized/home/home-community-bg-1200.avif"),$o=Q("/img/optimized/home/home-community-bg-1600.avif"),Xo=Q("/img/optimized/home/home-community-bg-640.webp"),jo=Q("/img/optimized/home/home-community-bg-1200.webp"),Wo=Q("/img/optimized/home/home-community-bg-1600.webp"),Zo=""+new URL("home-community-bg.DhOmfgWc.png",import.meta.url).href,Yo=Go+" 640w, "+Ko+" 1200w, "+$o+" 1600w",es=Xo+" 640w, "+jo+" 1200w, "+Wo+" 1600w",ts={class:"home-community"},os={class:"container"},ss={class:"home-community__panel"},is={class:"home-community__content"},ns={class:"home-community__copy"},as={class:"home-community__desc"},rs={class:"home-community__cards"},ls={__name:"HomeCommunityBanner",props:{description:{type:String,required:!0},items:{type:Array,required:!0},buttonText:{type:String,default:"Join Now →"},to:{type:String,default:"https://discord.com/invite/Tb2SRvBbk"}},setup(r){return(v,g)=>{const w=Me;return m(),y("section",ts,[e("div",os,[e("div",ss,[g[2]||(g[2]=e("picture",null,[e("source",{type:"image/avif",srcset:Yo,sizes:"(max-width: 640px) 100v
2w, min(1280px, 100vw)"}),e("source",{type:"image/webp",srcset:es,sizes:"(max-width: 640px) 100vw, min(1280px, 100vw)"}),e("img",{class:"home-community__bg",src:Zo,alt:"",width:"2560",height:"1010",loading:"lazy",decoding:"async"})],-1)),e("div",is,[e("div",ns,[g[0]||(g[0]=e("div",{class:"home-community__title"},[e("span",null,"WELCOME"),e("span",null,"TO"),e("strong",null,"IGX.GG")],-1)),g[1]||(g[1]=e("p",{class:"home-community__eyebrow"},[e("span",{class:"left"}),x("BUILT WITH PLAYERS, FOR PLAYERS"),e("span",{class:"right"})],-1)),e("p",as,n(r.description),1)]),e("div",rs,[(m(!0),y(O,null,K(r.items,(T,l)=>(m(),y("article",{key:T.title,class:W(["home-community__card",`home-community__card--${l+1}`])},[e("span",{class:W(["home-community__icon",`home-community__icon--${l+1}`])},null,2),e("h3",null,n(T.title),1),e("p",null,n(T.text),1)],2))),128))]),q(w,{class:"home-community__btn",to:r.to},{default:H(()=>[x(n(r.buttonText),1)]),_:1},8,["to"])])])])])}}},cs={class:"items home-faq-grid"},us=["aria-expanded","onClick"],ms={class:"faq-question-heading"},ds={class:"a"},hs={__name:"HomeFaqList",props:{items:{type:Array,required:!0},modelValue:{type:Number,default:-1}},emits:["update:modelValue"],setup(r,{emit:v}){const g=r,w=v;function T(l){w("update:modelValue",g.modelValue===l?-1:l)}return(l,C)=>(m(),y("div",cs,[(m(!0),y(O,null,K(r.items,(f,N)=>(m(),y("div",{key:f.question,class:W(["item",{active:r.modelValue===N}])},[e("button",{class:"q",type:"button","aria-expanded":r.modelValue===N,onClick:$=>T(N)},[e("span",null,[e("span",ms,n(f.question),1)]),C[0]||(C[0]=e("span",{class:"icomoon-icon 
2icon icon-add","aria-hidden":"true"},null,-1)),C[1]||(C[1]=e("span",{class:"icomoon-icon icon icon-close","aria-hidden":"true"},null,-1))],8,us),e("div",ds,n(f.answer),1)],2))),128))]))}},_s=Q("/img/optimized/home/homeBanner1-768.webp"),We=Q("/img/optimized/home/homeBanner1-1200.webp"),gs=Q("/img/optimized/home/homeBanner1-1600.webp"),ps=Q("/img/optimized/home/homeBanner1-1920.webp"),ys=""+new URL("home-claim-now.BcagqqzX.gif",import.meta.url).href,vs=""+new URL("home-cta-bg.CgWcMfBN.jpg",import.meta.url).href,bs="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkBAMAAAATLoWrAAAAMFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABaPxwLAAAAD3RSTlMA3yAQv+9/bTDPn0Cvjz9chcLIAAABQ0lEQVQoz3VSPUsDQRAdk+DFL5B0VncBxdI0CiJohCutUogImkC09rAUxDT2fvwAtbK0EGtFbC39Bf6CU+InycvL7OZyG8grZnYeb2ZnZ0eGIn8UhreNNLNUBREfuoyi1mMyPqOZdZofybwEQjwAO+8iqzdoSxFPZCaAzZKq9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Klq0z77kfimmwYNGis49jwGYyZ4PQQ5xgWLToSt7//Hv+Al5gcCcqG2syAAAAAElFTkSuQmCC",Ss=""+new URL("home-why-ver
2ified.BEfIB20x.png",import.meta.url).href,ws=""+new URL("home-why-support.D4Skji9O.png",import.meta.url).href,ks=""+new URL("home-trading-planner.jNFhKRsD.jpg",import.meta.url).href,Ts=_s+" 768w, "+We+" 1200w, "+gs+" 1600w, "+ps+" 1920w",Cs={class:"main page-home"},xs={id:"home-search",class:"home-search"},Is={class:"cont"},Ns={class:"bannerVideo"},Ps=["alt"],Ls={class:"container"},Us={class:"title"},Bs={class:"t-1"},Ds={class:"t-2 t-2--gold"},Es={class:"t-desc"},qs={class:"home-search__actions"},Ms=["onClick","onSubmit"],Rs={class:"search-field"},Vs=["placeholder","aria-label","onFocus","onInput"],zs={class:"btn--search-igx",type:"submit"},Os={class:"search-field"},Fs=["placeholder","aria-label"],Hs={class:"btn--search-igx",type:"submit"},Qs={class:"home-search__tags"},Js=["onClick"],Gs=["src"],Ks={class:"home-search__trust"},$s={class:"home-best-deals"},Xs={class:"container"},js={class:"home-best-deals__toolbar","aria-label":"Deal filters and navigation"},Ws={class:"home-best-deals__filters",role:"group","aria-label":"Filter best deals"},Zs=["aria-pressed","onClick"],Ys={key:0,class:"home-best-deals__nav"},ei=["disabled"],ti=["disabled"],oi={class:"home-best-deals__grid home-best-deals__grid--desktop","aria-live":"polite"},si={class:"home-best-deals__grid home-best-deals__grid--mobile"},ii={class:"shop-games"},ni={class:"container"},ai={class:"shop-games__grid"},ri={class:"why-box"},li={class:"container"},ci={class:"why-box__head"},ui={class:"title"},mi={class:"why-box__subtitle"},di={class:"why-box__cards"},hi={class:"how-works"},_i={class:"container"},gi={class:"how-works__head"},pi={class:"title"},yi={class:"how-works__subtitle"},vi={class:"how-works__steps"},bi={class:"fqa-box"},fi={class:"container"},Ai={class:"top"},Si={class:"title"},wi={class:"fqa-box__actions"},ki={class:"home-cta"},Ti={class:"container home-cta__content"},Ci={class:"home-cta__title"},xi={class:"home-cta__subtitle"},Ii={class:"home-cta__footnote"},Ni=4,Pi=6,Li=4,Ui=8,be=3,fe="all",Fi={__name:"index",async setup(r){let v,g;const w=At(),T=qe(),{t:l}=dt(),{public:{activityPagesEnabled:C,sellerSwitch:f}}=w,N=ht(),{get:$}=Je(),h=_t(),{showMessenger:V}=gt(),{resolveCurrencyMeta:se}=Xe(),M=["Recommended","Cheapest first","Lowest min. quantity"],d=_(()=>({seoTitle:l("home_seo_title"),seoDescription:l("home_seo_description"),heroTitle:l("home_hero_title"),heroSubtitle:l("home_hero_subtitle"),heroDesc:l("home_hero_desc"),heroImageAlt:l("home_hero_image_alt"),claimNow:l("home_hero_claim_now"),heroTrustLine:l("home_hero_trust_line"),searchPlaceholder:l("home_search_placeholder"),searchAriaLabel:l("home_search_aria_label"),searchIgx:l("home_search_igx"),aiSearch:l("home_ai_search"),hotProductsTitle:"Today's Best Deals",hotProductsSubtitle:l("home_hot_products_subtitle"),buyNow:l("home_buy_now"),viewMore:l("home_view_more"),details:l("home_details"),shopGamesTitle:l("home_shop_games_title"),shopGamesSubtitle:l("home_shop_games_subtitle"),whyTitle:l("home_why_title"),whySubtitle:l("home_why_subtitle"),tradingToolsTitle:l("home_trading_tools_title"),tradingToolsSubtitle:l("home_trading_tools_subtitle"),tradingToolsToolTitle:l("home_trading_tools_tool_title"),tradingToolsDescription:l("home_trading_tools_description"),tradingToolsButton:l("home_trading_tools_button"),howToBuyTitle:l("home_how_to_buy_title"),howToBuySubtitle:l("home_how_to_buy_subtitle"),howSteps:Array.from({length:Ni},(t,s)=>{const c=s+1;return{title:l(`home_how_step_${c}_title`),text:l(`home_how_step_${c}_text`)}}),faqTitle:l("home_faq_title"),faqViewMore:l("home_faq_view_more"),ctaTitle:l("home_cta_title"),ctaSubtitle:l("home_cta_subtitle"),ctaButton:l("home_cta_button"),ctaFootnote:l("home_cta_footnote"),communityDescription:l("home_community_description"),communityButton:l("home_community_button")})),Z=_(()=>h.popularGameServiceList.slice(0,3).map(t=>{const s=String(t.localizedGameName||t.gameName||"").trim(),c=String(t.serviceName||"").trim(),b=[s,c].filter(Boolean).join(" ");return{label:b,keyword:b,icon:i(t.gameLogo),to:t.pageUrl||De(t)}}).filter(t=>t.label)),{data:A}=([v,g]=pt(async()=>Nt("home:service-search",async()=>{const[,t]=await Promise.all([h.ensureList(),$("/offer/serviceSearch",{isHomepage:1,currency:N.value})]);return t?.code!==200?{categories:[],offersByService:[]}:Te(t?.data)},{default:()=>({categories:[],offersByService:[]})})),v=await v,g(),v),k=_(()=>{const t=[fs,As,Ss,ws];return Array.from({length:Li},(s,c)=>{const b=c+1;return{icon:t[c],title:l(`home_why_card_${b}_title`),description:l(`home_why_card_${b}_description`)}})}),U=_(()=>Array.isArray(A.value?.offersByService)?A.value.offersByService:[]),Y=_(()=>{const t=new Set,s=U.value.reduce((c,b)=>{const S=String(b?.serviceName||"").trim(),P=S.toLowerCase();return S&&!t.has(P)&&(t.add(P),c.push({value:S,label:S})),c},[]);return[{value:fe,label:"All Deals"},...s]}),F=B(fe),z=B(0),le=_(()=>{const t=F.value.toLowerCase();return(F.value===fe?U.value:U.value.filter(c=>String(c?.serviceName||"").trim().toLowerCase()===t)).flatMap(c=>(Array.isArray(c?.offers)?c.offers:[]).map(b=>({offer:b,serviceId:c?.serviceId,serviceName:String(c?.serviceName||"").trim()})))}),X=_(()=>le.value.map(Ce)),ce=_(()=>X.value.slice(0,3)),ue=_(()=>Math.ceil(X.value.length/be)),ie=_(()=>z.value>0),me=_(()=>z.value+1<ue.value),Ae=_(()=>{const t=z.value*be;return X.value.slice(t,t+be)});Ee(X,()=>{z.value=Math.min(z.value,Math.max(0,ue.value-1))}),Ee(Y,t=>{t.some(s=>s.value===F.value)||(F.value=fe,z.value=0)});function Se(t){F.value=t,z.value=0}function we(){ie.value&&(z.value-=1)}function ke(){me.value&&(z.value+=1)}const ee=_(()=>(A.value?.categories||[]).filter(t=>Number(t?.is_homepage_carousel)===0).slice(0,Ui).map(de));function Te(t){const s=Array.isArray(t?.categories)?t.categories:[],c=Array.isArray(t?.offersByService)?t.offersByService:[];return{categories:s,offersByService:c}}function Ce({offer:t,serviceId:s,serviceName:c},b){const S=i(t?.gameLogo||t?.gameServiceIcon||t?.serviceIcon),P=i(t?.gameCover||t?.gameLogo),I=Ne({...t,serviceId:s},c),D=xe(t,I,c,S,b);return{key:`deal-${D.id||b}`,title:s===It.Currency.serviceId?`${t?.gameName} ${t?.title}`.trim():String(t?.title||c).trim(),subtitle:c,icon:S,image:P,sellerAvatar:D.avatar||S,tags:[c],offers:[D],offersByService:{[c]:[D]},price:D.price,serviceTo:I?.pageUrl||De(I),featuredLabel:b===0?"HOT":b===1?"Featured":"Rare"}}function de(t,s){const c=i(t?.gameLogo||t?.gameServiceIcon||t?.serviceIcon),b=i(t?.gameCover||t?.gameLogo),S=h.listData?.find(P=>Number(P?.gameId)===Number(t?.gameId)&&Number(P?.serviceId)===Number(t?.serviceId));return{key:`game-${t?.gameServiceRelId||t?.gameId||s}`,title:String(t?.gameName||t?.title||"IGX Game").trim(),mobileTitle:t?.gameName||t?.title,category:String(t?.serviceName||"Gold").trim(),image:b,icon:c,status:Number(t?.newGame)===1?"New":"In Stock",statusType:Number(t?.newGame)===1?"soon":"stock",to:S?.pageUrl||De(S||t),price:a(t?.referencePrice),oldPrice:""}}function xe(t,s,c,b,S){const P=t?.offerId||t?.id,I=t?.price??t?.referencePrice,D=I&&typeof I=="object"?I.amount:I,ye=I&&typeof I=="object"?I.currency:"",te=t?.referencePrice,Ue=te&&typeof te=="object"?te:{amount:te,currency:ye};return{id:P||`${t?.gameId||c||"offer"}-${S}`,seller:String(t?.sellerName||t?.seller||t?.storeName||c||"IGX").trim(),price:a(I),referencePrice:a(Ue),priceAmount:D,priceCurrency:String(ye||"").toUpperCase(),badge:M[S]||"",avatar:String(t?.sellerAvatar||t?.avatar||"").trim()||b,unit:t?.unit||t?.priceUnit||t?.unitName||"",deliveryTime:t?.deliveryTime||"",minimumQuantity:t?.minQty??1,maximumQuantity:t?.maxQty??t?.maximumQuantity??t?.maxQuantity??0,availableQuantity:t?.stock??t?.quantity??"",volumeDiscounts:Array.isArray(t?.volumeDiscounts)?t.volumeDiscounts:[],rating:
2Ie(t?.rating??t?.sellerRating??t?.positiveRate??t?.goodRate),reviewCount:t?.reviewCount??t?.ratingCount??t?.reviews??0,discount:he(t?.referencePriceDiscountPercent),sellerCount:t?.onSaleOfferCount,to:P?Tt(s,P):""}}function Ie(t){const s=Number(t);if(!Number.isFinite(s))return"";const c=s>=0&&s<=1?s*100:s;return`${Math.round(c)}%`}function he(t){const s=Number(t);return Number.isFinite(s)&&s>0?s:""}function Ne(t,s){const c=Array.isArray(t?.serviceNames)?t.serviceNames:[],b=Array.isArray(t?.serviceIds)?t.serviceIds:[],S=c.findIndex(D=>String(D||"")===String(s||"")),P=S>=0?b[S]:t?.serviceId,I=h.listData.find(D=>Number(D?.gameId)===Number(t?.gameId)&&Number(D?.serviceId)===Number(P));return I||{...t,serviceId:P,serviceName:s,serviceSlug:s}}function i(t){const s=String(t||"").trim();return s?xt(w.public.imgBase||"",s):""}function a(t){const s=t&&typeof t=="object"?t.amount:t,c=String(s??"").trim();if(!c)return"";const b=t&&typeof t=="object"?String(t.currency||"USD").toUpperCase():"USD",S=se(b);return S.sign?`${S.sign}${c}`:`${b} ${c}`}const u=_(()=>[{title:"Co-create IGX",text:"Share feedback and help shape what comes next"},{title:"Player Rewards",text:"Join events, drops and community perks"},{title:"Game Insights",text:"Get tips, updates and deal alerts from real players"}]),J=_(()=>Array.from({length:Pi},(t,s)=>{const c=s+1;return{question:l(`home_faq_${c}_question`),answer:l(`home_faq_${c}_answer`)}})),R=yt(),ne=_(()=>{const t=String(w.public.siteUrl||R.origin||"https://www.igx.gg").replace(/\/+$/,"");return new URL("/img/og/home-og-1200.webp",`${t}/`).toString()}),_e=_(()=>String(w.public.siteUrl||R.origin||"https://www.igx.gg").replace(/\/+$/,"")||"https://www.igx.gg"),{canonicalUrl:Re}=Pt({title:_(()=>d.value.seoTitle),description:_(()=>d.value.seoDescription),image:ne}),Ze=_(()=>Re.value?new URL(T("/"),Re.value).toString():"https://www.igx.gg"),Ye=_(()=>new URL("/img/logo.png",Ze.value).toString()),j=B(""),ge=St(null),Ve=B(null),ze=B(null),Oe=B(null);let Pe=null;const Le=B(-1);async function et(){ge.value||(Pe||(Pe=wt(()=>import("./BhdbOpm4.js").then(t=>t.a),__vite__mapDeps([0,1,2,3]),import.meta.url).then(t=>t.default)),ge.value=await Pe)}function pe(t,s){const c=s?.currentTarget?.closest?.(".search")||s?.currentTarget;t?.search?.(j.value,c)}async function ae(){await et(),await $e();const t=ze.value||Oe.value;Ve.value?.search?.(j.value,t)}function tt(t,s){pe(t,s),s.currentTarget.querySelector("input")?.focus()}async function ot(t){t?.to&&await oe(T(t.to))}async function st(){const t=typeof window<"u"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;document.getElementById("home-search")?.scrollIntoView({behavior:t?"auto":"smooth",block:"start"}),await ae()}return vt(()=>{const t=`${_e.value}/`,s=t.replace(/\/$/,""),c=[{"@type":"WebSite","@id":`${s}`,name:"IGX.gg",alternateName:"IGX",url:t,publisher:{"@id":`${s}`},potentialAction:{"@type":"SearchAction",target:`${s}/?search={search_term_string}`,"query-input":"required name=search_term_string"}},{"@type":"OnlineStore","@id":`${s}`,name:"IGX",url:t,logo:Ye.value,image:ne.value,description:"IGX.gg is a game asset marketplace for game currency, items, accounts, boosting and top-ups.",email:"[email protected]",sameAs:["https://blog.igx.gg/"],contactPoint:[{"@type":"ContactPoint",contactType:"customer support",email:"[email protected]",availableLanguage:["en","es","pt","de","fr","nl"]}],address:{"@type":"PostalAddress",addressCountry:"US"}},{"@type":"FAQPage",mainEntity:J.value.map(b=>({"@type":"Question",name:b.question,acceptedAnswer:{"@type":"Answer",text:b.answer}}))}];return c.push({"@type":"ItemList",itemListElement:ee.value.map((b,S)=>({"@type":"ListItem",position:S+1,name:b.title,url:new URL(T(b.to||"/"),t).toString()}))}),{link:[{rel:"preload",as:"image",href:"/img/optimized/home/homeBanner1-1200.webp",fetchpriority:"high"}],script:[{key:"home-site-structured-data",type:"application/ld+json",innerHTML:kt({"@context":"https://schema.org","@graph":c})}]}}),(t,s)=>{const c=Me,b=je,S=mo,P=go,I=ft,D=xo,ye=Po,te=Vo,Ue=Jo,it=ls,nt=hs;return m(),y("main",Cs,[e("section",xs,[e("div",Is,[e("picture",Ns,[s[3]||(s[3]=e("source",{type:"image/webp",srcset:Ts,sizes:"100vw"},null,-1)),e("img",{src:We,alt:o(d).heroImageAlt,width:"1920",height:"698",loading:"eager",decoding:"async",fetchpriority:"high"},null,8,Ps)]),e("div",Ls,[e("div",Us,[e("h1",Bs,n(o(d).heroTitle),
21),e("h2",Ds,n(o(d).heroSubtitle),1),e("p",Es,n(o(d).heroDesc),1)]),e("div",qs,[o(ge)?(m(),G(bt(o(ge)),{key:0,ref_key:"homeSearchComponentRef",ref:Ve,"show-input":!1},{default:H(p=>[e("form",{ref_key:"homeSearchActiveFormRef",ref:ze,class:"search search--bar",role:"search",onClick:re(E=>tt(p,E),["self"]),onSubmit:re(E=>pe(p,E),["prevent"])},[e("label",Rs,[s[4]||(s[4]=e("span",{class:"icomoon-icon icon icon-search","aria-hidden":"true"},null,-1)),Fe(e("input",{"onUpdate:modelValue":s[0]||(s[0]=E=>Be(j)?j.value=E:null),class:"dis",type:"search",placeholder:o(d).searchPlaceholder,autocomplete:"off","aria-label":o(d).searchAriaLabel,onFocus:E=>pe(p,E),onInput:E=>pe(p,E)},null,40,Vs),[[He,o(j)]])]),e("button",zs,n(o(d).searchIgx),1)],40,Ms)]),_:1},512)):(m(),y("form",{key:1,ref_key:"homeSearchFallbackFormRef",ref:Oe,class:"search search--bar",role:"search",onClick:re(ae,["self"]),onSubmit:re(ae,["prevent"])},[e("label",Os,[s[5]||(s[5]=e("span",{class:"icomoon-icon icon icon-search","aria-hidden":"true"},null,-1)),Fe(e("input",{"onUpdate:modelValue":s[1]||(s[1]=p=>Be(j)?j.value=p:null),class:"dis",type:"search",placeholder:o(d).searchPlaceholder,autocomplete:"off","aria-label":o(d).searchAriaLabel,onFocus:ae,onInput:ae},null,40,Fs),[[He,o(j)]])]),e("button",Hs,n(o(d).searchIgx),1)],544))]),e("div",Qs,[(m(!0),y(O,null,K(o(Z),p=>(m(),y("button",{key:p.keyword,type:"button",class:"home-search__tag",onClick:E=>ot(p)},[p.icon?(m(),y("img",{key:0,src:p.icon,alt:"",width:"22",height:"22",loading:"lazy",decoding:"async"},null,8,Gs)):L("",!0),x(" "+n(p.label),1)],8,Js))),128))]),e("p",Ks,n(o(d).heroTrustLine),1),o(C)?(m(),G(c,{key:0,class:"home-search__claim",to:o(T)("/activity/cfb27-launch"),"aria-label":o(d).claimNow},{default:H(()=>[...s[6]||(s[6]=[e("img",{class:"home-search__claim-img",src:ys,alt:"",width:"169",height:"105",loading:"eager",decoding:"async"},null,-1)])]),_:1},8,["to","aria-label"])):L("",!0)])])]),e("section",$s,[e("div",Xs,[q(b,{title:o(d).hotProductsTitle,subtitle:o(d).hotProductsSubtitle},null,8,["title","subtitle"]),e("div",js,[e("div",Ws,[(m(!0),y(O,null,K(o(Y),p=>(m(),y("button",{key:p.value,type:"button",class:W(["home-best-deals__filter",{"is-active":o(F)===p.value}]),"aria-pressed":o(F)===p.value,onClick:E=>Se(p.value)},n(p.label),11,Zs))),128))]),o(X).length>be?(m(),y("div",Ys,[e("button",{type:"button",disabled:!o(ie),"aria-label":"Previous deals",onClick:we}
2,[...s[7]||(s[7]=[e("span",{class:"icomoon-icon icon icon-sign-left","aria-hidden":"true"},null,-1)])],8,ei),e("button",{type:"button",disabled:!o(me),"aria-label":"Next deals",onClick:ke},[...s[8]||(s[8]=[e("span",{class:"icomoon-icon icon icon-sign-right","aria-hidden":"true"},null,-1)])],8,ti)])):L("",!0)]),e("div",oi,[(m(!0),y(O,null,K(o(Ae),p=>(m(),G(S,ve({key:p.key||p.title},{ref_for:!0},p,{"deal-filter":o(F),"buy-text":o(d).buyNow}),null,16,["deal-filter","buy-text"]))),128))]),e("div",si,[(m(!0),y(O,null,K(o(ce),p=>(m(),G(S,ve({key:p.key||p.title},{ref_for:!0},p,{"buy-text":o(d).buyNow}),null,16,["buy-text"]))),128))])])]),e("section",ii,[e("div",ni,[q(I,null,{default:H(()=>[q(P)]),_:1}),q(b,{title:o(d).shopGamesTitle,subtitle:o(d).shopGamesSubtitle},null,8,["title","subtitle"]),e("div",ai,[(m(!0),y(O,null,K(o(ee),p=>(m(),G(D,ve({key:p.key||p.title},{ref_for:!0},p,{"buy-text":o(d).buyNow,"details-text":o(d).details}),null,16,["buy-text","details-text"]))),128))])])]),e("section",ri,[e("div",li,[e("div",ci,[e("h2",ui,n(o(d).whyTitle),1),e("p",mi,n(o(d).whySubtitle),1)]),e("div",di,[(m(!0),y(O,null,K(o(k),p=>(m(),G(ye,ve({key:p.title},{ref_for:!0},p),null,16))),128))])])]),q(te,{title:o(d).tradingToolsTitle,subtitle:o(d).tradingToolsSubtitle,"tool-title":o(d).tradingToolsToolTitle,description:o(d).tradingToolsDescription,"button-text":o(d).tradingToolsButton,"planner-image":o(ks)},null,8,["title","subtitle","tool-title","description","button-text","planner-image"]),e("section",hi,[e("div",_i,[e("div",gi,[e("h2",pi,n(o(d).howToBuyTitle),1),e("p",yi,n(o(d).howToBuySubtitle),1)]),e("div",vi,[(m(!0),y(O,null,K(o(d).howSteps,(p,E)=>(m(),G(Ue,{key:p.title,index:E,title:p.title,text:p.text},null,8,["index","title","text"]))),128))])])]),o(f)?(m(),G(it,{key:0,description:o(d).communityDescription,items:o(u),"button-text":o(d).communityButton},null,8,["description","items","button-text"])):L("",!0),e("section",bi,[e("div",fi,[e("div",Ai,[e("h2",Si,n(o(d).faqTitle),1),e("div",wi,[q(c,{class:"btn",to:"https://support.igx.gg/en/",target:"_blank"},{default:H(()=>[x(n(o(d).faqViewMore)+" ",1),s[9]||(s[9]=e("span",{"aria-hidden":"true"}
2,[e("span",{class:"icomoon-icon icon icon-home-arrow1","aria-hidden":"true"})],-1))]),_:1}),q(c,{class:"btn",to:"",onClick:re(o(V),["prevent"])},{default:H(()=>[...s[10]||(s[10]=[x(" Contact service ",-1),e("span",{"aria-hidden":"true"},[e("span",{class:"icomoon-icon icon icon-home-arrow1","aria-hidden":"true"})],-1)])]),_:1},8,["onClick"])])]),q(nt,{modelValue:o(Le),"onUpdate:modelValue":s[2]||(s[2]=p=>Be(Le)?Le.value=p:null),items:o(J)},null,8,["modelValue","items"])])]),e("section",ki,[s[12]||(s[12]=e("div",{class:"home-cta__bg","aria-hidden":"true"},[e("img",{src:vs,alt:"",width:"1920",height:"300",loading:"lazy",decoding:"async"})],-1)),e("div",Ti,[e("h2",Ci,n(o(d).ctaTitle),1),e("p",xi,n(o(d).ctaSubtitle),1),e("button",{type:"button",class:"home-cta__btn",onClick:st},[s[11]||(s[11]=e("img",{src:bs,alt:"",width:"18",height:"18",loading:"lazy",decoding:"async"},null,-1)),x(" "+n(o(d).ctaButton),1)]),e("p",Ii,n(o(d).ctaFootnote),1)])])])}}};export{Fi 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.