PageSourceSearch

https://datacollectionservice.net/6661.2cabe91ff7aa6e81.js

js datacollectionservice.net collected 2026-10-10 02:38:59 UTC 8,096 bytes, 1 lines download raw bytes

1(self.webpackChunkshell=self.webpackChunkshell||[]).push([[6661],{59042:(P,p,s)=>{s.r(p),s.d(p,{MAT_INPUT_VALUE_ACCESSOR:()=>v,MatError:()=>a.MatError,MatFormField:()=>a.MatFormField,MatHint:()=>a.MatHint,MatInput:()=>b,MatInputModule:()=>A,MatLabel:()=>a.MatLabel,MatPrefix:()=>a.MatPrefix,MatSuffix:()=>a.MatSuffix,getMatInputUnsupportedTypeError:()=>I});var u=s(37546),_=s(52642),f=s(26958),i=s(45565),o=s(93793),d=s(77392),a=s(73952),M=s(9015);function I(n){return Error(`Input type "${n}" isn't supported by matInput.`)}const v=new i.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),C=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let S=0,b=(()=>{class n{get disabled(){return this._disabled}set disabled(e){this._disabled=(0,u.coerceBooleanProperty)(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(o.Validators.required)??!1}set required(e){this._required=(0,u.coerceBooleanProperty)(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&(0,_.getSupportedInputTypes)().has(this._type)&&(this._elementRef.nativeElement.type=this._type),this._ensureWheelDefaultBehavior()}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=(0,u.coerceBooleanProperty)(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,r,t,h,T,B,k,L,g,E){this._elementRef=e,this._platform=r,this.ngControl=t,this._autofillMonitor=L,this._ngZone=g,this._formField=E,this._uid="mat-input-"+S++,this._webkitBlinkWheelListenerAttached=!1,this.focused=!1,this.stateChanges=new M.Subject,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(m=>(0,_.getSupportedInputTypes)().has(m)),this._iOSKeyupListener=m=>{const l=m.target;!l.value&&0===l.selectionStart&&0===l.selectionEnd&&(l.setSelectionRange(1,1),l.setSelectionRange(0,0))},this._webkitBlinkWheelListener=()=>{};const c=this._elementRef.nativeElement,y=c.nodeName.toLowerCase();this._inputValueAccessor=k||c,this._previousNativeValue=this.value,this.id=this.id,r.IOS&&g.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new d._ErrorStateTracker(B,t,T,h,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===y,this._isTextarea="textarea"===y,this._isInFormField=!!E,this._isNativeSelect&&(this.controlType=c.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener),this._webkitBlinkWheelListenerAttached&&this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener)}ngDoCheck(){this.ngControl&&(this.updateErrorState(),null!==this.ngControl.disabled&&this.ngControl.disabled!==this.disabled&&(this.disabled=this.ngControl.disabled,this.stateChanges.next())),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}updateErrorState(){this._errorStateTracker.updateErrorState()}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_dirtyCheckPlaceholder(){const e=this._getPlaceholder();if(e!==this._previousPlaceholder){const r=this._elementRef.nativeElement;this._previousPlaceholder=e,e?r.setAttribute("placeholder",e):r.removeAttribute("placeholder")}}_getPlaceholder(){return this.placeholder||null}_validateType(){C.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,r=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&r&&r.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}_ensureWheelDefaultBehavior(){!this._webkitBlinkWheelListenerAttached&&"number"===this._type&&(this._platform.BLINK||this._platform.WEBKIT)&&(this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("wheel",this._webkitBlinkWheelListener)}),this._webkitBlinkWheelListenerAttached=!0),this._webkitBlinkWheelListenerAttached&&"number"!==this._type&&(this._elementRef.nativeElement.removeEventListener("wheel",this._webkitBlinkWheelListener),this._webkitBlinkWheelListenerAttached=!0)}static{this.\u0275fac=function(r){return new(r||n)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(_.Platform),i.\u0275\u0275directiveInject(o.NgControl,10),i.\u0275\u0275directiveInject(o.NgForm,8),i.\u0275\u0275directiveInject(o.FormGroupDirective,8),i.\u0275\u0275directiveInject(d.ErrorStateMatcher),i.\u0275\u0275directiveInject(v,10),i.\u0275\u0275directiveInject(f.AutofillMonitor),i.\u0275\u0275directiveInject(i.NgZone),i.\u0275\u0275directiveInject(a.MAT_FORM_FIELD,8))}}static{this.\u0275dir=i.\u0275\u0275defineDirective({type:n,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-mdc-input-element"],hostVars:18,hostBindings:function(r,t){1&r&&i.\u0275\u0275listener("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&r&&(i.\u0275\u0275hostProperty("id",t.id)("disabled",t.disabled)("required",t.required),i.\u0275\u0275attribute("name",t.name||null)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.empty&&t.required?null:t.errorState)("aria-required",t.required)("id",t.id),i.\u0275\u0275classProp("mat-input-server",t._isServer)("mat-mdc-form-field-textarea-control",t._isInFormField&&t._isTextarea)("mat-mdc-form-field-input-control",t._isInFormField)("mdc-text-field__input",t._isInFormField)("mat-mdc-native-select-inline",t._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],standalone:!0,features:[i.\u0275\u0275ProvidersFeature([{provide:a.MatFormFieldControl,useExisting:n}]),i.\u0275\u0275NgOnChangesFeature]})}}return n})(),A=(()=>{class n{static{this.\u0275fac=function(r){return new(r||n)}}static{this.\u0275mod=i.\u0275\u0275defineNgModule({type:n})}static{this.\u0275inj=i.\u0275\u0275defineInjector({imports:[d.MatCommonModule,a.MatFormFieldModule,a.MatFormFieldModule,f.TextFieldModule,d.MatCommonModule]})}}return n})()}}]);

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.