1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[160],{66733:(e,t,n)=>{var r=n(29563);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&({}).hasOwnProperty.call(e,u)){var o=l?Object.getOwnPropertyDescriptor(e,u):null;o&&(o.get||o.set)?Object.defineProperty(r,u,o):r[u]=e[u]}return r.default=e,n&&n.set(e,r),r}(n(14232)),u=r(n(64428)),o=r(n(54258)),a=n(89345),c=n(35382),i=n(50158),f=n(1308),s=n(37876);function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}t.default=function(e){var t,n,r,d=e.component,_=d.anchorName,p=d.formId,m=(0,c.useUserFlowContext)().updateScreen,O=(0,i.useProfileContext)(),b=O.user,N=O.keepCurrentFlow,h=null!=b?b:{},v=h.first_name,g=h.last_name,E=h.email,I=h.phone,j=h.zenoti_guest_id,w=(0,l.useRef)(null);(0,a.useScrollToAnchor)({anchorName:_,elementRef:w}),p===o.default.CHALLENGE_JOTFORM_ID&&b&&(n=`${o.default.JOTFORM_URL}${p}?fullName3[first]=${v}&fullName3[last]=${g}&emailAddress=${E}&phoneNumber=${null!=(r=null==I?void 0:I.slice(-10))?r:""}&utm_zenoti_guest_id=${j}`);var y=localStorage.getItem(f.SIGN_IN_CHALLENGE_JOTFORM),L=(0,l.useRef)(null);return(0,l.useEffect)(function(){p===o.default.CHALLENGE_JOTFORM_ID&&b&&!L.current&&y&&setTimeout(function(){w.current&&(w.current.scrollIntoView({behavior:"smooth"}),L.current=!0)},400)},[b,p,y]),(0,l.useEffect)(function(){return function(){localStorage.removeItem(f.SIGN_IN_CHALLENGE_JOTFORM)}},[]),(0,s.jsx)("div",{ref:w,id:_,className:"full-bleed mb-4 jot-form",children:(0,s.jsx)("div",{id:e.id,children:p!==o.default.CHALLENGE_JOTFORM_ID||b?null!=e&&null!=(t=e.component)&&t.formId?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(u.default,{src:null!=n?n:`${o.default.JOTFORM_URL}${p}${window.location.search?window.location.search:""}`})}):null:(0,s.jsx)("div",{className:"pb-4 pb-lg-5",children:(0,s.jsx)("button",{type:"button",className:"cpy-button cpy-button-lg cpy-button-standard-width mx-auto mb-4 mb-lg-5",onClick:function(){N(!0),m("Sign In"),localStorage.setItem(f.SIGN_IN_CHALLENGE_JOTFORM,"true")},children:(0,s.jsx)("span",{className:"button-text",children:"Sign Up"})})})})})}},87779:(e,t,n)=>{var r=n(29563);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=r(n(66733)).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.