1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3502,1687],{51687:function(e,t,n){n.r(t);var r=n(26042),o=n(10253),s=n(85893),a=n(67294);t.default=function(e){var t=e.headerTitle,n=e.body,c=e.open,i=e.handleClose,l=function(){h({transform:"translateY(100%)"}),setTimeout(function(){i()},200)},u=(0,o.Z)((0,a.useState)({transform:"translateY(100%)"}),2),d=u[0],h=u[1],m=(0,a.useRef)(null),f=(0,a.useRef)(null),x=(0,a.useRef)(0),b=(0,a.useRef)(0);return((0,a.useEffect)(function(){return c?(document.body.classList.add("overflow-hidden"),document.body.style.height="100vh"):(document.body.classList.remove("overflow-hidden"),document.body.style.height=""),function(){document.body.classList.remove("overflow-hidden"),document.body.style.height=""}},[c]),(0,a.useEffect)(function(){c?h({transform:"translateY(0)"}):h({transform:"translateY(100%)"})},[c]),c)?(0,s.jsxs)(s.Fragment,{children:[c&&(0,s.jsx)("div",{className:"left-0 bottom-0 z-[19] fixed h-screen right-0 bg-[rgba(24,39,58,0.55)] backdrop-blur-[6px]",onClick:function(){return l()}}),(0,s.jsxs)("div",{ref:m,style:(0,r.Z)({},d),className:"\n fixed bottom-0 right-0 left-0\n md:max-w-[468px] md:mx-auto md:rounded-br-20 md:rounded-bl-20 md:bottom-1/2 md:!translate-y-1/2\n bg-white z-20 rounded-tr-20 rounded-tl-20\n transition-all duration-200 ease-in-out\n ",children:[(0,s.jsxs)("div",{onTouchStart:function(e){f.current=e.touches[0].clientY,x.current=Date.now(),b.current=0,m.current&&(m.current.style.transition="none")},onTouchMove:function(e){if(null!==f.current){var t=Math.max(0,e.touches[0].clientY-f.current);b.current=t,m.current&&(m.current.style.transform="translateY(".concat(t,"px)"))}},onTouchEnd:function(){if(null!==f.current){var e=b.current,t=e/Math.max(1,Date.now()-x.current);f.current=null,m.current&&(m.current.style.transition="",m.current.style.transform=""),e>90||t>.5?l():h({transform:"translateY(0)"})}},children:[(0,s.jsx)("div",{className:"flex justify-center pt-8 md:hidden",children:(0,s.jsx)("span",{"aria-hidden":"true",className:"h-4 w-40 rounded-full bg-gray-DBDFE5"})}),(0,s.jsxs)("div",{className:"relative border-b-1 border-solid border-b-gray-F2F2F7 p-[17px] rounded-tr-20 rounded-tl-20",children:[(0,s.jsx)("div",{className:"text-black text-16 leading-22 font-m pr-[7px]",children:t}),(0,s.jsx)("button",{type:"button","aria-label":"بستÙ",className:"absolute left-10 top-13 flex items-end cursor-pointer transition-transform active:scale-90",onClick:l,children:(0,s.jsx)("i",{"aria-hidden":"true",className:"icon-Close text-24"})})]})]}),(0,s.jsx)("div",{className:"max-h-[70dvh] overflow-y-auto overscroll-contain py-16 px-20",children:n({handleSmoothClose:l})})]})]}):null}},33502:function(e,t,n){n.r(t),n.d(t,{default:function(){return j}});var r=n(85893),o=n(25675),s=n.n(o),a={src:"/_next/static/media/submit-residence.2a56da9b.svg",height:60,width:60,blurWidth:0,blurHeight:0},c={src:"/_next/static/media/favorites.e4355207.svg",height:72,width:72,blurWidth:0,blurHeight:0},i={src:"/_next/static/media/profile.2fda552f.svg",height:72,width:72,blurWidth:0,blurHeight:0},l=[{name:"ثبت Ø§ÙØ§Ù
تگاÙ",icon:{src:(0,r.jsx)("i",{className:"icon-AddHome text-24"})},href:"/auth/enter_phone?redirectTo=/residences/submit",bottomSheetDescription:"Ø¬ÙØª ثبت Ø§ÙØ§Ù
ØªÚ¯Ø§Ù Ø®ÙØ¯ Ù Ø´Ø±ÙØ¹ ÙØ±Ø§ÛÙØ¯ Ù
ÛØ²Ø¨Ø§ÙÛÙØ§Ø±Ø¯ Ø´ÙÛØ¯ ÛØ§ ثبت ÙØ§Ù
Ú©ÙÛØ¯",bottomSheetIcon:(0,r.jsx)(s(),{alt:a,src:a})},{name:"ØµÙØÙ Ø§ØµÙÛ",icon:{src:(0,r.jsx)("i",{className:"icon-Home text-24"})},href:"/"},{name:"Ø¹ÙØ§ÙÙ
ÙØ¯Û ÙØ§",icon:{src:(0,r.jsx)("i",{className:"icon-LIke text-24"})},href:"/auth/enter_phone?redirectTo=/favourites",bottomSheetDescription:"Ø¬ÙØª Ù
Ø´Ø§ÙØ¯Ù ÙÛØ³Øª Ø¹ÙØ§ÙÙ
ÙØ¯Û ÙØ§Û Ø®ÙØ¯Ùارد Ø´ÙÛØ¯ ÛØ§ ثبت ÙØ§Ù
Ú©ÙÛØ¯",bottomSheetIcon:(0,r.jsx)(s(),{alt:c,src:c})},{name:"ÙØ±Ùد/ثبت ÙØ§Ù
",icon:{src:(0,r.jsx)("i",{className:"icon-Profile text-24"})},href:"/auth/enter_phone",bottomSheetDescription:"Ø¨Ø±Ø§Û Ø¯Ø³ØªØ±Ø³Û Ú©Ø§Ù
٠ب٠اÙ
Ú©Ø§ÙØ§ØªØ Ø¬Ø³ØªØ¬Ù Ù Ø±Ø²Ø±Ù Ø§ÙØ§Ù
ØªÚ¯Ø§Ù ÙØ§Ø ÙØ§Ø±Ø¯ Ø´ÙÛØ¯ ÛØ§ ثبت ÙØ§Ù
Ú©ÙÛØ¯",bottomSheetIcon:(0,r.jsx)(s(),{alt:i,src:i})}],u=n(10253),d=n(51687),h=n(11163),m=n(67294),f=n(47300),x=n(91879),b=n(72563),p=function(e){var t=e.href,n=e.icon,o=e.content,s=e.handleSmoothClose,a=(0,x.Gr)();return(0,r.jsxs)("div",{className:"flex flex-col justify-center items-center",children:[n,(0,r.jsx)("p",{className:"text-17 leading-28 text-black font-r mt-20 mb-24 text-center",children:o}),(0,r.jsx)(f.z,{color:"dark-blue",className:"mb-16 !py-10 !px-[27px]",onClick:function(){(0,b.b6)(new URL(t,"http://local").searchParams.get("redirectTo")),s(),a.authModalsUtils.setShowEnterPhoneNumberModal(!0)},children:"ÙØ±Ùد ÛØ§ ثبت ÙØ§Ù
"})]})},v=function(e){var t=e.href,n=e.iconSrc,o=e.name,s=e.customClassname,a=e.bottomSheetDescription,c=e.bottomSheetIcon,i=(0,h.useRouter)(),l=(0,u.Z)((0,m.useState)(!1),2),f=l[0],x=l[1];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{onClick:function(){"ØµÙØÙ Ø§ØµÙÛ"!==o?x(!0):i.push("/")},className:"flex flex-col items-center \n ".concat(i.pathname===t?"text-primary-main after:content-[''] after:w-full after:block after:h-3 after:bg-primary-main after:rounded-tr-3 after:rounded-tl-3":"text-gray-767676","\n ").concat(s||"","\n "),children:[(0,r.jsx)("div",{className:"px-8 flex items-center justify-center",children:n}),(0,r.jsx)("p",{className:"text-10 sm:text-12 mt-4 leading-18 mb-4 px-6",children:o})]}),!!f&&(0,r.jsx)(d.default,{open:f,handleClose:function(){return x(!1)},headerTitle:o,body:function(e){var n=e.handleSmoothClose;return(0,r.jsx)(p,{href:t,icon:c,content:a,handleSmoothClose:n})}})]})},j=function(){return(0,r.jsx)(r.Fragment,{children:l.map(function(e,t){return(0,r.jsx)(v,{href:e.href,iconSrc:e.icon.src,name:e.name,bottomSheetDescription:e.bottomSheetDescription,bottomSheetIcon:e.bottomSheetIcon},t)}
1)})}},72563:function(e,t,n){n.d(t,{RM:function(){return a},b6:function(){return s},qJ:function(){return c}});var r=n(35204),o=null;function s(e){var t;o=null!==(t=(0,r.CA)(e))&&void 0!==t?t:null}function a(){var e=o;return o=null,e}function c(){o=null}}}]);
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.