1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1640],{1640:(e,r,t)=>{t.r(r),t.d(r,{ps_radio_group:()=>n});var i=t(67251),a=t(23745),o=t(57108),s=t(96745),n=(0,a.default)(function e(r){var t=this;(0,i.default)(this,e),(0,o.r)(this,r),this.generatePropChildrenIds=function(){var e=t.helper,r=t.name;t.errorId="".concat(r,"-error"),e&&(t.helperId="".concat(r,"-helper"))},this.disabled=!1,this.error=void 0,this.isErrorAnnounced=!0,this.hasSlottedChildren=void 0,this.helper=void 0,this.legend=void 0,this.name=(0,s.g)("radio-group"),this.required=void 0,this.fieldsetAriaLabelledby=void 0,this.inputEls=void 0},[{key:"updateInputAttributes",value:function(){var e=this.error,r=this.errorId,t=this.helper,i=this.helperId,a="".concat(t?i:""," ").concat(e?r:"").trim();this.inputEls.forEach(function(r){""!==a?r.setAttribute("aria-describedby",a):r.removeAttribute("aria-describedby"),e?r.setAttribute("data-error","true"):r.hasAttribute("data-error")&&r.removeAttribute("data-error")})}},{key:"componentWillRender",value:function(){this.generatePropChildrenIds()}},{key:"componentDidRender",value:function(){var e=this.el.querySelector("fieldset");this.fieldsetAriaLabelledby&&e.setAttribute("aria-labelledby",this.fieldsetAriaLabelledby),!this.fieldsetAriaLabelledby&&e.hasAttribute("aria-labelledby")&&e.removeAttribute("aria-labelledby")}},{key:"componentDidLoad",value:function(){var e=this.el,r=this.name,t=this.required;this.inputEls=e.querySelectorAll("input"),this.inputEls.forEach(function(e){e.setAttribute("name",r),t&&e.setAttribute("required","true")}),this.updateInputAttributes()}},{key:"componentDidUpdate",value:function(){this.updateInputAttributes()}},{key:"render",value:function(){var e=this.disabled,r=this.error,t=this.isErrorAnnounced,i=this.errorId,a=this.helper,s=this.helperId,n=this.legend;return(0,o.h)(o.H,{key:"12a1839ae6612ac1f1b65c2ddc79cc7f90aa2fa3"},(0,o.h)("fieldset",{key:"8dea38b4359b3d683d6daf503752f1577731083e",class:{"ps-radio-group":!0,"ps-radio-group-error":!!r},disabled:e},!!n&&(0,o.h)("legend",{key:"78ddec8e5e28c123209f40a5fab9fe0fc5faf234"},n),a&&(0,o.h)("ps-helper",{key:"5d13f50b3efc64c9eadae022b0e8736ab80b3738","helper-id":s},a),(0,o.h)("slot",{key:"35a7ca0e6b09871ce91fdf14c79d1186dce116a2"}),r&&(0,o.h)("ps-error",{key:"8e226efd61f18eb0b005641890df79d8a1c90c81","is-error-announced":t?"true":"false","error-id":i},r)))}},{key:"el",get:function(){return(0,o.g)(this)}}]);n.style='.ps-radio-group{border:0;display:flex;flex-direction:column;margin:0;padding:0}.ps-radio-group legend{color:#262626;display:block;font-family:"CVS Health Sans", Helvetica, Arial, sans-serif;font-size:var(--ps-theme-font-size-paragraph-m);font-weight:var(--ps-theme-font-weight-normal);line-height:var(--ps-theme-font-leading-paragraph);font-weight:var(--ps-theme-font-weight-medium);padding-left:0}.ps-radio-group legend+*:not(ps-helper),.ps-radio-group ps-helper+*{margin-top:0.5rem}.ps-radio-group .ps-error{margin-top:0.5rem}.ps-radio-group:disabled legend,.ps-radio-group:disabled .ps-label,.ps-radio-group:disabled .ps-helper{color:var(--ps-theme-color-content-disabled)}'},96745:(e,r,t)=>{t.r(r),t.d(r,{g:()=>i,p:()=>a});var i=function(e){var r=Math.floor(Math.random()*Date.now()).toString(),t=r.substring(r.length-6);return"ps-".concat(e?"".concat(e.toLowerCase().replace(" ","-"),"-"):"").concat(t)},a=function(e,r){var t=null;if(e)try{t=JSON.parse(e)}catch(e){console.error("\n ".concat((r?"".concat(r,": "):"")||"Pulse Component",": the\n htmlAttrs value was not formatted correctly. Please review the string\n you've provided to ensure it follows the correct JSON syntax.\n ").concat(e,"\n "))}return 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.