1"use strict";(self.webpackChunktv24app=self.webpackChunktv24app||[]).push([["src_app_controls_search-block_search-block_module_ts"],{7694:(u,d,n)=>{n.r(d),n.d(d,{SearchBlockModule:()=>b});var s=n(96814),l=n(65607),t=n(65879),i=n(56223),g=n(57337),r=n(26679),h=n(78063),f=n(61690),C=n(40564),O=n(39999);function x(c,m){if(1&c&&(t.TgZ(0,"div")(1,"a",10),t.ALo(2,"solrTagUrl"),t._uU(3),t.ALo(4,"solrTagName"),t.qZA()()),2&c){const e=m.$implicit;t.xp6(1),t.Q6J("href",t.lcZ(2,2,e),t.LSH),t.xp6(2),t.Oqu(t.lcZ(4,4,e))}}let v=(()=>{class c{constructor(e,o,a,p){this.searchBlockState=e,this.searchService=o,this.locale=a,this.cdr=p,this.solrSearchDTO=new g.S(new i.QS)}ngOnInit(){this.searchBlockState.isOpened.subscribe(e=>{e&&this.cdr.markForCheck()})}onSearchChange(e){e.length>0?this.searchService.getSearchedTags(e).subscribe(o=>{this.solrSearchDTO.searchResult=o,this.cdr.markForCheck()}):this.solrSearchDTO.searchResult=[]}onSubmit(e){window.location.href=new r.h(this.locale).transform("/search?searchValue=")+e.searchQuery}searchBlockToggle(){this.searchBlockState.toggleState()}static{this.\u0275fac=function(o){return new(o||c)(t.Y36(h.Q),t.Y36(f.o),t.Y36(t.soG),t.Y36(t.sBO))}}static{this.\u0275cmp=t.Xpm({type:c,selectors:[["app-search-block"]],decls:11,vars:6,consts:function(){let e;return e="\u041F\u043E\u0448\u0443\u043A",[[1,"grid-container","search-block"],[1,"grid-x"],[1,"small-12"],[1,"search-wrap"],[1,"close",3,"click"],["id","headerSearchForm",3,"formGroup","ngSubmit"],["formControlName","searchQuery","type","text","placeholder",e,"autocomplete","off",3,"input"],["type","submit",1,"form-submit","search_icon"],[1,"form-text"],[4,"ngFor","ngForOf"],[3,"href"]]},template:function(o,a){1&o&&(t.TgZ(0,"div",0),t.ALo(1,"async"),t.TgZ(2,"div",1)(3,"div",2)(4,"div",3)(5,"div",4),t.NdJ("click",function(){return a.searchBlockToggle()}),t.qZA(),t.TgZ(6,"form",5),t.NdJ("ngSubmit",function(){return a.onSubmit(a.solrSearchDTO.searchForm.value)}),t.TgZ(7,"input",6),t.NdJ("input",function(){return a.onSearchChange(a.solrSearchDTO.searchForm.value.searchQuery)}),t.qZA(),t._UZ(8,"input",7),t.TgZ(9,"div",8),t.YNc(10,x,5,6,"div",9),t.qZA()()()()()()),2&o&&(t.ekj("open",t.lcZ(1,4,a.searchBlockState.isOpened)),t.xp6(6),t.Q6J("formGroup",a.solrSearchDTO.searchForm),t.xp6(4),t.Q6J("ngForOf",a.solrSearchDTO.searchResult))},dependencies:[s.sg,i._Y,i.Fj,i.JJ,i.JL,i.sg,i.u,s.Ov,C.j,O.I],styles:[".search-block[_ngcontent-%COMP%]{position:relative;top:-20px}.search-block.open[_ngcontent-%COMP%] .search-wrap[_ngcontent-%COMP%]{padding:30px 40px;height:100px;overflow:visible}@media screen and (max-width: 1200px){.search-block[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}@media screen and (max-width: 768px){.search-block[_ngcontent-%COMP%]{position:fixed;top:-100%;left:0;width:100%;height:calc(100% - 50px);opacity:0;transition:top .3s,opacity .3s;background-color:var(--font-color)}.search-block.open[_ngcontent-%COMP%]{opacity:1;z-index:9999;top:50px}.search-block.open[_ngcontent-%COMP%] .search-wrap[_ngcontent-%COMP%]{padding:30px .9375rem}}.search-wrap[_ngcontent-%COMP%]{padding:0 40px;box-shadow:#0003 0 10px 60px,#0000001a 0 0 20px;background-color:#fdfdfd;position:relative;width:100%;height:0;overflow:hidden;transition:height .1s}@media screen and (max-width: 768px){.search-wrap[_ngcontent-%COMP%]{background-color:var(--font-color);box-shadow:none;padding:0 .9375rem}}.close[_ngcontent-%COMP%]{top:15px;right:15px}@media screen and (max-width: 768px){.close[_ngcontent-%COMP%]{display:none}}form[_ngcontent-%COMP%]{position:relative}input[_ngcontent-%COMP%]:focus{outline:none}input[type=text][_ngcontent-%COMP%]{border:1px solid #dadada;color:#bfbfbf;font-size:13px;line-height:16px;padding:11px 35px 11px 15px;width:100%;transition:.3s}input[type=submit][_ngcontent-%COMP%]{cursor:pointer;height:18px;width:18px;position:absolute;padding:0;top:10px;background-color:transparent;right:10px;background-image:url(/assets/img/search-icon.svg);background-repeat:no-repeat;background-position:center;font-size:0;border:none}@media screen and (max-width: 768px){input[type=text][_ngcontent-%COMP%]{font-size:20px;line-height:100%;font-weight:600;padding:15px;color:var(--font-color);height:50px}input[type=submit][_ngcontent-%COMP%]{width:50px;height:50px;background-color:#f2f2f2;top:0;right:0}}@media screen and (min-width: 1024px){.hamburger-icon.hidden-for-desktop[_ngcontent-%COMP%]{display:none}}.form-text[_ngcontent-%COMP%]{position:absolute;width:100%;top:40px;left:0;z-index:10;background-color:#fff}.form-text[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:100%;cursor:pointer;background-color:#fff}.form-text[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{display:flex;align-items:center;padding:2px 15px;height:100%}.form-text[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{background-color:#e8edf0}@media screen and (max-width: 768px){.form-text[_ngcontent-%COMP%]{top:49px;box-shadow:0 7px 14px #000}.form-text[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{position:relative;height:40px;font-size:14px;line-height:100%}.form-text[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:#F2F2F2;color:var(--font-color)}}"],changeDetection:0})}}return c})();var S=n(56520);function _(c,m){}let M=(()=>{class c{constructor(e,o,a){this.searchBlockState=e,this.moduleFactoryService=o,this.cdr=a,this.loaded=!1}ngOnInit(){this.searchBlockState.isOpened.subscribe(e=>{e&&!this.loaded&&(this.moduleFactoryService.createComponentWithCHost(!0,this.cHost.viewContainerRef,v,{}).then(()=>this.cdr.markForCheck()),this.loaded=!0)})}static{this.\u0275fac=function(o){return new(o||c)(t.Y36(h.Q),t.Y36(S.h),t.Y36(t.sBO))}}static{this.\u0275cmp=t.Xpm({type:c,selectors:[["app-search-block-lazy"]],viewQuery:function(o,a){if(1&o&&t.Gf(l.m,7),2&o){let p;t.iGM(p=t.CRH())&&(a.cHost=p.first)}},decls:1,vars:0,consts:[["c-host",""]],template:function(o,a){1&o&&t.YNc(0,_,0,0,"ng-template",0)},dependencies:[l.m],encapsulation:2,changeDetection:0})}}return c})();var P=n(69862),k=n(64190);let b=(()=>{class c{static getComponent(){return M}static{this.\u0275fac=function(o){return new(o||c)}}static{this.\u0275mod=t.oAB({type:c})}static{this.\u0275inj=t.cJS({providers:[r.h],imports:[s.ez,i.u5,i.UX,P.JF,k.Bz]})}}return c})()},65607:(u,d,n)=>{n.d(d,{m:()=>l});var s=n(65879);let l=(()=>
1{class t{constructor(g){this.viewContainerRef=g}static{this.\u0275fac=function(r){return new(r||t)(s.Y36(s.s_b))}}static{this.\u0275dir=s.lG2({type:t,selectors:[["","c-host",""]],standalone:!0})}}return t})()},26679:(u,d,n)=>{n.d(d,{h:()=>t});var s=n(65879),l=n(20553);let t=(()=>{class i{constructor(r){this.locale=r,this.LOCALE_PREFIXES={ru:"/ru",en:"/en"}}transform(r){"/"!==r.charAt(0)&&(r="/"+r);const h=this.LOCALE_PREFIXES[this.locale];return h&&!r.startsWith(h)&&(r=h+r),l.N.protocol+l.N.host+r}static{this.\u0275fac=function(h){return new(h||i)(s.Y36(s.soG,16))}}static{this.\u0275pipe=s.Yjl({name:"addBaseDomain",type:i,pure:!0,standalone:!0})}}return i})()}}]);
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.