1/*! For license information please see 2016.d128a732e55d09418d71.chunk.js.LICENSE.txt */ 2"use strict";(self.webpackChunk_patient_root=self.webpackChunk_patient_root||[]).push([[2016,14817,83700],{2016:(t,r,n)=>{n.r(r),n.d(r,{default:()=>e.default});var e=n(83700)},14817:(t,r,n)=>{n.r(r),n.d(r,{default:()=>e});const e={container:"AskForAllergies_container___LTP",inputContainer:"AskForAllergies_inputContainer___FN2"}},49506:(t,r,n)=>{n.d(r,{D:()=>a});var e=n(13715);function o(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var e,o,i,a,u=[],l=!0,c=!1;try{if(i=(n=n.call(t)).next,0===r){if(Object(n)!==n)return;l=!1}else for(;!(l=(e=i.call(n)).done)&&(u.push(e.value),u.length!==r);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(t,r)||function(t,r){if(t){if("string"==typeof t)return i(t,r);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,r):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}function a(t){var r=o((0,e.useState)(!1),2),n=r[0],i=r[1],a=o((0,e.useState)(t),2),u=a[0],l=a[1];return[u,(0,e.useCallback)(function(t){l(t.target.value),i(!0)},[l]),n]}},83700:(t,r,n)=>{n.r(r),n.d(r,{default:()=>_});var e=n(56867),o=n(15451),i=n(75952),a=n(49506),u=n(13715),l=n(24153),c=n(94561),f=n(67647),s=n(27228),d=n(14817),y=n(38e3);function p(){var t,r,n="function"==typeof Symbol?Symbol:{},e=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,e,o,i){var l=e&&e.prototype instanceof u?e:u,c=Object.create(l.prototype);return v(c,"_invoke",function(n,e,o){var i,u,l,c=0,f=o||[],s=!1,d={p:0,n:0,v:t,a:y,f:y.bind(t,4),d:function(r,n){return i=r,u=0,l=t,d.n=n,a}};function y(n,e){for(u=n,l=e,r=0;!s&&c&&!o&&r<f.length;r++){var o,i=f[r],y=d.p,p=i[2];n>3?(o=p===e)&&(l=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=y&&((o=n<2&&y<i[1])?(u=0,d.v=e,d.n=i[1]):y<p&&(o=n<3||i[0]>e||e>p)&&(i[4]=n,i[5]=e,d.n=p,u=0))}if(o||n>1)return a;throw s=!0,e}return function(o,f,p){if(c>1)throw TypeError("Generator is already running");for(s&&1===f&&y(f,p),u=f,l=p;(r=u<2?t:l)||!s;){i||(u?u<3?(u>1&&(d.n=-1),y(u,l)):d.n=l:d.v=l);try{if(c=2,i){if(u||(o="next"),r=i[o]){if(!(r=r.call(i,l)))throw TypeError("iterator result is not an object");if(!r.done)return r;l=r.value,u<2&&(u=0)}else 1===u&&(r=i.return)&&r.call(i),u<2&&(l=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((r=(s=d.n<0)?l:n.call(e,d))!==a)break}catch(r){i=t,u=1,l=r}finally{c=1}}return{value:r,done:s}}}(n,o,i),!0),c}var a={};function u(){}function l(){}function c(){}r=Object.getPrototypeOf;var f=[][e]?r(r([][e]())):(v(r={},e,function(){return this}),r),s=c.prototype=u.prototype=Object.create(f);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,v(t,o,"GeneratorFunction")),t.prototype=Object.create(s),t}return l.prototype=c,v(s,"constructor",c),v(c,"constructor",l),l.displayName="GeneratorFunction",v(c,o,"GeneratorFunction"),v(s),v(s,o,"Generator"),v(s,e,function(){return this}),v(s,"toString",function(){return"[object Generator]"}),(p=function(){return{w:i,m:d}})()}function v(t,r,n,e){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}v=function(t,r,n,e){function i(r,n){v(t,r,function(t){return this._invoke(r,n,t)})}r?o?o(t,r,{value:n,enumerable:!e,configurable:!e,writable:!e}):t[r]=n:(i("next",0),i("throw",1),i("return",2))},v(t,r,n,e)}function h(t,r,n,e,o,i,a){try{var u=t[i](a),l=u.value}catch(t){return void n(t)}u.done?r(l):Promise.resolve(l).then(e,o)}function b(t){return function(){var r=this,n=arguments;return new Promise(function(e,o){var i=t.apply(r,n);function a(t){h(i,e,o,a,u,"next",t)}function u(t){h(i,e,o,a,u,"throw",t)}a(void 0)})}}function g(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=Array(r);n<r;n++)e[n]=t[n];return e}var m=function(t){var r=t.exitActions.loading;return{isLoading:(0,s.O4)(r,{taskName:c.g.ASK_FOR_ALLERGIES})}};const _=function(t){var r,n,s=t.actionId,v=t.optionId,h=(0,u.useRef)(null),_=(0,l.useDispatch)(),j=(0,e.c3P)(),A=(0,e.uxQ)().withErrorHandling,S=(0,l.useSelector)(m).isLoading,w=(r=(0,a.D)(""),n=2,function(t){if(Array.isArray(t))return t}(r)||function(t,r){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var e,o,i,a,u=[],l=!0,c=!1;try{if(i=(n=n.call(t)).next,0===r){if(Object(n)!==n)return;l=!1}else for(;
2!(l=(e=i.call(n)).done)&&(u.push(e.value),u.length!==r);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(r,n)||function(t,r){if(t){if("string"==typeof t)return g(t,r);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(t,r):void 0}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),O=w[0],k=w[1];return(0,y.jsx)(o.hH,{elementToAnimate:h,children:(0,y.jsx)("div",{ref:h,className:d.default.container,children:(0,y.jsxs)("div",{className:d.default.inputContainer,children:[(0,y.jsx)(i.TextInput,{disabled:S,onChange:k,value:O,label:j.task_update_allergies}),(0,y.jsx)(i.Button,{loading:S,onClick:function(){A(b(p().m(function t(){return p().w(function(t){for(;;)if(0===t.n)return t.a(2,_(f.Rt(s,v,c.g.ASK_FOR_ALLERGIES,{allergies:O})))},t)})))},style:{width:"100%"},children:j.nf_contacts_details_button_add})]})})})}}}]);
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.