PageSourceSearch

https://www.knorr-bremse.com/en/chunk-JHZ3PVV2.js

js knorr-bremse.com collected 2026-09-24 08:26:09 UTC 2,457 bytes, 3 lines download raw bytes

1import{a as O}from"./chunk-VG5YGNY5.js";import{c as L,g as I,h as g}from"./chunk-MDFI7MM2.js";import{A as U,D,E as m,Jb as F,K as $,L as u,P as B,R,T as E,Y as h,ba as T,ca as s,da as M,ea as H,ja as y,k as w,ma as b,oa as p,p as S,r as l,s as c}from"./chunk-ZKNABTT2.js";var q=new b("DynamicFormsConfiguration"),J=(()=>{class t{configuration=p(q);http=p(g);postSubmission(e,r,a){return this.http.post(`${this.configuration.baseUrl}/submissions`,{formUniqueIdentifier:r,fields:a},{headers:new L({Accept:"application/json","Content-Type":"application/json",Authorization:`Bearer ${e}`})})}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function x(t,f){return Math.min(t,f)}function d(t,f){return Math.pow(2,t)*f}function k(t){let{initialInterval:f,maxRetries:e=1/0,maxInterval:r=1/0,shouldRetry:a=()=>!0,resetOnSuccess:n=!1,backoffDelay:o=d}=typeof t=="number"?{initialInterval:t}:t;return i=>U(()=>{let v=0;return i.pipe(h(A=>A.pipe(u(j=>{let C=v++;return D(()=>C<e&&a(j),m(x(o(C,f),r)),c(j))}))),H(()=>{n&&(v=0)}))})}var z=new b("captchaServiceConfiguration"),st=(()=>{class t{http=p(g);baseUrl=p(z).baseUrl.toString();isStable=p(F).isStable;solve(e,r){return this.http.get(`${this.baseUrl}/${e.siteKey}/challenge/${e.token}/jwt?solution=${r}`).pipe(h(a=>a.pipe(u((n,o)=>n.status===410||n.status===403?(this.refreshChallenge(e),c(()=>n)):o===2?c(()=>n):l(n).pipe(B(1e3))))))}refreshChallenge(e){e.refreshSubject.next()}getImageChallenge(e,r,a){let n="",o=new w;return this.isStable.pipe(E(i=>O.local?!0:i),s(()=>o.pipe(T(null))),s(()=>this.fetchImageChallenge(e,r,a)),R(i=>i instanceof I?S:m(parseInt(i.headers.get("Challenge-Expiry"),10)-Date.now()).pipe(M(o),s(()=>this.fetchImageChallenge(e,r,a)))),s(i=>i instanceof I?l(i):(URL.revokeObjectURL(n),n=URL.createObjectURL(i.body),l({siteKey:e,image:n,token:i.headers.get("Challenge-Expiry"),refreshSubject:o}))))}fetchImageChallenge(e,r,a){return this.http.get(`${this.baseUrl}/${e}/challenge/image?hexColor=${r}&height=${a}&${Date.now()}=`,{observe:"response",responseType:"blob"}).pipe(k({initialInterval:1e3,maxRetries:3}),$(n=>l(n)))}static \u0275fac=function(r){return new(r||t)};static \u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{z as a,st as b,q as c,J as d};
2/**i18n:9b2f1e34af068233b6abd63a66684d4e9dbff90014448b8ec97e38af3af71f01*/
3//# sourceMappingURL=chunk-JHZ3PVV2.js.map

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.