PageSourceSearch

https://allod.com/chunk-7KL7IT3Q.js

js allod.com collected 2026-10-02 22:10:51 UTC 8,383 bytes, 1 lines download raw bytes

1import{a as B}from"./chunk-4ZYRSHAV.js";import{a as Q,b as R}from"./chunk-6SQSBLSA.js";import{a as W,b as Z}from"./chunk-57M7JPEL.js";import{b as K}from"./chunk-J32TI6U5.js";import"./chunk-JSABXLUA.js";import{k as j,l as N}from"./chunk-SPKFREUG.js";import"./chunk-2T4ESMYG.js";import{h as H}from"./chunk-KUAJXTJQ.js";import{m as U,n as A}from"./chunk-2YMVBJJG.js";import{ea as V}from"./chunk-HAJRU2TR.js";import{Ab as o,Bb as r,Cb as p,E as v,Gb as F,Ib as $,Jb as s,M as S,N as D,Nc as M,O as T,Oa as E,Oc as O,P,Sa as a,Vb as l,Wb as f,Wc as z,Xb as m,Y as u,cb as L,da as I,ea as k,f as x,ib as h,j as y,p as b,q as _,qb as d,ub as w,y as C}from"./chunk-QCTWED4T.js";import"./chunk-7BXBZ5JU.js";function Y(n,g){if(n&1&&(o(0,"div",20),p(1,"p-progressSpinner",21),o(2,"p",22),l(3),r()()),n&2){let e=s();a(3),f(e.translate("downloads.loading","Lade Downloads..."))}}function q(n,g){if(n&1&&(o(0,"div",34)(1,"div",35),p(2,"i",36),r(),o(3,"div",37)(4,"span",38),l(5),r()()()),n&2){let e=s().$implicit,t=s(2);a(2),w(t.getIcon()+" text-primary"),a(3),f(t.getFileExtension(e))}}function G(n,g){if(n&1&&(o(0,"span",39),p(1,"i",40),l(2),r()),n&2){let e=s().$implicit,t=s(2);a(2),m(" ",t.formatFileSize(e.attachment.size)," ")}}function J(n,g){if(n&1){let e=F();o(0,"div",26)(1,"p-card",27),h(2,q,6,3,"ng-template",28),o(3,"div",29)(4,"h3",30),l(5),r(),o(6,"div",31),h(7,G,3,1,"span",32),r(),o(8,"p-button",33),$("onClick",function(){let i=I(e).$implicit,c=s(2);return k(c.downloadFile(i))}),r()()()()}if(n&2){let e=g.$implicit,t=s(2);a(5),f(e.Titel),a(2),d("ngIf",e.attachment==null?null:e.attachment.size),a(),d("label",t.translate("downloads.button.download","Herunterladen"))}}function X(n,g){if(n&1&&(o(0,"div",23)(1,"div",24),h(2,J,9,3,"div",25),r()()),n&2){let e=s();a(2),d("ngForOf",e.downloads)}}function ee(n,g){if(n&1&&(o(0,"div",20),p(1,"i",41),o(2,"h3",42),l(3),r(),o(4,"p",43),l(5),r()()),n&2){let e=s();a(3),f(e.translate("downloads.empty.title","Keine Downloads verf\xFCgbar")),a(2),m(" ",e.translate("downloads.empty.description","Aktuell sind keine Downloads in dieser Kategorie verf\xFCgbar.")," ")}}var xe=(()=>{class n{constructor(){this.destroy$=new x,this.i18nService=u(H),this.languageService=u(A),this.seoService=u(B),this.strapiService=u(U),this.route=u(K),this.downloadType="brochure",this.downloads=[],this.currentLocale="de",this.isLoading=!0}ngOnInit(){this.currentLocale=this.languageService.getCurrentLocale();let e=this.route.data.pipe(b(i=>i.downloadType||"brochure"),v()),t=this.languageService.getCurrentLocale$().pipe(S(this.currentLocale),v());_([e,t]).pipe(T(this.destroy$),P(([i,c])=>{this.downloadType=i,this.currentLocale=c,this.isLoading=!0,this.setSeoData()}),D(([i,c])=>this.strapiService.getDownloadItems(i,c).pipe(C(()=>y([]))))).subscribe(i=>{this.downloads=i,this.isLoading=!1})}setSeoData(){let e=`downloads.${this.downloadType}.page.title`,t=`downloads.${this.downloadType}.page.description`,i=this.translate(e,this.getDefaultTitle()),c=this.translate(t,this.getDefaultDescription());this.seoService.setTitle(i),this.seoService.setDescription(c),this.seoService.setKeywords(`ALLOD, Downloads, ${this.getDefaultTitle()}, TPE, Thermoplastische Elastomere, PDF`)}getDefaultTitle(){switch(this.downloadType){case"brochure":return this.translate("downloads.brochures.page.title","Brosch\xFCren");case"seminar-program":return this.translate("downloads.seminars.page.title","Seminarprogramme");case"certificate":return this.translate("downloads.certificates.page.title","Zertifikate");default:return this.translate("downloads.page.title","Downloads")}}getDefaultDescription(){switch(this.downloadType){case"brochure":return this.translate("downloads.brochures.page.subtitle","Laden Sie unsere Unternehmensbrosch\xFCren herunter");case"seminar-program":return this.translate("downloads.seminars.page.subtitle","Aktuelle Seminarprogramme und Veranstaltungen");case"certificate":return this.translate("downloads.certificates.page.subtitle","Unsere Zertifizierungen und Qualit\xE4tsnachweise");default:return this.translate("downloads.page.subtitle","Downloads")}}getPageTitle(){return this.getDefaultTitle()}getPageSubtitle(){return this.getDefaultDescription()}getIcon(){switch(this.downloadType){case"brochure":return"pi pi-file-pdf";case"seminar-program":return"pi pi-calendar";case"certificate":return"pi pi-verified";default:return"pi pi-download"}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}translate(e,t){return this.i18nService.translate(e,t||e)}downloadFile(e){if(!e.attachment?.url)return;let t=document.createElement("a");t.href=e.attachment.url,t.download=e.attachment.name||`${e.Titel}.pdf`,t.target="_blank",document.body.appendChild(t),t.click(),document.body.removeChild(t)}getContactLink(){let e=this.currentLocale;return e==="en"?"/en/contact":e==="es"?"/es/contacto":e==="zh"?"/zh/lianxi":e==="it"?"/it/contatto":"/kontakt"}formatFileSize(e){if(!e)return"";let t=e/1024;return t>=1?`${t.toFixed(1)} MB`:`${e.toFixed(0)} KB`}getFileExtension(e){return e.attachment?.ext?e.attachment.ext.replace(".","").toUpperCase():"PDF"}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=L({type:n,selectors:[["app-download-category-page"]],decls:26,vars:11,consts:[[1,"position-relative","bg-light",2,"padding-top","0.5rem"],[1,"container","py-5"],[1,"row"],[1,"col-12","text-center"],[1,"display-4","fw-bold","mb-3","text-dark"],[1,"fs-5","text-secondary","mb-4"],[1,"bg-white","px-4","py-5"],[1,"container","py-3"],["class","text-center py-5",4,"ngIf"],["class","mb-5",4,"ngIf"],[1,"row","mt-5"],[1,"col-12"],[1,"rounded-4","p-4","p-md-5","bg-light"],[1,"row","align-items-center"],[1,"col-12","col-md-8"],[1,"h4","fw-semibold","text-dark","mb-2"],[1,"text-secondary","mb-0"],[1,"col-12","col-md-4","text-center","text-md-end","mt-3","mt-md-0"],[3,"href"],["icon","pi pi-envelope","severity","primary","size","large",3,"label"],[1,"text-center","py-5"],["strokeWidth","4","animationDuration",".5s"],[1,"mt-3","text-secondary"],[1,"mb-5"],[1,"row","g-4"],["class","col-12 col-md-6 col-lg-3",4,"ngFor","ngForOf"],[1,"col-12","col-md-6","col-lg-3"],[1,"h-100","download-card"],["pTemplate","header"],[1,"d-flex","flex-column","h-100"],[1,"h5","fw-semibold","mb-2","text-dark"],[1,"d-flex","justify-content-between","align-items-center","mb-3","mt-auto"],["class","text-muted small",4,"ngIf"],["icon","pi pi-download","styleClass","w-100","severity","primary",3,"onClick","label"],[1,"p-4","text-center","bg-light"],[1,"mb-3"],[2,"font-size","3rem"],[1,"language-badge"],[1,"badge","bg-primary","fs-6","px-3","py-2"],[1,"text-muted","small"],[1,"pi","pi-file","me-2"],[1,"pi","pi-inbox","text-secondary",2,"font-size","4rem"],[1,"h4","mt-4","text-dark"],[1,"text-secondary"]],template:function(t,i){t&1&&(o(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),p(5,"i"),l(6),r(),o(7,"p",5),l(8),r()()()()(),o(9,"div",6)(10,"div",7),h(11,Y,4,1,"div",8)(12,X,3,1,"div",9)(13,ee,6,2,"div",8),o(14,"div",10)(15,"div",11)(16,"div",12)(17,"div",13)(18,"div",14)(19,"h3",15),l(20),r(),o(21,"p",16),l(22),r()(),o(23,"div",17)(24,"a",18),p(25,"p-button",19),r()()()()()()()()),t&2&&(a(5),w(i.getIcon()+" me-3"),a(),m(" ",i.getPageTitle()," "),a(2),m(" ",i.getPageSubtitle()," "),a(3),d("ngIf",i.isLoading),a(),d("ngIf",!i.isLoading&&i.downloads.length>0),a(),d("ngIf",!i.isLoading&&i.downloads.length===0),a(7),m(" ",i.translate("downloads.info.title","Ben\xF6tigen Sie weitere Informationen?")," "),a(2),m(" ",i.translate("downloads.info.description","Kontaktieren Sie uns f\xFCr ma\xDFgeschneiderte Informationen oder spezifische Datenbl\xE4tter.")," "),a(2),d("href",i.getContactLink(),E),a(),d("label",i.translate("downloads.button.contact","Kontakt aufnehmen")))},dependencies:[z,M,O,Z,W,V,N,j,R,Q],styles:[".download-card[_ngcontent-%COMP%]{transition:transform .2s ease-in-out,box-shadow .2s ease-in-out;height:100%}.download-card[_ngcontent-%COMP%]:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001f}
1.download-card[_ngcontent-%COMP%]     .p-card-body{display:flex;flex-direction:column;height:100%}.download-card[_ngcontent-%COMP%]     .p-card-content{flex:1;display:flex;flex-direction:column}.language-badge[_ngcontent-%COMP%]{display:inline-block}@media (max-width: 768px){.download-card[_ngcontent-%COMP%]{margin-bottom:1rem}}"]})}}return n})();export{xe as DownloadCategoryPageComponent};

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.