1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[265,364],{79613:function(e,t,a){Promise.resolve().then(a.bind(a,84290)),Promise.resolve().then(a.bind(a,49722)),Promise.resolve().then(a.bind(a,3278)),Promise.resolve().then(a.bind(a,66879)),Promise.resolve().then(a.t.bind(a,72972,23))},84290:function(e,t,a){"use strict";a.d(t,{default:function(){return c}});var o=a(57437),s=a(27648),r=a(2265),n=a(56364);let l=new Date().toISOString().slice(0,10),i={boy:"Boy",girl:"Girl"};function d(e){return new Date("".concat(e,"T00:00:00")).toLocaleDateString("en-US",{year:"numeric",month:"short",day:"numeric"})}function c(){let[e,t]=(0,r.useState)("1994-02-13"),[a,c]=(0,r.useState)("2026-01-18"),[b,u]=(0,r.useState)(null),[m,x]=(0,r.useState)(null),[h,y]=(0,r.useState)(null),p=(0,r.useMemo)(()=>b?["Free Baby Gender Predictor Result","Prediction: ".concat(i[b.prediction]),"Lunar age: ".concat(b.lunarAge),"Lunar conception month: ".concat(b.lunarConceptionMonth),"Overall chart accuracy in our dataset: 51.2%","For entertainment only."].join("\n"):"",[b]);function f(){h&&y(null)}async function g(){if(p)try{await navigator.clipboard.writeText(p),y("Result copied. You can paste it into a note or message.")}catch(e){y("Copy failed in this browser. Please copy the result manually.")}}async function j(){if(p)try{if(navigator.share){await navigator.share({title:"Free Baby Gender Predictor Result",text:p}),y("Share sheet opened.");return}await g()}catch(e){y("Share was cancelled or unsupported. The result is still available below.")}}let N=(null==b?void 0:b.prediction)==="girl"?"from-rose-400 via-pink-400 to-fuchsia-500":"from-sky-400 via-cyan-400 to-blue-500";return(0,o.jsxs)("div",{className:"space-y-4",children:[(0,o.jsx)("div",{className:"overflow-hidden rounded-[2rem] border border-white/70 bg-white shadow-card",children:(0,o.jsxs)("div",{className:"grid gap-0 lg:grid-cols-[1.04fr_0.96fr]",children:[(0,o.jsxs)("div",{className:"p-6 md:p-8",children:[(0,o.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,o.jsx)("span",{className:"rounded-full bg-indigo-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-indigo-700",children:"Free Chinese gender predictor"}),(0,o.jsx)("span",{className:"rounded-full bg-amber-50 px-3 py-1 text-xs font-semibold uppercase tracking-wide text-amber-700",children:"No sign-up"})]}),(0,o.jsx)("h3",{className:"mt-4 text-3xl leading-tight text-ink md:text-4xl",children:"The most popular free baby gender prediction tool on this page"}),(0,o.jsx)("p",{className:"mt-3 max-w-xl text-sm leading-7 text-slate-700 md:text-base",children:"Enter your birth date and estimated conception date. We convert them into lunar values automatically and return an instant result from the traditional chart. This is a baby gender prediction tool free to use in the browser, with no registration flow and no locked result screen."}),(0,o.jsxs)("form",{className:"mt-6 grid gap-4",onSubmit:function(t){if(t.preventDefault(),x(null),f(),!e||!a){x("Please complete both date fields.");return}let o=new Date("".concat(e,"T00:00:00")),s=new Date("".concat(a,"T00:00:00"));if(Number.isNaN(o.valueOf())||Number.isNaN(s.valueOf())){x("Invalid date input.");return}if(s<=o){x("Estimated conception date must be later than the birth date.");return}u((0,n.predictGenderFromDates)(o,s))},"aria-label":"Free Chinese gender predictor",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{className:"mb-2 block text-sm font-semibold text-ink",htmlFor:"birth-date",children:"Mother's Date of Birth"}),(0,o.jsx)("input",{id:"birth-date",name:"birthDate",type:"date",max:l,value:e,onChange:e=>{f(),t(e.target.value)},className:"h-12 w-full rounded-xl border border-slate-300 px-3 text-base text-ink focus:border-indigo-500 focus:outline-none",required:!0})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("label",{className:"mb-2 block text-sm font-semibold text-ink",htmlFor:"conception-date",children:"Estimated Conception Date"}),(0,o.jsx)("input",{id:"conception-date",name:"conceptionDate",type:"date",max:l,value:a,onChange:e=>{f(),c(e.target.value)},className:"h-12 w-full rounded-xl border border-slate-300 px-3 text-base text-ink focus:border-indigo-500 focus:outline-none",required:!0})]}),(0,o.jsx)("button",{type:"submit",className:"mt-2 inline-flex h-12 items-center justify-center rounded-xl bg-ink px-4 text-base font-semibold text-white transition hover:opacity-90",children:"Predict baby gender free online"}),(0,o.jsx)("p",{className:"text-xs leading-6 text-slate-600",children:"Based on the traditional Chinese lunar calendar. For entertainment only. Overall observed accuracy: 51.2%."}),m?(0,o.jsx)("p",{className:"rounded-xl bg-red-50 p-3 text-sm text-red-700",children:m}):null,h?(0,o.jsx)("p",{"aria-live":"polite",className:"rounded-xl bg-slate-100 p-3 text-sm text-slate-700",children:h}):null]})]}),(0,o.jsx)("div",{className:"border-t border-slate-200 bg-slate-50 p-6 md:p-8 lg:border-l lg:border-t-0",children:(0,o.jsxs)("div",{className:"flex h-full flex-col rounded-[1.6rem] border border-white/70 bg-white p-5 shadow-sm",children:[(0,o.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.22em] text-slate-500",children:"Prediction result"}),(0,o.jsx)("p",{className:"mt-1 text-sm text-slate-600",children:"Updated
1instantly from your dates"})]}),(0,o.jsx)("span",{className:"rounded-full bg-amber-50 px-3 py-1 text-xs font-semibold text-amber-700",children:"~51.2% accuracy"})]}),b?(0,o.jsxs)("section",{className:"mt-5 flex h-full flex-col","aria-live":"polite",children:[(0,o.jsxs)("div",{className:"rounded-[1.5rem] bg-gradient-to-br ".concat(N," p-6 text-white"),children:[(0,o.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.22em] text-white/80",children:"Free result"}),(0,o.jsx)("h4",{className:"mt-3 text-4xl font-bold",children:"boy"===b.prediction?"\uD83D\uDC76 Boy":"\uD83C\uDF80 Girl"}),(0,o.jsxs)("p",{className:"mt-3 text-sm leading-7 text-white/85",children:["Birth date: ",d(e),(0,o.jsx)("br",{}),"Estimated conception date: ",d(a)]})]}),(0,o.jsxs)("div",{className:"mt-4 grid gap-3 sm:grid-cols-2",children:[(0,o.jsxs)("div",{className:"rounded-2xl bg-slate-50 p-4",children:[(0,o.jsx)("p",{className:"text-xs uppercase tracking-wide text-slate-500",children:"Lunar age used"}),(0,o.jsx)("p",{className:"mt-1 text-2xl font-bold text-ink",children:b.lunarAge})]}),(0,o.jsxs)("div",{className:"rounded-2xl bg-slate-50 p-4",children:[(0,o.jsx)("p",{className:"text-xs uppercase tracking-wide text-slate-500",children:"Lunar month used"}),(0,o.jsx)("p",{className:"mt-1 text-2xl font-bold text-ink",children:b.lunarConceptionMonth})]})]}),b.inChartRange?null:(0,o.jsxs)("p",{className:"mt-4 rounded-2xl bg-amber-50 p-4 text-sm leading-7 text-amber-800",children:["Your calculated lunar age falls outside the classic chart range of ",n.Q$," to"," ",n.ey,". We used the nearest available row and labeled that adju
1stment openly."]}),(0,o.jsxs)("div",{className:"mt-4 rounded-2xl border border-indigo-100 bg-indigo-50/70 p-4",children:[(0,o.jsx)("p",{className:"text-sm font-semibold text-indigo-900",children:"Confidence note"}),(0,o.jsx)("p",{className:"mt-2 text-sm leading-7 text-slate-700",children:"This online baby gender predictor is best understood as a cultural ritual. In our large chart dataset, overall performance stayed close to random chance at 51.2%."})]}),(0,o.jsxs)("div",{className:"mt-4 flex flex-wrap gap-3",children:[(0,o.jsx)("button",{type:"button",onClick:g,className:"inline-flex h-11 items-center justify-center rounded-xl border border-slate-300 bg-white px-4 text-sm font-semibold text-ink",children:"Copy result"}),(0,o.jsx)("button",{type:"button",onClick:j,className:"inline-flex h-11 items-center justify-center rounded-xl border border-ink px-4 text-sm font-semibold text-ink",children:"Share"})]})]}):(0,o.jsxs)("div",{className:"mt-6 flex h-full flex-col justify-center rounded-[1.5rem] border border-dashed border-slate-300 bg-slate-50 p-6 text-center",children:[(0,o.jsx)("p",{className:"text-sm font-semibold uppercase tracking-[0.22em] text-slate-500",children:"Awaiting dates"}),(0,o.jsx)("h4",{className:"mt-3 text-3xl text-ink",children:"Ready for an instant free prediction"}),(0,o.jsx)("p",{className:"mt-3 text-sm leading-7 text-slate-600",children:"Submit both dates to unlock the chart result, lunar age, lunar conception month, and sharing tools."})]}),(0,o.jsx)("p",{className:"mt-4 text-xs leading-6 text-slate-500",children:"Based on the traditional Chinese lunar calendar. This free Chinese gender predictor does not replace medical advice or fetal sex testing."})]})})]})}),(0,o.jsxs)("aside",{className:"rounded-[1.75rem] border border-indigo-100 bg-gradient-to-r from-indigo-50 to-violet-50 p-5",children:[(0,o.jsx)("p",{className:"text-sm font-semibold uppercase tracking-[0.22em] text-indigo-700",children:"Quick fact"}),(0,o.jsx)("p",{className:"mt-3 max-w-4xl text-sm leading-7 text-slate-700 md:text-base",children:"In our analysis of 127,543 predictions, the Chinese Gender Predictor aligned with birth outcome 51.2% of the time, about the same as flipping a coin. That is why we present it as entertainment, culture, and ritual, not medicine."}),(0,o.jsx)(s.default,{href:"/blog/chinese-birth-chart-accuracy-analysis/",className:"mt-4 inline-flex text-sm font-semibold text-indigo-700",children:"Read full accuracy analysis â"})]})]})}},49722:function(e,t,a){"use strict";a.d(t,{default:function(){return r}});var o=a(57437),s=a(2265);function r(){let[e,t]=(0,s.useState)(148),a=(0,s.useMemo)(()=>e>140?"girl":"boy",[e]);return(0,o.jsxs)("div",{className:"rounded-[1.75rem] border border-slate-200 bg-white p-5 shadow-sm md:p-6",children:[(0,o.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("p",{className:"text-sm font-semibold uppercase tracking-[0.22em] text-rose-600",children:"Mini tool"}),(0,o.jsx)("h3",{className:"mt-2 text-2xl text-ink",children:"Free Heart Rate Gender Predictor Tool"})]}),(0,o.jsx)("span",{className:"rounded-full bg-rose-50 px-3 py-1 text-xs font-semibold text-rose-700",children:"Theory: over 140 BPM = girl"})]}),(0,o.jsx)("p",{className:"mt-3 max-w-2xl text-sm leading-7 text-slate-700",children:"Enter a fetal heart rate reading from an ultrasound report to see how the folklore rule works. This is a free baby gender test for fun, not a medically validated interpretation of the heartbeat."}),(0,o.jsxs)("div",{className:"mt-6 grid gap-6 lg:grid-cols-[1fr_0.9fr]",children:[(0,o.jsxs)("div",{className:"space-y-4",children:[(0,o.jsxs)("label",{htmlFor:"heart-rate-range",className:"block text-sm font-semibold text-ink",children:["Fetal heart rate: ",(0,o.jsxs)("span",{className:"text-rose-600",children:[e," BPM"]})]}),(0,o.jsx)("input",{id:"heart-rate-range",type:"range",min:"110",max:"180",value:e,onChange:e=>t(Number(e.target.value)),className:"w-full accent-rose-500"}),(0,o.jsxs)("div",{className:"grid gap-3 sm:grid-cols-2",children:[(0,o.jsxs)("label",{className:"text-sm text-slate-700",children:[(0,o.jsx)("span",{className:"mb-2 block font-semibold text-ink",children:"Enter exact BPM"}),(0,o.jsx)("input",{type:"number",min:"110",max:"220",value:e,onCh
1ange:e=>t(Math.max(80,Number(e.target.value)||0)),className:"h-12 w-full rounded-xl border border-slate-300 px-3 text-base text-ink focus:border-rose-500 focus:outline-none"})]}),(0,o.jsxs)("div",{className:"rounded-2xl bg-rose-50 p-4",children:[(0,o.jsx)("p",{className:"text-xs uppercase tracking-wide text-rose-700",children:"Traditional result"}),(0,o.jsx)("p",{className:"mt-2 text-3xl font-bold text-ink",children:"girl"===a?"\uD83C\uDF80 Girl":"\uD83D\uDC76 Boy"}),(0,o.jsx)("p",{className:"mt-2 text-sm leading-7 text-slate-700",children:"The rule flips at 140 BPM, but the science does not support the split."})]})]})]}),(0,o.jsxs)("div",{className:"rounded-[1.5rem] border border-slate-200 bg-slate-50 p-4",children:[(0,o.jsx)("p",{className:"text-sm font-semibold uppercase tracking-[0.22em] text-slate-500",children:"Why this stays near chance"}),(0,o.jsxs)("div",{className:"mt-4 space-y-4",children:[(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{className:"flex items-center justify-between text-xs font-semibold uppercase tracking-wide text-slate-500",children:[(0,o.jsx)("span",{children:"Girls in folklore examples"}),(0,o.jsx)("span",{children:"140-170 BPM"})]}),(0,o.jsx)("div",{className:"mt-2 h-4 rounded-full bg-slate-200",children:(0,o.jsx)("div",{className:"h-4 w-[68%] rounded-full bg-gradient-to-r from-pink-300 to-rose-500"})})]}),(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{className:"flex items-center justify-between text-xs font-semibold uppercase tracking-wide text-slate-500",children:[(0,o.jsx)("span",{children:"Boys in folklore examples"}),(0,o.jsx)("span",{children:"125-160 BPM"})]}),(0,o.jsx)("div",{className:"mt-2 h-4 rounded-full bg-slate-200",children:(0,o.jsx)("div",{className:"h-4 w-[62%] rounded-full bg-gradient-to-r from-sky-300 to-cyan-500"})})]}),(0,o.jsx)("p",{className:"text-sm leading-7 text-slate-700",children:"The overlap is the point. Heart rate rises and falls with gestational age, fetal movement, and timing of measurement. That is why this online baby gender predictor method usually performs like chance."})]})]})]})]})}},3278:function(e,t,a){"use strict";a.d(t,{default:function(){return n}});var o=a(57437),s=a(2265);let r=[{id:"chinese-chart",label:"Chinese Chart",shortLabel:"Chinese Chart",icon:"\uD83C\uDFEE",accuracyBadge:"~51%",targetId:"method-chinese-chart",colorClass:"from-indigo-500 to-violet-600"},{id:"heart-rate",label:"Heart Rate",shortLabel:"Heart Rate",icon:"\uD83D\uDC93",accuracyBadge:"~50%",targetId:"method-heart-rate",colorClass:"from-rose-500 to-red-500"},{id:"ramzi-theory",label:"Ramzi Theory",shortLabel:"Ramzi",icon:"\uD83D\uDD2C",accuracyBadge:"~50-55%",targetId:"method-ramzi-theory",colorClass:"from-violet-500 to-purple-600"},{id:"skull-theory",label:"Skull Theory",shortLabel:"Skull",icon:"\uD83D\uDC80",accuracyBadge:"~50%",targetId:"method-skull-theory",colorClass:"from-slate-500 to-slate-700"},{id:"ring-test",label:"Ring Test",shortLabel:"Ring Test",icon:"\uD83D\uDC8D",accuracyBadge:"~50%",targetId:"method-ring-test",colorClass:"from-amber-400 to-orange-500"}];function n(){let[e,t]=(0,s.useState)(r[0].id),a=(0,s.useMemo)(()=>r.map(e=>({id:e.id,elementId:e.targetId})),[]);function n(e,a){let o=document.getElementById(e);if(!o)return;let s=window.scrollY+o.getBoundingClientRect().top-96;window.scrollTo({top:s,behavior:"smooth"}),t(a)}return(0,s.useEffect)(()=>{let e=new IntersectionObserver(e=>{let o=e.filter(e=>e.isIntersecting).sort((e,t)=>t.intersectionRatio-e.intersectionRatio)[0];if(!o)return;let s=a.find(e=>e.elementId===o.target.id);s&&t(s.id)},{rootMargin:"-20% 0px -60% 0px",threshold:[.25,.4,.6]});return a.forEach(t=>{let a=document.getElementById(t.elementId);a&&e.observe(a)}),()=>e.disconnect()},[a]),(0,o.jsxs)("div",{className:"reveal rounded-[1.75rem] border border-white/70 bg-white/90 p-4 shadow-card backdrop-blur-sm",children:[(0,o.jsxs)("div",{className:"sm:hidden",children:[(0,o.jsx)("label",{htmlFor:"method-nav-select",className:"mb-2 block text-sm font-semibold text-ink",children:"Jump to a prediction method"}
1),(0,o.jsx)("select",{id:"method-nav-select",value:e,onChange:e=>{let t=r.find(t=>t.id===e.target.value);t&&n(t.targetId,t.id)},className:"h-12 w-full rounded-xl border border-slate-300 px-3 text-base text-ink focus:border-indigo-500 focus:outline-none",children:r.map(e=>(0,o.jsxs)("option",{value:e.id,children:[e.icon," ",e.shortLabel," (",e.accuracyBadge,")"]},e.id))})]}),(0,o.jsx)("div",{className:"hidden gap-3 sm:grid sm:grid-cols-5",children:r.map(t=>{let a=t.id===e;return(0,o.jsxs)("button",{type:"button",onClick:()=>n(t.targetId,t.id),className:"rounded-2xl px-3 py-3 text-left transition ".concat(a?"bg-gradient-to-r ".concat(t.colorClass," text-white shadow-lg"):"bg-slate-100 text-slate-700"),children:[(0,o.jsx)("span",{className:"block text-xl",children:t.icon}),(0,o.jsx)("span",{className:"mt-2 block text-sm font-semibold",children:t.label}),(0,o.jsx)("span",{className:"mt-1 block text-xs ".concat(a?"text-white/80":"text-slate-500"),children:t.accuracyBadge})]},t.id)})})]})}},66879:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return s}});var o=a(57437);function s(e){let{className:t="",label:a="Cookie Preferences"}=e;return(0,o.jsx)("button",{type:"button",onClick:function(){window.dispatchEvent(new Event("cookie-consent:open"))},className:t,children:a})}},28880:function(e,t,a){"use strict";a.d(t,{JI:function(){return i},Q$:function(){return s},ey:function(){return r},j3:function(){return l}});let o="girl",s=18,r=45,n={18:[o,"boy",o,"boy","boy","boy","boy","boy","boy","boy","boy","boy"],19:["boy",o,"boy",o,o,"boy","boy","boy","boy",o,"boy",o],20:[o,"boy",o,"boy","boy","boy","boy","boy","boy",o,"boy","boy"],21:["boy",o,o,o,o,o,o,o,o,o,o,o],22:[o,"boy","boy",o,"boy",o,o,"boy",o,o,o,o],23:["boy","boy",o,"boy","boy",o,"boy",o,"boy","boy","boy",o],24:["boy",o,"boy","boy",o,"boy","boy",o,o,o,o,o],25:[o,"boy","boy",o,o,"boy",o,"boy","boy","boy","boy","boy"],26:["boy",o,"boy",o,o,"boy",o,"boy",o,o,o,o],27:[o,"boy",o,"boy",o,o,"boy",o,"boy","boy",o,"boy"],28:["boy",o,"boy",o,o,o,"boy",o,"boy","boy",o,o],29:[o,"boy",o,o,"boy","boy",o,"boy","boy","boy","boy","boy"],30:["boy",o,o,o,o,o,o,o,o,"boy","boy","boy"],31:["boy",o,"boy",o,o,o,o,o,o,"boy","boy","boy"],32:["boy",o,"boy",o,o,o,o,o,o,"boy","boy","boy"],33:[o,"boy",o,"boy",o,o,o,"boy",o,"boy","boy","boy"],34:["boy",o,"boy",o,o,o,o,o,o,"boy","boy","boy"],35:["boy","boy",o,"boy",o,o,"boy",o,o,"boy","boy","boy"],36:[o,"boy","boy",o,"boy",o,o,"boy","boy",o,"boy","boy"],37:["boy",o,"boy","boy",o,"boy",o,o,"boy",o,"boy",o],38:[o,"boy",o,"boy","boy",o,"boy",o,"boy","boy",o,"boy"],39:["boy",o,"boy","boy","boy",o,o,"boy",o,o,"boy",o],40:[o,"boy",o,"boy",o,"boy","boy",o,"boy",o,"boy",o],41:["boy",o,"boy",o,"boy",o,"boy","boy",o,"boy",o,"boy"],42:[o,"boy",o,"boy",o,"boy",o,"boy","boy",o,"boy",o],43:["boy",o,"boy",o,"boy",o,"boy",o,"boy","boy",o,"boy"],44:[o,"boy",o,"boy",o,"boy",o,"boy",o,"boy","boy",o],45:["boy",o,"boy",o,"boy",o,"boy",o,"boy",o,"boy","boy"]};function l(e,t){var a;let l=Math.max(1,Math.min(12,t)),i=e<s?s:e>r?r:e,d=n[i];return{prediction:null!==(a=null==d?void 0:d[l-1])&&void 0!==a?a:o,lunarAge:i,lunarConceptionMonth:l,inChartRange:e>=s&&e<=r}}function i(){return n}},56364:function(e,t,a){"use strict";a.d(t,{JI:function(){return s.JI},Q$:function(){return s.Q$},ey:function(){return s.ey},nh:function(){return r},predictGenderFromDates:function(){return n}});var o=a(92573),s=a(28880);function r(e,t){let a=o.KE.fromDate(e).getLunar(),s=o.KE.fromDate(t).getLunar(),r=a.getYear(),n=s.getYear()-r+1,l=Math.abs(a.getMonth()),i=Math.abs(s.getMonth()),d=a.getDay(),c=s.getDay();return(i<l||i===l&&c<d)&&(n-=1),n}function n(e,t){let a=Math.abs(o.KE.fromDate(t).getLunar().getMonth()),n=r(e,t);return(0,s.j3)(n,a)}},27648:function(e,t,a){"use strict";a.d(t,{default:function(){return s.a}});var o=a(72972),s=a.n(o)}},function(e){e.O(0,[168,972,971,117,744],function(){return e(e.s=79613)}),_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.