(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[91],{5688:function(e,t,n){"use strict";var i=n(4836);t.Z=void 0;var r=i(n(4938)),a=n(5893),o=(0,r.default)((0,a.jsx)("path",{d:"M19 11H7.83l4.88-4.88c.39-.39.39-1.03 0-1.42a.9959.9959 0 0 0-1.41 0l-6.59 6.59c-.39.39-.39 1.02 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L7.83 13H19c.55 0 1-.45 1-1s-.45-1-1-1z"}),"ArrowBackRounded");t.Z=o},75:function(e,t,n){"use strict";var i=n(4836);t.Z=void 0;var r=i(n(4938)),a=n(5893),o=(0,r.default)((0,a.jsx)("path",{d:"M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42.39.39 1.02.39 1.41 0l6.59-6.59c.39-.39.39-1.02 0-1.41l-6.58-6.6a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1z"}),"ArrowForwardRounded");t.Z=o},7237:function(e,t,n){"use strict";n.d(t,{ZP:function(){return N}});var i=n(3366),r=n(7462),a=n(4780),o=n(3935),s=n(948),l=n(1657),c=n(5408),d=n(8700),u=n(9766),h=n(3546),x=n(3703),m=function(){for(var e,t,n=0,i="";nNumber(e.replace("px","")),y={flexBasis:"100%",width:0,margin:0,padding:0},v=e=>{let{classes:t}=e;return(0,a.Z)({root:["root"]},f,t)},w=(0,s.ZP)("div",{name:"MuiMasonry",slot:"Root",overridesResolver:(e,t)=>[t.root]})(({ownerState:e,theme:t})=>{let n={width:"100%",display:"flex",flexFlow:"column wrap",alignContent:"flex-start",boxSizing:"border-box","& > *":{boxSizing:"border-box"}},i={};if(e.isSSR){let a={},o=Z(t.spacing(e.defaultSpacing));for(let t=1;t<=e.defaultColumns;t+=1)a[`&:nth-of-type(${e.defaultColumns}n+${t%e.defaultColumns})`]={order:t};return i.height=e.defaultHeight,i.margin=-(o/2),i["& > *"]=(0,r.Z)({},n["& > *"],a,{margin:o/2,width:`calc(${(100/e.defaultColumns).toFixed(2)}% - ${o}px)`}),(0,r.Z)({},n,i)}let a=(0,c.P$)({values:e.spacing,breakpoints:t.breakpoints.values}),o=(0,d.hB)(t);n=(0,u.Z)(n,(0,c.k9)({theme:t},a,t=>{let n;if(("string"!=typeof t||Number.isNaN(Number(t)))&&"number"!=typeof t)n=t;else{let e=Number(t);n=(0,d.NA)(o,e)}return(0,r.Z)({margin:`calc(0px - (${n} / 2))`,"& > *":{margin:`calc(${n} / 2)`}},e.maxColumnHeight&&{height:"number"==typeof n?Math.ceil(e.maxColumnHeight+Z(n)):`calc(${e.maxColumnHeight}px + ${n})`})}));let s=(0,c.P$)({values:e.columns,breakpoints:t.breakpoints.values});return n=(0,u.Z)(n,(0,c.k9)({theme:t},s,e=>{let t=Number(e),n=`${(100/t).toFixed(2)}%`,i=("string"!=typeof a||Number.isNaN(Number(a)))&&"number"!=typeof a?"0px":(0,d.NA)(o,Number(a));return{"& > *":{width:`calc(${n} - ${i})`}}})),"object"==typeof a&&(n=(0,u.Z)(n,(0,c.k9)({theme:t},a,(e,t)=>{if(t){let n=Number(e),i=Object.keys(s).pop(),r=(0,d.NA)(o,n),a="object"==typeof s?s[t]||s[i]:s,l=`${(100/a).toFixed(2)}%`;return{"& > *":{width:`calc(${l} - ${r})`}}}return null}))),n}),_=p.forwardRef(function(e,t){let n=(0,l.Z)({props:e,name:"MuiMasonry"}),{children:a,className:s,component:c="div",columns:d=4,spacing:u=1,defaultColumns:g,defaultHeight:f,defaultSpacing:_}=n,N=(0,i.Z)(n,j),k=p.useRef(),[M,C]=p.useState(),S=!M&&f&&void 0!==g&&void 0!==_,[A,$]=p.useState(S?g-1:0),R=(0,r.Z)({},n,{spacing:u,columns:d,maxColumnHeight:M,defaultColumns:g,defaultHeight:f,defaultSpacing:_,isSSR:S}),E=v(R),F=e=>{if(!k.current||!e||0===e.length)return;let t=k.current,n=k.current.firstChild,i=t.clientWidth,r=n.clientWidth;if(0===i||0===r)return;let a=window.getComputedStyle(n),s=Z(a.marginLeft),l=Z(a.marginRight),c=Math.round(i/(r+s+l)),d=Array(c).fill(0),u=!1;t.childNodes.forEach(e=>{if(e.nodeType!==Node.ELEMENT_NODE||"line-break"===e.dataset.class||u)return;let t=window.getComputedStyle(e),n=Z(t.marginTop),i=Z(t.marginBottom),r=Z(t.height)?Math.ceil(Z(t.height))+n+i:0;if(0===r){u=!0;return}for(let t=0;t{C(Math.max(...d)),$(c>0?c-1:0)})};(0,h.Z)(()=>{let e;if("undefined"==typeof ResizeObserver)return;let t=new ResizeObserver(()=>{e=window.requestAnimationFrame(F)});return k.current&&k.current.childNodes.forEach(e=>{t.observe(e)}),()=>{e&&window.cancelAnimationFrame(e),t&&t.disconnect()}},[d,u,a]);let H=(0,x.Z)(t,k),P=Array(A).fill("").map((e,t)=>(0,b.jsx)("span",{"data-class":"line-break",style:(0,r.Z)({},y,{order:t+1})},t));return(0,b.jsxs)(w,(0,r.Z)({as:c,className:m(E.root,s),ref:H,ownerState:R},N,{children:[a,P]}))});var N=_},624:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/despre-noi",function(){return n(6993)}])},6993:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return Z},default:function(){return y}});var i=n(5893),r=n(7294),a=n(7357),o=n(5861),s=n(6886),l=n(5582),c=n(7237),d=n(5688),u=n(75),h=n(9008),x=n.n(h),m=n(5675),p=n.n(m),g=n(7048),f=n(497),b=n(1575),j=n(1163),Z=!0;function y(e){let{data:t}=e,n=(0,j.useRouter)(),{secondary_pages:h}=t,m=e=>(0,i.jsx)(a.Z,{sx:{display:"block",width:"2px",height:{xs:"75px",md:"100px"},margin:"0 auto",background:e=>e.palette.primary.main,background:e=>"linear-gradient(0deg, transparent 0%, ".concat(e.palette.primary.main," 100%);")}}),Z=e=>(0,i.jsxs)(a.Z,{sx:{mt:4},children:[(0,i.jsx)(b.M,{children:(0,i.jsx)(m,{})}),(0,i.jsx)(b.M,{delay:.075,children:(0,i.jsx)(o.Z,{variant:"heading",sx:{display:"block",fontSize:"1.75rem",margin:e=>e.spacing(2,0,4)},children:e.title})}),(0,i.jsx)(b.M,{delay:.15,children:(0,i.jsx)(o.Z,{variant:"body1",sx:{color:"white",lineHeight:1.5,fontSize:"1.1rem",fontWeight:400},children:e.content})})]});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(x(),{children:[(0,i.jsx)("title",{children:"".concat(t.about_page.meta_title," | ").concat("Fermele Moraru")}),(0,i.jsx)("meta",{property:"og:description",content:t.about_page.meta_description}),(0,i.jsx)("meta",{name:"description",content:t.about_page.meta_description})]}),(0,i.jsxs)(f.Z,{meta:t.meta,children:[(0,i.jsx)(a.Z,{children:(0,i.jsx)(g.Z,{image:"".concat("https://api.fermelemoraru.ro/","/storage/").concat(t.about_page.who_image),heading:t.about_page.who_heading,title:t.about_page.who_title,illustration_right:"".concat("https://api.fermelemoraru.ro/","/storage/").concat(t.about_page.who_illustration),fullHeight:!0,extraPaddingTop:!0,hideSides:!0,fadeBottom:!0,tabs:[{title:"ro"===n.locale?"Despre noi":"About us",id:-1,active:!0},...h.map(e=>({id:e.slug,...e}))],tabOnClick:e=>{n.push("/despre-noi".concat(-1!==e?"/".concat(e):""))}})}),(0,i.jsxs)(a.Z,{sx:{position:"relative"},children:[(0,i.jsxs)(a.Z,{sx:{width:"100%",height:"100vh",minHeight:"1000px",position:"absolute",bottom:0,left:0,zIndex:-2},children:[" ",(0,i.jsx)(p(),{src:"".concat("https://api.fermelemoraru.ro/","/storage/").concat(t.about_page.background_image),alt:"",fill:!0,objectFit:"cover",objectPosition:"top center"})]}),(0,i.jsx)(a.Z,{sx:{background:e=>"linear-gradient(to bottom, ".concat(e.palette.neutral.main,", ").concat(e.palette.neutral.main).concat((0,b.U)(40),")"),width:"100%",height:"100vh",minHeight:"1000px",position:"absolute",bottom:0,left:0,zIndex:-1}}),(0,i.jsx)(l.Z,{maxWidth:"sm",sx:{pt:{xs:4,md:8,lg:12}},children:(0,i.jsx)(a.Z,{sx:{textAlign:"center",mb:{xs:2,md:4}},children:(0,i.jsx)(b.M,{children:(0,i.jsx)(o.Z,{variant:"title",component:"h3",children:t.about_page.values_title})})})}),(0,i.jsxs)(l.Z,{maxWidth:"md",sx:{pb:{xs:4,md:8,lg:12}},children:[(0,i.jsx)(a.Z,{sx:{textAlign:"center",mb:{xs:3,md:6}},children:[void 0,void 0,void 0].map((e,n)=>(0,i.jsx)(Z,{title:t.about_page["value_".concat(n%3+1,"_title")],content:t.about_page["value_".concat(n%3+1,"_description")]},n+1))}),(0,i.jsx)(e=>{let{images:t}=e,n=e=>{let{image:t,mt:n}=e;return(0,i.jsx)(a.Z,{sx:{width:"100%",height:"auto"},children:(0,i.jsx)(b.M,{children:(0,i.jsx)(a.Z,{sx:{width:"100%",aspectRatio:"1 / 1",position:"relative",mt:n?"100px":0},children:(0,i.jsx)(p(),{src:"".concat("https://api.fermelemoraru.ro/","/storage/").concat(t),alt:"",fill:!0,objectFit:"cover",sizes:"300px"})})})})};return(0,i.jsx)(a.Z,{sx:{display:"flex",justifyContent:"center",maxWidth:"680px",margin:"0 auto",pt:5},children:(0,i.jsx)(c.ZP,{columns:2,spacing:5,children:t.map((e,t)=>(0,i.jsx)(n,{image:e,mt:1==t},t))})})},{images:t.about_page.images})]}),(0,i.jsxs)(l.Z,{maxWidth:"md",sx:{pb:{xs:4,md:8,lg:12}},children:[(0,i.jsx)(a.Z,{sx:{textAlign:"center",mb:{xs:2,md:4}},children:(0,i.jsx)(b.M,{children:(0,i.jsx)(o.Z,{variant:"title",children:t.about_page.facts_title})})}),(0,i.jsx)(b.M,{delay:.075,children:(0,i.jsx)(m,{})}),(0,i.jsx)(e=>{let{facts:t}=e,[n,l]=r.useState(0);if(0==t.length)return(0,i.jsx)(i.Fragment,{});let c=t[n];return(0,i.jsxs)(a.Z,{sx:{textAlign:"center"},children:[(0,i.jsx)(()=>{function e(e){return{width:"50px",height:"50px",border:e=>"2px solid ".concat(e.palette.primary.main),borderRadius:"50%",display:"inline-flex",alignItems:"center",justifyContent:"center",mx:{xs:1,md:2},background:t=>e?t.palette.primary.main:"transparent",color:t=>e?"white":t.palette.primary.main,cursor:"pointer",transitionDuration:"0.2s","&:hover":{background:t=>e?t.palette.primary.main:"#ffffff".concat((0,b.U)(10))}}}return(0,i.jsx)(b.M,{children:(0,i.jsxs)(a.Z,{sx:{mt:{xs:4,md:6},mb:{xs:4,md:6},display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,i.jsx)(a.Z,{onClick:()=>{0!=n&&l(n-1)},sx:Object.assign(e(!1),{opacity:0==n?.35:1,borderColor:"white",color:"white",...0==n&&{pointerEvents:"none"}}),children:(0,i.jsx)(d.Z,{})},"btn-back"),[...Array(t.length)].map((t,r)=>(0,i.jsx)(a.Z,{onClick:()=>{l(r)},sx:e(r==n),children:r+1},"btn-".concat(r+1))),(0,i.jsx)(a.Z,{onClick:()=>{n!=t.length-1&&l(n+1)},sx:Object.assign(e(!1),{opacity:n==t.length-1?.35:1,borderColor:"white",color:"white",...n==t.length-1&&{pointerEvents:"none"}}),children:(0,i.jsx)(u.Z,{})},"btn-next")]})})},{}),(0,i.jsx)(b.M,{delay:.1,children:(0,i.jsx)(o.Z,{variant:"title",children:c.content})}),c.items.length>0&&(0,i.jsx)(s.ZP,{container:!0,sx:{mb:{xs:5,md:10},mt:3},spacing:2,children:c.items.map((e,t)=>(0,i.jsxs)(s.ZP,{item:!0,xs:6,md:3,children:[(0,i.jsx)(b.M,{delay:.3+.1*t,children:(0,i.jsx)(a.Z,{sx:{height:"75px",aspectRation:"1 / 1",position:"relative"},children:(0,i.jsx)(p(),{src:"".concat("https://api.fermelemoraru.ro/","/storage/").concat(e.illustration),alt:e.title,fill:!0,objectFit:"contain",objectPosition:"center center"})})}),(0,i.jsx)(b.M,{delay:.3+.1*t+.05,children:(0,i.jsx)(o.Z,{variant:"body1",sx:{color:"white",mt:2},children:e.title})})]},t))})]},n)},{facts:t.facts})]})]})]})]})}}},function(e){e.O(0,[294,803,917,774,888,179],function(){return e(e.s=624)}),_N_E=e.O()}]);