PageSourceSearch

https://www.energytcm.cz/1878.297ad32629e9748a.js

js energytcm.cz collected 2026-10-07 20:05:37 UTC 30,411 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkenergy_tcm=self.webpackChunkenergy_tcm||[]).push([[1878],{77617:(O,p,e)=>{e.d(p,{I:()=>A});var u,l=e(76965),c=e(45286),_=e(7605),o=e(1173),v=function(u){return u[u.Add=0]="Add",u[u.Save=1]="Save",u[u.Reset=2]="Reset",u}(v||{});(u=v||(v={})).keys=function b(){return Object.keys(u).map(h=>{const t=parseInt(h,10);if(t>=0)return{key:t,value:u[t]}}).filter(h=>!!h)};var a=e(44029),s=e(54438),r=e(65382),T=e(63649),F=e(26588),L=e(60177);let m=(()=>{class u{transform(h,t){return t[h]}static#t=this.\u0275fac=function(t){return new(t||u)};static#e=this.\u0275pipe=s.EJ8({name:"enumToString",type:u,pure:!0})}return u})();function D(u,b){if(1&u){const h=s.RV6();s.j41(0,"button",5),s.bIt("click",function(){s.eBV(h);const k=s.XpG().$implicit,j=s.XpG(3);return s.Njj(j.dispatchMode(k))}),s.j41(1,"mcrai-icon"),s.EFF(2),s.nI1(3,"enumToString"),s.nI1(4,"lowercase"),s.k0s()()}if(2&u){const h=s.XpG().$implicit,t=s.XpG(3);s.AVh("toolbar__button--active",t.toolbarService.isModeActive(h)),s.R7$(2),s.JRh(s.bMT(4,6,s.i5U(3,3,h,t.TOOLBAR_MODES)))}}function x(u,b){if(1&u&&s.DNE(0,D,5,8,"button",4),2&u){const h=b.$implicit,t=s.XpG(3);s.vxM(0,t.showToolbar()||t.toolbarService.isModeActive(h)?0:-1)}}function C(u,b){if(1&u&&(s.j41(0,"div",2),s.Z7z(1,x,1,1,null,null,s.fX1),s.k0s()),2&u){const h=s.XpG(2);s.R7$(),s.Dyx(h.modes)}}function M(u,b){if(1&u){const h=s.RV6();s.j41(0,"button",7),s.bIt("click",function(){const k=s.eBV(h).$implicit,j=s.XpG(3);return s.Njj(j.dispatchAction(k))}),s.EFF(1),s.nI1(2,"enumToString"),s.nI1(3,"lowercase"),s.k0s()}if(2&u){const h=b.$implicit,t=s.XpG(3);s.R7$(),s.SpI(" ",s.bMT(3,4,s.i5U(2,1,h,t.TOOLBAR_ACTIONS))," ")}}function g(u,b){if(1&u&&(s.j41(0,"div",3),s.Z7z(1,M,4,6,"button",6,s.fX1),s.k0s()),2&u){const h=s.XpG(2);s.R7$(),s.Dyx(h.actions)}}function y(u,b){if(1&u){const h=s.RV6();s.j41(0,"div",0)(1,"button",1),s.bIt("click",function(){s.eBV(h);const k=s.XpG();return s.Njj(k.toggle())}),s.j41(2,"mcrai-icon"),s.EFF(3,"toggle_toolbar_y"),s.k0s()(),s.DNE(4,C,3,0,"div",2)(5,g,3,0,"div",3),s.k0s()}if(2&u){const h=s.XpG();s.R7$(4),s.vxM(4,h.showModes()?4:-1),s.R7$(),s.vxM(5,h.showActions()?5:-1)}}let A=(()=>{class u{get modes(){return this._activeModes}get actions(){return this._activeActions}get activeMode(){return this._activeMode}constructor(h,t){this._store=h,this.toolbarService=t,this._destroy=new c.B7,this.TOOLBAR_MODES=o.H,this.TOOLBAR_ACTIONS=v}ngOnInit(){this._store.pipe((0,l.Lt)(h=>h.aegisxToolbar.activeMode),(0,_.Q)(this._destroy)).subscribe(h=>this._activeMode=h),this._store.pipe((0,l.Lt)(h=>h.aegisxToolbar.modes),(0,_.Q)(this._destroy)).subscribe(h=>this._activeModes=h),this._store.pipe((0,l.Lt)(h=>h.aegisxToolbar.actions),(0,_.Q)(this._destroy)).subscribe(h=>this._activeActions=h)}ngOnDestroy(){this._destroy.next(),this._destroy.complete()}toggle(){this._toggle=!this._toggle}dispatchMode(h){this._store.dispatch(new a.wX({mode:h}))}dispatchAction(h){this._store.dispatch(new a.P7({action:h}))}showModes(){return this._activeModes.length>0}showActions(){return this._activeActions.length>0}showToolbar(){return this._toggle}static#t=this.\u0275fac=function(t){return new(t||u)(s.rXU(l.il),s.rXU(r.h))};static#e=this.\u0275cmp=s.VBU({type:u,selectors:[["aegisx-toolbar"]],decls:1,vars:1,consts:[[1,"toolbar"],["mcrai-button","",1,"toolbar__button","toolbar__button--toggle",3,"click"],[1,"toolbar__modes"],[1,"toolbar__actions"],["mcrai-button","",1,"toolbar__button","toolbar__button--mode",3,"toolbar__button--active"],["mcrai-button","",1,"toolbar__button","toolbar__button--mode",3,"click"],["mcrai-button","",1,"toolbar__button","toolbar__button--action"],["mcrai-button","",1,"toolbar__button","toolbar__button--action",3,"click"]],template:function(t,k){1&t&&s.DNE(0,y,6,2,"div",0),2&t&&s.vxM(0,k.showModes()||k.showActions()?0:-1)},dependencies:[T.Q,F.R,L.GH,m],styles:[".toolbar[_ngcontent-%COMP%]{position:fixed;bottom:20px;left:0;display:flex;z-index:1001;background-color:#21344f!important;height:64px;overflow:hidden}.toolbar__button[_ngcontent-%COMP%]{width:64px;height:64px;margin:0;color:#fff!important}.toolbar__button[_ngcontent-%COMP%]:hover, .toolbar__button--toggle[_ngcontent-%COMP%], .toolbar__button--active[_ngcontent-%COMP%]{background-color:#001435!important}.toolbar__button--toggle[_ngcontent-%COMP%]{min-width:32px;width:32px}"]})}return u})()},58693:(O,p,e)=>{e.d(p,{p:()=>v});var l=e(60177),c=e(59512),_=e(634),o=e(54438);let v=(()=>{class a{static#t=this.\u0275fac=function(T){return new(T||a)};static#e=this.\u0275mod=o.$C({type:a});static#s=this.\u0275inj=o.G2t({providers:[c.u],imports:[l.MD,_.r]})}return a})()},78296:(O,p,e)=>{e.d(p,{E:()=>a});var l=e(54438),c=e(59512),_=e(41635),o=e(76965),v=e(29262);let a=(()=>{class s{constructor(T,F,L,m,D){this.dataService=T,this.actions=F,this.store=L,this.toastService=m,this.loaderService=D}static#t=this.\u0275fac=function(F){return new(F||s)(l.KVO(c.u),l.KVO(_.En),l.KVO(o.il),l.KVO(v.FS),l.KVO(v.wA))};static#e=this.\u0275prov=l.jDH({token:s,factory:s.\u0275fac})}return s})()},59512:(O,p,e)=>{e.d(p,{u:()=>_});var l=e(12906),c=e(54438);let _=(()=>{class o extends l.d{constructor(){super(...arguments),this.DOMAINS_ROOT="domains"}getDomain(a){const s=this.buildUrl([this.DOMAINS_ROOT,a]);return this.get(s)}getDomains(a){const s={};a&&(s.exclude_ids=a);const r=this.buildUrl(this.DOMAINS_ROOT,s);return this.get(r)}createDomain(a){const s=this.buildUrl(this.DOMAINS_ROOT);return this.post(s,a)}patchDomain(a,s){const r=this.buildUrl([this.DOMAINS_ROOT,a]);return this.patch(r,s)}deleteDomains(a){const s={domain_ids:this.extractIds(a)},r=this.buildUrl(this.DOMAINS_ROOT,s);return this.del(r)}static#t=this.\u0275fac=(()=>{let a;return function(r){return(a||(a=c.xGo(o)))(r||o)}})();static#e=this.\u0275prov=c.jDH({token:o,factory:o.\u0275fac})}return o}
1)()},65631:(O,p,e)=>{e.d(p,{Eh:()=>_,VB:()=>o,Xx:()=>c,f3:()=>l});const l="[Domains] GET domains",c="[Domains] GET domains success";class _{constructor(a){this.payload=a,this.type=l}}class o{constructor(a){this.payload=a,this.type=c}}},26556:(O,p,e)=>{e.d(p,{K:()=>g});var l=e(60177),c=e(76965),_=e(41635),o=e(24421),v=e(14421),a=e(15539),s=e(49090),r=e(95006),T=e(83921),F=e(65631),L=e(78296),m=e(76613),D=e(54438);let x=(()=>{class y extends L.E{constructor(){super(...arguments),this.getDomains=(0,_.EH)(()=>this.actions.pipe((0,_.gp)(F.f3),(0,a.M)(()=>this.loaderService.show()),(0,s.n)(u=>this.dataService.getDomains(u.payload.exclude_ids).pipe((0,r.T)(b=>new F.VB({id:u.payload.id,domains:b})),(0,T.W)(b=>(0,v.of)(new m.Rn(b))))))),this.getDomainsSuccess=(0,_.EH)(()=>this.actions.pipe((0,_.gp)(F.Xx),(0,a.M)(()=>this.loaderService.hide())),{dispatch:!1})}static#t=this.\u0275fac=(()=>{let u;return function(h){return(u||(u=D.xGo(y)))(h||y)}})();static#e=this.\u0275prov=D.jDH({token:y,factory:y.\u0275fac})}return y})();var C=e(58693),M=e(29262);let g=(()=>{class y{static#t=this.\u0275fac=function(b){return new(b||y)};static#e=this.\u0275mod=D.$C({type:y});static#s=this.\u0275inj=D.G2t({imports:[l.MD,C.p,c.md.forFeature(o.qx,o.Ff),_.Vm.forFeature([x]),M.ni]})}return y})()},24421:(O,p,e)=>{e.d(p,{Ff:()=>v,kq:()=>a,qx:()=>o});var l=e(20039),c=e(65631);const _={domains:(0,l.T5)()},o="domains";function v(s=_,r){return r.type===c.Xx?{...s,domains:s.domains.set(r.payload.id,r.payload.domains)}:s}const a=s=>s[o].domains},50675:(O,p,e)=>{e.d(p,{k:()=>x});var l=e(76965),c=e(45286),_=e(7605),o=e(95006),v=e(58728),a=e(65631),s=e(24421),r=e(54438),T=e(59788),F=e(83891);function L(C,M){1&C&&r.nrm(0,"mcrai-option",1),2&C&&r.Y8G("value",null)}function m(C,M){if(1&C&&(r.j41(0,"mcrai-option",2),r.EFF(1),r.k0s()),2&C){const g=M.$implicit;r.Y8G("value",g.id)("title",g.hostname),r.R7$(),r.SpI(" ",g.name," ")}}function D(C,M){if(1&C&&(r.j41(0,"mcrai-select",0),r.DNE(1,L,1,1,"mcrai-option",1),r.Z7z(2,m,2,3,"mcrai-option",2,r.fX1),r.k0s()),2&C){const g=r.XpG();r.Mz_("placeholder","Dom\xe9na",g.required?" *":"",""),r.Y8G("control",g.control),r.R7$(),r.vxM(1,g.nullable?1:-1),r.R7$(),r.Dyx(g.domains.items)}}let x=(()=>{class C{get control(){return this._control}set control(g){this._control=g}constructor(g){this.store=g,this.destroy=new c.B7,this.required=!1,this.nullable=!0}ngOnInit(){this.getDomains(),this.selectDomains()}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}getDomains(){this.store.dispatch(new a.Eh({id:this.id}))}selectDomains(){this.store.pipe((0,l.Lt)(s.kq),(0,_.Q)(this.destroy),(0,o.T)(g=>g.get(this.id)),(0,v.p)(g=>!!g)).subscribe(g=>this.domains=g)}static#t=this.\u0275fac=function(y){return new(y||C)(r.rXU(l.il))};static#e=this.\u0275cmp=r.VBU({type:C,selectors:[["aegisx-select-domain"]],inputs:{control:"control",required:"required",nullable:"nullable"},decls:1,vars:1,consts:[[3,"placeholder","control"],[3,"value"],[3,"value","title"]],template:function(y,A){1&y&&r.DNE(0,D,4,4,"mcrai-select",0),2&y&&r.vxM(0,A.domains?0:-1)},dependencies:[T.w,F.P]})}return C})()},23149:(O,p,e)=>{e.d(p,{j:()=>a});var l=e(60177),c=e(89417),_=e(29262),o=e(26556),v=e(54438);let a=(()=>{class s{static#t=this.\u0275fac=function(F){return new(F||s)};static#e=this.\u0275mod=v.$C({type:s});static#s=this.\u0275inj=v.G2t({imports:[l.MD,c.X1,o.K,_.ni]})}return s})()},31878:(O,p,e)=>{e.r(p),e.d(p,{FeedbacksModule:()=>le});var l=e(60177),c=e(63040),_=e(97309),o=e(76965);const v="[Feedbacks] GET feedbacks",a="[Feedbacks] GET feedbacks success",s="[Feedbacks] GET feedbacks error";class r{constructor(f){this.payload=f,this.type=v}}class T{constructor(f){this.payload=f,this.type=a}}class F{constructor(f){this.payload=f,this.type=s}}const L={feedbacks:null},m="aegisxFeedbacks";function D(n=L,f){return f.type===a?{...n,feedbacks:f.payload}:n}const x=(0,o.UX)(m),C=(0,o.Mz)(x,n=>n.feedbacks);var M=e(1173);const g="[Feedbacks] DELETE feedbacks",y="[Feedbacks] DELETE feedbacks success",A="[Feedbacks] DELETE feedbacks error";class u{constructor(f){this.payload=f,this.type=g}}class b{constructor(f){this.payload=f,this.type=y}}class h{constructor(f){this.payload=f,this.type=A}}var t=e(54438),k=e(65382),j=e(70014),z=e(77617),Y=e(23509),w=e(90113),Q=e(92721),Z=e(36001),$=e(33579),H=e(33555),q=e(52699),tt=e(48390),et=e(63649),st=e(18391),nt=e(44549),it=e(64204),ot=e(95466),at=e(7306),rt=e(7622),ct=e(57382),lt=e(65208),dt=e(21336),mt=e(30127),ht=e(49451),ut=e(26588),_t=e(7165),ft=e(4379),pt=e(19727),Et=e(48235),vt=e(77608);const K=["Chybn\u011b za\u0159azen\xfd produkt","Chybn\xfd obr\xe1zek","Chybn\xfd text","Chyba v cen\u011b","Chyb\xed p\u0159\xedplatek","Chybn\xe9 parametry","Chyb\xed obr\xe1zek","Chyb\xed text","Ok"];let gt=(()=>{class n{transform(i){return"number"==typeof i&&i>=0&&i<K.length?K[i]:""}static#t=this.\u0275fac=function(d){return new(d||n)};static#e=this.\u0275pipe=t.EJ8({name:"feedbackTypeToString",type:n,pure:!0})}return n})();const Ct=n=>["/aegisx","users",n];function Dt(n,f){1&n&&(t.j41(0,"mcrai-th",18),t.EFF(1,"Datum a \u010das"),t.k0s())}function yt(n,f){if(1&n&&(t.j41(0,"mcrai-td",18),t.EFF(1),t.nI1(2,"dateFormat"),t.k0s()),2&n){const i=f.$implicit,d=t.XpG();t.R7$(),t.JRh(t.i5U(2,1,i.date,d.DATETIME_FORMAT_SHORT_WITH_SECONDS))}}function Ft(n,f){1&n&&(t.j41(0,"mcrai-th",18),t.EFF(1,"Typ"),t.k0s())}function Ot(n,f){if(1&n&&(t.j41(0,"mcrai-li"),t.EFF(1),t.nI1(2,"feedbackTypeToString"),t.k0s()),2&n){const i=f.$implicit;t.R7$(),t.JRh(t.bMT(2,1,i))}}function Mt(n,f){if(1&n&&(t.j41(0,"mcrai-td",18)(1,"mcrai-ul"),t.Z7z(2,Ot,3,3,"mcrai-li",null,t.fX1),t.k0s()()),2&n){const i=f.$implicit;t.R7$(2),t.Dyx(i.types)}}function bt(n,f){1&n&&(t.j41(0,"mcrai-th",19),t.EFF(1,"URL"),t.k0s())}function Tt(n,f){if(1&n&&(t.j41(0,"mcrai-td",19)(1,"div",20)(2,"div",21),t.EFF(3),t.k0s(),t.j41(4,"a",22),t.EFF(5),t.k0s()()()),2&n){const i=f.$implicit;t.R7$(3),t.JRh(null==i.domain?null:i.domain.hostname),t.R7$(),t.Y8G("href",i.url,t.B4B),t.R7$(),t.JRh(i.url)}}function Rt(n,f){1&n&&(t.j41(0,"mcrai-th",18),t.EFF(1,"U\u017eivatel"),t.k0s())}function xt(n,f){if(1&n&&(t.j41(0,"mcrai-td",18),t.EFF(1),t.j41(2,"a",23)(3,"m
1crai-icon",24),t.EFF(4,"view"),t.k0s()()()),2&n){const i=f.$implicit;t.R7$(),t.SpI(" ",null==i.user?null:i.user.nickname," "),t.R7$(),t.Y8G("mcraiLink",t.eq3(2,Ct,null==i.user?null:i.user.id))}}function Pt(n,f){1&n&&(t.j41(0,"mcrai-th",25),t.EFF(1,"Za\u0159\xedzen\xed"),t.k0s())}function kt(n,f){if(1&n&&(t.j41(0,"mcrai-td",25)(1,"mcrai-ul")(2,"mcrai-li"),t.EFF(3),t.k0s(),t.j41(4,"mcrai-li"),t.EFF(5),t.k0s(),t.j41(6,"mcrai-li"),t.EFF(7),t.k0s()()()),2&n){const i=f.$implicit;t.R7$(3),t.JRh(i.device.os.name),t.R7$(2),t.JRh(i.device.browser.name),t.R7$(2),t.LHq("",i.device.browser_width," x ",i.device.browser_height," / ",i.device.width," x ",i.device.height,"")}}function Bt(n,f){1&n&&(t.j41(0,"mcrai-th",18),t.EFF(1,"Dodate\u010dn\xfd text"),t.k0s())}function Lt(n,f){if(1&n&&(t.j41(0,"mcrai-td",18),t.EFF(1),t.k0s()),2&n){const i=f.$implicit;t.R7$(),t.JRh(i.text)}}function St(n,f){1&n&&t.nrm(0,"mcrai-th")}function Ut(n,f){if(1&n){const i=t.RV6();t.j41(0,"button",28),t.bIt("click",function(){t.eBV(i);const E=t.XpG().$implicit,B=t.XpG();return t.Njj(B.toggle(E))}),t.j41(1,"mcrai-icon"),t.EFF(2,"select"),t.k0s()()}}function At(n,f){if(1&n&&(t.j41(0,"mcrai-td",26),t.DNE(1,Ut,3,0,"button",27),t.k0s()),2&n){const i=t.XpG();t.R7$(),t.vxM(1,i.toolbarService.isSelectable()?1:-1)}}function It(n,f){1&n&&t.nrm(0,"mcrai-tr")}function jt(n,f){if(1&n&&t.nrm(0,"mcrai-tr"),2&n){const i=f.$implicit,d=t.XpG();t.AVh("mcrai-tr--highlight",d.isActive(i))}}let Kt=(()=>{class n{constructor(i){this.toolbarService=i,this.COLUMNS=["date","type","url","user","device","text","actions"],this.DATETIME_FORMAT_SHORT_WITH_SECONDS=nt.c9.DATETIME_SHORT_WITH_SECONDS,this.selectedChange=new t.bkB}ngOnInit(){}toggle(i){this.selectedChange.emit((0,st.L)(this.selectedFeedbacks,i))}isActive(i){return!!Array.isArray(this.selectedFeedbacks)&&!!this.selectedFeedbacks.find(d=>d.id===i.id)}static#t=this.\u0275fac=function(d){return new(d||n)(t.rXU(k.h))};static#e=this.\u0275cmp=t.VBU({type:n,selectors:[["aegisx-feedback-list"]],inputs:{feedbacks:"feedbacks",selectedFeedbacks:"selectedFeedbacks"},outputs:{selectedChange:"selectedChange"},decls:24,vars:3,consts:[[3,"items"],["mcraiColumnDef","date"],["flex-2","",4,"mcraiHeaderCellDef"],["flex-2","",4,"mcraiCellDef"],["mcraiColumnDef","type"],["mcraiColumnDef","url"],["flex-6","",4,"mcraiHeaderCellDef"],["flex-6","",4,"mcraiCellDef"],["mcraiColumnDef","user"],["mcraiColumnDef","device"],["flex-3","",4,"mcraiHeaderCellDef"],["flex-3","",4,"mcraiCellDef"],["mcraiColumnDef","text"],["mcraiColumnDef","actions"],[4,"mcraiHeaderCellDef"],["horizontal-right","",4,"mcraiCellDef"],[4,"mcraiHeaderRowDef"],[3,"mcrai-tr--highlight",4,"mcraiRowDef","mcraiRowDefColumns"],["flex-2",""],["flex-6",""],[1,"feedback__url"],[1,"feedback__host"],["target","_blank",1,"feedback__path",3,"href"],["mcrai-icon-button","",3,"mcraiLink"],["color","primary"],["flex-3",""],["horizontal-right",""],["mcrai-icon-button",""],["mcrai-icon-button","",3,"click"]],template:function(d,E){1&d&&(t.j41(0,"mcrai-table",0),t.qex(1,1),t.DNE(2,Dt,2,0,"mcrai-th",2)(3,yt,3,4,"mcrai-td",3),t.bVm(),t.qex(4,4),t.DNE(5,Ft,2,0,"mcrai-th",2)(6,Mt,4,0,"mcrai-td",3),t.bVm(),t.qex(7,5),t.DNE(8,bt,2,0,"mcrai-th",6)(9,Tt,6,3,"mcrai-td",7),t.bVm(),t.qex(10,8),t.DNE(11,Rt,2,0,"mcrai-th",2)(12,xt,5,4,"mcrai-td",3),t.bVm(),t.qex(13,9),t.DNE(14,Pt,2,0,"mcrai-th",10)(15,kt,8,6,"mcrai-td",11),t.bVm(),t.qex(16,12),t.DNE(17,Bt,2,0,"mcrai-th",2)(18,Lt,2,1,"mcrai-td",3),t.bVm(),t.qex(19,13),t.DNE(20,St,1,0,"mcrai-th",14)(21,At,2,1,"mcrai-td",15),t.bVm(),t.DNE(22,It,1,0,"mcrai-tr",16)(23,jt,1,2,"mcrai-tr",17),t.k0s()),2&d&&(t.Y8G("items",null==E.feedbacks?null:E.feedbacks.items),t.R7$(22),t.Y8G("mcraiHeaderRowDef",E.COLUMNS),t.R7$(),t.Y8G("mcraiRowDefColumns",E.COLUMNS))},dependencies:[it.n,ot.q,at.B,rt.K,ct.D,lt.Q,dt.V,mt.e,ht.O,ut.R,_t.g,ft.x,pt.E,Et.R,vt.a,gt],styles:[".feedback__url[_ngcontent-%COMP%]{display:flex;align-items:center}.feedback__host[_ngcontent-%COMP%]{padding:4px 10px;border-radius:4px;display:flex;justify-content:center;align-items:center;margin-right:10px;white-space:nowrap;background-color:#001435;color:#fff}.feedback__path[_ngcontent-%COMP%]{color:#1e232b;text-decoration:none}"]})}return n})();var S=e(89417),Gt=e(7605),Vt=e(63020),G=e(95006),Wt=e(45286),$t=e(97519),Ht=e(50675),Nt=e(59788),Xt=e(83891);function Jt(n,f){if(1&n&&(t.j41(0,"mcrai-option",3),t.EFF(1),t.k0s()),2&n){const i=f.$implicit;t.Y8G("value",f.$index),t.R7$(),t.JRh(i)}}let zt=(()=>
1{class n{constructor(){this.destroy=new Wt.B7,this.filterChange=new t.bkB,this.feedbackTypes=K,this.form=new S.J3({q:new S.hs,width:new S.hs,height:new S.hs,domain:new S.hs,type:new S.hs,date_to:new S.hs,date_from:new S.hs})}ngOnInit(){this.form.valueChanges.pipe((0,Gt.Q)(this.destroy),(0,Vt.B)(100),(0,G.T)(i=>this.filterOutEmpty(i))).subscribe(i=>this.filterChange.emit(i))}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}filterOutEmpty(i){const d={};return Object.keys(i).forEach(E=>{i[E]&&Object.assign(d,{[E]:i[E]})}),d}static#t=this.\u0275fac=function(d){return new(d||n)};static#e=this.\u0275cmp=t.VBU({type:n,selectors:[["aegisx-feedback-filter"]],outputs:{filterChange:"filterChange"},decls:10,vars:3,consts:[["type","text","placeholder","URL, Prohl\xed\u017ee\u010d, ...",3,"control"],[3,"control"],["placeholder","Typ",3,"control"],[3,"value"]],template:function(d,E){1&d&&(t.j41(0,"mcrai-row")(1,"mcrai-col"),t.nrm(2,"mcrai-input",0),t.k0s(),t.j41(3,"mcrai-col"),t.nrm(4,"aegisx-select-domain",1),t.k0s(),t.j41(5,"mcrai-col")(6,"mcrai-select",2),t.Z7z(7,Jt,2,2,"mcrai-option",3,t.fX1),t.k0s()(),t.nrm(9,"mcrai-col"),t.k0s()),2&d&&(t.R7$(2),t.Y8G("control",E.form.controls.q),t.R7$(2),t.Y8G("control",E.form.controls.domain),t.R7$(2),t.Y8G("control",E.form.controls.type),t.R7$(),t.Dyx(E.feedbackTypes))},dependencies:[$.o,H.g,$t.N,Ht.k,Nt.w,Xt.P]})}return n})();function Yt(n,f){if(1&n){const i=t.RV6();t.j41(0,"button",6),t.bIt("click",function(){t.eBV(i);const E=t.XpG();return t.Njj(E.deleteFeedbacks())}),t.EFF(1," Smazat vybran\xe9 "),t.k0s()}}const wt=[{path:"",component:(()=>{class n{constructor(i,d){this.store=i,this.toolbarService=d,this.selectedFeedbacks=[]}ngOnInit(){this.toolbarService.setToolbarModes([M.H.View,M.H.Delete]),this.feedbacks=this.store.pipe((0,o.Lt)(C)),this.fetchFeedbacks()}fetchFeedbacks(i=1,d={}){this.store.dispatch(new r({page:i,filter:d}))}deleteFeedbacks(){this.store.dispatch(new u({ids:this.selectedFeedbacks.map(i=>i.id)}))}static#t=this.\u0275fac=function(d){return new(d||n)(t.rXU(o.il),t.rXU(k.h))};static#e=this.\u0275cmp=t.VBU({type:n,selectors:[["aegisx-feedbacks"]],decls:26,vars:9,consts:[["color","secondary"],[3,"filterChange"],["mcrai-button","positive",3,"click","disabled"],[3,"selectedChange","selectedFeedbacks","feedbacks"],[1,"pull-left",3,"page","paginator"],["mcrai-button","negative"],["mcrai-button","negative",3,"click"]],template:function(d,E){if(1&d&&(t.nrm(0,"aegisx-header"),t.j41(1,"mcrai-container")(2,"mcrai-panel")(3,"mcrai-panel-header")(4,"h1"),t.EFF(5,"Feedbacks"),t.k0s()(),t.j41(6,"mcrai-panel-content")(7,"mcrai-row")(8,"mcrai-col")(9,"mcrai-panel",0)(10,"mcrai-panel-content")(11,"aegisx-feedback-filter",1),t.bIt("filterChange",function(U){return E.filter=U}),t.k0s()(),t.j41(12,"mcrai-panel-actions")(13,"button",2),t.bIt("click",function(){return E.fetchFeedbacks(1,E.filter)}),t.EFF(14," Filtrovat "),t.k0s()()()()(),t.j41(15,"mcrai-row")(16,"mcrai-col")(17,"mcrai-panel",0)(18,"mcrai-panel-content")(19,"aegisx-feedback-list",3),t.nI1(20,"async"),t.bIt("selectedChange",function(U){return E.selectedFeedbacks=U}),t.k0s()()()()()(),t.j41(21,"mcrai-panel-actions")(22,"mcrai-paginator",4),t.nI1(23,"async"),t.bIt("page",function(U){return E.fetchFeedbacks(U)}),t.k0s(),t.DNE(24,Yt,2,0,"button",5),t.k0s()()(),t.nrm(25,"aegisx-toolbar")),2&d){let B;t.R7$(13),t.Y8G("disabled",!E.filter),t.R7$(6),t.Y8G("selectedFeedbacks",E.selectedFeedbacks)("feedbacks",t.bMT(20,5,E.feedbacks)),t.R7$(3),t.Y8G("paginator",null==(B=t.bMT(23,7,E.feedbacks))?null:B.paginator),t.R7$(2),t.vxM(24,E.toolbarService.isDeleteMode()?24:-1)}},dependencies:[j.I,z.I,Y.g,w.l,Q.h,Z.B,$.o,H.g,q.H,tt.h,et.Q,Kt,zt,l.Jj]})}return n})(),canActivate:[_.J]}];let Qt=(()=>{class n{static#t=this.\u0275fac=function(d){return new(d||n)};static#e=this.\u0275mod=t.$C({type:n});static#s=this.\u0275inj=t.G2t({imports:[c.iI.forChild(wt),c.iI]})}return n})();var Zt=e(291),qt=e(93578),R=e(29262),P=e(41635),I=e(15539),V=e(49090),N=e(83921),W=e(14421),te=e(12906);let ee=(()=>{class n extends te.d{getFeedbacks(i,d={}){const E=this.buildUrl(["feedbacks"],{...d,page:i});return this.get(E)}deleteFeedbacks(i){const d=this.buildUrl(["feedbacks"],{feedback_ids:i});return this.del(d)}static#t=this.\u0275fac=(()=>{let i;return function(E){return(i||(i=t.xGo(n)))(E||n)}})();static#e=this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),X=(()=>{class n{constructor(i,d,E,B,U){this.actions=i,this.store=d,this.dataService=E,this.loaderService=B,this.toasterService=U}static#t=this.\u0275fac=function(d){return new(d||n)(t.KVO(P.En),t.KVO(o.il),t.KVO
1(ee),t.KVO(R.wA),t.KVO(R.FS))};static#e=this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}return n})(),se=(()=>{class n extends X{constructor(){super(...arguments),this.getFeedbacks=(0,P.EH)(()=>this.actions.pipe((0,P.gp)(v),(0,I.M)(()=>this.loaderService.show()),(0,V.n)(i=>this.dataService.getFeedbacks(i.payload.page,i.payload.filter).pipe((0,G.T)(d=>new T(d)),(0,N.W)(d=>(0,W.of)(new F(d))))))),this.getFeedbacksSuccess=(0,P.EH)(()=>this.actions.pipe((0,P.gp)(a),(0,I.M)(()=>this.loaderService.hide())),{dispatch:!1}),this.getFeedbacksError=(0,P.EH)(()=>this.actions.pipe((0,P.gp)(s),(0,I.M)(i=>{this.loaderService.hide(),this.toasterService.makeToast(i.payload.message,R.Ck.Error)})),{dispatch:!1})}static#t=this.\u0275fac=(()=>{let i;return function(E){return(i||(i=t.xGo(n)))(E||n)}})();static#e=this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}return n})(),J=(()=>{class n{static#t=this.\u0275fac=function(d){return new(d||n)};static#e=this.\u0275mod=t.$C({type:n});static#s=this.\u0275inj=t.G2t({imports:[l.MD,R.DJ,R.wl]})}return n})(),ne=(()=>{class n{static#t=this.\u0275fac=function(d){return new(d||n)};static#e=this.\u0275mod=t.$C({type:n});static#s=this.\u0275inj=t.G2t({imports:[l.MD,J,P.Vm.forFeature([se]),o.md.forFeature(m,D)]})}return n})();var ie=e(52759),oe=e(23149);let ae=(()=>{class n extends X{constructor(){super(...arguments),this.deleteFeedbacks=(0,P.EH)(()=>this.actions.pipe((0,P.gp)(g),(0,I.M)(()=>this.loaderService.show()),(0,V.n)(i=>this.dataService.deleteFeedbacks(i.payload.ids).pipe((0,G.T)(d=>new b(d)),(0,N.W)(d=>(0,W.of)(new h(d))))))),this.deleteFeedbacksSuccess=(0,P.EH)(()=>this.actions.pipe((0,P.gp)(y),(0,I.M)(i=>{this.loaderService.hide(),this.toasterService.makeToast(i.payload.message,R.Ck.Success)}),(0,V.n)(i=>(0,W.of)(new T(i.payload))))),this.deleteFeedbacksError=(0,P.EH)(()=>this.actions.pipe((0,P.gp)(A),(0,I.M)(i=>{this.loaderService.hide(),this.toasterService.makeToast(i.payload.message,R.Ck.Error)})),{dispatch:!1})}static#t=this.\u0275fac=(()=>{let i;return function(E){return(i||(i=t.xGo(n)))(E||n)}})();static#e=this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}return n})(),re=(()=>{class n{static#t=this.\u0275fac=function(d){return new(d||n)};static#e=this.\u0275mod=t.$C({type:n});static#s=this.\u0275inj=t.G2t({imports:[l.MD,J,P.Vm.forFeature([ae])]})}return n})();var ce=e(12741);let le=(()=>{class n{static#t=this.\u0275fac=function(d){return new(d||n)};static#e=this.\u0275mod=t.$C({type:n});static#s=this.\u0275inj=t.G2t({imports:[l.MD,Qt,Zt.G,qt.m,R.pj,R.LU,R.Zg,ne,R.SD,R.o6,ie.V,R.xT,R.Tm,R.B4,oe.j,re,R.ni,ce.Y]})}return n})()},7165:(O,p,e)=>{e.d(p,{g:()=>T});var l=e(63040),c=e(45286),_=e(7605),o=e(58728),v=e(14085),a=e(54438),s=e(60177),r=e(87173);let T=(()=>{class F{set mcraiLink(m){this._commands=this._parseCommands(m)}set href(m){this._href=m}set target(m){this._target=m}set queryParams(m){this._queryParams=m}set skipLocationChange(m){this._skipLocationChange=m}set replaceUrl(m){this._replaceUrl=m}set queryParamsHandling(m){this._queryParamsHandling=m}set fragment(m){this._fragment=m}get urlTree(){return this._router.createUrlTree(this._commands,{relativeTo:this._route,queryParams:this._queryParams,fragment:this._fragment,queryParamsHandling:this._queryParamsHandling,preserveFragment:(0,v.he)(this._preserveFragment)})}constructor(m,D,x,C){this._router=m,this._route=D,this._locationStrategy=x,this._linkService=C,this.destroy=new c.B7,this._commands=[],m.events.pipe((0,_.Q)(this.destroy),(0,o.p)(M=>M instanceof l.wF)).subscribe(()=>this._updateTargetUrlAndHref())}ngOnChanges(){this._updateTargetUrlAndHref()}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}_parseCommands(m){switch(!0){case null===m:return[];case Array.isArray(m):return m;case"string"==typeof m:return[m];case m.hasOwnProperty("leaf"):return m.info[0].is_link?m.info[0].article_url?[this._linkService.getArticleLink(m.info[0].article_url)]:(this._isAbsolute=!0,[m.info[0].url]):[this._linkService.getCategoryLink(m)];case m.hasOwnProperty("date"):return[this._linkService.getArticleLink(m)];case m.hasOwnProperty("required"):return[this._linkService.getSetLink(m)];default:return[this._linkService.getProductLink(m)]}}_onClick(m,D,x,C){if(0!==m||D||x||C||this._target&&"_self"!==this._target||this._isAbsolute)return!0;
1const M={skipLocationChange:(0,v.he)(this._skipLocationChange),replaceUrl:(0,v.he)(this._replaceUrl)};return this._router.navigateByUrl(this.urlTree,M),!1}_updateTargetUrlAndHref(){this._href=this._isAbsolute?this._commands[0]:this._locationStrategy.prepareExternalUrl(this._router.serializeUrl(this.urlTree))}static#t=this.\u0275fac=function(D){return new(D||F)(a.rXU(l.Ix),a.rXU(l.nX),a.rXU(s.hb),a.rXU(r._))};static#e=this.\u0275dir=a.FsC({type:F,selectors:[["a","mcraiLink",""]],hostVars:2,hostBindings:function(D,x){1&D&&a.bIt("click",function(M){return x._onClick(M.button,M.ctrlKey,M.metaKey,M.shiftKey)}),2&D&&a.BMQ("target",x._target)("href",x._href,a.B4B)},inputs:{mcraiLink:"mcraiLink",href:"href",target:"target",queryParams:"queryParams",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",queryParamsHandling:"queryParamsHandling",fragment:"fragment"},features:[a.OA$]})}return F})()},48235:(O,p,e)=>{e.d(p,{R:()=>_});var l=e(54438);const c=["*"];let _=(()=>{class o{set separator(a){this.separatorCssClass=!1!==a}set highlight(a){this.highlightCssClass=!1!==a}constructor(){this.cssClass=!0,this.separatorCssClass=!1,this.highlightCssClass=!1}ngOnInit(){}static#t=this.\u0275fac=function(s){return new(s||o)};static#e=this.\u0275cmp=l.VBU({type:o,selectors:[["mcrai-li"]],hostVars:6,hostBindings:function(s,r){2&s&&l.AVh("mcrai-li",r.cssClass)("mcrai-li--separator",r.separatorCssClass)("mcrai-li--highlight",r.highlightCssClass)},inputs:{separator:"separator",highlight:"highlight"},ngContentSelectors:c,decls:1,vars:0,template:function(s,r){1&s&&(l.NAR(),l.SdG(0))},styles:[".mcrai-li{display:block}.mcrai-li--separator{margin-top:5px}\n"],encapsulation:2,changeDetection:0})}return o})()},19727:(O,p,e)=>{e.d(p,{E:()=>_});var l=e(54438);const c=["*"];let _=(()=>{class o{constructor(){this.cssClass=!0}ngOnInit(){}static#t=this.\u0275fac=function(s){return new(s||o)};static#e=this.\u0275cmp=l.VBU({type:o,selectors:[["mcrai-ul"]],hostVars:2,hostBindings:function(s,r){2&s&&l.AVh("mcrai-ul",r.cssClass)},ngContentSelectors:c,decls:1,vars:0,template:function(s,r){1&s&&(l.NAR(),l.SdG(0))},styles:[".mcrai-ul{display:flex;flex-direction:column;margin:3px 0}\n"],encapsulation:2,changeDetection:0})}return o})()},30127:(O,p,e)=>{e.d(p,{e:()=>_});var l=e(45887),c=e(54438);let _=(()=>{class o extends l.hc{static#t=this.\u0275fac=(()=>{let a;return function(r){return(a||(a=c.xGo(o)))(r||o)}})();static#e=this.\u0275cmp=c.VBU({type:o,selectors:[["mcrai-tr"],["a",8,"mcrai-tr"]],hostVars:2,hostBindings:function(s,r){2&s&&c.AVh("mcrai-tr",!0)},features:[c.Vt3],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(s,r){1&s&&c.eu8(0,0)},dependencies:[l.I8],styles:[".mcrai-tr{display:flex;align-items:stretch;text-decoration:none;color:inherit}\n"],encapsulation:2,changeDetection:0})}return o})()},7306:(O,p,e)=>{e.d(p,{B:()=>_});var l=e(45887),c=e(54438);let _=(()=>{class o extends l.cO{static#t=this.\u0275fac=(()=>{let a;return function(r){return(a||(a=c.xGo(o)))(r||o)}})();static#e=this.\u0275dir=c.FsC({type:o,selectors:[["","mcraiCellDef",""]],features:[c.Jv_([{provide:l.cO,useExisting:o}]),c.Vt3]})}return o})()},65208:(O,p,e)=>{e.d(p,{Q:()=>_});var l=e(45887),c=e(54438);let _=(()=>{class o extends l.VP{static#t=this.\u0275fac=(()=>{let a;return function(r){return(a||(a=c.xGo(o)))(r||o)}})();static#e=this.\u0275dir=c.FsC({type:o,selectors:[["mcrai-td"]],hostVars:2,hostBindings:function(s,r){2&s&&c.AVh("mcrai-td",!0)},features:[c.Vt3]})}return o})()},95466:(O,p,e)=>{e.d(p,{q:()=>_});var l=e(45887),c=e(54438);let _=(()=>{class o extends l.n5{static#t=this.\u0275fac=(()=>{let a;return function(r){return(a||(a=c.xGo(o)))(r||o)}})();static#e=this.\u0275dir=c.FsC({type:o,selectors:[["","mcraiHeaderCellDef",""]],features:[c.Jv_([{provide:l.n5,useExisting:o}]),c.Vt3]})}return o})()},21336:(O,p,e)=>{e.d(p,{V:()=>_});var l=e(45887),c=e(54438);let _=(()=>{class o extends l.sY{static#t=this.\u0275fac=(()=>{let a;return function(r){return(a||(a=c.xGo(o)))(r||o)}})();static#e=this.\u0275dir=c.FsC({type:o,selectors:[["mcrai-th"]],hostVars:2,hostBindings:function(s,r){2&s&&c.AVh("mcrai-th",!0)},features:[c.Vt3]})}return o}
1)()},7622:(O,p,e)=>{e.d(p,{K:()=>_});var l=e(45887),c=e(54438);let _=(()=>{class o extends l.hi{static#t=this.\u0275fac=(()=>{let a;return function(r){return(a||(a=c.xGo(o)))(r||o)}})();static#e=this.\u0275dir=c.FsC({type:o,selectors:[["","mcraiHeaderRowDef",""]],inputs:{columns:[c.Mj6.None,"mcraiHeaderRowDef","columns"]},features:[c.Jv_([{provide:l.hi,useExisting:o}]),c.Vt3]})}return o})()},57382:(O,p,e)=>{e.d(p,{D:()=>_});var l=e(45887),c=e(54438);let _=(()=>{class o extends l.oh{static#t=this.\u0275fac=(()=>{let a;return function(r){return(a||(a=c.xGo(o)))(r||o)}})();static#e=this.\u0275dir=c.FsC({type:o,selectors:[["","mcraiRowDef",""]],inputs:{columns:[c.Mj6.None,"mcraiRowDefColumns","columns"],when:[c.Mj6.None,"mcraiRowDefWhen","when"]},features:[c.Jv_([{provide:l.oh,useExisting:o}]),c.Vt3]})}return o})()}}]);

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.