PageSourceSearch

https://peekaboo-nannies.com/assets/NannyDetails-DpdlmDjx.js

js peekaboo-nannies.com collected 2026-10-08 17:10:29 UTC 84,684 bytes, 24 lines download raw bytes

1import{r as u,an as It,ao as ms,t as Ft,j as e,d as De,u as Ce,Q as ae,a as hs,A as xs,ap as gs,b as ys,H as yt,f as vs}from"./index--sXYIiss.js";import{P as Je}from"./ProfileImage-X0ztipwB.js";import{g as bs,d as js,e as Ns,f as ws}from"./nannyService-b-pd0V4y.js";import{w as Cs}from"./warning-Cu5Wuy5v.js";import{F as vt}from"./index.es-fX6Hifja.js";import{b as _s,c as Ss}from"./index-WssyCilH.js";import{a as ks,b as Es,c as Os}from"./familyService-Db1eR0gV.js";import{a as Ms}from"./index.esm-Be4GX-sQ.js";import{a as Xe,P as Ts,V as bt,b as ye}from"./imageDelivery-D1ayya4x.js";import{m as $e}from"./mixpanel.module-D4DGxKPM.js";import{C as jt}from"./ClipLoader-CCm34-tI.js";import{L as Rs}from"./Loader-BmHdlnwn.js";import{a as Nt}from"./PB_Academy_Logo-nNBlbzDV.js";import{a as Ps}from"./assistanceCallCross-DV5hj0oY.js";import{S as Bs}from"./ScheduleSelector-CM3ZAuck.js";import{b as wt,C as Ws,H as Is,R as Fs,a as Ls}from"./HomeNannyCard-dlfiWf7N.js";/* empty css                     */import"./iconBase-DsbvKlCI.js";import"./index.esm-BMk4YFLZ.js";/* empty css                         */import"./index-B8j3EGI9.js";const Us="data:image/webp;base64,UklGRrgIAABXRUJQVlA4WAoAAAAgAAAAwQEAKwEASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZWUDggygYAAHBJAJ0BKsIBLAE+bTaVSaQisKEhU6maEA2JaW7ew3kK84GMzdnO643m01m9ezrmUA/QDeAc//6beShZEfSdAt1EWUapVJ+SyOJC1ssP/2Co3ZlVW9EWcFcMUlOKUuUqanfjrXpTQ+wf/Opkh8vyNi6ITZSU4pL1Bb/xappKn6vbKVv3cmIVkzNT67r1L7ZMtGKiTJYNJZHEjp4LbHpSai4u6GrOka2R4BSU+lZqezS0AyTBIdUw1a2Y0T5PvBZdiA1qqhGUefsmemjHIItHYIyQXE5xt+T90SbiecMUlh9AuIYsF3KNevnBwbFG+Nj+5i03NJ8qDFvC7qZExbvvsY8CaeIqSmCFQ3SOksnpSIkLhfvdteJWEu3AQBSnDXQkt9+7v4CxOeVAgiypmkT7HAE0FqgxnXZ14SDp2IAbGKDVEM32lkF1YM3Ca/wWHh70zqLpeMgdXoLlGvc6M4r9dSbVrKbN7J0PYRqhSEOcC6XNaDR4RGcBDMvXEfc3VIg2zzMvvDxMCkuzl5Pfz9qqDWunM+vlRFv4T0AoEGsm9yDUNtKEChu0RU042bWonX/kvKuCvsx8OyI8PYAKOpbCdm5ZWnMluTz9a76WakL/G/GUaoovTUcMbhU39oTHgxeUi01i3kLSC7B+Hz8F1NFh9kEjr4NKLyHFvG6YkRGTBvh9mvsplHbcofpYiuLlNTPABRV8YMpHrcGwNUaeAsEWN1Uc/LoS6TxL1HqIXeRvaGN35T7oECb9G2OWKhPps4hJxF82TXtEaEyDGdZdWCOCqRj5IxkAAP77DXKBcZlqsy/9k3H9MRml/72BscZlrBx//D+DmhriJyX3t9fkuCa6x33OpOFDsb0gORxfBaJ3+YX299umoKq7TSwqcSyuDAoJ0onn5incEDNQ/PKxOvxppYOdA/dOURzkXUYuCs3gufb/aMidQkjrcrbNRdLq8ar4R092zAARHjJS4Tbfne1A581o7dp3469IIOWfgWuzZzD9YtQzGzH/3zRjGbPSAdspFEwaVTQXdDbxPCkjHv1qgWQiO5aC4qfoUhMTmikDfOQIf7wcKCYohn7jkgbVu5eJ3S440KK0sOcs46ES5k8WGLS4vc0fhDfWZ05Yk2SvV+EmAA85ioHLFfFyC5A5ApgZMVWn37TKGyFZlnur4iQINOBDfxWM5c8V/+2W1ph6wx1vfStOw029MAY0b4Ljye8gvatdLOlcOyjo40VBpxxzmcvfitucoacMH245OEKv5EkQwBW8zTDIh0O0oVeitTeGKfUJGcegilATlU+X25NcBHnhPIgOBtfAWSpUpgFNisXkL2689o3gNluIAb5L4MgUQ85SATpJ8ZoUOyUHuQY5H0qE4TTD0A6CbhaW9o8NIZG9N21AVfo/pPiphwqftyW5g+V3a9jbpHb5aUE//M4jld16pb3z7Ff5vb2Lyx9tnSb9bSJsNu8RPRa0VM78fAU0Nw+yseL2B167PN40pdFH7q2mCqSrWCZv5cvY38P6gftJaYh/GRx9x0ydcGWbudD+6JiKQoLzWGNS0QQOAD+jtihBW4IuOar5edVI2M9lLRoQdPgsWxl7xYtJH+V+g8tVv9iXX7iXouSK9SE02rPHBh4184pgn0Jds+nyyoawQRkMB8p5gZfO83seUyh5PtIFCPTZ1Tvf3FntPuPrxUon+EDTkSRaXdT83fqiap13D6DHHx6TV9N8uv1yXyvv/kMq+agpj++Eo3NUhN7O2xcPiZAOhU0EWd29xWaEdhveiGRr3WM5qQRtwxCn8YCRWnl73X6qPAWW2a3eTRZVErjPfk3zUBjNGW5AnBHoRlSLAcHOrfpGfcZvNYl8OphBBwHOLdmkOKIZ4LHND0U7pkJl9fo1ALSJnTwkvqGS+6ydfPj5ILGW8kmHkr/CO1WTV9T5ipMwr0qZ7Dp+ARZ3W8+kAFZFbQWO9ZVpkK3Okpkl1uOuZcVM9Mvm/rBGXWDtavsh4EFRhNUEdAoKV11W+sXuxQu+WQdXDkQrr49I4tZ9+eKixyUa6y0u/aw8Q3F6kkDZQoBnDHDmc9oxGWaxtplgRZS5gbbcNPISpP1sufQgztvQUWFqwz7xeZHr381bngUcF8wsJ1LLm9t9TBx538txlqwCqYP6nikOfPmGcyTcka0vLwvw5DDvjEFsjXNNe3uLm0zVkwPJLG16UDtyFAtL6SlFpWKXBSw+vHmt+Y0g24xUQSkT4UORU21uqTEcl2V0WdGTIGdzd26DoWrPgyWR8NZlcxSGdwZCoPHM7fc2fUAxGusJJUlBIrRRrAoav2NZLInAzKAyV1IAAAA=",Hs="/assets/babysitting-DXotKL2r.png",zs="/assets/cleaning-CUhGm6II.png",Vs="/assets/cooking-BSEr0_Gl.png",qs="/assets/wheel-Cpkgr-qk.png",Qs="/assets/homework-Bj2WfvWd.png",$s="/assets/petcare-Ds22y2oi.png";var Ct={exports:{}},le={},Ze={exports:{}},q={},Ke={exports:{}};(function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=j;/*!
2 * Adapted from jQuery UI core
3 *
4 * http://jqueryui.com
5 *
6 * Copyright 2014 jQuery Foundation and other contributors
7 * Released under the MIT license.
8 * http://jquery.org/license
9 *
10 * http://api.jqueryui.com/category/ui-core/
11 */var n="none",o="contents",r=/input|select|textarea|button|object|iframe/;function l(y,b){return b.getPropertyValue("overflow")!=="visible"||y.scrollWidth<=0&&y.scrollHeight<=0}function h(y){var b=y.offsetWidth<=0&&y.offsetHeight<=0;if(b&&!y.innerHTML)return!0;try{var N=window.getComputedStyle(y),O=N.getPropertyValue("display");return b?O!==o&&l(y,N):O===n}catch{return console.warn("Failed to inspect element style"),!1}}function c(y){for(var b=y,N=y.getRootNode&&y.getRootNode();b&&b!==document.body;){if(N&&b===N&&(b=N.host.parentNode),h(b))return!1;b=b.parentNode}return!0}function C(y,b){var N=y.nodeName.toLowerCase(),O=r.test(N)&&!y.disabled||N==="a"&&y.href||b;return O&&c(y)}function v(y){var b=y.getAttribute("tabindex");b===null&&(b=void 0);var N=isNaN(b);return(N||b>=0)&&C(y,!N)}function j(y){var b=[].slice.call(y.querySelectorAll("*"),0).reduce(function(N,O){return N.concat(O.shadowRoot?j(O.shadowRoot):[O])},[]);
11return b.filter(v)}t.exports=a.default})(Ke,Ke.exports);var Lt=Ke.exports;Object.defineProperty(q,"__esModule",{value:!0});q.resetState=Ys;q.log=Ds;q.handleBlur=Ne;q.handleFocus=we;q.markForFocusLater=Js;q.returnFocus=Xs;q.popWithoutFocus=ea;q.setupScopedFocus=ta;q.teardownScopedFocus=sa;var Zs=Lt,Ks=Gs(Zs);function Gs(t){return t&&t.__esModule?t:{default:t}}var Ae=[],fe=null,Ge=!1;function Ys(){Ae=[]}function Ds(){}function Ne(){Ge=!0}function we(){if(Ge){if(Ge=!1,!fe)return;setTimeout(function(){if(!fe.contains(document.activeElement)){var t=(0,Ks.default)(fe)[0]||fe;t.focus()}},0)}}function Js(){Ae.push(document.activeElement)}function Xs(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,a=null;try{Ae.length!==0&&(a=Ae.pop(),a.focus({preventScroll:t}));return}catch{console.warn(["You tried to return focus to",a,"but it is not in the DOM anymore"].join(" "))}}function ea(){Ae.length>0&&Ae.pop()}function ta(t){fe=t,window.addEventListener?(window.addEventListener("blur",Ne,!1),document.addEventListener("focus",we,!0)):(window.attachEvent("onBlur",Ne),document.attachEvent("onFocus",we))}function sa(){fe=null,window.addEventListener?(window.removeEventListener("blur",Ne),document.removeEventListener("focus",we)):(window.detachEvent("onBlur",Ne),document.detachEvent("onFocus",we))}var Ye={exports:{}};(function(t,a){Object.defineProperty(a,"__esModule",{value:!0}),a.default=h;var n=Lt,o=r(n);function r(c){return c&&c.__esModule?c:{default:c}}function l(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return c.activeElement.shadowRoot?l(c.activeElement.shadowRoot):c.activeElement}function h(c,C){var v=(0,o.default)(c);if(!v.length){C.preventDefault();return}var j=void 0,y=C.shiftKey,b=v[0],N=v[v.length-1],O=l();if(c===O){if(!y)return;j=N}if(N===O&&!y&&(j=b),b===O&&y&&(j=N),j){C.preventDefault(),j.focus();return}var T=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),$=T!=null&&T[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if($){var H=v.indexOf(O);if(H>-1&&(H+=y?-1:1),j=v[H],typeof j>"u"){C.preventDefault(),j=y?N:b,j.focus();return}C.preventDefault(),j.focus()}}t.exports=a.default})(Ye,Ye.exports);var aa=Ye.exports,Q={},V={},Ut={exports:{}};/*!
12  Copyright (c) 2015 Jed Watson.
13  Based on code that is Copyright 2013-2015, Facebook, Inc.
14  All rights reserved.
15*/(function(t){(function(){var a=!!(typeof window<"u"&&window.document&&window.document.createElement),n={canUseDOM:a,canUseWorkers:typeof Worker<"u",canUseEventListeners:a&&!!(window.addEventListener||window.attachEvent),canUseViewport:a&&!!window.screen};t.exports?t.exports=n:window.ExecutionEnvironment=n})()})(Ut);var na=Ut.exports;Object.defineProperty(V,"__esModule",{value:!0});V.canUseDOM=V.SafeNodeList=V.SafeHTMLCollection=void 0;var ia=na,oa=ra(ia);function ra(t){return t&&t.__esModule?t:{default:t}}var Ue=oa.default,la=Ue.canUseDOM?window.HTMLElement:{};V.SafeHTMLCollection=Ue.canUseDOM?window.HTMLCollection:{};V.SafeNodeList=Ue.canUseDOM?window.NodeList:{};V.canUseDOM=Ue.canUseDOM;V.default=la;Object.defineProperty(Q,"__esModule",{value:!0});Q.resetState=fa;Q.log=Aa;Q.assertNodeList=Ht;Q.setElement=ma;Q.validateElement=et;Q.hide=ha;Q.show=xa;Q.documentNotReadyOrSSRTesting=ga;var ca=Cs,da=pa(ca),ua=V;function pa(t){return t&&t.__esModule?t:{default:t}}var U=null;function fa(){U&&(U.removeAttribute?U.removeAttribute("aria-hidden"):U.length!=null?U.forEach(function(t){return t.removeAttribute("aria-hidden")}):document.querySelectorAll(U).forEach(function(t){return t.removeAttribute("aria-hidden")})),U=null}function Aa(){}function Ht(t,a){if(!t||!t.length)throw new Error("react-modal: No elements were found for selector "+a+".")}function ma(t){var a=t;if(typeof a=="string"&&ua.canUseDOM){var n=document.querySelectorAll(a);Ht(n,a),a=n}return U=a||U,U}function et(t){var a=t||U;return a?Array.isArray(a)||a instanceof HTMLCollection||a instanceof NodeList?a:[a]:((0,da.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function ha(t){var a=!0,n=!1,o=void 0;try{for(var r=et(t)[Symbol.iterator](),l;!(a=(l=r.next()).done);a=!0){var h=l.value;h.setAttribute("aria-hidden","true")}}catch(c){n=!0,o=c}finally{try{!a&&r.return&&r.return()}finally{if(n)throw o}}}function xa(t){var a=!0,n=!1,o=void 0;try{for(var r=et(t)[Symbol.iterator](),l;!(a=(l=r.next()).done);a=!0){var h=l.value;h.removeAttribute("aria-hidden")}}catch(c){n=!0,o=c}finally{try{!a&&r.return&&r.return()}finally{if(n)throw o}}}function ga(){U=null}var me={};
vendor: 17,411 bytes, lines 15-23
15Object.defineProperty(me,"__esModule",{value:!0});me.resetState=ya;me.log=va;var be={},je={};function _t(t,a){t.classList.remove(a)}function ya(){var t=document.getElementsByTagName("html")[0];for(var a in be)_t(t,be[a]);var n=document.body;for(var o in je)_t(n,je[o]);be={},je={}}function va(){}var ba=function(a,n){return a[n]||(a[n]=0),a[n]+=1,n},ja=function(a,n){return a[n]&&(a[n]-=1),n},Na=function(a,n,o){o.forEach(function(r){ba(n,r),a.add(r)})},wa=function(a,n,o){o.forEach(function(r){ja(n,r),n[r]===0&&a.remove(r)})};me.add=function(a,n){return Na(a.classList,a.nodeName.toLowerCase()=="html"?be:je,n.split(" "))};me.remove=function(a,n){return wa(a.classList,a.nodeName.toLowerCase()=="html"?be:je,n.split(" "))};var he={};Object.defineProperty(he,"__esModule",{value:!0});he.log=_a;he.resetState=Sa;function Ca(t,a){if(!(t instanceof a))throw new TypeError("Cannot call a class as a function")}var zt=function t(){var a=this;Ca(this,t),this.register=function(n){a.openInstances.indexOf(n)===-1&&(a.openInstances.push(n),a.emit("register"))},this.deregister=function(n){var o=a.openInstances.indexOf(n);o!==-1&&(a.openInstances.splice(o,1),a.emit("deregister"))},this.subscribe=function(n){a.subscribers.push(n)},this.emit=function(n){a.subscribers.forEach(function(o){return o(n,a.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},Ie=new zt;function _a(){console.log("portalOpenInstances ----------"),console.log(Ie.openInstances.length),Ie.openInstances.forEach(function(t){return console.log(t)}),console.log("end portalOpenInstances ----------")}function Sa(){Ie=new zt}he.default=Ie;var tt={};Object.defineProperty(tt,"__esModule",{value:!0});tt.resetState=Ma;tt.log=Ta;var ka=he,Ea=Oa(ka);function Oa(t){return t&&t.__esModule?t:{default:t}}var P=void 0,z=void 0,re=[];function Ma(){for(var t=[P,z],a=0;a<t.length;a++){var n=t[a];n&&n.parentNode&&n.parentNode.removeChild(n)}P=z=null,re=[]}function Ta(){console.log("bodyTrap ----------"),console.log(re.length);for(var t=[P,z],a=0;a<t.length;a++){var n=t[a],o=n||{};console.log(o.nodeName,o.className,o.id)}console.log("edn bodyTrap ----------")}function St(){re.length!==0&&re[re.length-1].focusContent()}function Ra(t,a){!P&&!z&&(P=document.createElement("div"),P.setAttribute("data-react-modal-body-trap",""),P.style.position="absolute",P.style.opacity="0",P.setAttribute("tabindex","0"),P.addEventListener("focus",St),z=P.cloneNode(),z.addEventListener("focus",St)),re=a,re.length>0?(document.body.firstChild!==P&&document.body.insertBefore(P,document.body.firstChild),document.body.lastChild!==z&&document.body.appendChild(z)):(P.parentElement&&P.parentElement.removeChild(P),z.parentElement&&z.parentElement.removeChild(z))}Ea.default.subscribe(Ra);(function(t,a){Object.defineProperty(a,"__esModule",{value:!0});var n=Object.assign||function(f){for(var A=1;A<arguments.length;A++){var w=arguments[A];for(var i in w)Object.prototype.hasOwnProperty.call(w,i)&&(f[i]=w[i])}return f},o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(f){return typeof f}:function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},r=function(){function f(A,w){for(var i=0;i<w.length;i++){var p=w[i];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(A,p.key,p)}}return function(A,w,i){return w&&f(A.prototype,w),i&&f(A,i),A}}(),l=u,h=It,c=X(h),C=q,v=W(C),j=aa,y=X(j),b=Q,N=W(b),O=me,T=W(O),$=V,H=X($),F=he,J=X(F);function W(f){if(f&&f.__esModule)return f;var A={};if(f!=null)for(var w in f)Object.prototype.hasOwnProperty.call(f,w)&&(A[w]=f[w]);return A.default=f,A}function X(f){return f&&f.__esModule?f:{default:f}}function ce(f,A){if(!(f instanceof A))throw new TypeError("Cannot call a class as a function")}function xe(f,A){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:f}function ne(f,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);f.prototype=Object.create(A&&A.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(f,A):f.__proto__=A)}var Z={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},de=function(A){return A.code==="Tab"||A.keyCode===9},ie=function(A){return A.code==="Escape"||A.keyCode===27},K=0,G=function(f){ne(A,f);function A(w){ce(this,A);var i=xe(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,w));return i.setOverlayRef=function(p){i.overlay=p,i.props.overlayRef&&i.props.overlayRef(p)},i.setContentRef=function(p){i.content=p,i.props.contentRef&&i.props.contentRef(p)},i.afterClose=function(){var p=i.props,S=p.appElement,s=p.ariaHideApp,M=p.htmlOpenClassName,R=p.bodyOpenClassName,B=p.parentSelector,Y=B&&B().ownerDocument||document;R&&T.remove(Y.body,R),M&&T.remove(Y.getElementsByTagName("html")[0],M),s&&K>0&&(K-=1,K===0&&N.show(S)),i.props.shouldFocusAfterRender&&(i.props.shouldReturnFocusAfterClose?(v.returnFocus(i.props.preventScroll),v.teardownScopedFocus()):v.popWithoutFocus()),i.props.onAfterClose&&i.props.onAfterClose(),J.default.deregister(i)},i.open=function(){i.beforeOpen(),i.state.afterOpen&&i.state.beforeClose?(clearTimeout(i.closeTimer),i.setState({beforeClose:!1})):(i.props.shouldFocusAfterRender&&(v.setupScopedFocus(i.node),v.markForFocusLater()),i.setState({isOpen:!0},function(){i.openAnimationFrame=requestAnimationFrame(function(){i.setState({afterOpen:!0}),i.props.isOpen&&i.props.onAfterOpen&&i.props.onAfterOpen({overlayEl:i.overlay,contentEl:i.content})})}))},i.close=function(){i.props.closeTimeoutMS>0?i.closeWithTimeout():i.closeWithoutTimeout()},i.focusContent=function(){return i.content&&!i.contentHasFocus()&&i.content.focus({preventScroll:!0})},i.closeWithTimeout=function(){var p=Date.now()+i.props.closeTimeoutMS;i.setState({beforeClose:!0,closesAt:p},function(){i.closeTimer=setTimeout(i.closeWithoutTimeout,i.state.closesAt-Date.now())})},i.closeWithoutTimeout=function(){i.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},i.afterClose)},i.handleKeyDown=function(p){de(p)&&(0,y.default)(i.content,p),i.props.shouldCloseOnEsc&&ie(p)&&(p.stopPropagation(),i.requestClose(p))},i.handleOverlayOnClick=function(p){i.shouldClose===null&&(i.shouldClose=!0),i.shouldClose&&i.props.shouldCloseOnOverlayClick&&(i.ownerHandlesClose()?i.requestClose(p):i.focusContent()),i.shouldClose=null},i.handleContentOnMouseUp=function(){i.shouldClose=!1},i.handleOverlayOnMouseDown=function(p){!i.props.shouldCloseOnOverlayClick&&p.target==i.overlay&&p.preventDefault()},i.handleContentOnClick=function(){i.shouldClose=!1},i.handleContentOnMouseDown=function(){i.shouldClose=!1},i.requestClose=function(p){return i.ownerHandlesClose()&&i.props.onRequestClose(p)},i.ownerHandlesClose=function(){return i.props.onRequestClose},i.shouldBeClosed=function(){return!i.state.isOpen&&!i.state.beforeClose},i.contentHasFocus=function(){return document.activeElement===i.content||i.content.contains(document.activeElement)},i.buildClassName=function(p,S){var s=(typeof S>"u"?"undefined":o(S))==="object"?S:{base:Z[p],afterOpen:Z[p]+"--after-open",beforeClose:Z[p]+"--before-close"},M=s.base;return i.state.afterOpen&&(M=M+" "+s.afterOpen),i.state.beforeClose&&(M=M+" "+s.beforeClose),typeof S=="string"&&S?M+" "+S:M},i.attributesFromObject=function(p,S){return Object.keys(S).reduce(function(s,M){return s[p+"-"+M]=S[M],s},{})},i.state={afterOpen:!1,beforeClose:!1},i.shouldClose=null,i.moveFromContentToOverlay=null,i}return r(A,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(i,p){this.props.isOpen&&!i.isOpen?this.open():!this.props.isOpen&&i.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!p.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var i=this.props,p=i.appElement,S=i.ariaHideApp,s=i.htmlOpenClassName,M=i.bodyOpenClassName,R=i.parentSelector,B=R&&R().ownerDocument||document;M&&T.add(B.body,M),s&&T.add(B.getElementsByTagName("html")[0],s),S&&(K+=1,N.hide(p)),J.default.register(this)}},{key:"render",value:function(){var i=this.props,p=i.id,S=i.className,s=i.overlayClassName,M=i.defaultStyles,R=i.children,B=S?{}:M.content,Y=s?{}:M.overlay;if(this.shouldBeClosed())return null;var ue={ref:this.setOverlayRef,className:this.buildClassName("overlay",s),style:n({},Y,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},ge=n({id:p,ref:this.setContentRef,style:n({},B,this.props.style.content),className:this.buildClassName("content",S),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),m=this.props.contentElement(ge,R);return this.props.overlayElement(ue,m)}}]),A}(l.Component);G.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},G.propTypes={isOpen:c.default.bool.isRequired,defaultStyles:c.default.shape({content:c.default.object,overlay:c.default.object}),style:c.default.shape({content:c.default.object,overlay:c.default.object}),className:c.default.oneOfType([c.default.string,c.default.object]),overlayClassName:c.default.oneOfType([c.default.string,c.default.object]),parentSelector:c.default.func,bodyOpenClassName:c.default.string,htmlOpenClassName:c.default.string,ariaHideApp:c.default.bool,appElement:c.default.oneOfType([c.default.instanceOf(H.default),c.default.instanceOf($.SafeHTMLCollection),c.default.instanceOf($.SafeNodeList),c.default.arrayOf(c.default.instanceOf(H.default))]),onAfterOpen:c.default.func,onAfterClose:c.default.func,onRequestClose:c.default.func,closeTimeoutMS:c.default.number,shouldFocusAfterRender:c.default.bool,shouldCloseOnOverlayClick:c.default.bool,shouldReturnFocusAfterClose:c.default.bool,preventScroll:c.default.bool,role:c.default.string,contentLabel:c.default.string,aria:c.default.object,data:c.default.object,children:c.default.node,shouldCloseOnEsc:c.default.bool,overlayRef:c.default.func,contentRef:c.default.func,id:c.default.string,overlayElement:c.default.func,contentElement:c.default.func,testId:c.default.string},a.default=G,t.exports=a.default})(Ze,Ze.exports);var Pa=Ze.exports;function Vt(){var t=this.constructor.getDerivedStateFromProps(this.props,this.state);t!=null&&this.setState(t)}function qt(t){function a(n){var o=this.constructor.getDerivedStateFromProps(t,n);return o??null}this.setState(a.bind(this))}function Qt(t,a){try{var n=this.props,o=this.state;this.props=t,this.state=a,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,o)}finally{this.props=n,this.state=o}}Vt.__suppressDeprecationWarning=!0;qt.__suppressDeprecationWarning=!0;Qt.__suppressDeprecationWarning=!0;function Ba(t){var a=t.prototype;if(!a||!a.isReactComponent)throw new Error("Can only polyfill class components");if(typeof t.getDerivedStateFromProps!="function"&&typeof a.getSnapshotBeforeUpdate!="function")return t;var n=null,o=null,r=null;if(typeof a.componentWillMount=="function"?n="componentWillMount":typeof a.UNSAFE_componentWillMount=="function"&&(n="UNSAFE_componentWillMount"),typeof a.componentWillReceiveProps=="function"?o="componentWillReceiveProps":typeof a.UNSAFE_componentWillReceiveProps=="function"&&(o="UNSAFE_componentWillReceiveProps"),typeof a.componentWillUpdate=="function"?r="componentWillUpdate":typeof a.UNSAFE_componentWillUpdate=="function"&&(r="UNSAFE_componentWillUpdate"),n!==null||o!==null||r!==null){var l=t.displayName||t.name,h=typeof t.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
16
17`+l+" uses "+h+" but also contains the following legacy lifecycles:"+(n!==null?`
18  `+n:"")+(o!==null?`
19  `+o:"")+(r!==null?`
20  `+r:"")+`
21
22The above lifecycles should be removed. Learn more about this warning here:
23https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof t.getDerivedStateFromProps=="function"&&(a.componentWillMount=Vt,a.componentWillReceiveProps=qt),typeof a.getSnapshotBeforeUpdate=="function"){if(typeof a.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");a.componentWillUpdate=Qt;var c=a.componentDidUpdate;a.componentDidUpdate=function(v,j,y){var b=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:y;c.call(this,v,j,b)}}return t}const Wa=Object.freeze(Object.defineProperty({__proto__:null,polyfill:Ba},Symbol.toStringTag,{value:"Module"})),Ia=ms(Wa);Object.defineProperty(le,"__esModule",{value:!0});le.bodyOpenClassName=le.portalClassName=void 0;var kt=Object.assign||function(t){for(var a=1;a<arguments.length;a++){var n=arguments[a];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Fa=function(){function t(a,n){for(var o=0;o<n.length;o++){var r=n[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(a,r.key,r)}}return function(a,n,o){return n&&t(a.prototype,n),o&&t(a,o),a}}(),$t=u,Fe=_e($t),La=Ft,Le=_e(La),Ua=It,g=_e(Ua),Ha=Pa,Et=_e(Ha),za=Q,Va=Qa(za),se=V,Ot=_e(se),qa=Ia;function Qa(t){if(t&&t.__esModule)return t;var a={};if(t!=null)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(a[n]=t[n]);return a.default=t,a}function _e(t){return t&&t.__esModule?t:{default:t}}function $a(t,a){if(!(t instanceof a))throw new TypeError("Cannot call a class as a function")}function Mt(t,a){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a&&(typeof a=="object"||typeof a=="function")?a:t}function Za(t,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof a);t.prototype=Object.create(a&&a.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(t,a):t.__proto__=a)}var Ka=le.portalClassName="ReactModalPortal",Ga=le.bodyOpenClassName="ReactModal__Body--open",oe=se.canUseDOM&&Le.default.createPortal!==void 0,Tt=function(a){return document.createElement(a)},Rt=function(){return oe?Le.default.createPortal:Le.default.unstable_renderSubtreeIntoContainer};function Be(t){return t()}var Se=function(t){Za(a,t);function a(){var n,o,r,l;$a(this,a);for(var h=arguments.length,c=Array(h),C=0;C<h;C++)c[C]=arguments[C];return l=(o=(r=Mt(this,(n=a.__proto__||Object.getPrototypeOf(a)).call.apply(n,[this].concat(c))),r),r.removePortal=function(){!oe&&Le.default.unmountComponentAtNode(r.node);var v=Be(r.props.parentSelector);v&&v.contains(r.node)?v.removeChild(r.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},r.portalRef=function(v){r.portal=v},r.renderPortal=function(v){var j=Rt(),y=j(r,Fe.default.createElement(Et.default,kt({defaultStyles:a.defaultStyles},v)),r.node);r.portalRef(y)},o),Mt(r,l)}return Fa(a,[{key:"componentDidMount",value:function(){if(se.canUseDOM){oe||(this.node=Tt("div")),this.node.className=this.props.portalClassName;var o=Be(this.props.parentSelector);o.appendChild(this.node),!oe&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(o){var r=Be(o.parentSelector),l=Be(this.props.parentSelector);return{prevParent:r,nextParent:l}}},{key:"componentDidUpdate",value:function(o,r,l){if(se.canUseDOM){var h=this.props,c=h.isOpen,C=h.portalClassName;o.portalClassName!==C&&(this.node.className=C);var v=l.prevParent,j=l.nextParent;j!==v&&(v.removeChild(this.node),j.appendChild(this.node)),!(!o.isOpen&&!c)&&!oe&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!se.canUseDOM||!this.node||!this.portal)){var o=this.portal.state,r=Date.now(),l=o.isOpen&&this.props.closeTimeoutMS&&(o.closesAt||r+this.props.closeTimeoutMS);l?(o.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,l-r)):this.removePortal()}}},{key:"render",value:function(){if(!se.canUseDOM||!oe)return null;!this.node&&oe&&(this.node=Tt("div"));var o=Rt();return o(Fe.default.createElement(Et.default,kt({ref:this.portalRef,defaultStyles:a.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(o){Va.setElement(o)}}]),a}($t.Component);Se.propTypes={isOpen:g.default.bool.isRequired,style:g.default.shape({content:g.default.object,overlay:g.default.object}),portalClassName:g.default.string,bodyOpenClassName:g.default.string,htmlOpenClassName:g.default.string,className:g.default.oneOfType([g.default.string,g.default.shape({base:g.default.string.isRequired,afterOpen:g.default.string.isRequired,beforeClose:g.default.string.isRequired})]),overlayClassName:g.default.oneOfType([g.default.string,g.default.shape({base
23:g.default.string.isRequired,afterOpen:g.default.string.isRequired,beforeClose:g.default.string.isRequired})]),appElement:g.default.oneOfType([g.default.instanceOf(Ot.default),g.default.instanceOf(se.SafeHTMLCollection),g.default.instanceOf(se.SafeNodeList),g.default.arrayOf(g.default.instanceOf(Ot.default))]),onAfterOpen:g.default.func,onRequestClose:g.default.func,closeTimeoutMS:g.default.number,ariaHideApp:g.default.bool,shouldFocusAfterRender:g.default.bool,shouldCloseOnOverlayClick:g.default.bool,shouldReturnFocusAfterClose:g.default.bool,preventScroll:g.default.bool,parentSelector:g.default.func,aria:g.default.object,data:g.default.object,role:g.default.string,contentLabel:g.default.string,shouldCloseOnEsc:g.default.bool,overlayRef:g.default.func,contentRef:g.default.func,id:g.default.string,overlayElement:g.default.func,contentElement:g.default.func};Se.defaultProps={isOpen:!1,portalClassName:Ka,bodyOpenClassName:Ga,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(a,n){return Fe.default.createElement("div",a,n)},contentElement:function(a,n){return Fe.default.createElement("div",a,n)}};Se.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}};(0,qa.polyfill)(Se);le.default=Se;(function(t,a){Object.defineProperty(a,"__esModule",{value:!0});var n=le,o=r(n);function r(l){return l&&l.__esModule?l:{default:l}}a.default=o.default,t.exports=a.default})(Ct,Ct.exports);const Ya=()=>e.jsx("div",{className:"container mt-5",children:e.jsx("div",{className:"row",children:e.jsxs("div",{className:"col-md-6 offset-md-3 text-center",children:[e.jsx(vt,{icon:_s,size:"6x",className:"text-warning mb-2"}),e.jsx("h1",{className:"display-4",children:"404 - User Not Found"}),e.jsx("p",{className:"lead",children:"Oops! The User you are looking is Not Found."}),e.jsxs("p",{children:["Return to the ",e.jsx("a",{href:"/",children:"home page"}),"  ",e.jsx(vt,{icon:Ss})]})]})})}),Zt="data:image/webp;base64,UklGRigEAABXRUJQVlA4WAoAAAAwAAAARAAAQQAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZBTFBI/wEAAA0kAUmKyoiIRlq27XXbvEVQMejHYBqCagjiIbCDwA4CWQhiI0iMIA6CKQimMVAZfMEg+fjt/CsiJoAhrW15HoQQMkghhQwK4SPohDCCFIbwIXwIH8LG8L8RRMQEGIgk46J8QypoIooKGqigBgUiIjFtDqSxZ44PH7C0brB3Re8G/XWWvkGmrunoV2UFscaKnZVfIJim2IFaiA5THOAbJtnznsjkiL2BCvnoRuw6hsqqhIzC5sIRe+frcKOEPgyy8QSB8XhTSbYi5yAy3uuE+ikTvQx0TSZR5geEctSHmAtSwOrww7pV8TSut9dKA3TuvbASaTEKo8zrU9j/2EEnT2muVkAcpYWjpccI8fEU8WepVYzyLhp0ddIaAGi9F3ZIUA7CVOYJ4UOZeGndSw12EN/cFWP7SMnbx3qIjB2ySozfYFulM/vjPSHyMgpkdSwSnB1LoDK3BlKJLk8C1AVZg4c6QWW/hr2ZM/IL6ApKQDf450QYFxitVngzmHQFfLpkAG1eJ7T+zDOU1dh0KwD4h83NpqKbqhts3DhtX+wylEPOWGzMwmX7YWlRXlmNjeORm9ehOqg16gYbcz/idmwf5kB6gbHYlNkPEYt5vMeQXMuMshozvfPL9qm+Yya7AKEKM/sO8r2DfHYB8vsO8r2DfHYBgr3J9B1E5xpU8O2t4RoAVlA4IDIAAAAQBACdASpFAEIAPm02mUmkIyKhIUgAgA2JaQAACfGjRo0aNGjRo0Z+AAD++5zAAAAAAA==",Da="https://be.peekaboo-nannies.com",Ja=async(t,a)=>{var n,o,r;try{const l=await De.post(`${Da}/family/reports`,t,{headers:{Authorization:`Bearer ${a}`}});return l.status!==200?{success:!1,error:((n=l==null?void 0:l.data)==null?void 0:n.message)||"Failed to Send Report."}:{success:!0,data:(o=l==null?void 0:l.data)==null?void 0:o.data}}catch(l){return l.response?{success:!1,error:((r=l==null?void 0:l.response)==null?void 0:r.data.message)||"Failed to Send Report."}:{success:!1,error:"Something went wrong!"}}},Pt={display:"block",margin:"0 auto",borderColor:"red"},Xa=({nannyData:t,setPurchasedModalOpen:a})=>{const n=window.innerWidth<=768,r=((t==null?void 0:t.visaStatus)||"").toString().trim().toLowerCase()==="domestic worker visa",l=(t==null?void 0:t.profileType)==="agency",h=(t==null?void 0:t.profileType)==="direct"&&((t==null?void 0:t.isAgencyManaged)===!0||(t==null?void 0:t.isAgencyManaged)==="true"||(t==null?void 0:t.isAgencyManaged)===1),c=l||h,C=t!=null&&t.slug?`https://peekaboo-nannie
23s.com/nannies/${t.slug}`:`https://peekaboo-nannies.com/profile-details/${t==null?void 0:t.id}`,v=(t==null?void 0:t.whatsappUrl)||`https://wa.me/${t==null?void 0:t.whatsappNumber}?text=Hello ${t==null?void 0:t.firstName} ${t==null?void 0:t.lastName},%0aI%20found%20your%20profile%20on%20Peekaboo%20Nannies,%20are%20you%20still%20available?%0aProfile: ${C}`,j=`https://wa.me/${t==null?void 0:t.whatsappNumber}?text=${encodeURIComponent(`Hello, I found ${t==null?void 0:t.firstName} ${t==null?void 0:t.lastName}'s profile on Peekaboo Nannies, I'd like to ask a few questions.
24Profile: ${C}`)}`,y="Domestic Worker Visa nannies are independent nannies with whom you can negotiate and discuss directly but have already a pre-approved visa started with an agency (health check already done, and nanny already approved by authorities). The contact details in these profiles are the ones of the agency.",b=Ce(),{token:N,id:O,userInfo:T,userDetail:$,comapnyFamily:H}=b,[F,J]=u.useState(!1),[W,X]=u.useState(t!=null&&t.status?t.status:null),[ce,xe]=u.useState(),[ne,Z]=u.useState(!1),[de,ie]=u.useState(""),[K,G]=u.useState(""),[f,A]=u.useState(!1),w=()=>A(!f),i=async()=>{R();const m={familyId:O,nannyId:t==null?void 0:t.id,reportReason:ce},x=await Ja(m,N);if(x.success){ae.success("Nanny Repoted!");const ee=document.querySelector('button[data-dismiss="modal"]');ee&&ee.click()}else ae.error(x.error)},p=()=>Z(!ne),S=m=>{X(m.target.value)};function s(m){const x="+971",ee="971",te="+852",pe="852";return m.startsWith(x)?m:m.startsWith(ee)?"+"+m:m.startsWith(te)?m:m.startsWith(pe)?"+"+m:x+m}function M(m){const x="+971",ee="971",te="+852",pe="852";return m.startsWith(x)?m:m.startsWith(ee)?"+"+m:m.startsWith(te)?m:(m.startsWith(pe),"+"+m)}u.useEffect(()=>{const m=s(t.phoneNumber);ie(m)},[t,ie]),u.useEffect(()=>{const m=M(t.whatsappNumber);G(m)},[t,G]);const R=async()=>{try{if(W)if(J(!0),(await ks(O,t.id,W,N)).success){ae.success("Nanny Added to list!");const x=document.querySelector('button[data-dismiss="modal"]');x&&x.click()}else console.error("error")}catch(m){console.error(m)}finally{J(!1)}},B=async()=>{try{$e.track("Profile Contact",{id:T==null?void 0:T.userId,email:T==null?void 0:T.email,name:T==null?void 0:T.name,isB2BProfile:!!H,inviteId:H})}catch(m){console.error(m)}},Y=async()=>{try{const m=await Es(O,t.id,N)}catch(m){console.error(m)}},ue=()=>{f&&A(!1)},ge=()=>{a(!1);const m=document.querySelector('button[data-dismiss="modal"]');m&&m.click()};return e.jsxs("div",{className:"modal-dialog modal-dialog-centered",style:{display:"flex",flexDirection:"column"},role:"document",onClick:ue,children:[e.jsxs("div",{className:"modal-content shortstatus",children:[e.jsx("button",{type:"button",onClick:ge,"aria-label":"Close",style:{position:"absolute",top:"12px",right:n?"12px":"34px",zIndex:3,background:"transparent",border:"none",color:"#8d8d8d",padding:0,lineHeight:1,cursor:"pointer"},children:e.jsx(Xe,{size:28})}),e.jsxs("div",{className:"modal-body",children:[e.jsxs("h5",{className:"text-center",style:{marginBottom:"10px",display:"flex",justifyContent:"center",flexDirection:n?"column":"row"},children:[e.jsx("label",{style:{fontWeight:"500",color:"black",fontSize:"24px",marginRight:"8px"},children:"Contact"}),e.jsx("label",{style:{fontWeight:"bold",color:"black",fontSize:"24px"},children:`${t.firstName} ${t.lastName}`})]}),c&&e.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:[e.jsxs("div",{style:{fontSize:"15px",textAlign:"center",lineHeight:"1.35",marginBottom:"6px",paddingInline:"6px"},children:[e.jsxs("strong",{children:[t.firstName," ",t.lastName," "]})," is a Visa Ready profile."]}),e.jsxs("div",{style:{display:"flex",fontSize:"15px",alignItems:"center",justifyContent:"center",lineHeight:"1.35",textAlign:"center"},children:["Hire her through ",e.jsx("img",{src:"/images/Maidscc.webp",loading:"lazy",style:{width:"82px",height:"20px",marginLeft:"5px"}})]})]}),t.profileType==="direct"&&!r&&!h?e.jsxs("div",{style:{display:"flex",flexDirection:n?"column":"row",justifyContent:"space-between",alignItems:"center",marginTop:"2rem"},children:[e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx("p",{style:{display:"flex",fontSize:"15px",alignSelf:"center"},children:"Call the nanny directly "}),e.jsxs("p",{style:{borderRadius:"60px",border:"1px solid #ff846b",paddingInline:"12px",paddingBlock:"12px"},children:[e.jsx("img",{src:"/images/phoneIcon.webp",loading:"lazy",style:{width:"20px",marginTop:"0px",marginRight:"5px"}}),e.jsx("a",{style:{fontSize:"18px",color:"#ff846b"},href:`tel:${t.phoneNumber}`,onClick:()=>{B()},children:de})]})]}),e.jsx("label",{style:{marginTop:n?"0":"20px"},children:"or"}),e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx("p",{style:{display:"flex",fontSize:"15px",alignSelf:"center"},children:"Send a Whatsapp message "}),e.jsxs("p",{style:{backgroundColor:"#60d669",paddingInline:"12px",paddingBlock:"12px",borderRadius:"60px"},children:[e.jsx("img",{src:"/images/whatsapp-icon.webp",loading:"lazy",style:{width:"20px",marginTop:"0px",marginRight:"5px"}}),e.jsx("a",{style:{fontSize:"18px",color:"white"},href:`https://wa.me/${t.whatsappNumber}?text=Hello ${t.firstName} ${t.lastName}
24,%0aI%20found%20your%20profile%20on%20Peekaboo%20Nannies,%20are%20you%20still%20available?%0aProfile: ${C}`,onClick:()=>{B()},target:"_blank",children:K})]})]})]}):e.jsxs("div",{style:{display:"flex",flexDirection:n?"column":"row",justifyContent:"space-between",alignItems:"center",marginTop:"2rem"},children:[e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx("p",{style:{display:"flex",fontSize:"15px",alignSelf:"center"},children:"Call the nanny directly "}),e.jsxs("p",{style:{borderRadius:"60px",border:"1px solid #ff846b",paddingInline:"12px",paddingBlock:"12px"},children:[e.jsx("img",{src:"/images/phoneIcon.webp",loading:"lazy",style:{width:"20px",marginTop:"0px",marginRight:"5px"}}),e.jsx("a",{style:{fontSize:"18px",color:"#ff846b"},href:`tel:${t.phoneNumber}`,onClick:()=>{B()},children:de})]})]}),e.jsx("label",{style:{marginTop:n?"0":"20px"},children:"or"}),e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx("p",{style:{display:"flex",fontSize:"15px",alignSelf:"center"},children:"Send a Whatsapp message "}),e.jsxs("p",{style:{backgroundColor:"#60d669",paddingInline:"12px",paddingBlock:"12px",borderRadius:"60px"},children:[e.jsx("img",{src:"/images/whatsapp-icon.webp",loading:"lazy",style:{width:"20px",marginTop:"0px",marginRight:"5px"}}),e.jsx("a",{style:{fontSize:"18px",color:"white"},href:h?j:v,onClick:()=>{Y(),B()},target:"_blank",children:K})]})]})]}),t.visaStatus==="Domestic Worker Visa"&&e.jsxs("div",{style:{marginTop:"18px",padding:n?"12px 14px":"14px 16px",borderRadius:"14px",border:t.profileType==="visaReady"?"1px solid #c5d5f8":"1px solid #ffd4cb"},children:[e.jsx("p",{style:{marginBottom:"8px",fontSize:"13px",fontWeight:"700",color:"#1f1f1f",textAlign:"left"},children:t.profileType==="visaReady"?"Visa Ready Profile Information":"Domestic Worker Visa Information"}),e.jsx("p",{style:{marginBottom:"0",fontSize:"13px",color:"#4f4b49",textAlign:"left",lineHeight:"1.55"},children:t.profileType==="visaReady"?"This nanny has an active visa through our partner agency. Medical exams and approvals are complete. The hiring process and visa management go through the partner agency (Maids.cc).":y})]}),e.jsx("div",{style:{backgroundColor:"lightgray",height:"1px",width:"100%",marginBlock:"30px"}}),e.jsxs("h3",{style:{color:"black"},children:["Update the status of this nanny"," ",e.jsx(Ms,{onClick:w,style:{cursor:"pointer",color:"gray",zIndex:10}})]}),e.jsx("div",{id:"InfoModal",tabindex:"-1",role:"dialog","aria-labelledby":"InfoModalModalLabel","aria-hidden":"true",children:f&&e.jsx(en,{})}),e.jsxs("form",{action:"#",children:[e.jsx("input",{type:"radio",id:"test1",name:"approvalbuttons",value:"Shortlisted",checked:W==="Shortlisted",onChange:S}),e.jsxs("label",{for:"test1",style:{display:"flex"},children:[" ",e.jsx("img",{src:"/images/VectorGreen.webp",loading:"lazy",width:18,height:18,style:{marginRight:"8px"}})," ",e.jsx("label",{style:{color:"black"},children:"Add to Shortlisted"})]}),e.jsx("div",{className:"clearfix"}),e.jsx("input",{type:"radio",id:"test4",name:"approvalbuttons",value:"Rejected",checked:W==="Rejected",onChange:S}),e.jsxs("label",{for:"test4",className:"outdatedcls",children:[" ",e.jsx("img",{src:"/images/VectorRed.webp",loading:"lazy",width:18,height:18,style:{marginRight:"4px"}})," ",e.jsx("label",{style:{color:"black"},children:"Mark as Rejected"})]}),e.jsx("div",{className:"clearfix"}),e.jsx("input",{type:"radio",id:"test2",name:"approvalbuttons",value:"Call Later",checked:W==="Call Later",onChange:S}),e.jsxs("label",{for:"test2",children:[" ",e.jsx("img",{src:"/images/mingcute_time-line.webp",loading:"lazy",width:20,height:20,style:{marginRight:"2px"}})," ",e.jsx("label",{style:{color:"black"},children:"Add to Call Later"})]}),e.jsx("div",{className:"clearfix"}),e.jsx("input",{type:"radio",id:"test3",name:"approvalbuttons",value:"Outdated",checked:W==="Outdated",onChange:S}),e.jsxs("label",{for:"test3",style:{color:"black"},children:[" ",e.jsx("img",{src:"/images/ph_x-bold.webp",loading:"lazy",width:20,height:20,style:{marginRight:"2px"}})," ",e.jsx("label",{style:{color:"black"},children:"Mark as Outdated"})]}),e.jsxs("div",{className:"report-section-updateStatus",style:{paddingLeft:"0rem"},children:[e.jsxs("span",{style:{display:"flex"},children:[" ",e.jsx("span",{children:e.jsx("img",{src:Zt,loading:"lazy",style:{width:"1rem",he
24ight:"1rem",marginBottom:"0.2rem",marginLeft:"0.3rem",marginRight:"0.3rem"},alt:"GreenThumbsUp"})})," ",e.jsx("a",{href:"#",style:{color:"black",fontSize:"0.9rem",borderBottom:"1px solid black",width:"fit-content"},onClick:p,children:"Report this profile"})]}),ne&&e.jsx("textarea",{className:"textarea-updateStatus",placeholder:"Let us know what went wrong...",onChange:m=>xe(m.target.value)})]})]})]}),e.jsx("div",{className:"modal-footer text-center",style:{alignContent:"flex-start",justifyContent:"flex-start",marginTop:"10px",paddingTop:"14px"},children:ne?e.jsx("button",{style:{borderRadius:"40px"},type:"button",className:"btn btn-register-modal",onClick:i,disabled:F,"data-dismiss":"modal",children:F?e.jsx(jt,{color:"white",loading:!0,css:Pt,size:20}):"Send Report"}):e.jsx("button",{style:{borderRadius:"40px"},type:"button",className:"btn btn-register-modal",onClick:R,disabled:F,"data-dismiss":"modal",children:F?e.jsx(jt,{color:"white",loading:!0,css:Pt,size:20}):"Save and Close"})})]}),e.jsx("button",{type:"button","data-dismiss":"modal",style:{display:"none"}})]})},en=()=>e.jsx("div",{style:tn,className:"status-modal",id:"infoModal",children:e.jsxs("div",{className:"status-options",children:[e.jsxs("div",{className:"option",style:{marginBottom:"21px"},children:[e.jsxs("div",{style:{display:"flex",color:"black",lineHeight:"1.2rem",flexDirection:"row",justifyContent:"start",alignItems:"start"},children:[e.jsx("img",{src:"/images/VectorGreen.webp",loading:"lazy",alt:"Add to Shortlisted",style:ve}),e.jsx("h6",{children:"Add to Shortlisted"})]}),e.jsx("div",{children:e.jsx("p",{style:{fontSize:"0.9rem",color:"black",lineHeight:"1.2rem"},children:"Save this nanny as a potential match for your family. You can review shortlisted nannies later and make your final decision."})})]}),e.jsxs("div",{className:"option",style:{marginBottom:"21px"},children:[e.jsxs("div",{style:{display:"flex",color:"black",lineHeight:"1.2rem",flexDirection:"row",justifyContent:"start",alignItems:"start"},children:[e.jsx("img",{src:"/images/VectorRed.webp",loading:"lazy",alt:"Mark as Rejected",style:ve}),e.jsx("h6",{children:"Mark as Rejected"})]}),e.jsx("div",{children:e.jsx("p",{style:{fontSize:"0.9rem",color:"black",lineHeight:"1.2rem"},children:"If this nanny doesn’t meet your requirements, you can mark them as rejected. This will help keep your search focused on more suitable profiles."})})]}),e.jsxs("div",{className:"option",style:{marginBottom:"21px"},children:[e.jsxs("div",{style:{display:"flex",color:"black",lineHeight:"1.2rem",flexDirection:"row",justifyContent:"start",alignItems:"start"},children:[e.jsx("img",{src:"/images/mingcute_time-line.webp",loading:"lazy",alt:"Add to Call Later",style:ve}),e.jsx("h6",{children:"Add to Call Later"})]}),e.jsx("div",{children:e.jsx("p",{style:{fontSize:"0.9rem",color:"black",lineHeight:"1.2rem",flexDirection:"row",justifyContent:"start",alignItems:"start"},children:"Not ready to contact this nanny now? Add them to your call later list so you can easily return to this profile when you’re ready."})})]}),e.jsxs("div",{className:"option",style:{marginBottom:"21px"},children:[e.jsxs("div",{style:{display:"flex",color:"black",lineHeight:"1.2rem"},children:[e.jsx("img",{src:"/images/ph_x-bold.webp",loading:"lazy",alt:"Mark as Outdated",style:ve}),e.jsx("h6",{children:"Mark as Outdated"})]}),e.jsx("div",{children:e.jsx("p",{style:{fontSize:"0.9rem",color:"black",lineHeight:"1.2rem",flexDirection:"row",justifyContent:"start",alignItems:"start"},children:"If the nanny’s information is no longer accurate (e.g., unavailable or details are incorrect), flag the profile as outdated to help us maintain accurate listings."})})]}),e.jsxs("div",{className:"option",children:[e.jsxs("div",{style:{display:"flex",color:"black",lineHeight:"1.2rem"},children:[e.jsx("img",{src:Zt,loading:"lazy",alt:"Report",style:ve}),e.jsx("h6",{children:"Report"})]}),e.jsx("div",{children:e.jsx("p",{style:{fontSize:"0.9rem",color:"black",lineHeight:"1.2rem"},children:"If you’ve encountered any issues with this profile, such as inaccurate information or inappropriate behavior, report the nanny for our review and action."})})]})]})}),tn={padding:"15px",borderRadius:"1rem",backgroundColor:"#f0f0f0",boxShadow:"0 4px 8px rgba(0, 0, 0, 0.2)",position:"absolute",marginTop:"-1rem",left:"0",width:"100%",lineHeight:"1rem",zIndex:10},ve={width:"1.2rem",height:"1.2rem",marginRight:"10px",verticalAlign:"middle"},sn=({nannyData:t,isActive:a})=>{var c;const n=Ce(),{market:o}=n,[r,l]=u.useState(o&&o!=="AE"?o:(c=location==null?void 0:location.pathname)==null?void 0:c.startsWith("/hk")),h=()=>{localStorage.setItem("prevUrl",window.location.pathname)};return e.jsx("div",{className:"modal-dialog modal-dialog-centered",role:"document",children:e.jsxs("div",{className:"modal-content shortstatus",children:[e.jsx("div",{className:"modal-header",children:e.jsx("button",{type:"button",className:"close","data-dismiss":"modal",children:"×"})}),e.jsxs("div",{className:"modal-body text-center",children:[e.jsx("h3",{children:`Want To Contact ${t.firstName} ${a?t.lastName:`${t.lastName.charAt(0)}.`}`}),e.jsx("h6",{children:"Register here to get in touch with the nannies"}),e.jsx(Je,{src:t.profilePicture,loading:"lazy",alt:`${t.firstName} ${t.lastName}`,firstName:t.firstName,lastName:t.lastName})]}),e.jsxs("div",{className:"modal-footer",children:[e.jsx("a",{className:"btn btn-register-modal",href:r?"/hk/family-register-b/":"/family-register/",children:"Register Here"}),e.jsxs("p",{children:["Already have an account? ",e.jsx("a",{onClick:h,href:r?"/hk/log-in/":"/log-in/",children:"Login"})]})]})]})})},an=({nannyData:t,isActive:a})=>{var h;const n=Ce(),{market:o}=n,[r,l]=u.useState(o&&o!=="AE"?o:(h=location==null?void 0:location.pathname)==null?void 0:h.startsWith("/hk"));return e.jsx("div",{className:"modal-dialog modal-dialog-centered",role:"document",children:e.jsxs("div",{className:"modal-content shortstatus",children:[e.jsx("div",{className:"modal-header",children:e.jsx("button",{type:"button",className:"close","data-dismiss":"modal",children:"×"})}),e.jsxs("div",{className:"modal-body text-center",children:[e.jsx("h3",{children:`Watch ${t.firstName} ${a?t.lastName:`${t.lastName.charAt(0)}.`} Presentation`}),e.jsx("h6",{children:"Your account is either inactive or expired – select a plan to activate your account"}),e.jsx(Je,{src:t.profilePicture,loading:"lazy",alt:`${t.firstName} ${t.lastName}`,firstName:t.firstName,lastName:t.lastName})]}),e.jsx("div",{className:"modal-footer",children:e.jsx("a",{className:"btn btn-register-modal",href:r?"/hk/packages/":"/packages/",children:"Your Plan"})})]})})},Bt="/assets/Badge-First_Aid-CABdQKUc.webp",Wt="/assets/Badge-Great_Nanny-Cfrh6jnd.webp",We="data:image/webp;base64,UklGRiQDAABXRUJQVlA4WAoAAAAwAAAAEwAACwAASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAl
24kZXNjAAAA8AAAACRyWFlaAAABFAAAABRnWFlaAAABKAAAABRiWFlaAAABPAAAABR3dHB0AAABUAAAABRyVFJDAAABZAAAAChnVFJDAAABZAAAAChiVFJDAAABZAAAAChjcHJ0AAABjAAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAAgAAAAcAHMAUgBHAEJYWVogAAAAAAAAb6IAADj1AAADkFhZWiAAAAAAAABimQAAt4UAABjaWFlaIAAAAAAAACSgAAAPhAAAts9YWVogAAAAAAAA9tYAAQAAAADTLXBhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABtbHVjAAAAAAAAAAEAAAAMZW5VUwAAACAAAAAcAEcAbwBvAGcAbABlACAASQBuAGMALgAgADIAMAAxADZBTFBInAAAAA2AY23bMeceT+mZRXgZtu2ZZAVGbxsLSWuzSuWkVGt/2UJETABq/S3iurcn0+7H2IhQbETicUL/9YhANIHUsnKfYvhy7I9wClbPyYVijJ7N/BLIwXYfvGUzAaZPZwBXHba7AN4SxQDTe8u4WmG7i19fk8UAixt3rbDdxZ+vyZJfsmiG3W4EX1NlLzL2OhB+TtXdHLTxz+eUTzPFn1ZQOCCSAAAAEAUAnQEqFAAMAD5tKpJFpCKhmAQAQAbEtgBOmUI4G9A3gF0Z5JnvD3lAAjyIxoCJYAD+7XxaAcXv7XvNuijGJxEk/2jVNDLFbuf/5MUnn9f8/rxsvf4lFE/ch8tmkg58VDjHv32LGgkahUt//z4kVvigazQxz/ByZZWRVRPqPedG9EVUxwfqHxgW/4N+yHwIAAA=",nn=({onClose:t})=>{const a=u.useRef(null);u.useEffect(()=>{function o(l){a.current&&!a.current.contains(l.target)&&t()}function r(l){l.key==="Escape"&&t()}return document.addEventListener("mousedown",o),document.addEventListener("keydown",r),()=>{document.removeEventListener("mousedown",o),document.removeEventListener("keydown",r)}},[t]);const n=e.jsx("div",{className:"modal-backdrop-custom",children:e.jsx("div",{className:"modal show d-block",tabIndex:"-1",children:e.jsx("div",{className:"modal-dialog modal-dialog-centered",children:e.jsxs("div",{className:"modal-content text-center dwv-modal-content",ref:a,children:[e.jsx("button",{type:"button",onClick:t,"aria-label":"Close",className:"assistance-close-button",children:e.jsx("img",{src:Ps,loading:"lazy",alt:"Close",className:"assistance-close-icon"})}),e.jsxs("div",{className:"modal-body dwv-modal-body",children:[e.jsxs("div",{className:"dwv-section-header",children:[e.jsx("h5",{className:"dwv-title",children:"Domestic Worker Visa"}),e.jsx("p",{className:"dwv-subtitle",children:"This profile is handled through an agency contact."})]}),e.jsxs("div",{className:"dwv-section-body",children:[e.jsx("table",{style:{width:"100%",borderCollapse:"collapse",marginBottom:"1rem",textAlign:"left"},children:e.jsxs("tbody",{children:[[{label:"Medical exam",value:"Completed",warn:!1},{label:"Background check",value:"Approved",warn:!1},{label:"Visa status",value:"Active",warn:!1},{label:"Visa sponsor",value:"Maids.cc",warn:!1}].map((o,r)=>e.jsxs("tr",{style:{borderBottom:"1px solid #f0f0f0"},children:[e.jsxs("td",{style:{padding:"8px 0",color:"#555",fontSize:"14px"},children:[e.jsx("span",{style:{color:"#3f62ea",fontWeight:"bold",marginRight:6},children:"✔"}),o.label]}),e.jsx("td",{style:{padding:"8px 0",fontWeight:600,color:"#222",textAlign:"right",fontSize:"14px"},children:o.value})]},r)),e.jsx("tr",{children:e.jsxs("td",{colSpan:2,style:{padding:"8px 0",fontSize:"15px",fontWeight:700,color:"#222"},children:[e.jsx("span",{style:{color:"#e67e22",fontWeight:"bold",marginRight:6},children:"⚠"}),"Visa still needs to be paid by the family"]})})]})}),e.jsx("button",{className:"dwv-btn",onClick:t,children:"Got it"})]})]})]})})})});return typeof document>"u"?null:Ft.createPortal(n,document.body)},Kt="https://be.peekaboo-nannies.com",Gt=async(t,a)=>{var n,o,r;console.log(t);try{const l=await De.post(`${Kt}/family/notes`,t,{headers:{Authorization:`Bearer ${a}`}});return l.status!==200?{success:!1,error:((n=l==null?void 0:l.data)==null?void 0:n.message)||"Failed to Send Report."}:{success:!0,data:(o=l==null?void 0:l.data)==null?void 0:o.data}}catch(l){return l.response?{success:!1,error:((r=l==null?void 0:l.response)==null?void 0:r.data.message)||"Failed to Send Report."}:{success:!1,error:"Something went wrong!"}}},on=async(t,a,n)=>{var o,r,l;try{const h=await De.get(`${Kt}/family/notes/${a}/${t}`,{headers:{Authorization:`Bearer ${n}`}});return h.status!==200?{success:!1,error:((o=h==null?void 0:h.data)==null?void 0:o.message)||"Failed to Send Report."}:{success:!0,data:(r=h==null?void 0:h.data)==null?void 0:r.data}}catch(h){return h.response?{success:!1,error:((l=h==null?void 0:h.response)==null?void 0:l.data.message)||"Failed to Send Report."}:{success:!1,error:"Something went wrong!"}}},rn=({getNote:t,nannyId:a,isOpen:n,onClose:o})=>{const[r,l]=u.useState(""),h=Ce(),{token:c,id:C}=h;if(!n)return null;const v=async()=>{const j={familyId:C,nannyId:a,note:r};console.log(j);const y=await Gt(j,c);y.success?(ae.success("Note Added"),o(!1),t()):ae.error(y.error)};return e.jsx("div",{className:"modal-overlay-notes",children:e.jsxs("div",{className:"modal-container-notes",children:[e.jsxs("div",{className:"modal-header-notes",children:[e.jsx("h5",{children:"My Note"}),e.jsx(Xe,{size:28,className:"modal-close-notes ",onClick:()=>o(!1)})]}),e.jsx("div",{className:"modal-body-notes",children:e.jsx("textarea",{placeholder:"Add a note about this nanny...",value:r,onChange:j=>l(j.target.value)})}),e.jsx("div",{className:"modal-footer-notes",children:e.jsx("button",{className:"add-note-button-notes",onClick:v,children:"Add note"})})]})})},ln=({getNote:t,nannyId:a,noteData:n,onSave:o,onClose:r})=>{const[l,h]=u.useState(!1),{id:c,token:C}=Ce(),[v,j]=u.useState(n),y=async()=>{const N=await Gt({familyId:c,nannyId:a,note:v},C);N.success?(ae.success("Note Updated"),t(),r(!1)):ae.error(N.error)};return e.jsx("div",{className:"modal-overlay-editNotes",children:e.jsxs("div",{className:"modal-editNotes",children:[e.jsxs("div",{className:"modal-header-editNotes",children:[e.jsx("h4",{children:"My Note"}),e.jsx(Xe,{size:28,className:"modal-edit-close-notes ",onClick:()=>r(!1)})]}),e.jsxs("div",{className:"modal-content-editNotes",children:[e.jsx("p",{style:{color:"rgb(34, 34, 34)",fontSize:"1rem"},children:n}),e.jsxs("span",{className:"edit-button-editNotes",onClick:()=>h(!l),children:["  ",e.jsx("i",{className:"fa fa-edit"})," Edit Note"]}),l&&e.jsxs(e.Fragment,{children:[e.jsx("textarea",{className:"edit-textarea-editNotes",value:v,onCh
24ange:b=>j(b.target.value)}),e.jsx("button",{className:"add-note-button-notes",onClick:y,children:"Update Note"})]})]})]})})};function Mn(){var At,mt,ht,xt,gt;const t=hs(),{user:a,waitForToken:n,token:o,id:r,isFamily:l,status:h,webSettings:c,userDetail:C,market:v}=u.useContext(xs),[j,y]=u.useState(v&&v!=="AE"?v:(At=t==null?void 0:t.pathname)==null?void 0:At.startsWith("/hk")),[b,N]=u.useState(null),[O,T]=u.useState([null]),[$,H]=u.useState(),[F,J]=u.useState(!1),[W,X]=u.useState(!1),[ce,xe]=u.useState([]),[ne,Z]=u.useState(3),[de,ie]=u.useState(!1),K=d=>{switch(d){case"Babycare":return Hs;case"Housecleaning":return zs;case"Cooking":return Vs;case"Driving":return qs;case"Help with homework":return Qs;case"Petcare":return $s;default:return null}},{id:G,slug:f}=gs(),A=ys(),w=/\/profile-view\//.test(t.pathname),i=/\/profile-details\//.test(t.pathname),[p,S]=u.useState(!1),[s,M]=u.useState(null),[R,B]=u.useState(!1),[Y,ue]=u.useState(null),[ge,m]=u.useState(!1),[x,ee]=u.useState(null),[te,pe]=u.useState(!1),[ke,st]=u.useState(!1),[Ee,Yt]=u.useState(null),[Oe,at]=u.useState(!1),[Me,nt]=u.useState(!1),[Te,it]=u.useState(!1),[Dt,He]=u.useState(!1),[ot,rt]=u.useState(!1),[lt,ct]=u.useState(!1),Jt=(s==null?void 0:s.profileType)==="direct"&&((s==null?void 0:s.isAgencyManaged)===!0||(s==null?void 0:s.isAgencyManaged)==="true"||(s==null?void 0:s.isAgencyManaged)===1),Xt=(s==null?void 0:s.profileType)==="agency"||Jt,dt=(s==null?void 0:s.visaStatus)==="Domestic Worker Visa",ze=async()=>{const d=await on(r,s==null?void 0:s.id,o);d.success?H(d==null?void 0:d.data.note):console.error(d.error)};u.useEffect(()=>{s&&ze()},[s]);const es=async()=>{var d,_;try{const L=await n(),I=await vs(o);if(I.success){const{userData:E}=I;let k={};if(k.fullName=(d=E==null?void 0:E.family)==null?void 0:d.fullName,k.id=E.id,k.email=E.email,k.isFamily=l,k.status=I.status,k.isActive=E.isActive,l){if(k.familyId=(_=E==null?void 0:E.family)==null?void 0:_.id,k.firstName=E.family.fullName,E.isActive==!0){const D=E.family.familyPlans.filter(Qe=>new Date(Qe.expiry)>new Date);D.sort((Qe,As)=>new Date(As.expiry)-new Date(Qe.expiry));const qe=D.length>0?D[0]:null;k.activePlan=qe}}else k.profilePicture=E.nanny.profilePicture,k.firstName=E.nanny.firstName,k.lastName=E.nanny.lastName,k.bio=E.nanny.bio||"No Bio";ee(k)}else ae.error(I.error)}catch(L){console.error(L)}};u.useEffect(()=>{a&&es()},[n]),u.useEffect(()=>{x!=null&&x.activePlan&&B(!0),x!=null&&x.isFamily&&ts()},[x]);const ts=async()=>{try{const d=await Os(r,s.id,o)}catch(d){console.error(d)}},ss=async()=>{try{const d=await bs(s.user.email);Yt(d);return}catch{console.log("Error getting Tally Form Data");return}};u.useEffect(()=>{s&&(s.profileType==="direct"?ss():(it(!0),at(!0),nt(!0)))},[s]),u.useEffect(()=>{if(Ee){Ee.data.length>0&&it(!0);for(const d of Ee.data)d.moduleName.startsWith("What")&&nt(!0),d.moduleName==="First Aid & Safety"&&at(!0)}},[Ee]),u.useEffect(()=>{(async()=>{try{const _=f?await js(f,C||null):await Ns(G,C||null);_.success?(m(!1),M(_.data)):_.status==400||_.status==404||_.status==410?m(!0):ue(_.error)}catch(_){ue(_.message)}})()},[G,f]),u.useEffect(()=>{s!=null&&s.slug&&!f&&!w&&A(`/nannies/${s.slug}`,{replace:!0})},[s]),u.useEffect(()=>{if(s){let d=s.experienceWithKids;const L=["Newborn (below 1 year old)","Toddler (1-3 years)","Pre-school kids (4-5 years)","Older kids (6+ years)"].reduce((E,k,D)=>(E[k]=D,E),{}),I=[...d].sort((E,k)=>(L[E]??1/0)-(L[k]??1/0));N(I)}},[s,N]),u.useEffect(()=>{if(s){const d=Array.isArray(s.canDo)?[...s.canDo]:[],_=d.some(k=>typeof k=="string"&&k.trim().toLowerCase()==="help with homework");s.canHelpWithHomework===!0&&!_&&d.push("Help with homework");const I=["Babycare","Housecleaning","Cooking","Petcare","Help with homework"].reduce((k,D,qe)=>(k[D]=qe,k),{}),E=[...d].sort((k,D)=>(I[k]??1/0)-(I[D]??1/0));T(E.filter(Boolean))}},[s,T]);function as(d){return Array.isArray(d)?d.includes("Live-in")?"Live-in":d.includes("Live-out")||d.includes("Live out")?"Live-out":"":""}u.useEffect(()=>{if(s&&!W)try{const d={userId:x==null?void 0:x.id,email:x==null?void 0:x.email,name:x==null?void 0:x.fullName,familyId:x==null?void 0:x.familyId};$e.track("Nanny Viewed",{id:d==null?void 0:d.userId,FamilyEmail:d==null?void 0:d.email,FamilyName:d==null?void 0:d.name,FamilyID:(d==null?void 0:d.familyId)||null,NannyID:s==null?void 0:s.id,FamilyUserID:(x==null?void 0:x.id)||null}),X(!0)}catch(d){console.error(d)}},[s,x,W]),u.useEffect(()=>{(async()=>
24{if(s)try{const _=new URLSearchParams;if(_.append("pageNumber",1),_.append("pageSize",15),_.append("market",j?"HK":"AE"),s.desiredJobs&&s.desiredJobs.length>0&&_.append("position",s.desiredJobs[0]),s.nationality){const I=s.nationality==="Other"?s.otherNationality:s.nationality;_.append("nationality",I)}!j&&s.availableInCities&&s.availableInCities.length>0&&_.append("city",s.availableInCities[0]);const L=await ws(_);if(L.success&&(L!=null&&L.data)){const I=L.data.filter(E=>E.id!==s.id);xe(I)}}catch(_){console.error("Error fetching similar nannies:",_)}})()},[s,j]),u.useEffect(()=>{const d=()=>{window.innerWidth>1024?Z(l?2:3):window.innerWidth>768?Z(2):Z(1)};return d(),window.addEventListener("resize",d),()=>{window.removeEventListener("resize",d)}},[l]);const ns=({onClick:d})=>e.jsx("div",{onClick:d,style:{position:"absolute",top:"50%",left:window.innerWidth<=768?"-30px":"-40px",zIndex:10,display:"flex",alignItems:"center",justifyContent:"center",width:"40px",height:"40px",borderRadius:"50%",cursor:"pointer",transform:"translateY(-50%)"},children:e.jsx(Fs,{style:{fontSize:"18px",color:"#333"}})}),is=({onClick:d})=>e.jsx("div",{onClick:d,style:{position:"absolute",top:"50%",right:window.innerWidth<=768?"-30px":"-40px",zIndex:10,display:"flex",alignItems:"center",justifyContent:"center",width:"40px",height:"40px",borderRadius:"50%",cursor:"pointer",transform:"translateY(-50%)"},children:e.jsx(Ls,{style:{fontSize:"18px",color:"#333"}})});if(ge)return e.jsxs(e.Fragment,{children:[e.jsxs(yt,{children:[e.jsx("title",{children:"Profile unavailable | Peekaboo Nannies"}),e.jsx("meta",{name:"robots",content:"noindex, follow"})]}),e.jsx(Ya,{})]});if(Y)return e.jsxs("div",{children:["Error: ",Y]});if(!s)return e.jsx(Rs,{});const os=new Date(s.boostAddedDate?s.boostAddedDate:s.createdAt),rs=new Date(s.availableFrom).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}),ls=os.toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}),cs=Number((s==null?void 0:s.score)??0)===0&&!(s!=null&&s.boostAddedDate)&&(s==null?void 0:s.deletedAt)==null;function ds(d){return d?d==="Philippines"?"Filipino":d:""}function us(d){return d?d==="both"||d.includes("both")?"Nanny & Maid":d.includes("nanny")?"Nanny":d.includes("maid")?"Maid":d[0]:""}const Ve=as(s.desiredJobs),Re=s.nationality==="Other"?s.otherNationality:ds(s.nationality),Pe=us(s.profileCategory),ut=`${s.firstName+" "+s.lastName}
24 - ${[Ve,Re,Pe].filter(Boolean).join(" ")} | Peekaboo Nannies`,pt=`${[`${s.firstName} ${s.lastName}`,Pe,Re].filter(Boolean).join(" ")} - Find verified, trusted nannies and maids across Dubai, Abu Dhabi and the UAE. 10,000+ families trust Peekaboo for full-time and part-time childcare.`,ps=s!=null&&s.slug?`/nannies/${s.slug}`:window.location.pathname.replace(/\/+$/,""),ft=`${window.location.origin}${ps}`;function fs(){try{J(!0),$e.track("Show Part-Time Schedule",{nanny_id:s.id,nanny_firstName:s.firstName,nanny_lastName:s.lastName,nanny_createdAt:s.createdAt,nanny_phone:s.phoneNumber,family_id:x.id,family_fullName:x.fullName,family_subscription:x.status,family_email:x.email})}catch(d){console.error(d)}}return e.jsxs("div",{id:"content",className:"site-content nanny-detail-page",children:[p&&e.jsx(Ts,{setOpenModal:S}),e.jsxs(yt,{children:[e.jsx("title",{children:ut||"Profile details - Peekaboo"}),e.jsx("meta",{name:"description",content:pt||"Profile details - Peekaboo"}),e.jsx("link",{rel:"canonical",href:ft}),(i||w)&&e.jsx("meta",{name:"robots",content:"noindex, follow"}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:url",content:ft}),e.jsx("meta",{property:"og:title",content:ut||"Profile details - Peekaboo"}),e.jsx("meta",{property:"og:description",content:pt||"Profile details - Peekaboo"}),e.jsx("meta",{property:"og:image",content:s.profilePicture||"https://peekaboo-nannies.com/SQUARE_PNG-1.webp"}),e.jsx("meta",{property:"og:locale",content:"en_AE"}),!i&&!w&&e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://peekaboo-nannies.com"},{"@type":"ListItem",position:2,name:"Search Nannies",item:"https://peekaboo-nannies.com/search-nannies/"},{"@type":"ListItem",position:3,name:`${s.firstName} ${s.lastName}`}]})})]}),!w&&a&&R?e.jsx("div",{className:"modal contact-nanny-purchased-modal fade",id:"ContactModal",tabindex:"-1",role:"dialog","aria-labelledby":"ContactPurchasedModalLabel","aria-hidden":"true",children:Dt&&e.jsx(Xa,{nannyData:s,setPurchasedModalOpen:He})}):w?null:e.jsx(e.Fragment,{children:a?e.jsx("div",{className:"modal contact-nanny-plan-modal fade",id:"ContactModal",tabIndex:"-1",role:"dialog","aria-labelledby":"ContactPlanModalLabel","aria-hidden":"true",children:e.jsx(an,{nannyData:s,isActive:R})}):e.jsx("div",{className:"modal contact-nanny-modal fade",id:"ContactModal",tabIndex:"-1",role:"dialog","aria-labelledby":"ContactModalLabel","aria-hidden":"true",children:e.jsx(sn,{nannyData:s,isActive:R})})}),e.jsx("div",{className:"page-title page-title-orther",style:{display:"flex",justifyContent:"center",alignItems:"center"},children:e.jsx("div",{className:"container",children:e.jsx("div",{className:"entry-detail profile-detail-title-sect",children:e.jsxs("h1",{className:"entry-title",children:[[s.firstName,s.lastName].filter(Boolean).join(" "),[Ve,Re,Pe].filter(
24Boolean).length>0&&` — ${[Ve,Re,Pe].filter(Boolean).join(" ")}`]})})})}),e.jsxs("div",{className:"latest_profile_sect",children:[e.jsx("div",{className:"profile-template-sect",children:e.jsx("div",{className:"top-profile-temp-sect",children:e.jsx("div",{className:"container",children:e.jsxs("div",{className:"row",children:[e.jsx("div",{className:"mobile-lable",children:(s==null?void 0:s.profileType)==="visaReady"?e.jsx(bt,{children:e.jsxs("div",{className:"profile-type-label-mobile-nanny-details profile-type-label-agency",style:{cursor:"pointer"},children:[e.jsx("label",{style:{marginBottom:"0px",cursor:"pointer"},children:"Visa Ready"}),e.jsx(ye,{className:"profile-card-icon1"})]})}):e.jsxs("div",{className:`profile-type-label-mobile-nanny-details ${(s==null?void 0:s.profileType)==="agency"?"profile-type-label-agency":"profile-type-label-direct-details"}`,onClick:()=>S(!0),children:[e.jsx("label",{style:{marginBottom:"0px"},children:(s==null?void 0:s.profileType)==="agency"?"Visa Ready":"Direct Profile"}),e.jsx(ye,{className:"profile-card-icon1"})]})}),e.jsx("div",{className:"col-lg-9 col-md-9 col-sm-12",children:e.jsxs("div",{className:"profile-detail-top-sect",children:[e.jsx("div",{className:"profile-detail-img",children:e.jsx(Je,{src:s.profilePicture,loading:"eager",alt:`${s.firstName} ${s.lastName} - nanny profile photo`,firstName:s.firstName,lastName:s.lastName})}),e.jsxs("div",{children:[e.jsxs("div",{className:"profile-detail-title-sect",children:[e.jsx("h3",{children:`${s.firstName} ${R?s.lastName:`${s.lastName.charAt(0)}.`}`}),!w&&!cs&&e.jsxs("div",{className:"header-title-bottom",children:["Registered on ",e.jsx("span",{children:ls}),"."]})]}),e.jsxs("div",{className:"label",children:[(s==null?void 0:s.profileType)==="visaReady"?e.jsx(bt,{children:e.jsxs("div",{className:"profile-type-label-nanny-details profile-type-label-agency",style:{cursor:"pointer"},children:[e.jsx("label",{style:{marginBottom:"0px",cursor:"pointer"},children:"Visa Ready"}),e.jsx(ye,{className:"profile-card-icon1"})]})}):e.jsxs("div",{className:`profile-type-label-nanny-details ${(s==null?void 0:s.profileType)==="agency"?"profile-type-label-agency":"profile-type-label-direct-details"}`,onClick:()=>S(!0),children:[e.jsx("label",{style:{marginBottom:"0px"},children:(s==null?void 0:s.profileType)==="agency"?"Visa Ready":"Direct Profile"}),e.jsx(ye,{className:"profile-card-icon1"})]}),((s==null?void 0:s.profileType)==="agency"||(s==null?void 0:s.profileType)==="visaReady"||dt)&&e.jsxs("div",{style:{display:window.innerWidth>768?"flex":"block",alignItems:"center",marginLeft:"30px",marginTop:"20px"},children:[e.jsx("img",{src:"/images/bluecheck.webp",loading:"lazy",alt:"Verified profile",width:25,style:{objectFit:"contain"}}),e.jsx("p",{style:{maxWidth:"550px",marginLeft:"10px",fontSize:"13px",marginTop:window.innerWidth>768?"0px":"10px"},children:(s==null?void 0:s.profileType)==="visaReady"?e.jsx(e.Fragment,{children:"This nanny has an active visa through our partner agency. Medical exams and approvals are complete. The hiring process and visa management go through the partner agency (Maids.cc)."}):dt?e.jsx(e.Fragment,{children:"The agency handles all visa and paperwork - processed instantly, no waiting. This maid has verified UAE household experience, so she is ready from day one. You also get 24/7 dedicated support throughout your entire journey."}):e.jsxs(e.Fragment,{children:["The agency handles all the paperwork and Visa requirements for you, you also get"," ",e.jsx("strong",{children:"unlimited free replacements"})," for the maid and you can"," ",e.jsx("strong",{children:"cancel anytime"})," through the agency."]})})]})]})]})]})}),!w&&e.jsx("div",{className:"col-lg-3 col-md-3 col-sm-12 profile-detail-title-btn-sect",children:e.jsxs("div",{className:"profile-detail-title-btn",children:[e.jsx("button",{type:"button",className:"btn btn-danger cont_us wcWindowTitle","data-toggle":"modal","data-target":"#ContactModal",onClick:()=>He(!0),children:Xt?e.jsxs(e.Fragment,{children:[e.jsx("i",{className:"fa fa-phone"})," Hire through agency"]}):e.jsxs(e.Fragment,{children:[e.jsx("i",{className:"fa fa-phone"})," Contact"," ",s.firstName]})}),l&&($?e.jsx("button",{type:"button",className:"AddNotesButton",onClick:()=>ct(!0),children:e.jsxs(e.Fragment,{children:[e.jsx("i",{className:"fa fa-edit"})," Edit or View Note"]})}):e.jsx("button",{type:"button",className:"AddNotesButton",onClick:()=>rt(!0),children:e.jsxs(e.Fragment,{children:[e.jsx("i",{className:"fa fa-edit"})," ",e.jsx("span",{style:{marginLeft:"4px"},children:"Add a Note"})]})})),s.video&&(s==null?void 0:s.score)>0||["VIP Plan","Concierge Plan"].includes((ht=(mt=x==null?void 0:x.activePlan)==null?void 0:mt.plan)==null?void 0:ht.name)?!R&&e.jsxs("button",{type:"button",className:"btn btn-danger cont_us watch_video_icon wcWindowTitle","data-toggle":"modal","data-target":"#ContactModal",style:{display:window.innerWidth>768?"inherit":"none",marginTop:"20px"},children:[e.jsx("i",{className:"fa fa-video-camera",style:{marginTop:"5px"}}),"Watch Video"]}):""]})})]})})})}),e.jsx("div",{className:"main-content content-page",children:e.jsx("div",{className:"container",children:e.jsxs("div",{className:"Profile_Part",children:[e.jsx("input",{type:"hidden",id:"userId",value:"40238"}),e.jsxs("div",{className:"row anna_zip",children:[e.jsxs("div",{className:"col-lg-4 col-md-12",children:[window.innerWidth<720?"":e.jsxs(e.Fragment,{children:[Te?e.jsxs("div",{style:{paddingTop:"25px"},children:[e.jsx("img",{src:Nt,loading:"lazy",alt:"Peekaboo Academy certified nanny",style:{width:"150px",height:"41px"}}),e.jsx("p",{className:"trainings-text",children:"Trainings & Certificates from Peekaboo"})]}):"",Te?e.jsx("div",{children:e.jsx("div",{className:"Profile_Pt",style:{paddingTop:"20px"},children:e.jsxs("div",{className:"academy-container",children:[Oe?e.jsxs("div",{children:[e.jsxs("div",{className:"d-flex",children:[e.jsx("img",{src:Bt,loading:"lazy",alt:"First aid certified nanny badge",className:"academy-icon align-items-center"}
24),e.jsxs("div",{className:"inner-text-acad",children:[e.jsx("p",{className:"academy-text",children:"First Aid & Safety"}),e.jsx("p",{className:"academy-text-2",children:"Essential skills for child safety."})]}),e.jsx("a",{onClick:()=>{st(!ke)},children:e.jsx("img",{src:We,loading:"lazy",alt:"",className:"academy-arrow"})})]}),e.jsxs("div",{className:`text-start dropdown-acad-content ${ke?"show":""}`,children:[e.jsx("p",{className:"acad-details-1",children:"Training Overview"}),e.jsx("p",{className:"acad-details-2",children:"This online course focuses on practical steps and techniques to manage common emergencies, ensuring the nanny can provide immediate and effective care."}),e.jsx("p",{className:"acad-details-1",style:{paddingTop:"10px"},children:"Learning Outcomes"}),e.jsxs("p",{className:"acad-details-2",children:["1. Recognizing signs of distress in infants.",e.jsx("br",{}),"2. Managing choking, breathing difficulties, and other critical conditions.",e.jsx("br",{}),"3. Step-by-step guidance on performing CPR on infants.",e.jsx("br",{}),"4. Best practices for ensuring infant safety."]})]})]}):"",Me&&Oe?e.jsx("hr",{}):"",Me?e.jsxs("div",{children:[e.jsxs("div",{className:"d-flex",style:{paddingTop:"5px"},children:[e.jsx("img",{src:Wt,loading:"lazy",alt:"Great nanny badge",className:"academy-icon align-items-center"}),e.jsxs("div",{className:"inner-text-acad",children:[e.jsx("p",{className:"academy-text",children:"What Makes a Great Nanny"}),e.jsx("p",{className:"academy-text-2",children:"Key qualities of exceptional nannies."})]}),e.jsx("a",{onClick:()=>{pe(!te)},children:e.jsx("img",{src:We,loading:"lazy",alt:"",className:"academy-arrow"})})]}),e.jsxs("div",{className:`text-start dropdown-acad-content ${te?"show":""}`,children:[e.jsx("p",{className:"acad-details-1",children:"Training Overview"}),e.jsx("p",{className:"acad-details-2",children:"This online course is designed to provide valuable insights into the qualities and skills that distinguish exceptional nannies."}),e.jsx("p",{className:"acad-details-1",style:{paddingTop:"10px"},children:"Learning Outcomes"}),e.jsxs("p",{className:"acad-details-2",children:["1. Importance of being prepared and punctual",e.jsx("br",{}),"2. Keeping organized with child-specific information",e.jsx("br",{}),"3. Establishing routines and boundaries",e.jsx("br",{}),"4. Maintaining vigilance and safety awareness",e.jsx("br",{}),"5. Comforting and supporting children emotionally"]})]})]}):""]})})}):""]}),(s.video&&(s==null?void 0:s.score)>0||["VIP Plan","Concierge Plan"].includes((gt=(xt=x==null?void 0:x.activePlan)==null?void 0:xt.plan)==null?void 0:gt.name))&&e.jsxs(e.Fragment,{children:[e.jsx("h3",{children:"Video presentation"}),e.jsx("div",{className:"Profile_Pt",children:e.jsx("div",{className:"nanny-tile__content",children:e.jsxs("div",{className:"nanny-tile__table short_detail_nanny",children:[R&&a?e.jsx("video",{controls:!0,width:"auto",height:"500vh",children:e.jsx("source",{src:s.video,type:"video/mp4"})}):e.jsx("img",{src:Us,loading:"lazy",alt:"","data-toggle":"modal","data-target":"#ContactModal"}),!o&&e.jsx("p",{className:"login_video_p",children:"Log in to see the presentation video"})]})})})]}),e.jsx("h3",{children:"My identity"}),e.jsx("div",{className:"Profile_Pt",children:e.jsx("div",{className:"nanny-tile__content",children:e.jsx("div",{className:"nanny-tile__table short_detail_nanny",children:e.jsxs("div",{children:[e.jsxs("div",{className:"nanny-tile__table__row",children:[e.jsx("div",{className:"nanny-tile__table__key",children:"Nationality"}),e.jsx("div",{className:"nanny-tile_value",children:s.nationality==="Other"?s.otherNationality:s.nationality})]}),e.jsxs("div",{className:"nanny-tile__table__row",children:[e.jsx("div",{className:"nanny-tile__table__key",children:"Age"}),e.jsx("div",{className:"nanny-tile_value",children:s.age})]}),e.jsxs("div",{className:"nanny-tile__table__row",children:[e.jsx("div",{className:"nanny-tile__table__key",children:"Number Of Kids"}),e.jsx("div",{className:"nanny-tile_value",children:s.numberOfKids})]}),e.jsxs("div",{className:"nanny-tile__table__row",children:[e.jsx("div",{className:"nanny-tile__table__key",children:"Marital Status"}),e.jsx("div",{className:"nanny-tile_value",children:s.maritalStatus})]}),e.jsxs("div",{className:"nanny-tile__table__row",children:[e.jsx("div",{className:"nanny-tile__table__key",children:"Religion"}),e.jsx("div",{className:"nanny-tile_value",children:s.religion})]})]})})})}),window.innerWidth<720?e.jsxs(e.Fragment,{children:[Te?e.jsxs("div",{style:{paddingTop:"35px"},children:[e.jsx("img",{src:Nt,loading:"lazy",alt:"Peekaboo Academy certified nanny",style:{width:"150px",height:"41px"}}),e.jsx("p",{className:"trainings-text",children:"Trainings & Certificates from Peekaboo"})]}):"",Te?e.jsx("div",{children:e.jsx("div",{className:"Profile_Pt",style:{paddingTop:"20px"},children:e.jsxs("div",{className:"academy-container",children:[Oe?e.jsxs("div",{children:[e.jsxs("div",{className:"d-flex",children:[e.jsx("img",{src:Bt,loading:"lazy",alt:"First aid certified nanny badge",className:"academy-icon align-items-center"}
24),e.jsxs("div",{className:"inner-text-acad",children:[e.jsx("p",{className:"academy-text",children:"First Aid & Safety"}),e.jsx("p",{className:"academy-text-2",children:"Essential skills for child safety."})]}),e.jsx("a",{onClick:()=>{st(!ke)},children:e.jsx("img",{src:We,loading:"lazy",alt:"",className:"academy-arrow"})})]}),e.jsxs("div",{className:`text-start dropdown-acad-content ${ke?"show":""}`,children:[e.jsx("p",{className:"acad-details-1",children:"Training Overview"}),e.jsx("p",{className:"acad-details-2",children:"This online course focuses on practical steps and techniques to manage common emergencies, ensuring the nanny can provide immediate and effective care."}),e.jsx("p",{className:"acad-details-1",style:{paddingTop:"10px"},children:"Learning Outcomes"}),e.jsxs("p",{className:"acad-details-2",children:["1. Recognizing signs of distress in infants.",e.jsx("br",{}),"2. Managing choking, breathing difficulties, and other critical conditions.",e.jsx("br",{}),"3. Step-by-step guidance on performing CPR on infants.",e.jsx("br",{}),"4. Best practices for ensuring infant safety."]})]})]}):"",Me&&Oe?e.jsx("hr",{}):"",Me?e.jsxs("div",{children:[e.jsxs("div",{className:"d-flex",style:{paddingTop:"5px"},children:[e.jsx("img",{src:Wt,loading:"lazy",alt:"Great nanny badge",className:"academy-icon align-items-center"}),e.jsxs("div",{className:"inner-text-acad",children:[e.jsx("p",{className:"academy-text",children:"What Makes a Great Nanny"}),e.jsx("p",{className:"academy-text-2",children:"Key qualities of exceptional nannies."})]}),e.jsx("a",{onClick:()=>{pe(!te)},children:e.jsx("img",{src:We,loading:"lazy",alt:"",className:"academy-arrow"})})]}),e.jsxs("div",{className:`text-start dropdown-acad-content ${te?"show":""}`,children:[e.jsx("p",{className:"acad-details-1",children:"Training Overview"}),e.jsx("p",{className:"acad-details-2",children:"This online course is designed to provide valuable insights into the qualities and skills that distinguish exceptional nannies."}),e.jsx("p",{className:"acad-details-1",style:{paddingTop:"10px"},children:"Learning Outcomes"}),e.jsxs("p",{className:"acad-details-2",children:["1. Importance of being prepared and punctual",e.jsx("br",{}),"2. Keeping organized with child-specific information",e.jsx("br",{}),"3. Establishing routines and boundaries",e.jsx("br",{}),"4. Maintaining vigilance and safety awareness",e.jsx("br",{}),"5. Comforting and supporting children emotionally"]})]})]}):""]})})}):""]}):"",e.jsx("h3",{children:"I can help with"}),e.jsx("div",{className:"Profile_Pt",children:e.jsx("div",{className:"nanny-tile__content",children:e.jsx("div",{className:"nanny-tile__table short_detail_nanny",children:e.jsx("div",{children:e.jsx("div",{className:"can_nanny_help_with",children:e.jsx("ul",{className:"ftr-social-media",children:O?O.map((d,_)=>e.jsxs("li",{children:[e.jsx("i",{children:e.jsx("img",{src:K(d),loading:"lazy",alt:d})}),e.jsx("span",{children:d})]},_)):""})})})})})})]}),e.jsxs("div",{className:"col-lg-8 col-md-12",children:[e.jsx("h3",{children:"About me"}),e.jsx("div",{className:"profile_details",children:e.jsx("div",{className:"nanny-tile__table residents",children:e.jsx("div",{children:e.jsx("p",{children:s.aboutMe})})})}),e.jsx("h3",{children:"My details"}),e.jsx("div",{className:"profile_details",children:e.jsx("div",{className:"nanny-tile__table residents",children:e.jsxs("div",{children:[!j&&e.jsxs("div",{className:"nanny-tile__table__row",children:[e.jsx("div",{className:"nanny-tile__table__key",children:"City available to work"}),e.jsx("div",{className:"nanny-tile_value",children:s.availableInCities.join(", ")})]}),e.jsxs("div",{className:"nanny-tile__table__row",children:[e.jsxs("div",{className:"nanny-tile__table__key",children:["Desired monthly salary (",j?"HKD":"AED",")"]}),e.jsx("div",{className:"nanny-tile_value",children:s.desiredMonthlySalary})]}),e.jsxs("div",{className:"nanny-tile__table__row",children:[e.jsx("div",{className:"nanny-tile__table__key",children:"Languages"}),e.jsx("div",{className:"nanny-tile_value",children:s.languages.join(", ")})]}),e.jsxs("div",{className:"nanny-tile__table__row",children:[e.jsx("div",{className:"nanny-tile__table__key",children:"Desired job"}),e.jsxs("div",{className:"nanny-tile_value",children:[s.desiredJobs.join(", "),s.desiredJobs.includes("Part time")&&(F==!1?e.jsxs("div",{className:"part-time-schedule-toggle",onClick:fs,style:{display:"flex",alignItems:"center"},children:[e.jsx(wt,{style:{marginRight:"6px"}}),"Show part-time schedule"," ",e.jsx("i",{className:`fa fa-chevron-${F?"up":"down"} down-icon`,style:{marginLeft:"6px"}})]}):e.jsxs("div",{className:"part-time-schedule-toggle",onClick:()=>J(!1),style:{display:"flex",alignItems:"center"},children:[e.jsx(wt,{style:{marginRight:"6px"}}),"Hide part-time schedule"," ",e.jsx("i",{className:`fa fa-chevron-${F?"up":"down"} down-icon`,style:{marginLeft:"6px"}})]}))]}),e.jsx("div",{className:`nanny-schedule__table ${F?"":"hidden"}`,children:F&&e.jsx("div",{className:"part-time-schedule",children:e.jsx(Bs,{schedule:s.part_time_availability,isDetail
24sPage:!0})})})]}),(s==null?void 0:s.profileType)!=="agency"&&e.jsxs("div",{className:"nanny-tile__table__row",children:[e.jsx("div",{className:"nanny-tile__table__key",children:"Current Visa status"}),e.jsxs("div",{className:"nanny-tile_value",style:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"6px",position:"relative"},children:[s.visaStatus,s.visaStatus==="Domestic Worker Visa"&&e.jsxs(e.Fragment,{children:[e.jsx(ye,{style:{cursor:"pointer",fontSize:"1.1rem",color:"#555",flexShrink:0},onClick:()=>ie(!0)}),de&&e.jsx(nn,{onClose:()=>ie(!1)})]})]})]}),e.jsxs("div",{className:"nanny-tile__table__row",children:[e.jsx("div",{className:"nanny-tile__table__key",children:"Available from"}),e.jsx("div",{className:"nanny-tile_value",children:rs})]}),e.jsxs("div",{className:"nanny-tile__table__row",children:[e.jsx("div",{className:"nanny-tile__table__key",children:"Year of experience"}),e.jsx("div",{className:"nanny-tile_value",children:s.yearsOfExperience})]}),e.jsxs("div",{className:"nanny-tile__table__row",children:[e.jsx("div",{className:"nanny-tile__table__key",children:"Experience with kids"}),e.jsx("div",{className:"nanny-tile_value",children:b?b.map((d,_)=>e.jsx("div",{children:d},_)):""})]}),e.jsxs("div",{className:"nanny-tile__table__row",children:[e.jsx("div",{className:"nanny-tile__table__key",children:"Education"}),e.jsxs("div",{className:"nanny-tile_value",children:[s.educationLevel||"none",(s.educationLevel==="college"||s.educationLevel==="others")&&s.educationDetails?` - ${s.educationDetails}`:""]})]})]})})}),s.recommendation&&e.jsxs(e.Fragment,{children:[e.jsx("h3",{children:"Recommendations I can provide"}),e.jsx("div",{className:"profile_details",children:e.jsx("div",{className:"nanny-tile__table residents",children:e.jsx("div",{children:e.jsx("div",{className:"recomded_sec",children:e.jsx("p",{children:s.recommendation})})})})})]}),!w&&e.jsxs("button",{type:"button",className:"btn btn-danger cont_us wcWindowTitle","data-toggle":"modal","data-target":"#ContactModal",onClick:()=>He(!0),children:[e.jsx("i",{className:"fa fa-phone"})," Contact"," ",s.firstName]})]})]})]})})})]}),ot&&e.jsx(rn,{getNote:ze,nannyId:s==null?void 0:s.id,onClose:rt,isOpen:ot}),lt&&e.jsx(ln,{getNote:ze,nannyId:s==null?void 0:s.id,noteData:$,onClose:ct,isOpen:lt}),!w&&ce.length>0&&e.jsx("div",{className:"similar-nannies-section",style:{marginTop:"120px",marginBottom:"40px",overflow:"hidden"},children:e.jsxs("div",{className:"container",children:[e.jsx("div",{className:"row nannies-grid-title",children:e.jsx("div",{className:"col-sm-12 text-center",children:e.jsx("h2",{style:{marginBottom:"30px",fontSize:"28px",fontWeight:"600",color:"#333"},children:"Similar Nannies You May Like"})})}),e.jsx("div",{className:`${l?"isFamilyWidthLMOP80":"isFamilyWidthLMOP100"}`,style:{display:"flex",flexDirection:"column",alignItems:"center",position:"relative",padding:window.innerWidth<=768?"20px 0":"20px 60px",maxWidth:"100%"},children:e.jsx(Ws,{arrows:!0,dots:!1,prevArrow:e.jsx(ns,{}),nextArrow:e.jsx(is,{}),slidesToShow:ne,slidesToScroll:1,className:`${l?"family50vw":"clouser"}`,children:ce.map(d=>e.jsx("div",{style:{padding:"0 10px"},children:e.jsx(Is,{nanny:d,setOpenModal:S})},d.id))})})]})})]})}export{Mn as default};

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.