(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{48312:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(96502)}])},59997:function(e,n,t){"use strict";t.d(n,{Fk:function(){return m},NA:function(){return c},Rn:function(){return u},bW:function(){return p},gJ:function(){return s},id:function(){return d},wY:function(){return o},zi:function(){return l}});var a=t(27484),r=t.n(a);let i=["a","e","i","o","u","A","E","I","O","U"],o=e=>e||localStorage.getItem("form_data")||"[]",l=e=>{let n=o(e),t=JSON.parse(n)||[];return t},s=e=>{if(e)return e;let n=JSON.parse(localStorage.getItem("image_url")||"null")||null;return n},d=e=>e.key.trim(),c=function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=e.value;switch(e.fieldType){case"time":try{t=r()(t).format("hh:mm A")}catch(e){}return t;case"date":try{t=r()(t).format("DD/MM/YYYY")}catch(e){}return t;default:try{t=t.trim(),n&&(t=function(e){let n=e.replace(RegExp("[".concat(i.join(""),"]"),"g"),"*");return n}(t))}catch(e){}return t}},u=e=>{let n="",t="",a="";return e.forEach(e=>{e.data.forEach(e=>{"Name"===e.key?n=c(e):"Date Of Birth"===e.key?t=c(e):"Place Of Birth"===e.key&&(a=c(e))})}),{name:n,dob:t,placeOfBirth:a}},m=e=>{let{pageIndex:n,dataIndex:t,isPreview:a,profileImage:r,isWithImage:i}=e;return 0===n&&t<12&&null!==r&&!!i},p=e=>!!e&&/[\u0900-\u097F]/.test(e)},67310:function(e,n,t){"use strict";t.d(n,{I:function(){return i},k:function(){return r}});var a=t(67294);let r=(0,a.createContext)({});function i(){let e=(0,a.useContext)(r);return e}},71675:function(e,n,t){"use strict";t.d(n,{G:function(){return i},q:function(){return r}});var a=t(67294);let r=(0,a.createContext)({});function i(){let e=(0,a.useContext)(r);return e}},96502:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return tb}});var a,r,i=t(85893),o=t(9008),l=t.n(o),s=t(86501),d=t(37340),c=t(67294),u=t(186),m=t(13965);function p(){let e=(0,d._)(["\n  top: 0;\n  left: 0;\n  right: 0;\n"]);return p=function(){return e},e}function h(){let e=(0,d._)(["\n  min-height: 390px;\n  background: #fe9f4b;\n  position: relative;\n  overflow: hidden;\n  z-index: ",";\n  clip-path: ",";\n\n  > div {\n    position: absolute;\n    filter: blur(60px);\n    opacity: 0.8;\n  }\n\n  .one {\n    border-radius: 70%;\n    width: 500px;\n    height: 500px;\n    background-color: #b571f6;\n    left: -50px;\n    top: -300px;\n    z-index: 3;\n    animation: fly 9s linear infinite;\n    transform: rotate(0) translate(80px) rotate(0);\n  }\n\n  .two {\n    width: 400px;\n    height: 800px;\n    background-color: #fb5b63;\n    bottom: -30px;\n    left: -80px;\n  }\n\n  .three {\n    border-radius: 100%;\n    width: 450px;\n    height: 750px;\n    bottom: -80px;\n    right: -100px;\n    background-color: #329ac3;\n    animation: flyPlus 5s linear infinite;\n    transform: rotate(0) translate(100px) rotate(0);\n  }\n\n  .four {\n    border-radius: 100%;\n    width: 450px;\n    height: 750px;\n    bottom: -80px;\n    left: 50%;\n    right: 50%;\n    top: 0;\n    background-color: #ffcb57;\n    animation: flyPlus 5s linear infinite;\n    transform: rotate(0) translate(100px) rotate(0);\n  }\n"]);return h=function(){return e},e}let f=u.ZP.div.withConfig({displayName:"Aurora__OuterWrapper",componentId:"sc-8038013e-0"})(p()),g=u.ZP.div.withConfig({displayName:"Aurora__Wrapper",componentId:"sc-8038013e-1"})(h(),m.P8,e=>e.isClipped?"polygon(0 0, 100% 0, 100% 40%, 0 100%)":"none");var x=e=>{let{isClipped:n=!1}=e;return(0,i.jsx)(f,{className:"pos-a",children:(0,i.jsxs)(g,{className:"full-width",isClipped:n,children:[(0,i.jsx)("div",{className:"one"}),(0,i.jsx)("div",{className:"two"}),(0,i.jsx)("div",{className:"three"}),(0,i.jsx)("div",{className:"four"})]})})};let y=[{question:"Do I need design skills to create a good-looking marriage biodata?",answer:"No design skills are required to create a biodata. Simply enter your details, choose a template, and your beautiful marriage biodata will be ready to download in PDF format."},{question:"Is it possible to include a profile photo in the biodata?",answer:"Certainly! You can include your profile photo on the first page of your biodata. However, please note that currently, you can only add one photo."},{question:"Do i need to sign up/register in order to create a biodata?",answer:"No, signing up/registration is not required to create your biodata. Simply enter your details, select your preferred template, and your marriage biodata will be ready to download."},{question:"Is it possible to modify the biodata once it is downloaded?",answer:"No, it is not possible to modify the existing biodata as of now. As we are not storing any information at our end, editing is not possible. You have to again enter the details and download the biodata if you want to modify anything after downloading"},{question:"Is it possible to include custom fields or custom data in my marriage biodata?",answer:"Yes, with our biodata builder, you have the flexibility to personalise your information according to your preferences. Whether you need to add new fields or modify existing ones, our tool makes it easy for you to tailor your wedding biodata to your unique needs."},{question:"How and where can i reach out to you for any queries/feedback?",answer:"We value your feedback and would be delighted to hear from you. You can easily get in touch with us by dropping a mail at support@biodatamaker.app."}];var b=t(99173);function w(){let e=(0,d._)(["\n  background: var(--ghost-white);\n  color: var(--raisin-black);\n"]);return w=function(){return e},e}function v(){let e=(0,d._)(["\n  text-align: center;\n  padding: 2.5rem 2rem;\n  > h2 {\n    margin-bottom: 3rem;\n  }\n  "," {\n    padding: 3.5rem 2rem;\n  }\n"]);return v=function(){return e},e}function j(){let e=(0,d._)(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  flex-direction: column;\n  flex-wrap: wrap;\n  text-align: left;\n\n  "," {\n    flex-direction: row;\n    align-items: baseline;\n    margin-right: -1rem;\n    > div {\n      max-width: calc((100% - 3.6rem) / 3);\n      min-width: calc((100% - 3.6rem) / 3);\n      margin-right: 1.2rem;\n    }\n  }\n"]);return j=function(){return e},e}function _(){let e=(0,d._)(["\n  margin-bottom: 2rem;\n  .question {\n    font-size: 1.2rem;\n    font-weight: 600;\n    line-height: 1.6rem;\n  }\n\n  .answer {\n    margin-top: 0.6rem;\n    line-height: 1.4rem;\n  }\n"]);return _=function(){return e},e}let C=u.ZP.div.withConfig({displayName:"Faq__Wrapper",componentId:"sc-2f3c138b-0"})(w()),N=u.ZP.div.withConfig({displayName:"Faq__Container",componentId:"sc-2f3c138b-1"})(v(),m.sS),k=u.ZP.div.withConfig({displayName:"Faq__FaqListContainer",componentId:"sc-2f3c138b-2"})(j(),m.sS),S=u.ZP.div.withConfig({displayName:"Faq__FaqContainer",componentId:"sc-2f3c138b-3"})(_());var I=()=>(0,i.jsx)(C,{className:"full-width center",children:(0,i.jsxs)(N,{className:"full-width container v-center",children:[(0,i.jsx)(b.ii,{children:"Frequently Asked Questions"}),(0,i.jsx)(k,{className:"full-width",children:y.map(e=>(0,i.jsxs)(S,{children:[(0,i.jsx)("p",{className:"question",children:e.question}),(0,i.jsx)("p",{className:"answer",children:e.answer})]},e.question))})]})}),P=e=>{let{fill:n="var(--medium-vermilion)",size:t=24,strokeWidth:a=1.25,...r}=e;return(0,i.jsxs)("svg",{width:t,height:t,viewBox:"0 0 45 43",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:[(0,i.jsx)("path",{d:"M29.564 8.358 31.044 0H12.763l1.48 8.358h15.32Zm-8.787 16.57a2.741 2.741 0 0 1-1.685-2.524c0-1.523 1.26-2.76 2.811-2.76 1.55 0 2.811 1.238 2.811 2.76a2.741 2.741 0 0 1-1.685 2.524v11.21l9.77-16.598-4.934-8.977h-11.93l-4.928 8.976 9.778 16.605V24.93h-.008Z",fill:n}),(0,i.jsx)("path",{d:"M42.078 24.085h1.72a.408.408 0 0 0 .411-.404v-5.117a.407.407 0 0 0-.41-.404h-5.211c-.227 0-.41.18-.41.404v5.117c0 .223.183.404.41.404h1.21c-1.253 7.078-6.973 12.697-14.188 13.928v-1.176a.407.407 0 0 0-.41-.403h-5.212c-.226 0-.41.18-.41.403v1.182c-7.222-1.244-12.943-6.856-14.196-13.934h1.21a.408.408 0 0 0 .412-.404v-5.117a.407.407 0 0 0-.411-.404H1.375c-.227 0-.41.18-.41.404v5.117c0 .223.183.404.41.404h1.72c.963 6.167 4.928 11.403 10.38 14.206h-6.69c-.539-1.315-2.019-2.17-3.619-1.753a2.962 2.962 0 0 0-2.088 2.052c-.61 2.252 1.437 4.262 3.73 3.664a2.94 2.94 0 0 0 1.983-1.752h12.78v1.453c0 .223.184.403.41.403h5.211c.227 0 .41-.18.41-.403v-1.453H38.39c.539 1.314 2.018 2.17 3.618 1.752a2.962 2.962 0 0 0 2.09-2.051c.608-2.253-1.438-4.263-3.732-3.665a2.94 2.94 0 0 0-1.983 1.753h-6.69c5.451-2.81 9.416-8.039 10.386-14.206Z",fill:n})]})},Z=e=>{let{fill:n="var(--medium-vermilion)",size:t=24,strokeWidth:a=1.25,...r}=e;return(0,i.jsx)("svg",{width:t,height:t,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:(0,i.jsx)("path",{d:"M3.98.827C2.007.827.41 2.397.41 4.333v24.544c0 1.937 1.597 3.506 3.57 3.506h24.99c1.973 0 3.57-1.569 3.57-3.506V4.333c0-1.937-1.599-3.506-3.57-3.506H3.98ZM27.185 7.84c.457 0 .913.17 1.262.513a1.73 1.73 0 0 1 0 2.48L14.952 24.086a1.8 1.8 0 0 1-1.263.514c-.473 0-.928-.184-1.262-.514l-6.164-6.054a1.73 1.73 0 0 1 0-2.479 1.806 1.806 0 0 1 2.525 0l4.901 4.814L25.923 8.353a1.796 1.796 0 0 1 1.262-.513Zm8.926 0v21.037c0 3.873-3.197 7.013-7.14 7.013H7.55c0 1.937 1.597 3.506 3.57 3.506h24.99c1.973 0 3.57-1.57 3.57-3.506V11.346c0-1.937-1.599-3.506-3.57-3.506Z",fill:n})})},M=e=>{let{fill:n="var(--medium-vermilion)",size:t=24,strokeWidth:a=1.25,...r}=e;return(0,i.jsx)("svg",{width:t,height:t,viewBox:"0 0 42 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:(0,i.jsx)("path",{d:"M.333 9.143c0-4.58 3.782-8.294 8.445-8.294h24.395c4.664 0 8.445 3.714 8.445 8.294v23.96c0 4.58-3.781 8.293-8.445 8.293H8.778c-4.663 0-8.445-3.714-8.445-8.294V9.142Zm6.396 2.01a.708.708 0 0 0 0 1.353 5.036 5.036 0 0 1 3.237 3.18c.22.652 1.16.652 1.377 0a5.036 5.036 0 0 1 3.237-3.18.708.708 0 0 0 0-1.353 5.036 5.036 0 0 1-3.237-3.179c-.22-.652-1.16-.652-1.377 0a5.032 5.032 0 0 1-3.237 3.18Zm21.085-1.105c-.259-.774-1.376-.774-1.635 0l-1.212 3.623a5.967 5.967 0 0 1-3.837 3.77l-3.69 1.19a.84.84 0 0 0 0 1.605l3.69 1.19a5.967 5.967 0 0 1 3.837 3.77l1.212 3.623c.26.774 1.376.774 1.635 0l1.214-3.623a5.962 5.962 0 0 1 3.838-3.77l3.689-1.19a.84.84 0 0 0 0-1.605l-3.69-1.193a5.962 5.962 0 0 1-3.837-3.769l-1.214-3.621ZM14.912 25.253c-.259-.774-1.375-.774-1.634 0l-.148.444a5.962 5.962 0 0 1-3.838 3.769l-.452.145a.84.84 0 0 0 0 1.606l.452.145a5.962 5.962 0 0 1 3.838 3.77l.148.444c.259.774 1.375.774 1.634 0l.149-.445a5.967 5.967 0 0 1 3.837-3.769l.453-.145a.84.84 0 0 0 0-1.605l-.453-.146a5.967 5.967 0 0 1-3.837-3.77l-.149-.443Z",fill:n})})};function F(){let e=(0,d._)(["\n  padding: 1.5rem 0 3rem 0;\n  background: var(--puce-red);\n  color: var(--white);\n"]);return F=function(){return e},e}function z(){let e=(0,d._)(["\n  text-align: center;\n  padding: 2.5rem 2rem;\n  > h2 {\n    color: var(--white);\n    margin-bottom: 3rem;\n  }\n  "," {\n    padding: 3.5rem 2rem;\n  }\n"]);return z=function(){return e},e}function D(){let e=(0,d._)(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  flex-direction: column;\n\n  "," {\n    flex-direction: row;\n  }\n"]);return D=function(){return e},e}function E(){let e=(0,d._)(["\n  flex: 1;\n  align-self: stretch;\n  display: flex;\n  align-items: center;\n  justify-content: flex-start;\n  flex-direction: column;\n  pointer-events: none;\n  user-select: none;\n  margin-bottom: 3rem;\n  min-width: 250px;\n\n  "," {\n    margin-bottom: 0;\n    margin-right: 2rem;\n  }\n\n  &:last-of-type {\n    margin: 0;\n  }\n\n  .card-number {\n    height: 50px;\n    width: 50px;\n    border-radius: 50%;\n    margin-top: 1rem;\n    font-size: 1.4rem;\n    font-weight: 700;\n    line-height: 2rem;\n    background-color: var(--misty-rose);\n  }\n\n  .card-header {\n    margin-top: 1rem;\n    font-size: 1.4rem;\n    font-weight: 700;\n    line-height: 2rem;\n  }\n\n  .card-content {\n    margin-top: 1rem;\n    line-height: 1.4rem;\n  }\n"]);return E=function(){return e},e}let q=u.ZP.div.withConfig({displayName:"Features__Wrapper",componentId:"sc-f23034ca-0"})(F()),A=u.ZP.div.withConfig({displayName:"Features__Container",componentId:"sc-f23034ca-1"})(z(),m.sS),T=u.ZP.div.withConfig({displayName:"Features__CardsContainer",componentId:"sc-f23034ca-2"})(D(),m.sS),W=u.ZP.div.withConfig({displayName:"Features__Card",componentId:"sc-f23034ca-3"})(E(),m.sS);var O=()=>(0,i.jsx)(q,{className:"full-width center",children:(0,i.jsxs)(A,{className:"full-width container v-center",children:[(0,i.jsx)(b.ii,{className:"full-width",children:"Essential features of our biodata maker app"}),(0,i.jsxs)(T,{children:[(0,i.jsxs)(W,{children:[(0,i.jsx)("div",{className:"card-number center",children:(0,i.jsx)(Z,{size:28})}),(0,i.jsx)("h3",{className:"card-header",children:"Easy to use"}),(0,i.jsx)("p",{className:"card-content",children:"No Sign up / Registration required. Enter your details, choose template and voila!! Your biodata in PDF format is ready."})]}),(0,i.jsxs)(W,{children:[(0,i.jsx)("div",{className:"card-number center",children:(0,i.jsx)(P,{size:28})}),(0,i.jsx)("h3",{className:"card-header",children:"Customization made simple"}),(0,i.jsx)("p",{className:"card-content",children:"You have full control of what you want in your marriage biodata. You can add new fields and delete or rename the existing fields."})]}),(0,i.jsxs)(W,{children:[(0,i.jsx)("div",{className:"card-number center",children:(0,i.jsx)(M,{size:28})}),(0,i.jsx)("h3",{className:"card-header",children:"Great Looking Templates"}),(0,i.jsx)("p",{className:"card-content",children:"We have designed these templates which are unique, clean and perfect for a matrimonial biodata"})]})]})]})}),R=t(42641),B=t(67310),L=t(7355),Y=t(47417);function H(){let e=(0,d._)(["\n  margin-top: 2rem;\n  padding-bottom: 3rem;\n  color: var(--ebony);\n  padding: 0 1.5rem 2rem 1.5rem;\n\n  .hero-illustration {\n    max-width: 100%;\n    width: 85%;\n    height: auto;\n\n    "," {\n      min-width: 500px;\n      margin-left: 2rem;\n      width: 70%;\n    }\n  }\n"]);return H=function(){return e},e}function V(){let e=(0,d._)(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n\n  "," {\n    flex-direction: row-reverse;\n  }\n"]);return V=function(){return e},e}function J(){let e=(0,d._)(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  text-align: center;\n  justify-content: center;\n  padding: 1.5rem;\n\n  "," {\n    text-align: left;\n    align-items: flex-start;\n    padding-left: 0;\n  }\n"]);return J=function(){return e},e}function U(){let e=(0,d._)(["\n  margin-top: 30px;\n  display: none;\n  "," {\n    display: flex;\n  }\n"]);return U=function(){return e},e}function G(){let e=(0,d._)(["\n  display: block;\n  font-size: 14px;\n  line-height: 20px;\n  margin-top: 16px;\n  padding-left: 18px;\n  position: relative;\n\n  &:before {\n    animation: pulse 1.5s ease infinite;\n    background-color: var(--emerald);\n    border-radius: 3px;\n    content: '';\n    height: 6px;\n    left: 4px;\n    position: absolute;\n    top: 7px;\n    width: 6px;\n    background-repeat: no-repeat;\n  }\n"]);return G=function(){return e},e}function K(){let e=(0,d._)(["\n  display: flex;\n  justify-content: center;\n  align-items: flex-end;\n  transition: transform 0.5s;\n  padding: 1rem;\n  margin: 2rem 0;\n\n  "," {\n    margin: 4rem 0;\n  }\n\n  &:hover {\n    transform: scale(1.04);\n  }\n"]);return K=function(){return e},e}function X(){let e=(0,d._)(["\n  transition: transform 1s;\n  box-shadow: 0 50px 100px -20px rgba(50, 50, 93, 0.25),\n    0 30px 60px -30px rgba(0, 0, 0, 0.3);\n  margin: 0 -20px;\n  margin-bottom: -15px;\n\n  &.resume-2 {\n    margin-bottom: 0;\n    z-index: 2;\n  }\n\n  @media only screen and (min-width: 800px) {\n    &:last-of-type {\n      margin-right: 10px;\n    }\n  }\n"]);return X=function(){return e},e}function Q(){let e=(0,d._)(["\n  width: 125px;\n  height: 176px;\n\n  @media only screen and (min-width: 800px) {\n    width: 187px;\n    height: 264px;\n  }\n\n  @media only screen and (min-width: 1323px) {\n    width: 250px;\n    height: 353px;\n  }\n"]);return Q=function(){return e},e}function $(){let e=(0,d._)(["\n  position: fixed;\n  inset: auto auto -1px 0px;\n  z-index: 2;\n  width: 100%;\n  display: flex;\n  -webkit-box-pack: center;\n  justify-content: center;\n  align-items: center;\n  mix-blend-mode: normal;\n  box-sizing: border-box;\n  padding: 0px 32px;\n  background: linear-gradient(\n    rgba(255, 255, 255, 0) 0%,\n    rgba(255, 255, 255, 0.1) 20%,\n    rgba(255, 255, 255, 0.95) 70%,\n    rgb(255, 255, 255) 78%\n  );\n  transition: bottom 0.6s ease-out 0s, opacity 0.6s ease-out 0s,\n    height 0.6s ease-out 0s, background 0.6s ease 0s,\n    padding-bottom 0.6s ease 0s;\n  height: 120px;\n\n  "," {\n    display: none;\n  }\n\n  &.hidden {\n    bottom: -121px;\n    opacity: 0.9;\n  }\n\n  button {\n    margin: 0;\n  }\n"]);return $=function(){return e},e}function ee(){let e=(0,d._)(["\n  width: 100%;\n  font-size: 1.2rem;\n  padding: 0.6rem 1.5rem;\n"]);return ee=function(){return e},e}let en=u.ZP.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-d53f00df-0"})(H(),m.sS),et=u.ZP.div.withConfig({displayName:"styles__Container",componentId:"sc-d53f00df-1"})(V(),m.sS),ea=u.ZP.div.withConfig({displayName:"styles__Content",componentId:"sc-d53f00df-2"})(J(),m.sS),er=(0,u.ZP)(Y.Y).withConfig({displayName:"styles__MainButton",componentId:"sc-d53f00df-3"})(U(),m.sS),ei=u.ZP.div.withConfig({displayName:"styles__HeroCounter",componentId:"sc-d53f00df-4"})(G()),eo=u.ZP.div.withConfig({displayName:"styles__ResumeContainer",componentId:"sc-d53f00df-5"})(K(),m.sS),el=u.ZP.div.withConfig({displayName:"styles__EachItem",componentId:"sc-d53f00df-6"})(X()),es=u.ZP.img.withConfig({displayName:"styles__StyledImage",componentId:"sc-d53f00df-7"})(Q()),ed=u.ZP.div.withConfig({displayName:"styles__FloatingCtaWrapper",componentId:"sc-d53f00df-8"})($(),m.sS),ec=(0,u.ZP)(Y.Y).withConfig({displayName:"styles__FloatingMainButton",componentId:"sc-d53f00df-9"})(ee()),eu=Object.freeze({0:"/images/examples/eg23.png",1:"/images/examples/eg12.png",2:"/images/examples/eg20.png"});var em=()=>{let[e,n]=(0,c.useState)(!1),[t,a]=(0,c.useState)(5),[r,o]=(0,c.useState)(1);return(0,c.useEffect)(()=>{setTimeout(()=>{n(!0)},700)},[]),(0,c.useEffect)(()=>{e&&(a(10),o(1.1),n(!1))},[e]),(0,i.jsxs)(eo,{children:[(0,i.jsx)(el,{className:"resume-1",style:{transform:"rotate(-".concat(t,"deg)")},children:(0,i.jsx)(es,{src:eu[0],alt:"Red bordered Marriage Biodata Format | Biodata for Marriage"})}),(0,i.jsx)(el,{className:"resume-2",style:{transform:"scale(".concat(r,")")},children:(0,i.jsx)(es,{src:eu[1],alt:"Popular Marriage Biodata Format | Biodata for Marriage"})}),(0,i.jsx)(el,{className:"resume-3",style:{transform:"rotate(".concat(t,"deg)")},children:(0,i.jsx)(es,{src:eu[2],alt:"Elegantly designed Marriage Biodata Format | Biodata for Marriage"})})]})},ep=t(19215),eh=()=>{let{scrollToFormRef:e,formRef:n}=(0,B.I)(),t=(0,ep.Y)(n);return(0,i.jsx)(ed,{className:t?"hidden":"visible",children:(0,i.jsx)(ec,{className:"main-hero-btn",onClick:e,"data-track-click":"true",children:"Create My Biodata"})})},ef=()=>{let{scrollToFormRef:e}=(0,B.I)(),n=(0,c.useMemo)(()=>(0,L.Pl)(),[]);return(0,i.jsxs)(en,{className:"full-width center",children:[(0,i.jsxs)(et,{className:"full-width container",children:[(0,i.jsx)(em,{}),(0,i.jsxs)(ea,{children:[(0,i.jsx)(b.z,{children:"The Ultimate Marriage Biodata Maker"}),(0,i.jsx)(b.wP,{className:"content-text",children:"Create beautiful biodata for marriage with just a few clicks! Easy to use, fully customizable, elegantly designed marriage biodata formats"}),(0,i.jsx)(er,{className:"main-hero-btn",onClick:e,"data-track-click":"true",children:"Create My Biodata"}),(0,i.jsx)(ei,{children:(0,i.jsxs)("p",{children:[n," biodatas created today"]})})]})]}),(0,i.jsx)(eh,{})]})};function eg(){let e=(0,d._)(["\n  padding: 0rem 0 2rem 0;\n  background: var(--ghost-white);\n"]);return eg=function(){return e},e}function ex(){let e=(0,d._)(["\n  text-align: center;\n  padding: 2.5rem 2rem;\n  > h2 {\n    margin-bottom: 3rem;\n  }\n  "," {\n    padding: 3.5rem 2rem;\n  }\n"]);return ex=function(){return e},e}function ey(){let e=(0,d._)(["\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  flex-direction: column;\n\n  "," {\n    flex-direction: row;\n  }\n"]);return ey=function(){return e},e}function eb(){let e=(0,d._)(["\n  flex: 1;\n  align-self: stretch;\n  display: flex;\n  align-items: center;\n  justify-content: flex-start;\n  flex-direction: column;\n  color: var(--independence);\n  background-color: var(--white);\n  pointer-events: none;\n  user-select: none;\n  padding: 3rem;\n  margin-bottom: 2rem;\n  border-radius: 12px;\n  min-width: 250px;\n  box-shadow: 0 50px 100px -20px rgba(50, 50, 93, 0.25),\n    0 30px 60px -30px rgba(0, 0, 0, 0.3);\n\n  "," {\n    margin-bottom: 0;\n    margin-right: 2rem;\n  }\n\n  &:last-of-type {\n    margin: 0;\n  }\n\n  .card-number {\n    height: 40px;\n    width: 40px;\n    border-radius: 50%;\n    margin-top: 1rem;\n    font-size: 1.4rem;\n    font-weight: 700;\n    line-height: 2rem;\n    background-color: ",";\n  }\n\n  .card-header {\n    margin-top: 1rem;\n    font-size: 1.4rem;\n    font-weight: 700;\n    line-height: 2rem;\n  }\n\n  .card-content {\n    margin-top: 1rem;\n    line-height: 1.4rem;\n  }\n"]);return eb=function(){return e},e}let ew=u.ZP.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-8443e143-0"})(eg()),ev=u.ZP.div.withConfig({displayName:"styles__Container",componentId:"sc-8443e143-1"})(ex(),m.sS),ej=u.ZP.div.withConfig({displayName:"styles__CardsContainer",componentId:"sc-8443e143-2"})(ey(),m.sS),e_=u.ZP.div.withConfig({displayName:"styles__Card",componentId:"sc-8443e143-3"})(eb(),m.sS,e=>e.numberColor);var eC=()=>(0,i.jsx)(ew,{className:"full-width center",children:(0,i.jsxs)(ev,{className:"full-width container v-center",children:[(0,i.jsx)(b.ii,{children:"How it works"}),(0,i.jsxs)(ej,{children:[(0,i.jsxs)(e_,{numberColor:"var(--fair-pink)",children:[(0,i.jsx)("div",{className:"card-number center",children:"1"}),(0,i.jsx)("h3",{className:"card-header",children:"Enter your information"}),(0,i.jsx)("p",{className:"card-content",children:"Simply add your personal, family, and contact details. You can also add a profile photo for your biodata"})]}),(0,i.jsxs)(e_,{numberColor:"var(--butter-milk)",children:[(0,i.jsx)("div",{className:"card-number center",children:"2"}),(0,i.jsx)("h3",{className:"card-header",children:"Choose the template"}),(0,i.jsx)("p",{className:"card-content",children:"Create biodata with our wide variety of well-designed templates. Just select the template and we will do the rest."})]}),(0,i.jsxs)(e_,{numberColor:"var(--magic-mint)",children:[(0,i.jsx)("div",{className:"card-number center",children:"3"}),(0,i.jsx)("h3",{className:"card-header",children:"Download the PDF"}),(0,i.jsx)("p",{className:"card-content",children:"Everything is done now, you will get your beautiful biodata in the PDF format. Thanks for using our marriage biodata maker!!"})]})]})]})}),eN=t(5152),ek=t.n(eN),eS=t(45111),eI=t(62474),eP=t(50720),eZ=t(10586),eM=t(80545),eF=t(71675),ez=e=>{let{stroke:n="#2c3556",strokeWidth:t=1.25,size:a=24,...r}=e;return(0,i.jsx)("svg",{width:a,height:a,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...r,children:(0,i.jsx)("path",{d:"M19 7L18.1327 19.1425C18.0579 20.1891 17.187 21 16.1378 21H7.86224C6.81296 21 5.94208 20.1891 5.86732 19.1425L5 7M10 11V17M14 11V17M15 7V4C15 3.44772 14.5523 3 14 3H10C9.44772 3 9 3.44772 9 4V7M4 7H20",stroke:n,strokeWidth:t,strokeLinecap:"round",strokeLinejoin:"round"})})},eD=t(25675),eE=t.n(eD),eq=t(50644),eA=t(54599),eT=t(9487);function eW(){let e=(0,d._)(["\n  overflow: hidden;\n"]);return eW=function(){return e},e}function eO(){let e=(0,d._)(["\n  text-align: center;\n  "," {\n    text-align: left;\n  }\n"]);return eO=function(){return e},e}function eR(){let e=(0,d._)(["\n  padding: 1.5rem;\n  backdrop-filter: blur(5px);\n  background: rgba(255, 255, 255, 0.4);\n  border: 1px solid rgba(255, 255, 255, 0.2);\n\n  "," {\n    padding: 2rem;\n  }\n"]);return eR=function(){return e},e}function eB(){let e=(0,d._)(["\n  "," {\n    display: flex;\n  }\n"]);return eB=function(){return e},e}function eL(){let e=(0,d._)(["\n  margin-top: 32px;\n  background-color: var(--white);\n  padding: 1rem;\n\n  "," {\n    display: flex;\n    align-items: flex-start;\n    flex-direction: row-reverse;\n  }\n"]);return eL=function(){return e},e}function eY(){let e=(0,d._)(["\n  flex: 1;\n"]);return eY=function(){return e},e}function eH(){let e=(0,d._)(["\n  margin-bottom: 1.5rem;\n\n  &:last-of-type {\n    margin-bottom: 0.8rem;\n  }\n"]);return eH=function(){return e},e}function eV(){let e=(0,d._)(["\n  margin-bottom: 3rem;\n\n  p.section-name {\n    font-weight: 700;\n    font-size: 1.8rem;\n    margin-bottom: 1rem;\n    color: var(--poseidon);\n  }\n"]);return eV=function(){return e},e}function eJ(){let e=(0,d._)(["\n  display: block;\n  flex: 1;\n  margin-right: 16px;\n\n  /* .MuiInputBase-root {\n    &.Mui-disabled {\n      background-color: var(--wash-me);\n    }\n  } */\n\n  .MuiSelect-select,\n  .MuiFormControl-root,\n  .MuiInputBase-root,\n  .MuiOutlinedInput-notchedOutline {\n    width: 100%;\n  }\n\n  input {\n    color: var(--port-gore);\n  }\n\n  .input-label {\n    margin-bottom: 4px;\n    background-color: var(--wash-me);\n\n    .Mui-disabled {\n      color: var(--port-gore);\n      -webkit-text-fill-color: var(--port-gore);\n    }\n  }\n"]);return eJ=function(){return e},e}function eU(){let e=(0,d._)(["\n  cursor: pointer;\n  padding: 0;\n  height: 48px;\n  width: 48px;\n  min-width: 48px;\n  border-radius: 50%;\n  background-color: var(--chablis);\n  transition: background-color 0.1s ease-in;\n\n  &:hover {\n    background-color: var(--pipin);\n  }\n\n  &:disabled {\n    opacity: 0.4;\n    cursor: not-allowed;\n  }\n"]);return eU=function(){return e},e}function eG(){let e=(0,d._)(["\n  margin: 32px 0;\n\n  "," {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n  }\n"]);return eG=function(){return e},e}function eK(){let e=(0,d._)(["\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  margin-bottom: 32px;\n\n  "," {\n    margin-bottom: 0;\n  }\n\n  > button {\n    min-width: 120px;\n\n    &[data-id='back'] {\n      margin-right: 16px;\n    }\n  }\n"]);return eK=function(){return e},e}function eX(){let e=(0,d._)(["\n  .reset-button {\n    margin-top: 16px;\n  }\n\n  > button {\n    width: 100%;\n  }\n\n  "," {\n    display: flex;\n    align-items: center;\n    flex-direction: row-reverse;\n    .reset-button {\n      margin-top: 0;\n      margin-right: 16px;\n    }\n  }\n"]);return eX=function(){return e},e}function eQ(){let e=(0,d._)(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n\n  "," {\n    flex-direction: row;\n    justify-content: center;\n  }\n"]);return eQ=function(){return e},e}function e$(){let e=(0,d._)(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  margin-bottom: 0.8rem;\n  "," {\n    margin-bottom: 0;\n    margin-right: 0.8rem;\n  }\n\n  .up-icon > svg {\n    transform: rotate(180deg);\n  }\n"]);return e$=function(){return e},e}function e0(){let e=(0,d._)(["\n  text-align: center;\n"]);return e0=function(){return e},e}function e1(){let e=(0,d._)(["\n  display: flex;\n  justify-content: center;\n  align-items: flex-end;\n  margin-bottom: 2rem;\n\n  "," {\n    position: sticky;\n    top: 4rem;\n    flex-direction: column;\n    margin-left: 3rem;\n  }\n"]);return e1=function(){return e},e}function e2(){let e=(0,d._)(["\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n"]);return e2=function(){return e},e}function e3(){let e=(0,d._)(["\n  width: 280px;\n  height: 400px;\n  border-radius: 1rem;\n  margin-bottom: 1rem;\n  border: 1px solid var(--athens-gray);\n  background-color: var(--athens-gray);\n\n  > img {\n    width: 100%;\n    height: 100%;\n    object-fit: cover;\n    border-radius: 1rem;\n  }\n\n  &:hover {\n    filter: brightness(95%);\n  }\n"]);return e3=function(){return e},e}function e4(){let e=(0,d._)(["\n  width: 100%;\n  height: 100%;\n  border-radius: 1rem;\n  color: var(--lynch);\n  text-align: center;\n  padding: 1.2rem;\n\n  .add-img-icon {\n    height: 70px;\n    width: 70px;\n  }\n\n  > p {\n    margin-top: 1rem;\n    line-height: 1.5rem;\n    margin-bottom: 0.8rem;\n    color: #64728c;\n  }\n"]);return e4=function(){return e},e}function e5(){let e=(0,d._)(["\n  z-index: 1;\n  border-radius: 50%;\n  height: 36px;\n  width: 36px;\n  top: -5px;\n  right: -5px;\n  background-color: var(--puce-red);\n  box-shadow: 0 10px 15px rgb(0 0 0 / 15%);\n"]);return e5=function(){return e},e}function e8(){let e=(0,d._)(["\n  padding: 8px;\n  color: var(--white);\n  font-weight: 600;\n  background-color: #161819c2;\n  top: 10px;\n  left: 10px;\n  border-radius: 10px;\n\n  > span {\n    margin-left: 8px;\n  }\n"]);return e8=function(){return e},e}let e7=u.ZP.div.withConfig({displayName:"styles__HeaderWrapper",componentId:"sc-a5b9b428-0"})(eW()),e6=u.ZP.div.withConfig({displayName:"styles__HeaderTextWrapper",componentId:"sc-a5b9b428-1"})(eO(),m.sS),e9=u.ZP.div.withConfig({displayName:"styles__HeaderInnerWrapper",componentId:"sc-a5b9b428-2"})(eR(),m.sS);u.ZP.div.withConfig({displayName:"styles__SectionWrapper",componentId:"sc-a5b9b428-3"})(eB(),m.sS);let ne=u.ZP.div.withConfig({displayName:"styles__InputsWrapper",componentId:"sc-a5b9b428-4"})(eL(),m.sS),nn=u.ZP.div.withConfig({displayName:"styles__FieldFormWrapper",componentId:"sc-a5b9b428-5"})(eY()),nt=u.ZP.div.withConfig({displayName:"styles__InputRow",componentId:"sc-a5b9b428-6"})(eH()),na=u.ZP.div.withConfig({displayName:"styles__EachSectionContainer",componentId:"sc-a5b9b428-7"})(eV()),nr=u.ZP.div.withConfig({displayName:"styles__InputItemContainer",componentId:"sc-a5b9b428-8"})(eJ()),ni=(0,u.ZP)(eM.E.button).withConfig({displayName:"styles__DeleteButton",componentId:"sc-a5b9b428-9"})(eU()),no=u.ZP.div.withConfig({displayName:"styles__FormFooter",componentId:"sc-a5b9b428-10"})(eG(),m.sS),nl=u.ZP.div.withConfig({displayName:"styles__NavFooter",componentId:"sc-a5b9b428-11"})(eK(),m.sS),ns=u.ZP.div.withConfig({displayName:"styles__SubmitFooter",componentId:"sc-a5b9b428-12"})(eX(),m.sS),nd=u.ZP.div.withConfig({displayName:"styles__OptionsContainer",componentId:"sc-a5b9b428-13"})(eQ(),m.sS),nc=u.ZP.div.withConfig({displayName:"styles__DirectionContainer",componentId:"sc-a5b9b428-14"})(e$(),m.sS);u.ZP.div.withConfig({displayName:"styles__AdWrapper",componentId:"sc-a5b9b428-15"})(e0());let nu=u.ZP.div.withConfig({displayName:"styles__PfWrapper",componentId:"sc-a5b9b428-16"})(e1(),m.sS),nm=u.ZP.div.withConfig({displayName:"styles__ContentWrapper",componentId:"sc-a5b9b428-17"})(e2()),np=u.ZP.div.withConfig({displayName:"styles__ImageWrapper",componentId:"sc-a5b9b428-18"})(e3()),nh=u.ZP.div.withConfig({displayName:"styles__EmptyWrapper",componentId:"sc-a5b9b428-19"})(e4()),nf=u.ZP.div.withConfig({displayName:"styles__RemoveWrapper",componentId:"sc-a5b9b428-20"})(e5()),ng=u.ZP.div.withConfig({displayName:"styles__ReplaceWrapper",componentId:"sc-a5b9b428-21"})(e8());var nx=()=>{let{profileImage:e,handleProfileImageChange:n,handleImageRemove:t}=(0,B.I)(),a=(0,c.useRef)(null);return(0,i.jsx)(nu,{children:(0,i.jsxs)(nm,{children:[(0,i.jsxs)(np,{className:"cursor-pointer pos-r",onClick:function(){a.current&&a.current.click()},children:[e?(0,i.jsx)(eE(),{src:e,alt:"profile",width:280,height:400}):(0,i.jsxs)(nh,{className:"v-center",children:[(0,i.jsx)(eA.Z,{className:"add-img-icon"}),(0,i.jsx)("p",{children:"Click here to add your photo (Up to 20MB in size)"})]}),e&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(nf,{className:"pos-a center",onClick:e=>{t(),e.preventDefault(),e.stopPropagation()},children:(0,i.jsx)(eT.Z,{stroke:"var(--ghost-white)"})}),(0,i.jsxs)(ng,{className:"pos-a center",children:[(0,i.jsx)(eq.Z,{fontSize:"small"}),(0,i.jsx)("span",{children:"Replace Photo"})]})]})]}),(0,i.jsx)("input",{className:"d-none",ref:a,type:"file",onChange:n,accept:".jpeg,.jpg,.png"})]})})},ny=t(83913),nb=t(44510),nw=t(11048),nv=t(9581),nj=t(31425),n_=t(36919),nC=t(15861),nN=t(45929),nk=t(69417);let nS=e=>new Promise((n,t)=>{let a=new Image;a.addEventListener("load",()=>n(a)),a.addEventListener("error",e=>t(e)),a.setAttribute("crossOrigin","anonymous"),a.src=e});function nI(e){return e*Math.PI/180}async function nP(e,n){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{horizontal:!1,vertical:!1},r=await nS(e),i=document.createElement("canvas"),o=i.getContext("2d");if(!o)return null;let l=nI(t),{width:s,height:d}=function(e,n,t){let a=nI(t);return{width:Math.abs(Math.cos(a)*e)+Math.abs(Math.sin(a)*n),height:Math.abs(Math.sin(a)*e)+Math.abs(Math.cos(a)*n)}}(r.width,r.height,t);i.width=s,i.height=d,o.translate(s/2,d/2),o.rotate(l),o.scale(a.horizontal?-1:1,a.vertical?-1:1),o.translate(-r.width/2,-r.height/2),o.drawImage(r,0,0);let c=o.getImageData(n.x,n.y,n.width,n.height);return i.width=n.width,i.height=n.height,o.putImageData(c,0,0),new Promise((e,n)=>{i.toBlob(n=>{n.name="cropped.jpeg",e({file:n,url:URL.createObjectURL(n)})},"image/jpeg")})}var nZ=t(40129);function nM(){let e=(0,d._)(["\n  background-color: var(--white);\n"]);return nM=function(){return e},e}let nF=u.ZP.div.withConfig({displayName:"Crop__Wrapper",componentId:"sc-cc7d8fa7-0"})(nM()),nz=e=>"".concat(Math.round(100*e),"%");var nD=e=>{let{isCropOpen:n,photoURL:t,setOpenCrop:a,setPhotoURL:r,setFile:o}=e,[l,d]=(0,c.useState)({x:0,y:0}),[u,m]=(0,c.useState)(1),[p,h]=(0,c.useState)(0),[f,g]=(0,c.useState)(null),x=async()=>{try{let{file:e,url:n}=await nP(t,f,p);r(n),o(e),a(!1)}catch(e){s.ZP.error(e.message),console.log(e)}};return(0,i.jsx)(nZ.Z,{isVisible:n,handleClose:()=>{},modalWidth:"500px",modalheight:"auto",children:(0,i.jsxs)(nF,{children:[(0,i.jsx)(nv.Z,{dividers:!0,sx:{background:"#333",position:"relative",height:400,width:"auto",minWidth:{sm:500}},children:(0,i.jsx)(ny.ZP,{image:t,crop:l,zoom:u,rotation:p,aspect:1,onZoomChange:m,onRotationChange:h,onCropChange:d,onCropComplete:(e,n)=>{g(n)}})}),(0,i.jsxs)(nj.Z,{sx:{flexDirection:"column",mx:3,my:2},children:[(0,i.jsxs)(n_.Z,{sx:{width:"100%",mb:1},children:[(0,i.jsxs)(n_.Z,{children:[(0,i.jsxs)(nC.Z,{children:["Zoom: ",nz(u)]}),(0,i.jsx)(nN.ZP,{valueLabelDisplay:"auto",valueLabelFormat:nz,min:1,max:3,step:.1,value:u,onChange:(e,n)=>m(n)})]}),(0,i.jsxs)(n_.Z,{children:[(0,i.jsxs)(nC.Z,{children:["Rotation: ",p+"\xb0"]}),(0,i.jsx)(nN.ZP,{valueLabelDisplay:"auto",min:0,max:360,value:p,onChange:(e,n)=>h(n)})]})]}),(0,i.jsxs)(n_.Z,{sx:{display:"flex",gap:2,flexWrap:"wrap"},children:[(0,i.jsx)(nk.Z,{variant:"outlined",startIcon:(0,i.jsx)(nb.Z,{}),onClick:()=>a(!1),children:"Cancel"}),(0,i.jsx)(nk.Z,{variant:"contained",startIcon:(0,i.jsx)(nw.Z,{}),onClick:x,children:"Crop"})]})]})]})})},nE=t(27484),nq=t.n(nE),nA=t(53945),nT=t(34941),nW=t(66220),nO=t(36008),nR=t(55819),nB=e=>{let{fieldData:n,sectionIndex:t,itemIndex:a}=e,{setValue:r}=(0,eF.G)();function o(e){r(t,a,null!=e?e:"")}switch(n.fieldType){case"time":{let e=n.value;try{e=nq()(e)}catch(n){e=null}return(0,i.jsx)(nA.j,{reduceAnimations:!0,viewRenderers:{hours:nT.M6,minutes:nT.M6,seconds:nT.M6},onChange:o,value:e,slotProps:{textField:{error:n.isMandatory&&!n.value}}})}case"date":{let e=n.value;try{e=nq()(e)}catch(n){e=null}return(0,i.jsx)(nW.M,{reduceAnimations:!0,onChange:o,value:e,format:"DD/MM/YYYY",views:["year","month","day"],slotProps:{textField:{error:n.isMandatory&&!n.value}}})}case"dropdown":var l;return(0,i.jsx)(nO.Z,{placeholder:"Enter ".concat(n.key||"Field Value"),value:n.value,onChange:e=>{o(e.target.value)},error:n.isMandatory&&!n.value,children:null===(l=n.options)||void 0===l?void 0:l.map(e=>(0,i.jsx)(nR.Z,{value:e,children:e},e))});default:return(0,i.jsx)(eI.Z,{value:n.value,"data-id":"value",multiline:!0,placeholder:"Enter ".concat(n.key||"Field Value"),variant:"outlined",onChange:e=>{o(e.target.value)},error:n.isMandatory&&!n.value})}};let nL=ek()(()=>Promise.all([t.e(186),t.e(445),t.e(111),t.e(999),t.e(33),t.e(816),t.e(797)]).then(t.bind(t,4053)),{loadableGenerated:{webpack:()=>[4053]}});var nY=()=>{let{state:e,setKey:n,deleteItem:t,addItem:a,preFillForm:r,resetForm:o,moveItem:l}=(0,eF.G)();(0,c.useEffect)(()=>{r()},[]);let{profileImage:d,formRef:u,handleSelectorVisibility:m,setIsCropOpen:p,isCropOpen:h,setProfileImageObject:f,setProfileImage:g}=(0,B.I)(),{data:y}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(nD,{photoURL:d,setOpenCrop:p,setPhotoURL:g,isCropOpen:h,setFile:f}),(0,i.jsx)(nL,{}),(0,i.jsxs)("div",{className:"v-center",ref:u,children:[(0,i.jsxs)(e7,{className:"center full-width pos-r",children:[(0,i.jsx)(x,{}),(0,i.jsx)(e9,{className:"v-center full-width",id:"create-marriage-biodata",children:(0,i.jsx)(e6,{className:"center",children:(0,i.jsx)(b.ii,{children:"Start creating your Biodata"})})})]}),(0,i.jsx)(eP._,{dateAdapter:eZ.y,children:(0,i.jsxs)(ne,{className:"full-width container",children:[(0,i.jsx)(nx,{}),(0,i.jsxs)(nn,{children:[y.map((e,r)=>{var o,s;return(0,i.jsxs)(na,{children:[(0,i.jsx)("p",{className:"section-name",children:e.key}),e.data.map((e,a)=>(0,i.jsxs)(nt,{className:"center",children:[(0,i.jsxs)(nr,{children:[(0,i.jsx)(eI.Z,{value:"".concat(e.key).concat(e.isMandatory?" (Required)":""),"data-id":"label",placeholder:"Enter Field Name",variant:"outlined",className:"input-label",disabled:null!==(o=e.isMandatory)&&void 0!==o&&o,onChange:e=>{n(r,a,e.target.value)}}),(0,i.jsx)(nB,{fieldData:e,sectionIndex:r,itemIndex:a})]}),(0,i.jsxs)(nd,{children:[(0,i.jsxs)(nc,{children:[(0,i.jsx)(eM.E.div,{whileHover:{scale:1.2},whileTap:{scale:.8},className:"center cursor-pointer up-icon",onClick:()=>{l(r,a,"up")},tabIndex:-1,children:(0,i.jsx)(eS.Z,{fontSize:"large",color:"action"})}),(0,i.jsx)(eM.E.div,{whileHover:{scale:1.2},whileTap:{scale:.8},className:"center cursor-pointer down-icon",onClick:()=>{l(r,a,"down")},tabIndex:-1,children:(0,i.jsx)(eS.Z,{fontSize:"large",color:"action"})})]}),(0,i.jsx)(ni,{disabled:null!==(s=e.isMandatory)&&void 0!==s&&s,type:"button",onClick:()=>{t(r,a)},className:"center",whileTap:{scale:.8},"aria-label":"Delete",tabIndex:-1,children:(0,i.jsx)(ez,{stroke:"var(--red-dirt)"})})]})]},a)),(0,i.jsx)(Y.Y,{type:"button",onClick:()=>{a(r)},whileTap:{scale:.95},className:"blue-btn",children:"+ Add More Fields"})]},r)}),(0,i.jsxs)(no,{className:"full-width",children:[(0,i.jsx)(nl,{className:"align-center"}),(0,i.jsxs)(ns,{children:[(0,i.jsx)(Y.Y,{className:"main-hero-btn",onClick:function(){if(!(0,L.G$)(y)){s.ZP.error("Please fill all the required details");return}m(!0)},"data-track-click":"true",children:"Choose a Template"}),(0,i.jsx)(Y.Y,{className:"ghost-btn center reset-button large-btn",onClick:o,"data-track-click":"true",children:"Reset Form"})]})]})]})]})})]})]})},nH=t(82151),nV=t(34914);function nJ(){let e=(0,d._)(["\n  position: fixed;\n  top: 0;\n  bottom: 0;\n  right: 0;\n  left: 0;\n  z-index: 9999;\n  background: #2d2c2cbc;\n  background-blend-mode: overlay;\n"]);return nJ=function(){return e},e}let nU=u.ZP.div.withConfig({displayName:"TemplateLoader__Wrapper",componentId:"sc-b84a69e5-0"})(nJ());var nG=()=>((0,c.useEffect)(()=>{var e;let n=null===(e=document)||void 0===e?void 0:e.querySelector("html");return n&&(n.style.overflowY="hidden"),()=>{n&&(n.style.overflowY="auto")}},[]),(0,i.jsx)(nU,{className:"center",children:(0,i.jsx)(nV.Z,{color:"var(--fair-pink)"})})),nK=t(13379),nX=t(78298),nQ=t(46066),n$=t(46719);function n0(){let e=(0,d._)(["\n  width: 95%;\n  /* max-width: 1372px; */\n  position: relative;\n\n  .slick-arrow {\n    cursor: pointer;\n  }\n\n  .slick-prev {\n    margin-right: 0.7rem;\n  }\n  .slick-next {\n    margin-left: 0.7rem;\n  }\n"]);return n0=function(){return e},e}function n1(){let e=(0,d._)(["\n  margin: 10px;\n"]);return n1=function(){return e},e}function n2(){let e=(0,d._)(["\n  height: 265px;\n  width: 188px;\n\n  "," {\n    height: 531px;\n    width: 375px;\n  }\n"]);return n2=function(){return e},e}function n3(){let e=(0,d._)(["\n  display: flex !important;\n  align-items: center;\n  justify-content: center;\n  min-height: 48px;\n  min-width: 48px;\n  max-height: 48px;\n  max-width: 48px;\n  background-color: #9566c4;\n  border: none;\n  border-radius: 50%;\n  cursor: pointer;\n  transition: filter 0.2s;\n\n  &:hover {\n    filter: brightness(80%);\n  }\n"]);return n3=function(){return e},e}let n4=u.ZP.div.withConfig({displayName:"SlickCarousel__SliderContainer",componentId:"sc-84814bd6-0"})(n0()),n5=u.ZP.div.withConfig({displayName:"SlickCarousel__TemplateItemContainer",componentId:"sc-84814bd6-1"})(n1()),n8=u.ZP.img.withConfig({displayName:"SlickCarousel__CarouselImage",componentId:"sc-84814bd6-2"})(n2(),m.sS),n7=(0,u.ZP)(eM.E.div).withConfig({displayName:"SlickCarousel__ArrowWrapper",componentId:"sc-84814bd6-3"})(n3()),n6=e=>{let{currentSlide:n,slideCount:t,...a}=e;return(0,i.jsx)(n7,{...a,"aria-hidden":"true","aria-disabled":0===n,whileTap:{scale:.95},children:(0,i.jsx)(nX.Z,{fontSize:"small",htmlColor:"var(--white)"})})},n9=e=>{let{currentSlide:n,slideCount:t,...a}=e;return(0,i.jsx)(n7,{...a,"aria-hidden":"true","aria-disabled":0===n,whileTap:{scale:.95},children:(0,i.jsx)(nK.Z,{fontSize:"small",htmlColor:"var(--white)"})})},te=Object.freeze({speed:500,infinite:!0,slidesToShow:1,slidesToScroll:1,centerMode:!0,centerPadding:"60px",arrows:!0,accessibility:!1,variableWidth:!0,adaptiveHeight:!0,autoplay:!1,responsive:[{breakpoint:768,settings:{arrows:!1}}]});var tn=()=>(0,i.jsx)(n4,{children:(0,i.jsx)(nQ.Z,{...te,className:"slider-main-class align-center",prevArrow:(0,i.jsx)(n6,{}),nextArrow:(0,i.jsx)(n9,{}),children:n$.g.filter(e=>e.isPreviewable).map(e=>(0,i.jsx)(n5,{children:(0,i.jsx)(n8,{src:e.link,alt:e.altText})},e.id))})});function tt(){let e=(0,d._)(["\n  background-color: var(--platinum);\n  overflow: hidden;\n\n  "," {\n    padding: 4rem 0 3rem 0;\n  }\n"]);return tt=function(){return e},e}function ta(){let e=(0,d._)(["\n  padding: 2.5rem 1.5rem 1rem 1.5rem;\n  h2,\n  p {\n    text-align: center;\n  }\n  p {\n    margin-top: 2rem;\n    max-width: 800px;\n  }\n"]);return ta=function(){return e},e}let tr=u.ZP.div.withConfig({displayName:"TemplateCarouselSlider__Wrapper",componentId:"sc-9ad0d6cd-0"})(tt(),m.sS),ti=u.ZP.div.withConfig({displayName:"TemplateCarouselSlider__Container",componentId:"sc-9ad0d6cd-1"})(ta());var to=()=>(0,i.jsxs)(tr,{className:"full-width v-center",children:[(0,i.jsxs)(ti,{className:"full-width container v-center",id:"marriage-biodata-formats",children:[(0,i.jsx)(b.ii,{children:"Beautifully Handcrafted Marriage Biodata Templates"}),(0,i.jsx)(b.wP,{children:"We have designed the best looking, well formatted marriage biodata formats for you to just choose and make biodata without any hassle. No need to invest time on layouts, designs and getting that perfect biodata for marriage."})]}),(0,i.jsx)(tn,{})]}),tl=t(11163),ts=t(50361),td=t.n(ts),tc=t(99378),tu=t(83977),tm=t(86650),tp=t(57632);let th=(0,tu.ZF)({apiKey:"AIzaSyCEmx6Dnb2UOW4P-zuC0Sbb8bWY6u_R3lw",authDomain:"biodatamaker-69fb8.firebaseapp.com",projectId:"biodatamaker-69fb8",storageBucket:"biodatamaker-69fb8.appspot.com",messagingSenderId:"971143288837",appId:"1:971143288837:web:5d2098f0efc86985aca46c"}),tf=async e=>{let n=(0,tm.cF)(th),t=new Date().toJSON().slice(0,10),a=(0,tm.iH)(n,"".concat("biodata-image-files/prod/","/").concat(t,"/").concat((0,tp.Z)(),"-").concat(e.name)),r=(0,tm.B0)(a,e),i=!1,o="";return await new Promise((e,n)=>{r.on("state_changed",e=>{let n=e.bytesTransferred/e.totalBytes*100;console.log("Upload is "+n+"% done")},e=>{i=!1,console.error("File upload error",e),n(e)},async()=>{console.log("Image uploaded successfully"),i=!0;try{o=await (0,tm.Jt)(a),e(null)}catch(e){console.error("Error getting download URL:",e),n(e)}})}),{isSuccess:i,downloadLink:o}};var tg=t(59997);(a=r||(r={}))[a.SetSection=0]="SetSection",a[a.SetData=1]="SetData",a[a.SetLoading=2]="SetLoading",a[a.DeleteItem=3]="DeleteItem",a[a.AddItem=4]="AddItem",a[a.AddSection=5]="AddSection",a[a.DeleteSection=6]="DeleteSection",a[a.ChangeActiveSection=7]="ChangeActiveSection",a[a.SetFormData=8]="SetFormData",a[a.MoveItem=9]="MoveItem";var tx=t(28558);function ty(e,n){switch(n.type){case r.SetLoading:return{...e,isLoading:n.payload};case r.SetData:{let{sectionIndex:t,itemIndex:a,value:r,dataType:i}=n.payload,o=[...e.data],l=o[t],s=l.data[a];return"key"===i?s.key=r:s.value=r,l.data[a]=s,o[t]=l,{...e,data:o}}case r.DeleteItem:{let{sectionIndex:t,itemIndex:a}=n.payload,r=[...e.data],i=r[t].data;return i.splice(a,1),r[t].data=i,{...e,data:r}}case r.AddItem:{let{sectionIndex:t}=n.payload,a=[...e.data],r=a[t].data;return r.push({key:"",value:""}),a[t].data=r,{...e,data:a}}case r.SetSection:{let{sectionIndex:t,value:a}=n.payload,r=[...e.data],i=r[t];return i.key=a,r[t]=i,{...e,data:r}}case r.AddSection:{let n=[...e.data];return n.push({key:"",data:[{key:"",value:""}]}),{...e,data:n}}case r.DeleteSection:{let{sectionIndex:t}=n.payload,a=[...e.data];return a.splice(t,1),{...e,data:a}}case r.ChangeActiveSection:{let{newIndex:t}=n.payload;return{...e,activeSectionIndex:t}}case r.SetFormData:return{...e,data:td()(n.payload)};case r.MoveItem:{let{sectionIndex:t,itemIndex:a,moveType:r}=n.payload,i=[...e.data],o=i[t];if("up"===r&&0!==a){let e={...o.data[a-1]};o.data[a-1]={...o.data[a]},o.data[a]=e}else if("down"===r&&a!==o.data.length-1){let e={...o.data[a+1]};o.data[a+1]={...o.data[a]},o.data[a]=e}return i[t]=o,{...e,data:i}}default:return e}}var tb=()=>{let e=function(){let e=(0,tl.useRouter)(),[n,t]=(0,c.useState)(!1),[a,r]=(0,c.useState)(!1),[i,o]=(0,c.useState)(!1),[l,d]=(0,c.useState)(null),[u,m]=(0,c.useState)(null),[p,h]=(0,c.useState)(null),[f,g]=(0,c.useState)(!1),x=(0,c.useRef)(null),y="visible"===e.query.templatemodal;function b(){localStorage.removeItem("image_url"),m(null),h(null)}async function w(n){let t="undefined"==typeof navigator?"SSR":navigator.userAgent,a=[...n],r=(0,tg.Rn)(n);if(!r.name){s.Am.error("Something went wrong, please try with a different browser or device"),g(!1);return}let i={template_id:l,d:(0,L._v)(),fd:(0,tc.hv)(a),uA:t};if(p||u){if(!p){s.Am.error("Error in uploading file"),g(!1);return}try{let e=await tf(p);if(!e.isSuccess){s.Am.error("Error in uploading image, please try again later"),g(!1);return}i.image_path=e.downloadLink}catch(e){s.Am.error("Error in uploading image, please try again later"),console.error("Error:",e),g(!1);return}}return i.utmSource=e.query.utm_source||null,i.utmMedium=e.query.utm_medium||null,i.utmCampaign=e.query.utm_campaign||null,i.utmTerm=e.query.utm_term||null,i}let v=async e=>{let n=await (0,tc.ve)("https://checkout.razorpay.com/v1/checkout.js");if(!n){console.log("Razorpay SDK failed to load.");return}let{rzp:t}=e,a="".concat("https://api.biodatamaker.app","/api/payment/verifyRzpOrder/").concat(e.id),r={key:"rzp_live_3OWf7NjUziLyR6",name:t.name,currency:t.currency,amount:t.amount,order_id:t.id,description:t.amountDesc,config:{display:{blocks:{banks:{name:"Most Used Methods",instruments:[{method:"upi"}]}},sequence:["block.banks"],preferences:{show_default_blocks:!0}}},handler:async function(n){g(!0),await fetch(a,{method:"POST",body:JSON.stringify({order_id:n.razorpay_order_id,payment_id:n.razorpay_payment_id}),headers:{"Content-Type":"application/json","Content-Security-Policy":"upgrade-insecure-requests","x-razorpay-signature":n.razorpay_signature}}),window.location.assign("/download/".concat(e.id))},modal:{ondismiss:function(){g(!1),fetch(a,{method:"POST",body:JSON.stringify({order_id:"",payment_id:"",response:null}),headers:{"Content-Type":"application/json","Content-Security-Policy":"upgrade-insecure-requests","x-razorpay-signature":""}})}}},i=new window.Razorpay(r);i.open(),i.on("payment.failed",async function(e){fetch(a,{method:"POST",body:JSON.stringify({order_id:"",payment_id:"",response:e}),headers:{"Content-Type":"application/json","Content-Security-Policy":"upgrade-insecure-requests","x-razorpay-signature":""}}),s.Am.error("Payment failed. Please try again. Contact support for help"),g(!1)}),i.on("payment.dismissed",function(){g(!1)})};async function j(e){g(!0);let n=await w(e);try{let e=await fetch("".concat("https://api.biodatamaker.app","/api/payment/init"),{method:"POST",body:JSON.stringify(n),headers:{"Content-Type":"application/json","Content-Security-Policy":"upgrade-insecure-requests"}}),t=await e.json();if(0===t.status)s.Am.error(t.message),g(!1);else{let e=t.data,{pgType:n}=e;"PHPE"==n?(window.location.assign(e.url),g(!1)):"RZPAY"==n?await v(e):(s.Am.error("Error in initializing payment gateway"),g(!1))}}catch(e){s.Am.error("Server Error"),console.error("Error:",e),g(!1)}}return{formRef:x,isPdfVisible:i,scrollToFormRef:function(){if(null!==x){var e;null===(e=x.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"start"})}},handlePdfVisibility:function(e,n){e&&(0,L.wY)(l)?j(n):o(e)},isSelectorVisible:y,handleSelectorVisibility:function(n){if(n)e.push({...e,query:{...e.query,templatemodal:"visible"}});else{let n={...e.query};delete n.templatemodal,e.push({...e,query:{...n}})}},selectedTemplate:l,handleTemplateSelection:function(e,n){null==l&&null!==e&&function(e){localStorage.setItem("form_data",JSON.stringify(td()(e)));let n=new FileReader;p?(n.readAsDataURL(p),n.addEventListener("load",()=>{localStorage.setItem("image_url",JSON.stringify(n.result)||"")})):localStorage.removeItem("image_url")}(n),d(e)},profileImage:u,handleProfileImageChange:e=>{if(e.target.files&&e.target.files[0]){let n=e.target.files[0],t=n.size/1048576;if(t>20){b(),s.Am.error("Please select an image smaller than 20MB");return}h(n);let a=URL.createObjectURL(n);m(a),r(!0)}},handleImageRemove:b,isPrimaryLoaderVisible:f,setIsCropOpen:r,isCropOpen:a,setProfileImageObject:h,setProfileImage:m,isConfirmationVisible:n,handleConfirmatiomModal:function(e){t(e)}}}(),n=function(){let[e,n]=(0,c.useReducer)(ty,tx.Y6);return{state:e,setKey:function(e,t,a){n({type:r.SetData,payload:{sectionIndex:e,itemIndex:t,value:a,dataType:"key"}})},setValue:function(e,t,a){n({type:r.SetData,payload:{sectionIndex:e,itemIndex:t,value:a,dataType:"value"}})},setLoading:function(e){n({type:r.SetLoading,payload:e})},deleteItem:function(e,t){n({type:r.DeleteItem,payload:{sectionIndex:e,itemIndex:t}})},addItem:function(e){n({type:r.AddItem,payload:{sectionIndex:e}})},setSection:function(e,t){n({type:r.SetSection,payload:{sectionIndex:e,value:t}})},addSection:function(){n({type:r.AddSection})},deleteSection:function(e){n({type:r.DeleteSection,payload:{sectionIndex:e}})},handleSectionChange:function(e){n({type:r.ChangeActiveSection,payload:{newIndex:e}})},preFillForm:function(){let e=(0,tg.zi)(null);e&&e.length>0&&n({type:r.SetFormData,payload:e})},resetForm:function(){n({type:r.SetFormData,payload:tx.Y6.data})},moveItem:function(e,t,a){n({type:r.MoveItem,payload:{sectionIndex:e,itemIndex:t,moveType:a}})}}}();return(0,i.jsxs)(B.k.Provider,{value:{...e},children:[e.isPrimaryLoaderVisible&&(0,i.jsx)(nG,{}),(0,i.jsx)(s.x7,{position:"top-right",toastOptions:{style:{background:"var(--independence)",color:"var(--ghost-white)"}}}),(0,i.jsxs)(eF.q.Provider,{value:{...n},children:[(0,i.jsxs)(l(),{children:[(0,i.jsx)("title",{children:"Free Marriage Biodata Maker | Create Biodata Online"}),(0,i.jsx)("meta",{property:"og:title",content:"Free Marriage Biodata Maker | Create Biodata Online"}),(0,i.jsx)("meta",{name:"description",content:"Create a beautiful marriage biodata in minutes! Easy to use, fully customizable, elegantly designed templates. Just add your details, choose a template, and download your biodata PDF"}),(0,i.jsx)("meta",{property:"og:description",content:"Create a beautiful marriage biodata in minutes! Easy to use, fully customizable, elegantly designed templates. Just add your details, choose a template, and download your biodata PDF"}),(0,i.jsx)("meta",{property:"og:image",content:"https://res.cloudinary.com/drmmw7mn8/image/upload/v1680347748/homepage_ytnqu8.png"}),(0,i.jsx)("meta",{name:"twitter:title",content:"Free Marriage Biodata Maker | Create Biodata Online"}),(0,i.jsx)("meta",{name:"twitter:description",property:"og:description",itemProp:"description",content:"Create a beautiful marriage biodata in minutes! Easy to use, fully customizable, elegantly designed templates. Just add your details, choose a template, and download your biodata PDF"}),(0,i.jsx)("link",{rel:"canonical",href:"https://biodatamaker.app/"})]}),(0,i.jsxs)("div",{className:"pos-r",children:[(0,i.jsx)(x,{isClipped:!0}),(0,i.jsx)(nH.Z,{}),(0,i.jsx)(ef,{})]}),(0,i.jsx)(to,{}),(0,i.jsx)(nY,{}),(0,i.jsx)(eC,{}),(0,i.jsx)(O,{}),(0,i.jsx)(I,{}),(0,i.jsx)(R.Z,{})]})]})}}},function(e){e.O(0,[714,106,594,679,447,873,774,888,179],function(){return e(e.s=48312)}),_N_E=e.O()}]);