(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{5557:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(9828)}])},4091:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var r=t(5893),s=t(4352);function a(e){let{chineseName:n,pinyin:t,meaning:a,explanation:i,nameType:l,nameTypePosition:c,conditions:o}=e;return(0,r.jsxs)(s.Zb,{className:"w-full h-full overflow-hidden group hover:shadow-lg transition-shadow duration-300",children:[(0,r.jsx)(s.Ol,{className:"bg-gradient-to-r from-red-100 to-blue-100 pb-2",children:(0,r.jsxs)(s.ll,{className:"text-2xl font-bold text-blue-900 relative",children:[(0,r.jsx)("span",{className:"text-sm font-normal text-gray-600 block mb-1",children:0==o?0===c?" ".concat(l," Chinese Name   "):" Chinese ".concat(l," Name   "):1==o?0===c?" ".concat(l," Chinese Male Name   "):" Ancient Chinese ".concat(l," Name  "):2==o?0===c?" ".concat(l," Chinese Last Name   "):" Popular Chinese ".concat(l," Name  "):3==o?0===c?" ".concat(l," Chinese Surname  "):" Chinese Female Name ".concat(l,"  "):0===c?" Chinese Female ".concat(l," Name  "):" ".concat(l," Chinese Family Name   ")}),n]})}),(0,r.jsx)(s.aY,{className:"pt-4",children:(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsxs)("p",{className:"flex items-center",children:[(0,r.jsx)("span",{className:"w-20 font-semibold text-blue-700",children:"Pinyin\xa0"}),(0,r.jsx)("span",{className:"flex-grow pl-2 border-l-2 border-blue-200",children:t})]}),(0,r.jsxs)("p",{className:"flex items-center",children:[(0,r.jsx)("span",{className:"w-20 font-semibold text-green-700",children:"Meaning\xa0"}),(0,r.jsx)("span",{className:"flex-grow pl-2 border-l-2 border-green-200",children:a})]}),(0,r.jsx)("div",{className:"pt-2 border-t border-gray-200",children:(0,r.jsx)("p",{className:"text-sm text-gray-600 italic",children:i})})]})})]})}},1354:function(e,n,t){"use strict";var r=t(5893);t(7294);var s=t(1664),a=t.n(s);n.Z=e=>{let{title:n,icon:t,children:s,link:i}=e;return(0,r.jsxs)("div",{className:"my-12",children:[(0,r.jsxs)("h2",{className:"text-3xl font-bold mb-6 text-blue-900 flex items-center",children:[t,(0,r.jsx)(a(),{href:i,className:"block",children:(0,r.jsx)("span",{className:"ml-2",children:n})})]}),s]})}},9028:function(e,n,t){"use strict";t.d(n,{z:function(){return o}});var r=t(5893),s=t(7294),a=t(1465),i=t(5139),l=t(7865);let c=(0,i.j)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background 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-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),o=s.forwardRef((e,n)=>{let{className:t,variant:s,size:i,asChild:o=!1,...d}=e,m=o?a.g7:"button";return(0,r.jsx)(m,{className:(0,l.cn)(c({variant:s,size:i,className:t})),ref:n,...d})});o.displayName="Button"},4352:function(e,n,t){"use strict";t.d(n,{Ol:function(){return l},Zb:function(){return i},aY:function(){return o},ll:function(){return c}});var r=t(5893),s=t(7294),a=t(7865);let i=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...s})});i.displayName="Card";let l=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",t),...s})});l.displayName="CardHeader";let c=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("h3",{ref:n,className:(0,a.cn)("text-2xl font-semibold leading-none tracking-tight",t),...s})});c.displayName="CardTitle",s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("p",{ref:n,className:(0,a.cn)("text-sm text-muted-foreground",t),...s})}).displayName="CardDescription";let o=s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("p-6 pt-0",t),...s})});o.displayName="CardContent",s.forwardRef((e,n)=>{let{className:t,...s}=e;return(0,r.jsx)("div",{ref:n,className:(0,a.cn)("flex items-center p-6 pt-0",t),...s})}).displayName="CardFooter"},9464:function(e,n,t){"use strict";t.d(n,{I:function(){return i}});var r=t(5893),s=t(7294),a=t(7865);let i=s.forwardRef((e,n)=>{let{className:t,type:s,...i}=e;return(0,r.jsx)("input",{type:s,className:(0,a.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:n,...i})});i.displayName="Input"},7865:function(e,n,t){"use strict";t.d(n,{cn:function(){return a}});var r=t(512),s=t(8388);function a(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];return(0,s.m6)((0,r.W)(n))}},1581:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});let r=(0,t(3759).Z)("BookOpenText",[["path",{d:"M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z",key:"vv98re"}],["path",{d:"M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z",key:"1cyq3y"}],["path",{d:"M6 8h2",key:"30oboj"}],["path",{d:"M6 12h2",key:"32wvfc"}],["path",{d:"M16 8h2",key:"msurwy"}],["path",{d:"M16 12h2",key:"7q9ll5"}]])},8030:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});let r=(0,t(3759).Z)("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]])},4301:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});let r=(0,t(3759).Z)("PartyPopper",[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12v0c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"bpx1uq"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11v0c-.11.7-.72 1.22-1.43 1.22H17",key:"1pd0s7"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98v0C9.52 4.9 9 5.52 9 6.23V7",key:"zq5xbz"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]])},1529:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});let r=(0,t(3759).Z)("Scroll",[["path",{d:"M8 21h12a2 2 0 0 0 2-2v-2H10v2a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v3h4",key:"13a6an"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}]])},6127:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});let r=(0,t(3759).Z)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},8390:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});let r=(0,t(3759).Z)("UserRoundSearch",[["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M2 21a8 8 0 0 1 10.434-7.62",key:"1yezr2"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["path",{d:"m22 22-1.9-1.9",key:"1e5ubv"}]])},9561:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});let r=(0,t(3759).Z)("UserRound",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]])},9176:function(e,n,t){"use strict";t.d(n,{Z:function(){return r}});let r=(0,t(3759).Z)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},9828:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return k},default:function(){return w}});var r=t(5893),s=t(7294),a=t(4091),i=t(1354),l=t(1163),c=t(9028),o=t(4352),d=t(9464),m=t(8030),u=t(6127),h=t(1581),x=t(4301),f=t(1529),p=t(9176),g=t(9561),N=t(8390),b=t(9008),y=t.n(b),j=t(1664),v=t.n(j),k=!0;function w(e){let{popularNames:n,ancientNames:t,chineseMaleNames:b,chineseFamilyNames:j,chineseFemaleNames:k}=e,[w,C]=(0,s.useState)(""),[Z,M]=(0,s.useState)(""),[E,I]=(0,s.useState)(""),[R,S]=(0,s.useState)(null),[_,z,A]=(0,s.useState)(""),[G,P]=(0,s.useState)(!1);(0,l.useRouter)();let q="/generator/".concat(A?"?englishName=".concat(encodeURIComponent(A)):""),F="/explainer/".concat(A?"?chineseName=".concat(encodeURIComponent(A)):"");return(0,r.jsxs)("div",{className:"min-h-screen bg-gradient-to-br from-green-50 to-yellow-50",children:[(0,r.jsxs)(y(),{children:[(0,r.jsx)("title",{children:"AI Chinese Names Generator & Meaning Explainer | ChineseNames.ai"}),(0,r.jsx)("meta",{name:"description",content:"Discover Chinese names and meanings with our Al Chinese Names Generator at ChineseNames.ai. Find unigue names effortlessly tailored to your preferences."}),(0,r.jsx)("link",{rel:"canonical",href:"https://chinesenames.ai/"})]}),(0,r.jsx)("header",{className:"py-6 bg-white bg-opacity-90 shadow-md",children:(0,r.jsx)("div",{className:"container mx-auto px-4",children:(0,r.jsxs)(v(),{href:"/",children:[(0,r.jsxs)("h2",{className:"text-4xl font-bold text-blue-900",children:["ChineseNames",(0,r.jsx)("span",{className:"text-red-600",children:".ai"})]}),(0,r.jsx)("p",{className:"text-lg text-gray-600",children:"AI Chinese Names Generator & Meaning Explainer"})]})})}),(0,r.jsx)("section",{className:"bg-gradient-to-r from-blue-600 to-red-600 text-white py-20",children:(0,r.jsxs)("div",{className:"container mx-auto px-4",children:[(0,r.jsx)("h1",{className:"text-4xl font-bold mb-4",children:"AI Chinese Names Generator & Meaning Explainer"}),(0,r.jsx)("p",{className:"text-xl ",children:"Explore Chinese names and their meanings with the AI Chinese Names Generator at ChineseNames.ai."}),(0,r.jsx)("p",{className:"text-xl ",children:"Discover name origins, significance, and translations to find unique names that match your preferences."})]})}),(0,r.jsxs)("main",{className:"container mx-auto px-4 py-8",children:[(0,r.jsx)(i.Z,{title:"AI Chinese Name Generator",link:q,icon:(0,r.jsx)(m.Z,{className:"text-yellow-500"}),children:(0,r.jsx)("div",{className:"grid gap-6 mb-6",children:(0,r.jsxs)(o.Zb,{className:"overflow-hidden",children:[(0,r.jsx)(o.Ol,{className:"bg-gradient-to-r from-yellow-100 to-yellow-200",children:(0,r.jsxs)(o.ll,{className:"flex items-center",children:[(0,r.jsx)(u.Z,{className:"mr-2 text-yellow-600"}),"Provide your English name or describe your needs, and we’ll generate a Chinese name for you."]})}),(0,r.jsx)(o.aY,{className:"pt-4",children:(0,r.jsx)("form",{action:"/generator/",method:"GET",onSubmit:e=>{if(e.preventDefault(),!w.trim()){alert("Please Enter Your English Name");return}let n=e.target.action;window.location.href="".concat(n,"?englishName=").concat(encodeURIComponent(w))},children:(0,r.jsxs)("div",{className:"flex gap-4",children:[(0,r.jsx)(d.I,{type:"text",name:"englishName",placeholder:"Enter your English name or describe your needs here",value:w,onChange:e=>C(e.target.value),className:"border border-gray-300 p-2 rounded"}),(0,r.jsx)(c.z,{className:"bg-yellow-500 hover:bg-yellow-600",type:"submit",children:" Generate"})]})})})]})})}),(0,r.jsx)(i.Z,{title:"AI Chinese Name Meaning Explainer",link:F,icon:(0,r.jsx)(h.Z,{className:"text-yellow-500"}),children:(0,r.jsx)("div",{className:"grid gap-6 mb-6",children:(0,r.jsxs)(o.Zb,{className:"overflow-hidden",children:[(0,r.jsx)(o.Ol,{className:"bg-gradient-to-r from-blue-100 to-blue-200",children:(0,r.jsxs)(o.ll,{className:"flex items-center",children:[(0,r.jsx)(u.Z,{className:"mr-2 text-blue-600"}),"Enter your Chinese name to get an explanation of its meaning"]})}),(0,r.jsx)(o.aY,{className:"pt-4",children:(0,r.jsx)("form",{action:"/explainer/",method:"GET",onSubmit:e=>{if(e.preventDefault(),!Z.trim()){alert("Please Enter Your Chinese Name");return}let n=e.target.action;window.location.href="".concat(n,"?chineseName=").concat(encodeURIComponent(Z))},children:(0,r.jsxs)("div",{className:"flex gap-4",children:[(0,r.jsx)(d.I,{placeholder:"Enter your Chinese name here",name:"chineseName",value:Z,onChange:e=>M(e.target.value),className:"border border-gray-300 p-2 rounded"}),(0,r.jsx)(c.z,{className:"bg-blue-500 hover:bg-blue-600",type:"submit",children:" Explain"})]})})})]})})}),(0,r.jsx)(i.Z,{title:" Popular Chinese Names ",link:"/popular/",icon:(0,r.jsx)(x.Z,{className:"text-purple-500"}),children:(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:n.map(e=>(0,r.jsx)(a.Z,{...e},e.id))})}),(0,r.jsx)(i.Z,{title:" Ancient Chinese Names ",link:"/ancient/",icon:(0,r.jsx)(f.Z,{className:"text-amber-500"}),children:(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:t.map(e=>(0,r.jsx)(a.Z,{...e},e.id))})}),(0,r.jsx)(i.Z,{title:"Chinese Family Names (Surnames/Last Names)",link:"/surname/",icon:(0,r.jsx)(p.Z,{className:"text-blue-500"}),children:(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:j.map(e=>(0,r.jsx)(a.Z,{...e},e.id))})}),(0,r.jsx)(i.Z,{title:"Chinese Male Names",link:"/male/",icon:(0,r.jsx)(g.Z,{className:"text-blue-500"}),children:(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:b.map(e=>(0,r.jsx)(a.Z,{...e},e.id))})}),(0,r.jsx)(i.Z,{title:"Chinese Female Names",link:"/female/",icon:(0,r.jsx)(N.Z,{className:"text-blue-500"}),children:(0,r.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:k.map(e=>(0,r.jsx)(a.Z,{...e},e.id))})})]}),(0,r.jsx)("footer",{className:"bg-blue-900 text-white py-6",children:(0,r.jsx)("div",{className:"container mx-auto px-4 text-center",children:(0,r.jsx)("p",{children:"\xa9 2024 ChineseNames.ai - AI Chinese Names Generator & Meaning Explainer"})})})]})}},1163:function(e,n,t){e.exports=t(3079)}},function(e){e.O(0,[801,888,774,179],function(){return e(e.s=5557)}),_N_E=e.O()}]);