PageSourceSearch

https://lokaleauskunft.de/main-73MSU4TO.js

js lokaleauskunft.de collected 2026-10-04 02:20:57 UTC 17,945 bytes, 1 lines download raw bytes

1import{A as J,B as D,E as je,H as Ee,M as oe,i as De,j as N,k as M,l as ae,m as d,n as Pe,o as we,p as _,q as Fe,s as Re,t as h,u as xe,v as U,w as Ae,x as k,y as u,z as l}from"./chunk-Z3OAM2BL.js";import{$ as a,A as de,Ab as Se,C as he,D as me,F as E,N as I,Q as O,S,W as s,Z as B,a as y,bb as Le,gc as ke,ha as ve,i as $,ia as q,l as pe,mb as ye,n as p,oa as be,p as T,ra as Ce,s as A,ta as G,v as re,w as ie,x as j,yb as Te,zb as Ie}from"./chunk-QCMIVQTY.js";var K=class{},Be=(()=>{class t{handle(e){return e.key}static \u0275fac=function(n){return new(n||t)};static \u0275prov=s({token:t,factory:t.\u0275fac})}return t})(),w=class{},qe=(()=>{class t extends w{compile(e,n){return e}compileTranslations(e,n){return e}static \u0275fac=(()=>{let e;return function(i){return(e||(e=G(t)))(i||t)}})();static \u0275prov=s({token:t,factory:t.\u0275fac})}return t})(),m=class{},Ge=(()=>{class t extends m{getTranslation(e){return p({})}static \u0275fac=(()=>{let e;return function(i){return(e||(e=G(t)))(i||t)}})();static \u0275prov=s({token:t,factory:t.\u0275fac})}return t})();function b(t){return typeof t<"u"&&t!==null}function Oe(t){return t!==void 0}function P(t){return V(t)&&!C(t)&&t!==null}function V(t){return typeof t=="object"&&t!==null}function C(t){return Array.isArray(t)}function se(t){return typeof t=="string"}function _e(t){return typeof t=="function"}function z(t){if(C(t))return t.map(r=>z(r));if(P(t)){let r={};return Object.keys(t).forEach(e=>{r[e]=z(t[e])}),r}else return t}function ue(t,r){if(!V(t))return z(r);let e=z(t);return V(e)&&V(r)&&Object.keys(r).forEach(n=>{P(r[n])?n in t?e[n]=ue(t[n],r[n]):Object.assign(e,{[n]:r[n]}):Object.assign(e,{[n]:r[n]})}),e}function Ne(t,r){let e=r.split(".");r="";do{r+=e.shift();let n=!e.length;if(b(t)){if(P(t)&&Oe(t[r])&&(P(t[r])||C(t[r])||n)){t=t[r],r="";continue}if(C(t)){let i=parseInt(r,10);if(Oe(t[i])&&(P(t[i])||C(t[i])||n)){t=t[i],r="";continue}}}if(n){t=void 0;continue}r+="."}while(e.length);return t}function Je(t,r,e){return ue(t,ze(r,e))}function ze(t,r){return t.split(".").reduceRight((e,n)=>({[n]:e}),r)}var F=class{},Ye=(()=>{class t extends F{templateMatcher=/{{\s?([^{}\s]*)\s?}}/g;interpolate(e,n){if(se(e))return this.interpolateString(e,n);if(_e(e))return this.interpolateFunction(e,n)}interpolateFunction(e,n){return e(n)}interpolateString(e,n){return n?e.replace(this.templateMatcher,(i,o)=>{let c=this.getInterpolationReplacement(n,o);return c!==void 0?c:i}):e}getInterpolationReplacement(e,n){return this.formatValue(Ne(e,n))}formatValue(e){if(se(e))return e;if(typeof e=="number"||typeof e=="boolean")return e.toString();if(e===null)return"null";if(C(e))return e.join(", ");if(V(e))return typeof e.toString=="function"&&e.toString!==Object.prototype.toString?e.toString():JSON.stringify(e)}static \u0275fac=(()=>{let e;return function(i){return(e||(e=G(t)))(i||t)}})();static \u0275prov=s({token:t,factory:t.\u0275fac})}return t})(),le=(()=>{class t{_onTranslationChange=new $;_onLangChange=new $;_onFallbackLangChange=new $;fallbackLang=null;currentLang;translations={};languages=[];getTranslations(e){return this.translations[e]}setTranslations(e,n,i){this.translations[e]=i&&this.hasTranslationFor(e)?ue(this.translations[e],n):n,this.addLanguages([e]),this._onTranslationChange.next({lang:e,translations:this.getTranslations(e)})}getLanguages(){return this.languages}getCurrentLang(){return this.currentLang}getFallbackLang(){return this.fallbackLang}setFallbackLang(e,n=!0){this.fallbackLang=e,n&&this._onFallbackLangChange.next({lang:e,translations:this.translations[e]})}setCurrentLang(e,n=!0){this.currentLang=e,n&&this._onLangChange.next({lang:e,translations:this.translations[e]})}get onTranslationChange(){return this._onTranslationChange.asObservable()}get onLangChange(){return this._onLangChange.asObservable()}get onFallbackLangChange(){return this._onFallbackLangChange.asObservable()}addLanguages(e){this.languages=Array.from(new Set([...this.languages,...e]))}hasTranslationFor(e){return typeof this.translations[e]<"u"}deleteTranslations(e){delete this.translations[e]}getTranslation(e){let n=this.getValue(this.currentLang,e);return n===void 0&&this.fallbackLang!=null&&this.fallbackLang!==this.currentLang&&(n=this.getValue(this.fallbackLang,e)),n}getValue(e,n){return Ne(this.getTranslations(e),n)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=s({token:t,factory:t.\u0275fac})}return t})(),ce=new B("TRANSLATE_CONFIG"),H=t=>T(t)?t:p(t);var Y=(()=>{class t{loadingTranslations;pending=!1;_translationRequests={};lastUseLanguage=null;currentLoader=a(m);compiler=a(w);parser=a(F);missingTranslationHandler=a(K);store=a(le);extend=!1;get onTranslationChange(){return this.store.onTranslationChange}get onLangChange(){return this.store.onLangChange}get onFallbackLangChange(){return this.store.onFallbackLangChange}get onDefaultLangChange(){return this.store.onFallbackLangChange}constructor(){let e=y({extend:!1,fallbackLang:null},a(ce,{optional:!0}));e.lang&&this.use(e.lang),e.fallbackLang&&this.setFallbackLang(e.fallbackLang),e.extend&&(this.extend=!0)}setFallbackLang(e){this.getFallbackLang()||this.store.setFallbackLang(e,!1);let n=this.loadOrExtendLanguage(e);return T(n)?(n.pipe(E(1)).subscribe({next:()=>{this.store.setFallbackLang(e)},error:()=>{}}),n):(this.store.setFallbackLang(e),p(this.store.getTranslations(e)))}use(e){this.lastUseLanguage=e,this.getCurrentLang()||this.store.setCurrentLang(e,!1);let n=this.loadOrExtendLanguage(e);return T(n)?(n.pipe(E(1)).subscribe({next:()=>{this.changeLang(e)},error:()=>{}}),n):(this.changeLang(e),p(this.store.getTranslations(e)))}loadOrExtendLanguage(e){if(!this.store.hasTranslationFor(e)||this.extend)return this._translationRequests[e]=this._translationRequests[e]||this.loadAndCompileTranslations(e),this._translationRequests[e]}changeLang(e){e===this.lastUseLanguage&&this.store.setCurrentLang(e)}getCurrentLang(){return this.store.getCurrentLang()}loadAndCompileTranslations(e){this.pending=!0;let n=this.currentLoader.getTranslation(e).pipe(I(1),E(1));return this.loadingTranslations=n.pipe(A(i=>this.compiler.compileTranslations(i,e)),I(1),E(1)),this.loadingTranslations.subscribe({next:i=>{this.store.setTranslations(e,i,this.extend),this.pending=!1},error:i=>{this.pending=!1}}),n}setTranslation(e,n,i=!1){let o=this.compiler.compileTranslations(n,e);this.store.setTranslations(e,o,i||this.extend)}getLangs(){return this.store.getLanguages()}addLangs(e){this.store.addLanguages(e)}getParsedResultForKey(e,n){let i=this.getTextToInterpolate(e);if(b(i))return this.runInterpolation(i,n);let o=this.missingTranslationHandler.handle(y({key:e,translateService:this},n!==void 0&&{interpolateParams:n}));return o!==void 0?o:e}getFallbackLang(){return this.store.getFallbackLang()}getTextToInterpolate(e){return this.store.getTranslation(e)}runInterpolation(e,n){if(b(e))return C(e)?this.runInterpolationOnArray(e,n):P(e)?this.runInterpolationOnDict(e,n):this.parser.interpolate(e,n)}runInterpolationOnArray(e,n){return e.map(i=>this.runInterpolation(i,n))}runInterpolationOnDict(e,n){let i={};for(let o in e){let c=this.runInterpolation(e[o],n);c!==void 0&&(i[o]=c)}return i}getParsedResult(e,n){return e instanceof Array?this.getParsedResultForArray(e,n):this.getParsedResultForKey(e,n)}getParsedResultForArray(e,n){let i={},o=!1;for(let g of e)i[g]=this.getParsedResultForKey(g,n),o=o||T(i[g]);if(!o)return i;let c=e.map(g=>H(i[g]));return j(c).pipe(A(g=>{let x={};return g.forEach((L,ne)=>{x[e[ne]]=L}),x}))}get(e,n){if(!b(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return this.pending?this.loadingTranslations.pipe(me(()=>H(this.getParsedResult(e,n)))):H(this.getParsedResult(e,n))}getStreamOnTranslationChange(e,n){if(!b(e)||!e.length)throw new Error('Parameter "key" is required and cannot be empty');return re(ie(()=>this.get(e,n)),this.onTranslationChange.pipe(O(()=>{let i=this.getParsedResult(e,n);return H(i)})))}stream(e,n){if(!b(e)||!e.length)throw new Error('Parameter "key" required');return re(ie(()=>this.get(e,n)),this.onLangChange.pipe(O(()=>{let i=this.getParsedResult(e,n);return H(i)})))}instant(e,n){if(!b(e)||e.length===0)throw new Error('Parameter "key" is required and cannot be empty');let i=this.getParsedResult(e,n);return T(i)?Array.isArray(e)?e.reduce((o,c)=>(o[c]=c,o),{}):e:i}set(e,n,i=this.getCurrentLang()){this.store.setTranslations(i,Je(this.store.getTranslations(i),e,se(n)?this.compiler.compile(n,i):this.compiler.compileTranslations(n,i)),!1)}reloadLang(e){return this.resetLang(e),this.loadAndCompileTranslations(e)}
1resetLang(e){delete this._translationRequests[e],this.store.deleteTranslations(e)}static getBrowserLang(){if(typeof window>"u"||!window.navigator)return;let e=this.getBrowserCultureLang();return e?e.split(/[-_]/)[0]:void 0}static getBrowserCultureLang(){if(!(typeof window>"u"||typeof window.navigator>"u"))return window.navigator.languages?window.navigator.languages[0]:window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}getBrowserLang(){return t.getBrowserLang()}getBrowserCultureLang(){return t.getBrowserCultureLang()}get defaultLang(){return this.getFallbackLang()}get currentLang(){return this.store.getCurrentLang()}get langs(){return this.store.getLanguages()}setDefaultLang(e){return this.setFallbackLang(e)}getDefaultLang(){return this.getFallbackLang()}static \u0275fac=function(n){return new(n||t)};static \u0275prov=s({token:t,factory:t.\u0275fac})}return t})();function We(t){return{provide:m,useClass:t}}function Ze(t){return{provide:w,useClass:t}}function Qe(t){return{provide:F,useClass:t}}function Xe(t){return{provide:K,useClass:t}}function Me(t={}){return et(y({compiler:Ze(qe),parser:Qe(Ye),loader:We(Ge),missingTranslationHandler:Xe(Be)},t),!0)}function et(t={},r){let e=[];t.loader&&e.push(t.loader),t.compiler&&e.push(t.compiler),t.parser&&e.push(t.parser),t.missingTranslationHandler&&e.push(t.missingTranslationHandler),r&&e.push(le),(t.useDefaultLang||t.defaultLanguage)&&(console.warn("The `useDefaultLang` and `defaultLanguage` options are deprecated. Please use `fallbackLang` instead."),t.useDefaultLang===!0&&t.defaultLanguage&&(t.fallbackLang=t.defaultLanguage));let n={fallbackLang:t.fallbackLang??null,lang:t.lang,extend:t.extend??!1};return e.push({provide:ce,useValue:n}),e.push({provide:Y,useClass:Y,deps:[le,m,w,F,K,ce]}),e}var ge=new B("TRANSLATE_HTTP_LOADER_CONFIG"),tt=(()=>{class t{http;config;constructor(){this.config=y({prefix:"/assets/i18n/",suffix:".json",enforceLoading:!1,useHttpBackend:!1},a(ge)),this.http=this.config.useHttpBackend?new d(a(ae)):a(d)}getTranslation(e){let n=this.config.enforceLoading?`?enforceLoading=${Date.now()}`:"";return this.http.get(`${this.config.prefix}${e}${this.config.suffix}${n}`)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=s({token:t,factory:t.\u0275fac})}return t})();function Ue(t={}){let r=t.useHttpBackend??!1;return[{provide:ge,useValue:t},{provide:m,useClass:tt,deps:[r?ae:d,ge]}]}var v=class t{constructor(){this.http=a(d);this.configStore=a(u);this.translateService=a(Y);this.requests={}}loadPortalID(){let r=new N({"x-api-key":l.configApiKey});return this.http.get(this.getPortalIDUrl(),{headers:r,responseType:"text"}).pipe(S(e=>{l.portalID=e}),he(e=>p("")))}loadInitialPageConfig(){let r=l.portalID,e=this.translateService.getCurrentLang()||U.GERMAN,n=new M().set("portalid",r).set("lang",e),i=this.getInitialPageConfigUrl();return this.getConfigData(n,i).pipe(S(o=>{this.configStore.setPageConfig(o),this.configStore.setInitialPageId(o.pageid)}),I(1))}loadPageConfig(r){let e=this.configStore.getPageConfig(r);if(e)return p(e);if(this.requests[r])return this.requests[r];let i=this.startPageConfigRequest(r);return this.requests[r]=i,i}startPageConfigRequest(r){let e=this.translateService.getCurrentLang()||U.GERMAN,n=new M().set("portalid",l.portalID).set("pageid",r).set("lang",e),i=this.getPageConfigUrl();return this.getConfigData(n,i).pipe(S(o=>{this.configStore.setPageConfig(o)}),I(1))}getConfigData(r,e){let n=new N({"x-api-key":l.configApiKey});return this.http.get(e,{params:r,headers:n})}getPageConfigUrl(){return`${l.configUrl}/page`}getInitialPageConfigUrl(){return`${l.configUrl}/initpage`}getPortalIDUrl(){return`${l.configUrl}/portalid`}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"})}};var W=class t{constructor(){this.http=a(d);this.logger=a(J)}loadDesignTokens(){let r=new M().set("portalid",l.portalID),e=new N({"x-api-key":l.configApiKey});return this.http.get(this.getDesignTokenUrl(),{params:r,headers:e}).pipe(A(n=>n?.designtoken?n.designtoken:(this.logger.warn("Empty design-tokens"),[])))}getDesignTokenUrl(){return`${l.configUrl}/designtoken`}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"})}};var Z=class t{constructor(){this.lastAttemptedUrl=null;let r=a(h),e=a(J);r.events.pipe(D()).subscribe(n=>{n instanceof _?this.lastAttemptedUrl=n.url:n instanceof Fe&&r.routerState.snapshot.root.firstChild?.routeConfig?.path==="startpage"&&this.lastAttemptedUrl!=="/startpage"&&e.warn(`[Router] tried to navigate to nonexistent ${this.lastAttemptedUrl} route, redirected by wildcard `)})}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"})}};var R=class t{constructor(){this.pageLoader=a(v);this.configStore=a(u)}resolve(r){let e=r.url[0].path;return this.pageLoader.loadPageConfig(e)}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"})}};var fe=()=>a(je).initYMAuth();var He=[{path:"detailpage/:ebidnumber",resolve:{config:R},loadComponent:()=>import("./chunk-UXQFKNBB.js").then(t=>t.DetailPageComponent)},{path:"startpage",resolve:{config:R,ymToken:fe},loadComponent:()=>import("./chunk-6Z2XBSVC.js").then(t=>t.StartPageComponent)},{path:"searchpage",resolve:{config:R,ymToken:fe},loadComponent:()=>import("./chunk-4UJE7OAS.js").then(t=>t.SearchPageComponent)},{path:"error",loadComponent:()=>import("./chunk-PTA7FWZH.js").then(t=>t.ErrorPageComponent)},{path:"**",redirectTo:"startpage"}];var nt=ye(()=>{a(Z);let t=a(h),r=a(u),e=a(v),n=a(W);return e.loadPortalID().pipe(O(i=>{if(!i)return t.navigate(["/error"]),j([]);let o=k.extractPageIdFromUrl(),c=sessionStorage.getItem("configData"),g=sessionStorage.getItem("designTokens"),x=at(g),L=[];return c&&rt(c,r),o||L.push(e.loadInitialPageConfig()),x?Ve(x):L.push(n.loadDesignTokens().pipe(S(ne=>{it(ne)}))),L.length===0?pe:j(L)}))});function rt(t,r){let{value:e,expiresAt:n}=JSON.parse(t);Date.now()>n?sessionStorage.removeItem("configData"):r.setPageConfigInBulk(e)}function it(t){Ve(t),ot(t)}
1function at(t){if(!t)return null;let r=JSON.parse(t);return r&&Date.now()>r.expiresAt?(sessionStorage.removeItem("designTokens"),null):r?.value??null}function ot(t){sessionStorage.setItem("designTokens",JSON.stringify({value:t,expiresAt:Date.now()+Ae}))}function Ve(t){let r=document.documentElement;t.forEach(({name:e,value:n})=>{r.style.setProperty(`--${e}`,n)})}var Ke={providers:[be(),ke(),xe(He),Me({loader:Ue({prefix:"./i18n/"}),lang:U.GERMAN}),nt]};var $e=["startpage","detailpage","searchpage"];var Q=class t{constructor(){this.sanitizer=a(we);this.iconRegistry=a(Ee)}setupCustomIcons(){oe.names.forEach(r=>{this.iconRegistry.addSvgIcon(r,this.sanitizer.bypassSecurityTrustResourceUrl(`${oe.basePath}${r}.svg`))})}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"})}};var X=class t{constructor(){this.configStore=a(u);this.title=a(Pe);this.document=a(ve);Ce(()=>{let r=this.configStore.getTitleSignal();this.setTitle(r)})}setFavicon(){let r=k.extractPageIdFromUrl()||this.configStore.getInitialPageId(),e=`${l.configUrl}/image/favicon_16-32-48?portalid=${l.portalID}&pageid=${r}`,n=document.getElementById("favicon-holder");n&&(n.href=e);let i=`${l.configUrl}/image/favicon_fallback?portalid=${l.portalID}&pageid=${r}`,o=document.getElementById("favicon-backup");o&&(o.href=i)}setTitle(r){r&&this.title.setTitle(r)}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"})}};var ee=class t{constructor(){this.router=a(h);this.destroyRef=a(q)}init(){this.router.events.pipe(de(r=>r instanceof _),D(this.destroyRef)).subscribe(r=>{if(r.navigationTrigger!=="popstate")return;let e=this.router.parseUrl(r.url);delete e.queryParams.mapmoveend,this.router.navigateByUrl(e,{replaceUrl:!0})})}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275prov=s({token:t,factory:t.\u0275fac,providedIn:"root"})}};var te=class t{constructor(){this.configStore=a(u);this.cls=a(v);this.router=a(h);this.tabService=a(X);this.queryParamNavigationCleaner=a(ee);this.customIconService=a(Q);this.destroyRef=a(q)}ngOnInit(){if(l.portalID){if(!k.extractPageIdFromUrl()){let n=this.configStore.getInitialPageId();this.navigateToPage(n)}this.preloadFurtherPages(),this.tabService.setFavicon()}this.customIconService.setupCustomIcons(),this.queryParamNavigationCleaner.init()}preloadFurtherPages(){$e.forEach(r=>{this.configStore.getPageConfig(r)||this.cls.loadPageConfig(r).pipe(D(this.destroyRef)).subscribe()})}navigateToPage(r){this.router.navigateByUrl("/"+r)}static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=Le({type:t,selectors:[["app-root"]],decls:2,vars:0,consts:[[1,"app-wrapper"]],template:function(e,n){e&1&&(Te(0,"div",0),Se(1,"router-outlet"),Ie())},dependencies:[Re],styles:["[_nghost-%COMP%]   .app-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh;background:radial-gradient(circle,var(--background-color-gradient-circle-center) 0%,var(--background-color-gradient-circle-outer) 50%)}"]})}};De(te,Ke).catch(t=>console.error(t));

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.