1(this.webpackJsonporchid=this.webpackJsonporchid||[]).push([[43],{1051:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r,i,a=n(7),s=n(1),l=["title","titleId"];function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function o(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u(e,t){var n=e.title,a=e.titleId,u=o(e,l);return s.createElement("svg",c({width:17,height:16,viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":a},u),n?s.createElement("title",{id:a},n):null,r||(r=s.createElement("path",{d:"M14.5 8C14.5 11.3137 11.8137 14 8.5 14C5.18629 14 2.5 11.3137 2.5 8C2.5 4.68629 5.18629 2 8.5 2C11.8137 2 14.5 4.68629 14.5 8Z",fill:"#F3FAFF"})),i||(i=s.createElement("path",{d:"M12.1869 6.35355C12.3821 6.15829 12.3821 5.84171 12.1869 5.64645C11.9916 5.45118 11.675 5.45118 11.4798 5.64645L12.1869 6.35355ZM7.16665 10.6667L6.8131 11.0202C7.00836 11.2155 7.32495 11.2155 7.52021 11.0202L7.16665 10.6667ZM5.52018 8.31311C5.32492 8.11785 5.00833 8.11785 4.81307 8.31311C4.61781 8.50838 4.61781 8.82496 4.81307 9.02022L5.52018 8.31311ZM11.4798 5.64645L6.8131 10.3131L7.52021 11.0202L12.1869 6.35355L11.4798 5.64645ZM4.81307 9.02022L6.8131 11.0202L7.52021 10.3131L5.52018 8.31311L4.81307 9.02022ZM14 8C14 11.0376 11.5376 13.5 8.5 13.5V14.5C12.0899 14.5 15 11.5899 15 8H14ZM8.5 13.5C5.46243 13.5 3 11.0376 3 8H2C2 11.5899 4.91015 14.5 8.5 14.5V13.5ZM3 8C3 4.96243 5.46243 2.5 8.5 2.5V1.5C4.91015 1.5 2 4.41015 2 8H3ZM8.5 2.5C11.5376 2.5 14 4.96243 14 8H15C15 4.41015 12.0899 1.5 8.5 1.5V2.5Z",fill:"#185888"})))}var d=s.forwardRef(u),j=(n.p,n(1010)),b=n(454),f=n(42),h=n(1197),p=n.n(h),m=n(10),_=n(0),O=Object.freeze({today:"Available today",thisWeek:"Available this week",nextWeek:"Available next week"});function g(e){var t=e.orchid_pro_cognito_sub,n=e.highlightToday,r=e.className,i=Object(s.useState)(""),l=Object(a.a)(i,2),c=l[0],o=l[1];Object(s.useEffect)((function(){var e=new AbortController,n={signal:e.signal};return Promise.all([Object(j.c)(t,n),Object(b.a)(t,n),Object(j.a)(t,n)]).then((function(e){var t=Object(a.a)(e,3),n=t[0],r=t[1],i=t[2],s=r.reduce((function(e,t){return null===e||e.length_min>t.length_min?t:e}),null);if(s)for(var l=Object(j.f)(),c=0,u=0;u<14;++u){if(Object(j.b)(n,i,l,s).filter((function(e){return!!e.start&&e.start>new Date})).length>0){if(+l===+Object(j.f)()){o(O.today);break}if(0===c){o(O.thisWeek);break}o(O.nextWeek);break}if(l.setDate(l.getDate()+1),0===l.getDay()&&(c+=1),c>1)break}})).catch((function(e){"AbortError"!==e.name&&console.error(e)})),function(){e.abort()}}),[t]);var u=Object(f.b)().isPhonePortrait;return c?Object(_.jsxs)("div",{className:Object(m.a)(p.a["availability-tag"],u&&p.a["availability-tag--phone-view"],c===O.today&&p.a["availability-tag--today".concat(n?"-highlighted":"")],r),children:[Object(_.jsx)(d,{className:p.a["availability-tag__icon"]}),c]}):null}},1098:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r,i=n(1),a=["title","titleId"];function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function c(e,t){var n=e.title,c=e.titleId,o=l(e,a);return i.createElement("svg",s({width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":c},o),n?i.createElement("title",{id:c},n):null,r||(r=i.createElement("path",{d:"M7.70227 13.75H12.2977V12.25H7.70227V13.75ZM12.2977 13.75C13.9282 13.75 15.25 15.0718 15.25 16.7023H16.75C16.75 14.2433 14.7567 12.25 12.2977 12.25V13.75ZM7.70227 12.25C5.24335 12.25 3.25 14.2433 3.25 16.7023H4.75C4.75 15.0718 6.07178 13.75 7.70227 13.75V12.25ZM12.25 7C12.25 8.24264 11.2426 9.25 10 9.25V10.75C12.0711 10.75 13.75 9.07107 13.75 7H12.25ZM10 9.25C8.7
15736 9.25 7.75 8.24264 7.75 7H6.25C6.25 9.07107 7.92893 10.75 10 10.75V9.25ZM7.75 7C7.75 5.75736 8.75736 4.75 10 4.75V3.25C7.92893 3.25 6.25 4.92893 6.25 7H7.75ZM10 4.75C11.2426 4.75 12.25 5.75736 12.25 7H13.75C13.75 4.92893 12.0711 3.25 10 3.25V4.75ZM18.25 10C18.25 14.5563 14.5563 18.25 10 18.25V19.75C15.3848 19.75 19.75 15.3848 19.75 10H18.25ZM10 18.25C5.44365 18.25 1.75 14.5563 1.75 10H0.25C0.25 15.3848 4.61522 19.75 10 19.75V18.25ZM1.75 10C1.75 5.44365 5.44365 1.75 10 1.75V0.25C4.61522 0.25 0.25 4.61522 0.25 10H1.75ZM10 1.75C14.5563 1.75 18.25 5.44365 18.25 10H19.75C19.75 4.61522 15.3848 0.25 10 0.25V1.75Z",fill:"#828282"})))}var o=i.forwardRef(c);n.p},1161:function(e,t,n){"use strict";var r=n(7),i=n(58),a=n(1),s=n(203),l=n(10),c=n(1442),o=n.n(c),u=n(167),d=n.n(u),j=n(0);t.a=function(e){var t=e.content,n=e.lines,c=void 0===n?5:n,u=e.expanded,b=void 0!==u&&u,f=e.noSanitize,h=e.rootClass,p=e.textContainerClass,m=e.buttonContainerClass,_=e.onClick,O=Object(a.useState)(b),g=Object(r.a)(O,2),x=g[0],v=g[1],y=Object(a.useRef)(null),w=Object(a.useState)(!1),N=Object(r.a)(w,2),C=N[0],k=N[1];Object(a.useEffect)((function(){k(!1);var e=y.current;if(e){var t=+getComputedStyle(e).lineHeight.replace(/[a-z]*$/,"");return((null===e||void 0===e?void 0:e.scrollHeight)||0)>(t*c||0)&&k(!0),function(){k(!1)}}}),[t,c]);var P=x||!C;return Object(j.jsxs)("div",{className:Object(l.a)(o.a["show-more"],h),children:[Object(j.jsx)("div",{className:Object(l.a)(o.a["show-more__text-container"],!P&&o.a["show-more__text-container--clamped"],p),style:{height:P?"auto":"".concat(1.5*c,"em")},dangerouslySetInnerHTML:{__html:f?t:d.a.sanitize(t)},ref:y}),C&&Object(j.jsx)(s.a,{variant:"link",className:Object(l.a)(o.a["show-more__button-container"],m),onClick:function(e){return v(!x),_&&_(e)},children:"".concat(i.e.read," ").concat(x?i.e.less:i.e.more)})]})}},1197:function(e,t,n){e.exports={"availability-tag":"AvailabilityTag_availability-tag__2B9TU","availability-tag__icon":"AvailabilityTag_availability-tag__icon__2ss7G","availability-tag--phone-view":"AvailabilityTag_availability-tag--phone-view__2S66M","availability-tag--today":"AvailabilityTag_availability-tag--today__2oRrx","availability-tag--today-highlighted":"AvailabilityTag_availability-tag--today-highlighted__QtmC1",placeHolderShimmer:"AvailabilityTag_placeHolderShimmer__Tk1J0",shimmer:"AvailabilityTag_shimmer__-RxWk"}},1442:function(e,t,n){e.exports={"show-more":"styles_show-more__2CoOK","show-more__text-container":"styles_show-more__text-container__2et1e","show-more__button-container":"styles_show-more__button-container__v1Wzb",placeHolderShimmer:"styles_placeHolderShimmer___Kaxk",shimmer:"styles_shimmer__2QNdC"}},1445:function(e,t,n){"use strict";var r=n(7),i=n(1);t.a=function(e){var t=Object(i.useState)(""),n=Object(r.a)(t,2),a=n[0],s=n[1],l=Object(i.useState)(""),c=Object(r.a)(l,2),o=c[0],u=c[1];return Object(i.useEffect)((function(){if(e){var t=new Image;t.src=e,t.onload=function(){s(t.width.toFixed(0)),u(t.height.toFixed(0))}}}),[e]),{width:a,height:o}}},1832:function(e,t,n){"use strict";n(1);var r=n(362),i=n(42),a=n(993),s=n(1098),l=n(18),c=n(10),o=n(1833),u=n.n(o),d=n(0);function j(e){var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}t.a=function(e){var t=e.groupSeries,n=Object(i.b)().isPhonePortrait;return Object(d.jsx)(l.b,{className:"w-100",to:"/group-session/series/".concat(t.id),children:Object(d.jsxs)(r.a,{className:"rounded-lg h-100 w-100",children:[n&&1!==t.number_of_sessions&&Object(d.jsxs)("div",{className:Object(c.a)("rounded-lg",u.a["session-number-tag--phone"]),children:[t.number_of_sessions," sessions"]}),Object(d.jsxs)("div",{className:Object(c.a)("d-flex align-items-center",!n&&1!==t.speakers.length&&"justify-content-between",n?u.a["series-card__header--phone"]:u.a["series-card__header"]),children:[Object(d.jsx)(a.a,{groupSeries:t}),1===t.speakers.length?Object(d.jsxs)("div",{className:Object(c.a)("ml-3 md-16",n?"deep-blue":"blue"),children:[t.next_session.orchid_pro_firstname," ",t.next_session.orchid_pro_lastname]}):Object(d.jsxs)(r.a.Text,{className:"gray01 rg-16 ml-3 d-flex align-items-center",children:[Object(d.jsx)(s.a,{}),"\xa0",t.speakers.length," speakers"]})]}),Object(d.jsxs)("div",{className:n?u.a["series-card__body--phone"]:u.a["series-card__body"],children:[!n&&(1!==t.number_of_sessions?Object(d.jsxs)("div",{className:u.a["session-number-tag"],children:[t.number_of_sessions," sessions series"]}):Object(d.jsx)("div",{className:u.a["session-number-tag"],children:"One time session"})),Object(d.jsx)(r.a.Text,{as:"h4",className:Object(c.a)("d-inline darker questr
1ial",n?"rg-17":"rg-24"),children:1===t.number_of_sessions?t.next_session.topic:t.title}),Object(d.jsx)("div",{className:"rg-14 darker module line-clamp-3",children:j(t.description)})]})]})})}},1833:function(e,t,n){e.exports={"session-number-tag":"styles_session-number-tag__4d3j5","session-number-tag--phone":"styles_session-number-tag--phone__236K7","series-card__header":"styles_series-card__header__cw4RO","series-card__header--phone":"styles_series-card__header--phone__3Xc8S","series-card__body":"styles_series-card__body__3FW-c","series-card__body--phone":"styles_series-card__body--phone__2EJls",placeHolderShimmer:"styles_placeHolderShimmer__2iSkx",shimmer:"styles_shimmer__1rt7g"}},2657:function(e,t,n){e.exports={"session-type-with-backdrop__modal-dialog":"styles_session-type-with-backdrop__modal-dialog__RXaBZ","session-type-with-backdrop__modal-content":"styles_session-type-with-backdrop__modal-content__w2IOs","session-type-with-backdrop__cancel":"styles_session-type-with-backdrop__cancel__2cZyv","session-type-with-backdrop__modal":"styles_session-type-with-backdrop__modal__GMFQc",placeHolderShimmer:"styles_placeHolderShimmer__1a2-o",shimmer:"styles_shimmer__3seFD"}},2658:function(e,t,n){e.exports={"component-container":"styles_component-container__1zvA1","partial-container":"styles_partial-container__GNevJ","button-area":"styles_button-area__11vAV","button-area--fixed":"styles_button-area--fixed__1b97I",placeHolderShimmer:"styles_placeHolderShimmer__yUzYC",shimmer:"styles_shimmer__2STQK"}},2659:function(e,t,n){e.exports={"orchid-verified-tag":"styles_orchid-verified-tag__35UZg","orchid-verified-tag__icon":"styles_orchid-verified-tag__icon__2nnv1",placeHolderShimmer:"styles_placeHolderShimmer__2TrX5",shimmer:"styles_shimmer__3UTtd"}},2660:function(e,t,n){e.exports={"full-profile__hr":"OrchidProFullProfile_full-profile__hr__eH9Bl","full-profile__card":"OrchidProFullProfile_full-profile__card__2fusJ","full-profile__card-body":"OrchidProFullProfile_full-profile__card-body__3Rylr","full-profile__quotation":"OrchidProFullProfile_full-profile__quotation__1xc-5","full-profile__title":"OrchidProFullProfile_full-profile__title__2deDY","full-profile__sub-title":"OrchidProFullProfile_full-profile__sub-title__ihZ_B","full-profile__ul":"OrchidProFullProfile_full-profile__ul__3EVV_","full-profile__brief-info":"OrchidProFullProfile_full-profile__brief-info__s8y8M","full-profile__left-content":"OrchidProFullProfile_full-profile__left-content__2CuWb","full-profile__left-content--phone":"OrchidProFullProfile_full-profile__left-content--phone__1gqg-",placeHolderShimmer:"OrchidProFullProfile_placeHolderShimmer__1dDmq",shimmer:"OrchidProFullProfile_shimmer__14d-j"}},2661:function(e,t,n){e.exports={"appointment-schedule-button--phone":"InfoPage_appointment-schedule-button--phone__3O-xO","appoint-type-card":"InfoPage_appoint-type-card__3ciYy","calendar-container":"InfoPage_calendar-container__1z1Sq","full-profile":"InfoPage_full-profile__2_5Xj","full-profile__hr":"InfoPage_full-profile__hr__3f2Bt","full-profile__section-title":"InfoPage_full-profile__section-title__2kFPB","full-profile__section-title--phone":"InfoPage_full-profile__section-title--phone__A9xRT","full-profile--phone":"InfoPage_full-profile--phone__V_Za9",placeHolderShimmer:"InfoPage_placeHolderShimmer__3ndCL",shimmer:"InfoPage_shimmer__1AY_x"}},3361:function(e,t,n){"use strict";n.r(t);var r,i=n(2),a=n.n(i),s=n(6),l=n(7),c=n(1),o=n.n(c),u=n(362),d=n(203),j=n(585),b=n(729),f=n(361),h=n(217),p=n(1605),m=n(360),_=n(754),O=n(2657),g=n.n(O),x=n(19),v=n(0),y=function(e){var t=e.show,n=e.onHide,r=e.setSelectedType,i=e.appointmentTypes,a=e.setShowSessionsModal,s=e.amplitudePageName;return Object(v.jsx)(m.a,{show:t,onHide:n,dialogClassName:g.a["session-type-with-backdrop__modal-dialog"],contentClassName:g.a["session-type-with-backdrop__modal-content"],className:g.a["session-type-with-backdrop__modal"],children:Object(v.jsxs)(_.a,{children:[Object(v.jsx)(_.a.Item,{className:"gray01",children:"Session types"}),i.filter((function(e){return!e.invite_only})).map((function(e,t){return Object(v.jsxs)(_.a.Item,{className:"justify-content-between d-inline-flex border-0",onClick:function(){Object(x.d)(s,["phone-session-type-selection-modal","session-type-selector"],"click"),r(e),a(!0)},children:[e.label," ",Object(v.jsx)("div",{className:"gray01",children:"$".concat(e.price,"/").concat(e.length_min,"min")})]},t)}))]})})},w=n(13),N=n(42),C=n(1051),k=n(422),P=n(1161),S=["title","titleId"];function T(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function M(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function A(e,t){var n=e.title,i=e.titleId,a=M(e,S);return c.createElement("svg",T({width:19,height:15,viewBox:"0 0 19 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":i},a),n?c.createElement("title",{id:i},n):null,r||(r=c.createElement("path",{d:"M8.24609 10.9102C8.24609 11.9258 7.875 12.8047 7.13281 13.5469C6.39062 14.2891 5.49219 14.6602 4.4375 14.6602C3.46094 14.6602 2.58203 14.2891 1.80078 13.5469C1.05859 12.8047 0.609375 11.9453 0.453125 10.9688C0.179688 9.01562 0.511719 7.08203 1.44922 5.16797C2.42578 3.21484 3.83203 1.69141 5.66797 0.597656C6.25391 0.207031 6.74219 0.207031 7.13281 0.597656C7.5625 0.949219 7.50391 1.32031 6.95703 1.71094C6.29297 2.25781 5.66797 2.92187 5.08203 3.70312C4.53516 4.48438 4.16406 5.40234 3.96875 6.45703C3.85156 7.04297 4.04688 7.33594 4.55469 7.33594C5.60938 7.33594 6.48828 7.6875 7.19141 8.39062C7.89453 9.09375 8.24609 9.93359 8.24609 10.9102ZM18.0312 10.9102C18.0312 11.9258 17.6602 12.8
1047 16.918 13.5469C16.1758 14.2891 15.2773 14.6602 14.2227 14.6602C13.2461 14.6602 12.3672 14.2891 11.5859 13.5469C10.8438 12.8047 10.3945 11.9453 10.2383 10.9688C9.96484 9.01562 10.2969 7.08203 11.2344 5.16797C12.2109 3.21484 13.6172 1.69141 15.4531 0.597656C16.0391 0.207031 16.5273 0.207031 16.918 0.597656C17.3477 0.949219 17.2891 1.32031 16.7422 1.71094C16.0781 2.25781 15.4531 2.92187 14.8672 3.70312C14.3203 4.48438 13.9492 5.40234 13.7539 6.45703C13.6367 7.04297 13.832 7.33594 14.3398 7.33594C15.3945 7.33594 16.2734 7.6875 16.9766 8.39062C17.6797 9.09375 18.0312 9.93359 18.0312 10.9102Z",fill:"#1778E1"})))}var F,L,I=c.forwardRef(A),E=(n.p,n(222)),H=n(452),Z=n(10),V=n(2658),B=n.n(V),z=function(e){var t=e.children,n=e.showAll,r=e.setShowAll,i=e.showAllText,a=e.showLessText,s=e.onToggle,l=o.a.Children.map(t,(function(e){return o.a.isValidElement(e)?o.a.cloneElement(e):e}));return Object(v.jsxs)("div",{className:n?"":B.a["partial-container"],children:[l,Object(v.jsx)("div",{className:n?B.a["button-area"]:Object(Z.a)(B.a["button-area"],B.a["button-area--fixed"]),children:Object(v.jsx)(d.a,{className:"smoothed",variant:"link",onClick:function(){s&&s(),r(!n)},children:n?a:i})})]})},R=["title","titleId"];function q(){return(q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function W(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function D(e,t){var n=e.title,r=e.titleId,i=W(e,R);return c.createElement("svg",q({width:16,height:16,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":r},i),n?c.createElement("title",{id:r},n):null,F||(F=c.createElement("path",{d:"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8Z",fill:"#185888"})),L||(L=c.createElement("path",{d:"M11.6869 6.35355C11.8821 6.15829 11.8821 5.84171 11.6869 5.64645C11.4916 5.45118 11.175 5.45118 10.9798 5.64645L11.6869 6.35355ZM6.66665 10.6667L6.3131 11.0202C6.50836 11.2155 6.82495 11.2155 7.02021 11.0202L6.66665 10.6667ZM5.02018 8.31311C4.82492 8.11785 4.50833 8.11785 4.31307 8.31311C4.11781 8.50838 4.11781 8.82496 4.31307 9.02022L5.02018 8.31311ZM10.9798 5.64645L6.3131 10.3131L7.02021 11.0202L11.6869 6.35355L10.9798 5.64645ZM4.31307 9.02022L6.3131 11.0202L7.02021 10.3131L5.02018 8.31311L4.31307 9.02022ZM13.5 8C13.5 11.0376 11.0376 13.5 8 13.5V14.5C11.5899 14.5 14.5 11.5899 14.5 8H13.5ZM8 13.5C4.96243 13.5 2.5 11.0376 2.5 8H1.5C1.5 11.5899 4.41015 14.5 8 14.5V13.5ZM2.5 8C2.5 4.96243 4.96243 2.5 8 2.5V1.5C4.41015 1.5 1.5 4.41015 1.5 8H2.5ZM8 2.5C11.0376 2.5 13.5 4.96243 13.5 8H14.5C14.5 4.41015 11.5899 1.5 8 1.5V2.5Z",fill:"white"})))}var J=c.forwardRef(D),G=(n.p,n(58)),K=n(2659),U=n.n(K),Y=function(){return Object(v.jsxs)("div",{className:U.a["orchid-verified-tag"],children:[Object(v.jsx)(J,{className:U.a["orchid-verified-tag__icon"]}),G.e.orchidVerified]})},Q=n(81),X=n(2660),$=n.n(X),ee=function(e){var t=e.arr,n=e.showAll,r=e.setShowAll,i=e.showAllText,a=e.showLessText,s=e.onToggle;return t.length<=6?Object(v.jsxs)(f.a,{children:[Object(v.jsx)(h.a,{md:6,className:"pl-0",children:Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:t.map((function(e,t){return t<=2&&Object(v.jsx)("li",{children:e},t)}))})}),Object(v.jsx)(h.a,{md:6,className:"pl-0",children:Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:t.map((function(e,t){return t>=3&&Object(v.jsx)("li",{children:e},t)}))})})]}):Object(v.jsxs)(z,{showAll:n,setShowAll:r,showAllText:i,showLessText:a,onToggle:s,children:[Object(v.jsxs)(f.a,{children:[Object(v.jsx)(h.a,{md:6,className:"pl-0",children:Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:t.map((function(e,t){return t<=2&&Object(v.jsx)("li",{children:e},t)}))})}),Object(v.jsx)(h.a,{md:6,className:"pl-0",children:Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:t.map((function(e,t){return t>=3&&t<=5&&Object(v.jsx)("li",{children:e},t)}))})})]}),t.length>6&&n&&Object(v.jsxs)(f.a,{children:[Object(v.jsx)(h.a,{md:6,className:"pl-0",children:Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:t.map((function(e,n){return n>
1=6&&n<t.length/2+3&&Object(v.jsx)("li",{children:e},n)}))})}),Object(v.jsx)(h.a,{md:6,className:"pl-0",children:Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:t.map((function(e,n){return n>=t.length/2+3&&Object(v.jsx)("li",{children:e},n)}))})})]})]})},te=function(e){var t,n,r,i,a,s,o,d,j,b,p,m,_,O,g,y,S,T,M,A,F,L,V,B,z=e.orchidPro,R=e.amplitudePageName,q=Object(N.b)().isPhonePortrait,W=Object(c.useState)(!1),D=Object(l.a)(W,2),J=D[0],G=D[1],K=Object(c.useState)(!1),U=Object(l.a)(K,2),X=U[0],te=U[1],ne=Object(c.useState)(!1),re=Object(l.a)(ne,2),ie=re[0],ae=re[1];return z?Object(v.jsxs)(v.Fragment,{children:[!q&&Object(v.jsx)(f.a,{className:"mb-4",children:Object(v.jsxs)("div",{className:$.a["full-profile__brief-info"],children:[Object(v.jsx)(k.a,{orchidPro:z}),Object(v.jsxs)("span",{className:"ml-4",children:[Object(v.jsxs)("h1",{children:[Object(v.jsx)("div",{className:"deep-blue rg-24 mt-0 mb-2",children:Object(E.e)(z)}),(null===(t=z.orchid_pro_types)||void 0===t?void 0:t.length)?"9929e6ac-8d68-4fba-8208-9b14ec05f132"===z.cognito_sub?Object(v.jsx)("p",{className:"rg-14 gray01 mb-0",children:"Licensed Occupational Therapist"}):Object(v.jsx)("p",{className:"rg-14 gray01 mb-0",children:Object(E.h)(z)}):null,(null===(n=z.licenses)||void 0===n?void 0:n.length)?Object(v.jsx)("p",{className:"bd-14",children:z.licenses.filter((function(e){return e.type})).map((function(e,t){return Object(v.jsxs)("span",{children:[t>0&&", ",e.type]},t)}))}):Object(v.jsx)("p",{})]}),Object(v.jsxs)("div",{className:"d-flex",children:[z.can_accept_payment&&Object(v.jsx)(C.a,{className:"mr-2",orchid_pro_cognito_sub:z.cognito_sub}),Object(v.jsx)(Y,{})]})]})]})}),z.introduction_video&&Object(v.jsx)("div",{className:Object(Z.a)(!q&&"rounded-lg","embed-responsive embed-responsive-16by9"),style:{backgroundColor:"var(--dark)"},children:Object(v.jsx)("iframe",{title:"placeholder",src:z.introduction_video,width:"640",height:"360",frameBorder:"0",allow:"autoplay; fullscreen",allowFullScreen:!0})}),q&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsxs)(f.a,{className:"pt-4",children:[Object(v.jsxs)(h.a,{xs:7,children:[Object(v.jsxs)("p",{className:"bd-17 mb-2",children:["About ",Object(H.a)(z)]}),(null===(r=z.orchid_pro_types)||void 0===r?void 0:r.length)?Object(v.jsx)("p",{className:"rg-13-footnote gray01 mb-1",children:Object(E.h)(z)}):null,(null===(i=z.licenses)||void 0===i?void 0:i.length)?Object(v.jsx)("p",{className:"bd-14",children:z.licenses.filter((function(e){return e.type})).map((function(e,t){return Object(v.jsxs)("span",{children:[t>0&&", ",e.type]},t)}))}):Object(v.jsx)("p",{})]}),Object(v.jsx)(h.a,{xs:5,className:"d-flex justify-content-end",children:Object(v.jsx)(k.a,{orchidPro:z,style:{width:"2.25rem",height:"2.25rem"}})})]}),Object(v.jsx)(f.a,{className:"pb-4",children:Object(v.jsx)(h.a,{children:Object(v.jsx)(P.a,{content:z.biography,lines:5})})})]}),!q&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsxs)("div",{className:$.a["full-profile__left-content"],children:[Object(v.jsxs)("h4",{className:"rg-24 mt-4 questrial deep-blue",children:["About ",Object(H.a)(z)]}),Object(v.jsx)(P.a,{content:z.biography,lines:5})]}),Object(v.jsxs)(f.a,{children:[z.years_of_practice&&Object(v.jsxs)(h.a,{md:6,xs:12,className:"pl-0",children:[Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"Year of Experience"}),Object(v.jsx)("p",{className:q?"rg-17":"rg-16",children:z.years_of_practice})]}),(null===(a=z.languages)||void 0===a?void 0:a.length)>0&&Object(v.jsxs)(h.a,{md:6,xs:12,className:"pl-0",children:[Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"Languages"}),Object(v.jsx)("p",{className:q?"rg-17":"rg-16",children:z.languages.join(", ")})]})]}),Object(v.jsx)("hr",{className:$.a["full-profile__hr"]})]}),Object(v.jsxs)("div",{className:q?$.a["full-profile__left-content--phone"]:$.a["full-profile__left-content"],children:[("6e197c58-9c0a-4990-be07-ff5e8332190a"===z.cognito_sub||"bb79a762-144a-4085-8475-22d4b0ba947a"===z.cognito_sub)&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("div",{className:$.a["full-profile__title"],children:"Testimonials"}
1),Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"1 Testimonial"}),Object(v.jsx)(u.a,{className:$.a["full-profile__card"],children:Object(v.jsxs)(u.a.Body,{className:$.a["full-profile__card-body"],children:[Object(v.jsx)("div",{className:$.a["full-profile__quotation"],children:Object(v.jsx)(I,{})}),Object(v.jsx)(P.a,{content:"I wanted to share my experience with Karen. I was so nervous starting therapy but working with Karen was a blessing. She made me feel heard, cared for, and she was empathetic towards my struggles. I felt at ease and always left each session with a plan as to what I'd like to work on. I can't thank her enough for helping me through this difficult season in my life.",lines:3}),Object(v.jsx)("p",{className:"rg-12 gray01 smoothed mt-3 mb-0",children:"March 16, 2022 \u2022 Verified Orchid Client"})]})}),Object(v.jsx)("hr",{className:$.a["full-profile__hr"]})]}),z.services_offered&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("div",{className:$.a["full-profile__title"],children:"Appointment Type"}),Object(v.jsx)("div",{children:Object(Q.a)(z.services_offered)}),Object(v.jsx)("hr",{className:$.a["full-profile__hr"]})]}),(null===(s=z.focus_issues)||void 0===s?void 0:s.length)>0&&Object(v.jsxs)("div",{children:[Object(v.jsx)("div",{className:$.a["full-profile__title"],children:"Focus Issues"}),Object(v.jsx)(ee,{arr:z.focus_issues,showAll:J,setShowAll:G,showAllText:"View all focus issues",showLessText:"View fewer focus issues",onToggle:function(){return Object(x.d)(R,"view-all-focus-issues-button","click")}}),Object(v.jsx)("hr",{className:$.a["full-profile__hr"]})]}),(null===(o=z.treatment_approaches)||void 0===o?void 0:o.length)>0&&Object(v.jsxs)("div",{children:[Object(v.jsx)("div",{className:$.a["full-profile__title"],children:"Treatment Approach"}),Object(v.jsx)(ee,{arr:z.treatment_approaches,showAll:X,setShowAll:te,showAllText:"View all treatment approaches",showLessText:"View fewer treatment approaches",onToggle:function(){return Object(x.d)(R,"view-all-treatment-approaches-button","click")}}),Object(v.jsx)("hr",{className:$.a["full-profile__hr"]})]}),((null===(d=z.clientele_age)||void 0===d?void 0:d.length)>0||(null===(j=z.clientele_community)||void 0===j?void 0:j.length)>0||(null===(b=z.modality)||void 0===b?void 0:b.length)>0)&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("div",{className:$.a["full-profile__title"],children:"Client Focus"}),Object(v.jsxs)(f.a,{className:"mb-3",children:[Object(v.jsx)(h.a,{md:6,className:"pl-0",children:(null===(p=z.clientele_age)||void 0===p?void 0:p.length)>0&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"Age Groups"}),Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:z.clientele_age.map((function(e,t){return Object(v.jsx)("li",{children:e},t)}))})]})}),Object(v.jsx)(h.a,{md:6,className:"pl-0",children:(null===(m=z.modality)||void 0===m?void 0:m.length)>0&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"Modality"}),Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:z.modality.map((function(e,t){return Object(v.jsx)("li",{children:Object(Q.a)(e)},t)}))})]})})]}),Object(v.jsx)(f.a,{children:Object(v.jsx)(h.a,{md:6,className:"pl-0",children:(null===(_=z.clientele_community)||void 0===_?void 0:_.length)>0&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"Communities"}),Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:z.clientele_community.map((function(e,t){return Object(v.jsx)("li",{children:e},t)}))})]})})}),Object(v.jsx)("hr",{className:$.a["full-profile__hr"]})]}),Object(v.jsx)("div",{className:$.a["full-profile__title"],children:"Professional Credentials"}),Object(v.jsxs)(f.a,{children:[Object(v.jsxs)(h.a,{md:6,className:"pl-0",children:[z.national_provider_identifier&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"Individual NPI Number"}),Object(v.jsx)("p",{className:q?"rg-17":"rg-16",children:z.national_provider_identifier})]}),Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"License Details"}
1),Object(v.jsx)("div",{className:Object(Z.a)("mb-3",q?"rg-17":"rg-16"),children:(null===(O=z.licenses)||void 0===O?void 0:O.length)>0?Object(w.a)(new Set((z.licenses||[]).map((function(e){return e.conferring_entity})))).join(", "):(null===(g=z.state_licenses)||void 0===g?void 0:g.length)>0?z.state_licenses.map((function(e,t){return Object(v.jsxs)("p",{className:"d-inline mb-0",children:[t>0&&", ",e.state]},t)})):"NA"}),z.organization&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"Organization / Affiliation"}),Object(v.jsx)("p",{className:q?"rg-17":"rg-16",children:z.organization})]})]}),Object(v.jsx)(h.a,{className:"pl-0",children:z.licenses.some((function(e){var t;return null===(t=e.supervision)||void 0===t?void 0:t.has_supervision}))?z.licenses.filter((function(e){var t;return null===(t=e.supervision)||void 0===t?void 0:t.has_supervision})).map((function(e,t){return Object(v.jsxs)("div",{children:[Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"Supervisor Information"}),Object(v.jsx)("div",{className:"gray01 rg-14",children:"Supervisor Name:"}),Object(v.jsx)("p",{children:e.supervision.name}),e.supervision.npi&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("div",{className:"gray01 rg-14",children:"Supervisor NPI Number:"}),Object(v.jsx)("p",{children:e.supervision.npi})]}),e.supervision.phone&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("div",{className:"gray01 rg-14",children:"Supervisor Contact Number:"}),Object(v.jsx)("p",{children:e.supervision.phone})]})]},t)})):null})]}),Object(v.jsx)("hr",{className:$.a["full-profile__hr"]}),Object(v.jsx)("div",{className:$.a["full-profile__title"],children:"Education & Training"}),z.graduate&&(null===(y=z.graduate)||void 0===y?void 0:y.length)>0||z.undergraduate&&(null===(S=z.undergraduate)||void 0===S?void 0:S.length)>0?Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"Education"}),Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:null===(T=z.graduate)||void 0===T?void 0:T.map((function(e,t){return Object(v.jsxs)("li",{children:[e.conferring_entity,", ",e.degree,e.year&&", ".concat(e.year)]},t)}))}),Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:null===(M=z.undergraduate)||void 0===M?void 0:M.map((function(e,t){return Object(v.jsxs)("li",{children:[e.conferring_entity,", ",e.degree,e.year&&", ".concat(e.year)]},t)}))})]}):Object(v.jsxs)("div",{className:"mb-3",children:[z.medical_degree?Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"Education"}),Object(v.jsx)("p",{className:Object(Z.a)("mb-0",q?"rg-17":"rg-16"),children:z.gradudate_institution?z.gradudate_institution+", "+z.medical_degree:z.medical_degree})]}):null,z.degrees&&(null===(A=z.degrees)||void 0===A?void 0:A.length)>0?z.degrees.map((function(e,t){return Object(v.jsxs)("div",{className:Object(Z.a)("m-0",q?"rg-17":"rg-16"),children:[e.institution?e.institution+", ":null,e.degree]},t)})):null]}),(z.residency_json&&z.residency_json.length>0||z.fellowships_json&&z.fellowships_json.length>0||z.residency||z.fellowships)&&Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"Training"}),z.residency_json&&(null===(F=z.residency_json)||void 0===F?void 0:F.length)>0?Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:z.residency_json.map((function(e,t){return Object(v.jsxs)("li",{children:[e.conferring_entity,e.program&&"/ ".concat(e.program),", Residency",e.year&&", ".concat(e.year)]},t)}))}):z.residency&&Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:Object(v.jsx)("li",{children:z.residency})}),z.fellowships_json&&(null===(L=z.fellowships_json)||void 0===L?void 0:L.length)>0?Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:z.fellowships_json.map((function(e,t){return Object(v.jsxs)("li",{children:[e.conferring_entity,e.program&&"/ ".concat(e.program),", Fellowship",e.year&&", ".concat(e.year)]},t)}))}):z.fellowships&&Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:Object(v.jsx)("li",{children:z.fellowships})}),(null===(V=z.board_certifications)||void 0===V?void 0:V.length)>0&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"Board Certifications"}),Object(v.jsx)("ul",{className:$.a["full-profile__ul"],children:z.board_certifications.map((function(e,t){return Object(v.jsx)("li",{children:e.board||"NA"},t)}))})]}),Object(v.jsx)("hr",{className:$.a["full-profile__hr"]}),(null===(B=z.insurance_accepted)||void 0===B?void 0:B.length)>0&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("div",{className:$.a["full-profile__title"],children:"Insurance"}),Object(v.jsx)("div",{className:$.a["full-profile__sub-title"],children:"Accepted Insurance Plans"}),Object(v.jsx)(ee,{arr:z.insurance_accepted,showAll:ie,setShowAll:ae,showAllText:"View all insurance plans",showLessText:"View fewer insurance plans",onToggle:function(){return Object(x.d)(R,"view-all-insurance-plans-button","click")}}),Object(v.jsx)("hr",{className:$.a["full-profile__hr"]})]}),Object(v.jsx)("div",{className:$.a["full-profile__title"],children:"Practice Settings"}),Object(v.jsxs)(f.a,{children:[z.business_entity_name&&Object(v.jsxs)(h.a,{md:6,className:"pl-0",children:[Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"Business name"}),Object(v.jsx)("p",{className:q?"rg-17":"rg-16",children:z.business_entity_name})]}),z.show_address_to_public?"6c498d63-b8b9-4e34-9e34-acc5bbbe8928"!==z.cognito_sub&&Object(v.jsxs)(h.a,{md:6,className:"pl-0",children:[Object(v.jsx)("p",{className:q?"mb-0 rg-13-footnote gray01":$.a["full-profile__sub-title"],children:"Business Address"}),Object(v.jsx)("p",{className:q?"rg-17":"rg-16",children:z.office_address_line1?Object(v.jsxs)(v.Fragment,{children:["ad4a206e-a435-415a-829d-8a9963fa8819"===z.cognito_sub?null:z.office_address_line1,z.office_address_line2?", "+z.office_address_line2:null,"ad4a206e-a435-415a-829d-8a9963fa8819"===z.cognito_sub?null:Object(v.jsx)("br",{}),z.office_city,",\xa0",z.office_state,"\xa0",z.office_zipcode]}):"NA"})]}):null]})]})]}):null},ne=n(1832),re=n(459),ie=n(166),ae=n(864),se=n(865),le=n(286),ce=n(75),oe=n(450),ue=n(433),de=n(27),je=n(21);function be(){return fe.apply(this,arguments)}function fe(){return(fe=Object(s.a)(a.a.mark((function e(){var t;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(je.b)("/api/scheduler/v1/group_timeslot_public/group_session_series");case 2:if((t=e.sent).ok){e.next=13;break}return e.t0=Error,e.t1="failed to get group series info: ",e.t2=de.a,e.next=9,t.text();case 9:throw e.t3=e.sent,e.t4=(0,e.t2)(e.t3),e.t5=e.t1.concat.call(e.t1,e.t4),new e.t0(e.t5);case 13:return e.abrupt("return",t.json());case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var he=n(454),pe=n(29),me=n(2661),_e=n.n(me);function Oe(e){return ge.apply(this,arguments)}function ge(){return(ge=Object(s.a)(a.a.mark((function e(t){var n;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(je.b)("/api/blog/v1/blog_entry/submissions/".concat(t));case 2:if((n=e.sent).ok){e.next=13;break}return e.t0=Error,e.t1="failed to fetch blogs of curr pro: ",e.t2=de.a,e.next=9,n.text();case 9:throw e.t3=e.sent,e.t4=(0,e.t2)(e.t3),e.t5=e.t1.concat.call(e.t1,e.t4),new e.t0(e.t5);case 13:return e.abrupt("return",n.json());case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var xe=n(54),ve=n(154),ye=n(68),we=n(104),Ne=n(1445),Ce=n(377),ke=function(e){var t,n,r;return e?{"@context":"https://schema.org","@type":"Person",name:Object(E.d)(e),givenName:e.preferred_first_name||e.first_name,familyName:e.last_name,image:Object(je.a)("/api/users/orchid_pro/profile_image/".concat(e.cognito_sub)),description:e.biography,affiliation:e.organization,alumniOf:null===(t=e.graduate)||void 0===t?void 0:t.map((function(e){return e.conferring_entity})),address:{"@type":"PostalAddress",addressLocality:e.office_city,addressRegion:e.office_state,postalCode:e.office_zipcode,streetAddress:"".concat(e.office_address_line1," ").concat(e.office_address_line2)},jobTitle:Object(E.h)(e),honorificSuffix:null===(n=e.graduate)||void 0===n?void 0:n.map((function(e){return e.degree})).filter((function(e){return(null===e||void 0===e?void 0:e.length)&&e.length>0})).join(", "),knowsLanguage:e.languages,url:Object(Ce.a)("/professional-search/".concat(null!==(r=e.custom_url)&&void 0!==r?r:e.cognito_sub))}:null},Pe=n(805),Se="pro-public-profile-page";t.default=function(e){var t,n,r,i=e.pageHeightCallback,o=Object(ye.b)().setPage;Object(c.useEffect)((function(){return o(Se)}),[o]);var m=Object(xe.c)().user,_=Object(ve.b)().openAuthModals,O=Object(N.b)().isPhonePortrait,g=Object(pe.s)().id_or_custom_url,w=Object(c.useState)(),C=Object(l.a)(w,2),k=C[0],P=C[1],S=Object(c.useState)(),T=Object(l.a)(S,2),M=T[0],A=T[1],F=Object(c.useState)(!1),L=Object(l.a)(F,2),I=L[0],H=L[1],V=Object(c.useState)([]),B=Object(l.a)(V,2),z=B[0],R=B[1],q=Object(c.useState)(),W=Object(l.a)(q,2),D=W[0],J=W[1],G=Object(c.useState)(!1),K=Object(l.a)(G,2),U=K[0],Y=K[1],Q=Object(c.useState)([]),X=Object(l.a)(Q,2),$=X[0],ee=X[1],de=Object(c.useState)([]),fe=Object(l.a)(de,2),me=fe[0],ge=fe[1],Te=Object(c.useState)(!1),Me=Object(l.a)(Te,2),Ae=Me[0],Fe=Me[1],Le=Object(c.useState)(0),Ie=Object(l.a)(Le,2),Ee=Ie[0],He=Ie[1],Ze=Object(c.useState)(0),Ve=Object(l.a)(Ze,2),Be=Ve[0],ze=Ve[1],Re=Object(c.useState)(0),qe=Object(l.a)(Re,2),We=qe[0],De=qe[1],Je=Math.ceil(z.length/3),Ge=Math.ceil($.length/2),Ke=Math.ceil(me.length/2),Ue=z.slice(3*Ee,3*(Ee+1)),Ye=$.slice(2*Be,2*(Be+1)),Qe=me.slice(2*We,2*(We+1)),Xe=Object(c.useRef)(null),$e=Object(pe.o)(),et=Object(c.useMemo)((function(){return{sessionType:new URLSearchParams($e.search).get("session_type")||""}}),[$e.search]).sessionType,tt=function(){(null===m||void 0===m?void 0:m.signup_form_finished)?Y(!0):_()};Object(c.useEffect)((function(){function e(){return(e=Object(s.a)(a.a.mark((function e(){var t,n,r,s,l;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(H(!0),g){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,Object(ue.a)(g,!0);case 5:if(t=e.sent,P(t),!t){e.next=21;break}return e.next=10,Object(he.a)(t.cognito_sub);case 10:return n=e.sent,R(n),e.next=14,be();case 14:return r=e.sent,s=r.filter((function(e){return e.speakers.includes(t.cognito_sub)})),ee(s),e.next=19,Oe(t.cognito_sub);case 19:l=e.sent,ge(l);case 21:Xe.current&&i(Xe.current.clientHeight);case 22:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(function(){return e.apply(this,arguments)})().catch(A).finally((function(){return H(!1)}))}),[]);var nt=function(e,t,n){return Object(v.jsxs)(u.a,{className:Object(Z.a)("w-100",_e.a["appoint-type-card"]),children:[Object(v.jsxs)(u.a.Body,{children:[Object(v.jsx)(u.a.Text,{className:"bd-16 mb-0",children:t.label}),Object(v.jsx)(u.a.Text,{className:"rg-14 mb-0 gray01",children:Object(Pe.a)(t.length_min)})]}
1),Object(v.jsxs)(u.a.Footer,{className:"background-transparent border-0",children:[0===t.price?Object(v.jsx)(u.a.Text,{className:"rg-16 green mb-2",children:"Free"}):(null===m||void 0===m?void 0:m.signup_form_finished)?Object(v.jsxs)(u.a.Text,{className:"rg-16 mb-2",children:["$",t.price]}):Object(v.jsx)(u.a.Text,{className:"rg-16 mb-2",children:"Log in to see the price"}),Object(v.jsx)(d.a,{variant:"primary",size:"sm",onClick:function(){Object(x.d)(Se,"choose-session-button","click"),J(t),tt()},children:"Choose"})]})]})},rt=Object(c.useMemo)((function(){return k?Object(je.a)("/api/users/orchid_pro/profile_image/".concat(k.cognito_sub)):""}),[k]),it=Object(Ne.a)(rt),at=it.width,st=it.height,lt=Object(c.useMemo)((function(){return k?"Photo of ".concat(Object(E.e)(k)):""}),[k]),ct=Object(c.useMemo)((function(){var e;if(!k)return"";var t=Object(E.h)(k);return"social worker"===(null===(e=t)||void 0===e?void 0:e.toLowerCase())&&(t="Therapist"),"".concat(Object(E.e)(k)," | ").concat(t," | Orchid")}),[k]),ot=Object(c.useMemo)((function(){return ke(k)}),[k]);return k?I?Object(v.jsx)(ie.a,{}):Object(v.jsxs)(v.Fragment,{children:[Object(v.jsxs)(we.a,{children:[Object(v.jsx)("title",{children:ct}),Object(v.jsx)("meta",{name:"description",content:k.biography}),Object(v.jsx)("link",{rel:"canonical",href:Object(Ce.a)("/professional-search/".concat(null!==(t=k.custom_url)&&void 0!==t?t:k.cognito_sub))}),Object(v.jsx)("script",{type:"application/ld+json",children:JSON.stringify(ot)}),Object(v.jsx)("meta",{property:"og:title",content:ct}),Object(v.jsx)("meta",{property:"og:description",content:k.biography}),Object(v.jsx)("meta",{property:"og:image",content:rt}),Object(v.jsx)("meta",{property:"og:image:url",content:rt}),Object(v.jsx)("meta",{property:"og:image:secure_url",content:rt}),Object(v.jsx)("meta",{property:"og:image:alt",content:lt}),Object(v.jsx)("meta",{property:"og:image:width",content:at}),Object(v.jsx)("meta",{property:"og:image:height",content:st}),Object(v.jsx)("meta",{property:"og:image:type",content:"image/jpeg"}),Object(v.jsx)("meta",{name:"twitter:title",content:ct}),Object(v.jsx)("meta",{name:"twitter:description",content:k.biography}),Object(v.jsx)("meta",{name:"twitter:image",content:rt}),Object(v.jsx)("meta",{name:"twitter:image:src",content:rt}),Object(v.jsx)("meta",{name:"twitter:image:alt",content:lt}),Object(v.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),Object(v.jsx)("meta",{property:"profile:first_name",content:null!==(n=k.preferred_first_name)&&void 0!==n?n:k.first_name}),Object(v.jsx)("meta",{property:"profile:last_name",content:k.last_name})]}),Object(v.jsx)(le.a,{title:Object(E.e)(k)}),Object(v.jsxs)(j.a,{className:Object(Z.a)(O?_e.a["full-profile--phone"]:_e.a["full-profile"]),ref:Xe,children:[M&&Object(v.jsx)(b.a,{variant:"danger",children:M.toString()}),O?Object(v.jsx)(te,{orchidPro:k,amplitudePageName:Se}):Object(v.jsxs)(f.a,{children:[Object(v.jsx)(h.a,{md:7,className:"pl-0",children:Object(v.jsx)(te,{orchidPro:k,amplitudePageName:Se})}),Object(v.jsx)(h.a,{xs:12,md:5,children:Object(v.jsxs)("div",{className:_e.a["calendar-container"],children:[Object(v.jsx)("h4",{className:"rg-24 deep-blue questrial mb-4",children:"Book a session"}),Object(v.jsx)(p.a,{orchidPro:k,showThreeRows:!0,appointmentType:z.find((function(e){return e.label===et})),amplitudePageName:Se,amplitudeComponentName:"book-a-session-modal"})]})})]}),k.can_have_appointment&&k.can_accept_payment&&z.filter((function(e){return!e.invite_only})).length>0&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("hr",{}),Object(v.jsxs)(f.a,{className:Object(Z.a)("justify-content-between",O?_e.a["full-profile__section-title--phone"]:_e.a["full-profile__section-title"]),children:[Object(v.jsx)("h4",{className:"rg-24 questrial deep-blue my-3",children:"Book a session"}),Object(v.jsxs)("span",{className:"mb-3",children:[Object(v.jsx)(se.a,{disabled:0===Ee,onClick:function(){Object(x.d)(Se,"next-session-types-button","click"),He((function(e){return e-1}))}}),Object(v.jsx)(ae.a,{disabled:Ee>=Je-1,onClick:function(){Object(x.d)(Se,"previous-session-types-button","click"),He((function(e){return e+1}))}})]})]}),Object(v.jsx)(f.a,{children:null===Ue||void 0===Ue||null===(r=Ue.filter((function(e){return!e.invite_only})))||void 0===r?void 0:r.map((function(e,t){return Object(v.jsx)(h.a,{md:4,xs:12,className:Object(Z.a)(!O&&"pl-0 d-flex"),children:nt(0,e)},t)}
1))})]}),k.can_accept_payment&&0!==$.length&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("hr",{className:_e.a["full-profile__hr"]}),Object(v.jsx)("div",{className:O?_e.a["full-profile__section-title--phone"]:_e.a["full-profile__section-title"],children:Object(v.jsxs)(f.a,{className:"justify-content-between",children:[Object(v.jsxs)("h4",{className:"rg-24 questrial my-3",children:[k.preferred_first_name?k.preferred_first_name:k.first_name,"'s Group Sessions"]}),Object(v.jsxs)("span",{className:"mb-3",children:[Object(v.jsx)(se.a,{disabled:0===Be,onClick:function(){Object(x.d)(Se,"previous-group-sessions-button","click"),ze((function(e){return e-1}))}}),Object(v.jsx)(ae.a,{disabled:Be>=Ge-1,onClick:function(){Object(x.d)(Se,"next-group-sessions-button","click"),ze((function(e){return e+1}))}})]})]})}),Object(v.jsx)(f.a,{children:Ye.slice().sort((function(e,t){return e.next_session.start>t.next_session.start?1:-1})).filter((function(e){return 400!==e.id&&405!==e.id&&404!==e.id&&394!==e.id&&396!==e.id})).map((function(e){return Object(v.jsx)(h.a,{md:6,lg:6,className:Object(Z.a)("d-flex mb-4",!O&&"pl-0"),children:Object(v.jsx)(ne.a,{groupSeries:e})},e.id)}))})]}),0!==me.length&&Object(v.jsxs)(v.Fragment,{children:[Object(v.jsx)("hr",{}),Object(v.jsxs)(f.a,{className:Object(Z.a)("justify-content-between",O?_e.a["full-profile__section-title--phone"]:_e.a["full-profile__section-title"]),children:[Object(v.jsxs)("h4",{className:"rg-24 questrial my-3",children:[k.preferred_first_name?k.preferred_first_name:k.first_name,"'s Blog"]}),Object(v.jsxs)("span",{className:"mb-3",children:[Object(v.jsx)(se.a,{disabled:0===We,onClick:function(){Object(x.d)(Se,"previous-blogs-page-button","click"),De((function(e){return e-1}))}}),Object(v.jsx)(ae.a,{disabled:We>=Ke-1,onClick:function(){Object(x.d)(Se,"next-blogs-page-button","click"),De((function(e){return e+1}))}})]})]}),Object(v.jsx)(f.a,{children:Qe.slice().sort((function(e,t){return e.create_datetime>t.create_datetime?1:-1})).map((function(e){return Object(v.jsx)(h.a,{md:6,lg:6,className:Object(Z.a)("d-flex mb-4",!O&&"pl-0"),children:Object(v.jsx)(re.a,{blog:e,amplitudePageName:Se})},e.id)}))})]})]}),O?Ae?Object(v.jsx)(oe.a,{className:"p-0",children:Object(v.jsx)(y,{show:Ae,onHide:function(){Fe(!1),Y(!1)},setSelectedType:J,setShowSessionsModal:tt,appointmentTypes:z,amplitudePageName:Se})}):Object(v.jsx)(oe.a,{children:z.filter((function(e){return!e.invite_only})).length>0?Object(v.jsxs)(v.Fragment,{children:[-1!==z.filter((function(e){return!e.invite_only})).findIndex((function(e){return 0===e.price}))&&Object(v.jsx)(d.a,{variant:"primary",className:_e.a["appointment-schedule-button--phone"],onClick:function(){Object(x.d)(Se,"schedule-free-intro-call-button","click"),J(z.filter((function(e){return!e.invite_only})).find((function(e){return 0===e.price}))),tt()},children:"Schedule a free intro call"}),Object(v.jsx)(d.a,{variant:"link",className:"w-100 rg-15",style:{padding:"0.625rem 0.313rem",marginTop:"0.25rem"},onClick:function(){Object(x.d)(Se,"book-a-session-button","click"),Fe(!0)},children:"Book a session"})]}):Object(v.jsx)("p",{className:"gray01 rg-13-footnote mb-0 py-3 d-flex justify-content-center",children:"No available sessions"})}):Object(v.jsx)(ce.a,{AMPLITUDE_PAGE_NAME:Se}),U&&Object(v.jsx)(p.a,{orchidPro:k,appointmentType:D,onHide:function(){return Y(!1)},show:U,amplitudePageName:Se,amplitudeComponentName:"book-a-session-modal"})]}):null}},805:function(e,t,n){"use strict";t.a=function(e){var t=Math.round(e);if(t<=60)return"".concat(t," min");var n=Math.floor(t/60),r=t%60;return 0===r?"".concat(n," h"):"".concat(n," h ").concat(r," min")}},825:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r,i=n(1),a=["title","titleId"];function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function c(e,t){var n=e.title,c=e.titleId,o=l(e,a);return i.createElement("svg",s({width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":c},o),n?i.createElement("title",{id:c},n):null,r||(r=i.createElement("path",{d:"M9 20L17 12L9 4",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))}var o=i.forwardRef(c);n.p},833:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}
1));var r,i=n(1),a=["title","titleId"];function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function c(e,t){var n=e.title,c=e.titleId,o=l(e,a);return i.createElement("svg",s({width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":c},o),n?i.createElement("title",{id:c},n):null,r||(r=i.createElement("path",{d:"M15 4L7 12L15 20",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))}var o=i.forwardRef(c);n.p},864:function(e,t,n){"use strict";var r=n(4),i=n(55),a=n(203),s=n(825),l=n(10),c=n(910),o=n.n(c),u=n(0),d=["className"];t.a=function(e){var t=e.className,n=Object(i.a)(e,d);return Object(u.jsx)(a.a,Object(r.a)(Object(r.a)({variant:"link",size:"lg","aria-label":"go next",className:Object(l.a)(o.a["pagination-button-next"],t)},n),{},{children:Object(u.jsx)(s.a,{})}))}},865:function(e,t,n){"use strict";var r=n(4),i=n(55),a=n(203),s=n(833),l=n(10),c=n(911),o=n.n(c),u=n(0),d=["className"];t.a=function(e){var t=e.className,n=Object(i.a)(e,d);return Object(u.jsx)(a.a,Object(r.a)(Object(r.a)({variant:"link",size:"lg","aria-label":"go previous",className:Object(l.a)(o.a["pagination-button-previous"],t)},n),{},{children:Object(u.jsx)(s.a,{})}))}},910:function(e,t,n){e.exports={"pagination-button-next":"styles_pagination-button-next__hgsdw"}},911:function(e,t,n){e.exports={"pagination-button-previous":"styles_pagination-button-previous__2zW70"}},993:function(e,t,n){"use strict";var r=n(361),i=n(42),a=n(182),s=n(222),l=n(0);t.a=function(e){var t=Object(i.b)().isPhonePortrait,n=e.groupSeries,c=n.organizer_cognito_sub||n.orchid_pro_sub;return n.speakers&&Object(l.jsxs)(r.a,{className:"align-items-center",children:[Object(l.jsx)(a.a,{src:Object(s.g)(c),width:t?36:60,height:t?36:60}),n.speakers.filter((function(e){return e!==c})).length>=1&&Object(l.jsxs)(l.Fragment,{children:[n.speakers.filter((function(e){return e!==c})).slice(0,1).map((function(e,n){return Object(l.jsx)(a.a,{src:Object(s.g)(e),width:t?28:40,height:t?28:40,style:{border:"1px solid white",marginLeft:t?"-0.875rem":"-1rem",zIndex:n+1}},n)})),n.speakers.filter((function(e){return e!==c})).length>=2&&Object(l.jsx)(a.a,{src:"/img/group-session/speaker-placeholder.png",width:t?28:40,height:t?28:40,style:{marginLeft:t?"-0.875rem":"-1rem",zIndex:10}})]})]})}}}]); 2//# sourceMappingURL=43.4e3cb1fb.chunk.js.map
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.