PageSourceSearch

https://panel.onetads.pl/6783.f6967cd87ec6da48.js

js onetads.pl collected 2026-10-03 19:47:10 UTC 23,134 bytes, 5 lines download raw bytes

1"use strict";
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]="fed84273-87f0-5eae-b628-5229c2964842")}catch(e){}}();
3(self.webpackChunkclient_panel=self.webpackChunkclient_panel||[]).push([[6783],{8937:(F,R,n)=>{n.d(R,{H:()=>a.H});var a=n(97407)},15874:(F,R,n)=>{n.d(R,{r:()=>v});var a=n(8050),e=n(30499),p=n(93683),t=n(12481),h=n(24074),o=n(84175),f=n(43050);function T(u,k){1&u&&(t.qex(0),t.j41(1,"p"),t.EFF(2," Kampanie w us\u0142udze Retail Media Network s\u0105 realizowane na zasadzie aukcji. Jako partner, emituj\u0105c kampani\u0119 na swojej przestrzeni, wystarczy, \u017ce okre\u015blisz \u017c\u0105dan\u0105 liczb\u0119 wy\u015bwietle\u0144 i czas trwania kampanii. Je\u017celi zewn\u0119trzni producenci zlecaj\u0105 w Retail Media Network kampanie, kt\xf3re mog\u0105 przynie\u015b\u0107 Ci dodatkowe dochody, mog\u0105 one zast\u0105pi\u0107 Twoj\u0105 kampani\u0119, maksymalizuj\u0105c tym samym Twoje przychody z wsp\xf3\u0142pracy. "),t.k0s(),t.bVm())}function C(u,k){1&u&&(t.qex(0),t.j41(1,"h6"),t.EFF(2,"Jak dzia\u0142a bud\u017cet i limity?"),t.k0s(),t.j41(3,"p"),t.EFF(4," Kampanie w us\u0142udze Retail Media Network s\u0105 emitowane w modelu aukcyjnym. Oznacza to, \u017ce jako reklamodawca okre\u015blasz maksymalny bud\u017cet kampanii oraz stawk\u0119 CPM. "),t.k0s(),t.j41(5,"p",3),t.EFF(6,"Stawka CPM "),t.k0s(),t.j41(7,"p"),t.EFF(8," Okre\u015bla koszt za 1000 wy\u015bwietle\u0144 kampanii. Nie mo\u017ce by\u0107 ni\u017csza od okre\u015blonej w panelu kwoty minimalnej. Wy\u017csze stawki zwi\u0119kszaj\u0105 szanse na emisj\u0119 na wybranych powierzchniach reklamowych oraz dotarcie do wi\u0119kszej liczby odbiorc\xf3w. "),t.k0s(),t.j41(9,"p",3),t.EFF(10," Bud\u017cet "),t.k0s(),t.j41(11,"p"),t.EFF(12," Okre\u015bla maksymaln\u0105 kwot\u0119 przeznaczon\u0105 na dan\u0105 kampani\u0119. Nie mo\u017ce by\u0107 ni\u017cszy od okre\u015blonego w panelu minimalnego bud\u017cetu. Po zrealizowaniu bud\u017cetu, kampania przestanie by\u0107 emitowana. "),t.k0s(),t.j41(13,"p"),t.EFF(14," Oba parametry mo\u017cesz dowolnie zwi\u0119ksza\u0107 w czasie trwania kampanii. "),t.k0s(),t.bVm())}let v=(()=>{class u{get isSelfAdvertising(){return this.campaignType===e.S.RETAIL_MEDIA_SELF_ADVERTISING}static{this.\u0275fac=function(c){return new(c||u)}}static{this.\u0275cmp=t.VBU({type:u,selectors:[["rm-retail-media-parameters-info"]],inputs:{campaignType:"campaignType"},decls:7,vars:2,consts:[[4,"ngIf"],["mat-flat-button","","color","primary","href","https://pomoc.onetads.pl","target","_blank"],[1,"icon","material-icons-outlined"],[1,"subtitle"]],template:function(c,E){1&c&&(t.j41(0,"info-box"),t.DNE(1,T,3,0,"ng-container",0)(2,C,15,0,"ng-container",0),t.j41(3,"a",1)(4,"mat-icon",2),t.EFF(5,"live_help"),t.k0s(),t.EFF(6,"pomoc"),t.k0s()()),2&c&&(t.R7$(),t.Y8G("ngIf",E.isSelfAdvertising),t.R7$(),t.Y8G("ngIf",!E.isSelfAdvertising))},dependencies:[p.MD,p.bT,a.L,h.An,o.$z,f.F],styles:[".subtitle[_ngcontent-%COMP%]{font-weight:700;margin:0}"]})}}return u})()},36206:(F,R,n)=>{n.d(R,{N:()=>v});var a=n(8050),e=n(30499),p=n(93683),t=n(12481),h=n(24074),o=n(84175),f=n(43050);function T(u,k){1&u&&(t.qex(0),t.j41(1,"h6"),t.EFF(2,"Jak realizowana jest promocja w Twoim sklepie?"),t.k0s(),t.j41(3,"p"),t.EFF(4,"Proces tworzenia kampanii rozpoczyna si\u0119 od selekcji produkt\xf3w do promocji."),t.k0s(),t.j41(5,"p"),t.EFF(6,"U\u017cyj wyszukiwarki, wprowad\u017a nazw\u0119 lub numer EAN wybranego produktu i dodaj go do kampanii. Wybrane produkty b\u0119d\u0105 wy\u015bwietlane w ramach przestrzeni reklamowej, kt\xf3r\u0105 zintegrowa\u0142e\u015b jako Partner Retail Media Network."),t.k0s(),t.bVm())}function C(u,k){1&u&&(t.qex(0),t.j41(1,"h6"),t.EFF(2,"Jak dzia\u0142a lista produkt\xf3w?"),t.k0s(),t.j41(3,"p"),t.EFF(4,"Tworzenie kampanii w Retail Media Network rozpoczyna si\u0119 od wyboru produkt\xf3w, kt\xf3re b\u0119d\u0105 w niej promowane."),t.k0s(),t.j41(5,"p"),t.EFF(6,"Twoja kampania b\u0119dzie kierowa\u0142a na karty produkt\xf3w w sklepach obecnych w Retail Media Network. Skorzystaj z wyszukiwarki, wpisz nazw\u0119 wybranego produktu lub jego numer EAN i dodaj go do tworzonej kampanii."),t.k0s(),t.bVm())}let v=(()=>{class u{get isSelfAdvertising(){return this.campaignType===e.S.RETAIL_MEDIA_SELF_ADVERTISING}static{this.\u0275fac=function(c){return new(c||u)}}static{this.\u0275cmp=t.VBU({type:u,selectors:[["rm-retail-media-products-info"]],inputs:{campaignType:"campaignType"},decls:7,vars:2,consts:[[4,"ngIf"],["mat-flat-button","","color","primary","href","https://pomoc.onetads.pl","target","_blank"],[1,"icon","material-icons-outlined"]],template:function(c,E){1&c&&(t.j41(0,"info-box"),t.DNE(1,T,7,0,"ng-container",0)(2,C,7,0,"ng-container",0),t.j41(3,"a",1)(4,"mat-icon",2),t.EFF(5,"live_help"),t.k0s(),t.EFF(6,"pomoc"),t.k0s()()),2&c&&(t.R7$(),t.Y8G("ngIf",E.isSelfAdvertising),t.R7$(),t.Y8G("ngIf",!E.isSelfAdvertising))},dependencies:[a.L,h.An,o.$z,f.F,p.MD,p.bT],encapsulation:2})}}return u})()},50393:(F,R,n)=>{n.d(R,{_:()=>b,L:()=>E});var a=n(34456),e=n(16067),p=n(66424);function t(l,I){return d=>Number(d.value)<l?{amountLowerThanBudget:{budget:l}}:I&&Number(d.value)>I?{amountTooHigh:{max:I}}:null}var h=n(30499),o=n(85240);const C=1e3,v=5e4,M=1e3,E=l=>{const d=l.controls.revenue.value??0;return l.controls.campaignType.value===h.S.CROSS_RETAIL_EMISSION?Math.max(d,M):Math.max(d,C)};let b=(()=>{class l{constructor(){this.audienceSegments=new a.gE({includes:new a.MJ([],{nonNullable:!0}),excludes:new a.MJ([],{nonNullable:!0})}),this.websites=new a.gE({included:new a.MJ([],{nonNullable:!0}),excluded:new a.MJ([],{nonNullable:!0})}),this.cpm=new a.MJ(16,{nonNullable:!1,validators:[(0,p.NK)(16,100)]}),this.budget=new a.MJ(C,{nonNullable:!1,validators:[(0,p.NK)(C,v)]}),this.impressions=new a.MJ(1e3,{nonNullable:!1,validators:[a.k0.min(1e3)]}),this.form=new a.gE({name:new a.MJ("",{nonNullable:!0,validators:[a.k0.required]}),cpm:this.cpm,budget:this.budget,impressions:this.impressions,revenue:new a.MJ(null),products:new a.MJ([],{nonNullable:!0,validators:[(0,p.iH)()]}),agreement:new a.MJ(!1,{nonNullable:!0,validators:[a.k0.requiredTrue]}),customerServiceAgreement:new a.MJ(!1,{nonNullable:!0,validators:[a.k0.requiredTrue]}),dateTo:new a.MJ((0,e.D0)(new Date),{nonNullable:!0}),dateFrom:new a.MJ((0,e.PS)(new Date),{nonNullable:!0}),campaignId:new a.MJ,campaignType:new a.MJ(null,{nonNullable:!0,validators:[a.k0.required]}),websites:this.websites,audienceSegments:this.audienceSegments}),this.form.controls.revenue.valueChanges.subscribe(()=>{this.form.controls.budget?.clearValidators(),this.form.controls.budget?.addValidators(this.getBudgetValidator())}),this.form.controls.campaignType.valueChanges.subscribe(d=>{d&&this.rebuildParametersForm(d)}),this.rebuildParametersForm(h.S.RETAIL_MEDIA_INVENTORY)}rebuildParametersForm(d){switch(d){case h.S.CROSS_RETAIL_EMISSION:this.form.removeControl("impressions"),this.form.addControl("audienceSegments",this.audienceSegments),this.form.addControl("websites",this.websites),this.form.addControl("cpm",this.cpm),this.form.controls.cpm?.clearValidators(),this.form.controls.cpm?.addValidators([(0,p.NK)(9,100)]),this.form.addControl("budget",this.budget),this.form.controls.budget?.clearValidators(),this.form.controls.budget?.addValidators(this.getBudgetValidator()),(!this.form.controls.cpm?.value||this.form.controls.cpm.value<9)&&this.form.controls.cpm?.setValue(9),(!this.form.controls.budget?.value||this.form.controls.budget.value<M)&&this.form.controls.budget?.setValue(M);break;case h.S.RETAIL_MEDIA_INVENTORY:this.form.removeControl("impressions"),this.form.removeControl("audienceSegments"),this.form.addControl("websites",this.websites),this.form.addControl("cpm",this.cpm),this.form.controls.cpm?.clearValidators(),this.form.controls.cpm?.addValidators([(0,p.NK)(16)]),this.form.addControl("budget",this.budget),this.form.controls.budget?.clearValidators(),this.form.controls.budget?.addValidators(this.getBudgetValidator()),(!this.form.controls.cpm?.value||this.form.controls.cpm.value<16)&&this.form.controls.cpm?.setValue(16),(!this.form.controls.budget?.value||this.form.controls.budget.value<C)&&this.form.controls.budget?.setValue(C);break;case h.S.RETAIL_MEDIA_SELF_ADVERTISING:this.form.addControl("impressions",this.impressions),this.form.removeControl("audienceSegments"),this.form.removeControl("websites"),this.form.removeControl("cpm"),this.form.removeControl("budget")}}getBudgetValidator(){const g=this.form.controls.revenue.value??0;return this.form.controls.campaignType.value===h.S.CROSS_RETAIL_EMISSION?g>M?t(g):(0,p.NK)(M):g>C?t(g,v):(0,p.NK)(C,v)}static{this.\u0275fac=function(g){return new(g||l)}}static{this.\u0275prov=o.jDH({token:l,factory:l.\u0275fac,providedIn:"any"})}}return l})()},57178:(F,R,n)=>{n.d(R,{z:()=>X});var a=n(93683),e=n(12481),p=n(30499),t=n(27265),h=n(8050),o=n(34456),f=n(31983),T=n(52575),C=n(63037),v=n(98764),u=n(36647),k=n(59452),M=n(61318),c=n(85240),E=n(24074),b=n(84175);function l(r,P){if(1&r&&e.nrm(0,"img",9),2&r){const s=e.XpG();e.Y8G("src",s.product.photos.items[0].url,e.B4B)}}function I(r,P){if(1&r){const s=e.RV6();e.j41(0,"button",10),e.bIt("click",function(){c.eBV(s);const i=e.XpG();return c.Njj(i.onRemove.emit(i.product.id))}),e.j41(1,"mat-icon"),e.EFF(2,"checked"),e.k0s(),e.EFF(3,"usu\u0144"),e.k0s()}}function d(r,P){if(1&r){const s=e.RV6();e.j41(0,"button",11),e.bIt("click",function(){c.eBV(s);const i=e.XpG();return c.Njj(i.onSelect.emit(i.product))}),e.EFF(1,"wybierz"),e.k0s()}}function g(r,P){1&r&&(e.j41(0,"div",12)(1,"mat-icon",13),e.EFF(2," image_not_supported "),e.k0s(),e.j41(3,"span"),e.EFF(4,"brak zdj\u0119cia"),e.k0s()())}let y=(()=>
3{class r{constructor(){this.isSelected=!1,this.onRemove=new e.bkB,this.onSelect=new e.bkB}get formatedShopsCount(){return this.product.offers.count>1?`Produkt dost\u0119pny w ${this.product.offers.count} sklepach`:`Produkt dost\u0119pny w ${this.product.offers.count} sklepie`}static{this.\u0275fac=function(m){return new(m||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["rm-retail-media-products-result"]],inputs:{product:"product",isSelected:"isSelected"},outputs:{onRemove:"onRemove",onSelect:"onSelect"},decls:14,vars:9,consts:[["isNotSelected",""],["noImage",""],[1,"photo"],[3,"src",4,"ngIf","ngIfElse"],[1,"name"],[1,"ean"],[1,"offers"],[1,"cta"],["class","remove","mat-flat-button","","color","primary",3,"click",4,"ngIf","ngIfElse"],[3,"src"],["mat-flat-button","","color","primary",1,"remove",3,"click"],["mat-flat-button","",1,"select",3,"click"],[1,"no-image"],[1,"material-symbols-outlined"]],template:function(m,i){if(1&m&&(e.j41(0,"div",2),e.DNE(1,l,1,1,"img",3),e.k0s(),e.j41(2,"span",4),e.EFF(3),e.k0s(),e.j41(4,"span",5),e.EFF(5),e.k0s(),e.j41(6,"span",6),e.EFF(7),e.k0s(),e.j41(8,"div",7),e.DNE(9,I,4,0,"button",8)(10,d,2,0,"ng-template",null,0,e.C5r),e.k0s(),e.DNE(12,g,5,0,"ng-template",null,1,e.C5r)),2&m){const _=e.sdS(11),w=e.sdS(13);e.R7$(),e.Y8G("ngIf",i.product.photos.items.length)("ngIfElse",w),e.R7$(2),e.JRh(i.product.name),e.R7$(),e.xc7("opacity",i.product.ean?1:0),e.R7$(),e.SpI("EAN: ",i.product.ean),e.R7$(2),e.JRh(i.formatedShopsCount),e.R7$(2),e.Y8G("ngIf",i.isSelected)("ngIfElse",_)}},dependencies:[a.MD,a.bT,h.L,E.An,b.$z],styles:["[_nghost-%COMP%]{display:grid;grid-template-columns:5rem 1fr auto;grid-template-rows:auto 1fr auto;grid-gap:.25rem 1rem;padding:1rem .625rem 1rem 0;border-bottom:solid .0625rem #cbcbcb}[_nghost-%COMP%]   .photo[_ngcontent-%COMP%]{grid-area:1/1/4/2;display:flex;aspect-ratio:1;justify-content:center;align-items:center}[_nghost-%COMP%]   .photo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;max-height:100%}[_nghost-%COMP%]   .name[_ngcontent-%COMP%]{grid-area:1/2/2/3;font-size:.875rem}[_nghost-%COMP%]   .ean[_ngcontent-%COMP%]{grid-area:2/2/3/3;font-size:.75rem;font-weight:400;line-height:1.25rem;letter-spacing:.025rem;color:#757575}[_nghost-%COMP%]   .offers[_ngcontent-%COMP%]{grid-area:3/2/4/3;font-size:.75rem;font-weight:400;line-height:1.25rem;letter-spacing:.025rem;color:#757575}[_nghost-%COMP%]   .cta[_ngcontent-%COMP%]{grid-area:1/3/4/4;display:flex;align-items:center}[_nghost-%COMP%]   .cta[_ngcontent-%COMP%]   .select[_ngcontent-%COMP%]{background-color:#f5f5f5;color:#234092}[_nghost-%COMP%]   .no-image[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;height:100%;color:#9e9e9e}[_nghost-%COMP%]   .no-image[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:.625rem}"],changeDetection:0})}}return r})();var j=n(10796),z=n(15583),N=n(20624),A=n(84608),D=n(13088),O=n(88388),B=n(95541);function V(r,P){if(1&r){const s=e.RV6();e.j41(0,"rm-retail-media-products-result",9),e.bIt("onSelect",function(i){c.eBV(s);const _=e.XpG(2);return c.Njj(_.onSelect.emit(i))})("onRemove",function(i){c.eBV(s);const _=e.XpG(2);return c.Njj(_.onRemove.emit(i))}),e.k0s()}if(2&r){const s=P.$implicit,m=e.XpG(2);e.Y8G("product",s)("isSelected",m.isSelected(s))}}function G(r,P){if(1&r&&(e.j41(0,"span",10),e.EFF(1),e.k0s()),2&r){const s=e.XpG().ngIf;e.R7$(),e.SpI("Wyszukali\u015bmy ",s.length," najlepiej dopasowanych produkt\xf3w. Zaw\u0119\u017a wyszukiwanie aby znale\u017a\u0107 wi\u0119cej.")}}function L(r,P){1&r&&(e.j41(0,"span",11),e.EFF(1,"Nie uda\u0142o si\u0119 znale\u017a\u0107 tego czego szukasz"),e.k0s())}function x(r,P){1&r&&(e.j41(0,"span",11),e.EFF(1,"Wprowad\u017a nazw\u0119 lub numer EAN produktu, aby go znale\u017a\u0107 w katalogu"),e.k0s())}function Y(r,P){if(1&r&&(e.qex(0),e.DNE(1,V,1,2,"rm-retail-media-products-result",6)(2,G,2,1,"span",7)(3,L,2,0,"span",8)(4,x,2,0,"span",8),e.bVm()),2&r){const s=P.ngIf,m=e.XpG();e.R7$(),e.Y8G("ngForOf",s),e.R7$(),e.Y8G("ngIf",s.length),e.R7$(),e.Y8G("ngIf",!s.length&&m.searchForm.value),e.R7$(),e.Y8G("ngIf",!s.length&&!m.searchForm.value)}}function $(r,P){1&r&&e.nrm(0,"app-loader",12)}let U=(()=>
3{class r{constructor(s,m,i,_){this.websiteService=s,this.productsService=m,this.loggerService=i,this.snackBarService=_,this.onSelect=new e.bkB,this.onRemove=new e.bkB,this.searchForm=new o.MJ,this.loading=!1,this.products$=this.searchForm.valueChanges.pipe((0,T.B)(400),(0,C.Z)(""),(0,v.M)(()=>this.loading=!0),(0,u.n)(w=>this.campaignType?this.campaignType===p.S.RETAIL_MEDIA_SELF_ADVERTISING?this.websiteService.getSelectedWebsite().pipe((0,u.n)(S=>this.productsService.getProductsByQuery(w,[{field:"offers.feed_id_with_offer_status",operator:"eq",value:`${S.id}|true`}]).pipe((0,M.W)(H=>(this.snackBarService.alert("Wyst\u0105pi\u0142 b\u0142\u0105d podczas pobierania dost\u0119pnych produkt\xf3w."),this.loggerService.error("GET_PRODUCTS_FOR_RMN_SA_CAMPAIGN_ERROR",H),this.loading=!1,[]))))):this.productsService.getProductsByQuery(w,this.campaignType===p.S.RETAIL_MEDIA_INVENTORY?[{field:"offers.activeRMN",operator:"eq",value:!0}]:null).pipe((0,M.W)(S=>(this.snackBarService.alert("Wyst\u0105pi\u0142 b\u0142\u0105d podczas pobierania dost\u0119pnych produkt\xf3w."),this.loggerService.error("GET_PRODUCTS_FOR_RMN_CAMPAIGN_ERROR",S),this.loading=!1,[]))):(0,k.of)([])),(0,v.M)(()=>this.loading=!1))}isSelected(s){return!!this.selectedProducts.find(m=>m.id===s.id)}clearInput(){this.searchForm.setValue("")}static{this.\u0275fac=function(m){return new(m||r)(e.rXU(j.U9),e.rXU(z.g),e.rXU(N.g),e.rXU(A.v))}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["rm-retail-media-products-search"]],inputs:{campaignType:"campaignType",selectedProducts:"selectedProducts"},outputs:{onSelect:"onSelect",onRemove:"onRemove"},decls:9,vars:5,consts:[["search",""],["matInput","","placeholder","Szukaj po nazwie albo numerze EAN",3,"formControl"],["matPrefix",""],[1,"results"],[4,"ngIf"],["color","primary",4,"ngIf"],[3,"product","isSelected","onSelect","onRemove",4,"ngFor","ngForOf"],["class","limit",4,"ngIf"],["class","empty",4,"ngIf"],[3,"onSelect","onRemove","product","isSelected"],[1,"limit"],[1,"empty"],["color","primary"]],template:function(m,i){1&m&&(e.j41(0,"mat-form-field"),e.nrm(1,"input",1,0),e.j41(3,"mat-icon",2),e.EFF(4,"search"),e.k0s()(),e.j41(5,"div",3),e.DNE(6,Y,5,4,"ng-container",4),e.nI1(7,"async"),e.DNE(8,$,1,0,"app-loader",5),e.k0s()),2&m&&(e.R7$(),e.Y8G("formControl",i.searchForm),e.R7$(5),e.Y8G("ngIf",e.bMT(7,3,i.products$)),e.R7$(2),e.Y8G("ngIf",i.loading))},dependencies:[t.q,D.V,f.H,a.Sq,a.bT,O.rl,O.JW,o.me,o.BC,o.l_,B.fg,E.An,y,a.Jj],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;height:100%;position:relative;box-shadow:0 .0625rem .3125rem #0000001f,0 .125rem .125rem #00000024,0 .0625rem .0625rem #0003}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]{flex:1;overflow:auto;min-height:8.75rem}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .limit[_ngcontent-%COMP%], [_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .empty[_ngcontent-%COMP%]{display:block;width:100%;padding:.75rem;font-size:.75rem;color:#999;text-align:center}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .empty[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;justify-content:center}app-loader[_ngcontent-%COMP%]{position:absolute;top:3.25rem;left:0;right:0;bottom:0;background-color:#fffc;z-index:2;width:auto;height:auto}mat-form-field[_ngcontent-%COMP%]{padding:0}"],changeDetection:0})}}return r})();var W=n(68491);const J=["search"],K=["*"];let X=(()=>{class r{constructor(){this.recentCampaigns=[],this.lastCampaignsLoading=!1,this.onSubmit=new e.bkB,this.CampaignType=p.S}onSelect(s){this.form.setValue([...this.form.getRawValue(),s]),this.form.markAsDirty()}onRemove(s){this.form.setValue(this.form.getRawValue().filter(m=>m.id!==s)),this.form.markAsDirty()}onClear(){this.form.setValue([]),this.form.markAsDirty()}onSelectCampaign(s){for(const m of s.products)this.onSelect(m)}clearSearch(){this.search.clearInput()}static{this.\u0275fac=function(m){return new(m||r)}}static{this.\u0275cmp=e.VBU({type:r,selectors:[["rm-campaign-products-form"]],viewQuery:function(m,i){if(1&m&&e.GBs(J,5),2&m){let _;e.mGM(_=e.lsd())&&(i.search=_.first)}},inputs:{form:"form",recentCampaigns:"recentCampaigns",campaignType:"campaignType",lastCampaignsLoading:"lastCampaignsLoading"},outputs:{onSubmit:"onSubmit"},ngContentSelectors:K,decls:5,vars:6,consts:[["search",""],[1,"search",3,"onSelect","onRemove","selectedProducts","campaignType"],[1,"selected",3,"onRemove","onClear","onSelectCampaign","selectedProducts","recentCampaigns","lastCampaignsLoading","isRetailMediaInventoryCampaign"],[1,"next"]],template:function(m,i){if(1&m){const _=e.RV6();e.NAR(),e.j41(0,"rm-retail-media-products-search",1,0),e.bIt("onSelect",function(S){return c.eBV(_),c.Njj(i.onSelect(S))})("onRemove",function(S){return c.eBV(_),c.Njj(i.onRemove(S))}),e.k0s(),e.j41(2,"rm-retail-media-products-selected",2),e.bIt("onRemove",function(S){return c.eBV(_),c.Njj(i.onRemove(S))})("onClear",function(){return c.eBV(_),c.Njj(i.onClear())})("onSelectCampaign",function(S){return c.eBV(_),c.Njj(i.onSelectCampaign(S))}),e.k0s(),e.j41(3,"div",3),e.SdG(4),e.k0s()}2&m&&(e.Y8G("selectedProducts",i.form.value)("campaignType",i.campaignType),e.R7$(2),e.Y8G("selectedProducts",i.form.value)("recentCampaigns",i.recentCampaigns)("lastCampaignsLoading",i.lastCampaignsLoading)("isRetailMediaInventoryCampaign",i.campaignType===i.CampaignType.RETAIL_MEDIA_INVENTORY))},dependencies:[a.MD,h.L,t.q,U,W.O],styles:['[_nghost-%COMP%]{flex:1;overflow:auto;display:grid;padding:0 1px;padding-bottom:.625rem;grid-template:"search" auto "selected" 1fr "buttons" auto/1fr}@media (min-width: 1440px){[_nghost-%COMP%]{overflow:hidden;grid-template:"search selected" 1fr "search buttons" auto/1fr 20rem;grid-column-gap:1.5rem}}[_nghost-%COMP%]   .search[_ngcontent-%COMP%]{grid-area:search;margin-bottom:2.5rem;max-height:18.75rem}@media (min-width: 1440px){[_nghost-%COMP%]   .search[_ngcontent-%COMP%]{max-height:initial;margin-bottom:0}}[_nghost-%COMP%]   .selected[_ngcontent-%COMP%]{grid-area:selected;overflow:auto;min-height:15rem}[_nghost-%COMP%]   .next[_ngcontent-%COMP%]{grid-area:buttons;display:flex;justify-content:space-evenly}']})}}return r})()},84389:(F,R,n)=>{n.d(R,{z:()=>a.z});var a=n(57178)},97407:(F,R,n)=>{n.d(R,{H:()=>b});var a=n(93683),e=n(31983),p=n(50393),t=n(13710),h=n(27265),o=n(12481),f=n(34456),T=n(97024),C=n(22044);let v=(()=>{class l{constructor(){this.ServiceType=t.C0}static{this.\u0275fac=function(g){return new(g||l)}}static{this.\u0275cmp=o.VBU({type:l,selectors:[["rm-retail-media-parameters-agreement"]],inputs:{control:"control"},decls:4,vars:2,consts:[["color","primary",3,"formControl"],[3,"serviceType"]],template:function(g,y){1&g&&(o.j41(0,"h6"),o.EFF(1,"Regulamin us\u0142ugi"),o.k0s(),o.j41(2,"mat-checkbox",0),o.nrm(3,"app-terms",1),o.k0s()),2&g&&(o.R7$(2),o.Y8G("formControl",y.control),o.R7$(),o.Y8G("serviceType",y.ServiceType.RETAIL_MEDIA))},dependencies:[a.MD,e.H,f.BC,f.l_,T.So,h.q,C.v],styles:["[_nghost-%COMP%]{margin-bottom:1.5rem}"]})}}return l})();var u=n(33247),k=n(41462);function M(l,I){if(1&l&&o.nrm(0,"app-campaign-parameters-audience-segments",6),2&l){const d=o.XpG();o.Y8G("formGroup",d.form.controls.audienceSegments)("audienceSegments",d.audienceSegments)}}function c(l,I){if(1&l&&o.nrm(0,"rm-retail-media-parameters-agreement",1),2&l){const d=o.XpG();o.Y8G("control",d.form.controls.agreement)}}function E(l,I){if(1&l&&(o.j41(0,"app-campaign-terms",7),o.EFF(1," Zweryfikowa\u0142em i sprawdzi\u0142em warunki przed wys\u0142aniem do klienta "),o.k0s()),2&l){const d=o.XpG();o.Y8G("form",d.form.controls.customerServiceAgreement)}}let b=(()=>{class l{get minBudget(){return(0,p.L)(this.form)}static{this.\u0275fac=function(g){return new(g||l)}}static{this.\u0275cmp=o.VBU({type:l,selectors:[["rm-campaign-parameters-form"]],inputs:{form:"form",audienceSegments:"audienceSegments",partners:"partners"},decls:6,vars:7,consts:[[1,"content",3,"formGroup"],[3,"control"],[3,"formGroup","minBudgetValue"],[3,"formGroup","audie
3nceSegments",4,"ngIf"],[3,"control",4,"ngIf"],["header","Weryfikacja warunk\xf3w kampanii",3,"form",4,"ngIf"],[3,"formGroup","audienceSegments"],["header","Weryfikacja warunk\xf3w kampanii",3,"form"]],template:function(g,y){1&g&&(o.j41(0,"div",0),o.nrm(1,"app-campaign-parameters-name",1)(2,"app-campaign-parameters-budget",2),o.DNE(3,M,1,2,"app-campaign-parameters-audience-segments",3)(4,c,1,1,"rm-retail-media-parameters-agreement",4)(5,E,2,1,"app-campaign-terms",5),o.k0s()),2&g&&(o.Y8G("formGroup",y.form),o.R7$(),o.Y8G("control",y.form.controls.name),o.R7$(),o.Y8G("formGroup",y.form)("minBudgetValue",y.minBudget),o.R7$(),o.Y8G("ngIf",y.form.controls.audienceSegments),o.R7$(),o.Y8G("ngIf",y.form.controls.agreement),o.R7$(),o.Y8G("ngIf",y.form.controls.customerServiceAgreement))},dependencies:[a.MD,a.bT,e.H,f.cb,f.j4,u.dN,u.zH,u.kW,v,k.P],styles:["[_nghost-%COMP%]{display:block}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column}"]})}}return l})()}}]);
4//# sourceMappingURL=6783.f6967cd87ec6da48.js.map
5//# debugId=fed84273-87f0-5eae-b628-5229c2964842

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.