1import{a as re}from"./chunk-VDA4PBJF.js";import{P as oe,S as ie,U as f,V as ce,W as ae,ca as de}from"./chunk-QXVUYXIG.js";import{a as W,f as Y}from"./chunk-EBOVR5NW.js";import{Ac as G,Ca as l,Dc as S,Gb as L,Ib as b,Lb as Q,Lc as m,Lg as te,Ma as C,Mb as j,Mc as K,Mg as w,Na as P,Nb as I,Ob as B,Ra as O,Sa as y,Ta as x,Vb as H,Vc as X,Wb as p,X as F,Xc as U,Y as N,Z as z,Zc as Z,_ as D,aa as g,bb as h,ed as J,ha as u,jc as R,lb as d,ma as v,mb as M,nb as T,nc as q,oa as A,ob as _,og as ee,pg as ne,ra as k,rb as $,sb as V,tb as E}from"./chunk-HVCWS4IF.js";import{j as s}from"./chunk-KJ7W2O2B.js";var ke=["data-p-icon","minus"],se=(()=>{let n=class n extends ae{};s(n,"\u0275fac",(()=>{let o;return function(e){return(o||(o=k(n)))(e||n)}})()),s(n,"\u0275cmp",C({type:n,selectors:[["","data-p-icon","minus"]],features:[y],attrs:ke,decls:1,vars:0,consts:[["d","M13.2222 7.77778H0.777778C0.571498 7.77778 0.373667 7.69584 0.227806 7.54998C0.0819442 7.40412 0 7.20629 0 7.00001C0 6.79373 0.0819442 6.5959 0.227806 6.45003C0.373667 6.30417 0.571498 6.22223 0.777778 6.22223H13.2222C13.4285 6.22223 13.6263 6.30417 13.7722 6.45003C13.9181 6.5959 14 6.79373 14 7.00001C14 7.20629 13.9181 7.40412 13.7722 7.54998C13.6263 7.69584 13.4285 7.77778 13.2222 7.77778Z","fill","currentColor"]],template:function(i,e){i&1&&(u(),$(0,"path",0))},encapsulation:2}));let t=n;return t})();var le=` 2 .p-checkbox { 3 position: relative; 4 display: inline-flex; 5 user-select: none; 6 vertical-align: bottom; 7 width: dt('checkbox.width'); 8 height: dt('checkbox.height'); 9 } 10 11 .p-checkbox-input { 12 cursor: pointer; 13 appearance: none; 14 position: absolute; 15 inset-block-start: 0; 16 inset-inline-start: 0; 17 width: 100%; 18 height: 100%; 19 padding: 0; 20 margin: 0; 21 opacity: 0; 22 z-index: 1; 23 outline: 0 none; 24 border: 1px solid transparent; 25 border-radius: dt('checkbox.border.radius'); 26 } 27 28 .p-checkbox-box { 29 display: flex; 30 justify-content: center; 31 align-items: center; 32 border-radius: dt('checkbox.border.radius'); 33 border: 1px solid dt('checkbox.border.color'); 34 background: dt('checkbox.background'); 35 width: dt('checkbox.width'); 36 height: dt('checkbox.height'); 37 transition: 38 background dt('checkbox.transition.duration'), 39 color dt('checkbox.transition.duration'), 40 border-color dt('checkbox.transition.duration'), 41 box-shadow dt('checkbox.transition.duration'), 42 outline-color dt('checkbox.transition.duration'); 43 outline-color: transparent; 44 box-shadow: dt('checkbox.shadow'); 45 } 46 47 .p-checkbox-icon { 48 transition-duration: dt('checkbox.transition.duration'); 49 color: dt('checkbox.icon.color'); 50 font-size: dt('checkbox.icon.size'); 51 width: dt('checkbox.icon.size'); 52 height: dt('checkbox.icon.size'); 53 } 54 55 .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { 56 border-color: dt('checkbox.hover.border.color'); 57 } 58 59 .p-checkbox-checked .p-checkbox-box { 60 border-color: dt('checkbox.checked.border.color'); 61 background: dt('checkbox.checked.background'); 62 } 63 64 .p-checkbox-checked .p-checkbox-icon { 65 color: dt('checkbox.icon.checked.color'); 66 } 67 68 .p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { 69 background: dt('checkbox.checked.hover.background'); 70 border-color: dt('checkbox.checked.hover.border.color'); 71 } 72 73 .p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-icon { 74 color: dt('checkbox.icon.checked.hover.color'); 75 } 76 77 .p-checkbox:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box { 78 border-color: dt('checkbox.focus.border.color'); 79 box-shadow: dt('checkbox.focus.ring.shadow'); 80 outline: dt('checkbox.focus.ring.width') dt('checkbox.focus.ring.style') dt('checkbox.focus.ring.color'); 81 outline-offset: dt('checkbox.focus.ring.offset'); 82 } 83 84 .p-checkbox-checked:not(.p-disabled):has(.p-checkbox-input:focus-visible) .p-checkbox-box { 85 border-color: dt('checkbox.checked.focus.border.color'); 86 } 87 88 .p-checkbox.p-invalid > .p-checkbox-box { 89 border-color: dt('checkbox.invalid.border.color'); 90 } 91 92 .p-checkbox.p-variant-filled .p-checkbox-box { 93 background: dt('checkbox.filled.background'); 94 } 95 96 .p-checkbox-checked.p-variant-filled .p-checkbox-box { 97 background: dt('checkbox.checked.background'); 98 } 99 100 .p-checkbox-checked.p-variant-filled:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box { 101 background: dt('checkbox.checked.hover.background'); 102 } 103 104 .p-checkbox.p-disabled { 105 opacity: 1; 106 } 107 108 .p-checkbox.p-disabled .p-checkbox-box { 109 background: dt('checkbox.disabled.background'); 110 border-color: dt('checkbox.checked.disabled.border.color'); 111 } 112 113 .p-checkbox.p-disabled .p-checkbox-box .p-checkbox-icon { 114 color: dt('checkbox.icon.disabled.color'); 115 } 116 117 .p-checkbox-sm, 118 .p-checkbox-sm .p-checkbox-box { 119 width: dt('checkbox.sm.width'); 120 height: dt('checkbox.sm.height'); 121 } 122 123 .p-checkbox-sm .p-checkbox-icon { 124 font-size: dt('checkbox.icon.sm.size'); 125 width: dt('checkbox.icon.sm.size'); 126 height: dt('checkbox.icon.sm.size'); 127 } 128 129 .p-checkbox-lg, 130 .p-checkbox-lg .p-checkbox-box { 131 width: dt('checkbox.lg.width'); 132 height: dt('checkbox.lg.height'); 133 } 134 135 .p-checkbox-lg .p-checkbox-icon { 136 font-size: dt('checkbox.icon.lg.size'); 137 width: dt('checkbox.icon.lg.size'); 138 height: dt('checkbox.icon.lg.size'); 139 } 140`;var xe=["icon"],me=["input"],fe=(t,n,c)=>({checked:t,class:n,dataP:c});function ge(t,n){if(t&1&&_(0,"span",8),t&2){let c=b(3);p(c.cx("icon")),d("ngClass",c.checkboxIcon)("pBind",c.ptm("icon")),h("data-p",c.dataP)}}function ve(t,n){if(t&1&&(u(),_(0,"svg",9)),t&2){let c=b(3);p(c.cx("icon")),d("pBind",c.ptm("icon")),h("data-p",c.dataP)}}function Ce(t,n){if(t&1&&(V(0),x(1,ge,1,5,"span",6)(2,ve,1,4,"svg",7),E()),t&2){let c=b(2);l(),d("ngIf",c.checkboxIcon),l(),d("ngIf",!c.checkboxIcon)}}function ye(t,n){if(t&1&&(u(),_(0,"svg",10)),t&2){let c=b(2);p(c.cx("icon")),d("pBind",c.ptm("icon")),h("data-p",c.dataP)}}function _e(t,n){if(t&1&&(V(0),x(1,Ce,3,2,"ng-container",3)(2,ye,1,4,"svg",5),E()),t&2){let c=b();l(),d("ngIf",c.checked),l(),d("ngIf",c._indeterminate())}}function Ie(t,n){}function Be(t,n){t&1&&x(0,Ie,0,0,"ng-template")}var we=` 141 ${le} 142 143 /* For PrimeNG */ 144 p-checkBox.ng-invalid.ng-dirty .p-checkbox-box, 145 p-check-box.ng-invalid.ng-dirty .p-checkbox-box, 146 p-checkbox.ng-invalid.ng-dirty .p-checkbox-box { 147 border-color: dt('checkbox.invalid.border.color'); 148 } 149`,Me={root:({instance:t})=>["p-checkbox p-component",{"p-checkbox-checked p-highlight":t.checked,"p-disabled":t.$disabled(),"p-invalid":t.invali
149d(),"p-variant-filled":t.$variant()==="filled","p-checkbox-sm p-inputfield-sm":t.size()==="small","p-checkbox-lg p-inputfield-lg":t.size()==="large"}],box:"p-checkbox-box",input:"p-checkbox-input",icon:"p-checkbox-icon"},he=(()=>{let n=class n extends oe{name="checkbox";style=we;classes=Me};s(n,"\u0275fac",(()=>{let o;return function(e){return(o||(o=k(n)))(e||n)}})()),s(n,"\u0275prov",N({token:n,factory:n.\u0275fac}));let t=n;return t})();var pe=new D("CHECKBOX_INSTANCE"),Te={provide:W,useExisting:F(()=>be),multi:!0},be=(()=>{let n=class n extends de{componentName="Checkbox";hostName="";value;binary;ariaLabelledBy;ariaLabel;tabindex;inputId;inputStyle;styleClass;inputClass;indeterminate=!1;formControl;checkboxIcon;readonly;autofocus;trueValue=!0;falseValue=!1;variant=S();size=S();onChange=new v;onFocus=new v;onBlur=new v;inputViewChild;get checked(){return this._indeterminate()?!1:this.binary?this.modelValue()===this.trueValue:ne(this.value,this.modelValue())}_indeterminate=A(void 0);checkboxIconTemplate;templates;_checkboxIconTemplate;focused=!1;_componentStyle=g(he);bindDirectiveInstance=g(f,{self:!0});$pcCheckbox=g(pe,{optional:!0,skipSelf:!0})??void 0;$variant=G(()=>this.variant()||this.config.inputStyle()||this.config.inputVariant());onAfterContentInit(){this.templates?.forEach(o=>{switch(o.getType()){case"icon":this._checkboxIconTemplate=o.template;break;case"checkboxicon":this._checkboxIconTemplate=o.template;break}})}onChanges(o){o.indeterminate&&this._indeterminate.set(o.indeterminate.currentValue)}onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}updateModel(o){let i,e=this.injector.get(Y,null,{optional:!0,self:!0}),a=e&&!this.formControl?e.value:this.modelValue();this.binary?(i=this._indeterminate()?this.trueValue:this.checked?this.falseValue:this.trueValue,this.writeModelValue(i),this.onModelChange(i)):(this.checked||this._indeterminate()?i=a.filter(r=>!ee(r,this.value)):i=a?[...a,this.value]:[this.value],this.onModelChange(i),this.writeModelValue(i),this.formControl&&this.formControl.setValue(i)),this._indeterminate()&&this._indeterminate.set(!1),this.onChange.emit({checked:i,originalEvent:o})}handleChange(o){this.readonly||this.updateModel(o)}onInputFocus(o){this.focused=!0,this.onFocus.emit(o)}onInputBlur(o){this.focused=!1,this.onBlur.emit(o),this.onModelTouched()}focus(){this.inputViewChild?.nativeElement.focus()}writeControlValue(o,i){i(o),this.cd.markForCheck()}get dataP(){return this.cn({invalid:this.invalid(),checked:this.checked,disabled:this.$disabled(),filled:this.$variant()==="filled",[this.size()]:this.size()})}};s(n,"\u0275fac",(()=>{let o;return function(e){return(o||(o=k(n)))(e||n)}})()),s(n,"\u0275cmp",C({type:n,selectors:[["p-checkbox"],["p-checkBox"],["p-check-box"]],contentQueries:function(i,e,a){if(i&1&&Q(a,xe,4)(a,te,4),i&2){let r;I(r=B())&&(e.checkboxIconTemplate=r.first),I(r=B())&&(e.templates=r)}},viewQuery:function(i,e){if(i&1&&j(me,5),i&2){let a;I(a=B())&&(e.inputViewChild=a.first)}},hostVars:6,hostBindings:function(i,e){i&2&&(h("data-p-highlight",e.checked)("data-p-checked",e.checked)("data-p-disabled",e.$disabled())("data-p",e.dataP),p(e.cn(e.cx("root"),e.styleClass)))},inputs:{hostName:"hostName",value:"value",binary:[2,"binary","binary",m],ariaLabelledBy:"ariaLabelledBy",ariaLabel:"ariaLabel",tabindex:[2,"tabindex","tabindex",K],inputId:"inputId",inputStyle:"inputStyle",styleClass:"styleClass",inputClass:"inputClass",indeterminate:[2,"indeterminate","indeterminate",m],formControl:"formControl",checkboxIcon:"checkboxIcon",readonly:[2,"readonly","readonly",m],autofocus:[2,"autofocus","autofocus",m],trueValue:"trueValue",falseValue:"falseValue",variant:[1,"variant"],size:[1,"size"]},outputs:{onChange:"onChange",onFocus:"onFocus",onBlur:"onBlur"},features:[R([Te,he,{provide:pe,useExisting:n},{provide:ie,useExisting:n}]),O([f]),y],decls:5,vars:26,consts:[["input",""],["type","checkbox",3,"focus","blur","change","checked","pBind"],[3,"pBind"],[4,"ngIf"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["data-p-icon","minus",3,"class","pBind",4,"ngIf"],[3,"class","ngClass","pBind",4,"ngIf"],["data-p-icon","check",3,"class","pBind",4,"ngIf"],[3,"ngClass","pBind"],["data-p-icon","check",3,"pBind"],["data-p-icon","minus",3,"pBind"]],template:function(i,e){i&1&&(M(0,"input",1,0),L("focus",function(r){return e.onInputFocus(r)})("blur",function(r){return e.onInputBlur(r)})("change",function(r){return e.handleChange(r)}),T(),M(2,"div",2),x(3,_e,3,2,"ng-container",3)(4,Be,1,0,null,4),T()),i&2&&(H(e.inputStyle),p(e.cn(e.cx("input"),e.inputClass)),d("checked",e.checked)("pBind",e.ptm("input")),h("id",e.inputId)("value",e.value)("name",e.name())("tabindex",e.tabindex)("required",e.required()?"":void 0)("readonly",e.readonly?"":void 0)("disabled",e.$disabled()?"":void 0)("aria-labelledby",e.ariaLabelledBy)("aria-label",e.ariaLabel),l(2),p(e.cx("box")),d("pBind",e.ptm("box")),h("data-p",e.dataP),l(),d("ngIf",!e.checkboxIconTemplate&&!e._checkboxIconTemplate),l(
149),d("ngTemplateOutlet",e.checkboxIconTemplate||e._checkboxIconTemplate)("ngTemplateOutletContext",q(22,fe,e.checked,e.cx("icon"),e.dataP)))},dependencies:[J,X,U,Z,w,re,se,ce,f],encapsulation:2,changeDetection:0}));let t=n;return t})(),on=(()=>{let n=class n{};s(n,"\u0275fac",function(i){return new(i||n)}),s(n,"\u0275mod",P({type:n})),s(n,"\u0275inj",z({imports:[be,w,w]}));let t=n;return t})();export{be as a,on as b}; 150/**i18n:347eeb695970c32bc275618edc2e751c67145d9fc3012e70543c114a99b9e016*/
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.