1import{_ as s}from"./q-BKZ00VYc.js";import{z as p,ab as t,e as r,ag as a,b as o,aq as y,ar as I,a1 as D,as as A,L as C,aw as x,A as d,R as m,ax as k,az as V,v}from"./q-B7_OLekH.js";import{l as E,m as B,k as M,j}from"./q-BdjGOZ__.js";import"./q-Xvq4V-ix.js";const q=e=>p("svg",{"data-qwikest-icon":!0,fill:"none",height:"1em",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24",width:"1em",...e,children:[t("rect",null,{height:"20",rx:"2",width:"16",x:"4",y:"2"},null,3,null),t("line",null,{x1:"8",x2:"16",y1:"6",y2:"6"},null,3,null),t("line",null,{x1:"16",x2:"16",y1:"14",y2:"18"},null,3,null),t("path",null,{d:"M16 10h.01"},null,3,null),t("path",null,{d:"M12 10h.01"},null,3,null),t("path",null,{d:"M8 10h.01"},null,3,null),t("path",null,{d:"M12 14h.01"},null,3,null),t("path",null,{d:"M8 14h.01"},null,3,null),t("path",null,{d:"M12 18h.01"},null,3,null),t("path",null,{d:"M8 18h.01"},null,3,null)]},{"data-qwikest-icon":r,fill:r,height:r,stroke:r,"stroke-linecap":r,"stroke-linejoin":r,"stroke-width":r,viewBox:r,width:r},0,"yF_0"),G=e=>p("svg",{"data-qwikest-icon":!0,fill:"none",height:"1em",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24",width:"1em",...e,children:[t("circle",null,{cx:"8",cy:"8",r:"6"},null,3,null),t("path",null,{d:"M18.09 10.37A6 6 0 1 1 10.34 18"},null,3,null),t("path",null,{d:"M7 6h1v4"},null,3,null),t("path",null,{d:"m16.71 13.88.7.71-2.82 2.82"},null,3,null)]},{"data-qwikest-icon":r,fill:r,height:r,stroke:r,"stroke-linecap":r,"stroke-linejoin":r,"stroke-width":r,viewBox:r,width:r},0,"0i_0"),T=e=>p("svg",{"data-qwikest-icon":!0,fill:"none",height:"1em",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24",width:"1em",...e,children:[t("circle",null,{cx:"11",cy:"11",r:"8"},null,3,null),t("path",null,{d:"m21 21-4.3-4.3"},null,3,null)]},{"data-qwikest-icon":r,fill:r,height:r,stroke:r,"stroke-linecap":r,"stroke-linejoin":r,"stroke-width":r,viewBox:r,width:r},0,"cO_0"),$=e=>p("svg",{"data-qwikest-icon":!0,fill:"none",height:"1em",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",viewBox:"0 0 24 24",width:"1em",...e,children:[t("circle",null,{cx:"12",cy:"12",r:"10"},null,3,null),t("circle",null,{cx:"12",cy:"12",r:"6"},null,3,null),t("circle",null,{cx:"12",cy:"12",r:"2"},null,3,null)]},{"data-qwikest-icon":r,fill:r,height:r,stroke:r,"stroke-linecap":r,"stroke-linejoin":r,"stroke-width":r,viewBox:r,width:r},0,"6n_0"),Q=a(o(()=>s(()=>import("./q-CMzhPYgS.js"),[]),"s_91uJErCQaSs")),oe=e=>e.toLocaleString(),ne=e=>e>=1e3?`${(e/1e3).toFixed(1)}K`:e.toLocaleString(),ae=a(o(()=>s(()=>import("./q-Blkn68l3.js"),[]),"s_X69jBuzV9lU")),ie=a(o(()=>s(()=>import("./q-CfGJ1WFN.js"),[]),"s_UHGfcNdoBGA")),ue=a(o(()=>s(()=>import("./q-C_s3kjel.js"),[]),"s_2h939Riquwo")),ce=a(o(()=>s(()=>import("./q-BCHYKr7t.js"),[]),"s_SOI0DiURwuU")),_e=1200,de=e=>e.replace(/<[^>]*>/g," ").replace(/&[a-z#0-9]+;/gi," ").replace(/\s+/g," ").trim().length,ge=a(o(()=>s(()=>import("./q-ea-L7Scb.js"),[]),"s_0WqFZmf0EXE")),me=a(o(()=>s(()=>import("./q-B_PrIMGe.js"),[]),"s_IvST6nr0DHc")),pe=a(o(()=>s(()=>import("./q-xylNfQ5n.js"),[]),"s_VMiX2PpxGaM")),he=a(o(()=>s(()=>import("./q-COzdcg7C.js"),[]),"s_ZVV9XTpcQjQ")),fe=a(o(()=>s(()=>import("./q-CFLDdYfu.js"),[]),"s_HBKY45fihtk")),ve=a(o(()=>s(()=>import("./q-mPO8w6L3.js"),[]),"s_kDYBYZC7XFs")),be=a(o(()=>s(()=>import("./q-DlqKLBYp.js"),[]),"s_Up2xJcw2rQA")),xe=a(o(()=>s(()=>import("./q-DMVkYdMR.js"),[]),"s_QsjPb6Q9Ojg")),Ee=a(o(()=>s(()=>import("./q-CeEDcqN2.js"),[]),"s_tbXofLr6V5k")),Te=a(o(()=>s(()=>import("./q-D5boywrg.js"),[]),"s_QmIZNYrrD5w")),ye=a(o(()=>s(()=>import("./q-CbGcaiSn.js"),[]),"s_t7vGTPvTmww")),Ie=a(o(()=>s(()=>import("./q-CMJD3W-Z.js"),[]),"s_h7a0W4f8mDw")),we=a(o(()=>s(()=>import("./q-C7EgIDch.js"),[]),"s_pDCdSLRSbd8")),Pe=a(o(()=>s(()=>import("./q-CgOFQnc2.js"),[]),"s_fYL9RqR2hZE")),Le=a(o(()=>s(()=>import("./q-U4onXkml.js"),[]),"s_5oYQsvSZMtI")),Re=a(o(()=>s(()=>import("./q-hyVjFyhG.js"),[]),"s_gj0DoORIqpE")),Se=a(o(()=>s(()=>import("./q-ClVWMWVm.js").then(e=>e.T),[]),"s_9Fywtt2w7cM")),w="recent-search-queries",P=6,f=e=>e.url?`u:${e.url}`:`q:${e.text.trim().toLowerCase()}`,L=e=>typeof e=="string"&&e.startsWith("/")&&!e.startsWith("//");function U(e){let l;try{l=JSON.parse(e||"[]")}catch{return[]}if(!Array.isArray(l))return[];const i=[];for(const n of l){if(typeof n=="string"){n.trim()&&i.push({text:n.trim()});continue}if(!n||typeof n!="object")continue;const c=typeof n.text=="string"?n.text.trim():"";if(!c)continue;const _={text:c};L(n.url)&&(_.url=n.url,typeof n.image=="string"&&n.image&&(_.image=n.image,n.imageIsUrl===!0&&(_.imageIsUrl=!0))),i.push(_)}return R(i).slice(0,P)}function R(e){const l=new Set;return e.filter(i=>{const n=f(i);return l.has(n)?!1:(l.add(n),!0)})}function Oe(e,l){const i=l.text.trim();if(i.length<2)return null;const n={...l,text:i};
1return L(n.url)||(delete n.url,delete n.image,delete n.imageIsUrl),R([n,...e]).slice(0,P)}const De=(e,l)=>e.filter(i=>f(i)!==f(l)),Ae=120,Ce=250,ke=2e3,Ve=7,Be=4,Me=30,je=240,qe=()=>({rows:[],total:0});function F(e){const l=[];e?.platform&&!/^(other|kinguin)$/i.test(String(e.platform).trim())&&l.push(String(e.platform).trim());const i=String(e?.regionalLimitations||"").trim();if(i&&!/^other$/i.test(i)){const n=/rest of the world|\brow\b|region free/i.test(i)?"Global":i.replace(/\s*-\s*(?:custom|all countries)$/i,"").trim(),c=n===n.toUpperCase()&&n.length>3?n.toLowerCase().replace(/\b\w/g,_=>_.toUpperCase()):n;c&&l.push(c)}return e?.deliveryType&&l.push(String(e.deliveryType).trim()),l.join(", ")}const Ge=e=>(e||[]).map(l=>({id:String(l._id||l.kinguinId),title:l.name||l.originalName,meta:F(l),url:`/keys/${l.slug||l._id}`,image:l.images?.cover?.thumbnail||l.images?.cover?.url||null,imageIsUrl:!0,price:l.price,note:l.isPreorder?"Pre-order":void 0}));function $e(){try{return U(localStorage.getItem(w))}catch{return[]}}function Qe(e){try{localStorage.setItem(w,JSON.stringify(e))}catch{}}const Ue=e=>({text:e.text,url:e.url,image:e.icon||null});function Fe(e,l){const i=l.trim().toLowerCase(),n=i?e.toLowerCase().indexOf(i):-1;return n<0?[{t:e,typed:!1}]:[{t:e.slice(0,n),typed:!1},{t:e.slice(n,n+i.length),typed:!0},{t:e.slice(n+i.length),typed:!1}].filter(c=>c.t)}const Ne=a(o(()=>s(()=>import("./q-CV3mCgvT.js").then(e=>e.S),[]),"s_i1UM0ajuDEA")),He=a(o(()=>s(()=>import("./q-C0sSfsAn.js").then(e=>e.S),[]),"s_YAtb1SC5Y0g")),Je=(e,l,i=90)=>l?e:`https://img.ig-items.com/f_auto,q_${i}/https://assets.ig-items.com/files/${e}`,Ke=(e,l)=>l?e:`https://img.ig-items.com/f_auto,q_40&fit_cover&s_128x80/https://assets.ig-items.com/files/${e}`,Xe=a(o(()=>s(()=>import("./q-D5j_MZTP.js").then(e=>e.I),[]),"s_9deRjl0TBXQ")),Ze={warning:{bg:"bg-amber-500/10",border:"border-amber-500/30",icon:"text-amber-500",title:"text-amber-200"},info:{bg:"bg-blue-500/10",border:"border-blue-500/30",icon:"text-blue-500",title:"text-blue-200"},error:{bg:"bg-red-500/10",border:"border-red-500/30",icon:"text-red-500",title:"text-red-200"},success:{bg:"bg-green-500/10",border:"border-green-500/30",icon:"text-green-500",title:"text-green-200"}},ze=e=>{switch(e){case"warning":return E;case"info":return j;case"error":return M;case"success":return B;default:return E}},Ye=15,We=4,et=[{threshold:10,bonus:1,message:"Hot Streak!"},{threshold:20,bonus:3,message:"On Fire!"},{threshold:30,bonus:6,message:"Scorching!"},{threshold:40,bonus:10,message:"Ascended!"},{threshold:50,bonus:15,message:"Godlike!"}],tt=a(o(()=>s(()=>import("./q-CEonoetn.js").then(e=>e.C),[]),"s_UeLeOJ0mFOw")),lt=a(o(()=>s(()=>import("./q-MD5ff9Nw.js").then(e=>e.F),[]),"s_Hy6sjhktN0I"));function rt(e,l){return e<2?null:e<4?{heading:`${l} on igitems`,subtitle:`Visit the ${l} hub for services and more content.`,cta:"Visit hub",showCountBadge:!1}:e<6?{heading:`${l} Resources`,subtitle:`Tier lists, calculators and guides for ${l}.`,cta:"Explore",showCountBadge:!1}:e<10?{heading:`More ${l} guides & tools`,subtitle:`Free ${l} tools, tier lists and guides in our hub.`,cta:"Browse hub",showCountBadge:!0}:{heading:`Everything ${l}`,subtitle:`The full igitems ${l} hub â calculators, tier lists, guides and all services in one place.`,cta:"Browse",showCountBadge:!0}}const st=a(o(()=>s(()=>import("./q-DGM2new1.js"),[]),"s_jbEWajQ3Jbk")),ot=a(o(()=>s(()=>import("./q-BBmAKBnt.js").then(e=>e.S),[]),"s_0w4F0T69y0c")),nt=a(o(()=>s(()=>import("./q-nvGI2iXu.js"),[]),"s_BBbFQBd0u2s")),at=a(o(()=>s(()=>import("./q-B-pcR-e2.js"),[]),"s_X7wUX7aL0BU")),it=e=>e?typeof e=="string"?e:e<60?`${e}s`:e<3600?`${Math.floor(e/60)}m`:e<86400?`${Math.floor(e/3600)}h`:`${Math.floor(e/86400)}d`:null,ut=a(o(()=>s(()=>import("./q-sGX80A5J.js").then(e=>e.f),[]),"s_700dK1fRk0c")),ct=a(o(()=>s(()=>import("./q-BHKBI2kd.js"),[]),"s_brXBHTrfDwc")),_t=a(o(()=>s(()=>import("./q-CCQp_MbE.js"),[]),"s_62VW0Ona0uk")),dt=a(o(()=>s(()=>import("./q-YTeRmKiy.js").then(e=>e.I),[]),"s_SXmdYBVcU7M")),gt=e=>e?typeof e=="string"?e:e<60?`${e}s`:e<3600?`${Math.floor(e/60)}m`:e<86400?`${Math.floor(e/3600)}h`:`${Math.floor(e/86400)}d`:null,mt=a(o(()=>s(()=>import("./q-Bz7_mTe2.js"),[]),"s_mFFfxF0Sfq4")),pt=a(o(()=>s(()=>import("./q-DFy9jYm1.js"),[]),"s_bSly8FK0WYE")),ht={price:"bg-amber-500",meta:"bg-violet-500",finder:"bg-sky-500",other:"bg-emerald-500"},h=a(o(()=>s(()=>
1import("./q-BkOwIk7h.js"),[]),"s_yQyXQ3usGSI")),ft=[{label:"Featured",value:"promoted:desc"},{label:"Price: Low to High",value:"price:asc"},{label:"Price: High to Low",value:"price:desc"},{label:"Newest",value:"createdAt:desc"},{label:"Rating",value:"sellerRating:desc"}],vt=a(o(()=>s(()=>import("./q-Cr12MhxC.js").then(e=>e.L),[]),"s_BFqNiI9oOPQ")),b=y(I("s_hxCWnNVQy6c")),S=y(I("s_bPelscyCjZc")),N=a(o(()=>s(()=>Promise.resolve().then(()=>K),void 0),"s_ykKSOZJDR9Q")),H=({resolveValue:e})=>{const i=e(b)?.config;return{title:i?.metaTitle||"Game Account Value Calculators | igitems",meta:[{name:"description",content:i?.metaDescription||"Calculate the value of your gaming accounts. Get accurate valuations for Clash of Clans, Fortnite, Valorant, Genshin Impact, and more."},{name:"robots",content:"index, follow"},{name:"author",content:"igitems"}]}},bt=Object.freeze(Object.defineProperty({__proto__:null,default:N,head:H,useCalculatorTools:S,useGameTypeConfig:b},Symbol.toStringTag,{value:"Module"})),J=()=>{D(),A({assets:["calculator"]});const e=b(),l=e.value.gameType,i=e.value.config,n=S(),c=C(""),_=x(o(()=>s(()=>Promise.resolve().then(()=>Y),void 0),"s_6jLEJdu1Ivk",[c,n])),g=x(o(()=>s(()=>Promise.resolve().then(()=>Z),void 0),"s_xGh7ZymLRtw",[n]));return t("div",null,{class:"min-h-screen"},[d(Q,{label:i?.label||`Calculadoras de Juegos`,description:i?.description||`Calcula el valor de la cuenta y más`,bgImg:l?.backgroundImg||"SubsJvua7yLmNz5JAcLsdkcjihzZqdhs.png",bgImgMobile:l?.backgroundImgMobile,children:t("div",null,{class:"max-w-md w-full"},t("div",null,{class:"relative"},[d(T,{class:"absolute left-4 top-1/2 -translate-y-1/2 w-4 h-4 text-muted",[r]:{class:r}},3,"Qu_0"),t("input",{placeholder:`Buscar calculadoras...`},{type:"text",class:"w-full pl-11 pr-4 py-2.5 bg-[var(--ui-bg-elevated)]/90 border border-[var(--ui-border)]/50 rounded-xl text-highlighted text-sm placeholder:text-muted focus:outline-none focus:ring-2 focus:ring-primary/40 focus:border-primary/30 transition-all",value:m(u=>u.value,[c]),onInput$:o(()=>s(()=>Promise.resolve().then(()=>ee),void 0),"s_HgBKM0Gxrf0",[c])},null,3,null)],1,null),1,null)},1,"Qu_1"),t("div",null,{class:"container px-4 sm:px-8 pt-8 sm:pt-10 pb-24"},[n.value.error?t("div",null,{class:"flex justify-center py-12"},t("p",null,{class:"text-muted"},m(u=>u.value.error,[n]),3,null),3,"Qu_2"):c.value?t("section",null,null,[t("h2",null,{class:"mb-6 text-xl font-semibold text-highlighted"},`Resultados de búsqueda`,1,null),_.value.length===0?t("div",null,{class:"py-12 text-center"},[d(T,{class:"h-10 w-10 text-[var(--ui-text-muted)]/30 mx-auto mb-3",[r]:{class:r}},3,"Qu_3"),t("p",null,{class:"text-muted"},`No se encontraron calculadoras que coincidan con tu búsqueda`,1,null)],1,"Qu_4"):t("div",null,{class:"grid grid-cols-2 gap-3 sm:gap-4 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5"},_.value.map(u=>d(h,{tool:u,get category(){return u.category},[r]:{category:k(u,"category")}},3,`${u.value}-${u.url}`)),1,null)],1,"Qu_5"):t("div",null,{class:"flex flex-col gap-14"},[g.value.price.length>0&&t("section",null,{class:"scroll-mt-24"},[t("div",null,{class:"relative overflow-hidden rounded-xl bg-gradient-to-r from-amber-500/20 to-orange-500/10 border border-[var(--ui-border)]/30 p-4 sm:p-5 mb-6"},t("div",null,{class:"flex items-center gap-3"},[t("div",null,{class:"flex h-10 w-10 items-center justify-center rounded-lg bg-[var(--ui-bg-elevated)]/60 ring-1 ring-[var(--ui-border)]/40 text-amber-400"},d(q,{class:"h-5 w-5",[r]:{class:r}},3,"Qu_6"),1,null),t("div",null,null,[t("h2",null,{class:"text-lg sm:text-xl font-bold text-highlighted"},`Calculadoras de precios`,1,null),t("p",null,{class:"text-xs text-muted mt-0.5"},[m(u=>u.value.price.length,[g])," ",`calculadoras disponibles`],1,null)],1,null)],1,null),1,null),t("div",null,{class:"grid grid-cols-2 gap-3 sm:gap-4 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5"},g.value.price.map(u=>d(h,{tool:u,category:"price",[r]:{category:r}},3,`${u.value}-${u.url}`)),1,null)],1,"Qu_7"),g.value.meta.length>0&&t("section",null,{class:"scroll-mt-24"},[t("div",null,{class:"relative overflow-hidden rounded-xl bg-gradient-to-r from-violet-500/20 to-fuchsia-500/10 border border-[var(--ui-border)]/30 p-4 sm:p-5 mb-6"},t("div",null,{class:"flex items-center gap-3"},[t("div",null,{class:"flex h-10 w-10 items-center justify-center rounded-lg bg-[var(--ui-bg-elevated)]/60 ring-1 ring-[var(--ui-border)]/40 text-violet-400"},d($,{class:"h-5 w-5",[r]:{class:r}},3,"Qu_8"),1,null),t("div",null,null,[t("h2",null,{class:"text-lg sm:text-xl font-bold text-highlighted"},`Herramientas META`,1,null),t("p",null,{class:"text-xs text-muted mt-0.5"},[m(u=>
1u.value.meta.length,[g])," ",`calculadoras disponibles`],1,null)],1,null)],1,null),1,null),t("div",null,{class:"grid grid-cols-2 gap-3 sm:gap-4 md:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5"},g.value.meta.map(u=>d(h,{tool:u,category:"meta",[r]:{category:r}},3,`${u.value}-${u.url}`)),1,null)],1,"Qu_9")],1,null),t("div",null,{class:"mt-16 rounded-2xl bg-[var(--ui-bg-elevated)]/40 border border-[var(--ui-border)]/30 p-6 sm:p-8"},t("div",null,{class:"flex flex-col md:flex-row items-start gap-6"},[t("div",null,{class:"flex h-12 w-12 shrink-0 items-center justify-center rounded-xl bg-primary/15 text-primary"},d(G,{class:"h-6 w-6",[r]:{class:r}},3,"Qu_10"),1,null),t("div",null,{class:"flex-1"},[t("h2",null,{class:"text-xl font-bold text-highlighted mb-3"},`¿Cómo calculamos el valor de la cuenta?`,1,null),t("p",null,{class:"text-muted mb-4"},`Nuestras calculadoras analizan varios factores especÃficos de cada juego, incluyendo:`,1,null),t("ul",null,{class:"grid sm:grid-cols-2 gap-x-6 gap-y-2 text-sm text-muted"},[`Nivel de cuenta y progreso`,`Objetos raros y skins`,`Moneda del juego`,`Personajes y desbloqueos`,`Progreso en clasificatoria`,`Demanda del mercado`].map((u,O)=>t("li",null,{class:"flex items-center gap-2"},[t("span",null,{class:"w-1.5 h-1.5 rounded-full bg-primary"},null,3,null),u],1,O)),1,null)],1,null)],1,null),1,null)],1,null),i?.secondaryDescription&&t("div",null,{class:"container px-4 sm:px-8 pb-24"},t("div",{dangerouslySetInnerHTML:V(i,"secondaryDescription")},{class:"prose prose-invert max-w-none"},null,3,null),1,"Qu_11")],1,"Qu_12")},K=Object.freeze(Object.defineProperty({__proto__:null,s_ykKSOZJDR9Q:J},Symbol.toStringTag,{value:"Module"})),X=()=>{const[e]=v(),l=e.value.tools??[];return{price:l.filter(i=>i.category==="price"),meta:l.filter(i=>i.category==="meta")}},Z=Object.freeze(Object.defineProperty({__proto__:null,s_xGh7ZymLRtw:X},Symbol.toStringTag,{value:"Module"})),z=()=>{const[e,l]=v(),i=l.value.tools??[];if(!e.value)return i;const n=e.value.toLowerCase();return i.filter(c=>c.label.toLowerCase().includes(n))},Y=Object.freeze(Object.defineProperty({__proto__:null,s_6jLEJdu1Ivk:z},Symbol.toStringTag,{value:"Module"})),W=e=>{const[l]=v();l.value=e.target.value},ee=Object.freeze(Object.defineProperty({__proto__:null,s_HgBKM0Gxrf0:W},Symbol.toStringTag,{value:"Module"}));export{Pe as $,Te as A,xe as B,me as C,ye as D,ue as E,lt as F,ge as G,st as H,Xe as I,ot as J,gt as K,T as L,Je as M,Ke as N,ce as O,Q as P,ae as Q,ie as R,mt as S,h as T,ne as U,oe as V,Se as W,be as X,we as Y,Le as Z,Re as _,G as a,ze as a0,Ze as a1,rt as a2,ht as a3,ft as a4,Ge as a5,Me as a6,Be as a7,qe as a8,f as a9,Fe as aa,$e as ab,Ue as ac,De as ad,Qe as ae,Oe as af,Ve as ag,Ae as ah,Ce as ai,ke as aj,je as ak,bt as al,$ as b,q as c,at as d,pt as e,ut as f,tt as g,ve as h,Ie as i,vt as j,nt as k,He as l,Ne as m,it as n,et as o,Ye as p,We as q,ct as r,_t as s,z as s_6jLEJdu1Ivk,W as s_HgBKM0Gxrf0,X as s_xGh7ZymLRtw,J as s_ykKSOZJDR9Q,dt as t,de as u,_e as v,pe as w,fe as x,he as y,Ee as z};
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.