PageSourceSearch

https://factor.com/8776.649657a792a57993.js

js factor.com collected 2026-10-04 04:06:41 UTC 13,720 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[8776],{19781(x,v,t){t.d(v,{t:()=>_});var h=t(85802),e=t(35547),s=t(89417),a=t(56998),E=t(98352),M=t(31755),g=t(17242),P=t(68018),k=t(58689),f=t(8516),l=t(29912);const d=["checkbox"],c=[[["val-errors"]],[["","label",""]],[["label-content"]],[["","description",""]]],b=["val-errors","[label]","label-content","[description]"];function T(n,p){if(1&n&&(e.j41(0,"label",8),e.nrm(1,"show-svg-images",9),e.k0s()),2&n){const i=e.XpG();e.AVh("custom-icon",i.icon)("checked",i.value)("indeterminate",i.indeterminate),e.Y8G("for",i.id),e.R7$(),e.Y8G("svg",i.icon??"")}}function B(n,p){if(1&n&&(e.j41(0,"label",10),e.bIt("click",function(m){return m.stopPropagation()}),e.nrm(1,"lucide-icon",11),e.k0s()),2&n){const i=e.XpG();e.AVh("checked",i.value)("indeterminate",i.indeterminate),e.Y8G("for",i.id),e.R7$(),e.Y8G("img",i.Check)}}function D(n,p){if(1&n&&e.nrm(0,"field-hint",13),2&n){const i=e.XpG(2);e.Y8G("text",i.hint)}}function u(n,p){if(1&n&&(e.j41(0,"span"),e.EFF(1),e.nI1(2,"translate"),e.k0s()),2&n){const i=e.XpG(3);e.R7$(),e.JRh(e.bMT(2,1,i.description))}}function y(n,p){if(1&n&&(e.j41(0,"div",14),e.nVh(1,u,3,3,"span"),e.SdG(2,3),e.k0s()),2&n){const i=e.XpG(2);e.R7$(),e.vxM("true"!==i.description?1:-1)}}function o(n,p){if(1&n&&(e.j41(0,"div",6)(1,"label",12),e.bIt("click",function(m){return m.stopPropagation()}),e.j41(2,"span"),e.EFF(3),e.nI1(4,"translate"),e.SdG(5,1),e.k0s(),e.nVh(6,D,1,1,"field-hint",13),e.k0s(),e.nVh(7,y,3,1,"div",14),e.SdG(8,2),e.k0s()),2&n){const i=e.XpG();e.R7$(),e.Y8G("for",i.id),e.R7$(2),e.SpI("",e.bMT(4,4,i.label)," "),e.R7$(3),e.vxM(i.hint?6:-1),e.R7$(),e.vxM(i.description?7:-1)}}let _=(()=>{class n extends E.z{el=(0,h.WQX)(e.aKT);isNewDesign=(0,h.WQX)(k.T);id=(0,a.bn)("form-check");label;description;hint;nullIsIndeterminate=!1;switch;icon;checkbox;containerClassFormCheck=!0;get containerClassDisabled(){return this.disabled}get indeterminate(){return this.nullIsIndeterminate&&null==this.value&&!this.changed}ngAfterViewInit(){this.el.nativeElement.id=""}focus(){this.checkbox.nativeElement.focus()}circleIcon='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z"/></svg>\n';Check=f.Jlk;static \u0275fac=(()=>{let i;return function(r){return(i||(i=e.xGo(n)))(r||n)}})();static \u0275cmp=e.VBU({type:n,selectors:[["field-checkbox"]],viewQuery:function(m,r){if(1&m&&e.GBs(d,7),2&m){let I;e.mGM(I=e.lsd())&&(r.checkbox=I.first)}},hostVars:6,hostBindings:function(m,r){2&m&&e.AVh("form-switch",r.switch)("form-check",r.containerClassFormCheck)("disabled",r.containerClassDisabled)},inputs:{id:"id",label:"label",description:"description",hint:"hint",nullIsIndeterminate:"nullIsIndeterminate",switch:"switch",icon:"icon"},features:[e.Jv_([{provide:s.kq,multi:!0,useExisting:n},{provide:M.b,useExisting:n}]),e.Vt3],ngContentSelectors:b,decls:9,vars:10,consts:[["checkbox",""],[1,"input-group","gap-2"],[1,"position-relative","flex-grow-0"],["type","checkbox","data-qa","input",1,"form-check-input",3,"ngModelChange","blur","click","id","disabled","ngModel","indeterminate"],[1,"switch-icon",3,"custom-icon","checked","indeterminate","for"],[1,"check-icon",3,"checked","indeterminate","for"],[1,"flex-1"],["data-qa","validation",1,"form-control-validation"],[1,"switch-icon",3,"for"],[3,"svg"],[1,"check-icon",3,"click","for"],[3,"img"],["data-qa","label",1,"form-check-label","d-flex","align-items-center","gap-2",3,"click","for"],[3,"text"],["data-qa","description",1,"form-text","d-flex","align-items-center","gap-1"]],template:function(m,r){1&m&&(e.NAR(c),e.j41(0,"div",1)(1,"div",2)(2,"input",3,0),e.bIt("ngModelChange",function(O){return r.valueChanged(O)})("blur",function(O){return r.onBlur(O)})("click",function(O){return O.stopPropagation()}),e.k0s(),e.nVh(4,T,2,8,"label",4)(5,B,2,6,"label",5),e.k0s(),e.nVh(6,o,9,6,"div",6),e.k0s(),e.j41(7,"div",7),e.SdG(8),e.k0s()),2&m&&(e.R7$(),e.AVh("mt-xxs",r.switch&&r.label&&r.description),e.R7$(),e.AVh("checked",r.value),e.Y8G("id",r.id)("disabled",r.disabled)("ngModel",r.value)("indeterminate",r.indeterminate),e.R7$(2),e.vxM(r.switch?4:5),e.R7$(2),e.vxM(r.label?6:-1))},dependencies:[s.X1,s.Zm,s.BC,s.YN,s.vS,g.F,f.flO,f.WGl,l.d,P.D9],styles:["[_nghost-%COMP%]{width:fit-content}.btn-group > [_nghost-%COMP%]{align-self:center}legend   [_nghost-%COMP%]{margin-bottom:var(--spacer-xs)}legend   [_nghost-%COMP%]   .form-check-input[_ngcontent-%COMP%]{align-self:center}[_nghost-%COMP%]   .mt-xxs[_ngcontent-%COMP%]{margin-top:2px}[_nghost-%COMP%]   .check-icon[_ngcontent-%COMP%]{display:none}.new-design   [_nghost-%COMP%]   .check-icon[_ngcontent-%COMP%]{display:inline-block}"],changeDetection:0})}return n})()},84460(x,v,t){t.d(v,{m:()=>D});var h=t(17705),e=t(35547),s=t(85802),a=t(89417),E=t(56998),M=t(98352),g=t(31755),P=t(59053),k=t(95604),f=t(32834),C=t(68018),l=t(8516);
1const d=["inputElement"],c=[[["input","hidden",""]],[["",8,"input-group-append"]],[["button"]],[["val-errors"],["show-error-warning"]],[["","description",""]]],b=["input[hidden]",".input-group-append","button","val-errors,show-error-warning","[description]"];function T(u,y){if(1&u){const o=e.RV6();e.j41(0,"app-times-regular-icon",8),e.bIt("click",function(){s.eBV(o);const n=e.XpG();return s.Njj(n.clear())}),e.k0s()}}function B(u,y){if(1&u){const o=e.RV6();e.j41(0,"button",9),e.bIt("click",function(){s.eBV(o);const n=e.XpG();return s.Njj(n.inlineBtnClick())}),e.nrm(1,"lucide-icon",10),e.k0s()}if(2&u){const o=e.XpG();e.Y8G("disabled",o.disabled||o.inlineButtonDisabled),e.R7$(),e.Y8G("img",o.inlineBtnIcon)}}let D=(()=>{class u extends M.z{el=(0,s.WQX)(e.aKT);id=(0,E.bn)("input");label;description;hint;placeholder;maxlength=255;minlength=0;autocomplete="off";name="";inlineButtonIcon;inlineButtonDisabled;readonly;hideAsterisk;inlineLabel;allowedInputPattern;nullIsIndeterminate=!1;indeterminatePlaceholder="_i18n.LeaveUnchanged";noManualInput;numeric;required=!1;blur=(0,h.CGW)();inlineButtonClick=(0,h.CGW)();inputElement;get indeterminate(){return this.nullIsIndeterminate&&null==this.value&&!this.changed}get type(){return this.numeric?"number":"text"}get inlineBtnIcon(){return this.inlineButtonIcon}get isRequired(){return!this.readonly&&!this.hideAsterisk&&(this.required||!0===this.componentControl?.hasValidator(a.k0.required))}focus(){this.inputElement.nativeElement.focus()}inlineBtnClick(){this.inlineButtonClick.emit()}constructor(){super(),this.touchOnChange=!1}ngAfterViewInit(){this.el.nativeElement.id=""}onFocus(){}onBlur(o){super.onBlur(o),this.blur.emit(o)}onPaste(o){}validate(o){return(0,P.xw)(o)}preventInvalidInput(o){this.allowedInputPattern&&!o.ctrlKey&&/^(\w|\s)$/.test(o.key)&&!new RegExp(this.allowedInputPattern).test(o.key)&&o.preventDefault()}clear(){this.valueChanged("")}static \u0275fac=function(_){return new(_||u)};static \u0275cmp=e.VBU({type:u,selectors:[["field-input"]],viewQuery:function(_,n){if(1&_&&e.GBs(d,5),2&_){let p;e.mGM(p=e.lsd())&&(n.inputElement=p.first)}},inputs:{id:"id",label:"label",description:"description",hint:"hint",placeholder:"placeholder",maxlength:"maxlength",minlength:"minlength",autocomplete:"autocomplete",name:"name",inlineButtonIcon:"inlineButtonIcon",inlineButtonDisabled:"inlineButtonDisabled",readonly:"readonly",hideAsterisk:"hideAsterisk",inlineLabel:"inlineLabel",allowedInputPattern:"allowedInputPattern",nullIsIndeterminate:"nullIsIndeterminate",indeterminatePlaceholder:"indeterminatePlaceholder",noManualInput:"noManualInput",numeric:"numeric",required:"required"},outputs:{blur:"blur",inlineButtonClick:"inlineButtonClick"},features:[e.Jv_([{provide:a.kq,multi:!0,useExisting:u},{provide:a.cz,multi:!0,useExisting:u},{provide:g.b,useExisting:u}]),e.Vt3],ngContentSelectors:b,decls:14,vars:23,consts:[["inputElement",""],[3,"label","labelFor","inlineLabel","disabled","required","description","hint"],[1,"input-group"],["data-qa","input",1,"form-control",3,"ngModelChange","keydown","paste","focus","blur","type","id","maxlength","minlength","autocomplete","name","disabled","readonly","placeholder","ngModel"],["data-qa","clear",1,"clear"],["type","button","data-qa","btn",1,"btn","btn-border","btn-icon",3,"disabled"],["ngProjectAs","val-errors",5,["val-errors"]],["ngProjectAs","[description]",5,["","description",""]],["data-qa","clear",1,"clear",3,"click"],["type","button","data-qa","btn",1,"btn","btn-border","btn-icon",3,"click","disabled"],[3,"img"]],template:function(_,n){1&_&&(e.NAR(c),e.j41(0,"field-wrapper",1)(1,"div",2),e.SdG(2),e.j41(3,"input",3,0),e.nI1(5,"translate"),e.bIt("ngModelChange",function(i){return n.valueChanged(i)})("keydown",function(i){return n.preventInvalidInput(i)})("paste",function(i){return n.onPaste(i)})("focus",function(){return n.onFocus()})("blur",function(i){return n.onBlur(i)}),e.k0s(),e.nVh(6,T,1,0,"app-times-regular-icon",4),e.SdG(7,1),e.SdG(8,2),e.nVh(9,B,2,2,"button",5),e.k0s(),e.qex(10,6),e.SdG(11,3),e.bVm(),e.qex(12,7),e.SdG(13,4),e.bVm(),e.k0s()),2&_&&(e.Y8G("label",n.label)("labelFor",n.id)("inlineLabel",n.inlineLabel)("disabled",n.disabled)("required",n.isRequired)("description",n.description)("hint",n.hint),e.R7$(3),e.AVh("text-truncate",n.readonly),e.Y8G("type",n.type)("id",n.id)("maxlength",n.maxlength??null)("minlength",n.minlength)("autocomplete",n.autocomplete)("name",n.name)("disabled",n.disabled)("readonly",n.readonly||n.noManualInput)("placeholder",e.bMT(5,21,n.indeterminate?n.indeterminatePlaceholder:n.placeholder||""))("ngModel",n.value),e.R7$(3),e.vxM(n.indeterminate&&!n.disabled?6:-1),e.R7$(3),e.vxM(n.inlineBtnIcon?9:-1))},dependencies:[k.z,a.X1,a.me,a.BC,a.xh,a.tU,a.YN,a.vS,f.R,l.flO,l.WGl,C.D9],styles:["[_nghost-%COMP%]{display:block;margin-bottom:16px}[_nghost-%COMP%]   field-wrapper[_ngcontent-%COMP%]{margin-bottom:0}[_nghost-%COMP%]     .input-group>.btn{border-left:0}.max-length-3[_nghost-%COMP%]     input[type=number]{max-width:calc(12px * 2 + .65em * 3);min-width:calc(12px * 2 + .65em * 3)}.max-length-4[_nghost-%COMP%]     input[type=number]{max-width:calc(24px + 2.6em);min-width:calc(24px + 2.6em)}.max-length-5[_nghost-%COMP%]     input[type=number]{max-width:calc(24px + 3.25em);min-width:calc(24px + 3.25em)}.max-length-6[_nghost-%COMP%]     input[type=number]{max-width:calc(12px * 2 + .65em * 6);min-width:calc(12px * 2 + .65em * 6)}.max-length-7[_nghost-%COMP%]     input[type=number]{max-width:calc(24px + 4.55em);min-width:calc(24px + 4.55em)}.min-length-3[_nghost-%COMP%]     input[type=number]{min-width:calc(12px * 2 + .65em * 3)}.min-length-4[_nghost-%COMP%]     input[type=number]{min-width:calc(24px + 2.6em)}.min-length-5[_nghost-%COMP%]     input[type=number]{min-width:calc(24px + 3.25em)}.min-length-6[_nghost-%COMP%]     input[type=number]{min-width:calc(12px * 2 + .65em * 6)}.min-length-7[_nghost-%COMP%]     input[type=number]{min-width:calc(24px + 4.55em)}[_nghost-%COMP%]   .clear[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px;cursor:pointer;--svg-color: currentColor;--svg-vertical-align: baseline}"],changeDetection:0})}return u})()},98352(x,v,t){t.d(v,{z:()=>k});var h=t(17705),e=t(85802),s=t(89417),a=t(56998),E=t(89079),M=t(23294),g=t(96354),P=t(1807);class k{cd=(0,e.WQX)(h.gRc);destroyRef=(0,e.WQX)(e.abz);injector=(0,e.WQX)(e.zZn);value;changed=!1;touchOnChange=!0;disabled=!1;touched=!1;onChange=()=>{};onTouched=()=>{};registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}markAsTouched(l=!1){(!this.touched||l)&&(this.onTouched(),this.touched=!0),this.cd.markForCheck()}onBlur(l){this.markAsTouched(!0)}setDisabledState(l){this.disabled=l,this.cd.markForCheck()}parse(l){return l}format(l){return l}writeValue(l){this.value=this.parse(l),this.changed=!1,this.cd.markForCheck()}valueChanged(l,d){const c=l&&"string"==typeof l?l.trim():l;if(this.value===c&&!d&&(l||"object"!=typeof l))return;const b=this.format(c);this.value=c,this.changed=!0,this.onChange(b),this.touchOnChange&&this.markAsTouched(!0),this.cd.markForCheck()}get componentControl(){return(0,a.lp)(this.injector)}syncControlState(l,d){const c=this.componentControl;c&&(l instanceof s.MJ&&(d??=l),d&&c.hasValidator(s.k0.required)&&d.addValidators(s.k0.required),(0,a.B8)(c).pipe((0,E.pQ)(this.destroyRef)).subscribe(b=>{(0,a.wm)(l,b),this.touched=b,this.cd.markForCheck()}),(0,a.zA)(c).pipe((0,g.T)(()=>c.invalid),(0,M.F)(),(0,E.pQ)(this.destroyRef)).subscribe(()=>{this.cd.markForCheck()}))}createAsyncComponentValidator(l){const d=this.createComponentValidator(l);return c=>(0,P.O)(0).pipe((0,g.T)(()=>d(c)))}createComponentValidator(l){return d=>(this.disabled!==d.disabled&&this.setDisabledState(d.disabled),f(l),l.invali
1d?l.errors??{componentValidation:!0}:null)}}function f(C){C instanceof s.Yp?C.controls.forEach(f):C instanceof s.gE&&Object.values(C.controls).forEach(f),C.updateValueAndValidity({emitEvent:!1,onlySelf:!0})}},32834(x,v,t){t.d(v,{R:()=>s});var h=t(35547),e=t(85802);let s=(()=>{class a{static \u0275fac=function(g){return new(g||a)};static \u0275cmp=h.VBU({type:a,selectors:[["app-times-regular-icon"],["","app-times-regular-icon",""]],decls:2,vars:0,consts:[["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 320 512"],["d","m207.6 256 107.72-107.72c6.23-6.23 6.23-16.34 0-22.58l-25.03-25.03c-6.23-6.23-16.34-6.23-22.58 0L160 208.4 52.28 100.68c-6.23-6.23-16.34-6.23-22.58 0L4.68 125.7c-6.23 6.23-6.23 16.34 0 22.58L112.4 256 4.68 363.72c-6.23 6.23-6.23 16.34 0 22.58l25.03 25.03c6.23 6.23 16.34 6.23 22.58 0L160 303.6l107.72 107.72c6.23 6.23 16.34 6.23 22.58 0l25.03-25.03c6.23-6.23 6.23-16.34 0-22.58L207.6 256z"]],template:function(g,P){1&g&&(e.qSk(),h.rj2(0,"svg",0),h.Hgh(1,"path",1),h.eux())},encapsulation:2})}return a})()}}]);

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.