PageSourceSearch

https://boulderspaceph.com/_next/static/chunks/pages/onboarding/gaq-73f24e83b25422f5.js

js boulderspaceph.com collected 2026-10-08 01:09:31 UTC 25,379 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3415],{86076:function(e,t,n){"use strict";n.d(t,{Z:function(){return b},g:function(){return x}});var r=n(59499),o=n(4730),i=n(31096),a=n(9008),s=n.n(a),c=n(11163),l=n(4298),d=n.n(l),u=n(67294),p=n(13959),f=n(85893),m=n(83454),h=["meta","children","isLoading"],v=["bizId"];function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x=function(e){try{var t,n=new URL(e),r=n.hostname.toLowerCase(),o=(null===(t=m.env.NEXT_PUBLIC_SAFRA_HOSTNAME)||void 0===t?void 0:t.toLowerCase())||"",i=o&&r===o;if(r.endsWith(".rezeve.com")&&!i){var a=n.hostname.replace(/\.rezeve\.com$/i,".rezerv.co");return"".concat(n.protocol,"//").concat(a).concat(n.port?":".concat(n.port):"")}return e}catch(s){return e}};function b(e){var t,n,r,i,a=e.meta,l=e.children,m=e.isLoading,g=(0,o.Z)(e,h),b=(0,c.useRouter)(),w=null===a||void 0===a?void 0:a.analytics,_=null!==a&&void 0!==a&&a.url?x(a.url.origin):"",O=null!==a&&void 0!==a&&a.url?a.url.pathname.includes("/home")?_:"".concat(_).concat(a.url.pathname):"";return(null===a||void 0===a?void 0:a.error)&&console.error(null===a||void 0===a?void 0:a.error),(0,u.useEffect)((function(){var e=b.query,t=e.bizId,n=(0,o.Z)(e,v);t&&b.replace({pathname:b.pathname,query:n})}),[b.query]),(0,f.jsxs)("main",y(y({},g),{},{children:[a&&(0,f.jsxs)(s(),{children:[(null===(t=a.themeSetting)||void 0===t?void 0:t.color.primary)&&(0,f.jsx)("meta",{name:"theme-color",content:null===(n=a.themeSetting)||void 0===n?void 0:n.color.primary}),(0,f.jsx)("link",{rel:"icon",type:"image/png",href:(null===(r=a.themeSetting)||void 0===r?void 0:r.favicon)||"https://ik.imagekit.io/rezeve/rezevefavicon.png"}),(0,f.jsx)("link",{type:"image/png",rel:"apple-touch-icon",href:(null===(i=a.themeSetting)||void 0===i?void 0:i.favicon)||"https://ik.imagekit.io/rezeve/rezevefavicon.png"}),a.seo_title&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("title",{children:a.seo_title}),(0,f.jsx)("meta",{property:"og:title",content:a.seo_title}),(0,f.jsx)("meta",{name:"twitter:title",content:a.seo_title})]}),(a.seo_image_url||a.featImageUrl)&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("meta",{property:"og:image",content:a.seo_image_url||a.featImageUrl}),(0,f.jsx)("meta",{property:"twitter:image",content:a.seo_image_url||a.featImageUrl})]}),a.seo_description&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("meta",{name:"description",content:a.seo_description}),(0,f.jsx)("meta",{property:"og:description",content:a.seo_description}),(0,f.jsx)("meta",{name:"twitter:description",content:a.seo_description})]}),!(null===w||void 0===w||!w.facebook_domain_verification_code)&&(0,f.jsx)(f.Fragment,{children:(0,f.jsx)("meta",{name:"facebook-domain-verification",content:w.facebook_domain_verification_code})}),!(null===w||void 0===w||!w.google_site_verification_code)&&(0,f.jsx)(f.Fragment,{children:(0,f.jsx)("meta",{name:"google-site-verification",content:w.google_site_verification_code})}),a.url&&O&&(0,f.jsx)("link",{rel:"canonical",href:O})]}),m?(0,f.jsx)(j,{children:(0,f.jsx)(p.Z,{width:"200px",height:"200px"})}):l,!(null===w||void 0===w||!w.google_analytics_code)&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(d(),{src:"https://www.googletagmanager.com/gtag/js?id=".concat(null===w||void 0===w?void 0:w.google_analytics_code),strategy:"afterInteractive"}),(0,f.jsx)(d(),{id:"google-analytics",strategy:"afterInteractive",children:"\n          window.dataLayer = window.dataLayer || [];\n          function gtag(){window.dataLayer.push(arguments);}\n          gtag('js', new Date());\n\n          gtag('config', '".concat(null===w||void 0===w?void 0:w.google_analytics_code,"');\n        ")})]}),!(null===w||void 0===w||!w.gogole_tag_code)&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(d(),{id:"google-tag-manager",strategy:"afterInteractive",children:"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
1j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','".concat(null===w||void 0===w?void 0:w.gogole_tag_code,"')")}),(0,f.jsx)("noscript",{children:(0,f.jsx)("iframe",{src:"https://www.googletagmanager.com/ns.html?id=".concat(null===w||void 0===w?void 0:w.gogole_tag_code),height:"0",width:"0",style:{display:"none",visibility:"hidden"}})})]}),!(null===w||void 0===w||!w.facebook_pixels_code)&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(d(),{id:"facebook-pixel-analytics",strategy:"afterInteractive",children:"\n         !function(f,b,e,v,n,t,s)\n         {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n         n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n         if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n         n.queue=[];t=b.createElement(e);t.async=!0;\n         t.src=v;s=b.getElementsByTagName(e)[0];\n         s.parentNode.insertBefore(t,s)}(window, document,'script',\n         'https://connect.facebook.net/en_US/fbevents.js');\n         fbq('init', '".concat(null===w||void 0===w?void 0:w.facebook_pixels_code,"');\n         fbq('track', 'PageView');\n        ")}),(0,f.jsx)("noscript",{children:(0,f.jsx)("img",{height:"1",width:"1",style:{display:"none"},src:"https://www.facebook.com/tr?id=".concat(null===w||void 0===w?void 0:w.facebook_pixels_code,"&ev=PageView&noscript=1")})})]}),!(null===w||void 0===w||!w.tiktok_code)&&(0,f.jsx)(d(),{id:"Tiktok analytics script",strategy:"afterInteractive",children:'!function (w, d, t) {\n            w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];ttq.methods=["page","track","identify","instances","debug","on","off","once","ready","alias","group","enableCookie","disableCookie"],ttq.setAndDefer=function(t,e){t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e},ttq.load=function(e,n){var i="https://analytics.tiktok.com/i18n/pixel/events.js";ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=i,ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},ttq._o[e]=n||{};var o=document.createElement("script");o.type="text/javascript",o.async=!0,o.src=i+"?sdkid="+e+"&lib="+t;var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(o,a)};\n\n            ttq.load(\''.concat(null===w||void 0===w?void 0:w.tiktok_code,"');\n            ttq.page();\n            }(window, document, 'ttq');")}),!(null===w||void 0===w||!w.gass_code)&&(0,f.jsx)(d(),{src:"https://gass.co.id/gassv3.min.js?v3",strategy:"afterInteractive",onLoad:function(){var e;gass.run({subdomain:null===a||void 0===a||null===(e=a.url)||void 0===e?void 0:e.hostname,pkey:null===w||void 0===w?void 0:w.gass_code,interval:2},(function(){}))}})]}))}var j=(0,i.ZP)("div").withConfig({displayName:"Page___StyledDiv",componentId:"sc-xdi14n-0"})(["min-height:100vh;display:flex;justify-content:center;align-items:center;"])},58352:function(e,t,n){"use strict";var r=n(67162),o=n(31096),i=n(85893),a=o.ZP.div.withConfig({displayName:"Divider__StyledDiv",componentId:"sc-16kvoij-0"})([""," "," opacity:",";margin:",";"],(function(e){var t;return"horizontal"===e.type&&(0,o.iv)(["border-bottom:"," solid ",";width:100%;"],e.size,null!==(t=e.color)&&void 0!==t?t:e.theme.colors.white)}),(function(e){var t;return"vertical"===e.type&&(0,o.iv)(["border-right:"," solid ",";"],e.size,null!==(t=e.color)&&void 0!==t?t:e.theme.colors.white)}),(function(e){var t;return null!==(t=e.opacity)&&void 0!==t?t:1}),(function(e){return"".concat(e.my," 0")}));t.Z=function(e){var t=e.color,n=e.opacity,o=e.type,s=void 0===o?"horizontal":o,c=e.my,l=e.size,d=void 0===l?"1px":l,u=e.className,p=void 0===u?"":u,f=(0,r.vH)().textColor;return(0,i.jsx)(a,{type:s,opacity:n,color:null!==t&&void 0!==t?t:"".concat(f,"20"),my:c,size:d,className:p})}},88417:function(e,t,n){"use strict";var r=n(59499),o=(n(67294),n(87536)),i=n(31096),a=n(85893);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?s(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l=i.ZP.div.withConfig({displayName:"Radio__Wrapper",componentId:"sc-djpxr3-0"})([".radio-item{display:inline-block;position:relative;margin:10px 0 0;}.radio-item input[type='radio']{display:none;}.radio-item label{display:flex;font-size:16px;color:#010101;font-weight:normal;}.radio-item label:before{content:' ';display:flex;position:relative;top:3px;margin:0 5px 0 0;width:16px;height:16px;border-radius:11px;border:1px solid #010101;background-color:transparent;}.radio-item input[type='radio']:checked + label:after{border-radius:11px;width:6px;height:6px;position:absolute;top:8px;left:5px;content:' ';display:block;background:#010101;}.radio-item input:disabled + label{cursor:not-allowed;opacity:0.8;}"]);t.Z=function(e){var t=e.name,n=e.value,r=e.label,i=e.disabled,s=(0,(0,o.Gc)().register)(t),d=t+"."+r;return(0,a.jsx)(l,{children:(0,a.jsxs)("div",{className:"radio-item",children:[(0,a.jsx)("input",c({type:"radio",id:d,value:n,disabled:i},s)),(0,a.jsx)("label",{role:"radio",htmlFor:d,children:r})]})})}},9679:function(e,t,n){"use strict";var r=n(59499),o=n(4730),i=n(31096),a=n(47300),s=n(87536),c=n(38366),l=n(85893),d=["ref"];function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var f=i.ZP.div.withConfig({displayName:"TextAreaInput__Wrapper",componentId:"sc-cgtt52-0"})(["display:flex;flex-direction:column;"]),m=i.ZP.textarea.withConfig({displayName:"TextAreaInput__TextArea",componentId:"sc-cgtt52-1"})(["background-color:",";color:",";border:1px solid #b0b0b0;padding:16px 21px;min-height:120px;border-radius:6px;font-size:inherit;resize:vertical;&:focus{outline:none;}"],(function(e){return e.theme.color.secondary.background}),(function(e){return e.theme.color.secondary.text}));t.Z=function(e){var t,n,r=e.label,i=(e.maxWidth,e.name),u=e.placeholder,h=e.isRequire,v=(0,s.Gc)(),g=v.register,y=(v.formState.errors,v.getFieldState),x=g(i,{required:h}),b=x.ref,j=(0,o.Z)(x,d),w=null===(t=y(i))||void 0===t||null===(n=t.error)||void 0===n?void 0:n.message;return(0,l.jsxs)(f,{children:[(0,l.jsx)(a.ZT,{fontSize:"12px",mb:"4px",children:r}),(0,l.jsx)(m,p(p({placeholder:u},j),{},{className:w?"!border-red-500":"border",ref:b})),w&&(0,l.jsx)(c.Z,{children:w})]})}},55366:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return T}});var r=n(27812),o=n(50029),i=n(16835),a=n(59499),s=n(77191),c=n(31096),l=n(87794),d=n.n(l),u=n(86076),p=n(58352),f=n(67294),m=n(88417),h=n(87536),v=n(57953),g=n(58255),y=n(9679),x=n(41392),b=n(11163),j=n(60407),w=n(85893);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function P(e){var t=e.name,n=e.label,r=(0,h.Gc)().register;return(0,w.jsx)(k,{children:(0,w.jsxs)(q,{children:[(0,w.jsx)(N,O({type:"checkbox",id:"toggle"+t},r(t))),"string"===typeof n?(0,w.jsx)("label",{htmlFor:"toggle"+t,children:n}):n]})})}var k=c.ZP.div.withConfig({displayName:"CheckBoxInput__Wrapper",componentId:"sc-1vzmued-0"})(["display:flex;flex-direction:column;gap:8px;border-radius:4px;label{line-height:21px;}"]),N=c.ZP.input.withConfig({displayName:"CheckBoxInput__Input",componentId:"sc-1vzmued-1"})(["accent-color:",";min-width:15px;min-height:15px;"],(function(e){return e.theme.colors.black})),q=c.ZP.div.withConfig({displayName:"CheckBoxInput__Flex",componentId:"sc-1vzmued-2"})(["display:flex;align-items:center;gap:8px;label{margin-bottom:0px !important;@media ","{margin-left:0px;}}"],j.vb.tabletAndDown),I=n(74614),Z=n(48964),E=n(25675),A=n.n(E),D=n(42118),S=n(7258),C=n(96486),R=n(47359);function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?z(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}S.Ry({1:S.Vo((function(e){return S.Ry((0,C.mapValues)(e,(function(){return S.Ry({surveyId:S.Z_().required(),answer:S.Z_().required(),addtionalAnswer:S.Z_().when(["answer"],{is:"Yes",then:S.Z_().required(),otherwise:S.Z_().nullable()})})})))})),2:S.Vo((function(e){return S.Ry((0,C.mapValues)(e,(function(){return S.Ry({surveyId:S.Z_().required(),answer:S.Z_().nullable(),addtionalAnswer:S.Z_().nullable()})})))})),3:S.Vo((function(e){return S.Ry((0,C.mapValues)(e,(function(){return S.Ry({surveyId:S.Z_().required(),answer:S.Z_().required(),addtionalAnswer:S.Z_().nullable()})})))}))});function T(e){var t,n,c;(0,s.Z)(e);var l=(0,b.useRouter)(),j=+(null===(t=l.query)||void 0===t?void 0:t.step),_=(0,x.useAuthContext)();(0,f.useEffect)((function(){var e,t;(!_.isLoggedIn||null!==(e=_.profileData)&&void 0!==e&&null!==(t=e.data)&&void 0!==t&&t.IsSafraGAQDone)&&l.push("/")}),[null===(n=_.profileData)||void 0===n?void 0:n.data]);var O=(0,h.cI)({mode:"onChange",reValidateMode:"onChange",defaultValues:{1:{},2:{},3:{}}}),k=(0,v.Ap)("/onboarding/get-safra-questions?SurveyType=Questionnaire").data,N=(0,v.Ap)("/onboarding/get-safra-questions?SurveyType=Activity").data,q=(0,f.useMemo)((function(){var e,t;return[null===k||void 0===k||null===(e=k.data)||void 0===e?void 0:e.filter((function(e){return!e.advice})),null===k||void 0===k||null===(t=k.data)||void 0===t?void 0:t.filter((function(e){return!!e.advice})),null===N||void 0===N?void 0:N.data]}),[k,N]),I=(0,v.Tu)(),E=I.loading,S=I.handleMutate;(0,f.useEffect)((function(){var e;if(3===(null===q||void 0===q||null===(e=q.filter(Boolean))||void 0===e?void 0:e.length)){var t=Object.fromEntries(Object.entries(q.map((function(e){return null===e||void 0===e?void 0:e.reduce((function(e,t){return F(F({},e),{},(0,a.Z)({},t.surveyId,{surveyId:t.surveyId,answer:"",addtionalAnswer:"",sr_no:t.sr_no}))}),{})}))).map((function(e){var t=(0,i.Z)(e,2);return[+t[0]+1,t[1]]})));O.reset(t)}}),[q]);
1var C=(0,x.useAuthContext)();var z=(0,f.useRef)(null),T=(0,f.useRef)(null),V=(0,f.useState)(!0),Y=V[0],U=V[1];function G(e){return M.apply(this,arguments)}function M(){return M=(0,o.Z)(d().mark((function e(t){var n,r,o,i;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=null===(n=z.current)||void 0===n?void 0:n.toDataURL(),e.next=3,(0,Z.B)(r||"","signature.jpg");case 3:o=e.sent,(i=new FormData).append("image",o),i.append("type","image"),i.append("moduleName","gaq"),S({url:"/waiver/upload-image",method:"post",data:i,onSuccess:function(e){t(e.data.data.uploadImageResponse.path)}});case 9:case"end":return e.stop()}}),e)}))),M.apply(this,arguments)}function Q(){return Q=(0,o.Z)(d().mark((function e(t){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=Object.values(t).flatMap((function(e){return Object.values(e)})).map((function(e){return F(F({},e),{},{answer:"boolean"===typeof e.answer?e.answer?"Yes":"No":e.answer||"No"})})),G((function(e){S({url:"onboarding/".concat(C.profile.cUserId,"/save-safra-answers-by-customer"),data:{Answers:n,signUrl:e},method:"post",onSuccess:function(){l.replace("/onboarding/waiver-form")}})}));case 2:case"end":return e.stop()}}),e)}))),Q.apply(this,arguments)}return(0,w.jsx)(u.Z,{children:(0,w.jsxs)("section",{className:"mx-auto my-10 max-w-[94%] px-2 text-black [&_*]:!font-poppins",children:[D.g?(0,w.jsx)(A(),{src:"/logos/safra_logo_black.png",alt:"safra logo",width:166,height:105}):(0,w.jsx)(R.T,{}),(0,w.jsxs)("section",{className:"mt-32 flex flex-col gap-10 lg:flex-row",children:[(0,w.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,w.jsx)("h1",{className:"text-[40px] font-bold",children:3===j?"Assess your current activity ":"Get active questionnaire"}),1===j?(0,w.jsxs)("p",{children:["(A questionnaire for members intending to be physically active) Physical activity improves your physical and mental health. Even small amounts of physical activity are good, and more is better. For almost everyone, the benefits of physical activity far outweigh any risks. For some individuals, specific advice from a Qualified Exercise Professional (QEP \u2013 has post-secondary education in exercise sciences and an advanced certification in the area \u2013 see"," ",(0,w.jsx)("a",{href:"https://csep.ca/certifications",className:"font-bold text-primary",children:"csep.ca/certifications"}),") or health care provider is advisable."]}):2===j?(0,w.jsx)("p",{children:"Use this reference document if you answered YES to any question and you have not consulted a health care provider or Qualified Exercise Professional (QEP) about becoming more physically active."}):(0,w.jsx)("p",{children:"Answer the following questions to assess how active you are now. "}),(0,w.jsx)(p.Z,{color:"#E6E6E6"}),1===j?(0,w.jsx)("p",{children:"This questionnaire is intended to help move you along the path to becoming more physically active. Please read the questions carefully and answer each of them honestly."}):2==j?(0,w.jsx)("p",{children:"Have you experienced ANY of the following within the past six months?"}):(0,w.jsxs)("div",{className:"inline-flex flex-col items-start justify-start gap-2",children:[(0,w.jsx)("div",{className:"text-xl font-bold leading-loose ",children:"Data Privacy"}),(0,w.jsxs)("div",{children:["By submitting this Get Active Questionnaire form, I confirm that: ",(0,w.jsx)("br",{}),(0,w.jsxs)(L,{children:[(0,w.jsxs)("li",{children:[(0,w.jsx)("b",{children:"(a). "})," the information provided by me is true and correct,"]}),(0,w.jsxs)("li",{children:[(0,w.jsx)("b",{children:"(b). "}),"I consent to SAFRA\u2019s collection, use and disclosure of my personal data for the purposes of health declaration and for other applicable purposes as set out in SAFRA\u2019s Privacy Policy (",(0,w.jsx)("a",{href:"https://www.safra.sg/privacy-policy",className:"font-bold text-primary",children:"https://www.safra.sg/privacy-policy"}),") as amended from time to time, which outlines how SAFRA manages my personal data in accordance with the Personal Data Protection Act 2012; and"]}),(0,w.jsxs)("li",{children:[(0,w.jsx)("b",{children:"(c). "}),"where Personal Data of any third party is provided by me, I have obtained the consent of the third party to SAFRA\u2019s collection, use and/or disclosure of those Personal Data."]})]})]})]})]}),(0,w.jsx)("div",{children:(0,w.jsx)(h.RV,F(F({},O),{},{children:(0,w.jsxs)("form",F(F({},O),{},{onSubmit:O.handleSubmit((function(e){return function(e){return Q.apply(this,arguments)}(e)})),className:"flex w-full flex-col gap-10 rounded-[20px] bg-off-white p-10 lg:w-[60vw]",children:[null===(c=q[j-1])||void 0===c?void 0:c.map((function(e,t,n){var o,i,a,s;return(0,w.jsxs)("div",{className:2===j?"rounded-lg bg-white p-5":"",children:[(0,w.jsxs)("div",{className:"flex gap-3",children:[(null===(o=n[t-1])||void 0===o?void 0:o.sr_no)!==e.sr_no?(0,w.jsx)("div",{className:"grid-center h-8 w-8 flex-shrink-0 rounded-full bg-black text-white ",children:t+1}):(0,w.jsx)("div",{className:"h-8 w-8"}),(0,w.jsx)("h1",{className:"font-bold",children:e.question})]}),3===j&&(0,w.jsx)("div",{className:"ml-11",children:null===(i=e.options)||void 0===i?void 0:i.map((function(t,n){return(0,w.jsxs)("div",{className:"mt-3 flex items-center gap-4",children:[(0,w.jsx)("div",{className:"max-w-[6rem]",children:(0,w.jsx)(B,{type:"number",name:"".concat(j,".").concat(e.surveyId,".answer")})}),(0,w.jsx)("label",{children:t})]})}))}),2===j&&(0,w.jsx)("p",{className:"my-1 ml-11 ",children:(0,w.jsx)(P,{name:"".concat(j,".").concat(e.surveyId,".answer"),label:"Yes"})}),e.advice&&(0,w.jsx)("p",{className:"ml-11 mt-2",children:e.advice}),1===j&&(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("div",{className:"ml-11 flex gap-6",children:[null!==(a=e.options)&&void 0!==a&&a.length?["No","Yes"].
1concat((0,r.Z)(e.options.filter((function(e){return"No"!==e&&"Yes"!==e})))):["No","Yes"]].flat().map((function(n,r){return(0,w.jsx)(m.Z,{label:n,name:"".concat(j,".").concat(e.surveyId,".answer"),value:n},r+""+t)}))}),"Yes"===(null===(s=O.watch()[1][e.surveyId])||void 0===s?void 0:s.answer)&&(0,w.jsx)("div",{className:"ml-11 mt-3",children:(0,w.jsx)(y.Z,F({label:"If yes, please specify."},O.register("".concat(j,".").concat(e.surveyId,".addtionalAnswer"))))})]})]},t)})),2===j?(0,w.jsx)("p",{children:"After reading the ADVICE for your YES response, click next."}):3===j?(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(p.Z,{color:"#E6E6E6"}),(0,w.jsxs)("div",{className:"text-sm",children:["Canadian Physical Activity Guidelines recommend that adults accumulate at least 150 minutes of moderate- to vigorous-intensity physical activity per week. For children and youth, at least 60 minutes daily is recommended. Strengthening muscles and bones at least two times per week for adults, and three times per week for children and youth, is also recommended.(see"," ",(0,w.jsx)("a",{href:"https://csep.ca/guidelines",className:"font-bold text-primary",children:"csep.ca/guidelines"}),")"]}),(0,w.jsx)(p.Z,{color:"#E6E6E6"}),(0,w.jsxs)("div",{className:"text-sm font-bold",children:[(0,w.jsx)("p",{className:"mb-3",children:"I have read, understood and completed this questionnaire to the best of my knowledge. Any questions I had were answered to my full satisfaction."}),(0,w.jsx)(Z.Z,{width:"100%",canvasRef:z,contextRef:T,setIsEmpty:U})]})]}):"",(0,w.jsx)("div",{className:"flex justify-end",children:(0,w.jsx)(g.hO,{type:3===j?"submit":"button",onClick:3!==j?function(){(1!==j||function(e){var t=Object.values(e[1]);return!(null!==t&&void 0!==t&&t.some((function(e){return"Yes"===e.answer&&!e.addtionalAnswer&&(O.setError("1.".concat(e.surveyId,".addtionalAnswer"),{message:"Please fill out this field."}),!0)})))}(O.getValues()))&&l.push("/onboarding/gaq?step=".concat(j+1))}:void 0,disabled:E||3===j&&Y||1===j&&Object.values(O.watch()[1]).some((function(e){return!e.answer})),width:"fit-content",className:"!px-14",children:3===j?"Submit":"Next"})})]}))}))})]})]})})}var L=(0,c.ZP)("ol").withConfig({displayName:"gaq___StyledOl",componentId:"sc-1d6ldn-0"})(["li{margin-bottom:0.8rem;margin-top:0.8rem;b{font-weight:bold;}}"]),B=(0,c.ZP)(I.Z).withConfig({displayName:"gaq___StyledTextInput",componentId:"sc-1d6ldn-1"})(["appearance:none;-moz-appearance:textfield;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}"])},13959:function(e,t,n){"use strict";var r=n(67162),o=(n(67294),n(31096)),i=n(67288),a=n(85893);t.Z=function(e){var t=e.width,n=void 0===t?"140px":t,o=e.height,c=void 0===o?"140px":o,l=e.color,d=void 0===l?"":l,u=e.className,p=(0,r.vH)().textColor,f=d||p;return(0,a.jsx)(s,{fillColor:f,className:u,children:(0,a.jsx)(i.nI,{style:{width:n,height:c},src:"/lotties/loadingAnimation.lottie",loop:!0,autoplay:!0})})};var s=o.ZP.div.withConfig({displayName:"loading__Wrapper",componentId:"sc-i8pai6-0"})(["path{fill:",";}"],(function(e){return e.fillColor}))},24883:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/onboarding/gaq",function(){return n(55366)}])},4298:function(e,t,n){e.exports=n(72189)}},function(e){e.O(0,[9774,2888,179],(function(){return t=24883,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.