1"use strict";(self.webpackChunklogin=self.webpackChunklogin||[]).push([[8516],{6135(u,h,n){n.r(h),n.d(h,{nwcc_rich_checkbox:()=>t});var i=n(1409),o=n(340),d=n(7754);const t=class{constructor(c){(0,i.r)(this,c),this.nwccRichCheckboxChange=(0,i.c)(this,"nwccRichCheckboxChange",7),this.nwccRichCheckboxBlur=(0,i.c)(this,"nwccRichCheckboxBlur",7)}defaultCheckedOptions=[];onDefaultCheckedOptionsChange(c){this.checkedOptions=[...c]}name;hideCheckbox=!1;vertical=!1;disableSelection=!1;label;options=[];childComponentSuffix="";error="";announceError=!0;checkedOptions=[];nwccRichCheckboxChange;nwccRichCheckboxBlur;onChildComponentSuffixChange(){this.updateChildComponentSuffix()}nwccRichInputBase;uniqueId=(0,d.g)();componentWillLoad(){this.onDefaultCheckedOptionsChange(this.defaultCheckedOptions),this.updateChildComponentSuffix()}onChange(c,e){c.stopPropagation(),(this.isOptionChecked(e)||!this.disableSelection)&&(this.checkedOptions=this.isOptionChecked(e)?this.checkedOptions.filter(s=>s.value!==e.value):[...this.checkedOptions,e].map(({icon:s,...l})=>({...l})),this.nwccRichCheckboxChange.emit(this.checkedOptions))}updateChildComponentSuffix(){this.nwccRichInputBase=`nwcc-rich-input-base${this.childComponentSuffix}`}isOptionChecked(c){return void 0!==this.checkedOptions.find(({value:e})=>c.value===e)}render(){return(0,i.h)(this.nwccRichInputBase,{key:"5ddb71cc73c6c33a73ef252f84934f633f1f6008",vertical:!!this.vertical,label:this.label,role:"group",error:this.error,childComponentSuffix:this.childComponentSuffix,announceError:this.announceError,uniqueId:this.uniqueId},this.options.map(c=>(0,i.h)(o.R,{option:c,isChecked:this.isOptionChecked(c),disableSelection:!this.isOptionChecked(c)&&this.disableSelection},(0,i.h)("input",{class:"ncc-rich-input__input",type:"checkbox",checked:this.isOptionChecked(c),disabled:c.disabled,name:this.name,value:c.value,onChange:e=>this.onChange(e,c),onBlur:()=>this.nwccRichCheckboxBlur.emit(this.checkedOptions)}),!this.hideCheckbox&&(0,i.h)("nwcc-checkbox",{name:this.name,checked:this.isOptionChecked(c),disabled:c.disabled,dangerouslyAssignTabIndex:"-1"}))))}static get watchers(){return{defaultCheckedOptions:[{onDefaultCheckedOptionsChange:0}],childComponentSuffix:[{onChildComponentSuffixChange:0}]}}};t.style="nwcc-rich-checkbox nwcc-checkbox{pointer-events:none}nwcc-rich-checkbox nwcc-checkbox nwcc-icon2{--size:24px}nwcc-rich-checkbox .ncc-rich-input__icon--with-description nwcc-icon2{--size:16px}nwcc-rich-checkbox .ncc-rich-input nwcc-checkbox nwcc-icon2{--size:20px}"}}]);
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.