1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[416],{573:(e,r,t)=>{"use strict";t.d(r,{CharactersBrowser:()=>m});var n=t(78534),a=t(27644),i=t(17358),l=t(27142),s=t(93201),o=t(22768),c=t(79801);let d=(0,t(24823).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);function u(e){let{character:r}=e;return(0,n.jsxs)("article",{className:"grid h-full gap-4 rounded-lg border border-[#2A3242] bg-[#171B25] p-4 shadow-sm",children:[(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,n.jsxs)(s.E,{className:"bg-[#7DD3FC] text-[#07111F]",children:["Tier ",r.tier]}),(0,n.jsx)(s.E,{className:"bg-[#F0ABFC] text-[#07111F]",children:r.role}),r.updateTag?(0,n.jsx)(s.E,{className:"bg-[#A855F7] text-white",children:r.updateTag}):null]}),(0,n.jsx)("h3",{className:"font-display text-xl font-bold text-white",children:r.name}),(0,n.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,n.jsx)(s.E,{variant:"outline",className:"border-[#485366] text-[#D7DCE7]",children:r.rarity}),(0,n.jsx)(s.E,{variant:"outline",className:"border-[#485366] text-[#D7DCE7]",children:r.placement}),r.element?(0,n.jsx)(s.E,{variant:"outline",className:"border-[#485366] text-[#D7DCE7]",children:r.element}):null]})]}),(0,n.jsx)("p",{className:"text-sm leading-6 text-[#AAB2C0]",children:r.summary}),(0,n.jsxs)("div",{className:"grid gap-2 text-sm",children:[(0,n.jsxs)("div",{className:"rounded-md bg-[#10131A] p-3",children:[(0,n.jsx)("span",{className:"block text-[#7F8AA3]",children:"Reroll notes"}),(0,n.jsx)("strong",{className:"text-[#F8FAFC]",children:r.rerollNotes.join(", ")||"Needs testing"})]}),(0,n.jsxs)("div",{className:"rounded-md bg-[#10131A] p-3",children:[(0,n.jsx)("span",{className:"block text-[#7F8AA3]",children:"Gear notes"}),(0,n.jsx)("strong",{className:"text-[#F8FAFC]",children:r.gearNotes.join(", ")||"Needs testing"})]})]}),(0,n.jsxs)("div",{className:"mt-auto flex items-center justify-between gap-3",children:[(0,n.jsxs)(s.E,{variant:"outline",className:"border-[#485366] text-[#D7DCE7]",children:[r.upgradePriority," priority"]}),(0,n.jsx)(o.$,{asChild:!0,variant:"outline",size:"sm",className:"border-[#7DD3FC] text-[#7DD3FC] hover:bg-[#7DD3FC] hover:text-[#07111F]",children:(0,n.jsxs)(c.XO,{href:`/characters/${r.slug}`,children:["Details",(0,n.jsx)(d,{className:"size-4"})]})})]})]})}let p=["all","SSR","SR","R"];function m(e){let{characters:r}=e,[t,s]=(0,l.useState)(""),[o,c]=(0,l.useState)("all"),[d,m]=(0,l.useState)("all"),f=(0,l.useMemo)(()=>["all",...Array.from(new Set(r.map(e=>e.role)))],[r]),h=p.filter(e=>"all"===e||r.some(r=>r.rarity===e)),g=(0,l.useMemo)(()=>r.filter(e=>{let r=[e.name,e.rarity,e.role,e.placement,e.element,e.updateTag,e.rerollNotes.join(" "),e.gearNotes.join(" ")].filter(Boolean).join(" ").toLowerCase().includes(t.toLowerCase()),n="all"===o||e.role===o,a="all"===d||e.rarity===d;return r&&n&&a}),[r,t,o,d]);return(0,n.jsxs)("div",{className:"space-y-5",children:[(0,n.jsxs)("div",{className:"grid gap-3 rounded-lg border border-[#2A3242] bg-[#171B25] p-3",children:[(0,n.jsxs)("div",{className:"relative block",children:[(0,n.jsx)(i.A,{className:"-translate-y-1/2 absolute top-1/2 left-3 size-4 text-[#7F8AA3]"}),(0,n.jsx)(a.p,{value:t,onChange:e=>s(e.target.value),placeholder:"Search by character, rarity, role, reroll note, or gear","aria-label":"Search Illusion Connect:Re characters",className:"h-11 border-[#485366] bg-[#10131A] pl-9 text-white placeholder:text-[#7F8AA3]"})]}),(0,n.jsx)("div",{className:"flex flex-wrap gap-2",children:f.map(e=>(0,n.jsx)("button",{type:"button",onClick:()=>c(e),className:`h-10 rounded-md border px-3 text-sm font-medium transition ${o===e?"border-[#F0ABFC] bg-[#F0ABFC] text-[#07111F]":"border-[#485366] bg-[#10131A] text-[#D7DCE7] hover:border-[#F0ABFC]"}`,children:"all"===e?"All roles":e},e))}),(0,n.jsx)("div",{className:"flex flex-wrap gap-2",children:h.map(e=>(0,n.jsx)("button",{type:"button",onClick:()=>m(e),className:`h-10 rounded-md border px-3 text-sm font-medium transition ${d===e?"border-[#7DD3FC] bg-[#7DD3FC] text-[#07111F]":"border-[#485366] bg-[#10131A] text-[#D7DCE7] hover:border-[#7DD3FC]"}`,children:"all"===e?"All rarities":e},e))})]}),(0,n.jsx)("div",{className:"grid gap-4 md:grid-cols-2 xl:grid-cols-3",children:g.map(e=>(0,n.jsx)(u,{character:e},e.id))})]})}},17358:(e,r,t)=>{"use strict";t.d(r,{A:()=>n});let n=(0,t(24823).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},22768:(e,r,t)=>{"use strict";t.d(r,{$:()=>o,r:()=>s});var n=t(78534);t(27142);var a=t(59440),i=t(65221),l=t(32623);let s=(0,i.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function o(e){let{className:r,variant:t,size:i,asChild:o=!1,...c}=e,d=o?a.DX:"button";return(0,n.jsx)(d,{"data-slot":"button",className:(0,l.cn)(s({variant:t,size:i,className:r})),...c})}},24823:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});var n=t(27142);let a=function(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((e,r,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim()};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,n.forwardRef)((e,r)=>{let{color:t="currentColor",size:l=24,strokeWidth:s=2,absoluteStrokeWidth:o,className:c="",children:d,iconNode:u,...p}=e;return(0,n.createElement)("svg",{ref:r,...i,width:l,height:l,stroke:t,strokeWidth:o?24*Number(s)/Number(l):s,className:a("lucide",c),...p},[...u.map(e=>{let[r,t]=e;return(0,n.createElement)(r,t)}),...Array.isArray(d)?d:[d]])}),s=(e,r)=>{let t=(0,n.forwardRef)((t,i)=>{let{className:s,...o}=t;return(0,n.createElement)(l,{ref:i,iconNode:r,className:a(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,s),...o})});return t.displayName=`${e}`,t}},27644:(e,r,t)=>{"use strict";t.d(r,{p:()=>i});var n=t(78534);t(27142);var a=t(32623);function i(e){let{className:r,type:t,...i}=e;return(0,n.jsx)("input",{type:t,"data-slot":"input",className:(0,a.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 aria-invalid:border-destructive",r),suppressHydrationWarning:!0,...i})}},28353:(e,r,t)=>{"use strict";t.d(r,{s:()=>
1l,t:()=>i});var n=t(27142);function a(e,r){if("function"==typeof e)return e(r);null!=e&&(e.current=r)}function i(...e){return r=>{let t=!1,n=e.map(e=>{let n=a(e,r);return t||"function"!=typeof n||(t=!0),n});if(t)return()=>{for(let r=0;r<n.length;r++){let t=n[r];"function"==typeof t?t():a(e[r],null)}}}}function l(...e){return n.useCallback(i(...e),e)}},32623:(e,r,t)=>{"use strict";t.d(r,{cn:()=>i});var n=t(9133),a=t(50945);function i(){for(var e=arguments.length,r=Array(e),t=0;t<e;t++)r[t]=arguments[t];return(0,a.QP)((0,n.$)(r))}},32928:(e,r,t)=>{Promise.resolve().then(t.bind(t,90664)),Promise.resolve().then(t.bind(t,37624)),Promise.resolve().then(t.bind(t,573))},37624:(e,r,t)=>{"use strict";t.d(r,{default:()=>i});var n=t(4119),a=t(78534);function i(e){let{locale:r,...t}=e;if(!r)throw Error(void 0);return(0,a.jsx)(n.Dk,{locale:r,...t})}},44088:(e,r,t)=>{"use strict";function n(e){return e}t.d(r,{A:()=>n})},59440:(e,r,t)=>{"use strict";t.d(r,{DX:()=>l,xV:()=>o});var n=t(27142),a=t(28353),i=t(78534),l=n.forwardRef((e,r)=>{let{children:t,...a}=e,l=n.Children.toArray(t),o=l.find(c);if(o){let e=o.props.children,t=l.map(r=>r!==o?r:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,i.jsx)(s,{...a,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,t):null})}return(0,i.jsx)(s,{...a,ref:r,children:t})});l.displayName="Slot";var s=n.forwardRef((e,r)=>{let{children:t,...i}=e;if(n.isValidElement(t)){let e=function(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(t),l=function(e,r){let t={...r};for(let n in r){let a=e[n],i=r[n];/^on[A-Z]/.test(n)?a&&i?t[n]=(...e)=>{i(...e),a(...e)}:a&&(t[n]=a):"style"===n?t[n]={...a,...i}:"className"===n&&(t[n]=[a,i].filter(Boolean).join(" "))}return{...e,...t}}(i,t.props);return t.type!==n.Fragment&&(l.ref=r?(0,a.t)(r,e):e),n.cloneElement(t,l)}return n.Children.count(t)>1?n.Children.only(null):null});s.displayName="SlotClone";var o=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});function c(e){return n.isValidElement(e)&&e.type===o}},65221:(e,r,t)=>{"use strict";t.d(r,{F:()=>l});var n=t(9133);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=n.$,l=(e,r)=>t=>{var n;if((null==r?void 0:r.variants)==null)return i(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:l,defaultVariants:s}=r,o=Object.keys(l).map(e=>{let r=null==t?void 0:t[e],n=null==s?void 0:s[e];if(null===r)return null;let i=a(r)||a(n);return l[e][i]}),c=t&&Object.entries(t).reduce((e,r)=>{let[t,n]=r;return void 0===n||(e[t]=n),e},{});return i(e,o,null==r||null==(n=r.compoundVariants)?void 0:n.reduce((e,r)=>{let{class:t,className:n,...a}=r;return Object.entries(a).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...s,...c}[r]):({...s,...c})[r]===t})?[...e,t,n]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)}},67183:(e,r,t)=>{"use strict";t.d(r,{DT:()=>o,Xn:()=>i,YZ:()=>l});var n=t(69668),a=t(44088);let i=n.u.i18n.defaultLocale,l=Object.keys(n.u.i18n.locales),s=1===l.length?"never":"as-needed",o=(0,a.A)({locales:l,defaultLocale:i,localeDetection:!1,localeCookie:{name:"NEXT_LOCALE"},localePrefix:s})},68102:(e,r,t)=>{"use strict";t.d(r,{A:()=>m});var n=t(29163),a=t(27142),i=t.t(a,2),l=t(4119),s=i["use".trim()],o=t(76945),c=t(90664),d=t(62970),u=t(78534),p=t(65458);function m(e){let{Link:r,config:t,getPathname:i,...m}=function(e,r){var t,i,l;let p={...t=r||{},localePrefix:"object"==typeof(l=t.localePrefix)?l:{mode:l||"always"},localeCookie:!!((i=t.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof i&&i},localeDetection:t.localeDetection??!0,alternateLinks:t.alternateLinks??!0},m=p.pathnames,f=(0,a.forwardRef)(function({href:r,locale:t,...n},a){let i,l;"object"==typeof r?(i=r.pathname,l=r.params):i=r;let d=(0,o._x)(r),f=e(),g=(0,o.yL)(f)?s(f):f,v=d?h({locale:t||g,href:null==m?i:{pathname:i,params:l}},null!=t||void 0):i;return(0,u.jsx)(c.default,{ref:a,href:"object"==typeof r?{...r,pathname:v}:v,locale:t,localeCookie:p.localeCookie,...n})});function h(e,r){let t,{href:n,locale:a}=e;return null==m?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,d.Zn)(n.query))):t=n:t=(0,d.FP)({locale:a,...(0,d.TK)(n),pathnames:p.pathnames}),(0,d.x3)(t,a,p,r)}function g(e){return function(r,...t){return e(h(r),...t)}}return{config:p,Link:f,redirect:g(n.redirect),permanentRedirect:g(n.permanentRedirect),getPathname:h}}(l.Ym,e);return{...m,Link:r,usePathname:function(){let e=function(e){let r=(0,n.usePathname)(),t=(0,l.Ym)();return(0,a.useMemo)(()=>
1{if(!r)return r;let n=r,a=(0,o.XP)(t,e.localePrefix);if((0,o.wO)(a,r))n=(0,o.MY)(r,a);else if("as-needed"===e.localePrefix.mode&&e.localePrefix.prefixes){let e=(0,o.bL)(t);(0,o.wO)(e,r)&&(n=(0,o.MY)(r,e))}return n},[e.localePrefix,t,r])}(t),r=(0,l.Ym)();return(0,a.useMemo)(()=>e&&t.pathnames?(0,d.aM)(r,e,t.pathnames):e,[r,e])},useRouter:function(){let e=(0,n.useRouter)(),r=(0,l.Ym)(),s=(0,n.usePathname)();return(0,a.useMemo)(()=>{function n(e){return function(n,a){let{locale:l,...o}=a||{},c=[i({href:n,locale:l||r})];Object.keys(o).length>0&&c.push(o),e(...c),(0,p.A)(t.localeCookie,s,r,l)}}return{...e,push:n(e.push),replace:n(e.replace),prefetch:n(e.prefetch)}},[r,s,e])},getPathname:i}}},69668:(e,r,t)=>{"use strict";t.d(r,{u:()=>l});var n=function(e){return e.MONTH="month",e.YEAR="year",e}({}),a=function(e){return e.SUBSCRIPTION="subscription",e.ONE_TIME="one_time",e}({}),i=t(79649);let l={ui:{theme:{defaultTheme:"default",enableSwitch:!1},mode:{defaultMode:"light",enableSwitch:!1}},metadata:{images:{ogImage:"/logo.png?v=icr-20260605",logoLight:"/logo.png?v=icr-20260605",logoDark:"/logo.png?v=icr-20260605"},social:{github:"",twitter:"",blueSky:"",discord:"",mastodon:"",linkedin:"",youtube:""}},features:{enableUpgradeCard:!1,enableUpdateAvatar:!0,enableAffonsoAffiliate:!1,enablePromotekitAff
1iliate:!1,enableDatafastRevenueTrack:!1,enableCrispChat:"true"===i.env.NEXT_PUBLIC_DEMO_WEBSITE,enableTurnstileCaptcha:"true"===i.env.NEXT_PUBLIC_DEMO_WEBSITE},routes:{defaultLoginRedirect:"/settings/profile"},analytics:{enableVercelAnalytics:!1,enableSpeedInsights:!1},auth:{enableGoogleLogin:!1,enableGithubLogin:!1,enableCredentialLogin:!1},i18n:{defaultLocale:"en",locales:{en:{flag:"\uD83C\uDDFA\uD83C\uDDF8",name:"English",hreflang:"en-US"}}},blog:{enable:!1,paginationSize:6,relatedPostsSize:3},docs:{enable:!1},mail:{provider:"resend",fromEmail:"Illusion Connect:Re Wiki <[email protected]>",supportEmail:"[email protected]"},newsletter:{enable:!1,provider:"resend",autoSubscribeAfterSignUp:!1},storage:{enable:!1,provider:"s3-aws-sdk"},payment:{provider:"stripe"},price:{plans:{free:{id:"free",prices:[],isFree:!0,isLifetime:!1,credits:{enable:!1,amount:0,expireDays:30}},pro:{id:"pro",prices:[{type:a.SUBSCRIPTION,priceId:i.env.NEXT_PUBLIC_STRIPE_PRICE_PRO_MONTHLY,amount:1690,currency:"USD",interval:n.MONTH},{type:a.SUBSCRIPTION,priceId:i.env.NEXT_PUBLIC_STRIPE_PRICE_PRO_YEARLY,amount:15990,currency:"USD",interval:n.YEAR}],isFree:!1,isLifetime:!1,popular:!0,credits:{enable:!1,amount:0,expireDays:30}},max:{id:"max",prices:[{type:a.SUBSCRIPTION,priceId:i.env.NEXT_PUBLIC_STRIPE_PRICE_MAX_MONTHLY,amount:3990,currency:"USD",interval:n.MONTH},{type:a.SUBSCRIPTION,priceId:i.env.NEXT_PUBLIC_STRIPE_PRICE_MAX_YEARLY,amount:36990,currency:"USD",interval:n.YEAR}],isFree:!1,isLifetime:!1,popular:!1,credits:{enable:!1,amount:0,expireDays:30}}}},credits:{enableCredits:!1,enablePackagesForFreePlan:!1,registerGiftCredits:{enable:!0,amount:0,expireDays:30},packages:{basic:{id:"basic",popular:!1,amount:200,expireDays:365,price:{priceId:i.env.NEXT_PUBLIC_STRIPE_PRICE_CREDITS_BASIC,amount:990,currency:"USD",allowPromotionCode:!0}},standard:{id:"standard",popular:!0,amount:700,expireDays:365,price:{priceId:i.env.NEXT_PUBLIC_STRIPE_PRICE_CREDITS_STANDARD,amount:2590,currency:"USD",allowPromotionCode:!0}},premium:{id:"premium",popular:!1,amount:1500,expireDays:365,price:{priceId:i.env.NEXT_PUBLIC_STRIPE_PRICE_CREDITS_PREMIUM,amount:4390,currency:"USD",allowPromotionCode:!0}},enterprise:{id:"enterprise",popular:!1,amount:1e3,expireDays:30,price:{priceId:i.env.NEXT_PUBLIC_STRIPE_PRICE_CREDITS_ENTERPRISE,amount:6990,currency:"USD",allowPromotionCode:!0}}}}}},79801:(e,r,t)=>{"use strict";t.d(r,{XO:()=>i,iN:()=>o,tx:()=>c});var n=t(68102),a=t(67183);let{Link:i,getPathname:l,redirect:s,usePathname:o,useRouter:c}=(0,n.A)(a.DT)},93201:(e,r,t)=>{"use strict";t.d(r,{E:()=>o});var n=t(78534);t(27142);var a=t(59440),i=t(65221),l=t(32623);let s=(0,i.F)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function o(e){let{className:r,variant:t,asChild:i=!1,...o}=e,c=i?a.DX:"span";return(0,n.jsx)(c,{"data-slot":"badge",className:(0,l.cn)(s({variant:t}),r),...o})}}},e=>{e.O(0,[4119,9933,664,3880,3460,7358],()=>e(e.s=32928)),_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.