1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="afb9aa52-ce86-4ea4-b915-7e06871ea999",e._sentryDebugIdIdentifier="sentry-dbid-afb9aa52-ce86-4ea4-b915-7e06871ea999")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7840],{24167:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>O});var i=n(66284),a=n(43181),s=n(14232),r=n(89099),o=n(18590),l=n(30236),u=n(81984),d=n(31115),c=n(63418),p=n(8984),f=n(11753),y=n(25663),b=n(37078),h=n(44992),g=n(5914),m=s.createElement;function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach(function(t){(0,i.A)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function O(){let{data:e}=(0,o.ly)(),[t,n]=s.useState(!1),i=(0,r.useRouter)(),{embedded:a}=i.query,[l,w]=s.useState(!1),[O,k]=s.useState([]),[v,j]=s.useState([]),[{enabled:A}]=(0,y.u)("enable-risk-assessment-aha-changes",{autoUpdate:!0});s.useEffect(()=>{!e||e.detail||e.error_message?n(!0):(n(!1),k(e[0].questions),e[0].questions[0].answer&&(j(e[0].questions),w(!0)))},[e,t]);let N=t=>{let n=v.findIndex(e=>e.question_id===t.question_id);-1===n?v.push(t):v[n]=t,w(v.length===e[0].questions.length),j(v)},P=async()=>{let t=e[0].questions.map(e=>{let t=v.findIndex(t=>t.question_id===e.question_id);return -1!==t?v[t]:x(x({},e),{},{answer:null})}),{status:n}=await (0,o.ud)(t,e[0].id);200===n&&await i.push(`/myhealth/async/${A?"cage":"lifestyle"}/${a?"?embedded=true":""}`)};return m(c.A,null,m(s.Fragment,null,m(b.A,{title:h.Dl.b.NA}),m("div",{className:"col col-md-8 offset-md-2"},m(p.Y9,null,m(p.Wi,{link:"/myhealth/async/phq",isNext:!0}),"SYMPTOMS"),m("div",{className:"row async-sub-section"},m(_,{className:"col-md-8 offset-md-2 phq-subsection-container"},m(g.TopLabel,null,"Over the last two weeks how often have you been bothered by the following problems?"),O.length>0&&m(s.Fragment,null,O.map(e=>m(d.A,{key:e.text,answer:e.answer,question:e,updateAnswer:N,buttonText:null,postAnswer:()=>{},text:e.text,deactivate:!1===e.active})),m(q,{type:"primary",text:"Next section",isDisabled:!l||0===v.length,onClick:P,style:{alignSelf:"flex-start"},buttonType:"filled"})),!e&&m(u.A,null),t&&m(f.A,null))))))}let _=(0,a.A)("div",{target:"e7zo7yq1"})("align-items:center;display:flex;flex-direction:column;padding-bottom:150px;",p.U6,";.yes-no-container{width:100%;margin-bottom:-5px;p{width:80%;padding-right:10px;}.yes-no-radios{display:flex;width:20%;margin-right:4%;}}.check-container{padding-top:5px;}@media (max-width: 1475px){.yes-no-container,.question-inline-text-container{display:grid;}.yes-no-radios,.skip-container,.horizontal-number-input-container{float:left!important;margin-right:0!important;margin-left:0!important;}.skip-container,.question-title{width:auto!important;}.long-text-input-textbox{max-width:400px;}}"),q=(0,a.A)(l.$n,{target:"e7zo7yq0"})({name:"1huv1ah",styles:"margin-top:60px"})}
1,83188:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/myhealth/async/gad",function(){return n(24167)}])}},e=>{e.O(0,[4049,5587,888,2262,4232,7479,9516,941,4698,5053,1677,4513,5914,636,6593,8792],()=>e(e.s=83188)),_N_E=e.O()}]);
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.