"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[673],{9776:function(e,t,n){n.d(t,{Z:function(){return c}});var a=n(2560),l=n(1163),i=n(7294),s=function(){var e=(0,l.useRouter)(),t=(0,i.useState)(!1),n=t[0],a=t[1];return(0,i.useEffect)((function(){var t=!0,n=function(n,l){l.shallow;n!==e.asPath&&t&&(a(!0),document.documentElement.style="scroll-behavior: auto")},l=function(e,n){n.shallow;t&&(a(!1),document.documentElement.style="scroll-behavior: smooth")};return e.events.on("routeChangeStart",n),e.events.on("routeChangeComplete",l),e.events.on("routeChangeError",l),function(){t=!1,e.events.off("routeChangeStart",n),e.events.off("routeChangeComplete",l),e.events.off("routeChangeError",l)}}),[]),n},o=n(1429),r=n(5893);function c(e){var t=e.children,n=e.className,i=s(),c=(0,l.useRouter)();return(0,r.jsx)(a.m.div,{initial:"initial",animate:"animate",exit:"exit",variants:(0,o.Xc)(i),className:n,children:t},c.asPath)}},5730:function(e,t,n){var a=n(9008),l=n.n(a),i=n(1163),s=(n(7294),n(5893)),o=function(e){var t=e.title,n=e.keywords,a=e.description,o=void 0===a?"":a,r=e.imgContent,c=e.ogUrl,u=e.canocicalUrl,d=(0,i.useRouter)();return(0,s.jsxs)(l(),{children:[(0,s.jsx)("title",{children:t}),(0,s.jsx)("meta",{name:"AUTHOR",content:"mediaslide.com"}),(0,s.jsx)("meta",{name:"copyright",content:"mediaslide.com"}),o.length>1?(0,s.jsx)("meta",{name:"description",content:o}):null,(0,s.jsx)("meta",{name:"keywords",content:n}),(0,s.jsx)("meta",{property:"og:title",content:t}),(0,s.jsx)("meta",{property:"og:type",content:"article"}),(0,s.jsx)("meta",{property:"og:image",content:r}),(0,s.jsx)("meta",{property:"og:url",content:c||"https://www.metropolitanmodels.com"+d.asPath}),o.length>1?(0,s.jsx)("meta",{property:"og:description",content:o}):null,(0,s.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,s.jsx)("meta",{name:"twitter:title",content:t}),o.length>1?(0,s.jsx)("meta",{name:"twitter:description",content:o}):null,(0,s.jsx)("meta",{name:"twitter:image",content:r}),(0,s.jsx)("link",{rel:"canonical",href:u||"https://www.metropolitanmodels.com"+d.asPath})]})};o.defaultProps={title:"",keywords:"",description:"",imgContent:"https://www.metropolitanmodels.com/logo.jpg"},t.Z=o},672:function(e,t,n){n.d(t,{Z:function(){return z}});var a=n(1163),l=n(1664),i=n.n(l),s=n(8418),o=n(5893),r=function(e){var t=e.newsNavlinks,n=(0,a.useRouter)(),l=(0,s.Z)();return(0,o.jsx)("div",{className:"flex items-center lg:justify-center w-full overflow-x-auto mt-[26px]",children:(0,o.jsx)("div",{className:"flex items-center lg:justify-center gap-x-8 md:gap-x-10 lg:gap-x-12 xl:gap-x-[50px] w-full px-2 lg:px-0",children:t.map((function(e,t){return(0,o.jsx)(i(),{href:null===e||void 0===e?void 0:e.link,children:(0,o.jsx)("a",{className:"whitespace-nowrap NavHover uppercase text-[12px] transition-all duration-300 ".concat(n.asPath===e.link?null===l||void 0===l?void 0:l.font_navbar_news_category_active:l.font_navbar_news_category_link),children:e.text})},t)}))})})},c=n(7294),u=n(4518),d=n(7387),m=function(){var e=(0,c.useContext)(d.P),t=e.setClickedLetter,n=e.letterModelIndex,a=e.setIsSorted,l=(0,s.Z)();return(0,o.jsx)("div",{className:"flex items-center sm:justify-center overflow-x-auto w-full gap-x-[16px] lg:gap-x-5 xl:gap-x-6 ".concat(null===l||void 0===l?void 0:l.margin_top),children:null===u.WT||void 0===u.WT?void 0:u.WT.split("").map((function(e,i){return(0,o.jsx)("button",{onClick:function(){a(!0),t(e)},className:"transition-all duration-200 disabled:opacity-40 ".concat(l.font_modellist_letters," ").concat(n[e]>=0?"":"opacity-50 pointer-events-none"),children:e},i)}))})},x=function(e){var t=e.children,n=(0,s.Z)();return(0,o.jsx)("h1",{className:"text-center w-fulltext-black ".concat(null===n||void 0===n?void 0:n.font_navbar_title," uppercase"),children:t})},p=x,h=function(e){var t,n,l,i,r=e.model,c=(0,s.Z)(),u=((0,a.useRouter)(),{sizeName:"uppercase inline-block w-max ".concat(c.font_measuremnt_left_text),sizeValue:"uppercase inline-block w-max ".concat(c.font_measuremnt_right_text)}),d=null===(t=r.model_custom_fields)||void 0===t?void 0:t["Talent name"];return(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"mt-9 sm:mt-[41px] lg:mt-[45px] relative text-center",children:(0,o.jsxs)("div",{className:"relative inline-block",children:[(0,o.jsx)(p,{className:"relative inline-block",children:r.nickname}),(0,o.jsx)("p",{className:"inline-block absolute ".concat(null===c||void 0===c?void 0:c.instagram_followers_from_bottom," left-[calc(100%+14px)] w-max"),children:(null===r||void 0===r||null===(n=r.instagram)||void 0===n?void 0:n.username)&&(0,o.jsxs)("a",{target:"_blank",rel:"noopener",href:"https://instagram.com/".concat(null===r||void 0===r||null===(l=r.instagram)||void 0===l?void 0:l.username),className:"flex gap-x-[6px] ".concat(c.font_model_profile_instagram_followers),children:[(0,o.jsx)("img",{className:"w-3 h-3",src:"/icons/instagram-social.svg",alt:"Instagram",width:"12",height:"12"}),(0,o.jsxs)("span",{className:"flex items-center gap-x-1",children:[(i=r.instagram.followed_by,Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:0}).format(parseInt(i)))," ",(0,o.jsx)("span",{className:"hidden sm:block",children:"FOLLOWERS"})]})]})})]})}),!!d&&(0,o.jsx)("p",{className:"text-xs leading-[14.58px] ".concat(c.font_model_profile_custom_feild_skill," text-center mt-2"),children:d}),(0,o.jsxs)("div",{className:"w-full overflow-x-auto ".concat(d?"mt-[10px]":null===c||void 0===c?void 0:c.margin_top," flex items-center md:justify-center gap-x-5 sm:gap-x-6 lg:gap-x-[25px]"),children:[(null===r||void 0===r?void 0:r.height_eur)&&(0,o.jsxs)("p",{className:"w-max flex items-center gap-x-1",children:[(0,o.jsx)("span",{className:u.sizeName,children:"Height"}),(0,o.jsxs)("span",{className:u.sizeValue,children:[" ",(null===r||void 0===r?void 0:r.height_eur)&&(null===r||void 0===r?void 0:r.height_eur)+" - ",(null===r||void 0===r?void 0:r.height_usa)&&(null===r||void 0===r?void 0:r.height_usa)]})]}),(null===r||void 0===r?void 0:r.bust_eur)&&(0,o.jsxs)("p",{className:"w-max flex items-center gap-x-1",children:[(0,o.jsxs)("span",{className:u.sizeName,children:["2"===(null===r||void 0===r?void 0:r.gender)?"Chest":"Bust"," "]}),(0,o.jsxs)("span",{className:u.sizeValue,children:[" ",(null===r||void 0===r?void 0:r.bust_eur)&&(null===r||void 0===r?void 0:r.bust_eur)+" - ",(null===r||void 0===r?void 0:r.bust_usa)&&(null===r||void 0===r?void 0:r.bust_usa)]})]}),(null===r||void 0===r?void 0:r.waist_eur)&&(0,o.jsxs)("p",{className:"w-max flex items-center gap-x-1",children:[(0,o.jsx)("span",{className:u.sizeName,children:"Waist "})," ",(0,o.jsxs)("span",{className:u.sizeValue,children:[" ",(null===r||void 0===r?void 0:r.waist_eur)&&(null===r||void 0===r?void 0:r.waist_eur)+" - ",(null===r||void 0===r?void 0:r.waist_usa)&&(null===r||void 0===r?void 0:r.waist_usa)]})]}),(null===r||void 0===r?void 0:r.hips_eur)&&(0,o.jsxs)("p",{className:"w-max flex items-center gap-x-1",children:[(0,o.jsx)("span",{className:u.sizeName,children:"Hips "})," ",(0,o.jsxs)("span",{className:u.sizeValue,children:[" ",(null===r||void 0===r?void 0:r.hips_eur)&&(null===r||void 0===r?void 0:r.hips_eur)+" - ",(null===r||void 0===r?void 0:r.hips_usa)&&(null===r||void 0===r?void 0:r.hips_usa)]})]}),(null===r||void 0===r?void 0:r.hair)&&(0,o.jsxs)("p",{className:"w-max flex items-center gap-x-1",children:[(0,o.jsx)("span",{className:u.sizeName,children:"hair color"})," ",(0,o.jsxs)("span",{className:u.sizeValue,children:[" ",(null===r||void 0===r?void 0:r.hair)&&(null===r||void 0===r?void 0:r.hair)]})]}),(null===r||void 0===r?void 0:r.eyes)&&(0,o.jsxs)("p",{className:"w-max flex items-center gap-x-1",children:[(0,o.jsx)("span",{className:u.sizeName,children:"Eyes "}),(0,o.jsx)("span",{className:u.sizeValue,children:(null===r||void 0===r?void 0:r.eyes)&&(null===r||void 0===r?void 0:r.eyes)})]}),(null===r||void 0===r?void 0:r.shoes_eur)&&(0,o.jsxs)("p",{className:"w-max flex items-center gap-x-1",children:[(0,o.jsx)("span",{className:u.sizeName,children:"Shoes "})," ",(0,o.jsxs)("span",{className:u.sizeValue,children:[" ",(null===r||void 0===r?void 0:r.shoes_eur)&&(null===r||void 0===r?void 0:r.shoes_eur)+" - ",(null===r||void 0===r?void 0:r.shoes_usa)&&(null===r||void 0===r?void 0:r.shoes_usa)]})]})]})]})},v=n(1190),f=n(7482),g=n(1429),j=function(e){var t=e.small,n=e.onClick,a=e.black;return(0,o.jsxs)("button",{onClick:n,className:"relative z-50 flex flex-col justify-between ".concat(t?"w-[20px] h-[14px]":"w-[25px] h-[15px]","  cursor-pointer "),children:[(0,o.jsx)("span",{className:"absolute top-1/2 transform -translate-y-1/2  ".concat(a?"bg-[#606060]":"bg-white"," h-[2px] rotate-45 rounded-none w-full transition-all duration-500")}),(0,o.jsx)("span",{className:"absolute opacity-0 top-1/2 transform  -translate-y-1/2 w-full -translate-x-full ".concat(a?"bg-[#606060]":"bg-white","  h-[2px] rounded transition-all duration-500")}),(0,o.jsx)("span",{className:"absolute bottom-1/2 transform translate-y-1/2 ".concat(a?"bg-[#606060]":"bg-white","   transition-all duration-500 h-[2px] rounded-none -rotate-45 w-full")})]})},w=n(1994),b=function(e){var t=e.hambrg,n=e.setHambrg,l=(0,c.useState)(u.Hj)[0],s=(0,c.useState)(null),r=s[0],d=s[1],m=(0,a.useRouter)(),x=(0,c.useContext)(w.S),p=x.setSearchOpen,h=x.setPopupActive,b=(0,u.if)(m.asPath),N=(0,c.useCallback)((function(e){m.pathname===e&&(n(!1),console.log(m.pathname,e))}),[m.pathname,n]),k=(0,c.useMemo)((function(){return l.findIndex((function(e){return(0,u.Hd)(m.pathname,[e.routeText])}))}),[m.pathname,l]);(0,c.useEffect)((function(){-1!==k&&(0,u.Hd)(m.pathname)?d(k):d(null)}),[k,m.pathname]);var _=(0,c.useCallback)((function(e){return b?b===e?"text-black":"text-[#C4C4C4]":"text-black"}),[b]),y=(0,c.useMemo)((function(){var e=["urban/men","urban/women"],t=l.reduce((function(t,n){return e.some((function(e){var a;return null===(a=n.subMenu)||void 0===a?void 0:a.some((function(n,a){return!(n.routeText!==e||!m.pathname.includes(e))&&(t.push({childSubMenuIndex:a,keyword:e}),!0)}))})),t}),[]);return t.length>0?t:null}),[m.pathname,l]);(0,c.useEffect)((function(){var e=function(){return n(!1)};return m.events.on("routeChangeComplete",e),function(){return m.events.off("routeChangeComplete",e)}}),[m.events,n]);var C=(0,c.useCallback)((function(e,t){"Search"===e.text?(p(!0),n(!1),h(!1)):e.subMenu&&d(r===t?null:t)}),[p,n,r]);return(0,o.jsx)("div",{className:t?"\nfixed top-0 bg-white perspective-10 h-screen opacity-1 transition-all duration-500 translate-x-0 left-0 w-screen overflow-y-scroll lg:hidden":"\n  fixed top-0 perspective-10 w-screen h-screen pointer-events-none opacity-0 transition-all duration-500 left-0 lg:hidden ",children:(0,o.jsxs)("div",{className:"w-full px-5 md:px-10",children:[(0,o.jsx)("div",{className:"absolute top-[26px] sm:top-[30px] left-5 md:left-10",children:(0,o.jsx)(j,{black:!0,onClick:function(){return n(!1)}})}),(0,o.jsx)("div",{className:"h-[100dvh] flex items-center justify-center",children:(0,o.jsxs)("div",{className:"flex flex-col items-center justify-center gap-y-2",children:[null===l||void 0===l?void 0:l.map((function(e,t){return(0,o.jsxs)("div",{className:"relative h-full text-center text-sm uppercase leading-[17.5px] font-gilroyExtraBold ".concat(_(e.routeText)),children:[null!==e&&void 0!==e&&e.link?(0,o.jsx)(i(),{href:null===e||void 0===e?void 0:e.link,children:(0,o.jsx)("a",{onClick:function(){return N(e.link)},children:null===e||void 0===e?void 0:e.text})}):(0,o.jsx)("div",{onClick:function(){return C(e,t)},children:(0,o.jsx)("p",{children:e.text})}),(0,o.jsx)(v.M,{children:r===t&&(0,o.jsx)(f.E.ul,{variants:g.Fr,initial:"hidden",animate:"show",exit:"hidden",className:"flex flex-col gap-y-3 mt-4 mb-3",children:e.subMenu&&e.subMenu.map((function(e,t){var n,a;return(0,o.jsxs)("li",{className:"text-[14px] leading-[16.98px]  text-black uppercase ".concat(m.asPath===e.link||m.asPath.includes(e.link)?"font-gilroyExtraBold":"font-gilroyMedium"),children:[null!==e&&void 0!==e&&e.link?(0,o.jsx)(i(),{href:e.link,children:(0,o.jsx)("a",{onClick:function(){return N(e.link)},children:e.text})}):(0,o.jsx)("div",{onClick:function(){m.asPath!==e.subLink&&m.push(e.subLink)},className:"text-[14px] leading-[16.98px]  text-black cursor-pointer uppercase ".concat((null===y||void 0===y||null===(n=y[0])||void 0===n?void 0:n.keyword)===e.routeText?"font-gilroyExtraBold":"font-gilroyMedium"),children:e.text}),(null===y||void 0===y||null===(a=y[0])||void 0===a?void 0:a.childSubMenuIndex)===t&&(0,o.jsx)(v.M,{children:(0,o.jsx)(f.E.ul,{variants:g.Fr,initial:"hidden",animate:"show",exit:"hidden",className:"flex flex-col gap-y-3 mt-3",children:(null===e||void 0===e?void 0:e.childSubMenu)&&(null===e||void 0===e?void 0:e.childSubMenu.map((function(e,t){return(0,o.jsx)("li",{className:"text-[14px] leading-[16.98px] text-black capitalize ".concat(m.asPath===e.link||m.asPath.includes(e.link)?"font-gilroyExtraBold":"font-gilroyMedium"),children:(0,o.jsx)(i(),{href:e.link,children:(0,o.jsx)("a",{onClick:function(){return N(e.link)},children:e.text})})},t)})))})})]},t)}))})})]},t)})),(0,o.jsx)("p",{className:"text-sm uppercase leading-[17.5px] font-gilroyExtraBold ".concat(_("")),children:(0,o.jsx)("a",{rel:"noopener",href:"makers"===b?"https://www.instagram.com/metropolitanmodelsgroup/":"mmanagement"===b?"https://www.instagram.com/mmanagementmodels/":"metropolitan"===b?"https://www.instagram.com/metropolitanmodelsgroup/":"urban"===b?"https://www.instagram.com/UrbanModelMgmt/":"https://www.instagram.com/metropolitanmodelsgroup/",target:"_blank",children:"Instagram"})})]})})]})})},N=n(1979),k=function(e){var t=e.logo,n=(0,N.Z)().width,l=(0,a.useRouter)(),s=(0,c.useState)(!1),r=s[0],d=s[1];(0,c.useEffect)((function(){var e=u._8.find((function(e){return l.asPath.includes(e.link)}));d((null===e||void 0===e?void 0:e.text)===(null===t||void 0===t?void 0:t.text))}),[l.asPath,null===t||void 0===t?void 0:t.text]);var m=(0,c.useMemo)((function(){return n>=1280?null===t||void 0===t?void 0:t.heightXL:n>=1024?null===t||void 0===t?void 0:t.heightLG:n>=640?null===t||void 0===t?void 0:t.heightSM:null===t||void 0===t?void 0:t.heightXS}),[n,t]);return(0,o.jsx)(i(),{href:t.routeLink,children:(0,o.jsx)("a",{title:t.text,children:(0,o.jsx)("img",{style:{height:m},className:"w-auto h-full cursor-pointer top-0 left-1/2 -translate-x-1/2 absolute ".concat(r?"opacity-1":"opacity-0"," transition-[opacity] duration-300 ").concat(r?"z-10":"z-[-1]"),src:t.path,alt:t.text})})})},_=n(5732),y=n(4578),C=n(7406),S=n(5117),z=function(e){var t=e.newsNavlinks,n=e.letterFilter,l=e.heading,i=e.model,s=(0,a.useRouter)(),d=(0,c.useContext)(w.S),p=d.hambrg,v=d.setHambrg,g=d.searchOpen,j=d.setSearchOpen,z=d.popupActive,E=d.setSearchQuery,M=(0,N.Z)().width,P=(0,c.useRef)();(0,c.useEffect)((function(){document.body.style.overflow=p?"hidden":"auto"}),[p]),(0,S.Z)((function(){E(""),j(!1),v(!1)})),(0,c.useEffect)((function(){E(""),j(!1)}),[s.pathname]),(0,c.useEffect)((function(){g&&P.current&&P.current.focus()}),[g]);var R="\n  fixed top-0 left-0 w-screen h-screen bg-white opacity-1 transition-all duration-500 translate-x-0 z-[999] ".concat(z?"":"overflow-auto");var Z=(0,_.Z)((function(e){var t=e.target.value;E(t)}),500);return(0,o.jsx)("header",{children:(0,o.jsxs)("nav",{className:"fixed top-0 left-0 w-full ".concat("/"===s.pathname||"/contacts"===s.pathname||"/become"===s.pathname?"h-auto":"h-[135px]"," sm:h-[154px] lg:h-[166px] px-5 md:px-10 lg:px-[220px] bg-opacity-[95%] bg-white z-10"),children:[(0,o.jsxs)("div",{className:"w-full h-full flex flex-col  ".concat("/"===s.pathname||"/contacts"===s.pathname||"/become"===s.pathname?"pt-6 sm:pt-[52px] lg:pt-[56px]":"pt-6 sm:pt-[30px]"," ").concat(("/"===s.pathname||"/contacts"===s.pathname||"/become"===s.pathname)&&M<=640&&"pb-[56px]"),children:[(0,o.jsx)("div",{className:"flex w-full justify-center",children:(0,o.jsxs)("div",{className:"flex flex-col justify-center items-center w-full",children:[(0,o.jsx)("div",{className:"flex items-center justify-center text-center w-full relative ",children:null===u._8||void 0===u._8?void 0:u._8.map((function(e){return(0,o.jsx)(k,{logo:e},e.link)}))}),!!l&&(0,o.jsx)("div",{className:"mt-9 sm:mt-[41px] lg:mt-[45px]",children:(0,o.jsx)(x,{children:l})})]})}),(0,o.jsx)("div",{className:"xl:hidden absolute top-[26px] sm:top-[30px] left-5 md:left-10",children:(0,o.jsxs)("div",{onClick:function(){return v(!p)},className:"relative flex flex-col justify-between h-[18px] cursor-pointer w-[30px]",children:[(0,o.jsx)("span",{className:"w-full h-[2px] rounded-full  bg-black"}),(0,o.jsx)("span",{className:"w-full h-[2px] rounded-full bg-black"}),(0,o.jsx)("span",{className:"w-full h-[2px] rounded-full bg-black"})]})}),!!t&&(0,o.jsx)(r,{newsNavlinks:t}),!!n&&(0,o.jsx)(m,{}),!!i&&(0,o.jsx)(h,{model:i})]}),(0,o.jsx)(b,{hambrg:p,setHambrg:v}),g&&(0,o.jsx)(f.E.div,{initial:{opacity:0,transition:{duration:.5}},animate:{opacity:1,transition:{duration:.5}},exit:{opacity:0},className:"lg:hidden fixed top-0 h-[80px] left-0 w-full !z-[9999] bg-white flex items-center justify-center ",children:(0,o.jsxs)("div",{className:"px-5 sm:max-w-[350px] mx-auto w-full relative flex items-center",children:[(0,o.jsx)("input",{type:"text",ref:P,onChange:Z,name:"keyword",className:"".concat(g?"w-full border-b-[1px] border-[#606060]":"w-0"," transition-all duration-[0.5s] focus:outline-none bg-transparent placeholder-white::placeholder text-[#606060] font-poppinsRegular text-sm text-center outline-none"),placeholder:"Search","aria-label":"Search"}),(0,o.jsx)(y.ven,{onClick:function(){E(""),j(!1)},className:"text-[#606060] text-[20px]"})]})}),(0,o.jsx)("div",{className:"lg:hidden ".concat(g?R:"\n  fixed top-0 left-0 w-screen h-screen pointer-events-none bg-white opacity-0 transition-all duration-500"),children:(0,o.jsx)(C.Z,{})})]})})}}}]);