1import{a as F,t as R}from"./chunk-OQVWGQGP.js";import{b as D}from"./chunk-EY4MG7NF.js";import{i as L}from"./chunk-TUADE3SK.js";import{$ as E,$a as i,Bc as A,Dc as y,Ec as w,Fc as I,Hb as x,Ib as s,Nb as _,Ob as a,Pb as o,Qb as v,Yb as C,ad as S,bc as h,dc as l,ea as m,eb as g,fa as b,hc as O,ic as k,jc as V,qc as f,rb as M,rc as c,sc as P,tc as u,va as T}from"./chunk-VUZ2JQ7U.js";var B=["inputElement"],G=(n,t)=>({"bnx-input--asterisk":n,"bnx-input--white-input":t}),q=(n,t,e)=>({"bnx-input--disable":n,"bnx-input__icon-left":t,"bnx-input--red-border":e}),z=n=>({"bnx-input--height-40":n}),K=n=>({"bnx-input--disableIcon":n}),Q=(n,t)=>({"bnx-input--disableIcon":n,"bnx-input--has-data":t});function U(n,t){if(n&1&&v(0,"em"),n&2){let e=l(2);f("bnx-input__input-icon "+e.icon)}}function W(n,t){if(n&1&&(a(0,"div"),x(1,U,1,2,"em",2),c(2),o()),n&2){let e=l();f("bnx-input__input-label "+e.labelClass),i(),s(e.icon?1:-1),i(),u(" ",e.title," ")}}function Y(n,t){if(n&1){let e=C();a(0,"textarea",7),h("keydown",function(r){m(e);let p=l();return b(p.handleKeyDown(r))})("input",function(r){m(e);let p=l();return b(p.handleInput(r))}),o()}if(n&2){let e=l();_("value",e.innerValue)("placeholder",e.placeholder)}}function j(n,t){if(n&1&&(a(0,"div",4),v(1,"input",8)(2,"em")(3,"input",9),o()),n&2){let e=l();_("ngClass",I(4,q,e.disabled,e.iconLeft,e.errorBorder)),i(2),f("bnx-input__input-icon icon-nvm__phone"),i(),_("placeholder",e.placeholder)}}function H(n,t){if(n&1){let e=C();a(0,"em",12),h("click",function(){m(e);let r=l(2);return b(r.iconClick())})("keydown",function(r){m(e);let p=l(2);return b(p.handleKeyDown(r))}),o()}if(n&2){let e=l(2);f("bnx-input__input-icon "+e.inputIcon),_("ngClass",y(3,K,e.disabled))}}function J(n,t){if(n&1){let e=C();a(0,"em",12),h("click",function(){m(e);let r=l(2);return b(r.addClick())})("keydown",function(r){m(e);let p=l(2);return b(p.handleKeyDown(r))}),o()}if(n&2){let e=l(2);f("bnx-input__input-icon "+e.inputIcon),_("ngClass",w(3,Q,e.disabled,e.innerValue&&e.innerValue.length>0&&e.isInfo))}}function X(n,t){if(n&1){let e=C();a(0,"div",5)(1,"input",10,0),h("input",function(r){m(e);let p=l();return b(p.handleInput(r))}),o(),x(3,H,1,5,"em",11),x(4,J,1,6,"em",11),o()}if(n&2){let e=l();_("ngClass",I(9,q,e.disabled,e.iconLeft,e.errorBorder)),i(),_("type",e.type)("value",e.innerValue)("placeholder",e.placeholder)("max",e.max)("ngClass",y(13,z,e.heightMore))("readonly",e.isReadonlyInput),i(2),s(e.showInputIcon?3:-1),i(),s(e.addMultiple?4:-1)}}function Z(n,t){if(n&1&&(a(0,"div",6),c(1),o()),n&2){let e=l();i(),P(e.message)}}function $(n,t){if(n&1&&(a(0,"div",6),c(1),o()),n&2){let e=l(3);i(),u(" ",e.isLogin===!0?"Email ID is required":"This field is Required"," ")}}function ee(n,t){n&1&&(a(0,"div",6),c(1),o()),n&2&&(i(),u(" ","Special characters and numbers are not allowed"," "))}function ne(n,t){if(n&1&&(a(0,"div",6),c(1),o()),n&2){let e=l(3);i(),u(" ",(e.title||e.placeholder)+" cannot include numbers"," ")}}function te(n,t){if(n&1&&(a(0,"div",6),c(1),o()),n&2){let e=l(3);i(),u(" ","Minimum "+(e.validationError.min==null?null:e.validationError.min.requiredLength)+" characters allowed"," ")}}function ie(n,t){n&1&&(a(0,"div",6),c(1),o()),n&2&&(i(),u(" ","Invalid email address"," "))}function oe(n,t){n&1&&(a(0,"div",6),c(1),o()),n&2&&(i(),u(" ","Invalid email address"," "))}function ae(n,t){n&1&&(a(0,"div",6),c(1),o()),n&2&&(i(),u(" ","Invalid URL"," "))}function le(n,t){n&1&&(a(0,"div",6),c(1),o()),n&2&&(i(),u(" ","Invalid URL"," "))}function re(n,t){n&1&&(a(0,"div",6),c(1),o()),n&2&&(i(),u(" ","Empty Space not allowed"," "))}function ce(n,t){if(n&1&&(a(0,"div",6),c(1),o()),n&2){let e=l(3);i(),u(" ","Maximum "+(e.validationError.maxLength==null?null:e.validationError.maxLength.requiredLength)+" characters allowed"," ")}}function de(n,t){n&1&&(a(0,"div",6),c(1),o()),n&2&&(i(),u(" ","Invalid phone number"," "))}function ue(n,t){n&1&&(a(0,"div",6),c(1),o()),n&2&&(i(),u(" ","Only Arabic Characters are allowed"," "))}function pe(n,t){n&1&&(a(0,"div",6),c(1),o()),n&2&&(i(),u(" ","Only Numbers are allowed"," "))}function xe(n,t){if(n&1&&x(0,$,2,1,"div",6)(1,ee,2,1,"div",6)(2,
1ne,2,1,"div",6)(3,te,2,1,"div",6)(4,ie,2,1,"div",6)(5,oe,2,1,"div",6)(6,ae,2,1,"div",6)(7,le,2,1,"div",6)(8,re,2,1,"div",6)(9,ce,2,1,"div",6)(10,de,2,1,"div",6)(11,ue,2,1,"div",6)(12,pe,2,1,"div",6),n&2){let e=l(2);s(e.validationError.required?0:e.validationError.invalidName?1:e.validationError.invalidNameWithCharacter?2:e.validationError.min?3:e.validationError.invalidEmailAddress?4:e.validationError.pattern!=null&&e.validationError.pattern.requiredPattern?5:e.validationError.invalidUrl?6:e.validationError.invalidWebsite?7:e.validationError.whitespace?8:e.validationError.maxLength?9:e.validationError.invalidPhone?10:e.validationError.arabicOnly?11:e.validationError.notNumber?12:-1)}}function se(n,t){if(n&1&&x(0,xe,13,1),n&2){let e=l();s(e.validationError&&e.enableValidatorMessage?0:-1)}}var N=class n{title;icon;inputIcon;labelClass="";message="";type="text";placeholder="";customMessage=!1;phone=!1;hideLabel=!0;errorBorder=!1;iconLeft=!1;enableValidatorMessage=!1;heightMore=!1;disabled=!1;asteriskRequired=!1;whiteInput=!1;showInputIcon=!1;addMultiple=!1;validationError=null;max;inputValue;min=15;isLogin=!1;defaultValue;formControlNameString;isReadonlyInput=!1;eventIconClick=new g;keyPressEvent=new g;changeEvents=new g;addMoreClick=new g;element;isInfo=!1;innerValue="";formGroup;inputForm;formControl;subs=new D;onChanged=()=>"";onTouched=()=>!1;cdr=E(S);ngOnChanges(t){t.defaultValue&&(this.inputValue=this.defaultValue,this.errorBorder=t.defaultValue===null)}registerOnChange(t){this.onChanged=t}registerOnTouched(t){this.onTouched=t}focus(){this.element.nativeElement.focus()}writeValue(t){this.innerValue=t||"",this.cdr.detectChanges()}iconClick(){this.eventIconClick.emit()}handleKeyDown(t){let e=this.innerValue;t.key===" "&&(!e||e.trim()==="")&&t.preventDefault()}handleInput(t){let e=t.target.value;this.innerValue=e,this.onChanged(e),this.changeEvents.emit(e)}changeEvent(t){this.changeEvents.emit(t?.target?.value)}addClick(){this.addMoreClick.emit()}ngOnDestroy(){this.subs.unsubscribe()}static \u0275fac=function(e){return new(e||n)};static \u0275cmp=M({type:n,selectors:[["bnx-admin-text-input"]],viewQuery:function(e,d){if(e&1&&O(B,5),e&2){let r;k(r=V())&&(d.element=r.first)}},inputs:{title:"title",icon:"icon",inputIcon:"inputIcon",labelClass:"labelClass",message:"message",type:"type",placeholder:"placeholder",customMessage:"customMessage",phone:"phone",hideLabel:"hideLabel",errorBorder:"errorBorder",iconLeft:"iconLeft",enableValidatorMessage:"enableValidatorMessage",heightMore:"heightMore",disabled:"disabled",asteriskRequired:"asteriskRequired",whiteInput:"whiteInput",showInputIcon:"showInputIcon",addMultiple:"addMultiple",validationError:"validationError",max:"max",inputValue:"inputValue",min:"min",isLogin:"isLogin",defaultValue:"defaultValue",formControlNameString:"formControlNameString",isReadonlyInput:"isReadonlyInput",isInfo:"isInfo"},outputs:{eventIconClick:"eventIconClick",keyPressEvent:"keyPressEvent",changeEvents:"changeEvents",addMoreClick:"addMoreClick"},features:[A([{provide:F,multi:!0,useExisting:n}]),T],decls:7,vars:7,consts:[["inputElement",""],[1,"bnx-input",3,"ngClass"],[3,"class"],[1,"bnx-input__textarea",3,"value","placeholder"],[1,"bnx-input__outer","bnx-input--phone-outer",3,"ngClass"],[1,"bnx-input__outer",3,"ngClass"],[1,"bnx-input__input-warn"],[1,"bnx-input__textarea",3,"keydown","input","value","placeholder"],["type","text","placeholder","code"],["type","number","appNumberOnly","",3,"placeholder"],["appNumberOnly","",1,"bnx-input__input",3,"input","type","value","placeholder","max","ngClass","readonly"],["tabindex","0",3,"class","ngClass"],["tabindex","0",3,"click","keydown","ngClass"]],template:function(e,d){e&1&&(a(0,"div",1),x(1,W,3,4,"div",2),x(2,Y,1,2,"textarea",3)(3,j,4,8,"div",4)(4,X,5,15,"div",5),x(5,Z,2,1,"div",6)(6,se,1,1
1),o()),e&2&&(_("ngClass",w(4,G,d.asteriskRequired,d.whiteInput)),i(),s(d.hideLabel?1:-1),i(),s(d.type==="textarea"?2:d.phone?3:4),i(3),s(d.customMessage?5:6))},dependencies:[R,L],styles:['[_ngcontent-%COMP%]:root{--aux-color-bg: #f3f6f6;--aux-color-primary: #0b3a62;--aux-color-primary-dark: #011123;--aux-color-transparent: transparent;--aux-color-blue: #63a3ff;--aux-color-blue-100: #4e98ff;--aux-color-blue-200: #0073ab;--aux-color-blue-300: #cdeefe;--aux-color-blue-400: #cce1ff;--aux-color-blue-500: #b3c4ff;--aux-color-blue-600: #eceff5;--aux-color-blue-800: #04334d;--aux-color-blue-900: #053dff;--aux-color-blue-1000: #2bcaff;--aux-color-blue-1002: #def3ff;--aux-color-dark-blue: #001d2e;--aux-color-dark-blue-2: #011827;--aux-color-blue-1003: #04334d;--aux-color-blue-1004: #05bbf2;--aux-color-blue-1005: #4879a3;--aux-color-blue-1006: #014486;--aux-color-blue-1007: #1d7ad0;--aux-color-secondary: #0490d4;--aux-color-black: #000;--aux-color-black-100: #232528;--aux-color-black-200: #00000014;--aux-color-black-300: #0006;--aux-color-black-400: #1b1d21;--aux-color-black-500: #4b4f58;--aux-color-black-600: #222222;--aux-color-black-700: #00000099;--aux-color-black-800: #212529;--aux-color-black-900: #ffffff33;--aux-color-black-1000: #ffffff1a;--bnx-color-global-white: #ffffff;--bnx-color-global-white-light: #ffffff00;--bnx-color-global-white-100: #e2e3e5;--bnx-color-global-white-200: #f7f7f7;--bnx-color-global-white-300: #effaff;--bnx-color-global-white-400: #cbd5e1;--bnx-color-global-white-500: #e1e3e5;--bnx-color-global-white-600: #f7fafc;--bnx-color-global-white-700: #d9d9d9;--bnx-color-global-white-800: #f1f5f8;--bnx-color-global-white-900: #dfeff3;--bnx-color-global-white-1000: #dee2e6;--bnx-color-global-white-1001: #c1c1c1;--aux-color-grey-100: #5f646d;--aux-color-grey-200: #3f4046;--aux-color-grey-300: #c3c6cb;--aux-color-grey-400: #64748b;--aux-color-grey-500: #9ea2aa;--aux-color-grey-600: #797e85;--aux-color-grey-700: #f1f5f9;--aux-color-grey-800: #6b7280;--aux-color-grey-900: #dee3ee;--aux-color-grey-1000: #f4f6fa;--aux-color-grey-1001: #d1d1d1;--aux-color-grey-1002: #c9c6c6;--aux-color-grey-1003: #bdd0de;--aux-color-grey-1004: #7b8d9b;--aux-color-grey-1005: #fdfdfd4d;--aux-color-grey-1006: #96969633;--aux-color-grey-1007: #5c5c5c;--aux-color-grey-1008: #93aebd21;--aux-color-green-100: #2b5133;--aux-color-green-200: #23432b;--aux-color-green-300: #f2faf4;--aux-color-green-400: #3f8e50;--aux-color-red-100: #7c2320;--aux-color-red-200: #5e3b26;--aux-color-red-300: #773610;--aux-color-red-400: #fef2f1;--aux-color-red-500: #95231e;--aux-color-red-600: #b52520;--aux-color-red-700: #361e12;--aux-color-red-800: #d83731;--aux-color-yellow-100: #fffbeb;--aux-color-yellow-200: #f29f0f;--aux-color-red: #d42e2e;--aux-color-orange: #ec663a;--aux-color-yellow: #e5a037;--aux-color-green: #66bb66;--aux-color-shadow-1: #00000021;--aux-color-shadow-2: #00000066;--aux-color-shadow-3: #10385b0a;--aux-color-shadow-4: #0000000d;--aux-color-shadow-5: #10385bcc;--aux-color-shadow-6: #c8ced945;--aux-color-shadow-7: #00000026}.bnx-input[_ngcontent-%COMP%]{width:100%}.bnx-input__input-label[_ngcontent-%COMP%]{display:inline-flex;vertical-align:middle;color:var(--aux-color-grey-200);margin-bottom:8px;position:relative;font-weight:400;font-size:14px}.bnx-input__input-label--grey[_ngcontent-%COMP%]{color:var(--aux-color-grey-200)}.bnx-input__input-icon[_ngcontent-%COMP%]{margin-right:10px;font-size:16px}.bnx-input__input[_ngcontent-%COMP%], .bnx-input__textarea[_ngcontent-%COMP%]{font-family:outfit!important;border:1px solid #d1d1d1;background-color:transparent;width:100%;padding:8px 16px;border-radius:8px}.bnx-input--height-40[_ngcontent-%COMP%]{height:40px}.bnx-input--disable[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.bnx-input--disableIcon[_ngcontent-%COMP%]{cursor:default!important}.bnx-input--has-data[_ngcontent-%COMP%]{color:#2d82e5!important}.bnx-input__textarea[_ngcontent-%COMP%]{min-height:96px;resize:none}.bnx-input__textarea[_ngcontent-%COMP%]::placeholder{color:var(--aux-color-grey-300)}.bnx-input__input-warn[_ngcontent-%COMP%]{color:var(--aux-color-red);font-size:12px;margin-top:4px}.bnx-input__input[type=password][_ngcontent-%COMP%]{padding-right:40px}.bnx-input__input[type=date][_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{cursor:pointer}.bnx-input__icon-left[_ngcontent-%COMP%] .bnx-input__input[_ngcontent-%COMP%]{padding-left:40px}.bnx-input__icon-left[_ngcontent-%COMP%] .bnx-input__input-icon[_ngcontent-%COMP%]{right:auto;left:15px}.bnx-input--asterisk[_ngcontent-%COMP%] .bnx-input__input-label[_ngcontent-%COMP%]:after{content:"*";position:absolute;right:-8px;color:var(--aux-color-red)}.bnx-input--white-input[_ngcontent-%COMP%] .bnx-input__input-label[_ngcontent-%COMP%]{border:1px solid var(--bnx-color-global-white-700)}.bnx-input--white-input[_ngcontent-%COMP%] .bnx-input__input[_ngcontent-%COMP%]{color:var(--bnx-color-global-white)}.bnx-input--white-input[_ngcontent-%COMP%] .bnx-input__input[_ngcontent-%COMP%]::placeholder{color:var(--aux-color-grey-300)}.bnx-input__outer[_ngcontent-%COMP%]{position:relative}.bnx-input__outer[_ngcontent-%COMP%] .bnx-input__input-icon[_ngcontent-%COMP%]{position:absolute;right:15px;top:50%;transform:translateY(-50%);width:15px;height:15px;color:var(--aux-color-grey-300);
1cursor:pointer;font-size:14;margin-right:0;transition:all .3s}.bnx-input__outer[_ngcontent-%COMP%] .bnx-input__input-icon[_ngcontent-%COMP%]:hover{transform:translateY(-50%) scale(1.1)}.bnx-input--phone-outer[_ngcontent-%COMP%]{display:flex}.bnx-input--phone-outer[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:8px 16px;border:1px solid #d9d9d9;width:30%}.bnx-input--phone-outer[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:last-child{width:70%}'],changeDetection:0})};export{N as 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.