PageSourceSearch

https://www.kanzelsberger.cz/script/dist/themes/classic/browser/chunk-HZPFCKBA.js

js kanzelsberger.cz collected 2026-10-02 18:41:34 UTC 3,834 bytes, 8 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6d559101-ede9-53f1-883b-0c60dc10b18c")}catch(e){}}();
3import{$b as z,Ca as b,Cc as O,Da as y,H as c,Na as o,Oa as d,Pa as r,Pb as C,Pc as U,Qa as p,Qb as D,Qc as A,Sc as j,V as g,_a as w,ba as f,hc as I,i as m,ja as v,jb as S,ka as h,lb as M,m as l,mc as E,oa as n,pa as u,wa as s,ya as x,za as _}from"./chunk-5D46D7LP.js";function N(i,F){if(i&1&&(d(0,"div",2)(1,"div",3),p(2,"img",4),r(),d(3,"div",5)(4,"div",6),S(5),r(),p(6,"div",7),r()()),i&2){let t=F.$implicit,e=w();n(2),o("src",e.advantagePathPrefix+t.imagePath,h)("alt",t.name),n(3),M(" ",t.name," "),n(),o("innerHTML",t.description||"",v)}}var X=(()=>{class i extends j{constructor(t,e,a,L){super(t,e),this.dataSvc=t,this.seSvc=e,this.http=a,this.sanitizer=L,this.onDataLoaded=new u,this.ngUnsubscribe=new m,this.advantagePathPrefix=this.seSvc.settings.newImageServerUrl+"/shop_advantage/24/24/"}ngOnInit(){this.GetAdvantages()}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete()}GetAdvantages(){this.http.get("api/advantage/get").pipe(f(this.ngUnsubscribe),g(t=>(console.warn("Nepoda\u0159ilo se na\u010D\xEDst v\xFDhody:",t),this.advantages=null,l(null)))).subscribe(t=>{this.onDataLoaded.emit(t&&t.length>0),this.advantages=this.sanitizeData(t)})}sanitizeData(t){return t?.forEach(e=>{e.description&&(e.description=this.sanitizer.bypassSecurityTrustHtml(e.description)),e.urlOut=this.getOutUrl(e.url)}),t}static{this.\u0275fac=function(e){return new(e||i)(s(A),s(O),s(I),s(E))}}static{this.\u0275cmp=x({type:i,selectors:[["cmp-shop-advantages"]],inputs:{classModifier:"classModifier"},outputs:{onDataLoaded:"onDataLoaded"},standalone:!1,features:[b],decls:2,vars:2,consts:[[1,"advantages",3,"ngClass"],["class","advantages__item",4,"ngFor","ngForOf"],[1,"advantages__item"],[1,"advantages__image"],[3,"src","alt"],[1,"advantages__content"],[1,"advantages__title"],[1,"advantages__text",3,"innerHTML"]],template:function(e,a){e&1&&(d(0,"div",0),y(1,N,7,4,"div",1),r()),e&2&&(o("ngClass",a.classModifier?"advantages--"+a.classModifier:""),n(),o("ngForOf",a.advantages))},dependencies:[C,D],styles:[`.advantages{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;margin-top:30px}@media screen and (min-width: 768px){.advantages{grid-template-columns:1fr 1fr 1fr 1fr}}.advantages--index{margin-top:0}.advantages__item{display:flex;align-items:center;flex-direction:column;gap:10px 20px}@media screen and (min-width: 1160px){.advantages__item{flex-direction:row;height:62px}}@media screen and (min-width: 1160px){.advantages__image{z-index:2;position:relative;padding-left:20px}}@media screen and (min-width: 1160px){.advantages__image:before{display:block;position:absolute;left:0;top:50%;margin-top:-31px;width:30px;height:62px;content:"";border:1px solid #c0d9d4;border-right:none;background-color:#fff;border-top-left-radius:10px;border-bottom-left-radius:10px}}.advantages__image img{position:relative;z-index:2}.advantages__content{display:flex;flex-direction:column;font-weight:500;text-align:center}@media screen and (min-width: 1160px){.advantages__content{text-align:left}}.advantages__title{line-height:24px;font-size:18px;color:#2c6d45}.advantages__text{line-height:18px;font-size:13px}
4/*# sourceMappingURL=script/dist/themes/classic/browser/advantages-BHN6COA4.css.map */
5`],encapsulation:2})}}return i})();var at=(()=>{class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=_({type:i})}static{this.\u0275inj=c({imports:[z,U]})}}return i})();export{X as a,at as b};
6//# sourceMappingURL=chunk-HZPFCKBA.js.map
7
8//# debugId=6d559101-ede9-53f1-883b-0c60dc10b18c

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.